skysight-inc/HackerNews huggingface dataset:
Mikkeller, who know a thing or two about brewing, seem to be making a big push into non-or-low alcoholic beers that actually taste interesting. And speaking personally I'd love to see more things happening in this front. As an old old man (ie past 35) who cannot drink like he did in his youth I'd love to go to the pub on a Wednesday, have 6 pints of varied and interesting beers and still be at work and ready to go the next morning.
> real estate tax evasion in Vancouver

If your problem is tax evasion, the solution is enforcement. If it is a big problem, it will pay for itself when solved.
Let Them Eat Cash: Evaluating the Principle of a Universal Basic Income (2014)
Awesome, thanks! It's the first time I've seen example PEGs explained so nicely. I've let myself add a few small comments with some additional suggestions.

Some additional comments I didn't know how to add on github:

- in load_data(), you should most probably use `local` on l.99 and 103;

- in load_data() l.99, you could consider using the idiom:

local f = assert(io.open(file, "rb"))

though arguably it's clearer as it is now.

Other than that, it would be even cooler if you could also add some examples in the repo of how to deal with parsing errors, as you showed in another comment!
You make the common mistake of thinking that partial security is no better than no security because you can still get compromised.

Spoiler alert: It is.
Faster in theory maybe. In production nginx has always faster, more stable, less resources. I've used both extensively. Varnish has more caching features and configuration for sure.
Hey styse! You guys are doing great, don't get me wrong, every time I try you guys out, leaps and bounds. My two biggest things right now are CI docs are very very sparse and hard to figure out as they are not similar to typical CI systems, at least the ones I used (primarily Travis). And the design is very unusual, it's hard to navigate around. For example on GitHub I can click my profile and boom, all repositories right there, on gitlab, i got to go through projects, groups and all this other stuff, it's just not straight forward.
I'm really feeling the pain right now. Convinced previous company react was better. Even built my own app in React, now I'm at a new place that is using Angular 1.5. My god, it's so painful trying to get everything working correctly with jquery plugins. The blessed route often doesn't work, even though technically it should. I'm also getting performance issues for really simple scenarios...
No argument on taxes not being the solution here; investors make investments, and governments float new taxes and fines (bribes) to see what sticks. They are one in the same.

With that said, I can't very well extradite and try the board of a foreign bank for flooding local markets with newly minted capitol in an effort to monopolize the market and capture the income of the people and gain leverage with the government.

We've seen that happen in the US in 2003-2007. It did not end well for anyone, except a small few in on the scam.

Suggesting that happens again is asking for a darwin award.

Movements like BLM have a half-life, and if they don't burn out, the next phase is guerrilla warfare. First they robbed Lincoln mall by the 100's, then they marched on Michigan avenue multiple times by the 1000's. The pattern indicates the next step is walking banking execs out the window at downtown HQ's. Not a single jury anywhere in the states would convict them.

By the way, if you think that's a good idea, nobody wins in that situation, either.

The permanent, long-term solution here to Vancouver's problems is very simple.

Mandate only citizens of BC can make investments in housing, give the foreigners a time-frame to sell their investments and get out. Then you simply limit the available credit to what people can reasonably and safely pay. Prices will fall to affordable levels in line with the costs of construction.

Investing in houses is like investing in cars; they are consumables. Whether the people live in mini mansions or shanty's should largely be up to them and their incomes should be focused on other endeavors.
Couldn't agree more.

One of the reasons I enjoyed learning and writing Go was that it sort of encouraged keeping things "tight"

Often times programmers look at lines of code or number of classes written as a source of pride, when we really should be looking at these things as expenditures.
Post-Object-Oriented Design
The implication that the article is making is that these incomeless students may be involved in foreign money laundering.
Mall Owners to Department Stores: See Ya
> 70% of the population is Chinese - students may be taught in English but their parents and their teachers most likely are products of a Chinese-speaking culture.
Implementing todo list in Draft.js
Perhaps your claim of fact is being ignored due to its highly dubious nature. That's a list of beers, not of brewers, and even on the first page we see multiple products from a single brewery in a few different cases. The list also appears to be somewhere between 126 and 150 items in length, unless they're making that annoying pagination mistake where you don't give any clue to the true length.

