HNHacker News
TopNewBestAskShowJobs

gmassman

168 karma · joined November 1, 2017

https://gmassman.com/
submissionscomments
gmassman··on Google gave investors a $70B buyback,and laid off 12,000 people
From what I understand though, it’s often possible to just “look” busy without actually being productive. Seems like cranking out design docs and scheduling meetings to make yourself and your work appear important can push one up the ladder a lot faster than making improvements to the codebase will. Optics matter most in organizations the size of Google.
gmassman··on You are what you read, even if you don't always remember it
That’s a nice sentiment, but I don’t think it can reasonably be applied to most people. Consider the kids brought up around gang culture and taught to sling dope in middle school. Is that experience a net positive for them?
gmassman··on XZ Backdoor: Times, damned times, and scams
I think personality matters a lot here. One person may flaunt their open source contributions to their colleagues because they like the kudos. Another person may quietly commit and never publicize themselves because they don’t like being the center of attention. Both can even be true of the same person at different points in their careers!
gmassman··on XZ Backdoor: Times, damned times, and scams
It seems no more misleading than Jia Tan assuming an identity based on git commit timestamps…
gmassman··on What's up Python? Epic CPython commit, Django 5 and 2FA for PyPI
I’m also curious to know why OP prefers naive to tz aware datetimes. IMO naive datetimes are a bad default, and `utcnow()` deserves to be deprecated.
gmassman··on Details emerge of surprise board coup that ousted CEO Sam Altman at OpenAI
It makes the most sense if you value your own wellbeing over whatever “mission” a company is supposedly chasing.
gmassman··on California suspends Cruise's autonomous vehicle deployment
This morning my coworkers rode in together in a Waymo. One told me it was $16 while an Uber would have been $35.
gmassman··on Ask HN: What are some good resources to understand medical device cybersecurity?
Use best IoT practices. Treat a medical device like any new product whose data you want to remain secure. On the device itself, ensure your firmware is inaccessible to curious hackers. Most MCUs provide read back protection so enable it! Ensure OTA updates are encrypted and signed, and only verified bootloaders can decrypt and install firmware. All network communications should be encrypted too; use HTTPS or similar protocols and treat your device certs like you treat your firmware.

On the backend, use web API security best practices. This means only allow API access to authorized devices and/or users. Keep your database secure. There’s tons of resources out there about how to build a secure backend.

Cybersecurity isn’t nearly as complicated as marketers and would-be consultants paint it out to be. Granted, programs are complicated (firmware especially), so invest heavily in good testing to catch insecure code before they manifest into issues.

As far as the FDA is concerned, document everything, probably more that you think is necessary. Write up a clear set of requirements, verification and validation plans, and very thorough design documents. This benefits both them and any future team members that may need to work on the project.

gmassman··on Ask HN: Switch to Ubuntu, or Stay with Fedora?
This is purely speculation because I don’t work with ML, but I imagine most Ubuntu specific software tutorials can be applied to Debian as well. They use the same package manager (apt) and should effectively be able to compile/run all the same software.
gmassman··on Python: Just Write SQL
Thanks for you perspective, Mike. Completely agree that the interface between data and code should be handled by a single tool. That tool must meet some minimum complexity, because it’s solving a very hard problem! Also just want to say that my team has benefited greatly from your work on SQLAlchemy, and we appreciate you immensely!
gmassman··on System design and the cost of architectural complexity (2013)
There’s a point in a company’s trajectory where quality becomes more important that quantity (speaking specifically of software features here). Early on it usually makes sense to throw things at a wall and see what sticks. But once there’s a sense of product market fit, the engineering org needs to buckle down and focus on doing things slow, methodically, and correct.

There’s also engineers that prefer doing these different kinds of work. They thrive on quick wins and kudos from founders. Early engineers probably need to be ok with bugs and edge cases that they’ll never go back and fix. Personally I don’t like doing work like that, but I’m definitely in the second class of engineers who needs systems to be modular, composable, and well defined.

gmassman··on Bob Lee, former CTO of Square, has died after being stabbed in San Francisco
While I agree with your sentiment, the problem with gun ownership in a place like SF is the risk of manslaughter charges. Shooting someone committing a property crime may be seen as justifiable from the eyes of the property owner, but not in the eyes of the law. Unfortunately you’re best off just letting yourself get robbed, or moving away if you don’t want to accept the risks of living with an ineffectual local government.
gmassman··on Ubuntu stops shipping Flatpak by default
FWIW I’ve been using Linux Mint for years and have never had a major issue. Most minor issues are with out of date repository packages which can usually be installed by other means.
gmassman··on What a good debugger can do
How long before a Lua implementation of gdb for neovim outperforms gdb in Vi-mode?
gmassman··on Ask HN: What would be your stack if you are building an MVP today?
Type hints in Python are nice, by pale in comparison to truly typed languages. If you want to feel like your language’s type system significantly improves your development experience and the safety of your code, don’t pick Python.
gmassman··on The Dawn of Everything challenges a mainstream telling of prehistory
Yep, I started the audio book back in August and just finished it earlier this week... 5 months may be a long time but it's probably shorter than the reign of most chieftains.

