skysight-inc/HackerNews huggingface dataset:
As to the rest:

5. Completely agreed, especially since, semantically, it's almost always used as "Error/Success". Silly naming aside, though, it's extremely similar to Maybe, except that the failure case can contain a value (an error message, for example).

6. Think of your entire "action" (the second argument to get) as a function that takes a request and returns a response. Scotty takes care of invoking your action as necessary when a request comes in, and it also handles writing the response out for you.

7. liftIO takes an `IO String` computation as input, and transforms it into an `ActionT Text IO String` computation. This is done about the stupidest way possible: it returns an action that ignores the input request, generates a string, and "returns" it. liftIO is a heavily overloaded function that is defined for lots of monads that can easily incorporate IO computations, usually because they themselves are nothing more than dressed-up IO computations.

8. Yes, -> and <- are very different, and -> is overloaded. = and <- are very different because the latter relies on a monad to define how a value is extracted from the right-hand side and fed to the next part of the computation. The empty pair of parentheses is like void in C - a function with a return type of () doesn't return any value. In the case of our HTML actions, an action of type ActionT Text IO () may have a side effect of writing a lovely HTML response, but it doesn't produce a value like `param "uri"` does - it just does the side effect and it's done. Yes, indentation is important in Haskell, it's less regular (or you might say "more expressive") than in other languages, and in the code you linked it looks like it got jumbled somewhere along the way.
Spent dairy cows tend to end up as ground beef.
So was the myth of backward masking. And let's not forget all the album and book burning. And subliminal advertising.

It's definitely a sign that they're losing ground. Amen.
WeWork could run out of cash by mid-November – here's what would happen next
Building an MRAM Array
My cat had a web page in 1996. So old it isn't in the archive :(
It's good to see Basden come out and explicitly say that Extinction Rebellion is an anti-white group:

> And I’m here to say that XR isn’t about the climate. You see, the climate’s breakdown is a symptom of a toxic system of that has infected the ways we relate to each other as humans and to all life. This was exacerbated when European ‘civilisation’ was spread around the globe through cruelty and violence (especially) over the last 600 years of colonialism, although the roots of the infections go much further back.

That's right - it's not about the climate, that's just the foot in the door for his extremist politics that seek to demonize European-derived peoples for all the evils of the world.

Literally. The thrust of the essay is that white people are an "infection":

> As Europeans spread their toxicity around the world, they brought torture, genocide, carnage and suffering to the ends of the earth.

No mention of bringing medicine, science, technology; no mention of the toxicity already to be found everywhere else, as any student of history knows that war is found deeply entwined in the history of all peoples. Instead, he's got a rebranded version of the patronising Noble Savage myth wrapped up in a shiny new variety of stark, anti-white rhetoric.

His resolution is equally startling:

> So Extinction Rebellion isn’t about the climate. It’s not even about ‘climate justice’, although that is also important. If we only talk about the climate, we’re missing the deeper problems plaguing our culture. And if we don’t excise the cause of the infection, we can never hope to heal from it.

What _precisely_ does Basden mean when he says we need to "excise the cause of the infection"? He spent the entire article lumping all of the world's problems at the feet of white people; what does excision look like to him? He claims to want to initiate rebellion (isn't this technically sedition, which is defined as "conduct or speech inciting people to rebel against the authority of a state or monarch."?)

Does have plans to have white people board trains heading to locations unknown? Is that going to stop climate change, once and for all? Can he find a battery-powered locomotive with sufficient range to bring all the white people to his preferred final destination, or is using diesel one last time a sacrifice he is OK with?

I find XR to be a very problematic group if people like this are in charge. I was fine with them protesting for climate change, but this is altogether a different story, and co-opts many of the white people in his own movement for a cause they may not be aligned with.

