skysight-inc/HackerNews huggingface dataset:
No, it isn't. The police is targeting people that are exactly trying to get away from drugs and are seeking professional help to achieve that goal.
You mean a large project like Servo, or large project like Rust compiler itself?
> Its even more over-enginnered than C++,

Can you explain more about what you mean by 'over-engineered' here?

> and its not even faster

We are faster sometimes, and we haven't even put time into optimizing things. We're also slower sometimes.
We need the equivalent of CommonMark.
CommonCSV anyone?
I feel http://yipgo.com might be a good jump-off point for something oriented to more of a power user. It lacks thinks like Dropbox/Drive/etc sync, but there's promise...
Haskell does [partial?] type erasure, so RTS often knows nothing about types, it can't distinguish a pure function from any other one. The type consistence and runtime correctness is assured by the typechecker at compile time.
Women tend to focus on those jobs where the need for the job seems solid.

If we focus, for a moment, on those jobs that are available to those who have college degrees, many women become teachers, but teaching is not high prestige.

There is little risk that the USA will outsource all the hospitals to China, so women go into medicine. There is little risk that the USA will outsource all the lawyers to China, so women become lawyers. There is little risk that the USA will outsource all the teachers to China, so women become teachers.

But there is a possibility that most of the engineering jobs will move to China. And I think women are wary of investing 10 years of their life learning a skill that might get sent overseas.
I humbly suggest that you may have missed the point. That was simply an example to illustrate the point, which is on slides 20-22. The rest of the talk expounds on this.
Yeah, no.. I'd rather use a service where I don't need to double-check if my data is synced or not..
> If I didn’t tell you already, here’s my life’s story. I have only one Evernote note that matters. Everything is in that note. Like the college hostel room. It has my notes, flight ticket numbers, emails, project plan, reviews links and just about everything.

LOLWUT?

Yes, Evernote is at fault for data corruption, but the user also did everything in their power to make the effect as damaging as possible.

Do you keep all of your software project in a single file in Git and then complain that updates don't merge cleanly? No. That's a recipe for disaster. So why would you inflict a pathological case upon Evernote and then complain that it's behaving pathologically?
Really seen the stats for the big tech companies? its not white males that are over represented compared to the USA's population its Black, Latino and Females that are under represented
Rust's cross-compilation works, but it's not as easy as it could be. One issue is that you need a cross-compiled version of the standard library lying around.
Exactly.

People keep linking to the spec like that matters. The reality on the ground is that CSV has tons of different incompatible implementations or just simply terrible parsers. Even if you produce spec-correct CSV it won't work with a lot of third party's libraries or parsers.

Just ask anyone who works with CSV and lots of companies about double quotes around fields, I assure you they'll have a flag in their system to: include them, exclude them, and include them in records which contain commas only.

Plus CSV and internationalisation is a giant cluster fuck in its own right. Ever seen a U+FF0C or other comma[0] in a CSV? Yeah that is fun.

[0] http://en.wikipedia.org/wiki/Comma#Comma_variants
I think Evernote has first move advantage but the product is awful.

Really

The Web and the App load like Mammoths for something that supposedly just "take notes".

