April 18, 2009
if you got a Nyko
blu-wave and want to use it with Elisa:
svn co
https://jake.ruivo.org/uinputd/trunk/jsremote
and follow the README file :)
April 18, 2009 05:52 AM
October 14, 2008
after spending some time trying to get into advanced mode on
my second iogear KVM, I finally figured out what's wrong.
on the user manual it says:
1. press and hold clear key for two seconds.
2. press and hold minus key [-] key for one second.
3. release minus key [-] and within one second also release
clear key
when, in reality it should be:
1. press and hold clear key for two seconds.
2. tap on the minus key.
3. release clear key shortly after.
October 14, 2008 03:06 PM
March 13, 2008
I'm sick and tired of fixing cosmetic issues trying to add
support to PS3 bluetooth remote to linux (three months
redoing patches). I'll just leave the latest version of the
required patches here. good luck trying to get past the
fashion police.
http://ruivo.org/~aris/ps3_remote/
Yes, the patches do work.
If you have problems _using_ the patches, feel free to contact
me.
March 13, 2008 04:05 PM
November 06, 2007
Nao e' novidade pra quem me conhece que a maioria dos filmes na minha lista de melhores sao valetas. Geralmente gosto de ver um filme e me identificar com o personagem, compreender seus motivos e viver por duas horas a sua historia. Dentre os ultimos filmes valeta que me vem a mente:
Agora tem os filmes que passam do limite e sao canalhas. Canalhas no sentido de que o autor cria os coitados dos personagens e fazem eles sofrer do inicio ao fim do filme. Nao ha sorte ou final feliz. Nem a realidade de mau humor seria tao canalha. O filme em questao e' little children. Mesmo com pontas de otimismo, o filme e' totalmente sadico e faz voce se sentir bem ao fim dele, afinal seus piores problemas sao nada diante o que os personagens passam. Como uma personagem diz no meio do filme, se referindo ao livro Madame Bovary: "ela poderia viver uma vida infeliz ou se debater pra tentar ser feliz. ela escolheu se debater", assim fazem os personagens.
November 06, 2007 04:52 AM
September 30, 2007
August 28, 2007
|
|
|
(o que vem a seguir e' um texto que trata dos meus gostos. nao e' opiniao geral nem acho que todo mundo tenha que ter
a mesma opiniao)
quem me conhece sabe que nao dispenso um bom joguinho. atari, nintendinho ate chegar o pc. grandes classicos durante
toda a trajetoria. apesar de ter uma lista ate que variada de tipos de jogos, os FPS (jogos em primeira pessoa) sao os dominantes da
lista. tudo comecou ha anos atras quando vi Wolfenstein 3D.
eu mal tinha coordenacao nos dedos pra usar os direcionais do teclado mas passava tardes inteiras jogando na casa
de um amigo meu, mesmo sob protesto dos dedos que doiam. impressionante, se um soldado vinha pela esquerda, o
som saia na caixinha da esquerda! quando o Doom foi lancado, lembro
de nao ter gostado. era com certeza um novo classico, mas a tematica nao me cativava. veio entao Descent. primeiro jogo que estimulou o uso do mouse pra controlar. e era
realmente diferente porque era completamente 3D. entao veio o jogo que iria pra mim ser o segundo grande jogo:
Duke Nukem 3D. primeiro jogo a estimular os "seriais": dois
ou mais na casa de alguem, com os computadores pra jogar durante a madrugada. o nome era "serial" porque no comeco
jogava um contra um, conectado via porta serial. placas de rede eram caras na epoca. comprar um hub? ta loco, carissimo,
o negocio e' usar cabos coaxiais! epoca de ouro aquela: DOS ainda era o sistema dominante e era uma mao de obra
lazarenta botar todas as maquinas pra funcionar (sempre tinha alguem que ia pro "serial" sem alguma coisa funcionando).
houve uma vez ate que perdi o disco rigido (queimou mesmo, maldito cooler jaguara) e tive que reinstalar na hora.
perto desta epoca, Quake foi lancado e depois Quake II. nenhum dos dois
tirou o trono de Duke Nukem. foi entao que resolvi um dia comprar, sem conhecer,
Unreal (calma, nao e' o Unreal Tournament ainda). cheguei em casa e
falei pra minha namorada "so' vou instalar pra ver como e'". duas horas depois, ela dormindo e eu jogando. Unreal foi o
primeiro jogo com historia e com elementos durante o jogo que aumentavam a imersao (mudanca de musica, sequencias
de eventos pre-programadas) que davam impressao de estar num filme. assim que a expansao foi lancada (pra minha sorte
em revista, muito mais barato :) comprei e joguei ate o fim. expansoes geralmente nao sao boas porque da a sensacao de
"ok, sobrevivi uma vez, vai ser facil nesta". entao vieram os reis do multiplayer (jogos especificos pra jogar com outras pessoas),
Quake III e Unreal Tournament. dois classicos absolutos. Unreal Tournament foi o substituto do Duke Nukem 3D nos "seriais". madrugadas
de diversao. Quake III veio a se tornar o principal jogo multiplayer mais tarde porque precisava de placas de video com aceleracao 3d. Quake III tambem veio a se tornar o jogo mais jogado em tempos de
internet (antes internet era cara demais e os jogos nao tinham suporte)/ sabe como e', todo mundo comecou a ficar velho e
comecaram a ter _preguica_ de desmontar o computador pra ir ate outro lugar jogar. ainda hoje algumas partidas de Quake III
sao jogadas e o mesmo continua imbativel nas categorias de pancadaria e "lava alma".
ao mesmo tempo que o multiplayer ganhava foco na minha lista de jogos favoritos, os jogos FPS pra um jogador (com historia
boa) tiveram bons momentos. Half-Life foi mais um jogo com historia muito boa
e feito pra criar uma experiencia "como filme". Outro jogo inesquecivel foi Rune. diferente dos outros jogos no sentido que voce nao
tem armas de fogo mas espadas, machados, etc. Rune trata da lenda viking com Odin, Loki & cia. A historia e' fantastica e durante
o jogo voce passa por varias regioes e ambientes. Rune tambem tem um modo multiplayer e apesar de ser tentador lutar com espada
e escudo contra seus amigos, tinha um desempenho online muito ruim e acabou nao sendo muito jogado. uma pena.
um periodo longo com jogos razoaveis mais nenhum deles pra se equiparar com Unreal. foi entao que veio o tao esperado
Doom III. o jogo levou um bom tempo pra ser desenvolvido e veio com toda
revolucao grafica que se esperava da id (empresa que desenvolveu Wolfenstein 3D, Doom, Quake). os requisitos de maquina e
placa de video eram irreais pra realidade brasileira. passaram-se aproximadamente 6 meses e neste meio tempo a demonstracao
estava disponivel para linux. eu nao tinha simpatizado com Doom e Doom II e nao estava botando fe' alguma que iria gostar do
Doom III. havia tambem o medo de gostar e gastar muito dinheiro com isso :P. bem, eu baixei a demonstracao do jogo. quando
comecou a introducao eu senti imediatamente que tinha gasto muito dinheiro ja, antes de ter realmente gasto. joguei toda a
demonstracao e estava completamente sem palavras: o jogo mostrava, ja no comeco, que tinha todo o clima e historia pra prender
voce, como tinha sido com Unreal. nao demorou uma semana pra eu comprar o jogo e notar quao ruim a maquina era. resolvi
gastar dinheiro e comprar uma placa de video "acima da media". voltei pra casa feliz da vida. o jogo desdenhou da placa. mais tarde
troquei de processador, placa mae e memoria. continuava fazendo pouco. so' recentemente que consegui rodar o jogo com os
graficos no maximo. de qualquer maneira, seguia jogando. a id gastou anos pra criar o jogo pra ser uma experiencia single
player. a historia vai sendo contada aos poucos e depende de voce querer saber mais e se envolver. ambientes, sons, tudo
que acontece e' fantastico. apagar a luz, botar fones de ouvido e levar muito susto. a expansao, como era de se esperar, nao
foi grande coisa.
depois de Doom III houveram outros jogos que fazem jus a mencoes honrosas: Painkiller, F.E.A.R. e Half-Life II. eu nao terminei Half-Life II nem
F.E.A.R.. nao vou voltar a jogar F.E.A.R., realmente mais assustador que Doom III, mas o jogo em si desagradou. Half-Life II quem sabe
um dia :). pra adicionar a lista dos nao terminados: Max Payne, outro jogo com
uma historia muito boa.
e entao porque tudo isso? bem, hoje eu comprei Bioshock e ao que me parece,
vai entrar pro hall dos grandes jogos single player. sim, um bom joguinho e' pra mim uma forma de entretenimento mais legal que
filmes ou ler ou ...
August 28, 2007 04:31 AM
August 14, 2007
|
|
|
So, the problem is solved.
First off, its SUBSYSTEM is input not usb. We're handling a
evdev device creation, don't forget. The final version:
ACTION=="add", SUBSYSTEM=="input", KERNEL=="event*",
GOTO="wacom_rules"
GOTO="wacom_rules_end"
LABEL="wacom_rules"
ATTRS{idVendor}=="056a", SYMLINK+="input/wacom"
ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0000",
SYMLINK+="input/wacom-tablets/penpartner
input/wacom-tablets/penpartner-%b"
ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0010",
SYMLINK+="input/wacom-tablets/graphire
input/wacom-tablets/graphire-%b"
(...)
ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0047",
SYMLINK+="input/wacom-tablets/intuos2-6x8a
input/wacom-tablets/intuos2-6x8a-%b"
LABEL="wacom_rules_end"
ATTRS looks for the file on the parent directories as
well, solving the problem here.
One note is that if you try to get ATTRS{idVendor}=="056a"
on the first rule to avoid repeating on all rules, it won't
work, no idea why udev behaves this way.
August 14, 2007 05:52 PM
August 08, 2007
Ja tive que ouvir que quando voce esta fora do pais voce fica saudoso. Independente se e' ou nao o motivo, estar num emprego que nao acham que voce vai deixar de trabalhar se voce ouvir radio pela internet proporciona a posssibilidade de ouvir o programa do Alborghetti todos os dias. A partir das 15h (horario de Brasilia) - "ate quando eu bem entender", segundo o proprio - de segunda a sexta. http://www.radios.com.br/, clique em cadeia sem censura ou va direto pra http://www.cadeiasemcensura.com.br. O link pro audio direto e' mms://itapemawms.sistemaplug.com/intervalo
mplayer -cache 64 mms://itapemawms.sistemaplug.com/intervaloSe voce conhece o Alborghetti nao preciso dizer mais nada :)
August 08, 2007 05:31 PM
July 31, 2007
It's easy to get upset with udev.
On rawhide, the wacom rules simply don't work. The problem is
that now there's no decent way to get Vendor/Product ids when
you receive an eventX creation event. This is needed so the
wacom rules can create /dev/input/wacom-tablets/<model> link.
The current ugly way to fix it is to use ATTR{../id/vendor}.
There must be a better solution. Yes, the rule worked for some
time (BUS=="usb", KERNEL=="event*", SYSFS{idVendor}==...)
July 31, 2007 02:53 AM
July 30, 2007
|
|
|
Seguindo nossa programacao de atualizacao diaria deste blog, descobri hoje que tem um jogador de baseball do Seattle Mariners com sobrenome "PUTZ". Seria divertido usar todo dia, se aqui todo mundo nao torcesse so' pro Red Sox. Alias, por isso que nao sai encrenca. Sao 3 ou 4 estados torcendo pro mesmo time...
Continuo com meu plano de levar a blockbuster a falencia. Com o que estou pegando de filmes por mes paga o preco de $19 multiplas vezes. Os ultimos filmes legais foram premonition e The number 23, que acabei agora pouco. Praqueles sujeitos que ja invocaram com algum numero aparecendo em tudo que e' lugar, o ultimo filme e' altamente recomendado. No cinema o duro de matar novo e o filme dos simpsons, claro. Alias, primeira vez que vou ver um filme na estreia aqui. Ambos muito bons.
O mes de junho foi altamente agitado. Primeiro o Andrei e a mae vieram me visitar. Estamos quase em agosto e entro nas lojas e as pessoas perguntam pela mae ainda. Varias fotos aqui. Depois foi a vez de ir de carro ate Ottawa no Canada, mas dando a volta no lago Ontario. O Arnaldo foi junto na viagem e tirou a maioria das fotos (que estao no mesmo lugar de sempre). O carro aguentou bem a viagem toda, nao tive um problema sequer, pelo contrario, eu que fiz o favor de agradecer limando o parachoque no estacionamento do hotel. Quanto as canadenses (garconetes ou nao), sem comentarios. Vou fugir a pe pra la qualquer dia.
July 30, 2007 02:51 AM
May 25, 2007
dia 22 de maio. eu devo ter sido freira na minha encarnacao passada pra merecer isso
May 25, 2007 03:20 AM
April 16, 2007
Pra variar um pouco o monte de neve que caiu nos ultimos meses, mamae natureza resolveu mudar o castigo e mandou chuva e vento. As sete da manha de hoje a luz foi cortada por causa de um poste que caiu neste cruzamento que foi bloqueado. Deve ter sido um caos (eu nao vi, nao fiquei em casa). A luz so' voltou as 15h. Quando sai de casa pela manha, a agua estava chegando perto do degrau pra entrar na sala. Espero que nao tenha encharcado o carpet denovo.
Bom, se voce e' nerd e esta aqui pra saber pq o tate e o lobo estiveram fora do ar, ai esta. O nobreak aguentou os 40min prometidos mas nao foi suficiente. Nao, eu nao vou comprar um gerador a diesel.
April 16, 2007 07:22 PM
April 05, 2007
|
|
|
Spent my last days feeling like crap. Between fury explosions
passing by depression and moments of extreme tension. The
feeling that everything was falling apart. Something was
terribly wrong. First suspect was the fact I don't go to
climbing gym for a week, wrist injury. The lack of exercise
can make me more nervous, but this is not the case: going to
the gym everyday spend some time on treadmill. Coffee. In larger
quantities or a stronger one can lead me to this behavior.
Not the case also, I haven't been drinking more than the usual
nor trying new brands. It could be lack of sleep. Hm, don't
think so. I've been sleeping more than the usual since this
weekend. Imagine trying to debug your brain while wanting to
smash everything around. Not fun.
So, the answer came yesterday at night. I decided last friday
that I wasn't having enough sugar. I'm a kind of person who
prefers anything with salt than a chocolate or candy.
Anyway, while reviewing what I usually eat everyday, I
decided that would be healthy to have some chocolate
everyday, some pieces. But what caffeine does is simply
accelerate the sugar burn and having more than the usual on
my veins made the amount of coffee I usually drink everyday
more effective. This added to some problems I had last days
resulted in a damn hard week.
No more coffee.
for you.
.
.
.
hm, what about dropping the chocolate instead?
hehe
April 05, 2007 04:10 PM
February 06, 2007
|
|
|
O frio resolveu chegar de vez. Temperaturas por volta de -10 graus celsius. Finalmente dirigi enquanto nevava bastante na ultima sexta feira. Realmente nao e' uma coisa divertida. Visibilidade muito ruim, limpadores de para-brisa a toda, gelo formando em alguns lugares fazendo o carro deslizar se usar o freio ou acelerador bruscamente ou o efeito "areia" em lugares onde a neve nao derreteu e virou gelo. Neste dia decidi voltar pra casa por ruas normais ao inves de pegar a rodovia. Decisao acertada pelo que pude concluir depois. O servico esta muito bacana, o ambiente de trabalho e' sem sombra de duvida o melhor que ja tive. Ainda nao consigo fazer muita coisa util nos momentos de folga. Tenho jogado em demasia ou visto filmes simplesmente. O ingles parece dar sinal de melhoras, ja que nao levo mais que cinco minutos numa ligacao pra explicar o que eu quero, mas continuo tendo que soletrar meu primeiro nome. O padrao e' mais ou menos este: a pessoa anota as letras, da uma olhada no resultado final com uma cara esquisita e pergunta "como se pronuncia?". Bizarro.
Sexta feira ajudei o riel a se mudar para a casa nova dele, em Nashua mesmo. Varias viagens levando as coisas na caminhonete emprestada do Lon (com cambio manual! foi bom praticar, antes que eu esqueca e me entregue ao preguicoso habito que e' o cambio automatico). A casa nova do riel e' a tipica americana: varios andares, uma varanda nos fundos, aquelas tabuas fazendo as paredes do lado de fora. Ontem o Glauber, que esta trabalhando pra Red Hat remotamente de Campinas, veio para uma semana para discutir os rumos da area que ele participa. Aproveitamos o domingo pra levar ele pra passear pelas redondezas. A ideia era fazer compras rapidas em Nashua depois se perder em Boston. Acabamos passando o dia em Nashua enquanto ele se divertia pelas lojas.
Durante a mudanca, o riel me deu de presente um armario para colocar a TV, o resultado ficou muito bom. Os cabos estao la, voce so' nao consegue ve-los :)
De resto, continua o mesmo: trabalhando durante o dia, tercas, quintas e sextas escalada a noite, filmes esporadicos (pago $19 por mes e posso pegar quantos filmes quiser), sorvetes pra acompanhar os filmes, dando uma de faxineira nos finais de semana, etc
February 06, 2007 03:38 AM
December 30, 2006
e comer carne vermelha bem temperada e em quantidade
e ter varios amigos pra sair e conversar
e ter as torneiras que abrem e fecham sempre na mesma direcao
e ter embreagem pra fazer a perna esquerda trabalhar
e ficar indignado com precos de coisas eletronicas
e nao tomar banho dentro de uma banheira
e ter a familia por perto
December 30, 2006 02:05 AM
December 20, 2006
|
|
|
depois de tanto tempo, o resto das minhas coisas chegaram. a casa parece mais cheia, principalmente o armario. :) vieram varios presentes no meio das coisas. era como se eu estivesse abrindo varios presentes ao mesmo tempo! muito bom. imediatamente a saudade aumentou tambem. uma das coisas complicadas daqui e' aprender a se portar com os costumes locais e com a condicao de pais que adora processos legais e tem um governo com medo de tudo que se mexe. outro dia fui aconselhado, enquanto conversando via IRC, pra tomar cuidado com o que eu escrevia. eu brincava que alguem tinha que fuzilar uma dada pessoa. aqui voce vive com um pouco menos medo de ser assaltado e passa a ter medo de ser processado por alguma coisa que voce faca involutariamente por causa dos costumes.
estou sem poder fazer barba. acabou a bateria do barbeador e a tomada tem aqueles pinos redondos. _nao_ consigo achar tomadas de pinos redondos aqui nem adaptadores! impressionante. no Brasil e' comum voce ter os pinos chatos junto dos redondos nas tomadas e ate o pino terra. aqui, somente pinos chatos com o pino pro terra (alias, aqui tem uma estatica enorme. todo dia que chego no escritorio preciso encostar em um metal pra levar um choque). resultado: nao consigo usar a cafeteira nem o barbeador. sem panico: temos cafe soluvel pra casos extremos como este.
outra coisa bizarra e' este apartamento. parece que aqui e' moda nao ter luz no teto na sala ou quarto. ou voce bota um lustre (proibido fazer furos, eu to me virando com velcro e fita dupla-face) ou usa abajur. decoradores devem amar isso. mas quem precisa trabalhar no computador certamente nao. providenciei lampadas de 150W uma em cada abajur ao lado da mesa do computador. outra coisa bizarra sao tomadas que sao acionadas pelo interruptor na parede. basicamente pra permitir voce ligar um abajur com o interruptor da parede. outra coisa linda que funciona so' na teoria. onde esta a TV, a unica tomada proxima e' controlada pelo interruptor. ou fica sem luz do lado da TV ou desliga TV, videogame e tudo mais quando voce entra/sai da casa. tudo porque nao querem luz no teto. gah.
divertido ter cara de gringo. ou ao menos eu acho que eu tenho. me tratam normalmente ate eu me enrolar na pronuncia ou dizer que nao tenho SSN ainda (tipo RG aqui). visivelmente o tratamento muda. nao olham no passaporte se estou aqui legalmente ou nao. por padrao sou ilegal. divertido tambem e' ver os caras tentando pronunciar meu nome. pra minha alegria, a pronuncia padrao pro meu nome parece ser uma palavra em frances: pronunciam arristuuh. tudo bem, sou incapaz de pronuncial 'earl' corretamente.
descobri uma coisa fantastica aqui (nao quer dizer que nao tenha no Brasil): cebola em po'. acho que ressecam e moem. perfeito pra aprimorar a fantastica receita peito-de-frango-temperado-com-sal-no-grill. meus poderes culinarios avancam a passos largos. logo serei capaz de fazer qualquer receita que use mais que 4 passos.
December 20, 2006 08:23 PM
|
|
|
after some time, I finally decided to do something about
energy saving. I bought one of these
to keep my home server running on constant power outages we
got here. I installed apcupsd daemon and the CGI to provide
informations about the state of battery, etc. I noticed that
my home server - amd64 dual core 3800+, 3 SATA disks -, with
a 19'' TFT monitor, DSL modem and a WRT54GS use 15% of APC
capacity when idle and when I was compressing a big file
with bzip2 (thus using one core, plus two disks (RAID1)) the
usage jumped to 20%! It's 60VA more. Amazing.
December 20, 2006 07:43 PM
September 25, 2006
I just resubmitted a very simple patch by the fourth time, at least. seems I just can't focus the code I'm writting and can't concentrate. seems I need a *lot* of effort to do so in these days. I wonder what this could be. if it's because I'm tired, I'm tired for months already and it's scary even to imagine how much time resting I would need to fix this, if this is the real problem. seems it's not going to improve next weeks, having to organize all stuff to my relocation.
September 25, 2006 03:27 PM
August 11, 2006
|
|
|
fn <-> ctrl
OK, I'm getting closer to finally swap this 'fn' key with ctrl on mac's keyboard. And I need to do it quickly, before I get used with it. Lemme explain the problem first.
This powerbook has its keyboard and other keys (power button, eject button, etc) behind a bus, called ADB. I heard about some Apple notebooks using USB for its keyboard. But it's not my case. The problem with this is this keyboard controller, even reporting Fn key as a regular key (some controllers don't even let you know that there's a Fn key, making it impossible to do) but do some Fn + key sequence translation in hardware. For example: you have to configure this controller to tell if the F1-F7 keys, while pressed alone will generate a F1-F7 key event or the special functions. This could be pretty anoying: to have F1 key you should press Fn too: ctrl + alt + fn + f1 to switch from console to X. Anyway, the question here is that the keyboard controller _won't_ tell you that Fn + F1 key were pressed, only a F1 key event will show up (or brightness down).
If this processing were done in kernel level (i.e. Fn keypress + F1 would generate a brightness down, processed in kernel) it would be a lot easier to just swap the Fn with Ctrl before this processing and that would have a chance to be included in Linus' tree. But it isn't that simple.
To have this done, we have to know how the controller is configured and translate all the keys back. e.g.: if keypad's '3' is pressed, we must check if fn key were pressed before and if it were, we must generate Ctrl + 'l'. If 'l' is pressed, we must check if Ctrl is pressed and translate it to keypad's '3' killing the other 2 events. Definitely something that should be done in user level. We'll be back to this shortly.
Why don't you buy a real mouse?
One of the top issues for an Anything-but-Mac user to begin to use a mac is the mouse. On desktops it can be easily replaced by other, real, mouse. But in notebooks, it isn't so easy. You can't ignore the touchpad. It's there, built-in, doesn't waste more space in your backpack or workspace. To solve this, some sysctl options were created to emulate the second and third mouse buttons using keyboard keys. On MacOS, instead, applications usually have a modifier + mouse button to emulate other keys. This is a lot nicer because you don't lose one of your keyboard keys. Doing this on kernel isn't easy: this PowerBook has the keyboard behind ADB but the touchpad is an USB device and communicating one with other would be a big kludge and probably won't be accepted for inclusion (I agree with them). So, Michael Hanselmann began to work on inputd, a generic userspace daemon to do this kind of remap. Just for fun, I decided to write a simple application only to solve this specific problem: emulate second and third buttons using a key modifier: apple_mouse
was born. But I wasn't satisfied with this. I really hate this Fn key, so I could use it as key modifier to use with apple_mouse. Not long time later I discovered Fn key isn't being reported by adbhid. While doing this, I decided it was time to fix another problem: the default SYSRQ key on macs doesn't exists in my PowerBook (and probably in other models too). Two nights later, I got these
three patches.
They're still waiting for comments on linuxppc-dev list, but it's safe to use them already (I'm not having problems with them). The result is that KEY_FN event is generated anyway (so you can use with apple_mouse) and you may configure the SYSRQ key on /sys/classes/keyboard0.
so?
So, while doing this stuff, I figured that now it's possible to remap Fn/Ctrl in userspace, where this kind of stuff belongs. Now just wait for an inspired night to do so. BTW, while working on apple_mouse, I was able to fix lots of bugs on libuinput and it's now functional.
more input madness
I decided to try out something new and got a trackball.
I don't use mouse so much while working, so couldn't be so bad to get used with. And it wasn't. Actually it's really fun. Kinda like when you first tried to use a regular mouse. I got a lot better with it: I'm able to get flawlessly up to level 5 in xbill and played warcraft III without problem. FPS games still requires a bit more training...
August 11, 2006 08:26 PM
June 25, 2006
|
|
|
and the history ends...
well, the hell is over. I got out there a bit earlier than expected, but I had a good reason for that. it's nice to hear that all that work and pain at least resulted in a working product and some complements on our work. another end, another new and fresh beginning... probably with lots of pressure and massive learning, just like I seem to like it :)
pomus
it wasn't time for buying a new notebook, but I did it: got the last 12'' powerpc powered notebook from apple. just in time, I can't find another one in any of the local stores and information page also doesn't exists anymore. the hardware is great, comes with everything I would expect from a notebook, nice keyboard, blah blah. ah, and it comes with mac os X. don't hold your breath if you think this will become one of those "OMG ponnies! macos X rox, linux sux LOL !!!11" kind of posts. the system is fine, lots of eye candies and somewhat perfect for home users. to me it's being useful for launching games, as there's no binary driver from nvidia for powerpc linux. btw, you get extra zealot points when you get one of these machines to run linux. things you never noticed being binary and not available to other architectures really pisses you off. some of those binary "blobs" (yeah, finally the openbsd cds and t-shirts arrived. never took so long to help keeping a project which I don't care alive) may be replaced by open source projects. in a more general view, the hardware is very well supported under linux and everything else than modem (which I didn't tested and probably won't) and nvidia related, just works. on nvidia support, it lacks 3D support (as expected) and tv/video output. on tv support, I managed to port nvtv to powerpc linux (it uses ioperm(), not supported on powerpc linux and maybe in other archs too) but it fails to identify and control tv out chip. on video out, it's possible to get external video but you will be unable to use notebook's tft. I guess nvidia is a lost case, as they aren't releasing documentation even for ethernet cards (martian technology) and IDE controllers (alpha-centauri technology).
bricks
so I did it again, but now I did it well: I bricked my wrt54gs in a way that JTAG cable is the only hope left. probably I managed to erase entire flash, so, as soon I get the cable built, I'll know if it's still possible to "unbrick" it. thanks to this, I finally built its serial port circuit.
June 25, 2006 09:52 PM
January 27, 2006
|
|
|
127.0.0.1 is not alive
what can I say about the hell I've been living on? let's try this: sell japanese food to dogs. they don't have a damn clue about what they're buying, they don't have a damn clue about how much effort it takes, they don't have a damn clue about how much time it takes and they bark at us as our team is a bunch of incompetent idiots. *sigh*
scooby everywhere
now working "only" 8~9 hours by day, there's some spare time (and will) to play a bit. I made a sample linux kernel module to make available a bunch of contiguous memory pages to user level through mmap() for a friend. he needs a way to get an amount of physically contiguous memory and its address in user level so it can setup a video grabber to do overlay in that address (video4linux 1). he also needs to have access to this memory region. the way it's done today is using video card's memory. if you find this interesting, it's available here.
it surely contains a bug, triggered by the second execution. home work! :P
SCC: breaking your software since 2005
users are great. really. when you get used to linux, you simply don't mind of doing things manually even when it should work at first time. I met this week in IRC an user who has the same notebook I have and he noticed that you should do insert/remove/insert everytime you want a card detected by cardbus controller. it happens since 2000 and I _didn't_ noticed this! it surely isn't a hardware problem since it works in OpenBSD and Windows XP in the same notebook. while doing some simple debugging I noticed the event register is simply empty in the first insert and then when the card is first removed, it comes with right value and in second insertion too. the linux' yenta interrupt handler looks a lot like OpenBSD's, so seems this is a bit more complicated than I thought before. oh fun, fun, fun!
by any chance, do you use any SCM?
quilt rules. at work we have a svn repository but before each of us commit anything others should review first and in case of an "experimental" changeset, everyone should do some testing. because of this, quilt is being so great: we're exchanging patches among us quickly in a simple way. I plan to write some sort of tutorial on these quilt "use cases" soon. and maybe creating a "quilt compare file" to quickly open vimdiff (or equivalent) to make easier to review code you don't know so well.
why write a driver? isn't ioperm() enough?
thumbs is staled for some months. I'm almost buried alive in so many bug reports and feedback on -alpha1 (none). uinputd is being slowly developed. cabal repository didn't had any commit since that tuesday, the last day before I got my tickets to concentration camp.
January 27, 2006 01:06 AM
January 01, 1970
... could be a train, you know. It's a train, I can hear it from here. Ok, but what you think about pretend we don't know... and...? and keep thinking it's the end of the tunnel! But you don't want to walk towards the light in this case, you'll die. Maybe we want do it. But die, who wants to die? You see, to die is the first step to reborn, stronger. What for but do be able to face bigger trains and die again, it's just better to get out of the way. We'll miss something... What? The breeze that comes from the end of the tunnel. But it's a train. You never know for sure before hitting it.
January 01, 1970 05:00 AM
life is a collection of decisions. and results. decisions you make and decisions that others make. I know you heard this stuff before, but bear with a caffeine drunk brain for a moment. So, these decisions bring results, consequences. and the fun part of the life is living these consequences. we often blame the decisions to paper over the obvios lack of ability to take the consequences in a more joyful and positive way. and that will happen over and over again during our lives but some decisions are special. those hard decisions where the logical and your inner self took separate sides. those decisions that you took against what you really wanted. those decisions that make you ask to yourself for the rest of your life: "what if?". sometimes, you're fortunate enough to get some answer for that by asking someone like I did. but the fact is that you'll never know the real answer. the decision is written in stone for all your existence and there's nothing you can do. and this is good. this is part of the fun. this is a lesson. taking chances may not give you the right answer, but the "at least I tried" sensation helps to silence the question. after all, it's not the logical side of your brain that asks it.
January 01, 1970 05:00 AM
you can explain it in many ways. none of them really satisfies. it just happens. for a matter of hours, everything you know and are certain of just turns into dust. nothing happens the way you expect. you feel like burning; you can't breathe. you keep trying alternative paths but it all leads to more failures. you can't take defeat. your brain keep spiting more solutions and keep hitting different walls. new walls. walls that don't make sense. walls that shouldn't be there. more frustration. more anger. you can't. you're unable to. you're not in control anymore.
anymore?
January 01, 1970 05:00 AM
I had no idea I'd enjoy do the dishes. don't be fooled: I enjoy doing it but under certain conditions: it must be at night, I must be feeling completely alone and counting on my fingers people I can really trust. long story short, I just leave to do the dishes at night. ah, I must be wearing shorts with pockets. even with the rubber case, my ipod is not water proof, so it's better to keep it in my pocket. even with complaints from the angry department, the soundtrack isn't slipknot. instead, the same music to begin with and the others that just follow. the same voice, the same melody. the same lyrics that I make sure I won't translate or understand. never do it, I say; you may change your mind about a song. just let that beautiful and warm dutch voice supress the right parts of your brain and don't forget to stimulate others. you can scream, you may look to the knife and begin to think about suicide. it won't work. don't come again with the lame excuse it makes you depressive. don't try to fool yourself. you're not that good. soon enough, you give up. soon enough, you take care of your cups more than yourself, make sure to clean the entire spoon, even if that makes more possible to slip and drop it in the abyss of the dirt, where all the impure ones lie until you rescue them. it's late. no, be careful. keep that lazy attitude to yourelf so you won't regret forever. you don't want to break the trinity, the duality. you want them to keep even, to keep'em odd. remember the pizza hut one? yes, you kept it for a long long time over the fridge, like hoping it would come back from the dead. but to avoid being labeled as insane you looked like you didn't care and just took it away from the purgatory without any chance. and ignored the screams. all because you was under the headlights of someone's eyes. you can't play with somebody's life. just relax and make sure you don't do anything wrong. you can't avoid the will to write. so you're here. you're almost finishing it. suddenly you catch yourself thinking in patterns. and often enough you see something you didn't before. something that would make something easier to understand and support. and you convince yourself that you should write everything, single notes during the day. maybe someday you'd come with a book full of it. of course, that's why you'd take notes. take notes to reorganize later and build a nice reality out of a mess. the kind of fake-but-hey-it-looks-real kind of thing. nobody wants real. we got loads of it everyday. it's time to escape from it and dream that everything is that organized. organized is safe, predictable. that's it. no surprises. maybe that's what mr. yorke was thinking when named that song. probably not. see? you shouldn't write. all of sudden the reason is gone. we like to share. we love to donate to somebody else our damnation. that makes us feel british("fantastic"). all of that is gone. you need to sleep but you have to finish the damn... our friends, the dishes. don't be selfish, they want sleep too. you don't deserve to rest while they are out there. come on, don't review this damn text, just click submit. noone will read anyway. and if someone does, writing all this will look cool. what a hell am I doing here? I don't belong here. british("oustanding") finish.
January 01, 1970 05:00 AM
I just can't and won't even try to avoid being more direct than this: these are the {worst, challenging, hardest} times I've ever had. I deleted lines and lines of rants here. Over and over. I can only hope that 'Your troubles are over' keeps doing the same effect it does now. I'm even afraid to listen to it too much: I try to keep it for when I really can't take anymore. I've never been so close to be depressed all the time. I'm in like a diet. Avoid the gathering. Avoid radiohead. Avoid counting crows. Never ever listen coldplay. Avoid negative thoughts. Noticed something familiar here? Unless I'm really having something chemical going on, all this crap means one thing: avoiding to realize what's going on. Why such "weakness" all of sudden, or, more specificaly after all this thing began? It's damn clear what's going on and I have clear in mind what I should do. Search time is over, a long time ago. Time to accept it.
To all of people that makes the whole thing a lot worse with your completely idiotic, materialist and selfish way of seeing things: if I fail to avoid becoming one of you, I'd prefer to get a balistic tunnel between my ears than live this way.
January 01, 1970 05:00 AM
(milton) I know you've got talent. I knew that before you got here. It's just the other thing I wonder about. (kevin) What thing? (milton) Pressure. It changes everything. Pressure. (milton) Some people, you squeeze them, they focus. Others fold. (milton) Can you summon your talent at will? Can you deliver on a deadline? Can you sleep at night? Pressure is everywhere. Pressure is just a group of at least two people, where one is trying to enforce that his illusion of the world become real. You may squeeze a statement of try hard to interpret a fact just to keep a certain theory valid. You may ignore others or try to prove them invalid. Just to keep your ground there, solid. But that's not pressure, it needs a second person. It needs the person whom is being pushed. You need someone to squeeze. There's some cases when the "agent" doing the pressure doesn't even believe on what his pushing nor believes that's possible. They key is not on the agent, but on the "victim". To pressure exist the victim must believe what is being pushed on itself is not only possible but something natural. The result of the pressure may be the "focus" or the "fold". It still depends on how much the victim sees itself. If the victim suffer of vanity and really believes itself is better than it actually is, probably it will focus until the its real limits are reached. If the victim doesn't care so much in "lose its ground" and begin to believe it is not capable of what once it thought being able, it will "fold" and just give up. See, the process of pressure from beginning to the "fold" only depends on the image of itself, on what it thinks it is and how much it needs that image kept "real". If the victim is insecure it may grab on that illusion of itself and fight until the last possible moment until fold and give up. Otherwise, it may choose just "fold" as soon the pressure becomes unsupportable. Whenever the "fold" happens, all the agent tries will fail. The victim won't work faster nor feel the commitment and this can be a state where the agent will just give up on the victim. It may be a boss and a employee being fired or simply a relationship. Think pressure as being a form of more elaborate (and more effective) manipulation. Instead of giving up on the victim when the "fold" happens (or taking action just before the "fold" to avoid the possible "fold and give up" when the victim not only "folds" but also terminates whatever the "relation" with the agent may be) the agent can cease the pressure to feed what keeps the pressure possible: the victim illusion. Notice how Milton tells how good Kevin is while he talks about the pressure. And on Devil's Advocate is how far the vanity, that is, the illusion Kevin keeps of himself as a "damn good lawyer" can take him and how much Milton can take advantage of that, enforcing the pressure to get the best out of Kevin. To the point Kevin gives up of the "real" life (read Mary Ann) to feed this illusion. At the end, Milton also says how he (or it :) helped Kevin to keep winning all cases. Milton knew that in order to keep this illusion alive, Kevin should keep winning (a omgponies-f*-damn-good lawyer would be one who never lost a case). In companies, your boss may give to the employee a salary raise, or a prize or even "motivational" sessions. What these do? Just save (or help to rebuild) the self-confidence and even raise it again to the illusionary level, where pressure may happen again. And why? Because it's a way to get more out of someone. Sometimes the "fold" is so hard that you probably will get less or maybe even nothing. So, who's the culprit? The manipulative agent? Or the so called victim who doesn't wants to just let go that illusion? There's no answer, of course. But one may find interesting on the existence of pressure to dig and find what leads the agent to use the pressure to get what it wants and what leads the victim to have the need to keep that illusion.
January 01, 1970 05:00 AM
imagine a place where you have two kinds of behaviours: one good, decent; and other the opposite. imagine a place where doing the wrong one has some advantages and some can even tell you it's the "best" one - not right, though. now imagine the same place with even you choosing the decent conduct people recognize you first as one whom chooses the wrong habit, because of fear and because of the large number of people who do the same. then comes the inevitable question: if everyone treats you like being one of the bad guys, why don't just switch and become one of them? the treatment will be the same and you could get all those "nice extras" which comes with this conduct. in a place where nobody cares anymore, this really looks tempting. then comes in a theory that I find more and more useful each time I found use for it. in nerdie words: the theory of 127.0.0.1, the post below.
January 01, 1970 05:00 AM
you have things you expect from people and often you put yourself in a different name space from the others. this usually comes to two different conducts. the first one is easily found: egoism. people who considers himself a far superior creature from the rest. it can vary from low to high. it consists in think first in you then in the others. how much you care about the others will determine your level. you may consider other people being from this group but perhaps it's just you being more selfish than this person, so it's tricky to know. the second one, a bit more hard to find is the kind of people who neglect their selves, giving preference by people around. usually these kind of people are abused by "smart asses" who think this altruism is actually being dumb. it's hard to keep the balance between these two extremes, so the "127.0.0.1" theory is handy. when you believe you deserve more or less than the others often is because you classify yourself as a separated entity, with different rules and needs. this is the first step to become unfair to yourself or to the others. 127.0.0.1 in computers design the local host IP address (ipv4). each machine has an IP address, but for programs running in each machine, 127.0.0.1 always corresponds to the current machine. it's a easy way to tell "I want to connect to the machine that I'm running". this has in computing a great value: you don't have to code a special case when accessing the current machine. so, when you write a program to be able to connect to any host of the network, you will be able to connect in the same machine too. the concept of having the current machine, "I", as being an address just like everyone else, not a different entity. it's not "I and the network" but "we, the network". when you think in yourself and the others as "we", looking to you the same way you look to others makes a lot more easier to find this balance, being far to everyone, including yourself.
so, stay with yourself. if you think it's right, at least one thinks the same. as long you think it's worth, it's worth. soon or later you may find others that share the same opinion.
January 01, 1970 05:00 AM
there're times when you feel alone. quite OK. among your friends. not so normal. and sometimes among your so called best friends. sick. when that happens, you spend a huge amount of time, just trying to find excuses for everything said by the crowd, like running in the middle of desert, trying to find psychological reasons for those stupid acts. and even looking why in hell would you been doing wrong. but, what could you do when people look like trying to workship their egos in front of you, specially when you think in a different way in a given matter? know what, now when I think in that october thing, I think it won't be that bad; it'll be a great time to make a new friend: myself. and this one surely is one worth to fight for.
January 01, 1970 05:00 AM
[smith] why Mr. Anderson, why? why do you persist? [neo] because I think I should want.
this is definitely the last time I do it, just like the others
January 01, 1970 05:00 AM
ok, so I went (actually I'm still there right now) to canada to OLS. I've passed by Toronto then went to Ottawa. you can check the pictures here. soon I'll select the best ones and put it here as well.
January 01, 1970 05:00 AM
Last updated:
February 08, 2010 05:00 PM
All times are UTC.
Powered by:
|