HNHacker News
TopNewBestAskShowJobs

ungawatkt

200 karma · joined March 1, 2020

submissionscomments
ungawatkt··on Robertson vs. Torx screw drives (2021)
I'd _very_ lightly push back on that for a posidrive, but it has a lot of asterisks. IF you can keep enough pressure on a posi, I've not seen issues. but if you can't it's failure case approaches the dreaded Phillips. And "enough pressure" is in the range of 170lbs of dude pushing down for really difficult situations in my experience, so yeah, "*"s abound.
ungawatkt··on Robertson vs. Torx screw drives (2021)
Imo that's the main failure of the posix, it _looks_ like a Phillips, and behaves like one of you use a Phillips bit. Which is rather unfortunate and not really it's fault, but hard to overlook for "normal" usage.
ungawatkt··on Robertson vs. Torx screw drives (2021)
Fair! I'm speaking from a US perspective here for torx availability, and largely interacting with things I didn't get to decide the hardware on myself.
ungawatkt··on Robertson vs. Torx screw drives (2021)
No "science" here, all anecdote built from boats, skis, and a moderate amount general use:

Flat head: the bigger the better in this format, and simplicity has it's place, but easy to destroy in a variety of situations. Also, when you're out of options cutting a flathead slot into a destroyed screw might just work. The classic 6.5/10

Phillips: everywhere, but rather bad. You get a finite but unknown number of interactions with Phillips heads before it suddenly strips out and you're sad. This includes both the screws and the bits, Philips bits are the only ones I've ever had that shatter, the rest fairly predictably deform and can be retired.

Square (Robertson): bettr than the above. However, they're also like hex (Allen) but less good.

Hex (Allen): one of my favorites, and they scale rather well. BUT, if you strip it at all, maybe even once, you're done, the angles are shallow enough that there's no coming back, you've cut out a circle.

Posix: like Phillips if you squint, but if you actually use the right bit and, most importantly, push down harder than seems reasonable times 2, you'll pretty much never have a problem.

Torx: not lots of experience, and there's the rub. At the moment they're a hard bit for a layperson to find, regardless of their advantages

ungawatkt··on Universal Media Server. A DLNA, UPnP and HTTP(s) Media Server
I was confused on that too. It does have "?" for some of those things, not that they say what a question mark is, I read that as untested. Also, I'm not entirely sure what they mean for subtitles, but Plex supports burned in(to the video itself) subtitles, though you end up back in transcode land for that and it took alot of CPU power last time I tried [1]. Plus "instant browsing" is I guess accurate but a weird comparison point, Plex needs to scan files once and periodically scan for updates.

They may mean more specific things for all those things Plex "can't" do, but I can't tell from just the comparison page. Plex has plenty of issues, no need to make up more.

[1] A quote from their page on subtitles: Other formats such as VOBSUB, PGS, etc. may work on some Plex apps but not all. For the majority of apps, both VOBSUB and PGS subtitles will require the video to be transcoded to “burn in” the subtitles for streaming.

ungawatkt··on Self-host your blog on a Raspberry Pi
Dropping ddclient into a docker container as part of your compose files takes very few resources, and keeps your domain name pointed to your current public IP through changes. I've been running that for years without any maintenance besides remembering how to use the config file when I need to add a new domain.

As I'm writing though, that probably wouldn't help in most university network setups, which the article mentioned. Tunneling is probably the path of least resistance there.

ungawatkt··on Apple, stop this nonsense and just put a decent camera in your laptops
Tbh its a really jarring camera, even when I don't care about quality. I got a work Mac (2019 Intel), coming from a relatively mid range windows work laptop, and after my first meeting I spent at least half an hour googling for software bugs before it occurred to me that a $3000 laptop could have a camera that bad. The idea that I should also have a whole separate iphone to not look like 2010, or I guess 2017ish now that it's 1080, is actually baffling to me.

(I'm not really picking on your comment per say, I get your sentiment too)

Edit: also, to be fair to apple, it's the only real hardware complaint I have, despite being overall negative on the OS the hardware is otherwise great, which is why it's such an unexpected dissonance

ungawatkt··on Tell HN: I used the same computer since 2007 (with minor upgrades)
Clothing most recently, I took about 5 articles of outdoor wear in for repair through a 3rd party and Patagonias service (Patagonia expensive, but I'd have had to pay almost $1000 to replace what they've fixed for me for free over the years)

Tech-wise, my "home server" is a business dell whatever bought second hand, main personal computer came from a startup liquidation, the computer that replaced went to a relative, and I've been able to re-home several routers/modems I saved from other folks apartment cleanouts (though the ones I have left are bumping against isp and speed limitations unfortunately).

I'm also looking forward to buying out my work MacBook for cheap when I get to 3 years, since it's rather beefy.

Also a swe, but in the US

ungawatkt··on Ask HN: Honest thoughts on no-code or low-code solutions?
In my experience, devs that have interacted with no code and had negative experiences tend to fall in a few categories:

1. Used it themselves and didn't move any faster because of having to learn a new way of thinking

2. Used it themselves and tried to do something that seemed reasonable to them but the no-code couldn't handle

3. Had a no code solution built elsewhere in a company dumped onto them for maintenance, or to be implemented into an more robust product. I've seen this play out as:

- Marketing/Sales "this mostly working and critically important to our pipieline, fold it into our system and add these 3 features. ETA should be like 2 weeks right?"

- Engineering "what is this? I've never heard of it. It's going to take like 4 months to fold it into our system properly and add those features. Why didn't you ask us to build this from the start? It would have taken way less time."

- Marketing "You said it would take a month to complete, and a month before it would be prioritized. We needed it in a week so we did this. If it only took us a week why will it take you months?"

1 and 2 are mostly folks who aren't the right target market, they're right and also they don't really matter unless you're trying to target those devs specifically. 3 is a real concern, because those are the devs who will campaign furiously against a product in meetings, getting burned by that once sticks around for a long time. And both sides of the conversation in 3 are often correct from their perspective, which makes it even harder. A no code solution that actually has an off-ramp to a more robust implementation would be an amazing way to deal with that, but that might always be against incentives.

ungawatkt··on Ask HN: How deep do you go?
For workflow stuff, I more or less do the generalized version of the xkcd Worth the Time (0). There's always initial friction bringing something new into a workflow, both from a learning and practice standpoint, which I treat as an expected upfront cost. But pretty much once I start spending more time (actively) learning about a tool than I get back in saved time, that's about the end for that workflow update. I can always revisit it if I hear about a new feature of the tool, and of course I'm passively picking up stuff as I use it.

(0) https://xkcd.com/1205

ungawatkt··on A simple, fast and user-friendly alternative to ‘find’
well, somehow I missed that when looking for options. I just tried it out, the -delete option is way faster than what I posted before, TIL, thanks.
ungawatkt··on A simple, fast and user-friendly alternative to ‘find’
Hey, fd. I don't use it normally, but it ended up being the easiest and fastest tool for me to delete ~100 million empty files off my disk (a weird situation). It has threading and command execution built in, so I could saturate my cpu pretty easily doing the deletes with `fd -tf --threads=64 --exec r m {}` (I put the space in the rm command on purpose for posting).
ungawatkt··on My thoughts about Fly.io (so far) and other newish technology I'm getting into
There's certainly power, that's at least inherent in modding a popular platform. But as a _very_ casual observer mainly lurking around, I'm satisfied with interpreting dangs stance as anything with any traction gets boosted, yc or not.

To the examples, fly.io caught my attention primarily by offering a useful free tier DB, and tailscale has my attention as a "beat this" offering for some homelab access stuff (meaning some stuff could but I at least have a benchmark). Until this post I didn't actually know one was YC and another wasn't. I'm interested in both purely because of HN posts.

ungawatkt··on How I learned to stop worrying and love the YAML
The last I remember thinking about that idea, the answer was yes. And that I could probably switch out the parser to a yml parser, not tell anyone, and get a few months free of parsing errors in our hand written json (don't ask) before anyone noticed. But then I imagined dealing with the inevitable yml parse errors when people figured out the new constraints, and decided not to take that particular path to code sins. I can't remember if I actually tested it for real though.
ungawatkt··on Umami: Own Your Website Analytics
Fly.io does, haven't tried it myself though. Link is for postgres but I think it'll work for just about anything, the free tier is just 3gb of disk space and a small compute node.

https://fly.io/docs/reference/postgres/

ungawatkt··on Python’s “type hints” are a bit of a disappointment to me
For 1, there's some unfortunate but important semantics. Python does not enforce type _Hints_ at runtime, as Hints are in many ways fancy comments. But as pointed out, python is a strongly typed language (at least on the sliding scale of strong to weak), and types are known at runtime (call `print(type(var))` to see them). And calling `1 + 'a'` will result in a TypeError exception, unlike say JavaScript.

I believe this is the relavent passage in the article the GP is referencing, which is incorrect if you take "runtime" to mean something like when the line is executed: "Python is a dynamically typed language. By definition, you don’t know the real types of variables at runtime."

It _is_ however correct to say you don't know the real type _before_ runtime, at least python does not.

ungawatkt··on Ask HN: Why does this image look 3D?
I think you're on to something, while I can still "force" a 3D effect on the image without my glasses by unfocusing a bit and moving the screen, it's much stronger with glasses on.

Edit: nearsighted, I don't remember the glasses prescription but contacts are -3.25

ungawatkt··on Ask HN: How does one affordably eat without cooking or cleaning?
I'm kinda with you, cooking brings me no enjoyment, every moment is a burden. But I can't justify eating out/delivery all the time.

Aggressive minimizing is the best I've found. Basically only 1 pot meals and a dishwasher (two for pasta or rice I guess, but those pots can go in the dishwasher, even if it's kitchen sins). You can buy precut veggies and ground meat, chuck it in a stir fry with spices, use a bowl, spoon, and spatula, call it a day. Really the only manual cleaning then is the one pot (cast iron is great here because you can hit it with a metal scrub, quick and no thought even with burnt on stuff).

I'd expect all the groceries can be delivered without much premium (though I can motivate to get to the store most of the time so I'm not sure): onions, peppers, carrots, mushrooms, meat of choice, spices, basic sauces is 90% of it.

