Better HN
topnewbestaskshowjobs
Log inSign up

MathMonkeyMan

2,676 karma · joined Nov 28, 2019 (7y ago) · 1,131 submissions

Submissions

comment 5y ago · link · parent

thank you for this

comment 5y ago · link · parent

My last sentence was not relevant to the topic of the article. It was my jaded summary of how much tech hiring I've seen works. Maybe an edgy non sequitur that didn't belong.

comment 5y ago · link · parent

I think that an important factor is the extent to which interviewers' assumptions and criteria are aligned.

At one of my previous jobs, I noticed the following in hiring:

- The senior engineering recruiter, in HR, thought that there was one standard for whether to make an offer, and that team selection happened afterward. The engineering managers who actually had the power to say yes or no instead thought that there was a hierarchy of quality among the positions offered, e.g. "we won't hire him, but send him over to those morons maybe they can use him."

- Engineering managers did not value open source contributions or non-work projects. I pointed out a particularly impressive piece of C++ on a candidate's github, and was told "how do you know that he didn't just get someone else to do that for him?" The manager cared more about the minutiae of undefined behavior in the iostreams library.

- Interviewers are not willing to take the time and energy it would take to grok someone's code and assess what it says about their value as an employee. The result would likely be subjective anyway. It's not unreasonable to conclude that fair assessment is too expensive. It also makes me wonder whether organizations with excellent code review culture are also excellent at interviewing.

Let's keep giving candidates programming-centered IQ tests, preferring people like ourselves, and occasionally when we wish to signal an interest in balanced racial or gender demographics, a committee will quietly adjust offers to compensate.

comment 5y ago · link · parent

A friend of mine in the neighborhood started playing around with RPG Maker 2000, and then sat us all down and taught us how to use it. Later, the older kid whose house we'd hang out at, his parents bought him Visual Studio 6 (C++), hoping that his constant time on the computer would make him a programmer (it didn't).

The RPG kid and I copied the compiler, though, and went to town.

I later went to college at the state school and studied Physics (out of interest) and Music (out of not wanting to stop playing). I've since stopped playing.

When graduation was near, I didn't do well on standardized tests for Physics graduate schools, and really I don't think my heart was in it. I didn't get accepted to any schools, so I went to the job fair, since my engineer/comp-sci roommates were doing that.

I interviewed with Microsoft and Bloomberg. Microsoft told me no in the last on-campus round. I didn't know that the traveling salesman did not have a polynomial solution (if P != NP ;))

Bloomberg said yes. I think that my over the top nerdiness and perhaps confidence helped. There's one thing I remember, though. They asked me my SAT scores and when I told them, they seemed deeply impressed. This makes me wonder if the rest of the interview was just a show.

Once I had a good paying job at a reputable firm in a big city... I guess that makes me a programmer. Once you're in, you're in.

Now it's ten years later and I'm working at Datadog, doing C++ stuff (Bloomberg is largely a C++ shop, and I have yet to pivot in any significant way). I like my job. I'd be coding for fun anyway, though. I still code for fun. No kids yet.

Thanks for asking. :)

comment 5y ago · link · parent

I wonder why this was downvoted. It's an interesting hypothesis.

comment 5y ago · link · parent

Solution: Make Github's PR merge and/or squash commit message the PR extended description exactly, prefixed with a permanent link to the PR. Then the trick is making your thoughtful well-edited commit messages into a thoughtful well-edited PR description. Problem then is that the initial PR description does not often reflect review discussion. I think it's better to encourage requestors to edit their description than to believe that the person hitting the big "you're done" button will sit and edit a commit message.

comment 5y ago · link · parent

Just read a textbook. It's not easy, but it's what you want:

- rigorous treatment of the material

- no bullshit fluff

- exercises that you can do to think about the material and test your comprehension (often 50-100% of the answers are available online)

- systematic treatment used to train real physicists

In my experience, it's all about the homework. The rest just supports that.

comment 5y ago · link · parent

Comment everything. The worst thing that can happen is somebody concludes "nope, that's not true anymore." To avoid describing the system entirely is nothing but laziness. Rationalize it however you like, it's just laziness.

comment 5y ago · link · parent

Lawyers exist to distinguish logic from bullshit, and the bullshit is binding.

comment 5y ago · link · parent

Fair point, I'm being defensive unnecessarily.

It still puts me off slightly that the tool mixes "make your code less prone to error" with "this guy wants this." Ok, live and let live.

I'm reminded of Douglas Crockfords's jslint, which is a mix of "this caused bugs before" with "how I write javascript."

comment 5y ago · link · parent

Good point. The "blah blah" in my case would have to negate the condition.

    x = value (... unless this isn't true, then it's blah instead)
The stuff in parentheses is a caveat. Works just as well your way, and more directly.

    x = value (... so long as this is true, otherwise blah)

comment 5y ago · link · parent

Because that's what Guido liked, that's the answer.

I don't like it much, but it's neat that the "happy" path value is a prefix of the assignment statement, i.e. in

    x = 4 if thing() else -1
there is a prefix

    x = 4
which, if the predicate is "expected," is like saying

    x = value (... unless blah blah)
which, I could see some people liking (maybe Dutch people).

Let's just write everything in Scheme for God's sake JOIN US.

comment 5y ago · link · parent

Ah, leave people alone.

I stopped using ternary expressions because someone told me not to. I could start using them again, whatever.

I use while loops when the burden of describing the loop as an iteration is too high (too much of a stretch), or when I'm writing something that really isn't a composition of forEach/map/filter/reduce (gasp).

For me, it's whatever I need to do to get through code review without arguing too much.

Don't add linter checks for these things, it's condescending.

At the very least, have the "greater good" on your side, e.g. "it confuses some people!" or "it is often a bug!" or "it can become a maintenance nightmare!" or whatever. If your reason is "I like it better this way," well then yeah, the reaction I would anticipate is "who asked you?"

The reason this bothers me isn't that I strongly disagree, but that I'm in the habit of doing whatever my linter tells me, and adding stuff like this cheapens the thing and makes it harder to sell to "I'm an expert, get off my lawn" people.

Why am I even writing this, I'm knee deep in C++ these days.

comment 5y ago · link · parent

Not sure, but I ported Jim Bender's sxml-match to Racket so I could use it to pull apart some XSD: https://github.com/dgoffredo/stag/tree/master/src/stag/sxml-...

Hardly had to touch it, it's brilliant.

comment 5y ago · link · parent

Seemed less rude to make it about me ;)

I like how you describe it below, as just another nervous habit in public speaking. A very annoying one.

comment 5y ago · link · parent

I understand that resentment.

I hope that the uncertainty, lack of authority, and amateurism that I ascribe to up-speaking is rightly placed. I hope that it's just a matter of cultural norms that young women are the most likely to speak this way.

But what if there's nothing intrinsically grating about up-speaking, and instead it only reminds us of young women?

I've convinced myself that it's the former, but it wouldn't blow my mind if I were wrong.

comment 5y ago · link · parent

here: https://www.davidgoffredo.com/git

comment 5y ago · link · parent

https://shaunlebron.github.io/parinfer/

comment 5y ago · link · parent

I even do a minimal version of SXML in python, using python's lists, because it's much better than the DOM/builder way.

https://github.com/dgoffredo/dgoffredo.github.io/blob/372300...

You could do the exact same thing in javascript.

comment 5y ago · link · parent

I'm pretty sure fossil fuels are long from dead, but the article reminded me of this: https://pwg.gsfc.nasa.gov/Education/wtether.html (You only gain back part of the energy you spent getting into orbit, but I still find it magical).

comment 5y ago · link · parent

Broken but interesting. We might learn something about the brain by observing what happens when you put it in another body.

I'd like to think that the body would affect the brain in dramatic and transformative ways, but on the other hand the body might just establish a class system that eventually starves both systems.

comment 5y ago · link · parent

I was going to write a blog post conveying my mental model of what git is (having had one too many conversations along the lines of "no, git is not a ledger of diffs").

So, I started reading through <https://git-scm.com/book/en/v2/Git-Internals-Git-Objects> again to make sure I didn't have anything wrong.

But now there's no point in writing a blog post. Maybe I'll write one that just links to <https://git-scm.com/book/en/v2/Git-Internals-Git-Objects>.

It even has nice diagrams, which I think are essential for this kind of thing.

comment 5y ago · link · parent

I didn't do much work in Chicken, but I chose it as a language for ops scripts that were to run on any old Unix box whose installed software I couldn't control, e.g. AIX, Solaris, HP-UX, RHEL 5.

Couldn't even count on Python 2 being there. It was either POSIX shell or statically linked native, and Chicken (with a few modifications) allowed me to do that on all of the above platforms.

Fortunately (in retrospect), none of my code ever found much use. Learned a lot about Scheme, though :)

comment 5y ago · link · parent

Yeah I was referring to Feynman. At the end of the video embedded in the article, he ends a story by saying something like "these were the sorts of things you had to know in the fraternity."

He didn't mention shotgunning beers.

comment 5y ago · link · parent

You're right that my comment smacks of "go outside, kids" and sounds belittling.

It's easy for me to make the claim that I did, because I have no stake on the internet. Neither my income nor my passion is dependent upon an online audience. Here I am in my armchair, "it's not a problem, you're the problem!"

That's insensitive and I apologize.

Still, do consider the possibility that the passion behind your response is grounded in an overinvestment in online interactions. I don't know you, and may be overstepping bounds, but this is the softer version of my point.

comment 5y ago · link · parent

Do we need to be discovered on the internet?

This computer that I'm typing into in order to respond to your comment is not the world. The world is outside.

I discovered a variety of people yesterday when I went for a walk in a crowded park. That is the world.

comment 5y ago · link · parent

Boring languages have lots of loops and things that are required to have names.

comment 5y ago · link · parent

His stories about college fraternities are quite outside the usual.

comment 5y ago · link · parent

I had a discussion with a friend in college about this. We were both doing dual bachelors in Music and Physics, graduation was approaching, and it was coming time for each of us to choose whether we'd pursue research, art, or other.

He was perhaps smarter than me and worked harder. I asked him what it was that motivated him, and he said that it was a sense of guilt that had been instilled in him by his parents. I told him that guilt is a destructive motivator, at least in the long run. He replied that it actually worked well for him and he was glad to have it.

I also am sometimes motivated by guilt. Does it bother me because I'm more aware of it, or am I right in thinking that there are better motivations within reach?

comment 5y ago · link · parent

Abstract: Politics on the internet doesn't make people assholes. Instead, assholes are drawn to, and conspicuously visible in, politics on the internet.

That's an encouraging thought.

1
3435363738