HNHacker News
TopNewBestAskShowJobs

jaza

1,216 karma · joined March 27, 2014

submissionscomments
jaza··on What if every city had a London Overground?
Works for me from Australia
jaza··on Web apps in a single, portable, self-updating, vanilla HTML file
It's been too long! Off to The Oatmeal I go...
jaza··on Litestar is worth a look
Nice write-up! I've heard about Litestar now and then, haven't tried it, maybe I should give it a go. I've been using FastAPI quite heavily for the past several years.

I think OP's arguments about FastAPI being hard to work with in a bigger codebase are exaggerated. Splitting up the routes into multiple files, each with its own route object, and then importing and building up a big hierarchy of route objects, isn't that hard, it does the job for me. Agreed that it's probably not well documented enough, how to structure a larger FastAPI codebase - but follow a mix of best practices and your personal tastes, break it up into modules, split it into specific files for constants / errors / routes / schemas / crud / etc, and you can scale up sanely.

I haven't used SQLAlchemy with FastAPI - for my day job I mainly connect to data stores for which it doesn't make sense - so maybe I'm biased, because I've avoided that pain.

jaza··on Objects should shut up
Seriously?! I wouldn't know, my Pixel 3 and its stock earphones are still going strong. I'll have to save the earphones for my next phone. :P
jaza··on Objects should shut up
This is why I've never used wireless earphones (I just use the stock wired earphones that come with the phone). Sure, the wires are tangled every time I pull them out of my pocket. But they never need charging! That, plus a loathing of Bluetooth.
jaza··on Objects should shut up
When everything is urgent, nothing is urgent
jaza··on Fast
Heck yes! I recently dusted off (had to literally dust the inside of the cartridges to get past a black screen, lol) my old Sega Genesis (and bought an HDMI adaptor for it), and have been letting my school age sons play it. They haven't even commented on the basic graphics. They're like "wow dad, no boot time, no connecting to server time, no waiting to skip ads time". They love it.
jaza··on Fast
We're pretty lucky here in Australia. Over the past decade or so, PayID has been successfully rolled out to virtually all banks, giving us free and (usually) instant money transfers - I'd say more than half of all personal payments are now done with PayID. Old-skool bank transfers are still the norm for business and administrative payments, but that's changing too, and in any case, those transfers are increasingly being executed behind the scenes over Osko (aka PayID), so they end up settling in seconds (or at least hours) instead of days.
jaza··on What went wrong for Yahoo
I miss Yahoo Games. My favourite was dominoes, many hours spent in there as a teenager. The only Yahoo thing I've accessed for the past decade or so is Finance, the stock price info and the investing news seems to still be reasonable.
jaza··on BGP.Tools: Browse the Internet Ecosystem
See "List of assigned /8 blocks to commercial organizations" at: https://en.wikipedia.org/wiki/List_of_assigned_/8_IPv4_addre...

Mercedes-Benz isn't the only corporation with its own /8 block - although it is the only non-US one; and it's a pretty small exclusive list, only six in total. I guess someone at Mercedes-Benz just happened to hear about this Internet thing relatively early (53.0.0.0/8 was registered Oct 1993 according to Wikipedia - the relevant European authority, RIPE NCC, was only founded in Apr 1992), and/or happened to have a buddy at IANA / RIPE NCC, and the rest is history.

jaza··on Local LLMs versus offline Wikipedia
In Landru we trust
jaza··on The year of peak might and magic
Amen!
jaza··on LLM Inevitabilism
Computer scientists in the ~1970s said that procedural languages are a miserable medium for programming, compared to assembly languages.

And they said in the ~1960s that assembly languages are a miserable medium for programming, compared to machine languages.

(Ditto for every other language paradigm under the sun since then, particularly object-oriented languages and interpreted languages).

I agree that natural languages are a miserable medium for programming, compared to procedural / object-oriented / functional / declarative languages. But maybe I only agree because I'm a computer scientist from the ~2010s!

jaza··on Australia is introducing age checks for search engines like Google
Sounds like Australian kids will just use private / incognito browser windows (aka porn mode) even more than they do already. I fail to see what this new "policy" will achieve, apart from my above point, plus serving as an excuse for Google and pals to subject users to ever more facial recognition and to brazenly collect ever more personal data.
jaza··on Archaeologists unveil 3,500-year-old city in Peru
Because now it has been "unveiled"! I guess it was wrapped in cellophane before...

Probably timed to coincide with the peak of the tourist season in Peru. Dry season is May-Oct (not at all advisable to visit Machu Picchu in the wet season). Jul-Aug is summer holidays for Europeans, who are the biggest cohort of international tourists in Peru (and summer holidays for North Americans). And Peru's independence day is 28 Jul, so locals take an (often extended) long weekend, so a bit of a spike in domestic tourism coming up too.

