HNHacker News
TopNewBestAskShowJobs

rushi_agrawal

93 karma · joined January 10, 2014

Software engineer and consultant. Expert in Python. Good knowledge in databases and distributed systems. rushiagr.com
submissionscomments
rushi_agrawal··on Department of Commerce has lifted export controls on Claude Fable 5 and Mythos 5
If they really cared about their image among their user base and wanted to undo a little bit of damage they've already done via various policies and decisions, keeping the limits and duration the same as before the ban (or slightly being more generous with them) would have been a really cheap way for them to do that. Alas...
rushi_agrawal··on How AWS S3 serves 1 petabyte per second on top of slow HDDs
It is interesting that even after falling prices of HDDs, S3 costs have remained the same for at least 8 years. There's just not enough competition to push them to reduce costs. But imagine money it brings in in AWS because of this.
rushi_agrawal··on Semachrysa Jade – an insect species discovered on Flickr
Relevant paragraph: The species was discovered when a Malaysian amateur photographer, Hock Ping Guek, posted a picture of it to the online photo-sharing site Flickr. A California state entomologist saw it and was unable to identify the species; nor were any colleagues he shared the image with. Eventually, he contacted the photographer and was able to obtain a specimen. Further testing at the Natural History Museum in London confirmed that it was indeed a new species. Its discovery has been described as a triumph of citizen science.
rushi_agrawal··on How to Exit Vim
Didn't see a mention of a very fast way of exiting Vim, so sharing:

'The iTerm way': map cmd-l to send a hex code '0x6A 0x6B 0x3A 0x71 0x0D' (translates to jk:q<enter>, where jk is my Vim binding to get out of insert mode)

For me, just like any other touch typer, left thumb is always on cmd and right ring finger is always on 'l' key, so this arrangement takes least amount of time for me to quit Vim.

rushi_agrawal··on An interactive cheatsheet tool for the command-line
Similar concept: cheat.sh
rushi_agrawal··on Plant trees while you search the web
Thanks! Yes, this is what I was looking for.
rushi_agrawal··on Plant trees while you search the web
I remember there was a link on HN which had a list of sites similar to this which are greener in general (i.e. which plant trees, or which use only green energy like solar, etc). I've been searching for it but couldn't find it. If someone has it, can they post it ? Thanks!
rushi_agrawal··on Ask HN: Are there any studies about book reading retention rates vs. audiobooks?
I've had an instance where the author was reading his book himself, and his accent was so difficult that only then I started to realize the effort professional readers must have put into to make the book listenable. Had to read that book at .9X to be able to follow it.
rushi_agrawal··on Ask HN: Are there any studies about book reading retention rates vs. audiobooks?
I'm continuously listening to audiobooks while commuting since last couple of years or so. To increase retention, I've done a few things which have helped (I don't have enough time to go through the physical book or ebook though I tried it a few times, so can't comment on comparison there):

1. Driving slowly, so as to still have safety as the most important priority, and so that you miss lesser moments when you have to take your mind away from listening and to the things happening on the road (talking about Bangalore's i.e. India's traffic here). The slight gain in commute time (I think it should be around 10% and definitely not more than 20%) is completely worth it. This actually made my driving safer in general too.

2. I have a 'repeat last 30 seconds' functionality at my fingertips. You'll invariably miss a portion after which (sometimes) the story will stop making sense. The attitude which worked for me here is, it's okay to spend a lot more time to re-listen a part multiple times, than to let laziness take over by thinking it's anyway an unimportant portion and okay to miss.

3. Take out 5-10 minutes after a commute is done, to write notes about what I thought are important learnings and should not be forgotten with time. I believe if the goal is to not let the commute time go waste, then this notes-writing time is also a part of it, without which your learning is incomplete. This is way better than only remembering something like <2-5% of the book after a year. I use Microsoft OneNote (this trumped over using Vim because I can edit/read my notes while on the go without a laptop). One area of improvement is, I need some way to _remind_ myself to read those notes :)

4. Forcing myself to re-listen books which I found too useful to let my mind forget in any way, instead of jumping over to that next interesting book. I read mostly non-fiction books of a specific category (scientific-study-oriented books about humans, their interactions, behaviour and their flaws). Forcing re-learning is partly due to the fact that after a time I thought I'm reading less important books (i.e. I'm running out of extremely good books in this area), and partly due to forgetting to transfer that new book to my phone to listen.

