WTF Bites
-
-
@loopback0 said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
I was intrigued.
So you reread the poster?
I became indomitable.
-
@Tsaukpaetra that would be doing, don’t.
-
-
@Tsaukpaetra Not able to do MIT?
-
@HardwareGeek said in WTF Bites:
@Tsaukpaetra Not able to do MIT?
Mastication In Transit can be challenging, but with the right input it is possible.
-
@Tsaukpaetra said in WTF Bites:
Mastication In Transit can be challenging
The off-by-three thread is .
-
@HardwareGeek I don't know the Perl bindings very well, but the Python ones are pretty good (so long as you avoid thread shenanigans, but you probably should avoid those in Python anyway). I don't write a lot of desktop apps at the moment — web service integration is more useful — so it isn't a big deal.
I started Perl with a Tk application and found it pretty horrible. It was so easy to find a combination of layout managers that would just make your window show up blank without even an error message that I ended up writing a wrapper that would just emulate MUI's simple box layouters on top of a Tk grid and make it a bit less painful to use. Maybe there's some deeper wisdom within that my underdeveloped Perl-OO-fu didn't grasp at the time but I haven't really looked at it in 20 years.
GTKbuilder OTOH, that was fun. It vomits a big blob of XML that the app builds the GUI from but as long as you don't look at it and just let the engine do its thing, it works really well.
-
-
Did people seriously recommend Tk and GTK for GUI programming right after mocking .Net and XAML?
-
@Gąska YMBNH
-
@Gąska could be worse. Nobody recommended Enlightenment.
Yet.
-
I was appalled to see all the GUI stuff in .NET Core was Windows-only.
I heard of "MAUI" for .NET 6, but haven't had an occasion to truly try it yet. Plus Linux gets the shit end of the stick.
-
What's with the password-protected conference video websites that don't actually protect anything? One I've encountered recently had unguessable video URLs, but the playlist URL (which it gave in exchange for the password) was trivially guessable. Another one downloaded a large wad of JSON containing all the stream URLs before even asking me for the password.
To answer my own question, I think it boils down to a combination of two reasons. First, the content is so niche that most people even trying to access the website already have valid credentials, so there's almost nobody to protect against. Second, a certain amount of sharing is already expected: I've seen people just record everything on their screen (including a few important parts that weren't included in the official recording); share their credentials; I've seen one prof connect to a Zoom conference and share their screen in a Teams lecture to give the students a whiff of something they wouldn't be able to attend otherwise.
Which makes for the extremely low bar of "user isn't immediately presented with the content we wish to 'password protect' when loading the web page" and discourages trying to reach for anything above that.
-
@aitap We have similar things in my domain. My interpretation is that this kind of protections is just so that people sharing the information know that they aren't supposed to -- which means, since we are in a competitive industrial setting, that they know they must be careful with how they use/share that information with third parties (e.g. prospective clients).
It's not really intended to truly limit access to the information, since the primary goal of those presentations or documents is to share information (the amount of information is already tightly controlled, but everyone agrees that once it's in a presentation, it's essentially public even if the presentation is somehow password-protected). It's just about marking/preserving the ownership.
-
I was appalled to see all the GUI stuff in .NET Core was Windows-only.
I heard of "MAUI" for .NET 6, but haven't had an occasion to truly try it yet. Plus Linux gets the shit end of the stick.Yeah but who uses GUI on Linux?
-
It's not really intended to truly limit access to the information, since the primary goal of those presentations or documents is to share information (the amount of information is already tightly controlled, but everyone agrees that once it's in a presentation, it's essentially public even if the presentation is somehow password-protected). It's just about marking/preserving the ownership.
See also: entertainment industry
-
@Tsaukpaetra Yes and no. Obviously as soon as you're e.g. showing some video somewhere, you want it be seen and can't really avoid it being recorded. OTOH, in the entertainment industry the information shown (e.g. video) is by itself the only thing of value (e.g. if you watch a pirated movie you're not going to buy it). By contrast, in the kind of professional setting I'm talking about, the information shown isn't how companies make money, so they don't really loose much by it being "leaked." Hence weak protections, just enough to avoid "inadvertent" leaks.
-
Did people seriously recommend Tk and GTK for GUI programming right after mocking .Net and XAML?
Mocking...
.Net? No.
WPF? Not as such, although it's still a massive pain if one doesn't "get it" right away (along with Marvel vs Capcom).
XAML? Yes. I hate XML. It's one of those things I wish we could disinvent.
-
@Tsaukpaetra said in WTF Bites:
@loopback0 said in WTF Bites:
what would you suggest for desktop dev?
I was intrigued.
Parents were also encouraged to dress as Kak then rush in on their young, sleeping children at 3am, and screech as loudly as they could: "Don't, don't, don't."
Well then...
That’s far from the weirdest thing that’s happened in Scarfolk
-
Visual Studio Bites, part 4534276836834
Sometimes, out of nowhere, this will happen:
It doesn't seem to do anything, as all the VS features still work while it's up. Autocomplete, go to definition, find references, etc, all work. But as soon as I click "Close the program", that's when everything breaks
-
Visual Studio Bites
I logged in to my work Windows desktop Friday last week to find VS, which had been idle (i.e. solution open but not doing anything else) for a couple of days, telling me a process had crashed and that I should save and restart.
-
(please don’t say Electron please don’t say Electron)
You're just asking for someone to mention NW.js, but I'm not going to be the one.
Isn’t that basically the same thing though?
It can't be.
It's newer.
-
@JBert same basic concept though, take the guts of Chromium, graft on NPM, write UI code in JS.
-
@hungrier One thread crashes and triggers the Last Chance Exception Handler, which pops that dialog. The other threads in that process continue running and serving COM out-of-process calls, completely oblivious to their impending doom. Once you click Close, those threads are unceremoniously terminated along with the rest of the process, breaking everything.
-
It's newer
I thought that NW.js used the system browser library rather than bringing its own, but I clearly remembered wrong. It brings its own just like Electron.
I still think there was some variant that uses the system library (on desktop; on mobile Cordova uses the system one), but if it wasn't the NW.js, I don't know which one it was.
Update: there is https://tauri.studio/ (still beta). I think I've seen some prototypes before that.
-
@loopback0 In no way related but your post reminded me of a friend of mine who talks about how great IntelliJ is non stop. He had never used Netbeans and used eclipse for five minutes. So his experience of ides isn't that broad. (I used vim once to hack some js together on a production server and that was how I liked it!) He loves IntelliJ though. Bought a personal ultimate license he doesn't use.
He has to restart it at least once a day or else it will go funny. His words. Not mine. Also has to invalidate caches a few times a week because IntelliJ has shat the bed for some reason. On a beefy PC this is about ten to fifteen minutes of your life you won't get back. On the piece of shit laptops, we were given it was half an hour. It would have been more cost-effective to force him to use vim.
-
-
@Arantor Yeah, almost surely have seen that some time. The socket approach has certain disadvantages outside linux, and on linux if you don't care to set up a network namespace, which they almost certainly don't.
An application, for mobile, in Cordova, I worked on in the past used the cordova entrypoint for setup, but then used at least three separate sockets for talking to the native API. And the two layers of the API used another socket to talk to each other, because . Nevermore.
-
@Arantor … it also had link to this comparison. According to it, Flutter seems to be the most popular of the bunch. What I don't like about it though is how the app template (empty app they test the framework size on) has a directory of platform-specific C++ boilerplate for each platform. I thought it's better than that.
-
@Arantor … it also had link to this comparison. According to it, Flutter seems to be the most popular of the bunch. What I don't like about it though is how the app template (empty app they test the framework size on) has a directory of platform-specific C++ boilerplate for each platform. I thought it's better than that.
I tried Flutter but after a while you get into indentations of epic proportions because everything is a
<widget></widget>
. Animating something? Widget. Properties of an animation? Widget. Changing the colour? Widget.And so on and so forth.
Yes, of course you can hide the indentation by extracting things (into their own widget, naturally) but God help you if you then need to drill down into the tree to see where a particular effect is coming from.
-
@Rhywden Also, dart language. Does anybody know what is the reason for that language to exist? What is supposed to make it better than languages they already had?
-
… also, that comparison omits react-native. If it has flutter, which compiles to html+js rather than being written in it, shouldn't it include react-native too (not that I know anything about react-native)? … Oh, it's debile only, that's why!
-
Does anybody know what is the reason for that language to exist? What is supposed to make it better than languages they already had?
Wikipedia's list of programming languages has 690 languages. What is the reason for them to exist? I'm pretty sure the answer for ~680 of them is .
-
@HardwareGeek But for each of them there was somebody who must have had some reason to expend the effort to create the language. And while for a bunch of them it was it was just for fun and learning, this one is sponsored by Google, who already sponsored another language, Go, and quite a lot of effort was expended on it. So the authors must have clearly had some serious reasons to propose it.
How valid the reasons are and when it's worth one's time to learn that language are separate questions that may follow from the first.
-
sponsored by Google, who already sponsored another language
: Those CS language guys finished Go? Well, if they want us to keep paying them, they'd better find another project, quick!
-
@HardwareGeek Except they didn't. Go was first presented in 2009 and Dart in 2011, and both languages are under active development still (reminds me to check whether they finally added generics into go—looks like a preview in a last release).
Also, I don't think there is much overlap between people working on one and the other.
-
@Bulb Dart was supposed to be the original JS killer, backed by Google, how could it lose?
But it's gaining interesting ground - the canonical reference implementation for SASS is now based on Dart rather than on Ruby.
It has a different target than Go, which is server backend and notionally lower level than Dart.
-
-
-
Or have experience with Teams, and know they'll have to mess with it for at least 5 minutes at the beginning to get it working.
-
@loopback0 said in WTF Bites:
I agree. People who start a meeting 5 minutes early are
Then there's me:
:boss: Are you going to join the meeting?
: <Looks at clock, 10 min past> Oops. <joins meeting>
-
@Zerosquare Yeah, but you count that towards the scheduled meeting time, so you still shouldn't join early.
-
@Zerosquare said in WTF Bites:
Or have experience with Teams, and know they'll have to mess with it for at least 5 minutes at the beginning to get it working.
Teams isn't that bad IME, although none of the people I know who join meetings early do it because of that anyway.
-
@loopback0 said in WTF Bites:
I agree. People who start a meeting 5 minutes early are
Then there's me:
:boss: Are you going to join the meeting?
: <Looks at clock, 10 min past> Oops. <joins meeting>i'm in this post and I'm OK with it
-
@loopback0 said in WTF Bites:
I agree. People who start a meeting 5 minutes early are
*stares at coworker idling in the weekly meeting 21 minutes early*
-
@Tsaukpaetra said in WTF Bites:
@loopback0 said in WTF Bites:
I agree. People who start a meeting 5 minutes early are
*stares at coworker idling in the weekly meeting 21 minutes early*
-
@Tsaukpaetra The ones that still idle 20-30 minutes after the meeting has ended are the real heroes. Clearly much attention was paid to the meeting.
-
@cvi I might occasionally be in this post. Not often, though. I'm usually paying enough attention to notice when it ends — maybe nothing else, but I usually notice that — unless I happen to be taking a bio break, or something, at the wrong moment.
-