skysight-inc/HackerNews huggingface dataset:
Yes I agree with this, I think the current system is worse than snake oil because you have government people telling you exactly what is medicine. And they are the FOOD and Drug administration. They are now telling people what they can label on things like blueberry extracts. That should just not be their business, they should just keep dangerous chemicals out of our lives.

In ayurveda, there are 3 types of medicines, food, herbs and poisons. The current allopathic system is purely the last type. It is heavily regulated because it is big money. There is not big money in the first two. (You may think there is money in food, but not fresh food which you actually have to prepare and eat within an hour, not prepare and let sit and pump full of preservatives).
"DOM-API" is redundant, as the DOM is an API.
No. It suggests it's easier to give advice than to follow it.
The compilers of some statically typed languages (Turbo Pascal, D, Go, OCaml) are extremely fast.
The unsophisticated user won't read "related post" because it isn't noticeable. There's no clear differentiation between a recycled "like" post, and one that you physically like. They look almost identical.
Ask HN: Recommend biographies of lesser known fathers of science and technology?
By now everyone has probably read one or more books on the life of Alan Turing or Richard Feynman or John Nash and a small number of other figures who were influential scientists. And I'm not even talking about the "big" names like Einstein.<p>But... there seems to be another group of folks, who never get much attention, but were probably just as influential and probably have interesting stories to hear. I'm thinking about folks like Claude Shannon, Herbert Simon, Norbert Weiner, Vannevar Bush, and others.<p>So, how about it HN? Does anybody have recommendations for good biographies of these, and other, important scientists, that we should all familiarize ourselves with?
But the the author of the original piece is mostly concerned with undefined behavior that can be detected statically - otherwise, compilers would not be able to exploit it to make optimizations.
I made sure to test it thoroughly before submitting it to the app store. My testing group was merely friends + family, but after 5-10 rounds of testing, most of the bugs were caught.

Hope that helps!
Well even if it does suck now (I think it does), it didnt suck when Musk sold it.
Because millions of others have a much more desperate need for some love and some feeling of self worth. Even a surrogate one. There's no insulin for that...
New iPhones this June: 4" & 4.8" Californian series (iPhone 5S, iPhone Math)
Do they have any available information? Preliminary test? Cured it in vitro, animal models, a few humans? Patents? Any other interesting medical/biological result published?

There are a lot of people that proclaim that have cure for AIDS/cancer/whatever, and many of them blame the establishment for blocking it. The same history appears with perpetual movement machines. Without more proof, probably it just another too optimistic investigator, a scammer or a crackpot.
I disagree. NShen is simply showing his app to the community members of HackerNews. I find it inspiring that 14 year old can create such a good game. It inspires me to complete and to ship. I think that's what to take away from the title.
Well... External QA for app which costs 2.99$ (or less at times)? No. We just tried to make sure it worked properly - some code reviews, several unit tests to cover some nasty edge cases and that's it. I really hope everybody is alive and well. :)

Also it did help that the users grew confident in it over time. It was not like these overnight success stories (not even success story) which you hear all over the news :)
As someone who switched from a nanoengineering phd focused on medical diagnostics and blood analysis (including some diabetes work) to an internet rating startup, I have some opinions on this matter.

1. The time scales are completely different for internet and biotech. A/B testing online can take hours or days while biotech experiments take months to years. In fact, I came up the idea for the startup while I was waiting 4 months for a substrate to be synthesized!

2. The costs are also dramatically different. The limiting reactant isn't people, it's $$$. Biotech is extremely capital intensive. Equipment, reagents and people all require significant amounts of money over a long period of time.

