HNHacker News
TopNewBestAskShowJobs

bananadonkey

94 karma · joined January 14, 2017

[ my public key: https://keybase.io/donkeybanana; my proof: https://keybase.io/donkeybanana/sigs/cI6oW0KVPKz5ccQCPIiAq-Tecd3_6DVqvIycgEB4mL8 ]
submissionscomments
bananadonkey··on Eglot has landed on master: Emacs now has a built-in LSP client
> My only complaint is that I can never get Emacs's indentation to match what Prettier wants to do, so I'll type a bunch of code, prettier-on-save, and everything gets moved around.

I had this same issue, and it was annoying enough I continued to use https://github.com/editorconfig/editorconfig-emacs alongside prettier.

This does create another annoyance in having to configure editorconfig for new projects instead of relying on prettier alone.

bananadonkey··on Ask HN: Is it still possible to live in a terminal?
I find duplicate code by using a tool such as Sonar for a large codebase, or by reading and knowing the codebase if it is small enough.

But I think you mean how do I refactor duplicate code?

lsp-mode (https://emacs-lsp.github.io/lsp-mode/page/main-features/) for smart code navigation or projectile-replace (mentioned in https://with-emacs.com/posts/tutorials/search-and-replacemen...) for dumb replacements.

bananadonkey··on Ask HN: Is it still possible to live in a terminal?
Everything up to and including spell checking, yes. In fact none of those first items are remotely unreasonable to do in a terminal, rather surprising to see them being used as arguments against the terminal.

- vim, neovim, Emacs configured with LSP - https://git-scm.com/ - http://aspell.net/ - https://github.com/tmux/tmux - https://github.com/dbcli

Emacs also exists which runs in the terminal mostly (I only miss image rendering personally).

Collaborative editing is something I don't do much of but would guess there's a neovim plugin which could be used for backend sync.

Interacting with your issue tracker depends on the issue tracker software you use (flat file would work for example, Jira has unofficial clients, etc).

- https://www.emacswiki.org/emacs/JiraMode - https://marketplace.atlassian.com/apps/6398/jira-command-lin...

bananadonkey··on Rufus: Microsoft is blocking Windows ISO downloads
Indeed. I immediately assumed this was the root cause, but seeing the "fix" makes me wonder how ethical this change is.
bananadonkey··on Contributing to WebSockets – Cryptocurrency Users
Speaking of full disclosure, how much crypto do you hold (a stake in)?
bananadonkey··on Ask HN: App ideas to learn Phoenix / Elixir
Chat app/Slack clone is good material for learning a range of Elixir concepts.
bananadonkey··on LastPass appears to be holding users' passwords hostage
2 of my colleagues lost their personal accounts (which they had linked to the corpo account) when they disabled/deleted the trial corpo account.

They were the only 2 of us who were trialling the linked account approach so I cannot say what the chance of losing your personal account is/was under this scenario.

This was a couple of years ago but understandably prompted a mass migration way from LastPass.

bananadonkey··on Org Mode Is One of the Most Reasonable Markup Languages to Use for Text (2017)
I do this for homelab automation using org-babel, it's great.

I am yet to use tangle for anything real like dotfiles or such.

bananadonkey··on Org Mode Is One of the Most Reasonable Markup Languages to Use for Text (2017)
Orgzly does the job for Android, same workflow you describe but with org files.

Even has system-wide note capture via system drawer which makes jotting notes and ideas very efficient. Something I need to figure out with rofi + org-capture or similar for desktop!

bananadonkey··on A work-in-progress Magit clone for Neovim
Why in Emacs/vim? Because I am already in there staring at text and it's less of a context switch than switching desktops/windows/tabs.

Why not just use cli? I definitely champion _knowing_ cli git for when you need it, but at some point the standard workflows become tedious with the amount of typing required, even using shorthand.

magit provides some super accessible and efficient workflows when paired with e.g. doom-emacs or similar mnemonic keybinds.

Other have mentioned the equivalent of git add -p and believe me using vim's visual selection instead of manually editing out that one line of the patch is a breeze.

bananadonkey··on How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption
I tried to find the official doc that explains it clearly, but cannot otherwise I'd share.
bananadonkey··on How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption
I was also confused by this recently.

Enabling wsl2 enables Windows' "virtual machine platform", which Windows itself will then run on top of as a guest.

And yes RDR2 is running stable 100fps uwqhd at max settings on my machine under these conditions.

bananadonkey··on Org-mode 9.4 is out. Can you help?
Reviewers possibly use org-mode to keep track of those things. Would be trivial if Emacs is their mail reader.

For those who are really taking advantage of org-agenda et al, I'd argue GitHub issue tracking UI is far more restrictive for tracking patches.

If I were in that position I'd be duplicating issues into org-mode anyway (or using an Emacs mode to interact with/sync them). Maybe that's the missing link?

bananadonkey··on Docker update ToS: Image retention limits imposed on free accounts
https://docs.docker.com/engine/reference/commandline/save/

You already have the source, now you have a dist.

bananadonkey··on My favorite Erlang program (2013)
Not the OP, but I have used https://github.com/dradtke/distchan in prod where portability outweighed the distribution capabilities of Erlang.
bananadonkey··on Microsoft’s Azure DevOps: An Unsatisfying Adventure
I forgot to mention the semver resource which is a bit weird to use for a single repo pipeline but comes in handy for out-of-band jobs like running an external automation test suite asynchronously.
bananadonkey··on Microsoft’s Azure DevOps: An Unsatisfying Adventure
I can recommend https://concourse-ci.org/ for pipelines that are difficult to reason about or orchestrate in, e.g. GitLab and other CI tools, due to external actors or lifecycles beyond a single codebase/repo.

Builds are 100% stateless within the CI cluster and rely on tracking/publishing just about anything you can imagine or plug as a resource; out-of-the-box inclusions being docker images (registry), S3 (e.g. minio, AWS) and git.

It's a bit strange to reason about in the beginning but I have yet to try anything that comes remotely close to Concourse when it comes to orchestrating across multiple sources of input/output and non-linear pipelines.

bananadonkey··on The Google Cemetery – A list of dead Google products and why they died
How about `googolgotha`?

Feels easier to pronounce.

bananadonkey··on A cure for cancer: how to kill a killer
When dealing with a software bug you have to reproduce the issue before you can definitively "fix" it.
bananadonkey··on Dank-selfhosted: automated deployment of email, web, DNS, XMPP, ZNC on OpenBSD
Can you open source your tv and smart fridge designs so we can get in on the action?

An intro to your parts suppliers and negotiating mates rates would also help.

bananadonkey··on Flatpak – a security nightmare
Parent was talking about Debian upstream patches making it into his platform of choice; in this case RHEL/CentOS.

That requires paid/volunteer package maintainers.

bananadonkey··on $600 Chromebooks are a dangerous development for Microsoft
Another fun fact is if you remove the App Installer or whatever it is called, you can't remove the "adware" apps
bananadonkey··on $600 Chromebooks are a dangerous development for Microsoft
This is also true for my recent numerous installs of Pro, which is absurd
bananadonkey··on Vue.js: the good, the meh, and the ugly
As one of a small group of maintainers of the build tools of our most complex app, I can concur with this. Yesterday I spent 4 hours fixing a single build/parse issue between dev and prod.

I also spent just 1 hour completing multiple RFCs in another app built with create-react-app using redux/connect as a purely syntactic-sugar state propagation layer.

I love the complexity and feeling of fulfillment for triumphing in the former scenario, but it is definitely much more of a distraction than anything else.

bananadonkey··on Analysis of USB fan given to journalists at North Korea-Singapore Summit [pdf]
How about we go full meta and suspect the linked PDF is the malicious payload vector?
bananadonkey··on Python 3 at Facebook
This.

I always take the opportunity to identify some long-term-beneficial changes which would look good on my CV, and run with them even if it means investing my free time before I can present the potential to the business.

bananadonkey··on Containers Will Not Fix a Broken Culture
The irony here being I had to port our production RPM (rhel-based) build system to Docker just so it could have a reasonable API and be anything close to maintainable.

Edit: the extreme portability and "free" concurrency were just a bonus.

bananadonkey··on I returned my 2016 MacBook Pro with Touch Bar
I switched to the 2nd gen m5 Macbook from the '13 rMBP 13", and would argue the m5 is surprisingly more than capable.

Granted it's not as fast on paper or benchmarks, but it's so capable I am having a hard time trying to justify my next purchase (not enough screen real estate in rarer circumstances: Chrome DevTools alongside the browser window is impossible, OmniGraffle and other apps can feel cramped at times).

The machine did feel a little slower than the i5 when I first started using it but nothing obnoxious.

Context: As a devops guy I regularly build large RPMs, run grunt against a huge codebase, compile packages from source, and all the while with Docker running OpenShift and a bunch of LEMP apps in the background.

← PreviousPage 2 of 2