HNHacker News
TopNewBestAskShowJobs

_huayra_

1,795 karma · joined November 5, 2012

submissionscomments
_huayra_··on Amazon workers to strike at multiple US warehouses during busy holiday season
I used to use search engines with the "site:reddit.com" keyword to get more genuine reviews about products and services. Now it more than not leads to posts where the top comment is some gpt'ed text with a clear referral link and far more up votes than an obscure subreddit on some niche object would warrant.
_huayra_··on Intel’s board, and an example of when boards and short-termism fail
Highly recommend the latest Oxide and Friends podcast where they discuss a lot of this and related stuff: https://oxide.computer/podcasts/oxide-and-friends/2218242
_huayra_··on Intel announces retirement of Pat Gelsinger
Brian Krzanich, the CEO before Pat
_huayra_··on What does this button do? – My new car has a mysterious and undocumented switch
I mean don't expect to beat on them, under-maintain them, etc, like one can a lot of older Toyota gear, but used within parameters, they have lasted my family (almost all of whom drive CVT Subies) well over 1m miles at this point without any big failure.

Key thing is to change the CVT fluid at least at the 60k interval (some countries say to do it every 30k, but that seems excessive). The "it's a lifetime fluid" thing is a total lie; it's the "lifetime of the CVT", so when it grenades itself, that's its lifetime ¯\_(ツ)_/¯

_huayra_··on What does this button do? – My new car has a mysterious and undocumented switch
Subarus don't precisely fit this criteria, but you can opt out of 3rd-party data sharing in all 50 states.
_huayra_··on What does this button do? – My new car has a mysterious and undocumented switch
> Recently there is evidence Toyota is either struggling on this metric. Quality problems or deliberate design intent change?

I'm hoping they fix this. There's almost no other reason to buy a Toyota other than this reliability reputation.

It seems like the way to go now is a naturally-aspirated Subaru, which I ended up after all the Toyota dealers near me treated me like a chump (which apparently is common; Toyota doesn't have as much "say" over their dealers as other similar companies afaik). Subies have basically been iterations on the same engine for a decade (the FB series), and the brand cannot afford to do much goofy R&D. They're also still dealing with the head gasket reputation despite that being >10 years old at this point (almost 20).

_huayra_··on What does this button do? – My new car has a mysterious and undocumented switch
Bro just platoon the autonomous taxis into a convoy, give them separated lanes, and get rid of the rubber wheels and add steel wheels and steel lane guides for maximum efficiency. It's obviously new and revolutionary!
_huayra_··on What does this button do? – My new car has a mysterious and undocumented switch
I'm guessing that car is "drive-by-wire" via the throttle, which has not been an actual cable in most cars for decades at this point. Steer-by-wire is indeed just the cybertruck at this point afaik.
_huayra_··on What does this button do? – My new car has a mysterious and undocumented switch
FYI for anyone who owns a Subaru: you can opt out of 3rd-party data sharing here

https://www.subaru.com/support/consumer-privacy.html

If you don't live in one of the states mentioned in the first paragraph, expect this to take a very long time. For me it took 6 months.

_huayra_··on The two factions of C++
> All my hobby coding in C++ makes use of modules.

Do you have an example (of yours or others) that you could link?

I've been trying to get this up and running myself, but can't seem to whisper the right CMake prayers.

_huayra_··on The two factions of C++
> in alignment with the Secure Future Initiative, we are adopting safer programming languages, gradually moving functionality from C++ implementation to Rust.

This seems like one hell of an initiative for the Windows OS. That is millions of lines of C++ code, often with parts from waaay back. A friend who works on one of the OS teams told me that his team got a boomerang hire that worked on Windows back in the 90s and he was still finding parts of his code in there!

I hope this corporate interest bodes well for Rust though. It seems like for C++ it really caused a schism over the ABI break issue where Chandler et al were basically rebuffed finding some timeline to break it, and then Google dropped all their support on the committee in favor of Carbon, Rust, etc.

_huayra_··on The two factions of C++
Yes, and it's much better than having a dozen or more `bool` values that indicate some event occurred and put it into some "mode" (e.g. "unhealthy", "input exhausted", etc) and you have to infer what the "hidden state machine is" based on all of those bool values.

Want to add another "bool state"? Hello exponential growth...

_huayra_··on The withering dream of a cheap American electric car
> There simply isn't data to back this up.

https://fred.stlouisfed.org/series/LES1252881600Q

Your nominal charts are extremely misleading. Real wages have gone up about 10% since the GFC. Is it up? Yeah, but that is quite a tiny amount annually, not even an additional pack of gum.

_huayra_··on The withering dream of a cheap American electric car
I guess the question comes down to how does one know if the battery pack is good? When I buy a regular used gas car, I can get all sorts of diagnostics about it out of the OBD2 port, pull a spark plug and stick a scope into the combustion chamber to see if there's any issues (e.g. on the walls).

With an electric car, how can one tell if the pack has been charged all the way up to 100% all the time (vs. the much better 40-70% range)?

This is the "term premium" of batteries it seems, and I honestly don't know if there's a reliable answer.

_huayra_··on Trump wins presidency for second time
Oh wow $50 annually since 2020, sorry I didn't realize, but now I see when I zoomed in.

They're not poorer. They're exactly one used Xbox richer.

I agree that it's more complicated why Trump won than just the economy, but to say "people are getting wealthier" when

a) it's an extremely paltry rate compared to the prior 4 years and

