trešdiena, decembris 28, 2005

otrdiena, decembris 27, 2005

piektdiena, decembris 23, 2005

Great Hackers

Great Hackers: "In programming, as in many fields, the hard part isn't solving problems, but deciding what problems to solve."

Slashdot user comment

by legLess (127550) on Friday July 22, @08:08PM (#13141208)
(Last Journal: Wednesday June 23, @04:53PM)

I love Apache, but in the same way I love my wife: with some trepidation. Fast and stable, flexible and reliable, but make one little syntax error and you can lose your ass.

piektdiena, decembris 16, 2005

Backup command

NoMachine NX - NX Knowledge Base, Documentation and Support Facilities

"tar -cvpf - /usr/NX | gzip -c > NX.backup.tar.gz"

ceturtdiena, decembris 15, 2005

Richard Stallman

Richard Stallman

E-pasaule - kibertelpa

Īss ievads plāno klientu antoloģijā jeb Atgriešanās nākotnē : "Thin computing ideja ir līdzīga kā lieldatoru laikos – plānie datori tiek izmantoti, lai saņemtu no lietotājiem ievadītos datus un attēlotu rezultātu uz ekrāna. Visas datu apstrādes un datu glabāšanas funkcijas veic serveris. "

trešdiena, decembris 14, 2005

Pg business open - Ppdwiki

Ko biznesam mācīties no atvērtā koda: "Ko biznesam mācīties no atvērtā koda."

Slashdot user sig

"In theory, there's no difference between theory and practice. In practice, there is." The World Is Flat

The World Is Flat ...technical advances of the digital revolution have made it possible to do business, or almost anything else, instantaneously with billions of other people across the planet. This in itself should not be news to anyone. But the news that Friedman has to deliver is that just when we stopped paying attention to these developments...
Globalization 3.0, as he calls it, is driven not by major corporations or giant trade organizations like the World Bank, but by individuals: desktop freelancers and innovative startups all over the world (but especially in India and China) who can compete--and win--not just for low-wage manufacturing and information labor but, increasingly, for the highest-end research and design work as well.
He divides globalisation into 3 phases:
1.0 up to 1800 when things depended on states
2.0 when it was multinational corporations 1800-2000
and then
3.0 since 2000 when it has been up to brilliant individuals.

otrdiena, decembris 13, 2005

ugly KDE apps in GNOME environment

till this day only solution i was aware of was to install kde control panel - log into KDE desktop env and select default fonts from there. Default fonts almoast always are too big
today a new way to do this I found
there is a file
if we set its contents like bwlow. Ugly KDE apps start look better.

DirSelectDialog Size=436,450
History Items=file:/home,file:$HOME

StandardFont=Luxi Sans,11,-1,5,50,0,0,0,0,0
activeFont=Luxi Sans,11,-1,5,75,0,0,0,0,0
fixed=Luxi Mono,10,-1,5,50,0,0,0,0,0
font=Luxi Sans,10,-1,5,50,0,0,0,0,0
menuFont=Luxi Sans,10,-1,5,50,0,0,0,0,0
taskbarFont=Luxi Sans,10,-1,5,50,1,0,0,0,0
toolBarFont=Luxi Sans,9,-1,5,50,0,0,0,0,0


dear Santa ... The Virtual Handshake: Opening Doors And Closing Deals Online: Books: "The Virtual Handshake: Opening Doors And Closing Deals Online (Paperback)"

pirmdiena, decembris 12, 2005

piektdiena, decembris 09, 2005

Doma par KM no ||

How IBM Conned My Execs Out Of Millions || "One of the criticisms of Knowledge Management is that it is just a new way to sell the same old products. Vendors take an online message board, bundle it with an off-the-shelf document management system and an intranet search, call the whole thing a 'knowledge management system', and then sell it to you for millions. My take on knowledge management is that it's a good idea that's been overhyped and oversold, like Business Intelligence or Customer Relationship Management. "

How to Fund a Startup

How to Fund a Startup: "There are millions of small businesses in America, but only a few thousand are startups. To be a startup, a company has to be a product business, not a service business. By which I mean not that it has to make something physical, but that it has to have one thing it sells to many people, rather than doing custom work for individual clients. Custom work doesn't scale. To be a startup you need to be the band that sells a million copies of a song, not the band that makes money by playing at individual weddings and bar mitzvahs."

ceturtdiena, septembris 29, 2005

Stulbo cilvēku ir vairāk, nekā jūs nojaušat

Our World

It's wise to remember that we're working in a field which is fundamentally engaged with the question of how to build things from zeroes and ones. In effect, we're defining the physics of a new universe. Thus we're bound to create new ways of talking about what that means, and since language is based on metaphor, we typically proceed by adapting terms from other disciplines.

no /. komentāriem

trešdiena, septembris 14, 2005

par kodēšanu

..that means all of us when you remember an adage a guru once told me: "Every piece of computer software, no matter how small, involves at least a team of two -- me, and me six months from now when I have to fix it." Conway puts it differently "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."

merge multiple pdfs

pdftk Document[1-9].pdf cat output bigdpdf.pdf

ceturtdiena, septembris 01, 2005

Thin technologies

As a rule of thumb, an unswitched 100Mbps network can handle about a dozen thin clients;

My dear friend -- this is data that describes plain vanilla X11 connections. These may have been state of the art back in 1995. But now we have 2005. Today there exists a technology called NX which does a marvelous job in compressing X(11) and even VNC and RDP traffic. With NX a remote X connection becomes really usable even over 56kbps modem links, or ISDN. You can hardly tell the difference to a local session. NX can easily cram 1,000 NX ssessions into a 100MBit link -- because each one will run with a bandwidth consumption of 40 kkbps or less. And then the link is not even saturated yet. Make your LAN a switched one, and you go up to 8,000 sessions at the same time cramming into the 100Mbit cable.

otrdiena, augusts 16, 2005


Paul Graham. Ļoti iemeslspējīgas esejas.

..One of the most surprising things I discovered during my brief business career was the existence of the PR industry, lurking like a huge, quiet submarine beneath the news. Of the stories you read in traditional media that aren't about politics, crimes, or disasters, more than half probably come from PR firms.

Most articles in the print media are boring..Nor is there anything new, except the names and places, in most "news" about things going wrong.

as not a startup begins in an apartment. Instead of matching beige cubicles they have an assortment of furniture they bought used. They work odd hours, wearing the most casual of clothing. They look at whatever they want online without worrying whether it's "work safe." The cheery, bland language of the office is replaced by wicked humor. And you know what? The company at this stage is probably the most productive it's ever going to be.

If employees have to be in the building a certain number of hours a day, and are forbidden to do non-work things while there, then they must be working. In theory. In practice they spend a lot of their time in a no-man's land, where they're neither working nor having fun.

Mozillas kioski


laižam ar:
firefox /chrome chrome://kiosk/content/blank-kiosk.xul

Lai mainītu startup page: chrome->kiosk.jar->locale->en_US->kiosk.dtd

Iemeslspējīgi raksti par 'new age' biznesu

Iedvesmai un idejām. Visādas gudrības un tā.

Vietne no watt bloga.


Kas ir Richard Stallman. Kā veidojās RedHat. Kā Mozilla kļuva open-source. Kas ir eseja “The Cathedral and the Bazaar”. Vārdu sakot - īsi par sākumu. Eku

Industrial Design Excellence balvas

Tech 1
Tech 2


[..] es nesaprotu, kā var nemācīt bērniem runāt latviski. Ar maziem bērniem, suņiem un kaķiem es runāju tikai latviski [..] Halo! Nē – mēs sēžam vecrīgā. Spēlējam cūkas ar īstajiem latviešiem [..] Es uzaugu Kanādā. Mana māte piedzima Anglijā. Ģimenē mēs runājam latviski [..] Kanādā ir tāda vieta Tērvete. Jā – ja jūs skatīsieties kartē – tur būs tāds nosaukums. Tur ir vasarnīcas latviešiem.. Tērvetē ir bijuši labākie jāņi manā mūžā. Mēs ejam viens pie otra un aplīgojam un tad viņi atkal atpakaļ. Šeit Latvijā tā jāņus vairs nesvin. Ko es mācos – pašlaik es nemācos. Es strādāju Cafe. Londonā. Bet es gāju University Bostonā. Mācījos general arts. Ziniet fotogrāfija, kino. Es atgriezīšos University, bet pagaidām man gribās iegūt vairāk pieredzi. Un vēl es gribu aizbraukt uz Āziju. Jā – Dienvidaustrumāziju. [..] nē – latvieši, kas dzīvo Kanādā un Amerikā - viņi visi ir bijuši ārzemēs. Tā noteikti ir man ir priekšrocība, ka es esmu latviete. Visi mani labākie draugi ir Latvieši.

Linux Tag 2005

2005. gada 22-25. jūnijā man, kopā ar bijušajiem darba kolēģiem no Vidzemes Augstskolas bija iespēja pabūt Vācijā Karlsruhē, kur notika ikgadējā atvērtā koda tehnoloģijām veltītā konference un izstāde “Linux Tag 2005”.

3 dienas, kas bija paredzētas pasākumam likās pārāk maz, lai paņemtu visu informāciju, jo īstenībā tam būtu vajadzējis veltīt vismaz 3 nedēļas. Neskatoties uz to, mēģināšu piefiksēt to, kas ‘iekrita acīs’ un būtu jāpārbauda praksē.

Izstāde :
Nagios. Serveru monitorēšanas rīks. Dod iespēju sekot norādīto hostu hardvare stāvoklim, servisiem, aplikācijām.

OpenExchange. Ms Exchange atvērtā koda analogs. Labi izstrādāta web-saskarne un iespēja pieslēgties un strādāt kā no linux aplikācijām (Evolution, SunBird), tā Windows (Ms Outlook).

CAcert. Bezmaksas SSL sertifikātu izsniegšanas/autorizēšanas sistēma. Līdz gada beigām plāno tikt atbalstīti lielākajos web pārlūkos.

Asterisk. Vioce-over-ip telefonijas risinājums (centrāle) darbam paralēli ar ISDN, analogo un IP telefonijas sistēmām.

AfterStep window manager. Interesants ‘look and feel’. Moto – “Mēs neesam kārtējais ‘windows wanabe’”. Plašas konfigurācijas iespējas, zemas hardware prasības.

FreeNX. Attālinātā pieslēgšanās X serveriem. Ekstensīva kešošana gan klienta, gan servera pusē ļauj strādāt ar attālinātiem X-logiem pat caur zemas caurlaidības pieslēgumiem. Iespējams ‘tunelēt’ arī VNC (piem. priekš attālinātās palīdzības nodrošināšanas) un RDP protokolus.


LiMux. Tas pats linux Minhenes projekts. Neskatoties uz lielo publicitāti dažas lietas likās jaunas. Piemēram : kā desktop risinājums tiek izmantots Debian (nevis SuSe). Lietotāju migrācija notika pakāpeniski – sākumā izmantojot termināl servera risinājumu, pēc tam Wine, tad pilnīgu pāreju uz Linux.

Knoppix. LiveCD, kas bāzēts uz Debian Sarge. Projekta mērķis būt par ’šveices armijas nazi’ visām vajadzībām. Dažādi ‘cheat codes’, ko iespējams norādīt sāknējot sistēmu (piem. lai OS pilnībā ielādētu operatīvajā atmiņā, lai laistu alternatīvu logu menedžeri (tātad ne tikai KDE, bet arī Gnome, fwvm u.c.). Termināl – serveri, failu serveri, print serveri iespējams konfigurēt 10 minūtēs. Dažādi skripti, kas paredzēti, lai izveidotu savu LiveCD, vai instalētu sistēmu uz cietā diska.

Network accounting tools

MySql. MySql projektam aprit 10 gadi. Parādās advancētas fīčas, kā trigeri, transakcijas, stored procedures, saved cursors/views.

Izstādes iespaidi.
Daudz dalībnieku. Labāk protams tiek pamanīti tie, kas piedāvā ‘odziņas’, lai piesaistītu uzmanību. Piemēram – HP rīko ‘kodēšanas maratonu’, Arkeia – ‘hakošanas sacensības’ (diemžēl neredzējām, jo tas bija pēdējā dienā, kad devāmies mājup). Prezentācijas CD aizstāj DVD (SuSe; Debian). Interesanti, ka piedalās arī Microsoft un piedāvā sollutions for Unix interoperability services.

Vēlāk varbūt būs video/foto.


Autonomic computing

Autonomic computing is a phrase IBM uses to describe the set of technologies and tools that enable applications, systems, and entire networks to become more self-managing. Self-management involves four qualities—self-configure, self-heal, self-optimize, and self-protect.

update: Solaris 10 esot saņēmis balvu par iestrādēm self-menedžēšanā. Hmm.

Jamie Zawinski

Jamie Zawinski ir pametis Linux pasauli un pārgājis uz Mac OSX

[..] in six months or so, the only Linux machines I’ll ever have to touch will have no video or sound cards in them at all.


“Back before you had heard of Netscape, I was responsible for the Unix versions of Netscape Navigator through release 1.1.”
“Before Netscape, I was primarily to blame for Lucid Emacs”
”...I was one of the folks who created and ran the Mozilla Organization during the first year of its life”
“But now I’ve taken my leave of that whole sick, navel-gazing mess we called the software industry. Now I’m in a more honest line of work: now I sell beer.”

Labs JZW raksts par kioskiem-termināliem

/. komentārs par plānajām iekārtām

I evaluated transmeta’s chips in 2003, I think.. it was for a target product that needed a low power consumption. When we got their development kit and the heatsink was huge, I knew they were in trouble. I KNEW they were in trouble when we tried to return the multi-thousand-dollar kit to look at some other options they had.. and they wouldn’t listen.

If you’re working in the embedded world, you’re probably in a well defined area:

Low power, low speed micros. These are usually under 20mhz, sometimes faster. Cost a couple bucks and have everything under the sun integrated. Some have micro RTOS’s developed for them, most don’t. This market is mature and owned by people like Atmel, Microchip, Zilog, and a hoarde of other people making variants of chips like the 8051. Transmeta didn’t stand a chance there. Those chips consume almost no power at all and cost nothing.

Midrange micros for pdas and other appliances. This is where I thought transmeta had a chance, but then along came Intel with the XScale architecture and they made it work and work very well. This, not the pentium M, is what killed them I think. XScale is cheap, well supported, and very low power.

Above-midrange; Transmeta might have had a shot here, but their power consumption and support was much worse than the x86 compatible Nat Semi Geode (now owned by AMD?), and offerings from Via (C3 MiniITX). Price? No competition.

Notebooks. Pentium M ended this one. So did the G4 chip from Motorola.

Desktop high end CPUS. Nobody ever expected them to be competitive.

Looking back, it seems like their market ran away from them whereever they looked. Unfortunate, but not unforseeable IMO.

Skaņa Linux Terminālservera klientiem

neiet. Bet ies. Kādreiz

#record 4 seconds of audio from microphone
% dd bs=8k count=4 < /dev/audio >
4+0 records in
4+0 records out

#play back sound
% cat >/dev/audio



Brīviem brīžiem

Kaklasaites mezgli:


ko gan citu darīt brīvdienā, ja ne pārinstalēt sekretāres kompi


Demonstrates a solid understanding of core concepts within this topic. Appears capable of working on most projects in this area with moderate assistance. May require some initial assistance with advanced concepts, however :)

Bash Tricks

Save typing
cp /a/long/path/to/my/file{,.bak}

Reverse search in history
(reverse-i-search)`us’: ls -l /usr/bin/sudo

Simple loops
for i in $(cat users.txt); do e=`dd if=/dev/urandom ibs=3 count=2 2>/dev/null | uuencode -m /dev/stdout | sed -n “2p”`; echo $i:$e; done

for i in *; do cp $i $i.bak; done

Avots: Prentice Bisbal, “My favourite bash Tips and Tricks”, Linux Journal, April, 2005


Pēkšņi .. 1 miljona gadu laikā...
"The first eyes appeared about 543 million years ago - the very beginning of the Cambrian period - in a group of trilobites called the Redlichia. Their eyes were compound, similar to those of modern insects, and probably evolved from light-sensitive pits. And their appearance in the fossil record is strikingly sudden - trilobite ancestors from 544 million years ago don't have eyes."Un vispār - trilobīti (kas mūsdienu izpratnē bija primitīvi tārpi) tajā laikā bija valdošā suga."Trilobites' eyes allowed them to become the first active predators, able to seek out and chase down food like no animal before them"..
Katram laikam savi varoņi. :)


vēl labs :
"There is a reason we kiss potential mates - it's the most primitive way we know to check something out." un vēl:"sex is responsible for some of the most impressive biological spectacles on the planet, from mass spawnings of coral so vast that they are visible from space, to elaborate sexual displays such as the dance of the bower bird, the antlers of a stag and - according to some biologists - poetry, music and art.

J. Paškēvics

Cilvēkam mēdz būt viņa ūdens, tas, kur viņš jūtas kā zivs.[..] Šajā brīdī tu pārcelies uz citu teritoriju. Tu intuitīvi meklē it kā kādas acīm neredzamas durvis, tu tās uztausti, atver, aizver, un izrādās, ka esi nonācis tur, kur nav ne sadzīves, ne radinieku, ne slimību, vispār ne s.. tur nav. Tur ir tā pasaule, kuru tu esi meklējis.
RL Vai to nevar salīdzināt ar..
Neko ne ar ko nevar salīdzināt

kā rakstīt direktorijā, bet neļaut direktoriju dzēst

ExpertsExchange palīdzēja tikt galā ar problēmu, kā ļaut lietotājiem rakstīt direktorijā, bet neļaut pašu direktoriju dzēst.
Īsumā: ja owneris ir no adminu grupas (root), tad diru nevar dzēst par ja grupai ir rwx tiesības. Attiecīgi man ieteica:

find /home/sambashares -type d -exec chown root: {} \\; -exec chmod XXX {} \\;

update: tikai tad ja parent dir ir ro !

Triks slēpjas iekš sticky bit!
find /home/sambashares -type d -maxdepth 3 -exec chown root:users {} \\; -exec chmod XXX {} \\; -exec chmod +t {} \\;

Hans Reiser

Users should be able to retain their old habits for as long as they wish, engage in a slow comfortable migration, and incorporate the new features into their habits as they feel the desire. Elderly programs should be untroubled in their operation. Many worthwhile projects fail because they emphasize how much they wish to change rather than asking of the user the minimal collection of changes necessary to achieve the added functionality.


dot /comma

381. I am an european accountant, how can I change the dot on the numeric keypad to a comma for easy my work? (NumLock is on; type the words in the quotes in ~/.xmodmaprc and add “xmodmap .xmodmaprc” in ~/.bashrc for permanent solution)xmodmap -e “keycode 91 = comma” ; X Window, to go back replace “comma” with “period”

xmodmap -e “keycode 91 = comma”
/etc/bashrc for system wide permament sollution

update: tomēr tas ir netīri, jo komandai jānostrādā tikai tad, kad tiek laisti x-logi

Faxing to/from Linux and Samba


Securing Linux Production Systems

Securing Linux Production Systems

Simptoms: fedora 3 neceljas ja / ir uz md0

boot in rescue mode
chroot /mnt/sysroot (vai kaut kas līdzīgs)
> device (hd0) /dev/sda
> root (hd0,0)
> setup (hd0)
> device (hd1) /dev/sdb
> root (hd1,0)
> setup (hd1)

Things to know

ģenerēt labas paroles:
dd if=/dev/urandom ibs=3 count=1 2>/dev/null | mmencode

latvijas network time protokol (ntp) serveris ir

apskatīt partīcijas
cat /proc/partitions

raid 1 no konsoles
mdadm—create /dev/md0—level=1—raid-devices=2 /dev/sd[bc]1
mkfs.ext3 /dev/md0

instalē no konsoles perl CPAN moduļus
perl -MCPAN -e ‘install UI::Dialog’

perl CPAN spogulis Latvijā

Literatūra brīviem brīžiem

Par Linux. Šķiet viņa ir arī opensource. Autors nerunā par kādu distributīvu, vai “trešo pogu no labās puses”, bet par būtību.

Par G

Google News
Google Desktop Search
Google Local Search
Google Scholar
Google Personalized Search
Google Video
Google Mail
Google Maps
Google Bloggs
Google Images

..It’ll be getting it’s own flag and army next.
./hachete (473378)

while (true) {
Product* product = new Product;

/Craig Ringer&ggvaidya

I’d love to key in “DVD player remote” or “car keys” and have it show me a map of where it is in my house.

Perhaps they could erotic pictures next to any search results.

..ko Baltais nams aizliedz robotiem


play, rock, compute

The only reason to get into this game is because you like to play. If you are looking to advance in your career or make a lot of money, you have got the completely wrong idea. If that’s your goal, go to school and get an MBA and then work on becoming a business person. Otherwise, play, rock, compute!
/eno2001 . Slash

Antivirus ar GPL

Antivīruss ar GPL licenci.

Bjarne Strourstrup

Only when something ambitious is attempted is there a need to adopt new an better tools and procedures. [p 693]

There is only one basic way of dealing with complexity: divide and conquer. [p 693]

The point about modeling reality is not to slavishly follow what we see but rather to use it as a starting point for design, a source of inspiration, and an anchor to hold on to when the intangible nature of software threatens to overcome our ability to understand our programs. [p 734]

“The c++ programming language”

3D animācija

3d animācija zem visām platformām


tail -f /dev/mind > blog

Labs /. komentārs par "Great moments in Computer history"

You know, when I looked at this list, I found myself disappointed. Sure, there are some big important guys, but software is more than about applications and the big picture. It’s also about the technology, and creating new abstractions. And in a lot of ways, the guy who first invented debugging is a lot more important to the success of computer science than anybody listed there.

It may be because I’m an old fart, but I remember the excitement of learning each new abstraction, either as I discovered it, or as it was invented. And it seemed to me that the creation of those abstractions are the really great deeds of computer science. Maybe nobody knows who had those break-through moments first, but I’m sure that they occured, and they seem to be to the the Great Moments in computer science.

1) The first guy to think “I shouldn’t have to rewire, I should be able to write instructions that rewire it for me” – i.e., the assembler moment

2) The first guy to realize “I’m not just re-wiring this, I’m describing an procedure for it to use” – the FORTRAN moment

3) The first guy to ask “Why can’t I used the same procedure from different places in my code” – the subroutine moment

4) The first guy to say “I should be able to use the subroutine in the program it already knows” – the library moment

5) The first guy to ask “Why do I have to be the one writing down the results?” – the printer moment

6) The first guy to realize “This isn’t just a calculator, it’s also a controller!” – the embedded moment

7) The first guy to realize “This isn’t just a calculator, it’s also a storage system!” – the database moment

8) The first guy to realize “This isn’t just a calculator, it’s also a communication system!” – the network moment

9) The first guy to realize “I’m not just submitting instructions for it to process – it’s submiting instructions back for me to process!” – the interactive moment

10) The first guy to think “Why can’t it do something else while its waiting?” – the multitasking moment

11) The first guy to think “Why can’t it show me more context while I work?” – the full-screen moment

And finally…

12) The first guy to think “Man, why can’t this thing show me some chicks?” – the porn moment



taisa bz2 kompreseetu arhīvu
tar -cjvf alise.tbz /mnt/cbs/ALISE

extraktē bz2 kompresētu arhīvu
tar -xjvf alise.tbz /mnt/cbs/ALISE

Split and cat

Griežam arhīvu gabalos:
split -b 1m archive.tgz split_tgz_

Liekam kopā:
cat split_tgz_* >archive.tgz

SunRay serveris uz Fedora 2

Fiksēju lietas, ko darīju, lai palaistu SunRay serveri uz Fedora 2.
Istalēju tātad..

tips – serveris
serveri, ko vajag:
.. tad vēl vajag gcc, X logus, gnomi,
un lietojumprogrammas lietotājiem :)

SunRay server 3 beta

Doma tāda, ka defaultā instalācija ir pielāgota RH enterprise un SuSE. 2. Fedorai daži headeri ir citās vietās, kā arī sakarā ar 2.6 kerneli ir nelielas atšķirības.
Vārdu sakot – te hīts no .bash_history.

rpm -e sendmail
rpm -e sendmail mutt fetchmail mdadm
mkdir install
cd install
scp XX.XX.XX.XX:/home/spats/Xinstall/sunrayx86/srss_3.0.tar.Z .
tar -xvzf srss_3.0.tar.Z
cd srss_3.0
mozilla README.html
(šajā brīdī sākās “carnival of errors”)
yum install ksh (ups – sun skripti ir ksh)
yum install pdksh
ls Docs/
yum install xpdf
xpdf Docs/Linux_Install.pdf &
cd Supplemental/
cd Java_Runtime_Environment/
cd Linux/
ls /opt
mv j2re1.4.2_03 /opt/
cd ../../../
tail /var/log/utinstall.2004_10_27_12\\:37\\:51.log
rpm -q gcc
yum install gcc
(sākās vēl smagāks erroru karnevāls)
tail /var/log/utinstall.2004_10_27_12\\:43\\:44.log
cat /var/log/utinstall.2004_10_27_12\\:43\\:44.log
yum install kernel-source
yum install kernel-headers
cd /lib/modules/2.6.5-1.358smp/build/include/linux/
(ilgi meklējam un bakstam source failiem pareizās atrašanās vietas un/vai taisam symlinkus)
find / modversions.h | grep modversions
find / mach_mpspec.h | grep mach_mpspec.h
vim /lib/modules/2.6.5-1.358smp/build/include/asm/mpspec.h
vim /lib/modules/2.6.5-1.358smp/build/include/asm/smp.h
find / modversions.h | grep modversions
cd /lib/modules/2.6.5-1.358smp/build/include/linux/
ln -s ../config/modversions.h
cd ..
cd asm
ls smp.h
find / mach_mpspec.h | grep mach_mp
ln -s ../asm-i386/mach-generic/mach_mpspec.h
find / mach_mpspec.h | grep mach_mpspec
find / mach_apicdef.h | grep mach_apicdef.h
cd install
cd srss_3.0
xpdf Docs/Linux_Install.pdf
cd /opt/SUNWut/sbin/
./utadm -a eth1
/etc/init.d/httpd start
cd /opt/SUNWut/sbin/
/etc/init.d/httpd restart
/etc/init.d/httpd stop
yum install dhcp
cat utadm | less
cat utadm | less
/etc/init.d/network restart
./utadm -a eth1
vim /etc/X11/xorg.conf
{enablējam XDMCP login screen->settings->XDMCP}

Šķiet ka xdmcp tomeer nevajag
noderiigas konandas ir:
/opt/SUNWut/sbin/utconfig -u
/etc/init.d/utsvc stop
/etc/init.d/utsvc start

kā TO dara uz Debian

Kā pietjūnēt GNOMI

SunRay FAQ

Stateless Linux


"..there are only 10 types of people - those who understand binary and those who don't" (nezināms autors)

Kļūdu paziņojumi haiku formā:

Yesterday it worked.
Today it is not working.
Windows is like that.

Three things are certain:
Death, taxes and lost data.
Guess which has occurred.

Windows NT crashed.
I am the Blue Screen of Death.
No one hears your screams.

The Web site you seek
Cannot be located, but
Countless more exist.

paņemts no Mayas



LTSP servera instalācijas How-To

LTSP servera instalācijas How-To (mazliet novecojis)

1. Instalējam Fedora Core 2
2. Izvēlamies instalācijas tipu – Serveris
3. Sadalam partīcijas (mūsu gad. – automātiski)
4. Instalējam
NameServer (Bind)
tftp server (pie other servers)
dhcp server
.. un aplikācijas, priekš lietotājiem (pēc izvēles/situācijas)

5. Instalējam LTSP 4.1 un Symbiant vadības rīku

Dodamies uz

atrodam, lejupielādējam un instalējam (rpm -ivh paka.rpm)

5. Pēc reboot iestāstām Fedorai izmantot lietotāju informāciju un atentifikācijas mechanismus no mūsu skolelinux ldap servera un uzstāstam base dn un servera adresi
(user information -> enable LDAP support; Authentication-> enable LDAP support)
finišējam uzstādīšanu.

atjaunojam pakotnes
yum upgrade

6. Autorizejamies kā root un taisam sistēmas atjaunošanu un
Instalējam “Vieglo darbavisrmu” xfce

pievienojot /etc/yum.conf
name=Fedora Rawhide – Development packages
baseurl=Fedora Core – Rawhide

name=Macromedia flash-plugin site

name=Dag RPM Repository for Fedora Core

un vēl arī šo vajag tipa laikam (pārbaudīt!)
yum livna-stable

.. un laižot komandu:

yum install xfce* xfce dbh* xfcalendar xfdesktop xffm* xfprint xfwm4* (instalēt xfwm)
yum install flash-plugin (instalē flash-lugin)
yum install mozilla-j2re (instalē java runtime environment)

7. Instalējam arīdzam
Latviešu valodas mēmā taustiņa
MS ttf fontu
.. atbalstu

Mēs šim nolūkam lietojam pašu rakstītu skriptu

chmod 755

5. Piemountējam /home no tjenera (mūsu autorizācijas severa)

failu serverim izlabojam failu /etc/exports
/skole/tjener/home0 xx.xx.xx.xx(rw) (pieiekam taatad muuusu ltsp serverim atļauju mountēt home)

ltsp serverim uztaisam mapi

un labojam /etc/fstab

tjener:/skole/tjener/home0 /skole/tjener/home0 nfs defaults 1 1

Konfigurējot skaņas atbalstu jāņem vērā, ka alsa vēl netiek supportēts, tāpēc piem. xmms kā autput plugin jānorāda esound

Mozillai\\galeonam iegustam skaņas atbalstu instalējot mlayer spraudni:

yum install mplayerplug-in

Lokālo iekārtu atbalstam nepieciešams samba-client

yum install samba-client

compaq deskpro skaņu iedarbina, pieliekot pie
SMODULE_01 = “sb io=0×220 irq=5 dma=1 mpu_io=0×330”


Ja nu kādam, tāpat kā man, gadās pazaudēt diska partīcijas. Tad vajag lietot tādu instrumentu!

./ par politiku

The whole problem with other alternative (alternative to capitalism) systems, respect based, communism, or whatever is the simple fact that they require people to be better than they are. Unfortunately people are rotten in general.

Pica Valmierā

Štoka pica – 4225335
Vecpuišu parka picas – 4222833
Vitrium – 4221007
Vērdiņa pica (laikam bez piegādes) – 4223808

Noskaidro vārdus un adreses segmentā

nmap -sP

Pērle no ./

If you use biometric data for your passwords then you can never change your passwords. The first time you use a cracked login terminal you’ve lost security forever, unless you have surgery.

Linux RAID

Linux software RAID1 is just as fast as several of the hardware RAID1 setups I’ve tested using Bonnie++—These are fucking fileservers, not renderfarms. The processor’s sitting there doing jack shit anyway, and you’re more than likely putting a P4 in there since you can’t buy anything else with decent reliability. Throw in a decent GigE network card and your processor is STILL at 0% utilization. Make that a RAID5 with hot-standby drive and I would be very surprised if you noticed any difference in the apparent “feel” of the server compared to a hardware RAID solution.

Hardware RAID’s okay but now you’ve got a proprietary format array with a SPOF (the RAID card(s))—sure you can keep spare RAID cards around but honestly unless you need every last bps on your network transfer and you’ve got your server so overloaded that SW RAID is impacting your performance you’re just incurring extra expense. I am very happy that I can take any RAID array I have and throw it in another system should a motherboard or controller fail and I need the system up immediately. I’m very happy that LVM Just Works and works happily on top of software RAID. There’s no issues and no extra question marks like there are with any hardware RAID “solution”.

Want beeping? Write a script. Want email/phone/paging when something goes wrong? Write a script. Or use any of the monitoring and alerting systems you can find on Freshmeat (mon, nagios, etc.). Jesus H Christ, give your head a shake.

Oh wait, you’re trying to build a performance system using an OS built for pushing pixels. Perhaps that is your biggest problem. Windows has its place, but high performance data transfer just isn’t one of them. I guess if you’ve decided to spend a couple hundred on an OS license that gets you nothing you may as well blow another couple hundred to get hardware to go with it.


izdzēš rindiņu kas satur
sed -i '/'

sed -i ’s/a/b/’ fails

CD rakstīšana no konsoles

cdrecord -v speed=12 dev=ATAPI:0,1,0 -data path/to/image.iso

Code Complete

Code Complete, 2d Ed ir vērts palasit!


A is for awk, which runs like a snail
B is for biff, which reads all your mail
C is for cc, as hackers recall
D is for dd, the command that does all
E is for emacs, which rebinds your keys
F is for fsck, which rebuilds your trees
G is for grep, a clever detective
H is for halt, which may seem defective
I is for indent, which rarely amuses
J is for join, which nobody uses
K is for kill, which makes you the boss
L is for lex, which is missing from DOS
M is for more, from which less was begot
N is for nice, which really is not
O is for od, which prints out things nice
P is for passwd, which reads in strings twice
Q is for quota, a Berkeley-type fable
R is for ranlib, for sorting a table
S is for spell, which attempts to belittle
T is for true, which does very little
U is for uniq, which is used after sort
V is for vi, which is hard to abort
W is for whoami, which tells you your name
X is, well, X, of dubious fame
Y is for yes, which makes an impression, and
Z is for zcat, which handles compression

(no slashdot komentāriem)

pirmdiena, janvāris 10, 2005

Douglas Adams

He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

svētdiena, janvāris 09, 2005

Douglas Adams

“Now it is such a bizarrely improbable coincidence that anything so mindboggingly useful could have evolved purely by chance that some thinkers have chosen to see it as the final and clinching proof of the non-existence of God.
“The argument goes something like this: ‘I refuse to prove that I exist,’ says God, ‘for proof denies faith, and without faith I am nothing.’
“‘But,’ says Man, ‘The Babel fish is a dead giveaway, isn’t it? It could not have evolved by chance. It proves you exist, and so therefore, by your own arguments, you don’t. QED.’
“‘Oh dear,’ says God, ‘I hadn’t thought of that,’ and promptly vanished in a puff of logic.
“‘Oh, that was easy,’ says Man, and for an encore goes on to prove that black is white and gets himself killed on the next zebra crossing.
/DA.The Hitch Hikers Guideto the Galaxy

svētdiena, janvāris 02, 2005