skysight-inc/HackerNews huggingface dataset:
But the quote actually existed. It was

>I want my lawyer, my tailor, my servants, even my wife to believe in God, because it means that I shall be cheated and robbed and cuckolded less often. … If God did not exist, it would be necessary to invent him

So ChatGPT didn't hallucinate the answer 100%, but it wasn't able to remember where they read it.
You're the dream mom/dad.

A cool chance to show the importance of determination!
> "git am" test could've been written as "git am patch1 patch2" instead

This is off topic, but the Git devs were correct in doing `cat pine patch1 | git am`, since the test in question is

test_expect_success 'am takes patches from a Pine mailbox'

The test requires the mailbox not be split in two, so `git am pine patch1` is out of the question. patch1 is reused across multiple tests, so it makes sense for it to be in separate files. Concatenating is the logical conclusion.

cat patch1 >> pine
git am pine

is possible, but why? It's more code and it mutates the contents of files after initial creation, making the tests as a whole slightly harder to reason about.
True Pigments: About Our History and Mission Today
If you have AC, this replaces the AC and so uses that breaker. If you don't have AC you need space for a breaker in the panel - but this is easy to get (add a sub panel - $500)

The real question is what kind of service you have. If the power company cannot deliver enough power then you need more power and this will cost you at best $4000 to replace your panel, and could be in the tens of thousands depending on what your power company wants.
I see what you're saying, that makes sense for that vehicle. I think pure EVs tend to get about twice as many miles per kWh as your car, so for an average pure EV compared to an average pure ICE I think the EV is still cheaper to fill up, although it is pretty close with these prices.
The owners of the platforms that you use to distribute your speech (assuming it does not conflict with the platform’s commercial goals).
Closed systems can communicate with other systems/their environment. Closed doesn't mean sealed here, it means well defined boundaries.

edit: ok so for thermodynamics analogy purposes, the statement 'closed system' means no matter flows but energy obviously yes... furthermore, 'the tech system' being made of isolated computers and specialized professionals, or networks of computers and specialized professionals is immaterial for the analogy... lots of energy flowing in, in the form of huge amounts of cash, created a lot of entropy, in the form of accidental complexity.
Paying less for an engineer in a low cost of living area may save you money in the short term but will wound you in the long term if you value employee retention. If you have a truly skilled engineer paid cheaply, it’s trivial for a large company from a high cost of living area to offer them a 20% salary bump and snatch them away. Good luck if that employee had valuable insight into company processes.
I think Tauri is the most established "like Electron but with the system webview" framework. It supports wiring up native Rust code behind the webview frontend.

https://tauri.app

The obvious downside compared to Electron, besides maturity, is you have to test the frontend on multiple browser engines rather than just bundling Chromium everywhere and calling it a day. It uses Microsofts flavor of Chromium on Windows, Apples flavor of WebKit on their platforms, and WebKitGTK on Linux.
> overall 30 years went by with basically the same standard.

That mobile phones lack any kind of meaningful standard is rather the problem, but the form factor hasn't significantly changed since the original iPhone.

> When is the last time you had to throw away the phone you use because of a bad CPU?

That's the point. The CPU doesn't go bad, but it's expensive, and right now if a kid snaps off the USB connector on your phone you may have to replace the entire logic board including the CPU. Likewise if you're attempting a repair of something else and you damage one of the tiny fragile internal connectors in the process. Then you need a new logic board, but that could be a $20 part instead of a $200 one if everything else wasn't soldered to it.

> Bad connector on logic board, what connectors? The whole thing is a single solid piece now, it doesn't really fail. It's basically screen and battery, and both are actually not that hard to replace on iPhones.

There are often separate connectors for not just the screen and battery but the camera(s), earpiece, antenna(s), and also stuff like this:

https://apple.fandom.com/wiki/Taptic_Engine

