HNHacker News
TopNewBestAskShowJobs

lee

1,115 karma · joined March 25, 2007

submissionscomments
lee··on Insufficient Sleep Is a Public Health Epidemic
Same for me too!

I felt like superman after the first time I used it.

It's been a few years, and I haven't slept a single night without CPAP.

Looking back, I am amazed at how well I was able to function at all.

I think not only is my quality of life improved, but I think it's also extended my life. I know that chronic sleep deprivation leads to a variety of illnesses (heart disease, high blood pressure, diabetes..etc...).

lee··on Airbnb JavaScript Style Guide
The rationale I have for using single quotes over double quotes in javascript is that when embedding HTML elements, attributes are often quoted in double quotes.

So it's much nicer to write

    '<a href="www.google.com">Google</a>'
than to constantly escape argument strings.
lee··on Why Go and Rust are not competitors
I used Rust to optimize performance in a hot spot for our Python web-app. I am a Rust newbie, and this was my first encounter with the language, so my opinion may not have much value. But I found Rust to be unsuitable for web-development.

The fact that Rust requires that you think about memory management made it feel less expressive and less productive. The strictness of the compiler also got in the way of "productivity". There's nothing wrong with that strictness, but in the domain of web-development where productivity and expressiveness is often more valued than raw performance Rust doesn't feel like the optimal tool.

To use Rust for web-development feels like a premature optimization.

I think for web-development, it's probably more productive to use Ruby/Python/etc... and call Rust externally to optimize hot spots.

lee··on Dollar Shave Club Is Valued at $615M
Funny, I find the shave quality of a safety razor to be far superior to any of the cartridge blades (Like the Gilette Fusion). My shaves are super smooth and close.

However, I still use a my Fusion daily, since it's so fast and efficient. With a safety razor it takes time to lather up and get a proper shave.

lee··on JavaScript at 20
Thanks. I did try Dart and our team spent a full month giving it our best for our client.

It was a dream to use compared to JS. One show-stopper though: browser support. At the time, IE11 was just released and Dart had issues with IE11. Also, the Dart supported browser window is only the latest 2 versions of a given browser.

This totally killed our Dart prospects, as our target users in our business are generally non-tech savvy and we need to support older browsers like IE8/IE9.

lee··on JavaScript at 20
> The differences between these languages aren't that big and they're largely aesthetic.

They are pretty big. At work I work on a Django-backed project that has a very fat JavaScript front-end client, and JavaScript is incredibly painful to work with compared to Python.

It's not merely aesthetics, but JavaScript in the browser is severely lacking in language features that allow it to scale to larger code-bases.

lee··on Git in six hundred words
> It might be a fundamental flaw of Git that in order to use it, you have to understand its innards. Certainly, in order to use it effectively, and in order to avoid disaster, you need to now how it's storing data.

I've been using git for 5 years now, and I don't have a clear understanding of "its innards". I once read an overview of how it works under the hood and have a vague notion of what's going on.

What are the typical use case scenarios where you need to know implementation details to "avoid disaster"?

I can rebase/merge/push/pull/commit just fine while being ignorant of implementation.

lee··on Ask HN: How do you deal with professional jealousy and getting older?
It sounds like the problem you have is with your ego. You're portraying yourself as someone you aren't, or someone you haven't become yet.

Your ego is handicapping you from doing anything. Throw it away. Stop comparing yourself to others. And just work and be the best you can be.

lee··on For my final project I built a sous-vide immersion cooker
I don't know much about sous-vide, but the cooking temperature is 55 to 60 degrees celsius. That's fairly low. Most plastics shouldn't deteriorate at that temperature.
lee··on Ask HN: Who is hiring? (December 2014)
Ottawa, Canada - Python/Django Full Stack Developer

We're looking for a full stack web developer. Knowledge and experience with Python and Django is a plus. We're looking for candidates who would be interested in working on our web Flight Planning system and other aviation related systems.

Our stack is mainly Python/Django, Nginx, RHEL, Postgresql. But we also work on other backend systems too.

We're a big company, but our project works in a "Startup Like" environment in that our team gets to choose the tools and processes for development.

Please see our job poster if interested: http://www.navcanada.ca/EN/careers/Pages/Software-Developer....

lee··on Petabytes on a budget: How to build cheap cloud storage (2010)
Also they only support Windows/OSX. I've been a customer of theirs for a few years, but I've recently switched to a competitor just so that I can backup my Linux NAS.
lee··on Emacs 24.4 released
The beauty of learning emacs keybindings is that most IDE's will have an "emacs mode". So you don't have to relearn things.

