skysight-inc/HackerNews huggingface dataset:
Why would be rust an expressive language if it's really verbose, complex, hard to read and its typesystem is pretty much just a struct, an enumeration and a pseudo-typeclass? Have you ever compared rust code to functional code? Who said it first that rust is "expressive" and if it is compared to what high-level language? Rust is just a small subset of C++ with compile-time smart pointers - or reference counters/trackers which is just another(but effective) aspect of garbage collection. I don't understand how can rust receive so much hype - besides the borrow-checker rust hasn't brought anything new to the table. Yeah, "zero-cost abstraction" and stuff but it isn't like a new goal in PLT.
Which program are you doing?
There is no cost associated with Result/Option when no error is returned. The compiler is smart enough to understand when failure is not an option. Only when an error occurs does Rust act on it.

Additionally, it's nonsense to state that you don't want to handle errors when they occur, but want to write software that can handle failures at any point.

Software libraries should handle their errors properly in the event that an error is possible in a function so that users of that library can handle them. Binary applications should handle errors when they occur versus randomly throwing them into the air and hoping for the best.

The `?` operator is highly convenient in handling errors wherever they may occur whereby the error needs to be handled. You do not have to use the `?` operator if have other means of handling the error. In example, maybe you want to use a default value in the event of a failure:

let value = attempt_value().unwrap_or(default);

Or maybe you want to keep trying until it succeeds:

let value = loop {

if let Some(value) = attempt_value() { break value }

thread:sleep(Duration::from_millis(1));

};

It's up to you how you handle your errors. The Option and Result types have a lot of methods for handling, such as and_then and or.
Padding resumes is a bit cynical there are many good reasons to make a fork for oneself. Like ensuring you have code you depend on in the event the project is deleted
Yeah, it's not exactly a mystery what is happening; many central bank policy makers (contrary to the optimistic but unsourced charters toon of QE expectations in TFA) have been quite blunt about the limitations of monetary policy, while in many large economies that have substantial impact on the global situation (especially, but not exclusively, the US) the authorities with power over fiscal policy have refused to intervene (or intervened in the opposite direction that would be represented by the "usual levers") for ideological reasons. The results have been predictably disastrous, but it's not a failure of mainstream economics.

