skysight-inc/HackerNews huggingface dataset:
> The dev source code isn't stripped of if-statements, right?

When I use a feature flag as an alternative to branching, then I delete the if statements once the feature becomes permananent and gets released to all users. It's analogous to merging a branch. Obviously I'd leave it there during QA and A/B testing, but once toggling is no longer necessary, I remove the toggle.

> Ok, but how? Assume an express server.

You probably have feature flags already and just didn't call them that. But normally in any given project, there are multiple ways to wrap a feature in a toggle.

Here are a couple of examples I use:

- I use handlebars for my frontend templating. When I have a feature that needs to serve or withhold some HTML to/from the user, I put the feature flag in my JSON file of variables that get passed to handlebars. Handlebars has a way to wrap HTML with a boolean test.

- I use the Google Closure compiler to optimize, uglify, and minify my code. When I need a feature flag that is code only, and I don't want users to accidentally get exposed, I use a boolean @define in JavaScript, and wrap feature code in an if statement. When the Boolean is false, Closure compiler removes that block from the output code.

- I set up my own JSON file of config constants that are injected into the code during build. If I have a feature flag to A/B test something, or that I do want released to users but has a secret switch to enable, then I put the constant in the JSON file, and write UI code to toggle the flag. This one usually generates more code than the two above, but whenever I decide that the feature is either dead or permanent, I remove all the code to enable and disable the feature.

- For fully dynamic toggling, I put my boolean config variable into my database. I use Firebase which is a giant pub-sub, so I wrap the toggle in a subscription to the database variable, which might then (for example) inject some HTML and/or toggle the CSS display attribute of some things on my page.

> Are feature flags really so nascent that there isn't a FOSS solution for it?

No, feature flags have always been around, since long before branching. There isn't a FOSS solution for it separate from your framework(s) because how they work depends entirely on your stack. They're also normally really simple, adding the dependencies of another project just to have a boolean in your config file or in your code is usually overkill. That said, there are FOSS and commercial solutions for A/B testing, which is usually a feature flag workflow, but it comes with lots of other stuff you might not need, like the reporting, analytics and statistics parts.
Just general health is a good prerequisite. I always liked to have a center/grounding focus for a trip if it starts to go off kilter. Back in High school I would use my world of warcraft character alot. That definitely seems dumb and not at all spiritual on reflection, but it would help ground me and lighten the mood (also he was a badass warrior so it was just cool to think about).
13.5 hours to "identify the issue"... and it turned out to be "a server failure"!?

That leads me to believe there are some major shortcomings that need to be addressed before this company should ever be trusted with anyone's money ever again.
For sure, there’s more than one reason for the obesity problem.
It's modulating the expression of some important genes;

"It is also a selective inhibitor of the human cytochrome P450 isozyme 2D6 (CYP 2D6)"

https://www.ncbi.nlm.nih.gov/pubmed/16149329

"the inhibitions on human liver CYP3A4 and CYP2D6 enzymes by those β-carboline alkaloids were studied kinetically. Harmine, harmol and harmane exhibited noncompetitive inhibition on the activity of CYP3A4 with K(i) values of 16.76, 5.13 and 1.66 μM, respectively. These β-carboline alkaloids were also found to be both substrates and inhibitors for CYP2D6. Harmaline, harmine and harmol showed typical competitive inhibition on the activity of CYP2D6

Inhibition of Human Cytochrome P450 Enzymes 3A4 and 2D6 by β-Carboline Alkaloids, Harmine Derivatives (PDF Download Available). Available from: https://www.researchgate.net/publication/50834428_Inhibition... [accessed Oct 1, 2017]."

https://www.researchgate.net/publication/50834428_Inhibition...
They do have colors from this design system published as a package: https://www.npmjs.com/package/photon-colors

A number of other related repos under this org: https://github.com/FirefoxUX
> Only if you believe "Europe" = "nation states" or an EU super state.

Europe, as we know it, is a set of "large" nation-states that made enormous contributions to humankind. These contributions wouldn't have been possible if Europe was a number of small fragmented states with their own languages and customs.

