HNHacker News
TopNewBestAskShowJobs

alanwreath

1,056 karma · joined January 22, 2019

submissionscomments
alanwreath··on Don't Use NixOS
this article actually served as a great Nix tutorial, and (having stepped away from Nix after getting burned with NixOS) I think I'll try it again since the author is still encouraging NixOS for the server edition on RaspBerry Pi's
alanwreath··on Get notified when Nancy Pelosi makes a trade
Agreed. Conflict of Interest.
alanwreath··on Beyond Hypermodern: Python is easy now
more Rye I see... seems like I'll have to spend a weekend and learn me some more
alanwreath··on China Building Twice as Much Wind and Solar as Rest of World Combined
Oil dependence is a risk. Chinas capacity to remove it makes them a more resilient. I wish the US would act accordingly.
alanwreath··on Intuit to Cut 10% of Employees in Latest Round of Tech Layoffs
Here's to hoping the current talent bleed doesn't affect on the Argo Workflows/Events/CD or Numa Projects.
alanwreath··on Self Documenting Code Is Bullshit
and code comments are eventually just lies...
alanwreath··on Python Has Too Many Package Managers
you mean it is in the process of happening? From this article it looks like Armin R. and Charlie M. are updating Rye use uv under the hood.

https://astral.sh/blog/uv

> As part of this release, we're also taking stewardship of Rye, an experimental Python packaging tool from Armin Ronacher. We'll maintain Rye as we expand uv into a unified successor project, to fulfill our shared vision for Python packaging.

alanwreath··on Psycopg 3.2 released – PostgreSQL driver for Python
Any lineage between these two libraries? Any reason to mention it here other than being a different driver?
alanwreath··on Chat Control Must Be Stopped – Now
It sounds like a solid idea (bot rejection anyone), but I wonder if governments would use it to quarantine users instead. Would I have to pay a bi-yearly fee to maintain and reissue my online passport?

All in all I would be willing to be quarantined if that meant the bots would suddenly die.

alanwreath··on TikTok Sues U.S. Government over Law Forcing Sale or Ban
Again, there must be value to China with regard to GPS data if they have spent so much effort in obscuring it for so long. Therefore it would make sense that there is an interest in harvesting it.

It shouldn’t be required of me to dream up scenarios that you may or may not agree with. You have no view into their government or our government either.

But to play the game, as you’ve already pointed out: anyone can determine military base locations without the thousands of social media accounts in TikTok that would dot those bases. So what could that give them? Correlation. I’m sure that there are plenty of different avenues they have to get intel on who works where, and as a government contractor we received plenty of training to avoid publishing it anywhere (e.g on LinkedIn or Facebook). Would a government, that harvests data for future use, limit itself to a few chosen avenues?