So what you've cited in support of your argument in fact militates pretty strongly against it, because a hundred or so breweries isn't a very large subset of all those in the UK - according to CAMRA, that's a total of 1424, which puts the fraction on your list somewhere around seven percent. That's a little strong for my taste, but still a good beer. It is also, one might dare say, a relative handful.
If you use it for caching, nginx is lacking something quite important at the moment: stale-while-revalidate (https://tools.ietf.org/html/rfc5861)

Aka serving a cached response while the cache is getting refreshed (even to the request who initiated the refresh). Currently when nginx has to refresh the cache it will "hang" the current response until it gets refreshed (the requests that follow, even while the cache is getting refreshed, will get the stale version tho).

It's the difference between your client being amazed by how fast your api is, to "wtf does page X takes 3s to render from time to time" comments.
There are tons of people who haven't read the articles that were before.
yeah, DRY and "less code is better" are to concepts that should be very loose guidelines and nothing more.

"The wrong abstraction is worse than no abstraction" comes to mind here. Very simple, repeated code that is unlikely to change (or unlikely to change everywhere at once because things are unrelated and just happen to do the same thing... -for now-) is much easier to read and maintain than short, clever, DRYed up code.
Azure Status
Anybody who has spent even 5 minutes in a public library knows that this is a big problem with public computers. So why was this a surprise?
You'd need to make sure the prefix code was secure.
That (remote control of civilian aircraft) would be such a rich target for hackers. I would much rather see the civilian aerospace industry implement carefully audited, carefully deployed autonomy (starting with partial autonomy), rather than remote control.

Civilian aerospace does not have the security focus that the military has. Even if you solve the security problem from airplane black-box controller all the way to the remote control cockpit, and even if you find civilian pilots willing to fly planes when a remote pilot can override them at any time... there are there costs of satellite communications, costs of designing and installing black-box remote controls on dozens, even hundreds of types of commercial aircraft, and costs of staffing remote control cockpits with pilots who can fly every type of commercial plane, 24/7.
What happens if it's insecure and allows a bad actor to take control of planes?

You could crash a plane into the ground and nobody on board could do a thing about it.

You could crash every plane into the ground at once.

Maybe that's preventable by more automated safety systems that override if you're going to crash, but there are other equally bad options and I doubt we could block them all. Flying planes out over the ocean until fuel runs out, for instance.
Something might come out of this:

http://www.nature.com/news/tapping-genetics-for-better-beer-...

Editing genome of yeast with CRISPR
Exactly. Even staying at home alone while the supervising parent went shopping sometimes got boring after the first 30 minutes. Albeit no horrible experience, I went along shopping most of the time, not to stay home alone.
I can't believe it's been twenty years, that's insane. Just recently finished The Stick of Truth on PC. Such an enjoyable little RPG. Really felt like you were living in their world.
iOS 10 cydia and iOS 10 jailbreak
Serious question : Why are SPA frameworks so popular these days? When someone asks "What should I use for web development?", It's now all about React/Angular/Ember/etc.

But when I look at how are built the sites I like and visit frequently, I'd say 95% of them are not SPA, they are classic sites where the server generate each page (sometimes with one or two Ajax requests)!

The Single Page pattern is great for desktop-like applications such as Gmail, it's obvious. But otherwise, I don't know... I think I still prefere the "feel" of classic websites.
It sucks. Alibaba fired the programmers and they can do nothing. We need to fight together to protect our right at this moment. Otherwise, you maybe the next guy.
BrewLog is helping smaller brewers manage their brewing operations/data online. Giving the smaller guys access to the tech the bigger companies have. https://brewlog.com/
A Curated Collection of Over 150 API’s
http://kegerator.com
It's cool that Galois got this contract. They're a very nice Haskell shop out of Seattle responsible for projects like Copilot and Cryptol.
Banks can't perform margin calls on property. That simply doesn't exist.

If you have a mortgage, that is a contract. As long as you are paying the mortgage off as agreed upon, the banks can't take your house.
Now you need to come up with a name for it and start a certification process and start charging for training and certification...
Java don't have async/await, but .NET already has it for years. Lambda expressions for Java were also released many years after C#. I prefer properties in .NET comparing to getter/setter functions in Java. There are other advantages of C#, just check tread about this on stackoverflow.
Same in Italy. Weird.
Because you have the full power of JS available to do whatever you want, however you want, to generate HTML. With a templating engine, you only have whatever the templating engine provides.
> 3. It should not be redundant

Not sure I agree with this one. While abstractions are a great way to reduce the length of code, sometimes they break readability.
When you read code, sometimes, you feel like you don't read a solution to your problem, but a way to solve your problem masked behind abstractions far removed from the domain concepts.

That's why, sometimes, redundancy is better than the wrong abstraction.
https://www.brewdog.com/

also see https://www.theguardian.com/commentisfree/2016/feb/29/brewdo... which was on HN not long ago, discussion here https://news.ycombinator.com/item?id=11201300
Most of all, clean code should be easy to reason about.
there are no margin calls on a mortgage, and most of these buyers paid cash out of pocket anyway.
I've found many of those supposedly 'hardware' wifi kill switches were software controlled (When I installed Linux on an old Dell, it completely ignored the state of the wifi switch).

I want a switch that physically cuts power to a device, but no... :(
Varnish Cache Author here.

The Varnish Cache FOSS project and Varnish Software the company are two entirely different things.

By and large, the Varnish Cache FOSS project is me, and I am not employed by Varnish Software: I have my own one-man company where I "make computers to do weird things".

The time I spend on Varnish Cache is funded by "The Varnish Moral License":

http://phk.freebsd.dk/VML/index.html

(See also: http://queue.acm.org/detail.cfm?id=2636165)

Varnish Software is one of the handful of companies who pay via the VML to keep me working on Varnish.

Varnish Software has also supported the project in many other ways as well, from running the project server to donating manpower and source code.

Some of these things are being scaled down, for instance the project server had become the square peg in their round internal IT systems, so I have been migrating that off to a server kindly sponsored by RootBSD.
I've been very happy with the material-ui components for React. They cover every component I need, and it was trivial to integrate them into an existing app over time, no need to do a full conversion on day one. They also seem entirely React idiomatic, I've learned a lot about how to build reusable components myself from their API.
Prevalence of API's. One common interface to query/update from. You don't have to do both server side, and client side requests. Rather do it all client side.

I've done of a few of these types, and now have moved onto mixed environments. Where most is rendered server sided, then only updates requested client side. Of course you're doing things twice for same queries.
What you describe is a great program for certain kids especially 'gifted' kids, but is extremely detrimental to most children in general. Most children need guidance to learn, and do not have (yet) the self discipline to just read books and learn.

Lets take learning off of strict academics for a second. Imagine playing a guitar, the guitar method of just reading some guitar books and listening to music, will definitely work for motivated students, and it is a necessary at some point to reach this independent learning level. The most common reason why most guitar students don't progress is because they don't do the necessary boring ass drills, scales, arpeggios, chord movements, slurs etc. This is ok with guitar, it fine to just lose the 75% of students who really want to learn the guitar, and have some motivation, but dont have the ingrained motivation to do 20 minutes of pentatonic scales a day for 6 weeks. However it is not ok with practical math, its not ok to just lose the 75% of students who don't have the ingrained motivation to memorize the times tables.
rote memorization and practice is important in education for most students.
> A mode of thought I would expect in socialist countries, not the US...

I hate this notion. I stay in India -- a socialist nation, which has its own problems but "lack of freedom" compared to any other nation in the world is not one of them.
I am versed on the blockchain. My question was not regarding its merits or usages. My question was on your phrasing of importance and how blockchain would be considered important to Darpa.

Do they have publicly known projects where they intend to use it? The funding itself shows they find it valuable or at least are curious enough to spend but for what reason?
It's the way my brain works for sure, but dense material is always harder for me to get through when it looks dense and is laid out densely. My brain instantly puts up a hurdle and makes assumptions about the material.

That said, it seems like the entire mathematics and scientific community disagrees with me :)
I actually read the whole article. The porn part was an afterthought at the end, but it appears the editor decided to promote that part into the title, because clicks. Music videos and extended use was the actual main culprit.

My takeaway is, why roll out wifi if you don't want people to use it?
I don't think we will, because most in the driving seat make their money identifying visitors. Cynical but true.
While some of these points have something to do with 'clean' code or maintainable code or whatever, this copy-pasted list of very very shallow statements about code isn't really useful. I expected there would at least be a few examples on how to implement these principles, perhaps in a 'before and after'.

Maybe there should be a 'click-bait' button on HN with which we can report things as such, along with posts such as 'Why I won't be using popular-technology-x ever again' and '10 things I hate about SQL'
From the README.md on GitHub:

> (aka "Algebraic JavaScript Specification")

It's a JS library to implement algebras in code. And:

> An algebra is a set of values, a set of operators that it is closed under and some laws it must obey.

> Each Fantasy Land algebra is a separate specification. An algebra may have dependencies on other algebras which must be implemented.

So that is it. It's "weird", it has a lot of functional concepts (which may or may not be present already in the language -- I'm not a JS-guy myself). It sure must be interesting working on code that does all the things this project does, and I can see it must've required it's share of effort.
日了狗了。
From the fine article:

> Auto-GCAS continuously compares a prediction of the aircraft’s trajectory against a terrain profile generated from onboard terrain elevation data.
ARM Research Summit 2016 Keynote Live Blog
AFAIK its more like Wine than a VM.
I hope your are joking because it would be trivial to sue your company and its customers ;)

