skysight-inc/HackerNews huggingface dataset:
A recent analysis of 10,000 EV vehicles shows that they only lose about 1.8% capacity per year[0], so they are perfectly useable up to 150-200k, which is the same general useful lifespan of ICE vehicles. [1] EVs and Plug-in Hybrids cost less to maintain than ICE vehicles. [2] Over 200k miles, ICE vehicles are about double the maintenance cost of EVs or Plug-in hybrids, and EVs are slightly more than Plug-in hybrids.

-At 50k miles; EVs $600, Plug-in $1,050, ICE $1,400.

-100k miles; EVs $2,000, Plug-ins $2,600, ICE $4,400.

-200k miles; EVs $6,300, Plug-ins $5,900, ICE $12,300.

EVs use about 30kWh to go 100 miles [3] and at the US national average for electricity [4], that would be about $ 9,978 to drive 200k miles. ICE vehicles vary, but 35 mpg combined is pretty average for compact cars. At the US national average for gasoline [5], that is $ 17,548 to drive 200k miles. Plug-in hybrids use about 29kWh to go 100 miles and about 48 mpg. Just assuming 50/50 driving on gas or electric, that’s about $11,220 to drive 200k miles.

So maintenance and fuel cost over 200k miles would be roughly:

-EVs $18,852

-Plug-in Hybrids $17,120

-ICE $29,848

[0] https://thedriven.io/2024/09/19/new-study-finds-vast-majorit...

[1] https://www.caranddriver.com/research/a32758625/how-many-mil...

[2] https://arstechnica.com/cars/2020/10/owning-an-electric-car-...

[3] https://www.perchenergy.com/energy-calculators/electric-car-...

[4] https://www.energybot.com/electricity-rates/

[5] https://gasprices.aaa.com/
Seems more likely that your vacations and fridge contents aren't as novel as you hope.
The problem with DRY is that it is expressed incorrectly and misleadingly. There is little inherent benefit in avoiding code duplication, and it can do harm when done for the wrong reasons. The actual context is change management. Will the copy of the code likely have to change in the same way as the original? Only then should duplication be avoided. The rule taken literally fails to convey this important precondition and the reasoning behind it. (And so does WET.)
Why would you say that when we have NATO?
Old problem: AR-15 behind door.
New (old) problem: 18 pounder loaded with grapeshot behind the door.

I'd take the AR.
A) incredible article, one of the few where I didn’t feel compelled to give up and find the underlying paper. Well written, beautiful diagrams, appreciably concise. Thanks for posting!

B) The image of ~starlings hanging out with dinosaurs blew my mind. Talk about an odd juxtaposition! But I’m no dinosaur nerd, and haven’t seen the new generation of shows.

C) I just have to nitpick this to defend my buddies:

Modern birds have some of the most advanced cognitive capabilities in the animal kingdom, comparable only with mammals.

Maybe true for vertebrates, but octopuses deserve a spot on that list!
I thought maybe it was related to Gabriel Syme. Like how similarly sounding letters are changed to make words look more kool.
I'd recommend that if you receive threats of a swatting, whether you're a content creator or not, it's a good idea to talk to your local police department about it the moment it happens.

Unfortunately, I speak from experience. I received a credible threat, called my local PD, and they began to investigate immediately. They also put notes in their dispatch system (which is shared by the local SWAT team) indicating that this had happened before, and to proceed with extreme caution.

The "swatter" never did follow through on the first attempt, but did follow through about 6 months later. I didn't get any threats from the swatter that time, but did get a call from my local PD while I was at work, and they let me know they'd driven by my place and called it off after being confident it was a false alarm.

Anticipating questions: no, there's no sort of protocol I setup with the PD. They have to investigate every threat, and even if we setup some sort of "shared secret" ahead of time, if a swatter says I'm cutting up my family in the basement, the PD can't know with certainty that I'm not. About the best I can do is make sure to answer the door when/if the PD shows up so they can more quickly establish things are safe.

