People do stuff on the Internet like trolling, spamming, etcetera. It's funny when people troll and spam in real life as well. For example, I've been recently spammed with election flyers, election slogans broadcast from cars, election-related discussions in bars from strangers, election-related discussions in bars from friends, and flower offers. Yes, in Romania people spam you on the street offering to sell you cheap flowers. Fuck, I know. Trolling however requires much more skill than simple spamming. For instance, my friends successfully trolled a robotics competition by building the shittiest possible robot that still works properly. They were actively trying to cut the parts to the wrong dimensions and splice the wires so they look like a rats' nest. That took hard work.
This being said, yesterday evening I tried to fork-bomb a bar. How do you fork-bomb a bar you ask? Very well. First you need a bar that's open 24/7, such as the one in my University. It should ideally have a lot of tables outside and only serve drinks at a counter inside. At some point they will need to change shifts and go through the inventory. While they do this there will necessarily be a 15- to 30-minute break during which no customers will be served any drinks. Hang around the counter and immediately after the new shift starts, buy some beers, go to the tables outside and shout "Bar's open!" This should be making other people shout "Bar's open!" to their friends and neighbouring tables and so on, until everybody, thirsty after the 30-minute closure, rushes to the bar to buy more drinks and forms an enormous queue. So, did it work? Nope. Seems that during the break, half the people left for another pub and the other half weren't really that thirsty. But anyway, that's how you fork-bomb a bar.
Friday, June 1, 2012
Sunday, February 12, 2012
party
Party. Guy friend. Girl. They meet. They dance. They touch. Their faces come close, closer, closer. Girl prepares to kiss guy. At last moment guy pulls head back and walks away. Didn't think I'd live to see that.
Idiot, Y U no kiss girl?
Idiot, Y U no kiss girl?
Saturday, February 11, 2012
propositional
I've been watching some documentary that essentially complains that Western society is falling apart. On the topic of education, they had some professors state that knowledge should be had just for the sake of knowledge -- I totally agree. At a certain point they had a younger one talk about how mathematics is being developed purely for the sake of knowledge and how many mathematical frameworks find practical applications decades after being developed. This is also true and I also agree with doing pure science just for the sake of it, and not necessarily aiming to find an immediate application - the applications will eventually appear.
What actually pissed me off is that instead of giving a sane (and famous) example such as non-Euclidean geometry finding application in General Relativity, he stated that propositional calculus is needed for computer programming.
Propositional calculus is not needed for computer-anything. Just because computers work with low and high voltage states which can be thought of as ones and zeros or true and false, doesn't mean anything, and it especially doesn't mean that I needed to know propositional calculus when I was 12 and programming a fucking* computer.
* The same show argues elsewhere that because the presenter is censored while saying something like fuck on TV, there's no free speech. Here, I said fuck on a publicly accessible platform, which as opposed to a TV show is permanently visible, and nothing happened. There is free speech.
Back to computers. Having a scientific background myself, I cannot overstate how important mathematics is - in describing theories and models, in proving correctness - yes, even the correctness of computer programs, and generally in forming and expressing scientific ideas. However, computer programming is usually viewed as a craft, not a science, and I can guarantee that at least 90% of programmers couldn't care less about propositional calculus or mathematics in general - they don't need (and are not required) to prove that their programs are correct, they just need them to run reasonably well. Also having a programming background, it kind of pisses me off when people try to patronize me - like saying that nothing is possible without expert command of formal mathematics. I can build a simple processor by scribbling some schematics on a piece of paper and soldering down some TTL chips or even transistors (if FPGAs are considered too high-tech), I can attach a memory to that (I could solder that from transistors too but it's simply too much repetitive work) and I can program it in machine language, and with some effort I could also do assembly language or C, without using a single element of propositional calculus. I am willing to bet on this. When will people understand that all computers do is simple numeric operations and copying said numbers between memory locations defined by other numbers? Hit the correct location with the correct number and the hardware makes sure you get a dark-red pixel. Do it a billion times per second and do it right and you get Angry Birds or whatever. I know this first-hand, e.g. as a student I had an assignment to write something in assembly and I wrote a clone of a certain game involving falling pieces made from four blocks. It didn't take more than 1500 processor instructions, and no propositional logic. Fuck theoretical snobs.
What actually pissed me off is that instead of giving a sane (and famous) example such as non-Euclidean geometry finding application in General Relativity, he stated that propositional calculus is needed for computer programming.
Propositional calculus is not needed for computer-anything. Just because computers work with low and high voltage states which can be thought of as ones and zeros or true and false, doesn't mean anything, and it especially doesn't mean that I needed to know propositional calculus when I was 12 and programming a fucking* computer.
* The same show argues elsewhere that because the presenter is censored while saying something like fuck on TV, there's no free speech. Here, I said fuck on a publicly accessible platform, which as opposed to a TV show is permanently visible, and nothing happened. There is free speech.
Back to computers. Having a scientific background myself, I cannot overstate how important mathematics is - in describing theories and models, in proving correctness - yes, even the correctness of computer programs, and generally in forming and expressing scientific ideas. However, computer programming is usually viewed as a craft, not a science, and I can guarantee that at least 90% of programmers couldn't care less about propositional calculus or mathematics in general - they don't need (and are not required) to prove that their programs are correct, they just need them to run reasonably well. Also having a programming background, it kind of pisses me off when people try to patronize me - like saying that nothing is possible without expert command of formal mathematics. I can build a simple processor by scribbling some schematics on a piece of paper and soldering down some TTL chips or even transistors (if FPGAs are considered too high-tech), I can attach a memory to that (I could solder that from transistors too but it's simply too much repetitive work) and I can program it in machine language, and with some effort I could also do assembly language or C, without using a single element of propositional calculus. I am willing to bet on this. When will people understand that all computers do is simple numeric operations and copying said numbers between memory locations defined by other numbers? Hit the correct location with the correct number and the hardware makes sure you get a dark-red pixel. Do it a billion times per second and do it right and you get Angry Birds or whatever. I know this first-hand, e.g. as a student I had an assignment to write something in assembly and I wrote a clone of a certain game involving falling pieces made from four blocks. It didn't take more than 1500 processor instructions, and no propositional logic. Fuck theoretical snobs.
Monday, January 23, 2012
dream
Last night I had an awesome, disturbing dream. It began with me waking up and realizing I was dead. I was somekind of ghost that people couldn't see, but those close to me could hear and maybe touch. I on the other hand experienced the world as usual -- no walking through walls, no flying, no mind-reading -- it felt the same. Once I realized I could talk to people, I asked them what was going on, and everybody seemed to agree that I'm an invisible ghost now. I assured them I saw neither hell nor heaven, and asked them what they had done with my body.
"Oh, we just called the disposal team and had it incinerated, we thought that's what you would've liked us to do".
"Oh, yes, certainly, good job".
(That's got to be the greatest piece of dialogue I've ever experienced.)
Thoughts of unfinished business and unfulfilled promises raced through my mind, but they were quickly quenched by the realization that I could ask people to do said buisness for me. Still the fear remained that I would soon be unable to communicate with those I've left behind.
After a while I fell asleep and then woke up again and glitches started happening, like objects disappearing. I thought - maybe I was decaying. It was very short-lived. Things started looking and feeling normally again. Actually it felt so normal that with no dead body available I was starting to doubt that I was a ghost. So I challenged the people to shine a laser towards a wall. I put my hand in the laser beam and sure enough the spot on the wall disappeared. But the people told me that no, the spot is right there on the wall, unobstructed. I then told them to point a digital camera at the wall. Surely a system so complicated would separate my possible illusion from theirs, and most likely record the spot on the wall. But it didn't happen. It was just too complicated to dream. I woke up.
I've been trying to decipher this dream to no avail. Maybe I've been reborn or something. Maybe I've just been feeling weird. The Universe has been screwing with me lately, and it's been wonderful.
So remember, don't drink and sleep, and when in doubt, fucking lasers yeah.
"Oh, we just called the disposal team and had it incinerated, we thought that's what you would've liked us to do".
"Oh, yes, certainly, good job".
(That's got to be the greatest piece of dialogue I've ever experienced.)
Thoughts of unfinished business and unfulfilled promises raced through my mind, but they were quickly quenched by the realization that I could ask people to do said buisness for me. Still the fear remained that I would soon be unable to communicate with those I've left behind.
After a while I fell asleep and then woke up again and glitches started happening, like objects disappearing. I thought - maybe I was decaying. It was very short-lived. Things started looking and feeling normally again. Actually it felt so normal that with no dead body available I was starting to doubt that I was a ghost. So I challenged the people to shine a laser towards a wall. I put my hand in the laser beam and sure enough the spot on the wall disappeared. But the people told me that no, the spot is right there on the wall, unobstructed. I then told them to point a digital camera at the wall. Surely a system so complicated would separate my possible illusion from theirs, and most likely record the spot on the wall. But it didn't happen. It was just too complicated to dream. I woke up.
I've been trying to decipher this dream to no avail. Maybe I've been reborn or something. Maybe I've just been feeling weird. The Universe has been screwing with me lately, and it's been wonderful.
So remember, don't drink and sleep, and when in doubt, fucking lasers yeah.
Saturday, November 5, 2011
heating
I hear this annoying argument all the time: I live in a cold climate so my {home server, tube amp, idle set-top box, microwave oven display} doesn't waste electricity, it just helps keep my house warm.
I understand that resistive space heaters are popular in the U.S., but in the rest of the world some people like heat pumps better. The heat output from both resistive space heaters and microprocessors or all other electronics is equal to the electrical energy drawn from the grid. The heat output from a heat pump-based device is higher than the electrical energy input, the difference resulting from cooling the outside air. Just like air conditioning in the summer, but in reverse. So there, your inefficient technology is not only helping keep your home warm, it's also wasting electricity that could otherwise be used to heat it more efficiently.
I understand that resistive space heaters are popular in the U.S., but in the rest of the world some people like heat pumps better. The heat output from both resistive space heaters and microprocessors or all other electronics is equal to the electrical energy drawn from the grid. The heat output from a heat pump-based device is higher than the electrical energy input, the difference resulting from cooling the outside air. Just like air conditioning in the summer, but in reverse. So there, your inefficient technology is not only helping keep your home warm, it's also wasting electricity that could otherwise be used to heat it more efficiently.
Saturday, October 1, 2011
oops
I found this nice, classic "beware of macros" bug:
Oops.
#define MAX(a, b) ((a) > (b) ? (a) : (b))
[ ... ]
int x = MAX(foo, bar++); // incremented either once or twice
Oops.
Saturday, September 24, 2011
supercrapinal
Scientists studying neutrino oscillations have recently managed to screw up their measurements and come up with a speed for the particles that's higher than the speed of light. For those of you not familiar with particle physics, think of neutrinos as very light electrons but without the electrical charge. Having no electrical charge they seldom interact with matter and can pass through thousands of miles of rock undisturbed. So they generate the neutrinos at CERN and measure the time it takes for them to arrive in Italy. Of course, according to all we know so far and according to countless experiments, no particle travels faster than light. This paper, the authors of which could easily fill up a large bus or maybe a small train, details their method. The paper is properly written and simply presents their method and results; it makes no extraordinary claims, but rather states that the authors have yet to identify any more sources of error and are searching for those. Of course the media have picked up the story. The respectable outlets maintain the cautious tone, but several are trying to make this into a sensationalist news story: "Einstein's Relativity could be wrong". No. The chances of Relativity being wrong are extremely slim. The chances that an undetected error screwed up the measurements is overwhelming. The time measurement and calculation error from known sources is about 10 nanoseconds and the particles have supposedly arrived 60 ns too early. Given the complicated system used to do the measurements, whose systematic (fixed) errors that had to be calibrated are much higher than that, it's very likely that this result is due to an equipment problem or a mistake. For example, does the circuitry always have the same delay? Does that 8km-long optical fiber always have the same delay? Are those delays during the experiment equal to the ones that have been measured while not doing the experiment? 60 ns is a pretty long time, given that one light-nanosecond is about 30 cm. But it could easily arrive from faulty equipment or bad measurement techniques. I'm sure that in the following weeks or months these errors will be identified. Until then, supernova measurements indicate that neutrinos arrive at the same time as light, not earlier. If they were really going faster, then the signal measured from a supernova that's thousands of light-years away would precede the optical telescope detection by days or weeks, which we're not seeing. So neutrinos don't travel faster than light. One might think that there's a small region, near the area where the high-energy reaction that creates the neutrinos takes place, where some extraordinary phenomenon might be happening, and that is causing the effect - once they leave that area they behave normally. This is also highly unlikely. It's true that Relativity has to be adjusted at small scales and high energies, but those scales are very far off and a space-time distortion large enough to cause 60 ns or 18 meters of error is surely going to be noticed and cause some very weird shit so to speak.
So there. Calm down and wait for that defective satellite to fall on your heads tomorrow.
So there. Calm down and wait for that defective satellite to fall on your heads tomorrow.
Tuesday, August 16, 2011
web
The discussion on this article on Slashdot caught my attention. The article is complaining about the direction that Firefox development is taking, and many comments go along those lines. I won't discuss those comments and I won't discuss said development policies further than saying that one has every right to argue against those decisions in a civilized manner.
What pisses me off is people arguing in large numbers for web developers to drop Firefox support because of the new rapid-release cycle. I've noticed a pattern of people complaining that dealing with bug reports and generally supporting their web applications running on a large number of Firefox versions is painful and will cause them to drop Firefox support altogether.
Let me first say that this is a precise illustration of some of the many reasons for which I hate web developers, web programmers, Web 2.0 proponents and all the other web-*. With a few exceptions of course.
Furthermore, let me say that if your so-called application wasn't a monstrous, attack-prone, inefficient, poorly-documented, hastily-written-on-the-back-of-a-napkin-over-dunch, non-standards-compliant, unclear-specification-bending, latest-buzzstuff-incorporating, user-agent-string-dependent piece of spaghetti-code seasoned to taste with data, metadata and metacode, then maybe it would display OK and function OK in all reasonably recent versions of all mainstream web-browsers. I've worked (not a pleasure believe me!) with what I'm told are crappy CMS platforms and even those function reasonably well even in IE6, let alone Firefox, Chrome, Opera and that thing that Macs are using.
Now, even if your application isn't a monstrous, inefficient, undocumented, poorly-designed, badly written piece of html-css-js-xml-php-sql-jpeg-mashed-potatoes, that's still no excuse for being plain lazy with customer support.
But why so much venom? Why do I care? Because I'm forced to work with products that exhibit the above-mentioned characteristics on a regular basis, and that's costing me time and energy. I don't generally hate people who write bad applications, and I can always write applications that run on my PC if I don't like the ones that are around - at least theoretically I have that freedom, but I can't do that with someone else's web applications. It's when I'm forced to use some kid's late-night, inebriated brain-vomit that he calls a web platform, that I get pissed off, and I want to use this opportunity to say: I sincerely hate you. At the same time, I fully understand that somebody has to collect my garbage and somebody has to unclog my sewer, so you've got all my respect and thank God you're not programming critical infrastructure, I hope.
Getting back to the matter, I remember when I was a kid I came across a code sample from Microsoft on how to "sign"-or-something your ActiveX control that you wrote in Visual Basic so that Internet Explorer wouldn't warn the user that an ActiveX control is going to execute from the web page they're visiting, with the default IE settings at least. Yeah. ActiveX controls were IE's non-standards-compliant way of providing a 'rich web experience' or whatever it was called back then, and many businesses developed 'web applications' around said technology. Sadly ActiveX controls are not web applications, they're normal applications that contain normal machine code that's directly executable by the processor of the client computer and has access to all normal operating system functions, i.e. it is not sandboxed within the browser. Needless to say, that code can in principle do anything its writer wants with your machine. So yeah, go ahead and not support Firefox, and while you're at it complain that it's fat and slow, but remember that it's Mozilla who played an important part in promoting compliance to open web standards and distancing the web from the state described above. At least give them some credit for that, or just go ahead and implement your web application in platform-independent, not-quite-ActiveX Flash or Java or something and shut up.
Oh, and a late Happy 20th Birthday, Web, and a Happy 30th Birthday, PC. May you survive all this crap for decades to come and continue to bring us entertainment and prosperity.
What pisses me off is people arguing in large numbers for web developers to drop Firefox support because of the new rapid-release cycle. I've noticed a pattern of people complaining that dealing with bug reports and generally supporting their web applications running on a large number of Firefox versions is painful and will cause them to drop Firefox support altogether.
Let me first say that this is a precise illustration of some of the many reasons for which I hate web developers, web programmers, Web 2.0 proponents and all the other web-*. With a few exceptions of course.
Furthermore, let me say that if your so-called application wasn't a monstrous, attack-prone, inefficient, poorly-documented, hastily-written-on-the-back-of-a-napkin-over-dunch, non-standards-compliant, unclear-specification-bending, latest-buzzstuff-incorporating, user-agent-string-dependent piece of spaghetti-code seasoned to taste with data, metadata and metacode, then maybe it would display OK and function OK in all reasonably recent versions of all mainstream web-browsers. I've worked (not a pleasure believe me!) with what I'm told are crappy CMS platforms and even those function reasonably well even in IE6, let alone Firefox, Chrome, Opera and that thing that Macs are using.
Now, even if your application isn't a monstrous, inefficient, undocumented, poorly-designed, badly written piece of html-css-js-xml-php-sql-jpeg-mashed-potatoes, that's still no excuse for being plain lazy with customer support.
But why so much venom? Why do I care? Because I'm forced to work with products that exhibit the above-mentioned characteristics on a regular basis, and that's costing me time and energy. I don't generally hate people who write bad applications, and I can always write applications that run on my PC if I don't like the ones that are around - at least theoretically I have that freedom, but I can't do that with someone else's web applications. It's when I'm forced to use some kid's late-night, inebriated brain-vomit that he calls a web platform, that I get pissed off, and I want to use this opportunity to say: I sincerely hate you. At the same time, I fully understand that somebody has to collect my garbage and somebody has to unclog my sewer, so you've got all my respect and thank God you're not programming critical infrastructure, I hope.
Getting back to the matter, I remember when I was a kid I came across a code sample from Microsoft on how to "sign"-or-something your ActiveX control that you wrote in Visual Basic so that Internet Explorer wouldn't warn the user that an ActiveX control is going to execute from the web page they're visiting, with the default IE settings at least. Yeah. ActiveX controls were IE's non-standards-compliant way of providing a 'rich web experience' or whatever it was called back then, and many businesses developed 'web applications' around said technology. Sadly ActiveX controls are not web applications, they're normal applications that contain normal machine code that's directly executable by the processor of the client computer and has access to all normal operating system functions, i.e. it is not sandboxed within the browser. Needless to say, that code can in principle do anything its writer wants with your machine. So yeah, go ahead and not support Firefox, and while you're at it complain that it's fat and slow, but remember that it's Mozilla who played an important part in promoting compliance to open web standards and distancing the web from the state described above. At least give them some credit for that, or just go ahead and implement your web application in platform-independent, not-quite-ActiveX Flash or Java or something and shut up.
Oh, and a late Happy 20th Birthday, Web, and a Happy 30th Birthday, PC. May you survive all this crap for decades to come and continue to bring us entertainment and prosperity.
Saturday, July 9, 2011
solitaire
The wonderfully idiotic game of Klondike solitaire is ubiquitous; there are countless embarassing pictures of people playing it instead of doing their job. It seems however that some people's job is actually that of playing Solitaire. Take this article for instance, which I found while terribly bored and wondering about whether they came up with a mathematical description for Solitaire and what are the odds of winning. It seems that no, there isn't a complete analysis yet - one of the embarassements of modern mathematics :)
Before discussing the article any further it must be stated that, while to some it might look funny, a waste of time, or downright idiotic to do a study on Solitaire, it's actually quite serious. While the game itself might be considered silly by some, if studying it can bring advancement in "artificial intelligence" then so be it. Because I'm anti-mainstream I like to actually call it "automated problem-solving", because there's nothing intelligent about it or many other game "AIs", but I digress. Studying Solitaire is as valid a scientific endeavour as studying chess or how to slice a pizza so it spilts into equal parts, though this last problem is considerably easier and has been recently solved (searching for the article is left as an exercise to the reader).
Getting back to the Solitaire article, they supposedly worked with a famous mathematician who "carefully played and recorded 2000 games, achieving a win rate of 36.6%". Their software supposedly obtained win rates of up to 70.2%.
So there. There is actually someone whose job is (among many other more productive things I'm sure) to play Solitaire. 2000 games at an average of 20 minutes per game as stated in the article equals exactly 666,6... hours oddly enough. Considering an 8-hour work day, that would equal rougly 80 days of playing Solitaire, or about 4 months. Cool thing indeed.
Before discussing the article any further it must be stated that, while to some it might look funny, a waste of time, or downright idiotic to do a study on Solitaire, it's actually quite serious. While the game itself might be considered silly by some, if studying it can bring advancement in "artificial intelligence" then so be it. Because I'm anti-mainstream I like to actually call it "automated problem-solving", because there's nothing intelligent about it or many other game "AIs", but I digress. Studying Solitaire is as valid a scientific endeavour as studying chess or how to slice a pizza so it spilts into equal parts, though this last problem is considerably easier and has been recently solved (searching for the article is left as an exercise to the reader).
Getting back to the Solitaire article, they supposedly worked with a famous mathematician who "carefully played and recorded 2000 games, achieving a win rate of 36.6%". Their software supposedly obtained win rates of up to 70.2%.
So there. There is actually someone whose job is (among many other more productive things I'm sure) to play Solitaire. 2000 games at an average of 20 minutes per game as stated in the article equals exactly 666,6... hours oddly enough. Considering an 8-hour work day, that would equal rougly 80 days of playing Solitaire, or about 4 months. Cool thing indeed.
Monday, June 20, 2011
internet
I'm on a long scientific visit at a scientific institute, I'm accomodated at a student guesthouse that's on the institute's scientific network and am not allowed to use the Internet for anything other than scientific purposes. I'm also not allowed to transfer more than 420MB/day or thereabout. Their leaflet says they'd let me but they can't because their traffic is metered and they're paying by amount of data transferred. I'm not a furious downloader, especially when I know I'm on a limited network. I just want to relax, read Slashdot and stream a news channel at some few 100 kb/s. But I can't because the institute's traffic is metered.
P.S. Oh shit this post is not scientific enough I'll be punished! [hides]
P.S. Oh shit this post is not scientific enough I'll be punished! [hides]
Wednesday, June 15, 2011
unfortunate
There's a growing trend around here for newspapers to offer various book collections, probably to try to counteract their plummeting sales or something. Under slogans having to do with investing in one's culture and stuff, they're offering a new book each week for a relatively small price, and you're encouraged to buy them all to own the complete collection. While not bad in itself, this affair gets funny when the competition gets tough and the companies start getting really creative with their advertising. For instance, one collection is currently advertised along these lines: [display frog] For those who read, this is a future prince. For the others, it's just a frog. Yeah, pretty original, until they get to this week's book: The Marquis de Sade. WTF.
On a totally different thread, I've been wanting for a very long time to comment on dr. Michio Kaku's pet show Sci-Fi Science, which I also find very unfortunate. His take on the possible real-world implementation of various sci-fi memes is sometimes plausible, at few times interesting, at many times outrageous, and the show itself is worth watching if you're otherwise terribly bored. I personally liked him much more when he was making brief appearences in various science shows than as the star in his own project. On to the point:
1. About one in three 'problems' has negative matter as a solution. Enough with the negative matter that falls upwards, it's purely theoretical, there are some clues as to its possible existance, but for now it's pure speculation.
2. Let's make a sci-fi-style force field/shield, only it's not a force field it's a matter+laser shield. Reasonable, until the enemy spaceship attacks you with lasers, which your carbon-nanotube-or-whatever-future-material shield can't supposedly withstand. His idea - coat it with "photocromatic materials", which change color in response to light exposure, just like those adaptive sunglasses. Those are supposed to absorb the laser. Why on Earth would he use photocromatic materials instead of a mirror or nothing is beyond me. The energy absorbed by the shield with or without said materials is basically the same. It either melts or it doesn't. Maybe it absorbs more so that the laser doesn't pass through the shield and on to the ship? Who knows. That doesn't solve the shield melting problem though. It just looks like a half-baked hack with a lot of buzztech.
3. He suggests that teleportation might work by digitising a human, memories included, sending the data along a series of laser beams (x-ray laser beams IIRC, for the added coolness and information density) and reconstructing the human at the destination. He openly admits to this resulting in two identical humans, memories and personality included, but states that we've got enough time to work the kinks out of this problem. I find this "brute force" approach questionable and I've got a big problem with it. Would you like to be killed at point A after being copied to point B? There's got to be a more elegant solution. Even if it were possible to clone me with little error and come up with an identical self-aware being, the two of us would be disconnected. The new mind would be a different mind. Sure, to my friends I might look the same and they might never notice, but I sincerely doubt that what I call "me" would be the same. Kill the first body and the second would surely function OK as a new person with my exact same traits, but I strongly doubt that I'll awake inside it as if nothing happened.
And the list goes on.
There are of course the cool solutions such as the self-reconfigurable robot, but many of them are, as I said, unfortunate.
Some might label me pathetic for picking on a low-budget pop-sci entertainment show, but there's a deeper thought here. Some time ago being a geek was something to be proud of, as geeks could display high levels of skill and competence, and in a larger sense, a greater understanding of the world. Now there's a new breed of geek, the sci-fi/fantasy game geek, who also takes great pride in their passion but often times lacks the high levels of practical skills and only displays a great understanding of some fantasy world. It can of course be argued that this projects positively into the real world, but generally the fiction geek combines all the disadvantages of being a geek with none of the advanges of being a geek. Everyone who watched Sci-Fi Science would agree with me.
After all, some people watch a movie or read a book and enjoy it as such, some find parallels with human society, some dream of being princesses and frog-princes, and some dream of being Jedi wielding extendable porous ceramic lightsabres with nuclear batteries, adamantium cooling fans and superconducting plasma confinement magnets. Or something like that. There's nothing wrong with either case, and of course there's always money to be made.
On a totally different thread, I've been wanting for a very long time to comment on dr. Michio Kaku's pet show Sci-Fi Science, which I also find very unfortunate. His take on the possible real-world implementation of various sci-fi memes is sometimes plausible, at few times interesting, at many times outrageous, and the show itself is worth watching if you're otherwise terribly bored. I personally liked him much more when he was making brief appearences in various science shows than as the star in his own project. On to the point:
1. About one in three 'problems' has negative matter as a solution. Enough with the negative matter that falls upwards, it's purely theoretical, there are some clues as to its possible existance, but for now it's pure speculation.
2. Let's make a sci-fi-style force field/shield, only it's not a force field it's a matter+laser shield. Reasonable, until the enemy spaceship attacks you with lasers, which your carbon-nanotube-or-whatever-future-material shield can't supposedly withstand. His idea - coat it with "photocromatic materials", which change color in response to light exposure, just like those adaptive sunglasses. Those are supposed to absorb the laser. Why on Earth would he use photocromatic materials instead of a mirror or nothing is beyond me. The energy absorbed by the shield with or without said materials is basically the same. It either melts or it doesn't. Maybe it absorbs more so that the laser doesn't pass through the shield and on to the ship? Who knows. That doesn't solve the shield melting problem though. It just looks like a half-baked hack with a lot of buzztech.
3. He suggests that teleportation might work by digitising a human, memories included, sending the data along a series of laser beams (x-ray laser beams IIRC, for the added coolness and information density) and reconstructing the human at the destination. He openly admits to this resulting in two identical humans, memories and personality included, but states that we've got enough time to work the kinks out of this problem. I find this "brute force" approach questionable and I've got a big problem with it. Would you like to be killed at point A after being copied to point B? There's got to be a more elegant solution. Even if it were possible to clone me with little error and come up with an identical self-aware being, the two of us would be disconnected. The new mind would be a different mind. Sure, to my friends I might look the same and they might never notice, but I sincerely doubt that what I call "me" would be the same. Kill the first body and the second would surely function OK as a new person with my exact same traits, but I strongly doubt that I'll awake inside it as if nothing happened.
And the list goes on.
There are of course the cool solutions such as the self-reconfigurable robot, but many of them are, as I said, unfortunate.
Some might label me pathetic for picking on a low-budget pop-sci entertainment show, but there's a deeper thought here. Some time ago being a geek was something to be proud of, as geeks could display high levels of skill and competence, and in a larger sense, a greater understanding of the world. Now there's a new breed of geek, the sci-fi/fantasy game geek, who also takes great pride in their passion but often times lacks the high levels of practical skills and only displays a great understanding of some fantasy world. It can of course be argued that this projects positively into the real world, but generally the fiction geek combines all the disadvantages of being a geek with none of the advanges of being a geek. Everyone who watched Sci-Fi Science would agree with me.
After all, some people watch a movie or read a book and enjoy it as such, some find parallels with human society, some dream of being princesses and frog-princes, and some dream of being Jedi wielding extendable porous ceramic lightsabres with nuclear batteries, adamantium cooling fans and superconducting plasma confinement magnets. Or something like that. There's nothing wrong with either case, and of course there's always money to be made.
Sunday, April 17, 2011
aliens
Just about every popsci show I've seen in the last few years favors the idea of aliens being everywhere. I'm sick and tired of hearing "reputable scientists" utter the stereotypical sentencte: "The Universe is probably teeming with life". Just because a lot of extrasolar planets have been found lately and just because alcohol's been found in deep space (along with other organic chemicals such as aminoacids) and just because bacteria can live everywhere on Earth doesn't mean that life just appears everywhere there's water and heat. And then becomes intelligent. A few decades ago you didn't see this almost-consensus that aliens must exist with high probability. Now everyone's being disgustingly optimistic about "not being alone in the Universe".
There are a lot of problems with the whole extraterrestrial life issue.
First, you can't do statistics on a sample of one. Therefore, you can't scientifically predict anything about life elsewhere. If we were to find life on Mars or Jupiter's moons or wherever, we'd have a sample of 2, which would still be insufficient, but a lot better than 1. To be pedantic, we don't even have a clear, universal definition of life, or a clear method to identify it; we can only speculate that if it existed, it'd be similar to what we see on Earth because the physics and chemistry are the same everywhere.
Second, we are very limited in our capabilities to detect extraterrestrial life. Radio searches have so far yielded nothing and I personally doubt they ever will, because radio "leakeage" from aliens would be too weak to be detectable. The whole "our TV shows have already reached dozens of stars" is bullshit, the signals are too weak to be detectable. A 100 kilowatt radio source on Earth would shine just about 10^-24 watts of power on a generous alien antenna (one square kilometer) placed not very far away (10 light years), for the same reason that distant stars appear so dim to us. If that antenna were connected to an incredibly sensitive receiver, say cooled to a tenth of a degree above absolute zero, the electronic noise due to thermal motion would still be 1000 times stronger. They could probably barely receive Morse code, which takes a lot less bandwith than human speech. Ramp up the distance to 100 light years and the signal gets 100 more times weaker. So in order for the aliens to hear us, either they'd have to have incredibly advanced receiver technology, or our beam would have to be focused and directed towards them. We're faced with the same problem when trying to detect alien radio signals. We could probably detect a signal if it was being intentionally broadcast, but we haven't yet. This raises another problem: how many times, and for how long, did we transmit such signals into space? Not that many, not that long. Maybe the aliens are doing likewise.
What other means of detection could we use? Take artificial lighting for instance. City lights on Earth can be seen from space, and they have a very distinct spectral signature. Aliens would possibly also use artificial lighting at night, but light has the same problem as radio signals. Maybe if we had a telescope powerful enough to see planets around other stars, we'd be able to detect these hypothetical lights. At least we'd know what to look for, given that aliens would probably see in the same frequency range as we do, because their eyes or whatever they have would adapt to the spectrum of their star, which would be similar to ours. If we watched the planet from the right angle, we could possibly even see these lights turning on in the evening and off in the morning. The total power coming out of our lights is much bigger than the power from our radio transmitters, so things might be the same on their planet. Light is also easier to detect than decoding radio signals.
Another thing that comes to mind are nuclear explosions. Any sufficiently developed aliens would do them, even if just for testing. They would be strong enough to be detectable, but did we ever see any sudden flash of light near a star? Did we ever look for one? I have no idea.
Finally, contrary to what some may think, there's not a shred of physical evidence that aliens have ever visited us. That might be due to the difficulty of interstellar travel, but nonetheless it hasn't happened.
So yeah, even if aliens exist, they can't get to us and we can't get to them. Relativity, which is pretty much proven to model this world correctly, while not forbidding faster-than-light travel, predicts that such travel would result in grandfather paradoxes and such. We also can't talk to them, because information, however we send it, radio, lasers, X-rays, whatever, only travels so fast. Maybe in a "parallel reality" we could, but not in this one. So there. We are alone.
There are a lot of problems with the whole extraterrestrial life issue.
First, you can't do statistics on a sample of one. Therefore, you can't scientifically predict anything about life elsewhere. If we were to find life on Mars or Jupiter's moons or wherever, we'd have a sample of 2, which would still be insufficient, but a lot better than 1. To be pedantic, we don't even have a clear, universal definition of life, or a clear method to identify it; we can only speculate that if it existed, it'd be similar to what we see on Earth because the physics and chemistry are the same everywhere.
Second, we are very limited in our capabilities to detect extraterrestrial life. Radio searches have so far yielded nothing and I personally doubt they ever will, because radio "leakeage" from aliens would be too weak to be detectable. The whole "our TV shows have already reached dozens of stars" is bullshit, the signals are too weak to be detectable. A 100 kilowatt radio source on Earth would shine just about 10^-24 watts of power on a generous alien antenna (one square kilometer) placed not very far away (10 light years), for the same reason that distant stars appear so dim to us. If that antenna were connected to an incredibly sensitive receiver, say cooled to a tenth of a degree above absolute zero, the electronic noise due to thermal motion would still be 1000 times stronger. They could probably barely receive Morse code, which takes a lot less bandwith than human speech. Ramp up the distance to 100 light years and the signal gets 100 more times weaker. So in order for the aliens to hear us, either they'd have to have incredibly advanced receiver technology, or our beam would have to be focused and directed towards them. We're faced with the same problem when trying to detect alien radio signals. We could probably detect a signal if it was being intentionally broadcast, but we haven't yet. This raises another problem: how many times, and for how long, did we transmit such signals into space? Not that many, not that long. Maybe the aliens are doing likewise.
What other means of detection could we use? Take artificial lighting for instance. City lights on Earth can be seen from space, and they have a very distinct spectral signature. Aliens would possibly also use artificial lighting at night, but light has the same problem as radio signals. Maybe if we had a telescope powerful enough to see planets around other stars, we'd be able to detect these hypothetical lights. At least we'd know what to look for, given that aliens would probably see in the same frequency range as we do, because their eyes or whatever they have would adapt to the spectrum of their star, which would be similar to ours. If we watched the planet from the right angle, we could possibly even see these lights turning on in the evening and off in the morning. The total power coming out of our lights is much bigger than the power from our radio transmitters, so things might be the same on their planet. Light is also easier to detect than decoding radio signals.
Another thing that comes to mind are nuclear explosions. Any sufficiently developed aliens would do them, even if just for testing. They would be strong enough to be detectable, but did we ever see any sudden flash of light near a star? Did we ever look for one? I have no idea.
Finally, contrary to what some may think, there's not a shred of physical evidence that aliens have ever visited us. That might be due to the difficulty of interstellar travel, but nonetheless it hasn't happened.
So yeah, even if aliens exist, they can't get to us and we can't get to them. Relativity, which is pretty much proven to model this world correctly, while not forbidding faster-than-light travel, predicts that such travel would result in grandfather paradoxes and such. We also can't talk to them, because information, however we send it, radio, lasers, X-rays, whatever, only travels so fast. Maybe in a "parallel reality" we could, but not in this one. So there. We are alone.
Wednesday, March 30, 2011
power
Are you deeply concerned with pollution, global warming, nuke accidents and all the shit that comes with modern, power-hungry technology? Are you thinking green, feeling green, living green? Caring about the environment? Celebrating Earth Hour by switching off the lights and burning stuff? Or are you just concerned with your electricity bill, netbook battery, or living in Japan where the power grid's flaky after the quake?
Well, then use a goddamn low-power web browser while you surf for pr0n!
Well, then use a goddamn low-power web browser while you surf for pr0n!
Monday, September 27, 2010
chrome
Had to set up a little website and wanted to test it on my server which doesn't use port 80. Works great under Firefox, wanted to also test it in Chrome.
A few months ago a similar setup worked just fine, but it seems some c0der/suit/whatever got smart and now I get
The webpage at http://example.com:1234/ might be temporarily down or it may have moved permanently to a new web address. (Gee, really? It was there 30 seconds ago!)
More information on this error.
Below is the original error message
Error 312 (net::ERR_UNSAFE_PORT): Unknown error.
Hey, it's mah puter and I read whatever port I want, bitch!
Furthermore, it seems there's no easy way to disable this stupid behaviour.
Can I say "Fuck Chrome" on a Google-owned blogging platform? Ok, I won't say it.
LE: There actually is an easy way to enable a list of ports; my bad for stopping on "recompile from source" in the bug discussion. Thanks Lucian. Still stupid behaviour.
A few months ago a similar setup worked just fine, but it seems some c0der/suit/whatever got smart and now I get
The webpage at http://example.com:1234/ might be temporarily down or it may have moved permanently to a new web address. (Gee, really? It was there 30 seconds ago!)
More information on this error.
Below is the original error message
Error 312 (net::ERR_UNSAFE_PORT): Unknown error.
Hey, it's mah puter and I read whatever port I want, bitch!
Furthermore, it seems there's no easy way to disable this stupid behaviour.
Can I say "Fuck Chrome" on a Google-owned blogging platform? Ok, I won't say it.
LE: There actually is an easy way to enable a list of ports; my bad for stopping on "recompile from source" in the bug discussion. Thanks Lucian. Still stupid behaviour.
Tuesday, August 17, 2010
research 2
Look on the fourth page in this pdf, which is published in a scientific journal by someone who's a scientific doctor. Look at Figure 3. Yo dawg, I heard you like screenshots so I put a screenshot in your screenshot so you can copy while you paste!
Monday, August 16, 2010
Friday, August 13, 2010
research
Hey look, this researcher working with both CERN and Fermilab writes that the protons in my ass might contain higher generation quarks. (do search the article for "ass"). I always thought life was made up of ups and downs... but I'm now feeling strangely charmed.
Saturday, June 19, 2010
logic
Do you know those 'logic' puzzles where you have to choose which item 'logically follows' in some sequence, or which item 'doesn't belong' in some group? You can do them for fun ('brain training') or they can be administered to you in certain situations such as a job interview. People would normally be employed based on their relevant skills, but it seems some 'progressive' management types think that they should be 'logical' too. That's an idiotic practice and should stop, because:
A. My logic can be different from the author's logic, and that doesn't make it any less correct:

In hindsight, it should have been obvious to me that 25*25 is 625 and that 30*30 is 900, but at the time it was obvious to me that answer A is the only number not divisible by 3. Fuck you, gbrainy!
B. The question text can be ambiguous:

'Frontiers between different sheets' means that where there's a line a sheet ends and another one begins (like with countries, you know, they don't overlap). In that case it's impossible to build that shit because there are non-square 'countries' in it. So it's clear that (a) the question is wrong and (b) the sheets must overlap.
Now there's a question of what the author meant: whether that's how the figure is seen from above or the lines are just paper edges (like sea borders or something where there's no other country there) and maybe the paper is semi-transparent or something. Of course, if that's what's seen from above and the paper is perfectly opaque, you need 5 sheets, but if those are just (possibly hidden) paper edges somewhere you only need 4, which is less than 5. You might say that I'm stoopid and of course paper is not even conceptually transparent. But then why can you see the brain in the background through the sheets? Fuck you, gbrainy!
C. The questions can simply be annoyingly stupid:

Yeah thanks for lecturing me on how P is 5 letters away from K which is 5 letters away from F which is 5 letters away from A! I knew there must have been something like that, but I didn't even bother counting*, because the answer was obvious from comparing the three squares: A-B-C, F-G-H, K-L-M, P-?-R, gee, what letter could that be? There was a similar question with some clocks where they put forward a similarly contorted explanation, while the minute hands on each column were all pointing to the same number. Fuck you, gbrainy.
---
* some of my friends know all the letter indices and ASCII codes so they only need to subtract. They can also read binary T-shirts.
A. My logic can be different from the author's logic, and that doesn't make it any less correct:

In hindsight, it should have been obvious to me that 25*25 is 625 and that 30*30 is 900, but at the time it was obvious to me that answer A is the only number not divisible by 3. Fuck you, gbrainy!
B. The question text can be ambiguous:

'Frontiers between different sheets' means that where there's a line a sheet ends and another one begins (like with countries, you know, they don't overlap). In that case it's impossible to build that shit because there are non-square 'countries' in it. So it's clear that (a) the question is wrong and (b) the sheets must overlap.
Now there's a question of what the author meant: whether that's how the figure is seen from above or the lines are just paper edges (like sea borders or something where there's no other country there) and maybe the paper is semi-transparent or something. Of course, if that's what's seen from above and the paper is perfectly opaque, you need 5 sheets, but if those are just (possibly hidden) paper edges somewhere you only need 4, which is less than 5. You might say that I'm stoopid and of course paper is not even conceptually transparent. But then why can you see the brain in the background through the sheets? Fuck you, gbrainy!
C. The questions can simply be annoyingly stupid:

Yeah thanks for lecturing me on how P is 5 letters away from K which is 5 letters away from F which is 5 letters away from A! I knew there must have been something like that, but I didn't even bother counting*, because the answer was obvious from comparing the three squares: A-B-C, F-G-H, K-L-M, P-?-R, gee, what letter could that be? There was a similar question with some clocks where they put forward a similarly contorted explanation, while the minute hands on each column were all pointing to the same number. Fuck you, gbrainy.
---
* some of my friends know all the letter indices and ASCII codes so they only need to subtract. They can also read binary T-shirts.
Friday, April 30, 2010
fail
Recently the ubuntu guys decided to move the buttons to the left of the window and eliminate the icon, like so:
Worst idea ever. When I browse in a maximized browser or when I keep my Pidgin on the right edge of the screen it seems like the window is falling off into the void, because the space on the top-right corner is so empty.
Fortunately, this being an open system, you can change this, but not from some user-friendly application like the theme selector (where by the way, the sample window decorations are still drawn the classic way -- double fail), no, you have to use the gconf-editor, a kind of registry editor for Linux (ugh) and modify the button_layout under apps/metacity/general:
Worst idea ever. When I browse in a maximized browser or when I keep my Pidgin on the right edge of the screen it seems like the window is falling off into the void, because the space on the top-right corner is so empty.Fortunately, this being an open system, you can change this, but not from some user-friendly application like the theme selector (where by the way, the sample window decorations are still drawn the classic way -- double fail), no, you have to use the gconf-editor, a kind of registry editor for Linux (ugh) and modify the button_layout under apps/metacity/general:
Sunday, March 28, 2010
hour
Last night they changed the time again, they stole one hour. 6 months later they're going to add it back again. But unlike the bank, where they pay me interest for the money I give them, the authority that implements daylight savings / time change doesn't. And I want my time back. I know I'll get it back in winter, but I want interest on that. I want 5 minutes officially subtracted from one work day by law. But I'd rather have daylight savings abolished altogether, and here's a few reasons why.
I don't know how it's like in other countries, but here, when they add an hour in autumn the trains actually stop for an hour at 3 am to align to the new time. Imagine that! In spring they supposedly run faster to catch up with the new time. Supposedly.
It's true that my computer's clock adjusts to the time change automatically, but many stand-alone clocks don't, and my mobile phone's clock doesn't. Well guess what, it's exactly those clocks that wake you up in the morning. A few years ago I actually arrived at work one hour late because of fucking daylight savings. As if in the 20-fucking-1st century when we have electricity and efficient lighting there were any relevance of "saving daylight" at 6 in the morning. But back to adjusting the clock. I will now adjust my mobile phone's time. I did it. It took 20 key presses and about half a minute. But even if I could live with this, if for example the state offered me 5 to 10 minutes interest on my borrowed hour, there's still the problem of when to adjust the clocks. Here they officially change it at something like 2 or 3 am, and that's when the computer does it, but most people are asleep at 2 am and need to wake up at something like 6 or 7, so there's the option of setting the alarm one hour earlier or adjusting the time in the evening before going to sleep. But what happens if the phone that implements the alarm clock actually does adjust itself at 3 am without the user knowing? You lose one hour of sleep or arrive at work one hour late. See, daylight savings creates a lot of unnecessary headaches and basically loses people money indirectly. Time is money you know. Its disadvantages outweigh it's advantages which are mostly historic. For goodness's sake Fuck Daylight Savings.
P.S. What if the state interprets my request for interest on time as me having to "pay" for the hour they give me in autumn and take back in spring? That would suck so much.
The other hour that happened recently was of course Earth Hour ("urth our! urth our!") which I explained previously is utter bullshit. People shut off the electric lighting for one hour and light candles and glowsticks instead. Candles emit pollutants into the atmosphere such as carbon dioxide (which causes, OH MY GOD, global warming!!1), carbon monoxide, ash, et cetera. Candles are energetically inefficient (horribly inefficient), much less efficient than a lightbulb plus coal-fired power plant. It is much more environmentally responsible to use electric lighting than to use candles. It doesn't bring you closer to nature or all that shit when you use candles. Candles are bad for the environment. Use electric lighting, which if supplied by renewable sources, has nearly zero impact. Idiots. Also, a small diesel or compressed-air engine on a lightweight, aerodynamic chassis is more efficient and pollutes less than you riding a bike. You breathe out global-warming-causing carbon dioxide too you know, hippie.
I don't know how it's like in other countries, but here, when they add an hour in autumn the trains actually stop for an hour at 3 am to align to the new time. Imagine that! In spring they supposedly run faster to catch up with the new time. Supposedly.
It's true that my computer's clock adjusts to the time change automatically, but many stand-alone clocks don't, and my mobile phone's clock doesn't. Well guess what, it's exactly those clocks that wake you up in the morning. A few years ago I actually arrived at work one hour late because of fucking daylight savings. As if in the 20-fucking-1st century when we have electricity and efficient lighting there were any relevance of "saving daylight" at 6 in the morning. But back to adjusting the clock. I will now adjust my mobile phone's time. I did it. It took 20 key presses and about half a minute. But even if I could live with this, if for example the state offered me 5 to 10 minutes interest on my borrowed hour, there's still the problem of when to adjust the clocks. Here they officially change it at something like 2 or 3 am, and that's when the computer does it, but most people are asleep at 2 am and need to wake up at something like 6 or 7, so there's the option of setting the alarm one hour earlier or adjusting the time in the evening before going to sleep. But what happens if the phone that implements the alarm clock actually does adjust itself at 3 am without the user knowing? You lose one hour of sleep or arrive at work one hour late. See, daylight savings creates a lot of unnecessary headaches and basically loses people money indirectly. Time is money you know. Its disadvantages outweigh it's advantages which are mostly historic. For goodness's sake Fuck Daylight Savings.
P.S. What if the state interprets my request for interest on time as me having to "pay" for the hour they give me in autumn and take back in spring? That would suck so much.
The other hour that happened recently was of course Earth Hour ("urth our! urth our!") which I explained previously is utter bullshit. People shut off the electric lighting for one hour and light candles and glowsticks instead. Candles emit pollutants into the atmosphere such as carbon dioxide (which causes, OH MY GOD, global warming!!1), carbon monoxide, ash, et cetera. Candles are energetically inefficient (horribly inefficient), much less efficient than a lightbulb plus coal-fired power plant. It is much more environmentally responsible to use electric lighting than to use candles. It doesn't bring you closer to nature or all that shit when you use candles. Candles are bad for the environment. Use electric lighting, which if supplied by renewable sources, has nearly zero impact. Idiots. Also, a small diesel or compressed-air engine on a lightweight, aerodynamic chassis is more efficient and pollutes less than you riding a bike. You breathe out global-warming-causing carbon dioxide too you know, hippie.
Subscribe to:
Posts (Atom)

