HNHacker News
TopNewBestAskShowJobs

fnord123

4,679 karma · joined February 25, 2007

submissionscomments
fnord123··on US appeals court rules AI generated art cannot be copyrighted
> Now on the other hand...if you dropped your phone, and a stranger with no prior interaction picked it up, and pressed the button, then you can argue that they own the copyright.

If they've performed an Unauthorized Access to a Computer System then they may want to drop any copyright claim.

fnord123··on uv downloads overtake Poetry for Wagtail users
>but what's the value of uv over pdm beyond performance

uv is not written in python so it doesn't suffer from the bootstrap problem of having a python version installed to begin using it. Users (new and even experienced) get confused and annoyed when they try to use python tooling in the same venv as their application instead of using pipx.

People also get confused and annoyed if they use mac and run `brew upgrade` and find themselves with python 3.13 or just any version that is new (yes we can pin to python@3.11 or whatever) so pyenv is a good option.

So now you have pdm, pipx, and pyenv to manage all this stuff. With uv all this hassle goes away.

fnord123··on Why Can't Hashes Just Agree on Endianness?
Pythons hash method returns int. I guess changing it to return bytes will be something for Python 4.
fnord123··on Fair Pricing
More importantly you can tell investors you have even more accounts than you do and your churn rate is very low.
fnord123··on Translating 10M lines of Java to Kotlin
> how function pointers at the end of a method call can be auto-inserted as the next curly bracket

This is one feature I wouldn't mind making it into other languages. It makes so much sense for doing UI stuff.

fnord123··on A new home for Python-build-standalone
For people as puzzled as me by the Nebraska reference, I think it's referring to this well known XKCD post:

https://xkcd.com/2347/

fnord123··on Cybertruck's Many Recalls
> And which Lamborghini specifically?

It's faster than a Lamboghini Spire.

fnord123··on A mistake that killed Japan's software industry? (2023)
That breaks down as soon as you leave Asia. In Europe, most people attribute it to whether the country prefers subs v dubs. SK and Taiwan use subtitles for foreign media so they hear English language. In Japan, it's more common to dub.

This is mirrored in Europe where countries using subs (Norway, Sweden, Netherlands, etc) have better English language skills than dub countries (France, Germany, Spain).

fnord123··on Async Rust is not safe with io_uring
> First of all, we are fortunate that the I/O safety problem can be addressed now, which safe Rust aims to ensure this in the future. Rust provides the Drop trait to define custom behavior when a value is cleaned up. Thus, we can do something like this...

> We just need to encourage async runtimes to implement this fix.

This likely needs async drop if you need to perform a follow up call to cancel the outstanding tasks or closing the open sockets. Async Drop is currently experimental:

https://github.com/rust-lang/compiler-team/issues/727

fnord123··on Steve Ballmer was an underrated CEO
> Steve Ballmer: developers developers developers developers developers - https://www.youtube.com/watch?v=Vhh_GeBPOhs

If you haven't seen the remix, here you go: https://www.youtube.com/watch?v=1gI_HGDgG7c

fnord123··on Steve Ballmer was an underrated CEO
A rare miss by Mr. Luu.

> Ballmer wins... 2010: Microsoft creates Azure

The Azure project was run by Nadella before he became CEO. And it succeeded despite Ballmer. Azure was seen as the Microsoft cloud, where people ran Windows Servers. But Microsoft had long lost the battle for the server space to Linux.

When Ballmer stepped aside, only then could Nadella drop the limiters and push the Microsoft <3 Linux perspective to get the message out that Azure is a home for Linux workloads too.

fnord123··on Show HN: Bringing multithreading to Python's async event loop
Hadoop >=3.3 supports Java11.
fnord123··on The expected value of the game is positive regardless of Ballmer’s strategy
> I’m thinking of a number between 1 and 100.

I guess this is part of the clarifications one normally asks when in an interview setting, but he has specified numbers and not integers. One could choose (pi*2)/2 and you will owe a lot of money.

fnord123··on Launch HN: Patchwork (YC S24) – Automatically add structured logs to your code
> Refactoring the logs in existing code bases today is a manual slog.

