Lambdas, afaik, are the simplest way to attach a callback function with parameters to a button in tkinter (aka, I want to be able to pass which button, or tile, was clicked). Basically, you can't pass it a function with parameters, but you can pass it a lambda that calls a function with parameters. Other than that, I've not found a use for them so far
Plus, before today, I really didn't have any idea what one was, so learning about them is always a plus.
Yeah, that's reasonable. Some languages do use them like that, while others implement the same behaviour in a completely different way without them, and it can make code get messier than it needs to be.
Anyone tried bundling Dolphin in a Flatpak? I might do that this evening, if it's possible.
There are a million ways we could distribute Dolphin on Linux that is better than a deb that only works on a certain version of one distro.
However, nobody's bothered to make a PR against infrastructure code to change it.

I guess most Linux users just compile their own builds?
Though Flatpak does seem quite interesting and better than a deb.
Tried building with Flatpak, but there's just a lot of things missing even in the GNOME SDK, such as bluez (goodbye bluetooth support) and libudev/libevdev (so basically no controller support). And that's ignoring the other issues such as not being able to open links from Dolphin even if all dependencies were available.
(06-16-2016, 07:39 PM)leolam Wrote: [ -> ]Tried building with Flatpak, but there's just a lot of things missing even in the GNOME SDK, such as bluez (goodbye bluetooth support) and libudev/libevdev (so basically no controller support). And that's ignoring the other issues such as not being able to open links from Dolphin even if all dependencies were available.
You can add these as external sources, as explained here:
http://flatpak.org/developer.html
(06-16-2016, 10:09 PM)Anti-Ultimate Wrote: [ -> ]You can add these as external sources, as explained here: http://flatpak.org/developer.html
Turns out libudev now belong to systemd and I can go fuck myself because systemd has too many dependencies.
I did read that page, but I didn't bother with the deps because as you say, it's way too complicated with libudev.
And that would end up taking up much more space than just building it normally.
Good luck to the lucky guy who manages to do it.