3. Lastly, hard sciences do not have a monopoly on "big problems". Maximizing my impact is a desire I share with many of the HN crowd. For me, the impact I foresee by improving rating systems dwarfs what I thought I could accomplish in bio-nano. Don't get me wrong, this was simply the right decision for me, which is why I dropped out a year ago with zero regrets.
I talked to Tufte after the event. It wasn't anyone from the Labs that talked to him, it was a corporate security guy.
It's too early yet to make claims like that. Rust may or may not end up supplanting C++ in some areas, but even in the most optimistic case it definitely won't obviate C++ entirely.
Thank you! But sorry to hear your choices are more limited than you desire.
Completely different features & implementation.
Also, just to be clear... I'm not suggesting that diet soda is exactly good for you. I plan to try and wean myself off of that as well, over time. But the sugar (HFCS really) in plain soda is just horrible, horrible, evil stuff... especially when it's in soda, since sugar that comes into your body in such a ready to digest form seems to hit your bloodstream much faster than, say, a piece of orange, which also has plenty of sugar (fructose) but has to be digested to get to the sugar.
You don't need great skills to make an impact. I work in Cambodia and there are plenty of opportunities for web developers to bring opportunities and learning here for the local culture. Also I would compare the existing base of developers here to what I imagine it was like in the US in the 70s. Computer Science is just picking up steam and the folks who learn it are very bright. Quite a cool climate to be in, in my opinion. Cost of living is dirt cheap, you have all the western amenities, and internet is fast enough (5 Mbit down via my phone).
And in the "Valley", with rent and (California income) taxes what they are today, 100k isn't as great as you might think.
I'm sorry but I don't see how reddit fits into this equation. It's laughable to compare the work that went into building Curiosity or Ubuntu with reddit.
The relatedness is very much up for debate though. If i like an article on a website, then later on that website publishes something else which is only related because its on the same site, does that mean facebook can re-use my like for the new page?
Not only would i need to vet all the current content to see if there is something that i don't agree with, i would need to trust they would not post something horrible in future and have my name attached to it under a related post.
The author again falls into the strong vs. weak, and static vs. dynamic trap without a solid understanding of the terminology. As per usual the widespread misuse of the terms has made them useless. It is worth reading from a more rigorous source, such as Luca Cardelli: http://lucacardelli.name/Papers/OnUnderstanding.A4.pdf. Or ignoring them as Benjamin Pierce says, "I spent a few weeks... trying to sort out the terminology of "strongly typed," "statically typed," "safe," etc., and found it amazingly difficult.... The usage of these terms is so various as to render them almost useless.".
To the best of your knowledge, would it be illegal (notwithstanding any copyright claims) to produce an interface that would make FDA compliance easier?

Examples:
- a website that republishes FDA information in a far easier to grok manner (assuming they are as impenetrable as most government websites I've had the misfortune to require using)
- a choose-your-own-adventure formatted application made in Twine that would allow you to explicitly follow the known rules
- an application that alerts drug/device developers of guidance updates
Agreed. I remember i read that comic a while ago and i didn't get the impression that the author was trying to mock dynamic typing proponents at all. The interpretation i got from the comic was more on the lines of "as most of the people who know about type category prefer static typing, discussions on that subject tend to be very uninteresting".

And another possible interpretation is that the comic just expresses the author's preference (pun intended) of type category as a topic of discussion and thus finds the "dynamic vs static language" discussions uninteresting (because, let's face it, they are almost never about type category).

