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 Smart homes will turn dumb overnight as Charter kills security service
Not sure why the future should be this way.

The issues mentioned are all bad design decisions. For it to work in the future, they just need to be executed well.

manaskarekar··on Microsoft Project Verona: Research programming language for concurrent ownership
Recent discussion: https://news.ycombinator.com/item?id=21682867
manaskarekar··on Autocomplete as an Interface (2015)
> if you are typing empty(), it's not just going to pop up. Rather, it waits for a pause, an indication that you aren't sure.

That's a negative experience for me. If I'm pausing, it's because I need to think about something.

In that instant, a suggestion distracts me.

The chances of the suggestion being relevant to my pause are pretty low.

The best option is when you can invoke the autocomplete/docs on demand - using a convenient shortcut.

manaskarekar··on Rush Drummer Neil Peart Dead at 67
A major loss. One of the giants. Thanks for all the music and influencing hundreds of bands.
manaskarekar··on Ignore Sunk Costs (2009)
Don't know if this was linked, but the relevant podcast episode if anyone's interested https://www.akimbo.link/blog/s-2-e-13-ignore-sunk-costs
manaskarekar··on Tesla Cybertruck vs. a Ford F-150: It's All About Friction
That friction is relevant most when it's loaded, which is arguably the main use case for a pickup truck. That was not tested in this case.
manaskarekar··on The Value in Go’s Simplicity
Surely there is a middle ground.
manaskarekar··on 16-inch MacBook Pro
This is very close in dimensions to the 2015 15" rMBP. The thermals should be much improved.
manaskarekar··on 16-inch MacBook Pro
Only a few more iterations before we have the complete row of Fn Keys!

That said, I'm glad they bumped up the base to 512GB and the keyboard is improved.

manaskarekar··on Fish: A command line shell for the 90s
> With Fish I never have to ask you again. I just remember part of it, and suddenly I've got it.

Are you referring to something other than cycling through history?

In bash, hit `Ctrl+R`, then type whatever part of the command to cycle through history.

You may choose to adjust the size of the history file in `.bashrc` as needed.

A good reference: https://www.digitalocean.com/community/tutorials/how-to-use-...

manaskarekar··on DuckDuckGo Search Improvements
> if your query doesn't get the results you want (less often these days), prepend it with !g to search google instead.

The `!g` can show up anywhere, not just at the beginning of your query.

Also, other possible `bang` shortcuts: https://duckduckgo.com/bang

manaskarekar··on Rustup 1.20.0
It doesn't seem like a direct port, but it does use all the doc sets provided by Dash.
manaskarekar··on Rustup 1.20.0
Apart from the awesomeness that is `rustup doc`, check out `Zeal` https://zealdocs.org/.

It lets you download offline doc "packs" and search through them quickly.

This is inspired by Dash: https://kapeli.com/dash.

manaskarekar··on Ask HN: What are your favorite Linux applications?
Baobab: Disk usage Analyzer https://help.ubuntu.com/community/Baobab

Atril: Pdf Viewer, forked from Evince from the Gnome 2 days IIRC.

Base 16 Colors: https://github.com/chriskempson/base16

Unetbootin/TuxBoot: Creating bootable drives.

gnome-do: Alfred/Spotlight (MacOS) like quicklauncher. Used to use this but now I've just defaulted to using Alt+F2 (remapped to Super + Space keys) to launch apps. https://do.cooperteam.net

Zim : "A desktop wiki" https://zim-wiki.org

manaskarekar··on The Failure of 3D Touch (2018)
Also, 3D Touch was almost instantaneous, "haptic touch" introduces a lag.
manaskarekar··on The Failure of 3D Touch (2018)
Count me in as a fan who's going to miss it. I use it extensively for a lot of things. I hope it makes a return some day.

It's a pity that it wasn't marketed/documented appropriately.

manaskarekar··on Camera sales are falling sharply
For anyone with a Canon lens collection, the Sigma MC-11 adapter works great with (many)Canon* and Sigma lenses on the A7III.

*EF lenses, can't comment on Canon EF-S personally.

manaskarekar··on Xfce 4.14
I have used both.

I was very sure they have messed up a perfect thing that was lxde, but 5 minutes of using lxqt and configuring it, I had all the good bits of lxde with a lot of awesome new bits.

