skysight-inc/HackerNews huggingface dataset:
It's not just Tesla. Their are enough > 10 year old EV's of multiple brands on the road to get statistics. And the only EV that regularly requires battery replacement is the Nissan Leaf, which doesn't have battery thermal management. Every EV with battery thermal management is seeing a significant majority of their batteries outlast their cars.

And if you're worried about battery life, buy a car with a LiFePo4 battery. Those batteries last 3x as long as batteries with a nickel chemistry. So instead of 200,000 miles you get 600,000 miles.
Obvious is and will be what the code does, not obvious is and will be why the code does it. I hate when people write comments explaining what the code does, I can just read the code and I will know. Why write it twice and open the possibility for inconsistencies? Is the comment wrong - forgotten to be updated maybe - as the code does something different then the comment says or does the code have a bug and it should actually do what the comment says? Also if your code can not be easily understood, then improve the code instead of trying to explain it in comments. Good reasons for comments explaining what the code does are few and far between. On the other hand I want people to comment why they do what they do and why they do it the way they do it, that are things that are hard or impossible to infer from the code. Unfortunately, at least in my experience, people tend to write way to many what and way to few why comments.
> Because gangs historically and worldwide occasionally tried. This fails all the time.

It succeeds plenty. The list of successful coups by paramilitary groups is loooooong.

Hell, the Nazis started essentially as a gang.
it's funny that this statement is brought forward as a problem in trying to assert awareness to closed thinking but the reason that this statement is a "problem" is carefully constructed to avoid any social, political or cultural dialog around discussing the "problem" in a closed mind fashion

research and documentation should strive to be the most convenient forms to be accessed and read by others; shifting to outdated romantic languages that tie gender to objects or to region-specialized character heavy ineffecient languages that already rely on english loan words to convey modern ideas doesn't seem like the answer either right? maybe some critique on how outdated other common languages are compared to emerging cultural concepts would provide a better point to how language should evolve instead of becoming frankensteined as a point of cultural prestige?

im down for switching to hangul if it were noted that e.g. conveying ideas and topics we commonly see in scientific research were able to be easier processed and understood, but that's not what the subtle "english bad" tone is trying to convey here
Trends in Africa that founders should know
Rust is also poison for the mind. Sweet, sweet poison.

I’m currently back to Python and losing my mind about doing error handling, as well as enforcing correct usage of my library API on the call site. Doing these things well (best?) in Rust is baked into that language’s DNA (Result, Option, newtype pattern, type state pattern, …). It’s painful to go without once you’ve seen the light.
Heh, python is stock now on the EL distros since dnf became the package manager. Kinda insane for the base of your os but, hey runs on servers wo who cares.
It's likely that enough infrastructure had changed that the script would not run successfully anyway. On the other hand it would have been excellent documentation about the system at a certain point in time.

I say excellent, not because I assume it would have been well written, but because when it comes to these things I prefer code (any form of code, indeed) that I can be reasonably sure worked at some time over natural language documentation any time.

I completely agree with Dr. House when he says he never asks the patient, because they lie all the time. Same with human written documentation.
And of course anyone using a model improved by this is entirely unworried by these clauses if their improved model takes off hard.
One of the open source vector DBs is probably your best bet. Chroma, weaviate, Qdrant and a few others
It's honestly hard to pull into a highway charging station and spend less than 10 minutes there, after 2.5 to 3 hours of driving. I've noticed that Tesla's Navigation seems to be optimizing for 10-15 minute stops, and I'm never finished in the rest stop by the time the car says it's ready to continue.
Got exposed to lot of natural gas over a 3 month period. (Long story) Eventually figured out that my blood begin clotting like crazy. I have factor 5, so I was predisposed to it, but I was having 2-3 TIAs a week for a couple of years. Huge cognitive decline.

Only when a large clot showed up in lungs did they figure out what was going on.

