LiveJournal for Pēcis Beisikāns.

View:Par lietotāju.
View:Draugi raksta.
View:Kalendāra skats.
View:Izlase.
You're looking at 40 entries, after skipping 180 newer ones. Missed some entries? Then simply jump back 40 entries or forward 40 entries.

Friday, April 1st, 2005

Pulkstens:18:14
Posted by:watt.
mind->toBlog() : possible null pointer dereference
1 jau ierakstīja | Varbūt tu ko ierakstīsi?

Tuesday, March 29th, 2005

Doma:Uzrakstiishu par software development
Pulkstens:17:10
Posted by:zverj.
Runa nebuus par kaut kaadaam konsoles aplikaacijaam, web lapinjaam, bet par normaalaam ofisa programmaam (nu tipa graamatvediiba etc). Saakumaa visi kodeeja text rezhiimaa, taalaak progress tika liidz tam ka populaars bija visual basic, tad delphi. Tagad cilveekiem iepatikaas ideja par web applikaacijaam. Taadeelj, ka nav jaainstallee uz datora jaunu versiju pie katraam izmainjaam. Viss buutu ok, tikai HTML nav domaats tam. Nu ko, bars ar koderiem protams skrien un ar JS paliidziibu meegjina kaut ko muhljiit. Ar Mozillas XUL var daudz ko panaakt, tikai joprojaam visi aizmirst par dazhaam svariigaam funkcijaam kaa printeeshana, straadaashana ar klaviatuuru, popup windows taadiem kaa tie jaabuut etc. Ko tauta lieto shaadu applikaaciju veidoshanai?

