skysight-inc/HackerNews huggingface dataset:
Since pprof is supported you could use parca-agent [1], an eBPF-based profiler that I happen to work on, as when you browse the debug UI on port 7071 you can download a pprof formatted profile for any process running on the machine.

Supports Go, Rust, C++, C, Ruby, Python, C#, Java, Julia, Erlang, Nodejs, wasmtime, and more.

[1] https://github.com/parca-dev/parca-agent

[2] https://www.parca.dev/
with their own dedicated fan club I see: https://nurluefter.de/luefter/21-01-26%2002-49-15%200007.jpg
> but it was also deemed a risk to national security for any part of it to be public

Surely it's OK to keep secret if it WAS a matter of national security? Quite possibility that is open to debate in this case, but it seems sensible at least to have this provision in law?
I wouldn't want to find a ribbon worm in my salad, but I don't find them anything like as horror-inducing as a Bobbit worm.
Nikon Coolpix P1000
then don't trust it in production. Windows 10 is still current.
Just totally depends. I’ve worked on systems that had to be wire-to-wire in ~5 mikes at the p99.9, and that’s crazy slow compared to the HFT assassins who are rumored to be under 100ns these days.

If you’re in single-digit mikes at the tail you’re not fucking around with someone’s green threads, and at 100ns you’re in an FPGA or even ASIC.

To serve a web page? 10ms, eh, I’d rather not spill on purpose but it’s a very, very rare professional CS:GO player who can tell. If my code is simpler and cheaper to maintain and more fun? Maybe I pay it.

What I don’t want is to ‘static bound shit to burn millis. Burning millis should buy me a beautiful sunset and a drink with an umbrella in it.
It's not 2000 anymore. This strategy can't be repeated anymore as it depends on the environment being the same as 20 years ago.
Shared mutated memory isn't necessarily a problem, because it still is unknown how often access is required to that memory.

E.g. having a thread that spends perhaps 1% of the time with state mutation vs 10 threads spending each 3% of the time with state mutation.
You have smaller efficiency per thread, but still higher efficiency overal
They were writing such articles at the height of the 'lockdown' part of 2020. they have no shame at their obsequence to their billionaire owners.
> In most cases it’s no high paying jobs or unaffordable housing, pick one

isn't this another effect of inequality of wealth distribution?

Suppose you live where high paying jobs are, but people getting high pays contribute proportionally and schools, medical bills, etc. are affordable, there would be a lot more families that could funnel the money saved to housing, instead of having to chose.
> why shouldn't it take away the job?

Because in context of the current generation of "AI" , i.e the ChatGPT cohort, all that it's doing is "given a very large number of examples of this text, generate one more that fits the prompt". It's nothing without the training data. And the training data is the output of people's jobs.

If you called it "distributed plagiarism" would that make the problem with the idea that AI replaces the need for the writers more apparent? It can not, but it might replace the need to _pay them_ for the contribution, as it's further from the end product.

https://www.zmescience.com/science/chatgpt-stocastic-parrot/

https://apnews.com/article/openai-lawsuit-authors-grisham-ge...

The same applies to the DALL-E cohort of image generators:

https://news.artnet.com/art-world/open-letter-urges-publishe...
> Let's look at Python for example. If you want to install a package, it goes into /usr/lib/python3.11/site-packages/$PACKAGE. Do you want two version of it? That's not possible. This is ultimately a language design issue.

Python virtualenvs make this possible, and are accommodated for in Python's design decisions. I therefore don't think it's fair to say "that's not possible".

You do need entirely distinct stacks, but that's necessary by definition. You can't have package A depend on packages B and C each of which depend on a different version of package D but expect to share API objects from D back through to A and therefore with each other. This would require some level of compatibility between versions of D, and there can be no guarantee of that.
"Commercial.Core and SSO integration: Code for certain new modules that are designed and developed for use by larger organizations and enterprise environments is released under the Bitwarden License, a "source available" license."

The rest of Bitwarden is free both as in beer and as in speech. Dunno why you think otherwise. Vaultwarden exists, and Bitwarden clients are compatible with it.
Never Gonna Give You Up [video]
> Scalability comes at a price. Unless you need it, it makes you less flexible. And that is exactly what you don't want to be as a startup.

This is a valid comment. I’ve chosen Postgres in the past for the features, not the performance. For example guaranteed at most once delivery (via row locks) and filtering of jobs based on attributes (it’s a database after all).
we are in process of getting the plugin signed at the moment: https://github.com/netdata/netdata-grafana-datasource-plugin
It's not looking down on carpenters and bricklayers to accurately describe that fresh university graduates are mostly not interested in doing these kinds of jobs and will choose to remain unemployed instead.

Maybe they'll become desperate enough for a job, any job, before the service sector recovers enough to offer them that cushy office life they're pining for, but right now many seem to think that living off their parents is a better deal than having to do manual labor.
Why is that cheating? But it is still very slow, I got it down to 0.42 seconds.

function controlFunction(block)
{
const t = Math.round(block.T / 0.02);

return (t <= 10) ? +50
: (t <= 18) ? -50
: (t == 19) ? -22.4538198550841
: (t == 20) ? -27.5461801449159
: 0;
}

Misses the target by 6.1E-16 at an velocity of 6.3E-15. But yes, this should probably randomize the initial conditions or parameters like friction and gravity a bit so that you actually have to control the system.
I just want to commend OP - if they’re here - for choosing an int64 for job IDs, and MD5 for hashing the payload in Neoq, the job library linked [0] from the article.

Especially given the emphasis on YAGNI, you don’t need a UUID primary key, and all of its problems they bring for B+trees (that thing RDBMS is built on), nor do you need the collision resistance of SHA256 - the odds of you creating a dupe job hash with MD5 are vanishingly small.

As to the actual topic, it’s fine IFF you carefully monitor for accumulating dead tuples, and adjust auto-vacuum for that table as necessary. While not something you’d run into at the start, at a modest scale you may start to see issues. May. You may also opt to switch to Redis or something else before that point anyway.

EDIT: if you choose ULID, UUIDv7, or some other k-sortable key, the problem isn’t nearly as bad, but you still don’t need it in this situation. Save yourself 8 bytes per key.

[0]: https://github.com/acaloiaro/neoq
I didn't realize it was actually named after https://en.wikipedia.org/wiki/John_and_Lorena_Bobbitt . That only adds to the general level of horror, Thanks! =:0+
<crosses legs>
The interesting thing about HN is, although they are incredibly smug, arrogant and often incorrect, at least you can sense that you communicating with smart people. I can assure you, you're not one of them and that makes things pretty tricky for me. To make it worse, although you just called me unhinged you didn't get downvoted or flagged but if I follow suit I will get eviscerated (trust me I tried) and partly its because I can be uhh a little colourful especially in questioning peoples mental capacity.

> ...closer to the unhoused than the rich people who own and run things

Somebody will always own and run things (impossible otherwise). Even the marxists understood this, thats why you have the dictatorship of the proletariat. They tell you its only temporary until the perpetual motion machine is finished, meanwhile they will just keep the god emperor seat warm you know.

Anyways, its not only incredibly silly to even aim towards building such structures, its also immoral. These blowups that happen every time your kin try these ideas are not an accident (i mean..), its a direct result of the moral narratives that drive you people.

The guy that fills up grocery store shelves should be worth 300-400 times less than Elon Musk (IMO even less). A society that puts Elon musk in the same realm as that guy (20x-50x), is a deeply immoral society. A society that values AOC (former bartender) and Bernie Sanders (former hippie that never had a real job) higher than Steve Jobs, Elon Musk, Jeff Bezos, Jamie Dimond etc deserves to burn to the ground. There is something deeply rotten about such a society, its parasitic.

Btw you could similar claims the other way around, there would something wrong about a society where the middle class is shrinking and you have this uneven duality of peasants vs aristocracy. I may even agree that in many ways we are headed that direction.

The difference is I think the blame for that can be almost entirely put on your kin. I suggest you look into the Cantillon Effect. What we are facing now are the consequences of FDR era (& subsequent) socialist policies. The check always comes due. You cant create something out nothing. For every dollar, somebody is on the liability side. You can let the barbarians invade the country (short term deflationary), you can create neo-colonialism through the IMF & World Bank (Alex Gladstein IMF) (deflationary), you can move factories to poor countries (deflationary) but at some point the chickens will come home to roost. At some point you will have to pay the pied piper.

At some point the nation that has 50-60 hour weeks for their automobile industry will favoured by nature over the nation that forces its automakers to provide 32 hours weeks (4 days). At some point the nation that reveres and empowers their best people will win and latter will be in ruins. Just like how the management & shareholders of Ford deserves to get wiped out for enabling unions, the nation that betrays its competent, conscientious, industrious class deserves to be wiped out.
Daisy Duke Hats and Accessories
Yale professor’s book ‘systematically misrepresents’ sources
A Brief, Incomplete and Mostly Wrong DevOps Glossary
Windows and WSL are a mess. Run docker on Linux instead. There is no reason to run docker on windows, except if you are planning to build windows containers.
What I don't understand is why speech-to-text is so bad (on the iPhone at least), and it's related to this editing issue. Text to speech will never be a perfect replacement for other forms of text entry, because you're limited in when you can use it. But it's so close to being good.

The main issues are so easy to solve, they're just silly UI issues around editing. You can enter text verbally, it works surprisingly well at understanding what you're saying. But... you can't delete the words you just said if it was wrong. It's literally the first thing you run into - you're transcribing, it gets one word wrong, boom, you're stuck in normal tap-editing-land again. Trying to enter messages while driving? Good luck, unless you can transcribe the message perfectly on the first go, you have to use your hands.
> The other problem is related to the role of debt in modern society.

I.e., state-sponsored usury.
That's a steal!
This reminds me of the whitepaper Scalability! But at what cost?

http://www.frankmcsherry.org/assets/COST.pdf

Which I think is about how single threaded programs are faster than scalable but slow multithreaded systems.

I think you might be right and that's why there is ReadWriteLock or RwLock for single writer taking turns.

If you have a counter or a data structure you're mutating in every request then you'll hit lock contention.
With housing, the problem isn't so much that we can't afford to build it easily, the problem is that we have made it illegal to provide housing.

We have a shortage not because it is expensive, but because we regulated a shortage into existence.

We do need some subsidy programs to help those with the lowest incomes or no incomes. But those will become easier to provide once we allow enough housing to be built and lessen the rentier extraction that comes from having an unnecessary shortage.
This can’t be a real, thought out, response. I’m living in Florida. I will agree with you that rent-seeking and increasingly abusive landlords are a huge problem here. However, the largest drivers of pricing out retirees in my anecdotal observations is uncontrolled healthcare, insurance, and food costs. The electric companies have also increased their rates and been allowed to add insane flat infrastructure recovery costs for storm damages.

In the last two years the following has happened:
The same box of cereal increased from ~$3.75 to ~$6.59 and gone from 19oz to 17oz.

The electric company got an 11% rate increase approved and an additional ~$20 storm surcharge added. (The surcharge is in addition to the existing ~$8 storm protection fee which was supposed to cover storm damages and infra improvement).

Vehicle insurance rates increased by ~20%.

Homeowners insurance increased by ~40%.

Health insurance and prescriptions have increased by insane, unquantifiable amounts. (Rates didn’t just increase, but benefits on plans were changed so significantly as to completely invalidate any previous cost-benefit-analysis. Coverage is no longer predictable due to ridiculously arbitrary rejections of coverage. A single asthma prescription increased from ~$20 to nearly ~$150 a month.)

What you see a problem of government regulation I see as a problem of rampant greed and market manipulation to benefit a single class of individual. I watched the market respond to a crisis by increasing customer costs and turning the last couple years into their most profitable ever.

