skysight-inc/HackerNews huggingface dataset:
Read what I wrote more carefully. You have to take that offset, represent it somehow, and then pass that representation off to another part of the code, which then uses that representation to access the part of the string that was found earlier. How do you do that without forcing a re-scan when the only facility that the language provides for accessing a character in a string requires you to represent the location of that character as an integer?

Actually, you can do it in C because you can use a raw pointer, but that is fraught with all manner of other perils.
I read it as the new job - a court injunction forces FitBit to fire the employees who stole trade secrets from Jawbone.
FPGAs Ride HP’s Moonshot
Sounds like you just have an incompetent IT department. Storage is cheap and fast searching of databases is a solved problem.
It's all anecdotal, but before Prime was introduced in Germany, Amazon always shipped very quickly after placing an order. Total time until delivery was reliably 2-3 days. After, it was taking them days to process an order, so that time went up to about a week.

I eventually gave in and signed up. Prime shipping isn't actually faster here, it's just what the old normal free shipping used to be.
Meanwhile in the UK, Ocado has offered same day grocery delivery since 2009, and Asda (who are owned by wal-mart) have offered it since 2013.

http://www.thegrocer.co.uk/channels/supermarkets/ocado-tease...
Bryan Lewis using R, NASA data, and mushroom forums to map Morel growth [video]
I suspect it was the introduction of Prime as all my shipments take at least a day longer than before. (in western Europe) It took 1-2 days, now it takes usually 2-7 days. I also found no correlation to the reoccurring strike problems at Amazon warehouses in Germany.
Never started.
http://seapegasus.org/wp-content/uploads/seapegasus.org/2011...
Streaming does not need low latency connections. 1 second is huge latency, but a trivial wait time.

Second, buffering full HD quality for 30+ minutes while watching HD video is well within most users’ internet connection capability. Streaming services rarely do this to save money when a user stops watching mid video. But, at a technical level your connection should get saturated until the video is fully downloaded instead of micro managing a tiny buffer.

Finally, for services like Netflix with limited catalogs and the ability to predict what a user is going to watch they can easily download 1 minute and in HD from the most popular videos ahead of time or a smaller buffer for every video. This would create a fairly massive buffer to start with, but again nobody does this.

PS: Hulu apps can even go further and pre download commercials.
That can be more difficult to do that you expect. The two primary uses of SSD is datacenter storage, where they can easily control the temperature, and portable devices, where you cannot. Unless you live some place like southern California, you're almost guaranteed to expose your SSD to extreme temperatures. Or if you're working in a commercial environment like a hot factory floor or cold food storage freezer.

The lesson being until SSDs can be made more stable over temperature, you should assume local storage to be unsafe. Design systems with secure remote communication and store your data in environmentally controlled warehouses.
Windows 10 signoff is slated for mid July
I have a love hate relationship with amazon and this is just making it worse.

As a customer, this is amazing service. Sometimes I pay a bit more at amazon just for speedy delivery (it is a trade off you need to balance). And for a lot of things the selection is amazing.

As someone who runs a small business that has to ship products, amazon continues to raise the bar to a level/place that we just cannot meet. Our timelines for delivery and shipping costs are "out in front" and I can assure you that in setting that expectation we are deterring some customers from purchasing.

To that end, we are investing in tools to be more high touch and high engagement, our margins are such that we are able to do that but a lot of other small player simply do not have that ability.
The problem seems to be with discovery. Notice it's "Olympic Competitors" and not "Olympic Athletes". Most people would think to search or look for "athletes" and it takes a bit of Google-Fu to even find the competitors list.

So I can understand thinking it didn't exist! It actually took me a good 10 minutes or so to find it on Google (and most searches take < 30 seconds!)
I think vimcast[1] actually does something similar to that. The actual keystrokes are displayed on the screen as he live code the screencast. Check it out.

