domingo, 9 de agosto de 2009

Ubuntu 9.04 Jaunty Jackalope - NVidia TNT2 Model 64 32MB

Hi Guys,

I'm using Linux in a old PC and today I clean all old systems ( yeah I didn't clean the system since 5 years).

After install 9.04 I can't put 1024x768 resolution.

After google it I found a thread talking about it [1]




======xorg.conf delujoč========================
###############################################
# MANUALLY REFURBISHED xorg.conf FOR
# UBUNTU 9.04 JAUNTY!!!
#
# Edit under Linux:
# 1. Open terminal.
# 2. sudo nano /etc/X11/xorg.conf
#
# (^-Ctrl key in nano.)
#
# USE AS TEMPLATE ON YOUR OWN RESPONSIBILTY!!!
#
# 1. FIRST, ENTER CORRECT VALUES FOR MONITOR, KBD,
# VIDEO CARD. THEN START WITH TESTING.
# 2. IF IN DOUBT, COMMENT OUT ERRATIC AND
# UNWANTED PARTS.
#
###############################################
# THIS FILE IS GIVEN AWAY FOR FREE "AS IS".
# Modified by Joze Klepec in May, 2009.
###############################################

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"

# keyboard added by rhpxl - you can safely remove entire section
# along with definitions in Section "ServerLayout"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
#Option here defines new variable named XkbModel with value pc105.
#pc102??, pc101??, pc104??, pc85??, pc84??
Option "XkbLayout" "si"
#en, de, es....
EndSection

Section "Monitor"
Identifier "Monitor0"
#Don't change unless you don't have more than one monitor!!
#This probably affects monitor order.
ModelName "Nokia 449Xa"
#Monitor name as got from specs. If not from papers, search
#on the Internet.
HorizSync 30.0 - 65.0
#Horizontal syncronization rate in KHz.
VertRefresh 48.0 - 120.0
#Vertical refresh in Hz. Picture frame rate actually.
#Good=above 60Hz, very good=above 85Hz, excellent=>120Hz.
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
#Change identically to monitor settings.
Driver "nv"
#Use proper driver here.
#
#options (roughly described):
# nv - Geforce, Geforce2/Geforce MX (Gf2 or mobile onboard),
# NV5 (RIVA TNT2/TNT2 Pro), NV4, and down.
# Support all up to Geforce 6xxx.
# You'll need 71 or 96 line driver for this.
# nvidia - Geforce 6xxx and newer line models support
# Works with 173 or 180 line drivers.
# nouveau - development, open source driver line
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
#Default bit depth - 8, 15, 16, 24, 32 are some possible values.
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "832x624" "800x600" "640x480"
#Specs = PC75 MAC75 PC85 PC120
#Unoffically also "1280x1024" "1280x960" "1152x864" by different cards
for Nokia449Xa.
# 1280x1024x60Hz, 1152x864x60Hz, other untested and may burn your monitor!!!
#Ubuntu will automatically set maximum available resolution.
#Enter correct values - you can burn out some older monitors which don't
support DDC!
EndSubSection
EndSection





For me it is useful and then I publish it here. Even I want support to 3D acceleration I read that it's not possible (waiting for new hacks from nvidia team, but I'm guessing that is not incoming.)

[1] - http://liste2.lugos.si/pipermail/lugos-list/2009-May/053134.html

segunda-feira, 4 de maio de 2009

VirtualBox

Hello,

Today I'd like to say that I'm using VirtualBox[1] - it is a very nice platform to run virtual machines, similar VMware but it is free.

It is a product from Sun.


[1] - http://www.virtualbox.org/

sábado, 11 de abril de 2009

Just some applications on Mac

I'm witting this post thought the dashboard, and i'm really impress about it. I'm using Mac since more than a year, and I wasn't using it correctly yet. I just using the dashboard for simple things like calculator, weather.

And now?


I'm using for blog, for twitter, for youtube, to sticky notes, translator and more others cool features.

Another interesting thing to use is the dictionary in spotlight, try write a word in Spotlight, it's really wonderful.

I'm leaving now with a list of a nice apps/widgets:

- Quicksilver
- Superdock
- Twitterific
- Twidget
- Camino (A nice browser ) 
- Grapher ( Native in Mac OS ) 


Cheers!

sábado, 24 de janeiro de 2009

How to mantain several branches tracking a trunk?

Last few years, I was working inside some projects (Umit and others).
When you work with other peoples commits are limited so the best idea is create a branch. But how I do that? From last few years I was thinking that svn doesn't have support branches, and the way to do that it's just copy the trunk and make "svn merge .." and keep update the branch.
Last month a guy named Guilherme, show me how I really make a branch inside Subversion.
It's not easy if you're working with old tracking. It's the reason of the post.

I would like to talk about:
- branches
- tags

There was a application 'svnmerge' available to create branches. So it keep branch tracking changes on trunk. That's really cool. Advantages?

How svnmerge works with old versions?

First you need to initialize the branches: svnmerge init PATH ( You should do it first at branch, later at trunk)


You can rollback some merges, sample: svnmerge rollback -M r100-120.

The team will take the real avantages after integration, or if you create svnmerge at begin.

In your branch, you can merge easy way: svnmerge merge, and optionally we can specify the revision interval, between revision x and revision y, -rx-y.

At trunk you should do same thing, to push branch changes:
svnmerge merge -S brach_directory

Easy? :D

Thanks Guilherme, it's really cool.