skysight-inc/HackerNews huggingface dataset:
yeah, the "switch to linux" crowd aren't helpful, either. linux is the right tool for many jobs, but at this point, all (edit: mainstream) desktop OS' are going to be extremely complicated and complex. although i personally prefer it, macOS is no different in this regard, example in [0].

[0] https://apple.stackexchange.com/questions/136248/disable-sto...
I think you need at least one person who is completely independent of all others. For example if the same random is added up twice (say if the room is just you and your evil clone), you can get stuck with just even numbers. Independence is a pretty strong property to ask for since we all share the same biology...

But if you do have independence, the proof is easy! Let S be the sum of everyone else and X be the discrete uniform random in [0, 9]. Then:

Pr(X + S mod 10 = i)
= \sum_j Pr((X + j) mod 10 = i | S = j) Pr(S = j)
= \sum_j Pr(X = i | S = j) Pr(S = j)
= \sum_j Pr(X = i) Pr(S = j)
= Pr(X = i) \sum_j Pr(S = j)
= Pr(X = i)

Due to total probability, symmetry, independence, and total probability again respectively. The handwaved part is the mod where you can imagine the histogram columns in the pmf getting rotated/shifted around but ending up looking exactly the same afterwards since all columns are symmetrical.
> So pages before this javascript bloat became commonly accepted were unusable?

They weren't unusable. They, too, were barely useable in any scenario outside of a static HTML page with static images. There's a reason why jQuery was (and probably still is) the most popular Javascript library. You don't have to go too far to see what people were doing before "js bloat", just look at ExtJS [1]. They would have loved to have the "js bloat" 10 years ago.

[1] https://www.sencha.com/products/extjs/
As a native-English speaker, when I compare e.g. python's "x and not y" to a more formulaic "x && !y", it really doesn't seem to make much of a difference. I'm curious if you were using a syntax highlighter, that may affect your experience.
Really depends what happens along the way, doesn't it?
> I know what I've been told by WMF, which is that he was a harasser and that en:wiki failed to stop his harassment.

> told by WMF

No comment.

> I know also what I've read in the fram-gigantathread, where a bunch of admins describe him as kind of an asshole, and say that it's being going on for years, but then go on to excuse that because he makes a lot of edits.

Harasser =/= asshole.
Have you seen English roads?

Here's an example.

https://www.google.co.uk/maps/@51.900949,-2.0723105,3a,75y,3...

You'll see of these four roads meeting at a crossroad only one of them has a crossing. Pedestrians have absolute right of way on zebra crossings. The car driver is committing an offence if the fail to stop for a pedestrian on a zebra crossing. Many drivers don't know this and they don't stop or slow down, which is why the sounds are needed - to stop visually impaired people stepping in front of a car that has no chance of stopping in time.

Notice that two of the other roads have dropped curbs and textured paving. Rule 172 of the Highway Code mean that pedestrians also have priority on those roads, but this isn't well known. Someone stepping off the curb there in front of a moving vehicle is at risk of harm, even though they have priority.

What should a person standing on the near right corner wishing to cross to the far right corner do? Just use that crossing that's there? Or cross to the near left, then use zebra crossing, then cross to far right corner?
https://news.ycombinator.com/item?id=20283382
I've heard from a friend that his relative in India absolutely won't drive with a broken horn, because that is how you let people know where you are.

I'm curious how much of the honking in NYC is, say, "on your left" vs "up yours" compared to other cities/countries.
Couple of times I saw programs written in Russian versions of Basic and some other, forgot which one. Never mind programming even trying to understand it blew my brains out. Russian being my native language I could never imagine writing software in it. I also have the same feelings about the songs as you just described.
So all in all completely agree with you.
> She was writing duplicate paragraphs (maybe to gain a greater edit count?) and mistranslating from a language she does not speak in an absurd manner.

This is quite an accusation. Please stop lynching her.
As long as you can prove that there was no intention of selling and that something like that was not even on the table, then no, merely signing a contract would not be enough.