[1]: http://vimcasts.org
glad to hear that. thanks
Life has a lot of battles, and you just won one of the biggest. :)
I'd just take a general speed up - casting something is painfully slow for me (or was the last time I tried - much happier with my Roku)
Have you tried Amazon Fresh? I use FreshDirect for work, but for my own personal groceries I've been using Amazon Fresh and I love it.

I've done a price comparison between Trader Joes, Whole Foods, Amazon Fresh, Freshdirect. Seems Trader Joes still has the cheapest prices, but Amazon Fresh seems to beat FreshDirect. They delivery in person with 1 hr time slots and 3 hour windows for unattended delivery.
> So Fitbit targeted Jawbone as a source of engineering and product development talent.

No, I don't think that's a fair assessment at all. They specifically targeted their competitor's employees in order to get intel on their roadmap.
I read a lot on a screen.

This is tiring.

Adverts make it impossible to read the web - they are designed to catch the eye - even when still they are eye catching.

To concentrate on text near an advert takes extra mental resources and I tire very much quicker.

Not to mention loading hangs as pages wait for badly overloaded ad-servers before they show the page.

So I am getting exhausted so websites can get $0.003 - this model is a lame duck.

My attention is worth a lot more than $0.003 so figure out a better way because I cannot afford look at that dross.

Text Ads in a similar font - that attract my interest because they are relevant - no problem - your site is unblocked.

Subtly Sponsor content I want then I will look favorably on your brand.
Sounds like it's still an interesting cautionary tale. Looking forward to reading about what they told you!
Presumably, because your post is on HN. It would probably be best to keep it up. It's still useful to know, IMO.
Fresh Direct is in South Jersey/Philly too, and I'm sure other area's, but it is so much more expensive than a normal supermarket. They're basically giving us NYC prices, and it's not worth the convenience. Also, a localish franchise ShopRite delivers with normal prices, and a $10-$20 fee.
Not to say that it does. Users who have opted into provide data to Google might have a once-a-month ping containing the number of times it's been used.
You may want to put that as an update at the top of your blog post.
Google Inbox now available to Everyone
> Both of these things are necessary, in the end, for the controller backing any text-editing control, right?

A controller backing a text-editing control can easily maintain an intermediate data structure mapping code points (or even code units) to whatever its unit of editing is.

> And, philosophically, I'd say that something close to (but not quite) this, is what people want to know from a lot of systems when they ask for a string's "length." They don't care how much memory the string is taking up (though they can have some low-level assertions to that effect); they care about whether the supplied text will fit in a given em-width container, or a given number of form blanks. This is what Twitter actually cares about these days; this is what wc(1) or Microsoft Word wants to tell you when you look at "character count"

Sure, I don't disagree about that.

> Thus why I said "glyph"—people expect "ss" to be two glyphs; "ﬁ" to be two glyphs, and "ß" to be one glyph.

Except ﬁ is a single glyph (but should be two grapheme clusters).

> Which is all to say, maybe raw Unicode strings are good for systems languages—but in my day-to-day programming solving business-domain problems, I'd much rather be using a "text library" that provides "text objects" with a length measured in glyphs.

That's a completely different concern, the internal representation and external interface to the string don't have to match. And in my experience, neither glyph length nor grapheme cluster length are of much use outside of providing a mostly pointless character count for a document. Useful metrics are encoded size (for storage) and rendered dimensions (to fit things to displays), the latter not being computable without more or less fully rendering the string anyway. Neither would benefit much or at all from a string representation with first-class grapheme clusters (let alone first-class glyphs)
Doze looks cool. Using the accelerometer to work out how often to sync. Saving power when not being moved.
>to the soft skills necessary to succeed

That's really interesting to hear, and something I haven't run into. Thus far my experience with developers from bootcamps has been underwhelming and over-hyped. ("We made our own Facebook in the program" is really "You made a guestbook-wall-web-app that saves data to a database using RoR")