But it's also useful for things like bash or OSX interfaces too, since they use the same common keybinding scheme.

lee··on Emacs 24.4 released
I would say that learning your IDE or editor well is a worthwhile investment, whether that is emacs, vim, or a more rich IDE like Eclipse.

Vim or Emacs are really powerful tools that will serve you well over your entire career, so getting adept at them will pay dividends. It's similar to learning how to touch-type, or typing with a faster WPM, in that it's not a pre-requisite to becoming a good and productive developer but it certainly helps.

Emacs is my personal favorite editor, and I've found that the more adept I get at using it, the easier it is for me to get into "flow" and be productive. I don't use my brain's CPU cycles to fumble around trying to manipulate text as much, since through repetition and muscle memory I can work at it effortlessly (compare that to someone who has to two-finger peck while programming).

Similar to other powerful tools though, becoming good takes practice and a time investment. But I would argue that the initial upfront investment will pay off in the long run.

TL;DR: Yes, absolutely. Learning Emacs (or Vim/SublimeText/Eclipse if that's your choice) well will definitely boost your productivity in the long run.

lee··on Show HN: Speeding up PostgreSQL through vectorized execution
So what's the likelihood that we'll see this optimization make it into PostgreSQL core?

That would be an amazing performance improvement.

lee··on CDC confirms first Ebola case diagnosed in US
I don't know if you can call it a disaster. The total number of cases, as reported by the CDC, is less than 7000 so far.

I don't mean to be callous, but compare that number to the number of total deaths to Malaria or even the flu, and that number pales in comparison. I am not callous to say that we shouldn't care about the Ebola outbreak, but if you look at the numbers, directing that money to buy more mosquito nets or Malaria vaccines will likely save more lives.

Malaria kills close to a million people a year. If you're looking for a cause for donation, the most value per dollar could be directed there.

lee··on CDC confirms first Ebola case diagnosed in US
Am I one of the minorities who believe that this hype about Ebola is more sensationalism and news than an actual pandemic we should be fearful for?

Let's take a lot at what we can agree on:

* The number of cases of infected patients is fairly small.

* The vector of transmission is fluid exchange, so that reduces its ability to spread.

* The virus doesn't appear to lie dormant, and is only contagious when the patient becomes symptomatic.

The chances of contracting the disease in a western country so far is near 0. The chances of contracting the disease in AFRICA is fairly improbable too.

It really sounds like sensationalism at its finest.

lee··on Artificial sweeteners linked to glucose intolerance
So given a choice, between Diet Soda vs. Normal Soda, what would be worse for your overall health?

I imagine even with increased glucose intolerance, you're still better off choosing Diet?

lee··on How to Start a Startup: Fall 2014
I don't really see the "diss" in that passage. I see more of an honest question.
lee··on Black Triangles
Back in 2009 I had written one of the first few SSH apps to hit the iOS App Store.

I remember demo'ing it to my CEO, and all he could say was "Oh, you spent all this time writing an App that displays text?"

I guess it's easy to trivialize something when you don't understand its complexity.

lee··on Dart Programming Language Specification [pdf]
I tried to give Dart a go at work. We invested about a month's worth of work for a 4-person team into it, kicking the tires, and giving it a go before we gave up and went back to Javascript.

I hope Dart succeeds, as it's a really nice language. And it's great to see the spec published as an ECMA standard. It was a dream to work in compared to Javascript, and I was overly hopeful that it could be used in production. But we found out within a month that it is not.

What killed it for us was browser support. The supported browsers for dart2js is the "latest chrome and firefox" and in the forums they planned to support the last two internet explorer versions. At the time of our experiment, IE 9 and 10 were supported but not 11, even though 11 was out for a few months already. At the time, our app would randomly crash in IE11.

So this forced us to ask two questions: 1) will this happen in future IE releases where we leave a portion of our early-browser-adopting users SOL, and 2) a very large portion of the population is still stuck on older versions of IE and FireFox.

So Dart wasn't a good fit for us not because of the language, but because we simply couldn't use it in our business environment where we had to support actual users who use the latest versions of IE as well as older ones. We were already dropping all IE8 users to support Dart, but looking today they plan on dropping IE9 support soon too which makes up a large portion of our users.

Anyhow, I hope Dart succeeds, I really do, because it's a great language and I'd much prefer to use it over javascript. But unless its current implementation is more business friendly and realistic we can't use it.

lee··on Ask HN: Did you start a company whilst employed?
Just curious, did you take Modafinil continuously for 9 months straight as well?
lee··on Ask HN: When is it time to give up on becoming a developer?
For one thing, don't compare yourself to a lot of the HN or Silicon Valley crowd. There're plenty of really smart people on here, so your perception of what's normal may get skewed.

Can you be hired as a developer? It sounds like you've produced some code and even got paid for doing it! From personal experience, I have met plenty of "professional programmers" who are paid decent salaries, yet are terrible or mediocre programmers.

The "rock stars" or genius coders out there are outliers. The average programmer is actually quite mediocre.

I'm not saying aim to be mediocre. But I am saying don't be intimidated by the stories of outliers.

There is a lot to learn, and it never ends. It's a path of continuous learning and improvement. So keep coding and working, and you'll eventually get there.

On a more explicit piece of advice, perhaps something is wrong with your resume or cover letter? Have people peer review or critique it, maybe it needs fixing.

lee··on PyCon US 2014 – Videos
Yea, my company paid for my trip, hotel, and conference fees.

Pycon, through the support of all the sponsors, is actually fairly cheap. Only $300 to attend, and they did an amazing job organizing it. Lunches and breakfast included. I know of other tech conferences that are much more expensive.

I think it could be easily argued that sending employees to things like Pycon directly benefit your company. We work in a really fast moving industry so it's a necessity to keep employees on the ball. Going this year I learned a ton of new things about Python that made me more productive.

lee··on U.S. stock markets are rigged, says author Michael Lewis
I don't think the cost is necessarily negligible.

If the system is setup in such a way that there are those who benefit from every trade, skimming fractions of a percent per trade, those add up. They are effectively shrinking the market capitalization of that stock... and over a long period of time that could be significant.

If a stock's losses to this are in the range of 3% per year, over a 25 year period the stock will lose 50% of it's market cap from this activity.

That's fairly significant.

lee··on Ask HN: What'd you do to get your first 100 users?
I think what he's getting at is that a fairly large problem with starting a start-up is that you don't know if your product or service has a market in the first place.

If you start with a fresh idea, then you have to test and discover if what you are offering is viable. By taking an existing product or service, and improving upon it, that entire first phase of discovery is done for you.

That's why most new businesses aren't building something novel (ie: opening up a restaurant, retail store, software consulting, etc...).

That discovery phase is expensive. So if you're boot-strapping or limited on capital and time, then you're in a situation where creating something new is extremely risky. Even large companies with lots of resources often fail when launching a novel product.

Not every company is like Apple.

And conversely, many successful companies built on existing solutions. Google wasn't the first search engine. Facebook wasn't the first social network. Microsoft Word wasn't the first word processor.

I'll agree that "It's better to create a new market." But only IF you have the resources to take on that kind of risk.

lee··on I Built a Social Network for Food and Here’s How I Did it
The most impressive thing I find about the creator of yumhacker is that she just does what she wants to, even if she doesn't know "how" to do it she eventually figures it out. From her 180 websites to 180 days challenge, to this.

That kind of "Just F*$king Do It" attitude is so rare to find.

lee··on A CNN Viewer Has Questions for Mike Rowe
One factor of the metric that there're "unfilled skilled positions" is that the pay for those positions is still incredibly low. Many of those positions offer compensation near minimum wage, or are laborious enough that it's not worth working for.

So although there are unfilled skilled labor positions, many of those don't fit the supply/demand curve.

lee··on Sleep Flushes Toxins from the Brain
I have sleep apnea and use a CPAP machine nightly. My CPAP device comes with a humidifier chamber to keep the humidity of the air I breathe in high.

One of the side-effects of using a CPAP machine is that sinus congestion never bothers me as long as I have the device on. It provides enough pressure that my sinus are forced to remain open when turned.

So maybe look into using a CPAP machine to help you out.

lee··on Microsoft CEO Steve Ballmer to retire within 12 months
I'm not sure your description of Beta is accurate. Correctly if I'm wrong, but Beta is a measure of volatility in correlation with the broader market, not a measure of volatility in of itself.

There are plenty of stocks that have beta < 1 that are much more volatile than the indexes.

Having a low beta simply means its price isn't as correlated with the overall market. An example, Netflix has a beta < 1 but is extremely volatile.

lee··on Docker - Way better than a VM
Is this similar to RedHat's mock environment?

The advantage is that you're not limiting yourself to a RedHat distro. But conceptually is it similar?

← PreviousPage 4 of 9Next →