HNHacker News
TopNewBestAskShowJobs

dangayle

381 karma · joined April 28, 2011

Technical Architect, Performance @ Shopify
submissionscomments
dangayle··on Type.js – remedying CSS’s typographic oversights
No no no, that's bullshit. A properly designed font isn't just the outlines, it's the outlines + spacing. Type designers spend almost as many hours perfecting the built in kerning as they do creating the outlines themselves, because the space is integral to the font as a whole.

Yes there are times, especially with display type, that you want to adjust the kerning between a few pairs of glyphs, but to say to "never trust a font to provide your kerning" suggests to me that you use a lot of poorly designed free fonts rather than professionally realized typefaces from reputable font foundries.

I would love it if the browsers would all support the built in kerning in a font by default, with a way to override it manually.

dangayle··on Resume in C
It's cheeky, but then again it is a project you can show someone. Graphic designers get to make fancy schmancy resumes to impress their potential employers, so why not programmer? Better make sure there are no bugs in it though.
dangayle··on Algorithms Every Programmer Should Know: Reservoir Sampling
This is awesome. I asked about this question on Stack Overflow back in September, but my question go shut down.

http://stackoverflow.com/questions/25942333/how-do-reservoir...

I use this algorithm in one of my tweet bots that tweets out a random tweet from a txt file containing 10k different quotes, works fantastically and has been for several months with no duplicates or malfunctions.

dangayle··on Radio Shack lost its way when it ditched its hobbyist customers
At Radioshack, literally everything is about the profit margin. The store in the U-Village in Seattle is/was one of the top 5 revenue stores in the entire chain, a fact they were proud of when they hired me.

I worked there for less than a week before I quit because the culture was awful. It was a typical commission-based sales environment: We weren't encouraged to actually help anyone, we were encouraged to push bricks of batteries on people because they had the highest margin in the store. No one was to leave without a brick of batteries. Instead of making it easier for people to find a standard RCA cable, we hid them in the back and only left the "gold plated" RCA cables on the shelf. We were not allowed to sell an Apple computer, because the margin was too thin, so we were expected to push whatever PC we had on the shelf.

It was a poison environment, and I for one don't feel the slightest sympathy for Radioshack's demise.

dangayle··on Show HN: A Unixy approach to WebSockets
There was SpockFS here on HN a while back: https://github.com/unbit/spockfs
dangayle··on Show HN: A Simple terminal-based video chat – renders in ASCII and has audio
Easier in the sense of less data, which would make it faster. One of the issues with encrypted video chat is that most implementations have a max amount of people you can chat with because of the computing overhead.
dangayle··on Show HN: A Simple terminal-based video chat – renders in ASCII and has audio
Wouldn't something like this be easier to encrypt for transmission than normal video? Plus, in the case it comes up, "that ascii representation doesn't look anything like me and you can't prove it was me."

I like it.

dangayle··on Demystifying SEO with experiments
I agree with you about the great content for humans bit, but that doesn't mean that you shouldn't still aim to maximize your current traffic through technical means.

If it gives you a whitehat traffic increase of even a few percentage points, that can still mean a big deal, hundreds if not millions of dollars.

dangayle··on Demystifying SEO with experiments
I agree. I took one look at their test and thought: That's missing the point. They actually don't care if the title tags would hash differently, they care if the title tags are descriptive of the content in such a way that the pages can be distinguished by a human or nlp bot.

But then again, what more could they do? Likely adding the board's owner would have had a much higher statistical relevance.

dangayle··on Demystifying SEO with experiments
Angular.js, courtesy of Google.
dangayle··on What should I do about YouTube?
Are you saying that a person's copyright to their own music isn't personal property?
dangayle··on What should I do about YouTube?
I hope that was sarcasm, because that's the most Big Brother thing I've ever read on Hacker News.

Don't question authority. Trust Google. Trust Facebook. We'll make the decisions about your personal property in a way that benefits the "vast majority of people" who own stock in our company.

dangayle··on [dead]
I work in a newsroom. Now that investigative reporters are essentially classed as "terrorists" by the powers that be, encryption of email is now a legitimate concern.

But I and everyone I've asked say that in an ideal world, it would be an IT issue, but we don't see them being gung ho about it either because it is a hassle or because they don't see the benefits.

