skysight-inc/HackerNews huggingface dataset:
> If there are new, delete or pointer arguments in functions in your code, you’re most likely doing it wrong.

Candidly, Modern C++ is an idiom adopted to work around the issues of raw memory management which Rust obviates out of the box.

What the author was writing was very standard introductory C++ taught in pretty much every C++ intro book I read in the early 2000s. That doesn't make it invalid C++, it makes it, "an older idiom".

To your more general point, C++ in the hands of an expert would clearly work better than presented here. I don't think that's an issue. The bigger question is, "Can C++ in the hands of a novice be as buggy as Rust in the hands of a novice".
Sure, statistics in marketing has been around for hundreds of years. I think his key point was alluded to with "just so it would go viral online" as being the new and growing theme.

The trick is getting the public at large to spread the message, and the goal not being the message itself but rather a higher pagerank and traffic. Before, the statistic itself had to be meaningful, i.e. "users of our weight loss supplement lost 43 pounds in the first month". Now, the statistic just has to be "shocking" but not actually sell anything.
The “Nothing New Under the Sun” Fallacy
The problem (or maybe feature) of theory is that it can be accurate to the model but also wrong. It is the constant unwinding of accepted physics that helps us progress.
Almost certainly it's regulation that's forcing them to have seats.

They keep the toilets free because they are probably smart enough to know that enough of their customers hate them that they'd piss on the aisle and the clean up costs would be too much.
I tried to join you but for some reason my brain decided to produce the Imperial Death March instead.
Malcolm Gladwell and Crocodile Bites: Not a Sad Story from Africa
I agree that Emacs has many nice features that come with 30 years of development, but I also thing that those features have a bias towards older paradigms/languages of programming, and thus the advantages reduce a lot and/or there are deficiencies if you move into newer technology stacks.

Morevoer, even if Emacs is a LISP machine, it doesn't give it any super-power that can't be replicated in other editors; I mean, it of course gives it flexibility to use it as a mail reader, that's true, but within the editor itself, there's nothing game-changing. I showed features that are either very close, or a bit worse, or a bit better, made with an editor which is not a LISP machine. I think we can agree that anything that you mentioned can be implemented in Sublime as a plugin; if it's not there out of the box, point taken that the ecosystem is more mature, but it doesn't show an inherent gap that can't be filled, it only shows where development effort is being focused on. For Sublime, surely it's not C/C++.
Ask HN: Mailgun or Mailchimp for paid newsletter?
I'm trying to set up a paid newsletter featuring more in-depth content for my blog's subscribers (assets, source code, tutorials, etc.) and wondering what third-party services to use.

I currently use Mailgun for transactional emails and love it, but I'm not sure how to configure it with recurring subscription payments.

Mailchimp would require switching horses, but is designed more to work with newsletters and has a few plugins specifically for paid content.

Does anyone have experience with either service or paid newsletters in general? Has anyone configured a setup that uses both? Is that even a possibility?
Egocentric Video Biometrics
If the idea of speedrunning intrigues you, allow me to present the zelda 64 world record, which stands at 18:10: https://www.youtube.com/watch?v=aq6pGJbd6Iw

It starts to get weird at about 12:30

It's quite something. The commentary is an insight into a whole world. Not quite as crazy as the some of the other recent console memory hacking stuff but its the constant need for frame-perfect timing that makes it impressive.
Yes, and this is just the beginning. There is much more potential.
Tips to Create a Toxic Culture
Start interviewing. And I'd secure an offer before giving your 2 weeks notice.
I've never understood the need for a complicated sous-vide setup. I've found that water at 80 degrees Celsius in a heavy pot with the lid on will remain sufficiently hot for 30-45 minutes. If not, you can always swap the water halfway through.
I'm aware of algorithms and espouse them, but you're not comparing apples to apples. The example is about mutating a collection while iterating over it:

for(std::vector<int>::const_iterator it=v.begin(); it!=v.end(); ++it) {
if (*it < 5)
v.push_back(5-*it);
}

