HNHacker News
TopNewBestAskShowJobs

jaza

1,216 karma · joined March 27, 2014

submissionscomments
jaza··on Hacker News now runs on top of Common Lisp
Not me! For a number of years, I was like "what's with that domain, never heard of ycombinator, oh well, can't be bothered reading up on it right now, anyway, great content here, and nice minimal interface, I'll keep coming back".
jaza··on Trying to teach in the age of the AI homework machine
Yes, I've tried AI image generation, and while it's impressive, it's also - at the end of the day - just as bland and unoriginal a mashup of existing material as AI text generation is.

All humans (I believe!) have the potential to be that amazing. And all humans come up with amazing ideas and produce amazing works in their life, just that 99% of us aren't appreciated as much as the famous 1% are. We're all valuable.

jaza··on Trying to teach in the age of the AI homework machine
Back in my day, we also called it Garbage In Garbage Out.
jaza··on Trying to teach in the age of the AI homework machine
The "value of a human" - same in this age as it has always been - is our ability to be truly original and to think outside the box. (That's also what makes us actually quite smart, and what makes current cutting-edge "AI" actually quite dumb).

AI is incapable of producing anything that's not basically a statistical average of its inputs. You'll never get an AI Da Vinci, Einstein, Kant, Pythagoras, Tolstoy, Kubrick, Mozart, Gaudi, Buddha, nor (most ironically?) Turing. Just to name a few historical humans whose respective contributions to the world are greater than the sum of the world's respective contributions to them.

jaza··on The WinRAR Approach
I worked for a large-ish software company that had paid for a WinRAR license once upon a time, and that AFAIK still uses WinRAR for certain mission-critical tasks to this day. We often joked that we were the only people who had ever actually paid for a legitimate copy of WinRAR - although sounds like we were far from alone!
jaza··on Reinvent the Wheel
Valid points in the article and in many of the comments here. BUT: taken to the extreme, "yes, reinvent the wheel!" quickly becomes NIH ("not invented here") syndrome, which I've seen one too many times in enterprise stacks, as I'm sure plenty of you folks have too. We don't need no stinkin' wheels from the OUTSIDE!

I think every codebase needs a healthy and pragmatic balance of "this particular wheel we can and should build ourselves, and it'll work better (for us at least!) than any other wheels out there" vs "there is a standard wheel for this, 10 million other horse-and-carriages out there use the same wheel, it's not worth us using a non-standard wheel for this thing".

jaza··on Dependency injection frameworks add confusion
As a (mainly) Python dev, I'm aware that there are DI frameworks out there, but personally I haven't to date used any of them.

My favourite little hack for simple framework-less DI in Python these days looks something like this:

    # The code that we want to call
    def do_foo(sleep_func = None):
        _sleep_func = sleep_func if sleep_func is not None else time.sleep

        for _ in range(10):
            _sleep_func(1)

    # Calling it in non-test code
    # (we want it to actually take 10 seconds to run)
    def main():
        do_foo()

    # Calling it in test code
    # (we want it to take mere milliseconds to run, but nevertheless we
    # want to test that it sleeps 10 times!)
    def test_do_foo():
        mock_sleep_func = MagicMock()
        do_foo(sleep_func=mock_sleep_func)
        assert mock_sleep_func.call_count == 10
jaza··on Dependency injection frameworks add confusion
I think I can understand the boat you're in, bro. Both of the things that you don't do, I also didn't do for quite a long time, and I didn't particularly see the value in doing them (once upon a time); but I've been on a journey to make them part of how I code, and I'm pretty sure that I'm a better coder now than I was back then.

Writing tests for nearly all my code, in particular, is these days the only way I roll - and as for TDD (i.e. write the test and let it fail first, then write the actual code and make the test pass), I do it quite often, and I guarantee you that - contrary to your opinion - it makes coding a whole new kind of fun and creative. Dependency injection I still consider myself less of a ninja at, but I've done it (and seen it done) enough times now that I get it and I see the value in it.

I think it's a bit stupid for an employer to say "we'd never have hired you if we knew you had no experience in X" (sure, this doesn't apply to all skills, but I'd say it applies to quite a few). If you're worth hiring, then you'll pick up X within a few months on the job. I'm grateful to several past employers of mine, for showing me the ropes of TDD and DI (among many other things).

Anyway, I'm not saying that the above things are "the (only) right way to do it", and please don't take my above ramblings as making a judgement on your coding prowess. I agree, do what works for you. I'm just saying that there's always more to learn, and that you should always strive to be open-minded to new skills and new approaches.

jaza··on Is-even-ai – Check if a number is even using the power of AI
Great that this is a library. Really need this as a SaaS too. iseven.ai anyone?
jaza··on Changes since congestion pricing started in New York
Yes, there are a lot of people working in places in Sydney other than the CBD, and yes, a much higher proportion of those people drive to work.

And yes, there are still enough people who drive into the Sydney CBD in peak hour, to cause massive traffic (and to keep the carparks, aka parking lots, being very lucrative businesses!). Nevertheless, they're a minority - more than 75% of people commute to the Sydney CBD on public transport [1].

Also, re: traffic from Balmain in peak hour. Plenty of places you can be going to, eastbound on the Anzac Bridge, apart from the CBD! I'd say a significant number of those drivers would be heading north of the harbour to work (eg North Sydney, St Leonards / Crows Nest, maybe Chatswood, maybe Macquarie Park), and they'd be bypassing the CBD thanks to the Western Distributor (could also be connecting to Cross City Tunnel to eg Bondi Junction, also Eastern Distributor to Randwick / Waterloo).

[1] https://www.transport.nsw.gov.au/sites/default/files/media/d...

jaza··on Changes since congestion pricing started in New York
Wow - there's free street parking in Lower Manhattan?! Yep, there's your problem!

Here in Sydney Australia, we don't have any congestion charge (there's been some talk about introducing one, but it's not really on the cards at this time). But it's pretty much impossible to find parking in the CBD (Mon-Fri 9-5) for less than around AUD$60 (USD$40) per day. There is literally no un-metered street parking anywhere in the CBD (also the parking inspectors are everywhere). Plus many of the routes in are tolled (although by no means all routes). Plus, things like the numerous one-way streets, bus-only lanes (with cameras), and ultra-low speed limits, makes it an extremely unpleasant driving experience (with a high risk of getting fines), for folks who are used to just driving in the suburbs. All of that effectively acts as a congestion charge - most people choose public transport over driving, when heading into the city centre, because in practice the cost of regularly doing the latter is prohibitive.

jaza··on Changes since congestion pricing started in New York
My twins spent several hours in their stroller (bugaboo donkey) on many days, back when they were toddlers (a lot of that time being spent having their afternoon nap in the stroller). Living in Sydney Australia. Similar car-centric problems to most US cities. But I guess we're lucky to live walking distance from parks, supermarkets, childcare centres (and now school), and a train station. And the stroller fitted folded-up in the boot (aka trunk) of our (small hatchback!) car. And our train station (and our most common destination stations) has a lift (aka elevator - Sydney has successfully been rolling out a project [1] to install lifts in more and more of its ageing train stations over the past decade). I couldn't imagine having managed, back then, without a 2-toddler stroller.

[1] https://www.transport.nsw.gov.au/projects/transport-access-p...

jaza··on Plain Vanilla Web
Thanks for the JoS link, a thought-provoking read as always! (And it doesn't feel like a 23-year-old blog post - love your work Joel).
jaza··on Show HN: Clippy – 90s UI for local LLMs
It looks like you're one of the 1% of humans who still write letters themselves! Dear me, imagine that, what do you think this is, the 90s or something?! Would you like to join the other 99% of humans and doomscroll and shytpost while I write that letter for you?
jaza··on Technical analysis of the Signal clone used by Trump officials
If it quacks like the official Signal client, there's no way for the Signal network to know that it's otherwise.
jaza··on The One-Person Framework in Practice
Most slow queries / endpoints / things can be cached! But, of course, every time you stick a cache in front of something, now you have two problems...
jaza··on The One-Person Framework in Practice
I've been slowly / occasionally dipping my feet into Elixir / Phoenix dev over the past year or two, building an app idea that's been floating around in my head for a while. It's a bit of a steep learning curve for me, coming mainly from Python land (Django / Flask / FastAPI); I understand that it's designed to be a gentler learning curve for those coming from Ruby / Rails land. Phoenix is also a lot less mature / less feature-complete / less thoroughly-documented (than I had hoped, and) than Django / Rails (many of my Phoenix questions I've only found answers for in the forums, rather than in the official docs). Nevertheless, I agree, BEAM / Elixir / Phoenix is awesome, I'm hoping to get into it more in future.
jaza··on The Outlook for Programmers
Not a Scandinavian myself (Australian - halfway between the Nordic model and the US dollarocracy, and sadly sliding ever closer to the latter), so can't speak authoritatively. But I would have thought it's not so much about "getting the hell taxed out of you no matter what you do", but more about "getting decent pay and a massive social security safety net no matter what you do". Although either way, yes, makes sense to choose your career based on passion rather than paycheque. Which is why, for example, Finland (famous for its high standard of public education) AFAIK has a significantly less severe teacher shortage than most other OECD countries.
jaza··on Surprises in Logic (2016)
> The assumption is rather that human learning is computable

I don't think the assumption is even that strong! The skills that really set us humans above mere machines - i.e. causal inference, creativity, critical analysis, self-awareness - I don't think are assumed to be computable (IMHO there's no evidence as yet to suggest otherwise). The only skill that AI really currently possesses, is the ability to apply an ever-more-elaborate statistical aggregate function to data. The assumption is just that anything that can be encoded as data, can be operated on to produce an ever-more-elaborate aggregate result.

jaza··on The Outlook for Programmers
> 74% of 200 IT professionals surveyed worried their jobs will be replaced by AI tools

Seriously? I can't speak for that 74%, but personally, I'm not worried. AI is not that smart, and my job is not that dumb. And I'm just a garden variety (non-AI-specialising) Python back-end dev.

How about the rest of y'all? Are you worried or are you meh?

jaza··on $70M in 60 Seconds: How Insider Info Helped Someone 28x Their Money
Surely the number one suspect for having made this trade, is Trump himself (and/or his immediately family)? Nobody knew better exactly what would be announced and when, than the guy who did the announcing. Ownership could be hidden behind trust / shell structures, possibly indefinitely, or at least until it's too late for anyone to do anything about it (although in Trump's America, I doubt that anyone could do anything about it anyway). We already know that he's unscrupulous and unprincipled. We already know that he's an indicted felon.
jaza··on Why Companies Don't Fix Bugs
Obligatory xkcd: https://xkcd.com/1172/
jaza··on Oracle customers confirm data stolen in alleged cloud breach is valid
There are 4 big clouds? I had only ever heard of the big 3 mentioned until now (AWS, Azure, GCP). From a quick search, appears that the 4th is Alibaba Cloud.
jaza··on A love letter to the CSV format
This. I got burnt by the encoding and other issues with CSV in Excel back in the day, I've only used LibreOffice Calc (on Linux) for viewing / editing CSVs for many years now, it's almost always a trouble-free experience. Fortunately I don't deal much with CSVs that Excel-wielding non-devs also need to open these days - I assume that, for most folks, that's the source of most of their CSV woes.
jaza··on “Vibe Coding” vs. Reality
Oh god. Fixing an excel spreadsheet full of crazy macros was my first job too. The nightmares still haunt me.
jaza··on The Frontend Treadmill
I'm a back-end dev, I've avoided being paid to do any front-end work (and/or my bosses have avoided paying me to do any front-end work? hahaha) for getting on a decade now. So no doubt front-end devs will cringe at what I'm about to say (not that I care!). But for the occasional personal front-end stuff that I still do, my "dependency management" is just "copy-paste versioned CDN script tags / CSS link-rel tags into my index.html file". Which is equivalent to (but better than) old-skool copy-pasting into a "vendor" directory" (which of course I also did, back in the day). And my "front-end build system" is just "write vanilla javascript in .js files and include it un-minified un-typescripted un-anything via script tags". I've got better things to do in my spare time, than deal with npm / gulp / yarn / whatever they've invented this week.
jaza··on Repealing the CHIPS Act risks US national security
Much of the money has already been spent, the new fabs are already operational slash well into construction, so repealing it now shouldn't do that much damage. But it'll still do some damage, and it's still a stupid move, but hey, them's the times we live in.
jaza··on Happy 20th Birthday, Y Combinator
Thanks for existing, HN! And thanks to everyone that makes it awesome. My no. 1 stop on the interwebz for going on 10 years now. Please keep being the only not-s** online community left standing.
jaza··on Calendar.txt
I don't like that week numbers are (documented as) mandatory. I wouldn't see myself grepping on a week number. I'd end up constantly looking up the correct week number in order to annotate each event properly, with no benefit in return. Then again, could write a macro/plugin thingy for one's editor of choice, to fill in the week number for you (ditto for day of week, which I would at least find quite useful, but which would similarly be a right pain to have to fill in manually all the time).

Also: claims to be "one thing per line", yet allows and encourages multiple events on one line (as long as they're on the same day). This is a calendar - is an event not the main "thing" we're dealing with?!

jaza··on I Went to SQL Injection Court
That would be against the separation of powers doctrine inherent in all Western democracies. The job of the legislature is to write the law. The job of the judiciary is to interpret the law.

Besides, when the law is ambiguous, it's very often because the legislature themselves weren't sure what they intended, and/or because the legislature had deeply divided views and arrived at ambiguous wording as a compromise, and/or because the legislature used their "somebody else's problem" prerogative i.e. they said "let's leave that for the courts to decide". Ambiguously worded laws isn't a bug, it's a feature!

← PreviousPage 4 of 15Next →