TOTD – Routines

Failing to keep a routine does not mean you cannot fix it the day after.

January 3, 2019 · 1 min · Johann Savalle

redefine overdeliver

Should always strive to deliver – even if less than anticipated than delaying to try to over deliver. IE : you deliver more often – not just more quality – and more often is a more sure way to reach more quality than delaying delivery

January 2, 2019 · 1 min · Johann Savalle

Print your shoes

Because why not.Source : https://www.thingiverse.com/thing:285404 Supplies : https://www.gearbest.com/3d-printer-supplies/pp_919228.html?wid=1433363&lkid=15674036

December 12, 2018 · 1 min · Johann Savalle

expressjs dynamic routing – reading list

http://expressjs.com/en/guide/routing.html https://alexanderzeitler.com/articles/expressjs-dynamic-runtime-routing/ https://stackoverflow.com/questions/19096453/convert-object-to-express-dynamic-routes https://github.com/OneOfOne/dynamic-routes

December 12, 2018 · 1 min · Johann Savalle

how to cut video using nodejs and ffmpeg

https://stackoverflow.com/questions/31046930/how-to-cut-a-video-in-specific-start-end-time-in-ffmpeg-by-node-js#31050135 https://stackoverflow.com/questions/18444194/cutting-the-videos-based-on-start-and-end-time-using-ffmpeg?rq=1 https://stackoverflow.com/questions/40454172/ffmpeg-cut-video-and-include-ending-video-image?rq=1 https://superuser.com/questions/138331/using-ffmpeg-to-cut-up-video#704118 https://medium.com/@brianshaler/on-the-fly-video-rendering-with-node-js-and-ffmpeg-165590314f2

December 12, 2018 · 1 min · Johann Savalle

Mongodb – Reference or embed

https://stackoverflow.com/questions/5373198/mongodb-relationships-embed-or-reference https://www.tutorialspoint.com/mongodb/mongodb_relationships.htm https://www.studytonight.com/mongodb/relationships-in-mongodb https://docs.mongodb.com/manual/applications/data-models-relationships/ http://blog.markstarkman.com/blog/2011/09/15/mongodb-many-to-many-relationship-data-modeling/

December 12, 2018 · 1 min · Johann Savalle

shitty time reset procedure (src: twitter)

source NB: take with a grain of salt – but still some interesting tips. posted for reference #thread start: if you’re having a shitty time with your mental health and are low functioning i feel u & sympathise. here’s a list of potential actions for u to take to feel better/exist through it. try to pick a few & do them, but if you can’t : that’s valid too. let’s go...

December 12, 2018 · 3 min · Johann Savalle

Set up a different an SSH key for git push for a give repository

ok so I add the following problem to deal with. Posted here for reference. Source Even if the user and host are the same, they can still be distinguished in ~/.ssh/config. For example, if your configuration looks like this: Then you just use gitolite-as-alice and gitolite-as-bob instead of the hostname in your URL:

December 12, 2018 · 1 min · Johann Savalle

UX challenges – 7 rapid prototypinng

Rapid prototyping exercices Exercise 1: Mobile TV programs dashboard Scenario: when users login on the app what will they see, what can they do Goals: Engagement Exercise 2: Rapid prototyping of a live class Scenario: User is watch a live class – with interactive features Goals: interactivity with the teacher and / or other studens, accessibility, access to materials Exercise 3: A memo card : scenario: User selected to watch a series of random memo cards goals: Fun, Interactive Exercise 4: Collaborative social media publishing...

December 12, 2018 · 1 min · Johann Savalle

3 sites web sortit tout droits des années 90

Eh oui, c’était internet, il fut un temps (lointain… oui ben hein… comment ça vieux? De qui tu parles?) Internet Explorer is EVIL! http://toastytech.com/evil/ ARNGREN – ecommerce from hell http://www.arngren.net/ LingsCar – UK best car shop https://www.lingscars.com/

December 11, 2018 · 1 min · Johann Savalle

3 weird old fashion websites still alive today

