HNHacker News
TopNewBestAskShowJobs

favorited

4,891 karma · joined June 1, 2016

submissionscomments
favorited··on CBS Canceling 'Late Show with Stephen Colbert' After Next Season
He's also on cable. When people talk about late night talk shows, they're generally referring to one of the networks.
favorited··on LibreOffice slams Microsoft for locking in Office users w/ complex file formats
Even though markitdown is a Microsoft project, it's just a thin wrapper around a bunch of 3rd party Python packages. For example, to go from docx to Markdown, it uses mammoth to convert docx to HTML[0], then uses markdownify to convert the HTML into Markdown[1].

[0]https://github.com/microsoft/markitdown/blob/da7bcea527ed04c... [1]https://github.com/microsoft/markitdown/blob/da7bcea527ed04c...

favorited··on CBS Canceling 'Late Show with Stephen Colbert' After Next Season
Late night talk shows are extremely cheap, compared to regular scripted television. It's one of the reasons why NBC was so excited about moving Jay Leno to 10pm when Conan took over The Tonight Show:

> The Jay Leno Show WILL be significantly cheaper than any primetime scripted show NBC could program. Primetime scripted programming usually costs about $3 million per hour; so the five hours NBC is revamping would total about $15 million per week. This new Leno show will cost NBC less than $2 million per week. ... So, not only does NBC get to KEEP its primetime hours, it gets to program them with a more cost-effective show.

https://www.writersdigest.com/industry-updates/jay-leno-nbc-...

favorited··on Arm muscles into server market – but can't wrestle control from x86 just yet
I can't say if there will be enough continued investment in RISC-V for it to catch up, but the mere fact that there is a viable x86 alternative today makes it easier for a third option to enter the picture.
favorited··on Show HN: Lego Island Playable in the Browser
Oh man, this is great timing – I played the hell out of this game in middle school, and I've recently been investigating either getting it running on modern hardware. I got it installed & launching inside an XP VM, but that is (unsurprisingly) not ideal.

I've been thinking about building a retro gaming PC for these kinds of games, and now I can kick that can a little further down the road.

favorited··on Ocarina of Time Randomizer
I'm glad to hear that Wind Waker HD has fan support like this. It was always a bummer to me that the best versions of Wind Waker and Skyward Sword were trapped on the Wii U, given the incredible preservation that Dolphin provides for their original versions.

Edit: I own a Wii U, I'm not trying to be a hater. For years, it really was the ultimate Zelda box.

favorited··on Simplest C++ Callback, from SumatraPDF
He also seems completely uninterested in finding that, "elegant language struggling to get out." He just asserts that it's there, as if its mere existence is a virtue.

I think Herb Sutter is at least trying to find that elegant language, with his "syntax v2" project. It's one way to preserve compatibility with the incalculable amount of C++ in the wild, while also providing a simplified syntax with better defaults and fewer foot-guns.

Of course, Herb isn't immune to making hand-wavy claims[0] of his own, but he seems to bring forward more good ideas than bad.

[0] https://herbsutter.com/2025/03/30/crate-training-tiamat-un-c...

favorited··on Jemalloc Postmortem
For context, the "allocator engineer" I was talking to was a kernel engineer - they have an extremely solid grasp of their platform's architecture.

The whole advantage of being the platform's system allocator is that you can have a tighter relationship between the library function and the kernel implementation.

favorited··on Jemalloc Postmortem
It's possible that they were referring to something specific about their platform and its system allocator, but like I said it was an anecdote about one engineer's statement. I just remember thinking it sounded fair at the time.
favorited··on Rendering Crispy Text on the GPU
I watched a conference talk[0] about using MSDFs for GPU text rendering recently, really interesting stuff!

[0] https://www.youtube.com/watch?v=eQefdC2xDY4

favorited··on Jemalloc Postmortem
Disclaimer: I'm not an allocator engineer, this is just an anecdote.

A while back, I had a conversation with an engineer who maintained an OS allocator, and their claim was that custom allocators tend to make one process's memory allocation faster at the expense of the rest of the system. System allocators are less able to make allocation fair holistically, because one process isn't following the same patterns as the rest.

