.pQd
[pl] to nie jest kraj dla mlodych ludzi
Film Fundacji Republikańskiej – To nie jest kraj dla młodych ludzi http://www.youtube.com/watch?v=LHG3bm_MvRk jako bonus: http://www.youtube.com/watch?v=S5HOP82rsso – grzegorz braun, cork. http://www.youtube.com/watch?v=aFbPq8UxFb4 – ziemkiewicz
Benford’s law
by a coincidence [process well described in this xkcd’s comics] i’ve stumbled on the definition of Benford’s law. since i have access to quite a lot of different economic & financial data i’ve decided to check if that law applies also to it.
morocco
in search for some February sunshine i’ve spent 11 days in Morocco.
extracting single database from a [large] mysqldump or pg_dump
MySQL: extracting the whole database: sed -n '/^-- Current Database: `databaseName`/,/^-- Current Database: `/p' /path/to/the/fill/dump.sql > output.sql single table: sed -n '/^CREATE TABLE `tableName`/,/^\-\- Table structure for table /p' /path/to/the/fill/dump.sql > output.sql [via this blog] PostgreSQL: pv dump.sql | perl -ne 'print if /^COPY public.name_of_the_table/ .. /^\\\.$/' > out.sql [ via https://stackoverflow.com/a/62289905 ]
aspies
few articles about mild form of autism: Jeff Atwood – Software Developers and Asperger’s Syndrome Tracy Mayor/computerworld – Asperger’s and IT: Dark secret or open secret? sounds familiar?
cloning the server using rsync
braindump of things to do/directories not to copy when cloning physical debian to a vm using rsync
sopa/pipa/acta
while sopa/pipa legislation in the US seems to be postponed after a wave of protests acta in EU/Poland is doing just fine; acta possibly will be ratified [at least in Poland] without much of the mainstream attention. is pushing this law through the EU parliament going to be the only ‘success’ of otherwise pathetic polish ... Read More
Quants: The Alchemists of Wall Street
http://www.youtube.com/watch?v=ed2FWNWwE3I
surge 2011 presentations
playlist: here most interesting [to me] talks: Keynote ~ Ben Fried A journey through the full stack in search of performance and reliability Theo Schlossnagle – Closing Plenary Theo Schlossnagle – Architectures for real-time data Scaling Etsy: What Went Wrong, What Went Right
[pl/en] Czeczenia / Chechnya
Czeczenia – Cena prawdy / Chechnya – the price of truth. http://www.youtube.com/watch?v=fFzKh9ls5YI http://www.youtube.com/watch?v=_VTTwVJojxQ http://www.youtube.com/watch?v=VIICOHGz94Q http://www.youtube.com/watch?v=9XZKSJLZeso http://www.youtube.com/watch?v=IkCkbzoomnM http://www.youtube.com/watch?v=FkeUeLj1t_0 Chechnya The Dirty War http://www.youtube.com/watch?v=k_2medFkNhI another movie by the same director [ Mariusz Pilis ] Exit afghanistan – http://www.youtube.com/watch?v=Wo-R_Yp2py0
switching reverse proxy from apache2 to nginx
i’ve been planning for a while to move away from apache2 as a reverse proxy in front of java appservs and start using nginx. i had two reasons: nginx can handle much better large number of concurrent connections [something we can make use of if we start using long-poll/comet], nginx gives more control over buffering ... Read More
Justice with Michael Sandel
pop-philosophy [aka the light version] with a political edge: http://www.justiceharvard.org/. playlist on yt. i’ve converted all of the lectures to mp3 [using this] so now i have something to listen to during the evening walks. as a counterbalance to the ‘soft’ stuff – 28c3 recordings: http://events.ccc.de/congress/2011/wiki/Documentation, and a list of talks; most interesting [for me] ... Read More
new sphinx, new connector/j headaches
sphinx 2.0.3 is out; and as new drama of getting mysql’s connector/j begins. i did not figure out [yet] any way of making both work using the latest 5.1.18 connector, but at least i’ve managed to convince one that i use now [ 5.1.15 ] to work with sphinx. what works: mysql-connector-java-5.1.13-bin.jar but.. only if ... Read More
excluding some mysql queries from the slow query log
i keep close eye on the mysql-slow.log log of queries that take more than 1s to execute. but at the same time i know about few house-keeping queries that are executed few times per day that by design take longer to execute [eg table checksums]. i don’t want those queries to ‘pollute’ the slow query ... Read More
ossec-syscheckd(1702): INFO: No directory provided for syscheck to monitor; Segmentation fault
i’m playing around with ossec 2.6. i’m trying to set up server for agentless monitoring of multiple linux boxes. after installation [where i answered no for most of the question] i’ve run into the following problem: to make things work and not segfault on config generated by the installer i had to modify /opt/ossec/etc/ossec.conf and ... Read More
java7, XMLEncoder problems
for the last few days i’ve been looking into java7… it surely seems faster. but also some of my old code broke when run under it.
[pl] Historia III RP
cz. I – lata 80 http://www.youtube.com/watch?v=Elq5igrZFZM cz. II – okragly stol http://www.youtube.com/watch?v=WmxqjIJB1LU cz. III – wybory czerwcowe http://www.youtube.com/watch?v=Eees8BExTy4
ghettovcb hangs while removing the snapshot
i’ve upgraded few vmware esxi 4.1 servers with the latest patches and… obviously something got broken. i use ghettoVCB script to take weekly snapshots of the vms. scripts hanged last night on all servers.