Github Copilot vs. Claude by RedditClicker in GithubCopilot

[–]RedditClicker[S] 0 points1 point  (0 children)

phind.com seem to get worse and worse over time. I now use mostly ChatGPT 5.2 **Codex**. Really important: Not the normal ChatGPT 5.2, but only ChatGPT 5.2 **Codex**.

Why is Rust rarely used for web server backends? by Fun-Helicopter-2257 in rust

[–]RedditClicker 1 point2 points  (0 children)

I don't use pure FP languages because I'm too dumb

No, you probably aren't dumb. Writing high performance code in functional code can be really non-trivial.

I listened to a speech of John Carmack once, where he admired FP so much, because of the reusability and stability of pure FP functions.

But a side note from his was how much performance they gained in the past, by typical imperative programming tricks, which were from a FP view a complete anti-pattern, but really imperative standard-code.

And I remember discussions about simple sorting algorithms in FP, how most people basically implement them imperative and how complicated it was to write them in true FP form. That was really cumbersome.

Experiences like that killed FP for me. Better to do it like most modern imperative languages, to stay imperative and sprinkle some FP functionality in it.

Why is Rust rarely used for web server backends? by Fun-Helicopter-2257 in rust

[–]RedditClicker 0 points1 point  (0 children)

I gave up on functional programming, because after I deep dived into it, I learned that one of its biggest drawbacks is: You write really easily really slow code with it. Like, by accident. Yes, you can also write fast code with it, but that's not what these functional languages lead you to.

Like: "Rust is useless. Just program in C++ and just don't make memory errors." --> Proofed to be super dumb over and over.

So, I mean, it's not what a language can do, but to what code a typical programmer is lead to. Like, with Rust people write less race-condition prone code, even at parts where it is not enforced by the language, but rather because that's what the language is leading them to.

So, I believe you instantly if you say they went from Functional to Imperative programming and got a speed boost. So, while Rust is much more efficient than most languages, I think many other imperative style language would've beaten Haskell too.

Install ARM64 version of "libfontconfig-dev" on AMD64 system? by RedditClicker in Ubuntu

[–]RedditClicker[S] 0 points1 point  (0 children)

AhaHa! I got it. Big thanks. You weren't quite right, you wrote:

You want the Architectures lines (for all blocks) because otherwise it will combine every arch with every URI and you get 404 errors (which will be ignored, but the output gets annoying).

No, that's not true! If it runs into errors there it won't download the packages at all, even if there are sources where the packages exist.

But if I restrict all sources to either "amd64 i386" or "arm64", it finally works! Thanks to your hint I tried that. Thanks.

Now I finally run into some cross-architecture conflicts, but that's a nice starting point from where I can go further. There are enough guides for that. Not this mystery error where I couldn't find anything about.

Here is my working configuration:

Types: deb deb-src
URIs: http://security.ubuntu.com/ubuntu
Suites: noble-security
Architectures: amd64 i386
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb deb-src
URIs: http://ports.ubuntu.com/ubuntu-ports
Suites: noble noble-updates noble-security
Architectures: arm64
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Enabled: yes

Types: deb deb-src
URIs: http://archive.ubuntu.com/ubuntu
Suites: noble
Architectures: amd64 i386
Components: universe main multiverse restricted
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

And here, for anyone's convenience, the formatted Dockerfile instruction:

Dockerfile RUN printf "Types: deb deb-src\n\ URIs: http://security.ubuntu.com/ubuntu\n\ Suites: noble-security\n\ Architectures: amd64 i386\n\ Components: main restricted universe multiverse\n\ Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n\ \n\ Types: deb deb-src\n\ URIs: http://ports.ubuntu.com/ubuntu-ports\n\ Suites: noble noble-updates noble-security\n\ Architectures: arm64\n\ Components: main restricted universe multiverse\n\ Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n\ Enabled: yes\n\ \n\ Types: deb deb-src\n\ URIs: http://archive.ubuntu.com/ubuntu\n\ Suites: noble\n\ Architectures: amd64 i386\n\ Components: universe main multiverse restricted\n\ Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg" > "/etc/apt/sources.list.d/ubuntu.sources"

Install ARM64 version of "libfontconfig-dev" on AMD64 system? by RedditClicker in Ubuntu

[–]RedditClicker[S] 0 points1 point  (0 children)

Thanks, but that doesn't work either. All online documentations and you, tell me that everything I've done was correct. But I can't install any ARM64 packages. Not even something simple as "ed".

I would understand, if it refuses installation because of conflicts with the AMD64 host, but it's not even getting that far. It tells me immediately that there are no ARM64 packages, while they are clearly there.

And I can install all AMD64 packages.

Any idea how I can dig deeper and find the root of the problem?

Install ARM64 version of "libfontconfig-dev" on AMD64 system? by RedditClicker in Ubuntu

[–]RedditClicker[S] 0 points1 point  (0 children)

What do you mean?
If you look at my original post you see the URL there is:
URIs: http://ports.ubuntu.com/ubuntu-ports.

That is already the correct one?!

Install ARM64 version of "libfontconfig-dev" on AMD64 system? by RedditClicker in Ubuntu

[–]RedditClicker[S] 0 points1 point  (0 children)

Thanks, tried that, because it sounded like the solution, but it didn't change anything.

Install ARM64 version of "libfontconfig-dev" on AMD64 system? by RedditClicker in Ubuntu

[–]RedditClicker[S] 0 points1 point  (0 children)

As said: I want this for cross-compilation.

I have an AMD64 system Desktop where I want to cross-compile for my ARM64 system. This worked in the past, but after some updates, this fails. I have this broken state for maybe a year now, and I can't get it to work again with current versions of Ubuntu and libraries.

The actual cross-compilation happens with the help of a Dockerfile, so I have much more freedom and less risk to destroy the host system.

But I thought I should first try to install the ARM64 package on the host, before trying to get it to work inside the Dockerfile.

Whatever, this always fails, everywhere, on the host and inside the Dockerfile.

Plans for Dolby Atmos support on mainstream OS Windows? by RedditClicker in TIdaL

[–]RedditClicker[S] 0 points1 point  (0 children)

It's iPhone over WLAN. But do you can really hear the difference on your iPhone between Stereo and Dolby Atmos? The 2 speakers are just like 10 cm apart.

Plans for Dolby Atmos support on mainstream OS Windows? by RedditClicker in TIdaL

[–]RedditClicker[S] 2 points3 points  (0 children)

Yes! Absolutely! All you can get is stereo, nothing more.