EDIT: Which is not, at all, to say that there aren't real problems in economics, just that the article here isnt identifying the and is instead pushing a narrative that has been repeatedly advanced to pass of responsibility for dereliction of duty by legislators onto, well, anyone else.
If someone works at a firm with bad processes / poor or no code review, this can actually make their experience a detriment as they continue to use and reinforce bad habits.
People obsessed with grammar more than content show up to critique plenty of things here. Just ignore them. The presentation was better than many "how I got started or hired" stories just because you wrote it in a way that was fun to read.
Daimler`s year-end message 2016
Why not send requests out of the blue? This happens to me all the time and I don't mind. It means someone cares enough to try to fix their problems instead of dumping it on me.
No they aren't, you must issue a compare instruction to verify the result was successful.
The hequal article is pretty bad, and at least as biased as the BBC one, but they are at least right in their conclusion.

I haven't ready the study itself, so it might be the BBC that misunderstands things:

1. Using "pull request acceptance rate" as a proxy for "code quality" is highly dubious. It might equally well indicate that their PRs are more relevant, smaller and hence easier to review, more basic or any number of things.

Since we are looking at a ratio, the gap could also be in the numerator. Maybe men are just more likely to submit PRs, for a given skill level. Many people claim that female developers are being put down by their peers, so it would be natural if they are more hesitant to file a PR, only doing so when they are certain it's good. Etc.

2. The findings are based on a subset of total pull requests, namely those with users whose gender can be identified one way or another. Clearly the slight gender gap could just as well lie here, for example "skilled female developers are more likely than unskilled ones to be show their gender on Google+, compared to the ratio for men".

Also, since there is such an enormous difference between the absolute number of male and female developers (probably at least an order of magnitude), it's quite surprising that the gap here is only a couple of percentage points. Given that difference, it's easy to imagine lots of potential reasons for the small bias.
This question could probably be better answered on, say, an appropriate subreddit.

There is a serious difference between the sort of bike you get at a department store and the sort of bike you can get at a bike ship in terms of component quality. Good components can last a ridiculous length of time. You can get puncture resistant tires if you are willing to pay the price.

Chains are still a maintenance weak spot for bikes (they shouldn't fall off). There are belt driven bikes that are supposed to be more reliable than chain driven bikes.
because it is closer to java or C# than it is to the more advanced functional languages.

Yeah, it has structural typing, some type inference and pinky swearing type guards. It is better in those regards. But you still don't get very far without annotations. C# had inference for anonymous objects and return values too, and TypeScript is only a little further ahead on that one.

Though the main problem with TS is how it actually gets used. You certainly CAN do java-like garbage with it, and god do people do. If you're not stuck with people doing that, it's not half bad.
what on earth are you talking about? I pull a project into my codebase, find it has bugs or missing features so i fork it, make my changes and PR.

If I fork, write the code and follow the outlined contribution guidelines (which often do not include "ask for permission") then I'm doing what I should in the OSS world.
My dad was gifted with cars, and got into programming with fuel injectors back in the day. He worked as a diagnostic mechanic for a lot of years with lots of funny stories (like roping himself to a car roof with the hood taken off), but he'll sit in your car and tell you a wheel bearing is going. Jump him around the seats and he'll isolate it for you, and even today he gets it on the margin before a dealerships mechanic would be able to spot it.

IIRC a 747 produces 30TB of data per hour from its engine monitoring.

It won't be long until it's in all cars, and then in expensive appliances. A washing machine that detects an unbalanced load to save the motor?

It definitely is a game changer, and I don't think we'll fully comprehend the economic value. Say a stove that can detect a pizza box smoldering on it and cut its own power. What's the economic value of saving a house from burning down? From saving a washing machine from self destructing, or a front loader from flooding your house because a flow monitor says it put more water in than should have triggered the float valve, etc.

It's not just industrial that will benefit, it'll be everything we put moving parts in.
Can anyone lend insight into whether any of the following really hold any merit?

1) Economists have a structural imperative not to publish their most meaningful studies. In short, if you find an accurate model for something, there's a good chance you can make more privately than via publishing.

2) The lack of a professional body for economists leaves open to corruption. Like the Dean of Columbia's Economics school writing a report praising Iceland's market reforms prior to 2008, at the behest of Iceland's Chamber of Commerce.

3) Economics jobs tend to fall into 2 broad categories. Either you're working for wallstreet analyzing markets, which are, in fact, very free ideal markets that lend themselves to the mathematical model... or you're working for a think tank, which almost certainly has an ideological bias.
Yeah, I don't understand parents trying to curb aspirations in favor of practicality. I can understand if she wanted to do something that was ambitious + risky, but it's just computers. There's been nothing risky about getting an education in computers for 25 years now.
Simple online guitar tuner
How about the very concept of having paradigms of programming (not the specific paradigms like OO or functional, but the idea that you can create a little Turing complete utopia and live inside that utopia never coming out, and, crazily, it actually works in multiple parallel universes of separate paradigms!)

Data structures. Including Codd Normal form or maybe Codd is important enough to mention. Sort of a very large scale GIGO. Or maybe the more important aspect of data structures or structured data or Codd is GIGO itself as a debugging concept.

The idea of the importance of the algorithm, that its not merely an mathematical amusement that there are different ways to calculate something, but now its of critical financial importance how efficient an algo is in time or space or power ... or patents.

Binary. What stopped man from flying until last century was millennia of trying to copy birds and the assumption that failure implied inaccurate copying of birds. What stopped man from computing in the 1600s, 1700s, 1800s was a fierce dedication to building computation hardware out of decimal. Once we gave up on birds and decimal, like a decade later we're flying and computing like crazy. Henry Ford didn't build a mechanical oil burning robotic horse, cool as that would have been, he built a better horse by building a horseless carriage that revolutionized the world for better or worse. Sometimes the most important breakthru is deciding what to give up on.

Virtual memory was kinda influential. So.. adders and lookups are so fast and the advantages are so huge that its worth sticking a MMU in the way of address lines... would not have guessed from first principles...

Automata theory is kinda important as a theory of computation, like "can you even do it".

Imaginary property or intellectual property or whatever you want to call it. The concept of legally owning an integer. The concept of owning a piece of media but not the license to apply whats stored on it. Business method patents along the lines of "... on the internet". Patented data formats that are separate from the copyright of the data stored in the patented form. Copyleft. FOSS. GPL and its less free competitors BSD and others. Domain squatting. Blockchain financial instruments, or properties or currencies or whatever they are. For better or worse imaginary property has driven a lot of "innovation" and "economic activity", some of it even useful.
There's a whole bunch of sed files in the source code!
I'd suggest bone broth too. I don't know why my teeth are less sensitive when I have that regularly, but it's a clear effect, remineralization would be the obvious guess, and my dentist said to keep doing it.
If connected to the Internet, my parents' Samsungs periodically force them to page through and re-sign an EULA upon power-up before allowing them to actually use them.

Needless to say, they have since been disconnected.
I'm not sure if this article brings up anything new but it fans my crisis of epistemology all the same.

I've always been a good "the academics know what they're talking about" believer, but lately I've started having doubts.

I went to MIT and many of my good friends and peers went onto PhDs in the hard sciences (Princeton/CERN, Harvard CfA, CalTech chemistry) so I've always been impressed, almost reverential, towards them and the discoveries of their fields.

But as we branch away from physics, astronomy, chemistry, what I used to almost take on faith I'm now growing doubtful about. This excellent blog post[0] by Columbia statistics Professor paints the state of modern Psychology research unflatteringly. And then there's this post[1] looking at a parallel universe of scientists studying, peer reviewing, and publishing (in their own journals) parapsychology (being "psychic" and all that). I'd call it "cargo cult" science, but at much more than a superficial level it resembles many "real" scientific disciplines in terms of meta analyses, p-values, etc. I personally majored in Math and Econ, and for my Econ classes I did my fair share of modeling and teasing out effects from their confounding variables, etc, and was always a little leery about it all. It doesn't really surprise me that the Fed has written that Economics, too, is suffering a replication crisis[2].

But then how far does it go, and where do I go from here? I don't have the time or inclination to study to an expert level all these soft science fields and form my own opinions. What fields are as sturdy as particle physics? Medicine? Biology? Climate change? It's a slippery slope to anti-intellectualism but I feel myself slipping.

[0] http://andrewgelman.com/2016/09/21/what-has-happened-down-he...

[1] http://slatestarcodex.com/2014/04/28/the-control-group-is-ou...

[2] https://www.federalreserve.gov/econresdata/feds/2015/files/2...
I wonder what the impact will be where a digital replacement seems very far away, like in psychology. Will a machine end up being a better psychologist or worse because he's not a human? It may even end up being better. It will surely clean up the theory soup there.
The root cause of most dental issues , including dental carries is a simple bacteria. We've been dealing with bacteria , extremely well, since the first vaccine. And for 30 years , there has been research for a vaccine. So where is it ?

Well, one company , oragenics was ready for clinical trials. But it seem[1] that, due to a very restrictive enrollment criteria they couldn't enrol people to their clinical trial.Due to that and to further uncertainity due to fda , they stopped the clinical trial waiting for "partnering opportunities".

Such a shame. I wonder how and what could restart that project ?

[1]hsprod.investis.com/site/irwizard/orni/ir.jsp?page=sec_item_new&ipage=8899679&DSEQ=1&SEQ=19&SQDESC=SECTION_PAGE&exp=&subsid=41
It's that Jay Lenos collection?
Could you please elaborate? It looks like this program is only for people that already have an CS-related degree.

What courses are you taking?
Man disappears in a ball pool pit at the bottom of a drop slide
Fantastic!

We may finally get the promise of the 50's and 60's - less work and more leisure time thanks to technical advancements.

I personally look forward to the day there are less jobs, and so everyone can just work 3 days a week to spread them around, and spend much more time with family and passions.
To save you time:

Author praises advances in AI by big tech. Complains about how he was served the wrong medication and how a robot would not have made the error. Closes by saying that robots will be better than doing things than humans.

Its a shitty post that does not even really take into account the current state of AI, how robots are prone to errors as well as humans due to faulty hardware, and well, the fact that some jobs are only trusted to humans. Even if the margin of error may be higher.
It's not something the police are going to typically enforce, but it's something that will increase your liability in an accident (not to mention that the faster you go the more serious your injuries are likely to be).

If you're riding a 30mph eBike on a bike trail that doesn't permit it and you have an accident with someone, you can expect to shoulder most of the liability, even if the other person did something like step in front of you. The same holds true with a skateboard, if you run your 20mph skateboard into the side of a car, you can expect to pay for the damages to the car (after you get out of the hospital) -- even if the car driver pulled out in front of you because he wasn't expecting a 20mph skateboard on the sidewalk.
On the other hand, living 6 years in Paris where there's no tipping but also has ridiculously poor service culture gets one to build some positive opinions about tipping too...
Well I just studied the local newspaper and looked for development jobs, but there were only C/C++ or Java jobs. When looking for jobs across Austria it was almost the same: no Delphi/Pascal in sight.

I had no app idea back then, that would have been great... Now I know better, I currently code in Swift and have a few app ideas :-)
Yup, you could also tackle your diet. Given the multifactorial aetiology of dental caries; Host, Plaque, and diet. I would highly recommend the least invasive approach; changing your diet. In addition to the noted vitamins, sucrose should not be included in your dietary program seeing as how it is a cariogenic constitute. There are other compounds that play a major role in the development of dental caries, but sucrose has that special something about it. Also, fluoride either in water (1.13ppm) or topical. Lasty, Xyiltol gum, it helps to rebalance oral pH. And of course brush and floss. This way, you prevent the development of dental caries--fingers crossed--and help in the reminiralisazion process.
> Of course, they are also much, much cheaper, so they will cut into that average $160K/yr salary for dentists in the US...

I doubt that this makes much of an impact. Cavities aren't really a money maker for dentists and inadequacies inherent to the repair process mean that you'll almost certainly need more expensive work later on. The only way to really "beat" the dentists is to avoid enamel loss and calculus formation through proper cleaning technique and regular dental cleanings.

https://www.animated-teeth.com/dental_insurance/a-dental-cos...

Most dentists in the US are private practice which makes for a competitive market that prides itself on the quality of its customer care. If you really want to be worried about someone coming to take your hard earned money I'd be concerned about the growing incorporation of dentistry offices in the US.

http://www.dentaleconomics.com/articles/print/volume-105/iss...
Interesting article! Some minor statistical pet peeves:

1. Setting non-significant bars to 0 seems fishy. Leaving them and putting confidence intervals on everything would let them speak for themselves.

2. Calling something effect size is ambiguous. That's like saying you measured distance in units (and the wiki article on effect size linked makes clear there are a billion measures of effect size).

I'm guessing their measure of effect size were the beta coefficients in a multiple regression?
How Do I Crack Satellite and Cable Pay TV? [33c3]
Could someone explain what the basics are of this? I'm not familiar with a lot of music theory. The arpeggio is something like:

for base_note in range(B,B+5*2,2):
for arpeggio_note in range(base_note,2*base_note,2):
yield arpeggio_note

and the "chords" are single notes in some progression? Something like (R, R+1, R+3, R+5, R+6, R+8, R+10), where R is the root note?

What do the different modes do?
In the future, you can run it through an online grammar checker, like Paper Rater or Grammarly. It will not catch everything, but it will help.
Same in the Netherlands. It's changing, but when I went to "high school" (age of ~12) you could go to a vocational school to become e.g. carpenter, electrician, etc. When you are 16 you are set to get into that profession. You will still attend school until 18, 1 day a week. You can also level up and go to a higher level vocational school all the way up to university.
"you're holding it wrong" sounds pretty childish to me
I built an e-bike last weekend, I have just 35 miles on it so far and I've convinced 1-2 friends to get one already. I love riding but my enthusiasm in winter is severely diminished; this has rekindled it for me.

Anybody here who is interested in an e-bike should strongly consider building up an existing bike rather than dropping $4k on one of the ones mentioned in this article. All the ones mentioned in the article are underpowered and overpriced.

I built a front-suspension mountain bike with a mid-drive motor called a BBSHD. Setup of the bike with the motor kit took about 3 hours and there were no major issues. Some custom tools might be needed to remove the bottom bracket, a bike shop would likely charge less to do it for you than the tools cost.

Last bit of advice, if you do get a DIY kit, make sure to get a high-quality 18650 battery pack. Don't go LiPo and certainly don't go lead-acid. Your battery pack will last longer if you don't always charge it to 100%, but you should charge it to 100% the first half dozen cycles to balance the batteries.
Hey, don't worry about it too much. Probably a few bits of grammar or phrasing that could be tweaked, but it's perfectly readable as-is. I spent four years teaching English in China, so I've got a pretty good feel for the various levels of English fluency in non-native speakers - you're doing fine, trust me :)

Really, about the only thing that tripped me up reading that was the German quotation marks, and that's just because I'm an American :)

Congrats on your progress, and thanks for sharing your story. Good luck in the future!
That's a great transition, congrats to the author. My wife's mother also went from a secretary to the COO of a multi-billion dollar real estate company. Similarly, the current CEO of Xerox, Ursula Burns, was an executive assistant at Xerox. Although rare, it seems like things like that happened a lot more often before than now. I'm not sure if it means that as a society we have more opportunity or that we are more pigeonholed in our careers. Maybe it's the free-agent nature of our employment these days, but I don't picture execute assistants these days ever getting the opportunity of jumping into something completely different and rising to the rank of C-level.
The announcements of new treatments and new discoveries in various healthcare fields astronomically outstrips the real ones that you can actually make use of.

The easy money is in the hyping of potential cures, and it's easy to see why. Even in this HN thread where you'd expect the level of scientific understanding and healthy skepticism to be fairly high, you see a lot of "Wow, it's about time" type responses. Now imagine the response of the politician controlling grant money who has no background in science.
I'd say it was as much practical as it is ideological. Keynesian spending is inherently inflationary and creates jobs.

As a member of the 1%:

* Inflation is your enemy. It not only causes the value of your cash holdings to decline, it causes the value of the money you lent out to decline.

* Creating jobs is your enemy. If you employ people you want as little competition for labor as possible to reduce your wage bill and the wage bill of the companies you invest in.
Go might have some complex concepts initially and be a big language but its error messages are impressively helpful and precise.

I'm very thankful to that level of dedication.
"Only" and "main" have two significantly different meanings so you actually stated two different arguments.
As a bicyclist who can sustain >20mph for minutes at a time, I find the 20mph cutoff as implemented quite frustrating. It feels terrible to easily accelerate to 20mph, and then struggle mightily past the cliff of assisted pedaling. The assistance curve needs to (at least optionally) taper off as the rider approaches 20mph, so that the cutoff doesn't feel like a cliff.
Deep Style: using deep learning for artistic style transfer
The problem is on the other side. If you don't want the push, the sender just wasted a some work.
> Downvoted because of the way its presented

Could you please elaborate?