Also, learn to fry eggs and flip them in the pan. Removes the need to wash a spatula. Toast bagel, and the only thing to wash is the pan, and while it's still hot it's basically a rinse. Great easy breakfast/lunch.

What I can say is any cooking tool you do actually use, get it quality. If I use I knife I want it to cut easily, if I have a pan I want it not to stick and be easy to clean, if I have a cast iron I want to abuse it without remorse.

ungawatkt··on Show HN: I built an open-source web hosting platform for static sites
Oh that's neat! If I get a chance to test I'll report back.
ungawatkt··on Show HN: I built an open-source web hosting platform for static sites
Any plans to add a WYSIWYG editor for building sites? I'm the friend who can run network stuff, but a github repo and markdown is beyond the people I'd run it for.
ungawatkt··on Celery in production: Three more years of fixing bugs
I had a good time with dramatiq+apecheduler, much more bare bones and less out of the box, but when something went wrong is was pretty easy to understand and work around.
ungawatkt··on The Miseducation of Maria Montessori
That doesn't even need to be a tale, it basically happened in real life

https://news.ycombinator.com/item?id=22956832

ungawatkt··on Ask HN: Is MongoDB obsolote when Postgres and SQLite provide JSON types?
My background here is just a user of both, nothing too deep or profound. I guess I've also got a few nights on a project to make a mongodb compliant API for postgres jsonb in python.

