HNHacker News
TopNewBestAskShowJobs

srgseg

1,239 karma · joined March 10, 2010

submissionscomments
srgseg··on Show HN: Save Memory in Google Chrome
The OneTab servers are never accessed unless you click the "share as a web page" button. We don't know what tabs you have open, or what tabs you have put in your OneTab list.
srgseg··on Show HN: Save Memory in Google Chrome
I used to do that sometimes, but it suffered from the "out of sight, out of mind" problem.
srgseg··on Show HN: Save Memory in Google Chrome
That's probably Chrome obeying the HTTP cache headers for the web site in question.
srgseg··on Show HN: Save Memory in Google Chrome
True, but this extension will help you distinguish between the tabs you want to close forever and the tabs you want to return to later.
srgseg··on Show HN: Save Memory in Google Chrome
We've been looking at this, apparently this happens when an extension has just been released and is "propagating between servers".

If the extension install is not working for you, it should start working later today once Google's webstore servers have updated

srgseg··on Show HN: Save Memory in Google Chrome
The install button has to call the chrome.webstore.install API for instant installation, so if it were a hovered link it would not show anything particularly descriptive.
srgseg··on Show HN: Save Memory in Google Chrome
(OneTab developer here): None of your tabs are sent to a third party server. It's all stored in HTML5 local storage.

The only way the one-tab servers know about your tabs is if you click to 'share as a web page', which transmits your tabs to our servers to create a web page you can share with others.

srgseg··on Show HN: Save Memory in Google Chrome
OneTab developer here: thanks for all your suggestions, I'll be working on them :)

A few FAQs:

1. The OneTab tab persists even if you close your web browser. 2. If you ever close your OneTab tab, this doesn't lose your tabs. You can always get it back by clicking the blue extension icon. 3. Your tabs are never sent to our servers unless you press the button to 'share as a web page'.

srgseg··on Show HN: Save Memory in Google Chrome
Thanks for the feedback. At the moment, one way to achieve this is to "pin" the gmail tab. OneTab will not close any pinned tabs.
srgseg··on Show HN: Save Memory in Google Chrome
Thanks, it's on the to-do :)
srgseg··on Why I'm switching back to Firefox
Great timing - I just posted a Show HN about my new extension to save 95% memory in Google Chrome

http://news.ycombinator.com/item?id=5356823

srgseg··on Windmills Overload East Europe’s Grid, Risking Blackout
A solution: This TED video with Donald Sadoway talks about how his team is rethinking the design of large scale batteries for storing renewable energy

http://www.ted.com/talks/donald_sadoway_the_missing_link_to_...

srgseg··on Retina MacBook Pro review as a Mac Pro owner
Intel's roadmap for how long it'll take for everything to go retina: (png)

http://media.bestofmicro.com/M/F/333879/original/Intel-Roadm...

srgseg··on CentOS 6.2 Released
I was lucky, the test server I installed this onto was sitting in my house.
srgseg··on CentOS 6.2 Released
I did a Google search and apparently the bug is fixed in later versions of Fedora, so it's just a temporary situation with RHEL/CentOS I'm assuming.

I think the easiest way to check if your server would be affected is to boot from the CentOS 6.2 netinstall CD, and see if it can access the network. If that works fine, everything should be good.

srgseg··on CentOS 6.2 Released
Warning: I upgraded an HP ProLiant DL385 server from CentOS 6 to 6.2 and the network stopped working due to an incompatibility with the 6.2 driver.

If you have a server that uses a Broadcom ethernet controller (tg3 driver) I hope this saves you having to make a Christmas trip to the data center...

srgseg··on Steve Jobs about designing of a a product
The 30 second video of this quote is here http://www.time.com/time/video/player/0,32068,1277081754001_...
srgseg··on Isaacs: try/catch is an anti-pattern
The best part about exceptions (unchecked), is that they allow an exception to automatically bubble upward to the level of code that actually should be responsible for taking action, without having to write a ton of boilerplate code all the way down the call chain.

Even better, when stack traces in exception logs are examined, it's easy to see where in the call chain things are going wrong.

During a database transaction for example, something might go wrong 5 method calls deep, and I should roll back the transaction.

If I'm forced to either use checked exceptions or use if statements to check whether there was success at each level, then that's a lot of repeated boilerplate try/catch/rethrow or if(success) code which unchecked exceptions free me up from having to write.

If all I receive at the transaction level is a failure code, then what do I log, other than "something went wrong?!". With exceptions, all the work is done for me. I just log the exception stack trace and I can easily see what needs to be fixed.

Much of the time, exceptions are useful because they are thrown becuase of something you didn't anticipate happening, as opposed to something you had planned for when writing the code. And when that unanticipated thing does happen, there is nothing more beautiful than an automatically generated stack trace telling you exactly what happened.

srgseg··on 1,000,000 daily users with no cache
In this Wooga presentation they talk about how DB hosting in the cloud is 20x more expensive than on rented dedicated servers, or 5x more expensive per DAU across the entire variety of servers required.

