Post has attachment
Should I implement Schema in my JSON library ?
-
votes visible to Public
80%
YES
20%
NO

Post has attachment
latest version of GXml is available for Ubuntu in this PPA

Post has attachment

Post has shared content
Gradio 6.0 is here!

New features:
- Group your stations into collections
- Everything is now sortable
- Extended search page
- Stations can be created and edited with Gradio itself
- Library import/export
- Details sidebar
- New selection system
- ...

New binary packages of Gradio will be released soon. I'm going to push Gradio to Flathub and to snapcraft.io within the next days.

Get more information here:
https://github.com/haecker-felix/gradio/releases/tag/v6.0
Animated Photo
PhotoPhotoPhotoPhoto
10.09.17
12 Photos - View album

I have an error that I can not solve in my application!

When executing the conversion command through a subprocess, and return the value (conversion status) with each change:

while (true) {
string str_return = yield data_input_stream.read_line_utf8_async ();

if (str_return == null) {
    break;
} else {
    // display return on console
    GLib.message (str_return);
}

Note *: Only in video conversion, it does not return me with each new line.

Bringing the whole string only at the end without interpreting the characters "\ u00d" as line breaks. Example of output

frame = 57 fps = 0.0 q = 28.0 size = 23kB time = 00: 00: 02.34 bitrate = 79.6kbits / s dup = 1 drop = 0 \ u000dframe = 79 fps = 76 q = 28.0 size = 97kB time = 00: 00: 03.28 bitrate = 242.1kbits / s dup = 1 drop = 0 \ u000dframe = 109 fps = 71 q = 28.0 size = 187kB time = 00: 00: 04.52 bitrate = 338.3kbits / s dup = 1 drop = 0 \ u000dframe = 141 fps = 69 q = 28.0 size = 273kB time = 00: 00: 05.84 bitrate = 383.2kbits / s dup = 1 drop = 0 \ u000dframe = 169 fps = 65 q = 28.0 size = 357kB time = 00: 00: 07.04 bitrate = 415.6 kbits / s dup = 1 drop = 0 \ u000dframe = 199 fps = 64 q = 28.0 size = 436kB time = 00: 00: 08.27 bitrate = 431.1kbits / s dup = 1 drop = 0 \ u000dframe = 232 fps = 64 q = 28.0 size = 530kB time = 00: 00: 09.64 bitrate = 450.6kbits / s dup = 1 drop = 0 \ u000dframe = 265 fps = 64 q = 28.0 size = 625kB time = 00: 00: 11.05 bitrate = 463.4kbits / s dup = 1 drop = 0


Repostory: https://github.com/robertsanseries/ciano

Class: https://github.com/robertsanseries/ciano/blob/master/src/controllers/ConverterController.vala

The start of conversion starts with the: on_activate_button_start_conversion (Line 200)

Method that executes and returns string: execute_command_async (Line 249)

The libgda should not be included in the current version of vala?

Post has shared content
CSS for your XML tree!
GXml and CSS

GXml have no support for CSS, in this case selectors, so +breizhodrome pushed a Bug Report to add it (Bug #786880), so I started to check it out.

I think we can't call python in a subprocess in order to support CSS, but implement it in some way in Vala or use an external C library.

I was investigating and found MyCSS as a possible GXml's external dependency for CSS support. After check it out, MyCSS have plane C API to parse CSS and so Selectors. We can't use it directly because it hasn't Vala bindings and we need to use parsed CSS to run over GXml's tree and return DOM4 elements lists. I'm planning to add C methods and its corresponding Vala bindings, we can use internally to add CSS selector support to GXml and pass DomNode objects to check if it match a selector, so create the elements lists returned by GXml.DomParentNode query_selector().

Does any one want to help?

Do you know If there are any repository repository for Vala development out there?

I would like to create one docker repository for Vala development and GXML.

Post has attachment

Post has attachment
Good morning guys, I have a question, I have a Double number, and I want it to have only 2 decimals.
And been reading https://valadoc.org/glib-2.0/double.html
But I do not understand how to use DIG, MIN, etc, they could help me.
Wait while more posts are being loaded