2008 is a bit newer than what I'm used to. 2k3 is the one I've had to deal with (and is still active at work.. Together when a MSSQL 2000 server... *sigh*). And that is a real PITA to work with.
Any linux admin can probably be taught the "Monkey see, Monkey click" windows stuff though.
I take it you've never actually administered a windows system. It's more complex than that. Much more complex. In fact it's mindwarpingly complex, and for all the wrong reasons.
Things are done in not only inconsistent ways, but in many cases downright insane ways. And you almost always have to work through the "friendly" GUI, that have more of a goal to look shiny, rather than being helpful. It's like putting together a tiny, mechanical watch while wearing large, fluffy mittens.
The only way to operate such a contraption without losing all hope and sanity is to treat it like a black box with magic rituals attached. If you try to find the logic in it you'll find yourself wearing your pants on your head.
Once you've seen the light, it's hard to go back to stumbling around in the darkness. And if you dare light it up, you'll see the horrors that lurk there.... And despair.
Don't quite agree there about Rift, it's generally more challenging than wow, and the rifts does make things a bit more interesting now and then. So it's not just the class/spec system.
And, I'm also hugely looking forward to GW2:) I will try it. I love the dynamic events concept, and they deserve the game price just for trying something different imho (plus, they already have a great reputation when it comes to MMO's). Not everything have to be a WoW clone:)
How about this for the bootstrapping problem: A charity like the EFF could host a verifier that would connect and verify the SSH key or equiv. A simple firefox addon could alert you if a brand new website you've never visited before reports a SSH key different than the one the EFF verifier reports.
I haven't done any tests, but my SGS2 is pretty close, at least. Idle power is incredibly low, but booting require burning CPU and having screen on for more or less the entire bootup (which admittedly is about 30 seconds or so).
To put it this way, I've seen people manage to stretch battery to 4 days, with almost no use. In comparison, playing an intensive 3d game for half an hour will drop battery around 10%. If CPU cores, screen and / or GPU are running full throttle, battery drops fast.
all of the various AV and other corporate IT management software and other sundry login scripts and apps stop thrashing the disk to the point where you can actually do something useful.
Might not be an option in all cases, but an SSD (even a rather cheap one) does wonders for that problem.
Hey, just wanted to chime in a bit here. As many others have mentioned, SQLAlchemy supports just about everything pretty well, but IMHO it got the disadvantage of being way too complex for 90% of what you want to do (and also have confusing docs).
Django's ORM is much smaller, more compact, sacrifices some advanced features, and is (again, IMHO) much easier to work with, and got solid docs.
But, here's the thing. You can use SQLAlchemy in Django. You can even use both Django ORM and SQLAlchemy in the same project. One example, one work project here, does order registration and processing, and all that is done via Django's ORM. In addition, it needs to talk to our billing system, which is run on a MSSQL monstrosity of a DB. I use SQLAlchemy for that.
Got a 1500 line module that does all the details there (handling manual primary key increments *yikes*, weird date format *yikes yikes*, translating 2-char field names to logical names *yikes^3*, relations, composite primary keys, and so on), so my normal django code can just use and work with data from that external DB more or less normally. Works perfect, and peaches and bunnies lives happily ever after.
someone left a weird box full of wires, plugs and batteries unattended in an airport.
Well, then it's most likely NOT a bomb. That would be like expecting all terrorists to wear a turban, or more exact, expecting all turban wearing people to be terrorists.
He must have known that his actions would not be approved by the public
From the manifest:
I have been thinking about my post-operational situation, in case I survive a successful mission and live to stand a multiculturalist trial. When I wake up at the hospital, after surviving the gunshot wounds inflicted on me, I realize at least for me personally, I will be waking up to a world of shit, a living nightmare. Not only will all my friends and family detest me and call me a monster; the united global multiculturalist media will have their hands full figuring out multiple ways to character assassinate, vilify and demonize. They will possibly do everything they can to distort the truth about me, KT and our true objectives, and attempt to make even revolutionary conservatives detest me. They will label me as a racist, fascist, Nazi-monster as they usually do with everyone who opposes multiculturalism/cultural Marxism. However, since I manifest their worst nightmare (systematical and organized executions of multiculturalist traitors), they will probably just give me the full propaganda rape package and propagate the following accusations: pedophile, engaged in incest activities, homosexual, psycho, ADHD, thief, non-educated, inbred, maniac, insane, monster etc. I will be labeled as the biggest (Nazi-)monster ever witnessed since WW2.
As for the backlash.. I think he predicted it (anything else would be stupid, and so far I've seen little evidence of him being stupid), but maybe he considered it a short-lived boost, and/or considered the psychological damages to the future leaders of that party to "win out" - it's possible he managed to change the future politics of that party pretty drastically with that attack. Some of the survivors tell of problems trusting people, especially police after the incident. And Utoya was basically the gathering of the biggest young ideologists of that party's policy. Who knows what long term damage he actually managed to inflict there?
So once again, he might have two goals for his action. Both changing the politics of the most immigrant-friendly party, and get attention to his own ideas.
My personal pet theory is that it's stuff he's stashed in case he escaped. Or, if he got companions (some of those on Utoya have reported two shooters, but it's not confirmed by the police, and they were in a really stressful situation).
Think about it. Store some fake papers, money, maybe some clothes, food, weapons in many of the large cities in Europe, and store it in his manifest in a cryptic way. To get it, all he need is to walk into an internet cafe, download the manifest (which is all over the net right now, impossible to check who's accessing it), and plot the nearest ones on Google maps. Go fetch.
Even if he only escaped with the clothes he wore, he'd still have rather easy access to it.
And it does fit the way he's done everything else so far (almost every action he's done in the attack have been serving at least two goals).
I 100% agree with what you say. And I've seen very few people sharing that view.
This is not some nutcase going batshit crazy, this is a *relatively* sane person following a (weird / ) set of logic to conclude it's the only rational thing to do.
The right thing to do is understand why he came to that conclusion, analyze where he decided that that was the only thing he could do, and then find out how to prevent that from happening in the future.
Of course, when I try to explain that concept to people (1. he's not the average El Insano Rabiato, and 2. to prevent this we must understand it), I always get the "How can you defend this monster??" and so on.. Basically everyone seem to go for the "Lala not listening" defense option.
If he was insane, its unlikely he'd have done such an effective job, seeing as every step of the plan had multiple effects.
Example: The bomb in Oslo did not only distract the police, but gave him an excellent excuse to go to Utoya as a fully armed police man (he even got the people there to get the boat by radio and drive him out there). Normally, Norwegian police don't carry any weapons at all (not even a gun), and it would have been extremely suspicious. However, after the bomb, the special units were sent out fully armed, and some police carried guns and automatic weapons. In addition, by attacking the political headquarters it seemed even more reasonable to send an armed cop to a political gathering close by.
Not only did he plan it extremely well, he also kept it completely secret. As head of Kripos (Norwegian national police force for fighting organized and heavy crime) said, not even Stasi-Germany would have picked this guy up. A dedicated, smart lone wolf is almost impossible to stop (you'd be relying on luck, basically), once they get that far. The best defense would be to stop them from ever getting that far.
And to prevent that, we need to find out why he, in the end, felt that he had to do such a terrible thing.
no worries mate, they are all perl / php heroes, and think functions, code reuse and splitting logic in different files are something scary and exotic. And I'm even using *classes* in my programs. They won't touch it with a 10 foot pole.
Sometimes I think I'm the only sane man there, which have to be an illusion, on account of the company still being there.
Guilty:/ In my (terrible) defense, I use them consistently for the same type of things in every function:
q = query : storing data from a query to an external resource, or data to be sent to external resource (depends a bit on size of query and what the data is planned for). Database / soap and similar.
r = Result - the result to send back from the function.
x, y, z = temp variables in for loops, when what it is is obvious and the loop is small (fits in half a screen)
r* = temp variables to store data for the final result (list of data to be hammered into a string, for example)
c = counting variable, used for counting in loops mostly
qr = query result, when q is the data to send for querying.
other (more seldom used ones):
a = user input. Yeah, very seldom used, because 90% of the time, I use a proper variable name for this.
n = also counter, but not used in loops.
u = unicode string, mostly to remove RSI when banging together / tweaking large amounts of text line by line. Not unusual to see 5+ lines of "u =...." and then at end you see "proper_variable = u"
s = bytestring equivalent of u
d = dict equivalent of u
l = list equivalent of u
So yeah, at first glance it looks like a Crazy Man's code (which, I won't deny it, it basically is), but it does have its internal logic, and once you pick up on that it's quite readable:)
Hey, birdie, sometimes optimisation and maintainability / stability are two opposite things.
More optimised in many cases also means less readable, and sometimes using unreliable "shortcuts" (What do you mean, $special_data_type / $special_api works differently on 64bit / windows_special_edition / $different_locale ?).
Also, less readable code in itself increase the chance of bugs popping up.
That's okay. I found a blog written by someone from the future, so I sent him a request to fetch some SSD durability data from 15 years into the future.
2008 is a bit newer than what I'm used to. 2k3 is the one I've had to deal with (and is still active at work.. Together when a MSSQL 2000 server... *sigh*). And that is a real PITA to work with.
Any linux admin can probably be taught the "Monkey see, Monkey click" windows stuff though.
I take it you've never actually administered a windows system. It's more complex than that. Much more complex. In fact it's mindwarpingly complex, and for all the wrong reasons.
Things are done in not only inconsistent ways, but in many cases downright insane ways. And you almost always have to work through the "friendly" GUI, that have more of a goal to look shiny, rather than being helpful. It's like putting together a tiny, mechanical watch while wearing large, fluffy mittens.
The only way to operate such a contraption without losing all hope and sanity is to treat it like a black box with magic rituals attached. If you try to find the logic in it you'll find yourself wearing your pants on your head.
Once you've seen the light, it's hard to go back to stumbling around in the darkness. And if you dare light it up, you'll see the horrors that lurk there.... And despair.
I use Python for most things, c/c++ when I feel the need for speed/power.
And today PyPy released version 1.6 of their python interpreter :) More python speed!
Don't quite agree there about Rift, it's generally more challenging than wow, and the rifts does make things a bit more interesting now and then. So it's not just the class/spec system.
And, I'm also hugely looking forward to GW2 :) I will try it. I love the dynamic events concept, and they deserve the game price just for trying something different imho (plus, they already have a great reputation when it comes to MMO's). Not everything have to be a WoW clone :)
And if it's good, well.. byebye riftie :)
How about this for the bootstrapping problem: A charity like the EFF could host a verifier that would connect and verify the SSH key or equiv. A simple firefox addon could alert you if a brand new website you've never visited before reports a SSH key different than the one the EFF verifier reports.
Also known as the Perspectives project.
To some extent this is just reimplementing the ongoing trust model problems of SSL CAs into a new introducer service.
That project tries to solve it by having many verifiers, and a certain percent of them have to match.
I haven't done any tests, but my SGS2 is pretty close, at least. Idle power is incredibly low, but booting require burning CPU and having screen on for more or less the entire bootup (which admittedly is about 30 seconds or so).
To put it this way, I've seen people manage to stretch battery to 4 days, with almost no use. In comparison, playing an intensive 3d game for half an hour will drop battery around 10%. If CPU cores, screen and / or GPU are running full throttle, battery drops fast.
all of the various AV and other corporate IT management software and other sundry login scripts and apps stop thrashing the disk to the point where you can actually do something useful.
Might not be an option in all cases, but an SSD (even a rather cheap one) does wonders for that problem.
Someone with more IT-fu than I want to comment on why my Win7 computer stalls while trying to map NFS shares?
*Comment delivered via Dilbert cartoon*
Why waste energy with a running phone when you don't use it anyway?
Because getting it from Not Running to Running can use more energy than just keeping it in idle for the night?
Hey, just wanted to chime in a bit here. As many others have mentioned, SQLAlchemy supports just about everything pretty well, but IMHO it got the disadvantage of being way too complex for 90% of what you want to do (and also have confusing docs).
Django's ORM is much smaller, more compact, sacrifices some advanced features, and is (again, IMHO) much easier to work with, and got solid docs.
But, here's the thing. You can use SQLAlchemy in Django. You can even use both Django ORM and SQLAlchemy in the same project. One example, one work project here, does order registration and processing, and all that is done via Django's ORM. In addition, it needs to talk to our billing system, which is run on a MSSQL monstrosity of a DB. I use SQLAlchemy for that.
Got a 1500 line module that does all the details there (handling manual primary key increments *yikes*, weird date format *yikes yikes*, translating 2-char field names to logical names *yikes^3*, relations, composite primary keys, and so on), so my normal django code can just use and work with data from that external DB more or less normally. Works perfect, and peaches and bunnies lives happily ever after.
And as a result, I get the best of both worlds :D
and thus providing all of the disadvantages of small computers, with all of the disadvantages of a stationary system. Brilliant!
At the very least you would think they would throw Android on it.
You were saying?
Any python web framework shootout that features neither a flask nor a bottle is not worth drink...err reading!
this type of speculation before analysis is exactly what the world does not need.
That's an interesting speculation. You should run an analysis on it, I think.
Not bombs, but I do have experience working with electronics. And it's easy to make it look more professional.
Some metal sheets, a file, drill, glue gun and some blind rivets, a spray can or two for finish. Maybe an hour's work..
C) God created Man by throwing rocks at the Earth.
Correction:
C) God created Man by having Happy Fun Time with an asteroid.
someone left a weird box full of wires, plugs and batteries unattended in an airport.
Well, then it's most likely NOT a bomb. That would be like expecting all terrorists to wear a turban, or more exact, expecting all turban wearing people to be terrorists.
He must have known that his actions would not be approved by the public
From the manifest:
I have been thinking about my post-operational situation, in case I survive a successful mission and live to stand a multiculturalist trial. When I wake up at the hospital, after surviving the gunshot wounds inflicted on me, I realize at least for me personally, I will be waking up to a world of shit, a living nightmare. Not only will all my friends and family detest me and call me a monster; the united global multiculturalist media will have their hands full figuring out multiple ways to character assassinate, vilify and demonize. They will possibly do everything they can to distort the truth about me, KT and our true objectives, and attempt to make even revolutionary conservatives detest me. They will label me as a racist, fascist, Nazi-monster as they usually do with everyone who opposes multiculturalism/cultural Marxism. However, since I manifest their worst nightmare (systematical and organized executions of multiculturalist traitors), they will probably just give me the full propaganda rape package and propagate the following accusations: pedophile, engaged in incest activities, homosexual, psycho, ADHD, thief, non-educated, inbred, maniac, insane, monster etc. I will be labeled as the biggest (Nazi-)monster ever witnessed since WW2.
As for the backlash.. I think he predicted it (anything else would be stupid, and so far I've seen little evidence of him being stupid), but maybe he considered it a short-lived boost, and/or considered the psychological damages to the future leaders of that party to "win out" - it's possible he managed to change the future politics of that party pretty drastically with that attack. Some of the survivors tell of problems trusting people, especially police after the incident. And Utoya was basically the gathering of the biggest young ideologists of that party's policy. Who knows what long term damage he actually managed to inflict there?
So once again, he might have two goals for his action. Both changing the politics of the most immigrant-friendly party, and get attention to his own ideas.
The whole thing sounds like a C action movie, buddy.
My personal pet theory is that it's stuff he's stashed in case he escaped. Or, if he got companions (some of those on Utoya have reported two shooters, but it's not confirmed by the police, and they were in a really stressful situation).
Think about it. Store some fake papers, money, maybe some clothes, food, weapons in many of the large cities in Europe, and store it in his manifest in a cryptic way. To get it, all he need is to walk into an internet cafe, download the manifest (which is all over the net right now, impossible to check who's accessing it), and plot the nearest ones on Google maps. Go fetch.
Even if he only escaped with the clothes he wore, he'd still have rather easy access to it.
And it does fit the way he's done everything else so far (almost every action he's done in the attack have been serving at least two goals).
I 100% agree with what you say. And I've seen very few people sharing that view.
This is not some nutcase going batshit crazy, this is a *relatively* sane person following a (weird / ) set of logic to conclude it's the only rational thing to do.
The right thing to do is understand why he came to that conclusion, analyze where he decided that that was the only thing he could do, and then find out how to prevent that from happening in the future.
Of course, when I try to explain that concept to people (1. he's not the average El Insano Rabiato, and 2. to prevent this we must understand it), I always get the "How can you defend this monster??" and so on.. Basically everyone seem to go for the "Lala not listening" defense option.
If he was insane, its unlikely he'd have done such an effective job, seeing as every step of the plan had multiple effects.
Example: The bomb in Oslo did not only distract the police, but gave him an excellent excuse to go to Utoya as a fully armed police man (he even got the people there to get the boat by radio and drive him out there). Normally, Norwegian police don't carry any weapons at all (not even a gun), and it would have been extremely suspicious. However, after the bomb, the special units were sent out fully armed, and some police carried guns and automatic weapons. In addition, by attacking the political headquarters it seemed even more reasonable to send an armed cop to a political gathering close by.
Not only did he plan it extremely well, he also kept it completely secret. As head of Kripos (Norwegian national police force for fighting organized and heavy crime) said, not even Stasi-Germany would have picked this guy up. A dedicated, smart lone wolf is almost impossible to stop (you'd be relying on luck, basically), once they get that far. The best defense would be to stop them from ever getting that far.
And to prevent that, we need to find out why he, in the end, felt that he had to do such a terrible thing.
no worries mate, they are all perl / php heroes, and think functions, code reuse and splitting logic in different files are something scary and exotic. And I'm even using *classes* in my programs. They won't touch it with a 10 foot pole.
Sometimes I think I'm the only sane man there, which have to be an illusion, on account of the company still being there.
variables such as "q" and "mm".
Guilty :/ In my (terrible) defense, I use them consistently for the same type of things in every function:
q = query : storing data from a query to an external resource, or data to be sent to external resource (depends a bit on size of query and what the data is planned for). Database / soap and similar.
r = Result - the result to send back from the function.
x, y, z = temp variables in for loops, when what it is is obvious and the loop is small (fits in half a screen)
r* = temp variables to store data for the final result (list of data to be hammered into a string, for example)
c = counting variable, used for counting in loops mostly
qr = query result, when q is the data to send for querying.
other (more seldom used ones):
a = user input. Yeah, very seldom used, because 90% of the time, I use a proper variable name for this.
n = also counter, but not used in loops.
u = unicode string, mostly to remove RSI when banging together / tweaking large amounts of text line by line. Not unusual to see 5+ lines of "u = ...." and then at end you see "proper_variable = u"
s = bytestring equivalent of u
d = dict equivalent of u
l = list equivalent of u
So yeah, at first glance it looks like a Crazy Man's code (which, I won't deny it, it basically is), but it does have its internal logic, and once you pick up on that it's quite readable :)
Hey, birdie, sometimes optimisation and maintainability / stability are two opposite things.
More optimised in many cases also means less readable, and sometimes using unreliable "shortcuts" (What do you mean, $special_data_type / $special_api works differently on 64bit / windows_special_edition / $different_locale ?).
Also, less readable code in itself increase the chance of bugs popping up.
That's okay. I found a blog written by someone from the future, so I sent him a request to fetch some SSD durability data from 15 years into the future.
I expect a reply any minute now.