HNHacker News
TopNewBestAskShowJobs

heydenberk

3,710 karma · joined January 2, 2011

http://twitter.com/heydenberk
submissionscomments
heydenberk··on Why Rubyist Will Love Swift
Optional binding in JavaScript is a misfeature, and Ruby's looks that way too, because 99% of the time when you do this:

    if (hasAccess = true) {
        doSomething();
    }
you meant to compare, not assign. So when I saw this Ruby example, I was not amused:

    if current_user = find_current_user
       notify_user(current_user)
    end
However, the Swift equivalent is the best of both worlds:

    if let currentUser = findCurrentUser() {
       notifyUser(currentUser)
    }
heydenberk··on Japan Seeks to Squelch Its Tiny Cars
Gasoline and automobile infrastructure are a historically massive, ongoing expense, and cars have enormous externalities. I doubt any government in the world taxes cars highly enough relative to other goods.
heydenberk··on PSD Viewing and Diffing
It would be great if they could cast some insight into how they're parsing and rendering the PSDs, and if they wrote any code to do so, they posted it on GitHub.
heydenberk··on RandomColor – a color generator for JavaScript
I wrote a general purpose (pseudo-)random value generation library[0] that does random color generation[1] among lots of other capabilities. It'd be interesting to see how you could use the mutator to implement some of this functionality.

[0] https://github.com/heydenberk/stochator [1] https://github.com/heydenberk/stochator#from-predefined-sets

heydenberk··on Scientists Report Finding Reliable Way to Teleport Data
Oops. Thanks and sorry.
heydenberk··on Ask HN: Why jsfiddle.com is not owned by jsfiddle.net?
Probably because someone else bought it and is asking too much money for it.
heydenberk··on Google Backed OnDeck Capital Offers Cash Advances that Grow Exponentially
High interest rates like these are hyperbolic, not exponential. They may be predatory and they may run afoul of regulations, but that doesn't mean they grow exponentially.
heydenberk··on Getting to work on diversity at Google
It's {{current_year}} and people are still asking, "why does diversity matter?"

Diversity matters for a lot of reasons. Perhaps most importantly, demographic diversity is strongly correlated with diversity in points of view. You want the people building your products to come from many walks of life. Remember how Google+ had significant uptake in the rich white tech dude demographic? Not a coincidence. If you want the best people working at your company, you should want a group with similar demographics as the customer population, and if you disagree with that, you either believe there is something inherent about certain groups that makes them better or worse at these jobs, which is plainly bigoted, or you believe that there are external social biases which cause the discrepancies. If the latter is your belief, that's all the more reason to work to increase diversity as a corrective to those external social biases. Diversity also impacts the way that people see your company, which makes attracting a diverse pool of qualified candidates easier (few people want to be the only member of a certain demographic group) and is good for public relations.

heydenberk··on Rarely Used Postgres Datatypes
Thanks for the article! I started using postgres because of one of your slide decks and I've learned a lot from your writing over the last year or so.
heydenberk··on WebM support on 4chan
It's kind of hilarious how much easier it is to summon moot on HN than on, say, 4chan.
heydenberk··on New York is the heart of a new digital economy.
The claim made in the headline is not supported by the text that follows, which doesn't provided data on tech employment in any other cities or metros. It'd be better to say "New York's tech scene is thriving" if that's what the data support.
heydenberk··on HNSearch – old HN search engine – will be shut down later today
This "old HN search engine" was in use until relatively recently, right?
heydenberk··on Warren Buffett: ‘Stay Away’ From Bitcoin
I reckon these are the same problems Paypal faced early on. Why take good old USD out of your bank account and put them into an account you can only use for certain payment processing? They figured it out, but maybe it's too late now? I'd like to think it isn't
heydenberk··on Industrial civilisation headed for 'irreversible collapse'?
My optimistic idea of the future (not the only scenario I entertain by any means) assumes that renewable, carbon-neutral energy will be pervasive.
heydenberk··on Industrial civilisation headed for 'irreversible collapse'?
An interesting thought experiment I like to entertain is the case in which climate change is mitigated by the same kind of factors that cause and exacerbate it. It's not outrageous to imagine 21st century materials technology making it profitable to extract carbon dioxide from the atmosphere, or low-power, ubiquitous computing/surveillance/logistics technology that can extract heat energy from the atmosphere and convert it to usable work.
heydenberk··on GameCube Emulation and Pixel Processing Problems
I'd have to imagine this is because the game executed by the virtual console has been simplified and improved by Nintendo since they have direct access to the source.
heydenberk··on HTML is almost 100% responsive out of the box
This is not in any way useful as a library. Charitably, it's a useful reminder to set max-width to 100% on embedded media. Less charitably, it's an artifact of the hype du jour on one of those terrible new-fangled TLDs.
heydenberk··on GameCube Emulation and Pixel Processing Problems
It's interesting that this has ramifications for the emulated console(s) within the console. On one hand, it's an amazing technological achievement to emulate a system well-enough that it can emulate another. On the other hand, however, it's staggeringly inefficient. Emulating a system is inefficient, but it makes sense because it prevents the need to keep all kinds of hardware 0n hand. Emulating a system that emulates a system compounds the inefficiency and is unnecessary, but is a really cool achievement.
heydenberk··on Warren Buffett: ‘Stay Away’ From Bitcoin
If there were a series of altcoins pinned to existing fiat currencies, it might have the strange consequence of allowing decentralized, unregulated forex. The altcoins might exert an influence on the values of their respective currencies. It'd be interesting to say the least.
heydenberk··on Warren Buffett: ‘Stay Away’ From Bitcoin
The problem with it being an effective way to exchange money but not a meaningful store of value is that the former depends upon the latter. I'm curious as to whether there are any altcoins that solve this problem by, say, pinning the value to USD (or a basket of currencies) and allowing for a continually increasing monetary supply.
heydenberk··on Python vs Julia – an example from machine learning
This Python code is "as expressive" as the Julia code because it's not written in idiomatic Python. Por ejemplo:

    for i in range(n):
        solution[i] = y[i]

