Mostrando las entradas con la etiqueta work. Mostrar todas las entradas
Mostrando las entradas con la etiqueta work. Mostrar todas las entradas

20110228

HP Blade and gentoo memory leaks

Hello minna san!!

I had some terrible troubles last month within two host that I have with Gentoo over HP Blade 460c G6. The problem was simple, the most IO that I generated in the host, the more memory in SUnreclaim (in /proc/meminfo).

The problem (after a log of time and testing), was solved by configuring the kernel with:
# CONFIG_IOMMU_API is not set

And, after a whole night of testing (that in prior test sessions in 2 hours the memory claimed up to 3 or 5 GB), was just in 80 MB the whole night.

The problem is quite known with the iommu module, but at first time I thought that was the cciss module (because everything was related with the disk IO). But after a further analysis, the iommu came across my path and then I saw a lot of bugs related to this module (and most of them were related to the memory leaks).

20110218

hosiaux gentoo kaj ruby (rubio)

Hosiaux mi estas tre tre laca, mi dormis bone, sed mi estas laca. Mi debas instali HP Blade kun gento (tio ne estas problemo, sed la HP Blade, kiam mi re-startigis la sistemo, dauxrigas multe tempo.

En tio tempo, mi volis scribi en mia twitero, sed en mia laboro ne estas pli bone uzi twitero, kaj por tio, mi kreis simpla rubio programaro:

#!/usr/bin/ruby
require "rubygems"
require "twitter"

Twitter.configure do |config|
  config.consumer_key = "something here"
  config.consumer_secret = "somethig else here"
  config.oauth_token = "yes, other thing"
  config.oauth_token_secret = "the last secret"
end

client = Twitter::Client.new

client.update("my first ruby.twitter test")

Mi preferas Perl, sed Ruby estas tre amuza por mi.

20100315

the education problem in Argentina (a federal problem)

For a long time in Argentina I heard that the country must be more federal, and not so concentrated around the capital city.

This is a long term problem, mostly because the main port is still in Buenos Aires, so everything is passing through this city (there is another ports inside the country, but mostly everything is still in Buenos Aires).

But in these days, the problem relays in other parts, more than just the economical importance of Buenos Aires. And that is that, if a family wants to move from one city to another, the education of the children is a problem.

In EEUU and another countries, the education program is shared among the whole country, but in Argentina, every city could manage some themes that they want to teach, relegating others. And even the when they want to teach that themes. That causes that, if somebody wants to move with his/her family, the child/ren of the family could lost the year, or must prepare some themes to give the equivalences to let this child take normal classes in the new school.

This is a mayor problem, to let the country become federal. And the most important part, is that the capital city couldn't get more people. This is an old city, that contains a lot of problems (structural problems, like the public services). And, as you could see in another cities, that there is a limit from city to city (some space without houses or buildings). Around the city you have more than 4 times of the surface of the city with the part called "Conhurbano", that is a continuous urban part from the center of Buenos Aires, to a long distance.


Ver mapa más grande

The problem of the education, increments the problems of the city, that is not prepared to host so many people (and in workdays the city increments the number because in the surrounds host a lot of workers that their jobs are in the capital city).

And as the people is not moving from (usually is moving to) the capital to the other cities or provinces, the cost in doing that is quite high.

A solution to this problem is quite simple, make a "curricula" for the whole country, that is the same in every city around the country, and respected by all the teachers (specially the time when they teach every theme).

20100302

ruby on rails and reorder the columns order in the view

This year was quite difficult to me, as I don't have a job since the 4th of January until now (2nd of March). And I think that is going to be like that for a some more time (as the interesting projects that I was offered to work in, the money is not enough, but that projects are really cool).

Well, this weekend I tried to keep going into my cook book, now in ruby, as the previous version in Perl was quite nice, but nobody would take that serious, as I did everything by myself and with my own XML definitions. The model that now I'm working is quite easy, a simple database:



ActiveRecord::Schema.define(:version => 20100302024114) do

create_table "categories", :force => true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "ingredients", :force => true do |t|
t.string "name"
t.integer "recipe_id"
t.integer "quantity"
t.string "measure"
t.string "part"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "notes", :force => true do |t|
t.integer "recipe_id"
t.string "keyword"
t.text "text"
t.datetime "created_at"
t.datetime "updated_at"
end

create_table "recipes", :force => true do |t|
t.string "name"
t.integer "yield"
t.integer "category_id"
t.text "preparation"
t.datetime "created_at"
t.datetime "updated_at"
end

end



This is quite simple, but yet powerful enough to what I need. For example, if i ever need something like the origin of the recipe, I just could add a note titled "origin" and the region in the text field. The only problem and that I should reconsider in some time, is that some preparations have parts, for example the base, the filling and the cover (for example a lemon pie). I manage to put that in the ingredients, as some parts uses the same ingredients, but in different measures, and perhaps somebody just want to make only the filling or the cover, but not the whole meal. But having another table for the preparation, just I don't like for now (as the preparations could vary from 1 to 5 or more, that should be in a separated table).

The main problem that I had was that the documentation was quite nasty about the reorder of the columns. Every web that I found was telling how to reorder the rows (the information in the columns) by an specified column. But I want to reorder the column, and the formal documentation just don't say anything useful to me.

So, after digging a lot of time in Google, I found http://api.rubyonrails.org/ and inside that http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M002294 That was the beginning of the solution.

I printed that method, the code was:

class RecipesController < ApplicationController

active_scaffold :recipe do |config|
p config.columns()
end

end


That was quite useful, the very first line of the output was:


Completed in 301ms (View: 26, DB: 0) | 200 OK [http://10.0.0.52/recipes/new?_method=get&adapter=_list_inline_adapter]
#<ActiveScaffold::DataStructures::Columns:0x7fa930f14100 @_inheritable=[:name, :yield, :category, :ingredients, :preparation, :notes],
[...]


For the first time I had the proper names to call the others tables and my recipe table without the default order.


config.columns = [:name, :yield, :category, :ingredients, :preparation, :notes]


I know that this post was quite long and in this nasty language, but most of the people (well, programmers) just search the things in English.

20100118

importan update about working in ACS

There are some things that I quite hate now, and is that they told me that the project was closed. So they cant hire me.

Well, now I saw a mail from a friend of me, that they told him that there are still TSM and Unix job offers.

I don't know why they first told me (about 3 or 4 times) that they want to hire me because they think that my skill are hight, but after that they just kick me without any explanation.

Please, be aware of ACS and if you can, don't work with them. Now they call themselves as ACS-INC, not only ACS.

20100117

working in ACS (or almost)

A long time passed since my last post. The main reason is that I was quite upset with my last job (at ibm), but was a personal thing with the crew that I was in. Then ACS came to my life. Some people called me from Mexico to tell me that they was looking someone with my skills (I'm certificated at TSM Admin, I have a large Unix experience and I'm a programmer also).

The first week of January they told me that they want to contract me as soon as possible. So I would begin to work with them the 11th of January. So the previous week I quit at IBM, and I prepared my self to make the movement to Cordoba Capital (they have the office there, 800 km from where I'm now). I had in mind that, as I haven't signed anything, I wasn't working with them, but they continuously called me to make my self comfortable. But at last time on the Thursday, they called me and said that the project is suspended, they was going to call me on Friday. But hey didn't.

On Monday (2009-01-11) I sent them an email to ask for news. But noting happened.

On Tuesday (2009-01-12) I sent another mail, coping more people, asking if the job offer is still there or I lost that, or any news. On that day, at my afternoon, they called me to tell me that the offer is canceled. That I have a nice profile to work with them, but the project was canceled.

So now, Sunday (2009-.01-17), after I paid for some fees for not making the moving of my stuff (but I have the packaging at home just to pack everything and be sent to Cordoba), I'm still in Buenos Aires, and I'm think that I'm going to work for some time in Unix.

I don't know if I would take in serious the world of ACS for now on, but I think that they didn't do this on porpoise. But the fact is that I'm unemployed now, and the firm that was going to hire me, just canceled the project didn't tell me anything else (nor any monetary compensation, or any other job proposition).

I don't know if this is normal to them, but be aware.

20090111

filmo, restoracio, ktp

Estas longa tempo post mia lasta skribaĵo (tri semajno). La semajno de Kristnasko kaj la nova jaro estas tre mallonga semajno por mi (mi ĵus laboris lundo kaj mardo).

La 26 de decembro mi aĉetis cigarujo (por Havana cigaro) kun malseka mezuro kaj malsekutilo (tio havas akvo malsekas la boksi). Tio estas farita por cedro. kaj kiam mi aĉetis tio, mi aĉetis (por promocio), 10 cigaroj. Mi vidis ke la VEGAS.CUBANAS estas malmulte kosta. Mi aĉetis coronita de Romeo y Julieta (kroneto de Romeo kaj Julia) por 33 AR$ kaj tie (vegas.cubanas) mi aĉetis por 22 AR$. Kaj en la sama loko ke mi aĉetis la kroneto de Romeo kaj Julia, mi vidis kromo de Romeo kaj Julia por 70 AR$, sed en VEGAS.CUBANAS kostas 28 AR$.

Ĉirkaŭ mia laborejo estas multa restoracio. La plej konata estas "Universidad PUB", kio estas atendita por blondulino. La manĝaĵo estas simpla: tranĉaĵo de merlusa fiŝo kun pulvoro de pano, tranĉaĵo de bovo kun pulvoro de pano. La viando kun pulvoro de pano estas tre komuna manĝaĵo en Argentina. La nomo estas ĉefe por la urbo Milano el Italo. Ĉefe estas farita por bovo viando, sed nun ankaŭ estas farita de fiŝo, sojo, ktp. Ankaŭ nun havas aliaj aĵoj supre la milaneso. Per ekzemplo, estas "napolitana milaneso" kiu havas (en ordo) tomata saŭco kaj fromaĝo (kaj povas havi kuira ŝinko). Alia recepto estas milaneso kun du frita ovoj supre la milaneso, en argentina tio nomiĝas "milanesa a caballo" (eo: milaneso a ĉevalo).

Kaj al la fino, hieraŭ mi vidis tre bona filmo, nomiĝas "The shadowless sword" (eo: La glavo sen ŝirmo). La historio estas bona. Sed la "okulaj efektoj" estas tre bona por ĉina filmo (aŭ pli bone diris azia filmo). La homoj vundita por glavo ne normale sangas, ili eksplodi kun multa sango. Kaj en alia parto, du personoj kuras supre lago kaj post tio, ili "kuras fluganto" supre la arbboj (kiel ili kuiras futas supre la branĉo de la arboj.

Mi tre ĝuas tio filmo. Kaj mi volas revidi unu aŭ du pli.

20081215

restoracio meksikana

Estas ĉirkaŭ unu monato ke mi ne skribas ĉi tie. Sed mi ne vizitas restoracio ĝis pli da unu monato.

La pasinta vendredo kaj la post-pasinta mi iris kun SAE pro trinki aĵo post-oficejo kaj post tio, manĝi al meksikana restoracio (unue en Olivos kaj pasinta vendredo en Puerto Madero).

La unua loko nomiĝas Maria Felix kaj la dua estas DF (jes, tre kompleksa nomo). Mi pensas ke la du loko estas simila (bona manĝaĵo, Mariaĉis, meksikana flago, ktp.

20081108

kie mi laboras

Hodiaŭ mi vidis en google maps ke estas la zono de martinez montranta, kaj mi serĉas mia laboreĵo kaj mi trovis:

google maps

20081023

manĝaĵo kun amikono kaj partomanĝo en laborejo

Pasinta Merkredo mi invitis a mia amikino Janine (yanine). Ni iris al clubo 647 (club647.

Ni manĝis multe kaj bone (la manĝaĵo de tio loko estas tre agrabla).

Hodiaŭ, post mi tagmanĝo, mi promenas por la parko de IBM Martinez, kaj mi ĝuis tre multe. Mi flaris la herbo kaj la floroj kaj la arboj kaj mi ĝuis multe ankaŭ tio. Mi pensas ke tio loko estas bona por labori, oni povas havi trankvila momento se oni havas bloka situacio en la laboro.

20080226

prezenti min (en esperanto)

Mi estas komputisto. Nun mi laboras en komputmemoro (en: storage). Mi loĝas en Sankta Telmo (es: San Telmo), Bonaero (es: Buenos Aires), Argentino (es: Argetina).

Mi havas katinon per homa besto. Ĝia nomo estas Syslog. Ĝi havas kvar jarojn, kaj 2 ĝis 4 fojoj al jaro ĝi estas fervoro.

Dum unu normala tago mi:

  • maldormigas (de 8:00 ĝis 9:30), se ne estas malfrua, mi matenmanĝas

  • vojaĝas al laborejo (de 9:00 ĝis 10:30, post mim maldormigis)

  • laboras

  • manĝi (de 12:15 ĝis 13:15, aŭ 13:30 ĝis 14:30)

  • laboras

  • vojaĝis al hejmo (de 19:30 ĝis 21:30)

  • legas novaĵoj (plimulte en Google Reader), legis ret-mejlo, manĝi (de 20:00 ĝis 00:30)

  • dormas (de 00:00 ĝis 8:00 aŭ 9:30)



Kio mi faras en mia kiam mi laboras estras simpla. Mi kontrolas TSM (servilo per centrala sekur-copio). Mi programis (komputilo) alarmo.

La ĉefa program-lingvo kio mi uzas estas Perl, sed mi ankaŭ uzas Ruby kaj KSH. Nun mi komencis uzi Trak (angla Trac) kaj subversion (mi ke konas la esperanta lingvo). Tio estas programaro per kontrolo versia.

20080210

estis dika, estas dika, sed ĉu estos dika?

Lasta tago (antaŭ tri semajno) , mi iris mangxi kun amikoj kaj mi komencis forgesi mia dieto.

Mi nun pezas 123 kilogramoj (de 120 al 125 kilogramoj) . Mi komencis dieton en januaro (la unue tagoj). Mi penas manĝi kio aperas en la dieto, sed mi ne povas fari la ekzerco. Almenaŭ mi supreniras en ŝtuparo kiam mi supreniras al mia apartamento (mi loĝas en 6º etaĝo), sed ne estas sufiĉe. Mi pensas ke mi devas aĉeti fiksa biciklo.

En mia antaŭ poŝto, mi diris ke mi estis migri de TSM (Tivoli Storage Manager el IBM) de 5.2 al 5.4. La migro ne estas simpla. La problemo kiu okazos estas simpla. La servilo kio estas biblioteka kliento ne konektis al biblioteka servilo.

La problema estis simpla. Mi uzis la komando:

update server >servilo< forcesync=yes

Mi devis uzi tio komando pri unu storage agent server (lanfree clients).

20080103

las tortugas ninjas

Hoy, mientras estaba por pagar el pasaje del tren, vi algo que me alarmó bastante.





Todo era por una protesta de no se que grupo. Por suerte (para mi), pude viajar sin problemas (y de hecho, pese a que no es usual, llegué a tiempo al trabajo).

20071122

venganza planificada

Ayer en mi trabajo me mudaron de puesto de trabajo, luego de que lo hayan prometido durante varios meses. Donde estoy es algo más caluroso, pero pese a que soy un gordo sudoroso, es mejor porque también tengo la garganta sensible al aire tan seco del aire-acondicionado.

Como me fui, me tuve que llevar mis posesiones más preciadas, mi taza de la cafeconf del año pasado, y mi mate:



Cosa que no le cayó muy simpático a un ex-compañero, que ahora tiene que tomar mate en un calabacín (suele tener menor capacidad). Este es el (algo fuera de foco por la rapidez que tomé la foto):



El mate era de una compañera de trabajo que se fue de la empresa, y ella me lo legó. Y guardo gratos recuerdos de esta señorita, y cada tanto tengo el agrado de escucharla.

20070807

usando Compiz-fusion en Debian Testing

Hace un tiempo había instalado Beryl en mi máquina (directamente del SVN), pero como era bastante inestable (más de lo usual para mi máquina), no lo usaba mucho.

Hoy en el trabajo, teniendo un bloqueo de programación (problema con fork y socket), me puse a despejarme instalando Compiz-Fusion. Algunas ideas las tome desde:

http://osrevolution.wordpress.com/beryl-debian/

y otras de:

http://ubuntuforums.org/showthread.php?t=481314

El resultado fue que desde mi Debian Testing, pude usar Compiz sin problemas (con todos los chiches bonitos). Me resultó muy simple de instalar, pero requiere de bastante hardware (hay un CPU que está al 100% todo el tiempo).

El único problema que tiene (y muy molesto), es que hay algunas ventanas que necesito "redimencionarlas" (desde el borde) para que se redibuje bien el contenido, porque si no no me aparece nada. U otra cosa que le pasa a las consolas, es que parece que está colgada, la tengo que redibujar para que me responda nuevamente.

Aunque en general queda muy monono.

20070802

grabar una conversación

Hoy me topé con un tipo que claramente es poco sutil para hacer las cosa. Yo grabé una conversación, y luego le avisé que la conversación estaba siendo grabada, a lo cual me preguntó muy seriamente (y repitiendo algunas veces) que no podía grabar la conversación.

En base a esto, y dado que lo voy a tener que ver, voy a burlarme de él con algo de altura. Para lo cual encontré el Real Decreto Legislativo 1/1996, de 12 de abril que lo más importante (IMHO) es el artículo 18 y el 31.

Es siempre bueno putuarse con alguien, uno puede sentirse en el deseo de subir el nivel en la discución (o atajarse) y poner sobre el tapete una ley para salvarse el cuello (o terminar muerto en el intento).

20070705

viajar en el tercer mundo

El día de hoy fue un día usual en el tercer mundo.

Al salir de mi casa, saliendo algo tarde por estar cansado, me pasaron de largo dos colectivos repletos de gente. Luego me tomo el subte (en la terminal) donde toda la gente subió casi corriendo, y a gatas logrué conseguir un lugar para sentarme.

A la mitad del viaje (estación previa a F. de Medicina) algunas luces se apagaron, y el tren comenzó a ir más lento. Al llegar a la estación F. de Medicina el tren se detuvo como siempre, pero a los 5 minutos (sin que retome viaje) el chofer indicó que La línea D se encuentra con demoras por fallas electricas.

Al esperar el malón salga (unos 5 minutos) salgo del subte para encontrarme al personal no médico del hospital de clínicas que estaban haciendo una movilización. Lo que me molestó de esta gente no fue los bombos, si no que constantemente estaban tirando petardos.

Luego de caminar unas 5 cuadras, y quedar frente al hospital de clínicas, quiero tomar un taxi y el primero me lo saca de la mano un tipo. El segundo que vino rápidamente, casi me lo saca otro tipo, pese a que esta vez el taxista me había visto de forma univoca como cliente, y se estaba arrimando hacia donde yo estaba, esta persona casi me lo saca, salvo que el taxista sigui de largo dos metros hasta donde yo estaba, y recién ahí el boludo se dio cuenta que había otra persona esperando de antes.

En fin, llegué a tiempo al trabajo, pero me topé con muchos usuarios inconformes de este sistema llamado tercer mundo.

A todo esto, yo continué todo el día relajado. No voy a ponerme a despotricar contra nadie por los infortunios de vivir en una ciudad sobrepoblada y exedida por todas partes.

20070607

puntos de vista encontrados: protestas y manifestaciones

Por las caracteristicas del ambiente en que me muevo, veo desde gente conservadora, extremadamente conservadores, comunistas, protestantes, católicos, judios, anarquistas y muchas otras.

Yo soy algo anti católico y afines (me cae demasiado pesado el que quieran convencer de que tienen la razón constantemente) y algo anarquista, con lo que suelo chocar con mucha gente a la hora de hablar de cosas de la realidad usual.

Por ejemplo, si el cortar las calles está bien o mal. Yo soy de los que piensan algo simple, el quejarse es un derecho, y el que a alguien le moleste ese hecho de protesta es inevitable. Y en muchos casos, es la única forma que tienen para elevar sus quejas, dado que se cansaron de hablar y peticionar sus necesidades.

Algo que muchas veces me dijeron, y que realmente me parece una falacia re pedorra, es que los del colegio NN se quejan que no tienen una estufa y a 100 km van descalsos.

¿que hay de mal con este razonamiento?

Simple, que otras personas estén peor que yo no significa que yo no pueda quejarme porque estoy mal. En otras palabras, en un problema el tercero está excluido, y debería estarlo porque no tiene nada que ver con el problema del colegio NN que tienen problemas con una estufa.

Luego hay otro razonamiento que me gusta mucho y que escucho mucho también (aunque en menor escala).

Si los del colegio NN están disconformes con que les falte una estufa que se cambien, pero que no corten la calle.

Esta es más simple de probar, y es que hay un problema que no muchos tienen en cuenta, ver el problema desde un punto de vista superior. En un colegio promedio (de secundaria por ejemplo) pueden haber dos cursos de unos 30-35 alumnos, lo que hace un total de 300-350 alumnos. Actualmente la mayoría de los colegios están tan superpoblados (originalmente las aulas estaban diseñadas para mantener a 25 personas cómodas) que el poner esas 300 personas en otros colegios es casi imposible. Y lo peor de todo, es que es muy incomodo y contraproducente el hecho de separarlos por la fuerza.

Visto el problema por algo puntual es molesto porque impiden el transito y joden de varias formas. Pero el problema de como protestar y pedir las cosas cosas que se necesitan (y que había la obligación de que estén disponibles, o son de primera instancia). El mayor problema de todo esto, según lo veo yo, es que esto no tiene una solución simple de como protestar.

Por ahora, como lo veo yo, dentro de algo pacifico no hay muchas formas de protestar que no sean cortando una calle o haciendo una marcha.

Otra que queda, que espero que por varios años no venga, es hacer barricadas y cagarse a palos con la policia (o cagarse a tiros). Que varias veces se ven enfrentamientos, pero por suerte no pasan a mayores.

20070521

todo es comparable

Mientras leo algunas noticias viejas encontré esta:

http://battellemedia.com/archives/003643.php

Es sobre el trabajar en Google y el trabajar en MeetUp. Es una simple frace, pero es muy buena la forma en que se llega a la comparación.

20070515

rfc interesantes

Esta semana estuve leyendo RFCs, y recordé los que son más interesantes de leer:


  • 3092: Explica que es Foo y que es Bar

  • 2119: Explica (como dice al principio de cada RFC, que es MUST, SHALL, etc.

  • 2616: HTTP/1.1

  • 1945: HTTP/1.0

  • 2822: Mensajes de correo electrónico

  • 2821: SMTP, o sea como hablar con un servidor de mail

  • STD53: Post Office Protocol 3, o sea, como hablar con un server POP3



Hay otros que también son muy interesantes (como el que estoy leyendo ahora 4625 que es de ruteo de FC).

happy hack