skysight-inc/HackerNews huggingface dataset:
Interesting! If you correct the obvious errors, then it appears to calculate 1/pi:

>>> from decimal import Decimal
>>> import math
>>>
>>> def nth_digit_of_pi(n):
... getcontext().prec = n + 1
... C = Decimal(426880 * math.sqrt(10005))
... M = 1
... L = 13591409
... X = 1
... K = 6
... S = L
... for i in range(1, n):
... M = (K ** 3 - 16 * K) * M // i ** 3
... L += 545140134
... X *= -262537412640768000
... S += Decimal(M * L) / X
... K += 12
... return str(S / C)[n]
...
>>> "".join([ nth_digit_of_pi(i) for i in range(50) ])
'0.318309886183790698041462054251035408427213165074'
Yeah I'd love to get your help! My email address is johnny_reilly at hotmail dot com or you can DM me here: https://twitter.com/johnny_reilly or here https://fosstodon.org/@johnny_reilly
Probability estimates are not the same thing as uncertainty.

Consider tossing a coin. If I see 2 heads and 2 tails, I might report "the probability of heads is 50%". If you see 2000 heads and 2000 tails you'd also report the SAME probability estimate -- but you'd be more certain than me.

Neural networks give probability estimates. Bayesian methods (and also frequentist methods) give us probability estimates AND uncertainty.

The literature on neural network calibration seems to me to have missed this distinction.
> Match making games are actually designed to keep successful players and teams from winning too much.

> MTGArena aggressively manipulates what kind of deck you will play against

> manipulates who goes first

> MTGArena also buries/floats cards.

> The shuffler also has a habit of giving duplicates of cards or making someone draw a duplicate of a card more often than "expected".

These are all falsehoods spread by people who are looking for something to blame after losing games. Seeing patterns that are not there.

You're posting conspiracy theories as if they're facts. There is no evidence to support these claims. Why would the developers spend money implementing such features just to make their players angry and dissatisfied? They can barely hold the game together as it is.

> and manipulates opening hands

This part is true, but only in a limited way in best-of-1.
I wonder how man 3000 years ago survived in North America and Northern Europe without technology.
Requires proximity and someone very determined though...
OKR really should be used as the North Star and constellations. It usually isn't, though, because people write either task completion percentages or KPIs instead of outcome-supporting qualitative measures that can be undershot or overshot based on priorities and effort allocation (much like SLAs, bad, vs. SLOs, good).
Vendors like Sonatype already offer this for enterprises. I feel we're a long way from it being available in core OSS repositories though.

https://help.sonatype.com/fw/best-practices/release-integrit...
Faster virtual machines: Speeding up programming language execution
> if kqueues were clearly superior technically, then applications which rely heavily on widely-multiplexed kernel notifications would naturally have migrated to the superior solution.

I get it -- you don't like the way I phrased my point. More power to you. But you keep shadowboxing a straw man.

My point was: It doesn't matter if kqueue is clearly superior technically or aesthetically or otherwise, Linux (not epoll) wins for reasons that have nothing to do with that.

In order to actually make your point re: aesthetics, you have to make a much stronger case, which is that epoll actually is at least the technical equal of kqueue, not merely your feeling that apps would have naturally migrated, etc. Instead of -- people chose Linux (again not epoll) because of ... inertia, herd mentality, knowledge base, app availability, etc.

Good luck.
Is that site itself reputable? I’ve gotten a weird impression from it the few times I’ve gone to it.
There is a picture of two vehicles side-by-side at Nasa's website on the history of the Space Shuttle. If you see it you decide which of the two was built by the faceless bureaucratic procurement-contractor process.
> Note that the calculation of Bernoulli numbers can be done in several ways, one of which requires knowing π with good precision

This seems to be the catch.
To Defend Democracy, Is Brazil’s Top Court Going Too Far?
The real question here: does it even matter?

As far as I know I did everything right, and someone called my bank with info we both believe they got from stealing from my paper mail and got access because they convinced some human at a bank's call center they were me.