http://www.slideshare.net/wooga/games-for-the-masses-scaling...

srgseg··on Ask HN: What is your ideal laptop?
If you're looking for a PC and have Macbook Air envy, Intel Ultrabooks are just days away....

Lenovo, Asustek and Acer are all preparing the lightweight laptops for the autumn, after Intel announced its answer to the MacBook Air back in May.

http://www.pcpro.co.uk/news/369247/intel-ultrabooks-to-arriv...

Intel plans to release two ranges of super-slim 18mm notebooks (with 11-inch and 13-inch screens) and 21mm-thick notebooks (with 14-inch and 17-inch screen) and, just like the MacBook Air, no optical drive

http://www.techradar.com/news/computing/pc/new-intel-ultrabo...

srgseg··on Why average retention rates can lead to 50% error in CLV
A proposed solution, for the critique of any mathematicians here:

Always split each channel into ten 10-percentile bands, instead of just taking an overall average. Then model total expected revenue per channel based on these bands.

Perhaps as few as three 33-percentile or five 20-percentile bands would be enough if the number of samples is low when first testing a channel.

srgseg··on 5000% Increase in the sale of baseball bats on Amazon.co.uk
I think it's the result of people wanting to do something to show that the community cares, and realising that actually the local councils had already done a good cleanup job overnight.

Nevertheless, I thought it was a heart warming gesture.

srgseg··on 5000% Increase in the sale of baseball bats on Amazon.co.uk
Just to balance out the nightmarish images of London, here is a video of the community rallying together to clean up the mess the day after http://www.youtube.com/watch?v=Iz7WGzsaHQE
srgseg··on 5000% Increase in the sale of baseball bats on Amazon.co.uk
I find it hard to believe a shop owner is seriously going to try and hold the line by themselves against a mob

Groups of shop owners are defending themselves. See this video http://www.guardian.co.uk/uk/video/2011/aug/09/london-riots-...

srgseg··on New MacBook Air Now Available on Apple Store
No but it only takes about 30 seconds in a spreadsheet :)
srgseg··on New MacBook Air Now Available on Apple Store
To be fair, it's not just Apple.

The UK is known in the industry as "Treasure Island" because they know that they can charge more here and get away with it.

E.g. Bose QC15 noise cancelling headphones: 25.2% premium excluding sales tax, 50.2% premium including sales tax comparing a zero sales tax US state to the UK.

srgseg··on New MacBook Air Now Available on Apple Store
The UK HMRC charges no customs duty or import duty on imports of computers, but does levy 20% VAT (sales tax).

Using today's exchange rate of 1.6149, here are the UK like-for-like premiums for several Apple products in the UK:

  7.6%  - ipad 2
  13.4% - ipod touch
  14.4% - mac air 11 64gb
  12.1% - mac air 11 128gb
  13.9% - mac air 13 128gb
  13.5% - mac air 13 256gb
  12.1% - mbp 13
  21.1% - thunderbolt display
Note: these premiums compare the US price excluding sales tax to the UK price excluding the UK 20% VAT sales tax.

Therefore, the UK premium is much larger when you consider that in some US states there is no sales tax, but the entire UK is subject to 20% sales tax.

Also note that VAT is only a sales tax on items for personal use. Business users do not have to pay the VAT (they reclaim it).

Here therefore are the premiums comparing US states with zero sales tax to the UK:

  29.1% - ipad 2
  36.1% - ipod touch
  37.2% - mac air 11 64gb
  34.6% - mac air 11 128gb
  36.6% - mac air 13 128gb
  36.2% - mac air 13 256gb
  34.6% - mbp 13
  45.3% - thunderbolt display
Lesson: go on holiday to the US, buy your Mac in a state without sales tax, and you're still ahead when you pay 20% tax on the import when you arrive back in the UK.
srgseg··on Life lessons learned in travelling the world for 8 years straight
> 2. Deferring your happiness to the future is a terrible idea

Every time I see this, I ask myself, how is this advice reconciled with the famous Marshmallow experiment? http://en.wikipedia.org/wiki/Stanford_marshmallow_experiment

There surely must come a point where enough deferred future marshmallow gratification makes deferred gratification a recommended life strategy.

If I were always to choose not to delay my happiness, I'd eat unhealthy foods, not force myself to do exercise and never work hard to achieve anything.

As I heard a comic say, "I decided to live every day as if it were my last. Now I have really bad credit."

srgseg··on Google Instant Pages - will this mess up your server stats?
Also covered here: http://techcrunch.com/2011/06/14/google-announces-instant-pa...

"Instant Pages will be available on Chrome Beta in the next week and for adventurous Chrome Canary users today, with a Firefox version also in the works."

srgseg··on 1 in 6 Russian entrepreneurs are in jail, 1 in 3 prisoners are businessmen
I thought it was an excellent summary. What kind of cost do you perceive/predict?
← PreviousPage 3 of 6Next →