...you could do that with std::for_each and a lambda, or maybe some creative use of std::back_inserter, but you'd still have iterator invalidation problems.

The right way to do it might be to use a while loop that uses std::find_if to find the next value to insert, but I'm not sure how you'd arrive at that solution without thinking about iterator invalidation in the first place.

...and the point is that Rust effectively says "you can't iterate over a mutable collection like that" while a less battle-scarred C++ developer might not even notice the problem before deploying to production.
HN: Please add comment thread folding
anyone else feeling the samething? Having to scroll past pages and pages of a single deeply nested comment thread (and often way off topic) to see the next viewpoint is the one thing that bothers me tremendously on HN.

If you look for a excellent example, just see how reddit do it.
I think most US residents on HN live in a state where blacklisting is illegal. Washington state and New York have labour laws against blacklisting while California has a law against employers preventing previous employees from finding work. I wouldn't be surprised if most states had laws like New York, Washington or California.

California Labor Code 1050-1053 may apply to blacklisting:
http://www.leginfo.ca.gov/cgi-bin/displaycode?section=lab&gr...

Revised Code of Washington, 49.44.010 explicitly lists blacklisting as a prohibited labor practice.
http://apps.leg.wa.gov/rcw/default.aspx?cite=49.44.010

NY Labor Law Section 704 lists blacklisting as an unfair labor practice.
http://public.leginfo.state.ny.us/LAWSSEAF.cgi?QUERYTYPE=LAW...
Inversions in Computing
Have you heard of this study [0] on the effectiveness of Bumetanide in autistic children?

The thinking behind the trial is brillant, and the results are impressive in some cases [1].

Bumetanide treatment for autism is currently undergoing a phase III trial in France.

————

0. http://www.nature.com/tp/journal/v2/n12/full/tp2012124a.html

1. https://www.youtube.com/watch?v=7pChAJqEiyY
For the downvoters, I assume this is a reference to the Amazon EC2 Container Service.

http://aws.amazon.com/ecs/
It kind of threw me that he used the word 'semi-colon' in his defense about not having too many extraneous hyphens - apparently that is an acceptable variant, but the most common spelling I've seen has always been 'semicolon'. Is this a British thing? Or does he just really like his hyphens?
Phew thanks for the replies! I kept telling myself this in my head but I really needed some reinforcements to make sure I wasn't crazy.
Lacking comprehension of the problem and the causes, it seems reasonably carefull not to blindly admit your child into care based solely on the authoritive argument. Possibly, doctors cannot explain it propperly either and I'm under the impression that the causes aren't really known. Now, if the parent's lack of proficiency in childcare was responsible, that would be embareassing indeed, and if the percentage of autism
Wonderful, you criticize him and then you expand and generalize it to 'Lisp folk' being perceived as arrogant.

Then YOU lecture him.

> opinions are ten-a-penny on the internet.

Including your own, it seems.
There's a science [0], and there's a step-by-step method if you really want to follow. And no it doesn't require you to visit temples or do rituals rather just like science, it requires you to observe, experiment and be patient with your body and mind so that you can eventually experience the third, consciousness.

0] https://news.ycombinator.com/item?id=8753204
I used to play an old Windows game called Tracon that was very similar, that I would get totally lost playing way longer than I ever intended. Good job! I prefer my ATC simulators with a little more realism than the bsdgames one. I like actual callsigns instead of letters.
> Almost certainly it's regulation that's forcing them to have seats.

Evil big government keeping disruptive businesses down again. Probably due to regulatory capture by the seat cartel...
Two Blue Giant Stars Are Starting to Merge to Create a Megastar
High-res, Hand Painted Scenes from Hayao Miyazaki's the Wind Rises
I have one created using an Arduino and a Crockpot. The biggest thing for me is that I can throw some steaks in at 730am when I leave for work and when I get home at 530pm they are ready to eat (or sear-then-eat, I guess).

I think it's the same argument as why you would want a crockpot in your kitchen, versus a normal pot.
Or, in the time-constrained-support-worker model, a high profile release just means that they trust the publisher's quality control, and won't flag it for review as quickly as self-published content (which is highly variable in quality).

