skysight-inc/HackerNews huggingface dataset:
In the past I have also been tempted by this idea that perhaps it would be better to redefine the current INT_MIN to be a NaN.

Nevertheless, after thinking more about it, my conclusion was that this is not useful.

The strongest argument in favor of it is that then an optional integer needs only the same size as an integer.

Against this argument is the fact that in decades of programming I have never encountered the need for an optional integer type which needs for its base integer type all possible values.

What I have encountered very frequently were optional integer types whose base integer type should have been defined as an integer interval a.k.a. integer range, like it is possible in languages like Ada or Pascal.

For such optional integers with the valid values restricted to an interval, the optional type does not require extra storage over the base type, because the NaN can be represented by any value outside the permissible interval.

The second argument for redefining INT_MIN to be a NaN is that this eliminates the possibility of overflows in several integer functions, like absolute value and negation.

This argument is weak, because overflows can still happen in the more frequent arithmetic operations, so most non-trivial programs must still provide means to handle such exceptional cases.

Moreover, the exceptions are avoided in absolute value and the like, by still having a (possibly implicit, i.e. inserted by the compiler) check that an integer value is not a NaN, somewhere before the code that uses negation, divide by -1, etc., perhaps in the invoking function, not in the invoked function to which integer arguments are passed, so this in the best case replaces multiple checks interspersed with the operations with a single check in the beginning, at the origin of the integer data. On the other hand, implicit checks that an integer is not a NaN would have to be added after additions and the like.

The same is available now, in much of the code where integer overflows are possible one can check the range of the input integer data somewhere in the beginning, verifying that there are no values that can result in an overflow, avoiding further checks at each operation.

The redefining of INT_MIN to be a NaN could help by relying on implicit checks added by a compiler in a few cases, but most expressions contain additions, subtractions and multiplications, so the program must still rely either on the compiler adding implicit overflow trap checks after each operation, for which adding the integer NaN does not give any improvements, or in the programmer writing explicit range checks that depend on the expressions that are computed, and for the majority of the expressions the explicit checks would still be needed.
Some context from Wikipedia (https://en.wikipedia.org/wiki/2022_Nord_Stream_pipeline_sabo...):

> On 8 February 2023, American investigative journalist Seymour Hersh published an article on his Substack page in which he alleged that the attack was ordered by the White House and carried out utilizing American and Norwegian assets by mining the pipelines in June during BALTOPS 2022 with a subsequent remote controlled detonation. The post relied on a single anonymous source, whom Hersh described as having "direct knowledge of the operational planning." The White House responded to the story by calling it "utterly false and complete fiction". Norwegian Ministry of Foreign Affairs said that those allegations are "nonsense". Norwegian commentator Harald S. Klungtveit challenged the accuracy of Hersh's claims, such as the notion that Alta-class minesweepers had participated in BALTOPS 2022, or that NATO Secretary General Jens Stoltenberg had been cooperating with US intelligence since the Vietnam War, when he was a teenager and fervently opposed to NATO. Subsequently, Hersh stated that the trail the German investigators were following on the "pro-Ukrainian group" that used a rented yacht was a false flag fabrication created by the CIA and fed to US and German outlets.
Edit: oh wait I'm completely wrong, that's not a key, that's an ID in a directory, lol. The public key thing is just a plan.

There's a thing called DID that identifies you. There's a few options, but one is called "DID PLC" with a sample implementation here:

https://github.com/did-method-plc/did-method-plc

With the disclaimer that I haven't dug into it seriously enough, I understand it's a public key (that I can also rotate) that I can use to prove that an account somewhere else is really mine. Note that I have no idea what the private key is, or how to dig it out - I'm sure that's documented somewhere, but I wasn't interested enough for now.

TL;DR: there definitely is a theoretical mechanism for users to "take their toys with them." How it works out in practice is a different matter. I suspect most users wouldn't know they're supposed to keep a bundle of data stored somewhere for a dark hour. I also wonder how the protocol protects itself from people accidentally putting that data in public.
JQUERY:

await $.post({
url: '/my/url',
data: data
}).then(() => {});

VANILLA:

await fetch('/my/url', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(data)
}).then(() => {});