alanwreath··on TikTok Sues U.S. Government over Law Forcing Sale or Ban
It’s easy to dream up scenarios from something as simple as the way that China treats GPS: in addition to the regular block-google-maps-from-showing-military-bases they also use an entirely different system whose purpose is only to occlude real locations (https://medium.com/@anastasia.bizyayeva/every-map-of-china-i...)

TikTok harvests the very thing china occludes.

alanwreath··on Redesigned 11-inch and new 13-inch iPad Air
This 100%.

For the brief stint I had the Vision Pro, I was so confused Apple made sharing it so hard(and it really isn’t shared - it’s just there for the free taste because it is timelimit locked). But after a little thought it clicked:

Apple only loves the idea of the VisionPro if it means you never share.

Apple has always been a walled garden, so when the iPhone imposed it nobody blinked(there are/were tradeoffs, ok). But ever since the iPod, Apple has been all about the personal device. No more multiuser anything:

- iPod - iWatch - iPhone - iPad

It becomes super obvious what the “i” really stands for when you realize it was for a single person.

and now spatial computing, this new era where actual business is supposed to happen

- VisionPro

Even though the “i” isn’t there, it really should be. The power of cohesion between these devices is one of wonder. But the cohesion could still exist with standards. What we have with Apple is bad for the customer and any innovation outside apples limited interests.

I wish Britain would have went for the head and after the innovation stifling instead of the stupid port forcing. Also an innovation stifler.

alanwreath··on Unemployed: I spent the past month building AWS S3 from bare-metal
Love the attention to detail and particularly the end-to-end nature of this project. You even went as far to include gitlab. I’m on my lunch break but does gitlab use the object store for your pipeline artifacts (docker images, python packages, etc)?
alanwreath··on Svelte 5 release candidate (RC)
> The code looked simple and clean

I feel the same way, but after watching a couple of the videos Rich has put out I thought the main driver for the change were the “gotchas”. I have not done production Svelte development so I never really dealt with any of that. Given you’re background, are the caveats/pitfalls he mentions not common to your projects or do you just view the critique as newby problems?

alanwreath··on Svelte 5 release candidate (RC)
Where does Rich mention classes are mostly bad when using inheritance?

I don’t disagree, but I never got to hear/read his thoughts on that subject.

And yeah - I like the idea of defending any use of classes instead of reaching for them to brush your teeth. Some places (my current place) will reach for classes all the time without even the excuse of bundling state.

alanwreath··on Install Asdf: One Runtime Manager to Rule All Dev Environments
wait wuuut? I don't get it, I do this with asdf using the `.tool-versions` file. What's the difference/improvement?
alanwreath··on Gitea Enterprise
> which I do plan to contribute to

Let’s change that to

> which I also neglect contributing to

Not a dig against you personally, it’s just a sentiment that many adopt both personally and commercially (which is the more important of the two - given money is involved).

Publicly traded company I work at couldn’t do anything were it not for open source. Do we for pay a cent for open source? No.

alanwreath··on Gitea Enterprise
Where are they dropping open source?

Seems like they’re just adopting a common model of free open source offerings but with the carrot of enterprise management.

alanwreath··on US govt announces arrest of ex Google engineer for alleged AI trade secret theft
out of the loop here
alanwreath··on Prompt 3
dupe: https://news.ycombinator.com/item?id=39459606
alanwreath··on Prompt 3
As a user that recently moved from iTerm to Warp, I’m just now settling in (and loving it). I can see this being interesting when I’m on my iOS devices - then again if Warp made their terminal available as an SSH client like Prompt. I’d probably just go with warp because of the AI help which has just become so useful to me.
alanwreath··on Python Insider: Python 3.13.0 alpha 4 is now available
I think the BDFL’s do an automated review of project usage of the python batteries before they even deprecate a standard “battery”. And of course only when there is little to no community backlash with deprecation they move forward with removal.

Feel safe. But yeah watch for those deprecation warnings ( here are the upcoming ones thus far https://docs.python.org/dev/whatsnew/3.13.html#deprecated)

alanwreath··on Reasons to avoid static type checking in Python
Not sure what you mean, while it’s true that it would have been nice that Protocols were always the primary building block, as of python 3.8 they _can_ be depending on your use of Structural Typing https://peps.python.org/pep-0544/
alanwreath··on Layoffs are not the solution – Nintendo's Iwata (2013)
Love the perspective - I wonder if at least instead of just cutting 30% of the work force, the stipulation was only if the top brass also had to shed 30% of their salary/stock/benefits.

It would be nice if these serious movements were felt - and incentivized against.

Especially given that some CEO’s (along with their C-level coworkers) make more than ~1000 of the employees whose lives they are disrupting https://www.fastcompany.com/90955449/fast-companys-ceo-fair-...

alanwreath··on Performance Analysis of Python's Dict() and {}
never seen

    {*()}
    
but I guess it is equivalent to

    set()
    
I've noticed this in python in another place

    f"{var}"
    
is the same as

    str(var)
    
there was some other place I can't recall also noticing that (at least my perception understands that) Python is trying to kill my code golf tendencies.

That said, it's probably just my own superstition and of course it doesn't remove my premature optimization tendencies...

alanwreath··on Twitch Reverses Policy on 'Artistic Nudity' After Just Two Days
> morals our societies held for hundreds/thousands of years were held to justify slavery, blood sacrifice, antisemitism, genocide…

People will be people with or without religion, no need to make the leap and claim the reason for the season was to retain all the horrible practices you describe.

alanwreath··on Simplicity
loved the take and re-enforcement of a talk I’ve loved forever by Rich Hickey (famous for being integral to the creation of Clojure among other things) called “Simple Made Easy”

https://youtu.be/SxdOUGdseq4

Anyone know of any books that dive deeper into the subject?

alanwreath··on Alan Kay shows the Rand tablet [video]
Imagine the cpu this ran. Also it seems to have cost around $18k at the time it was created (~1960’s). So comparable to small house price.
alanwreath··on Reflect – Multiplayer web app framework with game-style synchronization
A lot. - Signed not the creator of the word reflect.

:)

alanwreath··on K3s – Lightweight Kubernetes
That can be said of many systems, does hashicorp document it though? I’m guessing they must, otherwise that would be the first thing you hear on the other side of a support call.
← PreviousPage 4 of 11Next →