I could see how those soft skills could be extremely useful, and it is honestly something on a daily basis I have the most problems with in other developers.
"once it's clear to everyone the oversupply has stopped." Exactly.
How does this compare to this other open source erlang powered MQTT message broker: http://emqtt.io/

Curious because I was about to start playing around with emqtt

Any benchmarks for VerneMQ?
Note also that, at least with Boston although I assume it's the case with other cities, the area they cover with this is relatively small. Punching in a few zip codes, it looks like this covers Boston essentially inside of Route 128.
I started with Sublime, switched to Pycharm, and then switched back to Sublime for a Ruby project. I REALLY wanted to standardize on Sublime, but I wound up switching back to Pycharm. The debugger was the killer feature for me. Many of the other features of Pycharm are quite good, but also good or good enough in Sublime / the terminal and individual tools. But damn, tracing through code in the Pycharm debugger is SO nice that I felt forced to switch back.
yes - good catch.

I wonder if there was any marketing analysis that went into choosing $35, in an effort to get people to pad out their orders with unneeded purchases, or if it was strictly chosen on the break-even point for their cost of same day shipping.
You are objectively wrong. The military keeps count of civilian casualties and the numbers are close to civilian numbers but not identical. The deviance seems explainable by counting methods (for example if the building collapses 3 days after the attack should people injured here be counted or not).

My source if wikipedia, here is one of several examples: http://en.wikipedia.org/wiki/Iraq_War_documents_leak

They do however keep these documents classified. I think this impairs oversight and all casualty reporting should be public.

As for the military being fanatical, I do not understand you point. The military did exactly what the publicly elected executive, the President, told them to do.

If you were able to speak objectively you should be destroying anyone taking my stance. You just keep shouting out things that are simple to demonstrate as wrong.

Our current violent streak is 15 and not 14 years long. If you can't get such basic facts straight how can you expect to convince others you are worth listening too?

As for the years of war, you should review history. As a country we have had 21 years of peace in the past 240 or so and our current run is in its 15th year. We have been a warring nation for a long time. This country is obsessed with violence, so we elect violent politicians.

It should be trivially easy to make a moral argument that obliterates anyone siding with the military particularly in discussion place like this. You can't make that simple argument because you speak without fact and with fanatical emotion. Let your emotion guide you, but be rooted in fact.

I cannot continue this discussion because arguing with someone so baseless lowers my credibility. This will be my last post in this debate thread.
Congrats & Great story ! This level of passion is probably required to start and run a company.
22 rules of User Experience
They just started building a new distribution warehouse in the Twin Cities. I'm guessing when it's done we will have same day shipping.
"_Nature_ says that it will not disclose information on margins."
I dislike posts about Facebook's usage, if for no other reason than how many people tend to come out and say "I don't use it and I can't imagine why anyone would".

That statement is just so intellectually dishonest, it completely ruins the entire conversation. Pretending like there's no value in what Facebook offers ignores billions of dollars and billions of users who do find value. Now I'm not one for an ad populum, but when we define usefulness as "provides value to others", how can't Facebook be considered useful?
Also the bi directional charging with type C is super cool.
That's the one, thanks. I'd love to see some of the research that determined 'x'.
As somebody who's spent some time studying the impact of various levers (income, educational achievement, maternal education etc) on university/college enrolment I'd like to throw in an economist's perspective that the NY Times did not include in the chart.

You may draw the conclusion from the chart that income prevents the poorest from attending university because they can't afford the fees. This is highly misleading. There's substantial evidence [at least in rich countries, see US example below] that when you control for educational achievement (i.e. how well students achieve in pre-uni schooling), income level is a much weaker predictor of whether someone attends university. The primary driver of low university enrolment is educational achievement. i.e. the main chain of causation is this: low income -> low education achievement -> low college attendance. The key to raising university enrolment among poor students is to provide better education/development opportunities and aspiration.

