News for hackers. Stuff that matters.

boxidea

Re:How big is the Google Earth database? on Monday April 11, 2016 @10:55AM (#11471886)
The author of the article does not work at Google. So the article is basically speculation. He has NO CLUE how Google stores the image data.
Re:Please, kill your darlings on Tuesday March 08, 2016 @02:52PM (#11248000)
> already-written "titleize" function

Which is a function provided by ActiveSupport. It's not part of Ruby itself.

Re:Ten years on LinkedIn on Monday March 07, 2016 @08:12AM (#11238654)
You can deactivate your Facebook account. You won't get the enticer emails and if you ever need to look up some contact info, you can just activate it again.
Re:IBM Design on Thursday February 11, 2016 @02:44PM (#11082621)
I work for a large not-for-profit company. We don't get any free snacks or coffee free here either, but the other benefits outweigh that... like 10% 401a contribution, $30 per month commuter benefit, and $25k tuition reimbursement per year.

Coffee and snacks aren't everything. And honestly they're not much.

Re:A free shipping mystery on Wednesday January 20, 2016 @12:34PM (#10939764)
I'd bet the short obvious answer is that it doesn't cost them anything to ship small, lightweight products like this.

The plane was already flying from China to wherever, filled with AliExpress merchandise. They may have paid for the whole plane instead of just by weight. So adding this product didn't add any tangible extra weight or cost.

Then the mail carrier or whoever is already going on that route. I doubt he gets paid per package, so adding another small package is no big deal and doesn't add extra time/cost.

Unless someone is ordering 1million buttons, then the weight starts to add up. But then so does the cost of the buttons, which at that point would cover the shipping.

I'm generalizing a bit since I don't know the specifics of the shipping industry. But this makes sense to me.

Re:Real-time GIF images on Monday December 21, 2015 @09:55AM (#10771301)
Good luck finding an email client that supports canvas.
Re:-2000 Lines of Code on Tuesday December 15, 2015 @12:06PM (#10738876)
# Need to increment this count so it matches up with the length of the list we just created.

count = 1

count = count + 1

count = count + 1

count = count + 1

count = count + 1

count = count + 1

Re:It's called fdisk because on Monday December 14, 2015 @02:48PM (#10733297)
I upgraded SSDs in my Mac. The process was very simple using another method as well.

1) Backup current drive to Time Machine

2) Swap drives

3) Boot with new drive

4) Restore Time Machine backup

Re:Only 20% of people who can use Apple Pay have done so on Wednesday December 09, 2015 @03:35PM (#10706531)
One of my favorite articles like this, from 2 years ago:

> This morning Apple (NASDAQ: AAPL) announced a record-breaking weekend for sales of its new iPhone 5S and 5C. In the first 72 hours more than 9 million phones were sold in 11 countries around the world.

> To me though, all this over-the-top fanfare and even the record-breaking first weekend of sales could actually be cause for concern.

> Let's face it this new iPhone is just an upgrade, a refresh, dare I say a sequel.

Yes. that's exactly what it is. And it sells like crazy.

http://abcnews.go.com/blogs/business/2013/09/why-record-ipho...

You can also attach other sqlite databases which might make it easier.

    attach database 'old-database.sqlite3' as old;
    insert into dbtable ( id, name ) select id, name from old.dbtable;
Then you don't need to use Python to iterate through each row.