Obsolete feels like a strong term. for a problem thats truly document oriented workloads mongodb still seems more efficient, if not in literal performance then in scope and understandability. the mongodb API is the defacto "standard" API for document dbs as far as I can tell, and realistically SQL is a notable barrier for application devs. Also, operationally, mongodb is easier to run, between Atlas and having more clustering capabilities available for "easy". Those two things mean you _can_ move faster than with postgres (with the same relative amount of knowledge)

That said, for the aforementioned side project, a few nights got me the basic pieces of the API in place (next big step is the aggregation pipeline, which id argue is intermediate for mongodb and much less used), so it's not hard to adapt a codebase to pg/jsonb. And imo there aren't that many hardcore document only problems at the small or even medium size. And once you're at medium to large, the mongodb pain of transactions as a second class citizen, lack of data integrity options, schema fluidity, and overall less strict structuring makes Pg much more appealing. Pg/jsonb is powerful, and if you have someone willing to be a db admin postgres is extremely powerful.

So, mongodb maybe not Obsolete (it's popularity would attest otherwise if nothing else), but id take a better option if I were able. But if I needed a FE or mid-tier application dev to magically be an infra person, mongodb starts looking good again.

ungawatkt··on Ask HN: What is your “I don't care if this succeeds” project?
just fyi firefox give a SSL error if I click the link, though oddly not if I open in a new tab.

"Websites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for mometic.com. The certificate is only valid for *.mometic.com."

ungawatkt··on Ask HN: What is your “I don't care if this succeeds” project?
My hurricane modeling project. It tends to go on hiatus after every hurricane season, and has gone through several iterations and languages, but I always end up back working on it. The last push got an actual website I'll put in public and automated model generation (though we'll see how well it holds up in June)

https://www.odinseye.cloud/

ungawatkt··on Ask HN: What are your IDE superpowers? Tips that make you a better developer?
1. Paying for jet brains everything pack. It's really nice to keep the ide mostly consistent across languages

2. Double shift for Search all (actions, classes, functions, etc)

3. Learn a bit of regex for more complex file searches

4. Actually learn the debugger features beyond just breakpoint

Also +1 for refactoring tools, that's one of my next ide learning adventures

ungawatkt··on New sponsors-only repositories, custom amounts, and more
>Sales tax is generally only applicable when a good or service of value is being provided. Goodwill/general support/undying appreciation is not normally taxable

From clicking through to the documentation.

What are the usual sales tax requirements for GitHub Sponsors? To my uninformed self, having a normal repo that folks support is along the lines of general support, but a Sponsor repo starts to sound alot like a value provided.

ungawatkt··on Royal Society cautions against censorship of scientific misinformation online
This is second hand from someone close, but not too close in the military, so details are off but the narrative is on track:

The Mercy was deployed after some communication between New York hospitals, and the understanding at least was that it would mostly be handling emergency, trauma, and routine patients (what military docs are good are at as a stereotype), and free up capacity for the hospitals to deal with COVID. The "normal" medical stuff promptly dropped in demand with lockdown, between fewer accidents and deferred care. So there wasn't much for the Mercy to do, the few covid patients sent over were about all of an "unknown air transmissible virus" (working theory at the time) that it was really equipped to handle, because that wasn't the mission they were expecting.

ungawatkt··on Procrastinate: PostgreSQL-Based Task Queue for Python
+1 for dramatiq over celery, dramatiq was much easier to understand and extend, even if it's not as "complete". It handled most anything I threw at it for an internal task runner system with some custom scheduling logic. I'd give it a flask out of 10 compared to celery being a Django.
ungawatkt··on Ask HN: Ethics on Deleting Git History
With the license intact, I wouldn't say it's unethical to remove the history[0]. It's functionally the same as "it would make my life easier to copy-paste this code into my app while fulfilling licensing requirements). At the end of the day, an intact license should cover any attribution needs, and I'd say the history is separate from the code (otherwise, for example, a project in violation of a license could never undo that violation).

[0]It's a whole lot of other bad things though: bad practice, and confusing, and something I'd never considered doing.

← PreviousPage 3 of 4Next →