I was sold on it until it (18.10) booted to a black screen reboot loop and basic debugging didn't resolve the issue. I didn't have time to nail the cause but it could have very well been me tweaking config.

I am back on 18.04LTS but will be upgrading happily to lxqt at 18.04's EOL.

manaskarekar··on Moons of all the planets in our solar system
The wikipedia page has an "amateur" photo of the Orion Nebula that highlights your claim, it's pretty glorious.

https://en.wikipedia.org/wiki/Orion_Nebula#/media/File:Backy...

That is one beautiful sight: https://en.wikipedia.org/wiki/Orion_Nebula#Image_gallery

manaskarekar··on Slack – Degraded service affecting multiple features
Dunno about feature parity but zulip is great.

https://zulipchat.com

https://github.com/zulip/zulip

manaskarekar··on Estimating Number of Jupyter Notebooks on Github
Off topic:

Possibly something in my config, but I've recently got a lot of

    "Sorry, something went wrong. Reload?"
when trying to view Jupyter notebooks on github itself. Seems to be working right now.

I have used this as an alternate: https://nbviewer.jupyter.org/

manaskarekar··on TLA+: design, model, document, and verify concurrent systems
PyCon 2019 https://www.youtube.com/channel/UCxs2IIVXaEHHA4BtTiWZ2mQ
manaskarekar··on The Pragmatic Programmer, 20th Anniversary Edition, in Beta
And this was my reply to that post, which I feel bears repeating: https://news.ycombinator.com/item?id=17032446

- A quick reference for the important points in Pragmatic Programmer :https://blog.codinghorror.com/a-pragmatic-quick-reference/

- Code Complete: http://codecourse.sourceforge.net/materials/Code-Complete-A-...

manaskarekar··on Unveiling the first-ever image of a black hole [video]
Funnily, it reminds me of Soundgarden's album, Superunknown, which had the famous song 'Black Hole Sun.'

https://www.amazon.com/Superunknown-Soundgarden/dp/B00IXLQJ8...

manaskarekar··on 2019 Stack Overflow Developer Survey Results
> I viewed it as Modern C++ with Memory Management done right from Engineering perspective and elegant syntax with package management done right from the beginning

That is a big deal in and of itself.

manaskarekar··on Zig 0.4.0 Released
My favorite website for an example of this functionality is: https://dlang.org/.

Succinct examples on a clean page, no fluff.

manaskarekar··on Fuchsia OS Introduction
Quoting some more relevant stuff from the nomicon. The linked article is short and sweet.

A data race has Undefined Behavior, and is therefore impossible to perform in Safe Rust.

...

However Rust does not prevent general race conditions.

This is pretty fundamentally impossible, and probably honestly undesirable. Your hardware is racy, your OS is racy, the other programs on your computer are racy, and the world this all runs in is racy. Any system that could genuinely claim to prevent all race conditions would be pretty awful to use, if not just incorrect.

Source: https://doc.rust-lang.org/nomicon/races.html

manaskarekar··on John Carmack: writing Rust code feels wholesome
>the borrowing/ownership semantics of rust (at the time I looked at it) felt needlessly over complicated.

Taking a wild guess here, but it sounds like you maybe referring to issues addressed by Non-Lexical Lifetimes (NLL)?

Reference: https://github.com/rust-lang/rfcs/blob/master/text/2094-nll....

NLL are a part of Rust 2018 Edition.

Three complementary books are the best resources:

- The Official book: https://doc.rust-lang.org/book/

- The Rust By Example book : https://doc.rust-lang.org/rust-by-example/

- Programming Rust (O'Reilly) : https://www.amazon.com/Programming-Rust-Fast-Systems-Develop...

manaskarekar··on So Long, Macbook. Hello Again, Linux
Off topic, but have you looked at LXQt? It is surprisingly nice, albeit with slightly more memory usage.

I never thought I could move away from LXDE but I think I'm going to soon.

manaskarekar··on So Long, Macbook. Hello Again, Linux
> The only advantage I find in LXDE is that it has a titlebar I can 'reveal' if I wish to mess around and fiddle with the window position

Unless I'm misunderstanding, you can use Alt + left click to move any window around, and Alt + right click to resize. No need to reveal the title bar except perhaps to read the occasional title.

← PreviousPage 6 of 17Next →