frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: I used an expiring Codex reset to port QtScript to Qt6

https://github.com/JulienMaille/qtscript-qt6
1•maille•1h ago
Hey HN, here is a short story that might be worth sharing.

I have an application that has been scriptable with QtScript for years. I can automate and extend it through js, with access to QObjects, signals, slots, properties, etc.

Unfortunately, QtScript disappeared with Qt6, so (after a long research) my plan was to migrate to PythonQt. That meant rewriting existing scripts, deploying a Python runtime, and praying that all our scripts would still be feasible with PythonQt. I had no particular desire to do all that, so I had been postponing it. The thinkg about QtScript is that, contrary to Qt, online resources are very scarce, you barely find anything but old forum posts from the 2010s

Since I'm on the $20 Codex plan and had 2 resets that was going to expire unused. I thought I might as well spend it on something slightly unreasonable: take the Qt5.15 QtScript sources and see how far I could get on Qt6

-> After roughly one hour, I had a smoke test compiling, linking against Qt6 and evaluating js! (Sol/Medium did the plan and the coding)

Obviously that was not enough to call it a port, so the real work became validation. I kept everything as a small patch series, reviewed the changes, rejected some questionable decisions, and treated CI as the authority, something I'm not realled used to do. The current matrix covers Qt 6.8 LTS and Qt 6.11 on GCC and MSVC, with 29,890 ECMAScript tests and 137 V8 tests passing

I (we?) also ported QtScriptGenerator which was important for my use case. While QtScript is the JavaScript engine, QtScriptGenerator generates the bindings that expose Qt classes and my application classes to JavaScript. This means a script can take an existing button in the application, reconnect it to custom JavaScript logic, create a new QLabel from JavaScript, inject it into an existing QWidget, and send the result there. No rebuild and no new C++ plugin. This is the part I really did not want to lose.

-> took the second reset an another hour to have a project that compiles and pass the smoke tests (this time I used Luna/xhigh)

To me, the interesting AI part was that this kind of old-code archaeology worked surprisingly well with an agent when the work was constrained and split into reviewable steps. My workflow was: plan the change, let it implement one part, review it, test it, reject the strange ideas, continue.

So if someone else is still stuck on Qt 5 mainly because of QtScript or QtScriptGenerator I hope this might be useful.

https://github.com/JulienMaille/qtscript-qt6

https://github.com/JulienMaille/qtscriptgenerator-qt6

cheers!

Show HN: Local Code Review

https://plannotator.ai/code-review/
1•ramoz•54s ago•0 comments

AI Loop Engineering in 2026: How to Build a Gauntlet Loop

https://www.thepromptindex.com/ai-loop-engineering-gauntlet-loop-guide.html
2•westurner•2m ago•0 comments

Rails Is Done

https://lucas.dohmen.io/posts/2026/08/09/rails-is-done/
2•ramon156•3m ago•0 comments

Grok Bot by SpaceXAI

https://x.ai/news/introducing-grok-bot
3•colesantiago•3m ago•0 comments

How to add package if no pip

1•lpcamisoul•4m ago•1 comments

Mastering Edge AI on Raspberry Pi with LiteRT and Gemma

https://developers.googleblog.com/mastering-edge-ai-on-raspberry-pi-with-litert-and-gemma/
1•simonpure•4m ago•0 comments

Tell HN: Striking a Balance Between Stating Your Requirements and Griefers

1•logicallee•5m ago•0 comments

Grok Bot

https://x.ai/bot
3•rvz•5m ago•0 comments

OpenAI executive Brad Lightcap leaves as shakeup at AI lab continues

https://www.cnbc.com/2026/08/11/longtime-openai-executive-brad-lightcap-leaves-as-shakeup-at-ai-l...
1•beejiu•5m ago•0 comments

Mitchell Hashimoto's daily schedule given Superlogical, second kid, and AI usage