Of course, usually, it's hard to prove that you didn't know what you were singing. The other party can just say, "ya, that was what we talked about then we drew up that contract."
> We could use this to have three possible namespaces, so "der Foo", "die Foo", and "das Foo" would refer to three different things.

You're reminding me of perl, where $foo, %foo, and @foo can coexist.
First of all, national security requires having food on hand that people actually want to eat. You know what happens when you go to war and suddenly the only food left is corn? Riots against the war and a massive black market.

Second of all, subsidizing foods that people don't want to eat is inefficient since people, amazingly, won't eat it. So now you have a lot of food that you need to dispose off. You can't just make less of it because then it won't be there in case of an emergency. So you're almost literally throwing money into the dumpster.
You should create multiple account with different browser fingerprint for each account. I usually use Kameleo software to load different profiles with manipulated browser fingerprint
https://support.kameleo.io/article/what-is-browser-fingerpri...
Looks like some people are forgetting the first rule of Fight Club.
The Wikipedia list does not mention Tampio, an OO language where programs are written in proper Finnish: https://github.com/fergusq/tampio

As an example, here is kertoma.itp (an example routine to calculate a factorial):

Pienen luvun kertoma on
riippuen siitä, onko se pienempi tai yhtä suuri kuin yksi,
joko yksi
tai pieni luku kerrottuna pienen luvun edeltäjän kertomalla.

Luvun edeltäjä on se vähennettynä yhdellä.

Olkoon pieni muuttuja uusi muuttuja, jonka arvo on nolla.

Kun nykyinen sivu avautuu,
pieneen muuttujaan luetaan luku
ja nykyinen sivu näyttää pienen muuttujan arvon kertoman.

It sounds basically like a small part of a mathematics lecture.
I meant the claim that "People on NPR are specifically being paid to advance these viewpoints."

I would expect that's difficult to support. Aside from, perhaps, guests that are funded by think tanks. Or, I suppose, even professors.
Oddly, all three examples have analogues in real programming languages already:

- in many C-derived languages, a “list of objects” is spelt “object[]” as a type, with the “list” (array) specifier postfixed. (Functions declared to return arrays take this syntax to quite an interesting extreme.)

- in Perl and some derivative languages, sigils serve as a prefix to denote context of use or type; $var is different than %var or @var, for example.

- In Ruby, a leading uppercase character defines a constant, and some aspects of the language are sensitive to the case of the identifiers used.

Of course, it’d be super interesting to put many of these ideas into a single language, as it could well be quite different (and refreshing!) than many of the languages we use today.
> For example, to have an element “animate away”: create a new purely-visual element at an absolute location that looks like the original object, delete the original object immediately, and then let the proxy go away whenever it is done animating. This completely frees you from having to worry about the true lifetime of the original object.

Yeah, and to properly do that you need that very same JS bloat to:

- somehow observe a DOM element being destroyed (there are no lifecycle methods on DOM objects)

- somehow figure out if it's the object being destroyed, or it's parent, or grandparent, or...

- somehow quickly create a visual proxy instead of the object being destroyed, quickly substitute it in the DOM (avoiding repaints, reflows and jank). With all the correct things for it: size, position, scroll position, all internal representation (let's say we're animating a login form floding in on itself)

- somehow animate that proxy object

- and then remove that proxy object.

It's a lot simpler

By the way. If I remember correctly, just getting the position of an object causes a full-page reflow [1]

[1] https://gist.github.com/paulirish/5d52fb081b3570c81e3a
I haven’t used Confluence but I imagine one advantage SO Teams would have is familiarity. Many developers/engineers already know about its benefits and how it works.

Yes, apples and oranges with Slack. But if you’ve ever found yourself searching Slack for some piece of knowledge from a colleague then you’ve used it for that off label use case.
As somebody living next to a road - just no. I can hear bicycles going by inside at night when it is quiet. (The ones that have some things wrong with them, granted.) Any intentional additional traffic noise without a clear safety benefit should be banned.
Anything that uses GNUnet ?

