Recent submissions

Comment · 12 years ago
For web, front-end, or mobile apps (excluding games), I agree math is not necessary. These type of apps rarely uses math, they simply streamline data and present it on the screen. It can't hurt, but it isn't a criteria when I interview developer.

Of course, once you get into back-end systems, data analytics, and algorithms, math becomes much more useful, if not a necessity.

Comment · 13 years ago
I do agree the "noun" vs "verb" analogy when classes are taught are horrible..actually the way classes are taught in general are just confusing.

Ultimately, classes are about code organization and reuse. Done properly, it leads to a well maintained program. Functional programming...it still needs to be organized somehow, whether you put them in classes or namespaces, the last thing you want is spaghetti code. Now depending in the type of programming, you may need to preserve state, which can be quite challenging in a purely functional environment.

Comment · 13 years ago
Although it is impressive that an app like this can be created in such few lines of code, I think it is a bad precedent as a programmer to have a goal to write as least as many lines as possible. It leads to hacks and unmaintainable code. I would rather have a method that has 10 lines of code that can be easily understood, then a method with one line of code that is only understood by the creator. That is not to say that one shouldn't focus as code reduction via re-usability, but one should always write code the can be understood by others.
Comment · 13 years ago
In what ways is RoR superior to asp.net (besides the fact it is not microsoft?) RoR is still it it's relatively infancy, has security issues, is significantly slower, and good luck finding a good IDE. To the author's point, don't just hate, give some specific reasons why one technology is superior or inferior.
Comment · 13 years ago
Comment · 13 years ago
How is your diet and exercise? Cut out any sugar and caffeine, avoid high processed foods (especially white bread and soda) and try to exercise at least 30 minutes daily. Do you take vitamin supplements? It is possible you could be vitamin deficient. There are blood test for that. Vitamin B-3 (niacin), vitamin C and vitamin D-3 are especially important.

Assuming those basis are covered, how is your breathing/posture? Programmers especially can develop bad posture because of sitting all day. Make sure you don't slouch when you sit. Here is something to try - when you feel anxiety coming, immediately stand still, straighten your back, slow down your breathing taking normal size breaths (don't deep breath, just breath normally) and clear your mind for 30 seconds.

How is your sleep, do you snore loudly and don't feel rested? You might want to check if you have sleep apnea.

That's all I can think of for now. There are also drugs, both non-prescription and prescription that can help. Personally I'd only use them as a last resort.

Comment · 13 years ago
I've used AFNetworking pre-iOS7 and it's been a godsend. However with the advent on NSURLSession, I don't see the need to have a 3rd party wrapper to do network calls anymore. Although I admire Mattts' efforts, I'm still not convinced using AFNetworking 2.0 is more effective than using NSURLSession directly.
Comment · 13 years ago
I use firefox mainly for hierarchical vertical tabs (tree style tab plugin). I often have up to 50 tabs open at once, which is unmanageable in ie/chrome. Also session manager is amazing, never have to worry about losing tabs. I also like how firefox loads tabs on demand, unlike chrome which opens them all when you open the browser.
Comment · 13 years ago
Kind of reminds me of the movie "Taking of Pelham 123", where a stunt is created so that someone can profit by shorting the stock market. I wonder who made out on this one.
Comment · 13 years ago
I agree that home ownership is not a good investment. Between mortgage interest, property taxes, home owners insurance, and maintenance, the ROI will be negative. Not to mention most homes barely appreciate beyond inflation. People say that with rent, all your money is going out the window. The same can be said for owning a home.
Comment · 13 years ago
This is the concept of affirmative action at it's core. Do we base admission partly on demographics instead of merit? On one hand it may help promote the minority, though there are downsides as well.
Comment · 13 years ago
As others have mentioned, increasing units without increasing infrastructure will only make things worse. NYC is great because of its transportation, subways for intra-city and rail for the suburbs. Even then, NYC isn't perfect. The middle class can't afford to live safety in NYC. It is polarized for the rich-poor. Living in Manhattan is price-prohibitive, $2500+ for a decent one bedroom. The bronx is mostly poor with a high crime-rate. Queens/Brooklyn are polarized too. The middle class need to commute from the suburbs (NJ, upstate NY, long island/CT), with commutes of 1 hour+ each way. Fortunately the rail system can mostly handle it, but it is still a lot of time out of the day.
Comment · 13 years ago
As a lead developer that is involved in new hires, I can give you my perspective.

We generally don't hire remote workers. If I did consider hiring for a remote position, it would only be for senior developers. It is difficult to mentor a junior developer that works remotely.

As far as wanting to work for a company that values general programming concepts, well, let me just say this. In reality, it can take years to fully master a framework. It's not just programming, but patterns and architecture. Even the quickest learner can not learn these over night. I wouldn't ever hire someone who just knows a little of every language, it comes across as a jack of all trades. I don't look for people that can just hack stuff together, I want someone who is specialized in a technology and can implement specifications on a product quickly and cleanly.

I don't wish to discourage you, there are probably jobs at there that fit your criteria. It depends on your goals. If you want to just have fun, you will have to sacrifice on pay. If you want make good money, you will need to specialize on a specific platform (ie php/mysql or .net/mssql) and know it inside and out.

Comment · 13 years ago
The solution I use is to not use storyboards. Although storyboards have some nice features, they don't work well in large projects. Merge commits are the big problem. The storyboard diagram can get huge. Also, storyboards don't handle the re-use of view controllers very well. My teams stick with using the traditional viewcontroller per nib model. I have read that some companies, such as google, forbid the use of nibs altogether.
Comment · 13 years ago
Hacking stuff together from stackoverflow might be faster initially, but later on the product will encounter severe quality issues. Learning the fundamentals and foundations of a technology, combined with experience and architecture knowledge will make a programmer 10x faster while still maintaining quality.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton