skysight-inc/HackerNews huggingface dataset:
Fact is testing frontend code is really hard _because_ people don't build frontend code in isolation. I found that testing is much easier when using tools like storybook and browser-based testing tool (so no snapshot testing, no fake-dom).

Right now I am working on a legacy project with ~10 years of work into it, about 15% of the code in there I don't even know how to trigger in the application (lots of weird specific circumstances that require special types of accounts to trigger). I just had to make a small change to hundreds of files and it was hell to manually test it everywhere.

IMO almost all components should be able to be renderable in isolation and mocked data. Type systems help with this problem because they remove a whole layer of tests required, but it is not enough.
>> Many of the prestigious journals do require an exclusive license

Of course they do. But nothing forces the researcher to use those journals. So the question becomes why do they? Perhaps there's prestige involved?

>> 1) Federally funded researchers publish elsewhere

That's my point. Since researchers already have this option why are they not exercising it? Why are researchers happy, indeed prefer, publishing with Springer? Only by understanding why they currently choose to use Springer et al, can you understand what is lost by requiring free publishing.
I switched from VSCode to Pycharm a few years back. Both are very decent IDE's, but Pycharm feels to me more polished.

Pycharm is like driving an automatic, whereas VSCode feels like driving manual. It is a tradeoff as always, so ymmv.
> You need to account for the era of release though.

Sure, I account for that.

> And hence the subjective part: I disagree with you’re selection of criteria

I explicitly haven't listed an entire set of criteria, although I'd be curious to se which version of Windows you would think could be put forward as better objectively.

Pretty sure Windows 7 has all types of aware and highest scores for user satisfaction and what not, so a cursory review of the available data would seem to align with my ranking.

But, still, which version do you think beats Windows 7 since you disagree based on the few qualifiers I listed? You seem like an XP man, is it XP?
> healthy or special about European food

Well no… but stuff like various leafy greens amongst other things seem be relatively extremely cheap in Italy compared to some other European countries to the North. This applies to some other products too.

The outcome is that it’s relatively cheaper to have a healthier diet and therefore more expensive to eat ultra-processed crap.

Of course at the end of the day individuals have to make that choice.
So it's like conda but without getting stuck on "Solving environment: \" for hours?
Good question. I may have not explained very well. Let me give it a try.

1. I read the first part, with Gustav Schwerer etc as an argument against CRQC to ever become possible, so moving to PQC is not needed.

2. I read the second part, about the hardness of attacking classical algorithms, for example the DES cracker as a motivation against attacks on crypto being an actual threat vector. Which ties in to point 1 as a CRQC would be very expensive and hard to use in practice. It is not a computer but a physics experiment.

3. He then talks about real threats and how they don't change very much. Points to OWASP top ten etc.

I totally agree with him on point 1 and 2. I'm just as skeptical. But what I'm saying is that it is too late. We are quite possibly switching to algorithms that will never add any security. Spending huge resources and pushing unneeded changes to systems around the world. Telling the world that it is unnecessary will not change that fact.

Coming to point 3. I don't agree with him. Yes, OWASP top 10 shows the same more or less trivial attack are the ones being used. Nobody use a zero day unless it is needed. If I can become sysadmin through a reused password or a misconfiguration of Teams, why use something more advanced? But I see him using this as an argument against ciphers being broken a real threat vector, and that is a different attack.

The first one is an active attack against a system. It may be a nation state actor that wants to infiltrate, get a persistent access, exfiltrate and possibly destroy the system. It may be a ransomware organization. They will do the same thing, but their timeline is much shorter. (and of course the difference between a nation state and organized crime can be very blurry).

But recording Internet traffic, and over long time (days, months, years, decades) try to decrypt it are solely of interest to a nation state. And for that attack and end game, what OWASP top ten looks like is totally irrelevant. It is not an active attack against a system. It is done in secrecy by entities with a lot of patience by entities that have huge resources. For them Quantum Computers are very interesting and relevant to discuss. But not in public.

I guess that was a waay to long answer. But I hope it explained what I ment.
The Dasung monitors are cool, but those are actual Eink, whereas the Daylight tablet is LCD, so you'll have a wildly different experience between the two.

