Deep Impact - Enden er nær

March 13th, 2008

Kanskje en dag i nær eller fjærn framtid vil en asteroide treffe jorden, og utslette hele menneskeheten og det meste av livet slik vi kjenner det idag.  Livet på jorden vil kanskje måtte starte fra scratch igjen…

nasa

Nye løsninger for å unngå dette blir presentert forløpende, men kanskje er det for sent.

Interessant lesing fra dagbladet.

Viewing Video (.mp4) on Sony walkman nwz-series (a816)

March 7th, 2008

My new Sony nwz-a816 Walkman mp3 video player (4 gb model) just arrived.

nwza816

After charging and testing it a couple of hours, I ran into a problem, The mp3 player just would’nt play the videofiles I tested.  I got the “Wrong format” error message on my Walkman.

After a couple of minutes googling after forums describing similar problems, I noticed that the videofile had to be in a certain size (width*height in pixels) and a certain bitrate and frame rate. Also the mp3 player only plays .mp4 videofiles with the mpeg-4 codec.

So, I went looking for a propriate program to do the job, converting the files.  I tried 3 other programs before I tested SUPER.
This program did an excellent job, and was just what i needed. It’s also totally free to use.

To be able to playback videofiles on your Sony Walkman nwz-series heres what to do:
Read the rest of this entry »

The company where employees have fun at “work” - Google

January 31st, 2008

If I was to work for some it company, it would have to be Google.

Theese videos says it all.
Video1:

Video2:

Free foods, drinks, health care, excercise etcetera. Looks more like a playground than a hard working seriouse company, but the employees love it, who wouldn’t.
They say the relaxed working environment helps on their creativity.

Website updates and some news

January 30th, 2008

I just updated the blog, both code and design, a little bit. At the same time, some of the database became corrupt, so I have to change some tags in almost every article/post.

That kind of sucked…

I still have some more updates planned, but will fix that later.

  • Newer WordPress version
  • Updated some plugins
  • Fixed some small “bugs” in the design
  • Changed a tag
  • Changed the look, size and color of some fonts in the design
  • Cleaned up the database
  • Updated the color scheme for code fields, to make it easier to read

Some site statistics for so far in January: 78762 hits, 7829 page views, 3124 unique visitors and 739 219 kbytes transfered in total.
That’s not bad at all, It’s the best month for this blog so far, and its still going stronger :)

Anyways…

Im still working on a new version of the File Renamer, It will be released as beta/full very soon, with loads of new features.

I appreciate feedback on posts, and Im looking for someone who can contribute with some content (type: any ^^). Feel free to contact me.

Ratman87

Happy new year :)

January 7th, 2008

Happy new year to everyone!

I am about to start a small project to redesign fix this blog.
I also have another project going to finish my File Renamer program.

The new design will (hopefully) be better looking and have a bit bigger potensial for implementing new stuff/plugins etc.
Edit ( january 30th ): Design and some other minor improvements is done. See this post for more information.

I’m also considering making a small guide for how to design your own WordPress theme.

A small update :)

November 18th, 2007

It has been a while since last post, I have been a bit busy with schoolwork and stuff.

I am currently rewriting the File Renamer program, to make it more efficient and faster, and adding some neat functions to it.

I guess i could post a heap of java code samples, maybe I will later…

I’m also considering to make a program that allows you to chat with people on the local network, without internet. (and ofcourse over internet :)

Nice drawings!

September 20th, 2007

Some nice drawings that might look like something else in the beginning ^^

Sick guitar play!

August 29th, 2007

This guy is just immense on his guitar!

Check this out, the song he is playing is “Canon Rocks” i think, the guy is a pro xD

I’m seriously thinking about getting a guitar and start playing! ;)

Vacation is over and school’s up

August 21st, 2007

6 days ago, my summer vacation was over, and I started my education at an university college.

I have to admit, theese six days have been some of the hardest first-days-at-school in my life…

And im not talking about the studies… every year new students begin their
journey at college, many parties and night-outs follow up closeley.

Some students started drinking 1 hour after school… for six days straight.

The blog is going great, Ive had about 54 000 hits and 13 000 page loads so far since the release, which is about 37 days ago now (july 13th).  So far this month, I’ve had about 1700 unique visits.

