Nem szoktam ilyet csinalni, mert nem kifejezetten a szivem csucske a web, de hat valamibol elni kell. Drupalt valasztottam, mert viszonylag elterjedt es bovitheto. Bar van nehany hulyesege, de legalabb nem Joomla. :>
Esetleg, ha valaki németül akar tanulni Gödöllő környékén:
http://scherzingerstudio.org/
Majd meg szepul, okosodik a site remelem sokat. :)
1/27/2012
1/20/2011
Busting OpenBSD's code review myth
Do you notice the "ifdef" line in the following commit?
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/alpha/alpha/locore.s.diff?r1=1.19&r2=1.20
Well, OpenBSD didn't. They decided to blindly copy the changes anyway, which got them this nasty piece of easter egg:
Ouch, that's going to fail hard on OpenBSD.
It was removed months later only:
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/alpha/alpha/locore.s.diff?r1=1.6;r2=1.7
Did they notice the bug? No. They just blindly followed NetBSD again:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/alpha/alpha/locore.s.diff?r1=1.27&r2=1.28
The moral of the story? Always double check any code that you copy from others.
Thanks to Hunger for showing me this lulz.
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/alpha/alpha/locore.s.diff?r1=1.19&r2=1.20
Well, OpenBSD didn't. They decided to blindly copy the changes anyway, which got them this nasty piece of easter egg:
- lda sp,(FRAME_SW_SIZE*8)(sp)
- call_pal PAL_OSF1_rti
- END(rei)
+#ifndef __OpenBSD__
+ RET
+#endif
+ END(exception_restore_regs)
Ouch, that's going to fail hard on OpenBSD.
It was removed months later only:
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/alpha/alpha/locore.s.diff?r1=1.6;r2=1.7
Did they notice the bug? No. They just blindly followed NetBSD again:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/alpha/alpha/locore.s.diff?r1=1.27&r2=1.28
The moral of the story? Always double check any code that you copy from others.
Thanks to Hunger for showing me this lulz.
9/28/2010
9/24/2010
How to use clang for pkgsrc builds
It's easy: just make sure you have a newer source tree than 20100923 and add the following to your /etc/mk.conf:
Now remove some packages that hardcode gcc:
Warning, this may remove other packages if they depend on these!
You are done, try to build stuff, and don't forget to report your success or failure on tech-pkg. ;)
PKGSRC_COMPILER= clang f2c
Now remove some packages that hardcode gcc:
pkg_delete -r f2c libtool-base imake
Warning, this may remove other packages if they depend on these!
You are done, try to build stuff, and don't forget to report your success or failure on tech-pkg. ;)
1/18/2010
latin2 support for wscons
I have added some latin2 fonts to NetBSD, so now its possible to configure the console for central european languages. Also added some examples to wscons.conf, so it will be really easy to enable it, even for beginners.
It's odd that i got a lot of request for help in this regard, as I never really needed this feature, but anyway, here it is!
It's odd that i got a lot of request for help in this regard, as I never really needed this feature, but anyway, here it is!
12/04/2009
Hi!
For those who actually read my blog and/or interested (are there any? :P).
You can now follow me on Twitter: twitter://adamhoka
For those who actually read my blog and/or interested (are there any? :P).
You can now follow me on Twitter: twitter://adamhoka
10/31/2009
Bootstraping pkgsrc with pcc
cd /usr/pkgsrc/bootstrap
env CC=pcc ./bootstrap --prefix /usr/pccpkg --varbase /usr/pccpkg/var --pkgdbdir /usr/pccpkg/.pkgdb --compiler pcc
...wait a few minutes...
echo CC=pcc >> /usr/pccpkg/etc/mk.conf
Thats it, start using with /usr/pccpkg/bin/bmake and report any compiler bugs to PCC!
Subscribe to:
Posts (Atom)