• 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

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

  • Stand up & stretch. Take ur time with it.
  • Plug in your phone & laptop to charge.
  • Change out of the clothes & underwear ur currently wearing. Doesn’t matter if u take off one set of pyjamas and put another set on.
  • Drink an entire glass of water.
  • Pee
  • Wash ur face.
  • Address your most immediate physical pains/discomforts. If you have a headache, take medicine & hydrate. If you have any cuts, clean & cover them.
  • If you can eat: eat. If not, brush your teeth, chew some gum or even just swig some mouthwash. You’ll feel more human for it.
  • Catch up on some basic social maintenance stuff- text back the last few people who got in touch. Let your partner or close friends/family know how you’re doing. If you need to email work or school to request time off: do that.
  • Make a doctor’s appointment.
  • Push back the duvet/blankets & sweep all crumbs & other bits onto the floor (u can deal with them later when ur feeling better- there’s no need to be lying amongst depression detritus if you can avoid it)
  • If you need to take your meds- take them, or set a reminder for later.
  • Pick up & tidy away TEN different things. This can include picking up rubbish & throwing it into the bin, putting all clothes into one pile, stacking all plates, tidying shoes away.
  • Alternatively u can try setting ur timer for 5 mins & tidy as much as possible in that time.
  • If u’ve been staring at screens for hours unable to stop (e.g. me as hell) set a timer for half an hour & instead listen to a podcast/album or do a meditation. Give ur eyes a rest.
  • Spray something that smells nice onto your pillow/jumper sleeve.
  • Open a window if possible.
  • Tell yourself a reassuring thing. For example: “right now is absolute shit, yes, but eventually I’ll have the skills to survive. I’m moving in the right direction even when it feels like I’m stuck. I’m in good company here, in this hell toilet. And it will all pass.”
  • Do ur skincare routine. Take ur time. Buff & moisturise your entire body. Make yourself soft like a newborn vole.
  • Unfollow everyone on Instagram whose posts don’t make you happy or encouraged. Unfollow anyone who makes you feel like your life/face/body is utter shite.
  • Unfollow everyone on Instagram whose posts don’t make you happy or encouraged. Unfollow anyone who makes you feel like your life/face/body is utter shite.

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:


Host gitolite-as-alice
  HostName git.company.com
  User git
  IdentityFile /home/whoever/.ssh/id_rsa.alice
  IdentitiesOnly yes

Host gitolite-as-bob
  HostName git.company.com
  User git
  IdentityFile /home/whoever/.ssh/id_dsa.bob
  IdentitiesOnly yes


Then you just use gitolite-as-alice and gitolite-as-bob instead of the hostname in your URL:


git remote add alice git@gitolite-as-alice:whatever.git
git remote add bob git@gitolite-as-bob:whatever.git

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

  • Scenario: User create an plan content for multiple social media
  • What to think of: Various roles – Content creator, Editor, Translator, Manager, Advertiser
  • Goals: Clarity
  • Tip: Think Buffer/Hootsuite

Exercise 5 Collaborative Translation system

  • Scenario: Translators, editor, proofreader, collaboration options
  • goals: Simplicity, clarity, option for everyone to work on it
  • Tip: think kanboard, vertical and / or horizontal

Exercise 6 Scheduling Meeting

  • Scenario: User want to schedule a meeting with a professional
  • goals: Simplicity, clarity
  • Tip: Calendar app

Exercise 7 Task managements

  • Scenario: User want to add a task to a task list, to project or to a
  • goals: Simplicity, clarity
  • Tip: Calendar app

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/

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’re looking at 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
https://www.researchgate.net/publication/300727546_Performance_analysis_of_the_Janus_WebRTC_gateway

WebRTC – CPU reduction, settings to tweak
https://stackoverflow.com/questions/28590423/webrtc-cpu-reduction-settings-to-tweak

WebRTC SFU Load Testing
https://webrtchacks.com/sfu-load-testing/

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. But this looks like a nice option.
Alternative is to go with Nginx as a server like for example in this demo.

I haven’t made my mind yet which is the best option to go with.
I’d tend to say Nginx is more robust … but maybe just because of the brand and actual SRS is as good and maybe simple to manage… dunno yet…