It's a poor QC process, not a stylistic or editorial review.
Here is a wild idea... If you are going to be a publisher of books, why not qa (ie edit) these books the old fashion way. If quality books is the top priority, no algorithm will match the discernment of the human eye.

I am a developer, (not a writer), but this outrages me nonetheless
Looks great. I guess this would be a great time to think of maybe trying your luck with Kickstarter (that is if you are interested in continuing working with such hardware). Either way a nice write up for a cool little project !
Awesome, gonna test this right now. If it actually works it would solve a long-standing problem for us.
I'd be curious to know how much the temperature fluctuates and what the average temperature is, plotted against the target. A simple on/of setup like this is much less complicated than a PID setup, but in my experience, the PID code would allow for a much more accurate temperature to be maintained.
My new Martial Arts Side Kick tutorial, what do you think?
Not directly related to the tech, but "sealing in the juices" with a sear is broscience. [1] http://www.seriouseats.com/2009/12/the-food-lab-how-to-cook-...
I would say that the SNCF actually is worried by Blablacar and other companies. See their extensive PR campaigns about their own (inferior) ride-sharing services.
Is it in the price tag? No. Therefore hidden.

There's nothing else to say on that topic. I won't further debate what is or is not a "hidden fee." That's my definition, if it isn't in the headline price and is unavoidable then it is a hidden fee.
It's not really that, it's the car class. UberPOP is anything compact or subcompact, sometimes limiting to 2 passengers. UberX is a 4-door sedan. UberPOP is not launched in the US - you can only start driving for Uber with a 4-door sedan or higher.
Clever (YC S12) is looking for full-stack engineers – help change the classroom
There’s a lot of great educational software out there - think Oregon Trail, Math Blasters, and Carmen Sandiego - but teachers can’t use it in schools. Teachers would love to use programs like these, but synchronizing data between their school’s database and external software applications is a huge problem that results in wasted time at the start of class and frustrated, bored students… which leads to software being abandoned entirely. 80% of K-12 teachers would use more software in classes if getting students logged in weren’t such a hassle, and a quarter of all class time that’s supposed to be dedicated to software is wasted on logins alone.

Developers have a similar problem: they love clean APIs, but in the education industry, they haven’t had one. Most K-12 schools house their student data in ancient legacy databases that make integrations a nightmare. If you’re a five-person startup and you’ve built an app that revolutionizes the way third-graders learn fractions, there’s simply no way to get your product in front of students.

Clever (YC S12 - clever.com) is solving these problems by building a modern, developer-friendly API for schools… which we give them for free. Developers love being able to plug into schools without having to write a complex integration for every single district they’re working with, so they pay us for access to the platform. This business model has helped us grow quickly; we’re now in 1 in 5 schools in America (over 29,000 schools), and our product is used by millions of students every day.

Our goal is to become the education identity company. The first step in that direction is our Instant Login single sign-on platform: a universal login that allows students to access all of their learning applications in one place. (This is a big deal if you’ve ever seen a second-grader try to manage fifteen different usernames and passwords.)

Right now we’re a team of 42 people (19 engineers) based in downtown San Francisco. We’re looking for full-stack engineers who can hack in Node, Go, and Python (or are willing to learn), but more importantly, we’re looking for people who share our passion for improving education. If you’re interested, we’d love to hear from you.

Other stuff we like:

-Tech talks. Every other Tuesday, we do “Clever Talks” during lunch where one of us will give a presentation on anything he/she’s interested in. Recent talks have covered exoplanets, neuroscience, hacking big-company customer service interactions, and what’s wrong with American high school history education.

-Bughouse chess. We play pretty frequently, although not always with Magnus Carlsen: http://screencast.com/t/xD7umWfo

-Picking up new skills. We offer unlimited Amazon credits for learning.

Check us out: https://clever.com/about/jobs