Also: the attackers were after some OG Twitter accounts I used to use, and they thought they could intimidate me into giving the accounts to them.
It's possible, just like many countries have jumped straight to mobile phone and avoided wired infrastructure.

In any case, that's the result of continuous improvement and progress and my point was that we cannot get there by just shaming countries that are making that incremental progress right now.
The domestic manufacturing component is helpful to many of the people in the "Battery belt" and in auto manufacturing!
LLMs are probably better than you at tasks you're not good at. There's a huge gulf between a domain expert and an LLM though. If there weren't, all the humans in companies would be fired right now and replaced. Similarly, OpenAI and Anthropic are paying engineers a metric fuckton of money to work there. If LLMs were that big of a game changer right, they wouldn't be paying that much. Or if you make the argument that only the best humans are getting hired, they're still hiring interns & junior engineers. If that were the case those would be being replaced by LLMs and they're not.

You're basically ignoring all the experts saying "LLMs suck at all these things that even beginning domain experts don't suck at" to generate your claim & then ignoring all evidence to the contrary.

And you're ignoring the ways in which LLMs fall on their face to be creative that aren't language-based. Creative problem solving in ways they haven't been trained on is out of their domain while fully squarely in the domain of human intelligence.

> You can claim that that's not intelligence until the cows come home, but any person able to do that would be considered a savant

Computers can do arithmetic really quickly but that's not intelligence but a person computing that quickly is considered a savant. You've built up an erroneous dichotomy in your head.
All true, and there is still a viable used car market. Even cars that may require a bit more maintenance are a win by a large margin. Some things are just expensive. Ever price out a replacement 8" entertainment console in a vehicle? Probably ~$2,500 and up. Replacement LED headlights? Over $1,000. (Third party is your friend there). Regular maintenance like water pumps, brakes, serpentine belts are economical by comparison.
I’m conflicted about buying Kia again. I’ve got a recent model Sorento and the dealer where I have to take it is dogshit. I say I have to, because the next dealer is a $50 bridge toll and 2-hour drive away.

I’ve been charged for things that should be under warranty. They refused to do a permanent fix for a recall after they did a temporary fix. Dealing with corporate is an exercise in being gaslit and living in a Kafkaesque nightmare.

Kia and possibly Hyundai are in purgatory right now: they’re innovating and making cars that no one else is. Their dealer network, however, can have some sleazy used car sales personalities and make for a terrible experience that can ruin your week.

Pick your poison.
I am the author.

> The first mistake the developer made, was that he wanted to create a different user experience between keyboard and mouse. Stick to what you get by default and design your components so they work for both usecases.

We have. The behaviour is mostly the same whether you're using the keyboard or a pointer (mouse/touch/pen). The only difference is that, for keyboard users, we want to turn off the animation and move the focus to the first link in the menu instead of focussing on the menu's parent <ul>.

The problem was that, as various devs have iterated on the menu over the years, it's broken the fallback behaviour. For my colleague on the funny multi-monitor set up, it should have fallen back to the keyboard no-animation behaviour with no real major difference to the UX, but instead it fell back to the no-JS experience.

So yes, generally don't try to be smart with accessibility, avoid ARIA attributes except where necessary, etc, but click events are the universal input event and work on any kind of input device and have perfect browser support. It's far better for accessibility using them instead of a mix of keydown and mousedown or pointerdown, and potentially missing other kinds of input events.

As I stated in another comment, if it was a scenario where there needs to be a major difference in behaviour between keyboard and pointers, then I would rather use separate keydown and pointerdown events.
In Borat voice... "Very nice".
Well, literally the "state" as in what is the knowledge that everybody shares. We usually call that by something closer to "minimum common denominator".

What people usually call "state of the art" is the best knowledge that is reasonably well known. That is out of scope. If you take a look on this one, it's full of stuff that we knew not to use on the 20th century. This is typical.
> Rome was sacked but recovered more than once

That's somewhat arguable. As far as we can tell the 410 AD sack was relatively organized and the violence was somewhat limited (by ancient standards at least..).

By 455 AD the population was almost 50% lower than it was before the first sack and the Vandal sack possibly also wasn't that brutal (no wholesale slaughter or destruction of buildings).

However the end of the 400s while the city still had a massive population by premodern standards (>100k) it was barely 10-20% of the population it had in ~100 AD and then it was almost entirely depopulated during the Gothic Wars and the plague. After that it didn't really recover until the modern era.

> what J. Ceaser did,

He wasn't exactly the first to do it and the precedent of leading an army into the city to overthrow the current government was well established by Caesar's day. Even Pompey himself basically used the threat marching his army into the city to force the senate to concede to his political goals.

Also it's not certain that the Rubicon thing was contemporary (of course legions couldn't technically cross the pomerium/sacred boundary of the city itself without disbanding and Caesar had no legal authority/imperium outside of his province to begin with).
I remember vectors in 3D graphics but I don’t recall them in EE 101. maybe I blotted it out.
So you know you are going to invent something totally novel before you invent it?

You either don't understand what 'novel' or 'patentable' means.
Makes sense. I agree on the ORM. I actively don't use Eloquent when I use Laravel. It's fine for simple actions but I find it can get in the way as the project grows more complex. Thanks for sharing.
XML signatures: a bad idea with worse execution
Maybe check Wikipedia? Because it refutes you in the first sentence on the articles for "radio", "photon", and "light". You're just being pedantic about word definitions to play games with people.
man, this ruins everything.
In aviation? Literally everyone. Context clues should make it obvious.
Yes, and Sweden should claim Rossiya since it was founded by vikings from Roslagen.
Where you say AWS, you mean "a single AWS region"

But anyway, from your YCombinator blurb:

"When you’re done editing data, it automatically flows back to S3 within a few minutes"

Does this mean Regatta trades consistency for cost (S3 and EBS and local storage are all CP systems these days)?
Let's step back.

1. The vast majority of people never come up with a truly new idea. those that do are considered exceptional and their names go down in history books.

2. Most 'new ideas' are rehashes of old ones.

3. If you set the temperature up on an LLM, it will absolutely come up with new ideas. Expecting an LLM to make a scientific discover a la einstein is ... a bit much, don't you think [1]? When it comes to 'everyday' creativity, such as short poems, songs, recipes, vacation itineraries, etc. ChatGPT is more capable than the vast majority of people. Literally, ask ChatGPT to write you a song about _____, and it will come up with something creative. Ask it for a recipe with ridiculous ingredients and see what it does. It'll make things you've never seen before, generate an image for you and even come up with a neologism if you ask it too. It's insanely creative.

[1] Although I have walked chatgpt through various theoretical physics scenarios and it will create new math for you.
GDP is a kind of screwed up measure because the buying power of the dollar in the US is so much worse than most other countries. Case in point you can find a little san jose neighborhood where the gdp is an order of magnitude higher than a little mexico city neighborhood with more or less the exact same sorts of homes on the same sort of street. Now you might argue the sj homes are that much more valuable because of what they offer beyond the home via location proximity to opportunities, but its not like everyone benefits from such things or even that these opportunities are equally available to everyone. Yet everyone shoulders the costs of others success and position.
Those are called Vans.
Don't need to bribe them, the free market takes care of that.

There are reports that much of the tritium in Russian nukes has been stolen and sold on the black market. When you have a culture that is basically a kleptocracy, few internal controls, and tritium prices of $30K/gram, it doesn't take a genius to figure out where the incentives lie.
The literal title is "If the crisis or the war comes". Swedes and the Swedish language has a somewhat poetic tendency to refer to things in definite article, embodying them, when wanting to underline the seriousness.
Likely the issue is how you are asking the model to process things. The primary limitation is the amount of information (or really attention) they can keep in flight at any given moment.

This generally means for a task like you are doing, you need to have sign posts in the data like minute markers or something that it can process serially.

