skysight-inc/HackerNews huggingface dataset:
You did nothing wrong, the hundreds of active users due to announcement buzz is a little outside the scope of the sandbox's capabilities, it has some race condition under heavy load. We considered spending time optimizing this in anticipating of the announcement, but more pressing issues took priority. Re-running the line should work.
Grep can also server you pretty well most of the time. It will happily search in binary files and the -b option will show you byte offsets.
I'm not sure what you are trying to tell me, but I certainly don't hold science as a constant.

Also, I didn't down-vote you. And I agree that not having answers is not a bad thing--what is bad, though, is making up an answer instead of just accepting the lack of knowledge, or insisting that current lack of knowledge means permanent lack of knowledge.
The global interpreter lock does not apply to multiple processes. Web applications are embarrassingly parallel.
Vegetables are relatively cheap. It's just that in the US, cultural traditions are mish-mashed and weaker, and the food industry is motivated to increase their profit margin though selling "value add" which is really just "perceived value add" and amounts to processing and packaging.

I do all my own cooking, exclusively roasting and steaming, and don't even use carbohydrate rich foods like rice or pasta as a staple. I have steamed or roasted vegetables every day with almost every meal.

One thing I've noticed is that my fellow Americans tend to make a lot more work of vegetables than they need to. They're much too elaborate with washing, and are way too fussy with ingredients and extraneous prep. Just boil, roast, or steam vegetables. Add some salt and butter or olive oil, and you can call it done. So long as the vegetables are fresh and not overcooked, they will taste amazing! (Also, get as fancy as you want, but the best and most complex flavors come from fresh foods.)
Unlock the Bootloader of Kindle Fire HDX
I don't know if I 100% agree with all of your points there, but I can see where you're coming from on them.

Regardless, I do really feel you're spot on about the attitudes that some gentlemen out there have towards condoms. Or, condoms are so inexpensive and practical, it makes a lot of sense to use them. Not to mention if they're properly sized they won't hurt or feel uncomfortable.
you may want to expand on this question. what is the background of this?

Are you looking for experience in a professional or personal setting? Large or small scale deployments?
Professors stake out territory for Bitcoin
> but asynchronous programming is targeting only a single (server) application

As systems get more complex, this is not true anymore, because thinking otherwise would put the composability of the software at risk. Large software is typically built from many heterogeneous components.

> I also would add, that asynchronous implemented server applications are doing oftentimes better than systems that primarily rely on threading.

In the case of purely I/O bound applications, you may be right. Otherwise, it is a matter of finding the "sweet spot": just like bubble-sort is faster for certain applications than quicksort, does not mean it is the sort-routine we should be putting at the center of our frameworks, and build our software around.

Also note that asynchronously servicing N users, where each of the N services has a certain probability p>0 to "lock" the system for longer than expected, will increasingly become an unresponsive experience for increasing N.
Are you sure you mean UHT milk and not ESL milk?

In Austria, all supermarkets used to sell pasteurized fresh milk (last about a week). In the last few years, they started moving to ESL milk (lasts 3 weeks). UHT milk (lasts 6 months) is also available, but people usually don't buy that.

