MurphyA/hacker-news huggingface dataset:
by StratusBen | 2025-04-25 15:33:33+00:00
A few things.

The biggest is giving the LLM context. On Vantage we have a primitive called a "Cost Report" that you can think of as being a set of filters. So you can create a cost report for a particular environment (production vs staging) or by service (front-end service vs back-end service). When you ask questions to the LLM, it will take the context into account versus just looking at all of the raw usage in your account.

Most of our customers will create these filters, define reports, and organize them into folders and the LLM takes that context into account which can be helpful for asking questions.

Lastly, we support more providers beyond AWS so if you wanted to merge in other associated costs like Datadog, Temporal, Clickhouse, etc.
by trealira | 2025-04-25 15:33:55+00:00
It doesn't. That commenter is saying that in C99, it was unspecified behavior. Since C11 onward, it's been removed from the unspecified behavior annex and type punning is allowed, though it may generate a trap/non-value representation. It was never undefined behavior, which is different.

Edit: no, it's still in the unspecified behavior annex, that's my mistake. It's still not undefined, though.
by allemagne | 2025-04-25 15:33:56+00:00
It's not the initial mistake that tends to read as inhuman to me, it's the follow-up responses where the model doesn't seem to be able to understand or articulate the mistake it has made.

A human or an LLM accurately predicting a human conversation would probably say something like "ah I see, I did not read the riddle close enough. This is an altered version of the common riddle..." etc. Instead it really seems to flail around, confuse concepts, and appear to insist that it has correctly made some broader point unrelated to the actual text it's responding to.
by ndriscoll | 2025-04-25 15:34:16+00:00
That's the point: for almost everyone it's not a career. It's a hobby. Like some people have a career researching physics because they're extremely good at it and society has decided it makes sense to have a few. Then there's people like me who learn what they can of it in their free time, but I do something else as a career because realistically very few people have need of someone who's familiar with the Dirac equation or whatever. Among the general population I'm probably in the 99th percentile of math/physics knowledge/ability, but I don't do that for work because we don't need 1% of the population working on such things. And that's for a skill that causes most people to get anxiety; the demand mismatch is probably even greater for things that average people actually enjoy.
by ternaryoperator | 2025-04-25 15:34:41+00:00
They do not own the Open Source trademark. They tried to trademark "open source", but the USPTO denied the application. Since then, they've worked at convincing the public that OSS means anything with a license approved by the OSI. This too is not so. For example, SQLite, arguably the most successful OSS tool ever built, is not covered by an OSI license and doesn't intend to be.
by hedora | 2025-04-25 15:34:49+00:00
The $20K is after incentives, so it's actually $27,500. That still compares favorably to Ford's closest offering, the F-150 PRO, which is $54,999 (pre incentives):

https://www.fordpro.com/en-us/fleet-vehicles/f150-lightning/

The Ford comes standard with the same range as the upgraded Slate, though. The slate can tow 1000lbs, and hold 1,433 lbs, vs the Ford's standard 5000 / 2235, respectively (you can upgrade the range and towing capacity on the ford):

https://www.caranddriver.com/news/a64564869/2027-slate-truck...

Not including a bluetooth capable am/fm radio / speakerphone on a fleet vehicle seems dumb. This cut what, $100?

I can easily see Ford cutting $10K off the cost of the Pro. It looks like it has power windows, and it definitely has an infotainment system. Also, the two row cab adds lots of weight + cost and makes the bed smaller.

Anyway, competition is good. Hopefully slate will make something with an upgraded suspension / power train for $10K more, and maybe eventually a larger one with ford-compatible conversion mounts (for custom work trucks, etc.)
by mastax | 2025-04-25 15:35:26+00:00
In theory it's just an extension of IDE tooling. A CLI with a little query language wrapping libclang. In practice I'm sure it's a nightmare just to get 20,000 packages' build systems wrangled such that the right source files get indexed by libclang, and all the endless plumbing for downloading packages and reporting results, and on and on.
by ramesh31 | 2025-04-25 15:35:27+00:00
>"If this can’t compete head to head (no tariffs or other import restrictions) with BYD and the like, then I don’t know why one would get excited."

Would you prefer our roads flooded with cheap Chinese EVs that are the automotive equivalent of Shein hauls? Protectionism has its place in certain areas, and I would say building a thriving domestic EV industry that isn't beholden to a single weirdo is one of them.
by fishpen0 | 2025-04-25 15:35:28+00:00
Bench seats are almost certainly not coming back in modern low cost vehicles due to side impact safety regulations. They aren't _illegal_ but its extremely difficult to meet those standards with a bench configuration and ironically probably why a budget pickup is less likely to have them. Cutting those corners by not having a bench at all is an easy way to save money in the design.

The hauling and towing is another one. Unfortunately batteries are much heavier than a combustion engine and take away from the total capacity of the vehicle. It's curb weight is 500lbs more than the 1998 Ford Ranger. Same thing, budget vehicle means budget suspension, so its weight lowers the capacity instead of increasing the cost of the suspension.
by karmakaze | 2025-04-25 15:35:34+00:00
This reminds me of a small task I was given to log order execution price for a Retail Forex trading app. We were getting support calls for disputes on what the price was at the time the order was placed (send to the server).

Instead of doing the obvious thing (timestamp, buy/sell, currency-pair, price) I tried to mimic the order execution confirmation screen as closely as I could in ASCII. It was tricky though as this was a Java AWT app then updated to use many kinds JPanel subclasses and everything was custom painted. We did still have access to the info (if exposed). The funnest part was approximating line/column positions from pixel layouts--the reverse of going from sketch to app. It worked pretty well. When someone called, we asked them to open the log using a menu item and scroll back. When they got to the snapshot, they quickly stopped complaining.
by aaronbrethorst | 2025-04-25 15:35:48+00:00
it has a backup camera.

A mandatory part of today’s safety features is a digital rear-view camera. Typically, this view pops up on a modern car’s central infotainment screen, but the Slate doesn’t have one of those. It makes do with just a small display behind the steering wheel as a gauge cluster, which is where that rearview camera will feed.
by bluGill | 2025-04-25 15:36:44+00:00
Not that I'm aware of. NEXT however did release objective-C source code, but AFAIK that never went to court (anyone able to find those details - I can't find them now).

The text of the GPL is release source code. There are a few people who want release source code to be the only way out of any infringement. If a company intentionally violates the GPL that starts to look like a reasonable argument to courts. However if a company takes "enough" effort to not infringe and does anyway a smaller penalty would apply.

If you don't have a license and distributed software, then that is a copyright violation and the author is entitled to damages. Exactly what those are is something the court figures out. However one important piece of evidence is the license was release your source code. Thus lawyers want that additional cover of we knew and decided not to use GPL code, and there are the steps we took to ensure we didn't: since we took effort you shouldn't apply that extreme penalty.

I do know that good faith in other areas has made a difference. Companies have been caught bribing foreign officials before - which is a shut down the company level event (many countries have laws that if you bribe a government anywhere, not just in their country). However because the company could show they made good faith efforts to ensure everyone knew not to bribe this was just the act of a rouge employee.

How real is it? Hard to say. Good lawyers will tell you that putting in some effort to ensure you don't infringe is cheap protection even if the risk is low.
by BobaFloutist | 2025-04-25 15:37:10+00:00
What I like is that address box 2 (sometimes unlabelled, lives under the address box) exists specifically for unit numbers. So, I'll put in my street address in two lines:

Street Address :792 Charleston Avenue Street Address 2:555

At which point, almost invariably, it'll say "Do you want to accept the Post Office's recommended address?"

Street Address :792 Charleston Avenue 555 Street Address 2:

Why provide the second address box if even in the one case where it's relevant and appropriate to use it, you're going to just stick the unit number in the first line anyway? It's so silly!
by hansvm | 2025-04-25 15:37:11+00:00
The Honda Fit is great. You can probably squeeze an extra decade out if you're willing to swap out the motor or transmission (used, 100k miles or so, if you shop around $2k-$3k should be doable), and if you're using it heavily then you have the advantage that most cara on the market take less abuse, so you can maybe grab a decade beyond that by picking up somebody else's used Fit when you're done repairing yours.
by InitialBP | 2025-04-25 15:37:46+00:00
I think that you're looking at extremes exclusively when it comes to your assessment. I live in a "city" in WV and need my truck all the time to get to rural areas, but that doesn't mean that I don't have reasonable access to electricity. Furthermore delivery around my city really isn't affordable or available in a lot of cases.

That being said, I really wish we had a small ICE truck in the USA, or an equivalent to the s-10/ranger. Even the ford maverick is exceptionally tall and it doesn't come with a bed that is big enough to conveniently move building materials. The maverick bed is only 54" or 4.5ft and older model rangers and S10s can be had with up to a 6ft bed.

https://www.motor1.com/news/698055/toyota-13000-dollar-hilux...
by malwrar | 2025-04-25 15:38:02+00:00
> why should they have access to the marketplace

Because MS didn’t write most of the extensions yet engineered things conveniently such that you have to use their service to get them. Other text editors somehow manage to not lock people into similar dilemmas. They’re not profiting from running the marketplace or providing VS Code for free, it’s about locking people into a product. Cursor should be allowed access because interoperability is a societal net-benefit.

> those costs

…are likely minescule. I run similar services at my day job, just at a much larger scale than a text editor app marketplace, and know the precise cost to run everything. I am often disturbed that people might actually think cost:revenue is tight enough that they should defend a behemoth about callously gating access to it.
by docmechanic | 2025-04-25 15:38:02+00:00
'A 113-million-year-old hell ant that once lived in northeastern Brazil is now the oldest ant specimen known to science, finds a new report. The hell ant, which was preserved in limestone, is a member of Haidomyrmecinae -- an extinct subfamily that only lived during the Cretaceous period. These ants had highly specialized, scythe-like jaws that they likely used to pin or impale prey.'
by underseacables | 2025-04-25 15:38:04+00:00
This seems lite on facts. Even if I wanted to arrest a sitting judge, it would have to be an act of gross malfeasance to motivate me to even consider arrest. The only thing I can think of… Is, if the judge swore under oath, affidavit, or something like that, that she did not do something when in fact that she did. But even then…

If Patel does not come back with some thing on that level or better, then this was a horrible farce.
by Pompidou | 2025-04-25 15:38:21+00:00
J has revolutionized the way I think. I can confirm it: ever since I learned to program with it, I’ve been able to solve so many problems that previously felt far beyond my (limited) intellectual reach. For me, J (and by extension, the APL family more broadly) has contributed as much to my thinking as the methodologies I learned during my university studies in philosophy. Suffice it to say, it has profoundly and positively shaken me.
by nofriend | 2025-04-25 15:38:50+00:00
Null terminated strings make writing parsers really clean. The null byte becomes another character for you to check against in your parser code, so you don't need a separate check for the length (usually checks are inclusive: it is character 'a'? if not, defer to caller. so checking for null byte can happen in a single location, whereas checking for length would need to happen in every function). And it means you have lots of *ptr++ spread around your code, rather than having to pass around a struct and modify it, or call methods on it.
by thebruce87m | 2025-04-25 15:39:11+00:00
> It has a base range of 150 miles [0], which won't resolve range anxiety worries as the average American travels 42 miles a day [1]

What am I missing here? Charge at home and you’ll easily do those 42 miles every day surely?

Especially since your other point said these would be aimed at those outside of cities and those people will presumably have parking/charging at their home.
by jqpabc123 | 2025-04-25 15:39:18+00:00
I don’t understand why relations between America and China deteriorated so much.

China took a step back, looked at global trade and economics and designed a hybrid economic system to take advantage of it.

China's hybrid system is internally socialist but externally capitalist. A system where the overall focus is on the common good of the country to the detriment of the rest of the world.

Such as system eliminates a lot of inefficiency found in most capitalistic systems --- things like knowledge hording and in-fighting (aka "trade secrets", "copyright", "patents" and associated legal wrangling). As long as corruption is held in reasonable check, such a system offers a natural advantage.

The capitalist system in the USA is focused on individual companies. They made the mistake of believing their own rhetoric --- they never considered something like what China has done to even be possible. They just assumed China leadership would be driven by the same forces and play the trade game in the same way they do.

After several decades, the USA is just now starting to accept the fact that they have been proven wrong. And the response is the dumbest imaginable act of desperation --- a global trade war that attacks both allies and enemies.
by xelxebar | 2025-04-25 15:39:38+00:00
Indeed!

Another way of putting it is that, in practice, we want the ability to easily iterate and find that perfect DSL, don't you think?

IMHO, one big source of technical debt is code relying on some faulty semantics. Maybe initial abstractions baked into the codebase were just not quite right, or maybe the target problem changed under our feet, or maybe the interaction of several independent API boundaries turned out to be messy.

What I was trying to get at above is that APL is pretty great for iteratively refining our knowledge of the target domain and producing working code at the same time. It's just that APL works best when reifying that language down into short APL expressions instead of English words.
by pjc50 | 2025-04-25 15:39:52+00:00
The special case of PH here was that it was close to the ""uncensored"" platform people claim to want: they used to allow anyone to upload anything, so most of their material was a huge pirate archive. Of course if you're not checking uploads then some of them are going to be CSAM.

It's not unreasonable that if you're going to host nudity you have a positive legal and moral obligation to ensure that everyone depicted is a consenting adult who has consented to those images being shown on that site.
by spacemadness | 2025-04-25 15:40:03+00:00
I think a better title and focus might have been “If you have ADHD, don’t get stuck ruminating about your career.” That’s good advice for anybody, but people with ADHD often ruminate too much, so it’s a double edged sword of having behavioral traits that can cause issues in your career and a brain that won’t stop ruminating about potential outcomes or actual outcomes. It causes more harm than good. And part of that is beating yourself up because the way your brain works doesn’t match with how the working world is set up for people with “normal” brains. It’s a bias people aren’t aware of at all and often ends up in some form of punishment instead of accommodation or empathy. And that gets your brain spinning on the whys and what could have beens and self doubt, over and over at high speed.

Of course, if you’re getting fired over and over, it’d be helpful to seek treatment in the form of medication and/or therapy. Those are hopefully within your control. Untreated ADHD is living on hard mode.
by ryao | 2025-04-25 15:40:06+00:00
Distribution build systems typically operate outside of an IDE. I suspect that it would be a nightmare to get 20,000 packages to compile in an IDE.

It is possible in theory to write a compiler plugin to generate an error when code that does this is found and it would make it easy to find all of the instances in all packages by building with `make -k`, provided that the code is not hidden behind an unused package flag.
by tavioto | 2025-04-25 15:40:11+00:00
Good post Bruce. I’ve run into a lot of the same issues you described, especially working with last-mile and delivery companies where the addresses are a total mess. Things like “123 Main St, red gate, call 555-1234 when you arrive, Apt 4B” are very common, and even Google struggles when there’s too much extra info mixed into the address.

Because of that, I ended up building a tool called AddressHub that focuses mostly on cleaning up the input before sending it to geocoders. It tries to remove instructions, phone numbers, weird formatting, and fixes common spelling mistakes or street name variations. Then it sends the cleaned address through multiple geocoders, checks how close the results are to where they should be, and picks the best one.

It also caches results when possible (depending on the API terms) and tries open data first to save costs. Only if open data does not have a good result, it falls back to the paid geocoders.

This has helped a lot with reducing wrong deliveries caused by addresses that look fine at first glance but are actually way off. If anyone’s interested, the project is at www.address-hub.com. Always happy to get feedback if people have ideas for making it better.
by dudeinhawaii | 2025-04-25 15:40:18+00:00
Yes, I understand the basics. LLMs predict the next most probable tokens based on patterns in their training data and the prompt context. For the 'Marathon crater' example, the model doesn't have a concept of 'knowing' versus 'not knowing' in our sense. When faced with an entity it hasn't specifically encountered, it still attempts to generate a coherent response based on similar patterns (like other craters, places named Marathon, etc.).

