HNHacker News
TopNewBestAskShowJobs

catpolice

666 karma · joined July 23, 2015

submissionscomments
catpolice··on What programming languages do you know and which ones do you want to learn?
Know: Javascript, Python, Java, C/C++/C#, some basic knowledge of Common Lisp and a few others (quickbasic, various scripting or special purpose languages like Matlab)

Want to learn: Clojure, Haskell, x86 assembly, webassembly, shader languages (e.g. GLSL)

catpolice··on I was wrong, reflecting on the .NET design choices
GC is a no-go for a lot of games in general, just because the periodic stop-the-world cleanup causes unpredictable frame-rate-destroying performance hits. That doesn't matter a lot for some games, but it tends to stutter things like FPSs unacceptably.
catpolice··on Facebook Announces React Fiber, a Rewrite of Its React Framework
Finding my "State Architecture Patterns in React" article series on this excellent list of yours was a nice surprise. Thanks!
catpolice··on How do I make sure I don't mix up identical twin newborns?
Oh right, babies are stateful. I forget these things sometimes.
catpolice··on How do I make sure I don't mix up identical twin newborns?
Why would you need to tell them apart?
catpolice··on Maze Generator
Plugging my own, related project from a few years back: https://github.com/j-s-n/mazes

A Python program that generates animated GIFs of some maze construction algorithms, e.g. https://raw.githubusercontent.com/j-s-n/mazes/master/example...

