Archive

Archive for June, 2009

(Ab)used electronic parts harvesting in Kiberpipa

June 30th, 2009

First of all, why is this post in English?  First reason would be, that Enlish language is widely understood (in comparison to Slovene)… the not-so-obvious reason is, that some people keep bugging me about my Slovene and a thing called “dvojina”. Dvojina is a really nasty part Slovene vocabulary (probably because there are only (iirc) 2 languages that use it).  For example, I usually say “dve ure” [two hours], and those people immediately correct me, and say “dve uri” [two hours]… Tomato, tomato…  They should probably create a Toporišič fan club :)

So, because the intro was relatively long, I am going to make the rest of the post shorter (i’m lazy, so what).

A couple of weeks ago1 Brodul2 and I decided to trash/wreck/destroy an old non-working laser printer, and harvested some interesting parts. Most of the motors, and the laster module are still in Kiberpipa, but I decided to keep 1 capacitor and 4 resistors.

Why the capacitor?3

capactior

As you can see in the picture, it is a 330uF capacitor, built for 400 volts. Anyone who ever tried charging a high-voltage capacitor in a wall outlet (for example through a bridge rectifier) and throwing it towards someone else to catch,  knows how funny that is :)

And why the resistors? Aren’t they dirt cheap?4

DSC00255

These are 2.6ohm 20W resistors (4 of them), they were used in the printers power supply, and when fully loaded released 80 watts of heat. That’s more power then your whole laptop uses… and all of it went to (probably unwanted) heat.

I can’t wait for the next ‘breaking and smashing day’ in kiberpipa :)

  1. I was busy, couldn’t write this before, sorry, I had exams
  2. a friend from Kiberpipa
  3. battery is only for size comparison
  4. again, battery only for size comparison

elektro stuff, geek stuff

Serije in IP-ji

June 18th, 2009

Enkrat sem že pisal o seriji Numb3rs in neumnosti v njej, ampak, ker naslednje opažam v vse več serijah, se mi je zdelo vredno narediti še en screenshot.

Ip je eno 32bitno število, ki ga zapišemo kot niz 4ih 8bitnih števil, od katerih lahko vsako zavzema vrednosti med 0 in 255. Sicer verjamem da je pri naključnem izbiranju števil težko zadeti prave vrednosti (približno četrtina jih je pravilnih), a človek bi pričakoval, da bi vsaj tisti, ki dizajnirajo scene (in tudi prikaze na računalniku) vsaj malo poznali računalniška omrežja.

In ja… screenshot… spet Numb3rs S05E23  (pa čeprav sem videl to že marsikje drugje).

numbers_ip

geek stuff, rant, spam

Bežanje iz <iframe></iframe>-a

June 8th, 2009

Dosti servisov (recimo google image search), prikaže stran znotraj iframe-a (in tudi da direkten link do slike), kar (nam) dostim ni všeč. Naslednjih nekaj vrstic kode povzroči da stran “pobegne” iz iframe-a in se pojavi kot “glavna” stran.

<script>
if (top.location!= self.location) { 
  top.location = self.location.href
</script>

Mogoče komu koristi, … mogoče pa bo le pomoč meni, ko bom naslednjič iskal kaj takega, in pozabil kako se to napiše1 :)

  1. javascript ni glih moje področje

geek stuff ,