Hacker Newsnew | past | comments | ask | show | jobs | submit | beckit's commentslogin

This is a sweet idea, thank you!

My suggestion for minimal/readable:

  /*usr/bin/env go run "$0" "$@"; exit;*/

  - go fmt leaves it alone
  - it preserves the exit code in case env or go breaks
  - it "figures out" where go is, no need to hard code a path that breaks on yet another machine (where /usr/bin/env is "standard")

  ( 
  The first example:
  - I'm not a big fan of the subtle extra work that the question mark in the original path imposes on the system.  env is (almost) always going to be as /usr/bin/env and rarely would something else that matches exist.  ls -d /?sr to see what outputs on your system.  That being said, the extra work isn't very meaningful in this case...

  - The trailing $? seems unnecessary as the final exit will convey the return code from env go regardless of if the $? is present or not
  )



A decent workaround, albeit expensive.


Its approximately price competitive to purchasing a small monitor with speakers... but its much more portable. I presume one can shop around and find it cheaper than the link I've posted - I only looked about for a few minutes as its been quite a while since I'd shopped for this when I researched it the first time around.

I'm not sure an HDMI input capable notebook exists. If it did, given the variety of factors involved in what I want in a notebook, its almost certain that I would have issues with certain aspects of its design (keyboard? mouse? screen? battery? physical size? cost of components? port counts? overall carry weight? etc.)

Using an external capture device frees one from that "locked into a notebook I kind of don't otherwise want" decision. As well, since it is external, it can be used among multiple computers - each subsequent laptop can be whatever laptop you want and have the capability of hdmi input.

A secondary use - the usb hdmi input can be used to stream (twitch...) gameplay from another source (retropie, NES classic, ps4, etc.)


It's a toss up between the US Robotics Courier HST Dual Standard and the Courier v.Everything


Almost every job I've worked in the past twenty years around Seattle has let me have the choice of a standing desk. I know that some of my coworkers definitely preferred to have the stand up style of desk and were fairly productive in them. I took the standing option once and after two years of it, I found I prefer to sit "most of the time", especially so when I'm working on code. I found that after requesting the standup desk, I found a bit of guilt as I didn't want to stand most of the time. I compromised with a tall chair and a large foot rest instead of having facilities switch the desk back to sitting. This let me have a sitting desk that I could stand on occasion, but I could tolerate hopping down from the tall chair for only two years. I went back to sitting full time. Towards the end of my tenure my employer purchased sit/stand desks for everyone. Those were quite nice but pricey - I'd like to find one for my home office, but in the mean time, a sit down desk and taking regular walking breaks in the neighborhood seems to work for me.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: