skysight-inc/HackerNews huggingface dataset:
It doesn't make constitutional sense to me that congress passed laws to fund education ... but to be only dispersed if a later executive branch approves / doesn't have a personal gripe with them.

All these executive branch actions seem blatantly unconstitutional.
I've had a reasonable amount of luck with a combination of Buildroot and Bazel. I use Buildroot to assemble a minimal Base OS with just the kernel, bootloader and a few system services. Then the application layer is built with Bazel and assembled into a set of squashfs images which are mounted as overlay filesystems at boot time. The whole thing is shipped as a SWUpdate file built with the Bazel layer.

Because most of the iteration is happening in the Bazel layers I can generate a full system update in about 15 seconds with everything being fully reproducible.
I dont want the govt to fund any research funding. As a tax payer i did not vote this. I want to decide who i fund or not. It just means, my taxes will not go down. :/
> Understandable, it’s where the file pointer was and mp4 allows this so your recording device writes it at the end.

Yet formats like WAVE which use a similar "chunked" encoding they just use a fixed length header and use a single seek() to get back to it when finalizing the file. Quicktime and WAVE were released around nearly the same time in the early 90s.

MP2 was so much better I cringe every time I have to deal with MP4 in some context.
Agree after banging my head against http2 for years, I now really enjoy how simple websockets are and their universal support
>It seems there's a liquidity problem in the markets, which is also weird because stocks are being sold, so there should be liquidity.

This is a normal relationship. The financial system has leverage. When liquidity dries up and sellers dominate, volatility rises which feeds back into valuable risk metrics and realize portfolio volatility. That causes participants to downsize their exposure to keep the same risk. In these cases the participants don't necessarily have extra liquidity to deploy until after volatility and uncertainty settles.

>For a while, even gold went down, which is also highly unusual during a market crisis.

During a true crisis this is actually not that uncommon. In the trading space, you saw what you can during these events. In extreme circumstances where correlations all go to one even the safe havens get sold off to raise cash. The gold liquidation was a sign of pressured margin metrics and very high stress. You can see how quickly gold recovered after the peak stress, confirming that situation.

>One reason that is frequently cited now and also in this article is because some hedge funds have specialized on the so called "basis trade", which I never heard of before. It basically means buying large amount of treasuries and speculating on their futures.

The basis trade is more of an arbitrage than a speculation. The global eurodollar system (not currency, global offshore dollars) is about 20 trillion dollars in size. The basis trade is essentially a method in which regulated US financial markets are exported to The world at large to be used in the global, emergent financial system. Instead of buying a treasury directly, one can use the futures/eurodollar market, and the basis traders will arbitrage the difference and keep everything in line.

>At some point, the FED would normally intervene and buy treasuries.

The issue that the FED is facing isn't so much their balance sheet capacity but the tariff-driven inflation outlook and how it interacts with their mandate. That said, they did clearly communicate today that they would be willing to step in if there were severe signs of systemic instability. The reality is... if tariffs really do cause an inflation wave, yields at 5% may be relatively low...
This is a good idea. I'm saving that for later.
Splash-free urinals: Design through physics and differential equations
> If you compare the commit messages on your public repos with those on the SpacetimeDB repo, do you notice any differences?

Yes. The open source software that I've written is actually useful.
The fact that you are a paying user who does not hate some thing that other users do, does not change the fact that they do, and that they are the final authority on what they hate and why they hate it.

It has nothing to do with you. You are free not to have the same priorities as them, but that's all that difference indicates, is that your priorities are different.

The "what is art?" stuff is saying why I think that "get as good as a human artist" is a fundamentally invalid concept.

