skysight-inc/HackerNews huggingface dataset:
Yeah, this is what I mean. So this was originally written before "move" or even any of the current closure implementation existed. And with so much to do, the focus was on making what existed accurate more than a holistic approach.

Furthermore, almost a year after 1.0, we have a lot better understanding of what people struggle with when trying to learn Rust, so we have a better idea of how to teach it.

Please file bugs for notoriously poor errors. We have put a lot of work into many of them, but there's a lot of ways to go. It seems like most people really like them or really hate them.
Clearly we need a Fourth Azimov's Law: No BigotBots.
I wonder if even that's a good idea for Sony seeing how Microsoft faced a severe fragmentation issue with Kinect twice. If Sony offers VR as an optional add-on, most devs will throw in half assed VR features, which is not good for any one. IMO, a separate PSVR that's completely unconnected to the PS4 might be better for developers, gamers, and the future of VR.
Intermediate Vim: Sessions
Parallelism necessarily implies concurrency [1]

So, "SIMD concurrency" is not incorrect (although SIMD parallelism is more correct :)

1: http://programmers.stackexchange.com/a/155110
Additionally, generator comprehensions can be far more efficient than any simple for loop. If you had a generator with a billion star coordinates being read from some file, you'd never be able to load it all into memory. So, instead of manually making a generator function, you could just do

coordinates = (star.x, star.y, star.z for star in star_map)
Except dictionary comprehensions don't leak their variables.
If "politically correct" means reasonable and respectful then it's not easy to see how that can be described as garbage. Given access to enough Twitter accounts and enough time the chances are good that eventually an ai bot might find tweets it might actually learn something from.
also the idea that you can go to the surface and follow your bubbles during a saturation diving job isn't correct. You'd die from the bends before even reaching the surface. Decompression from a sat dive usually takes couple of days and is done in the sat chambers (which are as mentioned a fixed (welded down) installation on the ship/rig).
It's never been much of an "AI" to start with. This term is overused.
Mammalian diving reflex
Hope this doesn't get you banned in Germany:

\sin \left(x^2+y^2\right)\cdot \left(y^{32}\ -\ x^{32}\ -x\cdot y\right)\ \ =\ 0

EDIT: also

\sin \left(x^2\ \ +y^2\right)\left(y^{32}\ -\ x^{32}\ -x\cdot y\right)\cdot \left(\frac{\left(x-y\right)}{\left(x-y\right)^2}\cdot \frac{\left(y+x\right)}{\left(y+x\right)^2}\ \right)\ =\ 0
I am often guilty of this. Why? Maybe it has to do with the assumption that the comments on an article will provide me with more knowledge than reading the article itself.

The discussion here is more dynamic, from multiple parties, providing different views, sometimes correcting errors and filling in any omissions of the article, as opposed to the source piece which is static and written by a single, usually biased, individual.

More simply, most people are lazy and do not have the time to read each article. They also go to aggregation sites like HN or Reddit to get all their news in a single format, and temporarily navigating away from that format can be sort of uncomfortable, especially with the ads and whatnot on most linked articles.

Of course this is not a good habit; the articles should be read, at least before you comment on them. Commenting before reading only increases irrelevant noise and defeats the purpose of the news. Yet, the reasons for why people don't read articles, remain.

Maybe HN and Reddit could balance this by providing a preview of the link in the comments section? Some subreddits already have a bot which provides summary, but it really should be a feature of the aggregation site itself.
If "politically correct" means reasonable and respectful

But it doesn't
I wonder: Why primes? Why not just crack off 4 bits at each level?
Can we find information on this clinic and contact them ASAP?
> Rust's notoriously poor error messages

I've actually heard the opposite feedback; Rust's error messages try to be super helpful.

Note that concepts like ownership and Sync are new to most programmers, and it's impossible to explain them in an error message. This is where the extended error messages (via --explain) and the book come in.

The tutorial has this style because Rust espouses catching things at compile time, so the tutorial demonstrates this being done by doing the wrong thing a few times and reiterating why it gave an error.

----

