skysight-inc/HackerNews huggingface dataset:
That's reversing a long term trend of decreasing tobacco use among middle school students. Current usage patterns mean e-sig users tend to go back to tobacco at some point. Thus e-sig's may in fact act like the mythical 'gateway' drug among middle school students.

During 2000--2009, the prevalence of current tobacco use among middle school students declined (15.1% to 8.2%), as did current cigarette use (11.0% to 5.2%) and cigarette smoking experimentation (29.8% to 15.0%)

http://www.cdc.gov/mmwr/preview/mmwrhtml/mm5933a2.htm
Because you asserted that there is some invisible, omniscient, 'so complicated we couldn't possibly understand it' work being done by the government in order to keep the boat afloat. My claim is that that's largely a ridiculous claim. And the government IS responsible for protecting property rights, I never suggested otherwise. That responsibility doesn't afford them (we the collective) a blank check.

Is the irony seriously eluding you?! You're saying in order to protect our property rights, they need to further violate our property rights! For the love of god...

In one sentence you claim we never own our property, the next you say they're in charge of protecting our rights as property owners... You literally contradict yourself in one sentence...
I'd be willing to bet that the coins will move soon.
Location: Blacksburg, VA

Remote: Sure, but neither required nor expecting

Willing to relocate: Yes

Technologies: C++; C; Java; PHP (Laravel); SQL; JavaScript (MEAN stack, Electron); Ruby (Rails); C#; Python; MATLAB, R, Android

Résumé/CV: https://www.dropbox.com/s/9dwi99xfv4z58kd/Resume.pdf?dl=0

Email: bepotts@vt.edu

I'm currently a Senior CS and Math major at Virginia Tech but I'm graduating Spring 2017 due to a double major and a statistics minor, so I'm looking for an internship or work at a junior level. I'm a honors student and my experience is mostly in Web Dev with some mobile experience, but I'm willing to learn and contribute to almost anything. My coursework (aside from the fundamentals) has revolved around AI, Machine Learning, and data science courses. Willing to move anywhere in the United States but I'm especially interested in working in NYC, DC, or the Bay Area.
And the New York Times story about this still insists that his initial "proof" was genuine!
4 people from Albany, NY to most places is $3000 + rental car. Plus my wife and I are tall, and sitting in a airline seat and dealing with the airport drama sucks.

Or I drive for 20 hours and get another week in a 5 star hotel.
I love this article:

https://scottlocklin.wordpress.com/2013/07/28/ruins-of-forgo...
There's a possible simpler explanation: his work was always priority #1 for him, and he completely buried his head in it, to the detriment of everything else. Of course, now I'm also speculating some bullshit about someone I've never met. It's always interesting to watch people try to label others without having known them. And no, "had lunch with him once" or "heard him speak at a conference" does not mean you know a single thing about someone, their mental state, or their life.

A huge portion of the population is not made up of happy-go-lucky, oblivious-to-the-world individuals, and someone comparing themselves to public figures in some vain attempt to show just how nice and normal their own life is... sigh. There are what, probably over a billion people, that random strangers would label with all kinds of mental illness. If it's that common, most of those cases are not mental illness, - it's just a personality type. Another person having a different personality than your own does not mean something is abnormal about them.
Reminds of the time when I wanted to get a license for a piece of software and they only offered training courses for teams coupled with a software license. I chalked it off as being outside their customer target group.
Tesla Motors' Model 3 Setbacks Begin Cropping Up, as Expected
> One thing I did to test this, is just using a different private key.

Absolutely. I just don't want to upload another key on keybase and have my correspondents start sending to a different key for me. I didn't think it was worth it to download and recreate the scene in your video of just testing to myself, rather I was thinking about trying it for a week or something.

Are you aware of any similar efforts that I can compare this to?
Undefined behavior notice:

