skysight-inc/HackerNews huggingface dataset:
> Stringly typed errors are also idiomatic in go, if you follow the stdlib.

Realistically, you can't follow the standard library, except perhaps the newest additions. Idioms emerge and evolve with use. Much of the standard library was written before Go saw much use, being largely in place before the world got to see Go for the first time. Also, thanks to the Go1 guarantee, cannot be changed now.

If the aforementioned package was written in the 2000s, then it might be fair to say that it was in line with the idioms of the time. But it appears to have been written within the last year, and thus is not aligned with idioms of its age.

That's not to say it has to be. Idioms are not requirements. The "stringly-typed" design may be justified even knowing what we know in the 2020s. And, with that, we don't need to speculate about the justifications. We can let the author speak for himself as to why the choice was made.
I mean Ubuntu has a bunch of python libs. The problem is that you need to make a universe of mutually compatible libs, so if _any_ of the libs have old-ish dependencies, that holds back so much.

I think what happens in practice is package maintainers do the work to get things up to date, and so only include a subset.
As a frontend dev, every company I've worked for this decade has deliberately chosen to drop Firefox support. We've never gotten a single complaint about it from our users (we get plenty of other reports) and every analytics report showed decreasing usage.

The few developers I've met who still use Firefox eventually stop once we run into the first issue with it on our own projects (usually having to do with graphics rendering of some sort). We don't fix it for our users so we're not going to go out of our way to fix it for our own frontend devs. It's just not worth the time investment.

Firefox is totally dead aside from a few ideologues, who don't really constitute enough of the general population to matter. Webkit support (for ios browsers outside Europe) is much more important, and it has enough differences from Blink to be a time sink on its own, so all the extra dev time that might've otherwise gone to Firefox instead go to Webkit tweaks (with Chrome/Blink being the standard, both for users and devs).

Browser compatibility is a lie, even with polyfills and caniuse and browerslist. If you do enough full time frontend work you'll soon come across the various subtle bugs and incompatibilies. Browsers aren't necessarily more standard now, it's just that Chrome won in a way that even IE didn't.

I grew up in the IE era and did web dev then too. Yeah it's better now, but I think it's mostly because Google has such a monopoly that they are the real standards. The W3C is completely irrelevant now and WHATWG seems like basically a puppet government for the big corporations to dictate what they want. At the end of the day, Google decides what is going into Web, period. Apple controls half of mobile (apps) but Safari is always the odd duck. Firefox... nobody cares about anymore.

Kinda sad, as someone who loved early Phoenix, but honestly Mozilla has so thoroughly mismanaged Firefox over the years that I'm surprised it has any users left at all.
Sorry, if the tests were run on a MacBook why are there Intel assembly snippets?
IMO the biggest hurdle in frameworks like Svelte or Next isn't the framework -- it's the language.

This type of app is a prime use case for something like LiveView or a Go framework. Just today I had the most marvelous experience using Tailscale's ACP, where I've changed the ACL and it instantly saved it. It was so fast I had to make sure it's not optimistic UI, and sure enough, 78ms round trip for the request.

Even if it was a FE-heavy app using SQLite in the browser, I wouldn't have used JavaScript. After months of Gleam, I am spoiled.

The days of JavaScript-because-we-have-to are thankfully over. JS is now only for when the flexibility is required.
This doesn't really solve the underlying issue, though.
You just need a "hide/show comments" extension for your IDE. (I would argue that such a feature should already be built in.)
In most countries you’re technically supposed to pay taxes even if you’re working there illegally.
Android OS Privacy Under the Loupe
Building simple CRUD apps are often a single code-generation command in Phoenix/Rails/Laravel, and adding common features like Auth, Queues, Emails, File Uploads, etc. are similar.

The downside is that this is a stateful monolithic approach that requires a server running 24x7 and can break without some effort to cache and reduce the load on the database. They are also often memory-hungry frameworks.