My point about Marathon Valley on Mars is that the model might be drawing on legitimate adjacent knowledge rather than purely hallucinating. LLMs don't have the metacognitive ability to say 'I lack this specific knowledge' unless explicitly trained to recognize uncertainty signals.

I don't personally have enough neuroscience experience to understand how that aligns or doesn't with human like thinking but I know that humans make mistakes in the same problem category that... to an external observer.. are indistinguishable from "making shit up". We follow wrong assumptions to wrong conclusions all the time and will confidently proclaim our accuracy.

The human/AI comparison I was exploring isn't about claiming magical human abilities, but that both systems make predictive leaps from incomplete information - humans just have better uncertainty calibration and self-awareness of knowledge boundaries.

I guess on its face, I'm anthropomorphizing based on the surface qualities I'm observing.
by rgbrgb | 2025-04-25 15:40:19+00:00
Kind of a big light phone [0]. China has had these for a bit, I’d guess there’s a decent market for them, though hesitant to buy the first production model of any car, given how dependent we seem to be on warranties and market forces to ensure manufacturing quality and the poor survival rates for new car companies. Interested in v2 for sure.

[0]: https://www.thelightphone.com/
by snozolli | 2025-04-25 15:40:56+00:00
Skill atrophy doesn't lower labor costs in any significant way. Hiring fewer people does.

Devaluing people lowers it even more. Anything that can be used as a wedge to claim that you're worth less is an advantage to them. Even if your skills aren't atrophied, the fact that they can imply that it's happening will devalue you.

We're entering an era where knowledge is devalued. Groups with sufficient legal protection will be fine, like doctors and lawyers. Software engineers are screwed.
by danans | 2025-04-25 15:40:58+00:00
From the related Ars article[1]:

> Rather than relying on a built-in infotainment system, you'll use your phone plugged into a USB outlet or a dedicated tablet inside the cabin for your entertainment and navigation needs.

How is a "dedicated tablet" different than an infotainment system, other than not having vehicle telematics and controls? Also, a regular tablet UX would be dangerous while driving, and typically they don't have their own mobile data connections.

1. https://arstechnica.com/cars/2025/04/amazon-backed-startup-w...
by tayo42 | 2025-04-25 15:40:59+00:00
I'm living in a suburb but been thinking about a pick up

Some uses are, impulse Craigslist and local furniture purchases, outdoor sports equipment, home garden projects.

My sedan is trashed from ocean related stuff I'm always putting in it. I was in a rush the other day, accidently left something wet in the car all day and have a mildew smell now to deal with. Dumb stuff like that seems avoidable.
by whoknowsidont | 2025-04-25 15:41:08+00:00
Democratic states really need to start disallowing federal agents to operate within their borders and band together.

Activate their respective national guards and make it happen.

Yes, that means defying federal law. Yes that means exactly the consequences you want to draw from those actions.

There is no other option at this point. The law is dead in the U.S.
by geerlingguy | 2025-04-25 15:41:27+00:00
Watch some episodes of LOOK MUM NO COMPUTER for an example of the kind of tinkering/creativity some people at least love to have available in the physical realm: https://www.youtube.com/channel/UCafxR2HWJRmMfSdyZXvZMTw

A lot of the music is made just playing with different parts of the sound, and having all the controls exposed to be messed with can lead to more creativity.

IMO, kind of like how I enjoy Linux configuration files, in a way, more than I do a GUI that covers up 90% of the guts of an application or server software.
by mebezac | 2025-04-25 15:41:46+00:00
> Create a self-working card trick that relies on pre-setting the deck and doesn't require any slight of hand.

Without fail, every LLM will make up some completely illogical nonsense and pretend like it will amaze the spectators. You can even ask it really leading follow up questions and it will still give you something like:

- Put an Ace of Spades at position 20

- Have your spectator pick a random card and place it on top

- Take back the deck and count out 20 cards

- Amaze them by showing them that their card is at position 20