This is important because the policy implications are vastly different according to how well you understand the data. The UK is an interesting case in point where tuition fees (£9k per year) have been levied in England for almost a decade; whereas this has been abolished in Scotland. Despite this, Scotland has the worst university enrolment among its poorer students within the union. [1]

Edit: Ok I found the paper with US data [2]. The Evidence on Credit Constraints in Post Secondary Education by Pedro Carneiro and James Heckman (FYI, a nobel laureate).

Note the graphs on pages 17 and 20 which illustrate the point most clearly. When you compare them, you can see that once you control for a range of important variables - peers within the same AFQT test scores have very similar enrolment rates across all income quartiles.

[1] http://www.telegraph.co.uk/news/uknews/scotland/10354393/Fre...

[2] http://www.ucl.ac.uk/~uctppca/credit.pdf
there is broken code while searching for particular queries. will fix that. thanks for pointing out.
OK Go's Damian Kulash on the song that changed the course of his life
yes im doing that now.
Maybe I'm just grumpy engineer, but I feel like the design got progressively worse. The initial "ENIAC" sketch would have been pretty nice as is, but I can't say that I like the final result. Sometimes just less is more.
Correct. I should have scanned the sources.
Also ... another good article on Nash's contribution -

http://www.voxeu.org/article/economics-john-nash
Mostly because I'm an APL snob. Haskell is great.
> I've noticed that Amazon has totally changed my shopping habits from 3-5 years ago.

Same here, especially with Amazon Fresh. In the 9 months since getting a Prime account, I spent 36% more overall than I did on Amazon from 2003-2013 combined.
Little Bites of Cocoa #9: Animating Constraints
I stopped about two years ago also and now have a fake account because I needed one for Tinder. I've been given flack for being 'antisocial' but i'm rewarded by being able to play clueless about the facebook dramas that people talk about.
But how was it resolved? Don't leave us hanging man!
I'm always surprised at people's ability to spin positive things in negative light.
Speech Recognition Gets Conversational
If your family makes just above $150K per year in the US (not uncommon, especially in high cost of living areas like NYC, SF, DC, etc), you fall in the category where you have no "need" and according to some outdated government formula can afford the whole tuition, usually 20-60K per year.

The reality, however, is that 150K is the minimum living wage for a family with two kids in a place like SF, and usually not enough.

The sad part is that someone who makes $500K a year or has millions in the bank falls in that same category.
Quite right. Also the flags of other countries are shown as they were at the time. Nazi and Soviet flags are obvious, as is the case for Yugoslavia which existed then and is no more, but the flags of Greece and Burma are contemporary as well.
Same here. Regardless of how sensible their model was, I couldn't find a way to get myself to be willing to spend time on their UI.

It was just bad. With something like Facebook rises up from being unknown, its UI was pretty much vouched for early on (otherwise someone else would have won out). Google didn't have to survive competition. They just picked a UI, and I'm sure they followed lots of good UI principles and had lots of experts, but it was completely unappealing.

They also forced everything to integrate with G+ in really useless ways, which made me dislike it before even trying it. It didn't have any material problem in my life that it solved that would have made me put up with the UI. FB did: it was required for mainstream society, and it let me message my friends and others easily on the computer.
good suggestion, added to TODO.
FWIW, humans usually have a very difficult time changing their habits and routines too. I think if you could observe humans in an unbiased way, you'd rarely see these types of changes. I think it's unfair to assume that chimps and dolphins have no ability to influence their subconscious at all. They might, or they might not, but we certainly don't know for sure.
Plain JSX
In my experience it slows the `git` command down quite a bit and therefore my prompt. It's not too difficult to type hub instead :/
Congrats!

Giant font is giant. Is this some kind of style decision I am unaware of. It is hard to read unless the window is maximized. What is mobile experience like?
Fair point. Seems to be Amazon strategy though, after looking at their distribution center map: https://scmmsublogs.wordpress.com/scm-strategies/amazon-com-...
Wouldn't be surprised to see Chicago added to the list of supported cities soon, but Houston, Minneapolis, and Kansas City are all pretty far from current/planned distribution centers.
I meant talking critically about code during the interview, discussing things that can make code bad or good.
HN is super-usable. Just a simple website. Minimal JS and styling.

