HNHacker News
TopNewBestAskShowJobs

jherskovic

372 karma · joined April 28, 2022

submissionscomments
jherskovic··on How many floating-point numbers are in the interval [0,1]? (2017)
My very-slightly-different Python implementation runs in 9m56s minutes on Python 3.11, but in 2m54s using pypy3.9 (all on an M1 Max)

pypy never ceases to amaze me for low-effort performance gains on computational stuff.

A naive implementation in C compiled with Apple's clang (-O2) takes 0.62 seconds, of course.

jherskovic··on Why Python keeps growing, explained
The antigravity part is probably a reference to https://xkcd.com/353/
jherskovic··on We tried to run a social media site and it was awful
You're correct. I forgot about that. I did try relaying for a while, that's what made the usage REALLY explode.
jherskovic··on We tried to run a social media site and it was awful
To add to this, you can also set it up so entire federated servers are followed, and it may be that way by default. So follow ONE person on mastodon.social, and suddenly your toy instance is trying to copy a significant chunk of the Fediverse to its hard drive in real time.
jherskovic··on We tried to run a social media site and it was awful
Federated content is copied to every instance, so yes, follow a few people and you can see your instance's disk usage explode. I run an instance for some friends.

The usage can be contained with a few cron jobs to purge old cached content aggressively. Running

`tootctl statuses remove && tootctl media remove` once a week is enough to make it sane in my case.

jherskovic··on Study finds that buttons in cars are safer and quicker to use than touchscreens
Well, duh.
jherskovic··on Maids trafficked and sold to wealthy Saudis on black market
They could be paid for their work. It is labor, after all. And they don't get a choice.

The removal of their liberty is supposed to be punishment for their crime, and that's plenty of punishment. Ideally, they'd be reformed while in prison. And while I'm dreaming, they could build a nest egg by working there, instead of being exploited.

I'd like a pony, please.

jherskovic··on How much I’ve spent so far running my own Mastodon server on AWS
I run a self-hosted instance for a bunch of friends. It's on a VM on a 10-year old homebuilt TrueNAS server.

For added entertainment, I installed it manually on FreeBSD, because I like playing old-school 'I do things by hand' sysadmin at home.

It's connected to the world through a free Cloudflare tunnel. I have a residential fiber connection. It doesn't use S3, it just dumps files to the filesystem. I did clamp down on federation settings, and it purges old content aggressively so federated content doesn't make the hard drives metaphorically explode. One user following someone on mastodon.social and you can see storage usage climb by gigs a day with defaults.

After the initial setup it's been honestly quite painless. It just works. If people start relying on it, I'll probably move it to masto.host.

jherskovic··on Federal judge overrules NIH veterinarians about lab chimp retirement
The 'caregivers' in this case are professional veterinarians who think the cure can be worse than the disease. The caregivers allege that the chimps are being cared for at a standard that is as high as the one they'd get at the Federal facility, without needing to move them, which causes stress and jeopardizes their well-being as well.

Part of the problem here is that the law seems to say "they will be moved to the Federal sanctuary," not "they will be cared in [list of appropriate ways]". To fully comply with the law, you need to move them even if they're sick, have social bonds in their current place, or are perfectly happy.

Disclaimer: I've visited one of the non-federal facilities and I've seen retired chimps that looked content. I have zero experience in animal welfare.

jherskovic··on Meta lays off 11,000 people
The Stripe people did it right, or at least as right as you can under these circumstances. https://stripe.com/en-au/newsroom/news/ceo-patrick-collisons...

Relevant discussion: https://news.ycombinator.com/item?id=33450753

jherskovic··on Nord – An Arctic, north-bluish color palette
On a quick skim of the website, I had no idea that it was mostly for syntax highlighting. I thought it was for web design.

The website is gorgeously made, so kudos for that.

jherskovic··on When is short tenure a red flag?
It's basically the old doctor joke:

Patient: "Doctor, it hurts when I touch my shoulder. And it hurts when I touch my knee. And when I touch my head. And when I touch my other arm." Doctor: "Your finger's broken."

jherskovic··on When is short tenure a red flag?
I'm a hiring manager (not at a tech company, FWIW) for college-degreed, relatively senior professionals. If your resume shows a short job, say, less than a year, I won't care. If the last five jobs you held down have been for less than a year each, it goes in the circular file.

Maybe I'm missing out on good people, but I have more candidates than I can handle already, and it's a pretty abnormal pattern in the field.

jherskovic··on Ubuntu 22.10 Kinetic Kudu
Pop_OS!, hands down. Ubuntu without the crud, with sensible UI choices. The Mac of Linuxii.
jherskovic··on Our domain and 700 non-profit sites got blocked by Meta
So very much this. The reason we're using OAuth in the first place is that we're leaving authentication to the big companies that know how to do it well.

The sheer amount of support work that resetting passwords and fixing access issues (and dealing with hostile actions) generates for a small team is staggering.

jherskovic··on Our domain and 700 non-profit sites got blocked by Meta
We removed "Sign in with Facebook" from our public learning management system (we provide content to the public) instead of continuing to jump through their insane requests and demands.
jherskovic··on Ask HN: How do I write a Linux driver for my 15 year old photo printer?
I bought a VueScan[1] license because of this. Awesome piece of software. There's a 5-month-old thread on it here: https://news.ycombinator.com/item?id=30760850