b) people have had to readjust their "basket of goods" to buy different things because certain non-negotiable things (e.g. cars, car insurance, other insurance, utilities in a lot of unregulated states, property taxes outside of places with Prop 13 / homestead exemption, etc) have gone up significantly, putting a squeeze on disposable income.

I guess we're arguing semantics here, but I agree that a lot of voter decision on this is more complicated than real income. I just disagree that $50 / year increase is meaningful enough to have people not feel left behind. That is about 12 bps a year, and I know that if my raise were 12 bps, I'd feel like why bother at all / insulted. If I were a moron, I would blame the current president, but I'm not naive enough to think that it's Biden's fault.

_huayra_··on Trump wins presidency for second time
https://fred.stlouisfed.org/series/MEPAINUSA672N

Notice the flat line after the pandemic? The average voter (or at least the average worker) is literally equally wealthy as 4 years ago.

Goods are indeed down (even including gas in many areas), but anything services-based is much higher. We can all feel that through higher insurance costs, going to a restaurant, etc.

_huayra_··on AMD Q3'2024 Financials
The high P/E means that "room to grow" is already priced into the stock though.
_huayra_··on How I use git
I think for folks looking to basically do a "click-and-drag rebase" like that, a GUI interface with comparable ease in displaying and resolving patch application issues (diffs that don't apply) is hard to come by.

I've heard good things about gitkraken though, but haven't used it myself.

_huayra_··on The AI Investment Boom
The best I have ever seen were obscure languages with very strong type safety. Some researcher at a sibling org to my own told me to try it with the Lean language, and it basically gave flawless suggestions.

I'm guessing this is because the only training material was blogs from uber-nerdy CS researchers on a language where "mistakes" are basically impossible to write, and not a bunch of people flailing on forums asking about hello world-ish stuff and segfaulting examples.

_huayra_··on The AI Investment Boom
This is the main "killer feature" I've personally experienced from GPT things: a much better contextual "search engine-ish" tool for combing through and correlating different internal data sources (slack, wiki, jira, github branches, etc).

AI code assistants have been a net neutral for me (they get enough idioms in C++ slightly incorrect that I have to spend a lot of time just reading the generated code thoroughly), but being able to say "tell me what the timeline for feature X is" and have it comb through a bunch of internal docs / tickets / git commit messages, etc, and give me a coherent answer with links is amazing.

_huayra_··on PayPal (USA) will automatically share data about you to participating stores
Here is the precise page, for anyone who wants to easily do it and amortize my settings perusing: https://www.paypal.com/myaccount/privacy/settings/recommenda...
_huayra_··on Throwing Exceptions from Coroutines
These "factory functions" are indeed possible, but in practice I've seen the "delayed initialization" done in most places I've worked. Where I'm currently working, a common "drive-by PR" I do on others' code as I'm reading through it is the "you forgot to add the is_this_initializated? check on this method". It's not really until someone on the team has been burned by this partially-complete-but-still-validish objects gets used before Initialize() has been called and invokes very weird behavior do people get serious about this :(

Though not common, this factory function method does not work for immovable types. You can't yoink these types out of the optional<T> that's returned and put them in a vector<T>, for instance.

_huayra_··on You Can't Opt-Out of A.I. Online
> Do you want me to publish 12-15 different ebooks

Just make sure you spread it out over a few days and you're all good: https://arstechnica.com/information-technology/2023/09/ai-ge...

_huayra_··on Why and how we’re migrating many of our servers from Linux to the BSDs
Facebook runs their entire stack using Btrfs [0]. I would encourage anyone who is stuck in the "oh btrfs is so buggy and loses data" mindset (not helped by articles like this [1] that play off btrfs as some half-baked contraption, when it's really btrfs raid that needs a LOT more time to bake) to look into things and realize that large companies (OpenSuse, Redhat, Faceboook) have poured a lot of time to get it to work well.

I don't know about it's multi-disk story (I do use ZFS for that personally), but for single disk options it is great. You get so many of the ZFS benefits (snapshots, rollback, easily create and delete volumes, etc) with MUCH lower memory usage (at least in my own experiments to try this out).

[0] https://lwn.net/Articles/824855/ [1] https://arstechnica.com/gadgets/2021/09/examining-btrfs-linu...

_huayra_··on Ocean waves grow way beyond known limits
Yep, 100m is a 30 story building more or less. I know these waves are big, but this would be the equivalent of a wave height of Big Ben or the full Statue of Liberty.
_huayra_··on DOJ accuses Visa of monopoly that affects price of 'nearly everything’
Not to defend the system, but just FYI to you and whoever reads this:

* the Bilt mastercard will let you pay your rent via ACH and get points for it (for my ~$2k/month rent, I probably get $150 a year)

* There are several cards that will give you 5% cashback on gas

_huayra_··on The Double Irish Dutch Sandwich: End of a Tax Evasion Strategy
> You still have access to vote absentee,

Most other countries allow their expatriate population to vote without this taxation requirement. Why should the US be different?

>as well as collect social security benefits.

Absolutely incorrect. The times I've lived abroad have not count towards my SSN contributions; I've had to make up for them after returning, in a sense. I now have to figure out how to collect a smattering of "social security equivalent" payments once I retire from a foreign country as a result.

> You can use US bank accounts and other institutions.

Actually, you're not supposed to in most cases, and most banks will basically force you out if they find out you're not in the US. Only a few brokerages will actually work with you (ibkr is best iirc, Schwab can also work). Pretending to "exist" at a relatives house for your bank may be living on borrowed time, though in practice it is possible to do for years if one leaves. Newcomers can't open a bank account with US citizenship if they're non residents (again, except for a few brokerages).

> You and your children have the right to return if you ever desire it.

Why should I pay for the option to do so? Why not do like every other country and pay if I actually exercise the option and return (and pay taxes)? Just like every other country (except Eritrea and North Korea, but do we want to be in the same camp as them?).

_huayra_··on Howm: Personal Wiki for Emacs
Does anyone have a "lab notebook" style of PKM in Emacs?

I used to use Org-Roam in Emacs, but fell in love with Logseq [0], primarily because

1. it has a "daily journal" default workflow (though individual pages are supported)

2. the support of datalog queries

3. templates

This basically allows me to make templates for things I need (e.g. meeting notes, etc) and to write a few key queries (that are also templated for reuse) to do things like get the most overdue tasks, upcoming, things I promised to others, things I'm waiting on, etc. I can even drill down and get that stuff for an individual "page", e.g. "Emacs" or "C++".

The lack of a "lab journal" format + flexible queries makes going back to other solutions not as enticing, as the "perfect artifact" of wiki-esque editing (and not being able to easily see backlinks) is not as easy. I can open my Logseq folder, make a "meeting" template, then #tag the people and topics discussed, and be able to go back later and make a query to see when I discussed #topic with #person.

I would love to move this back into Emacs, as I hate having a separate tool for PKM, so if anyone has a similar workflow (or at least flexible queries on "tags" and task status, backlinks, etc, even without the daily journal thing), I'd be grateful for any tips.

[0] https://logseq.com/

_huayra_··on Crows are even smarter than we thought
The real separation (and is something that comes long after 2 years of age in humans) is the ability to observe one's thoughts. I totally get that dolphins and elephants and many "big brain" mammals can have social structures, long memories, and the ability to pass down behaviors directly (e.g. "here's how you hunt fish effectively" may not be in dolphin genes, but they do a damn good job of it, or also the "fads" of orcas like the "salmon hat" or, more recently, attacking sailboats).

The absolutely blistering pace a child can learn at, though, is indeed quite a sight to behold.

_huayra_··on Ask HN: What are you working on (August 2024)?
I haven't used MacOS in years and have been forced to use Windows for work. I'm curious: what's great in the Windows layout that isn't in MacOS?

Coming from Hyprland and even KDE, Windows seems to be lacking a bit out of the box, but maybe I'm missing something deeper about how it all works.

← PreviousPage 2 of 17Next →