If you would like to contribute with articles/writings/whatever, feel very free to contact me, you could send me an email at this adress.

Anyhow, im planning on writing some tutorials or something in near future, so u may want to step by from time to time, or just grab a rss fed ;)

Exicted Pokemon Kid

August 21st, 2007

Hahahaha!! watch this kid go mad after receiving a (probably)  extrordinary play card ^^

-video deleted at youtube :(

what a shame…

Useful buttons, features and updates for Opera

August 12th, 2007

If u use Opera as your web browser, u may want to take a look at this website.

It has many diferent buttons and features u can drag and drop to operas toolbar.

For example u can use the ”open in internet explorer” button, to open

the current website in ie, (if u would have the need to do so ;)  )

here is the site.

Also, if u like to keep your Opera ”up to date” with the very latest builds, you should check out this site where they publish weekly builds with new features and sefety improvement.

Opera Desktop Team

Read a motherfuckin’ book!

August 7th, 2007

Found this funny vid on youtube xD

Its a must see… hehe

uTorrent tuTorial

August 4th, 2007

First off…

Note that to complete this tutorial you need to be able to log onto your router to change settings, if you can not do this you can not complete the last part. I’m warning you at this point so you don’t read and work trough half of it only to be pissed off!

I see this alot, people whining about torrents being slow. Taking into consideration how torrents work compared to Direct downloads, in most cases I’d say you are wrong.

Direct download connects to a single computer, sure you can use download accelerators to connect more then once and get more juice, but most servers have anti messures for this.

A torrent download on the other hand, connects to (given there are seeders/leechers) a number of computers, downloading from all those at once. As a result, one can say that given two factors a torrent will allways be faster

  1. You have configured your client and such correctly
  2. The torrent is active (meaning there are people uploading the data)

Now I’m not saying that it would be faster on your computer, just faster, and by this I mean that (I’d like to point out that all of this is from my own experience, I’m now wiz on the subject) most servers these days have a speed capped at somewhere around 200 +/-50 KB/s or so. This means that if you have a line with 150KB/s down, and the server capps you at 200, you will get full speed. However if your line is 500KB/s down, and the server caps at 200, you get 200.If you however were to download from a good torrent I’d bet quite sure that you could achieve 500KB/s down there. Read the rest of this entry »

Mad handicap breakdance competition!

August 1st, 2007

This is just sick, 2 handicapped guys are breakdancing… respect.

How to dynamically update a form using javascript

July 26th, 2007

This article shows you how you can display a box with “characters left” in your forms, you may for example use it in guestbooks or comment forms to tell the user how many characters he/she are allowed to input.
Since this is done by javascript, all we need is a .html file, with the script, and the form.
This is how the javascript looks like:

  1. function UpdateSize()
  2. {
  3. this.form.counter.value = 60 - this.form.comment.value.length;
  4. }
  5. document.onkeydown=UpdateSize;

It changes the textbox “lengde”s value to 60 minus the length of the typed text in the big textarea called “txt”. It updates every time you release a key on the keyboard.

The html form looks like this:

  1. <form method="post" name="form">   Write your text here:
  2.  
  3. <textarea onkeydown="UpdateSize();" onfocus="UpdateSize();" rows="9" cols="45" name="comment"></textarea>
  4.  
  5.  
  6. Characters left: <input size="5" value="60" type="text" name="counter" />
  7. </form>

That is the form called “form”, with the textarea called “txt” and the update box with the counter called “display_counter” .

If you put the javascript in the head tag and the form in the body tag, it would look like this:

  1.  <script type="text/javascript">
  2.  
  3. function UpdateSize()
  4.  {
  5.  this.form.counter.value = 60 - this.form.comment.value.length;
  6.  }
  7.  document.onkeydown=UpdateSize;
  8.  
  9. </script>
  10.  </head>
  11.  
  12. <form name="form" method="post" >
  13.  Write your text here:<br />
  14.  <textarea name="comment" cols="45" rows="9" onfocus="UpdateSize();" onkeydown="UpdateSize();" ></textarea>
  15.  <br />
  16.  Characters left: <input name="counter" type="text" value="60" size="5" />
  17.  </form>
  18.  </body>
  19.  </html>