> Historically, Visual C++ did not take advantage of the
> fact that the C and C++ standards consider the result
> of overflowing signed operations undefined. Other
> compilers are very aggressive in this regard, which
> motivated the decision to implement some patterns which
> take advantage of undefined integer overflow behavior.
> We implemented the ones we thought were safe and didn’t
> impose any unnecessary security risks in generated code.

> A new undocumented compiler flag has been added to
> disable these optimizations, in case an application
> that is not standard-conformant fails:
> -d2SSAOptimizerUndefinedIntOverflow-. Due to security
> concerns, we have seen cases where these patterns
> should not be optimized, even though following the C
> and C++ standards allows us to [...]

It sounds like they're not doing anything that GCC/Clang aren't already, but if you've only ever compiled with MSVC then be careful not to overlook this.
Except they are exactly right!
I agree that unnecessary casts are undesirable, but that seems like a completely irrelevant point here, seeing as how the casts are not optional.

C++ doesn't prefer casts, it requires them in places where C doesn't. Casting the return value from malloc isn't optional in C++ (unless you're assigning to a void *, anyway).
I think on par with caffeine makes sense - but keep in mind that the relevant comparison here is not a can of Coke, but a bottle of caffeine pills. The latter has stricter standards than the former.
Yeah, I still wouldn’t say that c++ is “one of the most widely-used languages for writing native apps” for OS X.

And internally apple use other languages a lot, but frameworks like UIKit, AppKit, and many of the other public frameworks they expose in the SDK are objc, with foundation for example abstracting a lot of CoreFoundation C code.
Agree with this, there's also another big advantage that the article doesn't mention - the instant response and lack of distraction.

30 years ago you turned on, and in seconds were at a DOS prompt. Now you had to load something, to do just that. A C64 or other 8 bit turned on instantly to BASIC. Everyone could program enough to make scrolly insults of their sister or swear and beep on the demo machines in the store.

All the improvements have added layer on layer of insulation from the tedious guts, which is great when you just want to work, web surf, write a mail or play farmville, and the machine, even a phone, takes ages to boot.

It's terrible for kids in my opinion - all the things that would feed their natural curiosity are just not there. What's there instead is appstores and notifications reminding of social messages and games to play.

I made a heavily curated PC for the kids and they were able to do remarkable things in paint (the youngest could do more with paint at 6 than I ever could) or build little programs or make tunes in something that looked like an old tracker. Best part, they did it nearly all themselves.

It's a shame for the next generation we've mostly reduced all tech to consumption only devices.

Then they hit teen and just got addicted to WoW anyway. :)
Top 5 Whiskey bars in NYC
From what I've seen, Google's desktop Linux systems are just customized LTS Ubuntu images. (Source: visits to Google office) They appeared entirely normal, eg. Unity, Gnome Apps, etc. but I am sure they made some Google-specific changes.

Also, Valve released their Linux distro awhile ago. [1] And Phoronix [2] has some good Windows vs Linux gaming benchmarks. My impression was that they were getting pretty comparable.

[1] http://store.steampowered.com/steamos/
[2] http://www.phoronix.com/
There isn't really a One True Way in music either. There are stupid ways to hold a bow, and there's a small range of ways that works. But it's certainly not something you can reduce to a formula of so-many-inches along and an angle of theta.

The arts are mostly practice led, so there are efficient and comfortable ways to get an expressive result, which may not be intuitive or obvious to beginners, and which probably need to be practiced.

But plenty of people pick up instruments by experimenting, and some of them go on to have successful careers - because results matter more than technique, and if you're getting good artistic results perfect technique is secondary.

And I think the GOTO thing is overblown, and misses the point in exactly the same technique-vs-outcome way.

The desired outcome is legible, maintainable code. If you bracket a thousand lines inside a single if statement, you're not any closer to that aim than someone who uses GOTO.

What's missing from BASIC - and from any kind of training that's syntax-based instead of concept-based - is that sense of using structures to simplify and highlight program logic and flow.

PASCAL was fairly new when I was learning to code, and it was billed as some kind of magical mental training tool that would eliminate bad habits and make you a better programmer.

In fact it's just a vanilla C-family language with a few quirks, and the mental training side of it was always wildly oversold.

Currently no language at all teaches separation of concerns, chunking, relative abstraction, DRY, and other fundamental concepts in an accessible way - and there should be. Because they really can help turn hard problems into simpler problems, and make all kinds of challenges more manageable - which is more fundamental to programming than knowing that POKE 53280,1 will make the screen frame white on a C64.
> if we want JS applications on the web to continue to be viable alternatives to native applications on each platform

This is where I disagree with the direction Mozilla has been going for years. I don't want the web to be a desktop app replacement with HTTP as the delivery mechanism. I'm fine with rich single page web apps, but I don't understand the reason why web apps need complete feature parity with desktop apps.

Why not let the web be good at some things and native apps be good at others?
You no smokey!
You can probably draw a very similar chart of people who wouldn't buy a car when it replaced the horse & cart

Or people who would "never" drive an automatic car or ... blah blah blah

It's going to happen at some point here ... just like HDTV finally did :)
Why Elon Musk Keeps Promising the Impossible
agree.

If this was an enterprise/cio/it/gov discussion web site then all the conversations would be java and .net vs c++

if this was a scientific computing website then python, c/c++ and fortran and would be mentioned etc.

if this was a hardware/firmware website it would be c vs (whatever black magic is used by hardware wizards).
Learn best practices, security measures for World Password Day
I have to share one of my favorite anecdotes.

CA colleges are, for a number of reasons (prop 13, etc), in perpetual budget crises. A mother with a daughter in a UC was interviewed on tv whining about the impact of budget cuts on her daughter's education. After about a minute of this moron whinging, the reporter asked if she would be willing to pay a couple hundred dollars per year more in tax if it were dedicated to the UC system. Given my description of her, you know the answer: Of course not! We're overtaxed!

Most people are too stupid to understand that if we want nice things, we have to collectively pay for them. Though to be fair, there's plenty of politicians (see Republicans in Kansas, Louisiana, etc) telling people what they want to hear: tax cuts pay for themselves...
A more appropriate analogy than a user guide would be finding Fifty Shades of Grey or Harry Potter on your kindle one day, because Amazon did a deal and decided you should have it, or perhaps having your copy of 1984 erased because of copyright violations. ++ungood.

A user manual is expected on a new device, having media on your device added and deleted by a corporation on their whim is not so pleasant, mostly because it makes their view of your true relation to them apparent.
This is what Objective-C looks like if you "unroll" it to plain C. Not too surprisingly, it's very verbose. Other than as an exercise, there's no reason to do this, particularly given that Objective-C is a strict superset of C.[1]

[1] http://stackoverflow.com/questions/19366134/what-does-object...
That is an orthogonal issue[1] which has no bearing on discussion of vaping regulation.

[1] https://en.wikipedia.org/wiki/Whataboutism
Nope, authorization. Authentication is left as an exercise for the implementer.

Some people use the ability to be authorized to access an account on e.g. Facebook as a stand-in for authentication, but that's a different issue.
The answers are correct, but a less cryptographically-related answer:

When you go to a website on the regular internet, the name you type into your URL bar doesn't contain any location information. Instead, you go to a Dynamic Name Server (DNS) server (often run by your ISP) and and get the IP address, which tells your browser where to go.

With Tor, the hashes you see are analogous to the IP in regular internet: they tell your browser where to go. But there's no DNS for Tor, so you can't hide address behind a name.

Incidentally, this story is about SciHub being blocked at the DNS level, meaning that the domain https://sci-hub.io/ was removed from the DNS servers. But it's still available at the IP level at https://31.184.194.81/

