HNHacker News
TopNewBestAskShowJobs

rangerelf

488 karma · joined June 27, 2018

[ my public key: https://keybase.io/gcordova; my proof: https://keybase.io/gcordova/sigs/SdYBpVDPcOQ7qLKWPmhfiQEL0gAluWeH5xXX4ux1dmg ]
submissionscomments
rangerelf··on Printf Oriented Message Protocol
I think that would be up to you; just use a union struct with that data and send/receive the corresponding int.
rangerelf··on Serena: An experimental operating system for 32bit Amiga computers
Heh, that made my morning. I was reading the specs on the cube and grinning like a fool.

Thanks for sharing this.

rangerelf··on East Germany invented 'unbreakable' drinking glasses
> i'm not sure whether to blame this kind of line extension fraud on unethical management, on consumers who can't tell the difference and consequently buy such fraudulent products whenever they're cheaper, or on poorly-thought-out regulations

Porqué no los tres? CEOs pursuing yet another vacation home, under-educated consumers that lose their minds over 'saving' 1c ("$5.00" too expensive "4.99!" OHH THIS ONE!!), and regulators either with a private-sector agenda or who have no teeth because Congress is politically compromised.

There's more than enough blame to spread around.

rangerelf··on WD announces enterprise 128TB SSD
OP did say "no room for SATA drives", those SSDs are SATA. That said ... I do have room for a couple of SATA drives :-)
rangerelf··on Parody site ClownStrike refused to bow to CrowdStrike's bogus DMCA takedown
If it were possible to sink your teeth into them and extract enough cash such that it would sting, things like this wouldn't happen.

It's only because it costs them exactly zero dollars and cents that they feel they can get away with bullying anyone they want.

rangerelf··on [dead]
What?
rangerelf··on The upstream cause of the youth mental health crisis is the loss of community
I don't think so; the streets are paid for by whatever vehicular taxes, the sidewalks are paid for by property taxes, there's income and sales taxes for additional financing; charging for parking is just adding salt to the wound.

In fact... hear me out. It might be that, those that own the paid private parking lots in high traffic areas exacerbate the parking issues in contested areas, creating pressure on free parking areas; then they lobby to put parking meters in those free areas because "the city needs all the money it can get" (ehh, it shouldn't, it doesn't), and voilá, no more free parking anywhere.

Just a thought.

rangerelf··on We just caught our first "BANANA "
Thanks, I was wondering how to explain it :-)
rangerelf··on A Swiss town banned billboards. Zurich, Bern may soon follow
> In this way, all parties consent, otherwise advertisements are harassment.

ABSOLUTELY this.

Advertisements use MY bandwidth, MY compute resources, MY time, MY space, to harass me by showing me things I have zero interest in, all the while interrupting what I'm doing, distracting me, and then having the gall to tell me "but think of the poor publishers!!".

They have caused the appearance of an industry that's a pox on all ("influencers") who behave like society owes them the space, time, attention and deference that for whatever reason they think they need.

And for a cherry on top, it makes everything more expensive because WE pay for all of it.

rangerelf··on Every company should be owned by its employees
Unions aren't there for "Ownership" of companies or cooperatives, they're for improvement of member's work lives, it can be training, worker contract negotiations, as go-between when dealing with management or owners, etc.
rangerelf··on Every company should be owned by its employees
No, but it's very probable li2uR3ce bought things that were portrayed as being much better than they actually were. These days "profitable" for the seller rarely equates with "good value" for the buyer.
rangerelf··on We just caught our first "BANANA "
I don't know you, but when I know exactly (or even approximately) how difficult something is I say "It's [really] not that hard".

Someone saying "how hard can it be" is kind of a flag that they have zero idea of how hard it is or isn't.

rangerelf··on We just caught our first "BANANA "
There would be no need for people attempting to circumvent stupid restrictions if stupid restrictions didn't exist in the first place.
rangerelf··on CrowdStrike Timeline Mystery
I feel very disappointed too after reading it; there's no "Mystery" in the behavior of those numbers, the only unexplained (as of now) is the huge spike, but the subsequent reduction in traffic is explainable by "the client hosts were crashing", hence lower numbers.

I want my 10 minutes back.

rangerelf··on Python Has Too Many Package Managers
The wheel, kept on an Sudafed repository, will let you lock down your supply chain, plus no need to rebuild every time it gets used.

I would build it once for whatever required architectures are needed, build wheels for them, amd use those for packaging up the final apps that need deploying (through docker, k8s, whatever).

rangerelf··on Python Has Too Many Package Managers
Use "pip wheel":

https://pip.pypa.io/en/stable/cli/pip_wheel/

The package should be installed first, then create wheels from all of them, finally upload them all to a repository for storage.

rangerelf··on Rye: A Hassle-Free Python Experience
That sounds like a job for "firejail", at least in linux. Implementing that as part of python would be a major undertaking, and I wouldn't necessarily trust it, I'd prefer an external tool implement the sandbox.
rangerelf··on PostgreSQL and UUID as Primary Key
Don't wake me up when year 9,223,372,036,854,775,807 rolls by please.
rangerelf··on Python Has Too Many Package Managers
Vastly different use cases.

