skysight-inc/HackerNews huggingface dataset:
> Millions of people have fallen victim to drugs, painkiller abuse, alcoholism, the rise of meth and the revival of heroin.

Through all this carnage somehow the left still fights for the legalization of the gateway drug marijuana. Of course not all weed users move towards harder drugs, but it opens the door to more lethal drugs once susceptible individuals become accustomed to the highs. I have personally seen friends from college smoke weed for a couple of years and then move to coke for the better highs. Less drugs, not more would be a good step

EDIT: Its extremely well documented that marijuana usage leads to increased vulnerability for addiction to other substances. One of many research links:

https://www.drugabuse.gov/publications/research-reports/mari...
Maybe a typo? A search for 'ruby rails stimulus' brought me right back to the root comment. About to listen to the podcast. Will report back if I learn anything.
Live in a tent the whole year, camping and trekking
So crystal and nim are the new Flavor Oft he Month ? Got it.
That's a clever layout you have going on there.
Tensorflow and Go
Productivity growth has actually been relatively low recently[1]. There doesn't seem to be a trend towards acceleration.

[1] https://www.bls.gov/lpc/prodybar.htm
The games themselves are fixed size. They can't be NP-hard, since NP-hardness is a property of difficulty with respect to input size.

They show that you can generalise them and build levels that are NP-hard: for example, in the case of Pokemon, they build systems requiring that the player have a specific team (one that is very unlikely to ever actually be used).
The Bomb That Went Off Twice
Try starting from the beginning of the conversations. Coming in at the 14th part leaves out a lot of context.

I do take it seriously - it's utterly fascinating. I'm really excited to read Manzotti's new book.
There should be a law for this if a company does no longer use/maintain a software properly for which a customer paid the customers should have a right to receive the source to effect repairs on their own.
What year is your MacBook Pro?
To be fair, the government did launch

"what federal officials Thursday called the “largest ever health care fraud enforcement action” by the Medicare Fraud Strike Force, 412 individuals, including 115 doctors, nurses and other licensed medical professionals, were arrested in a nationwide operation that involved more than 1,000 law enforcement agents in at least 30 states."

this past July. Not a shabby start.

https://www.washingtonpost.com/news/business/wp/2017/07/13/d...
I mean that good developers will migrate toward local companies that have good work conditions, good money, good projects, and good co workers.

The companies you quote are not better than a middle grade outsourcing company in these regards, so they're not stealing their talents. If they are the best companies you could think of, that explains why you can find decent developers in the local outsourcing firms.
In hindsight the best decisions I've made this year regarding the enjoyment of my Apple devices was not upgrading from iOS 10, and not upgrading to High Sierra. I really want to buy new Apple products and enjoy them but the company doesn't make hardware or software I want anymore.
catern@home ~ $ { timeout 1 sh -c 'while :; do /bin/echo foo; done'; echo; } | wc -l
1542

So at least sub-millisecond. And this is less efficient than possible because it's also writing to a pipe.

Also, I quite agree that CGI is a bad way to do things, but that's what the original post is proposing. :)
Wake up earlier. Get to the gym before 7AM instead of at night. have an investment plan and stick to it.
Because what they sell isnt on the schedual and does have medical use. Hate opiods addiction and overprescription, but dont forget that these things have a place.
> Nowadays (40ish) I wouldn't even build my own gaming PC anymore. I want to exchange money for something that works as I expect when I need it and have done with it and at best swap a GPU or SSD sometime.

I think I go in phases. In my twenties & early thirties I was very wrapped around the notion of efficiency and opportunity cost. I wouldn’t have dreamed of building a computer, or a shelf, or anything else.

But a couple of years ago I decided to build a PC for gaming—not because it was cheap or easy, but because I thought it sounded like fun. I took advice from excited people much younger than me, and had a blast talking pros and cons of this stuff with randos (presumably teens and millennials) on the Internet.

In the end I probably did save a little money, but the kick I got from doing something I hadn’t done since you needed to remember that the red side of a ribbon was pin 1, would have been worth it at a much higher price.

So, Hackintosh? If you’re purely trying to have a functioning computer for a reasonable price? Probably not.

However if part of what you’re looking for is a challenge, then I think it’s okay to just own that and know that you’re paying for an experience.
Neat, I probably waste too much time trying to make everything go together which is why I tend to stick to popular themes but this seems very useful.
Interesting survey, but it seems very disingenuous that the researchers have lumped in "objectionable behaviour" with "sexual harassment". These sets do not have that much overlap.

"About a third of men said they had done something at work within the past year that would qualify as objectionable behavior or sexual harassment"

Objectionable behaviour: doing something your boss doesn't like, breaking process, even being an outspoken feminist could be considered objectionable behaviour. If you have not completed one "objectionable" action in a year you must be a robot.

