Posts9
Comments283
View on HN

I personally love language constructs and hate frameworks for not using them just because they are not OOP enough, for example I like to write controllers using switch statements... when it gets cluttered I may refactor it a class, but I keep that simple, I don't want to subclass an abstract controller class etc.

Also like the author, I hate frameworks that do too much and won't let me be, my personal favorite is: Flourish http://flourishlib.com/ .It is a collection of classes, and that is what a framework should be instead of some monolithic system that generates code that you will have to maintain and has a zillion configuration files scattered all over the place.

[dead] 15 years ago

> Also, nothing would ensure that the electronic money you accumulate would hold its value, and nothing would prevent the operators of the platform from issuing more, in the first instance to themselves.

Nothing prevents the government from doing the same. Also bitcoins are regulated by math, by principle I trust math more than I trust the government.

I am ranked 2 in 3v3 Random Gold league.

I think SC let's you learn how to play mind games, one of the ways to win a match is to understand what your opponents will think or do and play against that, surprise them, do something they would not expect.

There was a match where my allies were defeated I was alone and the 3 terran enemies got ready to drop the hammer on me with a bio army ( marines, marauders ), but I defeated all 3 of them with a handful of dark templars, because they were not prepared for that and I knew that because they were too self confident. Winning the game meant that I had to micro my units to their full extend, not letting them have a second to build detectors and jeopardize my plan so this really reinforces the notion that when you have an advantage you need to use that and get a bigger one.

A hard part of the game is that when you see that your tactic fails, you need to switch over to something else. When you have an air fleet and you realize that the enemy has marines, stalkers or any other anti air units, you need to build anti ground units instead and make use of your existing fleet, like attacking the enemy base while their army is busy fighting your second army.

The game also lets you take risks, you can go build cannons next to someone's base, you can quickly strike down a base with reapers, you could destroy a base with void rays or you could frustrate the enemy with mutalisks. These are all high risk, high reward moves, you could win the game in a few minutes, but you could also lose it if the enemy is well prepared for your tactic.

You could take a lot of real life situations and turn them into an SC game. The reason I play it is because it sharpens the mind, makes you think and act fast.

My advice is take jQuery Mobile, extract the parts you care about and build your web app your own way. You don't have to use the whole thing. I agree with not trying to emulate native apps.

I implied that they could be more civil if there is a chance that the owner of the internet connection is not the criminal. They could knock on the door, politely ask the owner to answer some questions and do the rough stuff after they are absolutely sure that that guy is the one they are looking for.

My hypocrisy sensor went off. They should take a look at Mortal Kombat, Call of Duty, Blood Rayne to name a few. In these games people kill people, they slice and dice them, why not complain against those. Aren't those games sending the wrong message?

Just because a game contains objectionable material doesn't mean that the players will do that.

[dead] 15 years ago

They didn't have much of a choice, either that or they would have been burned for being a heretic.

More thought:

Religion preaches that we should simply accept stuff as fact without proof. The Bible condemns knowledge, it says that we are all sinners by default because our ancestors have accessed the tree of knowledge.

No sane person accepts baseless assumptions without proof. If I would tell you that your great great great grand parent was raised by mice would you believe me?

Sorry but currently religion is the true venom.

[dead] 15 years ago

No sane person can take the bible literally. It's a piece of paper containing text that was written long ago when people didn't had this much technology.

Stopped reading here:

> Dilbert creator and sexist jackass who last month opined that "women are treated differently by society for exactly the same reason that children and the mentally handicapped are treated differently,"

This article takes stuff out of context.

Modern JavaScript 15 years ago

The problem is that browsers don't deal with libraries. You can implement a module and a script loader system, but in the end of the day you will concatenate most scripts for faster download and initial page rendering.

The big problem is that we still have: IE6, IE7, IE8 and probably IE9 too They are too slow, they will not allow you to write nice modularized code.

Silverlight: Polluting the mind of the commoner, making them believe it's the hottest shit since slice bread and that everything else is inferior. Then realizing that this cross-microsoft-platform wonder is just a bad flash imitation, then deprecating it saying that HTML5 is better.

I fail to see the point to this, Silverlight was deprecated by Microsoft in favor of HTML5, end of story.

I stopped reading here:

> Douglas can explain to me why he keeps writing about object users as "attackers" and "tamperers". Maybe it's a reflection of childhood trauma that manifests itself as a pathological distrust that he's struggling to overcome.

The OP does not understand what he is talking about, as far as I know Crockford's prototype overrides were done in a safe way, they were conditionally, in modern browsers you probably have them anyway.

Also if you develop web applications you always have to assume that people will want to hack you.

I looked up the characteristics in wikipedia, all applies for me except for one:

> Behave calmly and with restraint. They walk, eat and talk slowly.

I actually move fast phased and I may even look nervous, I feel that I need to keep the adrenaline flowing both for physical movement and mental actitivies.

If PHP sucks so badly, why is it so popular? :)

You can call PHP anything you want but, the fact remains: it's easy to learn, and it gets the job done. It's not meant to be OOP like, if you want to go crazy with OOP, then go with a strongly typed language.

Is it just me or this should have been a crazy rant about how much outsourcing sucks?

I don't want to sound like a racist(don't take this the wrong way), but I had a lot of projects where the client previously employed Indians to do it, who conveniently took the money and left a poor excuse of a product in it's place.

Most of the code Indians leave, is simply trash, no I don't mean bad code, I mean trash something that you will be forced to throw away.

Indians may be cheaper in the short term, but they won't be able to build your product.

These Indian freelancers give the rest of us a bad name(including the other Indian freelancers who are good coders).

Women and men are not equal and never will be, period, anyone disputing that is ignorant. There is no problem with treating two genders differently to a certain point. Scott Adam was right, but he was overwhelmed by the zealots and had no choice.

In my opinion: anything you write about this topic will offend an army of people, so just don't do it, there are too many zealots out there who can't stand people who have different opinions.

This article is ridiculous and pointless JavaScript hate article.

JavaScript is not different from HTML and CSS, all of these are generated by a sometimes proprietary service and executed in the browser.

This article is completely stupid because it not only misses the point of JavaScript, it even contradicts itself:

- if the UI is plain HTML/CSS and is generated server side and then fed to your browser, you will never even have a clue how it works

- if the UI is done with JavaScript on the client you can always de-obfuscate it

> Further, we've recently seen companies such as Research In Motion (makers of the Blackberry) advising customers to entirely disable JavaScript in the WebKit browser on its devices because of a security problem that was discovered.

It seems the FSF wants to build a reputation by taking things out of context and leaving out important bits. The security was probably found in the browser and not in JavaScript, this is the same as advising someone to unplug the computer because of a computer virus.

I am really disappointed by this short sighted article, the FSF should be better than this.

> It in no way implies that every private venue (e.g. Facebook) is required to accomadate your opinions.

If Facebook is a communication medium it must not hinder free speech.