Not that humans are the mostest bestest blessed by god chosen whatever. Just that it's a fundamentally meaningless sequence of words.
As a youngster in the 70s (before lead sas a known carcinogen) I had a piece of lead in my lego bag (no idea how it came to be there). I thought that soft metal was neat and bit it more than once. Fortunately I still have all my hair though I know a woman who would say 'that explains a lot.
Wouldn't it just take one pissed off country with lots of leverage? I agree, bad, but not really unexpected. I just don't understand why the US thought they could sell everything but their socks and then turnaround and try to bargain.
implementations may request the metadata range at the end in this case, if the content length is known
According to Wikipedia the wall was reported to be 15% complete in 2019, but found to be actually just 4% complete in 2020, then reportedly 18% in 2022 and 30% last year.

Given that is started over 15 years ago and there seems to be significant differences between what countries report and what was actually done when the UN commissioned a report in 2020, it’s anyone guess what progress has actually been made.

In my opinion it’s probably around 10% or low teens now and would be lucky to double that by the end of the project in 2030.

The project will probably report a much higher number when it actually finishes.

Hopefully it will be funded to continue. It’s probably one of the most important global events environmental projects of the 21st century.

https://en.m.wikipedia.org/wiki/Great_Green_Wall_(Africa)
Artists do not want to get paid micropennies for use-of-training-data licenses for something that destroys the market for new art. And that's the only claim Adobe Firefly makes for being ethical. Adobe used a EULA Roofie to make all their Adobe Stock contributors consent to getting monthly payments for images trained on in Firefly.
> Big bold projects by African dictators to leapfrog the economy has a truly atrocious track record.

Perhaps, yes. But the Sahara is expanding and reducing the livable area of land in those countries. That can only add to economic strife. On the other hand, building a green wall reduces or eliminates the expansion of the desert and also increases the amount of food available to those countries. I believe that would help reduce the strife between those countries. Yes there's risk of abuse but I think everyone wants to be self-sufficient and anything towards that is laudable.

> UN involvement makes it even worse.

Can you explain that further? The U.N. is terrible at directly preventing conflict (just look at Ukraine) but I think it has a decent track record of helping countries build their infrastructure.

> I'm glad that it's still possible to destroy an ecosystem

What? You think building green savannahs is destroying an ecosystem?

> That would never fly in the US.

I don't know about never but I do think it'd certainly be difficult.

> We also have no need to produce more food

I disagree. I think we have no appetite to produce more food right now, but the way we're currently growing food is rather asinine.

> and our deserts are mostly beloved natural wonders.

Mostly, yes. But I think there's plenty of deserts that aren't quite natural wonders.
Netflix is testing a new OpenAI-powered search
This has to do with how async works without preemption and resource limits.

There's a counter-intuitive thing when trying to balance load across resources: applying resource limits helps the system run better overall.

One example: when scaling a web app, there comes a point when scaling up the database doesn't seem to help. So we're tempted to increase the connection pool because that looks like a bottleneck. Increasing the pool can make the overall system perform worse, because often times, it is slow queries and poorly performing queries that is stopping up the system.

Another example: one of the systems I worked on has over 250 node runtimes running on a single, large server. It used pm2 and did not apply cgroups to limit CPU resources. The whole system was a hog, and I temporarily fixed it by consolidating things to run on about 50 node runtimes.

When I moved them over to Kubernetes, I also applied CPU resource limit, each in its own pod. I set the limits based on what I measured when they were all running on PM2 ... but the same code running on Kubernetes ran with 10x less CPU overall. Why? Because the async code were not allowed to just run grabbing as much CPU as it can for as long as it can, and the kernel scheduler was able to fairly run. That allowed the entire system to run with less resources overall.

There's probably some math that folks who know Operations Research can prove all this.
Jesus Christ that was a long time ago. Thank you sir!
So unlike HTMX we support merge in both fragments and signals. We also support custom events natively for purely local state. We just make the browser declaratively reactive, that's it
> What am I supposed to do now?

Are you willing to sue? Consult lawyers. EFF would be a good start.[1]

