Viewing profile — jfhufl
jfhufl
HN member- Joined
- Wed, Sep 20, 2017, 3:56 PM UTC
- HN karma
- 70
- Public activity
- 24 items
- HN profile
- View on Hacker News ↗
About jfhufl
No profile information was provided.
Recent public activity
-
comment
Comment #39768704
Yep, makes sense, thanks!
-
comment
Comment #39768450
Well, learned something today after reading a bit further in the thread: ruby -e 'x = "a\n25\n" ; if x =~ /^\d+$/ ; puts "yes" ; else ; puts "no" ; end' yes Good to know.
-
comment
Comment #39768401
Unsure what you mean? $ ruby -e 'x = "25" ; if x =~ /^\d+$/ ; puts "yes" ; else ; puts "no" ; end' yes $ ruby -e 'x = "25\n" ; if x =~ /^\d+$/ ; puts "yes" ; else ; puts "no" ; end…
-
comment
Comment #39486151
Dinky Toys!!! I had Eagles, ships from UFO, a Klingon ship...loved them!
-
comment
Comment #38295126
Wow, I did something like that for my senior project back in '94 using Inventor on an SGI workstation.
-
comment
Comment #36496119
If you still have IMAP access, thunderbird supports OAuth2 for connecting to O365 IMAP. tbsync for calendar access. Seems to work pretty well currently.
-
comment
Comment #33506967
I think that's the major problem with software engineering in general: when is software "done" ?
-
comment
Comment #30548819
I have Number-Form and Time-Space synesthesia - helps with remembering numbers and dates: https://en.wikipedia.org/wiki/Number_form https://www.discovermagazine.com/health/the-rare…
-
comment
Comment #30065463
Would Nix benefit from something like the old CMU depot program? http://www.cs.cmu.edu/afs/.cs.cmu.edu/help/content/unix_linu... Consolidating everything you want into /usr/local (…
-
comment
Comment #29554268
Interesting - I may have hyperphantasia? Most of my thoughts are accompanied by images, and I can rotate and unfold things. It's so vivid I seem to have two types of synesthesia: h…
-
comment
Comment #27626232
Nothing is "secure or not" - technologies/mitigations are secure against particular attacks. HTTPS is generally secure against passive network eavesdropping, but does nothing to st…
- story
-
comment
Comment #24664960
This works too: % cat /tmp/sh var=variables x=$( cat
-
comment
Comment #24640552
I get a lot of mileage out of command | ruby -e 'ARGF.each { |line| #do stuff with line }'
-
comment
Comment #20715618
xclip : https://github.com/astrand/xclip (long pipeline that generates lots of output) | xclip Or even just xclip Now paste where necessary.
-
comment
Comment #19810085
getmntent(3)
-
comment
Comment #18969061
Hmmm, well that's why I like Ruby and other languages with functional approaches. Method chaining and blocks are very similar to pipes to me. cat /etc/passwd | grep root | awk -F: …
-
comment
Comment #18818497
The only reason I have any vague understanding of this article is all thanks to PBS Space Time on Youtube. It's an amazing series. Must watch if you want to know how much we humans…
-
comment
Comment #18675699
Reminds me of the organ banks in Niven's Known Space, Series. Governments made being sent to the "organ banks" the favored punishment for crimes. Also gave way to OrganLegging: htt…
-
comment
Comment #18484037
Like so? % echo 'one\ntwo\nthree' | sed -e 's,$, four,' one four two four three four
-
comment
Comment #18140630
I've found that stevia sweeteners with inulin (not insulin) seen to be beneficial for my gut bacteria. Actually seems to help with "loose days". Sweetleaf is generally what I use.
-
comment
Comment #17664967
One good reason (IMO) for doing "cat file |" is it's easier to grab the command from your history and change it to something like "grep foo file |" rather than if you had run "cmd …
-
comment
Comment #16572027
Funny, I love Ruby and it's my primary language of choice, but I'm a heretic, using braces whenever I can: # events per day ndbh.fetch('select ts from tbl').all.map { |row| row[:ts…
-
comment
Comment #15491791
Seems to me the main difference is that all the particles in the gyro are trying to go in a straight line, but can't due to being a part of a rigid structure. You should be able to…