Better HN
topnewbestaskshowjobs
Log inSign up

cogman10

23,406 karma · joined Jun 6, 2018 (8y ago) · 6,259 submissions

Submissions

comment 22h ago · link · parent

I used to think GraphQL was a pretty good idea. You can change the shape of your model, do complex queries, and ultimately switch out the backends. What's not to love?

But over time I've come to realize that those features aren't all that helpful. More fixed and static responses are much easier to manage. They force the caller to do things in a performance oriented way for the backend. And, importantly, all telemetry is based on CRUD/REST style endpoints. You lose a lot of that if you just have a GraphQL endpoint. It makes it supremely hard to see how you are being called or what you can drop.

It's flexible, but it adds too much undo complexity to a system that adopts it.

Well thought out REST endpoints organically grown as usage is required or observed trumps hyper flexible endpoints created because "Who knows what the user might need". And particularly in the age of LLMs and AI where adding and deploying new endpoints can take hours rather than days. Or making/updating a client for a service is extremely fast, there's just no reason not to go down that route.

comment 1d ago · link · parent

The standard for strict liability can change with future court cases. And I expect it would change if someone's irresponsible use of a model caused mass unintended impact.

I don't think it needs to be explicitly set with legislation.

comment 1d ago · link · parent

You realize that terrorists have existed before LLMs right? What do you think has stopped terrorists from acting?

It's not as if it's hard to pull off similar acts to the OKC bombing. In fact, if anything it's easier today than it ever has been.

The thing that's stopped people from doing it is personal consequences. And, honestly, probably a decent portion of it is the fact that people are less lead poisoned now-a-days. Similarly the possible explanation of why there are fewer serial killers today.

comment 1d ago · link · parent

You don't need an LLM to pull any of that off. There are well documented and (frankly) obvious ways to attack all those things which don't require an LLM's input. We've already had rednecks take out large sections of the grid for weeks.

Tort is already what keeps people from doing these attacks.

comment 1d ago · link · parent

> Or you could just impose tort liability for individuals who misuse models

Which already exists and doesn't need new legislation.

The reason why these "AI safety" firms are proposing regulations to kill local inference is because it creates a competitor to their models. They want to find a way to pull off regulatory capture.

And to be clear, what these people want to do is a free speech, potentially free press, violation. They are trying to criminalize the LLM printing press all because they realize their moat can't survive competition.

comment 1d ago · link · parent

Totally agree. This as well as creating opensource versions of old games are both places where AI is game changing.

It can stare at ASM, implement methods, and write tests that are tedious to do.

comment 1d ago · link · parent

I agree. But also the export law in question, I believe, isn't codified in statute but rather something implemented via the presidency. Like, there isn't a "no nvidia chips to china" law, instead it's "The president can place export bans in place" (AFAIK, someone please correct me if I'm mistaken).

Nvidia may have broken the export laws, but the presidency enforces them and can rescind them unilaterally. Perhaps a future presidency can prosecute the issue, but if this government gives out a "your fine and we aren't seeking prosecution" statement it becomes a lot harder, afaik, to bring a case later.

comment 1d ago · link · parent

> Is not the ultimate authority the shareholders?

Typically, the board members hold enough shares to overrule outside input from shareholders.

comment 1d ago · link · parent

Still waiting, 1:30 is the current expected departure

comment 1d ago · link · parent

Ditto in SLC. Still waiting for takeoff and 30 minutes late.

comment 2d ago · link · parent

https://archive.is/k88Bo

comment 2d ago · link · parent

Rust makes it pretty hard to do fast async, IMO.

Everything wants to push you down the path of using `ARC<Thing>` even when `Thing` is immutable or the lifetime can be mostly guaranteed.

Here's an example of that problem. Let's say I want to do 2 things concurrently against the same data set. I might want to write code that looks like this:

    let v = vec![1, 2, 3];
    let taskA = tokio::spawn(async {
        println!("Here's a vec: {:?}", v);
    });
    let taskB = tokio::spawn(async {
        println!("Here's a vec: {:?}", v);
    });
    tokio::join!(taskA, taskB);
But that immediately gets you in hot water because "async block may outlive the current function, but it borrows `v`, which is owned by the current function"

Now, you and I can clearly see that the async block does not, in fact, outlive the current function. However, AFAIK, there's no real way to convince rust that that is the case.

So now even though `v` is immutable, making this a thread safe operation, we need to introduce unnecessary concurrency constructs or break out unsafe in order to force the language to recognize that "Yes, you can trust me".

