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.

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

crisis

There's no economic crisis. If there were, you wouldn't be walking in a bar and having to wait 30 minutes for the waiter to take your order. This can be extrapolated to all levels of society.

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.

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:

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.

Sunday, February 28, 2010

february

Whoever decided that February should have 28 days was an idiot (less so than the idiot who came up with daylight savings but an idiot nevertheless). Why should all the months have 30 or 31 days with the exception of February which has 28? That's inconsistent and thus stupid. Why not have more months with 30 days instead of 31 and make February have 30/31 days as well? Because someone was stupid, that's why.
Here:

scheme j f m a m j j a s o n d total days
stupid 31 28 31 30 31 30 31 31 30 31 30 31 365
stupid leap 31 29 31 30 31 30 31 31 30 31 30 31 366
fine 30 31 30 31 30 31 30 31 30 31 30 30 365
fine leap 30 31 30 31 30 31 30 31 30 31 30 31 366

There. Isn't my scheme much neater? Look how fine the months alternate. And on leap years you add one day at the end of the year, not at some arbitrary position. Much like they do with leap seconds on New Year now.

Monday, February 22, 2010

http

One morning I was webbrowsing:
ret@ret-laptop:~$ telnet some-server.com 80
Trying some.ip.address...
Connected to some-server.com
Escape character is '^]'.
GET /32452tr534tfgr4 HTTP/1.1
Host: some-host.com

HTTP/1.1 404 Not Found
Date: Mon, 22 Feb 2010 12:07:12 GMT
Server: NOYB
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
...404 and so on.
WTF? No shame:
# Server masking is optional
#fake server banner - NOYB used - no one needs to know what we are using
SecServerSignature "NOYB"
Hey, NOYB yourself, fucker! You know I'm OK with you bragging about how secure you are and everything, but what makes you think you can abuse protocol like that? It doesn't hurt to be polite, you know! Is it so hard to come up with something decent like "hidden"? So much for user interface. Kids these days...
Anyway, here's the rest of the reply:
(some-html-tags-that-blogger-chokes-on)
Apache/1.3.34 Server at www.some-host.com Port 80
(some-other-html-tags)

LOL.

Later edit: oddly enough there actually is a www.some-server.com which obviously has nothing to do with this post, please substitute www.example.com in the text above :P