HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ketanmaheshwari

no profile record

Submissions

Seven days of fasting transforms the human body

sciencedaily.com
4 points·by ketanmaheshwari·vor 2 Monaten·0 comments

The Cult of Costco (2025)

theatlantic.com
4 points·by ketanmaheshwari·vor 6 Monaten·0 comments

The Electric Typewriter

tetw.org
1 points·by ketanmaheshwari·vor 7 Monaten·0 comments

comments

ketanmaheshwari
·vor 7 Monaten·discuss
I am personally interested in the code amalgamation technique that SQLite uses[0]. It seems like a free 5-10% performance improvement as is claimed by SQLite folks. Be nice if he addresses it some in one of the sessions.

[0] https://sqlite.org/amalgamation.html
ketanmaheshwari
·vor 8 Monaten·discuss
Eating cardamom as I read this. My go to spice to keep mouth busy and flavorful and stay away from junk food.
ketanmaheshwari
·vor 8 Monaten·discuss
Happy Thanksgiving everyone. What are your plans for the long weekend if you don't mind sharing.
ketanmaheshwari
·vor 8 Monaten·discuss
Not the op but here is an example: TOKEN=$(kubectl describe secret -n kube-system $(kubectl get secrets -n kube-system | grep default | cut -f1 -d ' ') | grep -E '^token' | cut -f2 -d':' | tr -d '\t' | tr -d " ")

This pipeline may be significantly reduced by replacing cut's with awk, accommodating grep within awk and using awk's gsub in place of tr.
ketanmaheshwari
·vor 8 Monaten·discuss
I used the regular version. Actually, I don't even know what is multiple-precision values -- will look it up.
ketanmaheshwari
·vor 8 Monaten·discuss
I solved a few using AWK, fun: https://github.com/ketancmaheshwari/projecteuler
ketanmaheshwari
·vor 8 Monaten·discuss
I am interested in quantitative / probabilistic analysis on your thesis. Where should I go look?
ketanmaheshwari
·vor 12 Monaten·discuss
Does anyone know how to reliably use Firefox from command line to take screenshots? It used to work well a few years ago but now it does not. For one, it asks that Firefox is already running and I need to kill it. This is surprising -- why can't two Firefox processes run at the same time?
ketanmaheshwari
·vor 2 Jahren·discuss
They could be three types on that dimension: 1. Freshly made and delivered locally on hourly scale; 2. Take and bake or fry perhaps same day; and 3. Frozen for longer term.

I find that desis and non-desis alike are samosa fans.
ketanmaheshwari
·vor 2 Jahren·discuss
I wanted to sell samosa on the internet. Would YC be a good place to seek funding for such a business?

Samosa because they are versatile across many dimensions: ingredients, taste, shelf-life, and can be easily made in a combinatorics space of these dimensions. They are kind of like how Bubba describes shrimp to Gump.

I once wondered if YC is a good platform for such a business?
ketanmaheshwari
·vor 3 Jahren·discuss
The entirety of GNU Parallel is just one Perl program. It could be copied over and used in a pinch. The installation itself is very simple and no special dependencies or privileges are needed.
ketanmaheshwari
·vor 3 Jahren·discuss
GNU Parallel has been one of my go to tool to accomplish more on the terminal. Generate test data, transferring data from one node to another using rsync, run many-task, embarrassingly parallel jobs on HPC, pipelines with simple data dependencies but run over hundreds or files are some of the places where I use GNU Parallel.

Many thanks to Ole Tange for developing the wonderful tool and helping the users on Stack Overflow sites to this day.

Shameless plug, I am developing a tutorial on GNU Parallel to be presented at eScience conference in Cyprus this year: https://www.escience-conference.org/2023/tutorials/gnu_paral...
ketanmaheshwari
·vor 4 Jahren·discuss
Awk is awesome but saying it literally takes 1 hour to properly learn it is a bit overselling.