I know which one I still prefer.
And you, or (almost) nobody else, would have never made this example (quantized, emergent properties etc) just 15 years ago. GP point still stands.
Fortinet Firewalls (FortiSIEM) – Remote unauthenticated OS command injection
You may be right, Zealot may not be the right word here.

But after reading that article, I was definitely left feeling judged because I choose to do exactly the things he's talking about, for exactly the reasons he's suggesting. Maybe that's on me, but I certainly felt his standards imposed on me, disclaimer or not.

Also, given the conviction with which he argues with in the article, that disclaimer feels a little weak -- kinda like when someone says "No offence, but... <very offensive thing>".
It tends to happen. Think of spacetime in Physics. Is a mathematical structure that, saving some small issues, works pretty well to describe reality. That doesn't mean that is fundamental but if you ask people nowadays many will believe it as a fundamental truth
I hate to be "that guy" but I find it a little bit sexist that the noob is called "Rachel". OK OK I'm gone.
i am aware, i work as webdev and my current project is only Blink compatible. my employer does not want me to waste any time ensuring i support other browsers that are not going to be used.

web should be able to be viewed in any browser and get the same document.
Either seems possible to me, and I think it probably depends on the nature of the pornography, and the levels of agency allowed for the consumer (see also, methadone programs).

I worry that left to their own devices, some may slip deeper into the psychosexual sadism side of things.
> No, that feels like living in an imperfect world and trying to make it better.

Fair call.
Is it the industrial research where the reproducibility crisis is actually manifesting though? Most evaluations I've seen of it suggest that while it's a universal phenomena it tends to be concentrated in the social/activist sciences. In most areas of industrial or applied focus it seems like much less of an issue because ultimately the science of boats has to be at least coherent enough to stand the trial of putting them in the water.
Are you using GPT-3 + RAG by any chance?
Optimally, next to a source of water that can be split into hydrogen, ready to be used for the chemical process producing the pure iron. (Not the process in TFA.)

An array of SMRs (small modular reactors) located at the steel factory could be used – and would be sufficient – both for heating and producing the electricity without interruptions caused by fluctuating prices or blackouts.
I had a conversation on an airplane with a lady that read scripts for a movie studio. I learned three things. You submit a script they'll read it for purely liability reasons. Most scripts are garbage. But of the ones that aren't about 10% get bought. So if you're good you can make a living script writing.

Some other bit about being a movie producer. Guy said people ask how you can become a producer. He said it's impossible. No one will let you produce a movie unless you've done one before. But if you have even if it is terrible and flops, you're a producer and can get work.

Combine those two. If you have the want, low grade cunning, and persistence you can totally make a living starting businesses after your first disaster.
> being independent from Bluesky requires owning a DNS name and paying for it yearly—a big step backwards from Mastodon where a group of users can come together and live on a server run by an admin they trust

In the DNS, that’s called a subdomain. I.e. a group of users can come together and buy a domain name and all use different subdomains, completely without any additional cost per user.
Four bolts were missing from Boeing 737 before door plug blew off, NTSB says
Is gassing the frog or slowly boiling it crueler?

With the passing of time the answer might not be so clear.
I've built an open-source ChatGPT UI designed for team collaboration.

Github Link: https://github.com/joiahq/joia

Benefits vs the original:
- Easy to invite entire teams and centralize billing
- Talks to any Large Language Model (eg: Llama 2, Mixtral, Gemini)
- Collaborative workspace to easily share GPTs within the team, similar to how Notion pages work
- Savings of 50%-70% vs ChatGPT's monthly subscription

Tech stack: NextJS, Trpc and Postgres. All wonderful technologies that have helped me develop at the speed of thought.
I have added some buttons so you can play on mobile.
Before the age of captcha. You'll have to tip your captcha solcer nowadays.
> Depends where you live, some places have more consistent sun across the year.

Everything depends on where you live. But for any country more than a few degrees off the equator that's the reality.

> Regarding personal autonomy, I wouldn't treat it as this binary thing.

That's fair, but 'personal autonomy' for 70% of the year and utterly dependent on existing infrastructure and fossil fuels for the remainder is still bad. But better than 100% dependency, sure.

> If you're survivalist minded, solar is your only hope at any level of independence, even if it's not 24/7 autonomy.

Depends on where you live ;)

Seriously: I engage in engineering, not in satisfying paranoia and 'any level of independence' starts with ruthlessly curbing your energy budget below that which most Western countries' inhabitants would consider acceptable living standards. And even if I personally would be ok with that I don't see how I would make that decision for myself while at the same time not make that decision for those around me who depend on me for their needs. In a vacuum you can make that argument, but IRL people don't live in a vacuum.
Crypto whales are continuously accumulating significant amounts of Chainlink (LINK).
Chainlink surged to a two-year high of $19.62 on Monday.
The leading altcoin, Chainlink (LINK), has captured attention as large-scale investors, known as crypto whales, have initiated a significant accumulation of LINK tokens. Following LINK’s surge to a remarkable two-year high of $19.62 on Monday reports from blockchain analytics firm Lookonchain have unveiled intriguing insights into the buying spree among these influential investors.

An unidentified entity, speculated to be an institution has continually amassed $42 million worth of LINK tokens in recent days. This massive accumulation trend has been observed across multiple wallets, hinting at a concerted effort by the Chainlink Whale to bolster its holdings.
> Don't GPUs also have out of order execution and instruction level parallelism?

Not any contemporary mainstream GPU I am aware of. Sure, the way these GPUs are marketed does sound like they have superscalar execution, but if you dig a bit deeper this is either about interleaving execution of many programs (similar to SMT) or a SIMD-within-SIMD. Two examples:

1. Nvidia claims they have simultaneous execution of FP and INT operations. What this actually means is that they can schedule an FP and and INT operation simultaneously, but they have to come from different programs. What this actually actually means is that they only schedule one instruction per clock but it takes two clocks to actually issue, so it kind of looks like issuing two instructions per clock if you squint hard enough. The trick is that their ALUs are 16-wide, but they pretend that they are 32-wide. I hope this makes sense.

2. AMD claims they have superscalar execution, but what they really have is a packed instruction that can do two operations using a limited selection of arguments. Which is why RDNA3 performance improvements even on compute-dense code are much more modest. Since these packed instructions have limitations, the compiler is not always able to emit them.
It’s interesting how quickly an argument for “factfulness” morphs into cherry-picking data points as soon as the facts are unfavorable. Turns out that facts aren’t bestsellers or at least not memorable ones that everyone wants to read and share. Optimistic narratives are — they fit a human need in a time when on many fronts that matter realism and cynicism are predominantly one and the same.
I use XMPP every day for my event groupchats

It basically works, and makes me mostly very happy

Shout out to 404.city !
Thank you. I spent 5 minutes and could not find a way to add this URL in Firefox. I'm just saying, I like the search engine, I hope that they would like to have users. I would like to be one of those users but have no clue how to add them to my browser so until that's fixed they're basically a non-starter.
That's good US has lot catching up producing 14.8t CO2 per capita in 2022 while for Germany it was 8t.
Last I checked (many years ago) the estimated long term cost from climate change due to all CO2 so far released was only in the low trillions (making WW2 a much bigger catastrophe), do you have an updated figure?
How does saying you have anxiety when you smoke weed push back against people who were overly positive about it though?
> At one point, it was mechanical automata. Then it was hydraulics. Then it was electrical circuits. Now it is computers.

Those analogies aren't equivalent. At each step, they got more accurate.

Computing analogies may be flattering to programmer's ego, but it doesn't change the fact that they're also qualitatively different than what came before, because computer science is effectively a branch of physics now.

First, computer science gives us fully abstract mathematical framework that describes calculation independent of the medium - the same CS applies to silicon-based computers, meat-based distributed systems (aka. bureaucracy, societies), neural compute, biochemical compute, substance-less compute implemented using photon interference, whatever. Whatever something is, if we can identify a few patterns we care about, we can view it as a computer. And, like with every math-backed science, as long as the assumptions hold, results of our calculations apply to real-world systems.

Secondly, researchers also found fundamental connection between information and energy, computing and thermodynamics. That means we can take an abstract computer and establish bounds on its energy use - like how much energy it takes to flip a bit - conditioned on some environment (IIRC it's temperature-dependent, at least). This is the part where CS becomes effectively a branch of physics.

Science and mathematics made qualitative jump in the last 100-200 years; we're not making crude analogies to other observed processes now, but rather abstract models with known preconditions and a set framework for reasoning within them. This makes viewing biology through lens of computing a good, useful thing. The important bit is to remember that "all models are wrong, some are useful". If we see that our computing analogies are failing us, perhaps it's time to rethink how we map them to territory. Maybe the most useful computing systems are to be demarked differently, or elsewhere.
I don't think this has anything to do with the language itself. If anything, you could claim the same for C++ since "easier to parallelize in Rust" is derived from the fact that Rust models pretty much everything as a shared-ptr so many gotchas you would normally have in multithreaded (but not concurrent) code disappear. Since you have the shared-ptrs in C++, you can achieve pretty much the same and also quite easily.

So I think that the programming language as an underlying reason is most likely a wrong premise to start with. IMO there's a huge difference between "here's several MLOC with all of its 20-years legacy/baggage, and now make N% of that non-trivial work to run faster" and "here's a greenfield project with 0 LOC, no legacy and no baggage, no code to learn, and now please write the algorithm from the ground up". I think this is much more likely to be closer to the truth.
> it would be more appropriate to "apologize" for something that would be considered solely the "fault" of the application

Is this in part a US vs English difference? I used to work with somebody from Texas who was confused and irritated by the english use of 'sorry' for things they weren't responsible for. In english I suppose we use it out of politeness to express some sympathy, rather than necessarily as an apology.
This is one of the things that led us to write this post! It's almost all undocumented, as you're mentioning, and there are quite a lot of complexities underneath the surface that often feel very inefficient as well.

We're working on another project in this realm that might interest you. Happy to send over more details via email if your interested in better build APIs. My contact info is in my profile.
Any references to tutorials for said proper config.plist designs?
Introducing our latest apology boss feature.

Every time an error happens, you get a popup with an AI version of our boss bowing down in shame.
These issues need good unbiased reporting, and as much as I love Cory, his reporting is all but unbiased. It's activism.
Which is perfectly ok, and extremely important, but in this case it reeks of an extremism that is damaging to the cause itself.

The truth is that decrying things like Apple's splash screen about the use of alternative stores, for example, is ridiculous. Apple has all the legal rights to do that, and formally that is not even incorrect. I personally don't let tech unsavvy people from the family use anything but the App Store and iPhone. Not because we couldn't find better Android phones for the same price, but because I know they would be easily scammed by shady apps that don't have to pass through the App Store's review process.

That is clearly a monopolistic advantage to Apple, but the alternative is equally bad and, admittedly, even worse for less tech savvy users, which are the majority.
Is anyone here on Farcaster?

farcaster.xyz
Just after I upgraded 105 microservices to 1.21, naturally. Ah well, it was a glorious few hours being up to date!
In Canada, it didn't take more than a couple of hours before the fabric of society started to break down during the big power outage for the North-East of the North American continent. The grid was down for more than a week in some places and we were very fortunate to be mostly off-grid by then and to have two massive backup generators as well as a gas station full of fuel. If not for us being prepared the region where we lived would have been much harder affected. Strangely enough, us new immigrants to the region were better prepared for this than those that had lived there all of their lives, they just took the grid instability for granted. If that outage had happened in the dead of winter instead of in August many people would have died.

https://jacquesmattheij.com/a-world-without-power/
> Average household power prices for 2023 are 45,73ct/kWh in Germany

And they are set to increase this year.
Hardware rasterizers are likely to disappear before long. We still use them because they are energy and area-efficient when working with large triangles. But already achieving high primitive count is difficult with hardware rasterizers, which is why some modern rendering approaches rasterize using computer shaders (e.g. UE3 Nanite). And of course, there is ray tracing which will replace the rasterization pipelines within the next decade or so.

As to ML, it absolutely needs different hardware than your traditional GPUs. The reason we associate the two is because GPUs are parallel processors and thus naturally suit the task. But as we move forward things like in-memory processing will become much more important. High-performance, energy efficient matrix multiplication also requires very different hardware layouts than your standard wide GPU SIMDs.
The app didn't write the error message, the people implementing the app did. Any error message is just as much a form of communication between them and me as it is between the app and me.
We should insult the user. “Your edits did not persist due to an unknown network error. Fuck you!”
>there was never a successful decentralized microblogging service before Twitter (and no, RSS doesn't count).

You say RSS doesn’t count, but the way you describe your use of Twitter sounds exactly like the purpose of RSS.

>Twitter was great for following the updates of a given person/company/group etc. … The 140 character limit was always a red herring, in my view: People can just link to their blog

I don’t see how this is appreciably different than reading headlines and the first sentence in an RSS feed and clicking through to the blog that backs it, if it seems interesting.

Twitter always felt like RSS for people who didn’t know what RSS is. Hence its popularity, as most people don’t know what it is, but the concept is very useful. A lot of people use Facebook for the same thing.
How Programming Languages Got Their Names
Damn, I meant Curious Moon and said the other great one.

People, do both! Worth every cent!
That some things are not good targets is not in dispute, but that is different from not being able to measure them.
I think a true apology should include, among other things, a plan on how you are planning on ensuring that the thing you're apologizing for doesn't happen again. So my rule would be: if you're not planning on ensuring that this doesn't happen again (either because the system is working as intended or because you have no plans on fixing the issue) then any apologize will sound insincere (because it is).

When is an apology okay: "The site is down temporarily. We are working to bring it back online. Sorry for the inconvenience"

When is an apology empty: "Your train has been canceled. We apologize for the inconvenience", more so when you hear the exact same message thrice a week.
Human-Interfacing Devices: Packing for the Descriptor Heist
Might allocate a _lot_ of memory. I've actually seen a case where some fatfingered a comparison in Python as a << b instead of a < b, and allocated gigabytes of memory on a server.
Why would it be a disaster if the hydrogen based "green steel" were a success?
> More than 90% of forests

must say -> More than 90% of forest wildfires
Can you give some examples how are you using go:embed and go:generate?
> whose fuel, by the way, mostly comes from Russia if I recall it correctly

Currently, sure. But it's possible to load enough nuclear fuel from Australia on a rowboat to power Germany for 10 years (that would be about a suitcase).
ML systems generally do not care about human semantics, and they will not produce them naturally. The VAE works at 16 bits float per channel, so compression is not an issue either, but if it was, HSV would be a poor choice too.
I think prefixing with "sorry," is a good idea but I really hate cutesy error messages.

I feel the Chrome dinosaur kicked those off, and I do (did?) like the dino. But "it's not you, it's us" is very annoying. "We made a booboo UwU".

When something has gone wrong I really don't want to feel I'm being marketed to, I just want information!