> maiming and potential killing of civilians by police

How do you equal shooting rubber bullets to "potential killing of civilians"? Stop exaggerating the story to fit your personal views.
Flutter: How we're building UI framework for tomorrow at Google [video]
Putting pacific, albeit illegal, people in jail worked wonders in the cases of Gandhi and Mandela. The spanish government should be in some kind of delusional state if they think they can solve this problem jailing people.
Companies Should Offer Long Leaves in Between Projects
A lot of bad shit happened in the Dark Ages, that's why they are called the Dark Ages. Doesn't mean we shouldn't correct them now we know better.
For me, it wasn't about efficiency. Walking turned out to be the one thing I could work into my routine and actually do consistently every day. A big reason was that I enjoyed it.

Threre are a couple health benefits that walking has over HIIT. For my particular case, my doctor told me that the amount of time I sustained an elevated heart rate was more important than how hard I pushed myself (don't try to walk the same distance in a shorter time, instead walk for longer). And there are cognitive benefits unique to walking [1].

I can't speak for anyone else, but waking turned out to be my gateway drug to all kinds of other healthy lifestyle changes.

[1] https://www.theatlantic.com/health/archive/2014/10/walking-f...
Weev (Stormer's CTO, I guess) claims that SPLC is trying not to serve Anglin once he retained Marc Randazza to avoid having to bring a lawsuit they're likely to lose.

http://weev.net/splc-i-will-personally-serve-andrew-anglin-f...
Yes, but I wonder what these people are using their skills for today, in this age of apps.
Adding: I looked it up and Feynman quotes 10^8 times as much energy dissipated per step as the Van Neumann-Landauer limit when using the transistors of his era (1984-86 is when he taught the course).
Three glasses of milk a day can lead to early death, warn scientists
But the abandonment of free speech by _private_ company, while worrisome, is very understandable. Internet and the SV made everyone more utilitarist. A lot of CEO (or website owner) think that way: it may not be very legal, but since it reduce cost and make more people happy than it make people unhappy, it should be fine.
But from an utilitarist point of view, intolerance have a huge cost and create more unhappy people (not talking about violence, just people being the target of this intolerance) than happy people. Therefore, intolerant behavior should be stopped if there is some possibility.

Now, of course this was a mistake, but this mistake is understandable.

(I'm more of a negative utilitarist myself, but this work the same way)
The Latest Mega HTML5 Cheatsheet
They're saying, I think, that if you're going to have a referendum on independence, ever citizen of the existing state should vote, not just members of the proposed state. Otherwise, you could just have thousands of tiny groups of people each declaring their own independent state.

As a UK citizen, I would have preferred it if our recent referendum had been voted on by all members of the EU, rather than just British citizens.
Unless you're Steve Wozniak, who has a tear-off pad of $2 bills.
CodeChef Certified Data Structure and Algorithms Programme (CCDSAP)
LMFTFY: now, the world have the photo of violent Spanish police repressing idealist people just voting.

(I'm still looking for how to make fit the local police not doing its job in the story of those violence... maybe there is a rational justification using facts unknown to me; like the central government only employing unstable violent people for their police forces, who have been rejected by local ones?)

Unless you consider the "work" of police is to beat the local population especially when they have their hands up.

I completely understand the narrative you gave for what happened before all that shit and agree with its factual aspects, but it does not magically provides quotes for clearly documented behaviors. People justifying violence by politics are, IMO, the most dangerous. It is inadmissible to sound like a local police force ignoring court order justify central police violence against a population.
> Could psychedelic drug ayahuasca have health benefits?

Certainly, anecdotally I kicked a very strong 20 year coffee and sugar habit after doing a 3-day retreat in Latin America this past winter. Just happened naturally, oh, I don't need this daily coffee and sugar fix anymore.

On the flip side, as the article mentions, the psychedlic tourism industry as a whole doesn't have formal safe guards in place for when the shit hits the fan with one (or more) of the attendees. My friend, who sat all eleven days, said that two women just completely lost it on day 3, screaming hysterically, out of their minds battling unknown demons.

The retreat "helpers", do the best they can to settle you down, but when you're deep in the experience it's very hard to distinguish between real/unreal. For example, in some kind of existential moment I shouted out in my mind's eye, "you are the most high!". In reality I shocked the 30 other attendants out of their seats, and a helper rushed up to see if I was Ok.

It's an extremely powerful substance. At the end of the retreat, when everyone headed off to sleep, I was still tripping so hard that sleep was impossible. When I finally lay down the sheer flow of non-stop Dali/Escher-like hallucinations running through my mind were sufficient to make me question whether I was ever going to return to reality -- Pandora's box indeed.

tl;dr; proceed with caution, can have beneficial side-effects.
Just the amount of people I have seen injured just in the videos being shared easily reaches the hundred. To be honest, even one case is not acceptable.
The thing I get from this most, is that Google as a company is very smartly investing across multiple approaches to the same problems. By betting on "all the horses" instead of picking one, Google can help each different approach be the best it can be. In this specific case, for example, you could use Flutter or build a PWA using Angular or Polymer, all to build your next great mobile app.

Which approach will turn out to be best? It might matter a lot to a developer using these things, but overall Google can be in the right place regardless, because they have great solutions for both major approaches. At least a couple of different frameworks less libraries for building rich web apps as PWAs, Flutter and ongoing evolution of the native APIs for the native approach, and flutter versus the native APIs in terms of whether it is better to render at the OS level or app level.

(I happened to be finishing up watching this when I saw it appear here is a new submission.)
It's proportional. What are they supposed to use, water balloons?

The naive support for Catalonian nationalists on this site is not surprising, though.
> His point has been for quite a while that if you're a young man, and you're unhappy with your life, the way to fix that is to work on fixing your life, not joining some far-right movement.

Weird, then, how as soon as something went wrong with his life, he joined a far-right movement. (And seems to be very well-compensated financially for doing so.)
Adventures in WAF
I'm guessing you already know this since you brought up this specific game/version, but it seems to accept any answer with a subsequence matching its list of synonyms, which can be abused for tomfoolery:

https://www.youtube.com/watch?v=rrWR5DqG4ZI
Why Hillary Clinton's Book Is Worth Reading [by James Fallows]
24 cognitive biases (summary poster)
Sure. But they had better come up with a currency, nation/state political system in which others can adhere to, tax system, military, and all other things that nation-states do.

I dont think a "town", regardless of their richness, would be able to handle that.

Now, I could see the eastern seabed, with the bounds of the Appalachian mountains as a "country". I could also see the northern and southern areas between the 2 mountain ranges being their own countries as well. But not a "town".
Modular documentation: How to make both writers and users happy
WOW. I really enjoy whenever psychedelics hit the mainstream.

I'm sitting on the fence regarding psychedelic coming out: blog.mostlydoing.com/2016/04/7-reasons-why-you-dont-psychedelic.html

Those who know know, default legal system is still unadvantageous towards drug users.
As mentioned before, completely different circumstances. Spain is a democracy, Norway-Sweden was not, and the foundations a lot shakier.
Only somewhat facetiously, sure. Why not? Though I expect that Atherton won't be as fabulously wealthy once its residents can't get visas to work in the United States or maybe even visit. It might also be tough if they lose access to electricity and water they need.
Hence the Catalan's are attempting democratic means...
The relevance of that being?
The fact that the court order comes from Barcelona is irrelevant as that court and judge:

1. Are hierarchically under the Spanish judiciary

2. They are ordering these actions (not including violence BTW) based on the automatic suspension of the referendum (there's no ruling) from a tribunal in Madrid
> Clearly one person declaring their bedroom to be independent is silly and not allowable, but a large reason is.

Clearly states are silly and not allowable, but here we are.
Ask HN: What kind of startups can challenge Facebook, Google and Amazon?
> Is talking about the obvious explanation now taboo?

Except that's not what happened. Ridiculing a post for non-substantive content is not labeling that post taboo, it's labeling that post pointless.

> But besides that, speculation without evidence is part of science.

It's not. Speculation is still founded on reasons. No serious scientific paper, ever, just tossed out an idea without justifying why it might be true, for instance, by explaining why it's consistent with existing evidence, why it might in fact be a better explanation than alternatives, why it might provide a better foundation for future work, and what sort of predictions the idea might make if it were true.

There were literally no reasons given in the OP's post. This repeated appeal to science is beyond absurd, and is frankly indicative of people who seem to have no idea how science really works.

> In this case, the speculation was ironically completely motiviated by reason.

No it wasn't. Where is the reason why it might have been suicide in a post that consists entirely of the word "Suicide?"
I really like the fact he said I'm being a dick and it's a dick move but it still was at the end of the day a dick move.

Cred for saying it, it's better than most companies but still he kowtowed on such a important decision, freedom of speech and will the Valley uphold it and failed. Little sympathy really should be given. Just cred for calling it.
Moby Summit Los Angeles Recap
You might like Electric Sheep [1] as well then.

My fav is the Word of the Day. It shows a nice blue background which doesn't hurt the eyes, with a word of the day. Though I don't use a screensaver on my MBP anymore; it needlessly drains the battery. Instead, I made a small Python program which selects a random word and shows the meaning for that word, using dict. Now that I think of it I could've used the current date as seed plus some calculations to come up with a stable word throughout the day which changes daily.

I also like the Chromecast one with photos from the past, tho a bit confronting Google has all that data.

[1] https://gold.electricsheep.org/
I know you're not supposed to comment about downvotes, but seriously people? I literally asked for clarification and got -3 for it. Easy on the downvote button, people.
again, this is someone saying DS said it, but not giving a screenshot or a quote
PaaS for Java Developers: Coding the Architecture
WATCH Live: Milan – Roma
>> because people would recognise they are better off together

I don't believe for a second that people will. There are groups of people who don't give a crap about "being better off" - they care about showing those damn Spanish/British/French/German/Polish/<insert group name here> what they think and being able to "finally decide for themselves" which is complete nonsense. If people could so easily see the benefits of staying together then Brexit wouldn't happen and we wouldn't be seeing nationalist movements all over Europe nowadays. The problem is that the benefits are not obvious and you have to actually educate yourself a bit about them - but if someone is unwilling to put the energy into it, then it's not going to happen.
This is not so simple. Most european countries were formed by conquering neighbour countries by the strongest one. So this is the Constitution written by conquerors. Not everyone might be happy with it.
Oh please.

Just because it happened a few hundred years ago, doesnt mean they lost their own heritage, their language, and their self-determination.

Look no further than Ireland. That battle goes back to Grace O'Malley and Elizabeth in the 16th'c. In reality, it went further back, to this structure called the Hadrian Wall, but that's in 1st c.

"Living memory" indeed.
> Feature flags are a nice idea, but nobody outside of Facebook seems to be embracing them. The tooling just isn't there.

This might be just a terminology problem. Any company that does A/B testing is using feature flags, so pretty much most of the web is using them. I'd bet more or less all programmers have them in their repos too, maybe you just call them something else, or didn't think they could be called feature flags. If you have a config file, chances are high that you have feature flags already.

For tooling, I get the feeling you're thinking of feature flags as something other than your config files and code constants. But that's it: feature flags are really simple. Add a boolean const defaulted to false in your config somewhere, and wrap the code in an if statement. When you need to A/B test or release incrementally, that's when you need extra non-trivial code around features, and that's often not something someone else can provide. Turning the feature on and off requires specific knowledge of your project's stack and UI.
I think it really depends on what you’re developing and delivering. Master based development is great for end-user deliverables (web apps being the big one that comes to mind, many libraries could do this too). But if you’re writing a language or LTS releases I could see a pretty good case for a branching model like git-flow.

My experience with a work using gitflow is similar to yours, it was very messy and hard to manage. It was even worse that those driving it didn’t really know much about git so 95% of the commit messages were “Merged X into Y...” instead of using a more linear history.
Bryan Cantrill has a great post on unikernel models: https://www.joyent.com/blog/unikernels-are-unfit-for-product...

From my read, the benefits do not outweigh the costs. If you want light weight microservices, OS level virtualization is the way to go.
But that's not even what his argument is, it's much more bizarre. If I understood correctly, he claimed that

1) Intolerance of intolerance is tolerance.

2) Every modern philosopher agrees with #1.

Both a false statements, as far as I can see.

As for "Intolerant behavior", it's a completely subjective concept that is orthogonal to morality. In most places in Saui Arabia it's not tolerated for a woman to not appear wrapped in a bag, and considered immoral too, but I consider that kind of treatment of women completely intolerant and immoral in itself.
Samsung Galaxy S8: A “Rose Pink” Approach
Sigh, English media have always been very sceptical against Europe. That is nothing new.
Words and votes - that is what we use in the UK to handle the issue of Scottish independence. It has proved much better than guns (c/f Scotland and the troubles in Northern Ireland).

The Spanish police have gone in using force to prevent a democractic process.
'The Mind Illuminated' by Culadasa aka John Yates is an excellent guide.

It takes you gently through 10 stages, from just beginning all the way up to Enlightenment (for some definition of Enlightenment). It thoroughly covers all bases without any mumbo jumbo.

It does however require you to ramp up your practice to at least an hour daily if you want to make the most of it. Personally I found this a little daunting at first, but now that I 'get it' I am actually really motivated to put in the time and I am getting a lot out of it.
True on all counts, but isn't there notion of free speech in Spain?
None. There are no startups that can simultaneously challenge companies that provide 3 different services to the average consumer. And the only way to compete with the datamining end of their business models is to have access to even more data, which may not even be feasible.

Could a startup challenge one of these companies individually? Yes. All three at once? No.
The nationalist narrative is tribal though, they do consider themselves a separate ethnicity.
The Prisoner’s Salary Dilemma
Yeah, Spain was looking like the good guys at first: rich Catalonia wants to keep all their tax money and not help anybody else. Nobody was supporting Catalonia and their illegal vote was completely irrelevant and wouldn't have been honored or respected.

What Spain should have said is "ok Catalonia, have your little vote, it doesn't mean anything." And then just ignored the whole mess.

Instead they sent in the brute squad and now you images of innocent people getting beat up in the street by Spanish thugs.
It doesn’t seem like this is true from his Wikipedia page. Don’t see any movements listed here. Don’t think havi views that a far right movement supports is the same as joining and supporting that movement, and I don’t think it’s fair to label him that way.
Node Web App Without Database
This is what the Confederate States of America did.

That line of thinking is very unpopular, at least in the US since that time.
These components were built as part of the Servo project and then ported to Firefox, so you'd probably just want to ask the Servo team directly. You can find them on IRC, in the channel #servo on irc.mozilla.org.

There is https://blog.servo.org/, but it's mostly gradual updates on things, not a general overview.
Article is from 2014.

Reform of the law passed in 2016, basically to make knives with a spring that holds them closed legal.

https://www.villagevoice.com/2016/06/15/gravity-knife-reform...
Do you normally get up in arms about large scale B2B arrangements?

Are you upset that magazines and newspapers collect payment (twice!) from both readers and advertisers?
This isn't that haunting. It's just another iteration of well-funded standard lawyer games. CEO foresaw this kind of stuff before he undertook the action.

If you're looking for a sympathetic plaintiff, Nazis aren't a good place to hang your hat.
Lufthansa’s FlyingLab turns airplanes into an event space
So what is your point? Everybody can very well guess that there have been some violent civilian in that kind of situation. If you specifically respond to unprovoked police violence with that kind of cherry-picked information, its kind of natural your reader might think that you might think that there is a kind of justification, somehow.
Donald Trump rejects diplomatic solution with North Korea