drygh's comments

drygh | 10 years ago | on: Ask HN: How does your team write documentation? What tools do you use?

At Ionic, we use Dgeni (https://github.com/angular/dgeni) for API docs. We have a few custom build tasks that allow us to version the API docs.

We also have higher level documentation, which is meant to serve as a sort of conceptual overview of the framework, as well as to show what the framework comes with out of the box. This section is written mostly in kramdown, which gets parsed by jekyll before it's turned into HTML.

drygh | 11 years ago | on: Why I Hope to Die at 75

> By the time I reach 75, I will have lived a complete life.

The author seems to reach this by asserting that the things he currently values will not be possible when his health declines. How does he know that these values won't change by the time he's 70? The things we value constantly change. As kids, we value playing games, eating candy, making friends, etc. These values change as we become young adults, and seem to change throughout different stages of life.

The things the author seems to currently value can be found here:

> It (old age) robs us of our creativity and ability to contribute to work, society, the world. It transforms how people experience us, relate to us, and, most important, remember us.

Not all people value creativity, and ability to contribute to society equally though. The author seems to be defined by his work and ability to keep up the image as a highly-functional, productive, independent member of society. If this is how you define yourself, then of course old age looks like a loss.

> Americans seem to be obsessed with exercising, doing mental puzzles, consuming various juice and protein concoctions, sticking to strict diets, and popping vitamins and supplements, all in a valiant effort to cheat death and prolong life as long as possible.

People do this to live a higher quality life too, and the benefits are short-term. Ironically, not doing these things can arguably "rob us of our creativity and ability to contribute to work, society, the world", something the author seems to value more than anything else.

drygh | 11 years ago | on: How to decide between a responsive website or a native mobile app

The article completely overlooks hybrid apps - the middleground between the two choices in many areas. In my opinion, hybrid apps have a bright future because they have the potential to grow in two critical areas:

(1) Leveraging the growth of the web

History has proven that the web is becoming more mature and stable, and that it offers an excellent platform for development in most cases. The tools and frameworks being developed allow developers to build more efficiently. The web is a solid backbone that has only gotten stronger over time. Native mobile development has also grown in this aspect. However, how do we know the native pattern won't follow the same course as desktop applications? Sure, there will always be use cases for native mobile apps, just as there are critical desktop applications that haven't been replaced yet. The web seems to be more consistent, and as it continues to grow, it only continues to fuel the hybrid development community.

(2) Building off of a maturing mobile community.

For the most part, hybrid development is simply an abstraction over native APIs. If the native app development ecosystem slows down, becomes more mature, and stable - it helps the hybrid ecosystem. The fact that iOS and Android are becoming the standard helps reinforce this idea. This allows us to build those abstractions and tools that make hybrid development possible. Exponential growth and change are the enemies of hybrid.

New native platforms and functionalities are like earthquakes. The architects and engineers on the surface who rebuild are the hybrid ecosystem. Over time, the world introduces new tools for these architects and engineers to make them more productive. This is the web - the fuel for the hybrid world.

So what happens if the earthquakes become smaller and less frequent? What happens when the architects and engineers begin to become more effective, at the same time?

Anyway, other than the previous points, the author summarizes the decisions to be made by businesses quite nicely. It's all about measuring the trade-offs...

drygh | 11 years ago | on: Ask HN: What should I learn to make my full stack deployment easier?

I recently picked up Ansible with nearly no system administration background. I came from a Python background, but I didn't want to learn Chef/Puppet/Salt since there is apparently a fairly significant learning curve.

Anyway, Ansible has been great for small/medium sized projects. I haven't used it for anything large, so I can't really speak if you're planning on working on big projects. I was able to pick it up in a day, and after a few days I felt I was comfortable with it. For me, copying parts of other people's playbooks from Github and trying to understand it was the best way to learn after getting an overview from the documentation. Just start with something small - like installing & configuring a database, and work your way up the stack. Can't speak to any other dev-ops tools since Ansible is the first I've learned, but I've been happy with it.

drygh | 12 years ago | on: For book lover, do you like my idea on selectist.com?

Interesting idea. I mainly read philosophy, classics, and some fiction. Anyway, I think between Goodreads and Amazon reviews, I can generally get a feel of what to expect. They also have the advantage because independent review/recommender systems are the norm, and they work for most people. I think reviews and recommendations are tough to get in to when you have a huge chicken/egg problem. Even if you aggregated all reviews for a book and added something unique on top, it's only making the experience marginally better.

I do think having unique context could be pretty interesting. The narrower and more specific a list, the more value it would add. Having a "My Top 5 Books" list provides no value to me. A recommender algorithm will win at that game. However, having a "Romantic Thrillers Where Protagonist Gets Kidnapped While On Vacation" list is at least something unique. I think search could be kind of addictive if there were tons of random and extremely narrow lists. If you did go this route it seems collaborating to build the lists would be pretty cool. Having lists tied to a user seems like it would make it harder to come up with really unique and narrow lists as a community. Maybe you could have both?

drygh | 12 years ago | on: Polyphasic Sleep

I was on a polyphasic schedule for 3 months while in college last year. I noticed I had slightly decreased strength and energy levels while lifting and playing various sports. Overall my body felt slightly sluggish, like it was running at 90% speed. One thing to consider is the fact you are staying up for significantly longer. My diet changed quite a bit because of this - I was eating more often, but smaller meals. I assume this alone could have been effecting my metabolism / energy levels over the long term.

Overall though, it was the negatives on the social side of things, rather than the physical, that caused me to stop.

drygh | 12 years ago | on: Ask HN: As a developer, how do I work with freelance designers?

Most of the APIs I'm using do have a test/sandbox mode of some sorts, or I could disable them in a way the designer could still work on the application. If this is the norm in working with freelancers I am fine with it. It just seems as the application grows, it would be substantially more difficult to make sure everything is 'freelancer proofed'.

That's why I brought up the contract as well. Not sure if this is a good cautionary step to take, or if I should do it in addition to putting APIs into 'test/sandbox mode'.

drygh | 12 years ago | on: Ask HN: Developer laptop under $1500?

I love this laptop - I found a slightly used one on craiglist for around $350 (given - it has an i5). If I had a budget of $1500 I would still have purchased it and gotten a couple of nice external displays. Honestly I think it is plenty powerful for web development. I also have had a flawless experience with Linux on it.

drygh | 12 years ago | on: How can a high school student learn to code?

I have been programming for about a year and a half. I am now in college and am developing a web application for my start up. I think "getting to the next level" is often a big problem for those teaching themselves programming. There seems to be a plethora of resources available to beginners, but not as many "intermediate" lessons.

My suggestion is to pick a category - whether it is games, web development, mobile, etc - and start a project there. As others have said, dive in over your head. Take it one step at a time, it will be slow at first. No matter what you are doing, utilize search engines and Stack Overflow. They are your best friends. Don't worry if you use a framework and feel completely overwhelmed at first - it's normal. Also, learn Linux. It will make your life easier, and give you a better understanding of how operating systems work.

Lastly – just some general advice about something I have learned. You will hit some rough patches where you spends hours or even days on something trivial. This is part of the learning process. Becoming a better programmer means you organize your projects differently, and you learn how to debug more efficiently. Something cool about this though – sometimes you have an error and try 10 different fixes. None of them work. This is not wasted time – you just learned 10 new things, and chances are next time you will be able to debug a little bit more quickly.

drygh | 13 years ago | on: Ask:HN How can I learn Postgresql?

Have you gone through the tutorial? If not, I suggest doing that. From there, once you have a solid base knowledge, you will be able to more easily understand the documentation and use other sources for more technical problems. As far as whether you should outsource it - how much database work does involve? It really depends on what your goals are, and whether you have time, or money. I suggest asking your technical question on stackoverflow.com if you haven't already, it's a much more fitting place to get help on that sort of thing.
page 1