skysight-inc/HackerNews huggingface dataset:
Looks awesome! I've missed t9 typing ever since I got my first smart phone. I just bought your keyboard.

Question: When I try to type the word "a" (by pressing the ABC key then space) it defaults to "c". Will it relearn that I actually want to type "a" if I correct it enough? No idea why it's defaulting to "c".
You might be, but as the parent said, it’s not likely. I think that’s a fair statement, out of 100K engineers or whatever it is, I’d estimate less than 10K of them are writing primarily golang code.
Unions are cancer. This isn't the late 19th century anymore. Unions do very little but enrich themselves and exert political power.
A friend of mine who works for Google noted that they hardly use Go internally, and quipped, "Google invented Go to sabotage its competitors."
Ask HN: Why doesn't Tesla disable all features unless you pay them?
For cars already purchased, what is stopping Tesla from sending an OTA update to disable all functionality in the car beyond minimal NHTSA legally required features (brakes, lights, etc), then demanding $100/month from 'owners' to turn them back on?
> The Chinese EVs are very unsafe. Many many fires are happening with them, but you don't see it reported due to the journalistic repression there.

Wonder if it's just carelessness, or it's there is an inherent cost to make them safe. As in, did they just not bother because of laziness, or that extra safety to prevent fires takes up the 2x-3x price markup and there is simply no way around it.
I get that it's not a universally applicable solution. I guess at a certain point of scale your organisation would grow out of complete co-location.

But I don't think we have to go with the 100% co-location approach as well. A large monorepo could be organized into domain specific mini-monorepos with co-location benefits.
The most pervasive VR headset is that of money and abuse. You can tell Henrik also has that one firmly pulled down over his head when he mentions the cake story. The reason she could not eat cake is that the cake was violent. The reason Elon can do more is because he pays very hard working people fake money that he receives for free. Privilege is violence. Money is war.
Not every company hires software developers of course. But every type of business will when they get big enough. They may not call them developers but I bet you have some people doing business process automation that are basically developers.
Sounds like what you're looking for is the Qin F22 Pro[1]

It's got a cult following among dumbphone and dumb-er-phone enthusiasts (think Lightphone, Punkt, etc) and has personally tempted me, but I'm put off by it being a Xiaomi product and haven't been able to decide if that hardware is safe enough for me to consider using after a ROM swap.

[1] https://www.aliexpress.us/item/3256804386537909.html?gateway...
How much is the environmental cost of a new battery vs environmental cost of gasoline hold up?

Otherwise we are just shifting where the pollution is happening.
the only solution is more competition for Ninja.
Instead of CEOs, I think it would be more interesting to compare it to, say median wage, and the first decile.

We know that top CEOs make a lot of money, but it is not really relatable. But if you are a software engineer for instance, seeing how much faster your own clock ticks compared to minimum wage could be interesting. We probably all know some minimum wage, median and 1st decile workers personally. We are less familiar with top CEOs.
I typically need to fast charge ~5 times per year. I'm in Portland, and my father-in-law takes us to Oregon Ducks football games in Eugene 3-5 times per season, and it's about a 220 mile round trip. In the early season while it's still warm, I can do that round trip without charging with no problem. But in the later, colder season, running the heat drains the battery more and I have to charge on the way back. We'll also visit my wife's best friend in Seattle once or twice a year.

For daily driving...well...I work from home, so I could certainly get away with the 110 outlet. Though when I got my car, I had a commute 30 miles each way. I could have probably still gotten away with a 110, but I got a 220 anyways. I can completely charge overnight, and that's good enough.

But like...charging time for road trips is blown way out of proportion. I've driven from Portland to Santa Clara and back. I think people hit Google Maps, it tells them a drive is 10 hours, then they hit ABRP or their Tesla's nav, and it reports 12 hours, and they think "wtf driving an EV is adding 2 hours", but they ignore the fact that the Google Maps estimate doesn't include any stopping. No restrooms, food, or gas. I found that during the entire road trip, only ~20 minutes total was spent actually just standing around waiting for the car to charge.
I am in a similar boat. That thing is relatively fragile, with no options for cases/screen protectors.

