HNHacker News
TopNewBestAskShowJobs

nandkeypull

89 karma · joined April 12, 2015

submissionscomments
nandkeypull··on Small programming tricks
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 ..'

nandkeypull··on DWARF as a Shared Reverse Engineering Format
See also https://github.com/aldelaro5/ghidra-ExportDwarfELFSymbols, which lets you generate an ELF out of a ghidra database for even non-ELF binaries (e.g. bare-metal firmware dumps).
nandkeypull··on How to Build a Smartwatch: Picking a Chip
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.

nandkeypull··on Trick to find commands in the terminal quickly
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).

nandkeypull··on A most profound video game: a good cognitive aid for research
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.
nandkeypull··on Tai chi reduces blood pressure better than aerobic exercise
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

nandkeypull··on Overthewire.org
Some newer pedagogical resources with a good learning curve:

* https://pwn.college/

* https://dreamhack.io

* https://guyinatuxedo.github.io

* https://www.picoctf.org/

nandkeypull··on Searchable Linux Syscall Table for x86 and x86_64
For my syscall lookup needs, I prefer https://x64.syscall.sh/. It's more up to date and also supports x86, arm, and aarch64.

pwn constgrep also works in a pinch: https://docs.pwntools.com/en/stable/commandline.html#pwn-con...

nandkeypull··on Ask HN: How to Learn to Type Faster?
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.

nandkeypull··on Tmux lets you select and copy text with your keyboard
extrakto is really a "killer" plugin. I'm starting to wish for an emacs plugin with similar functionality.
nandkeypull··on A Vim Guide for Advanced Users
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.
nandkeypull··on ZSA Moonlander: A next-generation ergonomic keyboard
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).
nandkeypull··on ZSA Moonlander: A next-generation ergonomic keyboard
For similar ergonomic keyboards (mostly DIY), there's of course a GitHub awesome list: https://github.com/pvinis/awesome-split-keyboards.

My personal favorite is the Lily58: https://old.reddit.com/r/MechanicalKeyboards/comments/d9g3qe.... It avoids having a preposterous number of thumb keys and has a number row. And the OLEDs are a nice touch.

nandkeypull··on Ask HN: Programs that saved you 100 hours?
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.

nandkeypull··on Getting started with bare-metal assembly
Knowledge of assembly is also extremely important for computer security related topics such as reverse engineering, malware analysis, and exploit development.
nandkeypull··on Paperd.Ink – A hackable e-paper display
There's also this 6" ESP32-based e-paper platform from Crowd Supply for $99: https://www.crowdsupply.com/e-radionica/inkplate-6
nandkeypull··on The missing semester of CS education
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/.
nandkeypull··on Luis von Ahn, co-founder and CEO of Duolingo
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.

nandkeypull··on Emacs Lisp Animations
The next big thing: emacs demoscene!
nandkeypull··on Emacs: The Editor for the Next Forty Years [video]
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.

nandkeypull··on Show HN: An “automatic” way to learn Chinese
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.

nandkeypull··on Ask HN: What made your favorite manager/supervisor/CEO so great?
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.

nandkeypull··on Hacker News equivalent for other fields
Don't forget about datatau http://www.datatau.com/

Basically a Hacker News clone for data science.

nandkeypull··on A minimalist guide to tmux
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
nandkeypull··on Beorg – an Emacs org-mode companion for iOS
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.

nandkeypull··on Derek Yu’s “Spelunky”
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.
nandkeypull··on Learn the ways of Linux-fu, for free
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.

nandkeypull··on Emac’s Org Mode will improve your software engineering
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.

nandkeypull··on Emac’s Org Mode will improve your software engineering
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.