Yes, once this was the internet Internet Explorer is EVIL! http://toastytech.com/evil/ ARNGREN – ecommerce from hell http://www.arngren.net/ LingsCar – UK best car shop https://www.lingscars.com/

December 11, 2018 · 1 min · Johann Savalle

WebRTC Janus – CPU intensive

WebRTC is great Janus is a cool library (link if you never heard of it : github and good intro link) But boy is it CPU intensive. here are some links for the case you are looking for ways to lower the damage Client CPU benchmark and how to improve it https://groups.google.com/forum/#!msg/meetecho-janus/ydGcbMt7IX0/LOGVIA6yjkAJ Performance analysis of the Janus WebRTC gateway Link To Research Gate Article WebRTC and CPU reduction, settings to tweak...

December 11, 2018 · 1 min · Johann Savalle

5 talks to get up to speed on the JAMStack

Never heard of the JAMStack? Maybe not directly – but if you are doing web dev you have for sure heard of some of the players in this field, like Jekyll, Hugo, Jigsaw or GatsbyJS just to name a few. Indeed monoliths CMS like WordPress or Drupal (just to name these two but Wikipedia list easily a few dozen of major players across all stacks and companies) are often being criticised for being slow at scale or hard to customise and the overhead of growing beyond a certain point start to become ROI negative due to the heavy lifting you need to deploy to get the CMS to do what you want....

November 20, 2018 · 2 min · Johann Savalle

SRS server – what it is – and install

What is it? source code on github From the website : SRS delivers rtmp/hls/http/hds live on x86/x64/arm/mips linux/osx, supports origin/edge/vhost and transcode/ingest and dvr/forward and http-api/http-callback/reload, introduces tracable session-oriented log, exports client srs-librtmp, with stream caster to push MPEGTS-over-UDP/RTSP to SRS, provides EN/CN wiki and the most simple architecture. Basically it is a simple way to set up and get going with an RTMP server. How to Create an SRS Server I obsviously still need to test it live....

November 20, 2018 · 1 min · Johann Savalle

How to Setup OBS with NGINX on Windows for RTMP Streaming + VPS Hosted by Amazon AWS

November 20, 2018 · 0 min · Johann Savalle

RTMP & Transcoding

Some research I have made recently while working on a broadcasting module of an app. Just saving here some of the best link I have found – as backup and maybe of interest for some people. Obviously if you are looking for a super structured article – I am far from it at this point – but that’s still the filtered version of a few hours of research to find the relevant and usable stuff – and it is practically what I have used to get to the point of a transcoding version of ffmpeg with facebook live (next step is to turn it into a nodejs microservice)...

November 19, 2018 · 1 min · Johann Savalle

Cicada 3301: An Internet Mystery

Cicada 3301 is an organization who used puzzles to possibly recruit codebreakers/linguists from the public. The first internet puzzle started on January 4, 2012, and ran for approximately one month. A second round began one year later on January 4, 2013, and a third round following the confirmation of a fresh clue posted on Twitter on January 4, 2014.

November 17, 2018 · 1 min · Johann Savalle

MongoDB Schema design

MongoDB Schema Design – Many small documents or fewer large documents? Source : Stackoverflow Modeling One-to-Few An example of “one-to-few” might be the addresses for a person. This is a good use case for embedding – you’d put the addresses in an array inside of your Person object. One-to-Many An example of “one-to-many” might be parts for a product in a replacement parts ordering system. Each product may have up to several hundred replacement parts, but never more than a couple thousand or so....

November 17, 2018 · 3 min · Johann Savalle

Facebook live using FFmpeg – and nodejs

Facebook Live using FFmpeg Play h.264 video stream in html page FFmpeg-based Live stream via Python PyLivestream

November 12, 2018 · 1 min · Johann Savalle

Exploring calendar/booking apps in reactjs

Looking to build a calendar app in React. You are not alone. I did some research to see what the world published on this so far, and here is what I have found. Room Booking System A room booking system built with MongoDB, Express, Node.js and ReactJS. This one has a lot going on. But it’s interesting to have a look at it. It seems like it’s a uni project or something… at least it’s organised as such....

October 25, 2018 · 2 min · Johann Savalle