MurphyA/hacker-news huggingface dataset:
by bastawhiz | 2025-04-16 16:10:27+00:00
And you just never have any handlers on the server components? The problem is that if a component is populated with data from the server, it's sending the data down as JSX. Which means that component can't react to interactivity of client components within it. Unless, of course, you draw the line further up and make more stuff client components.

Consider making a list of posts from some sort of feed. If each item in the list is a server component, you can't have the component representing the item be a server component if you need to handle any events in that item. So now you're limited to just making the list component itself a server component. Well what good is that?

The whole point of this is to move stuff off of the client. But it's not even clear that you're saving any bytes at all in this scenario, because if there's any props duplicated across items in the list, you've got to duplicate the data in the JSON: the shallower the returned JSX, the more raw data you send instead of JSX data. Which completely defats the point of going through all this trouble in the first place.
by emporas | 2025-04-16 16:10:27+00:00
Ok, let's focus on food then instead of being all over the place. I personally produce on average 1 ton of olive oil a year. A little bit less 800 kilos or something, but let's say it's 1 ton. I keep some for myself and the rest is sold for profit.

Let's say someone in Zimbabwe wants to buy olive oil. He has to buy from the top producers in the world, i.e. Spain, Italy and Greece. I will sell olive oil to Zimbabweans only for profit, if they don't have money they will not have olive oil.

But let's say a smart Zimbabwean figures out a way to genetically modify Chlorella or Spiroulina which only need sun and no particular climate or fertile land and he produces so much olive oil that it's price collapses to nothing. Not only that will bankrupt me, but such a new innovation in food production will put me at a disadvantage of even competing using the new innovation because the reason is simple, i don't have even half the sun Zimbabwe has.

But even if my income stream of olive oil goes to zero, i can sell something else, i can even learn to program computer code, and sell that. Or learn genetic engineering myself and create some new innovation. There is never any shortage of problems to solve, and things to produce.
by throwaway652368 | 2025-04-16 16:10:30+00:00
Because it doesn't harm anyone. If censorship laws are all that's preventing genocide, it's not like people are going to go, "Well, we'd love to genocide that other group, but these pesky censorship laws, I guess we'll have to find something else to do..."

Anyway, your argument, whether intentionally or not, is a kind of motte-and-bailey fallacy. You accuse 4chan of allowing "absolutely reprehensible political views". In many circles, that description would include views like "Women shouldn't be allowed to play in men's sports" or "Young children shouldn't be allowed to have sex-change surgery". That's the "bailey". But rather than defend that, you fall back to the "motte" of things like conspiracy to commit murder. In some peoples' views, abortion is murder, should we censor talk encouraging abortion? Of course not; that would be me countering your motte-and-bailey with my own motte-and-bailey.

The fact is, private companies shouldn't be allowed to choose what we can talk about. We DO have people allowed to choose that; they're called legislators, and if you dislike the things people are saying on some website, you should take that up with your legislators, not with the website.
by galangalalgol | 2025-04-16 16:10:48+00:00
Not sure which hated demographic you fall in, but I have friends that are suddenly being threatened by individuals who now feel free to expose their true selves. I can't believe almost half the population are like that though. Escape may be the best option for a lot of people at this point. My friend doesn't realistically have that option due to finances and skillset. I do think people who aren't in immediate danger can pull a lot of people supporting those fueled by hate away from their positions with calm dialogue.
by tialaramex | 2025-04-16 16:11:37+00:00
So, these types [the growable array, C++ and this library call them "vector", Rust calls them Vec, a lot of the GC languages call this ArrayList or even plain List] have the amortized constant time append operation which they achieve via a growth factor, often doubling. However, as the programmer we might well know useful things about how big our growable array will be, either immediately or in its eventual future, this won't influence correctness but responding appropriately can have a large impact on performance. To use this knowledge, the type should provide a reservation API - a way to tell it what you know.

There are several ways you could arrange this, but some of them can't optimize certain scenarios practically. I call Rust's choice here a "bifurcated" API because it has two functions named `reserve` and `reserve_exact` where many provide only one (typically named `reserve` but analogous to `reserve_exact`)

Because we know the circumstance, we can use the amortized growth strategy where appropriate in `reserve` even though we don't use it for `reserve_exact`.

Suppose I'm receiving bundles of Doodads, to form a Shipment, I can see how many Doodads are in the bundle I received, but I only know it's the last bundle of the shipment or it's not, I don't have advance notice of the full size of the Shipment.

If I receive bundles of 10, 15, 11, 20, 9, 14 and finally 13 Doodads. Total shipment size was 92 Doodads.