This means there are operations that are VERY HARD for the model like ranking/sorting. This requires the model to attend to everything to find the next biggest item, etc. It is very hard for the models currrently.
Designs, manufactures and sells all in the US. For all intensive purpose, the Japanese exert a rather small influence on the day to day operations
Yup - I recognize this problem. I am a motorcyclist and I frequently have to grit my teeth and misidentify scooters as motorcycles if I want to get past captcha.

For non-bikers, a scooter has an automated gearbox and small wheels etc. Think vespa.

In the UK at least they are generally a different category of license, although that's because of the size of a standard scooter engine.
Please tell me I’m not the only one that sees the irony in AI relying on classic search.

Obviously LLMs are good at some semantic understanding of the prompt context and are useful, but the irony is hilarious
The US is subsiding a lot of industries. Aviation, agriculture (specially agricultural exports), transportation and energy. They just introduced CHIPSA act to promote US companies chipa production and a lot more. When china does this (which is does) then this is far cry and outright harmful for international trade. Lets get out of comparison between US and China. Smaller countries will be hit hard (even with sanctions) if they try to do something from that.

The point here is that the US, China shouldn't try to prevent other countries from doing what they are doing and forcing them to harm their local economy and open markets under the disguise of free trade.
that's the first thing about politics that made me smile in months i think.
If you sell your house, would the new owner be able to sue you, then?
I'm surprised this is the case! I've been working on a rope implementation for my own project (needed to account for padding in unique situations) and even an off by one error usually causes the model to produce non-sensical output.
From what I understand through cursory Googling, trading in illegally-harvested timber is a federal crime in the United States [1], and it's a strict liability, meaning everyone in the chain is subject to penalty via law enforcement. I don't know if unknowingly receiving illegal timber without penalty gives you standing to sue.

[1]: https://en.wikipedia.org/wiki/Lacey_Act_of_1900
I'm waiting for an EREV midsize SUV. EREV sounds like the ideal layout as opposed to HEV and PHEV which sound mechanically over complicated with too many components that can go wrong. The new Dodge Ramcharger sounds amazing but I don't want a pickup and it's way outside of my price point.
Nice, I didn’t know stb had a rect packer: https://github.com/nothings/stb/blob/master/stb_rect_pack.h
Extended maintenance plans cover oil changes and normal scheduled service. They're separate from warranties and only cover some wear parts. Most manufacturers sell one. See: https://www.edmunds.com/car-buying/prepaid-maintenance-plans...

They're sometimes overpriced (due to dealer upsell) and sometimes a good way to estimate what the manufacturer estimates that routine maintenance will cost, at least using their in-house service center. They can run $1000 to several thousand dollars for luxury cars.
> until we solve unequal wealth distribution globally

Is this a joke?
At the end of the response they forget everything. They need to be fed the entire text for them to know anything about it the next time. That is not surpassing even feline intelligence.
What are the technicalities?
RTO Mandates: Hard Truths for Leaders [video]
> Then physicians would finish their education $1M in debt instead of $500K (or whatever) today. World that be an improvement?

Maybe the graduate medical education programs would have to compete on price as well as quality and reputation?
This is a low-effort comment. I cook a lot for my family and community and things get boring after a while. After using ChatGPT, my wife has really enjoyed the new dishes, and I've gotten excellent feedback at potlucks. Yes, the base idea of the dish (roast, rice dish, noodles, etc) are old, but the things it'll put inside and give you the right instructions for cooking are new. And that's what creativity is, right? Although, I have also asked it to give ideas for avant-garde cuisine and it has good ideas, but I have no skills to make those dishes
This is fascinating, because the naive English interpretation of the code and the comment on that WebKit bug don't match the actual structure of the code. Here's the relevant code:

const isInvokedByMouse = event => event.screenX > 0 || event.screenY > 0;
const isInvokedByKeyboard = event => isEnterKey(event) || isSpaceKey(event);

Ignoring the actual conditions entirely, this code seems to be trying to categorize the event into one of two categories: mouse or keyboard. But what it actually does is to categorize into one of four categories: (mouse and not keyboard), (keyboard and not mouse), (keyboard and mouse), and (neither keyboard nor mouse). And, as the original bug shows, (neither keyboard nor mouse) is handled inappropriately. One might wonder whether (keyboard and mouse) works well.

Either the code should be deliberate about the fact that (is it a keyboard) and (is it a mouse) are separate booleans, or the code should be structured so that the actual categories are mutually exclusive. For example:

const isInvokedByMouse = ...

and use !isInvokedByMouse to check for keyboardiness, or:

const eventSource = ... (returns "keyboard" or "mouse")

or, perhaps even better:

const eventSource = ... (returns "keyboard", "mouse", or "not sure")
This reminds of the corporate adage: "You can choose to invest in your people and run the risk that they leave, or you can choose not to invest in your people and run the risk that they stay".

It seems to me that the smartest people would be far more motivated to leave a country where they are unable to find other people like themselves to collaborate with.

And they'd be far more likely to come back in future and reinvest their overseas earnings in a country that they felt warmth towards than one that had forced them to play life in hard mode and was actively hostile towards them.
I could listen to logo designers talk all day long, you pick up some many nuggets of wisdom. I've watched pretty much everything Aaron Draplin has online that you can access for free.
I will wave my arms wildly if the claim is that LLM struggle with recall is similar to human-like struggle with recall. And since that's how we decide on truth, I win?
I put the odds at least 10% this century.
Are you referring to the South China Sea or Israel?
Well said! It certainly applies to web development as well. Sadly, sometimes more complex solutions are needed - especially when based on user research.
My understanding is that the principle is just the observation that our existence implies that a certain chain of events occurred in the past. That isn't the same thing as saying that the chain of events necessarily had to occur.
I didn't get the sudden leap from "position encodings" to "QKV" magic.

What is the connection between the two? Where does "Q" come from? What are "K" and "V"? (I know they stand for "Query", "Key", "Value"; but what do they have to do with position embeddings?)
Yes, that's correct re: Region -- thanks for the clarification.

In some sense, yes. But, the consistency that you're trading is only for accessing data simultaneously through the file interface and the S3 interface simultaneously. The consistent is CP/strong when you access the data through the file interface. The model that we see most often work is folks will ingest data through S3 (for example, an 'input/' prefix), and then the file system will process that data and place it in a different directory (for example, an 'output/' folder). Then, if it takes a minute or two for those to update on the other side, it's not a big deal.
Really cool! I particularly liked your Python and SQLite demos. I find it interesting that you started with a through-the-web (TTW) editing loop, calling it a quine. While valid, the key weakness is persistance: TidlyWiki does basically the same thing, but saving your work is a headache because basically you need another headless server process to persist anything.

Personally, when wanting to do something similar[0], started with persistance, and of course this means files. Plain text files I can edit with my programmer's editor store and distribute using the file-system. This avoids the problem of having to recapitulate a programmers editor in the browser, which is non-trivial. In turn you have the problem of writing a fast server, but that is a rather fun problem to solve [1]. You side-stepped the problem by using basic content-editable sections, but it is a huge problem, second only to persistence.

One thing I see you face which I also faced is the fact you cannot export things from inside embedded scripts! This would be a nice feature to avoid mangling the global window object. (It would also, in my use case, make code generation easier.)

0 - Literate Markdown: https://simpatico.io/lit.md

1 - Reflector, what I call the small node server that transforms, zips and caches your markdown, with a filewatcher invalidator: https://simpatico.io/reflector
No, it is complementary. For example, the quicksort algorithm/function you are indirectly using is available in just at another level of abstraction. Clearly we are far from writing algorithms using a "what" approach. It can even be impossible but I wrote about this concept because we have a codebase of algorithms and higher level frameworks that enable us to focus on the "what". I can never imagine a working paradigm like this decades ago.
How is ‘the Russians’ considered ideology? Also look a sibling comment making qualitative claims of 80% Russians are X.