WTF Bites
-
@blakeyrat send the a PR with it corrected ....
If you want to use an open source project it is kinda expected you contribute back to it in some way. This seems fairly trivial and I am sure they would appreciate the help as you are knowledgeable in all things :)
-
@blakeyrat send the a PR with it corrected ....
If you want to use an open source project it is kinda expected you contribute back to it in some way. This seems fairly trivial and I am sure they would appreciate the help as you are knowledgeable in all things :)
Good job making him mad.
@blakeyrat Threads are free. I'm sure there'd be enough content for one.
-
Performance of ld.exe under Cygwin:
$ rm bin/tests/something.exe; time make ld : bin/tests/something.exe done. real 1m56.010s user 1m48.410s sys 0m3.509s
Same thing with WSL/Ubuntu (so, still Windows 10):
$ rm bin/tests/something.exe; time make ld : bin/tests/something.exe done. real 0m6.296s user 0m2.234s sys 0m1.906s
The latter is also more in line with what I'd get with under a standalone linux. Or with VisualStudio for that matter. Wtf cygwin?
IIRC cygwin does some pretty crazy bullshit while linking to replace all the Linux API stuff with Windows API stuff or something like that. It's a dumb idea because the way it's done means cygwin executables can only be used within cygwin.
-
@ben_lubar said in WTF Bites:
cygwin executables can only be used within cygwin.
Cygwin executables can run on machines without the full installation; you need to include cygwin1.dll with the executable. Some programs may have a few other depencencies, but that's the main one that every cygwin executable needs.
That's my understanding, anyway. I've never actually needed to do that; I install cygwin on all my non-work Windows machines, and I don't copy cygwin executables to work machines.
-
@blakeyrat send the a PR with it corrected ....
If you want to use an open source project it is kinda expected you contribute back to it in some way. This seems fairly trivial and I am sure they would appreciate the help as you are knowledgeable in all things :)
While that is true, shipping shit that can't even run is pillory levels of offensive.
-
@ben_lubar said in WTF Bites:
IIRC cygwin does some pretty crazy bullshit while linking to replace all the Linux API stuff with Windows API stuff or something like that.
I never looked into it; I just assumed that it was linking against the cygwin DLL in the end. But, fair enough, that could at least explain why it's performing so differently.
Still, something(one?) must have fucked up to make such a large difference in link times.
@hardwaregeek said in WTF Bites:
That's my understanding, anyway. I've never actually needed to do that;
Same here.
I guess that some applications will further assume that files are in their unixy locations (so,
/usr/share/..
or whatever), so running them outside of the cygwin environment would be difficult anyway.
-
@ben_lubar said in WTF Bites:
Performance of ld.exe under Cygwin:
$ rm bin/tests/something.exe; time make ld : bin/tests/something.exe done. real 1m56.010s user 1m48.410s sys 0m3.509s
Same thing with WSL/Ubuntu (so, still Windows 10):
$ rm bin/tests/something.exe; time make ld : bin/tests/something.exe done. real 0m6.296s user 0m2.234s sys 0m1.906s
The latter is also more in line with what I'd get with under a standalone linux. Or with VisualStudio for that matter. Wtf cygwin?
IIRC cygwin does some pretty crazy bullshit while linking to replace all the Linux API stuff with Windows API stuff or something like that. It's a dumb idea because the way it's done means cygwin executables can only be used within cygwin.
No, it doesn't. It just links against the library (
cygwin.dll
) that provides the APIs. If it is building for the cygwin/msys target that is; the mingw targets link against the Windows libraries directly.There is also nothing like “within cygwin”. Cygwin binary won't run if it can't find the
cygwin.dll
, which on Windows means it either has to be in the same directory, or the cygwinbin
must be in%PATH%
, but beyond that it can be executed from anywhere. The library uses some kind of server process, but it will start it if it is not running.Wtf cygwin?
Windows, generally, suck when it comes to searching files. But additionally, the Windows API semantics has some differences that make the POSIX emulation in Cygwin (and MSYS2, which is a, IMO better, fork of it) jump through some hoops, so it sucks an order of magnitude more. The linker probably hits some pessimal case.
Presumably Microsoft, knowing internals of their system, implemented the APIs more efficiently in WSL.
-
I can't wait to use this newly installed program!
Starting it, it turns out to be the AMD Problem Report Wizard. Oh.
-
@atazhaia
Great! So you could use it immediately to report the issue
-
Pff, at least it's doing something.
Windows update has been downloading 2018-03 Cumulative Update since yesterday. When I left work yesterday it's been at 95% for a few hours. Right now it's at 0%.What is this thing even doing?
It managed to download and run Malicious Software Removal Tool for march in the meantime. It also sometimes changes from Windows Modules Installer Worker using CPU to Service Host: Local System using Disk, and back...
-
Wtf cygwin?
Also, it might be
make
rather than the linker itself that hits the windows and cygwin suck. Make is known to look for zillions of nonexistent files just in case they may be sources for some of its bajillion of implicit rules and that is precisely the slow operation in cygwin. Try to switch to something that does not have them, like CMake with ninja.Another huge source of cygwin suck is also the
fork
implementation, which is brutally inefficient using public WinAPI, though Microsoft probably has a more efficient one in WSL. But while that is expected to slow down the compile, which starts a couple of processes for each source, I don't think link would hit that.
-
First thing that pops up on my screen after I finish rebooting for an update:
-
Another huge source of cygwin suck is also the fork implementation
This. Since there's no
fork
syscall in Windows before WSL, Cygwin has to emulate that by making children discover they have been forked by looking up a flag in memory shared by all Cygwin processes, thenlongjump
ing to a buffer supplied via shared memory and waiting on two mutexes. Starting new processes in Cygwin is really slow.
-
Also, it might be make rather than the linker itself that hits the windows and cygwin suck.
No, in this case it's really the linker. Even in the Windows task manager a single
ld.exe
process shows up and sticks around for those ~2min.
-
Since there's no fork syscall in Windows before WSL
Actually there was Microsoft POSIX subsystem, later replaced by Services For Unix, from the beginning of Windows NT. It was even certified as POSIX compliant. However, it was never part of the standard API shipped with the system and the underlying interface to the actual microkernel is mostly undocumented and unstable.
-
@ben_lubar MAKE WINDOWS BETTER AGAIN
-
-
I can give feedback infinite times that this card is not useful, because contrary to their own guidelines on how notification card actions should behave, it just leaves the thing there for you to continue staring at.
-
@ben_lubar said in WTF Bites:
First thing that pops up on my screen after I finish rebooting for an update:
That's just the deserialized notification that was serialized to disk. It'll be removed and replaced with the one that says your system was updated, but only after the Windows Update service starts. Deserializing saved notifications happens first. The idea is that you don't want to lose notifications from restarting, but they didn't special-case this notification.
-
@lb_ how long does that normally take?
-
@ben_lubar Usually less than a minute. Either it forgot to replace the notification or one or more of the updates you restarted for failed to install. Or maybe it found more updates right after installing the last ones. Either way you've definitely got a WTF Bite there.
-
@ben_lubar Usually less than a minute. Either it forgot to replace the notification or one or more of the updates you restarted for failed to install. Or maybe it found more updates right after installing the last ones. Either way you've definitely got a WTF Bite there.
minimizes work stuff
-
Either way you've definitely got a WTF Bite there.
There is lots of Bites in Windows Update
-
@ben_lubar Yep, it forgot to swap out the notification. I think that's happened to me once before.
-
@lorne-kates said in WTF Bites:
@blakeyrat said in WTF Bites:
Er actually
Whee.
ActualWhee
mysql_real_whee
-
@timebandit said in WTF Bites:
Either way you've definitely got a WTF Bite there.
There is lots of Bites in Windows Update
Enough bites for an entire smörgåsbord!
-
@ben_lubar Might actually be a new update.
https://i.imgur.com/fID24Mz.png
-
@timebandit said in WTF Bites:
Either way you've definitely got a WTF Bite there.
There is lots of Bites in Windows Update
Enough bites for an entire smörgåsbord!
Enough for an entire "classic wtf week".
-
@pie_flavor said in WTF Bites:
@ben_lubar Might actually be a new update.
https://i.imgur.com/fID24Mz.pngMine isn't.
Also, Who the frick set my "Active hours" to 8a-2p? If it's Windows detecting my apparent work habits, they're off quite a bit...
-
@tsaukpaetra said in WTF Bites:
If it's Windows detecting my apparent work habits, they're off quite a bit...
or you need to work harder
-
@tsaukpaetra said in WTF Bites:
If it's Windows detecting my apparent work habits, they're off quite a bit...
or you need to work harder
-
@timebandit said in WTF Bites:
Either way you've definitely got a WTF Bite there.
There is lots of Bites in Windows Update
Yeah, I've just had the following interaction with WU on Windows 7:
"We have news updates for you!"
clicks bubble
"Your computer is up to date"Oh wait, as I went to close the WU window after I typed this it seems to have become self-conscious and now it's telling I do in fact have two security updates.
-
https://nytimes.com/2018/03/15/style/rihanna-snapchat-stock.html
Snapchat users noticed an ad that asked whether they would rather “slap Rihanna” or “punch Chris Brown.”
-
@bb36e
I'm mainly triggered by the lack of option
-
@ben_lubar said in WTF Bites:
@Benjamin-Hall said in WTF Bites:
Cross-platform :
Apps that open their windows under other apps. On Mac, the Office apps (most recent versions and old ones alike) are prime offenders; on Windows GIMP is horrific--it won't come to the front of other apps even if it has focus. You can move the window around and it will slide under all the other apps.
Apps that open their windows over other apps without taking focus.
Apps that randomly open their windows and do take focus. Especially when you're typing and you end up hitting a hotkey for the new window during the course of what you were typing.
Apps that restore a minimized window and grants focus to it before opening another file in a separate window of the same app.
-
@blakeyrat said in WTF Bites:
task tray icons like that on most desktop environments are controlled by the theme, not the software.
Ok? So it's a slightly different piece of software that's broken.
And it's FOSS, so anyone can submit a PR to fix the issue!
-
So apparently the spotify iframely embed sends HTTP requests to localhost...presumably to do something to the client if you have it open...weird:
-
So apparently the spotify iframely embed sends HTTP requests to localhost...presumably to do something to the client if you have it open...weird:
I assume to perform more tracking so Spotify can More Better serve your tastes and needs.
-
@blakeyrat said in WTF Bites:
@timebandit said in WTF Bites:
Same software (KDE's volume control) under a different theme
The theme is the problem
If the icon is put on a background color that can change, then the icon should itself have enough contrast to be useful atop any background color.
So the software is the problem. But if the software adapts to the theme, that works too. Either way, the problem is not (and is never) the user. If the user has trouble using an app, that's the fault of the app.
Once had a user reporting that data loaded into the grid weren't complete, some periods are missing. There was a scroll bar on the right hand side of the grid. The data she wanted was outside of the viewport.
One bug report regarding this, no one's ever had problems.
Yeah, sometimes the user's the problem.
-
@kt_ was there any indication on the grid that the grid itself was cut off or truncated?
-
@tsaukpaetra the same thing happens at 4K but worse. I was just emphasising with my similar troubles.
ITYM aphasizing
-
I'm kinda weirded out by all the X-rated options hotels.com offers me when I'm not sure about the date yet.
I did say I'll bring children after all.
-
@kt_ was there any indication on the grid that the grid itself was cut off or truncated?
Nope. It was the usual DevExpress grid.
-
weird
Well, it would make some sense to start playing it in the “thick” client if you have it running.
-
@bulb It never makes sense to use Spotify in the desktop client. The web version has one exxelent feature they seem unable to replicate in the desktop: namely that clicking the close button ACTUALLY CLOSES THE FUCKING APPLICATION
Note: I haven't used Spotify on desktop for quite a while, so this may have been fixed now. It was still a massive annoyance though
-
It never makes sense to use Spotify in the desktop client.
I am not claiming that it does. However, if somebody uses it, then it does make sense to forward play requests from the web to it.
The web version has one exxelent feature
For me, the key feature of the web client is that the μBlock Origin plugin can talk it out of playing ads. Very, very reliably. Colleague claims that privoxy can do that to the “desktop” version too, but that's still quite a bit more work to set up.
-
-
@bulb It never makes sense to use Spotify in the desktop client. The web version has one exxelent feature they seem unable to replicate in the desktop: namely that clicking the close button ACTUALLY CLOSES THE FUCKING APPLICATION
Note: I haven't used Spotify on desktop for quite a while, so this may have been fixed now. It was still a massive annoyance though
At least the Linux desktop client honors the close button. As far as Windows is concerned I have forgot.
-
As far as Windows is concerned I have forgot.
It's configurable. The default setting is (of course -_-) to minimize when the close button is clicked, but you can set it to close instead (aka do the fucking thing the fucking button is supposed to do).
-
The default setting is (of course -_-) to minimize when the close button is clicked
Obviously. Because it's not like there's another button 20 pixels away that does that