slog is shorthand for structured logs[1][2][3][4]. So refactoring the logs [without a tool] is manually converting them to a slog. You have a great pun on your hands.

> Speaking from experience?

I have a notebook laying around with a loose plan on how to get the most compression possible out of a log file. It would use ML to figure out what the log strings would be - but I think your idea of scanning the executable is even more clever. Anyway, once it knows the log strings you can probably stuff it into off the shelf column storage for great compression rates. And if the compression rates are good enough then searches should be much much faster as well.

Who do you reckon are the more important existing competitors? Grafana labs or Sonarqube?

[1] https://github.com/slog-rs/slog

[2] https://github.com/gookit/slog

[3] https://github.com/kala13x/slog

[4] https://pkg.go.dev/log/slog

fnord123··on Launch HN: Patchwork (YC S24) – Automatically add structured logs to your code
> Refactoring the logs in existing code bases today is a manual slog.

Nice.

fnord123··on FreeBSD considers Rust in the base system
It's a good question but I have no plans to write a script that walks mercurial history and plots the relative percentages of the code based on language.

If you find the time and urge I'd be interested to know the results.

fnord123··on The 4-chan Go programmer
> what exactly is wrong with this approach?

Before Go had iterators, you either had callbacks or channels to decompose work.

If you have a lot of files on a local ssd, and you're doing nothing interesting with the tree entries, it's a lot of work for no payoff. You're better off just passing a callback function.

If you're walking an NFS directory hierarchy and the computation on each entry is substantial then there's value in it because you can run computations while waiting on the potentially slow network to return results.

In the case of the callback, it is a janky interface because you would need to partially apply the function you want to do the work or pass a method on a custom struct that holds state you're trying to accumulate.

Now that iterators are becoming a part of the language ecosystem, one can use an iterator to decompose the walking and the computation without the jank of a partially applied callback and without the overhead of a channel.

fnord123··on FreeBSD considers Rust in the base system
Of the 32,373,275 lines in Firefox that tokei reports, 3,439,065 is Rust. 5,740,010 is in C (C + C Headers). And 5,643,721 is C++ (C++ + C++ Headers). 7,343,459 is JS.

Using the "Code" column to ignore comments and blanks.

This is based on the mozilla-central-78a5d30a370f bundle.

(Also, holy crap it took tokei 10m to run this analysis).

fnord123··on ChartDB – Free and open source, database design editor
Why does the page have so much scrolling jank for a static landing page?
fnord123··on $50 2GB Raspberry Pi 5 comes with a lower price and a tweaked, cheaper CPU
They don't sell gen 1 RPIs anymore so you can't track the price inflation for that product.
fnord123··on Encyclopedia of Optimization
> ebook: 1817.93 eur

Wtaf.

fnord123··on How to let go: Jake's life ends as his daughter's begins
Mods should update the link to your first url.
fnord123··on Getting Your DBA Teams Scripts into Git
Until the UI changes and a button moves or is renamed.
fnord123··on Getting Your DBA Teams Scripts into Git
I've never seen so many screenshots for a git tutorial. Are windows users ok?
fnord123··on How to waste bandwidth, battery power, and annoy sysadmins
If the CDN returns a 404 or the origin server, then your satellite phone is still waiting.
fnord123··on How to waste bandwidth, battery power, and annoy sysadmins
404s don't get cached. At least I don't configure anything to cache them.
fnord123··on How to waste bandwidth, battery power, and annoy sysadmins
Now let's see the savings from not talking to ad servers and running the Javascript from those trackers.
fnord123··on What Happened to People Magazine?
Indeed. The day that advertising is integrated into LLMs so they only promote sponsored lemonade we'll have to make the LLMs take the lemons back! Get mad! We don't want their damn lemons!
fnord123··on Did Apple kill the MicroLED industry?
The plot showing cost/performance has it increasing; so it's more expensive per unit of performance as time progresses. Surely that's backwards.
fnord123··on Loop: Open-source macOS window manager
You can sell GPL software. But the purchasers can then turn around and distribute it: https://www.gnu.org/licenses/gpl-faq.html#DoesTheGPLAllowMon...
← PreviousPage 3 of 34Next →