As I said, there are already a lot of connectors in the thing. Adding two or three more wouldn't be a big deal, but would do a lot in terms of repair cost by separating the things most likely to break from the things with the highest cost.

It would also give you the ability to do upgrades. Any kind of standard for attaching more memory or storage would significantly extend the practical life of most devices, because it's generally not the CPU that becomes too slow.
Your first point hits it exactly.

Let's say that it's year X and you have two choices: either you bet that the future will be bleak, and cut cost and hunker down, or you bet that the future will be bright and make big investments.

If X is 2022, the first bet will be right, while the second will lead to bloat and excess. But if X is 2014, the second bet will be right and the company will gain market share, while the first bet might make you go out of business.

So big tech companies weren't so irrational to make those big bets to begin with, and they simply overcorrected the other way around afterwards.

Now, as an employee in one of these I still think this is shortsighted and will damage them long term. But the stock market keeps rewarding these companies handsomely, so what do I know?
This is what I keep saying about Rust.

Maybe you have 70% fewer vulnerabilities per line of code than C++ if really 70% of (old) C++ vulnerabilities are memory related.

But if you then pull in hundreds of packages in Rust and have 10x as many lines of code...

30% of 100k lines is more in total than 100% of 10k lines of code.
(spoiler warning for others!)

Durham's "dust theory" is basically that every possible universe is simulated an infinite number of times across space and time within our universe as Boltzmann brains (he doesn't call them this but his idea of random bits of dust randomly computing things is equivalent), so actually running a simulation containing mind uploads on a computer ourselves is unnecessary to allow consciousness to exist within the simulation.

Durham describes the theory with a few more steps, like his idea of "launching" which I can't help but think Maria is correct in calling unnecessary. I think the story is trying to communicate that Durham's theory is subtly wrong or incomplete, especially when the surprising event happens at the end. I think the explanation for the surprising event at the end is (heavier spoilers ahead!) that there's a mix of Boltzmann brains running two different versions of Permutation City (one where Permutation City and the A-life universe are artificial simulations with arbitrary complicated physics and starting states exactly as we saw them be designed within the story, and one where the A-life universe is natural with a simple unified underlying physics and starting state and Permutation City is an artificial simulation/construct within it with a complicated starting state) which have been running in parallel and producing equivalent conscious experience, but by the end of the story, the latter version of Permutation City is simpler and therefore simulated in proportionally more Boltzmann brains than the first version. The latter version exists more, so when the conscious experiences of these two versions of Permutation City finally diverge, the story follows the latter version.

