HNHacker News
TopNewBestAskShowJobs

johnbm

291 karma · joined April 6, 2013

submissionscomments
johnbm··on Do you really know JavaScript?
"it goes into an infinite loop, 2^53 is the highest possible number in javascript, and 2^53+1 gives 2^53, so i can never become larger than that."

This is wrong. 2^53 is the highest integer value you can represent exactly with a 64-bit float without truncation, but much larger numbers are available, spaced more than 1 unit apart.

So 2^53 == 2^53 + 1 != 2^53 + 2 != 2^53 + 3 == 2^53 + 4 == 2^53 + 5 != 2^53 + 6.

johnbm··on Things You Should Know About Shaders (For 3D Graphics)
What they call "image based lighting" (rendering depth/normals into a separate image) is actually called deferred lighting / rendering.

Image based lighting is when you use environment maps (like a cube map) for lighting rather than individually defined lights. Typically you precompute blurred versions of the environment map so you can sample it directly at various apertures.

johnbm··on Terry Tao on how to compute non-converging infinite sums (2010)
If you're worried laymen might come away thinking mathematics is completely alien to human interest, start with regular textbooks first.
johnbm··on Death threats and denial for woman who showed college athletes struggle to read
A study in the early 90s found women featured 35 times as much as victims in Canadian news headlines than men. Not a typo.

Yes, this is just one data point, but it's a pretty unambiguous one. And of course, such studies tend to only happen once, as people with feminist agendas tend to ensure they do not get confirmed.

Do you think this might skew your perception of how often people of either gender get harassed?

johnbm··on Xkcd: Photos
...because your screen is too fucking bright and you're too dumb to turn off your flash.
johnbm··on Do Women Only Initiatives Really Help Women?
Because computer science is a lonely pursuit, with long hours, requiring an obsessive focus on abstract problems. I saw women consistently self-select into biomedical applications and chemical engineering, away from the hard theoretical work like physics and comp sci.

On top of that, engineering is one of the fields which has the largest attrition rate amongst its students. It's clear that just thinking you want to be an engineer is not enough to succeed at it.

Add to that the fact that women are inundated with the message that they absolutely should go into STEM, and I think you have a recipe for disillusionment that merely shifts the attrition further down the pipeline. Which is exactly what we find: after 10 years, many more women leave the field than men.

I have a tremendous amount of respect for any woman that does make it in the field, but they've pretty much all been the kind of atypical go-getter personalities that other, more girly women, feel intimidated by.

johnbm··on Do Women Only Initiatives Really Help Women?
I just don't buy this argument. As others said, it is 2014, not 1990. Women now outnumber men in colleges 3 to 2, and this is somehow not an issue of discrimination or inequality, on the contrary, it is now apparently more important than ever that we eradicate the few areas where men still unambiguously dominate the outcomes.

The only thing that has changed is society's view of computer geeks, which has evolved from pathetic neckbeards to entrepreneurial wizards. And big surprise, now all of a sudden feminists are concerned about all the sexism and rampant harassment that's supposedly unique to tech.

Every conference I've been to, I've seen men falling over themselves to placate and humor the few women that do show up. Sexism? The vast majority is of the benevolent kind, the kind the feminists themselves constantly advocate for. The kind that makes men watch what they say when a woman enters the room, for fear of triggering another Adria Richards. And the kind that pisses off any capable woman with self-respect.

johnbm··on What I Didn't Say
Get over yourself. When someone throws a tantrum on twitter with the regularity of clockwork, mockery is a completely valid response, and often the quickest way to get the point across. Logos, pathos, ethos. The former has no effect without the latter two to back it up.

You are dealing with a mob of righteous indignation that refuses to ever consider that they might be wrong. If you think the appropriate response is to perpetually tiptoe around them and apologize profusely, you are sorely mistaken.

They are toxic, and should be labeled as such until they themselves grow up.

The fact that all these SJWs seem to care so much about their appearance that their impeccably groomed avatars rotate faster than the seasons makes it a doubly delicious burn.

johnbm··on What I Didn't Say
"Your misogyny is visible from space."

So is her hair.

