HNHacker News
TopNewBestAskShowJobs

abhishekjha

366 karma · joined January 31, 2018

hnchat.com:e6GVLNbK2ukzkSLSuPaR
submissionscomments
abhishekjha··on TimeCapsuleLLM: LLM trained only on data from 1800-1875
Oh I have really been thinking long about this. The intelligence that we have in these models represent a time.

Now if I train a foundation models with docs from library of Alexandria and only those texts of that period, I would have a chance to get a rudimentary insight on what the world was like at that time.

And maybe time shift further more.

abhishekjha··on Google open-sources the Pebble OS
Aren't floating point comparisons frowned upon? https://github.com/google/pebble/blob/main/src/libc/math/flo...

I guess you can freeze some compiler options to give you consistent results.

abhishekjha··on Reverse Engineering iOS 18 Inactivity Reboot
How do these things work with devices inside a NAT gateway? Most of our devices are inside a LAN. Even if a server gets started, it won't be visible to the outside world, unless we play with the modem settings.

Now, a hacker/state who has penetrated a device can do an upload of data from the local decice to a CNC server.

But that seems risky as you need to do it again and again. Or do they just get into your device once and upload everything to CNC?

abhishekjha··on Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code
Is there an example?
abhishekjha··on Mpv – A free, open-source, and cross-platform media player
Do you have an example?
abhishekjha··on GitHub was down
Yes : https://github.com/psf/black/ is 502
abhishekjha··on Ten years of improvements in PostgreSQL's optimizer
Is there a more general reading for software engineers?

Seems like jumping right into the code can be a bit overwhelming if you have no background on the topic.

abhishekjha··on Pg_hint_plan: Force PostgreSQL to execute query plans the way you want
I am digging into postgres source code past few weeks. This project seems like a good way to see how plugins integrate. I may reach out later if I have questions
abhishekjha··on epoll: The API that powers the modern internet (2022)
Wait, so which is better? Stateful or stateless? How do you decide?

Very new to these APIs and their usages.

abhishekjha··on The C4 model for visualising software architecture (2017)
Why is it that compilers don't do this? They have a parse tree for how the sysmbols connect.

Would it not be appropriate to extend the compiler for visualising relationships between software components with zoom-in and zoom-out facilities. Zoom-in takes you to Assembly and zoom-out to the CTO.

abhishekjha··on "Attention is all you need" paper digested (2018)
Not sure if sarcasm or not.
abhishekjha··on HTTP/3 adoption is growing rapidly
How mcuh config did it requir on your home local network and office network to do the ping on 192.168.x.x?
abhishekjha··on How FoundationDB works and why it works (2021)
Well, for that the comparative features needs to be clearly laid out.

It solves a problem that others have not solved. Which problem is that? And how better does it work than whatever there was?

abhishekjha··on How FoundationDB works and why it works (2021)
From the article :

>non-sharded, strict serializable, fault tolerant, key-value store that supports point writes, reads and range reads.

k-v store, non-sharded, fault tolerant, reads and range reads. Redis has these.

>strict serializable

Redis's single threaded model does this (maybe, not entirely sure).

Please help me understand why is this comparison orthongonal or does it really replace redis in ways that I don't understand.

abhishekjha··on How FoundationDB works and why it works (2021)
This is the second article after the "caddy" one that I am having troble finding a usecase.

Nginx eixsts, why do I need to learn caddy?

Redis exists, why do I need to learn FundationDB?

abhishekjha··on How FoundationDB works and why it works (2021)
You can configure redis to flush to disk on write operations though you lose on performance.
abhishekjha··on static-server: an HTTP server in Go for static content
Thank you for the response. It looks interesting.

>I needed a quick and easy web server

I am trying to reason with what I know, but wouldn't something like "python -m http.server 9000" suffice? Or nginx? These are battle tested and python is there on most platforms.

Or is there more depth to this specific web server that others don't have?

abhishekjha··on static-server: an HTTP server in Go for static content
Is there more to the philosophy of why caddy exists? I am trying to jump into a few open source projects to hone my programming skills and I have a harder time comprehending things if I don't know what was the overall intention of the authors.
abhishekjha··on How does Linux start a process
No reference to fork anywhere?
abhishekjha··on Nginx Unit – Universal web app server
So can I run python flask/django apps inside this? Does it repalce Gunicorn?
abhishekjha··on NSO group iPhone zero-click, zero-day exploit captured in the wild
Is there a POC for the same for a novice in the hacking field?

Would love to see it run myself.

abhishekjha··on Fastest branchless binary search
I don't know much about Rust data types or Rust in general but does it not have any integer overflow?

I see (left+right)/2. Is it like python with unbounded precision?

abhishekjha··on AWS to begin charging for public IPv4 addresses
What do you suggest? Something like a VPS service, DO?
abhishekjha··on My Meeting with David Bohm
> any attempt to examine your thought changes it--just as the measurement of an electron alters its course.

Wait a minute. Isn’t this factually wrong? I mean the uncertainty in measurement is not brought by the experiment perturbing the system but something inherent to the system. We know how much we are perturbing the system. We can always subtract that from the calculation and the system still ends up having uncertainty.

Not a physicist, can somebody correct me if there’s something wrong?

abhishekjha··on Solving “Two Sum” in C with a tiny hash table
All you need is a mumrmur hash function to create a hash table. That is something that people should copy.
abhishekjha··on CLI tools hidden in the Python standard library
Like whats the general usage though?

python -m http.server is the most I have done.

abhishekjha··on Thoughts on Svelte(Kit), one year and 3B requests later
How is this[1] diagram built? I have seen this font in quite a few places.

[1]https://claudioholanda.ch/assets/blog/en/0003/1.svg

abhishekjha··on Go: Execution Tracer Overhaul
channels specifically. These are queues where one side is the producer and other the consumer and they don't share a single call stack.

How do I know where the call chain goes after I have produced on a channel? There can be many subscribers on the same channel.

I guess I amasking to debug a multithreaded program to get some kind of unifrom stack trace.

abhishekjha··on Go: Execution Tracer Overhaul
New to golang, I have recently started looking at some of the open source projects in golang. Looking a at some of the code you get to see that there are producers and there are consumers.

The problem is you won't see them connected in a single stack trace which makes looking at the flow of data in the system difficult. I mean there are profiling tools but they don't go that far.

Another way is to put print on log statements all over function on their entry and exit and try to find a coherent flow.

How do people wrriting golang everyday deal with this problem?

abhishekjha··on When Talent Is Not Enough
>how to turn it into a product is extremely unclear to them.

What according you takes something to turn an algorithm into a product? Google did try a lot of things, a lot of products but it didn't catch on so they had to shut them down.

Page 1 of 12Next →