This story demonstrates the need for DNS to be decentralized. ICANN has far too much control and is now using it for censorship that holds back the progress of all of humanity.
Because then they need to write their own version. For some libraries, this would be a huge amount of work. Could you imagine having to write a replacement for jQuery, or any other handy libraries like moment.js or bootstrap?
I bet you I can write a website in NodeJS or Go that will fail with fewer than 1 request / second. Heck, I bet you I can make a website that will fail even if it only receives one request in its lifetime!

The language usually isn't the reason for issues like this...
> Many companies block outbound on non-well known ports...

Mmmhmm. Yeah, I'm aware of that. :) However, click170 made no mention of a corporate firewall. He said:

> I just wish Signal was easier to get through a firewall.

Which is dramatically at odds with my and my friends experience with Signal; namely that it passes through firewalls with no configuration required.

If he would have mentioned that it was a corporate firewall that he was trying to get through, I expect his comment would have been much less popular, and much less confusing. :)
The TL;DR of the first couple is they were on the way from Canada to Vegas. They turned off the Interstate onto a road that gradually got worse and worse until it was so narrow that they couldn't even turn around. Nearly two months later, some hunters in ATVs found the wife barely alive in her minivan. The husband died trying to hike out for help.

On a more technical level, the article claims it was a Magellan GPS they were using. I've never used that brand, but I've previously used a Garmin GPS that was very good; it never tried to send me onto mountain roads or even inappropriate city streets.

IMO Google Maps and Apple Maps are both much worse than my standalone Garmin ever was. As of a few years ago, my 8 y/o maps in my Garmin were much more reliable than the current info used by Google and Apple.

I've had Google take me thru residential streets it really had no business in choosing. I've had Apple literally loop me around -> left, left, left, left, left, left, left, left. I stopped after two loops. I only did it the second time because I couldn't believe just how stupid Apple was.

My Apple Maps experience was in downtown Portland Oregon just one year ago. So it's clearly an ongoing issue, not part of the initial teething pains which occurred when Apple dumped Google for maps.
Eh, that's like almost all leaders though.

"Give me liberty or death!"

"Invade Mexico!"

"Assassinate Castro!"

"Go to the moon!"

When you're the one (at least in part) making the laws, it's hard to distinguish your decisions been between chaos and lawful.
Ask HN: Canonical course/text for threads, processes, semaphores, etc.?
I'm writing bots for stockfighter.io and am having concurrency problems running two websocket connections at once. I'm a self-taught dev, have never dealt with these issues professionally, and feel like spending the time to "learn it right". Suggestions?
Ask HN: Is it better to apply as a dual iOS/Android developer or specialize?
Also from hiring perspective, my company has a job posting for an Android/iOS developer, requiring expertise in both. Is this common? As an applicant would it be better to pass on these hybrid roles?
Of course they should.
Redirect traffic from www.teller.io to teller.io
"the trial may reveal Jace's innocence"

That's unfortunate. The system is suppose to prove his guilt, and assume innocence by default.
Not necessarily, it's entirely possible for a company to severely damage itself by creating too much friction in the sales process.

This is the sort of thing that helped kill Sun, although the circumstances were sufficiently different it wouldn't play out in the same way: https://news.ycombinator.com/item?id=11601146 (especially when much of the competition is entirely free, e.g. AWS doesn't run on Windows).

Same thing with Xerox not all that long ago, they had a near death experience because the salesmen got so much pointless process larded into what they had to do to do their jobs. Note also one of the newer HP CEOs who upon getting his job said that one of his top priorities was streamlining the sales process.
The fact that we typically represent dates as "05/05/2016" kind of ruins the argument that we don't represent months as numbers.
There's also a keybase chrome extension, but they don't have a decrypt option.
I see SteamOS as a hedge against Valve's fear that Microsoft will lock down Windows in the same way that Apple has locked down iOS. Rather than a core of their strategy, it's a last-ditch lifeboat in case third-party app stores become verboten.
> do laptops with linux preloaded on them not count?