johnbm··on Girls Who Code
No indeed, that would mean not being a self righteous prick. You know what the effect of people like Kane was in the skeptic community? Female conference attendance dropped from 40% to 10% in a single year.

Enjoy your self defeating efforts.

johnbm··on Girls Who Code
This is what I believe you call derailing. Like the other person, I'm also still waiting for substantive points to be made rather than shaming and cherry picking.
johnbm··on Girls Who Code
"Ally" is just another in the long line of useless SJW concepts. How about just not being homophobic or sexist? But no, that's not deemed sufficient. Privilege is basically the SJW take on Original Sin, and declaring yourself to be an ally is like self-flaggelating yourself into repentance.

You don't need to ally yourself with every gay person to not be a homophobe, and you don't need to ally yourself with every woman to not be a sexist.

The people who want "allies" tend to be surrounded by unquestioning fans and tend to get their panties in a bunch when faced with actual criticism, deserved or not. If you believe that any criticism you receive happens because you are gay or because you are a woman, then "allies" are the only people who won't upset your delicate sensibilities.

johnbm··on Girls Who Code
That applies to every single blog post about "white men" she's every written. Her first. Besides, don't want to draw the ire of the twitter harpies... again.
johnbm··on 30C3 Keynote with Glenn Greenwald
Perhaps... but even when sent a video with clear instructions, he balked at actually watching it, never mind following it. Even though he was a journalist who admittedly likes to publish things others find inconvenient.

I think it says more about journalists' egos than anything else. Have you ever been happy with an article on a topic you have intimate first hand knowledge of?

johnbm··on Girls Who Code
I'm gay and I feel exactly the same way about this whole farce. The idea that no straight person can truly sympathize is bullshit... and when it comes from those who complain about a lack of empathy in others, I just scratch my head.

The irony is of course, they are themselves the most privileged around: white, educated tech employees in Silicon Valley.

johnbm··on Girls Who Code
And when guys in tech mention to Shanley that they too have pet trolls who send them nasty things, she ignores them.
johnbm··on Girls Who Code
Yes, it's so great for women in open source that the only 2 women in the Gittip top 12 are there because they whine and bitch a lot, rather than produce something useful. Keep white knighting.

Both are known for pulling facts out of their ass that are either unsupported or contradicted by evidence.

johnbm··on Why isn't server-side web made with XML libs?
An important one is that XML does not map cleanly to any programming language's typical data structures, even those that explicitly support it. It always turns into an elaborate object hierarchy with awkward query syntax. The combination of unique named string-only attributes with ordered, non-unique named child objects is awkward and ambiguous (i.e. should that property be an attribute, or a child?). Contrast for example with JSON, which translates directly into arrays and hashes, structures available in any decent language.

E.g. you have <user name="john" address="123 Oracle Road"></user>

Now you decide you need multiple addresses per user. Do you: a) invent an ad-hoc string serialization scheme for the address="" property, or b) completely restructure your XML into:

<user name="john"> <address>123 Oracle Road</address> <address>456 XML Lane</address> </user>

But in that case, why not just make every property a child?

XML also spawned idiotic things like XSLT, which most agree is pretty terrible. If you try to use XSLT for HTML templating, by definition you have to escape every meaningful HTML character like "<>&'". If you wish to print one of those characters in your templates, you have to double escape them. No designer I know of would touch it with a ten foot pole, and every programmer I've met who loved XML and its associated technologies was terrible at their job.

Basically XML is strongly associated with the bloaty enterprise Java world, who used XML as their hammer to beat down anything remotely nail-like.

johnbm··on Without morality, the market economy will destroy itself
The real problem is that capitalism does not care about efficiency, it only cares about billing someone else for any inefficiencies you create. See: Enterprise IT.
johnbm··on Sexism and Tech and Love
Look up the statistics for how men vs women participate in direct violence and violence by proxy, and you'll see why you're wrong.
johnbm··on Gap between asm.js and native gets narrower with float32 optimizations
"Its not that Windows can't handle drawing Macintosh looking buttons or something."

