-
This is the web site for the Third Edition of Linux Device Drivers, by Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman. For the moment, only the finished PDF files are available; we do intend to make an HTML version and the DocBook source avail
-
…The solution was to measure how fast the query was scanning rows in the table scan of the fact table. This is shown by the Handler_read_rnd_next status variable. Here’s an easy way to watch it (innotop is another handy way):
1. mysqladmin extended -r
Mês: abril 2008
links for 2008-04-29
-
>> require ‘shellwords’
=> true
>> Shellwords::shellwords(‘foo “bar baz” qux’)
=> [“foo”, “bar baz”, “qux”] -
CREATE TABLE bar LIKE foo;
INSERT INTO bar SELECT * FROM foo;
links for 2008-04-28
-
After you install it, you can invoke it by selecting Tools -> Configuration Mania. You will be presented with five tabs: Browser, Security, HTTP Network, UI, and Debug, with Browser as the displayed default. With these you can configure some of the browse
-
Xdebug’s Profiler is a powerful tool that gives you the ability to analyze your PHP code and determine bottlenecks or generally see which parts of your code are slow and could use a speed boost.
-
templates…
-
boas referências…
links for 2008-04-25
-
um jeito legal de navegar no código do moodle…
-
“As mentioned, radix trees are useful for constructing associative arrays with keys that can be expressed as strings. They find particular application in the area of IP routing, where the ability to contain large ranges of values with a few exceptions is
links for 2008-04-24
-
Quine-McCluskey two-level logic minimization method.
-
muita coisa boa por aqui…
“vim file +54 // open file and go to line 54 // any : command can be run using + on command line” -
“So rather than just blindly trust that Hpricot was faster than REXML for my next project I whipped up a quick benchmark.”
“Wow – at least with the type of XML data I’ll be working with, REXML is massively faster.” -
evitando confusão entre nomes de tabelas e funções
ex.:
CREATE TABLE `log`(
name CHAR(20) NOT NULL, …
Vim: vai para coluna 15
`15|`
Essa combinação (15 “pipe”) posiciona o cursor na coluna 15 da linha atual.
É lindjo….
[http://www.pixelbeat.org/vim.tips.html](http://www.pixelbeat.org/vim.tips.html)
Devilspie: organizando as coisas nos desktops
$ sudo apt-get install devilspie
$ cat ~/.devilspie/DesktopConsole.ds
(if
(matches (window_name) “Amarok”)
(begin
(set_workspace 3)
)
)
(if
(matches (window_name) “Terminal”)
(begin
(set_workspace 2)
(geometry “1280×800”)
)
)
(if
(matches (window_name) “Firefox”)
(begin
(set_workspace 1)
(geometry “1280×800”)
)
)
$ devilspie
Isso e adicionar o devilspie na inicialização do Gnome indo em `System -> Preferences -> Sessions -> Startup Programs` faz com que o Amarok sempre vá pra terceira workspace, os `gnome-terminal` para o segundo e o Firefox pro primeiro. É claro que isso não impede que após aberto o programa seja mudado de workspace. Também a janela as vezes pisca na tela antes de ser posicionada na workspace correta. Mas ainda assim acho que isso vai me poupar algum esforço.
créditos: revista full circle, sétima edição, novembro de 2007, “get a terminal on your desktop”, escrito por Dimitar Boichev – http://fullcirclemagazine.org/issue-7/%5B%5D(http://fullcirclemagazine.org/issue-7/)
links for 2008-04-22
-
– Chunf… as pobres crianãs só queriam sapatos novos…!
– Querida, você não pode ver esses filmes iranianos
==Duas horas atrás==
– Tia, um trocadi… ai!
– Não encosta, peste! -
bibliotecas ruby relacionadas à inteligência artificial