WTF Bites
-
@tsaukpaetra said in WTF Bites:
Am I alone in thinking it's a bad idea to name two different things the same?
Also: Fuck you, I specifically made that damn dropdown because it was fucking terrible to add shit to vendors by DBID! I wish there was a ticket on that so I could shove it in your face right now...
What does BP stand for? I can guess the P is for product?
Blueprint.
-
Fast answer, posted before I finished reading the thread.
+1, would ask random stuff again.
-
Fast answer, posted before I finished reading the thread.
+1, would ask random stuff again.
Only when I'm active. You caught me before I could hobble off to bed for the night.
-
make Poland a second Japan
he just wanted the weird porn and stuff didn't he
-
make Poland a second Japan
he just wanted the weird porn and stuff didn't he
And it's about to get weirder!
-
@tsaukpaetra
Porn or Poland?
-
@luhmann I don't think porn of Poland would be weird (at least not in certain contexts). I'd go hunt down a couple example pictures but I am at work so I'm not gonna go search through the Rule34 archives, as I don't think I can motivate it as relevant to my work.
-
-
@tsaukpaetra
Porn or Poland?Pornland?
Or to rehash last christmas:
-
His other memorable quotes include "everyone will get 100 millions" and "we'll make Poland a second Japan".
MPGA
-
Why in the name of sanity do you need two different methods for this? If you're processing things with a globally registered DataBuilder, and things that implement DataSerializable, then it seems to me that the sanest implementation would just be to register a DataConverter that takes all DataSerializables. 'Cause not only is that what is done in the library they pull in for configuration, but that's what Sponge itself does for serializing anything serializable by that configuration library!
-
I wish Firefox private browsing feature didn't announce to everyone around that I'm using private browsing. Typing in address in new tab takes some time, and the all-purple with huge ass mask icon and "Private browsing" label is very visible and eye-catching.
-
@gąska That's probably as designed. The problem seems to be that the people who can see you using it assume this means you're up to something shady, although you have legitimate uses.
-
-
@gąska Tell your cow-orkers there's nothing wrong with private browsing.
-
Put this in your userContent.css.
@-moz-document url(about:privatebrowsing) { html.private { --in-content-page-background: #888 !important; } h1.title { font-size: 1.5em; background-image: unset !important; } a.button { background-color: #444 !important; } .toggle:checked + .toggle-btn { background: #474 !important; border-color: #242 !important; } }
Edit to add: you'll probably want to make a better customization than this. I don't have the time currently. But this should get you on the right track.
If you don't know where to put userContent.css: go to about:support, under Application Basics hit Open Folder (to open your profile folder), create directory "chrome" if it's not there yet, create userContent.css there
-
"we'll make Poland a second Japan".
He wanted to be bombarded with a few atomic bombs?
He wants vending machines that sell girls' used underwear?
-
After trash pickup found a political flyer wedged in the lid of the recyclables bin.
How convenient!
-
@greybeard
Seems like the ideal product placement... "vote for John Doe, he's better than what you just sent to the dump!"
-
@gąska Tell your cow-orkers there's nothing wrong with private browsing.
-
@hardwaregeek said in WTF Bites:
Russian обязать is obviously related and according to Wiktionary it's somehow related (don't ask me how, I can read that just via Google Translate) to Greek περιπλέκειν
That doesn't make sense. Περιπλέκειν would be transliterated periplekin, so there's no obvious similarly in the letters, and it means "complicate," so there's no apparent relationship in the meaning, either.
I find it translated as "to weave/tangle" which fits "to complicate" but is also obviously related to "to bind" (as in "ligare" or "обязать") and to what seems to be the modern use -- Google's first hit for the word is a knitting website. The letters—beats me, Russian etymologists seem to consider it related. No idea, it really doesn't look similar.
Edit: fix spelling
That translation of περιπλέκειν makes the connection of λεκ (lek) to the Proto-Indo-European *leig- apparent. (At least I'm willing to accept the word of somebody who's studied the subject, although sometimes how they infer the connections baffles me.) But my knowledge of the Cyrillic alphabet and Slavic languages is far too limited for me recognize the connections there.
-
Relative time WTF
-
Status: WTF is a "pump priming dummy plug"?
ImageFilterWorkerManager
-
@hungrier What crazy theme is that?
-
-
@topspin Slate with some custom CSS including Spongebob time cards
-
custom CSS including Spongebob time cards
I forget not everyone has that.
-
@hungrier And again
-
@tsaukpaetra said in WTF Bites:
WTF is a "pump priming dummy plug"?
My guess is that
InitializeUnsetVarsForUse()
doesn't actually initialize all the unset variables for use, and that by merely creating anImageFilterWorker
the remainder gets set up properly ("priming the pump"), though with no image and no filter it doesn't have any residual effect ("dummy plug").TR is that you need
HasClassBeenInitializedThisRun
and a dedicatedInitializeUnsetVarsForUse()
function. Why isn't the initialization done in the class constructor? Since I'm not a C++ weenie, I don't know if RAII should apply to static resources, but it'd make a heck of a lot more sense.
-
@twelvebaud said in WTF Bites:
I don't know if RAII should apply to static resources, but it'd make a heck of a lot more sense.
File-static instances are constructed before
main()
starts (in semi-random order) and function-static instances are constructed on first use. And all are then destroyed whenmain()
returns (the runtime automatically registers the destructors withatexit()
).@twelvebaud said in WTF Bites:
Why isn't the initialization done in the class constructor?
Most likely whoever wrote it didn't really understand C++.
-
Seen on Reddit: Why does PHP not have mutable constants?
-
Seen on Reddit: Why does PHP not have mutable constants?
http://php.net/manual/en/function.runkit-constant-redefine.php
ರ_ರ
-
@tsaukpaetra
I didn't realize you had changed jobs to the sex toy industry...
-
@cartman82 said in WTF Bites:
Amazon finally started delivering to Serbia, so I decided to give them a try. I ordered a fancy pair of headphones.
So after my little whine fest, I put on my big boy pants and sent the needed documents.
It's all fake diligence anyway. I mean, my "digital signature" is literally a little photo of my signature I clumsily pasted over empty spots in those doc and excel documents (BTW doing that in libreoffice is NOT fun).
The package came in a day after sending all that crap. So I can't really blame DHL, they seem to have their shit together.
I sure hope this little thing is worth 160 euros.
-
@cartman82 So these things are basically little speakers you keep close to ears, but not quite inside them. I don't see what's so "bone conducting" about them. The sound is clearly audible when you take them off, it doesn't magically only exist in your head as they'd want you to believe.
I suspect they will be good for the outdoors and all (they are very light), but I don't see what's the big deal with the bone conducting part of it.
-
@tsaukpaetra
I didn't realize you had changed jobs to the sex toy industry...I doubt anyone would accept my designs...
-
@cartman82 said in WTF Bites:
bone conducting
I think the idea is that it rests on your bones which has an amplification effect so you can hear whatever's, playing, but doesn't obstruct you ears so in theory you can still hear your surroundings/converse/whatever.
-
@cartman82 said in WTF Bites:
@cartman82 said in WTF Bites:
Amazon finally started delivering to Serbia, so I decided to give them a try. I ordered a fancy pair of headphones.
So after my little whine fest, I put on my big boy pants and sent the needed documents.
It's all fake diligence anyway. I mean, my "digital signature" is literally a little photo of my signature I clumsily pasted over empty spots in those doc and excel documents (BTW doing that in libreoffice is NOT fun).
The package came in a day after sending all that crap. So I can't really blame DHL, they seem to have their shit together.
I sure hope this little thing is worth 160 euros.
Oh hey I got one of those for $30 at work.
I love our discount...
-
@tsaukpaetra said in WTF Bites:
name two different things the same?
Oh, thanks @lolwhat for reminding me. I got a response on that:
So, instead of (correctly) making the blueprint support all three photo types, the solution was to make it more complicated and separate because . Great. I can't wait for that to come and bite us later...
-
Why? How? I can't even...
-
@cvi Apparently, apps that change screen colour temperature in Android work by capturing the would-be screen contents, shifting the white balance, then overlaying the resulting picture on top of the screen. That may not be true (perhaps there is an API to control gamma correction settings in Android, like it's possible in desktop OSes), but all I've seen require "overlay" permissions anyway.
Some things (e.g. changing app permission settings) are forbidden while there are active overlays to prevent them from misleading the user into allowing something they wouldn't want to allow.
-
@cvi Apparently, apps that change screen colour temperature in Android work by capturing the would-be screen contents, shifting the white balance, then overlaying the resulting picture on top of the screen. That may not be true (perhaps there is an API to control gamma correction settings in Android, like it's possible in desktop OSes), but all I've seen require "overlay" permissions anyway.
Some things (e.g. changing app permission settings) are forbidden while there are active overlays to prevent them from misleading the user into allowing something they wouldn't want to allow.
Ok, but the error message doesn't look like it's formatted to show an app name. If the app can tell the difference between that overlay and app-provided overlays, can't it also tell that when you're doing whatever secure thing?
-
Apparently, apps that change screen colour temperature in Android work by capturing the would-be screen contents, shifting the white balance, then overlaying the resulting picture on top of the screen. That may not be true (perhaps there is an API to control gamma correction settings in Android, like it's possible in desktop OSes), but all I've seen require "overlay" permissions anyway.
The blue-light filter is the one that shipped with the phone (a Samsung phone), and seems to be a "built-in feature" (from Samsung!). The blue-light filter doesn't show up in the list of installed apps either (nor running apps), which other pre-installed ones do. I've never had an issue with apps requesting permissions with it running (which is not to say that I've not had problems with apps requesting permissions ... but that's an entirely different topic).
@ben_lubar said in WTF Bites:
Ok, but the error message doesn't look like it's formatted to show an app name. If the app can tell the difference between that overlay and app-provided overlays, can't it also tell that when you're doing whatever secure thing?
Correct. Samsung Pay is referring to the blue-light filter that the Samsung phone shipped with by default and that seems to be integrated into Samsung's custom Android (assuming the filter is actually a Samsung thing, and not just a stock feature of modern Androids).
They might internally still be doing what @aitap said with capturing the display (that would be slightly disappointing, because there should be more efficient ways of doing this if it's integrated into the system, but I wouldn't be surprised either way).
-
because there should be more efficient ways of doing this if it's integrated into the system
Yes, but apparently it depends on the graphics driver.
The "compositor" one is what does the screen overlay.
-
@tsaukpaetra said in WTF Bites:
it depends on the graphics driver.
You've got to fickle with the graphics driver on an android phone? That sounds awful.
-
just a stock feature of modern Androids
It is, but I'm 90% sure Samsung reengineered it into their phones. Thus leading to precisely that kind of issue...
-
@tsaukpaetra said in WTF Bites:
it depends on the graphics driver.
You've got to fickle with the graphics driver on an android phone? That sounds awful.
I feel it's no more awful than requiring custom control panels for your graphics card...
-
@tsaukpaetra But that's on PCs, where everybody can mix and match their hardware. Nobody buys phone components, you buy a complete phone and use it as an appliance.
-
@tsaukpaetra But that's on PCs, where everybody can mix and match their hardware. Nobody buys phone components, you buy a complete phone and use it as an appliance.
So the mix and matching is done by the phone manufacturer. Doesn't mean it doesn't happen, and doesn't mean there aren't different components that need to be treated differently.
-
@tsaukpaetra yeah, but if the manufacturer chooses components, they ought to check if they work together.