Honestly I really disliked the audiobook. The reader was dreadfully drab, even with his impeccable English. Also the book ended up costing me $60 ($15 / mo Audible subscription), even I technically got to listen for free. Most expensive history lesson I've ever paid for.

gmassman··on The Dawn of Everything challenges a mainstream telling of prehistory
I finished the book earlier this week, and can say it does distance itself from the initial chapters pretty quickly. They are important frames of reference, and I can definitely understand the authors reasons to include those ideas so prominently. Anthropology was developed as a western oriented study, and carries along with it many of the biases and assumptions that only Europeans could have endowed.

The political climates that existed during the colonization of the Americas played an important role in the evolution of modern cultures. The book is filled with examples of different societies and how they formed, and politics has played a role in ever single instance. Regardless of if you agree with the authors’ ideologies or not, they do a pretty good job of remaining neutral when examining historical evidence. I found it a nice change of pace from the typical “westernized” explanations of how civilizations (especially Native Americans) were structured.

Overall I think it’s an excellent read, well worth the investment.

gmassman··on Ask HN: Favorite Podcast Episodes of 2022?
Anaka Harris on Lex’s podcast was fascinating. I loved hearing her perspective on consciousness and the limits of scientific inquiry. Second to that was the John Carmack interview which lots of folks on HN seemed to enjoy!
gmassman··on Migrating from Vue 2 to Svelte
Typescript support in Svelte is one of the biggest problems with the framework I’ve encountered. We have a couple of production Svelte apps at my job and overall the frontend DX is excellent. However, not being able to use generically typed components is a big missing feature. We have a number of custom core components which work really well, but not being able to create a new component with something like MyTable = Table<User> feels like an oversight. Inside of the Table code we work around this shortcoming to appease tslint…

Overall though regular .ts code works well. We use it for all our API definitions and networking layer, and it’s been 1000x better than our former version built with jinja/jQuery.

gmassman··on Oven: The Company Behind Bun
I 100% agree. Cutesy names should end once the package name has been chosen. Package authors and contributors that overdo the thematic names should stick to writing fiction, not code.
gmassman··on Singing: The key to a long life (2008)
Look online for singing lessons. If you want to learn in person (which I'd recommend) search for teachers in your area. Most have at least a modest amount of local or online advertising. You can also checkout craigslist or ask on a local subreddit.

I found my singing teacher through a Google search, and I found my violin teacher through word of mouth.

gmassman··on Singing: The key to a long life (2008)
Piano is a full body experience. It requires the feet to manage pedals and the back to ensure good posture. Not to mention the head which is driving the bus! It's not just the hands and lower arms that are coordinating. In fact I'd venture to say all instruments are full body experiences. Well, maybe not kazoo...

Singing is a wonderful skill and an amazingly unique instrument. Good singing requires awareness of the lungs, diaphragm, pelvis, butt and often (if you're like me and play guitar while doing it) the upper body.

gmassman··on Ask HN: Has YouTube peaked?
I went down a similar kettlebell rabbit hole, now it's one my favorite ways to exercise. I'd highly recommend the Mark Wildman videos on kettlebell technique if anyone else is interested in giving them a go.
gmassman··on Vite – Next Generation Front End Tooling
I'm also a developer and this is a terrible overstatement. My company sells a product that isn't particularly hard to understand, and our www site makes it pretty clear what we're selling.
gmassman··on Broadcom to acquire VMware for $61B
Who's Tim?
gmassman··on Sunset of libspotify
I 100% agree with all your issues. Some product manager(s) at Spotify seriously messed up when they designed the queue system. Maybe it's too much to ask for the Next songs to actually play Next?
gmassman··on My startup is broken
All companies have unique cultures. Just because a company is a startup doesn't inherently mean everyone works crazy hours, is under a huge amount of pressure, or is forced to sacrifice work-life balance. That may be the case in some places, and at certain points in time those factors will apply. But more often than not I'm a 40 hr/week senior engineer who has time to spend with friends, practice violin, cook meals, etc.

The lower pay isn't low - I'm making plenty for the Bay Area. The stress isn't too high - we have important customers with product expectations, so we test thoroughly before we release changes. I may not be in the weeds writing code every week because I need to wear the product and QA hats too, but overall I love being a high impact player on a team making an impact in a market I care about. Whether the company takes off or doesn't, I'm happier building something with minimum overhead and maximum flexibility.

gmassman··on Ask HN: Codebases with great, easy to read code?
I agree about having an error to investigate or a question to answer. Some of the python libraries with great code I'd recommend reading are Flask and Werkzueg. Both have very clean interfaces and excellent documentation. Sqlalchemy is somewhere in the middle. As an ORM it has a high minimum level of complexity. But the codebase is still reasonably well organized. Looking for an answer to something like "how does it emit a JOIN" may be a lot harder to answer than you expect though.

For packages to avoid, stay away from Celery. It's just... icky.

gmassman··on $1 Microcontrollers (2017)
I'm sorry to hear about your loss of faith in humanity. Especially hearing how you don't play music with others anymore. I'm a musician and not being able to make music with my friends would be a huge loss.

I hope you find peace and healing. People often suck, but they can also be beautiful if given the chance. And you deserve that chance.

gmassman··on How I think when I think about programming
maybe it's pedantic but I don't want to read an article that can't properly capitalize sentences.
← PreviousPage 2 of 3Next →