Why use any abstraction at all? you can just arrange some logic gates in the right configuration after all.. Do you enjoy writing boring DOM traversal routines? Why should Javascript be exempted from avoiding the not-invented-here syndrome?
I don't get the american obsession with the size of the government. The problem is not how big or powerful the government is, but what it is allowed to do.
It's not hard to see something is going wrong when your state starts killing millions of people in death camps. The question is at what point do things start go wrong. The german answer to this would be that the state has to be a constitutional state, a state of laws that are applied to everyone, especially including the government. Fundamental rights which apply to all people without exception.
This is something the USA seem to have lost lately. "Terrorists" or "enemy combatants" have no rights, guantanamo and other places are outside the law. The president can basically do whatever he wants. This all seems a lot more troubling to me than the question of how big the government is.
It seems to me that such a game would be about just as realistic as the cleaned up war the Americans see on TV. No suffering, no civilian victims -- especially no children, no fucked up psychopaths using the rule free area of a war to do what they always wanted to do, no torture, no life-long suffering from handicaps, no PTSD, no being sent in again and again and again until you finally blow your own head off.
Instead it will be full of cynical utilitarian rhetoric and patriotic sugar coating. A fun game for the whole family. Maybe it will even have some religious motives baked into it -- because Jesus loves the war!
When the toilet lights at our company started flickering I became really edgy for not checking all bathroom stalls for enemies like Doom 3 had taught me.
I'm not too keen on trying to push class based inheritance into javascript because it usually ends up inelegant and bloated and often ignores better solutions in the javascript world (interfaces?? just stick to duck typing)..
That being said: Jon Resig, the author of jquery did publish some fairly minimal class-like system on his blog that I found useful at times..
The german pronounciation is easy because in contrast to english it is regular. Apart from certain words of french origin, you can tell what a word is pronounced just by reading which is more than you can say about the mess the pronounciation of english is.
shortcut: ctrl+shift delete. clear private data dialog pops up on default but you can even set it so that it deletes it invisibly. Thanks to the new awesome bar you don't end up in a state where typing into the address bar does not find any results but instead get your permanent bookmarks found -- perfect for me.
the painting process or the composition process is also not clearly visible in the final artwork.. you have to use x-rays and other analytic technics to discover it.
We also had tapes here in Germany.. mostly because we could not afford to buy a floppy.. all the people I know only had tapes and only I think one guy had a floppy.. only in the later years floppies became more common..
The iPhone was not that much of a sales wonder anyway.. no comparison to the USA.. most people here seem to be highly critical of paying
1600 EUR for two years without any kind of flatrate (that's $2300 now).
You're missing something here - if you leave the DB port open, you must give your application/applet the necessary credentials to log in to the database; hence you're providing those to the outside. If you use a webservice, you may have the user authenticate himself, but also you can sanity-check data before forwarding it to the database.
If you don't take any precaution with your data, you're going to lose, no matter how many layers -- but somehow I can't find myself agreeing that giving the raw DB socket and passing all necessary authentication info to the world at large within the applet I'm sending out is a good way either. (of course, you can try and lock down the DB user so that the user within the DB can't do much damage, but you're still opening a hole through which you might also try and hack for other DB accounts with more permissions).
There's basically no difference in the authentication for a webservice or a database.
If you need to sanity-check your data, this checks (also) have to be in the database. That's kind of the point of a database -- to have a storage for data with sane relations and content. The database server might be a bit more explorable but relying on unexplorability is security through obscurity.
Some posts here have mentioned the large size of most javascript libraries.. I personally had the same problems and wrote myself a minimal javascript library with only:
HttpRequest related functions
IE compatibility layer for style classes and events
a DOM builder
firebug simulation
a few helper functions
The whole thing is about 8kb for the js-compressed version (about 4kb if you also serve it gzipped) and is available under a BSD-like license from my blog site
windows multi monitor support wasn't exactly out of the box as it kept forgetting about it. I had to basically reconfigure it after every boot.
It also often chose the wrong resolution -- not to mention the bluescreens I was getting and which made me lose work multiple times..
And what could I do about it? NOTHING! Just bow your head and reconfigure/reboot.. you're not supposed to do anything. either it works or you're fucked.
Sure.. the lost panel thing is a bug and was annoying.. but as usual with linux there is something I can do about it.. I would certainly prefer gnome to open its panel
on the screen all the time, but as it is I just open a terminal and use wmctrl to move the panels.. no big deal..
So all in all Feisty alpha gave me a working desktop where I can do work on without losing it again.. something the oh-so-professional out-of-the-boxy Windows did not manage..
Ubuntu and the others linux distributions I tried over the years just give me that calm feeling of having a desktop I can rely on. There is *LOTS* of stuff which is simply better than Windows for me.. I left Windows some years ago and never looked back.. I only use it when my work forces me to and fucking hate it everytime..
Why use any abstraction at all? you can just arrange some logic gates in the right configuration after all.. Do you enjoy writing boring DOM traversal routines? Why should Javascript be exempted from avoiding the not-invented-here syndrome?
Because a new heating system alone wouldn't be significantly cheaper?
I don't get the american obsession with the size of the government. The problem is not how big or powerful the government is, but what it is allowed to do. It's not hard to see something is going wrong when your state starts killing millions of people in death camps. The question is at what point do things start go wrong. The german answer to this would be that the state has to be a constitutional state, a state of laws that are applied to everyone, especially including the government. Fundamental rights which apply to all people without exception. This is something the USA seem to have lost lately. "Terrorists" or "enemy combatants" have no rights, guantanamo and other places are outside the law. The president can basically do whatever he wants. This all seems a lot more troubling to me than the question of how big the government is.
It seems to me that such a game would be about just as realistic as the cleaned up war the Americans see on TV. No suffering, no civilian victims -- especially no children, no fucked up psychopaths using the rule free area of a war to do what they always wanted to do, no torture, no life-long suffering from handicaps, no PTSD, no being sent in again and again and again until you finally blow your own head off. Instead it will be full of cynical utilitarian rhetoric and patriotic sugar coating. A fun game for the whole family. Maybe it will even have some religious motives baked into it -- because Jesus loves the war!
peut-être.. Although many Ergebnisse sont loco.
When the toilet lights at our company started flickering I became really edgy for not checking all bathroom stalls for enemies like Doom 3 had taught me.
Godwin! .. but, yes.
That being said: Jon Resig, the author of jquery did publish some fairly minimal class-like system on his blog that I found useful at times..
http://xkcd.com/353/
;)
I love this even more.. (especially teh title
Just for fun I wrote the script below with the bbb line being indented with spacetabs:
#!/usr/bin/env python
def kaputt():
print "aaa"
print "bbb"
print "ccc"
when I ran the thing the result was:
File "./test.py", line 5
print "bbb"
^
IndentationError: unindent does not match any outer indentation level
strange that it took you 2 hours two figure that out..
I always thought that Perl needs embrace unicode -- there have to be at least a thousand more operators in there.
But Why??
That would destroy the "habitat" of the Spelling and Grammar Nazi's on ./
Where would they go?
http://bigeyedeer.wordpress.com/2008/07/15/this-cartoon-wrote-a-sweary-word-on-your-toilet-wall/
The german pronounciation is easy because in contrast to english it is regular. Apart from certain words of french origin, you can tell what a word is pronounced just by reading which is more than you can say about the mess the pronounciation of english is.
it's not over as long as they're still twitching..
shortcut: ctrl+shift delete. clear private data dialog pops up on default but you can even set it so that it deletes it invisibly. Thanks to the new awesome bar you don't end up in a state where typing into the address bar does not find any results but instead get your permanent bookmarks found -- perfect for me.
the painting process or the composition process is also not clearly visible in the final artwork.. you have to use x-rays and other analytic technics to discover it.
The acid2 test on webstandards.org is currently broken. ( see Mozilla Bugzilla [ you might need to copy and paste that])
A reference to http://www.webstandards.org/404/ which must fail now returns 200.
to join the nitpicking: the firefox beta 2 is an official release -- it's just not a stable release.
We also had tapes here in Germany.. mostly because we could not afford to buy a floppy.. all the people I know only had tapes and only I think one guy had a floppy.. only in the later years floppies became more common..
The iPhone was not that much of a sales wonder anyway.. no comparison to the USA.. most people here seem to be highly critical of paying 1600 EUR for two years without any kind of flatrate (that's $2300 now).
If you don't take any precaution with your data, you're going to lose, no matter how many layers -- but somehow I can't find myself agreeing that giving the raw DB socket and passing all necessary authentication info to the world at large within the applet I'm sending out is a good way either. (of course, you can try and lock down the DB user so that the user within the DB can't do much damage, but you're still opening a hole through which you might also try and hack for other DB accounts with more permissions).
There's basically no difference in the authentication for a webservice or a database.
If you need to sanity-check your data, this checks (also) have to be in the database. That's kind of the point of a database -- to have a storage for data with sane relations and content. The database server might be a bit more explorable but relying on unexplorability is security through obscurity.
.. too bad the "flock" is moving in the opposite direction than you describe.
- HttpRequest related functions
- IE compatibility layer for style classes and events
- a DOM builder
- firebug simulation
- a few helper functions
The whole thing is about 8kb for the js-compressed version (about 4kb if you also serve it gzipped) and is available under a BSD-like license from my blog sitewindows multi monitor support wasn't exactly out of the box as it kept forgetting about it. I had to basically reconfigure it after every boot. It also often chose the wrong resolution -- not to mention the bluescreens I was getting and which made me lose work multiple times..
And what could I do about it? NOTHING! Just bow your head and reconfigure/reboot.. you're not supposed to do anything. either it works or you're fucked.
Sure.. the lost panel thing is a bug and was annoying.. but as usual with linux there is something I can do about it.. I would certainly prefer gnome to open its panel on the screen all the time, but as it is I just open a terminal and use wmctrl to move the panels.. no big deal..
So all in all Feisty alpha gave me a working desktop where I can do work on without losing it again.. something the oh-so-professional out-of-the-boxy Windows did not manage.. Ubuntu and the others linux distributions I tried over the years just give me that calm feeling of having a desktop I can rely on. There is *LOTS* of stuff which is simply better than Windows for me.. I left Windows some years ago and never looked back.. I only use it when my work forces me to and fucking hate it everytime..