nandkeypull
nandkeypull on Hacker News
I used to have these aliases, but then I shortened it even further to a vim-inspired single character which I can spam really fast:
alias k='cd ..'
Same, I love Pebble and Pebble-like devices precisely because they have long battery life. I don't want or need payments on my watch. I'm also not a fitness junkie, so I don't use GPS tracking either. I mainly enjoy the well-designed UX Pebble provides and its simple functionality like alarms, stopwatch, and notifications.
With watches that need charging every one or two days, I get this Sisyphean feeling that I am owning a constantly dying device with a battery indicator that exists solely to be charged. The amount of functionality a watch can provide me (versus a smartphone) just doesn't justify the amount of charging I need to do.
Maybe I'm not a smartwatch power user like OP. But the Pebble and its ilk are a great fit for the niche audience I belong to.
Using C-r is a little too much navigation overhead for me personally. For things that I'll need long-term, I just use a pair of aliases to add a new alias to my .bashrc and source it (alias vib='vim ~/.bashrc' and alias .b='source ~/.bashrc'). I also have 'vit' and 'viv' aliases to do the same thing for my .tmux.conf and .vimrc.
For short-term stuff, I use https://github.com/dp12/fastdiract to save frequently used commands and run them instantly with a two-key combo (f0-f9).
Play CTFs, maybe the Flare-On challenge if you particularly enjoy reversing. Microcorruption is a just small taste of what the full CTF scene has to offer. picoCTF and pwn college are good starting points for beginners.
If you can find a competent instructor from a lineage that preserved the fighting applications of tai chi, you can see some pretty interesting grappling and joint-locking techniques. It's not all snake oil.
One example (Yang-style tai chi): https://www.youtube.com/watch?v=kp2jWeaKrqI
Not an online website, but I found my typing ability increased considerably after playing the typing-of-emacs game (
https://www.emacswiki.org/emacs/TypingOfEmacs). Because the penalty for mistakes is extreme (losing 1 out of the 3 lives you have), it encourages you to type with perfect accuracy.
There's a 2-3 second timeout to motivate you to type fast. Also, it pulls words from the buffer you have open, so you can practice on a set of words that you use regularly. It starts with short words and gradually moves to longer and more complex words to see if you can keep up.
extrakto is really a "killer" plugin. I'm starting to wish for an emacs plugin with similar functionality.
Nice, it works in evil-mode on emacs as well! Although for emacs I would just use query-replace, which does the same thing with y/n confirmation, and it can also be run on just a selected region if desired.
Nice visualization! I like how you added filters for all the different options. The repo I linked to is a fork of the original abandoned one; it seems to be being updated regularly (last merge 8 days ago).
zsh-autosuggestions has definitely saved me more than hundreds of hours. When you type part of a command, it auto-suggests previous commands you've executed and then lets you expand to them, cutting down on your typing, on average, 75% or more.
For example, typing "scp" could expand to "scp -r myself@servername /home/myname/.logs/logfile ."
It's a concept that originated with the Fish shell, but is useful if you want to maintain some semblance of bash compatibility.
Knowledge of assembly is also extremely important for computer security related topics such as reverse engineering, malware analysis, and exploit development.
CMU has a similar course called "Great Practical Ideas for Computer Scientists" (a play off of the infamous "Great Theoretical Ideas in Computer Science") at
https://www.cs.cmu.edu/~15131/f17/.
Clozemaster has been my go-to app for language study now. It uses the "sentence mining" concept advocated by Glossika to show you thousands of sentences and learn new vocabulary in context.
After I got to a certain level, Duolingo and Rosetta Stone became too easy, and I found myself grinding on things that I already knew to try to get to "the good stuff". The signal-to-noise ratio was just too low.
Anki was the next step up for me and improved my vocabulary by leaps and bounds, but it became tedious to look for example sentences and make new flashcards from them. Clozemaster does this automatically, and you can choose whatever difficulty level you like.
The next big thing: emacs demoscene!
Emacs has really undergone a renaissance in the past decade - magit, LSP, ivy, spacemacs, doom emacs - there have been so many novel new packages and frameworks written by elisp hackers.
For such an old editor, the development scene feels incredibly alive.
Also worth checking out is
https://www.clozemaster.com/, which is centered around this idea of "sentence mining" and has a very polished interface.
I'm interested in seeing how this compares to it.
The best manager I ever had was the polar opposite of a micromanager. Very laid-back, offered insightful ideas, but not in pushy way. He gave us a lot of freedom to get the work done and didn't constantly check in every day.
What I really admired about him was his ability to keep his cool and "Don't Panic", even when everyone else was worked up about an emergency. He always just took the bad news in stride and suggested some possible courses of action.
It also helped that although he had some of the stereotypical engineering awkwardness, he liked to make off-hand comments that were often hilarious and Star Wars-related.
I never thought of our standups as the Jedi council.
Posted by
nandkeypull on Friday September 07, 2018 @11:31PM
from the ask-hn dept.
tl;dr: I'm an embedded systems engineer who programs on bare-metal micros. I feel my domain will be obsolete in coming decades and want to pivot to either embedded linux development, pentesting/reversing, or robotics. The question is, which one?I have some interest in each of these areas, and given enough time and effort, I believe I could work my way up to an acceptable level of ability....
Best thing I ever did for tmux was to get rid of the annoying command prefix altogether and just use bindings with Ctrl/Shift and the arrow keys - it's much faster, e.g.
# Window switching
bind -n S-up new-window
bind -n S-down confirm-before -p "kill-window #W? (y/n)" kill-window
bind -n S-left prev
bind -n S-right next
# Pane switching
bind -n C-left select-pane -L
bind -n C-right select-pane -R
bind -n C-down select-pane -D
bind -n C-up select-pane -U
# Special pane operations
bind -n C-M-up respawn-pane -k
bind -n C-M-down kill-pane
bind -n C-M-left swap-pane -U
bind -n C-M-right swap-pane -D
# Window splitting
bind -n C-M-\ split-window -h
bind -n C-M-] split-window -v
It's quick and painless to sync with Dropbox - kudos to the developer. I've been looking for a decent iOS app for org integration and it looks like my search ends here.
If I could make a suggestion though, it would be really nice if it supported subdirectories. I suspect that most people, like me, don't keep all their org notes in a perfectly flat hierarchy. Being able to go into subdirectories and view notes would be a great help.
If you enjoyed Spelunky, I think you might also like Vagante. It's like a more dungeon-crawler incarnation of Spelunky without the time-constraints of the Ghost and more weapons (sword, dagger, bow-and-arrow, mace, etc), items, and magic spells. Incredibly addictive.
Does no one use Diigo? My favorite part about it is how easy it makes it to add tags when you bookmark a page. You can easily call up things you've saved many years ago with a simple tag search. It's kind of like a better Delicious, back when Delicious was actually good. But I imagine it's also like a free version of Pinboard.
Plus it doesn't have that ridiculously large "modern" UI style that takes up so much space. Just a simple, no-frills interface with superb tagging and search.
You can have aliases in emacs as well - just use bookmarks. Set a bookmark with C-x r m and jump to a bookmark with C-x r b (I bound this to a "bj" keychord to invoke bookmark-jump faster). If you install ido/helm/ivy, you'll have a quick fuzzy selection mechanism to grab whatever bookmark you want with just a few letters.
Plus you'll want to install a fuzzy file finder like find-file-in-project.
My personal favorite for this is find-file-in-project - it's decently fast and is very customizable (
https://github.com/technomancy/find-file-in-project).
Some other examples of Ctrl-P replacements for emacs are fiplr, helm-projectile (helm-projectile-find-file), and helm-ls-git.