jaza··on AI is turning Apple into a "loser"
I'm a notorious Apple hater, so I can't say I'll shed a tear if Apple does take a sizeable hit. But then again, I'm also a big sceptic of the AI hype wave currently gripping the world. My bet is that it's the latter, not Apple, that has 24 to 36 months left to live.
jaza··on Sam Altman Slams Meta’s AI Talent Poaching: 'Missionaries Will Beat Mercenaries'
I wouldn't worry, I forecast we'll have peace in the Middle East before we have true AGI.
jaza··on Sam Altman Slams Meta’s AI Talent Poaching: 'Missionaries Will Beat Mercenaries'
So then, is "headhunting" more or less bad?
jaza··on Facebook is starting to feed its AI with private, unpublished photos
No, I'm pretty sure they're stealing souls. That or kidneys.
jaza··on uv: An extremely fast Python package and project manager, written in Rust
Switched all my python stuff to poetry several years ago. Still kinda tired and shagged out from that endeavour. Yeah yeah, ok ok, if y'all keep raving THIS much about uv, I guess it must be pretty good ... still, sigh, yet another One True (tm) python package management solution. It's on my todo list, I'll get around to it, I reckon within the next 12 months, currently I have no pressing need to move away from poetry.
jaza··on Now might be the best time to learn software development
Hahaha... so ChatGPT-generated Node / React apps is the new Excel with VBA macros!
jaza··on Now might be the best time to learn software development
Please share your writings more often. Nuclear attack combines, bring it on!
jaza··on Magistral — the first reasoning model by Mistral AI
Sounds to me like "immigration in Lisbon or in Paris or in both cities or in neither city" is a trick question, because (on top of immigration in Lisbon as the Schengen entry point) surely the traveller also needs to clear immigration in Sao Paulo (as the Brazil / Mercosur exit point)?
jaza··on What happens when people don't understand how AI works
Thanks for this, it should be added to school curricula worldwide!
jaza··on The wire that transforms much of Manhattan into one big, symbolic home (2017)
Yep. The St Ives one involved a fairly protracted debate at the local council, with accusations of anti-semitism (whether warranted or not is a matter of opinion) being levelled at those who argued against it.

Although I don't know if the Bondi and/or the St Ives eruvs involve their own physical wires? I thought it was deemed sufficient for the rabbis to just "declare" various sets of third-party power lines / phone lines as constituting the eruv, or am I mistaken?

jaza··on The wire that transforms much of Manhattan into one big, symbolic home (2017)
Imagine that a whole nation's statute laws, and associated common laws, were frozen in time for over a thousand years, because (the statutes were declared to be immutable canon, and) any judges with sufficient authority to strike out old common law and to establish new common law were long gone. That's Judaism (specifically the Talmud)! (Speaking from experience as a Jew.)

The "eruv" definition was established back when the biggest conceivable area that it might cover was that of a medieval village or ghetto, of maximum several hundred (small cramped) houses, i.e. let's say about the area of Vatican City, which is 0.49km2 (0.19 sq mi). Whereas the total area of Manhattan island is 59km2 (22.7 sq mi). So, yes, in my opinion, a Talmudic judge would consider the modern-day Manhattan eruv a gross perversion of the spirit of the law, and would update the definition accordingly. But no such judge exists in this era. So, yay, let's play "how ridiculously can we apply anachronistic archaic rules to the modern world" - apparently, ultra-orthodox Jews consider it such a fun game, that they let it rule their entire life!

jaza··on LLMs and Elixir: Windfall or deathblow?
My conclusion from this is: ChatGPT is the new Google, so LLM hints is the new SEO.
jaza··on Hacker News now runs on top of Common Lisp
It remains an unsolved problem! For example, Facebook's "solution" was to buy Instagram.
jaza··on Hacker News now runs on top of Common Lisp
Centralised and heavily censored, yes, but AFAICT the censoring by-and-large respects free speech and diversity of opinion, while effectively stopping spam / abuse, and thus maintaining the high quality of content that keeps us all coming back.

And surely HN is way less monetised (and therefore way more trustworthy) than virtually every other links site / every social media platform out there?

jaza··on Hacker News now runs on top of Common Lisp
Ah yes, the ol' default empty list Python gotcha, it bit me I think about 10 years ago, and ever since, sadly I've written code like this so many times it's not funny:

    def fun(a = None):
        _a = a if a is not None else []
← PreviousPage 3 of 15Next →