(I'm pretty confident in this reading of it. The story makes a regular point in talking about the complexity of the artificial simulations containing mind uploads and how much they're unlike the simple unified physics of our world. The point is brought up in a way as if the author or characters expect it to have significance; the surprising event at the end of the story is this point's significance finally being seen.)
What I'm questioning is how likely it is to lose a single packet on one stream. I understand why in theory that would be bad and QUIC would help, but I'm curious how often it actually happens. Sibling provided at least one example but I would be interested to see some data.
Yeah honestly one key thing of copilot has been that I can create a fn definition I need that is very common and it will do the boilerplate for me. It feels dirty not using a library, but in the end I save bytes and have clear control over the fn that otherwise is quite standard.
We can't build an electric pickle without China, there's nothing they could possibly do even if they knew exactly who did this other than lame sanctions, which thanks to SWIFT becoming obsolete, are impossible to enforce.
Ad serving and metrics are asynchronous so won't block any UI. And authentication/identity has the same behaviour with monolith/microservices. It's ultimately just a look up this user in some database.

It's the serving of the content that requires coordination across multiple services and most of that should be cached at the serving layer.
This video reminded me of an interview I did a few years back. There was an interesting robotics startup in Tokyo that I was talking to and they ended up rejecting me because I have an MS and another candidate had a PhD. The job paid $65K with very little equity and very few benefits. A few weeks later I got a job in SF that paid total comp >$250K plus tons of benefits. Japanese engineering compensation is quite poor and the stereotypes about grinding workers into a pulp are absolutely still true.
You didn't even try to explain. At no point did you even phrase your idea in the language I used, or connect your idea to the broader conversation. You brought in a conclusion without any hint of the work you put in to get to that conclusion. The conclusion may very well be valid, but you have to show your work or else others won't be able to follow.
Does whatever they said necessitate 'flagging' rather than just downvoting? Groking it from the further discussion, it seems worthy of at least talking about.
Apple Vision Pro Pulse Width Modulation Health Concerns
I've seen just two APIs that returned non-nil/non-default T (representing the partially completed work) with a non-nil error, and those were a constant source of bugs and errors. I've changed those to always return dummy empty T, and even though the retries now hurt performance more (they could not re-use partial completed result), it was a much more straight-forward code.
I suppose it depends. If a company can show impressive growth with a small staff, that's the ideal. But at that point the market/investors will probably ask "if you can sustain this kind of growth without many employees, why don't you hire a bunch and grow even faster?" Of course, that's not necessarily how it will play out (mythical man-month, market size, sales capacity, etc.), but the investors will still get itchy.
"Writing has been called the process by which you find out you don’t know what you are talking about.

Actually doing stuff, meanwhile, is the process by which you find out you also did not know what you were writing about."

Why architects code:
https://bitslap.it/blog/posts/why-architects-code.html
> Apparently zero is better than nil.

Zero often is better than nil. Consider something like atoi. If it fails, 0 is often exactly what you want. No need to care about any error state. Although the error state is there if your situation is different. The caller gets to choose.

But for something like a person that doesn't exist, nil is almost assuredly the appropriate representation. You didn't end up with an empty person, or a made up person, you ended up with no person. nil is how the absence of something is represented. Same reason you return nil when there is no error.

There seems to be no disagreement that nil is the proper return value for cases where there is no error. Why would no person be different?

> I mean the idea of returning multiple values is totally goofy in itself.

It is, but then again so is accepting multiple inputs. Neither is mathematically sound, but they have proven useful in practice.
The furnace my parents (who live in Ohio) installed 10+ years ago uses outside air for combustion, not conditioned inside air. As it's older, it's not got a 99 AFUE, but it's high (I think in the low 90s).
From Black Box to Open Source: Embracing Transparency
What’s annoying is that both Gemini and GPT have been trained to be overly cautious.

Sure, hallucinations are a problem, but they’re also useful! It’s like a search result that contains no exact matches, but still helps you pick up the right key word or the right thread to follow.

I found the early ChatGPT much more useful for obscure stuff. Sure, it would be wrong 90% of the time, but find what I wanted 10% of the time which is a heck of a lot better than zero! Now it just sulks in a corner or patronises me.
That's between two lines; there are certain area codes that for personal reasons I basically have to answer. As an aside: Android's "Suspected Spam caller" is incredibly inaccurate; with the huge storm last weekend, the emergency alert was flagged this way, and actual spam calls often aren't.
Thanks. Can you also tilt the halves like a tent for ergonomics?
Now what? the username is in an unexported field and unusable? I can kind of see what its going for but it seems like a way just to add another layer of wrapping and indirection.
I feel like I remember he complained that Japan would likely fall behind by their best and brightest going outside Japan knowing that inside they would not be compensated.

My search-fu is failing though. I did find this interview

https://www.jsap.or.jp/jsapi/Pdf/Number02/Interview.pdf
i know in the consulting world you always want to maximize the number of logos on any given architecture diagram.
I wonder how many years HN stores IP information?
I'm not so convinced. People talk similarly about the issues that smart phones have caused with the rise of social media but only fringe political groups want their use restricted by law (with exceptions, such as while driving). I'd expect the most popular opinion to be that the convenience outweighs the cost.

(Of course, as a sibling comment points out, it's impossible to really know.)
> Assange: UN expert urges London not to extradite WikiLeaks founder to US

And London does not give a shit.

"She further questioned whether his extended isolation would be compatible with the UK’s international human rights obligations."
Or, they could increase the price of natural gas (perhaps using a tax)
no, it will talk to firefox.settings.services.mozilla.com
> Thread-local storage is bad because it's implicit and causes bugs when used with concurrency; if you farm out some work to another goroutine, it will break.

Can you elaborate on why being implicit is bad and how it causes bugs?

I understand that shared data (via pointers) may cause race conditions and other unexpected behavior, so let's say we require that the thread-local storage can only store values (with value semantics).

If you could point out any issues with that, I'd greatly appreciate it.
OK first time I see Cyclomatic complexity as a useful metric. Rate of change is more important than any specific measure.

But I never seen anyone mentioning that - but after I saw that here in comment it seems so obvious now.
How do I find out that I'm getting hacked/spied?
Lets say your phone(s) or any other devices (laptop) is getting hacked and spied on. How do you find out that it got hacked and what are some common methods to protect?

I'm aware of KasperskyLab's TinyCheck.
What do quantitative traders do?
Watch the second half of WWDC 2023 session “Explore rendering for spatial computing” to see what Apple wants to tell developers about foveated rendering. Ivan never actual uses the term “foveated rendering” though.

https://developer.apple.com/wwdc23/10095

There is also an article, “Rendering at Different Rasterization Rates”:

https://developer.apple.com/documentation/metal/render_passe...
? Quite the contrary, soon AI will be able to write high quality books for us about each field with state of the art knowledge.

Imagine books written in the style of the greatest writers with the knowledge of the most experienced and brightest minds, that come along with a Q&A AI assistant to further enhance your learning experience.

If AI does get democratized, then there is a strong possibility, we are about to enter the golden age of wisdom from books.
A diff of the directory is abuse? That seems overly aggressive and I don’t see what that prevents.
Do LiveWire responses get so big that the size becomes an issue?

Haven't used either LiveWire or LiveViews seriously. Honestly trying to understand what you're saying.

I was under the impression LiveWire only sent the data for the component being updated so realistically the main issue is latency (just as with LiveViews).

I mean, sending 0.1kB vs 1kB is 10x worse but in practice this doesn't seem like it would have a real impact in UX for the majority of use cases.
It might also come from the common sense of using the CSP model (goroutines and messages, basically). Being asynchronous or synchronous is not the property of the function; it's the caller's decision. So every function is "synchronous" and it's up to the caller to decide when to spin it into the background and what for.

As others commented, it doesn't preclude from you using goroutines in libraries if you _really need to_. It is just important to remember that it's not obvious to the caller.

In light of this "common sense", async/await concurrency concept doesn't make any sense. Why would function dictate how exactly it should be called by a caller? Is "watching TV" an async or sync action? Depends on the caller – whether they put all their attention into this action or doing it "in the background" while performing other tasks. It's not an inherent property of the "whatching TV" function. I have no idea why so many people think that async/await is a good idea for expressing concurrent systems.
Many people can barely control a vehicle in 2D. I'd hate to think how they'd perform with a third dimension added.
Fair, you got me there.

I meant more so regarding future plans and other than release notes.

But fair is fair, they make comments in their release notes.
The point was the government stepping in, monitoring, and cutting off services is bad.
I think in some sort of misguided race to be more puritan than each other, the big vendors forgot Asimov’s second law of robotics.
He trained an AI instead[0], which is a smarter route!

[0] https://www.youtube.com/watch?v=maP2DwgdBts
Jasper and the surrounding area is very similar to Shittown (of podcast fame).

Crazy shit happens there for random reasons that probably won’t make sense to an outsider.

This could be as simple as someone having a beef with a person at the station or one of the content sources that the AM station broadcasts.

It could be something as simple as drunken weekend shenanigans. Why? Because they could.
(re)productivity
Thank you for posting that. Although the cost of electricity is important, when deciding on using a heat pump for heat, the big question is the cost of electricity for heating, relative to the cost of the fuel you are already using (natural gas, propane, oil, etc.).

It's definitely annoying to calculate! Since a heat pump's efficiency can vary with the outside temperature, it takes a bit of work to estimate your potential added electricity cost.
Temperature-sensitive prosthetic limb
Why Creativity Matters for Founders
Haha I had one around there too. Indiana life is good life.
As an adult, I really like The Conversation's articles for kids.
I thought we already solved this problem [ONCE AND FOR ALL!](https://youtu.be/0SYpUSjSgFg?si=9Oodfb1SgHvTZWLa)
That used to be very common in the US, and there are a lot of old systems still working. However every new furnace I've seen is installed to use outside air. Using outside air needs $100 more in parts and labor and it prevents air balance issues in modern well sealed houses.
They sell LED dimming (and blackout) stickers on Amazon, and those things have been a lifesaver for me. My new USB-C charging block is brighter than the sun and the LED is functionally useless, so it's been masked with the blackout version of the stickers, but my Dyson fan which has a blue power LED (which turns to red when it's on heat mode) and BRIGHT WHITE LED temperature readout in heat mode has gotten the dimming treatment. Nice because you can still see the light, but 80% less bright, so I can sleep at night.
You’re talking about cost, not convenience.
You can create the web control using each platforms native GUI toolkit and setup JS communication yourself OR you can use a lightweight library that does it for you [1] (search this projects README for language "bindings").

[1] https://github.com/webview/webview
I don't know why HN loves Sam Altman so much. Has he ever written a significant piece of software or invented anything? Has he ever built a significant, profitable business from the ground up? The guy was a fundraiser superstar when money was easy to get in the 2010s but I have yet to see technical or business competence sufficient to grant him the level of respect many in this community seem to grant him.

There are people who are technically competent or genuinely intelligent who can also raise funds.

The guy reminds me of Elizabeth Holmes or Eliezer Yudkowski of "lesswrong."

A sophomoric guy with minimal technical or business accomplishments who is just smart enough to tell rich people what they wanna hear to fuel his game.

There is an old term for this personality type. Snake oil salesman aka con artist.

See https://blog.piekniewski.info/

For a sane take on AI by someone who actually got an education and is an expert in his field.
But that is highly likely to be a trailing indicator. Some things like door plug blowouts apparently happen a few months after poor manufacturing processes occur, the question is how long do loose screws, cable frictions, or incorrectly bored holes in pressure bulkheads take to manifest?

It seems to me that we’re only at the start of statistical changes to the 737’s historic accident to operating hours ratio.

Do I want to be an unexpected data point or death and injury there? Not so much. A320-series or 737NGs for me for the foreseeable future I think, and those flights don’t generally cost a penny more.
The irony of them going after M$ when Google funded them while totally using all their monopoly power to get everyone to move over to Chrome with ads on Google itself that Google pays for to be the default in Firefox. And they succeeded. Firefox has lost so hard because of Google, and they are going after M$. I mean, I do think they are right, it's just the irony. Google never needed deceptive tactics. They just spammed their ads on Google that said "get the new fast Browser" they did not even say "faster" they just spammed everyone for years and all the idiots went for it.
Technically, PID only makes sense for linear time-invariant systems. A quadrotor drone is inherently a nonlinear system but people use linear controllers on it anyways.

I mean if we're going to use "AI" on controls, it better be looking for tuning something else, better still, we should only utilize the "optimization algorithms" parts of "AI" hence optimal control.
Combining the TLS and TCP handshakes into a single request amounts to probably less than 50ms latency. For a major web hosting provider, this might add up. For most just cases, it's trivial.
Also survivor bias at 11. I bet there are currently thousands, all around the world, devoting their lives to something that would not yield any significant result. Like the nuclear fussion menctioned in the video.