WTF Bites
-
-
Darwin awards always have some WTF
-
What an idiot.
-
Sometimes this happens with parts of webpages in Chrome now. Not sure whether it's the Creator's Update, or the latest AMD driver, as both changed when this started happening (because I reformatted).
Either way it fixes itself upon switching tabs. Not sure if I should be concerned.
-
@LB_ maybe disabling hardware accelerated rendering helps
-
@wharrgarbl it's infrequent enough that I don't care and I really prefer having hardware acceleration enabled, but I agree that would probably work around the issue successfully.
-
The YouTube Creator Studio app is pretty buggy and annoying to use when it comes to comments. Notifications are frequently duplicated 2-4 times, and if someone deleted their comment, tapping the notification just pops up a tooltip that says "Something went wrong".
I guess it's slightly more descriptive than "Something happened"...
Slightly.
Anyway, I went to try and submit feedback, which requires opening the menu that slides in from the left and covers 90% of the screen, and that menu is not available in the Notifications screen. Then it has the option to submit screenshot and logs, and the screenshot is just the menu covering 90% of the screen...
I mean, did they not test this and realize a screenshot of the slide-in menu is almost never what someone wants to submit feedback about? I guess it is if you want to submit feedback that their submit feedback feature is taking screenshots of the slide-in menu instead of the actual app...
-
My browser bookmark icons don't look quite right...
-
-
Does Starbucks store locator use 24h time or not?
- leading zeros suggest 24h
- no am/pm indicates 24h
- but it's actually 12h
-
My browser bookmark icons don't look quite right...
I don't know, the icon for Facebook and Twitter seems about right to me.
-
@hungrier Either that, or they only open the store for 1h30m in the early morning.
-
Isn't simulating a whole computer a bit overkill to run a single program? Then why do so many people use Virtual Private Servers, which require an independent OS per customer? Doesn't that defeat the point of OSs?
I think the problem here is that operating systems, Windows and Linux and the rest, seem to lack a simple way to run an executable isolated from the rest of the system in its own directory, even though they already have all (or most) of the permissions systems that you need to do it.
Discuss.
-
@anonymous234 said in WTF Bites:
a simple way to run an executable isolated from the rest of the system in its own directory
Isn't that the promise of containerization though?
-
leading zeros suggest 24h
Colons suggest 12h. Leading zeros just tend to be used for padding either way.
-
@Yamikuronue I regularly see times written like 16:45. IME, colons are just a convenient way to separate hours and minutes.
Unless you're Italian, in which case you use periods and feck up my integrations
-
@Yamikuronue said in WTF Bites:
Isn't that the promise of containerization though?
Which requires 3rd party software instead of being available natively in OSs (maybe some recent ones?). So that just reinforces my point.
-
@Yamikuronue said in WTF Bites:
leading zeros suggest 24h
Colons suggest 12h. Leading zeros just tend to be used for padding either way.
Dutch (and I think also Germans) commonly use hh:mm for 24-h time. Using a period there is French, I think.
Filed Under: Standardization? What standardization?
-
@PleegWat Starbucks is American though, and American companies that use 24h often use "military time" where it's written "0800" instead of "08:00". It's as valid a metric as "leading 0 means 24h"
-
@anonymous234 said in WTF Bites:
@Yamikuronue said in WTF Bites:
Isn't that the promise of containerization though?
Which requires 3rd party software instead of being available natively in OSs (maybe some recent ones?). So that just reinforces my point.
Quite a bunch of it is kernel; see clone, particularly the CLONE_NEW* are all containerization flags separating stuff that isn't normally separate per process. You will probably need a separate chroot call as well.
It's not drop-in, but unsurprisingly most of the kernel features are actually in the kernel.
-
@anonymous234 said in WTF Bites:
Which requires 3rd party software instead of being available natively in OSs (maybe some recent ones?)
UNIX has had jails and zones for years built into the respective OSes.
-
@loopback0 Yet they don't seem to be used as much as they could.
Without the userland tools, support on the necessary places, and a culture that encourages using them where appropriate, they are useless.
-
@anonymous234 I agree it would be nice to have a modern OS with built-in user configurable app permissions and app sandboxing. A while back I mocked up some example permissions:
https://jsfiddle.net/LB__/f6hns6qq/
I'd be surprised if we ever got anything close to it in my lifetime, though.
-
Does Starbucks store locator use 24h time or not?
- leading zeros suggest 24h
- no am/pm indicates 24h
- but it's actually 12h
No, they're just open for -1 hours today.
-
I got sick of my work computer rebooting to install Windows (7) updates, so last week I changed the update setting to "Download updates but let me choose whether to install them". I figured that way I could periodically shut down my applications cleanly and do updates, rather than having everything quit unexpectedly when I wasn't looking.
I came in this morning to find my workstation had rebooted itself over the weekend. Windows Update claims updates were last installed on 24th March. I decided to poke around in Event Viewer to see if I could work out what had caused the reboot.
The first relevant thing I came across was this:
Helpful. So I started poking around at other logs in Event Viewer around that time and eventually found this.
I guess I just need to learn to love rebooting with multiple applications open.
-
@Scarlet_Manuka said in WTF Bites:
I got sick of my work computer rebooting to install Windows (7) updates, so last week I changed the update setting to "Download updates but let me choose whether to install them". I figured that way I could periodically shut down my applications cleanly and do updates, rather than having everything quit unexpectedly when I wasn't looking.
I came in this morning to find my workstation had rebooted itself over the weekend. Windows Update claims updates were last installed on 24th March. I decided to poke around in Event Viewer to see if I could work out what had caused the reboot.
The first relevant thing I came across was this:
Helpful. So I started poking around at other logs in Event Viewer around that time and eventually found this.
I guess I just need to learn to love rebooting with multiple applications open.
So your domain has a System Management Server pushing updates anyways? Funny.
-
@anonymous234 said in WTF Bites:
Isn't simulating a whole computer a bit overkill to run a single program?
Depends on what “single program” is. If it is a calculator, sure. If it is a web server with lot of resources and some web applications on top of it, not really.
@anonymous234 said in WTF Bites:
Then why do so many people use Virtual Private Servers, which require an independent OS per customer? Doesn't that defeat the point of OSs?
Most of the “operating system” is the support in user-land and for server, each customer wants to have different version or configuration or something, so they want their own copy of this part anyway.
The cheaper VPSs are usually just compartments already, so there are not separate kernels. Separate kernels do have some advantages though, because is still some support e.g. for debugging or say the customer wants some special network filesystem that needs kernel driver.
If we had common micro-kernel, we could have more general compartments with common micro-kernel and specific services. But we don't, so we have the hypervisor, which is similar to a micro-kernel and under it the individual kernels. The part that could be common is not that big anyway.
I agree it would be nice to have a modern OS with built-in user configurable app permissions and app sandboxing
ChromeOS ?
Actually, the compartments sandboxing in Linux is quite good. And there is flatpack for packaging applications to run in the sandboxes. But it, or anything similar, hasn't caught up yet.
-
ChromeOS
That's pretty close, but like Android, the permissions configurable by the user are extremely limited - just a small selection of allow/ask/deny and then everything else is either allowed always or not possible. ChromeOS is definitely in the lead out of all current operating systems I've used, though.
-
ChromeOS
That's pretty close, but like Android, the permissions configurable by the user are extremely limited - just a small selection of allow/ask/deny and then everything else is either allowed always or not possible. ChromeOS is definitely in the lead out of all current operating systems I've used, though.
The system itself is extremely limited too. It is a browser-aspiring-to-be-OS-running-on-top-of-locked-down-OS. So it only runs ECMAScript applications. Ok, and WebAssembly. WebAssembly is the new Java (except this time there actually seems to be buy-in from all major software companies so it might catch on better).
-
@anonymous234 said in WTF Bites:
I think the problem here is that operating systems, Windows and Linux and the rest, seem to lack a simple way to run an executable isolated from the rest of the system in its own directory
-
@TimeBandit The only "isolation" chroot provides is that it's showing the program a different root directory.
-
Which brings this nice feature:
A program that is run in such a modified environment cannot name (and therefore normally cannot access) files outside the designated directory tree.
As long as you don't run your process as root.
FileUnder: Chroot was never supposed to be used as a security mechanism.
-
@TimeBandit But you still cannot control the program's resource usage etc., so you need cgroups as well for true isolation. Also, you can still see all other processes, so namespace isolation might be necessary as well. And if you combine the three, you've reinvented LXC and Docker. ;)
-
@anonymous234 Because OS are all doing a bad job at this, and VMs and containers are easier than creating a new incompatible OS that may or may not do a better job at isolating all the things.
With DOS I usually copied a program in a directory and all it's stuff would remain there, and it didn't depend on anything outside of it. OS should have remained like that.
-
@wharrgarbl said in WTF Bites:
Because OS are all doing a bad job at this, and VMs and containers are easier
You do realize that "containers" use functionality provided by the OS for the purpose of isolating different programs or process groups? This sentence therefore doesn't make any sense.
With DOS I usually copied a program in a directory and all it's stuff would remain there, and it didn't depend on anything outside of it.
You do realize that there are solutions for doing just that, for example Ubuntu's Snaps? It's not the OS's fault if developers don't want to write sandboxed apps, but actually integrate with the OS. (Which, BTW, is not a bad thing.)
Oh, and every Linux program you install into /opt does exactly what you want.
OS should have remained like that.
I'm pretty sure you're the only one who wants DOS back.
-
You do realize that "containers" use functionality provided by the OS for the purpose of isolating different programs or process groups? This sentence therefore doesn't make any sense.
Containers wraps it all in a easier to use UI, don't let the app depend on my host system libraries and don't let the app spread into multiple directories like var lib and etc.
I have to read more about snaps.
-
I'm pretty sure you're the only one who wants DOS back.
DOS is still with me. We actively maintain a program with it.
And I would love to get rid of it, but on this regard it was better. Copy paste installation FTW
-
@wharrgarbl said in WTF Bites:
Copy paste installation FTW
Works with third-party Linux program that installs itself into
/opt
, like it should. And, of course, with any application on OS X.
-
@wharrgarbl said in WTF Bites:
I have to read more about snaps.
Their homepage has a getting started with tutorials and stuff, but not a single paragraph telling what the fuck is snap and how it differs from docker.
-
@wharrgarbl said in WTF Bites:
but not a single paragraph telling what the fuck is snap
From Wikipedia:
Snaps is a Swedish and Danish word for a small shot of a strong alcoholic beverage taken during the course of a meal
That looks way better than Docker
-
@TimeBandit Also, the article contains this image
Looks like the meal is actually optional
-
Go home QtCreator, you're drunk.
It compiles, BTW.
Also, it stopped whining after I replaced
qint16
withquint16
as it should have been (derp!), but that doesn't change the fact that the warning makes no damned sense.
-
the warning makes no damned sense
Yes, it does: It's warning you not to use Asterisk!
-
@Onyx Does QT have a Q prefixed version of every type? Why doesn't it just use
int16
?
-
Does QT have a Q prefixed version of every type? Why doesn't it just use
int16
?Why not
int16_t
, given that that's actually defined instdint.h
and so is part of C99…?
-
@Onyx Does QT have a Q prefixed version of every type? Why doesn't it just use
int16
?I'm assuming it's some (possibly outdated) multiplatform compatibility thing. I'm using the type myself because the method call I use later on (
QTcpSocket::connect
) takes aquint16
as a parameter, and while I'm sure that casting shouldn't be an issue in any way I prefer to use framework conventions.
-
Why not int16_t, given that that's actually defined in stdint.h and so is part of C99…?
For Histerical Raisins. Qt started in 1991, long before C99 (1999) and long before C++11 (2011). And keep in mind that Microsoft totally ignored C99 and only added
stdint.h
when it was clear it is going to make it into C++.
-
@Onyx Does QT have a Q prefixed version of every type? Why doesn't it just use
int16
?Quantum-computing ready.
-
Some people just have no understanding of what they are doing on the web.
Unfortunately, my wife is sometimes one of them.
She'd been filling out an online application for a workshop program for our eldest daughter. She told me she'd saved the application - which, of course, some sites let you do - and she had a printed copy (5 pages) that she got me to check through that evening.
The next night, after I'd confirmed that it was all OK, she went to submit the application. I wasn't in the room at the time. The next thing I heard was "Has this actually submitted properly?" I called back "I don't know", and wandered in to see what was up.
It turned out that her definition of saving the application was using the browser's "Save page as" feature, which gave her a nice reconstruction of the final page in the online application, but the "Submit" and "Back" buttons for some reason didn't work very well...
I didn't try to explain about session state. I did try to explain that she'd only saved what the last page of the application looked like (not strictly accurate I know, but LiesToChildren) and that she'd need to retype all the information into the actual online application. This was about an hour before the deadline; we were glad it wasn't five minutes.
-
Resharper, please.