HNHacker News
TopNewBestAskShowJobs

manaskarekar

3,582 karma · joined August 11, 2012

Languages I enjoy: Rust, Python, Clojure, Zig, C++, C, Go

https://github.com/manaskarekar

submissionscomments
manaskarekar··on Neovim 0.9
Stating the obvious - the edit modes are fundamentally different and helix doesn't have a plugin ecosystem yet.

Helix uses the kakoune model:

vi basic grammar is verb followed by object; it’s nice because it matches well with the order we use in English, "delete word". On the other hand, it does not match well with the nature of what we express: There is only a handful of verbs in text editing (delete, yank, paste, insert… ), and they don’t compose, contrarily to objects which can be arbitrarily complex, and difficult to express. That means that errors are not handled well. If you express your object wrongly with a delete verb, the wrong text will get deleted, you will need to undo, and try again.

Kakoune’s grammar is object followed by verb, combined with instantaneous feedback, that means you always see the current object (In Kakoune we call that the selection) before you apply your change, which allows you to correct errors on the go.

Source: https://kakoune.org/why-kakoune/why-kakoune.html

manaskarekar··on System76 Teases Their “Virgo” In-House Manufactured Laptop
This seems promising. Combined with pop!_os, this should make for a very nice linux machine.
manaskarekar··on Apple Detection of Flashing Lights
> “not apple”

It’s a non-starter for some people for a variety of reasons.

manaskarekar··on Apple Detection of Flashing Lights
The only iphone that is currently sold that is not OLED is the SE (I think). I don't know what the upgrade path is beyond these.
manaskarekar··on Apple Detection of Flashing Lights
This is nice.

It would be nice if apple also addressed PWM and Temporal dithering on the displays of their newer devices.

manaskarekar··on Lemon-derived nanoparticles block the progression of kidney stones
Band: Bouts of Gout.

Song: I thought I broke my toe.

Album: The last 3-ish years.

manaskarekar··on I don't like making the best things
ZenPencils' illustrated version of this quote: https://www.zenpencils.com/comic/90-ira-glass-advice-for-beg...
manaskarekar··on Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made
Ctrl-W based shortcuts are especially very useful.
manaskarekar··on Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made
Yeah, but it's possible to quickly type the next command (that you would after exiting vim) as the encryption key.

That said, given that neovim doesn't have this feature at all makes it less of an issue to me.

manaskarekar··on Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made
Thanks for bringing this up.

I'm toying with either disabling it,

    cmap X <Nop>
or, mapping it down to a lower x.

    cmap X x
1. Does anyone see anything this could interfere with?

2. Does anyone know a better way to turn off the `:X` encryption option?

Sadly, having to remap definitely dulls the shine of `:x`.

manaskarekar··on Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made
Just throwing another one out there:

    `Ctrl + [`  instead of `Esc` to save some finger travel.
manaskarekar··on Linux on the laptop works so damn well that it’s boring
Agreed. That's why I turn to r/unixporn to vicariously live through alternate setups.
manaskarekar··on KTM Unveils A Revamped 890 Adventure R for 2023
Is there an option to buy it without the additional hardware?
manaskarekar··on Winamp 5.9
Or a few more: https://skins.webamp.org/
manaskarekar··on Zig, the Small Language
I maybe overstating it, but another contributing factor to its growing popularity may be the documentation. It is really nice and well presented. Reminds me of how the rust book also welcomed you to explore the language.
manaskarekar··on Lapce Editor, Release v0.2.0
I think many would agree that object-verb is the better way, but the vim way is old and more established. I would imagine the sheer number of users would be far more for vim’s model.

That said, it’s a mode that could be introduced in the future as kak-mode I suppose.

manaskarekar··on Lapce Editor, Release v0.2.0
> I thought you were a contributor to Lapce

Not yet :)

I keep an eye on https://www.areweguiyet.com/

manaskarekar··on Lapce Editor, Release v0.2.0
Thank you for an awesome editor. I've been using it on and off since the first release. It is remarkably fast and you seem to have hit the right spots as far bootstrapping it goes!

I agree with your plug-in philosophy and I'm excited to see where the project goes. It is a very promising editor.

manaskarekar··on Lapce Editor, Release v0.2.0
I haven’t used druid, but I’m on the hunt for a good option too. What were your impressions with iced leaving aside the early stage changes?
manaskarekar··on Lapce Editor, Release v0.2.0
> Helix's editing model is strongly inspired from vim and kakoune, and a notable difference from vim (and the most striking similarity to kakoune) is that Helix follows the selection → action model. This means that the whatever you are going to act on (a word, a paragraph, a line, etc) is selected first and the action itself (delete, change, yank, etc) comes second. A cursor is simply a single width selection.

I believe Lapce follows the original vim model.

For further reading about the object-verb model: https://kakoune.org/why-kakoune/why-kakoune.html

manaskarekar··on Integers in C quiz
Tangentially related, https://cppquiz.org/, for C++.
manaskarekar··on ICMP, Ping, and Traceroute – What I wish I was taught (2020)
Another useful tool, fping - https://linux.die.net/man/8/fping
manaskarekar··on Sunsetting Atom
As someone who loved everything about Atom except the sluggishness and bloat, Zed sounds like exactly the thing that I've been wanting.

VSCode/Codium is amazing but it feels the same - sluggish but a feature/extensions-packed behemoth.

I hope Zed is able to establish a nice extension ecosystem as that is priceless!

Thank you!

manaskarekar··on Sega announces a tiny Sega CD retro console
> Sega is selling a purely cosmetic Sega CD accessory

Seems like a missed opportunity.

manaskarekar··on The Better Alternative to Lifetime GATs
> RAAI

RAII?

manaskarekar··on My free-software photography workflow
I have played with these in the past and found that rawtherapee results look far less appealing (or need far more effort than what I was willing to invest) than Adobe Lightroom for non trivial settings.

I wonder how things compare now.

It is great that these softwares are offered for free though.

manaskarekar··on Arduboy
Thanks. I was looking at a quick youtube review and it seems they hadn't figured this out yet.
manaskarekar··on Arduboy
Looks cool, does this require you to power cycle the device when you want to quit a game?
manaskarekar··on How to easily read 50 books a year
Interesting point.. but it also brings to mind that story about the pottery class with two student groups - one tasked with making multiple pots, and the other with a single most perfect pot.

(https://aliabdaal.com/pottery/

https://joshdance.medium.com/pottery-class-parable-or-real-e...)

It could be argued that finishing (and enjoying and extracting value from) books is a skill that can be honed by doing the quantity approach, at least initially.

manaskarekar··on JEdit – Programmer's Text Editor
Thanks for the plugin, it's awesome.
← PreviousPage 3 of 17Next →