skysight-inc/HackerNews huggingface dataset:
I'd be very interested to hear your opinion about a book I've been working on. It's a 3-in-1 combo, math+mech+calc, I wanted to teach mechanics and calculus in an integrated manner and I realize, from 15 years of private tutoring, I need to review all the high school math material because many students don't know the basic.

Please drop me a line if this sounds interesting. Email in profile.
"You see that we obviously cannot walk several of the indicated routes"
I had a very similar issue with a gas leak when I was in the UK. When the owner didn't fix it I had to get a hotel and spend the next month fighting with airbnb to refund my money. Airbnb removed my review for not staying in the apartment (I didn't sleep in the apartment of course, but I spent several hours with the owner there). The listing had a huge number of near perfect reviews and still does.

I assume other people get screwed and have to waste a lot of time too.

I've stayed in more than 10 apartments in a bunch of different countries, but this negative experience made me fearful of using it in a foreign country again. I wasted an entire afternoon during my vacation and countless hours after.
Nothing happened to Eastern Airlines Flight 980.
Would be more amazing if they did the same with Europa. It is by far the most fascinating place in our solar system with the most potential for life outside earth.
Your reference to nitrates reminded me of this other topic that was on hacker news today about migraines being caused by microbes in the mouth interacting with foods containing nitrates....https://news.ycombinator.com/item?id=12747773
Wait, web dev in ASM? That sounds cool but not very hireable...
I have the same problem. I have more grey than not at this point and I'm only a hair past 30. I've been thinking about dying it for interviews but the moment it washes out people are probably going to be put off by the charade regardless if it's right or wrong. Not to mention it signals insecurity. So I'd have to dye it and stick with it which sounds like a real pain in the ass.
I wish that was the level of abstraction I have to deal with. Instead there's another 17 layers spanning multiple servers filled with "business logic".
How is this a "brilliant" shortcut if what they cut short is the testing that you say is required to make these things safe????

This move sounds like a terrible idea with respect to what you say!

It's like aerospace companies deciding to forego testing and calling that a "brilliant move!"
We can though. Using today's technology we can easily go to Mars and live in underground habitats and be subject to only a moderate increase in health risks from radiation absorbed during the trip. Said health risks would be less than what a decent number of current Earth-bound professions face, and those people don't even get to go to Mars.
Market making also uses firm money but the net position is (hopefully) flat. They trade against someone when their order matches on the exchange.
> So, not totally unlike the first page of HN.

The front page of HN is a single list with headers at the top of the page and a footer at the bottom. It is a numbered list which shows me the title of the article, #votes, #comments, the domain name, who submitted it and the time since posted. At the bottom of the page there is an FAQ to explain to me what the page is if I've never been there before. Even if I've never heard of it before the title "Hacker News" gives a good indication of what it is.

The drudge report has none of that. What are the three columns? Why is there a single column of content above that? How is the content divided / presented, is it just random? How fresh is the content? Where do the links lead? Are the links user submitted or is it run by someone? There is precisely zero context on who the page is by or what the site is. In addition, in the few places where I am given a picture for context which is clearly linked to a story I can't even click on the image to take me to the story.

Baffling that someone could think this is a well designed site.

Edit: After searching on Wikipedia to discover what the Drudge Report actually is I'm still far from impressed. For an example of what I'd consider to be a good "aggregation site" here is one http://www.jimmyr.com/
$3k is a bargain, some charge $20k!
The former head of Google's self-driving car project has said that self-driving cars are decades into the future.* Even if that's too pessimistic, nobody today knows what a self-driving car will look like, what kind of algorithms it will run, and what kind of sensors it will need to get there. I'm afraid this pronouncement is another sign that Mr. Musk is taking his investors for a ride.

* http://spectrum.ieee.org/cars-that-think/transportation/self...
I just find that whenever anyone wants to justify a total waste of resources like some people using microwaves to shave a micro off to nickle and dime the world it always comes down to some guff about liquidity to defend it.

The arms race where you never get to zero.
I posted the article for a good debate, which I seem to succeed. Though I'm not the author and we don't share positions, I've never read an article by RMS either, only about him, and attended a lecture by him. So please, recommend a good article by Richard, which relates to this article!
Ask HN: Who uses Chaos Monkey in production?
With Netflix announcing an upgrade [1] to Chaos Monkey today, I would be curious to know:

- Is your team using Chaos Monkey in your production/staging infrastructure?

- If not, do you use a variant tool or any interesting implementation of "Chaos Engineering" [2], and to what degree of success?

[1] https://news.ycombinator.com/item?id=12743693

[2] http://principlesofchaos.org

Previous discussion (2014): https://news.ycombinator.com/item?id=8713950
Self-driving is not enabled currently. They are only deploying the underlying hardware in order to start collecting data.
Don't quote me: seems from the context he just threw it on there to see if they would still use it. Which they did. So he actually setup stripe to accept money. That's what I inferred anyway.
I don't have kids, but if I had a 5 year old, I'd sure get them some of these: https://en.wikipedia.org/wiki/Cuisenaire_rods

I've often thought about inventing math toys, e.g., group theory for toddler: S_3 = triangle toy, S_4 square toy, etc. I'm sure there are many advanced math topics that could be turned into toys. No symbols, no equations, just toys, but subtly you're getting kids familiar with important math structures.
What is the point of this comment? It provides nothing to the conversation. Try to be constructive in the future.

For instance elaboration on why you like this idea, etc would at least give people something to discuss.
> the consequences can be much more dramatic

How are the consequences much more dramatic while flying? I can think of plenty of scenarios while driving where you go from perfect autopilot conditions with no visible risks to death of passengers or pedestrians in <5 seconds.
They are learning to code, they particulars of the technology shouldn't really matter.
Abstractions hide irrelevant details, heavy emphasis on the word irrelevant. "Abstractions" over relevant details are bad abstractions. Relevant is not an absolute term. Details are relevant or irrelevant in different circumstances, so you can't concretely say whether any given abstraction is good or bad - it depends on the context. But given that the details actually are irrelevant, then abstractions improve clarity, not detract from it, because you are not hiding any information that would help to clarify.

My favourite example is navigational directions. If you ask me for directions to a particular building, I could say "It's the building on the left of the XYZ building in the city." If you know where the XYZ building in the city is, this is very clear and concise. It's much better than if I had instead said "Okay well from here, go North for 100m, then turn left, then continue going straight for 1km, then turn right, ..." If you don't know where the XYZ building is, the latter directions are more helpful.
Once you grew/adapted to the growth is that $1000/mo still profit or overall earnings?

Awesme btw posts like these inspire me, damn what is the next problem to solve.
What's your government been like lately? In Australia they've been trying hard to funnel all the community college money into dodgy private trainers.
I would argue that cars are not extremely risky to modify mechanically - the parts are usually large, almost everything you'd want to do on your car has youtube videos and forum threads with people doing the exact same procedure, and you have pretty immediate feedback if you really messed anything up/the car is inoperable.

I don't think that is the same for self-driving software if you were allowed to hack it. It is easy to test if your brakes work, I think it may be harder to test modified software with the huge number of interactions it must deal with.
Stripe's primer on machine learning for fraud detection
I'll try it out with different fonts. Never even thought of that!
I once wrote a book in 2005 about the inevitable fusion of central banking theory, economic psychology, and "good-enough" artificial intelligence. Whole brain emulations weren't required. Instead, mass expansion of mobile devices and the consolidation of civil behavior into those devices (purchasing, voting, socialization, documentation, research, institution interactions, welfare benefits, etc) allows a sufficiently powerful enough AI to read an NSA trunk and be able to create a model of the "animal spirits" of the individual constituents of markets. It couldn't model human behavior accurately, but that wasn't required. Instead, it could create a chaotic chain of events between all actor demands and capabilities via small actions that would result in massive economic policy enforcement.

Instead of invading Iraq, the machine predicts a convoluted path of investment schemes that ultimately bankrupt the dinar, the ruling party, and the entire nation. No bullets fired. No soldiers deployed. To economists, it would look like normal macroeconomic activity.

I never released the book because I realized I was writing a business proposal.
No need to be so dismissive, my friend. The parent poster asked for references of people using Rust professionally, and I can confirm that I have spoken to many who do.
You could maybe convincingly argue that most market making is somewhat prop in nature, but surely not every prop trade is even remotely anywhere close to market making. As such, you can distinguish them, and arguing that they're "inherently" the same or indistinguishable, say, for regulatory purposes, is disingenuous.
It's a well written article, you'll find joy reading it. The conclusions are not the important part.
I was suspecting the same thing, that the "too little contrast" trend is a sort of overcompensation for monitors that are way too bloody bright by default.

I turn my brightness and contrast down to sane levels, which means pure black on white/white on black becomes comfortable, but then lower contrast text becomes much more difficult to read.

Solution? Everyone should be taught to turn down the "vividness" on their monitors instead of trying to compensate (poorly) for this in software.
I started a new career as a front-end developer at the age of 33(last year), so I have my age and lack of experience counting against me. I must say, I do worry about my future prospects a lot.

Hopefully sites like this can throw a bone to us old dogs out there.
yikes old dog at 33.
Also severe joint damage. It never gets back to 100℅
In legacy codebases, this is common, and I agree this is very painful. But in modern C++, it's pretty easy to write code that doesn't leak or dangle references. Don't use new, don't use delete; no memory leaks (barring cycles w/ shared_ptr). Avoid raw pointers in favor of references, and there are only a couple of rare cases where you can have something dangle. In addition, the new sanitizers (asan, msan), do what valgrind does, but are about 10 times faster, that is they only slow your code down 2-3x. So you should be running it on your unit tests on a nightly basis, further catching any bad memory issues. On a green field project, you can write code like this and have processes like this from day one, and memory safety is not going to be something you spend much time on.

I've worked on C++ codebases where I just never spent any time on this stuff, at all.
The word "hello".
Cython does work with pypy, but via the cpyext emulation of the CPython C API. See this answer from one of the pypy devs when I asked about this about a year ago: https://news.ycombinator.com/item?id=10195892

Maybe cpyext has gotten faster since then, but I think that's the state of things still.
And it sounds like he works in the auto industry. This is pretty depressing that the paycheck weighs more heavily than the safety factor. Toyota killed people with their bad code.
You should also consider SymPy, available as a webapp http://live.sympy.org/ or in jupyter notebook form.

Plotting function graphs is a bit harder (matplotlib) but overall I find SymPy to be much more logical and easy to grok than Maple's weird syntax. Here is a short tutorial on how to do basic math using SymPy: https://minireference.com/static/tutorials/sympy_tutorial.pd...
Cloud Integration – New Vistas of Revenue
What would be awesome is an interactive pylint onboarding tool. Start with no checks, then add them iteratively in order of severity showing the new errors at each step asking if the rule should be adopted or not.
Announcing Cage: Develop and deploy complex Docker applications
Thank you for the recommendation. I'll have a look at that.
Help: How to avoid first traffic surge crash
Hi folks,

I am about to launch a small saas website, and hopefully there will be a surge of users if it proves popular.

Would any of you be able to offer advice on what is the best cheap method of hosting so that if a lot of users visit at once that the site does not go offline?

I host a few small blogs on bluehost, but for this type of saas site, should I be using something like AWS?

Thanks for any advice you can offer.

Ross.
You're mistaken. Yes, portrait mode on the 7+ was introduced in 10.1 on the 7+ rather than at launch. But this feature was never available on the 6. It requires the two cameras in the 7+ to create a depth map and then blur the distance. Nothing to do with autofocus. There's no feature that was removed other than the headphone jack.
HTC says Vive sales are now “far exceed” 140K
At this scale, you basically have to have centralized logging. When you have thousands of parallel instances of a single application, searching logs box-by-box just isn't practical.

Consider also that if you're elastically scaling EC2 instances and you need logs off an instance that's since been terminated, too late! That disk is gone. So again, you need a central log service.
No it's not. You're fundamentally misunderstanding amplification attacks if you think RRL brings down the amplification factor.

The amplification factor is the ratio of the response size to a single packet. Not the number of packets you can send to a server.

The only thing the RRL helps with is forcing the attacker to spread packets over more DNS servers, but, as I pointed out, a good amplification attack already does this because it makes it harder for the victim to block DNS servers by IP.

The attacker isn't going to run out of DNS servers because there are hundreds of thousands authoritative ones, let alone open resolvers.
https://github.com/AndrewDryga/vagrant-box-osx
I did, it was just too long. The build up was too long, the mystery was too long, the intros were too long.

I don't have a short attention span, just no time for that!
Trying to save the planet would be one way.
> In my opinion, regardless of who wins, a limit on how much a candidate can spend on their campaign should be enforced

Okay, and how about organizations that have absolutely no affiliation with the candidate, who simply have an opinion and want to express it through ad spending? Can they have unlimited budgets and can I make unlimited donations to them?

We need to limit paid political speech, like ads. Not harshly, but at patiently and firmly.
I can see that Chaos Monkey adds selective pressure to ensure that systems evolve into a state where they can handle unexpected server outages.

But isn't there a danger that it also encourages maladaptions that come to rely on being regularly restarted by the Chaos Monkey? I'm particularly thinking that you might evolve a lot of resource leaks that go unnoticed so long as Chaos Monkey is on the job.
Financial Literacy Is Still Abysmal Everywhere
Keep this up and they might even overtake the virtual boy one day.
Rust has 0.1 decades of backward compatibility to satisfy.
It's vertical almost by definition. I'll say it.
Trading desks can make money in three basic ways:
1. Buy low, sell high.
2. Manufacture a product and sell it, taking a cut.
3. Take a view on where the price is going to go, then take a position accordingly.

1. is basically market making. You can either wait until you have a matching trade and take a cut (=exchange, broker). Then you're always flat (that is, you don't care where the price moves - you always get your cut). Or you can post bid and ask at which you are prepared to trade. When someone avails themselves of this, you then have a position, and the market might move against you. The spread compensates for that risk. Key here is to distinguish informed traders (that offload stuff on you before the price drops due to some news) from "dumb money", aka noise traders, that just want to buy or sell some stuff, but don't have information where the price will go. The latter make you money on average, the former might cost you.

2. That's basically manufacture of derivatives, say. You buy or sell an option, charge something on top of the computed price, and then trade underlyers against it to be flat, and at the end ideally realise that charge.

3. This is basically prop trading. If you put on the proper position, and your view turns out right, you make money, otherwise you lose. You need to be right more often than wrong :-) and quite some capital cushion to balance out the wins and the losses.

So, prop trading is characterised by you NOT being flat, i.e. you are exposed to market moves. As someone pointed out, when you are market maker, you are also exposed, but it's for short periods of time, and not the main goal. However, this does introduce some ambiguity.
Excuse my rather hand-waving explanations below but I'm not an expert in this field.

The guys you spoke to, was this before or after they went to Google/Uber? As I understand the approach at Tesla would be (a) collecting an enormous amount of real-world driving data that possibly others are not or have not done yet, (b) do as little "coding" as possible, but rather take a deep-learning approach. I.e. the "algorithm" gets better the more data you throw at it, it doesn't depend on human intelligence, but rather on how much data you collect. Similar to how Google Translate got so good (it's not good because of any linguistic model or because a team of linguists "coded" it, it's just good because of the sheer amount of data it was trained on). (c) they have enough money to throw at any hardware requirements for a platform that could train on such an amount of data.