when one could simply

     solution[:n] = y[:n]

Don't mean to bikeshed, but this is one of many cases.
heydenberk··on Amtrak Residency
And the US population is 10% to 20% bigger than it was the last time it was this low, so the VMT per person is trending downward even more. Here in the northeast corridor we're trying to figure out what to do about a bunch of pending plans to add lanes to highways.
heydenberk··on Amtrak Residency
The brilliant thing is not the nature of the program, but the timing. Americans are driving less and less, for a lot of reasons, but in my opinion the desire to use mobile devices in idle time is paramount.
heydenberk··on Microsoft risks security reputation ruin by retiring XP
There's some conjecture — well-founded, I assume — that a trove of zero-day exploit have been saved up for years in anticipation of the day Microsoft retires XP. Considering its install base in government, military and business institutions, the day that XP gets retired there will be a flood of attacks using these exploits. So we'll either face a sustained onslaught of cyberterrorism and/or cyber-counterterrorism (the NSA's interest in zero-days is well-known) or Microsoft will have to reverse its policy. Should be interesting in either case.
heydenberk··on "Free-to-play" misleading advertising in Europe
Free as in speech, free as in beer, free as in-app
heydenberk··on Designing Tools
Last time I used the Firefox Developer Tools (on 27.0.1), it was unusably slow, caused the browser to crash several times, and very unintuitive even when it was working as (I assume) it was intended to. Are there improvements since v27?
heydenberk··on Auroracoin: Cryptocurrency for every Icelandic resident
Original post: https://news.ycombinator.com/item?id=7271496
heydenberk··on Are Tiny Houses the Key to Fighting Homelessness?
Besides the pure cost savings of public services, I'd love to know about the second-order economics effects: the growth of the tax base, the founding of more small businesses and the increase in economic activity due to people (rightly or wrongly) feeling safer on the streets. One can imagine startups run by former homeless who have a unique perspective due to their experiences, or who have discovered inexpensive solutions to problems, or who simply would be the type to start a company if they hadn't hit some bad luck at some point.
heydenberk··on Are Tiny Houses the Key to Fighting Homelessness?
Thank you so much for sharing. It is a well-needed reminder that homelessness and lack of health care are a vicious cycle in the US, whereby medical bills cause bankruptcy and homelessness causes [an increased chance of] injury, disease and mental illness. The conversation about homelessness too often takes place among the privileges, whose primary concern is to put the homeless out of sight and feel less guilty. I'm ashamed that I don't spend all day every day in a state of moral outrage that I live in a society where the sick are sometimes not just denied care but actually bankrupted and put out on the street.
heydenberk··on Are Tiny Houses the Key to Fighting Homelessness?
The program is relatively new. I'd expect there to be a latency period during which the formerly homeless adjust to their new lives and find employment before all the cost savings can be properly calculated.
← PreviousPage 8 of 12Next →