So, is PGP encryption a user issue, or is it an IT issue? How can we make it an IT issue?

dangayle··on British Prime Minister Suggests Banning Some Online Messaging Apps
Cutting off your nose to spite your face.
dangayle··on Google got it wrong. The open-office trend is destroying the workplace
I have the opposite yet same reaction to open office environments. I was always the loud person in the group, and I have a hard time staying out of conversations with others. I try to keep myself to myself, but I know that I distract others around me.

Ironically, having a private office not only kept my noise from other people, but I actually got quieter because it was simply the presence of the group around me that got me loud. I got a lot more work done too, since I wasn't constantly distracted from the discussions going on around me, work related or not.

dangayle··on Hackers Who Shut Down PSN and Xbox Live Now Attacking Tor
I tried to tell a group of friends yesterday that the N Korean internet could have been brought down by script kiddies. When asked what that meant, I said "hackers" and everyone shook their head in agreement and said "ahh, hackers."

Hackers is just a generic term these days, no use getting upset about it.

dangayle··on Buzz Aldrin: The Dark Side of the Moon
This was published in January, and look at all the Mars mission stuff that has popped up since. I wonder what a follow up would read like? I'm guessing they're using his Mars algorithm?
dangayle··on Obfuscating “Hello World” in Python
I saw this yesterday and shared it with a friend who had introduced me to code golf. Simply fantastic, particularly the comments.
dangayle··on Replacing Throwing Exceptions with Notification in Validations
>>if a failure is expected behavior, then you shouldn't be using exceptions

How would this pattern translate to Python, where exceptions are the norm and expected behavior?

dangayle··on Rosetta finds comet's water vapour to be significantly different from Earth's
What about the water in the earth's core?

>>A reservoir of water three times the volume of all the oceans has been discovered deep beneath the Earth's surface. The finding could help explain where Earth's seas came from.

http://www.newscientist.com/article/dn25723-massive-ocean-di...

dangayle··on What if journalists had story writing tools as powerful as those used by coders?
>> It turns out, though, even when you create a UI that lets reporters and editors easily plug in this metadata without having to understand XML, they are not apt to fill it in, because they are just so overworked as it is.

Nailed it. I'm a developer in a newsroom, and I'm dealing with flack just asking them to write a non-automated teaser text for their blog posts. They can't be bothered.

dangayle··on Material Cools Buildings by Sending Heat into Space
I'm no scientist, but would there be a way to combine this with solar panels to also produce electricity? It seems the goals are counter to one another, but it would really be amazing to accomplish both with one panel.
dangayle··on HTTP vs. HTTPS
And we broke it.
dangayle··on Lovefield: Cross-browser, SQL-like, relational query engine on top of IndexedDB
You need to support Python, Java AND Node.js for this? Sheesh.
dangayle··on What an Uncensored Letter to M.L.K. Reveals
How hard would it be to create a fake internet paper trail containing pornography, chat rooms, etc., as is mentioned in the article? It seems that would be relatively trivial for a sufficiently motivated state actor to perpetrate.
dangayle··on How Apple Pay Saved My NFC Startup
Best line in that story: "That's why it's essential to have founders that are truly passionate about the problem you're trying to solve and not just ambitious about its success."
dangayle··on An easier way of using polyfills
Users that spoof their user agent are likely to either be tech-savvy people who either know what they are doing or who are hiding who they are, like a bot.

I'm more worried about supporting older users on old machines who barely know the difference between Internet Explorer and the internet than in supporting someone who knows exactly what a UA is and how to spoof it.

dangayle··on OS X 10.10 – Source Code
Really. I'll have to dig into it to see how they're using it.
dangayle··on OS X 10.10 – Source Code
Does anyone know what they're using Twisted for?
dangayle··on Rewriting Reddit (2005)
I think a lot of that is in the presentation of the tutorials and the documentation. There's a book on Oreilly called "Lightweight Django" that strips away all of the absolute non-essential cruft of Django and starts from scratch, slowly adding pieces from the framework as it goes along. It shows you why you need each piece and why it goes where it goes.

Django doesn't need the magic, it's just annoyingly presented that way.

← PreviousPage 2 of 8Next →