Readit News logoReadit News
abhishekjha commented on TimeCapsuleLLM: LLM trained only on data from 1800-1875   github.com/haykgrigo3/Tim... · Posted by u/admp
abhishekjha · 2 months ago
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 commented on Google open-sources the Pebble OS   opensource.googleblog.com... · Posted by u/hexxeh
abhishekjha · a year ago
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 commented on Reverse Engineering iOS 18 Inactivity Reboot   naehrdine.blogspot.com/20... · Posted by u/moonsword
abhishekjha · a year ago
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 commented on Show HN: Httpdbg – A tool to trace the HTTP requests sent by your Python code   github.com/cle-b/httpdbg... · Posted by u/cle-b
Too · a year ago
Can recommend Opentelemetry if you need a more comprehensive tool like this.

There is a whole library of so called instrumentation that can monkeypatch standard functions and produce traces of them.

Traces can also propagate across process and rpc, giving you a complete picture, even in a microservice architecture.

abhishekjha · a year ago
Is there an example?
abhishekjha commented on Mpv – A free, open-source, and cross-platform media player   mpv.io/... · Posted by u/Bluestein
sweeter · 2 years ago
it also has a robust Lua scripting interface. I made a tool in Golang and Lua that allows Mpv to treat torrent files and magnet links as if they were http links. You can then stream a torrent directly.

People also don't realize that mpv not only has the ability to stream youtube videos but you can also search youtube on the CLI using mpv `mpv ytdl://ytsearch:query`

it can also play videos directly in the terminal using ascii, sixel or kitty image protocol (which is by far the highest quality)

abhishekjha · 2 years ago
Do you have an example?
abhishekjha commented on GitHub was down   github.com/... · Posted by u/frabjoused
abhishekjha · 2 years ago
abhishekjha commented on Ten years of improvements in PostgreSQL's optimizer   rmarcus.info/blog/2024/04... · Posted by u/samaysharma
BenoitP · 2 years ago
It describes all the way the SQL could be executed, then choses the faster plan. For example: if you're looking for the user row with user_id xx, do you read the full table then filter it (you have to look at all the rows)? Or do you use the dedicated data structure to do so (an index will enable to do it in the logarithm of the number of rows)?

A lot more can be done: choosing the join order, choosing the join strategies, pushing the filter predicates at the source, etc. That's the vast topic of SQL optimization.

abhishekjha · 2 years ago
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 commented on Pg_hint_plan: Force PostgreSQL to execute query plans the way you want   github.com/ossc-db/pg_hin... · Posted by u/justinclift
ioltas · 2 years ago
I’ve been doing maintenance and bug fixes for this module for over 18 months now (last commit on HEAD seems to be mine), managing the last two releases. If you have questions and/or feedback, feel free.
abhishekjha · 2 years ago
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 commented on epoll: The API that powers the modern internet (2022)   darkcoding.net/software/e... · Posted by u/peter_d_sherman
kqr · 2 years ago
> to a first approximation they all do basically the same thing; instead of giving you an array you have to iterate across they inform you about the sockets that are actually active

Well, that's half the story. The other half is that select/poll is stateless, meaning the application–kernel bridge is flooded with data about which events you are interested in, despite the fact that this set usually doesn't change much between calls.

kqueue and the like are stateful instead: you tell the kernel which events you are interested in and then it remembers that.

abhishekjha · 2 years ago
Wait, so which is better? Stateful or stateless? How do you decide?

Very new to these APIs and their usages.

abhishekjha commented on The C4 model for visualising software architecture (2017)   c4model.com/... · Posted by u/thunderbong
ryan-duve · 2 years ago
> Ideally this diagram would be automatically generated using tooling...

The biggest problem I've seen with architecture diagrams is they fall out of sync with the code base. In my opinion, automatic generation of these diagrams is necessary. Otherwise, teams have no way to know whether the picture in front of them accurately represents the latest state of the system.

abhishekjha · 2 years ago
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.

u/abhishekjha

KarmaCake day366January 31, 2018
About
hnchat.com:e6GVLNbK2ukzkSLSuPaR
View Original