Now, why it can't sync a note silently like that? Size issues? Even a huge text is at most a couple of MBs. You don't even need to worry about sending diffs, you can probably compress and send it as is (and keep all the version history, it's text FFS)
My main question is why Evernote doesn't allow you to pay for a premium service where snapshots of all your data is backed up off-site in a way where you can restore from it.

Every company that handles stuff that customers absolutely cannot afford to lose (like photos) should consider offering a premium service where data-loss is 100% not possible, even through an act of god.
That's definitely the right behavior for Ruby—it catches a contract violation and fails at runtime, which is idiomatic. What's nice about Rust's approach is that it catches the possibility of that contract violation at compile time, and forces you to decide what to do about it before the code ever runs. The right thing to do in Ruby would be to catch that exception and handle it in some fashion, but there is no indication at the time you're writing the code that the possibility exists, so you're unlikely to handle it unless you have a strong awareness of the issue with floats and NaN. Rust encodes that awareness into the language itself, which actually limits the expertise you need to write good code.
The add-on from similarproducts.net uses superfish technology.

http://www.similarproducts.net/

> SimilarProducts is a monetization platform that uses Superfish technology to help users find and discover products visually. The technology instantly analyzes images on the web and presents identical and similar product offers.
Well 40 ms can be a lot or a little, depending on the number after optimization. If, for example the input was 1000 1-letter arguments, 40 ms to output 2kb is too much.
I'm looking forward to playing with cool languages like Rust, Nim, and Elm. But when I read stuff like this I remember why I love using Go every day. Generating binaries for multiple platforms is braindead easy, as is building from source on any system with Go installed.

That aside, really great work OP! I quite like the CSV format and had 2 ideas based on my experience with it that I'd love to get an opinion on:

1. markdown compiler plugin to expand ![title](filename.csv)

2. barebones, imgur-like website for quick CSV file[s] upload, maybe also a public gallery to showcase interesting data (obviously all uploads marked public/unlisted/private)
The reason Boost is headers only is you have to be a header to be generic. Implementations outside of headers have to friend / otherwise be not truly generic.
Isn't a bolt action a lot simpler? And a lot easier to make strong?

I've never thought of lever action rifles as having a complexity worth the gains, I prefer going down to the bolt action or up to a semi-auto. Which, for that matter, can be fairly simple for lighter rounds, in fact, you have to add complexity to keep many (all??) of the designs from being full auto.
This is not a good idea. Now every time a want to sell a minor piece of connected hardware not only will I need a security professional on my team, but I'll need to pay someone (government approved) to audit my work. I want nothing to do with such laws.
Existence of an RFC doesn't mean that people or tooling conform to it.

The CSV RFC doesn't specify an IETF standard, by the way.
The author reports that he experienced a failure of the app prior to noting the issue (and implies that it may have been due to an improper shutdown). It's a reasonable hypothesis that this failure corrupted the local cache in a way that note from being synced. Note that creating a new note with the same content resolved the issue, supporting the hypothesis that the note in question was corrupted in some way. So this is not a general transparent failure of the application, but a specific (and apparently minor) fault that appears to have been the result of an obvious event. If your tv stops working after it falls over, that's not an indication of a general problem for that model of tv in cases where they haven't fallen.
Nim also doesn't have memory safety in general. See: https://news.ycombinator.com/item?id=9050999
> Or you could work with a type that is restricted to non-NaN values, and deal with the issue only at the boundary of components which convert between arbitrary floating point values and your restricted subset (and any operations that may produce NaN values).

How often do NaN's appear in practice? I think it makes perfect sense to handle IEEE 754 floats like this, but maybe rust should follow your suggestion here and provide a new totally-ordered float. Maybe `f64` should _be_ this totally-ordered float and IEEE 754 could be imported if you need to use that one?
I think the obsession with "being maintained" is somewhat unhealthy phenomenon in the FOSS world. If the code works and does what you want then why would it need constant fiddling and consistent stream of releases?
Jobs’ Changing Nature
Cross compiling Nim is also dead simple. I even managed to compile for an unsupported Unix with very minimal knowledge of Nim.
The legality part is interesting. If it's "illegal", but widely used, it makes the regulation wrong, not people, does it?
I guess not many investors own a github account, in case they wanted to be added.
Seems like right tool for the task.
Actually, "important data". Claiming that a data storage service shouldn't be used for important data is claiming that it shouldn't be used.
The overwhelming majority of the ones that I checked were marked as "high availability". Demand outruns supply, in the tourist capitol of the world? Does that mean prices are too high? Or does it mean that AirBnB has to go fully mainstream?
There are tools to regularly, automatically backup your Evernote notes -

Evernote Exporter for Windows, for example
(http://lifehacker.com/5845885/evernote-exporter-schedules-no...)
TIOBE is almost more flawed, since it pretends to be scientific while only querying a bunch of search engines (google, SO, wikipedia) for "<language> programming", which is skewed towards languages that tend to be mentioned with the word, such as http://en.wikipedia.org/wiki/C_(programming_language) , as opposed to languages that have a unique enough name, such as http://en.wikipedia.org/wiki/PHP
If we're going down that road, "any data". If it wasn't at least a little bit important, you wouldn't have written it down in the first place.
Out of curiosity, and I don't mean this at all in a negative way: Why do people pay for W3Counter when Google Analytics is free and seemingly a lot more powerful? Do people really find GA that intimidating?
NYC's real estate is hard for me to understand. As of 2004, I was able to get a cheap/ugly hotel room 2 blocks from Central Park for $90/night. Fast forward through a recession and housing crisis and I can't seem to find a room in a hotel OR airBnB for under $150/night. How demand has gone up that much in that time period is beyond me. Even 3 years ago I was able to find AirBnB's in midtown for like $120/night, and now they seem much higher on average.

It appears that there is essentially infinite demand to push prices up.
Yeah, top jobs where women dominate are all super high prestige, elementary school teachers, nursing/health aides, secretarial, retail, food service... :)
Even married couples with kids who make $100,000 a year and live in the midwest couldn't intelligently afford to use this service regularly. This is just my experience with a family that is able to cover expenses and put $500 in savings each month.
Yep, and that type can have a total order and work with the `sort` method with no further ceremony. That actually might be a nice type to have in the standard library. It seems like it would be widely useful, but I'm not sure where it would fit in on cargo.
Hey Noah, an unfortunate side effect of GA's power is its steeper learning curve. A new driver sitting in a Ferrari might consider all the paddle shifters and gauges to be "bloat," but in the right hands the car is a beast ...

Don't get me wrong, I do wish Google spent more time improving GA, but I think many of the alternatives sacrifice too much just to be beginner-friendly. What we need is a Tesla for web analytics.
Ask HN: Your best Picture?
Given that today is the Oscars, I was wondering what movie HN liked the most out of the nominees (not the one you think will win). I'm just really curious.
American Sniper
Birdman
Boyhood
The Theory of Everything
Whiplash
More or less this. To expand a bit - rasterization converts lines or polygons to pixels via hidden line removal techniques (http://en.wikipedia.org/wiki/Hidden_line_removal) and/or hidden surface techniques (http://en.wikipedia.org/wiki/Hidden_surface_determination) while ray tracing can mean a lot of different things, where most common and basic form is Whitted's ray tracing where final image is a grid of pixels with from each one there is a 'ray' shot towards the scene and checking if there is a collision with the object (polygon) and then turned towards each light source. In normal world, model is that light travels from light source, bounces from objects and comes to the camera - Whitted's algorithm is opposite where rays are shot from camera towards objects (modified by surface properties there) and towards light sources (less computation that way). Modern ray tracers involve Kajiya's equations and other fancy stuff.
> But when I read stuff like this I remember why I love using Go every day.

Me too! I wrote a window manager in Go[1] that I've been using for years now. I love that it takes <30 seconds to download and compile the whole thing. No C dependencies (compile or runtime) at all.

With that said, doing it with Rust should be almost as easy. There's no `cargo install` command, but I think it's only a matter of time. :-)

Your ideas seem cool, by the way! Sharing CSV data would be especially nice.

[1] - https://github.com/BurntSushi/wingo
I installed this on my iPad and Mac, excited to try out 53 Pencil support. Unfortunately, they don't tell you that it doesn't support 53 Pencil yet until after you start the free trial.

I wish I could start over my trial when my stylus is supported.
> Women tend to focus on those jobs where the need for the job seems solid.

I find the use of lawyers as an example odd unless people are just downright ignorant of what is happening in that industry. For quite a while now now, there has been a glut of law school grads that are unable to find jobs. Furthermore, more and more legal work is being outsourced to India (and this trend keeps rising) or automated (like discovery).

If your assertion is true, then several years ago, when both of these characteristics of the legal profession started to occur (few job prospects after graduation and outsourcing/automation), then we should be able to observe a significant decrease in the number of women choosing to pursue a law degree versus men choosing to pursue a law degree.

Has such a discrepancy between the genders been observed in the quantity of law school applicants?

What I've observed is that women tend to go into careers that are "high-touch" and that factors like prestige and job security are lesser considerations. Teaching and nursing are the two canonical examples. The only parallel I can draw to job security, is that high touch jobs are far harder to automate and outsource. Japan has been trying with some of its robot experiments, but the uncanny valley is a high barrier to cross to automate high-touch jobs.

Interestingly this is why we see engineering/automation making doctors less relevant, while we see nursing becoming more important. Technology to aid with the low-touch aspects of medicine (the tasks doctors typically perform, such as pattern detection and pattern matching) are getting good enough that those interested in the high-touch aspects (nursing), can do most of the work required without the need to share responsibilities with a doctor.

(FWIW while society considers doctors to be higher prestige than nurses, I feel they are both equally important. IMHO, being a doctor as a profession having higher prestige is a historical anomaly since there are statistically fewer people in society who are good at the analytical work that computers now excel at. For thousands of years, sexual selection favored neurotypical minds. It has only been in the past ~100 years or so since the industrial revolution where sexual selection has started to favor sexual selection in favor of those on the aspie/autistic side of the spectrum).
I am curious how you went from freelancing to working at a firm. I also got into development from a liberal arts background ( I went to a “great books” school ). I started out several years ago, first with a brief internship, and then freelancing with a friend who a more experienced developer, and now I am freelancing solo. I have several sites and apps under my belt but I feel like an impostor and totally unqualified when I look at the requirements for various job listings (Junior/Intermediate JS/Python/PHP)
Fair enough. So you're saying that it's acceptable for a data storage service, which is used for storing important data, to occasionally (and silently) not sync some of that data?
As long as you meet all the social mores of that small community, as evaluated by your local busybodies. Otherwise, you're likely to be pervasively harassed.
This just in:
1. syncing is hard.
2. The market share leader is always going to get lazy.
There's another strong reason not to trust Evernote: nothing is encrypted at rest on your system or their servers, unless you manually go encrypt selected text in a specific note in the desktop application, where you have to make a new passphrase for each note you want this on. Even this was only recently upgraded from RC2 64-bit to AES 128-bit.

They claim they can't perform searches over encrypted data, but that doesn't seem too difficult to solve with an index file that's also encrypted.

Evernote does have some detailed security policies and 2FA, but without encryption at rest where only the user has the key, what's the point?
Yes, F# runs on the CLR.
Personally, I would ditch the hero - I think it just gets in the way and degrades page performance.
We have that already, RFC 4180: https://tools.ietf.org/html/rfc4180

The problem is adoption. Most CSV parsers accept a superset of RFC 4180, because the only thing worse than not adhering to a good spec is tripping over CSV data in the wild.
"better negotiators than developers" - well in my experience they are always trying to "tempt" with a mere £5k boost and never going for the top bracket offered. It is in their interest to play it safe.
That wouldn't open for me...
I understand that it is available simply; I was questioning the logic of having it disabled by-default. Having the ability to do run-time checks for {over,under}flow does seem to make this issue a little better but doesn't explain the logic of having the language prefer UB by-default.

Yes, C does this too (integers are signed by-default), but if I'm shopping for a language that abstracts C, I'm probably looking for improvments over C's defaults.
Thanks, it's gone on individual pages, e.g. try clicking a tag
It looks to me like the data was stored in a temporary cache and never got synced because the application crashed. It's an unfortunate experience, but not one that warrants a fearful take on Evernote. Things happen. I've typed a draft in Gmail before and it never got synced so I've lost it, but it doesn't make me stop using it. Maybe we all need to just take a deep breath and remember how it was before everything synced.
Thanks, will fix this now
A simple example for addition would be adding two u64s and getting a bignum type.
Sorry about that, added an arrow now :)
Yes, from everything I've read, e.g. there's been some recent leaks about the NYPD, and I highly recommend this classic (or its first edition, haven't read the second): http://www.amazon.com/Arrest-Proof-Yourself-Dale-C-Carson/dp... (which Amazon says is the #1 best seller in "Consumer Law Business Law", which I believe).
Jailbreak iOS 8.1.3 to get Cydia for iPhone, iPad and iPod
> When you set Rust next to, e.g. swift, swift is phenominally more productive and similarly performant. And it is also quite safe (relative to C) without having all of the Rust safety features that make me want to kill the borrow checker with a rusty spoon.

Swift is totally garbage collected: every object is atomically reference counted. (This is necessary for compatibility with Objective-C.) So Swift is essentially in the same category as Go, Java, and most other languages as far as memory management is concerned.

Garbage collection is simply not a cost that we wanted to pay with Rust, in order to reach performance parity with C++.

> I really wish Rust walked back on the more esoteric forms of safety (like thread safety, which you can't really verify anyway, you just promise the compiler that it's safe) and it tried to drive a bargain like Swift.

I don't understand "you just promise the compiler that it's safe". Rust prevents you from accessing data in a non-thread-safe way without a mutex or atomics. This is in fact something that just fell out of the memory safety features above and didn't require any extra features: see [1] for an elaboration on this point.

> Rust really isn't satisfied to adopt the safety features that are "fairly low effort", it wants to break new ground without really measuring developer cost (hard to do since it's not widely used).

