Inicio

Cut video clip using ffmpeg

Very simple and useful parameters of ffmpeg:

ffmpeg -ss HH:MM:SS -i INPUT_FILE -to HH:MM:SS -c copy OUTPUT_FILE

Get Linux system process list without ‘ps’ command

When you work with embedded systems sometimes you would feel happy to have a Linux box until you discover there are plenty of basic things that you don’t have available, the extreme of that could be the ‘ps’ command which is used most of the time for checking if any process is running . Maybe you know that thanks the /proc filesystem there is access to the source of the information.

Keep next command close for solving this inconvenience he next time:

find /proc -mindepth 2 -maxdepth 2 -name exe -exec ls -lh {} \; 2>/dev/null

1 any de la meva nova vida

Al fer un canvi, arriba un moment on cal fer balanç. Sovint les efemèrides són un bon moment per fer aquest tipus de balanços. Aquesta era la meva idea pel dia 1 de Novembre exactament el dia que va fer un any que vaig canviar de vida, un any d’ençà que vaig deixar Nexiona l’empresa que vaig co-fundar amb el Jaume Rey i el Joan Knüth. Des de les meves idees inicials fins a la realitat que he aconseguit construir en aquest tema, com no podia ser d’altre forma, s’ha obert un gap important. Això no vol dir pas que el balanç sigui negatiu, només faltaria, simplement que les coses no surten mai com un creu que sortiran.

El primer punt a mencionar és el tema relatiu a la meva vocació de compartir. Durant aquest temps he pogut a fiançar un “life motive” que em va molt bé per filtrar el que vull, o no vull fer, pels que encara no ho coneixeu parlo de “Compartir Experiència, Coneixements i Creativitat”. A això ja hi puc sumar una visió clara: “Ajudar a construir un món on les persones puguin viure de la seva passió”. És més, fins hi tot ho estic aterrant amb una missió: “Contribuir en reduir el gap entre la formació i les habilitats que requereixen les empreses”.

Els que em coneixeu sabeu perfectament sobre quins valors estic treballant, és a dir, en que fonamento el meu treball. La passió, responsabilitat, coherència, superació, autonomia, aprendre, innovació i sobretot ser bona persona. Tot plegat és fonamental perquè em senti legitimat a seguir endavant amb la meva causa.

Una de les pors que he aconseguit dissipar a aquestes altures és el fet de saber que soc capaç de viure d’oferir al món un conjunt de productes i serveis fonamentats amb l’esmentat anteriorment. Honestament un cop superat aquest punt la forma d’afrontar el dia a dia ha canviat radicalment. És a dir, un cop el negoci comença a fluir i a alimentar-se tot sol la fase imaginaria comença a convertir-se en uns fets que ja es poden gestionar, es poden treballar, a més d’anar-los fent ajustaments perquè no perdin de vista l’enfoc que tenia tot plegat.

No puc amagar la meva satisfacció de no continuar a la primera línia de la creació de productes tecnològics. Realment sento que és una etapa que ja he cremat i poder viure aquest món des d’una certa distància aportant tota la meva ajuda a persones, equips i empreses perquè siguin ells qui gaudeixen aquest trajecte em permet viure la vida amb una pau i una satisfacció difícils d’assolir en la meva anterior etapa.

Pels que necessiteu concretar més respecte. Puc explicar-vos que els meus serveis de consultoria enfocats a petites empreses i startups ha superat totes les meves expectatives. Tinc molts més clients i sol·licituds de clients dels que em pensava; és a dir, no soc capaç de donar resposta a totes les demandes que m’arriben. Empreses energètiques amb negocis d’IoT, acadèmies de programació de robots, aplicacions per validar referencies professionals, empreses del sector sanitari, farmacèutic, tots plegats són només alguns dels exemples de clients que tinc i he tingut. Realment he après moltíssim, ajudant-los a muntar processos i sistemes, millores en sistemes productius, fer dissenys basats en Lean Startup per iniciar la seva activitat. A més d’un llarg etcètera que realment m’apassiona.

Les formacions han estat una altra font inesgotable de satisfaccions i un degoteig constant de clients i experiències. Evidentment el projecte més gran i rellevant al respecte és la UOC on estic donant un curs d’IoT que pertany a un programa del SOC que s’anomena PQTM. El que realment m’apassiona més és veure com els alumnes milloren i aprenen moltíssim gràcies al treball que anem fent. Però hi ha moltes altres formacions relacionades que he tingut la sort d’oferir; des del Lean Product Management, passant per IIoT pràctic al col·legi d’enginyers industrials, fins al ja recorrent curs de Cloud Computing per ACCIÓ. El que més destaco d’aquest tema són els contactes increïbles que sovint han acabat generant nous projectes en altres àrees.

Pel camí he tingut temps de treure el meu primer infoproducte, el qual encara està esperant el seu primer llançament. Que per cert he de dir que ja estic preparant, però ja no puc explicar més. Si encara no saps de què parlo m’estic referint a la masterclass de Cloud Computing que ofereixo des de https://industry40.store i que a través d’una sèrie de vídeos pretén acostar els serveis del Cloud als directius i d’altres càrrecs de responsabilitat dins de les empreses.