There's a reflective lcd subreddit that discusses reflective lcd pc monitors, looks like at least one company is launching a commercial product soon.
That problem is very much not pip (pip is only the installer), the issue is:
* We have a conflict between being easy to use (people don't need to work out which version of cuda/which gpu settings/libraries/etc. to use) vs install size (it's basically the x86 vs arm issue, except at least 10 fold larger). Rather than making it the end-users problem, packages bundle all possible options into a single artifact (MacOS does this same, but see the 10 fold larger issue).
* The are almost fundamental assumptions (and the newer Python packaging tools, including uv, very much rely on these) that Python packaging makes that are inherently about how a system should act (basically, frozen, no detection available apart from the "OS"), which do not align with having hardware/software that much be detected. One could do this via sdists, but Windows plus the issues around dynamic metadata make this a non-starter (and hence tools like conda, spack and others from the more scientific side of the ecosystem have been created—notably on the more webby side, this problems are solved either via vendoring non-python libraries, or making it someone/something else's problem, hence docker or the cloud for databases or other companion services).
* Frankly, more and more developers have no idea how systems are built (and this isn't just a Python issue). Docker lets people hide their sins, with magical invocations that just work (and static linking in many cases sadly does the same). There are tools out of the hyperscalars which are designed to solve these problems, but they solve it by creating tools that experts can wrangle many systems and hence imply you have a team which can do the wrangling.

Can this be solved? Maybe, but not by a new tool (on its own). It would require a lot of devs who may not see much improvement to their workflow change their workflow for others (to newer ones which remove the assumptions which are built in to the current workflows), plus a bunch of work by key stakeholders (and maybe even the open sourcing of some crown jewels), and I don't see that happening.
> The standard does not guarantee that equal pointers turn into equal integers upon casting, so you’re forced to make everything into an uintptr_t to, essentially, maintain a canonical integer-cast version.

Of course! The standard does not guarantee that the size of an int is the same as the size of a pointer, i.e. `sizeof(int) =/= sizeof(int*)`. IIRC, this was the case on some of the PowerPCs I worked on decades ago. Now with x86-64 & Aarch64 having taken over the world (and with saner 32bit on the embedded end) we've almost forgotten the Cambrian explosion of "interesting" word-size machines.

The whole point of the C standard is that it allows implementers flexibility in the sizing of the basic data types, to match a given machine's architecture, with the standard only defining relationships between types (e.g. char <= short <= int <= long). The only surprise is that it took so long for fixed-width types to be standardized (C99).
This is SO much better than Windows explorer! And I'm more than happy to pay for it.

The only issue I have noticed is that the context menu takes a while to open, and it is made worse because of the opening and closing animation. It keeps bugging me because I feel like the context menu of Windows explorer is a bit snappier than this.

I might be wrong but that's what it feels like.
Thats what they said about lead!

A 'gift of God'?: The public health controversy over leaded gasoline during the 1920s: https://pmc.ncbi.nlm.nih.gov/articles/PMC1646253/

https://hal.science/hal-03924698/document
Yes but it was pretty diverse in that sense that most people were somewhat represented. That representation is rather skewed right nowadays
Not OP but we can assume when he's talking about blocking Youtube, he's in fact blocking youtube for his kids, not Youtube ads. Pi-hole can't block Youtube ads as they are delivered by the same servers as content. Then you can't block one without blocking the other.
It's not just about absolute numbers but about the diversity of users.
I wonder if this was the inspiration for this numberphile video? https://www.youtube.com/watch?v=5TkIe60y2GI

The video does go further than the article.
This is a paper by DeepSeek. It would be a good idea to mention that in the title.

TL;DR:
This is a very interesting paper about attention calculation in transformers. It shows how attention can be calculated over a large token window without saturating memory and/or GPU arithmetic abilities.

Usually attention is a sliding window of tokens. The window can turn out to be too big due to the quadratic nature of attention which increases the amount of computation required. There are many papers on how to get some of the benefits of transformers by doing "sparse attention" -- i.e. avoiding some of the quadratic blowup.

The solution in the paper is first divide every `x` tokens into groups or "blocks".

(1) Capture long range conections by compressing blocks of tokens to a single token

(2) Select important tokens by only choosing the tokens in the "important" blocks

(3) Select recent tokens by using a sliding window (like normal transformers)

Compression of a block of tokens to a single token in (1) is done by an MLP that is trained during normal training time.

Now attention scores can be done for an incoming token with the preceding block of tokens. Select only the top-k blocks which have high attention scores for (1).

Finally combine the results of attention of incoming tokens with (1), (2) and (3) to give you a final output token. You get long range coarse attention, attention to selective blocks and the usual sliding window attention. Awesome !

This is sort of engineering type paper also with lots of low level details.

Question for the authors: Why not do the experiments with MHLA also (multi head latent attention) that is there in DeepSeek V3 and R1 ?
Actix + minijinja

Actix is just one of many web frameworks, minijinja is an implementation of jinja2, by the original author.
I have a veritable shelf full of these books, published by Wizard Books. 25th anniversary edition of Warlock of Firetop Mountain, Talisman of Death, Spellbreaker, Howl of the Werewolf (which adds a few more mechanics to the base game stats), Stormslayer, and I recently purchased the entire Sorcery! series on eBay. I once had a book confiscated by a teacher for reading in class, heh.

It's good to see these books are still going strong, nearly four decades after they were first published.
Give zed a try! I only use zed(+aider when I'm procrastinating) nowadays.
From the picture, it has the low-contrast look of an older E-ink display.
Here's a higher-contrast E-ink display.[1]

There are also emissive display laptops brighter than 1000 nits, which is about where they become sunlight-readable. Battery life might be a problem.

[1] https://www.youtube.com/shorts/GKVM94N1F6E
Really, really, really impressive the speed of that piece of software.

I tested it with a bit of skepticism, but it left me open-mouthed at the speed with which it does everything.

I will test it for a few days and if it is confirmed, I will not hesitate to purchase a license.
> Also DI, which is arguably not necessary at all in Go given how elegantly interfaces work.
> I spent quite a lot of time using wire for DI in go only to really study the code it was generating and realizing it truly is code I would normally just write myself.

DI is the idea that you should create your dependencies outside of the module / class / function that uses it and pass it in. This makes it easy to swap implementations.

DI does not require any framework and I would argue you can’t write modular code without it. Most likely you are doing DI even in your manually written code.
If you only have one of them then the photons would only be available on that side of the earth at any given time and the other side wouldn't have power, but two of them would confuse the animals and disrupt everyone's circadian rhythm and then you'd have to deal with the three-body problem. Even the reactor-facing side would also have issues with the photons not getting through when it's cloudy.
"I will slaughter you" (2021)
I'd approach it like

"we're going to apply for a job at twitter, first list all questions required and then submit my answer with a copy of my resume"
I personally dislike having Bluetooth receivers pressed against my skull or even placing it inside my cavities therefore trying to use it as little as possible.

Overtime I got more electro sensitive and when there are to many wireless devices around me I get a type of temporary tinnitus which persist for a while. Grounding myself helps to relieve it.

I mean think about it couple of decades ago there wasn’t even one wireless device around now I receive alone 40 router signals in my apartment building. When everybody is at home in the evening I feel the electro smog tinnitus the strongest.
Ensuring Accountability for All Agencies
That's become a popular genre, called "idle games".
20 years ago: Ajax revolutionizes web development
I assume their network protocol benchmark meant to show how fast their protocol implementation is relative to others is not being bottlenecked on their network bandwidth because that would be positively idiotic.

Given the machine the benchmarks are running on has a 50 Gbps NIC, that would be double stupid since their bottleneck would then need to be the production side not producing enough data to show how fast their implementation is or bad network configuration doing the same.

And that all assumes they are not bypassing the NIC entirely since they are benchmarking the protocol implementation so the source of packets is largely irrelevant except for making sure they are not still in the cache after the producer synthesizes them.

Beyond that we look to memory bandwidth as a fundamental limiting factor on data shuffling from packets to the protocol client to attempt to bound the theoretical maximum throughput so we can see how far off a protocol implementation is from the theoretical maximum.
Do you know measure theory? It gives you a formal definition of "almost all" or "almost surely" based on subsets which have the same measure as the full set they're in. Like the irrational numbers between 0 and 1.
As someone from Europe.. it is not true. There are lots of media outlets with different angles. Certainly lots of Murdoch funded garbage here.
HP printers are already some of the most anti-consumer printers on the market. Can't wait to see what this group of people manages to achieve. /s
I like working with folks that know a good pint, and value workmanship.

If you are inferring someone writing software for several decades might share, than one might want to at least reconsider civility over ones ego. Best of luck =3
I believe it does. Creating a new Error-instance to learn what the current stack is a bit hacky, but it can be useful, even when there is no error. The code can reflect on who is calling it.

Sometimes a function or method is called very many times so trying to log them all is useless. But at the same time it can be the case that there are multiple callers of the said function. Then looking at a stack we can log just the case of some specific call-chain calling that function.
Luigi Mangione, job creator
Also, having two Raspberry Pi for primary and secondary dns is good practice, in case something goes wrong with the main one.
The context itself is immutable, it's essentially a linked list (or actually a tree). If you need to "mutate" it, you create a new segment that links to a previous segment.
As far as I understand, if you look at a number between 0 and 1 with a truly random infinite decimal expansion:

0.22134967842153005356...

then there is absolutely no pattern in the digits, so a program that wants to compute it can do no better than storing all the digits. But then the program would have infinite size.
And it's fine. Why continue using something you don't master?

Yes you could try to master it, but it takes years. If another tool compensates your lack of mastery, why not use it?
It's more like waiting for the code to compile (or node_modules to install before npm improved)
Jeff: "Please print two copies of my book report"

HP Printer: "I'm sorry Jeff, I'm afraid I can't do that"
You seem to misunderstand the concept of countable infinity
Ha also a terrible name (why not "caching"?) At least it sounds like memorization so it's easy to remember what it means.
"Don't worry Mr. CEO, you'll be totally save in this dark, dank basement. Just let me lock the door from the outside."
> Test using monkey-patching.

TIL Go has monkey-patching.

But since it has monkey-patching, how is it statically typed? Or does Go monkey-patching amount to creating an instance of a defined-on-the-fly subclass?

The latter would be interesting, because Java lets you do this too -- conveniently "new up" an instance of a subclass that you define inline of a given class or interface (this used to be the easiest way to define callbacks, before lambdas came along), so this testing strategy is available to Java too, but seems not to be preferred.

Separate question: IIUC, monkey-patching is convenient if your test code directly needs to create a TestX instead of a real X, but what if you need the test double "deeper down" -- that is, you need an X that creates a Y that creates a TestZ instead of a real Z?
HALE (Health Life expectancy) is 7 years higher than the US, across western Europe.
Yeah that’s been my experience too.
So what?

If someone doesn’t want to use it, or doesn’t like it, or is, quite reasonably skeptical that “this time it’ll be different!” … let them be.

If it’s good, it’ll stand on its own despite the criticism.

If it can’t survive with some people disliking and criticising it is, it deserves to die.

Right? Live and let live. We don’t have to all agree all the time about everything.

uv is great. So use it if you want to.

And if you don’t, that’s okay too.
> Is [~7 Gbps] considered fast?

With Quic, yes. I don’t have hands on experience with this lib but throughput is not the strength of quic. In fact, that’s true for untuned UDP in general. Oftentimes CPU will bottleneck without bespoke platform-specific hacks to avoid the one syscall per 1260 bytes default/portable status quo.

I don’t know that bench but throughput varies wildly between environments, cross traffic and a number of mystical parameters.
Also only the core web app, when most of the value with something like this is the plugin ecosystem.
Using an LLM to interpret natural language and from that perform commands is an incredibly bad idea.
You might be thinking of Progress Quest!
> Plus, it offers very little convenience for users vs just using a password manager.

It definitely does - the sign-up process is much quicker with oath2.

Once you're signed up, sure.
It doesn’t need to be said everywhere when the president takes full power for himself and all institutions let him do so without saying anything.
TypeScript Back end Framework PURISTA Version 2.0 released
I'm pretty sure a lot of small to y planes use leaded gas....

Correct me if I'm wrong though cuz iv always wondered how bad the fumes would be to a community thats near a busy airport.

Iv always hear jokes about how lead is the miracle element....its great for so many things and pushing efficiency in many areas....but the human body just can't stand it at all.
Cost Observability and Guardrails
There seems to be a link between migraines and Mithocondrial Disease. If frequency/intensity of migraines diminishes with Vitamin B and Q10, it may be worth investigating. Especially if you have muscular fatigue or exhaustion.
Speed. The abstraction layer has moved up. You probably aren't writing machine code anymore.
One line of Javascript and Python.
Adjusting by location, race and other factors makes a significant difference as well.

e.g. Hispanics generally have comparable life expectancy to top 10 European countries in most states. If you exclude the Black and non-Hispanic White population California is on par or above Spain and Italy (interestingly enough obesity is much more prevalent amongst the Latino than white population there).

(Asians are of course even higher but you have to take wealth/education into account)
"Love me some Peter Gutmann. This is classic Gutmann."

Indeed he don't hold back and is quite funny in his frankness.

Though when it comes to his book draft, he really need an editor.
https://www.cs.auckland.ac.nz/~pgut001/pubs/book.pdf
It's a good idea. Get diverse model output.
beam energy down to the earth from space? My god man, did you learn nothing from Sim City’s microwave power plants??
Feed.nvim: Web feed reader in Neovim
…is this an elaborate joke about solar power? And by extension, virtually all the energy that’s accumulated on the earth over the eons? It took me a minute :)
This is not hyperbolic. In one month Trump has taken full unchecked power on almost anything. In 4 years, you won’t vote, that’s a given.
I tried to find this advice in the thread but couldn’t, and I’m surprised since it’s surprisingly common!

Some sweeteners such as aspartame can trigger migraines (also some gut issues) depending on the quantity and person. While most of the people can take them just fine in principle, others suffer migraines a while after taking them. In my case, this was a relative who suffered a lot until finding out by pure chance that certain sweeteners where the reason, but you can find countless cases.
This I absolutely do not understand when the publishers in the UK are printing the books for sale already. The vagaries of international licencing, no doubt. There are plenty of complaints about the standard of illustrations in the books, and the covers are certainly lacking, but they are actual books on actual paper:

https://amzn.eu/d/0FzZNoX

https://amzn.eu/d/4DDoYaY
I don't think I've ever heard anybody put my exact feelings into words before. Although I don't feel distressed by the subjectivity of the experience as much as a feeling I can only describe as "odd". Why am I me? Not in a bad way, just, why am I seeing things from this specific point of view?