« first day (1799 days earlier)      last day (3155 days later) » 

7:00 PM
@набиячлевэлиь Then it should do it on a new line.
 
ITT 90 line code dump
@Nooble Nuh, parsing is simpler
 
user1804599
       IDENTIFICATION DIVISION.
       PROGRAM-ID. helloUser.
       DATA DIVISION.
       WORKING-STORAGE SECTION.
       01 name                          PIC X(100).
       PROCEDURE DIVISION.
           ACCEPT name
           DISPLAY "Hello, " name "!"
           GOBACK
           .
 
Yuh muhn.
 
@Nooble stop. stop making me do meaningless work!
 
@melak47 Hehe.
 
7:01 PM
> tfw you're waiting for something to complete and when you check back on it you see you never launched it
oh god this installer is localized, no option to change it
kill me
oh my god it's partially localized
kill me more
When I enter the installation path it scans all my drives, so it takes like 6 seconds
 
How do you write something like this
 
@набиячлевэлиь Something like what?
 
@Nooble The msys2 installer I ranted about above your previous message
And it takes 6 seconds because I have an FDD connected
 
Hmm how do I set clang++ as the default CXX compiler?
 
7:09 PM
set CXX to clang++
in system settings
and restart the command propt
 
@набиячлевэлиь In system settings where?
 
@Nooble Press Windows+PauseBreak
Advanced->Env vars->system vars
 
You could've told me to change my system environment variables :P
 
user1804599
Non-optional language features that don't map well to the target platform are kinda suck.
 
7:14 PM
Anddddd my install is broken.
Thanks clang.
Undefined references to pthread_everything.
 
try -pthread
 
Nope, same errors.
 
Gonna reinstall.
 
oh god why the fuck is msys2 localized
 
7:16 PM
Noun: bitrot ‎(uncountable)
  1. Alternative spelling of bit rot...
 
@sehe lol
 
very helpful
 
such helpful, wow
 
> The putative tendency of content in storage to become corrupt over time.
 
@sehe yeah thanks, I know the word. Why are things on coliru rotting? :p
 
7:17 PM
Are they? (hint: yes, everything is)
 
@TonyTheLion Pretty good. Just living life, I guess. :)
 
user1804599
ooh no need for reboot!
 
@milleniumbug Now it works 0_o. I'm not even using threads. Weirdly I don't need to -pthread with g++.
 
@elyse after brushing your teeth. Progress
 
@Nooble Maybe you're using win32 threads instead
 
7:20 PM
@milleniumbug Maybe.
But I remember always choosing POSIX.
 
g++ -v will list Thead model: whatever
 
> Thread model: posix
for me
ITT nubel has the worst possible settings for mingw
 
Both of them list POSIX.
Clang and g++.
 
I think if you choose win32 threads, you don't get std::thread.
 
7:22 PM
so posix it is
 
@Nooble joining the clang masterrace rn
 
meh clang
 
@Nooble why not get g++ from msys2, too? 5.2.0 :D
 
it's good, but overrated
 
@melak47 Yeah I'm using it.
Now I need to figure out why I have to use -pthread.
 
7:23 PM
@melak47 I can get GCC 5.2.0 from not msys2 easier
@Nooble because you suck
alias g++="g++ -pthread"
 
@набиячлевэлиь you can get it from msys2 easier than from msys2? whoa
 
@набиячлевэлиь yeah now spend 4 days to recompile all your libraries after gcc update
 
C:\msys64\mingw64\lib\gcc\x86_64-w64-mingw32\5.2.0\libstdc++.a(locale.o):(.text‌​$__tcf_0+0x8): undefined reference to pthread_mutex_destroy'`
Hmph.
 
@milleniumbug I'll evaluate the recompilation lazily
 
which is still dumb
 
7:25 PM
w/e
bigger numbers
 
huh, anyone got a good link for doing no-shit bitflags?
 
@набиячлевэлиь what
 
7:28 PM
are you rightfold's sock puppet?
 
user406009
@milleniumbug Who are you accusing?
 
@milleniumbug totally
like, twice a day
 
@набиячлевэлиь almost word for word what I just searched for :P
 
@thecoshman what kinda bitflags?
 
7:31 PM
I hate this so much.
I shouldn't have to -pthread damn it.
 
@Nooble Recompile clang
 
@Nooble isn't that what you have cmake for?
 
lol nabijacz at his best
 
or make an alias like someone said.
 
@melak47 what do you mean?
 
7:32 PM
@melak47 how to make a bashlike alias for native cmd is another question
 
@melak47 I know but I hate it when things that aren't supposed to happen happen.
 
linking libraries you need to link is not not supposed to happen
 
@thecoshman gr8 link, m8
 
@thecoshman -1 not generic enough
 
7:34 PM
@milleniumbug Recompiling clang is the only way to do it
Trust me, I'm an engineer
 
@melak47 It works with g++ fine.
Unless it's defaulted differently...
 
@Nooble UB :P
yeah that's how makefiles work
"well, it works on the settings I use"
 
why does this install gcc I don't want it to install gcc stop oppressing me
 
@melak47 there's another answer there that seems to offer templates for the bitwise operations
 
@thecoshman Maybe wrap std::bitset or sth
 
7:36 PM
@набиячлевэлиь Mostly. While the shoulders are hot, I'm hot and it's fine :p
 
@Morwenn You're always hot
 
@milleniumbug nah, I want flags, not just a bit set
 
Now how to alias this...
 
@набиячлевэлиь Too easy :p
 
7:37 PM
@Nooble alias clang++="g++ -pthread"
 
@thecoshman I did this once, but it needs much wrapping
 
