skysight-inc/HackerNews huggingface dataset:
> There is an exception-like mechanism in Rust, in the form of the "try!" macro.

Correct. That's not the problem. If Rust's standard library returned Result in all cases where allocation could fail, I'd be satisfied. My primary issue is that they didn't, because Result is awkward.

Rust's designers went wrong in trying to have their cake and eat it too. They wanted to avoid exceptions and not make people care locally about errors. That's why they assert that errors just don't happen and abort if they do.

Throwing exceptions is a reasonable design choice. Returning error codes is a reasonable design choice. Pretending errors don't exist is not.
No. Green threads enable entirely new classes of design patterns that are categorically infeasible with OS threads.
Build a Personal Food Computer
Besides laziness, perhaps there's a slight semantic justification—I imagine there exists at least a few mathematical solvers that can ingest data of the TeX form and work with it, but probably fewer that understand how to ingest Unicode codepoints.
Looks like he worked it out in the end.

Meta: Forbes are convinced that I'm using an ad blocker to the extent that I had to google/cache the article linked above. I actually have no plug-ins at all, just accessing the site thru' and academic connection, suspect proxy may be blocking stuff. First time I've had that one.
How is it now in the valley - can you get a startup funded if you don't have a higher mission that workers work towards? Can you just say it will be a nice place to work and we will treat our workers with respect and pay them competitive rates?
It all feels very 'power of nightmares' in making up bogus mission statements to create a shared sense of purpose, but done completely cynically (at least by the power-brokers).

http://www.dailymotion.com/video/x20su5f_the-power-of-nightm...
You have a lot of spare time pliny. Desmos renders it well, although zoomed out, it looks like bacteria under a microscope.
"in the early 1990s you could read hard drive content pretty easily with a scanning probe microscope"

I believe that is an urban legend. http://all.net/ForensicsPapers/2012-12-07-OverwrittenMagneti... describes attempts to track down such cases:

> To date I have found no example of any instance in which digital data recorded on a hard disk drive and subsequently overwritten was recovered from such a drive since 1985, when about 15% of the overwritten data was claimed to have been recovered from an modified frequency modulation (MFM) disk drive.

It cites "Overwriting Hard Drive Data: The Great Wiping Controversy" at http://www.vidarholen.net/~vidar/overwriting_hard_drive_data... which gives a best case example of a pristine hard drive, written once and then wiped once, and where you know the data is located before hand. Even then nearly all of the data had disappeared. If the drive was not pristine, it was not possible to recover the data. Quoting from it (emphasis mine):

> The purpose of this paper was a categorical settlement to the controversy surrounding the misconceptions involving the belief that data can be recovered following a wipe procedure. This study has demonstrated that correctly wiped data cannot reasonably be retrieved even if it is of a small size or found only over small parts of the hard drive. Not even with the use of a MFM or other known methods. The belief that a tool can be developed to retrieve gigabytes or terabytes of information from a wiped drive is in error.

> Although there is a good chance of recovery for any individual bit from a drive, the chances of recovery of any amount of data from a drive using an electron microscope are negligible. Even speculating on the possible recovery of an old drive, there is no likelihood that any data would be recoverable from the drive. The forensic recovery of data using electron microscopy is infeasible. This was true both on old drives and has become more difficult over time. Further, there is a need for the data to have been written and then wiped on a raw unused drive for there to be any hope of any level of recovery even at the bit level, which does not reflect real situations. It is unlikely that a recovered drive will have not been used for a period of time and the interaction of defragmentation, file copies and general use that overwrites data areas negates any chance of data recovery. The fallacy that data can be forensically recovered using an electron microscope or related means needs to be put to rest.
I have good memories of NT -- which was the last Windows I used before fully switching over to Apple. Same experience for me -- fired up those apps (Softimage, maya) and could see the writing on the wall.
Money is neither necessary nor sufficient for happiness, but that doesn't mean that it can't help tilt the odds heavily in your favor. Money is a tool. If you use it right you can get a lot of leverage out of it, and if you use it wrong you can do a lot of damage. But it's very rarely a no-op.

And what's wrong with turning communities into country clubs? Country clubs are very pleasant places to be. Why not make your community like one if you can?
> With the weakening of the USSR in the late 70s and 80s and its collapse in the early 90s, social democracy has gone into a tailspin crisis

Tailspin crisis? Did you read the article? The Scandinavian countries weathered the financial crisis quite well.

Also read this: http://www.oxfordscholarship.com/view/10.1093/acprof:oso/978...

