HNHacker News
TopNewBestAskShowJobs

EdwardDiego

10,889 karma · joined September 25, 2013

submissionscomments
EdwardDiego··on A year of uv: pros, cons, and should you migrate
Joe has found the One True God, Joe must proselytise, the true God demands it.
EdwardDiego··on A year of uv: pros, cons, and should you migrate
Because Rust isn't Python.

Feel like that's super-obvious but yet here we are.

EdwardDiego··on A year of uv: pros, cons, and should you migrate
Yeah, I don't want my build tool to manage my Python, and I don't want my tool that installs Pythons to manage my builds.

In JVM land I used Sdkman to manage JVMs, and I used Maven or Gradle to manage builds.

I don't want them both tied to one tool, because that's inflexible.

EdwardDiego··on A year of uv: pros, cons, and should you migrate
> And I had to deal with Scala's SBT ("Simple Build Tool") in another life.

I feel you.

EdwardDiego··on A year of uv: pros, cons, and should you migrate
I come from the viewpoint that I don't want my build tool to install my Python for me.

In the same vein, I don't want Gradle or Maven to install my JVM for me.

In JVM land I use SDKMAN! (Yes, that's what the amazingly awesome (in the original sense of awe: "an emotion variously combining dread, veneration, and wonder") concretion of Bash scripts is called).

In Python land I use pyenv.

And I expect my build tool to respect the JVM/Python versions I've set (looking at you Poetry...) and fail if they can't find them (You know what you did, Poetry. But you're still so much better than Pipenv)

EdwardDiego··on A year of uv: pros, cons, and should you migrate
No, it's the fact that it's a rather new PEP, and our IDEs don't yet support it, because, rather new.
EdwardDiego··on A year of uv: pros, cons, and should you migrate
As an example of an edge case - you have Python dependencies that wrap C libs that come in x86-64 flavour and arm-64.

Pipenv, when you create a lockfile, will only specify the architecture specific lib that your machine runs on.

So if you're developing on an ARM Macbook, but deploying on an Ubuntu x86-64 box, the Pipenv lockfile will break.

Whereas a Poetry lockfile will work fine.

And I've not found any documentation about how uv handles this, is it the Pipenv way or the Poetry way?

EdwardDiego··on A year of uv: pros, cons, and should you migrate
1 file, 2 files, N files, why does it matter how many files?

Use a lock file if you want transitive dependencies pinned.

I can't think of any other language where "I want my script to use dependencies from the Internet, pinned to precise versions" is a thing.

EdwardDiego··on A year of uv: pros, cons, and should you migrate
It's not a feature that's exclusive to uv. It's a PEP, and other tools will eventually support it if they don't already.
EdwardDiego··on Why Quantum Cryptanalysis is Bollocks [pdf]
I've heard his name, but after reading this, I'm calling him a national treasure now.

Right after I launch my new cryptocurrency QuantumDog.

EdwardDiego··on Did missing/corrupt dates in COBOL default to 1875-05-20?
Yeah, exactly, and no-one can see Musk is tweeting about either.

But we're generally assuming that he's clinging to anything that justifies a pre-existing narrative.

EdwardDiego··on Did missing/corrupt dates in COBOL default to 1875-05-20?
That makes a lot of sense.
EdwardDiego··on Sunsetting Create React App
It wasn't like that when it first came out, from my experiments with it when it was first released.
EdwardDiego··on Sunsetting Create React App
When was JQuery winning against Mootools and Prototype etc.?

Roughly that many days.

EdwardDiego··on Sunsetting Create React App
Okay, I'm verrrry out of date with frontend dev, but didn't React used to be a framework?

Now they're recommending you use frameworks? That are presumably built on top of React?

So what is React exactly these days? Feels like it's a shadow DOM renderer that's become a defacto API?

Like, you could use a component written for one React based framework, in another React based framework, and it'll just work?

Does React still provide routing and/or state management? Or has that been devolved to frameworks?

Wait a minute, has React become the J2EE of front-end?

EdwardDiego··on If you ever stacked cups in gym class, blame my dad
Every sport is more competitive with the threat of drowning.

Especially fencing.

EdwardDiego··on If you ever stacked cups in gym class, blame my dad
Love that the Kiwis turned up as the All Stacks (derived from the All Blacks).

We've also the Wheel Blacks for wheelchair rugby, the Tall Blacks for basketball, and of course, then in cricket it's the Black Caps. (A "cap" in cricket is when you get to play international cricket).

And of course the infamous time the national badminton team tried to call themselves the Black Cocks.

National soccer team is the All Whites.

And womens' sports teams tend to derive from the Silver Ferns (national netball team), plus a reference to their code.

So Black Ferns, rugby, White Ferns is not soccer as you'd expect, but cricket (the traditional "cricket whites" are only worn in test cricket these days), the soccer team is the Football Ferns.

And I'm unsure if there was ever a Fern Cocks badminton team.

EdwardDiego··on If you ever stacked cups in gym class, blame my dad
Why is cricket a thing, why is dressage a thing, why is underwater polo a thing?

Because people enjoyed them so did them.

EdwardDiego··on Resigning as Asahi Linux project lead
Always enjoyed the meme that it's a syntax error without wearing stripey leggings and/or cat ears.
EdwardDiego··on Words flagged in search of current NSF awards
It's a strange hill to die on brother.

But you do you.

EdwardDiego··on Fruit of the Poisonous Llama? (2023)
I think you're focusing on one paragraph to the detriment of the rest of the article.

Also, not sure what was going on with your word salad there, but it really started to make no sense around this point "hyper hyperbolic information layer (emerging and part/parcel of human consciouness)"... maybe this is some Lesswrong insider slang?

That's my most charitable interpretation.

EdwardDiego··on Fruit of the Poisonous Llama? (2023)
I think you're focusing on one paragraph to the detriment of the rest of the article.
EdwardDiego··on To buy a Tesla Model 3, only to end up in hell
The Musk aspect is pertinent in the respect that he's mythologised for his innovation in Tesla and SpaceX while his detractors state that he merely bought into innovative companies, and they had to actively manage him to minimise his interference.

So in one view, he is indeed the guru of legend, and is responsible for the successes of Tesla and SpaceX, so a good candidate to refactor the federal government.

However, if he's responsible for their success, he's responsible for their failure. And this is a massive failure in manufacturing, in quality control, in after-sales service, and in just plain ol customer service.

But, if he's just a canny investor and his best companies succeed by insulating the company from him, then why the fuck is he touching the federal govt systems?

As for "buying a car in a country with no service" - the parts shortage looks to be global, so local market wouldn't help that.

EdwardDiego··on The FAA’s Hiring Scandal
> Likely yes.

Love the in-depth analysis they use to answer that question...

EdwardDiego··on Words flagged in search of current NSF awards
"A systematic review of studies on the possible relationship between high lead levels in soil, and rates of unaliving."
EdwardDiego··on Words flagged in search of current NSF awards
You're really offended by these linters huh.
EdwardDiego··on Payments crisis of 2025: Not “read only” access anymore
Maybe market sentiment is an expression of faith in the US legal system? He said hopefully?

Or maybe the market expects certain people to get richer shortly? He said cynically.

EdwardDiego··on El Salvador abandons Bitcoin as legal tender
Yes, but why.
EdwardDiego··on Framework Fatigue: The Real Reason Developers Get Angry About New Tech
I think you misunderstood my post.

The "adopting a tech with minimal thought" bit was about high level decision making.

I have no particular thoughts on Vue's newness or oldness because front-end JS is a frantic treadmill that I'm glad to not be involved in.

As for "would I hire a Rails guy for Zend?"

As I said, unless I'm desperately patching holes in a sinking boat, where I need you to jump right in and man the bilges with your indepth $framework knowledge, I hire first and foremost for a proven ability and willingness to learn and an attitude that makes you a good team fit.

You could be Rasmus Lerdorf and I'd reject you if you weren't interested in learning new things, and I'd reject you if you were an asshat, even if you're the best Zend developer ever, because if you're an asshat, you're going to lower the productivity of my team.

So would I hire a "Rails guy" for Zend? Yes. It's not like a Ruby framework is so massively different to a PHP framework that you need 10 years of Zend to make the transition.

But then, I'm biased,I self-taught in Python, focused on Django 1.0, got hired by a Java shop, started in Tapestry, then Wicket, then focused on backend, then went to RH to work on an K8s operator built on Vert.x, then ended up working at a Python shop 15 years after my previous in-depth usage of Python, working on a Django 4.0 app, and then FastAPI apps, even though I'm not a "FastAPI guy" nor a "Django guy".

Funnily enough though, I am a "Kafka guy", but now so are a bunch of my colleagues because I focus on sharing the knowledge.

To be clear, I wasn't hired to be a Django guru, or a FastAPI one, I was hired to implement code that satisfies business needs, in a manner that involves Django or FastAPI.

And yep, I've learned a shit ton about modern Django, but I've been productive since day 1. Because I enjoy learning and want to learn.

So yeah, I'm totally hiring that Rails person for Zend work if they've got the right mindset and the right fit.

EdwardDiego··on Younger cannabis users have reduced brain function, finds largest study yet
Sure, I very much agree. My anecdotes contradict the previous anecdotes.

Is it QED? No, the best that can be hoped for is, "Hmm, that's interesting".

← PreviousPage 18 of 34Next →