8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 14y ago · link · parent
Everyone has to weigh the benefits of starting a startup over having a regular job. If all the kids are starting startups, that indicates that the benefits of having a job are so low that it is always worth the risk of startupdom.
Money may not be the only consideration, but I'm sure it is a big one. Would these kids be all starting startups if the programming jobs paid, for instance, $500K per year?
comment 14y ago · link · parent
It doesn't make you wrong. Your preferences are your own. But the changes very well could be better for newcomers. At some point you have to abandon old conventions to improve.
comment 14y ago · link · parent
REST itself does not concern itself with the protocol you use. Theoretically you could build a REST protocol over HTTP that does not use HTTP verbs, using it as only a transport layer. Though I'm not sure what you would gain by implementing a REST protocol over another REST protocol.
Pragmatically, if you choose to use HTTP, you need to think about the infrastructure that exists. Each verb comes with a very specific meaning, and systems like proxies and other software that come between you and the client will act in different ways depending on which verb you choose. To meet the goals outlined in the REST dissertation, you need to be aware of those behaviours.
comment 14y ago · link · parent
- API method urls are all the same .aspx, regardless
of method used
Extensions are meaningless. That is why we have Accept/Content-type headers. The HTTP spec even explicitly says to not use extensions to relay content information between client and server, from what I recall. - All calls are sent as GET (ignoring the whole point
of HTTP methods in REST)
I haven't read Fielding's dissertation in a while, but using the "Coles Notes" version from Wikipedia, I do not actually see using the verbs a requirement for REST. I do not recall REST even requiring HTTP. You can use any protocol you want, so long as it conforms to the principles.RESTful, on the other hand, does specify the use of HTTP verbs, but the site in question makes no mention of being RESTful.
By not using the proper verbs, the site does appear to violate the caching rules of REST though, I'll give you that.
- Custom authentication putting credentials in URL
or in headers (neither of which are encrypted over
https)
The entire https payload is encrypted, headers and all. REST says nothing about how authentication should be implemented. - Return format is done with get arguments instead
of HTTP content negotiation in headers (not so bad)
This falls under the same as using extensions. Though I will agree with you that it is a reasonable compromise in some cases, such as using a browser where you can't reasonably set your own headers.comment 14y ago · link · parent
But seriously, I have always wondered how the radio model is supposed to work. Whenever I hear a song I like, just wait an hour, and I'll hear it again. There is simply no reason to buy the CD (or record, or digital download).
Value is, in part, driven by scarcity. When you only have 40 songs in your rotation, there is no longer that scarcity required to drive the high value. It's no wonder people were no longer willing to pay $20 for a CD.
comment 14y ago · link · parent
I'm not sure that is strictly true. The autoresize model[1] will cover a lot of cases. The place where it does break down, and where HTML does shine, is with variable sized data such as paragraphs of text. However, that is starting to encroach on document territory anyway – meaning you'll probably want to use something like UIWebView to display that data.
Anyway, not trying to point out the obvious. I've just noticed that not all iOS devs are even aware of the autoresize functionality, so I figured it was worth noting.
[1] http://developer.apple.com/library/mac/#documentation/Cocoa/...
comment 14y ago · link · parent
It's not the people who already enamoured by programming, it's the people who dislike or even hate it (i.e. most people). What about programming makes it worth their time to do, when they do not naturally love it?
comment 14y ago · link · parent
Locally (outside the US), I see job postings that require "programming gods" for the job, that top the pay scale out at $70K. The US is reported to fair better, where programming deities can earn over $100K, but mediocre programmers still do not earn that much from what I gather.
It takes a lot of work to become even a mediocre programmer, and when you get there, there is no room for advancement. The programmers job is to automate itself away, yet, unlike the commissioner, the average will never see residuals on the gains from that automation. They say most programmers leave programming by the age of 35 because it is a dead end.
Don't get me wrong, I love the field and have no regrets about entering it. I started programming in high school because I was fascinated by it, and the fact I can make a decent living doing what I love is amazing. I do, however, recognize that I could be much further along professionally if I would have poured all those hours into other pursuits.
And that's the kicker. Most people are not going to naturally love programming like me and, I'm going to assume, you. Why would they want to spend their formative years on interests they do not particularly love, to find themselves in a job that pays decently, but has no real room for advancement beyond leaving the act of programming entirely?
comment 14y ago · link · parent
comment 14y ago · link · parent
Use their software holdings to become a major success story? I'm sure the people helped, but Apple wouldn't be anything like they are today without ownership of NeXTStep. And it was no secret at the time that Apple was looking for software as they were also courting Be.
comment 14y ago · link · parent
The biggest challenge I find is that people do not take designer programmers seriously. Those who do just enough programming to support their interfaces seem to be respected, but as soon as I dive in writing some low level component in C, as an example, my design skills are immediately discounted, it seems.
Programming is design, in my opinion. The way you structure your code, getting the indents and spacings just right to be pleasing to the eye, are the exact same skills you need when you're shifting pixels in photoshop. Thinking about how the next programmer will interpret the meaning of your code is the same skill you need when thinking about how a user will use your interface. I feel the only thing limiting a programmer from becoming a good designer is practice.
comment 14y ago · link · parent
comment 14y ago · link · parent
That is me. Once upon a time, I applied to take CS at a number of institutions. I was rejected from them all. Not that it really stopped me, I just had to learn it all by myself. Now I get to play "lead engineer" on some pretty significant projects and have CS grads coming to me for help.
But the meme I see often on HN and elsewhere is that you need to go to college. What they fail to account for is that college is a protected class where most people do not have the choice of going, even if they wanted to. I certainly didn't have the opportunity – though in hindsight, it was probably a blessing.
comment 14y ago · link · parent
I'm not sure that is true. My new years resolution of sorts was to build a web presence for things I build, because historically I have not put them out in the public eye at all, even though there probably are some interesting things in there.
Publishing isn't nearly is fun as building, so I can imagine a lot of developers are in a similar boat.
comment 14y ago · link · parent
With that said, most people do place a lot of value in the connections they made during their time in school. I'm not sure those connections can be built by online institutions. That may have a dramatic effect on opportunities one has later in life.
On an unrelated note, I had a teacher in high school several years ago that figured universities were already obsolete at that time. It's interesting it is a topic still in debate. Perhaps he was a man ahead of his time; he teaching style certainly was.
comment 14y ago · link · parent
- When someone writes a poor program, we celebrate their attempt. The fact that they tried at all puts them well above the efforts most people are willing to put in.
- When someone writes a poor article, we blast them for not having everything just perfect. Only those with decades of industry experience are worthy of writing that perfect article.
This makes absolutely no sense. What is wrong with someone writing an article that is full of flaws, like someone who writes a program that is full of flaws? It is a personal blog, not a prestigious legal journal. Who cares if he made some errors?
I don't think this person is going to be gunning to pass the bar exam any time soon. Learning about the legal system is a valid hobby like any other. The learning process requires many mistakes in the beginning. You do not have to be perfect in your understanding from day one.
You are entitled to your opinion, but I, for one, hope we see more people learning about the legal system as a hobby. It can only yield positive results.
comment 14y ago · link · parent
The portrayal of truth goes back to the old joke:
If you ask "how do I do X in Linux?", you will not receive a
response. If you state "Linux sucks, it cannot do X",
you will be flooded with solutions to your problem.
If you make bold statements, people will be keen to correct you. That is how you learn.comment 14y ago · link · parent
This is no different. The article may very well be full of errors, but as he continues to work on his law skills, he will get better. The flaw is our thinking that everyone should be perfect on day one. It takes a lot of time to become good at what you do. We should be nurturing his early efforts, not scolding him for trying.
comment 14y ago · link · parent
I'm not sure. Copyright exists for the sole purpose of providing incentive for people to create works for the rest of the population to enjoy. If the population cannot reasonably access that work, the intent of copyright protection is lost.
comment 14y ago · link · parent
The long and the short of the document was that a REST client must be able to navigate the entire API when given just a single endpoint URL, much like you can navigate an entire website just by entering the homepage URL into your browser, but without the dependance on HTML.
The leap the document made, and what virmundi seems to be referring to, is that a REST client that speaks, say, JSON is not enough to traverse any random service, as everyone will provide a completely different JSON representation of their data. When you start hardcoding site-specific keys in which to find the action descriptions, you lose all of the flexibility the author claimed REST would provide in the first place.
comment 14y ago · link · parent
In most cases it says, "I want your content, but you are failing to provide it to me."
Look at Napster. People used it not because it was free, it was because there was no other choice. Once the music industry finally got around to approving iTunes, it became a huge and successful business for not only Apple, but the music industry too. If iTunes was available from day one, Napster would have never rose to fame.
Now look at the movie industry. I know of a lot of people who happily pay for Netflix and pirate content that is not on Netflix. If that content was on Netflix in the first place, the content owner would have received their money no questions asked.
There are some pirates who are plain cheap. But in most cases, it is just a power struggle. If you do not respect others, they will not respect you.
comment 14y ago · link · parent
There's nothing wrong with picking someone that way, but you're essentially selecting someone based on random chance. You'll probably find someone who is adequate at the job, and if that is what you want, who am I to judge?
But the recurring theme on HN is that people want to hire the best of the best. The best people are 10 times more productive, they say. It may be conjecture, maybe businesses don't want that kind of person at all, but selecting someone from a sorted list is almost never going to find you that person. For that, you're going to have to put in some effort.
Anyway, it doesn't matter how you do it. The benefit of the open market is that the one who does it right will find greater success with their hire.
comment 14y ago · link · parent
If you can earn $40,000 at a job, but instead elect to take a $20,000 job and go to school at the same time, the cost for that year is tuition (let's assume that $75,000 figure) plus another $20,000 in opportunity costs, or $95,000. $115,000 for the year if you decide to not work at all during that time.
comment 14y ago · link · parent