News for hackers. Stuff that matters.

paragraft

Re:DuckDB Ducklake on Friday October 09, 2026 @01:00AM (#50016170)
That's a tabbed interface on the site that just defaults to postgres. SQLite and duckdb are supported too.
Yes here's the patent. The independent claims are frustratingly broad if you're trying to think through practical NPC world sim systems.

https://patents.google.com/patent/US20160279522A1/en

Re:Logging Sucks on Sunday December 21, 2025 @04:32PM (#46348721)
I've recently come off a team that was racking up a huge Splunk bill with ~70 log events for each request on a high traffic service, and this is all very resonant (except the bit about sampling, I never gave that much thought - reducing our Splunk bill 70x was ambitious enough for me!).

Hadn't heard the "wide event" name, but I had settled on the same idea myself in that time (called them "top-level events" - i.e. we would gather information from the duration of the request and only log it at the "top" of the stack at the end), and evangelised them internally mostly on the basis it gave you fantastic correlation ability.

In theory if you've got a trace id in Splunk you can do correlated queries anyway, but we were working in Spring and forever having issues with losing our MDC after doing cross-thread dispatch and forgetting to copy the MDC thread global across. This wasn't obvious from the top-level, and usually only during an incident would you realise you weren't seeing all the loglines you expected for a given trace. So absent a better solution there, tracking debug info more explicitly was appealing.

Also used these top-level events to store sub-durations (e.g. for calling downstream services, invoking a model etc), and with Splunk if you record not just the length of a sub-process but its absolute start, you can reconstruct a hacky waterfall chart of where time was spent in your query.

Re:C++ proposal: There are 8 bits in a byte on Thursday October 17, 2024 @09:55PM (#41875696)
What's the right way?
Re:Does anyone use sound effects in their dev environment? on Monday September 16, 2024 @10:02PM (#41563277)
I've used it in anger on a project with an unreasonable start time in its test suite. Put an alert sound on VS when breakpoints were reached let me start a test with debugger attached, and then go do something else for the time it would take to start, but not forget what I had been originally doing.
Re:Map of Pontypandy in Fireman Sam on Friday July 05, 2024 @05:13PM (#40886072)
I still haven't settled the nature of free will and determinism, aka who's actually controlling the trains, them or their drivers?
Re:Films that made people emigrate on Monday December 04, 2023 @10:31PM (#38526779)
I know the article was about movies that persuaded viewers to _go_ to a certain country, but I am reminded of a former colleague who explained to me that it was actually a TV show ("The Mechanism", a drama about political corruption in Brazil) that finally convinced him he needed to take his young family and _leave_ Brazil for a better future.

Of course I had to give it a watch after a review like that. Good show.

Re:Low current around roots boosts plant growth on Monday November 13, 2023 @09:17PM (#38258128)
This was the best I could find https://www.invasive.org/gist/products/handbook/20.triclopyr... (see Mode of Action)
> The Prime Minister of Canada just did a state visit to India, where he was not warmly received, and made to look foolish on the world stage.

Have you considered the possibility that the reason he got a cold reception was he brought the accusation he just made publicly? Would put the issue with the plane in a whole new light too...

Re:Microsoft Works on Wednesday September 06, 2023 @12:39AM (#37401401)
The graphics weren't elaborate, I just remember things like the illustration of a storefront before you worked on an inventory spreadsheet, or the ascii picture of a telephone and modem before the "Communications" tool (i.e. telnet) section.
Re:Microsoft Works on Monday September 04, 2023 @07:34PM (#37386211)
I have fond memories of the early DOS version (1.something). Its tutorial was a masterclass (included full screen ascii graphics illustrating the scenarios) and as a kid playing on my father's laptop I went through it several times. I particularly enjoyed the database tutorial where you worked on WHODUNIT.WDB to solve the mystery of a murder at a ski slope by narrowing down the customers against clues...
Re:Ask HN: Any interesting books you have read lately? on Friday August 18, 2023 @06:36AM (#37173776)
Thanks, was unaware of the movie!
Re:Ask HN: Any interesting books you have read lately? on Thursday August 17, 2023 @11:35PM (#37171154)
I've been on the look-out for that too. Have lined up Mike Royko's "Boss" on Daley in the interim, though the bookshop owner wasn't as fond of Royko's writing style...
Re:Ask HN: Any interesting books you have read lately? on Thursday August 17, 2023 @12:42AM (#37157325)
Somewhat (by a few decades) behind the times here, but I finally found a set of Robert Caro's Years of Lyndon Johnson books at a 2nd-hand shop earlier this year. What a ride. I know it's a famous series, but I'm outside the US and so only recently became aware of its existence, and also therefore went in mostly blind as to the subject (I knew very little of LBJ prior). Am partway through the 2nd book now, with the conclusion of the 1948 Texan Senate Democratic primary, and my mouth just sort of hung open for pages at a time during that.

Caro's a talented writer, but what really shows through is just the sheer years of hard work he clearly put into the books. I don't know how one can focus for so many years on just one writing project.

Re:The anesthetic effect of air at atmospheric pressure on Monday August 14, 2023 @11:38PM (#37129889)
Before my brain caught up I was just about to ask you what brewery is it that can do a 99% Indian Pale Ale...
Similar here. It's like I suddenly have access to an instant MidJourney that I can prompt with any suggestion. Sometimes a late night whisky before bed seems to help the process. Find myself wondering "is this what visually creative people get to do all the time?".
Re:Introducing TypeChat from Microsoft on Thursday July 20, 2023 @10:53PM (#36809482)
Tell me about it - I implemented this just yesterday except with a focus on functions rather than objects.
I feel like the better pricing strategy would be something similar to what the geospatial API platforms like Google Maps do, with their explicit no-caching or time-limited-caching clauses. E.g. you're actually prohibited from retaining results from say a geocode beyond 30 days IIRC.

Amazon made this explicit with their Geospatial API pricing ( https://aws.amazon.com/location/pricing/ - "Places" tab) - where the pricing for being able to store a result is 8x higher.

Wasn't this the basis of the failed Olestra products? https://www.mentalfloss.com/article/619261/olestra-fat-free-...
Re:ChatGPT Gets Its “Wolfram Superpowers” on Thursday March 23, 2023 @06:27PM (#35282270)
I think the big thing that happened around that time that marked the sunset of the Golden Age of Google was Google Books (launched 2003) and critically the response. It was the last large, ambitious project of theirs that really aligned with the old "organise the world's information and make it useful" mission, and from Google's perspective was clearly a no-brainer Good Thing for the world.

And instead of the same enthusiastic reaction at large they had become used to, they got _hammered_ for it by publishers and dragged into court. I do wonder if that turned into a fundamental cultural inflection point for them.

Surely you'd just be employed by the internal HR company and on the books each product company would be contracting your services according to timesheets.
Re:OpenAI quietly launched Whisper V2 in a GitHub commit on Tuesday December 06, 2022 @11:18PM (#33890577)
On the original blog post announcing Whisper there was a demo ("Accent" under the drop-down) of it transcribing a Scottish accent. https://openai.com/blog/whisper/
I ctrl-f'ed for this one. First exposure was SOHCAHTOA and memorization without building intuition. I struggled and had no real understanding. Two years later a physics teacher draws a unit circle with sine and cosine marked out as an incidental explanation for something else, and 2 years of frustration suddenly clicked. Gave me huge appreciation for the power of a good explanation.
Re:I Visited Bucha Today on Thursday September 29, 2022 @07:07PM (#33028565)
Think they meant "AWS or GCP and only backup to S3 or GCS respectively"
Re:Case against OOP is understated, not overstated (2020) on Thursday February 10, 2022 @06:49PM (#30294591)
React, presumably, with its approach that a UI is well described by nested functions operating on state. It's a good point. I remember long discussions on mailing lists for various FP languages conceding that UI toolkits were the one area where OOP seemed the natural fit. Haven't seen many of those discussions since React emerged.
Re:John Carmack visits Starbase on Monday August 23, 2021 @07:27PM (#28283366)
I think what's more likely is we'd discover how many common, useful tasks you could perform with a humanoid robot that don't require AGI, with a more Alexa-like approach of iteratively adding support for explicit discrete tasks over time. We've already moved back the goalposts for AGI in so many other areas as we realise how many tasks can be decomposed to something quite mechanical in the right vector space etc.
Re:Initial Stress-Derived Noun on Saturday May 22, 2021 @11:02PM (#27252081)
As a NZer I got thrown when going to California, by asking the front desk staff to do something and then waiting patiently when they said "I can't do that". Turns out when you come from a place where there's a vowel difference between "can" and "can't", that's what you listen for. I didn't at all pick up on the "t" sound at the end.
Re:How Safe Is Zig? on Monday March 22, 2021 @05:34PM (#26547464)
Re units of measurement in Rust, have you looked at something like https://docs.rs/uom/0.31.1/uom/ ?
Fun. There's something captivating about watching a melting shape.

Bug: countries from the Southern Hemisphere are mirrored left-to-right. AFAICT NH countries are ok. Something

Older »