Could you give examples of confusing error messages? I'd love to improve them. The one you mention .... doesn't exist. This (http://is.gd/keukPm) is what that error message looks like, and (a) it mentions Sync, (b) it also mentions that `Arc<bool>` cannot be shared between threads safely.

If you were referring to "So, we need some type that lets us have more than one reference to a value and that we can share between threads, that is it must implement Sync." from the book, the last part about Sync has nothing to do with that error message. If you follow the book, the error message is clear without the context of threads -- `data` was moved into the first spawn() call and the subsequent ones can't use it. One does not conclude that Sync is necessary from this error message, and that's not what the book is trying to say.

This sentence is actually skipping a step, one like http://is.gd/RPNOm4, where the compiler asks you for a Send type (or a Sync type, depending on the exact code). Instead of stepping through this example, it just introduces Sync directly by noting that we're dealing with threads anyway and the reader already knows what Sync/Send are. It doesn't conclude that Sync is necessary from the error message.

> The bit about Mutex also has a "just type this to fix the problem with no explanation of how or why it works" flavour (although I guess if you already grok mutexes then its use here might be obvious to you).

The previous sentence says "for example a type that can ensure only one thread at a time is able to mutate the value inside it at any one time.", which is exactly what a mutex does. Unless you want a lower level explanation which IMO isn't necessary. It could explain locking more though; I'll fix that.
I don't work with javascript so could someone please explain this to me? I don't understand why one guy pulling their repository off the npm servers affected others' projects. Why did everyone else's code refer directly to that guy's repository, and not some centrally-maintained clone thereof?

Is it the case that projects on npm refer to the original authors' repositories always? That sounds very unreasonable.

For instance, I'm pretty sure that's not the way it works with, say, yum. Red Hat hosts some packages on its servers, but that's not where the projects' code resides- the maintainers have their own repositories and in fact the rpm packages often have different maintainers altogether. So if a project goes down, the package stays on the RH server and you can still get it anytime you want.

What I'm really asking is: why is it not done this way for npm also?
That was another of the issues that 3000+, and the new Paula + peripheral chips was pegged to resolve. 3000+ was meant to be enough of a step forward to buy time to release AAA. Those 3000+ chips were just about ready if I remember right.

Cancelling AAA was an Ali cost decision, it would probably have been well received releasing AAA even late 90s.

A4000 was a horrible low budget kludge as there was no money for anything 90/91 on.
I don't understand what was so downvotable about my edit.
> 1. Is there a way to do integrals? Are there plans to add that support?

We don't do integrals right now, but I hope we'll be able to add them at some point. It can be pretty tricky to do integrals accurately for non-smooth or highly oscillatory functions. Here's a graph I made recently exploring an interesting numerical integration technique called tanh-sinh quadrature:

https://www.desmos.com/calculator/jg4wamuwde

2. ... If I change the equation, it seems like it has to complete the first calculation to get to the new calculation.

Right, we currently wait for existing calculations to finish before starting new ones. We've experimented with strategies for killing calculations that look like they're hung, but we don't do anything like that right now. Killing and respawning webworkers is expensive and has been crashy in various browsers at various times, and short of that, it's hard to stop calculations midway through.
I'm in the process of turning around this company culture, I just need time, it's been only 2 months I'm here, and we have a product to build at the same time I have to coach the CEO in efficiency and fast execution. The CEO needs time to adapt, he came here because startup seemed cool in his circles, but he was not really prepared for the storm I bring with me. He's a middle-aged man whose last job was head of a power plant at a utility company. So I have to order my battles, right now it's launching some boxes at the customers and see if it sticks.

But yes, I'm pushing back on more and more of those. And also try to move on quicker during the meetings.
Advice which is unfalsifiable, inflexible, makes no predictions, and can always be smugly 'correct' no matter the situation.

"I got up" -> "you just did it"

"I didn't get up" -> "you didn't just do it"

The useless homeopathic woo-woo of advice.
> you could even put the process to sleep until pending I/O is completed and have it take up no CPU during this time. Instead what people do is burn CPU cycles in select/poll loops

That's what select() does though: you give it a timeout, and it goes to sleep until either an fd becomes ready or the timeout expires. As an example, the X server on you typical linux laptop uses select() on a whole bunch of sockets, one for each client, and it both has good enough latency to be interactive, and doesn't burn a lot of CPU doing so. Is this the most convenient programming model for this? Probably not. And of course it still has the issue that a long-running function can delay your getting back into the select loop.
> “You don’t get rewarded for creating great technology, not anymore,”

This resonated with me the most, as I learned it the hard way through my own failed startup. I was informed by several investors that tech was a commodity and they only wanted to discuss our go to market plans.
The Four Pillars of PIM – TiPb of the Iceberg (2008)
Or, as in Logan's Run, when an employee turns 30, they "rejuvenate"
Same version, iPhone 6, no problem to open HN links nor Google ones.
What about randomizing comment order for the first N minutes of a submission's life?

Although I do agree that built-in comment collapse functionality would be great; I'm using a Chrome extension right now.
Same for me. Google doesn't work. I was looking at rolling back. Apple updates have been regressive for a while. I am beginning to feel that it is time we lock down our phone like the good old days. The new stuff hasn't been really good for a while.
Oh, I see. It's like a B-tree with a larger node size at each level, yes? But then what's the advantage of basing the node size on primes? Wouldn't you get the same advantages with simpler code by using successive powers of two at each level instead of successive primes?
Thank you! And I'd be happy to elaborate a bit more, although you already explained most of it yourself ;). Currently the server just stops reading from the socket and the rest is being handled by the networking stack (i.e. buffer fills up, window size is to 0). At this moment the buffer size is also fixed (it sits somewhere between having good throughput and not consuming too much memory for parked connections), but an improvement would be to change it dynamically to improve behavior on both fronts.

For any other versions or source releases I'll post an update!
You can already plot bivariate equations as implicit plots; e.g. things like "x^2 + y^2 < 9" or `sin(x) + sin(y) = 0.2` already work.

Are you asking about numerically solving systems of equations? Or 3D plotting? We might do one or both of those at some point, but they aren't on the near term road map.
Ming-Chi Kuo Says Huge iPhone Overhaul in the Works
Sorry, I just can recognize the taste of the plant, not the molecule.

Thanks for the precision.

I do agree with you. I still think people should accept that you cannot delegate knowledge to elite and learn. I also accept what you say about the knowledge that saves life.

We would be better protected if people were part of the chain of control and accepted that science can be done in their kitchen and that we need to cooperate because it is hard to have a job a family and be perfect in everything.

Nobody's perfect and we should accept it.
The cynic is inclined to ask what Newsweek's mission is exactly these days. That snark aside, Dan Lyons seems to have largely shifted into a writing style that's more entertainment than journalism. And the Jon Stewarts of the world aside (and even there at times), it's a difficult blend to pull off. There's always this tradeoff between what is objectively balanced and accurate--and some would argue that's an impossible goal--and what attempts to convey an entertaining "truthiness" of a thing even is it plays a bit fast with specific facts.
Perhaps you'll prefer this video (it's shorter too):