With just naive doubling, we grow to 1, 2, 4, 8, 16, 32, 64 and finally 128 Doodads space, we perform 127 copies + 92 new writes = 219 Doodad writes, 8 heap allocations. That's our base case, it's what Bjarne Stroustrup recommends and what you'd get in many languages out of the box or if you've never used a reservation API.

If we abuse Vec::reserve_exact - as might be tempting if it's the only API - we grow 10, 25, 36, 56, 65, 79, 92, we perform 271 copies + 92 new writes = 363 Doodad writes, 7 heap allocations, one fewer allocation but many more copies, probably slightly worse. Ouch.

If we use the bifurcated API we grow 10, 25, 50, 100, we perform 85 copies + 92 new writes = 177 Doodad writes, 4 allocations, we're doing markedly better.
by throwanem | 2025-04-16 16:12:46+00:00
Oh, my D850 has one of those. It does perform very well in low light, but those extra stops of dynamic range in my view count most when they're yielding more contrast in an adequately lit scene - admittedly a privilege, and one I can more often afford myself with the kind of shots I like to take. I do print my work, though, and there's nothing else like that to show the limits of even a very good display.
by scelerat | 2025-04-16 16:12:48+00:00
Cassettes had a bit of a resurgence in the late aughts to 2010s among DIY/punk/indie bands due in part to the widespread availability of cheap (often free) old players, older used cars with tape decks, and cheap four track recording devices.

It would be very common for a new band in that time to have their first release on cassette, and then after they could scrape up the dough, press a vinyl single (CDs being very digitally uncool). There were several niche labels from that time whose bread was buttered with cassette sales.

You're absolutely right the sound quality sucks, but as a child of the '80s whose first music collection was purely cassette based and played back on a Radio Shack cassette dictation player, that sound has a nostalgia for me.
by Topfi | 2025-04-16 16:13:32+00:00
In fairness, the AGI definition predicted by doomsday safety experts who don’t have time for such unimportant concerns as copyright or misinformation via this tech, everyone who is most certainly not merely hyping to get investor cash and the utterly serious and scientifically grounded research happening at MIRI, is essentially that one company will achieve AGI, shortly thereafter that will lead to a singularity and that’s that. No one else could create a second because that scary AGI is so powerful and would prevent anyone else from shutting it down, including other AGI. And no, this is totally no a sci-fi plot, but rigorous research. Incidentally, I’m looking for someone to help me prevent OAI from killing my own grandfather, cause that scenario is also incredibly likely and should be taken seriously.

If it’s not obvious already, I believe we are far away from that with LLMs and that the attention those working in model safety give to AGI over current day concerns like Meta just torrenting for model data, are not very serious people, but I have accepted that this isn’t a popular opinion amongst industry professionals.

Not least because letting laws prevent them from model training is bad according to them, either for the same weird logic Musk uses to justify testing FSD Betas on an unwilling public due to the potential to prevent future deaths, or because they genuinely took RB seriously. No idea what’s worse for serious adults…
by 542354234235 | 2025-04-16 16:13:35+00:00
It depends on the book and the activity. Not just audiobooks, but I can read a nice fiction book at a busy coffee shop no problem, but I need a controlled quiet environment for a dense, technical read. With audiobooks, I have the mental bandwidth for a fiction book or nontechnical story based non-fiction book. If I’m going for a walk or a light jog, I can listen to a book no problem. If I’m going for a run, I can’t concentrate enough. Vacuuming and other mindless chores are fine, but cooking is too much of a mental load. It isn’t a binary thing, it is just depends on how much mental bandwidth you have vs the book you are consuming.
by insane_dreamer | 2025-04-16 16:14:00+00:00
This is long overdue. I don't understand why this hasn't yet been implemented in other States. The poor (those on food stamps) suffer the most because the stuff that is cheap and available on every corner is garbage like soda, and then they struggle with obesity, diabetes, and an array of health problems. There needs to be more effort into making healthy food available ("food deserts" are a problem). So while this ban isn't the solution in itself, it's part of the solution.
by dimitrios1 | 2025-04-16 16:14:11+00:00
I am not here to argue for a "side", to win an argument, nor provide a thesis defense with citation and references -- this is an answer you can easily get from ChatGPT. There's quite literally hundreds.

To add a wrench to both "sides" some of the most effective have been state/federal-owned /state/federal controlled corporations -- or generally, arrangements where you still maintain capitalistic economic incentives and drivers, but have government oversight and (effective) regulation. I think everyone would that is good, but sometimes it takes different forms.
by MisterTea | 2025-04-16 16:14:56+00:00
Yeah. I lived on tapes, stuff ripped from radio, other tapes, and CDs. I honestly don't remember thinking tape sound was that bad, worse than CD's sure. Most of the audio gear kids and young people had access to were cheap walkmans & headphones, boom boxes, and crappy all-in-one stereo systems likely made everything sound like shit and we were oblivious. It wasn't until I was older and befriended someone who was into sound production that I put a bit more thought into audio gear.
by kjreact | 2025-04-16 16:15:08+00:00
I agree with avoiding AI generated opinion pieces, but in this case was this article really “LLM junk”? At the bottom it attributes:

