skysight-inc/HackerNews huggingface dataset:
I wish it could become standard operating procedure around here to place quotes around scientifically linkbaiting terms like "wormhole" in article titles, lest they be mistaken for fact.

Also, to save everyone the trouble of getting their hopes up in the future:

- It's not a wormhole. It's never a wormhole.

- Quantum teleportation and quantum entanglement don't mean what you (probably) think they do, and neither allows for faster than light communication anyway. No, not even then.

- It doesn't really make things invisible, it just makes a narrow part of the electromagnetic spectrum difficult to detect under experimental conditions, and that part probably doesn't include visible light.

- It can't really read your thoughts.

- It's (probably) not really artificial intelligence.

- It's not antigravity. It's never antigravity.

- It's not a warp drive. It's never a warp drive.

- They almost certainly didn't get cold fusion working this time.

- All solutions to the Fermi paradox are handwaving nonsense until proven otherwise.
that's not a real problem. only a few frameworks having a good one. In java i handwritten mine.

And golang has the same good crypto tools as Java.

> https://godoc.org/golang.org/x/crypto/pbkdf2

> https://golang.org/pkg/crypto/subtle/

And finally a Token Library:
https://github.com/dgrijalva/jwt-go
or
https://github.com/dvsekhvalnov/jose2go

And that's all you need to write a Authentication / Authorization Library in 100-200 lines of code. And it will mostly be more secure than most of the things you see in the open world.
Is the marijuana festival really april 19th? Seems more logical to have it on april 20th. ;)
> I also found this totally strange that people pick up smoking cigarettes once they are old enough to know they are just horrible for you.

It doesn't surprise me very much. People choose to do a lot of things that are terrible for their body, like eating poorly or not getting exercise, and it's not clear to me that cigarettes are even the worst choice they can make.

It would be interesting to see the long term effects of smoking 5 cigarettes a day versus being 50 pounds over weight.
I am one of those college students and actually I have been smoking way too much. I just recently stopped and now I sleep much better, getting up in the morning is way easier, I just have more energy.

It's hard for me to have access to it and not smoke it, both my parents were addicts so I'm supposedly predisposed to addictive behavior. I would smoke all day, every day, even when I didn't feel like it.

I'm a little turned off by it now since I found it was having negative effects on my life, but I'm sure that is because I was simply smoking way too much.

Anyways, don't smoke too much.
http://preposterousuniverse.blogspot.com/2005/05/alternative...
I do what you are suggesting. Some other things:

1. Always a PR that is ready to merge (rebased properly). I should be able to read commit-by-commit and it all makes sense.

2. All reviewers are committed to review in < 24 hours, mostly the same day. Reviewing is considered an important high-priority activity for developers.

3. Keep them small - we reserve the right to reject a PR on size -- split it down (in reality, this is rarely done, because we know this)

4. Only make a comment if you think the code is unacceptable without the change. You can be convinced otherwise later, but no subjective comments -- it's either acceptable as is (no comment) or not.

What I wish we did (and will probably try to make happen)

1. Work off a checklist. I have a couple of things I always check for -- e.g. i18n and accessibility, but we could do this a lot more.

2. Have a common understanding on what acceptable test coverage might be
This would only work for a very small subset of card tricks.

It would be difficult to practice sleight of hand.
It's getting there. Polygraphs are still useful to measure ~~psychological~~ neurological response, so we might not see them disappear. I could certainly still find it convincing if corroborated with a psych expert who understands how to read it (and when NOT to draw a conclusion). The idea of discerning a lie with any reliability with a machine and no access to any direct evidence is absurd, though.
This is the kind of stuff that haunts companies when prospective employees are doing research on where to work. Not easy to get rid of either.
> Despite this being anecdotal, I am curious what factors (age, generational differences, education) have the strongest influence on this trend.