For rust to actually be fast with concurrent operations, it needs to be smarter about lifetimes in terms of async.

comment 2d ago · link · parent

> People want to raise families in detached single family homes with parking spaces.

Certainly people want a 5 bedroom home on a 1 acre plot. That, however, is not something almost anyone can afford at this moment. Right now people are struggling to afford studio apartments. Where I'm at, a 1 bedroom apartment goes for around $1600.

What enables people to get that nice home in the suburbs is cheap apartments. You simply can't build enough single family homes to drive the price down.

> Automakers respond to customer’s preferences, not the other way around.

Automakers respond to profitability. Trucks and SUVs have a higher profit margin than sedans. And while they do sell better, not that much better. If you look at a breakdown of best selling vehicles, smaller ones make a pretty strong appearance. What has destroyed the legacy manufacturer's sedan market is the fact that they couldn't compete with the likes of Toyota or Tesla. The mustang wasn't a more popular car than the ford focus, but it has much higher margins so it's still around.

This is, also, what ended up killing the F-150 lightning. They couldn't produce them fast enough, but the margins were busted and didn't improve, so they killed that line.

comment 2d ago · link · parent

> Any effective bill to reduce fossil fuel consumption in a a relevant timeframe will need to cause fossil fuel prices to go much higher

Arguably if the bill is effective then it will end up doing the opposite and end up causing fossil fuel prices to tumble (because fewer entities are consuming them).

It's also possible to use the revenue from taxes/fines to help fund social programs which decrease the costs. Even something as simple as a fossil fuel rebate check would go a long way towards buying good will.

For examples of what could be done which would reduce fossil fuel consumption without negatively impacting (most) people. Public transport funds for states. Building out amtrak and high speed rail (dedicated lines rather than shared lines). Heavy heavy taxes on private jets... or better yet simply outlaw them all together, everyone that flies should do it commercially.

> they want their houses in the suburbs

The majority of people want affordable housing. That means cheap apartments ideally within walking distance of their work.

> their big cars

There's not much of an option in the american market, cheaper sedans have a place but fewer manufacturers are offering them. Making big cars more expensive and sedans/minivans/station wagons cheaper would shift market preferences. As of now, those vehicles are practically specialty vehicles and aren't significantly discounted over a monster truck or SUV.

> their electronics

Consumer electronics are not a major driver of climate change. Heating and cooling and transport still dominate in terms of what the average american is emitting.

> their out-of-season foods

This one might seem pretty surprising, but that's not actually a climate change driver. In terms of emissions, shipping by water (which is how most people get those out-of-season foods) emits relatively little CO2 for the amount of goods moved. The bigger issue is the semi-trucks moving the banana instead of the boat moving the banana. Boats are more efficient than trains and trains are freakishly efficient.

> and their cheap flights.

As I mentioned above, eliminating private jet flights would go a LONG way in cutting down flight emissions. Commercial flights are about twice as bad as a car driving the same distance. The way you make less people fly is by making trains better and cheaper. As of right now, trains are MUCH slower than even driving and as expensive or more expensive than flying. In the US they are also plagued with delay because they share lines with private shipping companies.

comment 2d ago · link · parent

> This just screams "we want to censor the views that X stopped censoring"

I tend to agree. It's further a bit insane that "businesses" are getting a say in the governance at all.

> We need less censorship / "moderation", not more

Yeah, the main thing we actually need is the elimination of bots and paid commenters. What makes HN nice is it's mostly devoid of bots. What makes twitter hell is the fact that it seems like 90% of the tweets come from bots.

comment 2d ago · link · parent

But only 4 republican flips are needed for legislation to get through. They could still send in climate change legislation which complies with but doesn't lock in a treaty.

It's also possible for dems to do a filibuster carve-out. They don't need to fully eliminate it, just in the cases where legislation aligns with their agenda and Trump seems on board (and Trump's influence isn't enough to flip 4 republicans).

There's also budget reconciliation which they can ram through climate change spending. Republicans have already paved the way to do that by just overruling when the parliamentarian says "that doesn't count".

comment 2d ago · link · parent

If congress is smart, every bill for the next 2 years they pass will be the "Donald Trump X act". For example "The Donald Trump clean air act".

Trump is not an ideologue and he is vain enough to sign bills simply because they have his name on them. Democrats can also praise him for being such a smart boy for signing it into law.

It's basically the Mamdami move with Trump.

comment 3d ago · link · parent

It's complicated. The Judicial depends heavily on the Executive branch to execute orders. They do have some ability to force things to happen, but not on their own. Their ability to execute depends entirely on the cooperation of other branches of the government and even private entities. For example, transferring all money out of your bank account requires the bank to cooperate. They generally will, though they might fight such an order if it's for a well connected individual.

If a judge issues a warrant for arrest, they depend on the cops to execute that order. Cops are managed by the city/state executives.

> John Marshall has made his decision, now let him enforce it.

comment 3d ago · link · parent

> arenas can be an even better fit for languages with good GCs than languages without a GC.

That's counterintuitive to me. I could see them being useful if you need off heap allocations, but on the heap it seems like they'd tend to be harmful rather than helpful. The only benefit they'd seem to have is forcing the colocation of memory. But they have the big downside of (likely) ending up promoting a bunch of memory into old gen.

comment 3d ago · link · parent

> and without the performance hit of malloc/free.

Arenas avoid most of the performance problems of malloc/free.

I think the bigger problem with arenas and manual management is memory lifetime is very hard to get right, particularly in the context of concurrent operations. It also cuts away algorithms you can do.

comment 3d ago · link · parent

This may blow your mind, but Democrats and Republicans have had the same government management philosophy since the 90s (arguably earlier). California in particular is VERY into Reagan style government where all government responsibilities are contracted out.

The explanation is really pretty simple, both parties govern in a liberal fashion. The Republican party has excised all it's progressive members and the democrat party is just starting to rebuild it's progressive caucus.

It's why my state, Idaho, has been adopting california policies (such as charter schools and school vouchers) even though it's a Republican state.

The main difference in philosophy is what programs get funded, not how they are implemented.

comment 3d ago · link · parent

> Nobody is in charge of anything for more than 2-3 years.

American ordinance LLC has been in charge of this site since 1998. They are uniquely responsible.

comment 3d ago · link · parent

It's not the stockpiling that's the problem, it's responsible storage of the stockpile that has ultimately caused this problem.

comment 3d ago · link · parent

0. Because it would have almost certainly cost them less than $60k [1] to implement proper monitoring.

Proper monitoring would have cost a temperature sensor, a graphana chart, and someone to do a 5 minute monthly check to make sure the sensor was accurate. It's something that happens for my frozen french fries.

[1] https://www.opensecrets.org/federal-lobbying/clients/us-ordn...

comment 3d ago · link · parent

Leaded gas was burned across the nation and had noticeable health effects. This will be concentrated at a single point. That's the big problem. It might not have national effects, but it will certainly have lasting local effects.

comment 3d ago · link · parent

What a mess. But this is exactly what's wrong with the US military.

This factory was built by the US government for WW2. It was operated by the government until the 60s where it was ultimately shut down. In 1998 it was later converted to a contractor operated facility and has been ever since.

We gave those companies so much money and they decided it was fine cutting corners and improperly handling the explosive ordinances under their care. We've literally given this company 4+ billion dollars, most of that in recent years with this year's spend being 270M https://www.usaspending.gov/recipient/1286c0e7-b6b5-8c72-290...

And for all that money dumped on them, what we've ended up with is the US government taking ownership of them mishandling large amounts of dangerous chemicals.

When someone talks about "waste, fraud, and abuse" This is it. This is what the $1.5T military budget is buying. Huge investments into an army of negligent private companies. No doubt they lobby well.

comment 3d ago · link · parent

> has always been sold with specific build instructions rather than just a bunch of random pieces

Surprisingly, no. My family owned this suitcase https://brickset.com/sets/790-1/Suitcase-blue which came with a random assortment of legos and no instructions.

You can still buy a similar product https://www.lego.com/en-us/product/creative-suitcase-10713 , though it does now include instructions, yet not dedicated to anything other than "You can build these things".

comment 3d ago · link · parent

My thoughts exactly. She's there because Nvidia is about to have some very bad news while she's in charge. Including her making some very unpopular decisions (Layoffs, benefits cuts, etc)

Once those all land, she'll be fired and I'd not be shocked if Jensen is brought back. And, of course, none of the changes she's made will be reversed. This sort of play has happened a bunch of times.

comment 4d ago · link · parent

That doesn't work with positive things. You don't think of 1 as being the process of adding one of something.

This is why trying to relate math to physical concrete things is folly. Math is inherently abstract. Clinging on to physical representations will ultimately end up limiting your ability to understand it.

Like, try and intuit imaginary numbers to physical things.

12345
209