At Clever, we want to work with the best people - applicants of all backgrounds and beliefs are welcome to come improve education with us. We're committed to making our office a safe and comfortable environment for all employees.
> real time surge pricing for congested roads would be the optimal solution.

Except where people are too poor to afford surge pricing, even though they may need to travel just as much as anyone else.

Libertarianism is great right up to the point where you actually need something you can't afford, like medical care or travel to a job. Then it's pretty much a big FU because you're not profitable.
Honestly, the Internet of Things is a design proposition rather than a scientific one. Are there any algorithms or crucial technical innovations that are specific to IoT?
The totally underwhelming range of hacks that have emerged from the Arduino (etc.) maker scene makes me really skeptical that this is an important area for really valuable innovations. Design has more to do with phenomenology than technology, and probably always will.

The RI is apparently not in great shape anyway, although I have heard little since this: http://www.telegraph.co.uk/news/science/6964971/Susan-Greenf...
If "stylistically abusing" punctuation is worth of blocking an ebook, then I have to assume Huck Finn and Cloud Atlas are next on the list of books to remove for their heavily punctuated attempts to represent speech patterns.
I believe they're attacking the challenge from the opposite direction: Gmail search can be described as "okay" and Google works tirelessly to make the main Google.com search experience worse and worse -- eventually they will succeed in degrading it from its former excellence to a point where its quality matches Gmail's.
Its normal, read this http://michaelochurch.wordpress.com/2012/04/13/java-shop-pol...

its posibly that you are the victim of a power struggle at the management level
Ask HN: Where can I use a 40+ core machine?
When installing at a new client site, we (@UforaInc) found a bug that repro's on their 60 core machine that we have not be able to reproduce on 16 (32 HT) core machines from AWS.

The bug is related to lock contention on many-core machines, and we're trying to find a machine where we reproduce the issue ourselves.

AWS, GAE, Azure, etc don't seem to have anything this size. Does anyone know where we can rent or borrow a beefy machine like this for a couple of days?
I'm not sure that enforcing existing laws and closing loopholes that allow illegal taxi services to pretend to be ride sharing is "protectionist".
food + heat + plastics doesn't sound very appealing...
Sony Pictures warns news organizations to destroy ‘stolen’ e-mails, documents
I'm curious to see a graph of actual temperature vs setpoint. You're doing basic bang-bang control with a bunch of immersion heaters that get hot VERY quickly.

And, dude, make that thing a little safer. Fuse your AC supply. Use real crimped terminal connectors. Put a safety enclosure around those immersion heaters or at least get them farther away from the wall of your chamber. Find a better way to secure them than electrical tape.

And for $100 you can get a Dorkfood DSV from Amazon that will (safely) PID-control a $10 crockpot. So there are cheaper alternatives than what you have found.
From your link:

> Coq is the result of more than 20 years of research. It started in 1984 from an implementation of the Calculus of Constructions at INRIA-Rocquencourt by Thierry Coquand and Gérard Huet. In 1991, Christine Paulin extended it to the Calculus of Inductive Constructions.
For your use case, maybe, but "halfway through" for much of what I use my Sous Vide Supreme for would be three or four hours. And I rarely have mine at 80C - I do beef at 55-57C, and there are safety implications (or quality implications, in the other direction) to not maintaining temperature.
What's the hardest step in growing a billion $ business? Here's a founder's take
That's why I specifically mentioned web browsers. That implies the key is on the server or sent to the server and thus it's possible to intercept or recover it. You need a trusted client on the end users device and the key must never be passed to the server to be considered secure.
100% agree. As a parent of a child with Autism, I can't stress enough the importance of strong, early intervention. We received our diagnosis at 2yrs,8mo. Our son was frankly autistic by any definition. We dove in hard, and for many years had close to 40hrs of various therapies per week. (OT, PT, Speech/Language, Behavior, Social, etc.) He had an IEP, and we advocated, because you have to.

He's 11 now, is in a neurotypical classroom with no formal support and thriving. He (and we) still work hard at his challenges... but we all have challenges. Neuroplasticity is a very real thing, and strong early intervention is sooooo important.
You would also need batteries that can charge for two weeks of lunar day, and then last for the two weeks of lunar night. And you would need at least 15 million of them at that scale.