> This article was written in collaboration with AI. The tool helped shape the words—but the questions, the direction, and the discomfort it carries are human.

If I take their disclaimer at face value it could mean that the author used AI to fix their grammar. Does this make their arguments invalid? If the author wanted to just post LLM junk then wouldn’t they omit the disclaimer altogether?

I think it’s important to attribute the use of AI when submitting an article, but I’d be less inclined to do so if readers would label my writing entirely as LLM generated. Maybe the only solution is to not use LLMs and just get gud at English.
by eYrKEC2 | 2025-04-16 16:15:21+00:00
Tariffs don't help you compete globally -- they're about disadvantaging the global in favor of the local.

Someone may be able to pay workers $300/month and make them work the "996 working hour system"[1], but if they then have to mark up the end product by 100%, the disparity between local and global price to consumers narrows.

[1] https://en.wikipedia.org/wiki/996_working_hour_system
by kjkjadksj | 2025-04-16 16:15:22+00:00
When you start getting familiar with other japanese companies you realize its not that nintendo is fake “japanese” and has this mba side, its that they are japanese through and through including getting hard up on ip. This sort of thing plagues any japanese company I am familiar with. Car companies. Fujifilm. Same thing. Market on “creative, different, japanese” but its really a locked down product with artificial moats they put in to protect their incremental upgrade models. When you realize the potential of what these sorts of companies could do you get a little sad of the route they instead trot down.

For example fujifilm is resting on their laurels during the modern film resurgeance. They have stopped making film for the american market and let kodak make it for them and slap their logo on it. Every film lab in the world worth their salt still uses their 30 year old Fronteir scanning system because there is literally nothing better made as film industry investment fell off a cliff 30 years ago and large scale engineering efforts in that sector ended. And of course the cameras. Everyone is using an old slowly dying film camera because they don’t make new ones. And fujifilm had some of the best of the best in their “texas leica” medium format cameras. It is like civilization died in this sector and we are living off the scraps of what was left from the great civilization. Why does fuji do this? Avoiding their seat on the throne in this growing newfound industry?

Because hubris. They are japanese. They made the decision to forget about film and they are set on it damnit. They don’t want to cannibalize the sales of their modern day digital cameras (even though they probably won’t). They have a good thing going where they increment features on a couple hundred dollar camera bodies. What they don’t realize is the film buffs today probably pay vastly more in film than digital shooters pay upgrading their camera bodies a year on average. So much money left on the table just totally obsinate reasons for leaving it too that boil down to a certain hubris you see in japanese companies.

Don’t even get me started on Toyota.
by lazide | 2025-04-16 16:15:42+00:00
I dare you to name a forest that someone won’t try to kick you out of pretty quickly.

The US has forest rangers, among others, as do most countries. Even in remote Siberia and Alaska, it likely won’t be long before someone defending a mining claim or similar gets you removed or tries to shoot at you, though you might get long enough in some spots to live half a life at least.

Every society I’m currently aware of has something similar going on, and they absolutely are trying to remove opportunities to stay outside of their bounds.
by _DeadFred_ | 2025-04-16 16:15:46+00:00
And I have said over and over that blanket judging people on at best second hand knowledge but mainly hearsay and assumptions is evil, and the root of evil. In society we have to setup systems and work to make those systems work, not place the burden of the systems imperfection on random people because of ltbarcly3's non-direct fact based feelings.

You went pretty low in your comment by the way. Really shows you operating out of your feelings. Which is understandable, we are all human. But also shows maybe you shouldn't be making life or death judgements of other people.

BTW I think our immigration system has been HEAVILY abused by Democrats to get immigration policies they can't any other way. That they exploit more conservative people like me's empathy to create a loophole. That doesn't mean I judge the people that came here and placed determination of their life in our system, I blame the Democrats, and I try to change the system. Not condemn random people caught up in that. I want change, but this is the absolutely wrong way to go about it. I don't want a soul crushing machine running my country. I want the USA I grew up loving, that my family sacrificed for. The shinning beacon on a hill. And I'm not for turning off that light just because it's hard. Having civil rights is hard and expensive and nuanced.

I will ALWAYS try to learn and incorporate new thinking/understanding of events. Not sure how that is a shortcoming. It's actually really hard and uncomfortable.
by zenlikethat | 2025-04-16 16:16:09+00:00
> or is this a platform that maybe runs on k8s and provides its own serverless compute resources?