I agree with you however that housing has been essentially weaponized, and I believe we’re quickly entering the age of the landlord. It’s preposterous that any person can be homeless while another person owns 50+ properties and provides little, to zero, value to society. It’s preposterous that we’re allowing collusion and price fixing in the rental market via 3rd party property management companies. It’s preposterous that rent amounts for a modest home or apartment require incomes and credit scores that only ~5-10% of the population has.
If SQLAlchemy’s documentation doesn’t explain its use with LISTEN/NOTIFY, perhaps it’s the wrong tool for the job? You are presumably not going to use it with Redis or SQS queues, so why are you so hung up on it here?
This doesn't really add up to me.

If a currently in progress trial is corrupt, we can prevent the harm that a corrupt outcome will cause before it happens. If you have to wait 5 years to discover that the trial was corrupt then we get at least 5 years of harm out of it. Potentially much more because have to retry the case years later will be much much more difficult due to evidence destruction.
I think they also don't actually use wine, gremlins or any glass containers...
The Workflow Pattern
Yup. People fail to realize that the question is not "can I use $100 to run a business that will generate $140 of profit over 7 years", but "in 7 years, what gives me the most return for my $100".
Claiming there's a problem "with regulations" and it's also "the government's fault" is like saying "I'm hungry, have access to food, but actually doing the work to prepare the food and then eat the food, that's just not appealing."

The body that created and enforces the regulations can also change them to make things easier. It's not a one direction street.

Additionally I don't see much data (certainly none you point to) that supports much of what your claiming. How certain are you that your position is one based on the information at hand vs your feelings on the subject?
Hi Jeremy, is there a chance you’ll be tackling agents and agent systems soon too? best
Show HN: Browser Firewall – block network access for any extension or website
Solanum pimpinellifolium looks really cool
> I am going to assume that you know the beginning and the end of sequence of digits.

First, that's a strong assumption. But...

> We check whether some value exceeds 9, in which case we had a non-digit character.

Huh? You already know where the end of the digits is. At least, I thought you did? So why would this be necessary?
Don't Crack Under Pressure: Java Services – The Battle for Stability Under Load
Sorry but why ? Should those only living in the US read the New York Times ?
A specific, meanwhile mostly solved, issue about emailing, nothing special, just special enough to build a unique selling point.
> due to utter incompetence and mismanagement

I take offense to that one.

Modern farming need equipment, if you have no capital and can't access loans, because western banks won't lend you money, then your ability to farm is limited. The reality of financy in undeveloped economies is that interest might be 20% and if you fail to repay they might come aftwr your family.

The biggest irony is US appmying pressurr on african countries not to take loans from China while providing no alternative.

Similar thing goes for poppies and cocaine, if we legalised or regulated these drugs adequately, we would not be paying billuons to cartels. Cartels in South America would not exist without the US market.
Everything showed green for me at the time of posting, it seems they lack behind customers.
Met Police: Up to 300 armed officers step back as Army on standby
>Neither, for reasons unclear to me, allow the owner to make that decision.

On Macs you can get something called AlDente which I use. Works quite well, free version https://apphousekitchen.com/
> AWS gets to reduce its profits by making this investment, which means they pay less taxes.

This has been Amazon strategy for a long long time now, almost two decades.

But Bezos views this in a different way, not as an accounting trick to look good to investors, but as a way to kill the competition, since you have lower costs by not paying taxes, so you can redirect a part of what would have been taxes to attract customers (lower prices, excellent customer support, ...)
Fantastic article. My experience with Rust as an enthusiast was that tutorials tend to introduce Tokio very early on and it kinda makes Rust feel more difficult than it is. Rust's async shouldn't be taught, it should rather be discovered.

The author mentions

> If async is truly indispensable, consider isolating your async code from the rest of your application

I think ALL async code should be generally isolated.

Are there languages that provide foundational priority to asynchronous code yet supports good intermingling of sync and async in the same codebase? I maybe missing the point about isolation, but the mix of sync and async code gets bad really quick.
Speeding up the JavaScript ecosystem – draft-JS emoji plugin
If you use Google Workspace, you're a GCP user under the hood.