Nee vienkaarshi apskatiijos iTunes un ideja ir baigi gjeniaalaa. Respektiivi tas shopa kontents un funckijas atrodas uz servera, pasha applikaacija ir tikai pleijeriitis uz browsers, kursh servera xml paarveido par normaalu skataamu lapu. Vai mosh kaads piebiedrosies uztaisiit Framework vai kaa tur vinju saukt, kursh graabj nost xml datus un paarveido. Realizaacija. Serverside - php, clientside - mono (C#) + gtk# (nu lai vareetu gan uz windows, gan linux, gan uz mac darbinaat). Par glade es gan negribeetu piekrist, jo taas funkcijas vinjsh izpilda lokaali, bet gribeetos, lai taa browsera kodu peec tam visu laiku nebuutu jaamaina, respektiivi, lai automaatisku posteetu visus variables un eventus uz serveri, kursh peec tam to visu izparsee. Mosh kaut kas liidziigs jau ir izveidots? Kuru interesee taads projektinjsh?
11 jau ierakstīja | Varbūt tu ko ierakstīsi?

Saturday, March 12th, 2005

Doma:PHP soliņu iezīmēšana
Pulkstens:23:01
Posted by:nfoworm.
Links nācis no Kaklz'a bloga - brašie leišu bāleņi ir pamocījuši PHP dažādos veidos, lai noskaidrotu, kas tad ir ātrāks: http://www.php.lt/benchmark/phpbench.php

Varbūt, ka kādu no mums tas arī interesē?
5 jau ierakstīja | Varbūt tu ko ierakstīsi?

Wednesday, March 2nd, 2005

Doma:Windows API + PHP
Pulkstens:17:56
Posted by:nfoworm.
Rakstam PHP aplikācijas kā Windows aplikācijas GUI videi - WinBinder: http://www.hypervisual.com/winbinder/

Pagaidām tas viss vēl ir bērna autiņos, taču šo to reālu jau ir iespējams izveidot.

Vēl viens līdzīgs risinājums - win32std: http://wildphp.free.fr/wiki/doku.php?id=win32std:index
6 jau ierakstīja | Varbūt tu ko ierakstīsi?

Tuesday, February 22nd, 2005

Doma:Jautājums par CVS
Pulkstens:15:51
Posted by:src.

Kādi rīki tiek izmantoti ērtai history pārlūkošanai?

Noteikti pastāv kāds risinājums ar history logošanu datubāzē.

Padalieties ar pieredzi, nav vēlmes no jauna izgudrot riteni.

3 jau ierakstīja | Varbūt tu ko ierakstīsi?

Wednesday, February 16th, 2005

Pulkstens:17:13
Posted by:watt.
"How will this software get my users laid" should be on the minds of anyone writing social software (and these days, almost all software is social software).

(of jwz)
Varbūt tu ko ierakstīsi?

Wednesday, February 9th, 2005

Doma:Illuminatus!
Pulkstens:22:30
Posted by:watt.
...it develops that Alan Kay is an agent of the Underground, which is called Dobbs' Lightning because of Heraclitus' idea that Dobbs first manifested Himself as a lightning bolt which created the world.

It was in Dobbs' Lightning that I first read Tux Sneezed, which I still think is a rip-roaring good yarn. The scene where Atlanta Hope sees Niklaus Wirth and it's her old *ahem* "boyfriend" with the gaunt cheeks, and he said "I am Bob Dobbs", man, that's writing. The 103-page long speech afterwards, explaining the importance of strong typing and showing why all the anti-Heracletians are destroying civilization by destroying strong typing, certainly is persuasive, especially to me who's got three (going on four) contracts, each of which share the same include files. "Without strong typing there can be no civilization."

Her nonfiction book, "Antitrust: The Unknown Ideal for the New Heracletian" is, I think, a distinct letdown, but the Dobbs' Lightning bumper stickers sure give people the creeps.

I met Atlanta Hope at the time of the IEEE Committee Riots. I was in the thick of it (you have no idea how bizarre civil war gets when one side uses nerf weapons as a large part of its arsenal), and met Atlanta herself where the last stand was being made. She grabbed my right arm and howled something like "War is the Health of the State! Conflict is the creator of all things!"

Seeing as how she was on a heavy Heraclitus wavelength, I quoted with great passion, "Men should fight for the Laws as they would for the walls of the city!" That won her, and I was Atlanta's personal lieutenant for the rest of the battle.

no slashdot komentāriem:
http://developers.slashdot.org/comments.pl?sid=138807&threshold=3&mode=flat&commentsort=0&op=Change
Varbūt tu ko ierakstīsi?

Sunday, January 30th, 2005

Doma:the only methdology you need to know
Pulkstens:10:45
Posted by:watt.
Politics-Oriented Software Development
http://www.kuro5hin.org/story/2005/1/28/32622/4244
Varbūt tu ko ierakstīsi?

Friday, January 7th, 2005

Pulkstens:01:36
Posted by:xoox.
Kādam kaut kur nemētājas Latvijas pasta indeksu datubāze? Vienam projektiņam nepieciešams atrast pasta indeksu pēc pilsētas un ielas. Alus garantēts.
4 jau ierakstīja | Varbūt tu ko ierakstīsi?

Thursday, December 9th, 2004

Doma:Derīgs resurss par lietojamību.
Pulkstens:11:24
Posted by:nfoworm.
Skatīt šeit: http://www.useit.com/
Varbūt tu ko ierakstīsi?

Thursday, November 25th, 2004

Doma:The Craft of Programming
Pulkstens:15:30
Posted by:grrr.
The Craft of Programming, by Alan Cooper.

I define craft the way the word was used hundreds of years ago, when a craftsman was a skilled expert who produced unique and highly valued practical objects that only the wealthy could afford.
Varbūt tu ko ierakstīsi?

Thursday, October 28th, 2004

Pulkstens:23:07
Posted by:grrr.
Here's the rest of the file. Wow.

//This file was written by XXXX Pro to make C++ easier for Pascal programmers.
... tālāk ... )
# re: #include "pascal.h" 10/27/2004 3:22 PM Jeff S

It's funny to see things defined as nothing, so they are ignored. Aparently for nice-reading code. This gives me some good ideas; you could do:

#define please
#define also
#define thanks
#define let

then you can write code like:

also please let a = 1 thanks
3 jau ierakstīja | Varbūt tu ko ierakstīsi?

Friday, October 22nd, 2004

Doma:Once more with feeling
Pulkstens:18:10
Posted by:grrr.
4-dimensional layout.
Nu, galvenais protams \m/ nosaukt kaut ko. Bet dažas no lietām interesantas.
Varbūt tu ko ierakstīsi?

Thursday, October 14th, 2004