https://twitter.com/mitchellh/status/2087227139154448436
1•tosh•6m ago•0 comments

Kaggle Leaderboard Shakeup: When a Metric Stops Ranking

https://medium.com/@alanscottencinas/kaggle-leaderboard-shakeup-when-a-metric-stops-ranking-0688b...
1•encinas88•6m ago•0 comments

Trump to give Republicans a 3-1 FCC majority, not filling empty Democratic seat

https://arstechnica.com/tech-policy/2026/08/trump-to-give-republicans-a-3-1-fcc-majority-isnt-fil...
2•mdp2021•7m ago•0 comments

Paramount to Leave CA If States Refuse to Negotiate Settlement in Antitrust Suit

https://variety.com/2026/film/news/david-ellison-move-paramount-out-of-california-states-antitrus...
1•indigodaddy•9m ago•0 comments

Cursor and SpaceXAI launch Grok Bot for work beyond coding

https://runtimewire.com/article/cursor-spacexai-launch-grok-bot-general-purpose-agents
1•ryanmerket•9m ago•0 comments

How we control a remote browser with a Chrome extension faster than Playwright

https://www.browserbase.com/blog/stagehand-v4
1•Kylejeong21•9m ago•0 comments

Something Nobody Told You About the Image Element (It Can Overflow)

https://master.dev/blog/something-nobody-told-you-about-the-image-element-it-can-overflow/
2•ibobev•11m ago•0 comments

CSS Properties You Should Know for Better Text Designs

https://master.dev/blog/typographic-css-tricks/
2•ibobev•12m ago•0 comments

View Transitions: Careful Not to Make Stuff Unclickable

https://master.dev/blog/view-transitions-careful-not-to-make-stuff-unclickable/
1•ibobev•13m ago•0 comments

Nigeria: Lifting the Lid: Internal docs expose Shell's negligent oil operations

https://www.amnesty.org/en/documents/afr44/1304/2026/en/
2•RetroTechie•13m ago•1 comments

Show HN: Zsort, a fast import organizer for Zig

https://github.com/mstdokumaci/zsort
1•mstdokumaci•13m ago•0 comments

Mourning and moving on: rituals for leaving a career (2014)

https://franceshocutt.com/2014/09/10/on-mourning-and-moving-on-rituals-for-leaving-a-career/
2•downbad_•14m ago•0 comments

Signing and verifying AI outputs with revocable trust

https://www.youtube.com/watch?v=8OF1gS5jn3w
1•lyfeninja•14m ago•0 comments

Don't Lock User Data Behind Paywalls

https://onlinegoddess.net/2026/08/dont-lock-user-data-behind-paywalls/
1•speckx•14m ago•0 comments

Goodhart's Law Isn't as Useful as You Might Think (2023)

https://commoncog.com/goodharts-law-not-useful/
1•downbad_•14m ago•0 comments

Atypical Combinations and Scientific Impact [pdf]

https://www.kellogg.northwestern.edu/faculty/uzzi/htm/papers/science-2013-uzzi-468-72.pdf
1•highfrequency•15m ago•0 comments

Show HN: I used AI to filter AI content from HN

https://www.unslop.news
2•otherayden•15m ago•2 comments

We didn't kill physical media. You did

https://vladthe.dev/blog/we-didn-t-kill-physical-media-you-did
1•pacMakaveli•15m ago•0 comments

Why Americans fear getting old

https://inews.co.uk/news/world/america-cant-afford-to-retire-4478290
1•robtherobber•15m ago•0 comments

Ads may be leaving the windows search box

https://blogs.windows.com/windows-insider/2026/07/13/improving-windows-search-box-with-less-clutt...
1•sklargh•16m ago•0 comments

A Herbal Product Sold at Gas Stations Is Being Blamed for an Addiction Crisis

https://www.wsj.com/health/healthcare/a-herbal-product-sold-at-gas-stations-is-being-blamed-for-a...
1•thm•16m ago•0 comments