Week after being on blood thinners and simple programming problems that were taking me weeks to solve were back down to minutes.
It's pretty straightforward. Their VM maintains its own notion of a callstack instead of using the native callstack. That lets them iterate over it and find all of the parameters and locals on the VM's callstack and use them as roots.

There is a performance cost for a VM having its own virtual callstacks like this, but it makes GC tracing much simpler. (It also makes implementing interesting concurrency and control flow primitives like coroutines or continuations much easier too.)
> In 2008, I formed a hypothesis that everyone has something to teach you, so the more connected you are, the more you should be able to learn.

> By the middle of 2017, despite a string of successes in my life, I felt continually depressed.

> I had learned what it meant to be hyperconnected: always knowing too much about the thoughts and feelings of too many people. It meant terrible mental health.

> What happened to me has happened to hundreds of millions of others.

Not persuasive. News junkie inhales beheading videos and feels sad. What humans did this person connect to and learn from? "I'm depressed. It's gotta be twitter's fault"
I can't agree with you. Learning new languages improves your thinking with new grammar, new vocabulary, new culture, etc. And the people from non-english countries usually speak more than 2 languages because once you start to learn new languages it’s easier to get proficiency, specially on reading.

I consider an advantage for me not to be from a monolingual country, even if I have a hard time following some speakers because my English isn't native.
A judgment of fair payment is up to the employee and the employer not the nation as a whole.

Previously, farm workers believed it was fair to work 70 hours with no overtime compensation. Now the employer is prohibited from doing that pushing the required compensation above what he believed to be fair. Price fixing labor does not work.

Harvesting is a job that should be paid by produce harvested or job completion instead of hourly. But, that is illegal as well. If we keep making low rung jobs illegal there is no ladder for people to climb.
Given the almost exponential growth curve of EVs at this point, wouldn't almost every weekend be a new busiest day ever (maybe with holiday spikes keeping the title for a few months at a time)?
If anyone has reason to believe that TSMC is gaming the US visa system, or even suspect it, they should probably give the United States a heads up.

https://www.uscis.gov/scams-fraud-and-misconduct/report-frau...

* The H-1B worker is not or will not be paid the wage certified on the Labor Condition Application (LCA).

* There is a wage disparity between H-1B workers and other workers performing the same or similar duties, particularly to the detriment of U.S. workers.

* The H-1B worker is not performing the duties specified in the H-1B petition, including when the duties are at a higher level than the position description.

* The H-1B worker has less experience than U.S. workers in similar positions in the same company.

* The H-1B worker is not working in the intended location as certified on the LCA.
But these companies don't have a legal monopoly on force. It's in my best interest, if I have to deal with both these problems, to keep them separated.
Great case for an Oxford comma here
Not really? Unless you specifically work in an international setting, you'll be just fine not speaking English. Also, learning another language isn't really a "tax" as much as it is something cool and fun to do as a kid that opens your mind to other ways of expressing yourself. Also you learn a lot about your own native language in the process. In that way, I find people in English-first countries that never learned another language (more common in the US than the UK or Canada) are in some ways at a disadvantage.
How is that unsubstantive? I am assuming you are Russian invasion sympathizer?
The 2013 Nissan Leaf had a range of ~75 miles when it was brand new. 33% degredation is nothing to write off but like my sibling says, leaf has always been a lemon of an EV.
I used to advertise my outdoor plug on Plugshare (it should still be there, AFAIK). The only time it's ever been used is by my neighbors before they got their own EVSE installed, and my in-laws when they visit. No random stranger has ever used it.
The hash, in this case, is just one deterministic way to shorten the CPU counter to few bits which can then be used to increase the entropy of the timestamp by replacing the timestamps stale bits. What's being asked here is not why use some compressed bits of the CPU counter increases the entropy of the timestamp overall. Rather, why you'd use a hash of the entropy providing information to do this since hashes allow for many:1 mappings (i.e. allow for decreases in entropy) while never providing better than 1:1 mappings (i.e. preserving entropy). At best, the hash is preserving the entropy of the timestamp and counter bits and, at worst, it is throwing some away. The question that follows: is there a better way that preserves the entropy of the inputs without the risk of throwing some away and, if so, was there some other reason to still use the hash? This is what I took amelius to be asking.

