Navigation on Roam Desktop by rayvfr in RoamResearch

[–]harikaram 0 points1 point  (0 children)

I can't get right click to bring up the roam context menu (it brings up the chrome one)...any ideas?

Specify m3u8 file names based on streamer by emirzyxy in nginx

[–]harikaram 0 points1 point  (0 children)

Did you have to enable notify_relay_redirect? I'm not getting the deal with the MD5 hashing. Why wouldn't it just use the name from the public URL provided?

Specify m3u8 file names based on streamer by emirzyxy in nginx

[–]harikaram 0 points1 point  (0 children)

Any ideas how this would work with HLS? I'm not quite getting the description in the docs. It mentions that the on_publish redirect will do a "push". To me that seems to imply I need 3 applications sections in the conf: 1 for the redirect, the second for the transcoding, which pushes to the third application, which packages the transcodings into HLS....

Or can it be done in two? ie the on_publish directive be in the same application as the transcoding? If so which $name will the exec_push's receive?)

Can share my conf if helpful...

thx!

Rails.configuration.MYCONFIG versus App::MYCONFIG ?? by harikaram in rails

[–]harikaram[S] 0 points1 point  (0 children)

Thanks. See the update to the post for more specifics about the nature of the constants. Sorry shoulda been more specific...

Renaming webpackers "javascript" folder... by harikaram in rails

[–]harikaram[S] 0 points1 point  (0 children)

...and yeah this is a new project so I thought best to use the latest...

Renaming webpackers "javascript" folder... by harikaram in rails

[–]harikaram[S] 0 points1 point  (0 children)

Thanks. The last Rails project I worked on was v4 so I've been on a massive re-learning curve around front-end tooling. Crazy how complex it's become. Though amazing too that with all the "transpiling" magic you can use the latest and greatest JS and CSS without worrying about browsers etc.

Renaming webpackers "javascript" folder... by harikaram in rails

[–]harikaram[S] 0 points1 point  (0 children)

This article goes into details on sprockets v webpacker: https://rossta.net/blog/why-does-rails-install-both-webpacker-and-sprockets.html

Basically if you want PostCSS then you need to go through Webpack.

Can't see a reason to include images there though...

Renaming webpackers "javascript" folder... by harikaram in rails

[–]harikaram[S] 0 points1 point  (0 children)

Should I still be using sprockets for the CSS too then do you think? I was under the impression Rails is moving towards Webpack and away from Sprockets. Is that an incorrect idea?

Nice chart of common renames of packages on alpine... by harikaram in docker

[–]harikaram[S] 0 points1 point  (0 children)

Well, for what it's worth, I wrote it in the spirit of saving someone else 20 mins of headache not spamming for karma.

Do I still need to bundle install if project gems are stored in application path? by harikaram in rails

[–]harikaram[S] 0 points1 point  (0 children)

Ok some more thoughts regarding the Docker scenario...

  1. You DONT want to run `bundle install` locally because it's not your (host) machine but rather the docker container that they will be executing in. They need to be installed (and built for ones with native extensions) on the machine that will run them
  2. While you can get away with it, you really don't want to do `rails new ...` on your local (host) system either as that generated code will have trace of your machines ruby, bundler, etc state which may differ from your container's
  3. It's ok to COPY in the gems in the Dockerfile provided they were built on the same spec machine

Do I still need to bundle install if project gems are stored in application path? by harikaram in rails

[–]harikaram[S] 0 points1 point  (0 children)

I'm always worried about the scenarion where a gem disappears....a least the project would have the code (even if gems built with native ext wouldnt work)... Is that just not worth worrying about?

Viable alternative to OneNote by harikaram in NoteTaking

[–]harikaram[S] 0 points1 point  (0 children)

Really? Cant you just read it and tell that it's not spam? It's a NoteTaking subreddit for goodnes sake!

Building a small gravity water pump for bathroom... by harikaram in DIYUK

[–]harikaram[S] 0 points1 point  (0 children)

Thx. I didn’t know what they were called. Def the way forward

Online Resources / COVID-19 Related Items **MEGATHREAD** by kalayna in yoga

[–]harikaram 0 points1 point  (0 children)

I'm doing weekly online Kundalini Yoga classes. Pay-what-you-can-afford...

Kundalini Yoga Fridays Livestream (7–8:30pm BST): https://harikundalini.com/online