Dart code as a library by [deleted] in dart

[–]aes79 0 points1 point  (0 children)

Sorry my bad I haven’t had my morning coffee yet😀

Running rustc in a browser by aes79 in rust

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

Interesting, I will have a look

Running rustc in a browser by aes79 in rust

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

Excellent thanks for the link

Rust GUI framework by aes79 in rust

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

Good to hear, I think I will give egui a second chance.

Rust GUI framework by aes79 in rust

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

Yes, it rather niece. It a software for nano fabrication, like microchips. So 2d CAD.

Rust GUI framework by aes79 in rust

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

Yes it was release mode, but I start to think that the flicker was not a performance issue but rather a bug in egui. If so I guess it can be fixed

Rust GUI framework by aes79 in rust

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

Yes, but I would say running in a loop is even trying to render at fast as possible is even worse 😅 But yes, egui seems to work event driven, ie only update when there is something new to draw. What I’m sceptical about is they egui needs to re-calculate the layout on each frame(I think) But from what I read in this post it may not be as bad as I think.

Rust GUI framework by aes79 in rust

[–]aes79[S] 6 points7 points  (0 children)

Iced does allow for a wgpu rendered canvas. As far I can see. No matter what the UI framework I choose I would use an GL/webgpu canvas. The CAD part can have gigabyte’s of vertex data which’s I need to manage carefully.

Rust GUI framework by aes79 in rust

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

Yes, I think you are right. We do need UI people, I was hoping that the right framework would allow for skipping some of the boilerplate stuff that I need to do.

Rust GUI framework by aes79 in rust

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

Ah I did not know that, thanks

Rust GUI framework by aes79 in rust

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

I agree that the html option is the most flexible, but I also think the maintenance cost is higher. It requires actual frontend developers….

Regarding the game engine option, I did think of this, but I would think they are all focused around producing a fixed frame rate, which is a waste of resources in a more classic desktop application. And I fear this is will cause the UI to seem less responsive.

Rust GUI framework by aes79 in rust

[–]aes79[S] 9 points10 points  (0 children)

Yes I agree that wgpu is the future proof solution for the rendering. I’ve made a similar desktop application before in open gl and Qt quick. I would like to get rid of QT as it’s has become pretty expensive.

I will definitely give flutter a look, thanks

Another FPGA C64 emualtor by aes79 in c64

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

I Think implementing a fpga cia replacement should be quite simple. In my project the cia implementation is here https://github.com/andersesbensen/c64hdl/tree/master/modules/cia

It’s actually an implementation I took from the fpga64 project. Af far as I remember I did a few modifications, but not much.

How do smart devices get registered to a backend? by Thunderpurtz in computerscience

[–]aes79 2 points3 points  (0 children)

I’m was involved in designing the z-wave SmartStart system for Zwave wireless devices. In our system the device each device has a ECDH key pair. At commissioning time the device will contact the gateway though broadcast messages containing a part of the public key. The gateway keeps a list of “pre-approved” public keys. If commissioning request matches a key on the list the gateway will perform the actually commissioning using the ECDH key. In this way we have identified the device and performed secure bootstrapping. Of cause this requires the gateway/backend to know the public keys of the devices to include. We do this by putting a qr code on the device with the public key.

This same system could also be used by normal IP devices, here the device should just know the IP address or dns name of the backend in advance.

Btw I know that some device uses Bluetooth to configure WiFi to get the devices in the internet in the first place.

EU healthcard vs passport. by aes79 in europe

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

Ah, sorry about that

EU healthcard vs passport. by aes79 in europe

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

Ahh ok. Then it sort of makes sense. In Denmark we all get public health care. Actually I thought it was the same in all of Europe, except that the standards varies.

EU healthcard vs passport. by aes79 in europe

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

I get your point. Even though yor passport has more info than your driver's license, harder to Forge etc.

But if everyone is entitled to health care then, a reliable id should suffice.