I also find it baffling that someone professing this sort of thing is not only able to post with abandon on any platform he likes, but is allowed to organize demonstrations in the streets, while any serious counter-argument to claims like these is deplatformed, any attempt at demonstrating is shut down or implicitly allowed to be physically attacked by counterprotesters. I certainly don't want to restrict Basden's right to free speech, but something tells me he'd have no problem restricting mine.
For a desperate attempt, a period of over 6 centuries seems frighteningly effective (1184 to 1808 AD).
Who is branding him as this?

He's being branded as an insensitive twit who's pattern of behavior has showed no signs of attempts to change, understand or really engage with the criticism he chooses to attract, and has finally broken the camel's back and this is the result.
One of the best "I met a bloke down the pub" stories.
Maybe it's because your stated goal is baiting a flamewar in bad faith.
It's probably because you came off as a bit unhinged and opened with a salvo against HN (which many people here understandably like).

If you'd phrased it as "meh, I like make" you'd probably have half a dozen upvotes from the minimalists.
At least in the U.S. and Canada, there are no mushrooms where if a healthy adult nibbles on them to taste them and then spits them out, they will be anywhere close to the LD50. You might still get some minor liver damage or whatever, but not enough to kill you. This is as opposed to plants, where people have died just from putting water hemlock twigs in their mouths to play with.

There are a bunch of similar-looking species where the proper way to ID them to know if they're edible or not is actually to nibble on them and then just spit them out.
> In what way is that not exactly the sort of circularity that we just agreed about above, given that the real form is the issue to be decided?

Because measurements are not assumptions.

If we use assumptions about UEOS/UEIS to figure out what telescopes show, and use that as evidence for UEOS/UEIS, that's a circular argument.

If we use measurements to figure out what telescopes show, without any assumptions about UEOS/UEIS, and then use that as evidence for UEOS/UEIS, that's not a circular argument.