My interpretations might be completely biased though, as the first comic from CCC that i read was this one (http://ro-che.info/ccc/18.html), which could have caused a personal bias because of the good first impression :)
I don't think he's confused about the distinction between them. There's one sentence in the beginning where he probably meant "dynamically typed" rather than "weakly typed", but for the rest of his post, his terms are chosen correctly. I'd rather give him the benefit of the doubt, than dismiss his opinion because of what might just have been a typo.
I talked to Tufte after the event. It seems this was the first time, apart from some late-night cocktail parties, that he'd spoken about it publicly. http://go-to-hellman.blogspot.com/2013/01/edward-tufte-was-p... http://news.ycombinator.com/item?id=5086036
>Otherwise known as the "just do it right" argument.

Maybe, maybe not. Can you make a better example than arbitrary magic numbers used as pointers?
I'm the Co-Founder & CEO of Omada Health (http://omadahealth.com), and any engineers who are keen to help make a dent in the diabetes and obesity crisis should please reach out. Our company has built a web-version of a landmark clinical study called the diabetes prevention program (http://goo.gl/shiaw) to help the 78 million people with prediabetes from progressing to full-blown type 2 diabetes. Diabetes prevention is absolutely possible, and there are technology and design solutions that can help.

sean@omadahealth.com
All the inconvenience will be solved if someone built a great IDE. (great like Netbeans for Java or VS for .NET :D, but with someong Gedit or Notepad is great too!)
I think we have a vim puglin function to automatically import/remove.
Not really. The closest is Servo,[1][2] the massively-concurrent browser engine that the language was designed to create. But it's not very featureful yet, and is only a few thousand lines (compared to 100+ kloc for the Rust compiler itself).

[1] https://github.com/mozilla/servo

[2] https://github.com/mozilla/servo/wiki/Design
A responsive dynamic single-page website
A significant part of the JSTOR corpus is out of copyright. I expect that Aaron meant to do with that subset what he had done with PACER.
My engineering services business does regulatory affairs and compliance engineering work for medical device manufacturers, in addition to embedded SW. IEC 62304 and IEC 60601-1 3rd edition, etc. I can say that the parent comment is spot on. Great summary, IMO.
I love gnome-shell interface-wise, but it tends to be a real memory hog for something mostly just sits in the background and lets me switch windows (currently 1.1GB VM, 130MB RSS)...
this looks perfect for all those who "want to do a startup"
Can you give some specific examples? I myself have been known to bikeshed with the Rust devs on occasion. :P
Why? Because people don't want to change the world. Most people want a job that they can easily complete with minimal effort that still affords them a large salary. Most people want a comfy couch upon which they can stare a black rectangle on their wall for 4 hours each night. Most people want to sit on a beach for 2 weeks every winter. Most people want to pursue a lifestyle, not a legacy. An unremarkable life lived to achieve domestic success and hedonistic pursuits is an attractive proposal. I don't blame people for wanting one.
Ask HN: Best ASP.NET full trust web host?
I'm in need of a Windows web host that provides full trust access. Shared hosting is fine and the cheaper, the better, as I'll only need it for the next few months. Any good recommendations?
i3 is not related to gnome or the gnome-shell in any way.
There's a normal human tendency to occasionally worry about whether one is doing the correct thing with one's life. And then sometimes people extend that from themselves to those they associate with.
Get last years Vaio Z. It trumps everything in this thread and can be had for about 1k if you scrounge eBay. It has every single thing you want and beyond.
This was the first time Tufte had talked about this. I asked him after the talk. It was december 1962. http://go-to-hellman.blogspot.com/2013/01/edward-tufte-was-p...
> I am willing to bet they will still look great 20 years from now.

Good design is timeless because it holds inherent characteristics that are not subject to time, it's not exactly about how great it looks or think it would look years from now, this is a side-effect.

I'll give an example. If you compare an IKEA spoon and a renaissance spoon, you'll notice quite a few differences besides the 1800 one looking dated. The recent ones handle better, have better weight, avoid spills, use materials that don't tarnish, etc.

Now contrast this with the japanese hashi (chopsticks). It consists of a pair of bamboo sticks cut at a certain angle and it's design hasn't changed for centuries. It has been perfected, reduced to the essentials, and does it's job still to this day. It's timeless, good design, and by consequence looks great - it's form and shape unconsciously emanate all these characteristics to us.

> True, and very interesting. None of the software currently out could be called timeless. Maybe timeless user interface design has simply not been found yet?

UIs are relatively new, but I would argue command prompts are one example of UI that withstood the test of time, while the WIMP metaphor seems to be fading away with touch devices.
But what strategic interest does the US have in North Korea? To get closer to China?
> there not enough jobs at That One Company That's Changing The World

I met some Counsyl devs at PyCon last year, they were wonderful. We talked about meaningful work.

There are so many companies and nonprofits trying to change the world. They need help with software. A partial list:

Broad Institute: http://www.broadinstitute.org (disclaimer, I work there)

JCVI: http://www.jcvi.org

Sanger: http://www.sanger.ac.uk

23andme: https://www.23andme.com
The VC’s paradox: We can’t all be black swans
> Negotiate implies a free market. There is no free market for access to an ISP's residential customers. They have a complete monopoly over the ability to send packets to those people, resulting in a market failure that requires government regulation to avoid monopoly abuse.

This kind of theory is ridiculous. It is like saying that there is no free market in the sale of carrot, because as soon as I enter a shop that sells carrot and start to buy some the other shops have no ability to sell some to me at the same time.

Now there are some situation where you get something that looks like more a real monopoly, e.g. watter supply. But ISP in France is nothing like a monopoly. Pretending otherwise with utterly contrived theories is complete lack of good faith.
'Dancing Naked in the Mind Field' by Kary Mullis
The OP's statements are about type declaration, which is not necessarily a feature of static typing but of strong typing.

It is possible for a language to not have these declaration and still be static (ie; compile-time type inference).
No it won't, the difference between Helvetica and Arial at small sizes is barely noticeable. Furthermore, most Windows users won't have Helvetica anyway, and if they do, it looks totally broken.

The appearance does matter more for display text (logos, headings, etc.), but you're using font-face for those anyway.
Hey Andrew,

Ok, I looked at your code. What you really should do (before coding up the solution) is to look at the problem specification. Other than that I like the 'direct' approach, it isn't quite as fast as what I cooked up but yours is a lot shorter.
Looks awesome man, just starred and downloaded it. I absolutely love 8tracks, and listen to it all day at work, driving, in the gym, etc. Can't wait to fiddle around with it.
We could live in a post-scarcity world, but, no, we have to have it all, and exert power over others.

Our own fear and depravity damn us to these outcomes. :(
> would humidifiers help or hurt?

I'd imagine in humid conditions the pathogens bind with the fine water droplets in the air to form an aerosol, which (I assume) sticks to surfaces more readily whereas in dry conditions the contaminants would remain airborne far longer and stick to the mucosa once inhaled.
Of course, I got about twice as much karma for the GP comment than I have for posting actual useful stuff.
I just went through this a couple of weeks ago, looking for a personal laptop to do some independent work on. I'm a huge Thinkpad fan, and both of my desktop keyboards are Thinkpad USB trackpoint-only keyboards, so that should tell you something about my biases...

Anyhow, I wasn't looking for something particularly portable, my work laptop is an X200 (pre-trackpad) which is the perfect travel companion. Unfortunately as others have noted the X-series is plagued by minimal resolution, so I wanted something with a much larger screen. We issue X230's and T430's at work, so I am very familiar with them. I'm not a huge fan of the 430s, it's size I want, but they don't offer it with a FHD IPS screen.

So I ended up buying a T61P with the 1920x1200 screen off ebay for $230, and put 8G RAM in it (unofficially supported by the 965 chipset, check thinkwiki.org for more information). It's in near perfect shape except for loose hinges! Installed Xubuntu 12 on it and everything works wonderfully. All the secondary channels are lousy with T6x's, spare parts are plentiful and Thinkpads have the BEST factory repair manuals bar none.

So pretty damn happy for <$400 invested.

If you wanted to run dual/triple monitors, take a look at the Advanced Dock, you can install a PCI-e? card in it. Right now my ghetto "triple" head setup is my x200, t61p, and t60 ($50 with the 1400x1050 IPS!) all running synergy, so I can at least have multiple reference sources open on the x200/t60 while working on the t61p and copy/paste between them.

If you do get a Thinkpad, seriously consider looking at the used market, they're usually crazy cheap used.
Maybe Haskell is the exception but I find it hard to believe that a compiler can do that for you, IMO, the only way to have a decent shot at being safe from XSS is to sanitize your inputs with a whitelist.
No, we can't, because Go is unacceptable (garbage collection) and Rust is no better than a figment until all of the libraries I need exist in it.

And I have better things to do than port them, because C++ doesn't bother me.
One thing he mentions is signed integer overflow. This is in the worst case equivalent to the halting problem, but even in practice very hard to test for at compile time.

Another behaviour he mentions is not properly return'ing at the end of a non-void function. This is again technically equivalent to the halting problem, but it is negated by the good practice of making every code path (even potentially dead ones) have a return statement (or throw an exception, etc.) Go takes this approach if I remember correctly.
OP is interesting to me because of the author's age, so I am glad it was in the title. You are correct that most customers on the App Store don't care about the author's age, but this is Hacker News, not Consumer News, and I find it interesting to know what young hackers are capable of with the tools and distribution platforms available to them today.
They have far too many undefined behaviors.

"Like leaving a string unfinished. You expect a compiler error right? Nope, undefined.

Any why should making an invalid pointer be undefined?

It becomes ridiculous to try to just remember the rules.
If you're looking into making a big impact: http://80000hours.org/

The answer is usually not clear cut.
I really don't have any difficulty finding programmers who have the discipline to not use the unsafe parts of the language all over the place. C++ has an issue with having a fragmented multitude of sane subsets, but any of them are fine if they get the job done.

That said, I don't understand why you still keep putting up awful mostly-C code as if any trained C++ programmer wouldn't yell at you for doing it wrong, even before they saw the part with the error.

for(i = 0; i < input.length(); i++)

Where did you learn this? don't do this. Everyone else knows not to do this.

for(i = 0; i < min(input.length(), some_vector.length()); i++)

This is actually worse, though it does have the virtue of probably working. If you want a run-time check, use at(), or better still use an iterator already.

C++ has all sorts of issues. It's too hard to learn, it's missing some very useful features, and it has a number of rough edges that you have to learn your way around. But the things being complained about in the OP and by you are not real problems for anything but beginners. There just aren't that many naked array accesses or pointer math operations going on in an ordinary C++ application written in non-C style.
I don't even remember and I'm too lazy to look at it again, but I think I recognized Mattel because of the letter spacing. I just assumed Helvetica is the one with better spacing. Guess what, it worked.
It's bug motivated by compatibility. On original 70's implementations of Unix, file system I/O mostly led to busy wait in kernel and thus was not interruptible because it was simply not possible and there were applications that relied on this behavior. On UNIX, signal received during system call generally causes the kernel to abort whatever it was doing and requires application to deal with that situation and restart the operation, implementations of stdio in libc generally do the right thing, but most applications that do filesystem I/O directly do not (and surprisingly large number of commonly used network services behave erraticaly when network write(2) is interrupted by signal). And even applications that handle -EINTR from all I/O still have places where it is not handled (allowing interruptible disk I/O will cause things like stat(2) to return EINTR).

Allowing SIGKILL to work and not any other signal is ugly special case, and while generally reasonable it is still special case that is relevant for things like NFS (with modern linux NFS client allowing you to disable this behavior) and broken hardware (and then trying to recover the situation with anything other than kernel-level debugger is mostly meaningless, with power cycling being the real solution when you can do that. Accidentally we currently have similar issue on one backend server where power-cycling is not an option).
Verdana is wide enough that it brings problems trying to fit links within a horizontal nav bar.
Exactly, it's a chicken and egg problem. C++ has tons of libraries, while Rust has barely any. Rust can use external C bindings, but not C++ ones yet. I think if they solve the issue of using C++ libraries from within Rust, the transition will be much easier, and meanwhile more native Rust libraries will be created.
if assembly was regular writing then C would be cursive. I would like to see D/go/rust succeed where C/C++ has failed.
Your description of how apple is on a noble quest to bring the personal computer to the poor of the world through the '$50 computer' that is an ipod shuffle is so far from reality in so many different ways that you are verging on a parody of yourself.

I can't believe you seriously typed all that out and then submitted it.
Sorry, you are right, I didn't realize it was a federal agency, I thought it was something they had arranged amongst themselves.