Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,278 karma · joined Nov 23, 2012 (14y ago) · 6,746 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 2y ago · link · parent

I was on Gnome on my laptop until January 2024 (was running KDE on the desktop). I have gotten a Mac laptop for reasons and... I stand by my judgement.

I think you could say Gnome is better than MacOS's DE, or that it's worse (to be clear, I don't think it's worse really), but my point was more that the design philosophies are close along so many axes

comment 2y ago · link · parent

There is no general problem. There is the act of doing business between parties. You do this across N relationships. You have N vendor contacts. You document them. You deal with them. This is what working with someone is like! Of course after doing the same thing 3 or 4 times you might understand some patterns, but even if you don't totally factor it out you'll at least have a general pattern.

The point is you don't write the is_holiday function, you might write "is_jp_govt_holiday" or "is_mufj_bank_holiday" (though really it might be more "is_mufj_bank_transfer_csv_acceptance_day" or whatever), that might look at "is_jp_govt_holiday". You write functions to their contexts, in a specific way. This lets you write "hacks" that aren't hacks when you get the specific email. A bunch of tiny, specific functions calling other tiny, specific functions.

5-word functions might look gnarly but they will be specific, and you got the magic of autocomplete to save you some typing.

comment 2y ago · link · parent

To unorientalize the Japan thing here: there’s a national list of holidays. It is updated once a year. You put it in your code base. In the code base there’s a comment pointing to the page (hopefully one on a .go.jp page)

Your vendor says thing does not happen on holidays or weekends. There might be some other special day where things also do not happen. Keyword is “training day for staff”. Also end of year holidays. They will send you an email about it. Maybe 3. You read the email (important!), and put it in the vendor-specific list of holidays in your code (also important!)

And of course because you like your sanity you use whatever iCal date relativity respecting library to do logic like “the next Wednesday from today” or whatever.

Some things take 1 step. Some take 5. Being able to do something that takes 5 steps without writing a 3000 word screed about the world being broken is the sign of a successful person. Document it, do it, maybe improve it a bit, move on with life.

comment 2y ago · link · parent

The simple 2-bit explanation is KDE is following Windows trends, Gnome is following Mac trends. Even the screenshot widgets are both following the closed-source versions (recent Gnome screenshot widget is exactly the new MacOS screenshot widget)

I think it's a bit of a shame that Ubuntu is the "no headaches" distro, but ships with a DE that will annoy nerds much more than KDE does. My Linux experience got so much better under KDE. I respect what Gnome does a lot but I feel at home in KDE land.

comment 2y ago · link · parent

I mean you gotta put your server somewhere (I guess hosting it on your connection?)

comment 2y ago · link · parent

Really uncomfortable with how many services like this are “we scale to your needs” and end up here. I guess capacity planning from oversubscribing bandwidth is its own can of worms but surely that is a bit… less surprise generating.

comment 2y ago · link · parent

The core thing with B2B SAAS is you make money off of higher touch sales, that lead to requirements.

The objective as someone working on this kind of billing is simple: offer your sales teams the right options so they can close deals. This involves collaborating with your sales team to figure out what is in the “easy to implement x good enough to close deals” bucket

I can’t stess this enough. Your sales team is closing sales! Stop whining about your perfect billing system. Yes it is shocking but sometimes you have to apply elbow grease to problems involving business relationships

You should try to do things in straightforward ways when possible but really you should have a system that is legible to other teams in your company, and one that is easily to manually tweak even with automation running around it. This is like 80% of why Stripe feels so good to use. Manual tweaks are a fact of life, even if for some businesses they’re rare

comment 2y ago · link · parent

Wikipedia says there are prototype railguns that can shoot at 3km/s now (wording: "can regulary exceed 3km/s")... are we at a point now where I could put a rail gun and a bunch of solar panels and batteries on the moon and just shoot (tiny) stuff into orbit?

Not like the rocks on the moon are that useful for anything, but....

comment 2y ago · link · parent

Evil mode giving you Vim macros, combined with Elisp as a real programming language.... ooh now that's some fun IDE a la carte-ing

comment 2y ago · link · parent

Great site! Would be cool to have just a couple pics per block to show what kind of boxes you end up with.

comment 2y ago · link · parent

How I'd love a papercraft-style website just for custom inlays that you could print out to minimize game setup time. It's very frustrating to me how many games just end up putting everything in little plastic baggies.

comment 2y ago · link · parent

I think maven and pypi + pip are similar levels of pain.

Like plenty of people just use pip or poetry and are fine. It’s totally bad faith to claim that this is all orders of magnitude worse

comment 2y ago · link · parent

C++. I think Java is pretty close in nastiness but I haven't used it in a while.

comment 2y ago · link · parent

Weasyprint is your friend for replacing puppeteer and company for PDF generation. And if you’re accompany using it, sponsor the project!!

comment 2y ago · link · parent

The problem with bug full updating software is usually that they don’t release changes fast enough, ironically.

Apple routinely holds back changes for a .0 release for advertising reasons. This means that they routinely have big releases that break everything at once. Bugs could come from 4 or 5 different sets of changes. But if they spread out changes… bug sources would be way more easy to identify.

And bug fix velocity going up could mean people stop treading water on bugs, and actually get to making changes to avoid entire classes of bugs!

Instead, people think the way to avoid bugs is to avoid updates, or do it all at once. This leads to iOS .0 releases being garbage, users of non-rolling release Linux distros to have bugs in their software that were fixed upstream years ago, and ultimately to make it harder to actually fix bugs.

comment 2y ago · link · parent

There are plenty of things that self center despite not having active mechanics in the sense we are talking about. Bobbleheads, an egg that you shake to have the yolk hold it in place, a lot of springy stuff in general.

Obviously there’s a mechanical force at play, but there’s a huge difference between “some springs make this work” and “these motors make it work”

comment 2y ago · link · parent

I had a McDonald’s toy that was a self balancing Superman on a point. Obviously this cube is something else in that it can move around but I wonder if it’s even possible to build a non mechanical cube that could balance on its point

comment 2y ago · link · parent

For lefties out there: Lamy has a lefty-based nib. If you're curious picking up a Safari might be life changing. It's so much smoother than a ballpoint. I accept smudging as a way of life though

comment 2y ago · link · parent

As always I will point out that The Old Reader is basically a carbon copy of Google Reader. It works, plenty of blogs have RSS feeds still (I just add more or less every interesting blog I see linked here in there), so you can get back if you want to.

It's not exactly the same, but it sure feels close!

comment 2y ago · link · parent

I use the mouse on the right mostly because stuff like games assume you’re doing that, so keyboard controls and the like are optimized for it

Also, most computers lay the mouse that way

I could mess with this but ultimately I don’t mind too much. Maybe it explains why I’m bad at FPSes! Probably not.

1
424344
225