Better HN
topnewbestaskshowjobs
Log inSign up

dpham

19 karma · joined Dec 29, 2011 (14y ago) · 27 submissions

Engineer turned web technologist interested in web development, art & design, startups, epic novels, fall attire and eating out.
Submissions

comment 11y ago · link · parent

Can't download it on my oneplus one, says it's not compatible. Do you know why that might be?

comment 12y ago · link · parent

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

comment 13y ago · link · parent

"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.

comment 13y ago · link · parent

This looks like https://github.com/ccampbell/mousetrap I'm much more fond of the implicit syntax of mousetrap though.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Do templates have to live inside the application logic? If so, this is a really poor decision.

7.

Students Aim for Aviation History with Human-Powered Helicopter(voanews.com ↗)

1 points · by dpham · 13y ago · discuss

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

try forcing python into 32-bit mode? defaults write com.apple.versioner.python Prefer-32-Bit -bool yes

comment 13y ago · link · parent

Yes, there's an android and iOS app as well as a roku app. The Plex Media Server works on windows, mac, and linux.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Pile of poo http://shapecatcher.com/unicode/info/128169

comment 13y ago · link · parent

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?

14.

ASCII video with getUserMedia(enotionz.github.com ↗)

6 points · by dpham · 14y ago · 2 comments

comment 14y ago · link · parent

bet you there's a limit. 65536 maybe?

comment 14y ago · link · parent

This is cool. What live code editor is that?

comment 14y ago · link · parent

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)

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

23.

Driving RC car with node.js and a Raspberry Pi(youtube.com ↗)

1 points · by dpham · 14y ago · discuss

24.

BOSE Acoustimass - Better Profits Through Marketing(intellexual.net ↗)

1 points · by dpham · 14y ago · discuss

comment 14y ago · link · parent

I can't take this article seriously because it's so terribly written.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.