HNHacker News
TopNewBestAskShowJobs

dpham

19 karma · joined December 29, 2011

Engineer turned web technologist interested in web development, art & design, startups, epic novels, fall attire and eating out.
submissionscomments
dpham··on Noisli – Improve focus and boost your productivity
Can't download it on my oneplus one, says it's not compatible. Do you know why that might be?
dpham··on Donut math: how donut.c works (2011)
I read that article awhile ago, used the character brightness representation idea to build a JavaScript image/webcam/video to ascii converter http://dph.am/jscii/ https://github.com/EnotionZ/jscii
dpham··on OS X 10.9 Mavericks: The Ars Technica Review
"The 10th major release, OS X 10.9 Mavericks, is named after an awkwardly plural California surfing spot..."

Can't tell if he's joking or not.

dpham··on Keypress: A Javascript library for capturing input
This looks like https://github.com/ccampbell/mousetrap I'm much more fond of the implicit syntax of mousetrap though.
dpham··on Keypress: A Javascript library for capturing input
It doesn't have to do with hardware, it's just client-side implementation. I had to write code for multiple key presses before. The browser will normally trigger a keydown and keyup event whenever something is pressed and released. The trick is to keep an array of keyCodes representing current keydowns; during keydowns add to array and during keyups, remove from array.
dpham··on React, a JavaScript library for building user interfaces
Do templates have to live inside the application logic? If so, this is a really poor decision.
dpham··on The Colors of Dribbble
I'm glad people are toying around with client-side color algorithms and coming up with ways for people to dynamically choose aesthetically nice colors. I worked on this project http://dph.am/projects/ImageEyeDropper/ about a year ago to let people grab colors off an image, find the color range with the highest frequency, and perform some of these color theory functions.
dpham··on Simple Minecraft Clone in 580 lines of Python
try forcing python into 32-bit mode? defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
dpham··on Show HN: Streem.io - Media Center on the Cloud
Yes, there's an android and iOS app as well as a roku app. The Plex Media Server works on windows, mac, and linux.
dpham··on Array.js: A better array for the browser and Node.js
I agree with you here; I usually have underscored included in both the server and browser for my projects. Events seem like it could be useful. Sure Backbone gives you events on models and collections, but I don't always include Backbone models in my node apps.
dpham··on Shapecatcher: Draw the Unicode character you want
Pile of poo http://shapecatcher.com/unicode/info/128169
dpham··on Show HN: Password.ly - Per site password generator from a master password
I feel like this is no different than passwordchart.com but is a bit less configurable. I use 1password myself after using passwordchart for a while. Ever thought about how to handle services that require you to change your password every few months?
dpham··on Mona Lisa in pure CSS
bet you there's a limit. 65536 maybe?
dpham··on The dot enter mixtape: d3.js tutorial videos
This is cool. What live code editor is that?
dpham··on Why I'm done with Scrum
I work at Webs and we also recently abandoned scrum for a more kanban approach. While all points in the article resonated with our company, the biggest problem we had was not delivering projects on time.

We focused too much on fitting as much work into a sprint as possible for maximized throughput. The problem with that, especially when you have alot of projects going on at the same time, is that alot of work was being burned across the board, but the needle for each individual projects didn't move forward fast enough and we ended up missing deadlines.

Another problem with scrum is that it turns creative developers into code monkeys, and this in turn lowers code quality. Developers are constantly worried about trying to meet deadlines for the next two weeks rather than taking the time to do things correctly. This ultimately creates technical debts and hurts the team in the end.

(also, if you're a manager and you use the developer points burned in order to rate performance and distribute bonus, then fuck you)

dpham··on Full quote of what Mark Zuckerberg actually said about HTML5
Context absolutely matters! Techcrunch sold the article as Facebook betting too much on HTML5, period. His quote was that at the time 2 years ago, it was a mistake betting too much on HTML5 over native for their mobile application. And it's true, 2 years ago and even now, most phones have a hard time handling Facebook's intensive need in HTML5. It's true, Facebook could have spent more engineering resources improving the HTML5 spec and push it forward, but anyone saying context doesn't matter is just being ignorant.
dpham··on Show HN: HackerNews reimagined without tables or center elements.
Regarding his whole point of using css, that upvote image should really be a background in the css file and the innerHTML should be text with a negative indent.
dpham··on Yahoo returns acquired startup to founders
The company I work for was recently acquired. A part of the agreement for the founders, aside from having to stay with the company for 2 years, is they can't have more than 1% ownership of a competing company for that duration and up to a year after employment termination.
dpham··on Designing an effective pricing table
sorry if I sound like a markup nazi, but... the pricing table contains tabular with headers and should be treated as such. The columns should be table cells and not divs (all a sudden you no longer have to provide a width on the entire container and it could stretch to fit and used in any location). The header-class container should either be a th, or if you opt for a non-table element, then an actual header tag would be appropriate. Maybe an h6? The bold tag was a poor choice; either <strong> or <em> would be a better option.

As far as reusability goes, the id="pricing-table" should really have been a class.

dpham··on Colorjoe - A Scaleable Color Picker (No Images)
i'm sure other people have mentioned but it doesn't work in IE9 or below. You should at the very lease support IE9. If you wanna throw away IE8 or below, it would make sense to just use canvas rather than a base64-encoded image.
dpham··on Seriously? Ads?
I can't take this article seriously because it's so terribly written.
dpham··on Plagiarism
I think most people are just angry at the CEO's reaction to the author; he definitely comes off as a petty jerk. I also think calling it plagiarism is a bit of a stretch.
dpham··on I don't know who I am anymore and I can't tell anyone
I totally understand where you're coming from. I'm not as successful as you, but I can relate. I'm single, 26yo, sr front end engineer at a company that was just acquired as a direct result of a project I pitched and worked on. I used to spend 12+ hours working every day convincing myself that I was passionate about the project and didn't care too much about it eating into my personal time.

I'm still lost and fairly unhappy on most days so obviously I don't have much figured out. The only thing I can suggest is that you need to discover your hobbies, and it cannot be anything work related. I love to draw, design, sculpt, etc; I even got a full ride for art which I gave up and paid for an engineering degree. After working for a year, I managed to convince myself that programming was my hobby and left no time for anything else.

Recently I have committed to an 8-9 hour work day. I give myself time to draw and to read and I've been happier since. The hardest part is to allow yourself to work less and take those vacations, to recognize the little things you've always wanted to do and actually follow up with it... like work remotely for a month in a random city, take a glass-blowing session with your girlfriend.

You probably don't nee d a permanent break from your career, just a better balance in life.