[1] https://www.eff.org/pages/legal-assistance
Perhaps it's fast because M2 is already arm64.
I was thinking more from a reference point along the lines of LLVM type performance optimizations when I was speaking about optimizations, if that sufficiently clarifies.
We did it in 3rd grade in public school.
Indeed. Humans dont make you talk to a chatbot for help or have 'no-reply' in their email addresses.
It's worse only if AI turns out to be of high value.

In that case only large companies that can afford to license training data will be dominant.
RFK Jr. vows to find cause of autism by September – experts have doubts
Well obviously there's a difference between latency and throughput. Of course it's going to be microsecond plus your rtt/2. Sorry, we can't beat physics.
The Constitution doesn't actually say that the party with a majority share of seats in the house or senate gets all the power. It's a practical matter of the rules that the members choose to implement.

So for instance, groups that were nominally from 2 different parties could elect leadership that planned to work with the groups, rather than whichever party had the nominal majority.

This is kind of an abstract point, but it's useful for reasoning about things. The so called "centrist" members of a given party are actually aligning themselves with the most extreme members, not some 'center'.
I just expect better from professional language designers. To me, the blindingly obvious follow up to the thought "We understand that people familiar with other languages would like to see string interpolation in Go." [1] is to research how said other languages have gone about implementing this and to present a brief summary of their findings. This is table stakes stuff.

Then there's "You can [get] a similar effect using fmt.Sprint, with custom functions for non-default formatting." [2]:

- Just the fact that "you can already do this" needs to be said should give the designers pause. Clearly you can't already do this if people are requesting a new feature. Indeed, this situation exactly mimics the story of Go's generics - after all, they do not let you do anything you couldn't do before, and yet they got added to Go. It's as if ergonomics matter, huh.

Another way to look at this: if fmt.Sprint is so good it should be used way more than fmt.Sprintf right? Should be easy to prove :)

- The argument crumbles under the load-bearing "similar effect". I already scratched the surface of why this is wrong in a sibling post: [3].

I suspect the reason for this shallow dismissal is the designers didn't go as far as to A/B test their proposal themselves, so their arguments are based on their gut feel instead of experience. That's the only way I can see someone would come up with the idea that fmt.Sprint and f-strings are similar enough. They actually are if all you do is imagine yourself writing the simplest case possible:

fmt.Sprint("This house is ", measurements(2.5), " tall")

f"This house is {measurements(2.5)} tall"

Similar enough, so long as you're willing to handwave away the need to match quotation marks and insert commas and don't spend time coding using both approaches. If you did, you'd find that writing brand new string formatting statements is much rarer than modifying existing ones. And that's where the meat of the differences is buried. Modifying f-strings is trivial, but making any changes to existing fmt.Sprint calls is painful.

P.S. Proposing syntax as noisy as:

fmt.Println("This house is \(measurements(2.5)) tall")

is just another sign the designers don't get it. The entire point is to reduce the amount of typing and visual noise.

[1]: https://github.com/golang/go/issues/57616#issuecomment-14509...

[2]: https://github.com/golang/go/issues/34174#issuecomment-14509...

[3]: https://news.ycombinator.com/item?id=43651419
What you are seeing is an answer to the question - What happens in a world where people are too dumb to fully comprehend how dumb they are?
Must have been NT4 I was thinking about, only used 3.51 at work.
I’m not sure how I feel about a government incentivizing daycare. I’d rather all parents receive financial support, regardless of their childcare decisions.
Ian is great, if you want progressive enhancement it would be my go-to every time!
The go mistakes that tend to bother me the most are things like gc pauses, lack of first-class named and default arguments, lack of exceptions, lack of subrange types, etc.

I usually avoid them by not using go. Or waiting until missing features (generics) are added.
Similar to if you engaged a realtor on a monthly subscription instead of a (roughly) fixed commission based on % of sales price - incentivizes them to spin things out.