Isn't the bootloader locked down?

Also, that's probably not a realistic option for most end-users.
I'd read of that elsewhere but wasn't sure. Here's to hoping both countries have adequate agreements to facilitate shipping him back home to face the music.
> undiagnosed sociopathy for Jobs' death

Even Jobs realized his self-delusions had cost him some time, at the end.

http://www.forbes.com/sites/alicegwalton/2011/10/24/steve-jo...
(I'm living in Europe, in the countryside, and I think a car that can drive me home will be a big win. I think taxis etc are for built-up areas.)
I know very little about the subject, but when multi-core processors were first introduced, I remember that the general wisdom was that server software could benefit, from its highly concurrent nature, but games and graphics would not, because they are generally single threaded. I wonder if the general wisdom at the time was wrong, or if there has been a big shift to take advantage of multiple cores. I'm guessing the later.
Your proposal to store track info in with verbose naming isn't very robust and doesn't solve even the most basic problems that a simple metadata scheme does.

For one, even in your specific limited case of Bryan Ferry's album _Taxi_ there are 5 different versions of the album from 5 different countries[0].

Furthermore, your verbose naming proposal is not only unequipped to handle something as basic as alternate versions and international releases, it has no affordances for providing basic information such as year of release, publisher, and composer, let alone information about bitrates and compression schemes.

Even were we to restrict our attention to just the metadata your scheme does encode, your proposal would fail when cataloging an entry where the band/album/track name contains a hyphen surrounding by whitespace. There are also some albums which have more than 99 tracks (archival records, for example, which are distributed in multi-CD collections).

My response may seem a bit like hitting a fly with a sledgehammer but, having worked in a library and taken classes in information science, it's crucial to illustrate why hastily-conceived proposals to replace metadata with file naming conventions should never be taken seriously. In fact, I believe they should only be taken jokingly!

Metadata schemes are so important to information and library science that, in my opinion, any proposal to replace metadata schemes with "verbose naming" should be shown to be untenable unless the goal is to index fewer than 100 files in a restricted-access repository (and maybe even then).

From the standpoint of a librarian or digital archivist, you may as well have proposed storing the binary data in the file name, too, essentially eliminating the file name which itself is a piece of metadata.

[0] https://www.discogs.com/Bryan-Ferry-Taxi/release/1120442

EDIT: readability
I'm not surprised at all that people would hold such contradictory views, simultaneously demanding tax cuts and service improvements, but it is surprising that someone could utter them in the same breath and keep a straight face.

Maybe it's just a lack of self awareness?
The issue isn't minification, the issue is that the code is proprietary, i.e not written by the developer serving you the webpage.

Minification is easy to get around - copy & paste into IDE and autoformat. Anyone who cares enough about the source code knows that they can do this.
What is "want"? And why does it have to be so immovable?

We can't always walk away from what we do or where we live. Car-centric, earth-wasting behavior is ostensibly what we want, because most of us engage in it every day. So is sugar soda and processed food, lack of exercise, and any number of unhealthy things we do. So is paying huge amounts of money for a house, then fighting any new development near our neighborhood out of self interest.

It is possible for people to essentially be trapped in a situation in which rational choices are a bad ones. How might we break out of that?
Astonishing excerpt:

The official confirmed that one person did enlist, and that only one person
was employed by Facebook, one person by Apple, two at Morgan Stanley and
several at other prominent financial institutions.

I wonder if these company HRs were actually doing any background checks at all? They certainly do ask for a lot of forms to fill out...
This is a claim by the prosecution and doesn't necessarily reflect the reality of the situation.
Check out the architecture of TempleOS.
I think Racket comes close but is still a little more adult.

I remember going to GaTech early 2000 and there was a teacher named Guzdial pushing Squeek like it was gods gift to children and humanity. There is nothing wrong with the language but I have yet to see kids use it or like it. I have seen high school kids use racket though.