61 karma · joined September 8, 2010
Edit: "The PPR module provides a single regular expression that defines a set of independent subpatterns suitable for matching entire Perl documents, as well as a wide range of individual syntactic components of Perl (i.e. statements, expressions, control blocks, variables, etc.)"
I found an audio version on youtube https://www.youtube.com/watch?v=Y3-SrS15vb8 that had the missing paragraph (starting at 8 minutes in).
Having the modifier keys in the thumb cluster feels a lot less awkward than using my left-hand little finger at odd angles. And I like the fit and finish and customisation.
Overall though, I think I would have been better served by a regular qwerty, not columnar, split keyboard. Maybe my middleaged brain ain't plastic enough any more.
<small>Plus I think the benefits of columnar are oversold. If I naturally curl my fingers in and out, they kinda fan in and out, rather move in parallel straight lines. And the right hand side of a regular keyboard matches that movement pretty well. The left hand side is backwards of course.
> SBCL goes SuperBallistic! I have hacked together an SBCL port for the IBM BlueGene/P supercomputer's Compute Node Kernel (CNK).
https://sourceforge.net/p/sbcl/mailman/sbcl-devel/thread/AAN...
# Sort list by most common terms
alias sorn='sort | uniq -c | sort -n'
# Most common IP addresses:
$ cat access_log | awk '{ print $2 }' | sorn
# Last 30 modified files.
function new() {
ls -lat "$@" | head -30 ;
}
# I just downloaded something, where is it?
$ new ~/DownloadsHowever I havent ever managed to get ET running on Amazon Linux which all my AWS EC2 instances run. I've tried compiling, docker, app images and nothing has worked.
Linux, AWS, MySQL, Perl
HTML still works it turns out!
"crystal lizard rekindle" became "crystal LIZARD r3k1ndl3" etc.
I use a simple homebrewed system for my notes too, https://github.com/d5ve/noop which is just a search/edit loop, where you look for files and add/edit them.
https://github.com/d5ve/noop started out in golang too, but I ended up shelling out for so much stuff anyway, that I rewrote it in bash.
I wasn't a particularly social person originally, but working alone has made me even more insular, and less inclined to join in social situations. It ended up with me feeling lonely and unhappy. I was considering quitting my contract, although similar work is difficult to find where I'm now living.
So two weeks ago, I started working in a shared workspace, and I will try that for a few months to see if it helps.
My guess is that every person has a different buffer of how long they can do without regular human company during the day, and I'd exausted mine. Having a family helps, but may not replace professional company where you are discussing things about your dayjob.
function import_bash_aliases --description 'bash aliases to .fish function files.'
for a in (cat ~/.bashrc | grep "^alias")
set aname (echo $a | grep -Eoe "[a-z0-9]+=" | sed 's/=//')
set command (echo $a | sed 's/^alias .*=//' \
| sed 's/^ *\'//' | sed 's/\' *$//' )
echo "Processing alias $aname as $command"
if test -f ~/.config/fish/functions/$aname.fish
echo Function $aname is already defined. Skipping...
else
alias $aname $command
funcsave $aname
end
end
endI started writing a small proof-of-concept android app to randomise the WIFI MAC to make it more difficult to track a phone and its owner. The android API doesn't support changing the MAC, so it requires a rooted phone.
Mostly working code can be found at: https://github.com/d5ve/RandoMAC
It's made tricky by being unable to change the MAC whilst the WIFI is enabled, and re-enabling the WIFI resets the MAC back to the hardware one. Also by my total inexperience with android apps and java.
$ tail -qFn0 /log/dir/*
This will (q)uietly tail all matching files, initially printing 0 lines (n) from each, and (F)ollow any renames/reopenings. It's great when you have many timestamped log files in a directory, and you can't be bothered to work out what the current files are each time.You will only ever see lines from after you run the command.
The first is blocked for me on Virgin, but the second works fine. This does look like a DNS issue on the part of TPB, rather than Virgin blocking promobay.
$ perl -MLWP::UserAgent -le 'print $LWP::UserAgent::VERSION'As a contractor (in theory), you're bought in to do a specific job, and then you leave - get done, get paid, get gone. This works well with Agile, where you can devote your entire attention to the project, and not get caught up in other things.
However, fulltime developers will find it more difficult to devote all their time to a project, as they're likely to still be maintaining some of their previous projects as well. In smaller organisations, you often end up being the go-to person for part of the system, and the rest of the business may struggle with these people being out of reach for weeks or months.
Another factor is that contractors have less reason to care about existing code and its design principles when designing and implementing a new project, and well as less reason to care about the maintainability of it. This leads to the software platform having a melange of different styles, further complicating the lives of those who have to support it later on.
To me, Agile just seems like contractor culture converted to religion.