HNHacker News
TopNewBestAskShowJobs

dilawar

1,986 karma · joined January 21, 2017

Rust | C++ | Python | PHP | Systems Engineer

https://github.com/dilawar

submissionscomments
dilawar··on Unix sockets, Cygwin, SSH agents, and sadness
Wow!

I once built p0f on windows using msys2. But couldn't get the sockets to work. Without support for linux socket, p0f can not run as server and support queries.

I should definately try this sometimes.

dilawar··on Writing Linux Modules in Ada (2016)
I had a digital design course. The instructor hated verilog and preferred VHDL for reason that didn't make much sense to me those days. There was only one VHDL compiler available that time called ghdl which worked fine for course. There was modelsim as well but one had to go to the lab.

Later I learnt that VHDL is related to ADA. I've been itching to try it for a long while. Might give it a try this week. Currently I am in my Rust phase and loving it (thanks cargo). My Haskell fever is gone though.

dilawar··on Apple supports right-to-repair bill
> Apple told me it would cost 2300$ to fix it

They are probably going to keep the laptop in ICU for a few days post key replacement.

dilawar··on Cosmological time dilation in the early Universe
Though I still feel that life is long, but years have started feeling significantly shorter. I hope that compounding effect of life long investments kicks in soon to compensate.
dilawar··on Ask vs. Guess Culture
Why stop here: your are Earthling, your wife is Earthling.
dilawar··on Complexity theory’s 50-year journey to the limits of knowledge
Finding a set of mututally orthogonal vectors. For a given sparsity, after a large enough dimention, two randomly chosen vector will almost always be orthogonal.
dilawar··on The Princeton Companion to Mathematics [pdf]
Thanks you. Nice to see a condensed history of Mathematics in it.

First non-fiction book that I read cover to cover was a little book in college library called "the history of numbers" (If I remember it correctly). Somehow I really love when a chapter starts with historical overview of the subject. The seemingly "obvious" ideas have taken so many centuries to become "obvious" to everyone. I find it both scary -- how slow the truth propagates -- and humbling as well.

dilawar··on Show HN: LLMs can generate valid JSON 100% of the time
"Its a human nature to mislead others, sometimes knowingly." I read this line in an anthropology book. A similarly non-cynical approach towards your fellow is "trust but verify".
dilawar··on The Dance of Śiva
I was wondering what causing this heat globally, lately!
dilawar··on The Dance of Śiva
I thoroghly enjoyed the anime "Record of Ragnarok" (https://en.wikipedia.org/wiki/Record_of_Ragnarok). Shiva loved dancing (along with his brother Rudra). He is reimagined very well. Buddha is imagined a bit more cooler though :D. In a sister comment, someone has pointed out stark similarity in Shiva Sutra and Jap Iroha (TIL, Thanks!).

PS: I hope some over jealous Sanghi does not start filing police report that it is somehow hurting religious sentiments of Hindus and takes it down.

dilawar··on What Will the World Look Like with Less Babies?
I am not American. I didn't want this comment to be seen through Pro-Blah and Pro-Bluh lense. I am going to delete it.
dilawar··on What Will the World Look Like with Less Babies?
__deleted__
dilawar··on Zoom terms now allow training AI on user content with no opt out
> The Eternal Meeting

Sounds like awesome Futurama or Black Mirror episode.

dilawar··on Remote work requires communicating more, but less frequently
Keep the managers working from home and get all devs to the office?
dilawar··on The Psychology of Cults
I find zero-, positive-, and negative- sum games classification more informative. I guess the negative sum or zero sum cult are oppressive while the positive sum cults are tolerable? Rich are definitely getting richer and it is not so bad as long as poor are also doing a little better?
dilawar··on Speed isn’t everything, and slowness may in fact be more beneficial (2017)
Boy, this modern obsession with IQ is no less intense than old Indian obsession with purity. The fact that IQ can't be measured or even defined any better than purity does not take the force away.

Fortunately, IQ based society looks less evil than prurity based. At least your place in society is not strictly fixed by your birth.

dilawar··on Computer scientists discover limits of gradient descent (2021)
I liked a few results. . For example, smooth analysis by Spielman showed why so many algorithms works very well in practice even though their worst case complexity is terrible e.g. simplex method. Second, concave-convex optimization shows that you will definitely reach closer to global optimum at each iteration. I guess its comforting to know a reason algo behave the way they do.

Sampling theorem is also case in point. Also compressed sensing. Information theory will tell you there is no point trying any harder at compression when you reached epsilon closer to the theoretical limit.

dilawar··on An ultra-sensitive on-off switch helps axolotls regrow limbs
I feel helpless and very gloomy when I think about biodiversity loss and climate change. I even fast forward David Attenborough documentries when he talks about these things. Sometimes "its all going to hell but we are going in together" thought is more comforting than thinking about my own and everyone else apathy.

Thanks for making "code written by nature" comment. Knuth also agrees that bioinformatics has many more fantastic problems than computer science because its much much older.

I was in awe of planeria when I first saw it regenerating from its parts first time.

dilawar··on Namibian fairy circle debate rages on: Sand termites or Turing mechanism?
Antiquity can't be substitute of truth. Granted many of these claims may have strong correlations but I also hear a lot of nonsense that is as old as the civilization itself. Witchcraft is only one of them.
dilawar··on ‘A very disturbing picture’: another retraction for controversial physicist
Experimental science is much more prone to fraud. An experimental scientist can misled the whole community knowingly for decades before anyone bothers to replicate their studies. The self correcting loop of science can be very slow.

A theoretical scientist will be caught much sooner and it will cause an irreparable damage to his/her reputation. Who will ever take them seriously after that?

dilawar··on The Unreasonable Effectiveness of Sequence Diagrams in MermaidJS
Checkout kroki as well which is collection of various tools including plantuml, tikz, mermaidjs, graphvi etc.

As a bonus, niolesk is a very good frontend on top of kroki. You get an editable link of your diagram which you can share with teammates.

You can find docker image on github running kroki and niolesk.

dilawar··on Were small-brained early humans intelligent? Row erupts over scientists’ claim
Kudos to eLife for pioneering publishing peer review along with paper.
dilawar··on India’s ban on rice exports raises fear of global food price rises
Lol. Yesterday, I was making fun of my friend. He likes drinking and like to talk about various kind of drinks. I don't drink and wanted to change the topic: "alcohol is just alcohol!". He rolled his eyes.
dilawar··on India’s ban on rice exports raises fear of global food price rises
Yes and mostly no. Its definitely a costlier rice but not unaffordable. My dad grow rice and he doesnt prefer the taste of basmati. Basmati is softer and longer but not as sweet as his favorite "sharbati" or IR24. It tastes bland with vegetables and curries. It has aroma but no flavor. Most farmers dont prefer basmati for daily usage even when they grow it. Also,per acre, basmati has not significant advantage over other varieties which can grow upto 2x basmati.

I live in city and now I prefer basmati because its less sweeter and softer. Weight gain has been a concern for me (not to my dad, he likes doing labor). Basmati also doesnt fit well with many traditional dishes, except for biryani I guess.

Cashew has become unaffordable locally because of high export demand. I find is mildly irritating. On the other hand, I earn quite well because of service export.

dilawar··on The open source learning curve for AI researchers
Probably true for any other researcher. Building tools (even hardware) is worthy or a researcher resume. During my Ph.D. I worked on adding python bindings to a few simulators. One paper is still pending over a decade and other one was published but never cited even though people use python bindings, they cote the original.

I am no longer in academia but have promised myself not to engage with an academic open source software. There is simply no incentive for development. Well, when you think about it, most academic work is publish and forget: maintenance is not a strict requirement.

dilawar··on Stanford president resigns over manipulated research, will retract 3 papers
Sometimes I wonder, even after getting caught, academics has the least to loose? The guy with still be a professor, right?

Can a doctor, and lawyer remain in his profession after such a malpractice?

PS: Politicians dont count. Corrupt as they maybe, they still have to face the music every 4-5 years.

dilawar··on Swig – Connect C/C++ programs with high-level programming languages
I'd recommend pybind11 for c/c++ <--> python bridge. Though you have to compile your wheel for every minor python version separately.
dilawar··on Surfactants safely take down mosquitoes without using insecticides
Mosquitos are pretty common in India and kills enough people, though roughly 8 times less than road accidents. Malaria is no longer very deadly but Dengue treatment indeed is pretty costly. Sometimes I feel that dengue cases are higher in cities than in villages.

Mosquitos are most active at dawn and dusk when people are usually out farming or just hanging out. Mosquito nets and mosquito repellent works well indoor.

Either you wipe out mosquitos species that cause malaria and dengue, or create vaccines and better drugs. Anything less than that is not going to be much effective. Personally I am against wiping out any species. The planet doesnt belong to us only.

dilawar··on Quantinuum H-Series quantum computer
I actually dont understand most of quantum stuff. When they say 16 qbits, are these simulated qbits or real?

Aren't real qbits impossible to make currently because of noise problem? When I was doing my masters, people were talking about replacing heavily doped channel of silicon transister with carbon nanotube. Turns out the hardest problem was making a decent connection between nanotube and metal. I dont think the problem has been solved yet.

I am guessing that well see a functional carbon nanotubes in silicon transistor at least a decade before we see real qbits? After all fabrication processes must be similar at this scale.

dilawar··on OpenWorm – A computational model of C. elegans worm
I did my Ph.D. in computational neuroscience (2020 grad).

This project is often used to joke about the limitation of computational modelling of nervous system. If you can't compute the behavious of an effing worm with mere ~300 neurons, whats the point of all hot-air around connectomics (mapping connections of the brain). Connectomics used to be a big word when I started my Ph.D.. The apologists are always like, "real neuron is way too complicated!".

IMHO, chemical computations are often over-looked in neural "computation" communities which are extremely hard to model. Forgetting modelling, we don't know reaction parameters of most proteins and other molecules involved. Electrical side of computation is easy to measure and one can understand why we started with it. There are a thousands types of proteins even in a small structure such as synapse, and individual protein can implement interesting non-linear computation. E.g. CaMKII can implement and bistable switch (flip-flop) and thus store 1-bit of memory using just a few molecules (the real story is a much more complicated).

https://youtu.be/vJBUaS0r9IU

← PreviousPage 7 of 13Next →