skysight-inc/HackerNews huggingface dataset:
The best article on VIM is "Why, oh WHY, do those #?@! nutheads use vi?" http://www.viemu.com/a-why-vi-vim.html

I myself use vi modes inside IDE's, and can't be happier.
How does mailing a ballot to an address "validate" that the person voting that ballot is a citizen?
Constraint logic programming is generally proposed as a more natural alternative for arithmetic, in Prolog, than Prolog's native arithmetic functions.

It's a biig discussion and I'm not the one to make the argument for CLP, but, for example, in straight-up Prolog arithmetic is implemented using the is/2 predicate, which looks a bit like this:

A is 1 + 2.

Where A is the result of the addition of 1 and 2. In CLP on the other hand, particularly in the CLP library for reasoning over integers, CLP(FD), the addition above looks like this:

X #= 1+2.

Note that here, "#=/2" ("equals") is a constraint, so the statement above is true, iff the expression on the left-hand side of the #= is equal to the right-hand side of it. Which lets you do things like this:

?- 3 #= Y+2.
Y = 1.

Where trying to do the same thing with is/2 will give you an error (because Y is not sufficiently instantiated). And because of how constraint programming works, you can also do arithmetic with ranges, like so:

?- X #= A + B, A in 1..3, B in 4..6.
X in 5..9,
A+B#=X,
A in 1..3,
B in 4..6.

In fact, what comes out the other end of the query above (the bit after the query prompt, "?") is a set of new constraints, where the result of adding A in [1,3] and B in [4,6] is a number, X, in [5,9].

You can find more information in the CLP(FD) library documentation, here:

http://www.swi-prolog.org/man/clpfd.html

Or, if Markus Triska (the author of the library) is around, he can probably elucidate its use a bit better than I can :)
Does Apple use this service, though?
Radschutzstreifen (translation n/a, like a bike lane, but it has a dashed line and is usually put on roads as an afterthought, so it's usually too narrow for larger vehicles to pass each other without using the Radschutzstreifen

My experience from living five years in Germany and commuting to work by bike daily is that there are always some smaller vehicles that cross the dashed line. Especially when they in line for a traffic light. This often makes bike lines pretty much unusable (I often had to switch to the pavement to continue cycling, behavior that I copied from German cyclists).

I have always wondered whether drivers simply don't care or don't want cyclists to overtake them when they are waiting in traffic.

Another thing that I noticed in Germany is that most car drivers are either too cautious or extremely reckless in their attitude to cyclists. The cautious drivers will do things like drive behind you for long times, even though there is plenty of time/space to overtake. The reckless drivers will cut you off even if you have the right-of-way. The problem with both overly cautious and reckless drivers is that they are very unpredictable.

I am now back in The Netherlands and I am surprised how friendly cars are to cyclists (you only notice when you've been abroad for a while). The biggest danger are other cyclists ;).
I like this. This makes a lot of sense to me. If it managed to gain adoption into major distros, it would be incredibly good, though obviously that is a longshot for a lot of reasons.

If you really want it to get adopted into major distros, the best approach is probably to convince the systemd folks that it would be a great addition to their package ;)

edit: A bit of constructive criticism. I really like the concept, but I think the way that package managers are supported could be improved. I think it would be better if all of the handlers for a given package manager were in the same file, instead of having them spread across every file. There's obviously lots of ways to accomplish this.

Also, as it is now, this project does not seem to use a ton of things that require C++ - you could shave some binary size cost by converting it to pure C.
It seems nowadays people just upvote based on just the title. This is a switch statement wrapper around package managers, on the front-page of HN.
If you are not going to be at the desk for 24+ hours at all, then you would hit this slider[0]. Updates don't come through that often though. A patch every 30 days, a service pack every 6 months. I run 30 days behind on patches, and 365 days behind on service packs. If your machine is used that often for 24+ hour rendering projects, you might want a non-home edition of Windows10 such as LTSC.

I do agree though that there should be a simple option, "do not restart for updates until I click on a prompt". I'm on the same page, but I'm not convinced the situation is as dire as everyone makes it out to be.

[0]https://i.imgur.com/XMTGtGr.png
Love Go, but here's a good reason: This would make a cool piece of software for inclusion on the base system. Go produces relatively large binaries (for good reasons of course) and therefore it would probably be harder to ship.

Meanwhile, C++ runtime almost definitely is going to exist on most bootstrapping images, so it's a lot easier to justify its inclusion - the cost of the C++ is greatly amortized.
It could easily be written for any Bourne-compatible shell. A compiled language is overkill, and C++ is a security risk.
The 5G frequencies are listed at https://gsacom.com/5g-spectrum-bands/
Kind of low on details, but I guess they're looking for warehouse workers that can drive somewhere, live in an RV for a few months, and then get another job?

I am not sure who can do that that is also willing to work 12 hours a day lifting boxes.
Do you find it believable that he was fired over this?
We use the mirror like any other country (but we do not forget).

Except that passengers in the back seats do not have mirrors. Although I never learned the Dutch Reach (but I don't have a driver's license), my dad always warned us as a kid that we should check for cyclists before opening the door.
Just like Ashton Kutcher brought out Twitter’s fail whale.
You missed the very true point they made about overstated vulnerabilities. The odds of actually having your data compromised due to not updating for a few weeks or even months, is low. Particularly if your browsing and computer usage doesn't involve downloading dodgy software and browsing to shady unfamiliar websites, and you're at least half aware of sensible computer use, password and login use.
This is how embedded devices do firmware upgrade - I'm not aware of any other sane & safe way to upgrade.
I haven't heard of this program before so I did some digging. According to this source [1], Amazon Camper Force seeks to hire people who live in Campers (aka RVs) as item pickers for Amazon warehouses.

"As part of the CamperForce program, Amazon hires workers on temporary contracts from early October until December 23, paying them near minimum wage while covering the expenses of staying in an RV park.

The company targets older workers, who they believe have a stronger work ethic than their younger counterparts."

The program has been around since 2008. Apparently Amazon does not work them as hard as regular hires, as they only need to hit 70% output (in items per hour) of year-round employees.

[1] https://www.wsws.org/en/articles/2017/11/06/camp-n06.html
A Young Activist’s Advice: Vote, Shave Your Head and Cry Whenever You Need To
It does work if you grab one from Pro copies.
Aren't the bug templates on github the same approach. A template to ensure key questions are addressed and information provided.
The key is to find the sweet spot on asking just enough and not much time for something that might not go ahead.
Löb and möb: strange loops in Haskell (2013)
GitHub: switch-lan-party Make you and your friends play games like in a LAN
Especially if you have a old (or modern) game, only supporting multiplayer over LAN. This tool can help your game console connected over WAN.
If it's stupid and it works, it ain't stupid.
This and the law: cars are always to blame.

Even in The Netherlands this law was needed to keep bikers safe.

And when introduced even the Dutch made fun of it: https://m.youtube.com/watch?v=ivY06w83fKU

Edit: if you want to look this up, the law is called: "Artikel 185 Wegenverkeerswet".

It's very broad and is not only to protect cyclists. I think this law is more about making drivers of motor vehicles more responsible.
This needs to be said more and more. Posted as a reply to every stupid LinkedIn "Blockchain to cure cancer" type post. Everywhere. So maybe we can pass over the hype hump and let blockchain settle into its natural use cases.
Ehh, no we don't. We don't do it and we don't call it anything.
I will say that Stripe Connect was a game-changing product for some types of applications.

A firm I worked with did booking for sports camps. The tech was positive-- give the coaches neat rosters and record keeping, and let parents easily pay the camp fees with a credit card.

The original architecture was to let the individual programs plug in their preferred merchant processing account; assuming Authorize.net or the like by default, and they'd just add their API key during the onboarding process. We'd bill them our fees once a month and it would slot into their business accounting neatly.

Wrong. These guys weren't running grown-up businesses with documentation and full-scale merchant accounts. They were basically half a step above collecting Mrs. Crampknicker collecting $10 bills for field trip deposits from fourth graders. So it ended up that the booking site acted as the merchant, and treated the coaches as fulfillment providers. We'd end up having to cut them checks once a week for the net after our fees.

With Stripe Connect, we had them click a link in their user control panel, walk through a three-screen enrollment form on the Stripe side, and then they were getting a direct deposit as soon as payment cleared, without paper or manual intervention.

Yeah, you could pull together a bunch of seperate services before to get the same results, but Stripe Connect put it within the reach of a team with 1 1/2 developers.
> But Windows aims to restrict your workflow to singular proprietary applications like VS.

Out of curiosity: how does Microsoft stand in the way of developing with GCC and Clang?
I don't mean to be pedantic, but wouldn't chips be covered by patent rather than copyright?
The relevant Supreme Court case is Calder v. Bull. As for why that might make sense as a rule, some being reasons cited in the case and others my own thoughts:

First, there are textual arguments. For example, why does the Constitution prohibit states from impairing the obligations of existing contracts if the general prohibition on ex post facto laws would do?

Further, in the normal course of governing, one must sometimes rearrange the rights of others. For example, to pass bankruptcy laws, one must abridge the rights of creditors. Changes to property laws necessarily alter preexisting rights, e.g. to keep people off your land or to sell it or to build a particular thing on it. Civil law is all about rights.

Which leads to the special nature of criminal law in expressing moral condemnation and imposing often-severe punishment (as opposed to the civil law requiring payment of damages). There is an element of moral humility in requiring the prohibitions to be stated ahead of time. Reasonable, thoughtful, and well-intentioned people disagree enormously on morality, but if we spell out the prohibitions ahead of time, we at least put everyone on notice as to what is expected.

Also consider that contract and tort law, being judge-made law, have an inherently retrospective component whenever new issues come before the courts, or whenever a doctrine is altered or reversed. It would be odd to tolerate this in some parts of civil law (those that are mostly judge-made) but not in others (those that are statutory).

All of which is not to say that retrospective civil laws are always right. It would definitely be immoral for Congress to pass a law tripling the tax bill for your income from ten years ago. But the Constitution is not a general prohibition against bad laws. Perhaps in this case, the ex post facto clause could be read to prohibit such practices as well, but at some point you have to rely on the legislature to get it right.
It's not always about the complexity of the solution. This is a great example of something annoying a lot of people here can identify with (myself included). I'd say this annoys a lot of people whose job it is to automate things, and this is the first proposed solution I see.

Who cares it's a hacked together small program with if statements? It's not any less interesting than a proposal for a new standard in a 50 page PDF document to me.
Yes. All instances I've seen have been due to byte-size restrictions (so it depends on encoding) or for visual reasons (based on fundamentally flawed assumptions). With exceptions for dubious science around word-lengths between languages / as a difficulty/intelligence proxy, or just having fun identifying patterns. (interesting, absolutely, but of questionable utility / bias)

But every example you've given have been around visuals, byte sizes, or code points (which are unambiguously useful, yes). Nothing about graphemes.
What modern games are played via lan? Feel like I haven’t seen any in the past few years.
No, you’re right; there are much better things to blame notch for, like being unwilling to address his white supremacism.

https://www.gq.com/story/notch-whiteness-tweets
Agreed 100%. The likes of the EFF are at a huge natural disadvantage because nobody stands to profit from rationally curtailing copyright. Groups like the EFF are literally just trying to do the ethically right thing for everyone (at least in their eyes and mine), and it costs them money to do so, money that comes almost entirely from donations (I think). Whereas those pushing for copyright extensions not only have their own revenue stream, they actually stand to profit from the results of their lobbying.

The EFF has to spend money they don’t have to fight for their beliefs, but the copyright extension people likely make a net profit over time fighting for their own interests. It’s like a negative sum game- the net result is worse for almost everyone to a greater degree than it benefits a few. If money played no role in politicians’ decision making, those decisions would be much more rational and responsible. For all I know, maybe most of them would still support copyright extensions, but it would at least be because in their judgement it was the right thing for the American people. The ridiculous amount of money in American politics muddies the waters and forces all participants into moral hazards and perpetual conflicts of interest.
I'm curious why the author chose to put every command in its own file and then copy the big if tree with string compares in every file.

Translating commands from a generic command interface to specific commands is a great case for polymorphism.
Appalachian Mountains becoming more rugged (2007)
With all the corruption and drama behind k-pop it doesn’t seem smart to be advocating it.
I think we should stop wasting public funds on blockchain and here is why.

Records are important in the public sector, but what’s more important is how we handle changes. This is because changes to a record in one system, might affect changes in a range of other systems, and what most governments are building to handle this is advanced observer patterns, where a central messaging bus keeps tracks of alterations and informs subscribers.

Like if you get sick with depression, a case worker will register this and a range of things will happen where different departments and systems are notified to build a case flow for your way back to work. Other systems will ensure you get your welfare and so on.

Or if you trade property, a ton of systems needs to be notified about it.

Blockchain suck at this because they are extremely inefficient.

Now the records are important too, but today, bi temporal data is playing an ever increasing part in the public sector.

What this does is keep every change on record. Allowing case workers to look up something, and get a timeline representing every state of your record.

Blockchains are surprisingly bad at this as well. It keeps the records, but trolling through them and finding the relevant ones is just incredibly bad compared to traditional databases.

Decentralisation is probably never going to happen. Especially because the public sector will never do a proof of work concept since the environmental cost would be political suicide. If you’re doing a voting blockchain, then the public sector will never relinquish control, and if you don’t do that, then you might as well not use blockchain.

So I think you can actually go through the use case chart on page 53 of the pdf and still find a lot of areas where you should say no.

I’m danish and I think half of our muniplacities as well as our government and all of our banks (banking IT is extremely similar to public sector IT except its narrow focus/range) have done proof-of-concepts on blockchain for the past decade. No one has found a good use case that couldn’t have been run without blockchain yet. I sometimes wonder how much money we’ve wasted trying to find a usecase, and it’s a lot, and I can’t tell you why we’ve done that.

I mean, if only we’ve spend all those resources on something useful.
It doesn’t work. Different distributions and OSes use different names for packages.
Thanks I'll give thema read.
Hourly wages listed are $11-$13. Is the website just out of date?
It also swallows command-line options.
"Wovon man nicht sprechen kann, darüber muss man schweigen."

For a Finnish speaker, the pronunciation of most languages seems illogical, because things are pronounced differently as they are written, depending on the word itself. One might think: why are they so illogical? Of course, this is not how native speakers of German, English, etc. see things; for them, the words are spoken exactly as they are written, as they are used to it being so.

When I was learning English at school, I thought it was odd to sprinkle all the small articles and words all over the speech. And this thing with British vs. US spelling. Later, when I studied German, I thought there were so many concrete rules, yet every rule was followed by a number of exceptions.

I don't think one can say grammar/pronunciation of language x is universally difficult or easy. It depends so much on the linguistic background of the learner. For example: those skilled only in Japanese will likely have an easier time learning Chinese than me. But I will likely be able to pick up Estonian or proper Danish/Norwegian easier than them because of my background.

PS. Speaking of illogical things: "pronunciation" and "pronounce". Why not "pronunce" or "pronounciation"?
If your server can handle Origin checks that way, then leave your CORS headers wide open and problem solved.

The problem is that existing servers don’t generally check origin headers, so browsers needed some other mechansim to understand which requests were safe.
I used to bike from Brooklyn to my job in Manhattan. The worst part of the trip was in Brooklyn where there are quite a lot of bike lanes and the Manhattan bridge, which has a dedicated bike lane over the bridge.

For one thing, double parking is a thing all over the city. So you are constantly having to swing out back into traffic from the bike lane because cars are in the lane. For the other thing, bike lanes--where they do exist--are painted right next to the street parking, so you are constantly having to watch out for people getting out of their cars and opening a door right into you. Also causing you to have to swerve into traffic when that happens.

The bike lane over the bridge is insane. Particularly on the downward side of the bridge where cyclists just let momentum take them and fly as fast as they can.

The only time I've ever felt safe on a bike is in Manhattan where the traffic is so bad, no one can ever move fast enough to hurt anyone. In the 6 months or so I did that, I ended up in 8 very close calls then ended up with me laid out on the street in traffic trying to dodge something or someone or almost hit by someone else on a bicycle, I gave it up and went back to taking the subway, where I could read and be productive on the way to work instead of constantly worrying about getting smacked.
8 Bollywood Actresses Before and After Breast Implant Surgery
CheK MORE

In present occasions, being a performing artist isn't just about acting in a splendid way yet in addition about looking great and in the event that we discuss on-screen characters then they need t
> I don't think it is weird considering that US is a mass-exporter of Intellectual Property.

I wonder what would US trade deficit look like if we remove IP related trade from the statistics? My gut feeling would be that the deficit would look quite a lot worse, but is there some "official" measure on this?
Do the reasons for the choice six months ago even matter today?

Today you have six months of history of it being a good choice or not. And six months of development assuming it was the choice, that may or may not apply to something else.

And the choices available today have likely changed from six months ago, too.

(I'm a little concerned about your team that has no connection to decisions from six months ago, but we can adjust the time frame and the rest still applies)
like jailbreaked nintendo switch?
Why not "Genius AND plodder".

Not everything has to happen at high speed.
If you don’t trust the client, there is nothing you can do. An insecure browser could spoof the origin header too.
Great video from “Koot en Bie”! Thanks for bringing up old memories.
Microsoft Releases MS-DOS Source Code on GitHub
That's a good question, and a tricky one to answer.

Criminal law is based on the concept of crime and punishment. Depending on the crime, the punishments can be very severe (e.g. loss of liberty or life).

Permitting ex post facto criminal laws would allow legislatures to arbitrarily criminalize actions that were perfectly legal at the time they were committed.

Given the potential severity of criminal punishments, this just lends itself to abuses of power. Because of this, most countries explicitly disallow retroactive criminal legislation in their constitutions.

Civil law pertains to rights and duties. In this context, there are legitimate occasions where retroactivity may be useful.

Sure, retroactive civil laws can still be used to target specific entities or persons. However, the potential negative outcomes are milder (at most, the loss of movable or immovable assets).

Because of this, there is no universal consensus on retroactive civil laws. Most countries allow them; many other countries frown on them; a few ban them outright.
Something servers already do.
iCloud Photo Library dramatically changed the equation on this for most users. I test the iOS betas on an old 5S 16 GB, and it’s remarkable how much easier it is to use now than when it was new. Apple Music Library is the other big factor here for a lot of people.
Are there not more than one blockchain? Shouldn't it be blockchains?

"Blockchain(s) suck at this because they are extremely inefficient."
What's a senior engineer's job?
Cost is what is wrong. They will form a cartel if there are no competing solutions that reign them in.
What is something one could develop with this source code that would have been more difficult or impossible before?
Not always understandable by Einstein itself, he got helped by his mathematician friends, like Levi Civita