Really fresh unpasteurized milk is available only in some stores or directly from farmers (it's still somewhat common for people on the countryside to buy milk directly from farmers).
>Is it so typically American to eat highly processed foods

Yes.

>Don't you have a vegetable department in the stores?

There are a large number of Americans, especially the poor, for whom the only nearby "grocery stores" are bodegas, convenience stores, minimarts, etc, from which the supply of fresh foods tends to be limited at best. Add to that how spaced out everything in the US is and how poor Americans may not have a car or the free time to drive a considerable distance to a proper grocery store and back and stocking up on anything but the shelf-stable basics can be pretty hard. Take a look at "food desert" maps for more information.

>Here it would also be quite expensive to buy prepackage stuff as one gets peppers, cucumbers, zucchini etc for under 40 cents a piece, a bag of washed fresh spinach is about 1 euro, potatos costs less than 50 cents/kilo

Where I live, in a fairly low cost of living city, prices from a local grocery store start out at $1 apiece for bell peppers for cucumbers, $0.80/pound for potatoes, and $2/pound for apples or broccoli. Increase from there for most other big cities, or for people living in food deserts who have to spend their time getting to a real grocery store if they want anything approaching reasonable prices for fresh stuff.

By contrast, even convenience stores and minimarts will often have processed foods available at a cost low enough to approach those of "real" grocery stores, since canned foods and frozen dinners don't go bad if they're left on the shelves for too long.
Note that the 'academic theorists' you cite would rather use an actor based system (and not events), and elsewhere in academia there's quite outspoken criticism of event-based systems[1] even for high-concurrency use cases. So, yes, threads have their problems, but event-based systems are not the panacea.

[1] http://static.usenix.org/publications/library/proceedings/ho...
We pay our junior engineers $90k at my company in the Valley.
google "eat food, mostly plants, not too much" – it's Michael Pollan's summary of how to eat healthy. There's a long NY Times article and a short book based on it.

By "food" he means "food your great-grandmother would recognise as such". A good rule of thumb is to focus on foods that don't have an ingredients label. Anything that is green is also a good bet – leafy plants are incredibly complex chemical cocktails and the human body evolved in tandem with it.
That's because I'm waiting for the photographer to get me the full size version. This one I cribbed a low-res version of the net, but it's easily one of the best Haskell conference photos in its original form.
Well, what about people who run gunicorn + gevent workers?
Lots of Googlers like Go and use it. I'm using it for a hobby project that I'm working on right now.
Ask HN: Examples of well-written/accurate front-end dev. job descriptions?
I refer to modern but rigorous NASA development practices, from design to verification.
Another random datapoint, recently interviewed at a couple well-funded startups in London, got offers around £70k for senior developer (not lead) positions. I have ~6 years experience, all startups, and am not a rockstar.

It is surprisingly hard to figure out your value in the UK tech scene. I suggest looking for tech-oriented companies with healthy balance sheets and asking for as high a number as you can without blushing and see what happens.
Tesla uses a single gear, which limits the top speed of the car to only ~ 120 mph. Germans scoff at that, but it works well for everyone else.
No it's not! Green Beans. Cauliflower. Broccoli. Brussels sprouts. None of that's "expensive." I've been feeding myself exclusively on ordinary grocery store veggies, steak, and fish. It's not expensive or time consuming at all, and it's quite delicious when you catch on to how to do it, which you will very quickly, if you cook all your own meals.
> - Shifting more work away from Python to the database. A surprising number of apps don't do pagination properly.

This is very true. Get as much out of database before doing in python. Creation of objects such as new list is very expensive in Python, especially when you are dealing with large amount of data.Iterating over data just to do some aggregation that can be done in DB is slow and expensive. Cache the result later if you expect that to be useful.
Looks like a rebadged Aegis, which has been out for three years: http://www.apricorn.com/products/hardware-encrypted-drives/a...
I have no idea what either of those things are
Open source heroku clone
What is the benefit in using this scheme opposed to a gearbox? Is most efficient to use two electric motors (powered by the combustion engine through a generator) or use gears in a gearbox, but without the power penalty of the generator?

Is this more efficient than a gasoline drive system only if the energy to drive the electric motors come from an external source (the power grid, though the batteries)?
How many steps removed are you from starting a company with Paul Graham...
Background information for readers:

Dokku and Flynn are

Flynn:

"...something like Heroku that we could host ourselves..."

~ https://flynn.io/about

Dokku:

"Docker powered mini-Heroku."

~ https://github.com/progrium/dokku

------------

where heroku is a platform-as-a-service for hosting your rails/node/whatever websites/webapps
yeah, the article had a lot of interesting information, but presented in a relentlessly axe-grinding style.
An introduction to personas and how to create them (2004)
The point is that even writing in 8kB chunks will lead to a lot of write amplification when the erase block size is at least 128kB and the flash page size is 16kB. 8kB writes are definitely less bad than 128B writes, but it's still not enough write combining to pass either of the relevant thresholds.
Dokku-alt has been tremendously useful for testing and small projects.

https://github.com/dokku-alt/dokku-alt

Dokku-alt is a fork of dokku.
Yes, you are. Reassuring - thanks! Will do.
Yep. We (Loomio) have been using Dokku as an alternative to Heroku hosting - our main site is still on heroku, but we know that many people are using Dokku for Loomio hosting.

I spent about a week writing up the documentation: http://github.com/loomio/loomio/wiki

Since doing that we've seen a big increase in the number of poeple contributing code and helping out on Github. It's certainly been worth it from that point of view.
Except there might be unseen consequences. It's all very hard to predict, but here's one example. Suppose human life is extended by 20 years. For some, it might be enough to start a second (or third) career. For others -- maybe not. Which means that people will need to remain in their career for a much longer duration, which might cause them considerable distress. Then again, maybe not.
Nothing really trumps this article on big numbers. http://www.scottaaronson.com/writings/bignumbers.html
Also all these Microsoft folks are so good at politics that the average googler will just be cannon fodder! Think Crossbows vs pitch-forks.
Unnecessary code is one thing, exploiting the presence of undefined behavior to compile something that the programmer likely didn't want is another. It doesn't matter much if it's fast if it's wrong. A good compiler shouldn't try to read the mind of the programmer, it should complain loudly and stop. It should be free to do so, given tha leeway it has with undefined behavior.

And of course, the standards committee should get off their asses and define some behaviors.
Heavy Docker user. Played with but have not used them, because Docker+machine+fig (now compose) already gives me everything I need (isolation, repeatable build, atomic deploy) without another infra layer to worry about.

Then again, I'm a one-man 360 shop and a control freak, and I'm not afraid to slap together a webhook-eating build+deploy process on a whim. So, my use case is probably not representative of Docker users in general.
"[T]he observable universe is far too small to contain an ordinary digital representation of Graham's number, assuming that each digit occupies one Planck volume."

Sheesh.
Ask HN: What are some good online resources to learn electrical engineering?
I'm currently a firmware engineer, but my formal education was in biochemistry and computer science. I would like to round out my knowledge with some electrical engineering courses, and I would very much appreciate links to good online educational content in this area. I may end up taking classes at a university, but first I'd like to find out my online options. Thanks!
Well, a tape measure that dropped 500feet killed a man[1], so I wouldn't be too confident about something the size of a toaster not killing someone when being dropped 500ft.

Granted a tape measure does weigh less than 2lb (~toaster), but anything dropping from 500feet is still cause for concern.

[1]http://www.krmg.com/news/news/national/tape-measure-dropped-...
A Cheat Sheet for the FBI’s Speech on Race and Policing
Matchmaker, Matchmaker, Make Me a Spreadsheet (2014)
This has got to be the next 'Googlezon' (EPIC 2014), I've now seen 3 people suggest that Apple and Tesla merge/acquire (one of them had Tesla acquiring Apple)

I think Tesla is in for a world of hurt actually. Pretty much everyone "gets it" now, and there is at least 10x the capital engaged in creating Tesla competitive cars as there is at Tesla creating their own cars. That means 10x more success paths explored per unit time. That means 10x more noise in the market to obscure Tesla's message. That means 1/10th the "oxygen" left for anything else. The best thing Elon did was the "gigafactory" as it will have a lock on battery supply if none of these new battery technologies come to market. That provides a pretty good defense against the onslaught. But every car company is gunning for him. It's pretty impressive.
True! On the other hand, being forced to smile leads to unhappiness
this is a deeply ironic comment, seeing as how mencius instilled that idea into confucianism back in the 3rd century bc. (rousseau might have introduced the idea to western philosophical thought; i don't know very much about him.)

http://en.wikipedia.org/wiki/Mencius
I don't think many developers optimise ( or would know how to optimise) for less energy usage. :)
How is that Gerrit failing? Gerrit is designed to support all kinds of workflows, just like Git. As far as I can tell, we're using our various tools the way they were intended. Just because it doesn't line up with your exact view on how Git should be used, doesn't mean we're doing something wrong (or "insane").

This is a boring conversation.
Seriously? There's nothing to keep companies from working to figure out what the challenges/requirements/etc. are for doing home delivery at some point. I also suspect it is quite a long way away and, in the meantime, I don't want to see random companies going all move fast and break things with heavy objects flying through the air above people and in controlled airspaces.
The root of this is that having a daughter was less culturally valued, people chose sex-selective abortions (http://en.wikipedia.org/wiki/Sex-selective_abortion#China), which led to a skewed gender ratio for the population. Many rural men struggle to find wives because of the shortage. If women/daughters were more valued, there would be more women, and poor men would have an easier time finding a wife. So even though there are more men on the bottom, it was caused by valuing men over women.
Thanks! Great comment, I'd planned on adding implicit returns, and may copy rust on that one!
netflix likes to talk a big game, but they still show me movies and shows i've already seen -- multiple times -- in multiple categories.

How am i supposed to discover new things to watch if you keep showing me the same things?
> I don't think you can call an activity sociopathic if the vast majority of humans take part in it.

If you think the vast majority of people go around saying negative shit about people they don't know, then you need to reevaluate your worldview.

Maybe you're experiencing some observation bias, as the people who do this are highly visible, but the reality is that most people do not relish publicly spreading negativity.

There's a reason why people become known as the "town gossip" and are looked down upon for it.
> How can anyone claim with a straight face that America is a nation were inter-racial violence is understood in terms of its historical roots too much, and go on to state that the idea that "greed is good" is demonized?

He's not talking about "America", he's talking about "social psychology", or to be more precise, the predominant academic culture in that field.
> The Bitcoin crowd needs to get some people who have passed Internal Financial Controls 101 at a 2-year business college. This isn't rocket science.

To quote somebody who has forgotten more about cryptography and digital currencies than probably the entire population of Bitcoin startup founders put together will ever know, many Bitcoin founders take "offense at the very notion that there might be something to be learned from several millenniums of financial services best practices."[1]

What's really interesting for me is that VCs seem happy to invest in such startups. It's one thing when a small, bootstrapped exchange/wallet provider gets hacked. It'll be a different story when a major, VC-backed one gets done.

1: http://lists.randombit.net/pipermail/cryptography/2014-Febru...
>If tomorrow you wake up and find 10000000$ in your account and then go on a spending rampage what do you think will happen?

Something pretty similar to this happened here in NZ in recent years. A couple who ran a BP franchise had applied to a bank for a $100k line of credit. They were accidentally given $10m instead. They decided to rapidly transfer the money offshore, where they then fled. The woman eventually returned voluntarily, the man was extradited. He received jail, she a home detention sentence and reparation.

http://www.stuff.co.nz/national/crime/2428243/Couple-missing...

Sentencing: http://www.nzherald.co.nz/nz/news/article.cfm?c_id=1&objecti...
> In practice, you'll end up with so many "yield from" lines in your code that you're right back to "well, I guess I could context switch just about anywhere", which is the problem you were trying to avoid in the first place.

This is backwards, like when my Java colleague complained I was putting "final" in too many places. The point isn't the lines that contain "yield from". It's the lines that don't contain "yield from". You can make an explicit choice that you don't want context switches to happen on particular lines. In traditional multithreading you can kinda-sorta do this with mutexes - but it's less efficient and, more importantly, more error-prone.

> Database Code Handles Concurrency through ACID, Not In-Process Synchronization

Maybe. The problem is, not everything is (or should be) in the database. Even for CRUD webapps, we tend to end up needing a general-purpose programming language (otherwise you'd just write them in MS Access, no?) And so we need general-purpose language mechanisms for dealing with concurrency.
This looks really cool! Some random feedback. It's your baby, so feel free to ignore any and all of this you don't agree with.

First off, you did two things right that a lot of hobbyists (including myself, multiple times) do wrong right out of the gate:

1. You wrote some nice, readable introductory docs.

2. You didn't make the language syntactically weird for no good reasons. I can instantly read your code samples and understand them. Yay!

---

There's a good chance you'll end up regretting making strings mutable. It means APIs that receive and store a string have to either copy the parameter (slow, easy to forget) or run the risk of having something that they would be unchanging change under them.

This is a problem with mutability in general, but I think strings hit the pain point most strongly since they're immutable in other languages.

---

You have lots of methods that don't take arguments (size(), start(), end(), etc.). Some kind of getter syntax would be nice to lose the pointless "()".

---

I like your range syntax. I'm using ".." and "..." (like Ruby) in a hobby language of mine[1], and it's definitely not intuitive to many users.

[1]: https://github.com/munificent/wren

---

Your mixture of ":" for functions and control flow but "do ... end" for blocks hurts my soul in some hard to define way. There's nothing intrinsically wrong with it, but I see ":" and expect Python-style indentation then see "end" and get all confused.

It might be nice to try to pick one or the other -- use indentation for blocks, or "end" for functions and control flow.

---

I think you may eventually find the way "self" is dynamically bound to be an annoying frustration. What you have is semantically simple and follows JS and Lua.

But it trips people up when people want to do things like store a reference to a method in a callback and invoke it later. When that helps, you'll have forgotten the old "self" reference.

Of course, solving this is also fairly complex. It usually requires some kind of explicit function/method distinction (makes the language more complex) or an explicit way to close over "self" (easy for the user to forget).

---

"All variables must be declared before use:"

Damn straight. Implicitly declaration gives me hives. :)

---

I like your cond statement, though I've never personally dug the name "cond". The semantics are neat, though.

---

You could get rid of "try" and just allow any block to have a catch clause. That's what Ruby does, and I've always found it elegant.
A server that's 10 years old now was likely made with leaded solder.
This is fantastically well written but goes over my head in a major way. Where can I read about the 101 version of thi article
Ask HN: Approach to getting into Deep Learning?
Back story: I'm 12 years out of university now, and have developed a career contracting in Software Dev, and more recently a large amount of test automation gigs, which pays the bills but is frankly, boring.

My honours thesis and one of my final year papers in uni really piqued my machine learning interest, and I developed a neural network for drug prediction. I loved it, and topped the class in the machine learning.

I miss that. I miss the exciting edge of science, the challenge of the unknown. Sure I've had contracts where I wasn't sure a job was even possible, but that was so much more exciting.

Now with the advent of deep learning really kicking into gear, I want in.

Any thoughts? Those in the field, did you switch from academia or from commercial gigs? I'm in Australia if that helps, but have worked in 5 countries, so have never had an aversion to moving for a contract.
Supercars generate 5x-10x more torque, which would likely break this sort of transmission. Most automatic transmissions have a similar planetary gear design but use clutches to control power delivery (from the single motor). These clutches will burn up under lots of torque.

Furthermore, it would be hard to implement a way of shifting the CVT to a predictable ratio and holding it there while in a tight turn. (Holding the ratio might not be hard, but the driver will probably want a predictable ratio before going into the turn).
It's because the formula for the maximal prime gap that was used in Lemma 4 at the bottom of page 3, sqrt(x) log(x) / 8pi, is a consequence of the Riemann hypothesis. Otherwise the term becomes x^(3/4 + epsilon) which is a lot larger and messes up the argument. I think it's nontrivially useful here, but there might still be a proof without it
" InnoDB is the default back end"

This comment reveals that you're utterly and completely ignorant. If you think InnoDB treats your data with respect by default, you've clearly never actually paid close attention to anything.
Or WPF. React = WPF for web (and is still awesome).
Yeah that is the only reason I mentioned it as the rest of the site was spot on.