Иногда (например для вычисления разных адресов) мне нужно, чтобы python REPL печатал целочисленные значения как hex. Я это сделал
кривотак. Вроде работает и в 3м и во 2м питоне, но могло бы выглядеть и получше...
Tip from an ex cow orker: http://www.gnu.org/software/parallel/:
GNU parallel is a shell tool for executing jobs in parallel using one or more computers. A job can be a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, a list of URLs, or a list of tables. A job can also be a command that reads from a pipe. GNU parallel can then split the input into blocks and pipe a block into each command in parallel.
GNU sem is an alias for GNU parallel --semaphore. It works as a tool for executing shell commands in parallel. GNU sem acts as a counting semaphore. When GNU sem is called with command it will start the command in the background. When num number of commands are running in the background, GNU sem will wait for one of these to complete before starting another command.
You can use the built-in function
__builtin_constant_pto determine if a value is known to be constant at compile time and hence that GCC can perform constant-folding on expressions involving that value.
The arm I'm wearing in the photo with the bow has 2 electrodes (sensors) that are placed inside the socket of the prosthesis. They sit against my skin and when I flex different muscles, the arm opens and closes. The DEKA arm currently also has feet IMU's (Inertial measurement units) which can tell when I hold my feet in different positions (toe up or toe down). This controls the different grips I can put the hand in (left foot IMU), as well as the movement of the wrist (right foot IMU).
They are tiny and square shaped probably like 2 inches by 2 inches. They aren't very noticeable and clip on to my shoes. They aren't heavy anything. The foot sensors (IMU's) control my wrist bending (and my grip change) and when you walk there is something the arm does called "walk detect" so the sensors stop working momentarily so the arm doesn't start bending but occasionally if I step too slow the wrist bends and then the arm goes into walk detect and I' stuck that way ... which can be annoying.
This is a throttling issue: LiveJournal is blocking feedly cloud requests because they don't know the cloud.feedly.com domain yet and we have been sending them an increasing volume of traffic and readers.
Our team is actively working on getting in touch with them to get whitelisted.
LJ support ticket: http://www.livejournal.com/support/see_
Upd: починили, похоже...
" disable the arrow keys nnoremap <up> <nop> nnoremap <down> <nop> nnoremap <left> <nop> nnoremap <right> <nop> inoremap <up> <nop> inoremap <down> <nop> inoremap <left> <nop> inoremap <right> <nop> vnoremap <up> <nop> vnoremap <down> <nop> vnoremap <left> <nop> vnoremap <right> <nop></code> Вместе с правильной клавой должно снижать нагрузку на кисти :)