Better HN
topnewbestaskshowjobs
Log inSign up

randomdata

8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions

Submissions

comment 14y ago · link · parent

This is actually a pretty good question.

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

Sounds like: http://en.wikipedia.org/wiki/Baby_duck_syndrome

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

On my first attempt, I couldn't even make out what I had drawn, but this service inferred my intent anyway. Amazing.

comment 14y ago · link · parent

For some reason, I still remember most of the birth dates of the people whom are the same age as me that I went to school with. Probably because we celebrated their birthdays in class each and every year.

It's amazing to think that some consider it private information.

comment 14y ago · link · parent

RESTful, as opposed to REST, seems to be clear about the use of HTTP and all of its verbs. It is not RESTful if you do it any other way just by definition.

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

I'm with you on just knowing we can do so much better. Some of the RESTful HATEOS based APIs coming out are simply beautiful. However,

    - 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

The difference is that with piracy, there is a chance you'll stumble upon something new. With the radio, you're stuck with the same handful of songs over and over and over again.

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

> Instead of having a layout engine that recalculates the positions of your UI elements for you (eg, HTML and the box model), you mostly have to manage the position and sizes of everything yourself.

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

I think that is a fair observation, but if people don't already have a keen interest for programming, why wouldn't they just pursue the non-programming multiplier that best fits their personality?

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

There is nobody becoming programmers because it is a poor profession to get into.

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

The blog I built for myself is backed by a Makefile and a bash script. New entires are individual files on the filesystem, and running "make" compiles it all together into usable form. It took no time at all to setup and hosting static files is a breeze, all while still being fairly flexible and easy to maintain going forward.

comment 14y ago · link · parent

"What on Earth would Apple do with NeXT?"

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

I sort of built my skills in unison (had an interest in both programming and design since I was a kid), but my career has tended towards the development side, so I guess you could say that I am a programmer by trade that picked up design on the side. Whether or not I am "kickass" is subjective, but people seem generally happy with my work.

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

You are welcome to put your email in an envelope (i.e. encryption). The technology exists and is proven.

If you send your regular mail without an envelope, there is a good chance many people will read it along the way too.

comment 14y ago · link · parent

It makes you wonder who dreams up this stuff. The purpose of a pension is to defer a percentage of payroll payments until later, to keep operating capital higher during critical business periods. If you just have the money sitting in the bank doing nothing, you can just pay the employees up front and don't need to worry about having pension plan at all.

comment 14y ago · link · parent

Not everyone is cut out for college, actually, most people aren't.

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

But pretty much anything anybody makes these days has a web presence.

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

Others aren't really interested in your credentials. University is a personal achievement thing. As long as you feel the education you received is equal or greater than what you would have received in a brick and mortar institution, you should be happy with that, no?

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

I guess I just do not understand your point.

- 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 publishing is for peer review. If you write your first PHP script with errors galore and nobody else ever sees it, you might be left thinking what you have done is perfect. Posting it invites people to show you your errors in thinking. By writing about how he interprets the law, he will receive feedback about the errors he has made, and can take steps to correct those errors.

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

If you want to use an analogy, it seems more akin to a lawyer publishing his very first PHP program, full of bad structure and MySQL exploits. But everyone has to start somewhere. We all made those mistakes at one point or another and by publishing more and more software, we eventually saw the error of our ways, developed better habits, and eventually could be considered "experts."

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

Shouldn't a content provider have choice as to how you get to watch something?

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

I am not sure who wrote it, or where to even find it again, but I have read exactly what virmundi is referring to. It is possible he is confusing authors.

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

By downloading the product you're telling the company you want their offerings but are too lazy or greedy or whatever.

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

As they saying goes, you get what you give.

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

From what I remember, Digg was given a chance to fix the problems, but it was too little too late. Of course I understand Digg's point of view too, their hands were rather tied; going back wasn't an option.

comment 14y ago · link · parent

Although a little awkwardly worded, I believe what the parent meant is that the cost of education is actually higher than the tuition makes it seem, because of the lost opportunity.

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

The iPhone app is just a thin wrapper around http://m.facebook.com/, so any browser will do.

comment 14y ago · link · parent

It is worth noting that every change Facebook has ever made has been deemed awful by a significant number of people. I'm not certain Facebook, or anyone for that matter, could make an update that satisfies everyone.

comment 14y ago · link · parent

I noticed that in the MPAA speech too. Copyright is a social construct, not a fundamental truth. It's not really American's place to set the social standards for other countries.
1
246247248
256