Can you use it by its self like i2p etc ?
Hodler’s Guide: What every Bitcoin holder should know about BTC and wallets
Also, aren't items already scanned before they enter the bag? I don't understand how leaving the rest could actually play out unless the cashier had to then void each one.
Apps power Hong Kong's 'leaderless' protests
Democracy in the absence of individual liberty and constrained government simply doesn't work - it becomes corruption. While admittedly, few non-democratic polities pursue liberal values, the ones that occasionally did throughout history seemed to feature a similar quality of governance to modern liberal democracies. Their main (and quite significant) problem was instability over time, and that's what democratization mostly addresses.
Blood, Sweat, and Batteries
That happended years ago, when the inclusionists lost to the deletionists; this just a natural slow progression of leeching out anything good or useful.
Use your educated populace to design robots to dig ditches.

It's not "math" that humans have to engage in undesirable labor, under brutal conditions. We have thousands of years of developing tools that are contrary to that statement.

It is a collective social decision to say that an hour of someone's time is worth less than building a robot. That's the only reason why cashiers still exist.
It wasn't all incompetence. The head of the Abwehr was part of the resistance.

https://en.wikipedia.org/wiki/Wilhelm_Canaris
What could Koch materially stand to gain from this?
More about Frequentist and Bayesian analysis can be found here:

https://en.wikipedia.org/wiki/German_tank_problem

Matter of fact...

According to conventional Allied intelligence estimates, the Germans
were producing around 1,400 tanks a month between June 1940 and September 1942.

Applying the formula below to the serial numbers of captured tanks, the number
was calculated to be 246 a month. After the war, captured German production
figures from the ministry of Albert Speer showed the actual number to be 245.
>The only way to keep the things you buy is to actually own them. Not continually rent them from one online service after another.

Eh, as someone who has owned (and lost or destroyed) a bunch of physical things, my experience is that I have to continually rebuy physical things I use; I mean, records, CDs, books... these all get lost and destroyed in various ways if you carry them around with you and otherwise use them. I don't think that the way I own and store things is more reliable than a major content licensing platform. If I use a thing consistently and long term, then licensing it is certainly more reliable than buying a physical copy, and may very well be cheaper for me than buying physical copies new.

I'd argue that what protects availability of things that go out of print is more that other people own the thing and can sell me a copy when mine is lost or destroyed. You could argue this is a bit of a tragedy of the commons, or it could be, if E-books started pushing physical books out of print (as opposed to books that are e-only mostly being books that wouldn't have been printed at all before the advent of e-book technology)

Of course, for things that are rare (and things that are popular are a lot less likely to go out of print) this gets expensive pretty fast, but first sale doctrine does assure me that I can usually get a copy, if I'm willing to pay enough, while the possibility does exist, with electronic copies, that I won't be able to get a copy at all... that's true.
The rich have yet more influence than their 1-pct selves: they also direct all of their corporations which lobby heavily as well, as a force multiplier.

So an individual citizen's vote has very little influence compared to those gargantuan forces.
When China blows up it is going to be truly spectacular: it is going to be a depression on top of a civil war on top of a movement for democracy.
Microsoft does exactly that, they're called Secure Access Workstations, and they're used for all sensitive work. You can find some details here: https://docs.microsoft.com/en-us/windows-server/identity/sec...

They're described as PAWs in the document, but they are called SAWs internally (as one of the notes explains down the page).
Trump has not started any foreign intervention, unlike the past two administrations. Threats of foreign intervention are great and we should keep doing that. Imagine if GW Bush had just made threats. Man, I wish he threatened every country in the world, if that kept him from -- you know -- actually invading Iraq.
When the article mentioned Walmart's 2008 "MP3 Store" shutdown I thought the author was about to relate it to the eBook store closure via the fact that they were both Microsoft DRM systems under the hood, but the author was only comparing them ideologically. I wonder if he knew that the Walmart "MP3 store" was actually a "PlaysForSure WMA store" originally and that the Microsoft PlaysForSure shutdown is the reason for the cited 2008 shut down.

