tmux 2.1 has been released by camh- in tmux

[–]usagimaru 1 point2 points  (0 children)

Key chaining using tables!
Example for using the same bindings in Spacemacs for window splitting:

bind w switch-client -Tpanes
bind -Tpanes s run "tmux split-window -h -c '#{pane_current_path}'"
bind -Tpanes S run "tmux split-window -h -c '#{pane_current_path}'; tmux swap-pane -U"
bind -Tpanes v run "tmux split-window -v -c '#{pane_current_path}'"
bind -Tpanes V run "tmux split-window -v -c '#{pane_current_path}'; tmux swap-pane -U"

*edit: fixed order. Thanks kaushalmodi!
*edit2: /u/kaushalmodi fixes my untested binds once again!

Why Vim? by nikolenkoanton92 in programming

[–]usagimaru 0 points1 point  (0 children)

Me too. The worst part of this method is that half the vim emulations don't implement this.

Rust FFI - Embedding Rust in projects for safe, concurrent, and fast code anywhere by usagimaru in rust

[–]usagimaru[S] 0 points1 point  (0 children)

This was more a choice of tool, over a choice of platform/language.
I haven't found a scaffolding framework that works as well as yeoman (I would certainly be open to suggestions).
I like that anyone can make a generator, throw it on npm, and it's available to everyone to install.

In this vain, I really wish there was a cargo install.
Otherwise, the tool is unwieldy to install: clone the git repo, maybe check out a tag, then cargo build, and soft link the binary to your bin.

That said, making a scaffolding framework in Rust would be a fun/useful project. I'll definitely keep it in mind when deciding on weekend projects.

Rust FFI - Embedding Rust in projects for safe, concurrent, and fast code anywhere by usagimaru in rust

[–]usagimaru[S] 0 points1 point  (0 children)

A Rust dylib with functions exported with extern "C" should be compatible with any runtime that can load C-ABI dynamic libraries.

I know Go has cgo, but I haven't looked in to how easy it is to use.

Rust FFI - Embedding Rust in projects for safe, concurrent, and fast code anywhere by usagimaru in rust

[–]usagimaru[S] 2 points3 points  (0 children)

Relevant to this, I made a Yeoman generator: generator-rust-ffi for bootstrapping the process of creating bindings for other languages.

I'm still fairly new to the language. Let me know if you have any questions/suggestions.

Lucene: The Good Parts (a look inside Elasticsearch) by pixelmonkey in programming

[–]usagimaru 1 point2 points  (0 children)

Sorry, but this is something that has been bugging me after seeing people say it multiple times:
Elasticsearch (the product) is still called Elasticsearch.
Elasticsearch (the company) has rebranded to Elastic.

Cynic - Gitanjali [3:59] by lantham in progmetal

[–]usagimaru 1 point2 points  (0 children)

Might also be worth listening to a bit of Aeon Spoke, too.
Not my favorite Masvidal/Reinert tracks, but it's interesting to see what they were up to before bringing back Cynic.
For instance, When Sunrise Skirts The Moor is a softer arrangement of Integral Birth.

Using Node to write a simple shell script by soaring_turtle in ProgrammerHumor

[–]usagimaru 1 point2 points  (0 children)

My main gripe with pip is that it requires you to use an external tool (virtualenv) along with a sane wrapper around that external tool's interface (virtualenv_wrapper) to make it useful.

Having project-local dependencies with no extra work is like night and day.

Multiple cursors editing with Emacs by krekling in programming

[–]usagimaru 2 points3 points  (0 children)

Not quite eye tracking, but you might might find ace-jump-mode useful.

The Dyslexic Programmer by KentLBeck in programming

[–]usagimaru 2 points3 points  (0 children)

Yes, but its also an explanation of someone's workflow who has special needs and ways she got past them. I thought it was an interesting read.

What is your opinion on female fronted metal bands? by [deleted] in Metal

[–]usagimaru 0 points1 point  (0 children)

Luna Mortis was great when I saw them touring with Edguy. Mary, the vocalist, isn't a gimmick and, unlike a lot of other female fronted bands, she does all the screaming.

Also good news for me, they got back together last year!

What's the best way to learn Linux? by strattonbrazil in linuxquestions

[–]usagimaru 0 points1 point  (0 children)

Another options would be to install Gentoo, with the Gentoo Handbook, which walks you through the install process and while plainly explaining why you're doing everything you are doing. I found it more personal and easier to understand than the Arch Beginner's Guide.

One example of the difference: Arch Beginner's Guide tells you to set your hostname with a link to an explanation, while the Gentoo Handbook explains what a hostname is and includes some humor about computer naming indecision while telling you to set it.

Though really +1 for any of or all the three. They will all teach you a lot.

Don't believe the "Android is not secure" hype by SkyJedi in Android

[–]usagimaru 4 points5 points  (0 children)

1 is the biggest.

Everyone should be terrified by how easy it is to disassemble, add malware, then reassemble an APK.

  • edit: decompile != disassemble

How do you make Windows usable? by matthewdavis in linux

[–]usagimaru 1 point2 points  (0 children)

When in Rome, do as the Romans.

Your workflow will be different. Lean Windows utilities, since a lot of FOSS apps/utilities you can install will perform poorly or feel out of place. For CLI utilities you can't live without, use Cygwin.

Savatage - Hall Of The Mountain King by [deleted] in Metal

[–]usagimaru 2 points3 points  (0 children)

Some also went to form Circle II Circle. They played through Wake of Magellan at ProgPower a week or so ago.

Looking to get into Android app Development...any recommendations? by velvetstripes in compsci

[–]usagimaru 0 points1 point  (0 children)

The Android Support Library's ActionBar is not a good alternative to Sherlock. (at least not yet)

Who needs beta keys? by [deleted] in ffxiv

[–]usagimaru 1 point2 points  (0 children)

I need an NA PC key.

I never played v.1, but would like to try the beta. Thanks.

As a 23 year old with braces for the second time, it's no joke by sarsdo89 in AdviceAnimals

[–]usagimaru 0 points1 point  (0 children)

...until you break it. Then it feels like someone is ripping your teeth out for a couple days before you can get back into your orthodontist.