skysight-inc/HackerNews huggingface dataset:
> Note that in python there is a math.fsum function which return a perfectly rounded summation of floats.

Quirks of the underlying data can yield surprising results.

I was playing around with the "well-known" floating point error result of 0.3 - 0.2 - 0.1 = some small number (instead of 0), and found:

>>> sum((0.3, -0.2, -0.1) * 1_000_000) / 3e6
-2.775557561562891e-23
>>> math.fsum((0.3, -0.2, -0.1) * 1_000_000) / 3e6
-9.25185853854297e-18
>>> stable_mean((0.3, -0.2, -0.1) * 1_000_000)
-1.387894586067203e-17

Namely, the "naive" mean yielded the smallest error (due to cancellation lining up just right such that it's capped after two rounds), fsum yielded a nominally larger one, and stable_mean yielded the biggest error.

Of course, if you sort the values (such that we're accumulating -0.2 + ... -0.2 + -0.1 + ... + -0.1 + 0.3 + ... + 0.3, then sum performs much worse, stable_mean is a little worse, and fsum performs exactly the same.

>>> sum(sorted((0.3, -0.2, -0.1) * 1_000_000)) / 3e6
-1.042215244884126e-12
>>> math.fsum(sorted((0.3, -0.2, -0.1) * 1_000_000)) / 3e6
-9.25185853854297e-18
>>> stable_mean(sorted((0.3, -0.2, -0.1) * 1_000_000))
-3.0046468865706775e-16

edit: Naturally, if you want accurate decimal calculations, you should consider using decimal.Decimal or fractions.Fraction (albeit at the cost of significant performance). Using numpy.float128 will help, but it's still subject to rounding errors due to imprecise representation.
That's pretty great! Notation and shorthand seems to trip even the most capable mathematicians up. I remember making these all the time as a student to try an help. The probability section might be the most important IMO.
Until this year, I lived in the same place I grew up, one of the highest cost-of-living places on the planet: NYC. Until the pandemic, the goal of owning a home did seem totally out of reach for me, even with my remote SV tech job salary.

Then I moved to an unincorporated community in TN, because NYC's lockdowns, mask mandates, and general cultural decay was too much for me to bear - financially, emotionally, and even ethically.

I now own 15 acres of land with two houses on it. The median income in this part is <40k/yr and yet it's safer, friendlier, healthier, and best of all, much freer. High cost of living is a true killer of communities and the more expensive your area is, it's quite likely it's also a lot less free.

If you can leave the major cities in the US, it's possible for life to become a whole lot nicer.
I'm just now middle aged and even when I was a twenty-something I never felt as ambitious or as risk embracing as I was supposed to be. My father and grandfather got into way more trouble than I ever did, with just about every facet of their life. My stories are absolutely tame in comparison.

It turns out the steady dopamine faucet is a stronger motivator than going out and trying to flirt, date, make friends, network, or hustle. Just spending time on the PC isn't even particularly fun, but as soon as someone proposes plans I suddenly feel like backing out and retreating back into my own world. I definitely sense this isn't "normal" for men and it's probably a consequence of modernity.
Part of this problem is our societal failure to build enough housing to keep up with the increasing number of people, with a resulting increase in housing costs that has significantly outpaced the median wage. If you can't afford to live on your own, and can't afford housing where the jobs are located, then you're more likely to live with your parents and be unemployed.
yup. also we’ll end covid, catch all the people involved in human trafficking, give everyone free clean water, free organic food, free internet and a free tesla. climate change? gone. everyone’s IQ is gonna increase by 120 points. We’re gonna develop space technology that will put us on another habitable planet, outside of the solar system before the end of the decade!!!

next time you think a ban is a good thing, imagine I would ban something you do. It doesn’t even have to be something essential. Maybe I ban a hobby of yours. How does that feel?
I work on my company-issued laptop.

I do it sitting on my couch that I already had anyway,

or at my kitchen table that I already had,

or in my car that I already had,

or in the public library where I can go for free,

or in the shade of a tree on top of a hill kept as open space by the town where I live.

Clearly, there is nothing much that I could be reimbursed for. So my question is, why are so many people so different from me in this respect?
The US messed around with losing it, too. It didn't end up happening, but it has edged closer and closer for the past couple of decades. The system has twice produced a result that was clearly against the popular preference, and most recently the losing candidate took numerous measures to attempt to make it a third.

Both sides have significant doubt about whether the mechanisms used to count votes are accurate, and it's growing worse. It looks very much like a situation where sooner or later we, too, could lose the ability to have a peaceful change of power.

Extrapolations about the future are always fraught, so take that with a grain of salt. Nonetheless, the fact that everybody is making the same extrapolation just makes it more likely.
Knobs and sliders and buttons all cost money to create, wire in, fix. 1 touchscreen is cheaper.
Your point may be true, but it's not a rebuttal to the parent's assertion that "contagious narratives" are a normal part of many generally accepted systems. It's like you're throwing in random information.
Ebiten (a 2D game library for Go) now supports Nintendo Switch
What does it have to do with what we are discussing?
"Mother Earth Mother Board" (1996) by Neal Stephenson is great narrative nonfiction on the subject: https://www.wired.com/1996/12/ffglass/
This article has nothing to do with banks discouraging crypto use. It's just about how existing regulations related to risk are applied to banks' crypto holdings.
Use the archive link for this article instead (the site is a dumpster fire of ad and tracker shit): https://archive.is/oBQre
Better Place [2007-13] was a venture-backed international company that developed and sold battery charging and battery switching services for electric cars.

https://en.m.wikipedia.org/wiki/Better_Place_(company)
Young Chinese choose to “lie down”
Duh. Fiat currency (and Bitcoin is fiat) only matters insofar as you have the guns to defend it. Bitcoin has no guns, so there's no intrinsic value.

It's bleak, but the value of a currency is directly proportional to the number of lives a government is willing to kill to preserve its value.

The united states and Europe are willing to kill lots in their attempts to keep their currency afloat, as they've demonstrated through the centuries. Thus their currency is worth it to whomever values their life.

This is not a statement of how things should be, it's a description of how they are.
>The real argument here is that a school's principal is not a legislative body, and his authority to make those choices is completely illicit.

It isn't entirely if you're talking about minors. There's a duty that the State has in a paternalistic sense to care for children, and children have a more limited set of rights than adults.

Where it gets interesting is this is intruding into private spaces where the parents are the ones with those rights, not the school.

For adults in college, it's more like a corporate environment and they can decide themselves what tradeoffs they want. It's possible there is some overreach or discriminatory factor there.
I used to find the first generation Apple AirPods to be quite good. For me, they sat relatively flush in my ear, so falling asleep with them in wasn't uncomfortable, and they'd be just loose enough to gently fall out without me noticing once asleep.

The latest gen don't work as well (for sleep) as their shape is slightly different (more "bulbous" perhaps) and are much more uncomfortable to fall asleep with in my opinion.

As to how wise it is to sleep with tiny bluetooth transmitters inside your skull... that's a different question.
As I understand it, though, that only applies if the platform doesn't control what is posted. Given that the app stores have an extensive vetting process, and complete control over what can and cannot be accepted, why are they not responsible for that content?
Or worse:

“We noticed your heart rate was only elevated for a couple of minutes in bed last night, need help lasting longer in bed?”

Or

“We noticed the same heart signature while you were away from your wife’s location, need a divorce lawyer?”
A Mystery Malware Stole 26M Passwords from Windows PCs
Really? Never thought of that, is that a DIY thing or would I need to take it someplace?
Synthesis: The force of the law may not be homogeneously distributed.
This.

Being a very anxious person in nature, I will add there is something that positively helps anxiety in repetition of something known.

I can't put my finger on it but, I always feel aliviated when a new episode starts after the previous one. It's one of the things that has helped me most during hard times, and gave me back being able to fall sleep at night.
This is, unfortunately, such a good point that I hadn't considered in the past.
Can you download a RTX 3080 from the Docker registry?
The whole of Amazon has been tarred with working conditions for their warehouse and drivers. I assume the information workers don't have to piss in bottles and go through metal detectors.

However we just recently heard about Amazon hiring to fire, with an internal policy and broken pursuit-of-metrics that yields fundamental dysfunction.

https://news.ycombinator.com/item?id=27111566
everything is externalized. you don’t live in a bubble. You are part of a ecosystem with your I/O connected to that system.
The population is getting older.
https://www.statista.com/statistics/241494/median-age-of-the...
Actually I would argue we're at the "recentralization" stage. Kind of like what happened to the internet. Now that the banks smell profit in the water, they have every incentive to get some concrete rules written around crypto so they can treat it like any other asset on the books. Once that happens they can easily dominate any PoS network due to their access to capital.

Even at my most optimistic I don't think the Bitcoin story is going to end differently than other applications of the internet, most of which are now highly centralized.
Sept 2020 seminar on Wildland, https://golem.foundation/2020/10/10/WildCon1.html

> Wildland is a highly ambitious project to decentralize the web, help individuals to take back control of their data, and free users from dependency on on-line service providers ...
To achieve this goal Wildland completely redesigns data management, by switching from a service-oriented to the data-oriented paradigm, and giving individuals explicit control over the choice of data storage infrastructure ... Wildland architecture also allows for the creation of decentralized and user-controlled social networking apps.

Videos: https://vimeo.com/user124198022
Could a powerful country just take over Bitcoin as an extension of its fiat?

What would happen if tomorrow the federal reserve announced it will exchange 1 BTC for 50000 USD?

Obviously there would be an immediate price spike... but then what?
Parents panic as top NYC school plans to end advanced math program
That’s the reality but article tells a totally different story which is funny and also unsettling how The Guardian can do so bad reporting.

I for once agree with these council suggestion, 100% bank reserves for cripto-things. The world doesn’t need to add more instability to the FIAT system.
It's unbelievable how many crypto crusaders jumped into the comments without reading the article.

This is not about banks asking to regulate crypto usage away. It's about reserves.

This is actually more of a crypto-friendly development than I'd expect.

If anything, it's a way for big banks to monopolize crypto banking by increasing the difficulty of starting a bank that holds crypto deposits.
The models projecting the dire 2100 scenario just aren't fit for that purpose. They are useless. Rewind them 5, 10, 30 years, start with all the known inputs. Guess what, they fail this kind of back testing. They can't predict anything. And none of the different models agree either.

If you look at extreme heat events, they haven't changed over the last 150 years. The last thirty years have seen slightly milder winters in the northern hemisphere. That article admits the data on heat deaths is poor, therefore it can't conclude much of anything except to speculate about bogus model extremes.
No it doesn’t. It’s much better than past empires and current alternatives across the board.

You bring up Pinochet - yes, terrible, every huge organization has egregious moral errors like that. But if you’re bringing up the worst things the US has done, then it still pales in comparison to China literally putting a million Muslims in concentration camps right now.
With "fractional reserve banking", banks can create money with each loan.

With bitcoin, if you want to create money, you have to work for it. Banks do not like that.
Thousands of matches isn’t a good thing. If you ever have the opportunity ask a female friend to show you the kind of messages they get on dating apps. They’re pretty appalling. It genuinely worries me that there are so many creeps out there. The men you know may not be getting many matches but at least the ones they get are more than likely from relatively normal people. If I had to sort through the garbage women do on dating apps I wouldn’t be on them.
It doesn’t, that was the suggested price. For anyone who is a candidate for this drug they will almost certainly be on Medicare or Medicaid and the gov negotiates a much lower price than retail.
Not quite as it is a more specific term - a Schelling point is a social construct but not all social constructs are Schelling points.

In particular a Schelling point is a default chosen without communicating it in the first place. None of the above examples count.
Sure, but likely by the time the Aryans got to that region they were not "fair skinned." There was an intervening millennia of hanging out in the Caspian / Bactria / Central Asia before entering the subcontinent [1]. Nor were the Yamnaya people ever really "fair skinned" ; they were likely dark haired and olive skinned.

1 - https://en.wikipedia.org/wiki/Bactria%E2%80%93Margiana_Archa...
A contagious narrative backed by guns indicates weakness of narrative
Adding to this, we've also abandoned the idea of building out in the middle of nowhere and linking it to a city center with a rail line. I'd gladly buy a cheap home in the boonies if I could take a train into work instead of driving.
Come to Florida where all road signs are merely suggestions /s. However, this is the strongest argument I've seen for why money is money, crypto is crypto, stop signs stop cars, and "DO NOT CROSS" keeps people out.
That tax bill I get every year payable only in dollars isn't imaginary.
What would be the best argument against this sort of legislation?
Perhaps medical records are more 'viscerally' private to people than conversations with friends? It's easier to forget that big brother is recording everything you say when most of it is amiable chatter, but when it comes to having, say, incurable butt-warts, people become a lot more reticent, if only out of a fear of embarrassment.

Personally, short of deleting my account, I stay as far away from Facebook as I can, and try to minimise the amount of data I share with other services, although some compromises are still necessary or at least sufficiently convenient.
He is, but sometimes I go cross-eyed reading his books. He likes to explore some crazy topics, which makes for great reading but sometimes confusing reading too.
The weird part about the wide range of pay across the country and companies is, I cannot tell if this is a joke or not.
That's quite an interesting graph. I wonder if it is also influenced by things to do with average age or age of retirement, time spent in school, or something like that. Just looking at it makes me wonder about demographics/education/etc. That's about a 20% drop over the years, I would assume caused by a number of factors.
Only terrible management fits this description. Good managers care very, very much about what’s best for their people, and are willing to sacrifice a lot to help them achieve.
Classroom Examples of Robustness Problems in Geometric Computations [pdf]
Nicely done! Very fluid.
38% of US spending is by the government. In case you hadn't noticed they spend their money in US dollars.
Rephrasing an earlier comment, sorry, but - is Bitcoin really that great as a practical technology? An asset with dubious value (some bytes in a decentralized database) that's so staggeringly inefficient to run that the transaction fees are astronomical and speeds are glacial, and that nobody uses for any real purpose besides speculation - pumped by a million and one influencers and "coin news" sites parroting empty bullish propaganda in hopes the price of their portfolio keeps going up.

I was originally fascinated by crypto, but the more I've come to understand it the more I suspect the world has lost its mind.
I think your description of the thought process and the eventual realisation that it is really hard to choose something that is pragmatic is spot-on.

FWIW, I would agree that most of the time you don't need an overly fancy solution. Some technologies are good for many (but not all) situations - such as relational databases. Others are useful in much more specific scenarios. That still leaves a lot of room for debate about which specific tools to use. It also leaves a lot of room for debates along the lines of "yes, I know that the whole 2000 people company uses bongoDB at scale, but in this particular case, it's actually not a good idea", something which unfortunately many people can probably relate to if they've worked at a bigger company.
Which is alone, way more than what most cryptocurrencies have to offer in terms of built in value.

If the USD is attacked (through a weak point such as counterfeiting) the largest military power in the world will make that stop.

If a cryptocurrency currency us attacked (through a weak point such as a 50% attack), what do you really have that can put a stop to that? All you can do is fork the chain and hope it doesn't happen again.
The Internet Computer: Revolutionary or Hype?
Let me take a stab at explaining how AlpineJS is different. First, let me talk about the two "modes" of front-end frameworks, what I'll call: "FPC" and "Sprinkled":

FPC or Full Page Components: the original HTML source (as seen from "view page source", not "inspect") usually contains a tag like `<div id="app"></div>` which simply serves as the place where the FPC-oriented framework inserts its magic. All the magic happens in the JS (possibly generated by compiling from something else like JSX or a component DSL). Note that a FPC is not necessarily a SPA; you could have multiple pages with one FPC each.

Sprinkled: the original HTML source has the framework's tags, attributes, and/or other markup sprinkled throughout it. The framework will search for these sprinklings in the original HTML and do as they direct. Usually the framework only looks within an encapsulating tag so the original HTML might have something like `<div id="app">...more HTML with sprinklies...</div>`.

React and Svelte are FPC frameworks. All the exciting stuff is in the code: JS, JSX, or a JS-like component DSL.

VueJS can be used in multiple modes. It can be used in pure FPC mode. It can be used in hybrid mode: with both components and sprinklies in the original HTML, including sprinklies between a component's start and end tag. And it can (almost) be used in pure sprinkled-mode. I say "almost" because you do need some JS code to define the mount point and the data. (VueJS also has two sub-modes for components: compiled client-side and pre-compiled during the build. The later requires a more complex build step).

AlpineJS is (mostly) for pure sprinkled-mode. It is easy to write non-trivial function with no JS at all, other than loading AlpineJS itself from a CDN. On page load, AlpineJS will automatically do the needful; no bootstrapping JS is required. When re-use and/or complexity requires it, you can move some or much of the code from HTML to your JS. For even more complex stuff, the new plugin ability in V3 of AlpineJS makes adding your own directives/attributes or magic variables/functions easy. This extra ability in V3 just means although you can do 80% with no or very little JS, you still have room to grow for the other 18-20%.

AlpineJS is great for and focuses on the needs of simpler apps. And most of the apps we develop should ... be ... SIMPLE.
Have been going to conferences in Vegas for 30+ years. For a long time it was just incredibly depressing walking through the floors and seeing all the elder generation playing slots at all hours. Quite the motivator to never stop working, IMO.

Now that Vegas is more young-focused, it's all age groups on the slots. Then I think, multiply those giant floors by 1000X and that's the gaming population.
Impressive success at burying the lead.

Let me fix for it.

"Detailed incident report: No One At Klarna Understands That Disabling CDN Cache Protections for Personal Information is Bad"
I know, right. They tried their best.
> what would happen

cybercrime would skyrocket
I’m not joking
It certainly sounds like it, yes.
What about the cost/sqft? I would assume that the 'house' would have more space for the dollar.
You left out 5am-8am
I'm guessing Tether Ltd. won't fare that well on the credit risk assessment, but other institutions could.

Given how the credit rating agencies were more than happy to give investment grade ratings to toxic waste in the run-up to the 2007-2008 financial crisis, I'm not sure that's a safe assumption to make.
Game programming in particular is often full of interesting hacks and difficult to read code, because in game programming performance trumps all else.
I've got a buddy in a similar situation. We all came from somewhat similar backgrounds and all majored in the same, useless, thing. We lived together and while we all played a lot of video games one of the three never really moved on from that. He's still working at a low wage job behind a counter and playing video games a lot.

I think it's less that he doesnt know different but more that he never got a break in the right direction. I stumbled into a career. Our other buddy stumbled into a career. He didn't. I'm not saying he never will but I can look back and point to a few key moments that led me to where I am today. Without those I'd probably be living in my parents house playing video games too.
> The electoral college was never meant to be influenced at all by political party membership;

Then, frankly, the framers were completely incompetent, because they couldn't have designed a system designed better to guarantee a stable national partisan duopoly if that had been their intent.

> and Washington warned against the siren call of the National political party when he left office.

That wasn't a forward looking warning; the duopoly guaranteed by the Constitutional structure of government had already been firmly established by the end of Washington's first term, with the leaders of both factions in his Cabinet.
Most seditary people turn into "night owls" if they don't pay attention.

Your phrasing makes it sound like people can't help themselves, but thats just wrong. Sleeping habits are actually an issue of discipline unless you're suffering from an actual medical condition... Which are extremely rare

Either start working out/do cardio or reduce your sleeping time until you're able to go to sleep at the time you wish.

some things are actually controllable if the person in question cared enough to actually learn about themselves.
That's not nearly all that the ProPublica article is talking about.
What about OpenCL?