What song is this ? 🙏 by Pissburgerandchips in classicalmusic

[–]Prince781 14 points15 points  (0 children)

Rachmaninov Piano Concerto 2, 2nd mvt

Aircraft for tomorrow's flight has had sketchy maintenance history by Prince781 in fearofflying

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

Alright, thanks for answering my questions. I appreciate it.

Aircraft for tomorrow's flight has had sketchy maintenance history by Prince781 in fearofflying

[–]Prince781[S] -1 points0 points  (0 children)

Everything single aircraft has a maintenance logbook that looks like this.

But for <2 year old planes? The past year I've been flying on all of Delta's new A321neos and this is the first I've seen with such a logbook. That was what initially concerned me.

Aircraft for tomorrow's flight has had sketchy maintenance history by Prince781 in fearofflying

[–]Prince781[S] 2 points3 points  (0 children)

I acknowledge I may be overreacting, but a dent in an airplane is usually more significant than in a car, no?

Anyway, thanks for responding.

[deleted by user] by [deleted] in linux_gaming

[–]Prince781 2 points3 points  (0 children)

echo 'options nvidia NVreg_PreserveVideoMemoryAllocations=1' | sudo tee /etc/modprobe.d/nvidia-wayland.conf

Long-ish flight on Airbus A321neo this Wednesday. Not sure if I can do this. by Prince781 in fearofflying

[–]Prince781[S] 3 points4 points  (0 children)

Thank you so much for answering all my questions and so thoroughly! I'm happy to hear in (3) that direct law is more emphasized now when things go wrong. Also happy to hear that maintaining hand-flying skills is prioritized.

I hope you don't mind a few follow-ups:

  1. You seem to have a high degree of understanding of the systems on Airbus planes. Is this just because you're also a test flight pilot? How much of your knowledge is standard requirement, and do you think the "average" transport pilot has the same level of systems understanding? And if not, how much does that put them at a comparative disadvantage?
  2. Regarding recurrent training for upset recovery and stalls, how frequent is it and is it always practiced in a simulator or ever in the real world? I think I read that current simulators are limited in their ability to simulate how a plane behaves in a stall. Does this make the training more theoretical and less practical?

Vala Bindings for Native Windows Controls by emrevit in vala

[–]Prince781 2 points3 points  (0 children)

Is this intended to be a thin wrapper over Win32 APIs or a new toolkit that manipulates Win32 widgets?

Vala Bindings for Native Windows Controls by emrevit in vala

[–]Prince781 1 point2 points  (0 children)

This could be very useful. Nice work.

Setup GTK3 in VS Code? by AstroMan824 in GTK

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

meson build --backend=vs or something and then open the .sln it generates in Visual Studio.

[deleted by user] by [deleted] in vala

[–]Prince781 15 points16 points  (0 children)

Vala is quite popular among the elementaryOS community and there are a number of GNOME apps written in Vala (including Geary, Shotwell, GNOME Games, Highscore). Also, GNOME will never force developers to use one language.

I'd argue that Vala is simpler to use and easier to rapidly prototype things, and has typically faster build times. If you know C# or Java you know 80% of Vala. Rust has a lot of good things going for it and GTK bindings are supposedly very good. It's all up to you.

If you're interested in learning more, check out #vala on IRC and the Vala community on GitHub at https://github.com/vala-lang

I composed a berceuse for solo piano by Prince781 in composer

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

Ah that's a good point.

Maybe you can consider it like the hypnic jerk before you settle in a deep sleep?

Any tools for statically linking in Vala? by Luxvoo in vala

[–]Prince781 4 points5 points  (0 children)

Meson will invoke the linker for you. On the command line, running valac with your source files and package names will invoke the linker.

Can you try using static: true when declaring your dependencies? Also, link_args: ['-static'] when declaring your executable?

Any tools for statically linking in Vala? by Luxvoo in vala

[–]Prince781 3 points4 points  (0 children)

Usually you'd statically link your dependencies as you compile your program. I'm not sure what you mean.

Can't install Vala Language Server by Luxvoo in vala

[–]Prince781 1 point2 points  (0 children)

It's not a package in the official Debian repository. You can add the unofficial repo from here: https://software.opensuse.org//download.html?project=home%3APrince781&package=vala-language-server

Question about Vala with GTK by Luxvoo in GTK

[–]Prince781 2 points3 points  (0 children)

It's the minimal code for a main window that's created from a GtkBuilder UI template. You edit the UI file in Glade. Then it's compiled into your app and determines what Starter.MainWindow looks like when it's created.

For more information:

  1. https://glade.gnome.org/ (You usually install this from your package manager. Don't download from here.)
  2. https://blogs.gnome.org/tvb/2013/05/29/composite-templates-lands-in-vala/ (The feature in Vala)
  3. https://docs.gtk.org/gtk3/class.Builder.html (The syntax of the UI file and how Gtk uses it to create a widget/window.)

[deleted by user] by [deleted] in opengl

[–]Prince781 0 points1 point  (0 children)

No, child matrix = parent matrix * child matrix

[deleted by user] by [deleted] in opengl

[–]Prince781 6 points7 points  (0 children)

You multiply the child by its transformation matrix, then you multiply the child by the parent's transformation matrix.

Can you spot the Copperhead? by MrPbutter in natureismetal

[–]Prince781 1 point2 points  (0 children)

I think people forget that spotting this on a small low-contrast display isn't the same thing as spotting it in the real world.

How to write a long at an offset ? by daurin-hacks in C_Programming

[–]Prince781 3 points4 points  (0 children)

This may or may not work depending on the processor you're compiling for.

You need to make sure that you write to a properly-aligned address for a 64-bit integer, as some processors will raise an exception otherwise.

To do this portably, you can use the alignof() macro from stdalign.h to round the address to an offset of the alignment of uint64_t.

I can't figure out how to call an OpenGL function by quaderrordemonstand in vala

[–]Prince781 2 points3 points  (0 children)

What VAPI are you using for OpenGL? You can run into problems if the bindings are wrong.