Hacker News
PF seeks 5 for alleged plan to kill Lula and Alckmin at the end of 2022
Article URL: https://lnginnorthernbc.ca/2024/11/19/pf-seeks-5-for-alleged-plan-to-kill-lula-and-alckmin-at-the-end-of-2022/
Comments URL: https://news.ycombinator.com/item?id=42182417
Points: 1
# Comments: 0
Show HN: Logprobsvz – log probabilities visualization of OpenAI GPT
Hi HN,
Today I wrote a simple tool to visualize the log probabilities of OpenAI GPT completions.
It's designed for debugging and understanding GPT's behavior by showing the probability of each candidates, with which you can know when GPT is hesitating and when it is confident of what it's talking about.
Basically it's a remake of the OpenAI Playground but with all the models and all the API parameters available.
I would recommend forking the repo and check the code before inputing your credentials if you do not trust the version hosted by others.
Thanks for checking it out!
Comments URL: https://news.ycombinator.com/item?id=42182409
Points: 1
# Comments: 1
Half-Life 2 SIGGRAPH 2000 demo [video]
Article URL: https://www.youtube.com/watch?v=wU4yPEFXzo0
Comments URL: https://news.ycombinator.com/item?id=42182407
Points: 1
# Comments: 0
Don't Fall into the Calculus Trap
Article URL: https://artofproblemsolving.com/blog/articles/avoid-the-calculus-trap
Comments URL: https://news.ycombinator.com/item?id=42182398
Points: 2
# Comments: 0
Chinese Cuisines: The Complete Guide
Article URL: https://chinesecookingdemystified.substack.com/p/63-chinese-cuisines-the-complete
Comments URL: https://news.ycombinator.com/item?id=42182384
Points: 1
# Comments: 0
Ask HN: What are some of the best take-home coding tasks you've gotten?
As an applicant, I've personally had a mixed experience with take-homes. We're designing the technical interviews right now, and I thought I'd ask for some stories on exciting take-home tasks. We're looking for something that resembles the actual job, so we'll allow any tool (including AI and debuggers).
Also curious to hear about any bad ones you've done.
Comments URL: https://news.ycombinator.com/item?id=42182365
Points: 2
# Comments: 0
The Dark Truth About Bots [video]
Article URL: https://www.youtube.com/watch?v=GZ5XN_mJE8Y
Comments URL: https://news.ycombinator.com/item?id=42182201
Points: 1
# Comments: 0
Weekends were a mistake, says Infosys co-founder Narayama Murthy
Article URL: https://www.theregister.com/2024/11/18/infosys_workaholic_founder/
Comments URL: https://news.ycombinator.com/item?id=42182184
Points: 2
# Comments: 0
Should you use Prisma ORM?
Article URL: https://www.prisma.io/docs/orm/overview/introduction/should-you-use-prisma
Comments URL: https://news.ycombinator.com/item?id=42182162
Points: 3
# Comments: 0
Marketing < Market Making
Article URL: https://paragraph.xyz/@rm/from-identity-to-identifying
Comments URL: https://news.ycombinator.com/item?id=42182156
Points: 1
# Comments: 0
Bluesky Overwhelmed with Censorship Demands
Article URL: https://twitter.com/eyeslasho/status/1857853402308337719
Comments URL: https://news.ycombinator.com/item?id=42182149
Points: 1
# Comments: 1
Show HN: Embed an SQLite database in your PostgreSQL table
pglite-fusion is a PostgreSQL extension that allows you to embed SQLite databases into your PostgreSQL tables by enabling the creation of columns with the `SQLITE` type. This means every row in the table can have an embedded SQLite database.
In addition to the PostgreSQL `SQLITE` type, pglite-fusion provides the `query_sqlite`` function for querying SQLite databases and the `execute_sqlite` function for updating them. Additional functions are listed in the project’s README.
The pglite-fusion extension is written in Rust using the pgrx framework [1].
----
Implementation Details
The PostgreSQL `SQLITE` type is stored as a CBOR-encoded `Vec`. When a query is made, this `Vec` is written to a random file in the `/tmp` directory. SQLite then loads the file, performs the query, and returns the result as a table containing a single row with an array of JSON-encoded values.
The `execute_sqlite` function follows a similar process. However, instead of returning query results, it returns the contents of the SQLite file (stored in `/tmp`) as a new `SQLITE` instance.
[1] https://github.com/pgcentralfoundation/pgrx
Comments URL: https://news.ycombinator.com/item?id=42182146
Points: 1
# Comments: 0
The Future of Software Distribution
Article URL: https://futo.org/blog/the_future_of_software_distribution/
Comments URL: https://news.ycombinator.com/item?id=42182138
Points: 1
# Comments: 0
Bursera Graveolens
Article URL: https://en.wikipedia.org/wiki/Bursera_graveolens
Comments URL: https://news.ycombinator.com/item?id=42182134
Points: 1
# Comments: 0
Indian Capital, Delhi's air pollution reaches 'severe plus' levels
Article URL: https://www.bbc.com/news/articles/c1wj43vqdlpo
Comments URL: https://news.ycombinator.com/item?id=42182127
Points: 1
# Comments: 0
Reverse-shell-generator is now on offsec.tools check it out
Article URL: https://offsec.tools/tool/reverse-shell-generator
Comments URL: https://news.ycombinator.com/item?id=42182116
Points: 1
# Comments: 0
A C++ Mixin System
Article URL: https://jennyjams.net/blog/cpp-mixin/
Comments URL: https://news.ycombinator.com/item?id=42182113
Points: 1
# Comments: 0
Socratic Questioning – "Meetings are a waste of time"
Article URL: https://read.perspectiveship.com/p/socratic-questioning
Comments URL: https://news.ycombinator.com/item?id=42182096
Points: 1
# Comments: 0
An Internet of Desperate Protagonists
Article URL: https://nadim.computer/posts/2024-11-18-misguided.html
Comments URL: https://news.ycombinator.com/item?id=42182064
Points: 1
# Comments: 0
Is Python That Slow?
Article URL: https://blog.miguelgrinberg.com/post/is-python-really-that-slow
Comments URL: https://news.ycombinator.com/item?id=42182047
Points: 1
# Comments: 0