WTF Bites
-
@timebandit said in WTF Bites:
@ben_lubar said in WTF Bites:
Desktop Linux has the best audio API of any OS, and that's pretty amazing considering it has at least 3 incompatible audio APIs.
But then you have to use some complicated CLI shit to switch output, then reboot to apply.
OS coded by grey beard with their head stuck in the 70's
</blakeyrant>I've never used the CLI version of the audio settings app, but I have used the PulseAudio GUI and it was basically somewhere between Virtual Audio Cable and the Windows Sound Mixer's advanced view.
-
@ben_lubar said in WTF Bites:
I've never used the CLI version of the audio settings app
What ? You mean you're not using the Linux CLI 100% of the time ?
On Linux, the GUI is the CLI
-
@timebandit said in WTF Bites:
@ben_lubar said in WTF Bites:
I've never used the CLI version of the audio settings app
What ? You mean you're not using the Linux CLI 100% of the time ?
On Linux, the GUI is the CLI
I've never used sound on headless Linux.
-
@ben_lubar said in WTF Bites:
I've never used sound on headless Linux.
I did, setting up an overhead intercom on an Asterisk PBX
-
@bb36e macOS is also missing the ability to lock the screen on command. At least I haven't found an easy or obvious way to do so.
-
@atazhaia wow. On KDE, I use Bluetooth paired with my phone to lock it when I walk away.
Someday, Apple will innovate this feature
-
@timebandit They do have the ability to unlock your Mac by waving your Apple Watch in front of it. I dunno if the reverse holds true too (doesn't look like it), but I am sure it will be a technological revolution when they do.
-
@atazhaia cmd+shift+power button to lock
it's like ctrl+alt+del or super+L but more verbose
-
@bb36e I'll remember that in case I manage to get another MacBook at some point in the future. Seems a bit inconvenient for the desktop Macs, though.
-
a bit inconvenient for the desktop Macs
That's apple's mantra when it comes to macs
-
Seems a bit inconvenient for the desktop Macs, though.
Just buy a MacBook and iMac display, problem minimally solved
-
Also inconvenient for my MacBook Air come to think of it. As the built-in keyboard is broken, I got it connected to an external keyboard, trackpad and monitor, keeping it closed at all times and using it like I did my old Mac mini.
-
macOS is also missing the ability to lock the screen on command. At least I haven't found an easy or obvious way to do so.
I just move my mouse pointer to the bottom right corner of the screen, but that's configurable.
System Preferences → Desktop & Screen Saver → Screen Saver → Hot Corners…
-
Screen Saver → Hot Corners
wat? How are hot corners a screen saver setting?
-
How are hot corners a screen saver setting?
... Because they activate (or prevent activating) the "screen saver", maybe?
-
@ixvedeusi You mean like literally everything else you do on a computer?
-
@ben_lubar said in WTF Bites:
It explicitly says "do not put df from Dwarf Fortress in your $PATH" in the documentation.
They really intentionally called one of their programs the same as the name of a yonks-old Unix (back from the 70's) utility that's still in use today?
@cartman82 said in WTF Bites:
TRWTF is someone puts a videogame shortcut in their PATH.
But there is that as well.
As with certain tensions in the world right now, there is no winner...
-
Colleague was reassigned to a different project, because they are 3 months late. For the first week, they were not able to assign him any work. The other teammates are not doing much more. Apparently, they don't know with what they are 3 months late…
Update: Turns out to be a typical case of adding people to a late project makes it later.
The project has a pending release, which is late. But most work left there is for QA and some bug fixing, so new developers are not of much use for that. They also have a plan for next release, and do know what features it should add, but since the team leader is tied down by that bug fixing, he doesn't have time to explain to the new team members what they should do. So they do nothing.
-
They really intentionally called one of their programs the same as the name of a yonks-old Unix (back from the 70's) utility that's still in use today?
df
is just a shell script that sets up some environment variables and then runs./libs/Dwarf_Fortress
-
@ben_lubar said in WTF Bites:
df is just a shell script that sets up some environment variables and then runs ./libs/Dwarf_Fortress
Why don't they just rename that script "dwarf" ?
-
@timebandit said in WTF Bites:
@ben_lubar said in WTF Bites:
df is just a shell script that sets up some environment variables and then runs ./libs/Dwarf_Fortress
Why don't they just rename that script "dwarf" ?
Bcz on Unx, al cmds mst b as shrt as pssbl.
-
Chrome lets you dynamically change an element's style in its developer tools.
Unless that element was added via a ::before or ::after CSS selector. Then fuck you.
-
@blakeyrat You have to select the ::before part
-
@hungrier But it still won't let you add arbitrary styles to just that part, only the CSS selectors that select it.
-
@raceprouk Oh. I guess that's because those aren't actual HTML elements so they don't have a
style
attribute to modify.
-
@blakeyrat You have to select the ::before part
Implying that after I do that I can ad-hoc edit the styles?
If I'm supposed to be able to, my copy of Chrome's broken. Because it don't work.
-
@blakeyrat Works for me
Before:
Uh
It worked for me, right until I switched to the snipping tool to take a screenshot, then it stopped working. So yeah, .
-
It worked for me, right until I switched to the snipping tool to take a screenshot, then it stopped working. So yeah, .
That still counts as "doesn't work".
-
@blakeyrat I got it to work again
But yeah sometimes it randomly doesn't.
-
-
@izzion What, it's a great feature !
You can also use the soundcard for a local extension, if I'm remembering correctly
-
@timebandit
You can also intentionally concuss yourself in order to get a different thought pattern to tackle problems with, but I wouldn't recommend that, either :P
-
@blakeyrat Works for me
Before:
Uh
It worked for me, right until I switched to the snipping tool to take a screenshot, then it stopped working. So yeah, .
Works for me.
Before:
Highlighted the element and added a style to its
:before
rule:Highlighted the
:before
element and added a style to it:¯\_(ツ)_/¯
-
@anotherusername All of those are adding onto the existing
.the_element:before
ruleset from your embedded stylesheet, and would apply to all elements classedthe_element
in the document. What if you want to add rules to that specific pseudoelement's inline ruleset?
-
but since the team leader is tied down by that bug fixing, he doesn't have time to explain to the new team members what they should do. So they do nothing.
Is there a good reason the team leader isn't actually leading?
-
@twelvebaud I would hate you, curse your name0 and I would find where you live :D
-
@twelvebaud said in WTF Bites:
@anotherusername All of those are adding onto the existing
.the_element:before
ruleset from your embedded stylesheet, and would apply to all elements classedthe_element
in the document. What if you want to add rules to that specific pseudoelement's inline ruleset?Pseudoelements don't have inline rulesets. They can't. They don't exist in the HTML.
You could, however, give a unique ID or class name to the HTML element to which it's attached, then add a new CSS rule that targets its
:before
pseudoelement specifically.
-
@anotherusername said in WTF Bites:
@twelvebaud said in WTF Bites:
@anotherusername All of those are adding onto the existing
.the_element:before
ruleset from your embedded stylesheet, and would apply to all elements classedthe_element
in the document. What if you want to add rules to that specific pseudoelement's inline ruleset?Pseudoelements don't have inline rulesets. They can't. They don't exist in the HTML.
Do you happen to know why they did that? It seems like it's breaking the DOM abstraction.
-
@anotherusername said in WTF Bites:
@twelvebaud said in WTF Bites:
@anotherusername All of those are adding onto the existing
.the_element:before
ruleset from your embedded stylesheet, and would apply to all elements classedthe_element
in the document. What if you want to add rules to that specific pseudoelement's inline ruleset?Pseudoelements don't have inline rulesets. They can't. They don't exist in the HTML.
Do you happen to know why they did that? It seems like it's breaking the DOM abstraction.
:before and :after aren't accessible via the DOM.
-
@ben_lubar said in WTF Bites:
@anotherusername said in WTF Bites:
@twelvebaud said in WTF Bites:
@anotherusername All of those are adding onto the existing
.the_element:before
ruleset from your embedded stylesheet, and would apply to all elements classedthe_element
in the document. What if you want to add rules to that specific pseudoelement's inline ruleset?Pseudoelements don't have inline rulesets. They can't. They don't exist in the HTML.
Do you happen to know why they did that? It seems like it's breaking the DOM abstraction.
:before and :after aren't accessible via the DOM.
That's my point. Pretty much everything in the page is accessible through that abstraction, except these new elements-that-aren't. If I weren't
being lazydistracted right now, I'd go look my self and learn something about them beyond "they can be styled and thus are / can-be implicitly a visual element of the page". But I am, so I ask y'all.
-
@anotherusername said in WTF Bites:
@twelvebaud said in WTF Bites:
@anotherusername All of those are adding onto the existing
.the_element:before
ruleset from your embedded stylesheet, and would apply to all elements classedthe_element
in the document. What if you want to add rules to that specific pseudoelement's inline ruleset?Pseudoelements don't have inline rulesets. They can't. They don't exist in the HTML.
Do you happen to know why they did that? It seems like it's breaking the DOM abstraction.
¯\_(ツ)_/¯
It does have certain benefits. It allows you to insert stylistic content using pure CSS, which reduces the number of otherwise necessary "dummy" HTML elements which would serve no semantic purpose in the HTML other than to be targets for CSS styles.
-
...MAC OSX which is based on a variation of FreeBSD Linux.
As I suspected, the author of this book is ignorant of anything not Windows.
Edit: Also found this bonus:
...in chapter Error! Cannot find source reference.
-
Following up to our call from yesterday, I talked with my colleague responsible for the JavaScript agent and alas, we have SourceMap support since last April
"alas"?
"Oh no, we have the feature you wanted! Whatever will you do now?"
-
@yamikuronue said in WTF Bites:
Following up to our call from yesterday, I talked with my colleague responsible for the JavaScript agent and alas, we have SourceMap support since last April
"alas"?
"Oh no, we have the feature you wanted! Whatever will you do now?"
I think the archaic word they wanted to use was "behold", but all archaic words mean the same thing, right?
-
-
but all archaic words mean the same thing, right?
Forsooth
Zounds! Gadzooks!
-
-
-
This post is deleted!
-
Google: Software engineering GODS! Bow before these titans of computers!
Then try clearing your cookies! I guess.