Better HN
topnewbestaskshowjobs
Log inSign up

gmassman

165 karma · joined Nov 1, 2017 (9y ago) · 86 submissions

https://gmassman.com/
Submissions

comment 4d ago · link · parent

I appreciate both of your sentiment that we’re losing the human craftsmanship and connection to the code. I got into writing software because I like you also appreciate clean abstractions and puzzling out the best way to get the job done. I find your use of the phrase “wrestling with the code” particularly notable, because it’s struggle that leads us to understanding.

However, I don’t believe (and never really did believe) that writing code is the only means to understanding how to build good programs. I think best in prose and pictures, so writing requirements docs and thinking through abstractions with component diagrams has been my preferred way to work for years. Maybe I am the lucky one…

Apologies for causing any upset, I really do not wish to cause ill feelings. I want to see our field of software engineering flourish, and if that means trading a screwdriver for a chisel I’m all for it.

comment 4d ago · link · parent

If you only liked the “writing code” part of software engineer, then maybe software engineering just isn’t the right thing for you. Luckily now is also the best time ever to explore alternative career paths! One of the amazing things about AI is how it’s lowering the barrier of entry into new fields.

FWIW I love not having to spend so much time writing code. I get to focus on solving problems for end users, which is way more fun and rewarding IMO.

comment 1mo ago · link · parent

I wholeheartedly agree that Windows just gets in the way. It’s not designed around user ergonomics. It’s designed to maximize clicks and screen-time, which are exactly the opposite metrics an OS should care about if they want good UX.

Luckily my IT staff allowed me to dual boot windows and debian+cinnamon. Everything was going great until I needed to compile and test a legacy firmware using Keil uVision... Gonna be on windows a while longer unfortunately :(

comment 3mo ago · link · parent

Not necessarily…. As with all engineering choices there are tradeoffs involved. There can be both advantages and disadvantages to using AI to build scripts. And more likely than not you’ll need AI to help debug the scripts when they have issues. Real tradeoffs to consider.

comment 4mo ago · link · parent

Yes my dobro is a squareneck built by Richard Deneve. It’s tuned to open G, typical for the bluegrass style. I haven’t ventured into lap steel but I have played a little when friends give me the opportunity. Personally I find acoustic instruments incredible just for their portability. Also everyone and their parents owns an acoustic guitar, so finding people to play with has never been an issue :)

For me, music started out as a practice of getting better and developing my abilities as a songwriter. As I’ve gotten older though it’s shifted more towards sharing the joy of playing with others. Jamming with people and making them happy by sharing songs is a reward in and of itself.

comment 4mo ago · link · parent

I play in a band called Rare Company. We recorded an album last year and have been playing gigs around San Francisco to promote it this year. We play acoustic originals, with a style that spans bluegrass, swing, folk and rock. I play dobro and fiddle, and it’s great fun to see people’s reactions to my “shiny slide guitar”. Check out our music and come to a show if you’re in the bay area!

comment 6mo ago · link · parent

Sudoku. Wordle is a distant second.

comment 7mo ago · link · parent

Usually these were the developers who said their code didn’t need tests because it’s obviously correct/too simple to need them. And then their bug causes a crash that needs to be fixed over the weekend :/

comment 7mo ago · link · parent

I guess the joke is you can scale a file system or a fish, but can only tune a file system?

comment 7mo ago · link · parent

Very exciting! Congrats on the release, this will be a huge benefit to all folks building RAG/rerank systems on top of Postgres. Looking forward to testing it out myself.

comment 8mo ago · link · parent

Seems like an anti-pattern to me to run AI models without user’s consent.

comment 11mo ago · link · parent

I’ve been using a zenbook for about 8 years now. Hardware and battery are still surprisingly solid, although one of the hinges is starting to fail…

comment 12mo ago · link · parent

Fiction can reveal a lot of real wisdom if you’re open to receiving it.

comment 1y ago · link · parent

I’ve been migrating our services off of Azure slowly for the past couple of years. The last internet facing things remaining are a static assets bucket and an analytics VM running Matomo. Working with Front Door has been an abysmal experience, and today was the push I needed to finally migrate our assets to Cloudflare.

I feel pretty justified in my previous decisions to move away from Azure. Using it feels like building on quicksand…

comment 1y ago · link · parent