Are the conditions above not different perhaps from what you experienced whilst working at NREC and perhaps different from the way you guys approached autonomous-driving? I'm trying to think from Elon Musk first-principles. If it was technically possible, what are all the lego blocks you need to go about building this?
Mozilla’s Browse Free or Die campaign is problematic
The author has a decent opening point about how we Free Software Enthusiasts need to be aware of the world in which regular people are computing, otherwise we'll never be able to reach them.

If my understanding of history is correct, the GNU utilities were better than the proprietary UNIX ones: they had sensible defaults, or better features, or DWIMmmy behaviour (`find` instead of `find .`, anyone?). GNU basically pulled an embrace, extend, extinguish on proprietary UNIX tools.

If Free Software "fights for the users", then it needs to go to where the users are, and that's the web. It needs to be better in a tangible way, and show how the freedoms it provides can help the users. Avoiding DRM and other user-hostile behaviour is a start, but beyond that I don't know what it should look like with today's web stacks, but I do believe that's the sort of thing we have to deliver.
Benefits of 100% Natural Mineral Cosmetics
The financial press is full of these statements. They do, however, often mention just how sure they were about the Brexit vote.

Essentially, Trump will win if he can put "normal America" against the 10%. There is a (very) large part of America that is very very much not happy with how things are going. If Trump can be the anti-establishment candidate I am convinced he will win. There's a number of things that could easily happen, for instance, if the establishment were to appear to screw up in the next 3 weeks (a war, a terror attack, a stock market crash, a large bankruptcy, a huge layoff, ...*) Trump would be pretty much assured victory. That seems to be the strategy. Of course, that's never going to get him anywhere on Hacker News.

But that doesn't even appear necessary:

https://fred.stlouisfed.org/series/MEHOINUSA672N

US households have slowly lost living standards since about 2000. The difference in experience for most households since 2000 would be small, until the 2008 crisis happened. Then it was extremely noticable and it still hasn't recovered. This means that there is in fact a basis for a large part of America to be unhappy about how the country's going.

2 comments about this graph:

1) It's an average. Because of outliers at the top, the "normal" experience is really below it, even more so since 2008 because for "the 1%", ie. the top, there was little downward slope, and in fact a constant upward slope since about 2003-2004. This came at the expense of the large majority of the US.

2) it's using PCE deflator inflation statistics, not CPI, which is what is felt by ordinary Americans. PCE deflator is often criticized for being an underestimate of real inflation, so there is an argument you should take out about 0.2% year-on-year starting in 2000. That makes the graph much worse than it already is.

I'm not counting Trump out.
The Linux kernel also recently added a debugging option that when enabled, instead of just probing a device it performs a probe / remove / probe sequence to ensure that device removal works.
Question: Does the fact that the collection of the required volume of kms driven is performed over a shorter period of time based on a higher number of test subjects collecting the data impact the diversity and quality of the data negatively?

Said another way: Is there a downside to parallelizing the collection process across a broader horizontal population of collection vehicles over a shorter period versus the traditional 1-2 year collection period?
No, it's not. First of all, just like Benghazi, she's already been investigated by her political opponents and they've come up empty-handed. Second of all, Trump didn't call for her to be prosecuted; he claimed he would single-handedly lock her up of his own authority.

To object to literal fascism is to acknowledge that we live in a Constitutional Democracy and have an actual legal and judicial system which is not to be subverted by a unilateral Executive branch actor who has a short temper and a grudge. You know, basic separation of powers principals that are fundamental pillars of our Democracy.

But then again, this is the party that has illegally obstructed the nomination for the Scalia's replacement for the last 9 months, and will continue to do so for the next 3 _AND_ has already proclaimed that they will obstruct HRC's nominations as well...

So it's nothing new to disregard the Constitution for the Republicans at this point, I guess.