Better HN
topnewbestaskshowjobs
Log inSign up

theolivenbaum

784 karma · joined Nov 29, 2020 (5y ago) · 187 submissions

Aerospace engineer turned entrepreneur, building and growing http://curiosity.ai
Submissions

comment 3d ago · link · parent

Really cool work and great post! Brings back fond memories of playing this as a kid!

I got curious about how well it would perform if ported to C#, as I've been getting some great results porting and optimizing C/C++/Rust code to C# lately.

If you're interested, here's my take (built with Sonnet 5.5):

https://github.com/theolivenbaum/soksolv

Took some ideas on optimizing memory usage from chess solvers. Probably applies to the original Go code if you want to port it upstream.

The benchmark is still running, but the results so far look quite promising:

Go: Solved 1,927 in 1269s

C#: Solved 2,365 in 382s

The timings are for boards solved by both, and so far the C# version is showing roughly a 3x speedup over the Go implementation, while also solving more boards (running for a 10s time limit - I'll run it afterwards matching the 20s time limit to see).

comment 1mo ago · link · parent

Technical write-up: https://pwn.ai/blog/pwnescape

comment 2mo ago · link · parent

You're missing the point where: in complex systems, sometimes optimizing code is both a high effort undertaking, and can totally not pay off. Having done hundreds of such exercises on our software over the years, it's liberating to have an idea of how to make something faster, being able to validate it without the fear of having to throw it all in the trash if it fails after days of work. What is still important is being able to provide proper guidance - we even built new tools to allow an AI agent to analyze memory usage in more depth, and instructions on how to benchmark in cloud environments where shared CPU usage and VM reallocation happen all the time and confuses the AI all the time with measurements

comment 3mo ago · link · parent

They added a whole set of skills and python scripts for interacting with office files using libreoffice headless, it's not writing the XML files directly

comment 4mo ago · link · parent

Wild times when one can go from a HN post about an interesting open source code to a port to a new language in a matter of hours (wip, but almost complete: https://github.com/theolivenbaum/copybara)

comment 6mo ago · link · parent

For me it was even worse than that. One laptop has copilot blocked by policy, and it shows a blocking modal every time you press the key by mistake

comment 6mo ago · link · parent

If I remember correctly the status page was not precise before the acquisition - so take with a big grain of salt the 100% pre-acquisition values

comment 7mo ago · link · parent

It's worse than that - the feature exists in the paid OneDrive app, it lets you scan, edit, add pages etc just like the office lens. It just doesn't save the output - scanned files just disappear in the void.

9.

BCG's Data Warehouse Hacked – 3.17T Rows, Zero Authentication(codewall.ai ↗)

2 points · by theolivenbaum · 7mo ago · discuss

comment 9mo ago · link · parent

Seems like this is going to be the year of AI slop being released everywhere by Microsoft. Just wish they'd put as much effort into a post morten for this one as they're doing for a diagram on a blog post https://github.com/microsoft/onnxruntime/issues/27263#issuec...

comment 10mo ago · link · parent

Maybe I'm not seeing it but wouldn't it be just easier to pump the river water back up instead of letting it flow on the sea?

12.

Show HN: Library to help find memory leaks for C#(github.com ↗)

2 points · by theolivenbaum · 11mo ago · discuss

comment 1y ago · link · parent

See here for more info: https://github.com/Cysharp/ZLinq?tab=readme-ov-file#differen...

comment 1y ago · link · parent

There are some minor breaking changes like the order of iteration is not always the same as the official Linq implementation, or Sum might give different values due to checked vs unchecked summing. Probably not an issue for most people, but a subtle breaking change nevertheless.

comment 1y ago · link · parent

To add on that, you can define your lambdas as static to make sure you're not capturing anything by mistake.

Something like dates.Where(static x => x.Date > DateTime.Now)

comment 1y ago · link · parent

There's also a really nice implementation of Rope for C# here: https://github.com/FlatlinerDOA/Rope

comment 1y ago · link · parent

Specially because there are no network effects and no lock in.

comment 2y ago · link · parent

Netflix did that many years ago, interesting idea even if a bit disruptive in the beginning https://netflix.github.io/chaosmonkey/

comment 2y ago · link · parent

What a bunch of corporate newspeak. Their demand of 8% of gross revenue in annual license fees, or >$30M for 2024, shows how much this was only about profits and not about contributing to the WP community:

"It’s important to note that a significant part of Automattic’s revenue, including any licensing revenue, is channeled back into supporting the WordPress community, as Automattic is currently contributing 3,552 hours per week to the WordPress project. This comes out to something in the order of $20M annually in salaries."

And the post then goes from defending open source to how their actions made everyone's websites safer (which, they didn't) and how you should migrate your website to their hosting solution. Despicable.

comment 2y ago · link · parent

I think the original quote was "One in a million is next Tuesday": https://learn.microsoft.com/en-us/archive/blogs/larryosterma...

comment 2y ago · link · parent

Isn't that precisely what they were doing? Forcing landlords to follow the recommended prices?

"RealPage thus makes it hard for customers to override its recommendations, according to the lawsuits, allegedly even requiring a written justification and explicit approval from RealPage staff." From: https://www.theatlantic.com/ideas/archive/2024/08/ai-price-a...

comment 2y ago · link · parent

Reminded me of their Command-E acquisition from a few years ago (https://blog.dropbox.com/topics/company/welcome-command-e-to...)

comment 2y ago · link · parent

That's what our app does: curiosity.ai, local index, support for many files types and apps out of the box, and integrated local OCR, STT and even local LLM

comment 2y ago · link · parent

You forgot to mention how he also single-handed solved search at Twitter /s

comment 2y ago · link · parent

And nowadays by ego

comment 2y ago · link · parent

They turned into an online version of the mob. Pay them and they'll take care that your bad reviews are gone. Don't pay and risk getting a few extra bad reviews

27.

World of Goo 2: now available(worldofgoo2.com ↗)

71 points · by theolivenbaum · 2y ago · 45 comments

comment 2y ago · link · parent

If you want to try our software (includes search, RAG, file handling, and a bunch of integrations, and can be deployed on prem or cloud), happy to give you a license in exchange for some feedback! Just shout me an email at rafael (at) curiosity.ai

29.

Show HN: Florence2-Sharp – Advanced Image Understanding and OCR in C#(github.com ↗)

1 points · by theolivenbaum · 2y ago · discuss

1234567