That slide-script is just broken.
> Do they have warehouses and delivery trucks located nearby that are ready to go at a moment's notice?

Likely this. I noticed when I got my last Amazon Fresh purchase that there was a number of regular Amazon boxes along with the groceries, so at least in Fresh markets they piggyback off that.
I have a 3 year old and he has no photo (that I know of) in facebook. Both me and my wife don't post anything online (also don't have FB) and if I find any family member/friend posting a picture of my son online, they will have picture taking permissions revoked. Also, there are a lot of people like us where I live.
TBH I much more like the OneDrive approach when photo sharing is unified with storage, and the photos can alternatively be organized into albums ('views' on the data).
The thing I'm most concerned with is that the syntax is fucked. A T& should be an Arc<RefCell<T>>, i.e. the most permissible thing, and you should have to wrap it in other things to remove capabilities, rather than add them. The idea being that the short thing is applicable everywhere and probably what you want, while stronger guarantees require more typing.
Stats show adblock users click more ads
Doesn't work. And now the slides aren't centered on the screen anymore, but halfway outside it. sigh
I remember the "concept" part of my high school calculus class. The teacher had us recite out loud the epsilon-delta definition of continuity until everybody memorized it so they could regurgitate it on the test.

I always wondered why analogies and pictures weren't used more often:

examples:

A 100m sprint is a continuous function of time (f(t) = distance from starting line) because sprinters cant teleport. In fact it is uniformly continuous because people have a maximum speed.

Beating usain bolt's record is a discontinuous function of completion time because f(world_record + epsilon) = 0 while f(world_record - epsilon) = 1.

Fundamental theorem of calculus: If you want to know how fast a guy is running at time t, look at how much ground he covered in 1 second. To get more and more accurate, look at how far he traveled in 0.5 seconds and so on...
> where they can easily control the temperature,

And importantly daya centres tend not to control the temperature for the electronics.

Google used to have some warehouses with human accessible corridors (temerature controlled) and the machines (not temperature controlled). They released minimal details as part of their eco work.

http://www.datacenterknowledge.com/archives/2012/03/23/too-h...
FreeLists is a great, "no bullshit" service. It's ran by a geek friend/ex-co-worker of mine. The only "caveat" is that everything must be public (i.e. no private/closed lists).
There is no theft of service until you take a train to another station, and then jump the gates there to exit.

If you want to get around the gates to enter a station without a ticket, you can just ask the staff. I've done it a couple of times in Japan. You can get inside to look for a lost item or whatever. They even let people in to access the station shops. I watched one tourist ask for that and be granted.

Also, one time I entered a station without swiping my Suica card through the machine. I explained that at the destination station and where I had boarded; they cheerfully fixed it up and let me exit. There is room for mistakes without being automatically branded a thief just for being there.
Glad to hear! The question still remains why they didn't want your business in the first place and why are they changing their decision now. As a start up founder using Stripe, I would like to know.
I'm interested to see what the server-side components of Relay will look like, especially with the pub-sub/server push functionality mentioned at the end of the presentation. Hopefully that will be included in the reference implementation being released.
Google debuts Android M
If possible, please share what exactly made them change their minds. It is still concerning that this phone call did not happen right away (especially given the business-critical nature of the issue) - many new Web companies end up with a Kafkaesque customer experience despite seemingly fighting legacy corporate inertia and inefficiency.
A lot of great comments here on the content and presentation.

I'm really interested, also, in the technical aspects of how this was put together.

For instance, the app was able to recognize the shape of the line I drew. On my first attempt, it correctly identified that my line was an S shape; then when I started fiddling around, it was able to identify that my line was (roughly) straight. I wonder what method they used to identify those shapes.