Readit News logoReadit News
wdroz commented on What's New in Python 3.15   docs.python.org/3.15/what... · Posted by u/azhenley
wdroz · 2 months ago
In the improved error message [0] how are they able to tell nested attributes without having a big impact in performance? Or maybe this has a big impact on performance, then using exceptions for control flow is deprecated?

    ...
    print(container.area)
> AttributeError: 'Container' object has no attribute 'area'. Did you mean: 'inner.area'?

[0] -- https://docs.python.org/3.15/whatsnew/3.15.html#improved-err...

wdroz commented on Developers can now submit apps to ChatGPT   openai.com/index/develope... · Posted by u/tananaev
wdroz · 2 months ago
> All submissions must come from verified individuals or organizations. Inside the OpenAI Platform Dashboard general settings, we provide a way to confirm your identity and affiliation with any business you wish to publish on behalf of. Misrepresentation, hidden behavior, or attempts to game the system may result in removal from the program.

They really want your ID

wdroz commented on GPT-5.2   openai.com/index/introduc... · Posted by u/atgctg
sanex · 2 months ago
Do people other than Elon fans use grok? Honest question. I've never tried it.
wdroz · 2 months ago
Unlike openai, you can use the latest grok models without verifying your organization and giving your ID.
wdroz commented on Rules for creating good-looking user interfaces   weberdominik.com/blog/rul... · Posted by u/domysee
wdroz · 5 months ago
> The logo is further on the left than the other icons.

But why the logo of the website/app should be aligned with the icon of the actions?

> The icons are thin, compared to the text, which is bold.

Why this is an issue?

I can somewhat agree with the other points, but I wouldn't call this "bad design." Just because the information can sometimes be presented better doesn't mean the previous way was bad.

wdroz commented on Ask HN: The government of my country blocked VPN access. What should I use?    · Posted by u/rickybule
Joel_Mckay · 6 months ago
There are many options, but avoiding the legal consequences may be a grey area:

https://www.stunnel.org/index.html

https://github.com/yarrick/iodine

https://infocondb.org/con/black-hat/black-hat-usa-2010/psudp...

..and many many more, as networks see reduced throughput as an error to naturally route around. =3

wdroz · 6 months ago
DNS tunnels with iodine works well, it's easy to setup and work in a lot of place.

You can also connect to some random corporate wifi and it's very likely that this will work (not necessary in "direct" mode).

wdroz commented on Toad – a universal UI for agentic coding in the terminal   willmcgugan.github.io/ann... · Posted by u/willm
wdroz · 7 months ago
I hope you will get further sponsorships so you can continue your cool work in the FOSS space.

I also totally agree that uv makes shipping python software smoother. Prior to uv I hesitated to use Textual to build cool TUIs for internal tools. But now, it’s a totally different story. I wish I had an internal tool to write with Textual right now.

Maybe by the time Toad is officially out, I will have a project ready to dive into.

wdroz commented on I Switched from Flutter and Rust to Rust and Egui   jdiaz97.github.io/greenbl... · Posted by u/jdiaz97
wdroz · 8 months ago
I also prefer the mental model of immediate mode, but when I played with Dioxus[0] for a rust fullstack hobby project[1], I was able to adapt.

I liked the DX with the tools and the `rsx!` macro. The use of `#[cfg(feature = "server")]` to define server-side code is interesting, it lets you keep a shared codebase for frontend and backend, while still controlling what gets compiled to WASM for the client.

[0] -- https://dioxuslabs.com/

[1] -- https://blazingboard.ch/ (not mobile friendly, sorry)

wdroz commented on My AI skeptic friends are all nuts   fly.io/blog/youre-all-nut... · Posted by u/tabletcorry
drodgers · 8 months ago
> "LLMs can’t write Rust"

This really doesn't accord with my own experience. Using claude-code (esp. with opus 4) and codex (with o3) I've written lots of good Rust code. I've actually found Rust helps the AI-pair-programming experience because the agent gets such good, detailed feedback from the compiler that it can iterate very quickly and effectively.

Can it set up great architecture for a large, complex project from scratch? No, not yet. It can't do that in Ruby or Typescript either (though it might trick you by quickly getting something that kinda works in those languages). It think that will be a higher bar because of how Rust front-loads a lot of hard work, but I expect continuing improvement.

wdroz · 8 months ago
I agree, the latest models are not bad at Rust. Most issues I have when writing LLM-assisted Rust code are related to dependencies.

There are a lot of v0.x.x crates in Rust with frequent updates and breaking changes. As LLMs "learn" from code in the wild, they are exposed to different way to use the same crate and thus fail to produce working code "from memory".

But as soon as you explain how to use it with the latest syntax, they are able to fix the code.

wdroz commented on Ty: A fast Python type checker and language server   github.com/astral-sh/ty... · Posted by u/arathore
Handprint4469 · 9 months ago
If you have uv installed, you can test it without installing by running:

  uvx ty check

wdroz · 9 months ago
You can also install it "globally" for your user with:

  uv tool install ty
Then you can use it anywhere

  ty check

wdroz commented on Show HN: Bagels – TUI expense tracker   github.com/EnhancedJax/Ba... · Posted by u/EnhancedJax
oneeyedpigeon · a year ago
It looks great, but I don't feel enthusiastic about installing yet another package manager. Are there really enough benefits from uv to justify it as the only option?
wdroz · a year ago
They are using the "normal" dependencies section in the pyproject.toml, so you should be able to install with pip or other tools if you want.

It's only for dev-specifics dependencies that they are using the uv-specifics section.

You can try uv in 2 min and see if you like it or not.

u/wdroz

KarmaCake day464April 5, 2016
About
Software engineer from Switzerland.

Like big data and machine learning.

View Original