The best Hacker News stories from All from the past day

Go back

Latest posts:

Phone conversations with law enforcement can be recorded without their consent

Tesla Cybertruck deliveries halted for 7 days

PuTTY vulnerability vuln-p521-bias

PuTTY vulnerability vuln-p521-bias

Embezzlers Are Nice People (2017)

Embezzlers Are Nice People (2017)

T-Mobile employees across the country receive cash offers to illegally swap SIMs

Visualizing Attention, a Transformer's Heart [video]

Kate editor on all platforms

The Arc Product-Market Fit Framework

Hospitals that make profits should pay taxes

Show HN: PostgreSQL index advisor

This is a Postgres extension that can determine if a query should have an index. For example, for this table:<p><pre><code> create table book( id int primary key, title text not null ); </code></pre> You can run `index_advisor()` to see if there should be an index on a select statement:<p><pre><code> select * from index_advisor('select book.id from book where title = $1'); </code></pre> And it will return (summarized):<p><pre><code> {"CREATE INDEX ON public.book USING btree (title)"} </code></pre> It works particularly well with pg_stat_statements[0] which tracks execution statistics of all SQL statements executed on your Postgres database.<p>It leans heavily on HypoPG[1], an excellent extension to determine if PostgreSQL will use a given index without spending resources to create them.<p>[0] pg_stat_statements: <a href="https://www.postgresql.org/docs/current/pgstatstatements.html" rel="nofollow">https://www.postgresql.org/docs/current/pgstatstatements.htm...</a><p>[1] <a href="https://github.com/HypoPG/hypopg">https://github.com/HypoPG/hypopg</a>

Show HN: I made a tool to clean and convert any webpage to Markdown

My partner usually writes substack posts which I then mirror to our website’s blog section.<p>To automate this, I made a simple tool to scrape the post and clean it so that I can drop it to our blog easily. This might be useful to others as well.<p>Oh and ofcourse you can instruct GPT to make any final edits :D

Redis re-implemented with SQLite

Redis re-implemented with SQLite

Obituary for a quiet life (2023)

Obituary for a quiet life (2023)

Ford Mustang Mach-E using BlueCruise at time of crash: NTSB

Ford Mustang Mach-E using BlueCruise at time of crash: NTSB

Lessons after a Half-billion GPT Tokens

< 1 2 3 ... 111 112 113 114 115 ... 714 715 716 >