http://youtu.be/rw_f_8FoQUo
Just checking: do you downvote those poor quality top level comments? Does anyone?
That's not a way to "kill goroutines". That's a way to "ask goroutines to die when they get around to it." Useful, but a fundamentally different thing. Go does not have a way to kill goroutines, nor, per some of the other discussion in this thread, do I ever expect it to.
> Pretty sure it was a bug that they kept for backwards compat, not intentional

Yep, as demonstrated by only list comprehensions exposing this behaviour (on python 2) whereas none of generator comprehensions, dictionary comprehensions or set comprehensions do:

>>> [x for x in range(5)]
[0, 1, 2, 3, 4]
>>> x
4
>>> {y for y in range(5)}
set([0, 1, 2, 3, 4])
>>> y
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'y' is not defined
>>> {y:y for y in range(5)}
{0: 0, 1: 1, 2: 2, 3: 3, 4: 4}
>>> y
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'y' is not defined
>>> list(y for y in range(5))
[0, 1, 2, 3, 4]
>>> y
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'y' is not defined
>>>
There is this nice guide: https://emailselfdefense.fsf.org/en/

It has instructions for all major operating systems.
Who is "we" in this case?
Tendercare Pediatrics in Huntington Park, CA
I meant functions of the form z=f(x,y) (So 3D plots).
> Though they don't live "down there" in tiny decompression chambers as the article claims. The chambers are on the surface (on-board a rig, a ship etc).