Which is why you see it recommended so frequently with services, where there is generally one process that you want to get preferential treatment over everything else.

favorited··on Machine Code Isn't Scary
I think the majority of programmers would enjoy it, but most would first need to pick an ISA (something older is probably going to be more approachable for beginners), learn enough about it to understand basic arithmetic instructions, learn enough about the dev tools to be able to assemble, link, and execute their code, etc.

For most folks, that's going to be a couple days of prep work before they can get to the fun part of solving the puzzle.

favorited··on Swift at Apple: Migrating the Password Monitoring Service from Java
The post notes that the user-facing app was "introduced in the fall of 2024," so presumably the services aren't that legacy.
favorited··on PDF to Text, a challenging problem
I did some very broad testing of several PDF text extraction tools recently, and PDF.js was one of the slowest.

My use-case was specifically testing their performance as command-line tools, so that will skew the results to an extent. For example, PDFBox was very slow because you're paying the JVM startup cost with each invocation.

Poppler's pdftotext utility and pdfminer.six were generally the fastest. Both produced serviceable plain-text versions of the PDFs, with minor differences in where they placed paragraph breaks.

I also wrote a small program which extracted text using Chrome's PDFium, which also performed well, but building that project can be a nightmare unless you're Google. IBM's Docling project, which uses ML models, produced by far the best formatting, preserving much of the document's original structure – but it was, of course, enormously slower and more energy-hungry.

Disclaimer: I was testing specific PDF files that are representative of the kind of documents my software produces.

favorited··on What’s new in Swift 6.2
> Yes. Garbage collectors also call free. They call functions.

Ok, what is calling `free` here? Point to the garbage collector. Show me the thing that is collecting the garbage.

> And in reference to `shared_ptr`, or Rc and Arc in Rust, that's manual memory management because you're doing it... manually.

You're also doing it manually when you decide to make a type a class in Swift. You're opting in to reference counting when you write a class, or use a type that is backed by a class.

It also seems that our goalposts have gone missing. Before, "it" (whatever "it" is) was a garbage collector because it happened at runtime:

> That reference counting is done at runtime. It’s a runtime garbage collector.

shared_ptr, Rc, and Arc also manage their memory at runtime. But now, "it's" a garbage collector because the compiler generates the retain/release calls...

favorited··on What’s new in Swift 6.2
> It’s a runtime garbage collector

What does "it" refer to? The function calls to _swift_release_()? Because if function calls are a "garbage collector," then free() is a garbage collector. And if free() is a garbage collector, then the term is too vague to have any useful meaning.

favorited··on What’s new in Swift 6.2
> a language with a garbage collector (Swift)

You can certainly make the case that reference counting is a form of garbage collection, but it is absolutely false to say Swift has "a garbage collector." There is no runtime process that is responsible for collecting garbage – allocated objects are freed deterministically when their reference count hits zero.

The same thing is true of `shared_ptr` instances in C++, and there's certainly no "garbage collector" there, either.

favorited··on What’s new in Swift 6.2
Especially in apps, where most of the code will be about preparing the user interface and handling events. And it's relatively easy to make most lower-level components actor-agnostic – either by making them conform to Sendable, by making them actors, or by giving them their own internal synchronization.
favorited··on What’s new in Swift 6.2
Many of these features have convoluted-sounding names like "global-actor isolated conformances" or "control default actor isolation inference," but they are changes that make actually using the language simpler.

People aren't expected to really learn that there is a "feature" called global-actor isolated conformances, but at some point they'll try to make a UI type conform to `Equatable,` and instead of an error saying you can't do that, they'll get a fixit about needing to specify the conformance as `struct MyUIType: @MainActor Equatable` instead.

I bet 99% of codebases won't use "method and initializer key paths," but there's really no reason why you should be able to get a key path to a property, but not a method. It just hadn't been implemented yet, and the language is more consistent now.

Personally, I think raw identifiers are kinda dumb, but that just means I won't use them. IMO there isn't really more cognitive overhead when using the language because it's possible to use spaces in function names now.

