Better HN
topnewbestaskshowjobs
Log inSign up

shortrounddev2

2,427 karma · joined Jun 15, 2023 (3y ago) · 1,641 submissions

Submissions

comment 2y ago · link · parent

I would absolutely not join an Alphabet style union, which is not really a union and seems to exist only to coerce Alphabet towards particular political positions. They don't exist for real collective bargaining, they are there to shame Alphabet for taking defense contracts or working with ICE. In a sense, you could say that they are arguing for workplace conditions which avoid moral injury[1], but they don't do any of the classical union things like bargain for labor contracts or salaries.

Even if they were a real union, I wouldn't want to join a workplace where my salary was tied to my years of experience rather than my ability to negotiate in an interview. The only benefit which I would want protected by a union is the ability to work from home. We've seen many tech giants over the last few years promise their workers they could WFH permanently, only to pull the rug on them later. I would want WFH to be in a contract and not to be punished or laid off just because I'm remote

[1] https://en.wikipedia.org/wiki/Moral_injury

comment 2y ago · link · parent

> This sounds horrible. Why does specifically your CI/CD need to know those things?

You set it up so that production secrets are kept in that store and are only accessible by a 1 or 2 high level people. Developers don't have access to production secrets, only dev or staging, which live on their own machines and are lower security risk

> if people can't build/test things on their own machine

I don't see why they wouldn't be able to build/test on their own machine. You just have a different secrets store and keys than the CI/CD does

> I thought spring "runtime config override" was just dropping a properties (admittedly awful format, latin-1 encoded to boot) file near the compiled project uberjar/war/ear and you're done?

Yes I hate this. I want to be able to decide how properties are loaded, not rely on some ethereal state managed behind the scenes and not be able to see if it's loading properly. If I want to use their terrible resources/config file, I'll specify that in middleware/startup

comment 2y ago · link · parent

I feel that web frameworks should be flexible enough that the CI/CD system can put things like secrets into files without worrying about the particular framework that's consuming them. If you don't write the secret service in the web framework, you have to write the secret manager in CI/CD to convert formats or what have you. Something I dislike about spring boot is how spring-y everything has to be.

comment 2y ago · link · parent

Secret handling has been abstracted away from the framework for everything I worked on; usually our deployment system would mount secrets as a file system and then you read them as a file of key->value pairs. That, or they were just set as environment variables. I guess the framework could provide a standardized secret service, but I usually just write that myself

comment 2y ago · link · parent

I wish Microsoft would spend some time optimizing Explorer. I don't know why, but it seems like what should be one of the simplest applications (one which has existed for nearly 30 years) crashes so frequently for me and also occasionally has a really long startup time. They did add some QOL improvements (such as tabs), but what I really want from explorer is instant startup and response time

comment 2y ago · link · parent

I have yet to outgrow docker or kubernetes so far, they work really well for me. All my local dev I just do on Windows

comment 2y ago · link · parent

I don't think I've ever liked the experience of running Docker commands; I think its benefit is the sandboxed environment so the developer has fewer platform variables they need to worry about. I think flatpak is a more user friendly distribution mechanism. But, again, sandboxing really shouldn't be necessary with a Rust TUI application; there really shouldn't be much in the way of platform-specific code in there except maybe the ncurses library

comment 2y ago · link · parent

The cost you are trying to save is not infrastructure, or compute time, it's labor. It's easier to find a junior javascript developer and then sandbox them inside docker or some serverless service than it is to find someone qualified to lock down a Linux box

comment 2y ago · link · parent

It's wild to me how many people writing native software opt to sandbox everything with docker these days

comment 2y ago · link · parent

Different types of concerns. Software engineers are most often concerned with writing software, not managing security settings, configuring services, and updating things. If you could declaratively write a single file which configures your server for you and then just copy paste that server state to 10,000 other servers, I'd be happy (you can, in fact, do this!)

comment 2y ago · link · parent

Components of a web framework:

1. Routing

2. ORM

3. Auth handling

4. Request middleware

5. Templating (if your application requires it)

6. User input validation

Many other components that are escaping me right now

comment 2y ago · link · parent

I'm LARPing

comment 3y ago · link · parent

I use sftp and sshfs-win for my gemini server so I can edit my gemlogs as text files with vs code and have them update immediately on the server

comment 3y ago · link · parent

I set up fingerd on my server, but it seems like you can't configure it to hide some information about your (the IP you logged in with, full name or user and email, etc.), so I decided to remove it. Would be cool if there was a more configurable p2p type protocol for discovering restricted info about other people on *nix systems

975.

Ask HN: Do you user finger or other "old" protocols?

5 points · by shortrounddev2 · 3y ago · 14 comments

comment 3y ago · link · parent

Are you mobile, usually?

comment 3y ago · link · parent

Everyone in my company uses a company provided macbook, but I use my own Windows Desktop. When presenting stuff to my boss, I'll use windows shortcuts for tiling windows (Win + Arrow keys) and my boss said that's the one feature he thinks is missing from macOS that Windows is really good at

comment 3y ago · link · parent

When I looked this up on an apple support forum, the replies were all basically: "Why would you want to disable this feature? Apple designers know better than you, go back to Windows"

comment 3y ago · link · parent

Do you not use a monitor at a desk?

comment 3y ago · link · parent

Wanting it to be that way doesn't make it true

comment 3y ago · link · parent

> Html and css is a terrible API for app layout, because it wasn't designed for that

And yet it's so easy and forgiving that millions of 13 year olds learned it for their myspace and tumblr pages over the last 15 or so years.

Somehow, despite all the CS graduates and 20 year software engineering veterans bemoaning it, more and more people learn HTML, CSS, and Javascript every day while the number of people learning native GUI development struggles to keep up or outright fades away. I truly believe that most software engineers don't understand what ergonomic software or programming languages look like. They're blinded by their expertise

comment 3y ago · link · parent

I'm less cynical about web development. Lots of software engineers bemoan writing web interfaces and pine for the days of native GUI development, but web won because it's extremely accessible to people without CS degrees. There just isn't a good native framework that's as forgiving and easy to learn as HTML, JS, and CSS. I think gtk is pretty decent though

comment 3y ago · link · parent

Modern C++ also has constexpr, consteval, and using aliases

comment 3y ago · link · parent

I think the only C/C++ package manager that is even close to maven is vcpkg

comment 3y ago · link · parent

vcpkg is really awesome, but the versioning system has something to be desired

comment 3y ago · link · parent

When was the last time you tried? It's gotten a lot better since I first tried it (probably like 15 years ago)

comment 3y ago · link · parent

Why

comment 3y ago · link · parent

> I really can't imagine how having a tiny home with 4 walls and a door with a 24/7 security guard would be more dangerous than a tent on the sidewalk

One: many homeless people feel dehumanized by how they're treated by the staff, and

Two: homeless shelters are full of homeless people

comment 3y ago · link · parent

Or just making the source available on github.

comment 3y ago · link · parent

I'm not arguing for "capitalist principles" (if there were such a thing).

The goal with welfare is to do as much good as possible. I contend that by managing administrative bloat, you lose money which could otherwise be given directly to people and do more good. The goal should be to spend money as efficiently as possible, not to spend less money

1
323334
55