I had never heard of this before; that sounds like a lot of uncomfortable strictures to follow for a long time! The Wikipedia article on saturation diving says that underwater living chambers are also an option, but seems to suggest that they're mainly used by scientific research divers (I'm not sure why that would be).
Can you clean the Twitter stream in your head? Can you, if reading tweets directly, get any kind of sentiment analysis better than a 50-50 guess?

(i.e. for one specific stock or industry, or slowly and not in realtime) ?

If not, do you know for sure that there is any relevant information content in the Twitter stream?
What is the actual space overhead of this structure, and how did you measure it?
I didn't use the word "blame" :/
WeWork to Remake Real Estate with Code
The latter comes at a price, such as severance pay.
This appeared not too long ago on HN also; https://tuinderlusten-jheronimusbosch.ntr.nl/en (An interactive/annotated page for Bosch's The Garden of Earthly Delights)
List comprehension in Python is great. However, that's Padawan territory. If you want to be a Jedi then APL is the only way. It's not "list comprehension" it's the way of the force when you use APL.
Awesome. I created a HN account just to upvote this.
Why was Belgium attacked?
Do you really want a citation for this claim? I can provide one, but it will be complicated, because Yarvin is an obscurantist. Before giving you the bulleted list of facts that would back up this claim, I'd like to first know if you've actually read Yarvin's walls of text on his UR blog, and how closely you've read them.
This is excellent advice. Not surprised you're being downvoted (I upvoted you). Simplicity doesn't make sense to a lot of people.
As someone closing in on 30, it sounds horrendous indeed.
Or https://wiki.debian.org/FreedomBox/LeavingTheCloud
There seem to be some sound insights, even though I don't explicitly remember ruining build systems.
What did those people have that was worth stealing ? Plates, spoons and linen.
50-50 guess is pretty good if you have like 4 different sentiments. Language is hard, short tweet doubly so.
As a 50-something guy as well, I guess I see it much differently than this guy did.

Firstly, IMO, there was nothing "hell"-ish about Hubspot's culture or business model. It seems to me they were just playing the game-as-given, and doing it quite well frankly.

The proof of that is IPO.

Personally, I find it beyond refreshing that management is making a powerful effort to change up the typical gray-flannel corporate work/life thingy.

So old-school didn't get it, or even see beyond his own prejudices at the positive work culture meta-messages.

That's on him, not Hubspot.
Let's not beat around the bush. It is straightforward, but tedious, to put together the sequence of things he's written that makes it clear that when he talks about the suitability of different races for slavery, what he is really talking about is the suitability for "blacks" --- a racial construct he appears to buy into wholeheartedly --- for slavery.

He is, in fact, (creepily) fixated on blacks vs. whites.
Proactively Reacting to Ransomware
Other people in this thread have pointed out the erroneous assumptions in your comment. In this particular example, you are showing your ignorance of the discussion and continuing to respond in a spoiled manner. Please don't contribute to HN this way.
Yep. I loved the Amiga. I started with a 500, then upgraded to a 3000. I taught myself C on that platform, when I was 14 or 15.
When I said "hard to see how that would be legal", I meant it with regard to modern legal systems, not semi-fictional bronze age legal systems where people can be stoned to death for innocuous things.
I don't really understand what it offers.
Go to a nearby village and help a farmer during your week end
One of the research organizations using CakeML is MIRI (Machine Intelligence Research Institute), which is doing research in machine self-reference. They recently used HOL, an automated theorem prover, to demonstrate a formal correspondence between the model of HOL within HOL (“inner HOL”) and HOL itself (“outer HOL”). Informally speaking, Fallenstein and Kumar show that one can always build an interpretation of terms in inner HOL such that they have the same meaning as terms in outer HOL. The authors then show that if statements of a certain kind are provable in HOL’s model of itself, they are true in (outer) HOL. See more here: https://intelligence.org/2015/12/04/new-paper-proof-producin...
I delete about fifty or those things a day.
Humanity still sucks at human knowledge management.
Just FYI, I do not believe that Panentheism is a typo.

