Better HN
topnewbestaskshowjobs
Log inSign up

nandkeypull

89 karma · joined Apr 12, 2015 (11y ago) · 30 submissions

Submissions

comment 2mo ago · link · parent

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 ..'

comment 1y ago · link · parent

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).

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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).

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 3y ago · link · parent

Some newer pedagogical resources with a good learning curve:

* https://pwn.college/

* https://dreamhack.io

* https://guyinatuxedo.github.io

* https://www.picoctf.org/

comment 3y ago · link · parent

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...

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

extrakto is really a "killer" plugin. I'm starting to wish for an emacs plugin with similar functionality.

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

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).

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Knowledge of assembly is also extremely important for computer security related topics such as reverse engineering, malware analysis, and exploit development.

comment 6y ago · link · parent

There's also this 6" ESP32-based e-paper platform from Crowd Supply for $99: https://www.crowdsupply.com/e-radionica/inkplate-6

comment 6y ago · link · parent

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/.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

The next big thing: emacs demoscene!

comment 7y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

23.

Ask HN: Pivot to embedded Linux, pentesting, or robotics?

20 points · by nandkeypull · 8y ago · 7 comments

comment 8y ago · link · parent

Don't forget about datatau http://www.datatau.com/

Basically a Hacker News clone for data science.

comment 9y ago · link · parent

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

comment 9y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.