The Scandinavian countries fared much better throughout the crisis than neoliberal countries elsewhere in the EU.
Malwarebytes´ Anti-Malware 2.2.1 Crack and Activation Key Download
You'd hurt them immensely more by being gone than by staying around. Please remember that.
Confirmshaming
Note that recover() uses Rust's type system to enforce certain things about exception safety. It's harder to mess up, even if libraries are written without unwinding in mind.
People also don't interact with security on their computer pretty much ever but they do interact with their computer / the internet. Seems like a perfect analogy to me.
Thanks for the excellent explanation and your great work on Python.
> A planned extension will let you have allocators with different semantics entirely work with stdlib types

And what about all the code that doesn't? It's because so much code exists that's completely oblivious to the possibility of these stdlib functions failing that I don't think that merely adding the option to do the right thing is good enough. The existing failure-oblivious APIs need to be explicitly deprecated.

The only ways to redeem Rust is to either support exceptions as first-class citizens with mandatory runtime support or to convert all existing allocating stdlib functions to return Result and mark all the existing failure-oblivious ones as being as deprecated as gets(3) in C.
Really enjoyed this talk.

Horrifying, though.
Not that procedural programming is intrinsically a bad thing. Hierarchically decomposing tasks into simpler ones is a time-honored approach to dealing with complexity because it works. It's not “cargo-cult”.
> Or maybe there is a totally simple way and this could take me 5 minutes!

At that paragraph I immediately thought of
http://aadrake.com/command-line-tools-can-be-235x-faster-tha...
Yes, resources seem low on their end, but fingers crossed.
PangeaMT with TDA tests provide up to 50% more
I like the style of writing in this post. Its fresh in the programming world where everyone seems to know it all for someone to admit something is hard or confusing.
Seattle does have plenty of stupid people like every other place. People that vote against all road building because they only want bike lanes or transit. People that vote against transit because they don't want poor people coming where they are (really this happens, search for Kemper Freeman initiatives to keep the poor people out of bellevue).

We have to do increase all modes of transportation. The problem with this proposal is that it will take 25+ years. We need a 10 year version of this plan. Charge us rich programmers more, we can afford it.
The chinese tolerate this because the economy is growing at an incredible pace. They wouldn't risk a revolution( and possibly disrupt the growth)for freedom of speech.

The govt legitimizes its actions by offering improved living standards for everyone.
Thanks for the detailed reply, Raymond! I never expected a core developer who worked on implementing list comprehensions to respond haha!

That last point about traceability is something I never thought about, but I think the trade-off is worth it.

Keep up the awesome work man. For anyone interested, you can follow him here: https://twitter.com/raymondh
The Dating Power Flip at Age 30
> The Chinese government wouldn't know what a human rights abuse

Yea its not like they are lifting millions out of poverty every year.
I get allergy headaches, and I've found that the single best way of reducing them is to dive into cold water. Works way better than painkillers, but when you have a bad headache it's not really something you want to do.

I think it's to do with the diving reflex, that's the only reason I can think of.
List comprehensions are just syntactic sugar over some common higher-order functions. Are we really getting excited over syntactic sugar? How about making Python's higher-order functions not suck instead?
> Deploying new asynchronous encrypted messaging systems

Couldn't Google, Microsoft, Yahoo, Apple, and any other large email providers at least agree to transparently use a different, secure protocol among themselves? It could be something open-source (perhaps Pond) that other providers could also choose to adopt.

The mail-sending server could ping the recipient server, find out if it's a user of this new protocol or not, and then fall back to email if it doesn't receive the predetermined response.

Even if that only means that only 80% of emails were encrypted on average, that would be an improvement, wouldn't it?
Great, if you trust your middle man email provider to get this right and want no visibility on the message's authenticity.

DKIM is much more a spam fighting tool than a substitute for E2E authenticity validation.
"Yes, multiplication tables are important — students will be hampered if they don’t know the basics. But any policy that forces students to learn these properties by rote is hopelessy out of touch with society’s needs. We must nurture flexible minds that can apply number skills to solve novel problems"

I don't see why learning tables by rote is opposed to nurturing flexible minds and building deep understanding - which I also see as critical. How else are children to learn tables (or even the alphabet) if not by rote?
OCaml Language Sucks (2007)
Disney will threaten to stop filming in Georgia over an anti-LGBT law. But they will gladly enter a business partnership with the communist Chinese government to build a theme park.
The interesting thing about Google's storage infrastructure was that teams were optimizing IOPs per drive and talking to thousands of them over a gigabit link. I had an interesting conversation with Sean about that one day, asking him if he got 100 IOPs per drive, and had 10,000 drives, and a gigabit ethernet port, how much data on the drive could be part of any service being provided over that gigabit link? Plot that over a RPS (generic 'requests per second').

In my case I was trying to get him to sign off on powering down some of the drives that could not be reached to save power. But even with the data staring him in the face he could not go there. Network bandwidth gets better, and that exposes more data to the pipeline, but if you want < 500mS request response you have to balance the system.
There are reasons why they can't be used. The city of kirkland has lots of residents against it. But more importantly, the tracks don't really go to the city centers that we need. I think we are so desperate we should try using them, as it would cost much less.
>Have any of the attacks in the US since 9/11 been caused by people recruited on the ground in the manner used by the FBI stings?

There have been way more attacks in Europe, and people have been recruited with those tactics. Coincidentally, these kinds of sting operations aren't very common in Europe, and are even banned in many countries. If we want to win this battle, there's no room for bleeding-hearts. We must be methodical, cunning, and ruthless against those who would kill us.

This same bleeding-heart attitude is what leads to people serving a measly four years in prison for shooting at police officers with an AK-47 while trying to get away after committing a bank robbery. No one should be surprised that this same person was one of the Brussels bombers.

>The older brother, Ibrahim el-Bakraoui, robbed a Western Union branch in Brussels in 2010, spraying gunfire at police from a Kalashnikov as he attempted to flee, according to his lawyer at the time and government officials. Mr. Bakraoui was caught and sentenced to 10 years in prison. In 2014, he was released with an obligation to contact his parole officer once a month.

(http://www.wsj.com/articles/belgium-rues-missed-terror-signs...)
Shoptiques Is Hiring a Senior Software Engineer in NYC
It would certainly help if the LDS Church was headquartered in its own sovereign nation but I think it's trickier here in the US. Though it would certainly make for an interesting test of freedom of religion if it ever came down to it.
It's great to hear Servo is focusing on embedding support. The developers seems pretty responsive to feedback as well, which is great. Thanks for the info on webkit, need to follow up on it.
Have you read Vernor Vinge's Peace War series? At some point in the 22nd or 23rd century, the Earth's human population was down to a few million individuals. As I recall. They tended to live alone, on large properties. Each used as much resources as a small nation does now. Fusion power, mines, wells, factories, etc. Distilling antihydrogen from the Sun. They were essentially immortal, given nanotech. And they had huge, long-term projects and hobbies. Also, their bobble technology made them virtually invulnerable, and allowed them to skip across time in stasis.

His Zones of Thought series is also amazing, at a whole other level. But do start with True Names, his first published work.
It seems idiotic that we didn't allow for that on 520. Did we really screw it up that much?
One wonders how these people were able to learn Java in the first place.
Fantastic, a real piece of history! I had the pleasure of a long video chat with "Cap'n Crunch" a while back... the guy has so many quality stories that I sincerely hope he is busy writing an autobiography. I was a wee lad while all the real phreaking fun went on but reading the stories in Hugo Cornwall's "Hackers Handbook" (after it was un-banned by the local library) piqued my interest and pretty soon I was trying to hook up my BBC Micro to an old 300 baud modem and connecting to an X25 PAD at the local university... fun times. I mean f.......u........n........t.......i......+++ATH0 "damn!" re-dial....
Wow, thanks for an amazing tool that's always been free to use :)

How do you guys pay the bills with no premium features like all the other calculators on the app store?
> Is this notion of merging memory and storage an attractive prospect or a nightmare? I’m not sure. There are some huge potential problems. For safety and sanity we generally want to limit which programs can alter which documents. Those rules are enforced by the file system, and they would have to be re-engineered to work in the memory-mapped environment.

This was done back in the 80s in http://www.cis.upenn.edu/~KeyKOS/ . A favorite demo reportedly was to pull the plug on a running computer then start up again. They took the need to redesign security as an opportunity to make it better.
Not being there will also be a weight on them. Being there is the better choice.

Explain, if they're old enough. Find help (online or offline) in finding out at what you can explain to them. Find help to get rid of your stories without having to tell them to your kids if you don't need that.

Being afraid comes with the territory I guess. Acknowledge that. Accept it. Explain it. Explain that you cannot always acknowledge or accept it. Accept that you cannot always explain it.

Do your best, how messy it is.

And maybe you know all this, maybe you do all this. I don't know you, don't know your story. But it is as it is. You cannot give them another father. You probably cannot change how you feel. So they have to live with it, as you, and find a way.
I suppose the need of volume of consumer disks will depend on future networks qualities. With low latency and high speed users won't need big local disks, services like cloud storage/streaming will be enough. We will always find ways to use higher capacity disks, i.e. high-def VR content, or biochemistry data of our bodies for personal healthcare/fitness
Sure but I'm sure MS has British subsidiaries which opens them up to UK law.
More context here: http://www.nationalreview.com/article/433238/disney-georgia-...
return arr.map(ele => await axis.get(ele));

is not legal - the await has no corresponding async. You may have wanted to write

return arr.map(async ele => await axis.get(ele));

but that's the same as

return arr.map(ele => axis.get(ele));

(Assuming axis.get returns a promise.)

That is, it returns an array of promises of values, not a promise of an array of values like erlich's function.

erlich's example is correct, with the replacement of for-in with for-of.

Edit:

Also, a solution using Array.map() is not impossible:

return Promise.all(arr.map(ele => axis.get(ele)));

but this has different characteristics than the original function. The original ran the tasks in series whereas this runs them in parallel.
This is exactly why the companies using this DNA data must fight the US government all the way to the Supreme Court for any such request. Otherwise, their businesses risk dying out before they even get a chance to take off, because people won't trust them anymore if they just end up handing the data over to the government.
It's important to understand in the ancestry.com case they didn't ask for information about a specific individual. They provided a sparse sample with a few markers and asked ancestry.com, without a warrant, to do a fuzzy cold hit search of their entire database and provide them with information about any individuals that had partial matches. Ancestry found one, and related this existence, which was then speculated to be a possible relative. At that point police got an actual warrant to enable getting the name of this remote match, and ancestry.com provided it. The person was not even an ancestry.com customer. He was a person that participated in a scientific study years ago, the database results of which was later sold to by ancestry.com without his notified consent.

There are massive statistical problems with this approach, without even having to get to the obvious privacy problems.
Maybe "Scala concurrency surprises" would be a better title.
Farcical comedy I know but imagine if one day you go on some sneezing rampage due to allergies on some sidewalk 5 minutes before a horrible murder took place and you're suddenly a suspect! At least that is my fear.
A Tribute to Monument Valley and Escher in LaTeX
Heck yea. Im kind of new here and it can be so intimidating. I feel like everyone is an expert at everything.
Grouper is a recipe, it's not part of itertools. It probably should be!
It is absolutely wrong since it absolutely conflicts with the thing called 'reality'. Words do have a meaning.
yes but there are some intelligent people who come here and I thought someone might have worked on this before, its a very common problem....
Fishing for Hackers: Analysis of a Linux Server Attack
Mind pming the phone through Twitter? Maybe I can help, I'll try to call. My handle is @fallenshell.
I wonder what is the balance now between social dissent and power in China. At some point any dictatorship will crumble if people don't want to accept it anymore.
Fantastic! Rust keeps getting better... Didn't realize Max Planck institute had a software division. Are you familiar with the state of their progress? I've been wondering when/how people might start applying monads to analyze shared imperative state. It appears to be somewhat of the approach in `Iris: Monoids and Invariants as an Orthogonal Basis for Concurrent Reasoning` paper listed. Going to have to keep an eye on these folks.
Actually, it's 8ch.net/pol/ The threads documenting the take over of Tay are interesting and should be preserved for research purposes.
Nostalgianomics
I've toyed with the idea that if you buy a 1PB hard disk it will come pre-loaded with, say, a copy of archive.org and search indices, or a large collection of movies. Also, if everyone had the same reference data set then (handwaving!) it could make for some fantastic compression methods.

I don't think the economics works out, since at 1G/s it probably takes too long to load the data, and as this essay points out most people will stream what they want on demand. I also doubt there will be a standard content set which is around long enough to assure that my imagined on-the-fly compression model-building-by-corpus-reference will take root.
Right but my point is, big corporations are actively opposed to E2E secure messages and that's a barrier to adoption.

Few if any big companies are going to be sending you GPG/PGP encrypted or signed email or be willfully receiving it. Take the Fortune 1000 off the list of potential secure email users and you've got a large portion of the professional class who won't know how to use this technology. I think that's a barrier to adoption.
this appears to be a cover for attracting donations via crypto-currencies
How people use Wordpress without a caching plugin today... sigh.
Complaining about downvotes is usually frowned upon, as are phrases like "when did HN become so PC".
In the US, there are states that store newborn dna too:

http://sanfrancisco.cbslocal.com/2015/11/09/dna-data-from-ca...

http://www.latimes.com/local/politics/la-me-pol-dna-privacy-...
That's why I never participate I anything data related.

I turned down a $100 best buy gift card in exchange for a 10 minute interview. The guy wouldn't let me go because he couldn't understand why anyone would turn down $100 for a 10 minute chat.

When I was forced to participate in a study in university I always lied in my answers (how is forcing me to participate moral?)

Its my data. I don't trust you, ill do my darnest to keep it from you or feed you wrong info.
28 Years of Data Shows Link Between Employee Satisfaction and Long-Term Value
Url changed from http://www.techradar.com/news/world-of-tech/how-kinect-is-he..., which points to this.