This one, although it’s a custom orchestration system, not Kubernetes. (there are some similarities but our system is really optimized for data workloads)

We manage Iceberg for easy data versioning, take care of data caching and Python modules, etc., and you just write some Python and SQL and exec it over your data catalog without having to worry about Docker and all infra stuff.

I wrote a bit on what the efficient SQL half takes care of for you here: https://www.bauplanlabs.com/blog/blending-duckdb-and-iceberg...

> In the end I kind of understand it as similar to sqlmesh, but with a "BYO compute" approach? So where sqlmesh wants to run on a Data Warehouse platform that provides compute, and only really supports Iceberg via Trino, bauplan is focused solely on Iceberg and defining/providing your own compute resources?

Philosophically, yes. In practice so far we manage the machines in separate AWS accounts _for_ the customers, in a sort of hybrid approach, but the idea is not dissimilar.

> Should I understand therefore that this is only usable with an account from bauplanlabs.com ?

Yep. We’d help you get started and use our demo team. Send jacopo.tagliabue@bauplanlabs.com an email

RE: pricing. Good question. Early startup stage bespoke at the moment. Contact your friendly neighborhood Bauplan founder to learn more :)
by rayiner | 2025-04-16 16:16:17+00:00
Not at all. Young children, in particular, do the same things they’ve been doing since modern humans evolved, if not even earlier than that. My three and six year old boys wake up in the morning and pretend to be puppies. I’m sure kids their age were doing that 30,000 years ago when humans domesticated dogs.

They were playing tic tac toe the other day, and asked my dad whether he played tic tac toe when he was a kid. My dad—who grew up in a village in Bangladesh—explained that he did, except they drew the game in the dirt with sticks.
by feoren | 2025-04-16 16:16:24+00:00
We have computers in our pockets that can perform trillions of calculations per second; we have social media sites capturing terabytes or petabytes of data per second; we have LLMs with trillions of parameters. So it boggles my mind to see someone say "we can't tax wealth, that'd be too complicated! We'd have to do dozens of calculations per year!"

You're imagining taxes as being one big annual chunk, but it doesn't have to be that way. It could be more like sales tax: baked directly into how these financial instruments work. You're also imagining taxes as computationally difficult, but they're absolute baby math compared to something like rendering a single 3D frame -- they're only artificially difficult for people because Intuit lobbies to keep it that way.

People get infinitely creative with financial instruments like collateralized debt obligations over mortgage-backed securities, but as soon as we suggest taxing wealth people throw up their hands and go "there's no possible way to do it!"
by esbranson | 2025-04-16 16:17:14+00:00
Massive breakdowns in "community" psychiatric systems while simultaneously illegalizing expansion through "certificate of need" processes. (If you've ever heard someone deflect with the word "beds", that CON process is what they refer to. "More funding" is misdirection.)

I think it notable the people mentioned come from Democratic Party strongholds. New York is attempting to rollback some of this and reemphasize more involuntary institutionalization. It's time to get more people off the street and out of the jails and into padded rooms.

Absolutely nothing to do with Trump or Elon, other than the feds are also having to deal with the mess the states are making. IMO yet another article that does not inform, but is really just another attempt at hate- and fearmongering.
by RoyalHenOil | 2025-04-16 16:17:14+00:00
You don't even have to go that far.

I went to school in south Atlanta, where both student body and teaching staff tended to be overwhelmingly Black. The school had a policy of hiring a certain percentage of non-Black teachers, including white teachers, and it had programs designed specifically to attract students from white and Hispanic communities.

The goal was not to give non-Black students and teachers a leg up; it was to promote diversity and ensure students graduated ready to meet all kinds of different people in the workplace. These policies were popular and uncontroversial, at least while I was there — though I dare say they would be deemed illegal now.
by hilbert42 | 2025-04-16 16:17:26+00:00
I'm not in the US so watching this play out is like watching episodes of The Three Stooges. — one's not sure whether to burst out into hysterical laughter or cry.

Right, not only is most of the world pissed off but we're just gobsmacked in disbelief.

We keep pinching ourselves just to check it's not some mad dream.
by ncapati | 2025-04-16 16:17:28+00:00
Totally agree with this take—it highlights a core issue we’ve seen over and over again. It's no surprise RECs struggle to live up to their potential as market signals. We think part of the solution is usability. If more people could actually see what they’re buying, why it matters, and how it fits into the bigger system, the signal could become stronger over time.
by TMWNN | 2025-04-16 16:17:32+00:00
<https://tryklack.com/>

But this only simulates keyboard and mouse click sounds. In any case, you wrote "whenever you start a game or app" (my emphasis). The Model II's fan and drive noises are 100% present from start to finish, with the combination enough to drive users insane (or, at least, not want to use the $5-10,000 computer).