Here's my anecdotal theory; prevalence of media and ease of media consumption. Let's be honest, media (games, movies, tv) is really great when you're stoned. You don't have to move much and it tickles your auditory and visual senses. The internet makes consuming media incredibly cheap and easy, and Universities often have good internet access (also local media sharing with DC++ is rife). For a student, cheapness is king. Weed is cheap, media is cheap, both are very rewarding when combined and much cheaper than sports, bars, parties, etc.
As a Git user, it seems Very Hard to accidentally force push: you need to add a command line parameter, and I was simply taught "Don't Do That". I've certainly never done it.

e.g.:

# yes!
git push origin my-feature-branch
git push origin master

# no!
git push --force origin master

nsfyn55 makes a good point about protection from others, though. Maintaining my own fork, and using pull requests to the central repo, seems to help avoid others clobbering master, but that seems to be more of a reflection of my organization's Git workflow.

If your team treats Git the way we used to use Mercurial, where each developer will merge their changes into master and then push it, you're going to be in a WORLD of hurt. (It's likely we were doing it wrong there, too. I didn't really grok distributed source control until we moved to Git.)

If you use the Github Flow [0], the merging is done in the UI of your Github (or Gitlab/etc) instance, rather than directly with `git`. (I believe Atlassian's stash has a similar but slightly different recommended workflow.) The keys for us are:

- One team repo is the "official" repo. (e.g., UI/foo-widget)
- Each dev forks the repo, and pushes their branches on that fork
(e.g. gknoy/foo-widget:gk-feature)
- Pull Requests are made from the dev's repo __to the official one__
(e.g. from gknoy/foo-widget's gk-feature branch
to UI/foo-widget's master branch)

Some teams instead opt to have each dev make branches on the same (official) repo. I prefer the extra safety net of maintaining my own fork. If I were to mistakenly commit something (or merge something, or rebase something) incorrectly, and totally fubar my repo's master branch, and then push that up to my origin before noticing it, I can recover it easily (rename branches, checkout the commit that should be the head, re-push). Worst case, I can delete my fork and re-fork it. ;) If I were to do that on a repo that I have shared access to, I'd have much more anxiety.

Incidentally, I've made exactly that mistake (merged or committed something onto my local master, and then pushed it to my origin) TWICE, and caught when others have when doing code reviews. The first time, I panicked and deleted/re-created my forked repo. The second time, I fixed it by juggling branches, and it was substantially easier. (Slower: it took me ~20 minutes I think?) In neither case did my mistakes affect anyone else, though, since the repo I messed up was my own.)

This is, of course, based heavily on Github's suggested practices, since we use Github Enterprise at work. Were I using Stash or GitLab, there would likely be some changes, but I think the team workflow really benefits when you dive all-in on Git's distributed nature.

0: https://guides.github.com/introduction/flow/
> I wanted to do normal, strong women, not Hollywood big boobs and blond hair and speaking the latest teen slang. I wanted someone who you could picture living next door to you who has that strength of character.

That's interesting cause I actually think these "strong women" are as unrealistic as the dummy big boob bimbo and not at all a reflection of the girl living next door. And to be clear, same for male characters.

Do you really think the girl living next door would handle everything the main character of Scream goes through?

I'm perfectly fine with female main characters going through a ton of shit and being the hero, but don't make the mistake of thinking that they are a reflection of the day to day girl next door. And again, same comment for the guy next door.
The Wright brothers started off by building gliders before they built the first airplane. So why is this approach the wrong one?
Are there poor health effects from ingesting tabacco? it makes my stomach turn, but I wouldn't jump to cancer.
There's also SpotTheStation[1]. You can sign up to receive emails whenever the station is scheduled to pass over your location.

[1] http://spotthestation.nasa.gov/
By "hand code SQL" I hope you really mean using prepared statements of whatever language/framework you're using, not concatenating strings with input values. If not, say hello to SQLi.
This is a myth. Smoking marijuana might actually be negatively correlated with lung cancer for long term users. Regardless, it's certainly not associated with increased lung cancer or increased risk for COPD. You and others who are misinformed should stop spreading around these ridiculous lies and look at the science:

"Although marijuana smoke contains a number of carcinogens and cocarcinogens, findings from a limited number of well-designed epidemiological studies do not suggest an increased risk for the development of either lung or upper airway cancer from light or moderate use, although evidence is mixed concerning possible carcinogenic risks of heavy, long-term use." -- http://www.ncbi.nlm.nih.gov/pubmed/23802821
Unblock+Websites+at+School
People involved with hacking die mysteriously in Europe all the time, like the British guy who made the first Java decompiler and got hit by a car or the German Student who committed "suicide" just after he thwarted the goals of major European electronic conglomerates by writing a paper about how you can unpot a smart card with nitric acid then look at the chip with an electron or scanning microscope, attach probes and otherwise get any secrets the device has in it.
I hope that response was deleted because the author realized that hyperbole exists. Don't actually write that number on your forearm. But do know what it is before you travel.
I used sqlx for a while and it's definitely an improvement over std sql, but still isn't full orm.
XKCD survey
It's worth remembering that inhaling burning plant matter is never really going to be a good idea.
Kool aid is so good!
Wow, the "Personal projects" section is a really great idea.
Maven at least uses a declarative syntax, which is a sensible use of XML. Personally, I'd prefer JSON, but I've seen much worse use of XML.

Imperative XML makes me choke.
I don't, sorry
Apropose – First Scalable Design Search for the Web
Clearing Up Ambiguity
The spice must flow.
Getting a bunch of people (150+) from the internet, especially reddit to go from an idea thread to a full website with over 1mil page views is nuts. Congrats!
I mean, find a substance that people CAN'T be addicted to. However, the physiological addiction is very low. There is no direct dopamine feedback loop, to my understanding.

I'm addicted to seltzer waters.
Ianahep, but maybe work backwards from gravity vs spacetime equations? I'm assuming gravity is the exchange mechanism that drives this, so if you needed x gravitational field to produce y displacement, then given y displacement you have some energy equivalent of x in mass?
I've always heard this but anecdotally I've never experienced any difference -- it all makes me want to fall asleep. Is there any legitimate research into this? How do you know which is which?
Write your own Bash tab completions using YAML
Damnit that was depressing.
> Define "major negative event" here. Assuming you have insurance for catastrophic events, few things should be able to wipe out hundreds of thousands in savings, which is what you'd quickly build up with a high savings rate, especially in a high-paying field.

Health insurance never provided 100% coverage and you can get into 5 figures with health insurance. I'm not sure why you disbelieve it given its a pretty accepted fact when talking about medical bankruptcies with insurance.

Similarly, if you are having a major medical event, if you cannot work for months...failure to earn income is a cost.

Other major negative events are extended bouts of unemployment that will chew through savings while creating a failure to earn income for months, etc.

Hell, even being sued can be a problem if you have a high networth because you have access to resources. In the past 12 months, I've literally had people track me down to drag me into such fights over money.

> And even if one of your desired safety margins is a pile of savings, the higher your savings rate the sooner you build up those buffers. If you assume one of those events will happen and wipe out a pile of savings, that's an added drain that you'd have to account for, but a high savings rate still means you'll retire sooner than you would have with a lower savings rate.

I'm saying he is selling you a dream that you can do it at the age you stated. Black swan events do happen to people and you have no real safety margin for them with his lifestyle advice after you retire.

A "silver plan" is 70% coverage. If you have a 6 figure medical event, that wipes out your entire planned income for the year.

The 4% rule has been found to be overly optimistic. Similarly, RoI greater than safe withdrawal rates are assumed. [Hint: SWR and RoI are equal and equivalent in real terms over an extended period. MMM claims otherwise and I find it depressing people believe him, especially given that isn't what happened to him. ]

The reality is, for most people, even with a high savings rate you are looking at 25+ years of work.

1400000 [35*40k]

2015	40,000

2016	81,600

2017	124,864

2018	169,859

2019	216,653

2020	265,319

2021	315,932

2022	368,569

2023	423,312

2024	480,244

2025	539,454

2026	601,032

2027	665,074

2028	731,676

2029	800,944

2030	872,981

2031	947,900

2032	1,025,817

2033	1,106,849

2034	1,191,123

2035	1,278,768

2036	1,369,919

2037	1,464,716

Assuming everything goes perfectly, it takes you 22 years. However, you are going to be unemployed for at least a couple of those years and you are likely to have some kind of major medical expense [or your wife, or your kid] in that time as well.

The ability to do it faster is an illusion created by a bull market and lucky timing.
Because there already is one, and america's not interested in losing any wars.
Although there's no serious enforcement, having those three days be uncompensated has certain legal requirements under labor laws in the US and some other jurisdictions. In particular, it may be necessary to define the terminology during that trial period in a very specific way (e.g. a "trainee"... IANAL).
Few places in the world are as poor in terms of lack of public spaces as the US. Roadside cafes, town squares, etc. are the norm in Europe. In the US, very few cities have such features. They are increasingly common these days in the form of 'suburban town squares', but they are almost always in some shopping mall or similar commercial enterprise, rather than in truly public spaces. To further complicate matters, even in college towns, faculty and researchers prefer driving to work than riding public transport. Nowhere is this more common than in the American Midwest, with its combination of vast sprawls and severe winters.
Is that per year or month?
Powering Flickr’s Magic view by fusing bulk and real-time compute
How does your tool handle cross-references to #include'd pages? I have some home-grown tools that basically use a C++ preprocessor to assemble one big Markdown file from per-chapter or per-section chunks. What I struggle with (to do elegantly) is having robust cross-references, and to keep header levels consistent (e.g. when you include a section that itself has headers inside a h1 or inside a h2, you'd want the section's headers to become h2 or h3, respectively).

Do you have any support for reviewing, in a way similar to Word's 'Review' (comments and tracking addition deletions)? Using version control and branches is not OK, because non-software people cannot wrap their heads around it (just getting them to write in anything but Word is already a big enough hurdle...)

Do you have a proposed workflow to work with formulas? Inline TeX (or LaTeX) is again a no-go, it's too finicky to get right for people who don't have Edit/Compile/Preview Stockholm syndrome (bitter? me? nah). What I'd settle for is a separate file for each formula, and a graphical editor that can edit those files. A somewhat convenient desktop-based editor that'd give an overview of everything would be better (so having some way to start EqualX from your desktop tool would be enough).
Cool! How would you build an app for iOS and WinPhone using Kotlin?
It is far and away irrisponsible to call a health effect a myth because one paper suggests an opposite effect for light to moderate users. Considering we DO know what we are inhaling, and we DO know it causes massive problems for other smoked substances, it is rational to think that there are likely related effects. Until we can identify that these effects are NOT occurring, we should definitely assume that you can get lung cancer by inhaling massive amounts of carcinogens.
A land tax depends on the value of the land. In areas without congestion, the value of land is low, so the land tax will be low and thus there will be no problem.
Why Shooting Down Drones Is a Federal Crime
How could they not? Do you realize the difference between drinking milk and soda? Or the smell of an orange vs. the smell of shit? If so, they are human just like you with senses including both the sense of smell and taste that would make it literally impossible for them not to realize this. But I'm sure you already knew that before trolling.
Now the Terminal.com web IDE can be installed in any Ubuntu or CentOS Linux
I was hoping to keep the saved content within my HN account, but these options are great food for thought.

Thank you!
Any chance you could let me click on a cell in the game of life in the background to add another cell? That would surely result in lots more time wasted on that page :)
Yeah, as mentioned in the various Wikipedia articles 4 companies that do a lot of business in and around Tornado Alley are prepared for it. The others are Home Depot, Lowes, and Wal-Mart.

The latter is the one I know the most about, it's based in the north-west most county in Arkansas, 3 counties due south of Joplin, MO, where we enjoyed an EF-5 tornado in 2011, and they have serious plans which they get to put into operation all too often. Not as quickly and directly as Waffle House, but with all their logistics resources its easy to surge food, water, etc. as soon as the roads are open.

Ah, the Joplin Home Depot was in the zone of total destruction, but our Lowes was untouched, and the company surged many, many employees to it, it was really busy in the days and months afterwards.
I heard similar and figured it was a signal to noise problem. In that it was impossible to reliably eliminate false positives (the anxiety of someone normal being polygraphed) while still detecting trained liars (who minimize their anxiety while still lying).
Yeah, lungs did not evolved to breath smoke filled air. In my book, smoking of anything is bad for respiratory health.
Ya, it's like 2 totally different substances that just happen to look the same and can be crossbred.

We got some pure sativa here : White Widow : lifts you up, very energetic. No couchlock at all.
Fork it and change it to your taste! Welcome to open source.
Good idea, thanks. I updated my comment above with the link.
0 + other digit = other digit

9 + other digit = (other digit -1) + 1 = other digit

I don't know if there is a good way to quantify this other than it is a basic property of base 10 when you are basically looping around the basis. The other post illuminates on this in that it would be E for hex or 5 for base 6.
That's just adding another conversion from undefined to Number to Int32 for the right operand. You could probably use false as well. Or the empty string.
FWIW I still found it confusing. I think you'd better leave out the 'is planned' part all together (just makes it seem half-finished), and instead replace that with 'TeX equations are fully supported.'.
How Facebook Focuses on the Most Important Element of an App
http://www.erase.net/weblog/2015-08/windows-startup-sounds-s...

http://createdigitalmusic.com/2015/08/windows-startup-sounds...
It takes about ten years to get used to how old you are.
The reactions of others are irrelevant to my desire to express my own opinion.

As a political minority, I am well aware that there are literally tens of millions of people who will dismiss my opinions without even pausing to think about them. That doesn't mean that I should stop having them, or stop expressing them in whatever way that pleases me.

I'm not exactly sure what you hope to accomplish by your responses. It almost sounds like you agree with the sentiment, but not the expression. If so, it is not a tad hypocritical to complain about how I am arranging my words rather than try to say it better yourself?

There's always going to be something to complain about. If not how the military-industrial complex is preventing the realization of peacetime prosperity, it might be how we have all this peacetime prosperity, but can't keep the mosquitoes from biting everyone at the picnic. If we run out of truly awful things to complain about, we can always complain about the merely annoying things. So I find your suggestion that complainers would actually prefer that the things they complain about not be fixed to be misguided.
I'd argue that just because a language runs on a platform with a potentially large number of third-party support (JVM) doesn't mean it's going to be nice to use.

For example, I ended up having to write Java code when dealing with large XML data sets in a Clojure system, because the current offerings simply didn't let me do what I needed in fluent Clojure code. I suspect Kotlin has those same kinds of issues, just amplified because it's a lot less widespread than Clojure.
Probably because it just has to do with something related to microsoft. For some reason, people just hate Microsoft. Even though they produce some of the best development tools... people still hate them. In the words of taylor swift, "And the haters gonna hate, hate, hate, hate, hate"
It is confirmed: HN Readers Love XKCD:

Most up-voted of several submissions of this survey:

https://news.ycombinator.com/item?id=10158990
ShareThis | Palo Alto, CA

Engineer (Big Data - Kafka, Hadoop, Cassandra, Java)
Software Engineer (Full Stack - Meteor.js, PHP, JavaScript, BigQuery)
Software Engineer (Infrastructure) Data Scientist

We're backed by prominent VC firms like DFJ, Blue Chip, T-Venture - who've also funded companies like Tesla, Twitter, Skype and Box.

Learn more about the positions us at (www.sharethis.com/about/careers/)

If you want to know more or apply to any position, email me directly at isaac@sharethis.com with Hacker News in the subject name
who actually types pwd? I've had it in my prompt since I learned about PS1.
Yes, according to a number of sources.[1][2]

[1] http://www.mayoclinic.org/healthy-lifestyle/quit-smoking/in-...

[2] http://www.cancer.org/cancer/cancercauses/tobaccocancer/smok...
Very nice page & I like that they put employee's personal projects at the bottom!
So let's throw out the hard scientific evidence you don't like and substitute "rational thinking" instead? I think you were born in the wrong century.