Hacker News

Subscribe to Hacker News feed
Hacker News RSS
Updated: 33 min 53 sec ago

Offline LLM AI Android Tablet for Kids Pre-Order

Sat, 04/13/2024 - 11:04pm

Article URL: http://aikidstablet.com/

Comments URL: https://news.ycombinator.com/item?id=40028313

Points: 1

# Comments: 0

Categories: Hacker News

Making Ijq Fast

Sat, 04/13/2024 - 10:53pm
Categories: Hacker News

Ask HN: Simple API to extract web article text?

Sat, 04/13/2024 - 10:28pm

I'm working on a consumer facing project that involves analyzing text from web articles.

Does anyone know of an API that can handle the text extraction part automatically?

Ideally the API can take in a URL and just return the main text content of a website, even for sites with slightly complex layouts.

For example: https://www.nytimes.com/2024/03/28/technology/personaltech/smart-glasses-ray-ban-meta.html

We're most interested in an API that has a decent free tier + usage-based pricing (at least for overages).

So far, most of our searches have turned up website scrapers that return HTML that needs to be further parsed (ScrapingBot, ScrapingBee, Scrapingdog, etc.), or services that are prohibitively priced (Diffbot).

Next, we're looking into Apify, but maybe we've missed something?

Any recommendations would be greatly appreciated!

Comments URL: https://news.ycombinator.com/item?id=40028183

Points: 1

# Comments: 1

Categories: Hacker News

Show HN: Comprehensive inter-process communication (IPC) toolkit in modern C++

Sat, 04/13/2024 - 10:15pm

If you work in C++, and you would like 2+ programs to share data structures (and/or native I/O handles a.k.a. FDs) among each other, there is a good chance Flow-IPC

- will make it considerably less annoying to code than typical approaches; and

- may massively reduce the latency involved.

Those sharing Cap'n Proto-encoded data may have particular interest. Cap'n Proto (https://capnproto.org) is fantastic at its core task - in-place serialization with zero-copy - and we wanted to make the IPC (inter-process communication) involving capnp-serialized messages be zero-copy, end-to-end.

That said, we paid equal attention to other varieties of payload; it's not limited to capnp-encoded messages. For example there is painless (<-- I hope!) zero-copy transmission of arbitrary combinations of STL-compliant native C++ data structures.

To help determine whether Flow-IPC is relevant to you we wrote an intro blog post. It works through an example, summarizes the available features, and has some performance results. https://www.linode.com/blog/open-source/flow-ipc-introductio...

Of course there's nothing wrong with going straight to the GitHub link and getting into the README and docs.

Currently Flow-IPC is for Linux. (macOS/ARM64 and Windows support could follow soon, depending on demand/contributions.)

Comments URL: https://news.ycombinator.com/item?id=40028118

Points: 8

# Comments: 22

Categories: Hacker News

Show HN: PostgreSQL Index Advisor

Sat, 04/13/2024 - 10:14pm
Categories: Hacker News

Pages