HNHacker News
TopNewBestAskShowJobs

munchbunny

6,784 karma · joined April 24, 2012

submissionscomments
munchbunny··on The Lone Developer Problem
> I would prefer to read someone's mental model of how the code works than the code itself.

I find this is often true for me. If there's a bunch of code that I'm having a particularly hard time understanding, it's usually because I don't actually have a working mental model of what the thing is supposed to do.

Problem is, with complex systems often the way to record the mental model is something like a design document, and getting programmers (including myself) to write thoughtful natural language to accompany our code is a constant uphill battle against business pressures to ship more.

munchbunny··on The Lone Developer Problem
I've definitely been on the receiving end of experienced (10+ years) and competent (or, at least, clearly not incompetent) developers solo-developing inscrutable code that their colleagues had to pick up later. In contexts where they contributed code to bigger projects, their code showed more focus on readability.

I'm sure I've inflicted my share of hard-to-understand code too, most likely out of not wanting to spend extra time on some byzantine section of legacy code.

munchbunny··on Keep your AI claims in check
Also video game AI’s. I like to use that as a quick test of a definition of “AI” because video game AI’s span a very wide range of levels of sophistication as well as algorithms, many of which look like deterministic decision trees, most of which don’t use any ML or even regressions.

Arguably that’s a different overload of the term “AI” the way it’s used in business, but I think it’s a good reminder that AI as a field has a long history that developed separately from ML and data science.

munchbunny··on Most data work seems fundamentally worthless
> which means that career advancement would require learning cloud architecture, cybersecurity, IAM, networking, etc.

I was going to suggest: we have a bunch of data scientists working on intrusion detection problems in cybersecurity, tied to an engineering organization instead of an IT organization. On the balance of considerations, I think it has a net positive impact. And I'm pretty sure plenty of other companies have something similar. Unfortunately, we also have an ongoing hiring freeze, so I can't recommend my own organization.

munchbunny··on The End of Love
In her defense in that particular instance, she acknowledges that she had shallow reasons and that it had nothing to do with the man.

I can empathize with the author on this one, that sometimes your emotional interest in someone dissipates for superficial reasons, but no matter how much you rationally know it’s dumb, you also know it’s unlikely you’ll think yourself out of the hole.

munchbunny··on How to weaponize the Yubikey (2019)
This is inspired and I love it!

I’m also kicking myself for not making this connection back when I first inadvertently typed gibberish into my documents by accidentally touching my Yubikey.

munchbunny··on B2B startups stop innovating the day you give power to product managers
Within the tech sector, project management refers to the set of competencies and tasks around coordinating projects - a lot of stuff around task tracking, reporting progress, unblocking problems that come up, and so on. Product management refers to a set of competencies and tasks for making sure you're building the right thing to solve the right problem. Tasks like conducting market research, user research, and crunching product metrics/analytics generally fall more on the "product" side than "project" side.

The actual boundaries tend to be a bit fuzzy because a lot "product management" comes down to doing whatever the team needs in order to make sure a good product is delivered, and by necessity product managers often do a substantial amount of project managing.

Typically you'll see people conflating "program management" and "product management" in tech. You don't usually see "project management" in that mix since that tends to refer to a more industry agnostic discipline.

munchbunny··on Layoffs Are Cruel and Don't Work
The organizations that are using mass top-down layoffs as a strategy may not have the ability to do something more granular. And I don't mean that in terms of organizational size (though it seems inevitably correlated), I mean it in the sense that an organization's ability to manage its talent is a direct result of the quality of the organization's management hierarchy, which is the same hierarchy responsible for organizational bloat.

If your management hierarchy has too many mediocre managers, you lose the ability to evaluate who is/isn't pulling their weight at fine granularity, so you're stuck with blunt tools.

munchbunny··on Ask HN: Does “choose not to identify” hurt your chances when applying online?
Speaking from my own big tech hiring experience, as the hiring manager, and working with our recruiters from HR, if you do not belong to one of the "in demand" demographics, then it generally does not make a difference between providing the true value and declining to provide that information, because the positive identification of underrepresented groups was the part that made a difference.

I never got to see the responses myself, but the recruiters from HR could. That said, if a hiring manager wants to bias their hiring based on this information, they'll figure out at some point before making a decision, whether or not you provided it. Your resume, your name, your educational background, your accent, etc. all passively shed information, so I would often find the answers without wanting to or trying to find them.

munchbunny··on The six dumbest ideas in computer security (2005)
The points didn’t age well, but there’s a kernel of truth in there: none of those things will ever work 100%, so if you’re trying to really lock things down you need defense in depth, which was also not a new security concept in 2005, but it was one we were, as an industry, less sophisticated about.
munchbunny··on Things I’ve learned in my years as a software engineer (2021)
I’d definitely agree that “software engineers should publish writing regularly” might be off the mark, but “software engineers should be able to write well” is pretty uncontroversial. And being able to write well comes from focused practice, however you get that practice.
munchbunny··on The truth about CSS selector performance
I've never heard "raw CSS" with that connotation. I've usually heard it used to point out that they're writing .css files that are getting directly referenced and aren't getting generated or compiled in a build pipeline, because CSS with extra tooling is so common (for good productivity reasons) these days.
munchbunny··on Microsoft to lay off 10k workers
It's mixed. From my personal observations the more junior folks and the people less up to date on the discourse around unlimited PTO are happier, but people who are aware of the knock-on effects on company culture, pressure to deliver, etc. are unhappy.
munchbunny··on Use.GPU Goes Trad
If I’m someone who just wants to get an app out the door, then I’d argue that not being able to gracefully bridge to other paradigms when there is a gap in what is available under a reactive pattern is by itself a problem (an ecosystem problem). That’s why I use React. Despite the issues with bridging to non-reactive abstractions, it remains a useful pattern.

Others may be more concerned with the applicability of the pattern itself.

munchbunny··on Ask HN: Is TypeScript worth it?
Not the parent poster, but… the size of the codebase is for sure a criterion, but also code I have to continuously maintain or add to, or code written by a team where I have to read others’ code and vice versa.
munchbunny··on Compromised PyTorch-nightly dependency chain between December 25th – December 30
> Assuming that you're talking about the signal:noise problem, that's hard in the general case but I feel like you could easily pick off really obvious cases like trying to access private SSH/GPG keys and still get a lot of value.

Probably. I’d agree that it’s worth trying at the very least. I’ve run into enough “should be easy” cases that turn out to be not that easy that my default is to get the data and see if the hypothesis really pans out.

munchbunny··on Compromised PyTorch-nightly dependency chain between December 25th – December 30
Only using privileged containers, or else you don’t have visibility into signal from other containers.

But, say you had such a container, there’s an important distinction between “you captured a log showing the smoking gun evidence of the supply chain attack”, and “you successfully picked that log out of all of the log data you generated and classified it with high confidence as an attack”.

Speaking from experience, the second problem is the hard problem for a multitude of reasons. So while you would have the data, you’d probably have trouble getting good precision/recall on when to actually sound the alarms vs. when it’s some SRE who needed to troubleshoot some network connectivity issues.

munchbunny··on First TV Image of Mars: Interplanetary color by numbers (2016)
It usually does, but the article talks about manually drawing out a grayscale image by following luminance numbers. That’s generally not considered “indexed color” unless you’re using a mapping of pixel values to grayscale values (indexing) to reduce the number of valid pixel values for compression purposes.
munchbunny··on Strong behavioral individuality is present at the first day after birth in fish
In a similar vein, I don't understand people who want to know their child's gender before birth. Even ignoring the whole transgender and non-binary aspect, it's like they want to have their kids figured out at birth.

Or maybe it’s just so easy to find out the gender during medical screenings that you have to not look on purpose, so why not look? Then you don’t have to go out of your way to plan for two (pretty much) mutually exclusive possibilities.

Parents who want their children’s paths predestined don’t have a “knowing the child’s gender” problem, they have a “you can’t control your child’s basic personality” problem.

munchbunny··on Facebook reportedly laying off thousands of employees
It’s not just that. It’s usually a combination of low bonuses/stock rewards, minimal raises, no promotions, uninteresting/less meaningful work, and less effort put into coaching them. Basically all of the stuff managers should be doing normally.

If someone’s on the receiving end of all of those things they’ll usually leave sooner or later. Who wouldn’t want to?

munchbunny··on “When are we going to use this in our everyday life?” (2017)
I had a similar experience, I took stats without calculus just because that was what was available/feasible in college, and eventually I took a more rigorous calculus based probability and stats course in my early 30s. Despite having to relearn my calculus, the difference in conceptual clarity was obvious from even the first lecture because the answer to “why does this work?” has a direct interpretation through calculus that you usually can’t get without calculus.

Feels a lot like hiking: as you get more fit you also get access to more fun.

munchbunny··on Turns are better than radians
It's a good question since "radius" seems somewhat arbitrary, but the reason for defaulting to radius is that the unit circle (radius 1) produces convenient numbers in general in a way that a circle of diameter 1 doesn't. However, that doesn't mean that it's the most parsimonious choice for your particular application.
munchbunny··on Okta Exposes Passwords in Clear Text for Possible Theft
It seems that the fundamental problem here is Okta is sending passwords by design to execute a password sync. Typically, when you build an authentication system, you design your code to not store the password in plaintext so that there is no possibility of the password being read back out of the system, but Okta isn't doing this because they need to be able to do password syncing.

If you're trying to do this right, the short answer is "don't try to sync passwords." Use federated authentication (such as OAuth), or just use different passwords.

Can someone fill me in as to why they can’t just store the password using something like bcrypt?

It's addressed in the last paragraph: "For Okta's part, the passwords are in clear text because there is no standard reliable protocol for syncing hashes, researchers noted."

I guess you either have to store the password in plaintext so they can do dynamic hashing operations on it, or transmit the password (via TLS hopefully) which is vulnerable to packet capture (or captured within the receiving app).

TLS (when securely configured) is generally considered sufficient protection for the passwords in transit because stealing the password out of TLS typically requires first compromising the TLS connection, in which case you don't even need the password because you can steal the bearer token and the bearer token doesn't require you to get past a MFA check.

Are there any techniques for identity providers to authenticate people without storing or transmitting the users password to them?

This question doesn't quite compute for me, do you mean provisioning as opposed to authenticating? There's no reason an identity provider would need to send a user's password to the user when trying to authenticate that user.

munchbunny··on Ask HN: Why do companies not list your weaknesses in rejection emails?
I disagree that the second sentence follows from the first. Interviewing is a game of incomplete information, and you won’t find consensus among programmers for how they would rather be interviewed.

It’s entirely possible that the candidate was just off their game that day, or they weren’t “warmed up”. I get noticeably better at interviewing after the first few. It happens, but the interviewer has the information they got, and it’s not possible to totally control for that kind of variance.

What hiring managers should be actively minimizing, that most hiring managers I’ve seen do not, is variance that their interview process introduces by, for example, not standardizing and training their interviewers.

munchbunny··on VRchat bans mods, embraces EAC
> Provide better debugging info for your creators! They should know which client (or at least that a modified client) is being used.

> Ditto. These tickets should be easy to auto-close if you force folks to include info about their client.

As a (former) modder, though not for VRChat, I can definitely empathize with this. Code quality with mods is a freaking wild west where modularization isn't really a thing and everyone monkey-patches everything. Supporting your mod/content amidst other mods is in the gray area where the etiquette expects content creators to support their stuff even though there's no "warranty" on the label, so you get significant variance in how demanding players are or how accommodating content creators are.

That said, I don't think anti-cheat is the answer here. Officially supporting mods and driving modified clients down a predictable path where you'll know when and how a client is modded seems like a better approach. Modders benefit from having real infrastructure to work with, and as the game dev you can ask players to turn off mods for troubleshooting.

munchbunny··on I remember feeling derisive about marketing as a young techie
This is probably just a semantic difference. In the marketing/advertising industry, “advertising” tends to refer to a subset of channels (banner ads, social media ads, video ads, TV ads, billboards, etc.) while “marketing” refers to the general problem of getting the word out.

I think you’re using “advertising” the way a marketing person would use “marketing”.

I don't think this changes anyone's point, just clarifying what might feel pedantic where there is a term of art associated.

munchbunny··on Rolling your own crypto: Everything you need to build AES from scratch
I also disagree with the “read books instead” stuff. As long as you’re not using your homegrown crypto in production, and more generally as long as you’re not doing stupid things like reusing single-use tokens, why would I care how you choose to spend your learning time? Though if I’m catching these mistakes in pull requests, I might suggest a formal curriculum for the sake of actual software safety.

I see the same problems in internet debates about which programming language to learn first or how to learn programming in general, and a lot of it just doesn’t take into account that learning is a long journey and staying on the path is often more important than taking the fastest or cleanest path. If trying to roll your own stuff is more engaging, great!

munchbunny··on Ask HN: Why do I struggle to follow corporate meetings?
It's because a lot of corporate communications are more like strings made of pointers to concepts rather than strings made of words.

The exercise that helps me, personally, is to ask a series of context questions:

* Who is the intended audience? Why would the intended audience care about what's being discussed? Corporate communications tend to err on the side of broadcasting too widely rather than too narrowly.

* What is the communicator actually trying to get out of this communication? It's often not what it says on the label. With some people it's usually not what it says on the label.

* When they use a specific buzzword or marketing term, why did they use that term and not any other term? It's easy to dismiss buzzwords as bullshit (e.g. omnichannel marketing), but they didn't catch on out of sheer luck, so why is it that this specific person is using this specific term?

There's much more there, but in general I will try to focus on understanding the context that whatever is being communicated fits into, and once I understand that then things tend to be easier to parse.

munchbunny··on Ask HN: Why are there so many companies trying to reinvent the terminal (badly)?
Having used both QT and Electron, my subjective experience is that Electron is just more ergonomic to use. And it's not because I'm new to C++ either. I have more years logged writing C++ than I do in the JS ecosystem. It's also not because I actually like Electron very much (I have several big problems with it), but if I needed to build a new cross-platform UI app these days Electron would be my default.
munchbunny··on Founding Uber SRE
> whether this unicorn is doomed to fail-at-scale because of poor organizational intelligence.

This is the heat death of any organization. Organizations can absorb a stunning amount of dysfunction and somehow keep ticking.

> The director retorted and asked rhetorically what if my team complained that I wasn’t doing any work?

I think you can interpret that question two different ways, and it's hard to tell which one it was without being in the room/being in their head. The more generous way to interpret this is that they were checking your understanding of the role a manager plays outside of pushing changes and decisions.

That said, if it was clearly the director communicating that a manager should be jumping in and imposing a vision immediately, then you would've been misaligned philosophically, and that's probably not a job you'd want even if you're qualified. Being a manager while fundamentally disagreeing with your own boss is having one hand tied behind your back.

← PreviousPage 5 of 34Next →