The tradeoff for productivity is worth it in my view, for the vast majority of cases where it's just a small team of 1-3 developers.
> I think the general idea is not to contaminate planets with possible life so we can eventually study what completely different evolution circumstances produces.

History suggests that is not what will happen when we find a planet that harbors life sustaining conditions, even if our presence would destroy all life on it.

Homo sapiens' track record is one of self-interest and the (largely-ish, though sadly not mostly) unintentional devastation of life forms in human vicinity.

But I digress. When we discover a world with livable conditions, we will occupy it, fill the pace, mine it, etc. Native life on it will come under selective pressure. And that's not necessarily a bad thing.
Open source would be ideal but I imagine the reality of NDAs and proprietary bits and other lawyer stuff means most companies won't or can't. Which, fine, but if you cut off services for a cloud encumbered device in a way that will effectively brick it, you should at least be required to push a final update that lets it continue with whatever basic functionality is reasonable. None of this "we reserve the right for this thing to stop working arbitrarily when we feel like it" in the ToS, the maker is legally obligated to make it keep working if you ship a product like this.

It's an unrealistic pipedream, but one can hope.
The tools (and environments!) 30 years ago were better suited to solving the problems of 29 years ago than the tools are today in solving the problems of the upcoming year.

Specifically, our target environments distance us too greatly from the problem(s) being solved on the main/"happy" path.

Is there a WYSIWYG GUI builder for WWW/Android/iOS as good as Delphi was for win32 or Interface Builder for NeXTSTEP?

If not, then I have to waste a ton of time working on UI boilerplate code instead of the important & fun stuff.
https://www.theregister.com/2023/02/07/chinese_android_phone...
The Baofeng is what the parent you're replying to is talking about. I own it as well and it does have a nice display and one button copy. But I prefer the TIDRADIO TD-H3. Not as cool as the Quansheng in terms of hackable - but a phenomenal radio for the money. I bought more radios in the last year than I've bought in the last decade. I've got both Ham and GMRS licensing in the US.
I started learning FastHTML but somebody on reddit mentioned htpy. In my opinion htpy+fastapi is awesome combo. I like the way htpy handles declaring html components.

http://htpy.dev
In parallel with gea0's comment, using a Russian state-sanctioned exit node would make tracing efforts difficult-to-impossible for western government / law enforcement.
One limitation of using stripe as a backend, is that many online sellers end up using multiple marketplaces. I sell via my web store (stripe backed), via tindie, and via reverb.com. I started building an admin app to handle generating shipping labels and tracking order status. My initial version used stripe metadata to store all this, and it worked great - but once i started selling elsewhere, i had to use a traditional db backend to store data associated with those orders.
why pivot from airform to visualdb?? It kind of does everything now, so I don't know what exactly what it is for. what is the most used visualdb feature by users?
Be worried. :(
> I'm a non US citizen nor resident, never have been and probably never will be. Because of FATCA, I had to prove to my Eastern European bank (where I actually am a citizen) that I am not a "US person". That designation has no legal meaning, anywhere in my birth country, yet I had to sign a formal written declaration "I, NAME, declare under penalty of penal law, that I am not a US person", to be able to access my funds again.

Your bank was terrified of losing access to US markets, so your bank forced you to prove you're not a US person to be super safe about US tax compliance. Seems like your complaint is with your bank, not the US. You're welcome to bank with a bank that has different policies. I have had European bank accounts before and I've certainly never been asked to prove I am not a US person. (On the other hand, I was asked to sign an absurd amount of paperwork that had nothing to do with the US, because it's Europe, and you need thirty-four forms and a notary public to be allowed to even exist.)

> USA always overreaches.

The US doesn't care about you at all.
> selling a house can cause you to owe tax in the US even if you did not owe any tax in the country you are living in

But you’re not being double taxed.
Gives a new meaning to "manufacturing consent"
Kathy isn’t a people manager, the Times just has confusing titles for its data folks. Product managers and project managers likewise often have “manager” in their titles without being people managers. No one with direct reports is allowed to be a member of the union!
I got lucky. Won a million bucks early in the simulation and it took a while before the EV was negative again. Should have stopped right after winning a million, duh.
> Fallback drivers existed, because how else would Safe Mode drive the video card so you can see something to operate the borked computer?

If you use "fallback" in a colloquial sense, yes the VESA/VGA driver that Windows "fell-back" on was a fallback driver.

Fallback Drivers (proper noun) is a distinct concept of last functional or alternative drivers that Windows would use instead, if the primary one failed. They fell in-between Windows' generic drivers and your current installed one.

The latter is what is being referred to in this conversation.
Exploring Actions with Kaomojis! ( ๑•̀ㅂ•́)و

Kaomojis are not just cute; they can express a whole range of emotions and actions with simple characters. Recently, I’ve been diving into how actions can be represented in the world of kaomojis, and I’m amazed by how expressive they are! Let's check out some:

Feeling strong and ready to tackle your next project? Try this: (ง •̀_•́)ง
Stressed out after a long coding session? Release it with a sigh: ( ￣︿￣)
Celebrating the joy of a bug-free run? Get your victory dance on: (〜￣▽￣)〜
Maybe you just need to focus... `( ๑‾̀◡‾́)σ"
Kaomojis remind us that communication doesn’t always need to be complex. Sometimes, a few characters can express emotions perfectly! (＾▽＾)
Thanks for the write up, but that’s a bit more care and thought than I usually have. The outlined workflow is more, “I see a second change I need to do how should I prep for it”. Whereas I am more likely to do a bunch of work and try to separate it later. Again, not defending my workflow, just what I end up doing.

The other response with the ‘jj split’ example is exactly the kind of workflow I envisioned where you can supposedly move the chunks between commits.
Ask HN: What have you built with LLMs?
seems like a good time to ask again.

previous thread: https://news.ycombinator.com/item?id=39263664
Definitely. You start by showing me a comment defending google. All I could find is:

>People don't like google (neither do I, actually)

For the record, I am very confident that google is guilty with regard to these laws. I just also think that these laws are tailored by the EU to target large US companies like google as part of the EU's broader, anti-US tech economic policy.
I'm not had much luck with the "save money by not needed to get another battery" part. The local stores have only had the tools in the bundles which include the battery and charger.

Amazon has usually had the tool without a battery and charger but many more sellers had the tool with battery and charger and those were actually cheaper due to sale prices or due to the tool only not being Prime and having high shipping cost.

So I've ended up with the 3 batteries and 3 chargers for my 4 Black & Decker cordless tools. (It's only not one for one because the first purchase was a bundle of a string trimmer and hedge trimmer with one charger and battery).

I'll probably need to buy an oscillating multi-tool next summer and am thinking of going with something other than Black & Decker. That way the next time after that when I need a tool (probably a paint sprayer) my chances will be twice as good that I can find one unbundled that matches one of my existing battery systems.
And ripgrep
A number is also a string. Crazy, right?
Don't worry -- I can write bash scripts that eat all CPU too!
I'm honestly not sure what distinction you're trying to draw between them. Clearly any ordinary product can be used for nefarious purposes.

The distinction some people try to draw is when a higher proportion of a product's users are nefarious, but that doesn't really work either because who uses something can change over time.

If you have a society where nobody has window blinds or locks on their doors because it's a rural area and there is no one around to invade your privacy then locks will be disproportionately used by neerdowells "with something to hide", and then busybodies will claim that anyone with nothing to hide shouldn't be concealing their private spaces and anyone selling or using any privacy technology should be pressured to stop. Which sustains the status quo through external pressure even if someone does start invading everyone's privacy.

And that's what's been happening on the internet. Surveillance is the default, Cloudflare et al block Tor users as a matter of course and that drives normal people from Tor and similar technologies even though they would otherwise benefit from its use. People are told that it's the dark web where there are criminals and they shouldn't use it -- it being Tor Browser, the thing that keeps ad networks from tracking them across the internet.

Then after dispersing the normal users who would otherwise benefit from using it, people say that it has a lot of nefarious users to justify the continued harassment of anyone who does. But that's just path dependence, and there are parties interested in leading us down the garden path to mass surveillance.
Severity of CVD varies by person, so I can't speak to your personal experience. However, I'm better at that same task than my color-normal spouse because I favor other cues that aren't gamed as heavily as colors in modern grocery stores. It's intentional practice for stores to use things like ambiguous lighting and colorful packaging to enhance the "expected" colors of slightly underripe fruit, which in turn has been bred to appear beautifully colored even if not ideally ripe or fresh. These tricks are statistically effective on color-normal people too.
Thank you for showing our products for free. dofollow can also improve the product effect of the website
> they've already got building permits

By "permits," is he claiming he has an approved nuclear site license from the NRC? If so, where is this supposed to be happening?
I mean hell, you oughta just take that evidence to a publication! You could save the country ;)

Or just keep shitposting lazy cynical memes I suppose.
> and cultural background

Do you have any research on this, because I didn't think that culture had any effect on colorblindness. This is news to me.
One of the motivation for DBOS is that OSes were designed with orders of magnitude less state to manage than today. (e.g. linux >30 years ago). What's made to manage tons of state? A DBMS! :)
Raymond still works for Microsoft so he has to toe the company line.

On the other hand, articles from people like Andrew Schulman and Matt Pietrek (before he got bought out by MS) are far more explicit about the truth.

As for being more advanced than NT, it depends what you consider "more advanced"; a traditional OS, or a hypervisor? It certainly takes some effort to wrap your head around the VxD driver model of the latter, while the former is quite straightforward.
It's always exciting to see new approaches to code reviews - GitHub has its strengths, but it’s far from perfect.

For the scenario you’ve outlined, have you thought about splitting the 3 patches into separate, dependent pull requests? While GitHub doesn’t natively support this, the right code review tool (shameless plug - I’m part of a team building one called GitContext) should allow you to keep pull requests small while maintaining dependencies between them. For example, patch 3 can depend on patch 2, which in turn depends on patch 1. The dependency tracking between them - provided by the code review tool - can ensure everything is released in unison if that's required.

Each patch can then be reviewed on its own, making feedback more targeted and easier to respond to. You can even squash commits within a pull request, ensuring a clean commit history with messages that accurately reflect the individual changes. Better still, with the right tool, you can use AI to summarize your pull request and review, streamlining the creation of accurate commit messages without all the manual effort.

A good code review tool also won’t get bogged down by git operations like rebases, merges, or force pushes. Reviewers should always see only the changes since their last review, no matter how many crazy git operations happen behind the scenes. That way, you avoid having to re-review large diffs and can focus on what’s new. The review history stays clean, separate from the commit history.

I'd be curious if this approach to splitting up pull requests and tracking their inter-dependencies would address your needs?
Also, if you're doing regular code reviews, wouldn't that include making sure the comments are up-to-date?

As for the argument that it wastes time to update comments, I've never seen a codebase where the comments were so voluminous that it would be a significant burden to update them. Devs avoid updating comments because there is usually no penalty for doing so (boss doesn't call them on it, and the code still runs), and they think they've saved a few minutes when in fact they're just kicking the can down the road for the next dev who has to decipher the incorrect (or missing) comment.
I've been using the annoyingly-named superagent for a while for the same task, but it often seems to fail to detect some of these annoying boxes. I'll definitely give this alternative a try and see if it works any better.

Thank you so very, very much to the EU and whatever other government agencies are responsible for making the web more annoying to use.

https://super-agent.com/
Debian effectively does this. It doesn't actually implement the crates.io API, but when building a Rust package they tell cargo "look in this directory for dependencies, don't talk to the network".

As I understand it, the process goes something like this:

- Debian wants to package a Rust tool

- They examine the tool's Cargo.toml file to determine its immediate dependencies

- Those Rust dependencies are converted into Debian package names

- Generate a Debian package definition that lists those dependencies under "Build-Depends"

- When building the Debian package in an isolated environment, Build-Depends packages are installed, providing things like `rustc` and `cargo` as well as putting the dependencies' source into the "local dependencies" directory

- Cargo runs, configured to only look in the "local dependencies" directory for dependencies

- the resulting binary is scooped up and packaged
> and yet Oracle have maintained and allowed MySQL to see huge improvements

In the latest twist Oracle is adding things other Heatwave and not MySQL i.e. not open source.

It's an ever-changing situation.

> (hence MariaDB exists)

That's sort of the old take. Lots of new features aren't compatible on both sides. MariaDB has diverged. It just hasn't gained enough traction for those things to matter.
Namibia, China signs pact for its biggest solar plant
Interesting model! Where is this school, out of curiosity?

A long term side project of mine is to build a neighborhood that can sustain a model like what you’re describing so I’m always looking for inroads into the practice of it. I’ll dive into the Sudbury Model but keen for real world examples as well!
Not technically, but pratically yes. The chance of having a single letter "e" and everything else a number would be very rare for a full SHA1 hash. I'm not interested in doing the calculations but if anyone wants to do it, it sounds like a cool math problem to solve
They built a ton of stuff after those researchers were hired, including original gchat.

They stopped being able to build a chat app after different people were hired.
Bash + coreutils/busybox/etc are everywhere, I can take them for granted. I will have to jump through hoops to deploy Powershell outside of Windows.

I also have no desire to use Powershell when I don't need to.
completely agree every person who leaves detailed “unneccessary” comments like this has been bitten by coming back to a codebase a year+ later and going “who was the idiot that wrote this and why didnt they leave any clue behind” and realizing that yes, you were the idiot. or has had to come behind someone that left zero documentation or readable code and been tasked with cleaning it up. breadcrumbs are useful and comments cost nothing. yes, there are commit messages, but commits often aren’t super clean, explicit, coherent, or even looked at.
People out there trying build some semblance of AI out of an LLM using larger and larger networks of “agents” that generate, classify, revise and verify data using the same LLM they're building larger and larger networks of agents upon to try and build some semblance of AI.

The end game is a brain-sized network where each neuron is an agent sending a 1M token prompt to a 10T parameter model to update their "weights".
>don't emulate small talk and quirky side jabs. It's pathetic.

>all I can feel is sadness and how cringe it is.

Hm, really? I came to the opposite conclusion. I explained this to a friend who can see very little, and usually relies on audio to experience a lot of the world and written content - it is especially hard because a lot of written content isn't available in audio form or isn't talked about it.

He was pretty excited about it, and so am I. Maybe it's not the use case for you, and that's fine, but going "this is pathetic, no one is using it, le cringe" is a bit far.
Can't wait to hear some hallucinated alternative facts in a hot new podcast.
I actually did install the frequency block disable mod. Mine lives in my car as an emergency radio, so I figured might as well have the ability in an emergency (which is allowed) and just stick to frequencies covered by my amateur license normally. Granted the mod isn't really very useful since the radio performs very poorly out of band and sprays out interference, so I should probably just take it back off.

I don't think the FCC cares too much about mods like that on hardware that's meant for licensed amateurs. Amateur license covers all sorts of radio modifications, you're supposed to police yourself and manage what you have the right to do. It's actually using the mod to transmit out of band they would fine you for (theoretically... you're unlikely to get caught), not just having the ability. The thing that they get pissed off about is when people without a license can buy hardware meant for amateurs and easily use it out of band without really needing to do anything. That's what they've cracked down on in the past, especially shady importers on Amazon marketing unlocked amateur radios for bands like FRS.