Readit News logoReadit News
Lorak_ commented on Making o1, o3, and Sonnet 3.7 hallucinate for everyone   bengarcia.dev/making-o1-o... · Posted by u/hahahacorn
andix · 6 months ago
I don't see the point in AI code completions, they are just distracting noise. I'm only doing bigger changes with AI.

Prompt based stuff, like "extract the filtering part from all API endpoints in folder abc/xyz. Find a suitable abstraction and put this function into filter-utils.codefile"

Lorak_ · 6 months ago
What tools do you use to perform such tasks?
Lorak_ commented on Great things about Rust that aren't just performance   ntietz.com/blog/great-thi... · Posted by u/vortex_ape
prmph · 8 months ago
> This function might not catch all Rust panics. A Rust panic is not always implemented via unwinding, but can be implemented by aborting the process as well. This function only catches unwinding panics, not those that abort the process.
Lorak_ · 8 months ago
As far as I know panics abort instead of unwinding in three cases: - When a panic happens during panic unwinding - When the application (not the dependency!) sets panics to abort in Cargo.toml - When the target doesn't support unwinding.

Which of those is the case for the desktop app described by the parent?

Lorak_ commented on Great things about Rust that aren't just performance   ntietz.com/blog/great-thi... · Posted by u/vortex_ape
threeseed · 8 months ago
Surprised more people don't talk about panics and third party libraries.

So a panic is when something happens that shouldn't and you want the app to just die. But the problem is that third party libraries can do this as well. And there is no way to wrap this behaviour.

For example, I used a PDF library that would panic when the file was doing something not in the spec. And rather than me being able to put up a dialog that said "this PDF is invalid" my entire process would die. Not great for a desktop app.

It is one of the more insane situations I've ever seen in programming in 30+ years. You literally have to beg third party developers to consider what is best for you rather than them.

Lorak_ · 8 months ago
I agree that libraries should avoid panicking, but it is not true you can't do anything about it. You can wrap a call to such library into https://doc.rust-lang.org/std/panic/fn.catch_unwind.html
Lorak_ commented on Mozilla is eliminating its advocacy division   theverge.com/2024/11/5/24... · Posted by u/doener
hackingonempty · 10 months ago
Now that few people use it, major sites are not just no longer testing on Firefox they are actively blocking it. Slack, for instance.
Lorak_ · 10 months ago
I use Slack on Firefox for over 3 years now, without any issues. I've never seen any blocking attempt.
Lorak_ commented on Show HN: Mermaid ASCII Diagrams   mermaid-ascii.art/... · Posted by u/AlexanderGrooff
Lorak_ · a year ago
Are you planning to support more of mermaids features? I tried one example where this could be useful to me - Mermaids gitGraph - and it looks like it's not supported.
Lorak_ commented on PEP 760: No more bare excepts   discuss.python.org/t/pep-... · Posted by u/ayhanfuat
drdaeman · a year ago
> And you can have a project that mixes those editions, and cargo will correctly use the edition asked for each crate.

I'm curious - if you had a `pub fn async(...){...}` in some 2016 crate, can you still call it from a 2024 codebase?

Lorak_ commented on Uv 0.3 – Unified Python packaging   astral.sh/blog/uv-unified... · Posted by u/mantapoint
Lorak_ · a year ago
Does it support building native extensions and Cython modules or are setuptools still the only reasonable way to do this?
Lorak_ commented on Things are about to get worse for generative AI   garymarcus.substack.com/p... · Posted by u/eddyzh
zarzavat · 2 years ago
This for me does not make sense as a copyright violation. It’s like saying that Adobe is in trouble because you drew something infringing in Photoshop. If you prompt the model with the intention of creating something infringing by mentioning the name of the characters and the work, and you get something infringing out, then it’s you who have infringed the copyright, not the maker of the tool.
Lorak_ · 2 years ago
Did you read the article? It shows a lot of examples when no specific names are mentioned, or even with very generic prompts producing copyrighted material.
Lorak_ commented on Anytype – local-first, P2P Notion alternative   anytype.io/?hn... · Posted by u/TTTZ
Lorak_ · 2 years ago
Do you plan to create native desktop app? Android app looks and feels good, but the desktop one is terribly slow (especially scrolling), probably due to being written in TS... I used Linux AppImage version if that matters.
Lorak_ commented on Zas Editor   zeditor.app/... · Posted by u/sodality2
Lorak_ · 3 years ago
Why don't you mention the fact that it is Mac-only before bottom of the page (download section)?

u/Lorak_

KarmaCake day30July 27, 2021View Original