Better HN
topnewbestaskshowjobs
Log inSign up

gaving

272 karma · joined Jun 18, 2011 (15y ago) · 124 submissions

[ my public key: https://keybase.io/gaving; my proof: https://keybase.io/gaving/sigs/sXBrlhmAqNe63KrqrL2l1lO0emvtoMSof_C5XQ3LiFM ]
Submissions

comment 6y ago · link · parent

Pretty cool with the editor interaction.

Also worth bearing in mind most shells can do this sort of thing easily enough too.

The example from your video with zsh's zmv (bundled: https://github.com/zsh-users/zsh/blob/master/Functions/Misc/... )

  > touch btn_google_{signin,signup}_dark_normal_web{,@2x}.png # create files
  > ls -l
  .rw-r--r-- 0 gaving 31 Dec 10:34 btn_google_signin_dark_normal_web.png
  .rw-r--r-- 0 gaving 31 Dec 10:34 btn_google_signin_dark_normal_web@2x.png
  .rw-r--r-- 0 gaving 31 Dec 10:34 btn_google_signup_dark_normal_web.png
  .rw-r--r-- 0 gaving 31 Dec 10:34 btn_google_signup_dark_normal_web@2x.png

  > zmv -n -W btn_*_sign*_dark_normal_web* *_sign_** # dry run
  mv -- btn_google_signin_dark_normal_web.png google_sign_in.png
  mv -- btn_google_signin_dark_normal_web@2x.png google_sign_in@2x.png
  mv -- btn_google_signup_dark_normal_web.png google_sign_up.png
  mv -- btn_google_signup_dark_normal_web@2x.png google_sign_up@2x.png

  > zmv -W btn_*_sign*_dark_normal_web* *_sign_** # change files
  > ls -l
  .rw-r--r-- 0 gaving 31 Dec 10:34 google_sign_in.png
  .rw-r--r-- 0 gaving 31 Dec 10:34 google_sign_in@2x.png
  .rw-r--r-- 0 gaving 31 Dec 10:34 google_sign_up.png
  .rw-r--r-- 0 gaving 31 Dec 10:34 google_sign_up@2x.png

comment 8y ago · link · parent

Interesting to see an article about this, I knocked together a React app the other month for my company based off questions from rands famous "Shields Down" https://medium.com/the-blueprint/shields-down-c291f015618f using this method.

https://github.com/gaving/happy-or-not

Never got around to analyzing the data, too scared.

3.

Face Recognition with Deep Detect (Part 1)(gavin.coffee ↗)

1 points · by gaving · 9y ago · discuss

comment 9y ago · link · parent

Nothing to hide; nothing to fear, right?

comment 9y ago · link · parent

I'd certainly try it out for a day or two a week, backpack / jersey pockets for stuff.. easier if you have a locker or showers at your work. Hopefully you wouldn't arrive too sweaty after 3 miles which should take you about ~15 minutesish.

Win-win though, exercise and if you get in to it less fuel costs. Could easily clock up 30 miles a week and extend your route on nice days.. no brainer!

comment 9y ago · link · parent

"5 minute drive"? Buy a bike and chuck out 0600-0700!

comment 9y ago · link · parent

not for much longer https://www.youtube.com/watch?v=rzclz1seo0g

comment 10y ago · link · parent

Neat D3 based globe component, don't suppose the source is anywhere?

comment 10y ago · link · parent

Aren't most people using neovim now?

10.

Change “nvim” to “ni” everywhere(github.com ↗)

1 points · by gaving · 10y ago · discuss

comment 10y ago · link · parent

If you don't have to support win32 platforms, I'd say go with Electron.

Other than that, features pretty similar.

comment 10y ago · link · parent

Announcement: http://nwjs.io/blog/v0.13.0/

13.

What's new in NW.js v0.13(nwjs.io ↗)

2 points · by gaving · 10y ago · 1 comment

comment 11y ago · link · parent

Congrats to the team, I'm dying to switch myself but closely watching Windows support since it's unfortunately my primary work platform.

comment 11y ago · link · parent

Nice. Always meant to try and do something similar myself using https://github.com/joewalnes/websocketd

comment 11y ago · link · parent

Weekend(ish) project to play with React.

https://github.com/gaving/terra

Related:- https://news.ycombinator.com/item?id=7178358

17.

Show HN: Australia Quiz (Sound)(terraaustralis.herokuapp.com ↗)

2 points · by gaving · 11y ago · 2 comments

comment 11y ago · link · parent

Rather than a hello world, a GUI to show users on a GitLab instance.

19.

Show HN: First Clojure project(github.com ↗)

2 points · by gaving · 11y ago · 1 comment

20.

Xerox PARC in the 21st Century(berkeleytechreview.com ↗)

1 points · by gaving · 11y ago · discuss

comment 11y ago · link · parent

I'm prone to indecision, and try to remember this one at all times:-

"He who deliberates fully before taking a step will spend his entire life on one leg."

- Chinese Proverb

22.

HTTP ETag(en.wikipedia.org ↗)

3 points · by gaving · 11y ago · discuss

comment 12y ago · link · parent

not exactly highly endorsed https://twitter.com/tjholowaychuk/status/382084838179614721

24.

Going Forward Is Leaving Past Behind(glazkov.com ↗)

3 points · by gaving · 12y ago · discuss

comment 12y ago · link · parent

Even more hilarious is the sounds of these "tamper proof" screws on the bottom. I mean, why do they care so much?

comment 12y ago · link · parent

http://github.com/keendreams/keen/blob/master/kd_main.c#L279

God, so wish I'd known this at the time.

27.

Adieu, Koku(fadingred.com ↗)

12 points · by gaving · 12y ago · 2 comments

comment 12y ago · link · parent

Woah. Just tried prefix-alt-[n], totally awesome.

Thanks!

comment 12y ago · link · parent

Loving the progress of Neovim so far, even better that notable plugin authors (https://github.com/neovim/neovim/issues/622#issuecomment-415...) are getting involved.
12345