"Made remarks that some might consider sexist or offensive?" - There are so many acceptable remarks that some might consider "offensive". Eg. "God is not real".

Seems like bad research to lump these sets together and then present it strictly as a survey on sexual harassment.
It's not all democrats. Rep. Tom Marino, the main force behind the bill limited the DEA's ability to fight against these companies is a republican. Also Trumps nominee to become the next drug czar.

https://www.washingtonpost.com/graphics/2017/investigations/...
> why did all the large sites whose password database got leaked (Yahoo, LinkedIn...) still use regular hash functions?

Inertia? Stuff I built in 2001 probably still uses MD5+salt today because nobody's maintained it in over a decade.

Fear of breakage? Going down because of an "unnecessary" change probably reads worse to management than getting owned does (before it happens)--and besides, it's not our data, just users.

I dunno, man. Obviously I have a ton of respect for your crypto work (I mean that, seriously, thank you). Your other points make total sense, this one just feels like overreach

> Other schemes with that property

Well outside my weight class, but you've given me some stuff to read about. No idea how it ends up integrating with existing API tooling, but worth examining for sure.
What Sierra headaches did it solve?
> In the real-world, at scale the only relevant metric to his cost is the entropy of the password, which iterative hashing doesn't magically increase.

> If you find it cost-effective to slap a `for (i = 0; i < 10^12; i++)` loop around your hash, you should assume it's cost-effective for your attacker as well.

If your work factor is higher, it takes much longer to brute force a password. On my laptop, bcrypt with work factors 13 and 14 take ~650ms and ~1100ms, respectively. In comparison, SHA256 takes 0.110ms.

A database of passwords hashed with SHA256 will take days, maybe weeks to recover most of the passwords through brute force. With bcrypt, it would take months or years.

This article[1] has some numbers (although they're a bit outdated now):

> How much slower is bcrypt than, say, MD5? Depends on the work factor. Using a work factor of 12, bcrypt hashes the password yaaa in about 0.3 seconds on my laptop. MD5, on the other hand, takes less than a microsecond.

> So we’re talking about 5 or so orders of magnitude. Instead of cracking a password every 40 seconds, I’d be cracking them every 12 years or so. Your passwords might not need that kind of security and you might need a faster comparison algorithm, but bcrypt allows you to choose your balance of speed and security. Use it.

[1]: https://codahale.com/how-to-safely-store-a-password/
I could say the same for HR at BT we had one HR person come to present to our team meting and they did not know that the developers in BT are M&P Grades and not CWU blue collar grades.

Though I would agree that asking we have a business problem how would you solve or improve on what we do now is a much better q to ask.
Please explain this...

https://www.newyorker.com/magazine/2017/10/30/the-family-tha...
Machine Learning Conferences of 2018
Republicans reject the idea that inequality should be reduced via government policy, because that would mean limiting an individuals freedoms, in service of the group.

They reject this idea of "collective fairness" because individuals' rights are much more important than the rights of the collective.
fman Year in Review 2017
I think this starts from a backwards premise. The question isn't whether the government should tax inheritances, but whether the government should have a mechanism for people to control property beyond death in the first place: https://www.economist.com/blogs/lexington/2010/10/estate_tax....

Simply having property escheat to the government at death would seem to address the only real, non-moralistic argument raised by the letter: that the estate tax is expensive to administer but doesn't raise much revenue. Of course, people would probably arrange for inter-vivos transfers instead. That would be fine, because such transfers would be taxable income to the recipient (presumably, while we're getting rid of inheritance, we can get rid of what we call "gift income" which is really just regular income).

There is precedent for it:

> Thomas Paine, like [Adam] Smith and Jefferson, made much of the idea that landed property itself was an affront to the natural right of each generation to the usufruct of the earth, and proposed a "ground rent" — in fact an inheritance tax — on property at the time it is conveyed at death, with the money so collected to be distributed to all citizens at age 21, "as a compensation in part, for the loss of his or her natural inheritance, by the introduction of the system of landed property."

There is a certain libertarian appeal to the idea of property rights ending at death. Maybe there is a "natural right" to property. But surely there is no "natural right" to have a whole apparatus of government dedicated to carrying out the wishes of dead people.
> Note that Mario cannot win if he falls from the top ledge (since must always remain large, he can’t fit through a one-tile-high entryway).

