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 Rust can be difficult to learn and frustrating, but it's also very exciting
Usually someone will help you out on irc or on the rust subreddit, but I think your point may still stand.
manaskarekar··on Lubuntu is taking a new direction
Without commenting on your suggestions, I'll say this, I am not that big on menu based launchers.

I used to use Gnome Do as my primary launch tool. Now I just use a shortcut (Windows Key + Space Bar) for the 'Run' dialog (usually found by Alt + F2) and I know the first few chars of my favorite tools after which they autocomplete.

For everyday use, it's hard to beat the speed and simplicity of that.

manaskarekar··on The magic of asyncio explained
This might be interesting reading. Comments on rust's approach to async from green thread.

https://aturon.github.io/blog/2016/08/11/futures/

manaskarekar··on Lubuntu is taking a new direction
I agree that LXDE isn't the first choice when you're thinking about customizing your desktop (check out reddit.com/r/unixporn if you're into this sort of a thing).

I meant that from a point of view of comparing it to others like gtk3, unity, cinnamon etc for some specific features that I find useful.

Of course, not all distros will lend themselves to all types of customizations easily and customizability, at least to some degree, is relative.

With that in mind, yes, maybe I should tone it down to 'customizable,' instead of 'very, very customizable.'

manaskarekar··on Lubuntu is taking a new direction
Linaro and Raspbian both are based off LXDE if I recall correctly.

Wonder if they will also (have already?) adopt LXQt?

manaskarekar··on Lubuntu is taking a new direction
Lubuntu's 'PCMan File Manager' does all those and some more except for renaming multiple files.

'rename' [1] is a good way to do it anyway.

[1] http://manpages.ubuntu.com/manpages/trusty/man1/prename.1.ht...

manaskarekar··on Lubuntu is taking a new direction
I don't want to come across as ungrateful but I'm not very happy about this. I haven't looked into the reasons for this change but I'm sure there are some compelling ones to make such a big change.

LXDE based Lubuntu struck the perfect balance (for me) between:

- Being minimal and lightweight

- but works out of the box with enough batteries included

- tons of community resources due to being a ~buntu

- very, very customizable (I love my undecorated windows and no bullshit shortcuts/decorations etc)

- sane user experience, without any unnecessary bloat

- LTS support (albeit shorter than other ~buntu releases).

Yes, I can achieve these things some other way, but Lubuntu hit this sweet spot out of the box with minimal tweaking.

Maybe LXQt will be great, may be not, but at this point it reminds me of Ubuntu 10.10 which, IMHO, was as refined as Ubuntu (or any linux distro at the time) could be, and then they just decided to throw all that maturity and refinement away and start from scratch.

I truly hope LXQt based Lubuntu succeeds, but it's a sad day to me.

manaskarekar··on TextMate 2.0 (rc 10)
There's jEdit.

It looks horrible out of the box, but it looks as good, if not better than most modern editors.

It runs on the jvm and so is sluggish to launch, but it's an extremely mature product and the plugin ecosystem is nice. Getting the latest plugins is a bit hit or miss, but it's worked great for me and my colleagues.

Font rendering is awesome and has support for ligatures etc.

manaskarekar··on GitHub Alternatives
Raspberry Pi running your own git server.

https://blog.meinside.pe.kr/Gogs-on-Raspberry-Pi/

https://hackernoon.com/create-your-own-git-server-using-rasp...

https://pimylifeup.com/raspberry-pi-git-server/

manaskarekar··on Toshiba to Close the Book on Its Laptop Unit
Could you elaborate what you did for the linux setup?

Was it something different from Crouton/Chrubuntu/Gallium?

manaskarekar··on Toshiba to Close the Book on Its Laptop Unit
IIRC that was discontinued two (or more) years ago.
manaskarekar··on Intel demonstrates a 28-core processor running at 5GHz
Currently you can buy a quad-cpu Xeon Platinum 8180 setup with 28x4 cores.

http://browser.geekbench.com/v4/cpu/8490627

manaskarekar··on Understanding Image Sharpness (2003)
Thanks for sharing his inspirational story in this old thread: https://news.ycombinator.com/item?id=7540832
manaskarekar··on Ask HN: Books you should have read when you start a career in SE / CS?
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 Java is Pass-by-Value
Here is, what I thought, is an excellent video and the related article for Python:

Ned Batchelder - Facts and Myths about Python names and values - PyCon 2015: https://www.youtube.com/watch?v=_AEJHKGk9ns

Article: https://nedbatchelder.com/text/names.html

manaskarekar··on WebAssembly support lands in Go language: golang wasm/js
Sorry, I missed it. Deleting.

Edit: missed the window. Sorry about that.

manaskarekar··on I miss Windows Phone
In general, that's the sane argument against feature bloat.

In this instance, is the effort required to maintain a layout option really that much more? I don't know the answer, it's a genuine question.

Also, was there no benefit? I didn't even realize the feature existed because I searched for it before it was introduced and moved to Firefox.

I know nothing about the history of this feature in Chrome, but from 10000 feet, this looks like a heavy handed move to remove a feature instead of making it optional, especially in the times of large + tall touchscreens.

Disclaimer: I don't know what I'm talking about, there may be, and probably are some good reasons for these.

manaskarekar··on I miss Windows Phone
I'm curious, why would there be backlash against something that's optional?

They could leave the default as the least offensive option.

manaskarekar··on I miss Windows Phone
I searched for that a lot in the past.

I wonder if the placement is optional, people could select what they prefer.

Looks like that is being deprecated in favor of something else: https://www.xda-developers.com/google-deprecating-bottom-add...

manaskarekar··on I miss Windows Phone
Windows Phone 8.1 + Lumia 920 was by far the best phone I have ever used.

My friends look at me funny when I say that.

There were so many things they did right. Some random things off the top of my head:

- Internet Explorer had the address bar at the bottom of the screen. I don't get how nobody else does this.

- The tiles work really very well (big one). The usability of shortcuts + active information + dense layout on your homescreen.

- The back-button behavior was perfect. It made sense.

- Very snappy response throughout.

- Lots of pros on the hardware of the Lumia 920 itself but that's a different story.

- Best keyboard/swipe setup.

- Lots of thoughtful design elements.

There's all kinds of stuff that was a joy.

I tried Windows Phone 10.1 Dev release and that was horrible.

I do wish Windows Phone continued to live though.

manaskarekar··on Ask HN: Examples of great landing pages?
https://dlang.org/
manaskarekar··on There's a Persistent Hum in Windsor, Ontario, and No One Knows Why
Stuff you should know covered this in one of their episodes: https://www.stuffyoushouldknow.com/podcasts/how-the-hum-work...

Transcript: https://www.stuffyoushouldknow.com/podcasts/how-the-hum-work...

manaskarekar··on The random walk of cars and their collision probabilities with planets
Very cool, looks like this partially answers my curiosity https://news.ycombinator.com/item?id=16324894.

It'll be fun to read papers about other projected fates of the various aspects of the Tesla.

manaskarekar··on SpaceX craft overshot Mars’ orbit and is headed to asteroid belt
Thank you for sharing this. I was hoping for info about stuff like this.
manaskarekar··on SpaceX craft overshot Mars’ orbit and is headed to asteroid belt
Your answers seem to be about whether or not there will be a collision at those time points.

My curiosity is about visualizing the orbit over time (which includes a non-zero possibility of collision).

P.S. I doubt you would disagree that speculating about where the Roadster will be when the Sun will be getting colder is fun, and not 'nobody really cares.'

Of course, such simulators are hard and expensive and mostly approximations, but doesn't hurt to ask about what options are out there.

manaskarekar··on SpaceX craft overshot Mars’ orbit and is headed to asteroid belt
> SpaceX said that wrt. their original projected trajectory of a Mars Transfer Orbit. Since right now we're talking about something more like Ceres Transfer Orbit, the projection can change (and, as per article, astronomers are asking Elon for details to calculate it), but keep in mind one thing: space is big and empty. The chance of it hitting anything on short timescales are close to 0.

But one of the reasons I asked was not because I was worried about whether it would hit something on a short timescale (even though there is a non-zero chance it could happen). I'm aware of the vastness of space.

I was curious about what happens over 10, 10^3, 10^9, 10^12, 10^100 orbits later.

manaskarekar··on SpaceX craft overshot Mars’ orbit and is headed to asteroid belt
I saw that, but that doesn't tell me what will happen 10^3 or 10^9 orbits later.

Or does it?

Not trying to be snarky, genuinely curious.

manaskarekar··on SpaceX craft overshot Mars’ orbit and is headed to asteroid belt
> Yes, but unlikely in the next couple million years.

So, the reason I asked was because of not having a source. Did this come from SpaceX or someone authoritative who has done the math?

> A planet has a definition involving size and shape, which the Roadster does not fit.

That was a bit tongue-in-cheek, but I know, correctness > humor.

manaskarekar··on SpaceX craft overshot Mars’ orbit and is headed to asteroid belt
Is there any simulation for projecting the path of the Roadster over its life? Kerbal Space Program?

Is it going to orbit the Sun? I'm curious to know what happens on its orbit over time. Could it collide somewhere down the line?

Perhaps SpaceX just launched the first man made Planet?

EDIT: Would love to hear the downvoter's reasons.

manaskarekar··on How it works: Compiler Explorer
Matt Godbolt's cppcast appearances have been awesome.

He talks about Compiler Explorer[1] in one and Spectre/Meltdown[2] in another.

[1] http://cppcast.com/2016/01/matt-godbolt/

[2] http://cppcast.com/2018/01/matt-godbolt/

← PreviousPage 7 of 17Next →