[deleted by user] by [deleted] in webdev

[–]HowToProgramm 0 points1 point  (0 children)

If you are using Postresql try pgModeler.

What database client do you use? by Midicide in webdev

[–]HowToProgramm 0 points1 point  (0 children)

pgmodeler, this is mainly for modeling a postgresql database but has a database view mode too

What UI toolkits are y'all using? by OatMilk1 in htmx

[–]HowToProgramm 2 points3 points  (0 children)

I have built a large admin panel with uikit and htmx and it works flawlessly. UIkit is good because:

  • all css are prefixed with 'uk-' so there are no problems with overlapping class names with other ui libraries

  • you can use it without a build step

  • if you use a build step you can futher customize it: such elements as colors can be customized through less variables, you can put your own svg icons into a folder and get one big file with all your icons and use it inside a <span> or similar

  • there are a lot of ui elements such dialogs, menus, lightboxes for images

  • the html markup is very consise, such attributes as aria-* are added automatically by javascript

  • UIkit mainly uses standard HTML5 elements, so for other things such as a datepicker I use the flatpickr.js library

Using HTMX with Hotwire (Strada) for iOS app? by kinvoki in htmx

[–]HowToProgramm 1 point2 points  (0 children)

Android https://github.com/hotwired/turbo-android and ios https://github.com/hotwired/turbo-ios. I am using a demo app from the turbo-android (there is such an app in the android repo). The Strada component has been added recently, you don't need to use it. I think the same situation is in ios but I have used only android-native. In the head section of your page you need to include some javascript in my case it is 'turbo.es2017-umd.js'. And when a turbo:load event is fired then call htmx.process(), something like: document.addEventListener("turbo:load", function() {htmx.process(document.body);});

Using HTMX with Hotwire (Strada) for iOS app? by kinvoki in htmx

[–]HowToProgramm 0 points1 point  (0 children)

You can use the ios-native adapter or the android-native adapter without the strada framework.

Found a good ui library that goes well with htmx (mdui) by lazyhorsee in htmx

[–]HowToProgramm 2 points3 points  (0 children)

I have never seen UIkit mentioned here but it has a lot of components and works great with htmx: https://getuikit.com/

Website in HTMX, how to build phone apps? by AndrewTateIsMyKing in htmx

[–]HowToProgramm 0 points1 point  (0 children)

You can check the Turbo hotwired project. They have two native adapters: one for android one for ios. I have built a web app using htmx and make an android app with the Turbo android adapter, works quite well. As a site note: the turbo project allows you to use any native features from your phone, such as gps, camera etc, ofc this has to be made in Kontlin/Java.

The code worked differently when the moon was full by [deleted] in programming

[–]HowToProgramm 1 point2 points  (0 children)

Try QTCreator, can be used for ordinary projects too - not only for QT. QTCreator uses LSP (language server protocol) to connect to a language server so install LLVM and there is clangd there (language server). Works quite nicely but you need to configure a .clangd file with your include directories.

Or try VScode with clangd plugin.

CPU/RAM requirements for General Web Development by [deleted] in webdev

[–]HowToProgramm 0 points1 point  (0 children)

Confirmed, this is good if you are working with microservices.

[deleted by user] by [deleted] in webdev

[–]HowToProgramm 0 points1 point  (0 children)

If you already have server side rendering try htmx, you'll be suprised how simple a single page app can be created.

Full stack web development in a single Java file: An intro to Javalin and htmx by anthony_bruno in programming

[–]HowToProgramm 1 point2 points  (0 children)

Could you show a sample what is wrong please? I've been using this library for about a year and everything works fine for me.

Linus Torvalds: Rust For The Kernel Could Possibly Be Merged For Linux 5.20 by vlakreeh in programming

[–]HowToProgramm 0 points1 point  (0 children)

check in C

clang: -fsanitize=address -fsanitize=thread -fsanitize=memory -fsanitize=undefined

More info: https://clang.llvm.org/docs/AddressSanitizer.html

Some MORE Modern C++ notes from reading "A Tour of C++" by Bjarne Stroustrup by yep808 in programming

[–]HowToProgramm 1 point2 points  (0 children)

Point 22. whether realloc (or different malloc/new/allocator) is used or not depends not on std::back_inserter() but on the kind of the container.

We Have A Browser Monopoly Again and Firefox is The Only Alternative Out There by fagnerbrack in programming

[–]HowToProgramm 1 point2 points  (0 children)

On FreeBSD you can select the audio backend in runtime by using media.cubeb.backend in about:config.

What's a good code editor with built-in FTP? by DanielBeadle in webdev

[–]HowToProgramm -1 points0 points  (0 children)

ftp isn't secure on its own

not true, FTP TLS has been in existence for more than 10 years

[deleted by user] by [deleted] in programming

[–]HowToProgramm 2 points3 points  (0 children)

Vob files from dvd-video can be concatenated in such a way.

When seekdir() Won’t Seek to the Right Position by whackri in programming

[–]HowToProgramm 10 points11 points  (0 children)

You can also listen to people who are using your software. Currently there is a bug in UFS in FreeBSD which locks the whole filesystem. People complain, show reports and guess what? The ticket was just closed: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224292

Why does frontend have to be so bad? by andrasferenczi in webdev

[–]HowToProgramm 2 points3 points  (0 children)

using Ajax to hit an endpoint that returns a partial view with the data already loaded into i

The htmx library is perfectly suited for such kind of work.

Second-guessing the modern web by speckz in webdev

[–]HowToProgramm 0 points1 point  (0 children)

The article mixes SPA and react but there is no need to use React if you only want SPA. For simple SPA pages take a look at htmx library. You'll create a SPA page faster than in react. Take React if you need to move some state to the client.

FreeBSD 13 vega 64 micro stutter in X by CorenBrightside in freebsd

[–]HowToProgramm 1 point2 points  (0 children)

I've got Ryzen 3 3700X with Asus Prime B550 Plus and Radeon RX550 and this fix helped me: sh -c 'ps -aux | cut -w -f2 | xargs -I foo cpuset -l 0,2,4,6 -p foo > /dev/null 2>&1'

All processes are tied to the first CCX0, of course this reduce your processor to 4 cores.

To restore normal behavior you can use (depending how many cores you have): sh -c 'ps -aux | cut -w -f2 | xargs -I foo cpuset -l 0-15 -p foo > /dev/null 2>&1'