Better HN
topnewbestaskshowjobs
Log inSign up

brainsmith

30 karma · joined May 28, 2013 (13y ago) · 20 submissions

http://github.com/onsails

[ my public key: https://keybase.io/onsails; my proof: https://keybase.io/onsails/sigs/mhDOeiG2XdUkwFemoGSQJzVOp2Y7LvENXA2KqhHWnUc ]

Submissions

1.

Searchable, templated catalog of popular terminal commands(commands.dev ↗)

2 points · by brainsmith · 4y ago · discuss

comment 5y ago · link · parent

That's awesome for teams to focus on just work conversations but unfortunately not enough.

We've completely switched our work communication to a self-hosted matrix+element with SSO, so we can be sure our matrix auth is secured the same way our other internal services are.

However, some of us also have personal matrix accounts which are offline during work hours and corporate accounts are offline outside of work hours which forbids using matrix as an emergency contact method. It would be great to either ability to sign into multiple accounts or an ability to sign into a single space using account other than the default one.

3.

Stable Act(tlaib.house.gov ↗)

3 points · by brainsmith · 5y ago · discuss

4.

Secure and extremely small Electron alternative based on OS-native webviews(tauri.studio ↗)

3 points · by brainsmith · 6y ago · discuss

comment 6y ago · link · parent

When I started programming on ruby my laptop couldn’t handle IntelliSense and tests which required too much cpu and ram. So I’ve switched to vim on server through ssh. Later I’ve switched to emacs as it seemed to me more powerful than him back then.

After I got MacBook I’ve switched to TextMate utilizing powerful macOS keyboard shortcuts for text navigation. MacBook was pretty fast to handle ruby-related tasks.

Later I found myself in IntelliJ idea working on my Scala projects with emacs keybindings. I intuitively used emacs keybindings everywhere - from terminal to text fields in browser (without changing defaults!). Pretty comfortable until...

I started programming in Rust. It’s compiler and lsp servers use very much cpu, ram, compilation is really slow heating laptop like a frying pan. Here comes VSCode with vscode-remote which allows to write code on desktop gui while compiling, executing IntelliSense commands (lsp server to be exact), etc on a powerful cloud server. As I understand it executes everything remotely except GUI rendering and interaction. On network interruptions it restores connection seamlessly, I barely noticed. It was a salvation. VSCode has a bunch of predefined hotkeys which can be customized to fit my emacs-like navigation habits but there are always conflicts with some already existing bindings, also extension tend to add their own defaults. Too messy. Vim/emacs emulators are incomplete and buggy. This led me to weird trackpad&keybindings experience for navigating, building, debugging... Remembering how productive I was in vim/emacs I couldn’t handle this despite perfect state of the art vscode-remote.

So I decided to give vim/emacs a try, discover how ecosystem changed during 10+ years. After some investigation I’ve landed on neovim and tried to work on a rented server as I used to in my first programming years. Experience was far away from VSCode-remote. Due to network lags and ssh overhead I can’t be productive with all the benefits neovim offers. So I ended up buying a powerful home server, connecting to it from my MacBook and work in neovim over ssh. It’s ok but I really miss the “true” remote mode which offers local almost zero-latency editing with remote everything else. Renting powerful servers which has access to the whole dev infrastructure. Paying for them hourly. There are so many discussions about/plugins implementing VSCode and its extensions features in (neo)vim/emacs but in my opinion the really missing piece which don’t turn (neo)vim/emacs to VSCode but instead makes them as powerful as VSCode in cloud-powered code development. Am I the only one who miss this feature?

comment 6y ago · link · parent

Due to the the lack of native strings in WebAssembly different Wasm compilers have different memory layouts and string encodings. For example assemblyscript uses ucs2 for the sake fo compatibility with JavaScript. This obliges to carefully work with memory bounds, string length estimation due to difference in host native and guest string encodings.

For the specific goal of working with Strings in rust and assemblyscript I've created this project: https://github.com/onsails/wasmer-as.

7.

Crev – language and ecosystem agnostic, distributed code review system(github.com ↗)

2 points · by brainsmith · 7y ago · discuss

8.

SSL Pinning for Electron(github.com ↗)

6 points · by brainsmith · 7y ago · 1 comment

comment 10y ago · link · parent

Well, now we know who stands behind Umbrella Inc.

10.

Why 3×5 is and isn't 5×3(underscore.io ↗)

2 points · by brainsmith · 11y ago · 4 comments

11.

Crypt.Chat for EU users on EU servers(play.google.com ↗)

3 points · by brainsmith · 11y ago · 2 comments

12.

Amdahl's law(en.wikipedia.org ↗)

2 points · by brainsmith · 12y ago · discuss

comment 12y ago · link · parent

Could be a good solution for projects with high volume of Russian visitors: access to many cloudflare servers is restricted by great fucking russian firewall.

14.

EBay CEO: "Bitcoin Integration With PayPal Being 'Actively Considered'"(ibtimes.co.uk ↗)

2 points · by brainsmith · 12y ago · discuss

15.

Haskell Style Guide(github.com ↗)

2 points · by brainsmith · 12y ago · 1 comment

16.

Support revolution for testing purposes(github.com ↗)

6 points · by brainsmith · 12y ago · discuss

comment 13y ago · link · parent

5 days left 37% funded. Fuckung GTA

comment 13y ago · link · parent

https://news.ycombinator.com/item?id=5927820

19.

GoDaddy is down(godaddy.com ↗)

2 points · by brainsmith · 13y ago · 1 comment

20.

An ORM Library For The Scala Language(code.google.com ↗)

3 points · by brainsmith · 13y ago · 1 comment