HNHacker News
TopNewBestAskShowJobs

sanjayts

107 karma · joined August 15, 2016

A simple man with simple needs
submissionscomments
sanjayts··on Punkt. Unveils MC03 Smartphone
I'm really struggling to see who this phone is aimed for. Why would someone pay a subscription for their "own" phone that is cut off from the major app stores?
sanjayts··on You are how you act
More like "you are what you think".
sanjayts··on Mozilla to shut down Pocket on July 8
I migrated to raindrop.io[1] few months back and IIRC the file downloaded from Pocket did have tags. I again tried following the same steps and the CSV does have tags so I'm not sure why they save the export will not have tags?

[1] https://raindrop.io/integrations/pocket

sanjayts··on Ask HN: List of companies doing (or not doing) layoffs?
Not sure if you have seen this? https://layoffs.fyi/
sanjayts··on Byte Magazine: The C Programming Language (1983)
Direct page link for those interested -- https://archive.org/details/byte-magazine-1983-08/page/n49/m...
sanjayts··on Retirement of Amazon MOBI eBook file format
Why would someone do this? Isn't it basically asking to get the account deactivated due to piracy concerns esp given that now Amazon has the whole trail of things you have pirated?
sanjayts··on Writing your own search engine is hard (2004)
> Doesn't mention the hardest part ... dealing with pages whose content is mostly dynamic and generated client side (SPA's)

Given this is from 2004 I'm not surprised.

sanjayts··on Roguelike Tutorial in Rust (2019)
What's the relation between this tutorial and the "hands on rust" book? Overlapping content or contains bits and pieces from the book?
sanjayts··on Show HN: WebRTC Nuts and Bolts, A holistic way of understanding how WebRTC runs
Good stuff; approximately how long did this project take to develop?
sanjayts··on Show HN: Muse 2.0 with local-first sync
These need not be the only two options. App developers could charge money for updates made i.e. new versions while the old versions keep working as advertised.

Instead of "cloud storage" which might incur ongoing charges, apps can very well hook onto my GDrive/OneDrive to persist data. Also, games have done this "free updates to this app I paid" for years now.

sanjayts··on Ask HN: Great Blogs by Programmers
This is a long shot but hoping someone might be able to help... Almost a decade back I stumbled across an excellent blog which had extremely long and detailed in-depth articles related to performance. Every article had a "hare/rabbit" mascot section similar to the "cool bear" section from this blog https://fasterthanli.me/articles/why-is-my-rust-build-so-slo...

Does someone else remember that blog? If yes, please share the link!

sanjayts··on Google Buys Fitbit for $2.1B
Netflix
sanjayts··on Htop Explained
On a 64 core / 512GB RAM server-class machine with 2K tasks, around 20K threads and 12% load, `htop` lags like crazy -- pretty much unusable.
sanjayts··on Timsort, the Python sorting algorithm
If it was easy, folks wouldn't have to ask how it could be done and everyone would that THAT good. ;)
sanjayts··on I Can’t Stop Winning
Yup; I get a strong very "P. G. Wodehouse" vibe from his writing.

EDIT: After looking at his resume, I'm fairly confident his writing style is heavily inspired by Wodehouse (he mentions about Jeeves and Wooster!).

sanjayts··on mTCP: A high-performance user-level TCP stack for multicore systems
Are you talking about these[1]? Also, would you have a rough ballpark figure on the CPU load reduction you have seen using these?

[1] http://www.mellanox.com/page/products_dyn?product_family=209...

sanjayts··on I Sell Onions on the Internet
Great read! The blog has another post which I found personally interesting -- Slow Down & Wander [1]

[1] https://www.deepsouthventures.com/slow-down-wander/

sanjayts··on Steve Wozniak Recounts His Efforts to Engineer the Apple II Floppy Disk System
Warning, NSFW!
sanjayts··on 100 days with Rust: a series of brick walls
I think this is an important point. When prototyping or developing one-off utilities, I'm not looking to shave off CPU cycles or run everything under 6 MB. I wish someone would write a "Rust for <insert-gc-lang> Programmers". :)
sanjayts··on Why many Indian politicians have a criminal record
> The current govt has the largest share of criminals in power

Surely you jest? No mention of Congress who have literally destroyed our country by their rampant corruption and being in power for so long that it is proving to be a gargantuan task to get back on our feet?

sanjayts··on Why many Indian politicians have a criminal record
The cut goes far deeper than corruption, we have had traitors running our country after Independence; leaders who put themselves and their petty desires before their country.

Other factors which contribute to holding back the country are: illiteracy, population explosion, blind faith, diversity used against the masses to incite hate and so on.

sanjayts··on Grappling with Go
Sorry if you saw this coming but do you really not miss generics and exceptions? I like Go given that it's a lean language and the compiles down to a self contained binary which doesn't consume gobs of CPU or memory and is pretty quick to start-up and run. Perfect language for writing command line tools and one-off network clients.

But I dread the feeling of writing repetitive error handling code and copy-pasta to get a simple generic functionality to work across data types. Maybe I should just consider it a better C and move on...

sanjayts··on Beringei: A high-performance time series storage engine
If you don't mind asking: how do you uniquely identify the requests? Is it a composite field made up of `client_ip:timestamp` or a random UUID? What does a typical payload sent across to the TSDB look like? Also I'm assuming the services are written in a language like C or C++?
sanjayts··on More than one million requests per second in Node.js
> For one, JS is also JITed

But not all JITs are equal; that's like putting Brainfuck in the mix because it has a JIT. It is worth noting that JVM JIT has years of research behind it and being statically typed only adds to he benefits.

> So, yes, it might be slower than the JVM, but not that slower for most practical purposes.

Sure, my point is that the "not that slower" varies on lot depending on the kind of computation would run and having a notion that these dynamic languages are fast enough just perpetuates the misunderstanding that there exists free lunch...

sanjayts··on More than one million requests per second in Node.js
I am awfully wary of these statements which paint languages like Python (via PyPy), Javascript (via Node) as very close competitors of the JVM. Once the JIT engine kicks in, on "real" workloads, JVM beats the lights out of these carefully tuned interpreted languages on a CPU intensive workload.
sanjayts··on Making the move from Scala to Go
I do competitive programming using Go and sorely miss "generics" so I'm pretty sure that your thought is not entirely correct.
sanjayts··on WebSlides – Making HTML presentations easy
I must say that I completely missed the arrow keys and the page numbers at the bottom; the font color is way too light for the background. Maybe making that a bit more prominent would go a long way.
sanjayts··on GitHub lost $66M in nine months of 2016
I agree; Bitbucket Server is a smash hit in big banks who are now moving away from SVN to GIT to stay relevant. It simply makes more sense to use BitBucket Server offering by Altassian given that most organizations already use Confluence for hosting their wiki.