WTF Bites



  • @ben_lubar See https://www.reddit.com/r/gamedev/comments/6575nr/is_it_actually_possible_to_earn_money_from_mobile/dg9nwfr/?context=2 for more analysis:

    Their icon is a resource in the hdpi density, and the Nexus 5 is xxhdpi so it may be upscaled to double the resolution, which would mean 7112x7112x4 would be 202,322,176.


  • Winner of the 2016 Presidential Election

    @ben_lubar said in WTF Bites:

    What modern phone has less than 70MB of RAM?

    Java


  • Notification Spam Recipient

    Darwin awards always have some WTF



  • @wharrgarbl

    :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).
    0_1492273884178_upload-811d696a-4e7c-49f7-a609-f1f2bc68d1aa
    Either way it fixes itself upon switching tabs. Not sure if I should be concerned.


  • Notification Spam Recipient

    @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".

    0_1492398969592_upload-019ff810-f60e-4f2f-aa0a-ace2d2501928

    I guess it's slightly more descriptive than "Something happened"...

    0_1492399067394_upload-8175aed6-71d1-44b9-8991-9e1b2bd70374

    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...

    0_1492399756136_upload-cd7900be-66c0-4582-983a-5d1959275f34

    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...

    0_1492400124994_upload-ad3ffe59-50d2-4585-90c5-f47c35c70a26

    0_1492400164096_upload-ef77836e-a73a-4da9-9593-d27fed115a07


  • area_can

    My browser bookmark icons don't look quite right...

    0_1492443321362_Screenshot_2017-04-17-11-34-19.png





  • Does Starbucks store locator use 24h time or not?
    0_1492451458409_upload-e13a86ca-7365-490a-863d-814e10d5e2ca

    • leading zeros suggest 24h
    • no am/pm indicates 24h
    • but it's actually 12h


  • @bb36e said in WTF Bites:

    My browser bookmark icons don't look quite right...

    I don't know, the :wtf: 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.


  • mod

    @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?


  • mod

    @hungrier said in WTF Bites:

    leading zeros suggest 24h

    Colons suggest 12h. Leading zeros just tend to be used for padding either way.


  • sockdevs

    @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 :tangerine:



  • @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:

    @hungrier 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?


  • mod

    @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" :rolling_eyes:



  • @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.



  • @hungrier said in WTF Bites:

    Does Starbucks store locator use 24h time or not?
    0_1492451458409_upload-e13a86ca-7365-490a-863d-814e10d5e2ca

    • 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:
    0_1492487511293_upload-9e1c1701-ace3-4b3f-8022-ff200458fe72

    Helpful. So I started poking around at other logs in Event Viewer around that time and eventually found this.

    0_1492487893368_upload-faca9735-1811-4772-a64f-c2f23c2a33b5

    I guess I just need to learn to love rebooting with multiple applications open.


  • Impossible Mission Players - A

    @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:
    0_1492487511293_upload-9e1c1701-ace3-4b3f-8022-ff200458fe72

    Helpful. So I started poking around at other logs in Event Viewer around that time and eventually found this.

    0_1492487893368_upload-faca9735-1811-4772-a64f-c2f23c2a33b5

    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.

    @LB_ said in WTF Bites:

    I agree it would be nice to have a modern OS with built-in user configurable app permissions and app sandboxing

    ChromeOS :trollface:?

    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.



  • @Bulb said in WTF Bites:

    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.



  • @LB_ said in WTF Bites:

    @Bulb said in WTF Bites:

    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


  • Winner of the 2016 Presidential Election

    @TimeBandit The only "isolation" chroot provides is that it's showing the program a different root directory.



  • @asdf

    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.


  • Winner of the 2016 Presidential Election

    @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. ;)


  • Notification Spam Recipient

    @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.


  • Winner of the 2016 Presidential Election

    @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.


  • Notification Spam Recipient

    @asdf said in WTF Bites:

    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.


  • Notification Spam Recipient

    @asdf said in WTF Bites:

    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


  • Winner of the 2016 Presidential Election

    @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.


  • Notification Spam Recipient

    @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 :stuck_out_tongue:



  • @TimeBandit Also, the article contains this image

    0_1492533012604_upload-53da313e-c69c-4de6-97ad-8ea13e0a6ac0

    Looks like the meal is actually optional


  • Winner of the 2016 Presidential Election

    Go home QtCreator, you're drunk.

    It compiles, BTW.

    Also, it stopped whining after I replaced qint16 with quint16 as it should have been (derp!), but that doesn't change the fact that the warning makes no damned sense.


  • Winner of the 2016 Presidential Election

    @Onyx said in WTF Bites:

    the warning makes no damned sense

    Yes, it does: It's warning you not to use Asterisk! :tropical_drink:


  • Winner of the 2016 Presidential Election

    @Onyx Does QT have a Q prefixed version of every type? Why doesn't it just use int16?


  • Discourse touched me in a no-no place

    @Jaloopa said in WTF Bites:

    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 in stdint.h and so is part of C99…?


  • Winner of the 2016 Presidential Election

    @Jaloopa said in WTF Bites:

    @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 a quint16 as a parameter, and while I'm sure that casting shouldn't be an issue in any way I prefer to use framework conventions.



  • @dkf said in WTF Bites:

    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++.



  • @Jaloopa said in WTF Bites:

    @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.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.