#vala — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #vala, aggregated by home.social.
-
#Tuba 0.11.0 is now available, with many new features and bug fixes!
✨️ Highlights:
- Tuba moved to Codeberg!
- Full Mastodon quotes support
- Collections
- Hashtag Lists
- UnifiedPush
- Android builds
- Better custom emoji picker
- Improved media viewer
- More compact narrow layout
- Custom thumbnail support for media
- Font-size slider
🧵As usual, the release notes go into more detail, but this time they are even more informative, check them out: https://codeberg.org/GeopJr/Tuba/releases/tag/v0.11.0
-
Gnome Programming Question:
Are there any examples of using GTK4's
Gtk.GLAreain Vala? I am having the hardest time just getting to the bare-minimum setup. -
@vala @gnome
In the various Gnome/GTK docs, for Vala (or any other lang), there are no examples of how to use GSK.
A person found some and put them in a repo here: https://github.com/exynoxx/GTK4-GSK-Examples
It would be great if they could find their way onto the official docs at https://developer.gnome.org/documentation/tutorials.html
🦇
-
Managed to get just a little bit ahead in my classes, so I did a small bit of work on #Sunstone today after work. The feature I just added is bookmarks in the sidebar. Works decently well so far, but I'll eventually be adding a setting to choose whether it opens bookmark links in the current tab or in a new tab (right now it defaults to a new tab). There is a history tab in the sidebar which still isn't populated, but that will happen soon enough.
-
I don’t know if anyone looked into this and I don’t really know where to report it but I’m trying to access gtk source view for #vala https://vala-language.org/vala-docs/gtksourceview-5/GtkSource.View.html but it keeps redirecting to a completely different website called preply.com
-
I'm trying to write a thing in #vala with #javascriptcoregtk to run some user-defined scripts. I want to create an object which 'proxies' data from the app.
I'm trying to use
Context.register_classto register a class with some properties, and then create an instance viaJSC.Value.object, but I can't manage to get the object I want.
// test.vala // valac -o test --pkg javascriptcoregtk-6.0 test.vala && G_MESSAGES_DEBUG=all ./test static void main() { var vm = new JSC.VirtualMachine (); var ctx = new JSC.Context.with_virtual_machine (vm); var test_cls = ctx.register_class ("Test", null, null, null); var test = new JSC.Value.object (ctx, null, test_cls); info ("test is %s? %s", test_cls.name, test.object_is_instance_of (test_cls.name) ? "true": "false"); }
I gettest is Test? false. What I understand from the docs is I should get a new instance of the class "Test".Anyone can tell what I'm doing wrong? 😊
-
> What is #vala missing to be your favourite programming language?
xdg-desktop-portal-niri 🙃
-
Are you using Vala? Are you *not* using Vala?
What is #Vala missing to be your favorite programming language? What could we improve to make it more suitable for your use cases?
Let us know over at https://discourse.gnome.org/t/what-is-vala-missing-to-be-your-favorite-language/35239
-
Current setup:
IDEs: #Gram Editor @krig Fantastic editor, Zed without the AI crap, more control on your extensions and LSPs.
CLion: The University where I teach makes you choose between Jetbrains or VisualStudio. Not touching MS products so CLion it is.
Current languages:
#Vala by @vala_lang
#Zig by @andrewrk
#python #c #cpp. I'm teaching stuff with these at the University.Build systems #meson #cmake and #zig depending on the project.
I've been enjoying this arrangement for a while 😄.
-
Check out Crown Engine. It's written in Vala and open source .
I want to give it a spin soon as I can.
Hope they reject llm ai shit. Not sure.
Btw, go encourage them to join Mastodon!
-
radare2-bindings are back! Use the native APIs of #radare2 directly from Python, Go, #Vala or NodeJS/TypeScript, requires latest valabind 2.1.0 (or Swig). the vapi files has been updated to be in sync with r2-6.1.4 thanks to @AbhiTheModder for the contribs here to make that happen!
https://github.com/radareorg/radare2-bindings/releases/tag/6.1.4
-
-
I've been cycling between all agents known to man to vibe code the Email App.
#Antigravity, #Claude, #OpenCode, #Codex, #Cursor, #Gemini CLI, #DeepAgents, you name them.
$0 spent. Not going to spend a dime on it. If the free tier ends, I switch to another one.
And... progress! There are things left to fix, but may be I can fix them manually.
#VibeCoding #VibeCode #Programming #Vala #GNOME #Linux #Email #Mail #AI #SoftwareDevelopment #Coding #Code
-
This is what I meant:
Elementary Notepad.
It is a simple text editor, it isn't overloaded with options, nor the concept of projects. Just a simple file.
I'll soon have a running version. Hope the #elementaryos #linux #pantheon #vala gods see this and give me some feedback.
-
#Sunstone browser now has a searchable history. The period to display can be set to the last hour, day, week, a custom timeframe or 'all'. There is also an option to group the results by host. By default, 50 results are displayed per page.
This is a WIP and subject to change. This biggest miss so far is a link in the page to navigate beyond the first page of results, although you can get there by appending 'page/<n>' to the url. The link to the host also needs fixed to point to the correct uri scheme. There are other missing features, such as the ability to delete history items or bookmarks, and while there is a growing list of settings there isn't anywhere to change them yet. One step at a time.
History and bookmarks are currently displayed in web page form. I'll be adding abbreviated displays in the sidebar eventually.
#webbrowser #programming #vala #gtk4 #webkitgtk
https://codeberg.org/jeang3nie/sunstone -
I've been programming #vala exclusively in POSIX mode exclusive (no classes, just structs). I feels like C, but with niceties, (utf8 strings, delegates, struct methods, etc). Honestly it doesn't feel to far from like, say C3 or ZenC.
I made a simple void* array list struct, an ECS, and feel golden (alas, no generics)
The ability to emit C code means the result is portable and should wok almost everywhere.
I've been making a simple WASM game with the #raylib bindings and it works like a charm.
-
The first release of White Noise Media Player is up! It's currently working
I finished porting Melody from Granite and libsoup2.4 to GTK 4 + libsoup3 + Adwaita.
https://github.com/rogerweissenbrunner/whitenoise/releases/tag/v0.0.1
The first release is in .deb format. If you can test it, please let me know how it works on your machine!
#elementaryos #pantheon #gnome #mp3 #mediaplayer #melody #linux #vala #gtk #gtk4 #player #opensource #melody #whitenoise
-
I have an extensive collection of vinyls and their respective FLAC backups. I just noticed that my go-to music player (Melody, written by Artem Anufrij) is some 6 years old.
Learning Vala now, so that I can update it to Gtk4 and add a couple features I'm craving for.
-
I started a thread on the GNOME forum about the state of #vala maintenance. I don't have the answers, but let's discuss & figure out as a community what we can do to make sure that Vala is sustainable and can keep moving forward