I'm pretty sure this is inaccurate with respect to the actual mechanics of Super Mario Bros, although the technique needed might not work with the particular layout shown. As I recall, it's possible to build a bit of momentum and crouch into a one-block gap, then turn around and stand to have the collision push Mario through the gap. A similar technique combined with another quirk of the engine (it's possible to very briefly land on the seam between two blocks in a vertical wall) is used for the Minus World glitch.
> The estate tax has been nearly the best way of reducing wealth inequality, second only to the income tax

Any source for this claim? Comparison of countries with and without estate tax and their wealth inequality? My impression was the data was quite mixed
What bothers me is that this can be interpreted as a "New York thing", to quote Lorne Michaels, and I don't like going down that road.
Building such schemes just widens your attack surface by a margin of 10. There's a reason we have stuck with server side hashing.
Is it possible that the company is being sabotaged from the inside by employees secretly working on behalf of competitors, and Tim Cook is too naive to see through their sycophancy and specious "good" update ideas?
I tried to watch the more interesting parts, it just doesn't seem like a useful approach to me to try to get the compiler to do this work at every compilation instead of the traditional approach of doing it once by generating C(++) code/structures from text/json data in my build. Especially with the "cognitive cost" and debugging issues involved.
This seems objectively false after even a brief cursory search and I'm curious as to why you think it has anything to do with this topic.
I'll treat this like an interview question, and anyone can correct me if I'm wrong: My understanding of it is that it means it's impossible to predict the best solution without brute forcing all possible combinations of action... am I close there?
I only started using cannabis because I got accustomed to the highs from coffee /s
1) We try to encourage saving and investment by collecting VAT instead of taxing capital gains. It's the exact same logic and perfectly consistent.

2) Sales/excise/VAT taxes are still collected whether it's the parent or child who is spending the money. It's symmetrical and doesn't treat one moment in time or one generation differently than another.
Your children will still pay those when they spend their money on riotous living.
Would that not sap people's motivation to work hard and innovate, if they were unable to pass on the benefits to their children?

What if they provided a comfortable lifestyle for their children? Would that just be taken away by the government upon the parent's death?
Are we talking about slavery so? Are you sure you want to call it that way? 9 out of 10 prostitutes would laugh at your face
nice, so do you have to do this directly with the theater chain or can you do something like fandango?
Intro to ReasonML [screencasts]
That's what worries me. My hypothesis is that post-Jobs Apple is not capable of what you describe.
Paid Content's Moment
Interesting to see Rails simultaneously embracing React with the Webpacker gem while also trying to offer a better solution in Turbolinks + Stimulus.

DHH's complaints here about React (and Redux especially) resonate with me, but I have a hard time believing a React-less approach is the best solution. I'd rather Rails roll its own enhancement of Redux - and perhaps CSS management - alongside a handful of component generators that make everything from "Javascript sprinkles" to SPAs easier to manage in Rails.
I would say that the "what to do" depends a lot of your markets. I have spent fair amount of my time attending startups meetups in the past, it was not productive. Selling services, ads also come up as non productive. Staying in touch with existing customers was a better time investment.

You don't have time to test and iterate in six weeks, but I would say that you might know what works.
Marijuana is not a gateway drug. It also offers a safer, less addictive alternative to opiates for some pain management.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5569620/

Your opinion is archaic and not supported by facts. It is the distilled ignorance of decades of drug war propaganda propped up by some anecdotes with dubious conclusions.
> A constexpr is a constant that is evaluated from a code at compile time, [...]

It's rather a constant expression, which is quite a bit more than a mere constant.

> [...] which is essentially just macros. Right?

Macros are basically just text replacement. You can't write a macro and expect most compilers to execute the expressions and code inside the macro at compile-time. Some compilers may still to do that, but it's not very common for more complicated stuff. With constexpr you get a guarantee that the expression can be evaluated at compile-time and it gives quite a good hint to the optimizer to spend more time optimizing that portion of the code.
That may have been the unfortunate case for your college friends, but that isn't the overall trend for cannabis consumers http://ajph.aphapublications.org/doi/abs/10.2105/AJPH.2017.3...
FWIW, late 2011 15" MBP here, latest public version of High Sierra, and no serious problems with it. Feels and acts the same as all previous macOS versions before it for me.
While I agree with you, I just wanted to point out, that Canada isn't clean here either. While I don't really remember all the details, the previous government had a particularly poor reputation for destroying records and attempting to control the narrative on government funded research.

Quick reference article: https://www.vice.com/en_ca/article/4w578d/the-harper-governm...
Apparently an 11 million dollar exemption (soon to be >20 million) isn't enough to satisfy these oligarchs - (not to mention that above that exemption, we're still only talking a percentage, not the entire fortune).
The fifth edition has a similar section in chapter 0: http://matrixeditions.com/UnifiedApproach5thedSamples.html.
They're rich in the first place because they've contributed more to society than other people.
First, this letter is nothing new, this should be marked with "(2001)".

As for the content, this letter gives no evidence of its claims, and simply relies on the emotional power of the phrase "death should not be a taxable event". It makes vague, unsupported assertions about the effect of the tax on saving, the cost of enforcing and collecting the tax, the amount collected by the tax, and the prevalence of avoiding the tax. Without actual numbers, though, it's impossible to argue with effectively, which is exactly the point of this rhetorical style.