(And obviously there are always some assumptions when being sufficiently pedantic. It's an assumption that the sun still exists, etc. That's why I'm specifically saying "assumptions about UEOS/UEIS".)
Well said. I agree completely.

The question I would ask next though, is whether RMS is well intentioned, humble and aware of his own capability to be ignorant? I don't have a strong opinion, but there does appear to be a long history of behaviours and musings which suggest he isn't.

I'm not saying he deserves to be a social pariah. But it seems reasonable for the FSF to want to disassociate with him.
>> Because there aren't immediate benefits. They only pop out at scale and with complexity, as I said.

What about low-barrier situation with scale and complexity ?

An imaginary situation:let's say you start building your system from a large open-source project that needs a lot of customization.

Will FP be of big enough benefit than ?

I'm curios about the answer, but for a sec, let's assume it does:

Than could it be a uni project ? dig into the belly of 2 beast projects, one FP, one OOP. And see the difference in what you could achieve.

Could something like that work ?
"classes A and AB work by making output transistors conduct more or less current depending on the input signal. The scheme works very well, but it produces a lot of unwanted heat."

This is a white wash..

Class A gives you 100% of the original signal, Class B and onwards represent an ever degrading of the original signal.

If you are interested in quality of the signal you don't want anything to do with a Class D amplifier.
didn't you encounter problems when scraping? Would something like proxycrawl.com help?
So... How do account for the swine problem in Asia?

Disease can still have tremendous global impact.
There's any interesting spectrum of tools could rub the powers that be the wrong way all the way to all out rebellion.

That being said maybe this app is just well-marketed groupware.
Problem: There are N confusing build systems with arcane rules and you just want to compile your program.

Solution: Design a simple, straightforward build tool.

Problem: There are N+1 confusing build systems with arcane rules.
Tbh, this is a little statistical misnomer. There’s a high probability that over half of us is a direct descendent of a single Roman citizen, and I remember a report that a significant proportion of Asian population can trace through one of lines to Genghis Khan.

This is simply because you have 2 parents, 4 grandparents and 8 ggp and so on. Eventually this exponential growth lead to a size greater than the world population. 30 generation would mean more than 1 billion ancestors, and a lot of that would intersect, while the chance of having a certain individual be part of your ancestry greatly increases.
Something like this? https://xkcd.com/1102/
There won't be peace on Earth until people give up on the idea that they have the right to coerce other people into political relationships.
If you're ever in SF and have a bit of an afternoon, the Marine Mammal Center, just north of the Golden Gate Bridge, is a fantastic afternoon. It's free to wander about and tours cost ~$10/person. Perfect for an afternoon with the nieces and nephews. They cover ~600 miles of coastline on the western US, including Hawaii, and help with marine mammal rehab and study.

One of the KEY functions of the center is the monitoring of demoic acid in marine mammals, the cause behind Amnesic Shellfish Poisoning. Much like us terrestrial mammals, demoic acid is a heck of a terror for marine mammals too. When lots of seals and otters show up with high amounts of demoic acid in them, the Marine Mammal Center can issue alerts to local health officials to help us humans steer clear of seafood and to increase monitoring of the oceanic food chain.

As of this last weekend when I was there, they state that they have never seen such an outbreak of demoic acid poisoning on the west coast going back to about 1984.

The Marine Mammal Center is a fantastic place filled with great volunteers and incredible staff. Everyone there is super knowledgable and super dedicated to our oceans. If you have never been, it's a great time and perfect for the little ones. More info here: http://www.marinemammalcenter.org/
You should make friends with more gamblers.
> Behind the scenes — where unknown administrators are accessing its data and devising and managing protest actions to distribute via the app — there may be an entirely centralized view of available human protest resources. But it’s not clear what the other side of the platform looks like. Our source was unable to show it to us or articulate what it looks like.

It doesn’t seem as decentralized as advertised. The authorities just have to coerce some of the admins and they have a very nice view of what is going on in the movement in real-time.
Well may be it would be a good reason, but do we have an evidence that it was intentional?
I wouldn’t call Bazel confusing or arcane, but it is powerful. I find it rather delightful to use.
I love seeing this stuff, history and culture tied together with breadcrumbs to dive deeper if you want.

I always think of Quake 3's mythical inverse square root formula: https://www.beyond3d.com/content/articles/8/ for history and https://betterexplained.com/articles/understanding-quakes-fa... for some explanation.
Does it work for you? Your comment seems to suggest it mostly works fine for you but for me. For me it's 100% unusable.

1. JSFiddle. Run a fiddle with a loop (setTimeout/setInterval/requestAnimationFrame). Try to find it in the debugger. Fail

2. Add a `debugger` statement in the loop. Watch as Firefox doesn't display the code in the debugger

3. Add a syntax error, see message in console, click link to code, firefox doesn't display code.
As far as I know, we don't even know the length of time CDs will last because they haven't been around long enough. I would love someone to correct me if I'm wrong.
+1 I flew Calgary to Narita on a 787. It felt like a 3h domestic flight.
I only wish Bazel had been written in a language that produced native binaries like C++ or Go instead of Java. It seems like a waste for me as a non-Java developer to install Java on my dev machine just for Bazel.
obligatory: https://xkcd.com/927/
About 2/3rds of China’s pork production is not modern. Too many humans involved and they roll out vaccines in 6 months rather than 3 weeks. For now it is just slow and uncoordinated problem solving.
Did it taste any good on its own behalf? What a neat plant!
I’m getting a little tired of this particular brand of lazy cynicism.

I’m happy to see people inventing new build systems, programming languages, game engines, ORMs, or anything else where the conventional wisdom is to use the existing tools. It may be crazy optimistic but we need people to keep these skill sets alive.
In France, you can bring your wild mushrooms to any local pharmacy, and they will ID them for you as a free service. Seems like it would be a useful service to US foragers too!
See the other comment about beef vs. dairy. And not really, unless they're inbred to the point that most dairy cows are clones (save for a chromosome) of that bull. And there's smaller herds of other breeds, so there's plenty of genetic diversity out there.
The great thing that José really inspires is his energy. The moment while I'm learning Elixir slower than he's adding things to it, is the realization. Then I occasionally have a creepy habit where I like to stalk his git commits, to see what he's doing.

I stay with Elixir. Thanks!
It can. Try:
set completion-ignore-case on
(for bash).
My experience with using the Google-internal version of Bazel is that yes, you want to give up all other tools to use this. Having a proper dependency graph makes it possible to cache maximally and accurately, and that results in fast builds. You don't need it if you only have like one go program that you're building, but you will start to see the disadvantages when you have a handful of things you build. Did you build all the apps that depend on the proto you updated? Do you need to build your PHP app because you change an internal go library? Tools like "docker build" have no idea and tend to rebuild too much or too little, and yield different results on different machines. This causes a lot of headaches.

The thing that kills me about Bazel is that it is quite painful to deal with Java. I never seem to get a working version on a Linux distribution. On Windows it's always sitting down in the taskbar showing ads. Oracle calls you to demand money. You check the bounds of an array and they sue you. It's just not worth it. So I don't actually use Bazel.
> While SACC’s hardware is decades old, its software is constantly refreshed by young Air Force programmers who learn software development skills at Offutt’s Rapid Agile Development Lab.

I am not so sure I want “Rapid Agile” development for something that literally controls nuclear missiles.
No, Gayle Rubin and Judith Butler are not GNU maintainers or other free software hackers, as far as I know. I mean I'm familiar with their philosophical and sociological work but don't know of any software they've written.
>Well you can add that to my list of horrifying potential outcomes of being human.

Pretty much, fortunately it's very rare. However you shouldn't eat sport caught shellfish without first checking for local warnings regarding harmful algal blooms.

At least in the US/Canada all store bought Seafood is thoroughly screened for this specific problem, because ASP was discovered in Canada after a mass poisoning event in the late 1980s.

Alfred Hitchcock's film The Birds was loosely based on an invasion of tens of thousands of delirious seabirds thought to be suffering with ASP in Santa Cruz in 1961.
There's actually a debate about whether bleed air is safe in certain failure scenarios. In fume events, some of the compounds are alleged to be neurotoxic, leading to the term "aerotoxic syndrome."

I do not know whether or not such information is accurate, but there is concern about it on the internet.
It's a lot easier when you can cull and try experimental vaccines. So "better" is an interesting word choice, there.
Why do you care if a JVM is on your dev machine?
That is rarely the case because most subscription services charge you up front.

You get the free trial, and then if your card charge doesn't go through, you don't receive further service. So you don't owe anything to anyone.
For me the obstacle for using make is, it is not available for windows and even if I install via msys2 or cygwin, it is hard it make Makefiles independent of OS.

I am not sure Bazel is the answer. BUILD files feel verbose and need more effort to maintain than platform specific files(go.mod, Cargo.toml, pom.xml).
Out of curiosity, how do they handle blood clots?
> That's... a lot of interesting decisions, for something potentially so deadly

The thing with bad decisions is, most of the time, they work out OK, until they don't. This gives people a false sense of confidence, which makes a eventual downfall more surprising to them.

Every drunk driver who causes an accident has driven drunk hundreds of times before without causing one. They think they drive better drunk than most people do sober. They get away with it many many times, until one time they don't.

The same rule applies to the lab technical who doesn't wear proper PPE, the researcher who doesn't double-check their Excel formulae before sending the paper for publication, etc.
Right. Everything you said about food supply resiliency only applies to modern production in the US. To be fair: that's the topic of the article. But it is inapplicable to 2/3rds of the world's population -- where disease & monoculture are huge threats to global food supply.
If your child is obese that should be clarified as child abuse. It's the parent's job to raise a healthy child.
Penicillin kills bacteria. The two are not similar at all! Nor is penicillin (a fungus) even remotely similar to a virus. Doesn’t stop people from taking them for any illness I guess.
Long-run, yes. Projects are too often multi-language these days, and if you mix C++ and Java, there might not be a clear or convenient seam between the C++ and Java parts.

Short-term, it will take a while after 1.0 for the surrounding tools and libraries to stabilize. It will take a little while for better documentation, blog posts, etc.

Personally, I find it a huge step up from e.g. CMake for C or C++ projects. But I’ve been using it for a while.
Bazel's goal wasn't (explicitly) to be simpler or more straightforward (though I'd argue that its restrictions do cause that in many cases). It was built to solve problems that other build systems (make-like) don't: hermeticity and reliability of builds.
As a heads-up, Amtrak is slowly gutting the dining car service, so I'd enjoy it while it's there.

The new "enhanced menu and flexible dining service" is as weasely as you'd expect from the corporate naming.
The Beauty of COBOL (2018)
I think you don't need to install Java to use Bazel, it comes bundled. They have done some improvements to installer so that the user requires as less additional tools as possible to run Bazel.
The trouble with these reactive emotions is that they’re twice removed from reality. You see a tiger in the distance, your body pumps itself with adrenaline and you get ready for fight or flight. But the brain and the body don’t work on absolutes - only patterns. You see or hear something, you’re pumped full of adrenaline, and now you have to fight or flee. There’s no way to rationally examine the thing that triggered you and un-secrete or quickly flush the adrenaline.

That’s what we need in a modern non-jungle world - understand your impulses, but be enough in control or yourself to rationally examine your environmental triggers, counteract your adrenaline and logically decide your future actions.

Save the evolutionary adaptions for your camping trip.
Technically, yes. Legally, no. See the Hercules emulator for example.
Correct me, if I am wrong: take everything you described and remove the (logical) timestamp, and all you'd be losing out on would be the iteration in insertion order?

So how does the timestamp have any impact on persistence?

(We agree on basically everything you write.)

> [1]: And you can use an increment-only mutation counter instead of a timestamp to make this pure.

Agreed. That's what I'd call a logical timestamp or a logical clock.

> IIRC, if you're table can assume only insertions, this actually becomes really, really nice as a persistent data structure, since you can replace the backing vector with a backing linked list, and you only really lose out on iteration speed. Then you further extend that by swapping the linked list to a tree, and you share the entire backing structure.

That still doesn't tell you anything at all about how you make the hashtable itself persistent.

One simple way would be to just introduce an arbitrary order on your hashes, eg compare them as if they were ints, and then stick them in an ordered map container. Of course, that's just a round-about way to impose an arbitrary order on your keys. Works perfectly well, it's just not too interesting.

To come back to your original question:

> What's the value of a sorted map over an ordered map?
> I don't think I've ever cared to iterate over map values based on the alphanumeric ordering of their keys.

In the cases we talked about making the keys comparable is only a means to an end, and any arbitrary order will do. That's the most common use case. Iterating over the keys in insertion order is also often useful.

In practice, I did come across some use cases that make genuine use of the order of keys. Eg when I was interested in (automatically) keeping track of the highest or lowest key or quantiles.

You can use a sorted map as a priority queue easily. A min heap would give you O(1) access to the minimum item, but if you actually want to pop it, it's O(log n) anyway. A sorted map as tree gives you O(log n) for basically all operations. For most uses that's either good enough, or doesn't even make a difference at all compared to a heap. Using your sorted map as a priority queue gives you arbitrary priority updates in O(log n) for no extra implementation complexity.

Sorted maps also came in handy when I was implementing geometric algorithms where I wanted to sweep a scanline over points. Or for divide and conquer algorithms over space.

A sorted map is also useful as a basic datastructure to build step functions on top of. (https://en.wikipedia.org/wiki/Step_function) A simple application is solving the infamous skyline problem.

When you want to store your data structure, having similar keys close together can help with compression. Google uses sorted string tables (sstable) show that principle quite well.
Stackoverflow New CEO
This is not a protocol and it's not decentralised at all. Only the admins can control the app and its users.

It's not related to Scuttlebutt at all.