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 Walmart says it will discontinue Jet
This reminds me of the Silicon Valley episode where the start up 'Sliceline' sells repackaged Domino's pizzas.

Don't recall if they explicitly stated 'they'll make it up in volume.'

manaskarekar··on Five Years of Rust
While Go may be faster somewhere, that post was not a good comparison.

See the discussion around it and the patches made by the community and the final results.

See the individual benchmarks: https://github.com/christianscott/levenshtein-distance-bench...

manaskarekar··on Five Years of Rust
I suppose https://rust-lang.github.io/compiler-team/minutes/design-mee....
manaskarekar··on Five Years of Rust
Non-Lexical Lifetimes was huge. Impressive list.

I hope the next 5 years bring compiler speed ups.

manaskarekar··on Gitlab.com Is Moving to 13.0
Also, the UX on bitbucket is very convoluted, to me at least.
manaskarekar··on New 13-inch MacBook Pro
Thanks for sharing, knew there had to be something easier than hot-gluing stuff on the laptop!

That said, I would choose physical keys over a touch bar myself.

manaskarekar··on New 13-inch MacBook Pro
Wow, is there no software setting to simply disable the touchbar inputs?
manaskarekar··on History of Logo
My first exposure to computers was through Logo in 1992!

Thinking back, it was really effective in grabbing your attention and making you want to experiment with different commands!

This is a good reminder that Logo is still a great teaching tool, especially for kids.

I suppose python + turtle can replicate the effect to some degree as well.

https://docs.python.org/3/library/turtle.html

manaskarekar··on Pop OS 20.04 LTS
Distrowatch + Youtube walkthroughs can help some in differentiating, but so far firing up a VM is the only good to way to get a real feel for the flavor.

> So much time and effort goes into building an _entire_ distribution when, at the core, 90% or more of the thing is identical to Ubuntu LTS. Am I missing something?

I think there's a lot of effort that goes into polishing the DE/WM for a specific flavor of Ubuntu. I say this as someone who installed i3 on Linux Mate, and when using Mate now, I see i3 notifications manager.

manaskarekar··on Pop OS 20.04 LTS
So glad that they're bringing tiling features, keyboard shortcuts and workspaces front and center!

Quick glance and looks like it's bringing together the best of tiling WMs with the polish of Pop!_OS.

manaskarekar··on Casio CQ-1 calculator and clock
Not an expert on the VFDs itself, but we have a product that I've worked on with the 40x4. The display looks cool but nothing exotic (to me at least).

What's cool to me are the amber monochrome monitors, which we've used in the past. They are truly a sight to behold in person.

manaskarekar··on I translated a simple C program to x86_64 and it was slower
Tangent, but this reminds me of this great talk by Matt Godbolt from CppCon 2017: “What Has My Compiler Done for Me Lately? Unbolting the Compiler's Lid”

https://youtu.be/bSkpMdDe4g4.

And the follow up https://youtu.be/nAbCKa0FzjQ.

manaskarekar··on Ubuntu Mate 20.04
Funnily enough, the other topic on the front page (Xubuntu 20.04) has the top voted comment discussing the state of external displays.

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

To be fair, as I've mentioned in another comment, I was not strictly talking about hotplugging alone. Detection of external displays hasn't been the issue, usability in some form or another has.

manaskarekar··on Ubuntu Mate 20.04
It is not strictly a Mate feature, but I thought it was worth mentioning.

Also, I should have been more specific, I'm not just referring to monitor detection but also combining/switching between them without any issues in various use cases.

manaskarekar··on Ubuntu Mate 20.04
To be fair, I mentioned that because that's one of the biggest dealbreaker features today in many distributions (I think.)

I think there are few specific pain points in linux that always get brought up. Other than that, desktop linux is truly great.

- Suspend/Hibernate on lid/close open. (Never had trouble with this on my hardware.)

- Detecting, handling, plug/unplug external monitors. (everyone seems to come up with their own way to handle this)

- Discrete graphics switching/drivers.

- Package management. (Too many different standards, and non-truly rolling release)

My biggest beef with most distros is that every time a project reaches maturity, the rug gets pulled from under it and a brand new X (heh) is the next goal.

I've experienced this twice. Ubuntu 10.10 was peak Ubuntu for me. And Lubuntu 18.04LTS was peak Lubuntu. Both times, everything changed for the next release.

There are reasons to start from scratch, and I'm not qualified enough to comment on the decisions made by these projects, but they killed the distro for me at those two times.