The letter also falls into the narrowly hyper-rational trap of elevating vague economic principles to the level of an absolute moral stance. Just because some policy doesn't meet a completely artificial and oversimplified ideal of economic efficiency doesn't mean it's definitely the wrong policy. The real world is more complicated than an economic model.

Ultimately, the most important thing to understand is that this letter was a political statement in support of George W Bush's proposed tax policy in 2001, and not a serious argument. The content is no basis for a reasoned discussion of estate tax policy; it's a propaganda piece.
This is totally not true, and it was proven by many countries where marijuana had been legal for years without any significant changes in hard-drugs abuse. Just google for it, this is the 1st result: https://www.drugabuse.gov/publications/research-reports/mari...
Product Thinking Training
Interview with Mike van Rossum, the Author of Gekko, a Bitcoin Trading Bot
Meaning and subjectivity come from (machine) learning, or relativity as Riccardo calls it.

I think, consciousness from how our brains learn, namely by having internalized the feedback. Which is another way of saying by modeling the world, and updating those models by constantly monitoring the effectiveness of those models.

We are self-observers, integrating our sensory information into a subjective first-person perspective.
What the C++ repl does with constexpr functions would be unrelated to the code generated by the actual C++ compiler.
What are the true benefits of inherited wealth?
The only appropriate death tax is 100%. The goal is not to raise money for the government, the goal is to protect society from oligarchy. Most oligarchs come from wealthy families -- that kind of vast wealth accumulates over the course of generations.

So as to allow minor things, such as a house, to pass from parents to children, a low level exemption is reasonable, so the tax does not touch the poor or middle classes. Suppose the first $5 million are tax-free. That is more generous than the current system, and since $5 million is too small an amount to lead to oligarchy, it should not raise any concerns. But beyond $5 million, the appropriate tax should be 100% -- all of the wealth should go back to the society from whence it came.

The money raised from such a tax can help give poor children something to start with in life, and thus such a tax allows each child of each generation to start off with roughly equal assets. Thus everyone's accomplishments in life become truly their own, rather than being partly their own and partly their ancestors. The over-reliance on ancestors is a sad state of affairs that holds for many children of the wealthy.
Wasn't the estate tax repealed last week?
I have a few: complete my transition to management, help my wife double the revenue of her side business, be consistent about my workout routine and lose another 50 pounds.
I think Hanlon's Razor applies.
Observe that the letter is dumb from the beginning. “Riotous living: no tax”

Now a) have these people never heard of VAT? b) every last bartender, private jet pilot, jazz musician, minder and hooker said wastrel interacts with pays taxes. The truth is, the playboy billionaire is way better for the economy than the upright citizen who sits at home on a pile of money.

And... the author knows this. He’s just hoping that cheap moralism will get you to agree with him when actually it’s part of a programme of action where he doesn’t disclose his actual motivations.

I said dumb at the start, dishonest would be more accurate.
Regarding Kafka replication: What if the following scenario happens?

1. Leader replicates to followers

2. Followers get the messages and send ACK to leader

3. Leader gets the confirmation from followers, increments high watermark (HW) and replies client that messages is commited.

4. NOW: Leader fails before it could piggyback to followers that HW has been incremented.

5. The question is: Since potential leader is not aware of the fact that HW has been incremented, it becomes the new leader and truncates the log to old HW, which means we have lost an entry in the log that has been confirmed by previous leader.

As a result, client has been confirmed that the message has been successfully written, but it has been lost.
That may be, but it's really quite stable for pre-1.0. I have Crystal apps running in production without problems and great success. I'd say, in some scenarios, Crystal is more stable in alpha than some post-alpha language releases I've worked with in the past.
A problem is in NP if a Turing machine, given the problem, can verify a given solution (assuming that the size of the solution is polynomial in the size of the problem) in a number of steps polynomial in the size of the problem.

An example would be 3-SAT, which takes a boolean predicate of a particular form (that it is conjunctions of disjunctions of 3 variables), and then an assignment of the variables, and checks if it satisfies the predicate. You can do this in polynomial time, so 3-SAT is in NP.
I am guessing it is the filesystem. The call to fsync() ( or equivalent) is often the hot spot for DB performance.
Well if you look at the final test at the bottom, it seems that the file system/software RAID play a pretty big factor.
That is what they ment.
100% agree. Some of the questions are ambiguously worded but the results are displayed through the lens of sexism.
That's true, but HN tends to be more liberal so you will be downvoted though.
Get my personal finances in order. I have no debt, a good savings going, and a decent chunk in a 401k from a previous company. Other than that, I have done basically no investing and I know I'm leaving money on the table.