I think the company is well on the way to going belly up. Too bad too, their devices all had promise, they just needed to have more iterations to get better. They were too small clearly to even produce a new iteration, they were all-in on new designs from the Gemini / Cosmo / Astro Slide and now on to ARM Linux computers.
I guess it depends on what you mean by a compromised client/ how it’s compromised. The auth flow is:

* mainsite.tld checks if user is unauthenticated/uses expired tokens. If so, redirect to Cognito UI hosted in a subdomain (auth.mainsite.tld) but managed by Cognito.

* Cognito UI prompts user for username/email and password. Potentially also MFA. Handles password reset. Eventually also handles signup.

* On successful sign in, Cognito redirects to my login endpoint with the access code in url params (login.mainsite.tld/?code=foo).

* My login endpoint extracts the access code, talks to Cognito again to confer it to tokens. Returns tokens via cookies in a response that redirects to my main site (mainsite.tld). (This is what prevents the user from accidentally sharing their access code in url params, manually copied out of their browser address bar, if I had instead done this in the browser).

* The main site now has working credentials; if the credentials go missing (because user cleared cookies) or expire (indicated in currently-unimplemented response when they interact with my authz/game server) they’ll be redirected back to the same Cognito UI.

I do not have control over how (url parameters) Cognito spits out the access code with this flow; still this flow is preferable to most others as at no point whatsoever am I responsible for managing user passwords, yet unlike a lot of new auth solutions that accomplish the same thing, users still actually have the option to sign in with passwords. What I do have control over is what redirects addresses are allowed out of Cognito, so afaict a compromised client (something bad that points to my login) can only redirect to my login endpoint which only redirects to my main site. There is no way to stop a compromised client (like a malicious browser and unsuspecting user) from doing bad things with the code or tokens but the same is true of anything entered into a browser ever, so that’s not a problem worth caring about.

But maybe I misunderstand (because I’m new to webdev too lol): what you’re suggesting in that last paragraph might be possible if I can reliably get the browser to hide the access code url param from the address bar/history. I just didn’t know how to do that from the browser without a redirect or reload. Even if that’s possible I’d still consider it a pretty glaring footgun, because while (hypothetically) possible it’s not necessarily obvious.
There are 2 conflicting goals: 1) Having a language in which it is easy to express and try out ideas and 2) Producing fast and safe programs.

A scripting language would seem to be good for the exploratory scientific research, because of that. Whereas when you need to create a performant library that can do heavy crunching with reproducible results on any platform you need the other. The questions is: Do you know what you want to implement, or is that still an open question?
Fibers were implemented by Microsoft in Win32 API in 1996:

https://devblogs.microsoft.com/oldnewthing/20191011-00/?p=10...

As the review Chen links discusses, it turns out that M:N threading (i.e. goroutines) and good C compatibility are mutually exclusive. Go went one way, every other language went the other way. The most common alternative is stackless coroutines, which are much more widely implemented than the Go model.
Some people think it's ok for employers to be mini-dictators. Most people, for example those who need to work for a living, do not.

But however you slice it, is is absolutely one-hundred percent a labor rights issue.
I do believe that inequality like these clocks demonstrate, heavily reflects inequity (a lack of fairness).

But the only people "harmed" by a CEO's high pay are the workers of the same company, since they are the one's with a "zero sum" split of the company's revenue. (I.e. the money split between all employees (as expenses) and shareholder profits).

Lack of fairness, to me, mostly starts with inequitable health, education at an early age, and parents in survival mode.

I don't think fixing the last is as easy as increasing minimum wage, given that adds even more incentives to replace workers with automation. But the planet has untapped resources, not there due to any human investment or effort, whose raw value would go a long way toward lifting many people out of poverty, if that value was shared. (And without taking anything from the value created by those who extract and transform those resources.)
Is it just me or does the article read a lot like disguised paid promotion? I have no problem with paid promotions at all, but rather would like to see a disclaimer then.
alex deutcher. google it.
It's not clear to me why the open letter authors are protected under the NRLB at all. They seemed to be criticizing the boss, which is not illegal, but not really a labor action either?
> It claims the NLRB’s proceedings, which involve a hearing in front of an NLRB administrative law judge (ALJ), violate SpaceX’s “constitutional right to trial by jury.” The company also accuses NLRB of violating the Constitution’s rules on the separation of powers, stating the agency’s structure “is miles away from the traditional understanding” of the concept.

This is the same argument going against the FTC, SEC, and several other regulatory agencies. If you get charged of a crime by a public prosecutor, you get the ability to argue the facts in front of a court of law. If you get charged of a crime by a regulatory agency - you don't even get to argue the facts.

I... might kinda side with SpaceX on this one? I am not trying to die on a corporate rights hill, and not that I think SpaceX is innocent of the charges, but it does seem like they should at least be able to argue the factualness of the crime they are being charged with? This does seem like something that should be done by the justice department.

Still, it's almost surely going to get thrown out. They are trying to turn a NLRB infraction into a Constitutional law case in a hail-Mary attempt that it would get escalated to the Supreme Court.
Personally their handling of versioning, generics and ESPECIALLY monotonic time (in all 3 cases, seemingly treating everyone raising concerns about the lack of a good solution as if they were cranks and/or saying fix it yourself) definitely soured me on Go and I would never choose it for a project or choose to work for a company that uses it as language #1 or language #2.

It just left a bad taste in my mouth to see the needs and expertise of actual customers ignored by the Go team that way since the people in charge happened to be deploying in environments (i.e. Google) where those problems weren't 'real' problems

Undeniable that people have built and shipped incredible software with it, though.
Nice article, and love a good pen. But I often struggle to find notebooks with consistently nice paper for fountain pens and fine nibs. Anyone got any recommendations?
Scrolling feels completely different with smooth scrolling setting on and off, when you use mouse wheel to scroll. I always keep it off.
The interpolation isn't really based on statistically occurring text. It's based on statistically occurring concepts. A single token can have many meanings depending on context and many tokens can represent a concept depending on context. A (good) LLM is capturing that.
When there is a cache hit, the accessed item is flipped to visited state (if necessary). No eviction takes place and so the Hand stays where it is.

The Hand moves when it has to scan over visited items in search of an unvisited item to evict, when there is a cache miss. The scanned items are flipped to unvisited.
Most professions, quietly, are currently like this. Architects and scientists and doctors and surgeons and lawyers all develop strong opinions about each other based on their positions.

For instance: ask a lawyer what they think about the overturning of Roe v Wade. Now ask them what they think about their colleagues who disagree. Don't forget to duck.

Which isn't to say that we wouldn't all be much better off with more distance between our opinions and our identities. But the thing you're looking for is a cultivated practice that is often not at odds with 'egotism' (what is that, precisely, anyway?) but _entailed by_ it: the not-wanting-to-be-the-kind-of-person-who-does-XYZ.

Not all vanities are risible.

What you're looking for is a long-cultivated, inward practice that can be supported or hindered by all the usual forces, local context (culture, practice, etc) chief among them.

Put another way: your claim isn't that most programmers are unprofessional. It's that they're _uncollegial_. And you're right. So are a lot of other contemporary professionals. It's a shouty era.
Multiple someones, in fact.

Why not? Someone makes a faster driver, another makes say a more power efficient one so the card is quieter. And yes it vould cost money. You could compete on this thing. Once upon a time there were competing commercial operation systems. Can't see why GPU drivers couldn't compete.
Polish Amazon Offers Deal So Good Their Servers Implode [video]
It's interesting that what they came up with is better than what's out there for other languages.

Yeah, you have the "v2" / forever v0 problem. But it's still better than what I need to deal with when using npm or (doing sign of the cross) anything with python.
Honestly, I've seen way more problems with global exception handlers, which often lead to incomprehensible end user messages.
Other than the fact that they spelled "throw" "panic", "catch" "recover", and "finally" "defer" how are go exceptions different than what you find in java?

I get that Go devs like to claim they are completely different because you are supposed to use them differently, but under the hood they are identical as far as I can tell.
Well I agree with you, there are definitely developers out there who are completely happy with a 9 to 5 punch card type job.
Your experience doesn’t invalidate the likeliness part of the parent comment.

You just happen to be in the subset / cluster / areas that write in golang. Probabilistically speaking across the entire Google engineering population both you and the teams around you are outliers. That doesn’t mean golang is insignificant.

As to whether golang was worth it I disagree with the parent, I think it was probably worth the resources invested, even if e.g. usage has leveled off internally, but at any rate this is a hard thing to measure so we’re all just opining.
Seems to be much faster now!
Supporting the entire phone is the entire point of Magsafe, what else would you even use it for?
Poor Charlie's Almanack: The Essential Wit and Wisdom of Charles T. Munger - https://news.ycombinator.com/item?id=38384587 - Nov 2023 (72 comments)

also:

Extended bus trips for enriching experiences - https://news.ycombinator.com/item?id=38820931 - Dec 2023 (1 comment)

Poor Charlie's Almanack - https://news.ycombinator.com/item?id=38802325 - Dec 2023 (1 comment)

Poor Charlie's Almanack: The Essential Wit and Wisdom of Charles T. Munger - https://news.ycombinator.com/item?id=38533208 - Dec 2023 (6 comments)

Poor Charlie’s Almanack - https://news.ycombinator.com/item?id=35830792 - May 2023 (1 comment)
This is so awesome and made me smile a lot! I have the physical book (expanded 3rd edition) but it's big and heavy. I could not take it with me when I relocated to another country with just 2 suitcases. But I miss it so much. In addition to the deep wit and wisdom the print quality is superior and very enjoyable. This website is the next best thing. Pdf of this book is a miserable torture.
The structure of that post is weird, in that it's quite difficult to figure out where are the parts which were done right and where are those done wrong.

Can someone tl;dr the done-wrong items?
Java has a culture of over-engineering, to the point where even a logging library contains a string interpolator capable of executing remote code. Go successfully jettisoned this culture, even if the language itself repeated many of the same old mistakes that Java originally did.
It's not actually clear that Musk was involved in this at all.

By all accounts, he has not really been present at the day-to-day operations of SpaceX in years. And the open letter was targeting the executive team, not Musk.
s/Yosemite/Yellowstone
At some point you have to accept that a 20 year old GPU(!) just isn't interesting for anything other than historical and nerd-sniping purposes.

That said, I'm sure you could pay Collabora or some shop like it to implement any features for these old drivers that you really care about.
https://news.ycombinator.com/item?id=38804135
>Restricting the language to its target use: systems programming, not applications or data science or AI...

The only Go I ever touched in industry was the backend of a web-app at Salesforce. I'm not sure this counts as "systems programming".

https://engineering.salesforce.com/einstein-analytics-and-go...
I was doing this starting in 2019 with a Tesla Model 3, before anyone knew this could be done. I will tell you, it is actually really amazing. A/C or heat all night, autopilot for long stretches, instant torque and true AWD, it was a beast on rough roads. People were often shocked at seeing it places they'd only see trucks and jeeps.

200k miles and 5 years later, I only stopped because I am continuing in Brazil, after having explore every state in the US (except AK) and nearly every national park.

