Propaganda Oculta
Cómo convencer a Skype en Ubuntu de que no use PulseAudio
Desde hace mucho tiempo que el micrófono no me funciona con la instalación típica de Skype en Ubuntu. PulseAudio es demasiado quisquilloso y nomás no se entiende con Skype, así que siempre termino usando Skype sin PulseAudio de la siguiente manera:
/bin/sh -c "PULSE_SERVER=127.0.0.1 skype"
Etiquetas: howto, pulseaudio, skype, ubuntu
Flash Builder hangs while "Loading Workbench"
Sometimes Flash Builder crashes, and sometimes, when it crashes, it leaves the "workbench" in an unusable state. It's easy to fix, but it's hard to find the answers right away, so here goes:
- Kill the Flash Builder process (if it's still running)
- Find the "Adobe Flash Builder 4/.metadata/" folder, or similar, in your home folder
- If there's a .lock file, delete it
- From that same folder, go into ".plugins/org.eclipse.core.resources/"
- If there's a .snap file, delete it
- Restart Flash Builder
That's it. These instructions are good for Flash Builder 4, at least.
Etiquetas: adobe, crash, flash builder
XML initialization in ActionScript
The difference between these statements:
var xml:XML = new XML('
<
root
>
' + o.data + '
<
/root
>
');
var xml:XML =
<
root
>
{o.data}
<
/root
>
;
is that the first forces the XML constructor to parse every part of the String, looking for XML code. The second statement treats the
{var}
as a simple data value, so potential XML code inside it will be escaped (that is, something like
<tag>
will become
<tag>
).
In short, if
o.data
should be considered as a complex XML value, use the XML constructor. Otherwise, you can use the fancy shortcut.
Etiquetas: actionscript, xml