HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jfhufl

no profile record

comments

jfhufl
·hace 2 años·discuss
Yep, makes sense, thanks!
jfhufl
·hace 2 años·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
·hace 2 años·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
·hace 2 años·discuss
Dinky Toys!!! I had Eagles, ships from UFO, a Klingon ship...loved them!
jfhufl
·hace 3 años·discuss
Wow, I did something like that for my senior project back in '94 using Inventor on an SGI workstation.
jfhufl
·hace 3 años·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
·hace 4 años·discuss
I think that's the major problem with software engineering in general: when is software "done" ?
jfhufl
·hace 4 años·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
·hace 4 años·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
·hace 5 años·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