I am missing the Tesla a lot in Brazil.
I'll happily get rid of unions once we also get rid of corporations ruled by wannabe-dictators. Until then, unions are a necessary counterbalancing force to keep executive behavior in check.
That’s what they have done with the new Dell XPS laptops (right control key)
I was surprised at the poor quality of serviceability given its enterprise deployment with k8s. No thread dumps without killing the process (or writing a SIGUSR1 handler). No heapdump reader so you have to use the memory sampler and hope you catch the problem (and that requires adding code), and viewcore is broken in new versions (and it doesn't work with a stripped binary which is most production binaries).
Even better if the speed would ramp up and down smoothly. I have missed this since I used smooth scrolling CP/M computers in the '80es.
> Modern, high end FPGAs have a feature known as Raw SerDes

That's like saying "did you know that advanced microprocessors have the capability to bypass I2C and output voltages directly on the pins?!?!?!?"

First of all, it's backwards. The physical layer comes before the protocols and is always there at the base. Second of all, the world does not exclusively run on I2C. Some people want SPI busses or to toggle transistors with GPIO. That's fine. Sure, gate it behind different permissions, but don't just rant at what you don't understand.

If you want a concrete example where serdes access is important, look up JESD204b, but in general there are loads of real-time systems or bespoke processing applications where it makes sense to dispense with the complex and temperamental packet-switched infrastructure in places where that complexity and nondeterministic behavior is likely to cause more trouble than good. There are also applications to backplane connections (if you are encapsulating PCIe, you want to run slightly faster than the PCIe so the PCIe can run at full bandwidth), even to the development of next-gen PCIe itself. It's not magic, it is not delivered by a stork, it needs to be prototyped, and that's another thing FPGAs are used for.
Change Data Capture (CDC) for Real-Time Analytics
Because they're the bad guys
What's the dumbest plan that could possibly work?
I always loved the LG env2

https://en.wikipedia.org/wiki/LG_enV2_%28VX9100%29
Which ones?

I'm on relatively modest hardware and just scrolled my hardest using a trackpad in urxvt, xterm, xfce4-terminal, gnome-terminal, and they're all practically instant. You'd need to _introduce_ lag to have any pixel-by-pixel smoothing even be noticable.

I consider pixel-by-pixel scrolling unnecessary eye-candy not worth the tradeoff. Consider that the capabilities in both hardware and software to do smooth/pixel-by-pixel scrolling in terminals have been around for decades - the reason it's not more common isn't necessarily technical.

You may have a different preference but that doesn't make the status quo sucky, laggy, or sad.
Today on HN: EV Batteries Could Retire to Solar Farms
https://news.ycombinator.com/item?id=38870723
Sounds like those Walmart propaganda training videos got to you. I suggest doing your research on what unions are doing in the 21st century to protect employees.
https://news.ycombinator.com/favicon.ico would need to return the favicon instead of 404 Not Found
AFAIK most optical cables are made in the same factory so it doesn't matter which one you buy. They also don't need controlled impedance like copper cables so it's pretty hard for an optical cable to not work
Currently, it takes probably 20-30 minutes to run, which does include all the data deduplication. It was a bit more for the first round, but still under an hour. On my home folder, which is about 1.2 TB and I think around 1.4 million files, the git repository itself is a few hundred MB and the local data store, on a zSTD compressed ZFS data pool on my True NAS server, is around 400 GB. The data deduplication pretty much just tracks with new content, so it works perfectly here for snapshots.
In many cases the choice goes the other way. Are you saving money by replacing your computer a year sooner or participating in fast fashion instead of buying second hand clothes? Even if you're cash constrained and fast fashion is not an option, you still have the choice between Walmart and Goodwill.

And generally the people propping up these organizations are the people with disposable income because they're the ones who can pay the margins that keep the companies rich. If you can afford a new Macbook, you can afford something from Framework. The person without a choice is buying something used from eBay or doesn't have a laptop at all.
Feels like it's really just an attempt to drag out the proceedings further so that any labor law dispute turns into 8 years worth of trials and appeals and is ineffective at remedying problems