HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jfhufl

no profile record

comments

jfhufl
·2년 전·discuss
Yep, makes sense, thanks!
jfhufl
·2년 전·discuss
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.
jfhufl
·2년 전·discuss
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' 
    yes
    $ ruby -e 'x = "a25\n" ; if x =~ /^\d+$/ ; puts "yes" ; else ; puts "no" ; end'
    no
Also, you'd want to use something that parameterizes the query with '?' (I use the Sequel gem) instead of just stuffing it into a sql string.
jfhufl
·2년 전·discuss
Dinky Toys!!! I had Eagles, ships from UFO, a Klingon ship...loved them!
jfhufl
·3년 전·discuss
Wow, I did something like that for my senior project back in '94 using Inventor on an SGI workstation.
jfhufl
·3년 전·discuss
If you still have IMAP access, thunderbird supports OAuth2 for connecting to O365 IMAP. tbsync for calendar access. Seems to work pretty well currently.
jfhufl
·4년 전·discuss
I think that's the major problem with software engineering in general: when is software "done" ?
jfhufl
·4년 전·discuss
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-humans-who-...
jfhufl
·4년 전·discuss
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 (exclude packages you don't want). I used to use this at my old job before package managers were ubiquitous.
jfhufl
·5년 전·discuss
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:

    https://en.wikipedia.org/wiki/Number_form
    https://www.discovermagazine.com/health/the-rare-humans-who-see-time-and-have-amazing-memories