From https://help.walmart.com/app/answers/detail/a_id/63/~/music-... :
"If you downloaded music from Walmart before February 2008, some of your music files may be in the Windows Media Audio (WMA) format."

Walmart shifted to selling 256k non-DRM MP3s after that, and then that store was also killed in 2011: https://arstechnica.com/information-technology/2011/08/walma...

I also can't think of the Walmart music store without thinking of this dramatic reading of a timeless 2004 (!) rant about the usability of the Walmart store in non-Microsoft browsers/players. The SWF probably won't play for most of you, but the original post is screenshotted below it: https://www.somethingawful.com/flash-tub/letter-from-interne...
Smartphones and Dematerialization
And even without deaths it's far more comfortable as a pedestrian if I can hear a car coming before I turn my head. Situational awareness as another comment mentioned elsewhere relies on all of the senses. I for one would like more sound from e-scooters; been almost hit a few times.
There doesn't seem to be anything official yet:

https://www.whitehouse.gov/presidential-actions/

https://www.federalregister.gov/presidential-documents/execu...
Need feedback on my web tool for designers and developers
The tram bell is one of the more horrifying sounds you can hear on the road though. Basically, get out of the way or get hit, since it can neither evade nor stop fast.
The excellent book "Paradoxes in Probability Theory" by William Eckhardt has some good arguments against this, the Simulation Hypothesis, and similar things. One simple way to summarize the counterargument is that in a lot of cases, the choice of seemingly-reasonable priors actually hides an unreasonable assumption that it is possible for the future to change the past.
My wife had a hp once that had the thermal paste dry up. To fix it would have required taking apart everything from the keyboard to the monitor clips, top and bottom. We just bought a new laptop.
I'll be interested in seeing what the proposed alternative will be.
I also feel bad (guilt), but that doesn't really serve me.

I compost (feed my soil) spoiled food. There is no waste in that type of closed loop system.

I also have kids and it's hard. Don't beat yourself up just get a tiny bit better each day.

Living in this country is hard when it comes to seeing the ignorance to waste. I'm sure people will wake up eventually.
How much slower?

We already established it's far slower parsing js; in most cases JSON parsing would fail - IIRC - on the first character ^[^{] ... so would it be worth being slower by the time it takes to check the first character, and then only JavaScript that started with { would be slower. Which I guess is virtually none.

I suppose those sorts of questions are part of what makes language design interesting.
But for us, we pretty much are the show!
the batteries are fairly new technology though and do pose a serious hazard. i have no doubt as the field matures it'll become safer though, with established procedures. glad to see people like Rich Benoit are blazing the trail already.
Purely tangential, speculative questions: If you did prove that P = NP would you tell anyone? If so, how? Why?
Nobody ever mentioned to regret that they have not worked harder. Most people regrets they had not spent more time not working.
In my experience it's always tagged to the device at time of sale like any other warranty. Usually this comes into play if the device and the battery somehow have different warrantie.

However I am hardly an expert on this. I can speak to the surface though (we use them at work) and most definitely is covered
They did, sort of, starting in the 1940s. The tank make/model were replaced by arbitrary codes, but it was done sloppily and many of the tanks could be re-identified. (See page 80 of the paper @dooglius posted above).

Still, the idea that this could leak valuable information is probably more obvious in hindsight, and sequential serial numbers do have some upsides. If there's a design flaw in one version of the gearboxes, you can just pull everything with a serial number between XXXX and YYYY. With randomized numbers, you'd have to maintain some master database, which is a lot harder when most of logging is done with pen-and-ink ledgers, carbon copies, and maybe punchcards.
Although I have encountered quite a lot of "lazy" pedestrians who just cross the street immediately instead of waiting a few seconds for the car ('the car' means there is only a single one) to pass, I don't think that this is causing the majority of collisions. More likely someone took a right or left turn and didn't see the pedestrian because the drivers have to pay attention to multiple things at the same time.
Programming uses the same words as regular English, but it is a completely different linguistic register, so there is never any conflict. It’s like working in any field with its own jargon — you use the meaning that is relevant to the context. In linguistics this is called the Relevance theory of meaning and interpretion, which explains why we do this contextual interpretation easily and mostly without thinking about it.

