frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Size of Life

https://neal.fun/size-of-life/
173•eatonphil•1h ago•44 comments

DeepSeek uses banned Nvidia chips for AI model, report says

https://finance.yahoo.com/news/china-deepseek-uses-banned-nvidia-131207746.html
38•goodway•43m ago•19 comments

Qwen3-Omni-Flash-2025-12-01:a next-generation native multimodal large model

https://qwen.ai/blog?id=qwen3-omni-flash-20251201
41•pretext•1h ago•19 comments

COM Like a Bomb: Rust Outlook Add-in

https://tritium.legal/blog/outlook
33•piker•2h ago•10 comments

Why the Sanitizer API is just `setHTML()`

https://frederikbraun.de/why-sethtml.html
17•birdculture•1d ago•1 comments

Launch HN: InspectMind (YC W24) – AI agent for reviewing construction drawings

13•aakashprasad91•1h ago•5 comments

9 Mothers (YC X26) Is Hiring

https://app.dover.com/jobs/9mothers
1•ukd1•17m ago

Qualcomm acquires RISC-V focused Ventana Micro Systems

https://www.qualcomm.com/news/releases/2025/12/qualcomm-acquires-ventana-micro-systems--deepening...
19•fork-bomber•1h ago•7 comments

Factor 0.101 now available

https://re.factorcode.org/2025/12/factor-0-101-now-available.html
13•birdculture•5h ago•1 comments

In New York City, congestion pricing leads to marked drop in pollution

https://e360.yale.edu/digest/new-york-congestion-pricing-pollution
281•Brajeshwar•1h ago•243 comments

Volcanic eruptions set off a chain of events that brought Black Death to Europe

https://www.cam.ac.uk/stories/volcanoes-black-death
27•gmays•4d ago•4 comments

Map of all the buildings in the world

https://gizmodo.com/literally-a-map-showing-all-the-buildings-in-the-world-2000694696
124•dr_dshiv•5d ago•46 comments

Golang's big miss on memory arenas

https://avittig.medium.com/golangs-big-miss-on-memory-arenas-f1375524cc90
15•andr3wV•6d ago•2 comments

Australia begins enforcing world-first teen social media ban

https://www.reuters.com/legal/litigation/australia-social-media-ban-takes-effect-world-first-2025...
12•chirau•23h ago•61 comments

Revisiting "Let's Build a Compiler"

https://eli.thegreenplace.net/2025/revisiting-lets-build-a-compiler/
198•cui•10h ago•34 comments

Typewriter Plotters (2022)

https://biosrhythm.com/?p=2143
6•LaSombra•5d ago•0 comments

RoboCrop: Teaching robots how to pick tomatoes

https://phys.org/news/2025-12-robocrop-robots-tomatoes.html
4•smurda•1h ago•0 comments

PeerTube is recognized as a digital public good by Digital Public Goods Alliance

https://www.digitalpublicgoods.net/r/peertube
636•fsflover•1d ago•134 comments

Rust in the kernel is no longer experimental

https://lwn.net/Articles/1049831/
837•rascul•14h ago•613 comments

New benchmark shows top LLMs struggle in real mental health care

https://swordhealth.com/newsroom/sword-introduces-mindeval
70•RicardoRei•3h ago•104 comments

England Historic Aerial Photo Explorer

https://historicengland.org.uk/images-books/archive/collections/aerial-photos/
10•davemateer•1h ago•3 comments

Cloth Simulation

https://cloth.mikail-khan.com/
139•adamch•1w ago•26 comments

Cloudspecs: Cloud Hardware Evolution Through the Looking Glass [pdf]

https://www.cs.cit.tum.de/fileadmin/w00cfj/dis/papers/cloudspecs-final.pdf
9•luu•5d ago•0 comments

Amazon EC2 M9g Instances

https://aws.amazon.com/ec2/instance-types/m9g/
131•AlexClickHouse•4d ago•54 comments