It's an unfortunate misconception about Mac OS X's UI that it's just a pretty skin. It really isn't, and this is why people complain about things not 'feeling' right.

OS X's UI is all about exposing direct manipulation. When you change a setting in OS X, its effects are supposed to ripple through the UI instantly, without having to click "Ok". There's no "Cancel" either, because the cancel action should be obvious: simply uncheck whatever you just checked.

In other words, OS X acts like a light switch: you should feel free to turn it on or off as much as possible. Windows acts like a light switch that not only requires you to confirm turning it on or off, but where the switch actually closes itself off every time you change it, requiring you to open it up again.

The evolution of web apps in the 2000s is explained by the fact that web developers switched to Mac en masse. As a result, web apps slowly but surely adopted a similar model. They didn't just become prettier, but they drastically simplified their model, moved away from the "open new form, fill out form, submit form, see result" model to a text view turning into a text field and then back again, all without ever leaving the page.

There's basically an entire contingent of programmers who are utterly blind to all this. They operate computers using the mental model of how the hardware and software works, and then laugh at users who feel it makes no sense. In fact, it is the computer that makes no sense, and doesn't act like any other object in your house.

So I disagree that it has nothing to do with engineering. It really does, but it's about the kind of engineering that simply isn't on most programmer's radars. It solves problems they don't have, because they work around them in their heads every time they use it, so the computer doesn't have to.

Case in point: I go to install a game on Steam. It tells me I don't have enough disk space available. I go remove some files to make room. The total in Steam's dialog does not update. Their "disk space available" display is basically a lie, yet it's a lie that people simply accept as "how things are".

johnbm··on When “Life Hacking” Is Really White Privilege
She makes no significant case that the guy got what he wanted because he was white, because he was a man or because he was rich. At most, he used his employer's name to bend the truth. That makes him a liar, nothing more.

The fact is, rules can be bent, and if you do so with charm and wit, you can often get away with it. It takes insight into how people and organizations work, and what those people find important.

But just because others in the line don't speak up, doesn't mean they don't feel miffed too. They just don't write incoherent medium posts about it.

If you go through life feeling like everything bad happens to you because of your gender and skin color, it's easy to see ghosts everywhere. And it's easy to think of one asshole as representative for the plight of white men everywhere, no matter how ridiculous that actually is.

johnbm··on Gap between asm.js and native gets narrower with float32 optimizations
As in, not in IE 11?
johnbm··on Gap between asm.js and native gets narrower with float32 optimizations
How is it a strict subset when they already added Math.imul and now Math.fround?
johnbm··on Sexism and Tech and Love
The difference is that nobody cares if a man felt the same way, nor would he feel a need to blog about it years later.
johnbm··on First 3D Commercial Web Game Powered By asm.js
That must be why asm.js v0.1 already introduced non-standard language extensions (imul) and has a roadmap full of more. Which browsers does the asm.js of today run on? And which browsers will the asm.js of the future run on?
johnbm··on An Open Letter to Sheryl Sandberg from a Twenty-Something Woman in Tech
Congratulations, you've been convinced to loathe yourself because of other people's insecurities.
johnbm··on An Open Letter to Sheryl Sandberg from a Twenty-Something Woman in Tech
Yes, those 'barriers' are gone because female firefighters, soldiers, etc. are subject to lesser physical requirements than the men are. Hope you're not too fat for her to carry you out of the burning building.
johnbm··on First 3D Commercial Web Game Powered By asm.js
Because PNaCl comes with its own implementations of input, graphics, audio, etc and cannot talk to any of the regular Web APIs. So basically, PNaCL is either ActiveX or it's Flash.

https://developers.google.com/native-client/dev/pepperc/grou...

That said, I support using LLVM bitcode more than asm.js myself. I think asm.js is the dying breaths of JavaScript being hailed as its rebirth.

johnbm··on Male and female brains wired differently, scans reveal
So when even one day old babies are shown to pay different attention to mechanical things vs faces between boys and girls, that's just evo psych non-sense too? Or the fact that the countries with the most gender equality in society show less preference in men or women to break with gender stereotypes in their jobs?
← PreviousPage 2 of 4Next →