I am a native English speaker and former ESL teacher with a masters degree in applied linguistics, as well as veteran developer.
You can build a machine with a laser and a big mirror.
Everyone is biased, including journalists and you.
The vehicles in science fiction might just have speakers too.. maybe there was never actually a physical reason for that specific noise. Hm.
So you mean HP isn't an alternative?
They meddle with their money.

Yes, they do, and that doesn't disqualify them as Libertarian. I assume by using "libertarian" in quotes and lower case, you have some meaning beyond the actual Libertarian Party. They fund the Libertarian magazine Reason. Spending money to influence people is not a conflict.
It wouldn't surprise me to find out that the average person really does underestimate calorie consumption by that much.

Beverages alone are one of the major sources underestimated calories. A 20oz bottle of soda with sugar is multiple servings, but people don't think about it as such. The same goes for fruit juice and a lot of the fancy coffee beverages. Alcohol is also easy to underestimate, especially if a glass of wine with dinner can turn into half a bottle or more, or a nightcap turns into a double.
That's the theory, but what do you do if a volunteer's efforts are simply not up to snuff or when his goals are at odds with the project's goals? They need to spend their time elsewhere, unfortunately some just won't take any hint whatsoever.

Storytime!

I'm teaching introductory science at a regional college somewhere in the Southern US. Admission standards are low, especially for the nursing school. Somehow there's a large number of students from a disadvantaged background who have been directed into nursing by family or their guidance counselor or whoever. This describes half of the kids in my class.

Preparedness in math is a great problem, especially for kids from rural or urban ghettoes. Many students have no clue about basic algebra, some can't even do fractions. There is a prerequisite math course that kids must take before the science course, but it fails to fix these deficiencies.

I demand that my students solve multiple-step word problems, simply because it's a needed skill that will come up in later courses and in their careers. Math and reading isn't my concern, teaching science is. Besides, medication errors are the third-leading cause of hospital deaths. Someone who can't read or calculate dosage has no business being anywhere near a patient. Without hyperbole, it's a public health issue!

That's what I told my students, but they don't care. In their minds I am the obstacle between them and a lucrative career. I force them to continue in poverty. If someone has advice I'm glad to hear. It's an institutional problem that the institution comprehensively fails to address. Administration's main interest is tuition income and student satisfaction.
Solar isn't available? All my friends here in the UK with panels would beg to differ. Sure less than the summer, but a rooftop aray and still put out a decent amount of power much of winter. Maybe not in the high North, but esp since you qualified that with 'central Europe' I'd wager there is plenty of solar generation going on then across Europe.
Microsoft's new strategy has not happened to the detriment of quarterly numbers, on the contrary.
In words (sometimes) but not deeds.

That's really a continuation of the policies of the prior two presidents (maybe more, I just don't remember one way or the other).
Many years ago, in elementary/primary school I went to a computer camp when I was living in Belgium. We used Logo in French on Macs. I don't remember much, but the keyword for random was 'hazard'.

My experience was actually not bad; I didn't have any trouble associating the words with the abstract concepts involved in sending the turtle around the screen. I was doing fairly simplistic stuff though, I'll concede.

I wonder if instead of decoding words when programming "in the hardware", we form new associations for the (relatively) limited set of keywords languages provide? I mean, in most code, the words provided by the language make up maybe 5%-10% of the code. The names we give things seem much more important.

To your point of not being able to tune out inane heard content in my native language I agree. I'm not proficient enough in any others to have tried it, sadly.
At this point I’d be thrilled for any movement of policy in this direction, no matter who’s behind it.