The BEAM is an amazing piece of technology. It’s built to scale massive concurrent systems and has great developer ergonomics. I’ve used it with Elixir and it’s really a breath of fresh air as far as running a webserver goes. Much more flexible and simpler to manage than a python or nodejs runtime, and also capable of scaling up with far fewer resources than you would think. Highly recommend giving it a go!

comment 1y ago · link · parent

My band is playing a small bluegrass festival this weekend. We’ve been recording an album since last year and are starting the work of promoting it by playing more gigs!

comment 1y ago · link · parent

Would we consider the calculator useful if it sometimes told us 2+2=22? Would this at all be considered a sign of creativity or abstract thought?

comment 1y ago · link · parent

Nice work, both to the prompter and the promptee!

comment 1y ago · link · parent

Nice work Hunter! I’m starting a hardware side project so I’ll definitely be giving the book a read. Hopefully it helps me avoid some of the common electronic pitfalls.

comment 1y ago · link · parent

It’s always the year of the linux desktop!

comment 1y ago · link · parent

More than 50% voted for not-Trump

comment 1y ago · link · parent

Add Intune to the list of bad MS dashboards…

comment 1y ago · link · parent

> Spends more time explaining why TypeScript in Svelte is problematic than actually fixing TypeScript in Svelte.

Damn, that’s brutal. I mean, I never said I knew how to fix ComponentProps or generic components, just that they have issues…

comment 1y ago · link · parent

Morals aren’t always involved in commercial software development, and likely they never have been in any of your workplaces. However, I think it’s a gross mischaracterization to claim that morals and business don’t have any overlap. I work in the health tech industry, and I feel good knowing that patients benefit from using our device. I know I wouldn’t feel the same way if I was working at some fintech optimizing stock trading to the Nth degree.

comment 1y ago · link · parent

I agree with your point in general, but saying one needs to be great at using AI tools gives way too much credit to companies’ ability to identify low performers. Especially in large organizations, optics matter far more than productive output. Being able to use AI tools is quite different from saying you are using AI tools!

comment 1y ago · link · parent

I’ve been pretty happy with aider. I have it running in a separate tmux window and can switch between it and nvim easily.

comment 1y ago · link · parent

This is a very handy postgres extension! We've been using it at my job for a couple years now to generate test datasets for developers. We have a weekly job that restores a prod backup to a temporary DB, installs the `anon` extension, and runs pg_dump with the masking rules. Overall we've been very happy with this workflow since it gives us a very good idea of how new features will work with our production data. The masking rules do need maintenance as our DB schema changes, but that's par for the course with these kinds of dev tools.

All that said, I wouldn't rely on this extension as a way to deliver anonymized data to downstream consumers outside of our software team. As others have pointed out, this is really more of a pseudonymization technique. It's great for removing phone numbers, emails, etc. from your data set, but it's not going to eradicate PII. Pretty much all anonymized records can be traced back to their source data through PKs or FKs.

comment 1y ago · link · parent

It’s been a long time since I used vscode (~5 years) so my experience may be out of date. But I recall the vim plugin missing the quickfix list and :cdo. Also there were quirks with y and p that didn’t happen when using vim (maybe extra whitespace getting inserted).

comment 1y ago · link · parent

Alembic is certainly a bit of a challenge to grasp at first, especially if you want to do anything more complicated than create or alter tables. However, it does provide a great amount of flexibility if you want to implement more complex migration functionality. It allows library developers to add powerful features that would be very difficult to do with Rails/ActiveRecord or Django ORM. FWIW I maintain the flask-audit-logger package. It allows users to maintain audit logs of specific tables using postgres triggers. Being able to create custom migration operations is really an amazing feat. The alembic docs are quite dense, but the code is well organized and very readable.

comment 2y ago · link · parent

I don’t want to overly generalize, but N+1 problems are very real and frequently occur in code written by more junior developers. Their impact and occurrence rate are dependent on the nature of the application though.

I also think there’s an avoidance to simply “translate” a GQL query into an SQL query. Not that it can’t be done, but it allows a lot less flexibility in the backend as far as code patterns that can be adopted. Basically it minimizes the use of ORM models, which may be a pro for some and a con for others.

I haven’t worked with GraphQL in over 4 years since I left my last job. I actively made a choice not to use it at my current job and steered the ship towards REST endpoints, mostly because it would be easier to build authorization middleware. Also like the author of the article discovered, code littered with dataloaders is a pain to maintain.

123