skysight-inc/HackerNews huggingface dataset:
Generally, caches don't hold fixed memory locations. They hold whatever has been most recently used (to a first approximation).

Some architectures do support "cache pinning" -- wherein you can instruct the CPU to reserve a portion of cache for a specific memory location (actually cache line or page). To the best of my knowledge, neither Intel nor AMD processors implement such a feature.

You can however instruct the CPU to load something into cache prior to using it, using a prefetch instruction. (It is still subject to be evicted from cache at a later time as usual.) In GCC, this is done using __builtin_prefetch() [1].

But -- if you add prefetches blindly, it will almost certainly slow down whatever it is you're trying to fix. You need to analyze your memory access patterns and the assembly code being executed, using tools like perf and llvm-mca, and recognize the cache line usage, cache access latency, pipeline stalls, cross-process and -core contention for the cache line, register pressure, etc. of the code in question, to understand whether a prefetch is appropriate, and where to place it if so. Notably, it's a challenge to get a compiler to emit a prefetch at a useful line of assembly.

What evidence are you working from, that access latency to a single specific global variable is a performance bottleneck for your application?

To share an anecdote -- the only time I've been in a similar situation, was working on a 10 Gbps line-rate network processor. Many functions had CPU budgets of fewer than 100 cycles. We found (using perf) that often, these cycles were eaten up stalling for various globals to be fetched from DRAM, despite that the globals were accessed with every packet. Notably, prefetching didn't help -- we could not prefetch early enough to avoid the entire stall, and issuing the prefetch itself ate precious CPU cycles. However, the true culprit was that the small handful of globals in question were each allocated on the start of a hugepage boundary -- and therefore assigned to the same cache line. This particular CPU had low cache associativity (L1 was 2-way IIRC), and thus the globals kept bumping each other out of cache. The solution in our case was to manually align the globals to different cache lines.

[1] https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
Interesting. Have you considered/tried to use fdio/user space networking? In my experience, it greatly improves throughout (simple ip forwarding can be more than 10mpps per cortex a53 on some platforms). Fdio also has a so that you can preload in order to use its ip stack in your app (instead of Linux's).

See https://s3-docs.fd.io/vpp/22.06/developer/extras/vcl_ldprelo...
bitcoin only. All other coins including ethereum are ponzi schemes.
Reduce human population by enough and extinction goes back on the agenda long term. There was at least one [1] population bottleneck in the last 70,000 years.

Of course I would've thought "aren't you worried your grandchildren will live miserable, dangerous lives struggling to survive" would be a decent argument but I've encountered no Boomer who seems to worry about it as they excitedly tell me about the coming collapse of something or imminent major war in wherever.

[1] https://www.businessinsider.com/genetic-bottleneck-almost-ki...
Out of curiosity: if something isn't scientific, does that mean that it doesn't exist?
Some metrics are made up for the purpose of better understanding and some are made up for the purpose of obfuscation and manipulation.
I know.. I remember lusting over the single T1 we had at work (this was circa 1999 or so, shared between a hundred employees or so) compared to the mere 56k I had at home... 1.5 whole megabits...
From the Bible, in the book of Proverbs: "Divide your portion into seven, or even to eight, for many are the mischances of the world." Don't put it all on one stock. Index funds are a different story.
Come to Australia! The mosquitoes are huge and pretty much silent. So they don't irritate with noise and are somewhat easy to spot. Definitely compared to the tiny hellspawn mosquitoes that roam in Europe. Those are impossible to find in a room and absolutely infuriating with their whiny noise when they buzz around the ears.

/edit

Someone mentioned flies. Don't come to Australia if you have a problem with flies. Those fuckers are scared of nothing and they respect nothing. They just sit in your face whilst you are walking and don't give a shit. Much worse than the European ones that are flying around but don't really land on skin.
OpenBSD actually had a port to similar Freescale MPC834x boards, but it was discontinued in 2015.

https://www.openbsd.org/socppc.html

I feel like the author of this post, given their interests and history, might be amused by this tidbit.

> "OpenBSD/socppc [was] binary compatible with OpenBSD/macppc; all existing OpenBSD/powerpc packages [ran] fine on OpenBSD/socppc."
RTR doesn't seem like the optimal solution to e-waste.

If manufacturers were required by law to take care of e-waste they generate, to recycle everything they produce, rather to shifting that onto the consumer, perhaps they'd start building things to last in the first place.

Also increase minimum warranty, 5 years for solid state devices?
technically he lives in _America_ too
For the benefit of those of you who don't speak German, the lyrics of the jingle are "Haribo makes children happy, and grownups as well".
This interesting article mentions using Personal Capital to monitor your investment progress. I have always wondered how safe it is to give up your investment account login info and associated passwords to an app such as that.
How about finding a (parttime) job again and doing a challenging side project? Maybe something you saw at your job that could be improved on/automated but was considered too hard/expensive?

Lifting weights is generally a good plan and good for the mind.
Water and Power: A California Heist
I totally understand people living in a beautifyl place that want to preserve that. As well, the urgent need for a new grid is utterly clear.

Well-written article as far as it went, but it raised a lot of harder questions it didn't address. What were the motivations for the chosen route? How carefully was the route researched before the committment? Did someone at higher level than Anschutz find and offer only routes that avoid the most scenery? Were there alternatives? Is west the best direction to send Wyoming's energy? Why would a way-up powerline be a threat to elk herds? What makes 30 acres of a 56,000-acre property asking too much?

Seems as though ome body should have grappled with many of these questions already. Time is not waiting. Else our noblest sentiments will have to be disregarded
Having worked in both in MANGA and startup land, I can can say that not delivering is a big problem in both places. Culturally, startup land seemed to have a lot of younger people without families, and I suspect that is one important factor why hours are less at big corp. The other factor is you're in demand of you're in the MANGA club, so the boss doesn't have that much leverage.
Nobody is all bad. Not even him.
> at the end of the day the best-case scenario is a model that cannot be audited, holistically understood, or trusted with decisions of any gravity.

So like a human being?
In general, I strongly recommend finding a good therapist. It can take a few tries to find one that works for you, so don't give up if it takes awhile.

To your specific questions, I've had some similar experiences and find that it's helpful to think in smaller terms. Find small things that interest you and explore them without threat or promise or waiting. Also follow the RAIN framework with feelings of envy: recognize, accept, investigate, nurture.
I have a number ending in 1337 from them. Also keep in mind that their mobile number don't count as VoIP and will work fine for most verification purposes.
With Discord I could not send an image of a car because it was considered "adult". Automatic systems are not at all up to the task of properly identifying new images, only known existing hashes.
I have a question for you.

I myself prefer open sourced app for better transparency and maintaining an open source software cost a lot of time, can be called as full time job if the project is big.

We are planning to develop a mobile app which is subscription based, but I want to make it open source. Would subscription based open source apps will work? I have not seen any significant size mobile app which subscription based and open sourced. Is this possible? (There are a lot of server side software which are open sourced, where they earn by cloud hosting or enterprise features, but it is different case for mobile apps) We will be planning to develop that app full time, so we are planning to earn a living too as startup.
"Process for adding the Allow High CPU Utilization safety flag was not followed."

so high CPU utilization is allowed under certain cases
Many years ago I worked at a pizza place. The town I was in had numbers in two different exchanges (the three digits between the area code and the final four digits in US numbers). Pretend the pizza place had the number 123-4567. The other exchange in that town was 321.

Naturally, the number 321-4567 just got some person's house. That person set up their answering machine message to say that "Due to a rash of prank calls, we are no longer accepting phone orders" without actually specifying who isn't accepting phone orders. Naturally people would show up in person highly confused about this.
Sounds like you are taking some time off, that's good.

Next, there's nothing better than a long hike to clear the mind. Would also cut myself off from most if not all of the internet/tv for a while to allow your own thoughts to return.
Optimism Shapes Reality
> Will anyone build an electric but dumb car?

This is what Bollinger Motors was going to do, but then they pivoted to building platforms for commercial vehicles instead.
I'll need to read more about PineTime. Thanks for the feedback.
Thanks, I had this wrong because I was thinking of the concrete ranges (from C++ 20) instead.
Very cool project! Are there any example projects using early stage Dragonflydb yet?
IMHO the key is whether the novel accounting is used for forecasting the future (ok) or explaining the past (not ok).
right, but the reason it was in the movie in the first place is because the car looked neat (and John DeLorean was also uh on trial for drug charges[0])

if Bob Zemeckis scrolled by this car writing the screenplay it would probably still call for a refrigerator

[0] https://www.narfa.com/how-the-delorean-became-the-iconic-bac...
Mosquitos are proof that the universe was not created by a benevolent god.
New Solar Panel Design Uses Wasted Energy to Make Water from Air
A better solution, if you don't need to synchronize writes to said variable across cores, is just to let the compiler figure it out. Dumping the contents of the variable into a register is much faster than accessing L1. If you label the variable as const the compiler should be able to figure out that it's safe to concurrently read it into a register from multiple cores. Unless you are writing highly optimized assembly it's a good bet the compiler will do a better job than whatever you do.
A Harvest Moon game on the GBA would softlock if you interacted with the clock or something at 4:44.
There was frequently more than just a DB; one thing Heroku made easier was adding things like mail serving, memcache, Redis, etc.

The major issue in early Rails deployments though was the dependency hell you got pre-Bundler (equivalent to something like Yarn in the JS world). Most of the fighting with deploys I did was along the lines of "it works on my machine, why doesn't it work on the server?"
Uh, yeah. Where do you live?
Just an absolute sea of “onion on my belt” stories.
I just learned this in my mind 30s. So many hollow friendships before.
It is true that software re-use through FLOSS licensing has definitely lead to a reduced amount of need for each company to reimplement a lot of software, but there is still a ton of work out there for software developers and even a ton of work for paid FLOSS developers in some areas. On the whole I think FLOSS licensing has been a net positive to the amount of paid software development work available, even though there are definitely sustainability issues in FLOSS and not every software developer can get a FLOSS job.
We still haven't really grappled with the aftereffects of long COVID. What we've done instead is say it's over because the acute phase is done with, and buried the reports of longer term issues. In other words, the health care system now simply returns wrong answers to triage its own capacity.

But that doesn't make it no longer a pandemic. We know quite well that we can normalize our way into wrong answers as a society. It'll only become clear where we stand after another year or two - either more and more people become disabled after their "mild" case, or it gradually trails off.
To be very specific: people who think increase isn't dangerous need to look up web-bulb temperature [1].

There are regions of this planet where an average 4 degrees increase will mean that for periods longer then 24 hours, multiple times a year, the wet-bulb temperature will exceed 35 degrees C. That is unsurvivable by human life. Your only options in that environment are to not be in that environment by either escape or technological means.

There are cities built in areas where this is a risk, and if it happens they will just be depopulated: it is not possible for millions of people to escape an urban area under a heat wave. If they're somewhat built up, then they might survive it provided the electrical grid holds out - which, as recent experience globally should show - is questionable. Remember: under these conditions, no repairs to external infrastructure are going to be possible - you would need active refrigeration to move around outside and survive. We are not remotely adapted to that sort of hostile environment.

Most likely we are a decade or two out from a climate-forced mass casualty event, probably in the Indian subcontinent, with more minor (slightly less mass death) occurring in parts of Asia earlier.

[1] https://en.wikipedia.org/wiki/Wet-bulb_temperature
I saw many comments are talking about "empathy" here. Does anybody agree that too much empathy is actually part of the problem?
> Once schools use it by default, everyone will learn it

that's putting the cart before the horse.

Schools, like most non-tech enterprises, have problems to solve that are bigger than the choice of OS on their IT systems. If the end result of switching out of windows is basically the same outcome as having windows (aka, they've replaced some office programs, and other domain specific programs with a linux compatible version), then what is the value proposition _to the school_? The only value proposition of this switch is to society and free software movement in general, which the school doesn't really directly benefit from.
Fascinating and well-written read! Thank you for sharing!
This was wrong (and I was away long enough that the correction window expired), as I've acknowledged elsewhere, but I would suggest that factually the numbers don't match your claim at all.
Something’s not quite right with this. The email states that droplets and services were kept running, and they did keep on running when the exact same thing happened to me after a script went haywire and spun up huge amounts of droplets.

Second, if you have Fortune 500 companies using your service, why would you not keep offsite backups… I hope they learned from this…
There are cheap soft-cover math workbooks for just about every grade level, which are good to keep a kid busy over the summer and not forget everything they learned in that grade. We have one here ... "Spectrum Geometry, Grade 5," "Pre-Algebra, Grade 8."

If you want something more hi-tech there is Khan Academy of course.
Firefly III has a documented API [1] that can be used to build import tools. I used it to build a Plaid importer [2].

1: https://api-docs.firefly-iii.org/

2: https://gitlab.com/GeorgeHahn/firefly-plaid-connector
Oddly, I can agree it is more deadly for children, while still knowing it is not the likely reason for my kids to be in danger...
Cryptanalysis of Hashids (2015)
Why would you want to do that? What are you even trying to measure?
TBH I think people get stockholm syndrome with whatever their first assembler language is. I can't stand X86, but similarly find 6502 absolutely bonkers. My first ASM was MIPS-I, and apparently that makes me one of the few people that /like/ delay slots.
Not exactly what you're asking, since C/C++ doesn't expose this functionality, but ISPC (a C-derived language that exposes a CUDA-like SPMD model over the vector lanes in your CPU) has some standard library functions to prefetch data into L1 cache; see https://ispc.github.io/ispc.html#prefetches for more details. If you're worried about this in your application, you may find it useful to investigate writing your compute kernel in ISPC (it uses C linkage and can be called from C code with no overhead).
Because it's so far beyond hopeless, getting into the weeds of how someone is supposedly doing things wrong is irrelevant to normal life. If you're a homeowner, then your name and address are public (at least in the US) despite phone books not being a thing anymore.

Consider this: it is established practice to distribute all sorts of information about people that is far more intimate than your home address, if it is only "anonymized" in an accepted manner. HIPAA is no bar to this.

But decades ago, a researcher showed that the vast majority of people can be identified through only a few data points, like for example gender, birth date, and zip code. These are available in supposedly non-identifiable data sets. She went on to demonstrate that a US state governor at the time could be linked to his health records, which were public sans name and address.

It's about straightforward math - each data point, if more or less randomly distributed, reduces the number of people exponentially, so "anonymizing" people in data sets doesn't work and never did.

"Fingerprinting" people based on "anonymized" data is one thing, then there's just the constant total security breaches. My primary care doctor's practice had a massive leak of data because their accountant screwed up. There were no consequences for either entity except for someone having to write an embarrassing letter.

There's also the fact that every bit of information the US government had on millions of individuals with a security clearance was compromised by someone hacking into the Office of Personnel Management some years ago. Everything from the intimate details of their lives collected by background investigators, to fingerprints, everything on anybody (it was rumored that the CIA has a separate system, but otherwise everybody - for instance, James Comey mentioned it impacted him)

The entire discussion of privacy and security has a "Emperor's New Clothes" aspect to it. Whoever got the OPM information presumably was able to wipe up virtually every covert US agent abroad, and create a file on virtually every cleared person in the US. And maybe they shared it with allies too. Why do you think American politics has gotten so crazy and paranoid in the last few years?

Talking about improving security on the internet is like talking about organizing a neighborhood watch in Hiroshima just after it was nuked. It's over!

The only thing I can think of is social shunning/shaming of those who don't respect personal privacy voluntarily. Barriers are not impregnable, they are symbolic.
Great site, thanks for sharing!

The explanation of the Apollo 13 incident is amazing as well -> https://www.howequipmentworks.com/apollo_13/
The AD integration on Linux is just getting you login. It doesn't support much local configuration of the endpoints, which is the killer feature of AD. I have also found the AD PAM modules to be a bit fragile. I keep having machines that work for awhile, then suddenly need 5 minutes to log in or simply can't log in at all after some time. It has been kind of frustrating for me. I want to tell people "just use your domain login, it will work", but its a lie too often.
Author here. Thank you!
Recommending here those high voltage mesh paddles on a stand, with a UV LED on. So gratifying to hear the snap: One down!

'Skeets typically are waiting high up on the wall for lights to go out. Go around the bedroom and nearby rooms and squash them, if you haven't got the paddle.
If anyone is curious, the submission from 2017 got 1,243 points and 92 comments: https://news.ycombinator.com/item?id=14452832
I'm a hugeeee LunchMoney fan. It's a solo dev and she does great! Hooked a few friends on it as well. This has been a lifesaver for insight into my financials and it's super flexible.
Can’t wait to see this turn productional and feature-rich! I loved Redis Streams and the sheer power of it as a generic database.
Redis is being undervalued for financial applications such as high performance bookkeeping that it doesn’t even have a fsync operation. Hope someone will pick it up.
The study of nonhuman intelligence could be missing major insights
You mean japanese? They do mix up r-l on pronunciations, but I rarely see a written r-l typo. Plus, it looks the HN title was manually typed, so it's unlikely you would mix up r-l with a reference text. Most importantly, the submitter is already too fluent to make that mistake, regardless of his native language is.
Chemistry and food are very similar and Germany was/is the world leader in that.

Most chemists can read German as a result.
I always fail to see how that actually works (edit: I mean the auto importing of transactions). My 3 biggest non-recurring expenses are Amazon, REWE (German supermarket chain) and PayPal. While REWE is mostly groceries, it certainly isn’t all, Amazon could be almost anything and PayPal could be absolutely anything.

Do people just give up on granularity, or how does it work?
Ah that datasheet might be a bad example because that component is so standardized. In this case you’d be better off searching “i2c eeprom” on YouTube and watching one of many tutorials that cover this chip. Then google “i2c eeprom application note” and skim the manufacturer’s tips on how to use it: http://ww1.microchip.com/downloads/en/Appnotes/01028B.pdf
Didn't know that, and yes, I am amused! However, it looks like it was more focused on systems that ran Linux or some such already. I'd need to make a boot system specifically for this - but, by no means impossible, now that I've figured out what the bootloader is looking for.

That said, I'm one of those NetBSD guys. ;)
What part is false?

The part where Vittorio proposed Epochs to fix this?

The part where the Committee decided not to take it?

Do you think that fixing this will magically get easier if you wait longer?
Quantum Computers: A Brief Assessment of Progress in the Past Decade
We are fine with approving medicine with no known mechanism of action but with safety and efficacy shown in clinical trials. We will be fine with models.
Similar to Jarritos maybe? Colourful sweet things with almost-rhyming names.
Neural Shape Mating: Object Assembly with Adversarial Shape Priors
Even omicron variant is still significantly more deadly than a flu.

And there's really nothing that guarantees bext variant will be less deadly not more.
Ah well. At least the code/drivers remain in the CVS Attic, perhaps they might be useful for a future NetBSD port.

Fun write-up.