Having legislators outlaw bad business practices is in general very slow; if competition works then it seems there should be a niche for a lump-sum/fixed commission-based dating service where they match you with the people in their database most likely to actually be compatible with you. But now that creates a new problem of measuring "successful" outcomes in matchmaking, which will be near-impossible to measure and easy for all parties to game, if it's mostly transacted by app. But it sounds in principle like the business model for traditional introduction-based matchmaking (the matchmaker only gets a good reputation if they have some successes, and most prospective customers will only be willing to pay $ for say 3-12 months).

EDIT: makes me wonder: eHarmony never opened matchmaking offices.
You are the horse. Platforms realized they don't have to keep making faster horses or cars or whatnot if they just turn their users into zombie-like creatures who mindlessly click on what's presented to them albeit just to chase that next carrot of dopamine.
I learned about this from a youtube video [0]. I think the rules are definitely good for players.

[0]: https://www.youtube.com/watch?v=WCkUUm0zDLY
The public yearns for formulaic engagement slop /s
Vercel never uses its "open-source" framework funnel to lock folks into opaque, five-figure Enterprise deals for basic features (like security), right?
> Virtually everybody who ever lost a job to technology ended up better off for it.

this feels like a much stronger claim than is typically made about the benefits of technological progress
Could be. They stuck with GPL2 GCC 4.x for a while. IIRC, they never switched to GPL3 GCC5+
Even the cheapest quartz watches (0.5s/day) are significantly more accurate than a typical Rolex (2s/day) in normal use.

I'm having some difficulty understanding how g shocks, temperature variations, and barometric changes will have less of an effect on a fragile mechanical system than a tuned electronic one.
I suspect he knows exactly what will be "found".
It was during an era where there was actual competition over Operating Systems. OS/2 definitely pushed Microsoft hard. BeOS woke everyone up even if it wasn't on popular hardware. Bell labs was still experimenting with plan9. There were several commercial Unix vendors.

Monopolies. They ruin markets. Destroy products. Reduce wages. Induce nostalgia.
Hashed script content
"Israeli Campaign" is it really that weird for someone to ask to take down posts calling for their annihilation?
Yeah, I was always surprised by how many organizations will actually jump at the opportunity to "participate" when some EU consortia was announcing a new program or funding round.

There's a saying for that in German involving "feeding trough" and "pigs".
"substantially complete" C99 even
It turns out it is not a reliable approach. How a LLM works and how a LLM says it works can be completely different.

Think about it, a LLM is an autocompleter. It will give you the most probable next word each time. It doesn't mean it doesn't understand high level concepts, but in the end, it just writes stuff that is similar to its training dataset.

For example, ask it to multiply two numbers. If the number are small enough, you will get the right answer. Now ask it to explain how it did it, it will probably tell you the process as commonly taught in school, but it not actually how it did it. What it did is much weirder for us humans, and the only way to see how it actually works is to look at the internals of the neural network. The LLM can't describe it, it doesn't see inside itself, however, it has many textbooks in its training dataset, so it will grab an answer from these textbooks because that's how people answer.

Seeing how it correctly describes the multiplication process and how it can multiply small number correctly, you would assume it can also multiply large numbers (as we do), but nope, it can't, unless it has access to a separate math module, traditionally made (i.e. not a neural net).
I still use PS7. No adobe creative cloud, and all you need to accomplish some awesome stuff.
It's still a crapshoot.

GCC on xtensa adds extra instructions in several places.

GCC on Arm Cortex-M0 has awful register allocation, and M0 has half as many registers as most ARMs...
That's a great article. Niche optimization might seem minor, but it actually results in substantial memory usage savings in real-world Rust applications, because idiomatic Rust uses enums everywhere.
This is so sad. Here’s hoping a future admin run by an admin that relishes and supports science restores the agency.
> Why would the browser send byte range requests for video tags if it expects to play the file back linearly from beginning to end anyway?