Show HN: Gemini Pro 3 imagines the HN front page 10 years from now

https://dosaygo-studio.github.io/hn-front-page-2035/news
3182•keepamovin•1d ago•910 comments

Exploiting silent delivery receipts to monitor users on instant messengers

https://arxiv.org/abs/2411.11194
8•wakawaka28•1w ago•3 comments

Bruno Simon – 3D Portfolio

https://bruno-simon.com/
705•razzmataks•1d ago•165 comments

When a video codec wins an Emmy

https://blog.mozilla.org/en/mozilla/av1-video-codec-wins-emmy/
245•todsacerdoti•5d ago•58 comments

Super-Flat ASTs

https://jhwlr.io/super-flat-ast/
3•mmphosis•5d ago•0 comments

Mistral releases Devstral2 and Mistral Vibe CLI

https://mistral.ai/news/devstral-2-vibe-cli
698•pember•1d ago•321 comments
Open in hackernews

COM Like a Bomb: Rust Outlook Add-in

https://tritium.legal/blog/outlook
32•piker•2h ago

Comments

meibo•47m ago
I will say that I'm surprised no other LLM picked this up, since the issue should be somewhat evident to people familiar with C++ and how COM works. COM APIs cannot represent "owned" strings.

Still better than whatever JS rats nest they came up with for the new Outlook.

CrimsonCape•32m ago
> But using C# required us to contemplate whether and which dotnet runtime our client supported. Or did we need to ship our own? Isn't this just a small launcher stub? This was just too much complexity outside of our wheelhouse to put between our product and the user. This is not to say that the C# approach isn't valid. It is just that our limited understanding of that ecosystem and its requirements counseled against shipping it as a primary entry point into our application.

You should be able to compile a relatively small, trimmed, standalone, AOT compiled library that uses native interop. (Correct me if i'm wrong, dotnet users). Then there would be no dependency on the framework.

pjmlp•23m ago
Yes, provided you are using modern COM bindings introduced in .NET Core, alongside code generators.
jlarocco•28m ago
I don't like Windows, but I've always thought COM was pretty cool. It's a nightmare using it directly from low level languages like C++ and Rust, though. It's a perfect place to use code generation or metaprogramming.

In Python, Ruby and the Microsoft languages COM objects integrate seamlessly into the language as instances of the built-in class types.

Also, there's a fairly straightfoward conversion from C# to C++ signatures, which becomes apparent after you see a few of them. It might be explicitly spelled out in the docs somewhere.

pjmlp•25m ago
Not if using Delphi or C++ Builder.

For whatever reason all attempts to make COM easier to use in Visual C++, keep being sabotaged by internal teams.

It is like Windows team feels like it is a manhood test to use such low level tooling.

ok123456•23m ago
Using COM in Perl was pretty seamless back in its heyday.
ptx•24m ago
Couldn't the correct function signatures be generated from the COM type library? Using an LLM for this is clearly not a good fit, as the article demonstrates.
bri3d•19m ago
This is quite interesting: it's easy to blame the use of LLM to find the interface, but really this is a matter of needing to understand the COM calling conventions in order to interact with it.

I found the interface and a C++ sample in about two minutes of GitHub searching:

https://github.com/microsoft/SampleNativeCOMAddin/blob/5512e...

https://github.com/microsoft/SampleNativeCOMAddin/blob/5512e...

but I don't actually think this would have helped the Rust implementation; the authors already knew they wanted a BSTR and a BSTR*, they just didn't understand the COM conventions for BSTR ownership.

LegionMammal978•19m ago
A lot of these automatic marshalling systems (in this case, windows-rs) can be annoyingly unintuitive or opaque in how they handle subtler details of memory ownership, character sets, how to allocate and free objects, etc. And then it's made worse by documentation that only gives the output of one marshalling system (in this case, .NET) that's different from the one you're using, so you have to translate it both backwards and forwards. I guess this is mainly a consequence of COM trying to be all things to all people, being used by both unmanaged and managed code.