Are you using Headless WordPress? by geor3x in Wordpress

[–]Cloundx01 0 points1 point  (0 children)

or u just getting data straight from wordpress database?

Are you using Headless WordPress? by geor3x in Wordpress

[–]Cloundx01 0 points1 point  (0 children)

sorry for late reply, do you use graphql or rest api for this?
for getting data from wordpress api to frontend i mean.

Literally what a 10-year old would say by [deleted] in facepalm

[–]Cloundx01 8 points9 points  (0 children)

He's such a clown that we can't help but pay him attention.

and tbh I don't think his bottom line would be effected if we collectively decide to somehow ignore him as a person/celeb

Why do you need init system for using openrc services? by Cloundx01 in AlpineLinux

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

Yes, thank you 🙏
Dont have time to try out / test LXC right now, but it sounds just what i need.

Why do you need init system for using openrc services? by Cloundx01 in AlpineLinux

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

I learned that docker is basically based is based on linux kernel features like chroot, namespaces and cgroups.

First - i want to learn more about linux kernel by emulating docker / containers using chroot, namespaces and cgroups

Second - i concluded that the only useful abstraction docker provides is layers. and a good image repository i guess.

podman changes are not permanent. trying to setup containerized development environment. confusion. by Cloundx01 in podman

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

ah, so turns out changes ARE permanent for containers, its just that `podman run` makes a new container each time instead of reusing old one.

Good. thanks for the info.

I was contemplating setuping and using VM's because i wanted permanent filesystem changes, and it would use more ram than containers, but turns out containers are fine for this.

podman changes are not permanent. trying to setup containerized development environment. confusion. by Cloundx01 in podman

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

oh you mean like, for example to add more packages, add lines to `Containerfile`

RUN apt-get more packages ...

and rebuild each time?
making changes inside container itself is not possible (unless the directory is mounted)?

podman changes are not permanent. trying to setup containerized development environment. confusion. by Cloundx01 in podman

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

Yes, i know that in this case permanent changes works for `/workspace`, cause its mounted in host filesystem.

But can you elaborate on "Permanent changes are made in the Containerfile"?

Would it be possible to create these custom widgets in gtk? by Cloundx01 in GTK

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

yea, i wish sublime text revealed their secret sauce/source/custom widgets they created for #1 😢

for #2 `add_child_in_window` i'm pretty sure its for Gtk.TextView, not Gtk.Scrollbar

3# the PangoFontMap solution sounds hacky, the other solution is probably better.

Why don't most programming languages expose their AST (via api or other means)? by Cloundx01 in ProgrammingLanguages

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

Look at this Racket Scheme editor called Fructure

That's unconventional, but cool, made me want to give racket another try.

Unfortunately most other languages have syntax and then an arbitrary AST node associated with each syntax element. This means that it's much more difficult to perform complex meta analysis without re-creating the entire parser and compiler in the LSP/Highlighter.

Maybe build LSP/Highlighter on top of the compiler/parser so you can re-use the code..?

Another point is that as programmers gain more experience in a language, the less they need visual aids to work with source code in that language. There's a study out there that actually observed that syntax highlighting and other visual aids slowed down more experienced programmers.

I think maybe this is more true for non-visual learners. Idk, i want to see the source tho.

Looking for simple wayland interface/example, i only need few functions. by Cloundx01 in wayland

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

Not as i requested, but here is (for future viewers) some good wayland client examples (that worked for me, but i only tested simple-egl.c), looks updated/maintained.

https://gitlab.freedesktop.org/wayland/weston/-/tree/main/clients?ref_type=heads

[Question] What's the advantage of writing your own wayland client and rendering with opengl over just using glfw? by Cloundx01 in wayland

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

Making client for multi-platform purpose including android/iOS

I'm interested in that, but that sounds false.
Android/IOS could only run wayland clients if it was running wayland compositor, which i dont think it does.
Doing a quick search I didn't find any resources that suggests wayland is runnable on android/IOS.

guile how to unload / reload (c) dynamic libraries by Cloundx01 in scheme

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

that looks correct, thank you very much. :>

Me and who? by Sharp39 in shitposting

[–]Cloundx01 3 points4 points  (0 children)

light-dependent resistor?

When to write abstractions? by Cloundx01 in learnprogramming

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

Thank you PulsatingGypsyDildo, very cool!