Honestament convertir les ponències com a una font d’ingressos és la part més difícil. És a dir, he aconseguit que em vagin remunerant per totes les ponències que vaig fent però els ingressos estan molt lluny de suposar quelcom significatiu en la meva economia, així doncs, viure d’això de moment serà difícil o quasi impossible. Però honestament no em preocupa massa, perquè tinc clar que si segueixo el camí que estic descrivint la cosa només pot millorar i no se sap mai fins on pot arribar.

Sempre he guardat un raconet pels projectes més tècnics, això si, aquest espai esta molt restringit i més que ple amb les col·laboracions que faig en projectes d’Industrial Internet of Things. Va genial per matar el cuquet que sempre tinc de tocar la realitat del mercat i els projectes. Em permet jugar un paper clau i al mateix temps fora de la primera línia i a distància, com a mi m’agrada. Així doncs, puc seguir aprenent i posant-me a prova amb reptes acotats i d’un valor increïble.

Hi ha dos projectes dels que encara no puc explicar res però que són súper estratègics i que em permeten somiar en fer clau la meva aportació a la societat. Ambdós avancen fermament i em tenen en compte. L’únic que puc aportar és que estan relacionats amb temes estratègics del món educatiu i els perfils tecnològics; fins hi tot amb el futur del treball. Tan de bo d’aquí uns mesos aquests projectes acabin agafant un paper protagonista en la meva llista de prioritats perquè em permetrien estar molt alineat amb aquella visió i missió que comentava a l’inici.

En resum i com a fet més destacable. Noto que estic aportant amb cada aportació alguna cosa al món, noto que tot plegat ajuda a fer del món un lloc millor i que hi estic fent més del que havia fet fins ara. El fet de poder donar un sentit a les tasques que ocupen els meus dies crec que és fonamental per mantenir la motivació alta i la il·lusió per seguir endavant.

Deixo fora d’aquest article les referencies a les diferents formacions que he anat fent durant quest any perquè sinó es faria infinit i difícil de digerir, però mencionar que un cop més les formacions han estat una font de contactes d’un valor incalculable.

Abans d’acomiadar aquest text volia fer una menció d’agraïment a tots i totes els que heu fet possible que viure de compartir els meus coneixements, experiència i creativitat hagi estat una realitat.

Moltes gràcies.

RDP vs Team Viewer vs Anydesk

Lately I bought a Surface Go for working specially as an agenda and for working outside home when I don’t have to work on technical stuff. At some point I considered the idea of working on that device remotely when I’m working with my desktop environment because it could be more comfortable specially because I have a bigger screen and keyboard for interacting with the content that I have on the tablet.

The first thing that I tried to do was enabling Remote Desktop Protocol on my Surface Go. But it was officially impossible because it has Windows 10 Home and the “Home” version doesn’t have this feature. BTW when you are not comfortable with this the best is googling little for finding any hack which allow me to enable the service. And yes, it exists and works really well.

You can find the project which hacks that in Windows 10 Home GitHub it’s called “rdpwrap” and if you want to know more about that go to next links:

After so much effort for getting RDP working on Windows 10 I discovered that RDP doesn’t work like Team Viewer, so you’re not going to control remote desktop while you can view what is happening in that remote session. This is not mandatory for me but in some cases it’s really useful. After some weeks I had to install Team Viewer for getting that feature working and I rediscovered that tool after some years without using it, and I was pleased to discover how good it works and how it improved after some years.

Then something inside me triggered the idea to look it up for an alternative to Team Viewer without so many restrictions and with a better free version. After trying some alternatives to Team Viewer I have to recommend Anydesk as an excellent and simple to use tool. And the most important thing, you don’t have to install anything in your Linux, Mac or Windows computer for using it. The only thing that you have to do is run the executable and use the auto-generated code for connecting to the remote system. I felt very good for those features and currently this is the option which I use for giving some support to friends remotely and for connecting to my Surface Go desktop remotely from my desktop computer.

As you can see this is not an exahustive revision, or comparsion of feautrues of all those three tools. But at the end of the day most of them allow you to do the same things but with slightly different procedures. BTW, the killer feature for me is something that I’ve got from “join.me” in the past, I mean use a tool for remote desktop control without having to install anything in the server and neither in the client part. I didn’t talk about “join.me” because it eats all my resources when I run it, and they focused the tool as a meeting tool and this is not anything that I want. Those extra features killed IMHO the best things that tool had in the past.

TL;DR

The best option IMHO and for my use is Anydesk.

Enjoy it.

OBS Studio – cómo usar los perfiles, escenas y fuentes

Cada vez uso más OBS Studio y hace unos meses me decidí a sacarle todo el jugo a la herramienta. Pues bien, para ello me tuve que ir al manual para entender cual era la finalidad de los perfiles, las escenas y las fuentes. Para que no se me olvide registré este vídeo: