The Official Status Thread
-
-
@HardwareGeek
Hmm ok put pedal next to the ipad. Is it now a headal?
-
-
-
@HardwareGeek said in The Official Status Thread:
It raises a question, though. I've seen other people using iPads for sheet music, and I've wondered how the page turns are triggered. (The people I see using them in person, who I could ask, have to swipe, just like paper sheet music.) Is there a foot switch or something we can't see in the video? Is there a human page turner, just like performing from paper sheet music, but able to be not on stage/camera? Or is the software analyzing audio from the microphone to determine when the performer reaches the end of the page?
I wonder if the iPad/software is using its video camera to watch the position of the performer's head? A common thing in concert with a human page turner is for the performer to nod their head when the page should be turned; being able to mimic that would seem an obvious approach and I believe that systems are able to do that sort of tracking now. Don't know if it's how it is done though; it's just the method that I'd expect (given that pianists and organists often have busy feet when playing).
-
@dkf said in The Official Status Thread:
@HardwareGeek said in The Official Status Thread:
It raises a question, though. I've seen other people using iPads for sheet music, and I've wondered how the page turns are triggered. (The people I see using them in person, who I could ask, have to swipe, just like paper sheet music.) Is there a foot switch or something we can't see in the video? Is there a human page turner, just like performing from paper sheet music, but able to be not on stage/camera? Or is the software analyzing audio from the microphone to determine when the performer reaches the end of the page?
I wonder if the iPad/software is using its video camera to watch the position of the performer's head? A common thing in concert with a human page turner is for the performer to nod their head when the page should be turned; being able to mimic that would seem an obvious approach and I believe that systems are able to do that sort of tracking now. Don't know if it's how it is done though; it's just the method that I'd expect (given that pianists and organists often have busy feet when playing).
I'm familiar with a head nod to indicate a page turn. I once, a long time ago, back in university, turned pages for our church organist during a concert. Since I hadn't done it before, he made his nods very obvious. (I was, of course, reading along as he played, so I was prepared to turn the page immediately when he nodded.)
I've watched the organist and not noticed him nodding his head. If the software is tracking his head movements, it's doing a better job than I am.
-
Status: I got out of bed for a weekly meeting, but all but one other person excused themselves / didn't show up.
I could go back to sleep now, but it's 9:20am and I'm already showered, so I might as well get some work done.
-
Status: Read that
mold
is apparently a much faster linker and decided to give it a try.First attempt: Precompiled binaries? Nice.
./mold: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by ./mold)
So our system libc is too old. Obviously.
Next attempt: compiling it myself!
c++: error: unrecognized command line option ‘-std=c++20’
Of course this has to use the latest and greatest. So let's load the module for gcc 11.1 and try again. Now it complains about cmake being too old (that wasn't mentioned anywhere ). No problem, let's load that too.
/var/tmp/ccXZDNjT.s: Assembler messages: /var/tmp/ccXZDNjT.s:20150: Error: no such instruction: `tpause %ecx' /var/tmp/ccXZDNjT.s:21482: Error: no such instruction: `tpause %ecx'
What. The. Absolute. Fuck?!
Some googling later, I found an SO answer that says it's either coming directly from an asm block in the code, or the compiler is emitting code the assembler doesn't understand, which shouldn't happen.
Digging a bit deeper, it's inside Intel's TBB library which assumes that gcc 11 supports it. So either gcc fucked it up or IT installed a broken version that's not using its own assembler. Guess where I'm placing my bets.
A little hacking around (deleting the
#ifdef
feature check) in the code, it finally compiles.
Let's give it a test run. Before:$ time g++ -fopenmp -o lots of stuff 2.75s user 0.68s system 24% cpu 13.735 total
After:
time g++ -B$HOME/bin -fopenmp -o lots of stuff 0.01s user 0.02s system 4% cpu 0.636 total
Success!
-
@topspin Makes me wonder is the standard linker doing to take that much longer? Linkers just aren't that complicated; the task they've got isn't something tricky like optimising compilation…
-
@dkf said in The Official Status Thread:
@topspin Makes me wonder is the standard linker doing to take that much longer? Linkers just aren't that complicated; the task they've got isn't something tricky like optimising compilation…
An overview is here:
Conceptually, what a linker does is pretty simple. A compiler compiles a fragment of a program (a single source file) into a fragment of machine code and data (an object file, which typically has the .o extension), and a linker stitches them together into a single executable or a shared library image.
In reality, modern linkers for Unix-like systems are much more complicated than the naive understanding because they have gradually gained one feature at a time over the 50 years history of Unix, and they are now something like a bag of lots of miscellaneous features in which none of the features is more important than the others.
Another scary TIL:
We have to implement a subset of the linker script language anwyay, because on Linux, /usr/lib/x86_64-linux-gnu/libc.so is (despite its name) not a shared object file but actually an ASCII file containing linker script code to load the actual libc.so file
-
@dkf said in The Official Status Thread:
@topspin Makes me wonder is the standard linker doing to take that much longer? Linkers just aren't that complicated; the task they've got isn't something tricky like optimising compilation…
Schlemiel the painter may be involved.
-
@PleegWat said in The Official Status Thread:
Schlemiel the painter may be involved.
I find it fascinating how so many pieces of code that do string processing hit poor old Schlemiel. It's like they don't keep around the lengths of strings or use hash tables…
-
@dkf said in The Official Status Thread:
It's like they don't keep around the lengths of strings
C called ... it says it regrets everything.
-
@dkf said in The Official Status Thread:
@PleegWat said in The Official Status Thread:
Schlemiel the painter may be involved.
I find it fascinating how so many pieces of code that do string processing hit poor old Schlemiel. It's like they don't keep around the lengths of strings or use hash tables…
Most of it sounds like more of a hash table problem. I wouldn't bother with keeping length on top of that just to speed up compares.
If it's a linked list, and the data is string literals or function bodies to be folded rather than identifiers, then keeping lengths would probably only help if for some reason a simple non-cryptographic hash code was out of the question.
EDIT: Of course both string literals and compiled function bodies can contain embedded NUL bytes, so you'll be keeping the length around anyway.
-
Status:
-
Status: I hate April fool's day. I was so confused when I opened the forum on my phone. It only took maybe 10 seconds or so to realize what was going on, but those 10 seconds were very confusing. That was followed by annoyance at the lack of correct names attached to posts. I can recognize almost everyone by their avatars, but if anyone changes their avatar today, know in advance that I will hate you forever. I might even just go away and come back tomorrow when the nonsense is done.
-
Sounds like a pretty severe case of Post-Discourse Traumatic Syndrome to me.
-
Hey, has anyone seen @kazitor and @Applied-Mediocrity ?(inb4 "yes we've seen @boomzilla everywhere")
-
Status:
It's the first of April. We had 10cm of snow last night. I don't recall whether we had any in December, but we definitely haven't had any in January through March.
-
@topspin said in The Official Status Thread:
Status: Read that
mold
is apparently a much faster linker and decided to give it a try.First attempt: Precompiled binaries? Nice.
./mold: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by ./mold)
So our system libc is too old. Obviously.
Next attempt: compiling it myself!
c++: error: unrecognized command line option ‘-std=c++20’
Of course this has to use the latest and greatest. So let's load the module for gcc 11.1 and try again. Now it complains about cmake being too old (that wasn't mentioned anywhere ). No problem, let's load that too.
/var/tmp/ccXZDNjT.s: Assembler messages: /var/tmp/ccXZDNjT.s:20150: Error: no such instruction: `tpause %ecx' /var/tmp/ccXZDNjT.s:21482: Error: no such instruction: `tpause %ecx'
What. The. Absolute. Fuck?!
Some googling later, I found an SO answer that says it's either coming directly from an asm block in the code, or the compiler is emitting code the assembler doesn't understand, which shouldn't happen.
Digging a bit deeper, it's inside Intel's TBB library which assumes that gcc 11 supports it. So either gcc fucked it up or IT installed a broken version that's not using its own assembler. Guess where I'm placing my bets.
A little hacking around (deleting the
#ifdef
feature check) in the code, it finally compiles.
Let's give it a test run. Before:$ time g++ -fopenmp -o lots of stuff 2.75s user 0.68s system 24% cpu 13.735 total
After:
time g++ -B$HOME/bin -fopenmp -o lots of stuff 0.01s user 0.02s system 4% cpu 0.636 total
Success!
So you achieved to save 2.74 seconds for linking those lots of binaries.
In order to get there, you had to invest a couple of hours, each consisting of 3,600 s, equivalent to 1,309 linker invocations.
Break even is expected to be reached after ...
-
@BernieTheBernie Nope, 13s (for this example).
Given I spent an hour on this, break even is ... compiling ~250 times.And yes, I obviously thought of xkcd://1205 myself, but the post was already long enough. And I'm now losing less time and less patience in debugging sessions, so maybe it'll pay off someday .
-
@HardwareGeek said in The Official Status Thread:
if anyone changes their avatar today, know in advance that I will hate you forever
I used to, to maximize confusion. But felt out of ideas today, so no luck.
-
@topspin
The hard part is finding anything worthwhile to post about, so that there’s a non-zero chance somebody could even notice.Status: I have triumphed over Office! Had some long-standing issue doing something, so I went to repair the installation and it was right where I left it. Just… completely obliterated itself. Every part of it gone.
Scrounge around for a download, because it’s nowhere in sight on the expected website. Finally found an installer, and now that was crashing. Long story shorter, did manage to get it installed a different way, only to find the original problem was miraculously unchanged.
But after all the headaches I did sort that out with some classic regedit pokery, and now everything’s better than ever!
-
@kazitor said in The Official Status Thread:
anything worthwhile to post about
-
Status: The last time I asked a question on SO was apparently 2018. The one day I want to ask another question it has to be Hot Dog Stand Theme Day.
-
-
You I especially hate.
-
@HardwareGeek The @boomzilla thing was fun once. It was meh the second year. Then it just got old.
-
@PleegWat it just kind of happens all on its own now. Until someone updates the code to take it out.
-
@PleegWat said in The Official Status Thread:
@HardwareGeek The @boomzilla thing was fun once. It was meh the second year. Then it just got old.
To be fair @Applied-Mediocrity just made it the funniest one for a while.
-
@DogsB said in The Official Status Thread:
@PleegWat said in The Official Status Thread:
@HardwareGeek The @boomzilla thing was fun once. It was meh the second year. Then it just got old.
To be fair @Applied-Mediocrity just made it the funniest one for a while.
Some people were amused last year when I pretended to be Ben, but obviously not as jarring as when you get impersonated yourself.
-
@topspin said in The Official Status Thread:
@DogsB said in The Official Status Thread:
@PleegWat said in The Official Status Thread:
@HardwareGeek The @boomzilla thing was fun once. It was meh the second year. Then it just got old.
To be fair @Applied-Mediocrity just made it the funniest one for a while.
Some people were amused last year when I pretended to be Ben, but obviously not as jarring as when you get impersonated yourself.
awww I missed that.
-
Status: watching cow orker try to use the official line Linux build installer. I told him I gave up on it when it had a prompt that I should make sure a particular address was reachable from that machine. Because fuck you, why can't you determine that yourself, piece of Shit configuration wizard?
Anyways, it was failing for him at "installing system". You know, something that the booted media should just... have.
The problem? It didn't detect the Ethernet controller (it's an Intel NUC device) and apparently it doesn't actually use the local installation repository.
What was event more entertaining was it apparently tried to use the WiFi. It said the password that was used was too long or too short. What password? Never prompted for one so....
-
Status: Possibly dying. I feel positively awful right now.
-
@Zenith said in The Official Status Thread:
Status: Possibly drying. I feel positively awful right now.
Get some drink.
-
@BernieTheBernie said in The Official Status Thread:
@Zenith said in The Official Status Thread:
Status: Possibly drying. I feel positively awful right now.
Get some drink.
A fifty-fifty mix of Spiritus and Enfamil solves most problems.
-
@BernieTheBernie n * 9 MMW, under optimal conditions, assuming each 8-hour day requires 10 relinks per hour corresponding to a 6-minute test-change cycle
-
Status: It's after midnight in my time zone, and the forum is back to normal. Yay! You poor suckers on the west coast still have a couple hours of @boomzilla everywhere.
-
@HardwareGeek East coast best coast.
-
@Zenith said in The Official Status Thread:
@HardwareGeek East coast best coast.
I counter that statement with MA, NY, NJ, and DC.
-
@HardwareGeek said in The Official Status Thread:
Status: I hate April fool's day. I was so confused when I opened the forum on my phone. It only took maybe 10 seconds or so to realize what was going on, but those 10 seconds were very confusing. That was followed by annoyance at the lack of correct names attached to posts. I can recognize almost everyone by their avatars, but if anyone changes their avatar today, know in advance that I will hate you forever. I might even just go away and come back tomorrow when the nonsense is done.
Somehow I got too busy yesterday and missed all that fun...
-
Status: got bit in the butt reusing php variables.
I was wondering why
$cart_items
was getting changed when I was adjusting$stagedItems
when I realized I was doing aforeach($cart_items as &$item);
followed byforeach($stagedItems as $item);
Whoops!
-
@Tsaukpaetra
Fetish thread is
-
-
Status: Apparently r/place is going on again...
-
@Tsaukpaetra said in The Official Status Thread:
Status: Apparently r/place is going on again...
I saw a thread about an admin/employee "cheating" and deleting threads about him cheating.
Much drama.
-
Yeah, it's Monday! What a joyful day!
has happened? How can someone call a Monday joyful?
Well, in the past I used to fight for Clean Code. But my cow-orkers never followed. I long gave up the idea that they might ever write Clean Code, Unit Tests, etc. But eventually Kevin, Johnny, Jim, Fritz, and - seemingly - won their endsieg: also I've given up trying to write Clean Code.
So I've resignated, or even capitualted, you think?
Oh no! First of all:
FUCK YOU, DEAR COW-ORKERS!
You cow-orkers produced lots of . But all your WTFs were mere ♭♯♮ (accidental wtf) only. You arrived there because you did not understand at all.
That's the difference. holds a PhD from The UoWTF, Bernie understands both CleanCode and the idosyncracies of wtf code.
You can be sure that Bernie will deliver finest well-thought code: XWTF (eXtreme wtf). Bug-free (according to the specs: because the specs never care about what the system should achieve or how it should behave - instead they describe an implementation which lacks thoughts about edge cases).
And this bug-free code will bugger you.
Prepare for some beautiful submissions in other threads. The fun is about to start.
-
@BernieTheBernie said in The Official Status Thread:
in the past I used to fight for Clean Code.
I thought you liked bugs?
@BernieTheBernie said in The Official Status Thread:
♭♯♮
Upvoted just for this.
-
-
@Zerosquare, @HardwareGeek Okay guys, give it a .