Don't make it easy for people (rng passwords + password manager, 2fa, don't run as su, whole disk encryption, don't leave you computer unlocked, don't log into your bank on rando computers you don't control, don't use untrusted wifi). However, assume you already are compromised and will have to deal with it some day.

Once you think that way, you don't need to stress that much about getting the perfect hardware solution or being super paranoid - buy a device you like, and enjoy you digital life. Stuff happens sometimes and if it does you can deal with it ¯\_(ツ)_/¯.
The goal of Guantanamo Bay was to try to evade the Constitution. It failed, however: SCOTUS still ruled that non-US citizens held by the US in non-US territory still retained certain constitutional rights with regards to criminal trials.
You are absolutely right. The sophistication of the hack implies, you will never know how the attackers will get you. What an organisation can do is, firstly do better disclosures. Secondly, let's the end users know what is risk they have when they add keys, credentials etc. To what extent certain systems have compromised and what steps have been take to mitigate this. Thirdly, organisations should run drills, better access management systems, better auditing systems, have an XDR system in place. You will get hacked, security will be compromised, it is the ability to reduce the contagion risk is what the organisation should measure. Protecting their customers.

You cannot shutdown access to resources as developer need them for productivity. Secondly, your competitor is most likely going to take risk of hack and move faster in bringing features while you reduce productivity.
> she didn’t replace parenting a human child for me. That would never have happened, I had already decided that and agreed with my previous partner about that

If I read that correctly, you decided with your partner to not ever have kids.

Do you think that decision resulted in some room you had in your life to collectively care for a little creature that returns affection?
This has been my thinking for so long. Why teach a bunch of courses students say is boring? Can’t we instead teach basic logic and philosophy in early years and then start students on basic set theory (or some equivalent) in their second or third year and have them slowly derive mathematics themselves?
The fix is just to have accrued PTO. That way employees know how much they are allowed to take and if they get laid off or business needs prevent them from being able to use it, they get a payout.
I think a lot of people have heard of the Fourier transform and kind of understand how any signal can be represented by a superposition of sine waves. Attempting to improve the intuition of how the algorithm works isn't a bad thing. The casual reader isn't going to invest the time to learn the pre-requisites so the alternative is nothing at all.
We could apply lazy loading only after the 2nd image maybe
It isn't trained on the data from a random set of humans.

It's trained on the human data that was chosen as more impressive, and trained to pull the most impressive parts out of that data.

Fundamentally, while GPT may be "learned", it is not "logical". Instead of learning potential logical conclusions, it has learned potential semantic responses. It doesn't match the meaning of words to other meanings: it matchesa set of expressions to other expressions.

The impressive part is that the logical conclusions already present in the training data get presented by GPT in a semantically coherent way.
These are not remotely analogous. PG&E solely provides gas and electricity to a subset of California residents. As for IBM?

“ two-thirds of the Fortune 100, 45 of the world’s top 50 banks, eight of the top 10 insurers, seven of the top 10 global retailers and eight out of the top 10 telcos, which are using mainframes, according to data provided by IBM. Most of those machines come from IBM.”

https://techcrunch.com/2022/04/04/the-venerable-mainframe-ro...
The sophomoric cynicism you describe is widespread in American society, but I notice it can be particularly bad among engineers, who seem to have a real arrogance in thinking they know more about how other domains operate than they actually do.
Most of your bullet points are reinventions of standard technology or incidental complexity.