The javascript version (https://github.com/j-s-n/mazes-js) has a few more algorithms IIRC but I never got around to fixing it up.

catpolice··on A friendly web development tutorial for complete beginners
"HTML & CSS IS HARD"

*ARE

catpolice··on Flat Pack Chainless Bicycle from IKEA
43 lbs, ouch.
catpolice··on Dissecting a Case of Imposter Syndrome
The thing that's helped me deal with impostor syndrome the most is to really internalize a couple realizations. It's less than my perception of my own competence was too low, it's that my perception of my peers' competence and depth of understanding was too high. Nearly everyone actually is kind of an impostor to a certain degree. Successful people are just less bothered by it - they let other people assume that their understanding is deeper than it actually is. You assume people know waaaay more than you, but really they typically know exactly enough about the subject to present that impression.
catpolice··on Ask HN: What are the best personal project websites you've seen?
Here's the deal: I disagree with this guy about a lot of things. I'm not going to address them one-by-one in a comment on a three year old piece. It's not my responsibility to write an essay about what precisely I think is wrong with a piece that I think demonstrates sexist attitudes every time I see one. There are a lot of them out there and they often repeat the same things. I used to spend a lot of time hunting down and refuting bad arguments, only to see them come up over and over again - I've realized there are much better things I could do with my fairly limited time and spare mental energy than that.

My original comment wasn't addressed to him. This thread was started by somebody asking about how to build a personal website for potential employers to evaluate them by. Even though the author isn't applying to work for me, I'm going to talk about his site from my perspective as an employer, in terms of how I'd evaluate it if he were applying to work for me because that's what's useful in this thread. I'm going to describe this guy in a kind of subjective, hypothetical sense - I know essentially nothing about him, other than that I've seen his website and now he's responded to my comment, so all I can offer is the impression I've formed as a potential employer and let the reader draw their own conclusions. My impression is hardly going to be unique here, or limited to some bubble (contrary to the "west coast tech web" guess, I'm writing from the infamously liberal state of Texas).

I value technical skills, but I also value how well people work in a team and how they contribute to the culture at my company. Red flags in the social skills area can absolutely trump impressive technical skills - I've seen too many situations where a skilled employee whose behavior is toxic in context has destroyed a team's ability to work together and finish projects, ultimately driving other people off. Their individual contributions might have been high, but their effect on the company was net negative.

Certain parts of his essay strongly suggest that he wouldn't be a good fit at my company. The overall vibe I get is that there are going to be cases where if someone has a problem with something he says, he's going to interpret them as being being hyper-sensitive or too PC or something. Everybody I've ever met with that attitude has been bad news. They're the sort of people with a much bigger problem: they really don't think that they should be held responsible for the effects that their words and actions have on the people around them. It shows up in complaints about "safety" and "sensitivity", in always siding with the guy caught on the wrong side of a harassment policy and it shows up in other work habits. The "I should be free to do my thing and if you don't like it, that's your problem" attitude stops working the moment their thing isn't what works best for the team.

Of course, it's not always the case that you're to blame for other people having problems with you. There are always going to be trolls on the internet, and even in workplace situations where we all have common interests and good reasons to get along, you're going to encounter people having a bad day, or interpreting things wrong or whatever. What matters is your reconciliation process. If you're saying or doing something that somebody takes issue with, I need your first response to be to trying to see what you could do to improve the situation, not rolling your eyes and bemoaning the sensitivity of a "pampered minority". One of those is constructive and the other isn't.

Perhaps ironically, in my experience the people who complain about hyper-sensitivity in the workplace are the most likely to instigate problems by reacting badly to something that doesn't need to be a conflict. For example, they will say or do something, and someone else will express that they disagree with it, or they were hurt by it, and the first person will cry "witch hunt" and interpret this as a kind of persecution. Often it doesn't take anything beyond even insinuating a negative sentiment. That's the kind of thing going on when Trump claims that the media is slandering him when they've merely quoted him disapprovingly (sometimes without comment).

My first reaction was that this guy's interpretation of the "shametweet" demonstrated this kind of thinking, because honestly being quoted with implied disagreement is not being persecuted - but upon further thought, he's right that people can use that kind of thing to aggressively sic their troll-ish followers on someone. At the same time, his response to my comment threw up some red flags. What I did was point out that he'd posted an essay and that its contents were a bad sign to potential employers like me. In a comment addressed toward someone asking about how employers view personal websites, I mentioned that his website gave me a bad impression, and I implied that I disagreed with him. Having seen this implied disagreement, he had many options for how to respond - letting it go would be chief among them in my playbook. How he chose to respond was to imply that I'm part of the "heads-on-pikes brigade", trying to discredit him and misrepresent him.

It's hard to find where I had space to misrepresent him, other than my subjective judgment of the tone of his essay as a "rant" - he'd done a fine job of representing himself without my help. So far he's represented himself as the kind of guy who interprets an implied disagreement and personal judgment as persecution. When I see that, I imagine someone who's going to interpret being disagreed with as being attacked in other situations. That kind of adversarial attitude is tolerated or even seen as healthy at some companies, but it's a big red flag for me. I could definitely be wrong, but I'll pass without finding out the hard way.

If you're reading this and thinking that the take-away message is "don't post potentially controversial stuff on your personal website" - that's absolutely not what I'm saying. I actually encourage people to post things that they care about that not everyone is going to see positively - insofar as you're trying to find a good fit, you're doing yourself and your potential employers a favor. As an employer, I don't want to hire people that would be a bad fit and unless you're just desperate to pay the bills next month, as someone seeking employment, you don't want to work at a company that's a bad fit for you either. Seeing an essay like that meant that I could determine that quickly and we don't have to go through the painful process of figuring it out later.

catpolice··on Ask HN: What are the best personal project websites you've seen?
If I saw this linked from a resume, I'd throw the resume out. The projects are impressive and I haven't spent enough time with the essays to evaluate their technical merits, but the anti-harassment-policy rant is like a giant, blinking "DO NOT HIRE ME" sign. I wouldn't want this guy anywhere near my team.
catpolice··on Symbolics Lisp Machine Museum
We have one of these sitting in the lobby at my office, used as a coffee table.
catpolice··on What every coder should know about gamma
As a pedantic writer, it annoys me that the article starts by mentioning a quiz and making a big deal about answering yes or no to the questions... but there aren't actually any questions. The "quiz" is a list of statements. Each one can be understood by context to imply a question about whether you agree with the statement, but it's distracting because you can't answer yes to something that isn't a question.
catpolice··on Ask HN: Data visualization consultant
I would also like this job.
catpolice··on Linus Torvalds Excoriates Software Freedom Conservancy
"Sure, he can be an asshole, but at least he is honest about what he thinks."

I hear this kind of thing a lot - the implication seems to be that the speaker believes that not acting like an asshole requires being dishonest about your own thoughts. Which seems to say a lot more about the speaker than they perhaps realize.

catpolice··on Nvidia stuffs desktop GTX 1080, 1070, 1060 into laptops, drops the “M”
"And if you can make it look like it's for grown ups too, that'd be great."

THIS. I'm not going to buy a laptop that looks like a prop from a Michael Bay movie. The best current option for a laptop with a GPU and a design that wouldn't be embarrassing to leave the house with is the Microsoft Surface Book, which is expensive, has a mediocre GPU and is actually still kind of embarrassing to own. I'm pretty excited about the day that gaming laptop manufacturers realize that their target audience isn't entirely composed of guys whose main fashion inspiration is Reaper from Overwatch.

catpolice··on Looks Can Kill: The Deadly Results of Flawed Design
Speaking of bad design, on mobile the text on that page slightly flows off the right edge in a way that interferes with reading and can't be fixed by zooming.
catpolice··on Maths notation is needlessly complex [video]
Infix notation IS funny, though I figured anyone learning arithmetic would be familiar and we're stuck with it - we probably can't convince grade schools to use Polish notation for arithmetic by default. In general, my attitude is that you should pick a notation that makes all the similarities with things you already know as obvious as possible and then stress the differences. They've already learned about non-symmetric infix operators if they've learned subtraction and division, and the only reason to expect that ^ would be symmetric was by analogy to multiplication, which is easy to clear up. Take it as a lesson that by default you should never assume operations are symmetric, in preparation for linear algebra ;)
catpolice··on Maths notation is needlessly complex [video]
I guess what I was trying to say is that treating that as a ternary relation is already overcomplicating the matter. Really, there's no need for nth root notation at all, because we already have fractional exponentiation. Why have a third place on the triangle putting any n there is the same as putting 1/n on the top?

Part of the argument for the triangle is that the relationships you'd have to learn are suggested by simple geometric manipulations.

But why learn whole new geometric manipulations when you've already learned the algebraic manipulations behind multiplication and division? By converting exponentiation and logarithms into infix notation, you do away with one side of the triangle and you can learn the relationships by just thinking "it's exactly like multiplication and division, except [etc]"

catpolice··on Maths notation is needlessly complex [video]
Ah bummer. Both of those were actually just transcription errors because I was writing formulas out in the course of a meeting, playing with whether the order of the v operator should be that way or the other way around - I don't have time to give it much thought at the moment but I'm admittedly less convinced I picked the right one. In the second case, that was a typo. In the first case, what I'd meant to write was: "Note that ((x * n) / x) = n. Similarly, ((x ^ n) v x) = n." You're right that neither is a symmetric operator but of course neither is division or subtraction. I sort of glossed over that intentionally, but the non-commutativity of the ^ operator would indeed probably be the main place that switching to infix operators could mislead.
catpolice··on Maths notation is needlessly complex [video]
I don't like it for a number of reasons.

One relatively simple one is that it doesn't naturally convert to a typed out version. Outside of category theory, where big commutative diagrams really do a ton of work, we should try to avoid introducing too much notation you can't type out, especially at the introductory level. Suppose two kids are trying to study together over facebook chat - how are they going to write these huge triangles out?

Second, it's actually unecessarily complicated. It introduces three concepts (exponentiation, logarithms and roots) as though they were entirely separate. But actually, the easiest way to understand how to work with roots is to just define them in terms of exponentiation. E.g. the nth root of x is just x^(1/n). All of the normal rules for roots follow from the rules for exponentiation (and fractions) immediately. You don't need a third side to the triangle, that's just adding extra complications - all you really need is exponentiation and logarithms and a way of representing that they're inverse operations in a certain sense.

So there's actually a simpler way to express all this in a notation that's much more similar to what we've seen before. The trick is to draw out parallels between familiar operations like multiplication and division. Note: I made this up 10 minutes ago, apologies if there are very similar proposals, it's just really obvious.

Most of the basic arithmetic operations can be written using binary infix operators, e.g. +, * and /. It turns out, exponentiation and logarithms can be too. In fact, if you're typing, exponentiation already is.

Let x raised to the nth power be written as (x ^ n) (note this is essentially exactly the way it's already typed out, only I'm using some unusual extra white space to emphasize that we're treating ^ as an infix operator). It's a little upward arrow that says scale x up by n (exponentially).

And let log base n of x be written as (x v n) or possibly (x \/ n). It's a little downward arrow that says scale x down by n (logarithmically).

This makes the two operations work in a way that's fairly analogous to multiplication and division in a relatively neat way. For example, for positive integers, multiplication can be thought of as (linearly) scaling one number up by another, while division scales it (linearly) downward in an inverse way. As already noted The same holds for these two operators, only the scaling is non-linear.

Lots of familiar relationships carry over, e.g. Note that ((x * n) / n) = x. Similarly ((x ^ n) v n) = x. And where (n * (x / n)) = x, it's also the case that (n ^ (x v n)) = x.

And where multiplication and division interact with addition and subtraction, those operators interact similarly with multiplication and division, e.g. where x * (n + m) = (x * n) + (x * m), similarly x ^ (n * m) = (x ^ n) * (x ^ m). And so on. You can derive all the relationships you need from a very small number of rules that are easy to remember because they're structurally almost exactly like the rules for operations you're familiar with. You already know those when you learn about exponentiation, so you don't have to learn new and weird geometric relationships.

All of those nice properties there follow from the fact that exponentiation is just the next operation in the sequence of hyperoperations (see https://en.wikipedia.org/wiki/Hyperoperation ) after multiplication.

Introducing this weird three place operator actually masks the underlying simplicity of exponentiation and its inverse.

catpolice··on Mossberg: I just deleted half my iPhone apps
I've read a few articles like this that start with the assumption that storage space obviously needs to be conserved. I always wonder what these people are keeping on their phones. I always buy the version of the phone with the least storage, and I do zero things to manage how much space I'm using and I've never run out. Is it like large offline media libraries? I don't spend a huge amount of time outside of wifi range and don't really have a problem just streaming everything.
catpolice··on Show HN: Reactpack – one command to build your React front end
Most of the modules involved are development side resources that don't end up included in the build. Complaining about the number of modules is like installing visual studio, noticing that it takes several gigs on disk and being like "Gigabytes, for a hello world program?"
catpolice··on [dead]
Headline misrepresents article. The relevant conclusion isn't "if you're friends with your ex, you're more likely to be a psychopath" - it actually notes that the most common reason people stayed friends with their exes was that they considered them trustworthy, etc. Rather, the finding was "being a psychopath was among a number of factors that might make you more likely to be friends with your ex". That causal direction is hard for journalists sometimes.
catpolice··on Proposed JavaScript Standard Style
I started skimming the rules and was like "this all seems fine" and then noticed "no semicolons".

YOU'LL PRY THEM FROM MY COLD, DEAD HANDS FIRST

catpolice··on Interview with John Carlos Baez
I had lunch with this guy a few years back while attending a conference on category theory and the foundations of mathematics. He's super cool, and his talk changed the way I think about foundational topics in math a lot - I wish I could find a video of it to send around.
catpolice··on The Big Alien Theory
I think some of the math going on here is interesting and probably has some interesting consequences for people's expectations about means. But I'm not sure about that paper...

I want to be generous here and assume I'm misunderstanding, but it does seem a bit like the argument begs the question a bit.

The intended conclusion is that we should consider non-earth-like (i.e. non-earth-sized) planets as just as likely to be inhabited as earth-like planets. Which is to say that we shouldn't expect that population density is strongly correlated with planet size.

And this is shown starting from a model where "mean population density is invariant to planet size". Hmm...

catpolice··on Douglas Lenat's Cyc is now being commercialized
I'll say this much: Cycorp is an interesting place to work.
catpolice··on Douglas Lenat's Cyc is now being commercialized
OpenCyc is only a fraction of the ontology, unfortunately. There's a lot of internal desire to update and expand OpenCyc, but my understanding is that at present the company hasn't secured funding that they're really allowed to use for that purpose.
catpolice··on MIT Mathematician confirms: Israeli 10th-grader discovers new geometric theorem
It follows from the statement that if two circles intersect in more than two points, they're identical. Which seems like a familiar theorem, that I can't seem to place. So it's more like a corollary. It would be remarkable if this hadn't come up before, but I want to believe because of how good a story it makes...
← PreviousPage 4 of 5Next →