If you could squash each unit down to just 1 kg and reduce your cost to only $1M per kg to the lunar surface, the whole project would only cost $15 trillion, which is only about a sixth of the entire global economy.

It would probably be cheaper to erect a giant space-screen that selectively redirects incident sunlight through optical fibers in a nearer Earth orbit. Rather than turn the Moon into a billboard, build an orbiting billboard that is the same apparent size as the Moon. Or bigger. Really spoil the view.
This is actually life changing, I cannot wait to see where they take this
> Historically no test existed other than behavior observations.

That's not too different from what I read this test as doing, except that it's observing neural activity while observing behaviors. Naturally, neural activity during behaviors is strongly correlated with features of the behaviors themselves, so it's quite possible that this is just another way of operationalizing/coding the behavior-based diagnosis approach. That could have advantages (maybe it's more repeatable, for example), but they don't appear to be claiming that they're doing something radically different, like identifying causal neural features.
Faiit dating app eliminates user profiling
subscribe at www.faiit.com to get inside info on development progress
Uber drivers are essentially employees, the whole contractor thing is a farce.
From the same page a cheap sous-vide hack: http://www.seriouseats.com/2010/04/cook-your-meat-in-a-beer-...
Launched on social media the PR District
The PR District was created for the many questions public relations students, professionals and pursuers of related fields have during their career. The PR District is a community where students and professionals can come together to ask and answer important questions, get advice and network. www.theprdistrict.com
I think the original product link isn't using wireless but instead depends on a wired connection. I've heard about using X11 over the internet but I'm worried that the lag would make this approach more annoying than effective.

It would be great to have a wired connection option on other operating systems besides the Mac.
fMRI?
Is it really an issue though? Don't restaurants have coq au vin on the menu where you're from?
This is a nice project but this common misconception is false:

> Searing the food after sous-vide seals in the juices

http://www.foodnetwork.com/videos/to-sear-or-not-to-sear-985...
I'm curious on some numbers on how this performs compared to the commercial units the expensive food industry models and the new kick starter wave.

Something like this could be really neat since it is versatile and you could use it to heat/cool other things. Thinking about food the first time to mind would be temperature control for charcuterie and cheeses.
Of course, cock is an English word for rooster.

Does coq have the same connotation in French, though?
Aluminium isn't susceptible.
Best Media Player: MX Player Android App
Remodel, the Python ODM for RethinkDB has just received its first update
Can't access the link, server overloaded?

"Description: Could not connect to the requested server host. "

Is there any other link for the paper?
Help support Terence's Kiva Fellowship in Tajikistan (it's a real country)
The UK and US have fundamentally opposing views of government, I think. The UK strongly believes in "good government". If the government makes mistakes or does something poorly, the press will challenge them on it with the expectation that things will improve.

In the US, we are almost self-defeatingly cynical about the idea of good government. "That government is best which governs least" is a distinctly American motto. But I think we actually can expect more from our government, we just don't because we don't think it's possible. And so ironically we are stuck with a government that governs quite a lot, actually, and not that well.

Already in the US, standard search and arrest warrants are unnecessarily performed by heavily armed SWAT teams. Depending on where you live, you better not have any pets if the police come for you because they will kill them. If we disarmed ordinary patrol cops in the US, they would just not do anything and send SWAT to do all the real work.
> Consciously choosing to break the rules and breaking them because you don't know any better are two different things.

And how did Amazon decided on which was the reason for his actions?
Thanks for clarifying. That's good, since I assume using smart pointers is more expensive in Rust than using references, same as in C++.
The reason this isn't a straw man is that it's a true belief held by many people; most of us aren't exposed to the extremes of reliability that you're talking about. When lives aren't on the line, memory management is generally a necessity.
You definitely want to sear though, both before and after (Kenji Alt is wrong about this). For flavor.
That's different, though. Michael Brown was not an "efficient killing machine" who signed up for the marines at age 17.