Better HN
topnewbestaskshowjobs
Log inSign up

boxidea

8 karma · joined Dec 2, 2015 (10y ago) · 11 submissions

Submissions

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

> already-written "titleize" function

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

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Good luck finding an email client that supports canvas.

comment 10y ago · link · parent

# 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

comment 10y ago · link · parent

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

comment 10y ago · link · parent

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...

comment 10y ago · link · parent

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.