Cryptographic verification of the boot chain with Hardware root of trust are real. Heavily sandboxed userspace is real. Everything else would seem to be a reimplementation of common best practices (disk encryption), or a mitigation of a self-created problem (there shouldn't be binary driver blobs running on the main CPU to begin with).

And from what I remember, a plain AOSP install seemed to still phone home to Google to check for Internet connectivity and whatnot. It's awfully hard to put my faith in an operating system primarily developed by a surveillance company, as the working assumptions are a drastic departure from individualist computing. And trying to question those assumptions with independent devs is often dismissed (for a particularly striking example, see LineageOS/"Safetynet").
Fair point. When I did try KDE shortly after the Pi 4 launched, there definitely wasn't hardware acceleration and the desktop was noticeably less fluid than the default Gnome. Though that explains why even Gnome never felt very snappy.
Backup generators need maintenance and may fail to start too, switching to batteries may fail too, I don't see how one can really remove the "maintaining and testing systems" overall.
Your strategy of winning every battle is going to fall apart after you lose a single battle.
Aren’t on demand TV services going to ruin this prediction capability?
>Match making games are actually designed to keep successful players and teams from winning too much.

Match making is generally designed to provide fair matches; this will naturally result in even really good players losing matches as their ELO rating converges on where it's supposed to be. It's like how in many games you'll see players complaining about a "forced 50% winrate" when really, that's just what happens when you're at roughly where you're supposed to be. You can't win forever.

> MTGArena aggressively manipulates what kind of deck you will play against

Only in Historic brawl is there desk strength based matchmacking

> manipulates who goes first (some Streamers stand at recording over a thousand
Never confirmed.

> While harder to prove MTGArena also buries/floats cards. Some cards have patterns of existing in your opening hand or only after your 17th-22th draw

Not confirmed, and an easy thing to get confirmation-bias on.

>The shuffler also has a habit of giving duplicates of cards or making someone draw a duplicate of a card more often than "expected".

Not confirmed and doesn't make sense? It's not like the shuffler is shuffling the deck as you play, that would break far too much.

EDIT: To be clear, the only actual shuffle "rigging" Magic Arena does (that the devs have talked about extensively due to Arena being Bo1 and Magic traditionally being Bo3) is your initial hand is generated twice and the shuffler chooses what it thinks is the better opening hand to present to you. After that it's all random.
I clicked into the comments hoping to find a bunch of discussion on set theory only to be let down.
NYTimes Accidentally Leaked Phone Numbers Of Russian Soldiers Criticizing War
That's cool. Just for fun, try to remove the lazy load effect from the LCP, let's see how it effect the score.

As for the strategic articles, I mean that you'll increase the internal links certain articles you think can rank higher.

On October you had 3300+ keyword that were ranked 11-100 on Google

https://i.imgur.com/ZGU0Ezk.png

It dropped to 165 keyword now. That's an insane drop, but I wonder how much traffic these thousands of keywords brought you since there weren't rank too high.

I would like to dive into the keyword that ranked 4-10, on Google (50 keywords). And they keywords that ranked 1-3 (15 keywords)

By understanding on GA which pages brought you the most traffic/ranked the highest
you can make them stronger by adding more internal links to these pages, look at it as kind of first aid ;)

EDIT:

Few tips:

- The 'Recent posts' widget is great. It get your article indexed faster. What about adding a widget below for 'Popular articles'? Place 5-10 articles there.

https://i.imgur.com/MBquX6M.jpg

- Make sure you implement time stamp to your articles the right way

https://i.imgur.com/b5usnJJ.png

https://i.imgur.com/0vpXdyE.png
I like to alias emacs to vim or rm, depending on how charitable I'm feeling.

(Kidding obviously, at least for the latter).
Definitely need a source.

I had a new website that had minimal text content. At first the most popular Google keywords were from privacy and terms! Had to change those pages to no robot.
So in this hypothetical, the reason they want to push players into accepting better opening hands is because losing in such a way is no fun. So their strategy to teach players better behavior is to make them experience it more often and to a worse degree? Like a parent who makes their child smoke a whole carton of cigarettes because smoking is bad for you?
Reading the linked article, a law was passed early in Obama's term to prevent them from moving any of those prisoners to American soil. The legation was created to intentionally frustrate Obama's promise to close the prison.
Ask HN: Annoyances and 'hacks' in Home Design?
I have no idea why they even try anymore?

There was an UN vote to try to stop the sanction against cuba... the result? 185 vs 2 - 185 to stop the sanctions, 2 (brazil, ukraine) abstained and 2 countries voted to continue the sanctions (israel and of course USA).

Until this becomes an internal USA issue affecting the elections, and when the propaganda doesn't help anymore with that, things will change... but for now, nothing will happen, waterbordings will continue while the politicians point fingers at other countries for stuff way less sever than whan usa has done in the last few decades.
I don’t get this thing with “10x developers”. Why are all these really good programmers working on things which are evidently way too easy for them? Their skills really need to be soaked up in more productive ways rather than having them be paid a huge amount for sandbagging.

If anything, transparency around salary ranges might help with this problem. If a transparent salary range reduces the amount of outliers, then those developers who would have been overpaid to do something too easy will be incentivized to find something harder and more interesting to work on.

And if salary ranges have a long-term chilling effect on salaries, that’s even better. Maybe some of those 10x programmers will change careers and become doctors, scientists, (real) engineers, or whatever else, and do something actually useful for society, instead of just building websites.
Is that true? the process of sideloading and running a 3rd party app is pretty far from simple, trivial or even easy to explain to a grandma / child.
That's kinda how Linux operates, just without a project manager. A good example is the audio subsystem Linux had 2 or 3 years ago - pretty bad, dropped Bluetooth connections all the time and broke on newer systems. So, the community came together and wrote PipeWire to fix these problems. The end-result is uncharacteristically impressive, in my opinion.

Still though, the last thing I want the Linux community to do is drop everything to focus on $SOMETHING. The people using Linux are a diverse audience with many different use-cases, and naturally not all of them want another MacOS to babysit.
>> enabling protections in the browser is becoming mandatory

> or me this amounts to enabling NoScript and uBlock

Hard to see how installing third-party extensions that can view and change data for every site makes the browser more protected.
Yeah -- How has IRacing not called max to have him do more pointed guerilla marketing against motorport/rfactor so they can dominate the esports arena.

Maybe they are just so rich from their monthly subs with no debt they don't care or (rightly) believe their product is so great it will win with enough time either way.

Max loves iRacing and simracing and is already poking motorsport anyway so maybe they were right.
So more proof that atomic bombs just aren‘t as bad as they always say!
Just found out that there's an extension to use Docker/Podman within VSCode which works on a local or remote machine.

https://code.visualstudio.com/docs/devcontainers/containers
Show HN: My Bookmarklet Editor
Nothing in React (or any reactive language/library) prevents you from doing that. But if you're going to mutate state, make sure to notify it about it. Add an entry to your data ? Sure, just re-do a setState() after and you'll be good. But that requires you to make sure that every time you mutate state, you re-notify the UI of it.

setState(data.map { d-> d.tree.map { d2 -> ... } })

is the exact same thing as

data[5][6][2][4].addChild(file)
setState(data)

React people will tell you to only use immutable objects, do copies, etc, but if your usecase requires mutating data, just mutate the damn data. It's not all or nothing. And even if you want to work with purely immutable data, you can work with lenses and have everything you want. With any language that has proper typing, you don't even need to build lenses with "keyed" names and can get the proper types.
Yeah - primitive but probably reasonable. Would be happy to experiment with that. I've also been pondering things we could do around open graph images as well, would be nice to use image CDNs like Cloudinary for open graph images in the same way we can for blog images https://johnnyreilly.com/2022/12/26/docusaurus-image-cloudin...
I'm way worse than when I wasn't considered "good enough". I just worked on a bunch of projects with cool-sounding tech for a few years and was consistent at delivering them.

> what kind of mental model helped in achieving this state?

Something like stoicism. You are surfing a big ball of mud called "the industry" and there's not much you can do about it.
ChatGPT has investors drooling, but can it bring home the bacon?
It isn't about using the CPU. It's about waking from sleep to keep the connection alive, and being able to kill background apps to save memory.

It's a battery saving feature.

UnifiedPush is just here so that an app can tell other apps it already maintains a persitent connection, and can forward notifications.

You'd have to sync TCP keepalives across different apps otherwise. Moreover, UnifiedPush is transport-agnostic. Here, it's XMPP. It could be SMS or LoRA too, handled by a low power microcontroller or the modem itself.
As ben_w points out elsewhere in the thread, renewables are so cheap that losses matter less than you think.

Put another way: Today in Denmark, electricity is free. Literally 0 cents (øre) before taxes and transport fees (of about 5 cents, 36 øre). Just before Christmas it was about $1 (700 øre) per kWh. There's no inefficiency where it would be bad to store energy with swings like that.
It's only an ads thing. Facebook, Google, etc., all require to those pages be on a website to run ads. They say nothing about Personal websites, but the EU probably does once you start using GA.
Liquidator sounds like a good assassin name. I’ve done it a couple times. There’s not as much money in it as one might think.
Full time Paramedics work like dogs and barely make college grad software engineering wages.
Paratrooper sounds fun.
While we’re doing dangerous jobs requiring crap-tons of training and specialized connections to get employment how about underwater welding?
Anyone else wanting to search for the book "Midlife" -- it seems to be this one, by Kieran Setiya (full title: "Midlife: A Philosophical Guide"):

https://www.goodreads.com/book/show/34427017-midlife
I feel like this is question reflects the early days of Google, It would be like telling the youth to go to the library instead of using the internet.
That's better than the blog post actually (ECE background here).
Didn’t expect to read someone using slurs on hacker news either
We need an explain everything in one sentence website.
https://www.macmillandictionary.com/dictionary/british/would...
Iirc none of those libraries allowed you to build alternative facebook clients, whereas iirc the twitter apis did.

I remember playing with the twitter apis many years ago, and effectively you could do most things without any official client side and without displaying any advertising.

So yeah.
As much as i disagree with you point of view reducing a pretty good article into a word, i'd rather say i's in fact...

Kind of nihilist.

Or at least a little bit.

But i don't think nihilism itself looks deep into the "be content" part, but way more in the "nothing matters" which
is not the point of the article.

Existencialism and Absurdism in the other hand, seems like a "better label" for it imho.

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

https://en.wikipedia.org/wiki/Absurdism
> At some point, someone somewhere has to have access to infrastructure

They could run everything in Nitro Enclaves or similar, that require multiple people to deterministically compile and sign new software for, and release secrets into.

I design quorum controlled infrastructure for a living, mostly in fintech where no single human can ever be trusted. You 100% can run infrastructure that, barring a platform 0day, can prevent any single human from having access to the memory of customer workloads and secrets. Customers likewise would encrypt any secrets or code directly to keys that only exist in the enclaves.

CircleCI had negligent security design, but all its competitors are just as bad, to be fair.

Building with security in mind makes you last to market, which is unforgivable in our industry. Getting hacked however is just considered a cost of doing business.
I think you meant that they are under-estimating
this will break current implementations of brotli, please dont!
I really dislike this dilution of “zero-day” and “supply chain attack”: these are typosquats, not package takeovers. There’s no evidence that they’re widely affecting companies or individual developers whatsoever.

In general, you can apply a “repetition” test to these sorts of 0day claims: if the attacker can create infinite “0days” using the exact same technique, it’s not an 0day.

Edit: More generally, otherwise serious security companies should be ashamed to publish dreck like this. It’s one thing to highlight a tool that automatically detects new typosquats (this would be a genuinely useful contribution to most packaging ecosystems!); it’s another thing entirely to breathlessly hype non-existent attacks. This kind of false vigilance breeds exactly the kind of complacency that it’s supposedly intended to prevent.
I also wish it was an UnifiedPush client too!
Which profile? I link to it in my GitHub / Mastodon / Twitter profiles for instance
This is a tool I use pretty regularly.

On most sites I use, I automate something. Since I don't like to keep two versions of the code (plain and in bookmarklet form), I wrote this editor to convert the code in both directions.

You can click on the question mark to get more infos about bookmarklets in general, this editor in particular, and some examples.