favorited··on What’s new in Swift 6.2
I have a few personal and professional Swift on server projects, in the wild and in the works. Code reuse is a big win – we can ~easily expose functionality of our client apps to other systems. Familiarity is another – there's an ocean of iOS (and, to a lesser extent, macOS) developers out there who are familiar with Swift. With a little bit of coaching, they can pretty quickly get up to speed with how services work.

It reminds me a lot of what it was like to ship Node.js software 15 years ago – the ecosystem is still young, but there are enough resources out there to solve 95% of the problems you'll face.

favorited··on An appeal to Apple from Anukari
> Networking APIs that require the use of a 3rd party library because the native APIs don’t even handle the basics easily

This is nonsense. I've been a professional Mac and iOS developer for well over a decade, and even in the days of NSURLConnection, I've never needed a 3rd party networking library. Uploading, downloading, streaming, proxying, caching, cookies, auth challenges, certificate validation, mTLS, HTTP/3, etc. – it's all available out of the box.

favorited··on Matt Godbolt sold me on Rust by showing me C++
Side note, if anyone is interested in hearing more from Matt, he has a programming podcast with Ben Rady called Two's Complement.

https://www.twoscomplement.org

favorited··on Judge said Meta illegally used books to build its AI
> Unrelatedly, has Boies ever won a high profile lawsuit? I remember him from the Bush/Gore recount issue, where he represented the Democrats.

He teamed up with opposing counsel from Bush v. Gore, Ted Olson, and the pair of them represented plaintiffs in Hollingsworth v. Perry, the SCOTUS case which overturned Prop 8, California's gay marriage ban.

favorited··on Judge said Meta illegally used books to build its AI
He was a secondary villain in Ronan Farrow's Catch and Kill book, as Harvey Weinstein's attorney. He employed similar tactics to protect Weinstein as he did for Theranos.

He was fired by the New York Times after all this came out, because he hired private investigators to go after the NYT reporters investigating Weinstein (Jodi Kantor & Megan Twohey at the NYT broke the story just before Farrow's reporting was published), while also representing the Times.

favorited··on Pwning the Ladybird Browser
One of the primary Ladybird devs just gave a lightning talk at CppCon about porting their HTML parser from C++ to Swift.

https://www.youtube.com/watch?v=KCRx1jE6DnY

favorited··on Tomb Engine
Seems at odds with their repo's MIT license, which explicitly allows it to be sold.

https://github.com/TombEngine/TombEngine/blob/master/LICENSE

favorited··on What Was Quartz?
Spanfeller believing "it's impossible to kill a media brand" goes a long way towards explaining everything I've ever heard about him.
favorited··on The state of binary compatibility on Linux and how to address it
> An example is Jonathon Blow's JAI compiler

I thought you were advocating "just distribute source code" – JAI is a closed-source language that, in its decade of development, has never been used for a significant project.

favorited··on Blasting Past WebP - An analysis of the NSO BLASTPASS iMessage exploit
Of course the entire binary will never be the same, but the implementation of (for example) DateComponents.swift in OSS swift-foundation will be the same implementation that is used to build the OS library.

Going forward, the bedrock of both the OSS package and the platform [Core]Foundation.framework will be swift-foundation. This is distinct from SCF, which was a novel Swift wrapper around CoreFoundation.

favorited··on Blasting Past WebP - An analysis of the NSO BLASTPASS iMessage exploit
They're newer, but they aren't at all similar to what ships on Apple's OSes anymore. These days, the layers have flipped, and CoreFoundation is becoming a wrapper around swift-foundation.

CF functions toll-free bridge the CF types to their Foundation counterparts and invoke the corresponding Objective-C API, which is either implemented directly in Swift, or is a wrapper around the Swift function.

An Apple employee on the Foundation team posted an example of how calling `CFCalendarCreateWithIdentifier` works here: https://forums.swift.org/t/swift-foundation-now-available/73...

I'm sure it's still a work-in-progress, but their definitive goal is for the OSS swift-foundation codebase to be the same as what ships in their OSes, which was never the case with swift-corelibs-foundation.

Edit: I found a conference talk by some Apple folks that goes into more detail https://www.youtube.com/watch?v=wn6C_XEv1Mo

← PreviousPage 3 of 34Next →