« first day (3519 days earlier)      last day (1413 days later) » 

3:37 AM
@nwp Wow, that's a lot of people. Do you have any pernicious monetization strategy in mind?
So, I was thinking it would be cool if std::cout had a supplied lock that could be used to hold a mutex to console output. Right now I've been going through instances of std::cout/cerr and wrapping them in separate mutexes.
Or rather made a logging "framework" (really a function)
 
 
6 hours later…
nwp
9:15 AM
@Mikhail I don't. It's not much different than this chat room. Even if it was super active and had a lot of people and you were the owner (not counting SO) there really isn't much you can do. Maybe ask for money to be allowed to post ads which will not be deleted, but that seems like effort and I hate ads.
 
9:40 AM
Get your chat sponsored by IncrediBuild like the old CppCast episodes.
 
If it's that easy to make $ from online people, stackoverflow could have made billions.
 
nwp
A sponsorship would be awesome and I'd have a company in mind, but it would never happen.
Also it's not programming-related.
Besides the bot, but that's just me.
 
9:56 AM
One of our group's co-organiser was trying to get sponsorship, that was before COVID-19. I appreciate that, but for me to ask sponsorship personally is like me begging. I am not a beggar. And even if I am to become a beggar, it would because that I have founded a startup and have some awesome A.I. robots products I would like to send to everyones' homes. The price tag for me to start begging would be millions, not hundreds.
 
nwp
Meh, it would just be some branded products similar to Lounge<C++> T-shirts. Nobody will get poor or rich from that and there will definitely not be millions involved.
But there are other servers with 10 times the number of people.
 
A lot of people love to receive donation. Some don't accept donation, thinking it's an insult.
 
nwp
Technically I did get 2 Discord Nitros out of it. It does feel weird. Mostly because it's Discord that gets the money.
It feels crazy that people are willing to pay for some emojis.
 
 
2 hours later…
nwp
12:35 PM
I'm trying to write a script that sets up a project. It's not that trivial as there are multiple sub-projects that need to be built and you can't just include that in the build script because first that's difficult and second it takes so long to check that nothing needs to be built that the added time to development is unbearable.
One of the projects uses the undocumented variable QMAKE_COPY which expands to a command that copies folders. When you start it from a git bash it expands to cp -r and when you start it from cmd it expands to xcopy /s /q /y /i. The problem is that xcopy creates directories and cp fails because the target directory does not exist. So I can't use bash, I have to use cmd.
But wait, powershell exists. It's reasonably powerful and should be able to do roughly what bash can do, just with a little different syntax. But setting some variables and expanding and copying stuff and failing when one of the commands fails should be possible (I'm not sure about that last part). But it turns out that you cannot run powershell scripts without enabling that using administrator privileges. So effectively I cannot use it and am once again stuck with cmd.exe. Fun.
 
nwp
12:51 PM
Also some day I will understand why cmd starts in H:\> and why cd C:\path has seemingly no effect until I do C:. But that day is not today.
 
nwp
1:05 PM
//bash:
ROOT=$(pwd)
//cmd:
for /f "delims=" %%a in ('pwd') do @set ROOT=%%a
 
@nwp DOS
beyond that I don't know
technically NTFS doesn't actually care about drive letters IIRC that's purely a win32 construct I believe.
 
nwp
1:22 PM
I find it weird that drive letters are optional and / is an accepted directory separator which makes cd /users/nwp work natively.
 
1:47 PM
Lol the clang singularity bites news.ycombinator.com/item?id=23412482
@nwp why NTFS was supposed to support POSIX?
 
nwp
What does NTFS have to do with that?
 
2:01 PM
if the underlying FS doesn't support it windows won't allow that
try that on a thumbdrive
 
 
9 hours later…

« first day (3519 days earlier)      last day (1413 days later) »