Publish a module as a wheel if you want to be able to use pip to install it in your servers, or anywhere really.

Once you've built out your virtual environment you can build your docker image and push it to a registry.

Your helm chart should include references to docker images that are getting deployed to a kubernetes cluster, among other entities that need to be built out for your app to work.

Those are all different layers of the deployment, independent of each other.

If someone prefers 1 over 2 (or viceversa), they don't understand what they think they know.

rangerelf··on Python Has Too Many Package Managers
Ha! Genius, I love it!
rangerelf··on Python Has Too Many Package Managers
I hate when people reduce that line of the zen in that way; it's actually:

"There should be one-- and preferably only one --obvious way to do it."

That is different from "there's only one way of doing it" in so many ways that it's not even funny.

rangerelf··on Python Has Too Many Package Managers
I've read "they're too/so/very fragile" so many times, but nobody has given me an example of how or why they consider them fragile, what steps do I need to do to break them.

Myself? I consider them ephemeral: I create my Makefile with a 'venv' target to delete/rebuild the virtual environment in case of changes. Some do take longer to rebuild, but with a global pip cache it takes much less time to rebuild once it's been done the first time.

Hardcoded paths and symlinks? Not a problem, I know that virtual environments don't travel; and since they're ephemeral if I need it at a different location I can always rebuild them.

Do you have an example for your third paragraph?

And I've done the last one, converted all packages to wheels, uploaded to an artifact server, and used those for production deployments.

I'm curious, really; not bashing you for having troubles with it, but I don't understand the aversion given my lack of blockers when using them.

rangerelf··on Reverse engineering Ticketmaster's rotating barcodes
> Shamans and wizards (never heard this used to describe anyone in history but let’s assume it’s just any kind of supposed magic user) were people at the top tier of their societies in terms of political power. Not kings or chieftains, but above everyone else.

I don't know where you came by such a notion; Shamans, "Wizards", witches, "wise women/men", are usually shunned from society such that they tend to live near the outskirts of towns or cities, nobody really wants to live close to them; and when "bad things happen" tend to be the first ones to get blamed for it; then they also are commonly used as scapegoats for whatever political, economic or religious effort some corrupt officials try to push.

That doesn't sound very societal top-tier to me.

We're definitely not witches or wizards, at most we are scholars or [specialized] craftsmen. "Knowledge workers" if you will. Not as unlikable as the wise folk that live towards the edge of town, and not as at risk of getting tied to a post and lit on fire because the bishop believes we commune with unclean spirits.

rangerelf··on PostgreSQL and UUID as Primary Key
I read your post and hear echoes of "Who would ever need more than 2 digits for the year in this timestamp column?"

Never again.

rangerelf··on Ente Auth: open-source Authy alternative for 2FA
It's "Two Factor Authentication", not "Second Factor On A Single Device You Always Have On Your Person Authentication".

That second factor needs to be separate from the originating authenticating service, not that it has to be on a single device hidden away kept in a safe, or on your wrist, or in your pocket. It could be a single device [a server] running bitwarden and you're viewing it through a browser on your <whatever>.

Not everyone wants to follow every single recommendation from a data security perspective, and it becomes an anti-pattern when laymen start using workarounds to not have to comply with the safety recommendation of the week.

rangerelf··on Ente Auth: open-source Authy alternative for 2FA
You're right, it's a pain to switch, BUT: you only have to do it once, if you do it right. Switch to an alternative that gives you the functionality you need (TOTP, and that's it, for me at least) and allows you to export your data to a format that can be reimported to another application at another time (or restore from it in case catastrophe hits).

Once you get rid of the noose, it's no longer a hassle.

For everyone going through this situation, please do a little bit of homework and read up on the capabilities of whatever alternative you're going to pick, and make sure that your data is yours and under your control, and you can back it up in a readable format.

rangerelf··on Microsoft blamed for million-plus patient record theft at US hospital giant
Sincere question: is the guy gonna get the book thrown at him?
rangerelf··on Noam Chomsky has passed away
Rest in peace Mr. Chomsky.

PS: There's something utterly contradictory announcing his passing on >Twitter< of all places. He's already rolling in his grave.

rangerelf··on Show HN: Shpool, a Lightweight Tmux Alternative
nohub doesn't attach nor redirect the stdin/out/err, it intercepts the HUP signal that apps receive when their controlling TTYs are disconnected.

Implying "tail -f $LOGFILE" is akin to tmux reattaching to a console is a stretch.

rangerelf··on Dmv.org
CA dmv, practically everything can be done online and through the mail; people love to complain about the lines and how everything is slow but I sincerely don't know what they expect: even when I had to go to the office I always made an appointment, got called in within 10 minutes of arriving, handled whatever I needed to handle expeditiously, and was on my way, and had this same experience in various locations. None of this "I stood in line for a zillion hours, in the sun, snowing, both ways..." nonsense.
← PreviousPage 4 of 7Next →