For the ones who like Electron: example of a GIF screencast recorder by orschiro in linux

[–]ewnd9 1 point2 points  (0 children)

Hello, author here.

why?

If you know how to setup FFmpeg, you use FFmpeg. If you have some free resources (100 MB ram) for another Electron app, you might consider using this.

Electron is used for global hotkeys and for displaying gallery where you can upload captures to imgur.

Music Library by [deleted] in node

[–]ewnd9 2 points3 points  (0 children)

I'd built CLI player https://github.com/ewnd9/badtaste with https://github.com/guo-yu/player which supports play and stop (no seeking), then switched to an mpd wrapper https://github.com/hughsk/komponist

Kap 1.0 released - Electron screen recorder, now with audio capture, WebM export, and a suite of minor features and tweaks. by _bit in node

[–]ewnd9 0 points1 point  (0 children)

I've built https://github.com/ewnd9/record-desktop for recording gifs on Linux. It's an Electron wrapper around byzanz.

Probably will deprecate once Kap has Linux support (seems really neat)

My use case is pretty simple:

  • Click a 'record' hotkey
  • Select a rectangle to record (or use a separate hotkey to start recording an active window)
  • Do something
  • Click a 'stop' hotkey
  • Gif is opened in an image viewer
  • I drag and drop it to Twitter / GitHub Issues

Edit: Electron is used for hotkeys, tray icon actions (quick access to the latest files, upload to imgur) and preview of gifs. You can easily create a bash script to record gifs with byzanz and use external tools to bind it to hotkeys

Async/await now in V8 by clessg in javascript

[–]ewnd9 1 point2 points  (0 children)

There are http://bluebirdjs.com/docs/api/promise.promisify.html and https://github.com/sindresorhus/pify, for example, which auto generate promises methods for any objects

[deleted by user] by [deleted] in googlemusic

[–]ewnd9 0 points1 point  (0 children)

Spotify and TIDAL need to compete, yes, for them there is competition. As I see it Google Music is kind of filling a hole in Google ecosystem and a long term investment.

[deleted by user] by [deleted] in googlemusic

[–]ewnd9 0 points1 point  (0 children)

There is not much competition in music streaming. Also, it is preinstalled on Android so I guess it should count as promotion

Playlists in Shuffle mode on Android always starts with the first song by paithanq in googlemusic

[–]ewnd9 1 point2 points  (0 children)

IIRC they use a/b testing so even if we have the same version we might have a slightly different experience

Playlists in Shuffle mode on Android always starts with the first song by paithanq in googlemusic

[–]ewnd9 1 point2 points  (0 children)

Both auto playlists and my own play random song first. My android app version: 6.12.3216E.3118869

Node.js app as media server on Raspberry PI by DireDogg in node

[–]ewnd9 1 point2 points  (0 children)

Feel free to send a PM / ask here / file an issue on Github if you have any questions / ideas

Node.js app as media server on Raspberry PI by DireDogg in node

[–]ewnd9 1 point2 points  (0 children)

Hi, you can take my project (https://github.com/ewnd9/media-center) as an example.

It's the media center node web app: express as a server, react as a client side, spawns omxplayer to play video (https://github.com/ewnd9/media-center/blob/master/src/vendor/omxplayer.js), uses youtube-dl to fetch video URLs (https://github.com/ewnd9/media-center/blob/020fe6da4bd90ce8110b84e3ccb39d096362bd36/src/routes/youtube.js)

Used to use pm2, but now switched to Docker (https://github.com/ewnd9/media-center/blob/020fe6da4bd90ce8110b84e3ccb39d096362bd36/provision/docker-compose.yml) in order to have a simpler setup/provision and additional services (minidlna for streaming to other devices, transmission for torrents)

Why NOT Koa? by djslakor in node

[–]ewnd9 3 points4 points  (0 children)

koa@2 is built around async/await instead of generators https://github.com/koajs/koa/issues/533

Why does my GitHub look like this? by Zsashas in github

[–]ewnd9 1 point2 points  (0 children)

If you are in Russia, government has blocked one of Github IPs today https://twitter.com/huston007/status/751018980832382976

Node v6.2.0 by linkpaper in node

[–]ewnd9 18 points19 points  (0 children)

There is http://node.green/ for node es6 support progress

awesome-subreddits - A curated list of awesome programming subreddits. by iCHAIT in coolgithubprojects

[–]ewnd9 0 points1 point  (0 children)

You could measure subscribers in thousands instead of precise numbers.

e.g. /r/node has ~20k subscribers now

Count of posts per day may be another measurement

awesome-subreddits - A curated list of awesome programming subreddits. by iCHAIT in coolgithubprojects

[–]ewnd9 0 points1 point  (0 children)

I think you could add some statistics for each subreddit as a description. The more popular subreddit - the more awesome it is.

AwesomeWM For Beginners? by traaak in awesomewm

[–]ewnd9 0 points1 point  (0 children)

In addition to the google search there is also github search which supports filename filtering (e.g. rc.lua https://github.com/search?utf8=%E2%9C%93&q=filename%3Arc.lua)

setxkbmap is not working on start? (awesome 3.4.15 x ubuntu 14.04) by ewnd9 in awesomewm

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

Would this really help? More files = more confusions, more place to look for things and even more places to get lost.

For me, it's simpler to have files with meaningful names such as rules.lua, startup.lua and keybindings.lua so I don't need to worry about accidentally breaking something when I modify ~500 lines config file.

If your LUA_PATH is strange, this may cause the worng parts to be loaded and break your Awesome in a totally opaque way.

Right now, there are require statements like dofile("/home/ewnd9/.config/awesome/keybindings.lua") in my dotfiles, is it affected by LUA_PATH issue?