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 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

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

Install docker on debian with Ansible

Here is a playbook for Ansible to install Docker and Docker Compose on Debian. You can of course, use a role from Galaxy. You have Gerling’s version or Debops (Ansible stack for Debian). But here I wanted to implement the install guide from Docker – and translate this into an Ansible playbook (which then should be turn into a custom role for more reusability). The official guide give use the following install steps:...

September 29, 2018 · 3 min · Johann Savalle

Empathy is the new black

For what it’s worth, I have been noticing a raising interest for empathy in the past few years. It’s been popping everywhere from a variety of fields, either in business and entrepreneurship, human resources and management to more more remote fields like design and product development as well as the obvious therapy and education fields. Science seems to have discovered a couple of years ago that we are wired for it:but science isn’t really everything there is to it – I mean look at this article about this lady being a lead researcher on empathy, and she still managed to bullied colleagues and staff....

September 28, 2018 · 2 min · Johann Savalle

stop and remove all docker containers

Simple. You can make an alias and it to your bash profile :

September 27, 2018 · 1 min · Johann Savalle

Douglas Adams 3 rules of innovation

Anything that is in the world when you’re born is normal and ordinary and is just a natural part of the way the world works. Anything that’s invented between when you’re fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you’re thirty-five is against the natural order of things.

September 6, 2018 · 1 min · Johann Savalle

3 interesting read on innovation

[Why You Don’t Understand “Disruption” ]1 by Bill Barnett where you learn that Kodak invented Instagram in the 90’s. What Your Innovation Process Should Look Like where Steve Blank share some knowledge on innovation processes inside an organisation Optimize when you can, standardize if you must. Not 100% on innovation but still important to understand how to approach these two parameters of every technological project

September 5, 2018 · 1 min · Johann Savalle

Data Warehouse vs Data Lake

September 4, 2018 · 0 min · Johann Savalle

The Principal Agent Problem & Hayek’s Knowledge problem

The Principal Agent Problem The Principal Agent Problem occurs when one person (the agent) is allowed to make decisions on behalf of another person (the principal). In this situation, there are issues of moral hazard and conflicts of interest. The Principal Agent ProblemHayek’s Knowledge problem Frequently mentioned as the most important essays in the history of economic thought, Hayek’s essay “The Use of Knowledge in Society” question the fundamental problem that economics exists to solve?...

September 4, 2018 · 1 min · Johann Savalle