We have been measuring developer cost all along, by writing hundreds of thousands of lines of code in the language as we've been developing it: the Rust compiler is written in Rust, and we've been developing Servo as well.

[1]: http://smallcultfollowing.com/babysteps/blog/2013/06/11/on-t...
Here is an ES6 fiddle with the completed solution.

Where is the flaw?

http://www.es6fiddle.net/i6gs4jik/
Not glibc, which is the issue here.
Sex-Bias Trial Next Week Adds to Woes Plaguing Kleiner Perkins
Does this support OpenID Connect? (as distinct from OpenID)
Small plug, but http://revert.io is pretty great for backing up your cloud things, with excellent Evernote support.
It's fairly obvious that the python programming language results are fairly drowned out by the Monty Python and snake results, as illustrated by all the news headlines shown for python, and by related topics and queries.

That's not to say that the trend shown is entirely incorrect, just that it would be mostly coincidental to the data shown here.
You don't think it could have anything to do with attitudes toward women in each respective field?
Software doesn't exist in a vacuum, and a change in the kernel or the C library could break something that used to work. Worse, you will probably discover this only in production because nobody is keeping tabs or running tests.

Worse, you could end up with another Heartbleed. Nobody bothered to look at that code for two years and the result was one of the worst security bugs in history.
It _is_ SuperFish, see the about page.
Based on our analysis of security bugs in large C++ codebases, I wouldn't characterize memory safety as "weak"—the vast majority of critical RCE bugs in C++ codebases are due to memory safety issues.
It was the only synchronized multi-platform note-centric app I knew of, and I didn't bother to research other options. Once I started noticing problems, I was too used to using it, and although they are frustrating issues, they haven't been enough to completely drive me away from Evernote.
Still feeds the trainers and book-writes and as such is "the-only-correct-way-to-write-correct-software".
That's a wicked cool tool! Thank you for sharing.

I do think there is room for both tools though. One of the cooler things I did with `xsv` was implement a very basic form of indexing. It's just a sequence of byte offsets where records start in some CSV data. Once you have that, you can do things like process the data in parallel or slice records in CSV instantly regardless of where those records occur.

It helps when the CSV parser has support for this: http://burntsushi.net/rustdoc/csv/struct.Reader.html#method....
Doesn't matter. Nobody follows it :/
Make Good Decisions Faster