manaskarekar··on Ubuntu Mate 20.04
Just finished moving from Lubuntu (LXDE) to Mate. I loved LXDE and still think it is the best balance between no-nonsense "stay out of your way", almost all the stuff works and tweak your preferences. Sadly, that project is dead and has been replaced by the arguably better LXQt.

I don't think LXQt has reached the same maturity as LXDE just yet, but surely will eventually.

Left with the task of choosing a new daily OS, I played around with Lubuntu and LXQt, i3, XFCE, Mate and reviewed some others including the interesting NixOS.

Ended up choosing Ubuntu Mate because even though it's a heavyweight, I feel it has made a lot of right choices and works great. Even detects external monitors on plug/unplug.

If Pop!_OS was out already, I would have considered that, but so far Mate is really good.

manaskarekar··on My First “Conway's Game of Life” Program in Tribute to John Conway
Here's mine in C++ and SFML. I enjoyed this so much! It's basic, but I recall spending hours playing with various seeds.

https://github.com/manaskarekar/dendron

Demo seeded with an R-Pentonimo: https://www.youtube.com/watch?v=B3P-LnrXE3k

manaskarekar··on Nitric oxide inhibits the replication cycle of SARS coronavirus (2004)
No, and not especially in the current situation.

It’s far too convenient to have a distilled source of nutrients/flavor as opposed to shopping, cleaning, preparing it and then storing it such that it is available without a lot of thought/planning.

Of course, this is not a general statement, it only applies to some stuff. I enjoy “regular” food too much for that!

manaskarekar··on Nasty macOS flaw is bricking MacBooks: Don't install this update
Move fast, break things!

On a serious note, possibly because things are much too capable and complex than they used to be, combined with tight release cycles.

manaskarekar··on Nitric oxide inhibits the replication cycle of SARS coronavirus (2004)
What's a good brand? Really hard to find a trustworthy brand on amazon. Thanks!
manaskarekar··on Crafting “Crafting Interpreters”
I love both books by Mr. Nystrom!

Thank you so much. They are very interesting and well presented. I hope munificent is able to pick yet another interesting topic after this one has concluded!

manaskarekar··on Ask HN: Computer Science/History Books?
Here’s one that’s a hit or miss depending on your interests: The Design And Evolution of C++ by Bjarne Stroustrup himself.

https://www.amazon.com/Design-Evolution-C-Bjarne-Stroustrup/...

manaskarekar··on New System76 Laptop: Lemur Pro
I could be wrong, but IIRC there is a limit on how much power can be delivered over USB-C that is arguably easy to hit for powerful laptops.

Perhaps that's one reason among others.

---

Edit: Could the downvoter explain the downvote please?

Edit2: Quick googling tells me USB Type C supports upto 100W power delivery [1], while an example laptop, such as X1 Extreme Gen 2 can go up to 129W of power draw under load [2].

[1] https://en.wikipedia.org/wiki/USB_hardware#Power

[2] https://www.notebookcheck.net/Lenovo-ThinkPad-X1-Extreme-201...

manaskarekar··on Why I’m Using C
Not what you’re asking for, but here is a study that others may find interesting

https://thenewstack.io/which-programming-languages-use-the-l...

Edit: just saw sibling comment linking to the same paper.

manaskarekar··on Ask HN: Do you ever truly use your revision history?
Chestertons Fence, to put a name to the phenomenon.

https://en.wikipedia.org/wiki/Wikipedia:Chesterton%27s_fence

manaskarekar··on A common mistake involving wildcards and the find command
I used to do this until just replacing it with `fd`.

https://github.com/sharkdp/fd

manaskarekar··on Python dicts are now ordered
I suppose the meaning of the term depends on what we consider to be the subject of the compatibility.

- backwards compatible code: new code can run on an old interpreter

- backwards compatible interpreter: old code can run on a new interpreter

EDIT: After some thought, you're right. The second description is the reasonable interpretation.

"python 3.7 is backwards compatible with python 3.6"

manaskarekar··on Python dicts are now ordered
In other words, it breaks backwards compatibility, but not forward compatibility.
manaskarekar··on The man who discovered umami
There's a good SYSK episode summarizing the history of Umami: https://www.iheart.com/podcast/105-stuff-you-should-know-269...
manaskarekar··on Congrats! Web scraping is legal! (US precedent)
Makes me wonder, how many users on HN are actually very convincing bots?
← PreviousPage 5 of 17Next →