Feed aggregator

Ask HN: What are some of the best take-home coding tasks you've gotten?

Hacker News - Tue, 11/19/2024 - 6:40am

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

Categories: Hacker News

Refi Rates Increase for Homeowners: Mortgage Refinance Rates on Nov. 19, 2024

CNET Feed - Tue, 11/19/2024 - 6:21am
Several benchmark refinance rates were higher this week, so it might be worth waiting.
Categories: CNET

Review: Asus ROG Phone 9 Pro Lets You Play Games From Front to Back

CNET Feed - Tue, 11/19/2024 - 6:20am
The new ROG phone adds some personality alongside its brawny spec sheet.
Categories: CNET

Best Internet Providers in Murfreesboro, Tennessee

CNET Feed - Tue, 11/19/2024 - 6:19am
Price vs. coverage, reliability vs. customer satisfaction—CNET connectivity experts have dug into the stats to determine which ISPs are the best across several categories in Murfreesboro.
Categories: CNET

The Dark Truth About Bots [video]

Hacker News - Tue, 11/19/2024 - 6:13am
Categories: Hacker News

Here's the Best Time to Buy Cheap Plane Tickets, According to Google Flights Data

CNET Feed - Tue, 11/19/2024 - 6:05am
Planning to travel for the holidays? Or maybe you're already planning ahead for summer travel? Here are some tips for scoring the cheapest airfare.
Categories: CNET

Show HN: Embed an SQLite database in your PostgreSQL table

Hacker News - Tue, 11/19/2024 - 6:02am

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

Categories: Hacker News

Bursera Graveolens

Hacker News - Tue, 11/19/2024 - 6:00am
Categories: Hacker News

Conflicted About Kids' Screen Time? 4 Exceptions Our Household Makes

CNET Feed - Tue, 11/19/2024 - 6:00am
Commentary: I'm a tech reporter who's watched parents play the screen time shame game for years. Here's where our family landed.
Categories: CNET

Oura Rings Will Soon Work With Dexcom to Connect the Dots Between Activity, Food and Blood Sugar

CNET Feed - Tue, 11/19/2024 - 6:00am
It's another sign that wearables are getting serious about tracking more than just steps and exercise.
Categories: CNET

Pages