Skip to main content

Posts

canalmac.es y #mac en irc-hispano

Escribo esto por si alguien intenta googlear sobre Antispasm (yo!) en el canal #mac en irc.irc-hispano.org, o en canalmac.es . Después de unos cuantos años allí, y de incluso plantearme escribir en canalmac.es , la cosa se ha puesto inaguantable hasta el punto de tener que escribir esto. Si buscas consejo o ayuda para algún problema, primero que nada (y para mantenerme en mi línea): has googleado ya? ;P Y si ya lo has hecho, lo siento pero en #mac dudo que encuentres nada de interés. Poco a poco hay menos gente, y hace tiempo que no veo a nadie con idea; el último creo que era yo, modestia aparte ;P, y cada vez estoy menos por allá. Hay dos o tres personas allí que trabajan en IT de una forma u otra, pero por lo que preguntan o dicen de vez en cuando yo no confiaría en ellos, por lo menos cuando se trata específicamente de Mac OS X. Y concretamente, y ésto es lo peor: ojo con Tuti. Es operador allí, y es el... editor? de canalmac.es. Es usuario de Mac desde hace tiempo, pero creo...

dtrace'ing paging to disk

How to know which processes are paging to/from disk (as opposed to other VMM management) in OS X, and how much exactly: sudo dtrace -n maj_fault'{@[execname] = count()}' reference (with examples and other options): http://wikis.sun.com/display/DTrace/vminfo+Provider I had been meaning to look for ways to do this, and tried some of the tools included in OS X (Activity Monitor, top, Instruments, vm_stat, vmmap, top, ...). But nothing really helped, and/or seemed to miss the exact level of information I was targeting (only resulting in real I/O; relationship between I/O and process; realtime... ). Finally I had the inspiration to google for "dtrace pagefaults". Bingo. (dtrace in this example isn't realtime, but is the best approximation so far, and I'm guessing some tuning should fix it. Heck, it's a one-liner!) Learning dtrace is still something I'd love to do, and once again it is tempting me to let it jump to the front of queue... (Mhm, wi...

Compiling Transcode 1.1.6 and 1.2 in OS X

(express post, too much time spent on this but too much work spent to let it slip without benefitting someone else) 1.1.6 is not released, had to be hg-cloned. In fact, the repository looks like the 1.1.6 tag was at some moment added but then deleted?? That branch also has the latest video stabilization, no idea yet if it is also in 1.2 Can be compiled. Get the hg repository via hg itself, not one of the zip/bz/etc packaged from the website since the compilation scripts expect to find the .hg files. Read the README and INSTALL, you'll need to create the configure yourself (easy, just read) I am using MacPorts, and even installed the included Transcode 1.1.5, so all the requirements are already installed. Most of the expected work was about configuring tne non-macports transcode to use the /opt dirtree. (Incidentally: 1.1.5 has horribly mismatched documentation, I have had to resort to using strings and source code to understand what some of the utils were supposed to ...

Discos duros dañados, salvar datos y huir de SpinRite

Últimamente me he encontrado a gente hablando de usar SpinRite para recuperar discos duros (incluso en Macs!), así que quizás ayude si cuento mi experiencia. Hace unos años (quizás 5?), el disco duro de mi iMac G3 de por entonces empezó a fallar. El ordenador se quedaba de repente congelado, sin responder a nada durante alrededor de 10 minutos, y luego de repente continuaba funcionando como si nada. Si recuerdo correctamente, las pausas siempre eran igual de largas, y ni siquiera respondía al ratón. No recuerdo si el disco hacía algún ruido extraño. Cómo supe que era el disco duro? Probé con algún CD o DVD de Linux y todo parecía ir bien, excepto al acceder al disco duro. Quería sacar los datos, así que empecé a buscar posibilidades. Una cosa que encontré fue SpinRite, que según lo que decía en su página web, sonaba a magia... lo cual en cosas de informática no es buena señal, creo yo. Se supone que SpinRite "revive" el disco duro. Pero bueno, llevaba tiempo con curiosi...

"OpenSSL speed" on iPhone 4

A test I thought could be interesting to get some (diffuse) idea of the processing power of the iPhone 4: Mijails-iPhone:~ mobile$ uname -a Darwin Mijails-iPhone 10.4.0 Darwin Kernel Version 10.4.0: Wed Oct 20 20:14:45 PDT 2010; root:xnu-1504.58.28~3/RELEASE_ARM_S5L8930X iPhone3,1 arm N90AP Darwin Mijails-iPhone:~ mobile$ openssl speed To get the most accurate results, try to run this program when this computer is idle. Doing md2 for 3s on 16 size blocks: 113903 md2's in 2.93s Doing md2 for 3s on 64 size blocks: 59789 md2's in 2.96s Doing md2 for 3s on 256 size blocks: 20740 md2's in 2.94s Doing md2 for 3s on 1024 size blocks: 5722 md2's in 2.95s Doing md2 for 3s on 8192 size blocks: 741 md2's in 2.95s Doing md4 for 3s on 16 size blocks: 962184 md4's in 2.99s Doing md4 for 3s on 64 size blocks: 808365 md4's in 2.94s Doing md4 for 3s on 256 size blocks: 553565 md4's in 2.94s Doing md4 for 3s on 1024 size blocks: 251644 md4's in 2.96s D...

Moon vs. Blade Runner

(spoilers ahead! :P) I came out of watching Moon thinking that Blade Runner, if you only thought a bit about it, covered the same ground, and in a better way. Moon is a corollary, a footnote to the world of Blade Runner. And had the same feeling of fake-ish, exercise-ish, not-really-well-thought-to-the-end-ish that for example had Gattaca: there are a number of small details that are just left there hanging. They can be just forgotten and the main story is still there; or that's what I guess that the film makers thought. But nevertheless that makes it feel non-finished, not-taken-care-of. Like someone said "c'mon, the premise is good enough, don't mess too much with the details". But no, the result isn't good enough; interesting how that detracts from the whole feeling. (I will forget about these details later, so better dump them here now: isn't it too easy to have those "filers" with the clones ready to be deployed? Is enough Gerty with t...

Choosing a dance?

A number of times now some friends have asked me for advice about starting "some salsa or dance course", and of course they are surprised when I ask back what kind of salsa. I too had no clue that there were different kinds when I started. So I'll write the answers down so next time I can just point people here. For history and dry reading I could just point them to Wikipedia, but I know that it didn't help me to understand things better. Now it is more interesting, but when I was absolutely starting, it was pretty much useless. Even the videos don't say a lot; it's a bit like going to a restaurant for some cuisine type you don't know, and having to choose a dish by the ingredient list or by some photo: hardly ideal. So I'll write about what I feel can be more interesting / practical for someone wanting to start and choose. Will also be interesting to check how my opinions evolve in a future. My credentials: I am still mostly a beginner. I only st...