Pulkstens:13:14
Posted by:grrr.
http://thedailywtf.com/archive/2004/10/13/2557.aspx#2559, no DailyWTF, par briesmīgu sortēšanas implementāciju ( O(n^n) ):

re: HowBigIsMyCallStackSort() 10/13/2004 3:21 PM chris

I admit to having done worse. I would state that it does not matter. Moreover, Big-O notation is important but does not take into account the bussiness-world-centric rules of development time vs runtime. If you know your datasets are smallish, a quick hack search with little development time is always better than a well thought out search that takes even just an hour or so longer.

This is precisely why I left the world of business applications.
2 jau ierakstīja | Varbūt tu ko ierakstīsi?

Tuesday, October 12th, 2004

Doma:Datu modeļi par velti?
Pulkstens:09:01
Posted by:grrr.
Neesmu vēl pats izpētījis - varbūt crappy modeļi, bet tik un tā interesanti:

http://www.databaseanswers.org/data_models/index.htm
Varbūt tu ko ierakstīsi?

Monday, September 27th, 2004

Pulkstens:23:07
Posted by:watt.
ģimene ir mirusi
Varbūt tu ko ierakstīsi?

Friday, September 3rd, 2004

Pulkstens:15:54
Posted by:watt.
structured exception handling will kill you
Varbūt tu ko ierakstīsi?

Wednesday, August 25th, 2004

Pulkstens:23:24
Posted by:grrr.
#338364 +(2108)- [X]

Saying that Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders
Varbūt tu ko ierakstīsi?

Monday, August 23rd, 2004

Pulkstens:13:57
Posted by:grrr.
Getting back to the subject of scientific method and its possible application to programming, readers may be interested in the observation of Thorngate, who offers that a theory/model cannot simultaneously be general, accurate and simple. It's like a one-armed clock: it can point to any of these three or in between them, but no more.

I see this a applicable to the classification of a requirement: the collection of them cannot simultaneously be general, accurate, and simple.

Does this help?

Thorngate, W. (1976). "In general" vs. "It depends": some comments of the Gergen-Schlenker debate. Personality & Social Psychology Bulletin, 2, 404-410.
Varbūt tu ko ierakstīsi?

Tuesday, August 17th, 2004

Doma:par specifikācijām
Pulkstens:14:43
Posted by:src.

Most developers are morons, and the rest are assholes.

Es arīdzan peldu kaut kur pa vidu šiem tipiem.

5 jau ierakstīja | Varbūt tu ko ierakstīsi?

Tuesday, July 20th, 2004

Doma:Priekšlikums.
Pulkstens:22:38
Posted by:filozofs.
Tā, puiši un meitenes! Griežos pie jums ar tādu lietu - SC vajag fīču. Fīču tādu, lai varētu iegūt svešu jūzeru postus ar visiem komentāriem, utml, machine-readable format'ā.

* XML paskatās ar "samirkuša suņa" skatienu..

Nafig?
Tādēļ, lai es varētu izveidot pilnvērtīgu WAP SC klientu, padarīt visus atkarīgus no manas labvēlības un galu galā - izmantojot politisko reklāmu WAP lapā, gāzt valdību, no sākuma tikai Latvijā, pēctam arī visā pasaulē. Un vispār tas varētu būt diezgan noderīgi..

Viens no variantiem kā to varētu izdarīt - izveidot globālu s2 stilu, pēctam pieprasot http://journal.bad.lv/~kaku_lacis/?s2id=666 iegūt viegli parsējamu XML failu.

Uzslavas, spams un fleims komentāros.
Veiksmīgu dienu vēlot, Guncha.
8 jau ierakstīja | Varbūt tu ko ierakstīsi?

Pulkstens:11:40
Posted by:watt.
A lot of people have opined that VB.NET and C# are in many ways the "same language", just with different syntax. If you were to take a chess board and change it from black and white to red and blue and you renamed all the pieces, but didn't change the more fundamental rules about the ways the pieces moved, the new game would in a very real sense be "the same game as chess," right? Whether VB.NET and C# really are in that sense mere syntactic variations on each other is a debatable point -- I think it is not nearly so cut-and-dried as some people think. There are a lot of reasons I think that, and I don't want to go into all of them today. One of the most interesting and important to me though is the most ineffable -- the "spirit" of a language in many ways both transcends its syntax and suffuses some small decisions in interesting ways.
 