(...And it's not great when the workspace admin interface isn't enough anymore and you're dropped into the GCP admin)
It's sad, but to be fair it's "reduce reuse recycle" and there's no toy more reusable than Lego.
And also they pay for your health insurance, which in Switzerland is far from negligible
Being worse than GPT-4 doesn't dispute GP's claim that it's in the top 3 with GPT-4. To disagree with them you need to name models other than GPT-4 and PaLM 2 which are also better than Claude 2.
Imagine the hum...
LeanStore: OLTP storage engine optimized for many-core CPUs and NVMe SSDs
Not really, it's only a tiny fraction of purchasers. Their market power during purchase time is not enough to drive down prices and benefit them, and post purchase they do not own enough fraction of existing homes to help drive up sale prices.

Unless they are systematically paying above market, which is what Zillow did (for a tiny tiny number of homes, relative to supply). Which would be a transfer of wealth from Private Equity to individual home buyers.

Housing is one of the least centralized markets that we have, and even when ownership is highly concentrated in a market, it's very rare that pricing can be controlled by an entity. Even the widely publicized "pricing software" for rentals was just better at showing comparable apartments with less work, enabling price discovery. It didn't enable price collusion.

The shortage of housing and resulting high prices are best understood (IMHO) through class politics, where class is defined as already owning a housing asset or not.
Apologies but I feel lile this is quite an important distinction to make:

> down 66%

down to 66%.

"down X" suggests/implies down by X.
Amazon to Invest Up to $4B in Anthropic as AI Arms Race Escalates
IMHO - and this probably why I’ll never launch a product - you should understand each piece of your infra. Not necessarily to the metal on each, but I don’t think it’s unreasonable to be able to explain why each piece is necessary, what it’s doing, and how to troubleshoot it when it breaks.

With your mentioned list, three of them are Python, so that significantly reduces the breadth.
Fine-tune a different base model. There are plenty to pick from, just pick one that hast the kind of knowledge you want.
> play 90's rock ... some animal documentary ... not too far from the truth

Bloodhound Gang - The Bad Touch?
No it's not. Kubernetes is not an equivalent of a car, it's an equivalent of Land Rover Discovery 5 in your scenario. There are plenty of cars which score differently on some pre-agreed reliability scale (and, specifically, this model of Land Rover scores very poorly).

Kubernetes is light years away from being a reliable system. It's a system to support Web sites, which don't need to do anything that would require a lot of investment into reliability. Nobody in their right mind would use Kubernetes to run highly-reliable systems that, eg. put human lives at risk.

PostgreSQL is in a completely different category from reliability standpoint: much more reliable. But, if you put it on Kubernetes footing, you give up that reliability.

Again, maybe your business is to make Web sites -- then nobody cares, it's good enough. Running a database of a bank on top of Kubernetes -- well, I hope nobody actually tries that. And size has nothing to do with that. Reliability is about all sorts of metrics like mean time to failure / recovery and guarantees that the system makes like once a particular condition is encountered, the system will halt and so on. Kubernetes never claimed anything in that category, and, in practice, it doesn't offer any satisfactory guarantees of its own performance.

Anecdotally, I saw Kubernetes fail due to its internal problems more times that I can count. Like, we are talking about at least hundreds of times. And by "fail" I mean that the system enters into a state that cannot be salvaged by a reboot or replacement a master node(s). Since my interaction with it involves a lot of testing, but I'm not testing Kubernetes, rather something else running on it, I'm all too used to deleting and deploying new clusters.
That's a great point, that often people misunderstand.

It's even worse than you say though. As someone who has used neither Postgres or Redis for queueing, how am I supposed to know what is the "simple" solution here and if it really solves my problem?

Almost everyone uses solution X. A few people are saying "no, just use solution Y, it's obviously enough and far simpler". Even if it is far simpler, how am I supposed to know whether there are some hidden gotchas here?

Much safer to bet on technology that is proven to work, given that large amounts of people are using it in production for this purpose.