https://en.wikipedia.org/wiki/Panentheism

https://en.wikipedia.org/wiki/Pantheism
Software engineering is a relatively nascent field. While India does produce a lot of software engineers, it will take some time before the expertise in software development that is required to run a successful business is prevalant enough in India to nurture independent companies and allow them to grow big. There are already a few successful Indian startups though e.g. Zomato, Flipkart.

Anecdotally, there is much activity in the startup sector in India and I am willing to bet it won't be long before we start seeing more success stories.
Maybe it will become the new Turing Test. The mark of a true general purpose AI is that it doesn't turn into an offensive jerk after contact with humans.
10 tech security basics everybody should follow
I'm not sure there's an awareness the effect a down vote can have on someone new here. I remember when I made a comment after joining and it got a down vote. I didn't comment for about 6 months.

The fact that down votes are silent makes things worse. Great, you've been down voted. Why? Ask why, down vote again. It's almost a recipe for gradual shaping to conformity of group opinion for anyone who wants to participate here. It can then come across as say these things, don't say these things and you'll be sailing.

I don't know, perhaps an explanatory comment should be encouraged so that real education happens. Otherwise its almost Pavlovian in nature, especially for the less confident and highly anxious.
MIT’s Clever New Drone Draws What You Do
One of these ip addresses where still reachable. Seems to be an desk computer taking order for pharmaceuticals, I could see a clerk write a persons name, what he ordered, everything!

Just awful! I tried to figure out what company it was and how I how to reach them, but nope, couldn't find anything..

This is why I just want to hide under a rock, since it is obvious that a lot of people doesn't know how to protect the data they have collected about me.
IMO, it's simpler to write and easier to read. It's been a bit faster in t he tests I've run but not by a lot. Probably due to my skills. I just find its nicer all around. It does not carry over anything from C.
Premier League dataset from 2008 to 2016 (super detailed)
these underwater chambers have been used in the 70ies 80ies afaik. but I personally have never seen one nor heard of anyone who had the opportunity to work in one (and most of the guys out there were in the early 50ies while I was very young in comparison). Not saying they didn't exist but their use was limited. Because "wet welding" or any type of work that requires a mechanical engineering effort carried out by a diver is usually not as solid/sound as welding the parts on the surface (out of the water). The welding seam produced by a diver is usually of lower quality (even if the diver is really well trained in welding impurities of the water are reducing the quality of the weld). Also many places where one would have to wet-weld it is too deep (even for sat-diving), so they would use ROV's anyway. There has to be a very special reason why one would have a team of divers do all this at the depth. Certainly not in the oil/gas industry.

EDIT: clarification, I mention welding because welding/cutting (e.g. an oil pipeline) was usually a scenario where one would create such chambers at subsea level in order to isolate the under water part of the pipe in a dry "bubble" within this structure to repair it.
OP here, you guys did an amazing job. That is by far the best plotting tool I've ever seen. As a user, I especially love the point 1 you mentioned above.
For all people who, like me, find these things fascinating, here's a link to a collection of functions with interesting graphs and explanations. Pair it with Desmos and the fun is guaranteed. https://elepa.files.wordpress.com/2013/11/fifty-famous-curve...
Certainly not on Twitter, where the moderators are so supportive of left-wing activists repeatedly telling people they disagree with to kill themselves that they ban the targets for talking about it and force them to delete their tweets complaining about it in order to be reinstated. Indeed, it probably wouldn't be politically viable for Twitter to do anything else in the current climate.