Knowing the timestamp delta is ~30ns then even a 1 THz processor would only execute 30,000 cycles before said timestamp increases and the outcome stays unique anyways. From that perspective, taking the low 16 bits of the cycle counter is already guaranteed to help produce perfectly unique timestamps, and without the risk of introducing hash collisions. It's also significantly easier to compute and now monotonic* now, whereas hashes were neither. From that perspective, I too don't see what value the hash is supposed to add to the information being fed to it in this case.

In threaded/distributed/parallel scenarios you may wish to throw the lane/core/node number in the bits as well. In the case having the same timestamp is supposed to be invalid this leaves you a simple deterministic way to tiebreak the situation as part of the creation of the timestamp itself.

*A 10 GHz CPU running for a little over 58 years could risk a 64 bit counter rollover in the middle of a time delta. If that's too close for comfort or you want the code to work on e.g. 32 bit counter systems, you'd need to eat more cycles and registers to set another bit to the outcome of whether current cycle count is < the one at the start of the current timestamp delta.
The plumbers made better life choices :-)

The grad students and postdocs are sacrificed... for science!
Ah yeah I forgot Dreamweaver does give you access to the code, in that regard it's similar. But, speaking as a user of Primo (and echoing what I've heard from a lot of other users), I haven't found anything that rides the line between no-code and code quite like this (especially open-source).

Yes Primo offers visual content editing and page building, because that's the only way to make a page flexibly editable by a non-technical user. Abstraction is only a negative thing when it stands in the way of what you want to do. Page building abstracts copy-pasting code. Visual content editing abstracts writing editorial content in HTML. Styling & building is the one thing that's left up to code because it has so many more possibilities than laying out blocks or writing content. So in the sense of building, Primo is the opposite to visual site builders like Webflow, Squarespace, Wix, etc.

I think that's why a new site builder pops up every other day - because they're all attacking the problem from different ends of the spectrum. Some give you more control, but are more complex/professional (like Webflow), while others are easier to use but offer less control (like Squarespace), and others are tailored to particular industries.
And yet, 40 hours at $30 power hour is not enough to live on.
Failure is sufficient but not necessary for learning. I don't understand the recent "learning sadism" memes.

We're social. We like to mimic one another. Boom - learning!

If I were Elon Musk's last living colonist on Mars and I lost contact with Earth, I'd likely have reference materials to watch or read - learning!
Have you tried FlatBuffers? And if you did, did it perform worse than JSON? The idea of deserialize-on-read is tempting to me, but I'd like to see real-world cases of it working out.
I'm guessing iPhone was designed to be used in airconditioned malls and office towers.
Like how the only people you see outside in Kuwait are migrant workers.

When I'm sitting on my South facing apartment balcony I can't use my phone which is annoying.
I feel you. Already quite some years into the age of DSL I was hospitalized. I needed to stay there for a couple of weeks and had my parents bring my laptop. There was no WiFi or anything. Then I that my laptop had a dial-up socket and also say the telephone on my night table. I introduced the two and managed to get online for the rest of my stay. I used it sparsely because I knew it would cost money.

When fired from the hospital my mother was very happy I survived everything but she looked also very angry. I was very confused. Only found out later that the phone line was really at a premium and racked up, converted, a 2000 euro bill.
Lab rats, I guess
Yeah similar to how each summer is the "hottest summer on record" :/
it gets well over 95 degrees in socal often. today even.
> We have done it at my work to make it cloud agnostic just in case we need to go to another CSP

Have you actually tested migrating Cloud Providers with your cloud-agnostic infrastructure?
Automated border defenses, both lethal and nonlethal. Weapons that are technically not lethal, but make the victim wish they were (bonus points if the weapon doesn't leave any external marks on the victim, to prevent media backlash). Weapons and procedures for destroying damns with minimal damage to your own country that lies downstream. Hypertargeted cloudseeding, to make sure it rains on your fields instead of your neighbors'.

So many new opportunities for psychopaths to earn lots and lots of money.
Yes, black holes are theorized to evaporate due to Hawking radiation [0].

[0] https://en.wikipedia.org/wiki/Hawking_radiation
There's time keeping (which uses the real time clock) and high resolution clocks, which are good for relative timers. They're never the same components.
Yea HashiCorp talks about it but also does not recommend it
First, 30/hour is the ceiling, not the floor.

But ok yeah 30/hour for 48 (soon 40) hours of work, but you have to live on the farm 7 days a week. Sooo… that’s 30 * 48 / (24 * 7) = 8.60/hour.

If the target is to have each worker do 70 hours/week, but you’re capped at 40 hours before overtime kicks in, that only brings your cost up by:

With overtime: 40 normal hours * $30 + 30 overtime hours * $45 = $2550

Without overtime: 70 normal hours * $30 = $2100

Difference is $450/worker, or a ~21% increase in cost. At most, since most workers aren’t getting $30/hour. So yeah, raise the price of asparagus by 21%, to reflect the actual cost of picking, or better yet have the owners take a 21% pay cut.
They had a pretty balanced take in the article.
Possibly for the database but authentication and file storage would still need to be taken care of
But in that case you'd be paying 1.5x more for asparagus.
Alternatively maybe being dual language means you're overall smarter.

It used to be seen as a cognitive drag mostly because language development is near inevitably delayed.

But by the time you're getting into your teens bilinguals pretty outperform monolinguals nearly everywhere.

The mistake people make is try and assess cognition in non-native language. But you can't do that because nearly all tests are standardised to the first language (and actually English usually).

No doubt being bilingual L1 English L2 Chinese is likely powerful and much better than being Swahili/Laotian in terms of opportunities
I think you might misunderstand me. The 2050 is a guesstimate and it's just my opinion on the matter. As far as planning ahead goes, you plan for 5-10 years when you try to figure out where to "iron" your enterprise IT. This is because that's how long your hardware will last if you go the route of renting rack space with your own hardware. I think we tend to plan for 8 years, with some space for "unintended" early failures on things like controllers after 4 years. So while you can contract big-cloud vendors for shorter, I think ours is on 3 year contracts right now, you still sort of do the business case for much longer. Maybe not every 3 years, but at least every 6 years.

You do the same on the other side of the table. Companies like Hetzner knows that EU cloud sollutions are likely to see growth, so it's only natural that they invest in the tech to put themselves in a prime position to jump on the opportunity. Selling a good product while you do so is the way I would do it personally, but you also have EU cloud initiatives backed by VC money going straight for the endgame.
I am definitely more productive on the 6 week cycle, the 2 week cycle was too much overhead and friction for me, however I do recognize that some individuals (who were more senior than me) were more productive after our org. transitioned to the 2 week cycle, although I suspect this was more a result of higher oversight/scrutiny in their day to day more than anything.

I tend to view the work that I do as more engineering than it is development, frequently having to pull out the paper and math it out, so I think the problems I tend to work on are just fundamentally more difficult to corral into 2 week estimation chunks, but that could just be ego talking. When I started making investigation/research its own estimate that helped a bit. I think it's harder to investigate, justify, and perform significant refactors (or rewrites) on the 2 week sprint cycle, but not every team needs to do that all the time.
proto3 messsage fields allow for detecting set vs. not set; other field types (repeated, map, int32, string, bool, enum, etc.) have this "default value if not set" issue. The canonical way of handling this is to use wrapper messages (because one can detect if the wrapper is not set), and there are "well-known" canned messages/protos one can import and use without writing their own: https://protobuf.dev/reference/protobuf/google.protobuf/

Whether the codegen/libraries for a particular language provides a more idiomatic binding for these well-known wrappers is up to the implementation - for example, golang libraries have conveniences added for well known libraries: https://pkg.go.dev/google.golang.org/protobuf/types/known. Rust libraries may have the same; I'm not as familiar with the ecosystem there.
English is behind Mandarin and Spanish in native speakers.
Also the bitly is definitely doing tracking
Solar panels on every outdoor surface would look great. You don't want people walking or driving on them so it would mean a lot more pavilions and shades over the otherwise terrible heat deserts of the world's parking lots. Asphalt is a net heat radiator making the world around every parking lot hotter. Solar panels would be a net heat reducer, and with them overhead on pavilions it would make the ground below much cooler and nicer. People might actually want to start walking to places again on the ground levels.

That sounds pretty far from a nightmare to me.
Like using a cheat code to buff one of your units in a video game.
I really dislike the idea that people don't perceive differences in things that they give the same name to. Specifically, "Having a certain linguistic category can make the difference between seeing something or missing it" seems distinctly wrong to me. It seems fair to say that caring about things leads to separate linguistic characteristics, but it doesn't make sense to me to say that using the same word implies that you don't distinguish things.

Easy example for me would be looking at an aquarium. I'm likely to just say it contains a variety of fish. Someone that cares and has studied fish could tell you the accepted names of each. We would both be perceiving different types of fish, though. Such that if you showed me a gold fish and a tiger fish, I'd like describe it as two fish. But if you asked me if each were the same, I'd say no.

Same as if you showed me any of the ridiculously large number of blue crayons in a modern crayola pack. They are all just blue to me. Are they the same blue? Obviously not.
I've never encountered range anxiety myself, or the people I know. I'd have to work pretty hard to get enough miles around town to deplete the 90% charge I start every day with. And on road trips the computer just tells me where I'm going to recharge and it always works. I have yet to wait. Granted, I don't live in California.
Ah crud, you're right. What'd really be interesting to see is the ratio between d/dt rdtsc and d/dt clock_monotonic.
I just drove from the US border to the yukon, and the amount of fast charging available in BC, even north of Prince George, shocked me! We took our diesel truck for other reasons, but we thought we could have done this trip in the model 3 with the CCS converter no problem.
Let me write all this down, great tips!

Add "blockchain-for-X" and you got yourself a new customer.
You don't want vendor lock-in. The vendor, however, has different incentives---why would they want to prevent lock-in to their service?
Like the United Farm Workers, founded by this guy named Cesar Chavez in 1962?
The CSS like IaC language idea was not what I was expecting. It seems ok, but I was hoping for something deeper. What I mean is that I have always felt like there is tension or a mismatch between IaC and the underlying services in a more general sense. I’ve used CDK, Pulumi, Terraform, and CloudFormation and you can argue the merits of each. But they all kind of suck in the sense that you are programming a machine that was not really designed to be programmed. Sure AWS and all the rest have APIs to call and IaC is a decent abstraction over those APIs, but imagine if instead they exposed some lower level interface designed to execute IaC programs natively. I feel like that is the ultimate path to IaC that feels like actual programming.
This is prior to March 2023, and ignores the annexation of the gas fields, as well as the additions Russia has added to it's constitution since the war began. Being from 2021, what relevance does that document have? Ukraine was not party to that, and had within its constitution a mandate to join NATO. Hundreds of thousands of casualties for what?
Here is a map of the gas fields -

https://s3.eu-central-1.amazonaws.com/euobs-media/30196762d9...

Please act in good faith.
I did wonder about the title. It can be added back by the OP, but unless you're being careful you probably wouldn't even notice.

It might make sense to flag for the poster that the title was modified, so they can change it back if appropriate.
This is a poor, tone deaf take. My English is better than yours, and I just so happen to be one of the people you casually insulted here.