5. I've lately realized that cramming all your free time to reading/learning is not helpful too. You should have a reasonable time to 'ruminate' in the day, each day, i.e. time when you're doing nothing (social network, news, sports, or any screen-time in general, doesn't count)

Feel free to ask questions. Also, feel free to provide suggestions and book recommendations. I'm all ears :)

rushi_agrawal··on There are very few suitable use cases for DynamoDB
If DynamoDB guys can come up with a mechanism similar to their CPU credits concept, that'd be a really nice feature to have. Of course it can't be as straightforward as CPU credits.
rushi_agrawal··on Problems I Have with Python
I realize that after reading the article, most people (including me, unfortunately) read the article as 'Problems WE have with Python'. Maybe a line by author at the top or bottom of the article, reiterating that it's the problem 'he' has with Python -- I know nobody would think such a second clarification would be necessary, but hey, we're humans! -- would help.
rushi_agrawal··on A Different Approach to (AWS) CLI
CLIs are designed for automation and are not as human friendly as they can be. I think we can make a CLI which rates very high on ease-of-use. Taking AWS CLI as an example, I built a project which has convenience as the top priority.
rushi_agrawal··on Ask HN: Would a platform-indep devtool installer be useful? I'm building one
> you mean like a package manager? what's wrong with apt, brew etc

Yes, like a universal package manager, but only for quick and dirty dev environment setup. The problem with apt, brew etc is that brew is for Mac only, and APT is for debian-like distros only.

the script at https://get.docker.com/ is exactly what I was thinking of building. Thanks for the pointer. Now I can't think of anything for which Xin-like thing would be useful apart from Vagrant installation.

rushi_agrawal··on Clarification on “Call Me Maybe: MariaDB Galera Cluster”
Below are the tweets by Aphyr for the same thing (with language slightly toned down). I never thought I won't find their mention here on HN. :) Nevertheless, precise, to the point:

Buncha people giving me <filth> for calling data written through an invariant violation "corrupted state", like somehow it's not garbage.

If TCP checksums don't work right we don't call the packet "inconsistent." We call it corrupt. If a disk shuffles your file's bits? Corrupt.

I use the word corrupt to emphasize that not only has the system <messed> up, but you have no way to know your data is now <messed> up.

rushi_agrawal··on Young, Vegetarian, Non-Smoking Indians Are Struggling With Heart Disease
Actually, he is talking about hydrogenated vegetable oil, which is worse.
rushi_agrawal··on Ask HN: Little hacks that make your life easier?
I've very recently started adding all of it to a github repo. Very early version, but can be found at https://github.com/rushiagr/myutils/blob/master/aliasrc
rushi_agrawal··on Ask HN: Little hacks that make your life easier?
As someone who use git quite a lot, I have created a TON of aliases for it, so that I have to type very less. Sometimes, I have created bash functions as it needs to handle some logic too.

For example: gl (git log), gb (git branch), gr (git remote -v), gpom (git push origin master), gpuom (git pull origin master), gcam (git commit -a -m), gcaa (git commit --amend -a), gc <github-ID>/<repository> (git checkout -b https://github.com/$1), etc

rushi_agrawal··on PDFium: Chrome’s PDF rendering engine is now open-source
Isn't it annoying to see code.google.com as the medium of sharing code? I've got so used to Github that google code seems like an old 20th century thing..
rushi_agrawal··on Amazon’s Glacier secret: BDXL?
I think you can help yourself a ton by using compression softwares for images, and especially videos. The cameras nowadays are of very very high resolution -- I am pretty sure that even if the image/size is quartered by a good compression method, your eyes won't notice a thing, be it on screen, or in print.
rushi_agrawal··on Amazon’s Glacier secret: BDXL?
It is interesting to note that while S3 prices have more than halved, Glacier prices have remained the same during that period. Does this mean that extremely low margins is at play here?

Or is it that Amazon has no competitor here yet, good enough to push it to lower the prices?

rushi_agrawal··on Ask HN: Have your parents done anything to make you interested in Science or IT?
My dad brought me a book from a library when i was 8 years old:related to astronomy. Also, i found some old geography boojs around that time which made me develop interest in world geography maps!
rushi_agrawal··on Goodnight. Sleep Clean
Let's all just sleep properly, till someone finds a pill which will rejuvenate us in lesser time, and we fool humans overuse/misuse it and crib about technology later :)
rushi_agrawal··on Teeworlds for Mac, Windows, and Linux
whatever be the technology, it really was surprising that it just worked when I double clicked on the binary just after extracting! That is some user experience not quite associated with games on Linux based distros
rushi_agrawal··on Simple git workflow is simple
For me, more the number of splits a commit can be divided into, the better. Even for simple 2-line cleanup, I'd not do it with the current patch I'm doing. This irks my fellow programmers sometimes though, who just want to get the work done.
rushi_agrawal··on Google announces deeper integration between gmail and Google+
The idea seems weird. Google is trying to mix emails and social networking, which never worked as history suggests.

Also, does this mean my mail can appear in the 'social' tab of celebrities?