[1] https://www.hamrick.com/

jherskovic··on Fujifilm’s new X-H2 finally pushes its APS-C camera system to higher resolution
The out-of-the-box settings yield dark, flat images, and no amount of twiddling on my part even approximates something pleasant, much less Fuji's defaults. If I could find a set of defaults for raw processing I liked, I might have stuck with it.

But seriously, the out-of-the-camera JPGs are _ridiculously_ good. Sure, you're throwing away information, but I found I very rarely used that information.

If I'm doing something particularly intricate, complex, or delicate I might shoot raw. For walking around the city taking snapshots? JPG is more than fine.

jherskovic··on Fujifilm’s new X-H2 finally pushes its APS-C camera system to higher resolution
The other thing I like is that Fuji will deliver new features via software updates if the hardware can handle them. With Canon, at least, the feature set is set (sorry) in stone the moment you buy the camera.
jherskovic··on Fujifilm’s new X-H2 finally pushes its APS-C camera system to higher resolution
I love Fujifilm cameras. I moved from Canon full frame to Fuji, because of the physical controls on the X-T line. The ergonomics are superb.

The X-H handles nice, but as a still (amateur) photographer, the X-Ts are where it's at. Having separate, physical controls for exposure compensation, speed, ISO, and aperture is a delight. The tilting screen on the X-T line is also a better fit for still photography than the articulated one on the X-H lines. Here's hoping they keep it.

I have an X-T3 now, I'm waiting for the X-T5. It should come out in a few months, and cost a bit less than the X-H. The main advantages should be the 40 MP sensor (vs 26) and sensor-based image stabilization (introduced in the X-T4). They also offer a pixel-combining mode now that shifts the sensor very small, precise amounts and then combines images to increase resolution up to 4x in the final result. You need a tripod and some time, but I'm looking forward to playing with it.

It's hard to explain exactly how, but the color rendition straight out of the camera on Fuji kit is also second to none. Other posters commenting on RAW files are right, though - they're a pain because of the non-standard sensor. Only Fuji's terrible software and commercial offerings like Lightroom do a decent job. Darktable, for example, doesn't. I stopped shooting RAW partly for this reason, but also because the JPG engine on Fuji kit is outstanding. It makes the best JPGs straight out of the camera I've ever seen.

The APS-C sensor size across the entire line also means that high-quality glass is a bit more affordable, smaller, and lighter than some of the competition.

I guess I became a huge Fuji fanboy along the way.

jherskovic··on Integers in C quiz
Haven't written C in a long time. What a nightmare this is. Got most of them predictably wrong.
jherskovic··on Apple and Globalstar Rumored to Announce Satellite Connectivity for iPhone 14
This rumor made the rounds years ago, and it turned out to be a big pile of hot air. It's the same pundit (Mark Gurman)[0].

It's possible he jumped the gun in 2019 and it's finally coming to fruition. It is cool, and Starlink shows it's possible, but it may also just be wishcasting.

[0] https://www.macrumors.com/2019/12/20/apple-secret-team-satel...

jherskovic··on High property taxes are good
If there was a supply of cheaper housing, I'd agree with this wholeheartedly. Part of the problem is that, in a lot of places (SF, NYC, Seattle, etc) you can price folks into homelessness. Sure, no one is entitled to live in a specific area, but for those who built their lives there, have a community, family, it's cruel to tell them "move to Nowheresville, OH so you can afford a roof"
jherskovic··on Rich Text Editor for React
Awesome, clear answer. Thanks!
jherskovic··on Rich Text Editor for React
We use QuillJS https://quilljs.com/ for our projects, as a drop-in component to allow our users to edit rich-text fields. Works great for our CRUD apps; I am not a front-end person, but it's simple, does what we need, and seems to work in multiple browsers without issues.

Am I missing something?

jherskovic··on Map Data: False Assumptions
There's several cities within Harris County (Houston, Texas), and the Houston area -which some people will refer to as "Houston", "Greater Houston", or "the Greater Houston Area", overlaps several counties.

There are also several cities wholly contained within the City of Houston itself. West University and Bellaire come to mind; there's probably more but I can't be bothered.

It's a mess to someone who likes things neat :)

jherskovic··on Dropbox deletes Rick and Morty creators account for secret TOS violation
I use ResilioSync (formerly Bittorrent Sync) for my personal Dropbox-like stuff. The iOS client is sparse but functional, and it has clients for pretty much every OS I need, including arm Debian... so I have my 'not-quite-Dropbox' home on a Raspberry Pi.

We also use it to cross-backup photo libraries with an avid photographer friend who lives across town.

It works very, very well.

jherskovic··on Robocode Tank Royale
I remember playing https://en.wikipedia.org/wiki/ChipWits on an original 128kb Mac at school very, very fondly. One of the best programming games I ever had the pleasure of playing with.
jherskovic··on What's new in Red Hat Enterprise Linux 9
We use a TON of RHEL, mostly for their support, but also to have a product that is supported. Helps with audits and compliance. I imagine most big places have similar rationales.
← PreviousPage 2 of 2