LiveJournal for Pēcis Beisikāns.
|
|||||||||||
| Monday, April 5th, 2004 |
|
||||
|
So what if there are 900 audio players, or hundreds of Perl modules doing similar stuff? Do we lecture nature about the inefficiency of having so many different species of birds? (no slashdot komentāriem) |
||||
|
|
| Monday, March 29th, 2004 |
|
||||
| Object Orientation: a joke. | ||||
|
|
| Wednesday, March 24th, 2004 |
|
||||
|
||||
|
|
| Sunday, March 21st, 2004 |
|
||||||
|
Oh it *is* an art. Sadly it's the type of art where they paint with feces. (no slashdot komentāriem) |
||||||
|
|
| Friday, March 19th, 2004 |
|
||||||
|
The garbage collector does _not_ play well with the swap file. It causes each page belonging to the Java heap to be regularly paged in. Often. Several times per garbage collection pass, in fact. So whereas a system which stuck to C or C++ will still run at full speed when I load 550 MB of programs in a 512 MB of RAM, a 100% Java system would trash to death at that point. (In fact, see point 2: much sooner than that.) Or if only 300k out of that is Java stuff, it will act all elbows to the other apps. It will keep bringing its own pages in, and forcing everyone else to do with less memory. (no slashdot komentāriem) |
||||||
|
|
| Friday, March 5th, 2004 |
|
||||
|
Educational Materials to Assist in Instruction of Information Hiding Basics Vibha Sazawal, Ken Yasuhara, and Neil Spring 10 May, 2002 Abstract Information hiding is an essential, often misunderstood, topic of any undergraduate software engineer- ing course. To assist in the instruction of information hiding basics, we created the following high-quality educational materials. 1 Verbal Notes for the Instructor Please recite these notes verbatim. Maintaining close accordance to the melody of Depeche Mode's "Policy of Truth" will increase the quantity of learning. ( ... tālāk ... ) |
||||
|
|
| Thursday, December 4th, 2003 |
|
||||||
|
99 little bugs in the code, 99 bugs in the code, fix one bug, compile it again... 101 little bugs in the code.... |
||||||
|
|
| Tuesday, November 11th, 2003 |
|
||||
| ja gadās gatavoties darba intervijai. | ||||
|
|
| Monday, November 10th, 2003 |
|
||||
|
req4help ------- kaadam ir kaadas idejas kaa ieksh java (ar defaulto CORBA implementaaciju), ar pietiekami augstas logjikas izsaukumu dabuut klienta ip? |
||||
|
|
| Tuesday, November 4th, 2003 |
|
||||||
|
Questioner: How do I sell my executive team on doing this stuff? Jim Highsmith: Don't. Just do it. They don't know what you're doing anyway. |
||||||
|
|
| Monday, November 3rd, 2003 |
|
||||||||||
|
Esmu gatavs izsaukt Manuprāt Python ir tāda advancēta spēļmantiņa koderiem (scripteriem). Vismaz .lv apstākļos toč. No otras puses, Python varētu tikt dēvēta par Perl nākamo pakāpi :) Sue me. |
||||||||||
|
|
| Friday, October 31st, 2003 |
|
||||||
|
Trīs vienkārši uzdevumi, nav vienas pareizās atbildes. C++,Java, Pascal, PHP, Pike, Prolog, Python, VB.NET Parādi savu valodu! http://smejmoon.lv/lsl/ |
||||||
|
|
| Wednesday, October 29th, 2003 |
|
||||
| please remove your debugging comments from code | ||||
|
|
| Thursday, October 23rd, 2003 |
|
||||||
|
I doubt very highly that your instructors will tell you how to handle all the nasty little things that can occur when humans work in groups: backstabbing, stonewalling, sabotage, etc. The sad truth is that the people who do actually learn about these tactics (under the guise of "organizational behavior") are MBAs, the people who end up being managers. Folks, the deck has been stacked: The MBAs have been given whips, and the CS majors have all been given saddles. uzreiz pēc "Surviving DeathMarch" iesaku uzmest aci šim... Software Exorcism: Tactics for Maintaining Legacy Code |
||||||
|
|
|
||||
|
What Java has removed from C++: (p.902) * Java does not allow the goto.New features added by Java: (p.904) * The break and continue statements have been enchanced in Java to accept labels as targets.--Java TM 2: The Complete reference |
||||
|
|
|
||||
| cilveeciigs IDL failu (taadaa formaataalai to CORBA saprastu) editors ir? | ||||
|
|
|
||||
| disassembler desktop | ||||
|
|
| Tuesday, October 14th, 2003 |
|
||||||
|
|
| Tuesday, October 7th, 2003 |
|
||||||
|
Robin [...] was once asked during a job interview: "What's your favourite design pattern?" What's the correct response to that? "Oh, Decorator every time! Yeah, I use it for everything!" ![]() (Software Fashion Victim) |
||||||
|
|
| Sunday, October 5th, 2003 |
|
||||
|
"Don't worry about the documentation, we need this thing running yesterday!" Well guess what, tomorrow it will be broken and no one will know what the fuck it is and rewrite it. Of course, he said the above quote on the third rewrite. (no kuro5hin) |
||||
|
|
| Friday, October 3rd, 2003 |
|
||||||
|
Richard Gabriel ideju Ralph Johnson un Brian Marick bīda to Ilinoisas universitātē. http://www.testing.com/cgi-bin/blog/200 redzēs, kas sanāks. ;-) Ward Cunningham ar kautko tamlīdzīgu pa perifēriju ņemās jau gadiem. |
||||||
|
|
| Wednesday, October 1st, 2003 |
|
||||
| tas iedvesmo programmēt... | ||||
|
|
| Tuesday, September 30th, 2003 |
|
||||
|
James Gosling (java tēvs) weblog: http://weblogs.java.net/jag/ |
||||
|
|
| Friday, September 26th, 2003 |
|
||||||
|
Vai jums kādi ieteikumi/pieredze ar unit test framework priekš C/C++? Gribētos, lai būtu mazs, vienkāršs un neizmantotu papildus bibliotēkas (tikai libc). Update: šobrīd apsveru domu izmantot MinUnit. But the important thing about unit testing is the testing, not the framework. |
||||||
|
|
| Thursday, September 25th, 2003 |
|
||||||
|
http://www.python.org/2.3.1/ btw, atgādinu, ka kruta Python IDE ir Boa Constructor : http://boa-constructor.sourceforge.net/ |
||||||
|
|
|
||||||
|
Man parādījās mazliet brīvāks laiks, tādēļ nolēmu izmantot early access iespēju un mazliet paspēlēties ar nākamo Java 1.5. ( Lasīt tālāk ) |
||||||
|
|
| Wednesday, September 24th, 2003 |
|
||||
|
software development should be more like the way buildings are constructed hehe |
||||
|
|
| Sunday, September 21st, 2003 |
|
||||||
| don't fuck'n mix up spaces and tabs in the same file | ||||||
|
|
| Thursday, September 11th, 2003 |
|
||||
|
Pastkaste jau dienas četras piecas kā izslaucīta, domāju jāpārbauda. Izrādās, tiešām, nepienāk. Taču man patīk paziņojums 62.85.***.*** does not like recipient.</blockquote>
|
||||
|
|
|
||||||
|
Uzlaboju programmas ātrdarbību no 1.58 minūtēm uz 5 sekundēm (ievaddatos fails ar 1416 rindiņām). Tā vietā, lai izsauktu padding() metodi, kas aizpilda lauku līdz vajadzīgajam garumam ar atstarpēm (" "): 1. konstruktorā izveidoju String objektu (fill), kas sastāv no 2048 atstarpēm (maksimālais lauka garums) 2. padding() izsaukuma vietā izmantoju fill.substring(0, <nepieciešamais garums>) Tagad kādu nedēļu varēs liekt pirkstus, lielīties par šo faktu un nestrādāt. |
||||||
|
|
| Tuesday, September 9th, 2003 |
|
||||||
|
by jmorse (90107) <joe_w_morse@nosp> on Tuesday September 09, @03:08PM (#6913250) (http://www.descendents.com/ | Last Journal: Tuesday April 29, @12:25PM) Tracking #: 121144608 Title: Bush robot constantly makes grammatic mistakes and makes up words. Problem Detail: Corporate puppet robot model George W. Bush (serial #44625441) exhibits erratic grammatical behavior when deviating from scripted speeches. Often uses words like "subliminable", "methodological", "mispronunciated", "stregic", and "permanency" in place of their English equivalents. Platinum users (Haliburton, Exxon/Mobil, Chevron, Bechtel, Kenneth Lay) have noticed other erratic grammatical behavior, including such phrases as "is our children learning", "we need to make the pie higher", and "will the highways on the internet become more few". Strongly suspect some Jim Beam spilled into the model's grammar logic circuits during an all-night instructional binge session with Barbara and Jenna. Suggest immediate implementation of gaffe-filtering algorithm on all corporate media modules to limit the damage from this bug. Problem Resolution: Media filters in place as of 12 SEP 2001. Language errors are no longer being reported in the corporate media. Suggest further workaround of detaining at Guantanamo Bay register all non-corporate media modules that are incompatible with gaffe-filtering algorithm. (no slashdot komentāriem, protams) |
||||||
|
|
|
||||||
|
Neilgu laiku atpakaļ, kad vēl strādāju diezgan pazīstamā Latvijas IT uzņēmumā, kas (mājiens) cita starpā hostē lielāko Latvijas php resursu, kā darba uzdevumu saņēmu uzdevumu uzrakstīt php skriptu, kas no kāda diezgan liela informatīva rakstura portāla savāc informāciju par kinoteātriem (filmas, laiki, vietas, filmu apraksti, utt.). Neesmu pārliecināts, bet man ir aizdomas, ka, pirmkārt, šis pats skripts tiek izmantots vēl šobaltdien, otrkārt, portāla īpašniekiem joprojām nav nekādas nojausmas par šīm darbībām ar viņu portāla saturu. Paša skripta uzrakstīšana aizņēma apmēram divas stundas plus vēl tikpat divās nākošajās dienās, jo izrādījās, ka nav nemaz tik vienots formāts visiem datiem. Portāla dizaina struktūra sastāv no vairākām nestētām tabulām, neskaitāmi daudziem <font> tagiem kā arī daudziem no šiem (un citiem) elementiem ir arī dažnedažādi style atribūti. Protams, pret visu nodrošināties nebija iespējams, tādēļ tika pieļauts apmēram 80% - 90% savācamo datu apjoms. Ja portāls būtu izveidots, dizainam izmantojot tikai css un html būtu minimāls, tīrs un viendabīgs, darbam būtu bijusi nepieciešama apmēram stunda vai divas un rezultāti tiktu ielasīti precīzi. Morāle: html rakstiet tīru un kārtīgu! |
||||||
|
|
| Tuesday, September 2nd, 2003 |
|
||||||
|
||||||
|
|
| Monday, September 1st, 2003 |
|
||||||
|
Kā visjēdzīgāk pārtulkot vārdu "custom" lietotāja interfeisā? "Izvēles"? "Izvērsts"? "Lietotāja definēts"? Ar domu, ka ir iepriekš definēti laika periodi, bet lietotājs var veidot "custom" savus. |
||||||
|
|
|
||||||
|
+ filtri - metam ārā vēstules, kas izskatās pēc spama - kādam jāatjauno informācija + whitelist - atļaujam ienākt vēstulēm no noteiktiem adresātiem - jebkurš (piem. vīruss) var nosūtīt vēstuli, no atļautas adreses izskatās, ka jāsāk popularizēt un ieviest PGP un līdzīgas lietas vēstuļu parakstiem, kombinējot to ar whitelist. kādi citi varianti? |
||||||
|
|
| Saturday, August 30th, 2003 |
|
||||
Refaktoring. Slovo kakoe-to nehoroshoe - mozhet bit potomu shto slovo "fak" v nem jest.PHP Tips & tricks (PDF; 1,62 MB) |
||||
|
|
| Friday, August 29th, 2003 |
|
||||||
|
http://blogs.gotdotnet.com/cbrumme |
||||||
|
|
| Wednesday, August 27th, 2003 |
|
||||||
|
Kāds var ieteikt kādu metodi, ar ko varētu žurnāla stilā nomainīt %%daylong%% parametra tekstu no angļu uz latviešu valodu, t.i., lai Wednesday vietā parādītos Trešdiena, utt. Mēģināju ar JavaScript (ar kuru, tāpat, kā ar HTML, CSS utt. esmu uz jūs), bet izskatās, ka pie postēšanas jebkāds scripts tiek nogriezts. |
||||||
|
|
| Monday, August 25th, 2003 |
|
||||||
|
Pieķēru savu sīko brāli, lasot žurnālu. Manu. 5 minūšu laikā uztapa risinājums. Žurnāla stilā iekš <style> tagiem ievietojam rindinju:@import url('http://janciigais/skripts.php');Bet skripta failā ieliekam aptuveni šādu tekstu: <?Protams, pēc kādiem parametriem katrs atpazīs savu datoru, un to, ka tas nav viņa paša profils, ir katra paša izvēlē. |
||||||
|
|