Sunday, May 8th, 2011
Lecture notes on the work of Einstein and physics inspired by Einstein’s work:
The course is aimed at people who have a strong sense that what Einstein did changed everything. However they do not know enough physics to understand what he did and why it was so important. The course presents just enough of Einstein’s physics to give students an independent sense of what he achieved and what he did not achieve.
Monday, May 2nd, 2011
(The lastest version of this article is always available in stand-alone HTML format and in PDF format. The original AsciiDoc source is also available. Please link to the HTML version, not this Blog post!)
SSH is capable of more than you’d think! This article describes some of the lesser known features and configuration options. It covers authentication, authorization, tunnels and proxies, file transfer and more.
(more…)
Monday, April 25th, 2011
Interesting article over at Linuxconfig.org:
This article describes a simple way on how to create a home made debian package and include it into a local package repository. Although we could use a existing Debian/Ubuntu package, we will start from scratch by creating our own minimalistic unofficial debian package. Once our package is ready, we will include it into our local package repository. This article illustrates very simplistic approach of creating debian package, however it may serve as a template in many different scenarios.
Friday, April 22nd, 2011
I’ve released a new version of my Minecraft Player/World Editor MCPlayerEdit v0.14. This release features the following modifications and additions:
- Added a ‘thunder’ command with which you can influence thunderstorms.
- Added an ‘nbtset’ command that lets you manually set values for NBT tags in the save file. See ‘nbtdump’ for a list of available NBT tags.
- Added an ‘unsafe’ command that turns on/off safe mode.
- Renamed the ‘dump’ command to ‘nbtdump’.
- Renamed the ‘Spade’ items to ‘Shovel’.
- Renamed the ‘Redstone torch On’ to ‘Redstone torch’.
- Implemented Safe Mode. In safe mode MCPlayerEdit will prevent you from doing things which are not allowed in Minecraft or might damage your save file. Turn off with ‘safemode off’.
- The ‘give’ command now accepts counts higher than 64 (or the maximum stack size for the item in question), in which case it will add multiple stacks to the inventory.
I neglected to mention releases v0.13 and v0.12 here, so I’ll list the changes in those version here too:
- Added a command ‘rain’ with which you can influence the weather.
- Fixed a bug in the ‘reload’ command where the prompt would change to the file location instead of the worldname on reloading.
- Added a ‘dump’ command which dumps the level.dat’s NBT structure and values. Mostly useful for developers of MCPlayerEdit/Minecraft.
- Added Spruce/Birch saplings (Patch by rilian4)
- Added Powered/Detector rail (Patch by rilian4)
- Renamed “Minecart Track” item to “Rail”.
You can get the new version Here.
Friday, April 22nd, 2011
It’s only logical, but I hadn’t really thought about it much. Turns out Regular Expression can be vulnerable to external Denial of Service attacks.
Thursday, April 14th, 2011
Lessons on development of 64-bit C/C++ applications:
The course is devoted to creation of 64-bit applications in C/C++ language and is intended for the Windows developers who use Visual Studio 2005/2008/2010 environment. Developers working with other 64-bit operating systems will learn much interesting as well. The course will consider all the steps of creating a new safe 64-bit application or migrating the existing 32-bit code to a 64-bit system.
Wednesday, April 13th, 2011
Just found this out: You can easily add all the holidays for your country (or particular religion) to your Google Calendar by going to: Other Calendars → Add → Browse Interesting Calendars. There you can subcribe to calendars containing your country’s holidays.
Tuesday, April 5th, 2011
A while ago I fiddled around with my Vim configuration, and I removed some things I thought weren’t necessary. A little while later I noticed that, when I copied things in a terminal Vim by selecting them with the mouse or a normal visual selection, I couldn’t paste them into other X11 programs such as the terminal, Firefox and other Vim instances. Of course, I didn’t have a backup of my old vimrc.
After much fiddling around with the various guioptions, mouse and clipboard settings, and many a Google search, I found a page which offered some insight:
For this to work, your Vim has to be compiled with the +xterm_clipboard setting. Run
vim --version | grep xterm_clipboard
to see if that option is compiled in
My Vim (Xubuntu 10.10) showed -xterm_clipboard instead of +xterm_clipboard meaning it didn’t support directly cutting/copying to the X11 clipboard. It turns out that I had removed the vim-gtk package and installed the normal vim package, since I never use the GTK/Gnome version anyway.
Re-installing the vim-gtk package solved the problem:
aptitude install vim-gtk
If you want to be able to select with the mouse, you will also need to set the following in your ~/.vimrc:
set mouse=a
If you don’t have that you can still select with the mouse, but it won’t be Vim who does your selection but your terminal emulator. That results in line numbers being included in your selection (if you’ve set number) as well as lines longer than the terminal being cut off.
Update: Imran Chaudhry mails to say:
On Debian Squeeze which I’m using I have to re-run the alternatives method so that vim finds the right vim:
$ update-alternatives --config vim
Thanks, Imran!
Sunday, April 3rd, 2011
I’ve released a new version of my Minecraft Player/World Editor: MCPlayerEdit v0.11. This release is an update for Minecraft Beta v1.4 and features the following modifications and additions:
- Added cookies. (Patch by Rilian4)
You can get the new version Here.
Wednesday, February 23rd, 2011
I’ve released a new version of my Minecraft Player/World Editor MCPlayerEdit v0.10. This release is an update for Minecraft Beta v1.3 and features the following modifications and additions:
- You can now load worlds by name.
- Added items:
- Double Stone Slab,
- Double Sandstone Slab,
- Double Wooden Slab,
- Double Cobblestone Slab,
- Stone Slab,
- Sandstone Slab,
- Wooden Slab,
- Cobblestone Slab,
- Bed
- Redstone repeater
- Added a ‘seed’ command which displays your world’s random seed.
You can get the new version Here.
The text of all posts on this blog, unless specificly mentioned otherwise, are licensed under this license.