But yeah, what are the criteria for deciding whether it's empty or not. People will get creative quickly.
May I ask if you have seen yesterday's post about Cx and what do you think about it?

Cx documentation is written using Cx and it offers plenty of interactive examples and code snippets.

https://cx.codaxy.com/docs/widgets/grids

Disclaimer: I'm the author of Cx.
No scent of bias against either Trump or Thiel in this article ;-)
Tesla dropped by Mobileye for “pushing the envelope in terms of safety”
I agree about the dangers of over abstraction but you're implying it derives from the principles, however the lines

The KISS principle states that most systems work best if they are kept simple rather than made complex
Therefore, simplicity should be a key goal in design, and
unnecessary complexity should be avoided. YAGNI is a
practice encouraging to purely focus on the simplest
things that make your software work.

made me think that it clearly warns against overengineering.

(edit:formatting)
I recently discovered an interest in philosophy, and found this book a great introduction. There's lots of different types of philosophy - maybe you're interested in what makes a government good, or maybe you're more into the whole "what is reality" part of it - and this book provides an introduction to the different types, as well as the major philosophers from the last 25000 years.

https://www.amazon.com/Philosophy-Book-Ideas-Simply-Explaine...
Thanks for posting the actual event so we can draw our own conclusions.

This reminds me of how you read a story in the news about something you know, and you just shake your head and are shocked about how wrong every single piece of it is... then you go on reading all the other articles on topics you don't know about and genuinely believe they are informative.

Really, shame on Mic for their terrible reporting on this story. There is an interesting phenomenon going on here, but I think it has nothing to do with inappropriate jokes causing a toxic atmosphere.
The gap between the surface of the screen and the bottom of the laptop is so tiny that when you close the lid, any dust particle, even so small you can barely see them, gets squashed against the screen. When you leave the laptop charging for a while, static seems to build up on the screen, and it attracts dust particles.

You can tell this is not an incidental thing if you examine the surface of a 2 year old screen. Even if you don't have visible scratches, you can see the contours of the trackpad on the screen, where the gap is a fraction of an inch wider, and the screen stays more pristine.
http://brewfactory.org/

"Full-Stack Homebrew with IoT and Node.js"
a blog post about: https://blog.risingstack.com/brewfactory-full-stack-homebrew...
It's interesting to read about the reproduction of the experiment. Some takeaways:

* The number is low, only five, but I think it's enough for an informal experiment of a newspaper (not a peer review article)

* They don't have a control group. What happens if you must log all your activities for 8 hours and feel that someone is looking over your shoulder? (Can you be with your SO?)

* It's not a 100% reproduction. It's nice that here the children were allowed to talk with families/friends, instead of being forced to be alone or with unknown people.

* No suicidal thought. Perhaps the problem with the other experiments was the isolation? Did the subjects in the other experiment have suicidal though before the experiment? Was the suicidal part exaggerated? For example:

- "Do you think that you can survive one week in the conditions of this experiment?" "No, I'd kill myself. (as a figure of speech) [1]"

- "Did you think about suicide?" "No" "Not even a little?" "No" "Not even for one moment?" "OK, whatever, perhaps only once."

* I think that an important quote is:

> "When I wanted to play the guitar, I didn't have my phone to search for new chords. Luckily I had some chords printed out already," she said.

Perhaps doing a two hour rehearsal and repeating the experiment one week after will remove most of the problems due to the lack of preparation. It's like trying to go to a camping without previous experience. You will put the cans, but forget the can opener. (Been there, done that.)

[1] I'm a native Spanish speaker, so I don't know the exact idiom in English. In Spanish from Argentina we sometime use phrases like "Cuando se me cayo el florero me quiería morir." -> "When I drop accidentally the flower pot, I wanted to be dead." but everybody understand that it's a figure of speech and not a real suicidal feeling. I'm not sure how to translate the exact feeling with the right idiom to English. I even had to add the word "accidentally" to the transition to make the first part of the sentence clear.
Forging a folded hatchet
https://news.ycombinator.com/item?id=12505478#12505487
I'm 51, and I only run a little more than half that much. On the other hand, distance only affects the on-road time. When you factor in getting ready and cooling down and stretching and dealing with gear and everything else, I probably spend more than an hour a day on average.

Then again, it's something that just has to be done. Some form of exercise is necessary to stay healthy and sane. I need to sleep and bathe, I need to do housework and pay bills, I need to do all that other adult stuff . . . and I need to exercise. Any option will take time. Like every other obligatory thing, that means less time reading or surfing the web or playing video games or watching TV or whatever. Oh well. Life's like that.
This is a 3D model of a clitoris – and the start of a sexual revolution
Let's. Microsoft is the biggest spender on R&D amongst software companies and they sponsor a lot of research without clear immediate benefits. This is in stark contrast to all the other big companies who largely only sponsor projects driven by product requirements. They regularly publish research papers in the best conferences and journals. MSR is the last bastion of well-funded, blue sky industrial R&D and the closest (though still a far cry) approximation we have to the precedent set by Bell Labs and Xerox Parc.

I don't begrudge them a few patents in exchange for that.
I waited to have a established career and money to pursue a Philosophy degree just for the sake of it.

Many Americans obsess about graduating in their "dream field" before they're 22. It's much better not to worry about food, roommates, books, and so forth.