@Morwenn talkin' 'bout rfold? :P
 
which is simple, but repetitive
 
@набиячлевэлиь I don't know, we haven't tried each other yet.
 
I"M ON FIRE.
 
7:39 PM
@milleniumbug oh, yeah... looks nice I guess
 
... Internally, my base temperature. It's really high right now. Because fever. Fuck me.
 
@ThePhD Sometimes fever feels like you're a bit high and it's fun.
 
@ThePhD Try swimming in water @ -5 deg. C
 
There's nothing fun about my flaming suffering.
 
> >fever
> >fun
 
7:41 PM
Also, my sinuses are leading a revolution.
 
@набиячлевэлиь Saturday night fever?
 
@Morwenn Though, actually. One time, I had a REALLY high fever, and I didn't know it.
 
@ThePhD Ok, that is terribly annoying.
 
I was playing a game, and everybody was amazed because I was doing everything in the game -perfectly-.
 
user406009
@ThePhD The trick is clearly to go onto 4chan and start trolling.
 
user406009
7:42 PM
Let the inner fire come out.
 
And then they looked at me and said "you're sweating a little bit". Then one of the ladies put a hand on my head and she was like "OH MY GOD YOU'RE ON FIR-"

And that's when I passed out.
I woke up 2 days later.
 
Seriously?
 
The best part was I didn't even think two days had passed.
I woke up in the guest-room-turned-nursing-area and I was like "Oh gosh, that was a weird nap and my clothes are sticky."
"... You were out for two days."
 
holy shit that's serious
 
I've never experienced something even close to that.
 
7:44 PM
The worst part: when I tried to play the game after I was HORRIBLE at it.
 
xD
 
@ThePhD No, because you're hot. Dummy :P
 
@Morwenn I was actually legitimately salty about that.
Like "wow, so to be good at stuff I need to be horribly sick?"
 
Last time I had 39°C fever I was still paying the piano.
 
@ThePhD From the sweat no doubt. Ok ok, I'll stop now -.-;
 
7:46 PM
Did you become Bach?
 
But not really well.
 
@Borgleader Pfffff. It's okay, I chuckled a bit babe.
 
@ThePhD Soak yourself in cold water the day before your exams then.
 
@Morwenn Yeah, but I mean. The sinuses and all aren't really worth it, I don't think.
Plus, what about my exams after?
 
@набиячлевэлиь Windows doskeys only work in the shell.
And not in scripts.
Ugh.
 
7:49 PM
@ThePhD I agree, the sinus thing is really horrible.
 
doskeys?
 
best I could do in such a limited timeframe
 
5/10 for effort
 
Agree with @melak47
 
but Y is up, remember?
 
7:50 PM
well duh
 
@milleniumbug oh right, so basically what you have is a templated class that you can fire an enum into, and it makes a nice enough flag handling thing from that enum?
 
Y is always up.
 
@Nooble the fuck is "Windows doskeys"?
 
@набиячлевэлиь aliases.
But for Windows.
 
Eh~, I put too much chili in my soup.
 
7:51 PM
And shittier.
 
Click middle mouse button on msys2 @Nooble
 
just make a stupid batch script
 
clang++.bat > @clang++ -pthread %*
and put it somewhere in yer path
 
clang++.cmd > path/to/clang++.exe -std=c++14 -Wall -Wextra -pthread %*
 
@thecoshman Sure. It's trying to be as nice to use as possible, except: a.) writing a class that's almost-like another, but without inheritance in C++ requires forwarding every member b.) You need to specify min and max values (since you can't query an arbitrary enum for that)
 
7:52 PM
@набиячлевэлиь ;)
 
@melak47 nah
just -pthread
 
I even have one that just takes a single arg, and immediately calls the exe if build succeeded
 
@milleniumbug We need language/standard library support for that.
But it seems that reflection is not going anywhere these days.
 
why does anybody give a shit about min and max values for enums?
 
I could be playing games but I'm refactoring code =/
 
7:54 PM
that sounds to me like a massive abstraction leak
 
see above
 
I've seen above and I don't see why.
 
@Borgleader Wise decision. <3
 
@milleniumbug ah, hence the EnumTraits<BitsFlags>
 
@Borgleader What code?
 
7:55 PM
can you have a templated enum type?
 
@Puppy IOW C++ enums are useless
 
@ThePhD Shader rebuild code
 
@Borgleader "Rebuild" ?
 
@milleniumbug They're of perfectly good use as enumerations. Their use as a completely different language feature is obviously limited. I don't see how this adaptation requires the use of a max value, though - the only use I see in that answer could be done with any value.
 
@thecoshman No, but you can put an enum in a class template.
 
7:56 PM
@Borgleader Like, when you hit the file system and it rebuilds the shader?
 
yes
 
@Morwenn hmm...
 
@Borgleader But you have that working. :o
Oh, wait. Refactor.
 
any ways, I'm off for night
 
@Puppy enum is an type with some set of values. These values have a specific order. Of course it makes sense to query a first or last value
 
7:57 PM
@thecoshman Good night ^_^
 
@набиячлевэлиь I find the font illegible. Leaving me with just the german
 
@milleniumbug Not really. There's nothing about the enum construct that requires that those values have an order- it's trivial for the programmer to give them values that are completely random. Nor is there any reason for the first or last values to be special in any way.
and you don't even use the max value for anything meaningful
 
@milleniumbug nah, you shouldn't be concerned about the values of enums, nor the order
 
boost::optional is not playing nice with std::reference_wrapper
(inb4 im bad)
 
being able to iterate over the set of enum values can be nice though...
 
7:59 PM
don't really think so
 

« first day (1799 days earlier)      last day (3155 days later) »