Probably because byte range is required for seeking, and playing from the beginning is equivalent to seeking at 0.

> Wouldn't that be additional overhead/round-trips?

No because the range of the initial byte range request is the whole file (`bytes=0-`).
I think it's rather the opposite - there's way too much going on in their life, specifically stuff that they have no control over, so they vent all that stress wherever they can.
You don't have to upgrade every year, the point is that the hardware improves over time.
MDN disagrees. See the huge red warning here https://developer.mozilla.org/en-US/docs/Web/API/EventSource

Unless you mean on HTTP2? But aren't WS connections also multiplexed over HTTP2 in that case?
Why do you need to implement your own web socket server? Why not use AWS appsync events?
I fixed a few bugs in a WebSocket client and was blown away by the things they do to trick old proxies into not screwing it all up.
In the digital age, we should have 2D timezones where the time is slewed ever so slightly every night at 3 a.m., so that 6 a.m. is always dawn. That is the future.
But if I do I'm happy to pay for the work in advance. No need to go full Spanish inquisition on my sock drawer.
Amazing. Is this actually for practical use or only for language study?
I think at this point in my career my goal is to continue to never, ever, work on a public-facing website. 20 years into this foray of a career and I’ve avoided it so far.
I think this can be generalized a bit to not just software but real-world things. I was recently dealing with tearing up an old deck that was rotting. I could have done it myself -- I started doing just that in fact, but after a half day of work I did some math and realized that while it would not be cheap to hire someone with machinery that could do the job, it would end up being cheaper once I factored in externalities like being tired and sore, the risk of injury, and even just the discomfort of having to finish the job despite the weather du jour. Add in the significantly lower amount of stress, and the fact that I could use that same time for other projects, it made sense to shell out the $$$ to just have someone come in and do it for me.

And to that person, because they've already invested the money and time to get the equipment and learn how to properly use it and be proficient with it, the cost was much lower. In the end, between the two of us, we saved a lot of unnecessary labour by sticking to what we were both good at.
Show HN: dynq – an analytic query and data processing CLI tool for DynamoDB
I wanted a tool that can execute one-shot queries of arbitrary complexity against a DynamoDB table, without the need for scripting or propagation. I couldn't find one so have written my own.

You can find example queries here: https://github.com/benward2301/dynq?tab=readme-ov-file#examp....

I hope some of you find it useful. If you discover a bug, open an issue on GitHub and I'll take a look!
Building AI Agent Using Google Agent Development Kit(ADK)as MCP Client
Downvoted for being the only accurate comment in this submission. HN is now full of simpletons.
We took our souls and carelessly poured them out into the machine, and later the robots came and sucked it all out, along with everything that made us special, unique, human.

Was it worth it? Was it really free? Or would we have done it knowing we would all eventually pay a terrible price?
Those places aren't worth their while, and blessed be they for that!

All a business cares about is maximum reach, so they will ignore the small sites in favour of the biggest aggregator for the lowest cost.

If somebody on a smaller site behaved in the disingenuous and spammy way brands do on social, they'd be banned. Bluesky is not doing that, so this should be an opportunity to genuinely engage with the audience instead of copy/pasting the cynical tactics they apply everywhere else.
> other people reading this can take sides

Fewer people can read dead comments. And what others said.
The labor and design are probably the most expensive parts. Think hundreds if not thousands of hours of many ultra specialized people's time.

The actual raw material has to be a fraction of the worth.
Echoing this. At $DAYJOB some 5-10% of customers will fail to initiate a websocket connection, even over wss:// despite plain HTTPS requests working fine. This is a client-side issue with whatever outdated HTTP CONNECT implementation the enterprise has.
Social media really brings out the best in people doesn't it? Dogpiling, self-congratulation, mimicry, dehumanization, scapegoating. It's so lucky for society that many people spend hours a day on there!
Skull - https://doesnotexist.openbenches.org/images/seed10831.jpg