Varbūt tu ko ierakstīsi?

Monday, July 5th, 2004

Pulkstens:00:40
Posted by:watt.
Macintosh folklora
(OK/Cancel dialogs agrāk izskatījās citādi)
Varbūt tu ko ierakstīsi?

Tuesday, June 29th, 2004

Pulkstens:00:12
Posted by:grrr.
It's too cheap to quickly pump out code, then run it by QA. You don't even need a shoddy programmer to do it...just pile too many high-priority near-deadline tasks on a good programmer. (Which is all too likely...if you build a reputation for getting things done, you'll get landed with a workload that would put a tech-support guy in a funny farm.)

Re:Uhh.. (Score:5, Insightful)
by C.Batt (715986) on Monday June 28, @02:12PM (#9552708)
(http://uberzeugung.net/)
As one of those "good" programmers with a reputation for getting things done, I must concur with your statement. In fact I've observed that the first thing cut from most project budgets, if it's even included in the first place, seems to be adequate technical QA. There's lots of emphasis on meeting business requirements/application feature goals, but very little on engineering quality under the hood.
Part of the problem is that enforcing best practices and doing techincal QA is both time consuming, and expensive, not to mention boring as all heck. So there isn't much motivation to do it. Bad, bad attitude and we're paying the price.

BINGO! (Score:4, Insightful)
by sterno (16320) on Monday June 28, @02:51PM (#9553155)
(http://www.bigbrother.net/)
The problem is that QA and development of good specifications prior to a project have a huge impact on the quality of the product that results. Having said that, QA and specifications are never seen directly by the outside world.

Most programmers I know WANT to write good code but have the odds stacked against them. They aren't given the time and resources to do the job well. When it's crunch time, security and quality are the first things to go because they are less likely to get canned over a bug than over a completely missing feature.


Varbūt tu ko ierakstīsi?

Pulkstens:00:07
Posted by:grrr.
Indeed, as I write this, I see that Microsoft, Intel, and AMD have jointly announced a new partnership to help prevent buffer overflows using hardware controls. In other words, the software quality problem has gotten so bad that the hardware guys are trying to solve it, too.

http://acmqueue.com/modules.php?name=Content&pa=showpage&pid=160
Varbūt tu ko ierakstīsi?

Thursday, June 17th, 2004

Doma:BUG:
Pulkstens:19:54
Posted by:xoox.
Visual C++ makes an audible signal when a build completes. When no developer is in the room, this signal doesn't make a sound.

Steps to reproduce...
3 jau ierakstīja | Varbūt tu ko ierakstīsi?

Friday, June 11th, 2004

Doma:Oral Documentation - Not Worth the Paper It's Written On
Pulkstens:15:47
Posted by:grrr.
http://www.hacknot.info/hacknot/action/showEntry?eid=57
When it comes to the maintenance and extension of legacy code, and clearing the organizational hurdles associated with the handover of code from one party to another, a reliance on "face to face" communication is very convenient for the first generation of developers, and a chain around the leg of every other developer and organization involved thereafter.
10 jau ierakstīja | Varbūt tu ko ierakstīsi?

Friday, June 4th, 2004

Doma:GUI, kas tīši izskatās nepabeigts
Pulkstens:12:39
Posted by:smejmoon.
http://napkinlaf.sourceforge.net/
Varbūt tu ko ierakstīsi?

Monday, May 31st, 2004

Doma:google:// un imdb://
Pulkstens:08:06
Posted by:elfz.
Par cik šī ideja mani sajūsmināja, tad nu iespamoju arī šai kopienā.

[info]cu pasvieda ideju par google://whatever un imdb://whatever stila linku lietošanu, un izveidoja python skriptiņus priekš tiem, kas zin, kas ir FireFox un kas ir Python. Man ideja iepatikās, un tāpēc radās mazs jauks tuļķītis, kas, uzinstalēts, ļaus šāda stila linkus lietot arī parastiem mirstīgiem.
Šim pasākumam ir atvēlēta vesela lapa - http://elfz.laacz.lv/google/.
Jāpiebilst, ka win95 un win98 dēļ izmantotā unicode kodējuma šobrīd netiek atbalstīts. Ja būs vēlme un atsaucība, šo ķezu novērsīšu.
Gariem zobiem, bet atbalstīts tiek.
5 jau ierakstīja | Varbūt tu ko ierakstīsi?

Thursday, May 27th, 2004

Pulkstens:13:03
Posted by:aiks.
Šodienas veiksmīgākais atradums: Flash remoting for python.
Jau labu laiku tādu brīnumu meklēju un arī atradu kautkādā ķīniešu Wiki communitijā
3 jau ierakstīja | Varbūt tu ko ierakstīsi?

Wednesday, May 26th, 2004

Pulkstens:21:19
Posted by:watt.

All physical computers are equivalent to finite state machines, due to the fact that their memory is not infinite.

A computer with 64 megs of RAM along with 8 32-bit registers has a total of 536871168 bits of memory. Hence, such a machine can take on a finite number of states, namely: 2^536871168 states.

It's a collossal number of states, but the fact is, all computers with finite memory are finite state machines.

Varbūt tu ko ierakstīsi?

Pulkstens:15:46
Posted by:smejmoon.
Harcore Java is when two threads are going at it while their parents are sleeping.

./
Varbūt tu ko ierakstīsi?

Monday, May 24th, 2004

Pulkstens:16:26
Posted by:watt.
It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require him to write a DestroyCity procedure, to which Baghdad could be given as a parameter. (Nathaniel S Borenstein)

If we wish to count lines of code, we should not regard them as lines produced but as lines spent. (Edsger Dijkstra)


http://www.sysprog.net/quotlang.html (skatīt navigāciju pa kreisi)
Varbūt tu ko ierakstīsi?

Thursday, May 20th, 2004

Pulkstens:15:35
Posted by:watt.
There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies. -- C.A.R Hoare
Varbūt tu ko ierakstīsi?

Saturday, May 8th, 2004

Pulkstens:00:26
Posted by:watt.
starp citu, ja tu neko nezini par reality cracking, tu esi nulle.

tevi interesē standartizēti vienādie gurķi?
2 jau ierakstīja | Varbūt tu ko ierakstīsi?

Friday, April 30th, 2004

Pulkstens:13:33
Posted by:grrr.
Always code as though the person maintaining your code is a homicidal maniac who knows where you live.
Varbūt tu ko ierakstīsi?

Doma:Enter the matrix
Pulkstens:12:29
Posted by:grrr.
Kārtējais, bet jau zināmā mērā noderīgais:

http://www.kochandreas.com/home/language/matrix.htm

Perhaps you already encountered the situation - you read a bit about some less-mainstreamed language, and ask yourself : How in the world do they write an "hello world" with that?

This is where i want APLC to help. I want to collect implementations in various "languages", for a few trivial algorythms (bubblesort etc) and applications.
I call it an practical language comparison. That said, the "languages" compared should be actual language implementations, for actual platforms - rather "GCC 3.0.4 for Linux x86 using KDE 3.2" than "C", rather "Turbo Pascal" than "Pascal". I'll call these implementations languages from now on.

Varbūt tu ko ierakstīsi?

Tuesday, April 20th, 2004

Doma:Poll: Kādu source control sistēmu Tu lieto?
Pulkstens:19:03
Posted by:smejmoon.
Kods mainās un ir svarīgi to nepazaudēt, apskatīties vecākas versijas un veikt citas noderīgas darbības.

Poll #2233 Kādu source control sistēmu Tu lieto?
Open to: All, results viewable to: All

Kādu source control sistēmu Tu lieto?

5 jau ierakstīja | Varbūt tu ko ierakstīsi?

Tuesday, April 13th, 2004

Doma:хуйня война, главное маневры!
Pulkstens:13:13
Posted by:watt.
Death by UML Fever

(lasīt visiem, kas kaut ko projektē vai projektēs)
Varbūt tu ko ierakstīsi?

Wednesday, April 7th, 2004

Doma:Resign Patterns
Pulkstens:14:13
Posted by:smejmoon.
http://www.agcs.com/supportv2/techpapers/patterns/papers/respat.htm
Varbūt tu ko ierakstīsi?