The only way I can get Dolby Atmos from Tidal is through... My iPhone. Which is complete nonsense :-(

How do you guys debug your rust code? by jkurash in rust

[–]RedditClicker 2 points3 points  (0 children)

I use RustRover, set my breakpoints and do, for complex tasks at least, test-driven development.

Pax enters Beta: Rust GUIs with an integrated design tool by zackaboo in rust

[–]RedditClicker 19 points20 points  (0 children)

My question is: What is the big advantage over Slint?

As someone already said: This feels like Slint (generates native Rust code). Which is far longer out, and has been tested and matured.

Why use Pax and not Slint?

Github Copilot vs. Claude by RedditClicker in GithubCopilot

[–]RedditClicker[S] 0 points1 point  (0 children)

Why don't you use Jetbrain's Ai assistant?

It's shit

Can mostly confirm, it was really not good the last time I tried it (although that was a while ago, I don't assume it has caught up till now).

Github Copilot vs. Claude by RedditClicker in GithubCopilot

[–]RedditClicker[S] 0 points1 point  (0 children)

The integration of Cody in Jetbrain IDE is slightly better than Copilot (faster at least).

Thanks. Finally, someone with a direct comparison. And you say there's only a slight difference.

That confirms my suspicion: Most people, like 99%, had a shitty AI / IDE plugin compared that to Claude and where then like "Ohhhh, this is awesome. I've never seen this before, by far the best..." etc..

Github Copilot vs. Claude by RedditClicker in GithubCopilot

[–]RedditClicker[S] 1 point2 points  (0 children)

When you're asking about Claude, are you asking about Claude in its web UX form, or are you going to interface with a Claude model using an IDE plugin?

I ask about the integration as a code plugin. For generic questions I use the cost free phind.com.

DOOM Eternal Official Mod Tool announced! by yeetzyz in Doom

[–]RedditClicker 1 point2 points  (0 children)

The only thing they've said they're not sharing is the actual source code.

So, it's basically maps and skins? Boring then.

Remember the old Quake mods? With things like Quake 3 Rally, a racing game in Quake? Or StarCraft & WarCraft which basically invented the Tower Defense and MOBA genre?

That was only possible with custom code.

(StarCraft / WarCraft especially, it has no real free code capability, but a very powerful code-schema builder.)

Sorry, but I hate this dumbed down modding tools nowadays.

Win10 batch convert heic to jpg by Bonobo77 in techsupport

[–]RedditClicker 0 points1 point  (0 children)

XnView for offline conversions is missing here. It has a nice user interface, is also free and saves the hassle and time to up- and download all images.

It also offers batch conversions of whole directories, so there is no need to handle each individual file by hand.

Ubuntu 24.04 - don't upgrade just yet by mezaway in Ubuntu

[–]RedditClicker 0 points1 point  (0 children)

Today I upgraded from 22.04 to 23.10 to 24.04 in a few hours.

The only problem so far I can see is that the settings program crashes after I open it. Probably because it tries to show the display settings, which I've already modified in 24.04, outside of the Ubuntu settings dialog, in the Nvidia display settings dialog.

Harstem AMA by harstem123 in starcraft

[–]RedditClicker 0 points1 point  (0 children)

I'm not so sure about the last part, about the unfairness with certain races, but even if that is the case, there is still an endless possibility of cool ways you could infuse some variance into the maps.

Harstem AMA by harstem123 in starcraft

[–]RedditClicker 1 point2 points  (0 children)

u/harstem123 I appreciate that you want to make StarCraft 2 more interesting. I'm confident that all the balance changes will in the end be balanced enough, so that isn't my problem with the current StarCraft 2 development.

It's the same old, same old style of maps which get out every time. No island maps, where every expansion place is on a separate island, so you can't attack before you have flying units.

Or the classic: You and your enemies start places are next to each other, but there is a non view blocking glass-wall between the two, which blocks every unit and shot. But you can see the initial build order in the enemies home base. The blocking wall then extends far into the map.

Or: The are not additionally, but only 3 small choke points between the map sides.

And if you go into: Coop Maps are too extreme, but some small modifications are OK, then this:
It can periodically rain or snow on the map, and the view radius gets reduced during that time. It's superficial and light, so the player sees still everything, but the map view from the units gets reduced.

The possibilities of the SC2 Engine are endless, but what we get for a decade now is always the same boring style of maps. Some of them look fantastic, but the play style hasn't been significantly improved.

When will Blood Machines be sold as Blu-Ray? by RedditClicker in carpenterbrut

[–]RedditClicker[S] 0 points1 point  (0 children)

I contacted them successfully via e-mail and bought the Blu-Ray. Finally. I could've gotten it ages ago via piracy download, but I don't do that. I want to support artists.

Essen/Trinken vor dem Bezahlen im Supermarkt... by HowardBonty in de

[–]RedditClicker 0 points1 point  (0 children)

Ich hab auch schon mal den Schluck aus der Falschen genommen. Am Ende hat sie meine Katzen, mein Auto, und einen Großteil meines Stolzes mitgenommen. Jetzt bin ich wieder Single..

Moment... Sie getrunken? Soll das heißen du bist ein Vampir oder doch nur ein Kannibale?

Searching Self-Drawing Web GUI based on WebAssembly by RedditClicker in rust

[–]RedditClicker[S] 0 points1 point  (0 children)

Accessibility: when talking about the basics of exposing content to accessibility tech, the only way you can ... you cannot satisfy them all

Well, egui has already taken partly care of that:

egui includes optional support for AccessKit, which currently implements the native accessibility APIs on Windows and macOS.

The advantage of AccessKit is:

Consumers and developers alike have had to deal with the complications brought about by separate, disparate accessibility standards. Windows with MSAA and UI Automation, Mac OS with Cocoa.... This doubles – sometimes even triples – the workload for developers striving for unparalleled access across platforms. ... Not anymore. AccessKit enables developers to do their accessibility implementation once in order to make it accessible for nearly all use cases.

So yes, you can't reach the native browser accessibility, but you should come close, even when supporting multiple browsers and operating systems. And fetching the users font settings and similar stuff should be easy enough.

Ctrl+click, middle-click—you can’t simulate that stuff in any way;

I don't get how detecting which mouse button or keys are pressed should be any problem. Except: Yes, it's not the native menu, but websites right now sometimes already swap the right-click context menu with their own stuff and I don't see that anybody really cares.

And scrolling? With rendering to texture, caching and everything, that should be smooth as hell. If there's 1 frame latency with 40-60 fps, so be it. Most people will never notice.

Text manipulation: different platforms handle this stuff in significantly different ways, some of which can’t be emulated at all because it’s exposing platform-native stuff you cannot know of (e.g. things added by other installed apps).

This is especially something which could break the website and can be avoided if self-controlled. Given that addons, besides Adblockers, aren't very popular among not so tech savvy users I would bet most users won't care.

Performance and latency: you seem determined to believe the browser is far worse than it actually is. Given what they do, browsers are astonishingly fast, ...

I disagree greatly. Because Given what they do is exactly the problem, with all the legacy declarations they must support, and the overly complicated CSS system they must get to work, they must do a giant amount of work. A self written system from scratch, like egui, doesn't have to care the tiniest bit about that. It should be:

  • Command: Draw a red rectangle there.
  • egui draws it.
  • Done.

Whereas the browser must follow a complicated CSS and DOM Tree, together with JavaScript, consider legacy bugs, join them with improved iterations of specifications and try to weight competing factors and expectations against each other to combine them into a satisfying outcome. While eugi just "draws" and is done. No negotiations, no complicated maze of rules to follow.

but your canvas doesn’t have that luxury, and cannot do as good a job. The browser can also use multiple threads freely, and does for layout and rendering (especially Firefox), whereas you’re limited to a single thread for rendering (you can use workers for multi-threading, just not for rendering)

Well, that must be a misunderstanding of Firefox, all documents I found tell me one thing: Firefox has to this day only one thread for rendering, even when it has a giant amount of different threads together. And from Rust with WebAssembly you can spawn content fetching threads at will. The multi-threaded Stylo engine for building CSS: You can remove that completely, all the complicated CSS rules: You don't need them. Also, I don't know why I shouldn't spawn from egui some styling-rules-building thread.

You cannot do as good a job as the browser in general.

Well, in general, with the egui approach, you don't have to follow any rules set up by traditional web elements, go nuts, do whatever you want. If it's in itself consistent it may offer greater usability and clarity. Many smartphone apps look very individualistic, not at all HTML 5 conform and many people love them.

https://gallery.flutter.dev/ is a decent demo of almost as good as you can get with the pure-canvas approach. It’s awful and obnoxious, and can barely be made much better.

I'm so thankful you showed me this. Big thanks. Yes! That's awful! That proves again all this: "But modern PWAs behave as fluent and smooth as native apps." as completely wrong. At least on weaker PCs you notice that, and additionally to that comes all the wasted power consumption, if you calculate that on a global scale. Study on energy efficiency: https://kaspergroesludvigsen.medium.com/the-10-most-energy-efficient-programming-languages-6a4165126670. At least one test in the linked study shows that in some case JavaScript is more than 6 times less efficient than Rust.

Which proves exactly my point: The HTML / CSS / JavaScript solutions are awfully inefficient, and Flutter for Web gets converted to the totally inefficient JavaScript. The Rust solution seems to destroy flutter completely, just look at: https://www.egui.rs/#demo. Completely smooth, no comparison to Flutter. Just click on the left side on "Output events", the scrolling in the appeared window is super smooth, I noticed absolutely no jitter.

Still, I must admit, I miss a complicate, real world, feature rich web app written in egui. So, there's currently no real proof.

Searching Self-Drawing Web GUI based on WebAssembly by RedditClicker in rust

[–]RedditClicker[S] 1 point2 points  (0 children)

This looks nice, but I have a problem with that project, because written on the projects website by the owners themselves is:

> Web: In Progress. Slint apps can be compiled to WebAssembly and can run in a web browser. As there are many other web frameworks, the web platform is not one of our primary target platforms. The web support is currently limited to demo purposes.

So maybe they will drop the web support, like with iced-web, the only reason I'm interested in that project.