HackerLangs
TopNewTrendsCommentsPastAskShowJobs

gen2brain

89 karmajoined il y a 10 ans

comments

gen2brain
·il y a 17 heures·discuss
Disaster. Well, I read stories about Rust and how there isn't much in the stdlib, but this is just too much. How many dependencies are there, on average, in other projects? I guess I am spoiled with Go.
gen2brain
·il y a 17 heures·discuss
But this is also just silly. The maintainer here did nothing (just a little chat here and there), but is sure that only optimizations are missing for this to be production-ready. How so, based on what exactly?
gen2brain
·il y a 19 heures·discuss
Does alacritty have, and/or work on a library that is reusable in other projects? If not, there is that to start.
gen2brain
·il y a 19 jours·discuss
How about something like this https://github.com/gen2brain/iup-go? Still not released, but I plan to clean all todos in the next few weeks.
gen2brain
·le mois dernier·discuss
That is because you call it "soccer"?
gen2brain
·le mois dernier·discuss
He would like a word, but browsers said no?
gen2brain
·le mois dernier·discuss
Recommended for people who like the horror genre.
gen2brain
·il y a 3 mois·discuss
I have been working for several months (maybe half a year) on the IUP fork, a cross-platform UI library with native controls https://github.com/gen2brain/iup-go . I added more drivers/backends, Cocoa, WinUI, Qt, GTK4, FLTK, and EFL. New controls, like Table, Popover, Toggle SWITCH, and modern Tray support. WebBrowser control uses modern browsers; there is a JAVASCRIPT attribute for proper hybrid native/web apps. GLCanvas now uses EGL for both X11 and Wayland, and of course, there is proper Wayland support for all Linux toolkits. I still have a long list of TODO with issues I want to fix, all the docs that need updating, etc. The plan is to post a "Show HN" after I finish with all current tasks.
gen2brain
·il y a 3 mois·discuss
He is Super Cereal.
gen2brain
·il y a 3 mois·discuss
I remember there was a kernel module for the Matrox/MPlayer combination. You get a new device that MPlayer could use. You did get `-vo mga` for the console and `-vo xmga` for X11; you couldn't tell the difference, and both produced high-quality hardware YUV output.
gen2brain
·il y a 4 mois·discuss
Sure, throw several thousand bombs on them. That surely will help. They send kisses currently and are very happy they and their children are dying.
gen2brain
·il y a 6 mois·discuss
This is an older thinkpad I am using, 4 cores, 16G of ram. LLVM is now dependency you cannot get rid of. That is painfull, but in the morning, after several hours it is usually done. Rust is LLVM plus I am not sure what, really painfull. And Gentoo also forces many different arches and flags for some reason, use flags are masked, you cannot easily disable them.
gen2brain
·il y a 6 mois·discuss
Error handling in Go is actually very nice. You do not have unhandled errors, not possible unless you really want to not handle the error. Now I even use it similar in Python, amazing how many errors I did not handle at all. But what got me into using Go is that there is no libc dependency, just system calls, static binary, that is just amazing. I can compile Go compiler in like few minutes. Rust I cannot even compile after 24h, I use rust-bin in Gentoo,luckily that exists.
gen2brain
·il y a 7 mois·discuss
Did such an attack with crazy moving windows happen in the past?
gen2brain
·il y a 7 mois·discuss
Window positioning? You cannot position the window, you cannot send a hint, nothing? So my pop-up with GTK4 will randomly be placed somewhere, anywhere, without any control. OK, GTK4 went further and also removed popups without the parent, so you hack that with an invisible anchor window and then write platform-specific code for sane platforms that CAN, of course, move the window. And let's not talk about window icons that you have to put somewhere on the file system?
gen2brain
·il y a 8 mois·discuss
I like how even the nus product (jpegli) is a significant improvement. I am in the process of converting my comic book collection. I save a lot of space and still use JPEG, which is universally supported.
gen2brain
·il y a 8 mois·discuss
IUP has custom-drawn controls for tables and cells (additional controls), and it uses another CD (canvas draw) library for that, not internal IUP Draw functions. I also started rewriting that to use the core IUP drawing functions instead. I also added a few more drawing functions, for rounded rectangles, bezier curves, and gradients. But ALL drivers, including Motif, have native table controls, so I really want to add one. Edit: Also, the GLcanvas control now has an EGL driver, with native Wayland support for GTK3, GTK4, and Qt6 (needs private headers). I modernized a bit of everything, added support for APPID, DARKMODE, etc. Linux uses xdg-open rather than hardcoding browsers. Win32 driver is not using the Internet Explorer web control but the WebView2 with custom loader, on GTK, you do not have to worry about the WebKitGTK, it will find the correct library with dlopen, etc, etc. But, there is still a lot to do.
gen2brain
·il y a 8 mois·discuss
To me, this argument always sounds like someone is being forced or threatened into creating a desktop app. It was never supposed to be easy; the goal is to create an app that users would want and will actually use.
gen2brain
·il y a 8 mois·discuss
I am working on the UI library and bindings for Go. Still not finished, but currently, the same app can be compiled for Win32, Cocoa, GTK2, GTK3, GTK4, Qt5, Qt6, and Motif. There is a web browser control, a GL canvas, and a regular canvas. I still work on the native table control, though.

https://github.com/gen2brain/iup-go
gen2brain
·il y a 8 mois·discuss
Not that I disagree, but HEIF is a container format. What is inside that container is essential. HEIC in HEIF, AVIF in HEIF, etc.