« first day (1707 days earlier)      last day (3256 days later) » 

2:00 AM
> "font_options": [ "gay_antialias" ], // On retina Mac
ahahahahahaha
 
lmao
that material theme looks cool
y u hatin
 
@buttifulbuttefly Material design is fine.
 
the biggest problem is looking for a code scheme that looks good with that shade of blue
 
Ugh, worst thing ever: incoming flu + boredom.
 
2:04 AM
@buttifulbuttefly oh it's meant to be gray_antialias.
 
@Nooble I don't like it.
 
antigay_alias
 
@buttifulbuttefly Why not?
 
Terrible use of screen space, focus on looks before functionality
 
@Nooble bc scroogle
 
2:07 AM
@Rapptz solarized dark?
 
naw I'll stick to my boring theme.
I haven't found another colour scheme that has neat markdown features like extended monokai
 
@Rapptz what does 'cyne' stand for in your entity thing
 
nothing
just a random name
 
do you listen to the group cyne?
 
no
 
2:14 AM
oh
 
it was going to be a game name
but gamedev is boring
 
*all dev is boring
yes I agree
 
@Prismatic Which software you use according to your image?
 
That's Qt Creator
 
Sometimes when I don't know what to name a variable, I name it after a random vegetable.
 
2:15 AM
lmao
 
Also for windows?
 
it's for all operating systems
 
@Nooble let tuce = 42;
 
In the world people have one wife almost. So why there is different language to control just one computer?
 
2:17 AM
...what
 
@MarkGarcia int eresting;
 
Why there is different computer language to control one computer?
Why only one is not enough?
 
Why do you have two eyes?!
Why is one not enough?!?!?!
 
why there are different languages used in one europe?
 
Its natural. But computer is not.
Computer is made buy machine.
 
2:19 AM
No computers are made by people
who create different languages, sometimes good for different things, sometimes good for nothing at all just for fun
 
Human make computer. So that's why i am asking this question to human. People have two eyes. Because god gave to him or her. You need to ask this question to god.
 
I am God.
 
@Nooble i have tip for you. Enjoy your life.
Don't take my question serious.
 
@MuhammadRaza Because assembly language is sufficient for everything.
 
ok first binary second assembly and after that c++. That human can understand computer easily.
Basically i target the language Java.
 
2:22 AM
I can only understand 5GL language.
 
What is 5GL?
 
Swift.
 
It is what it is.
 
My friend told me programmer have no life. Is this true?
 
@MuhammadRaza Different languages allow a developer to frame their thoughts in different ways, to accommodate the demands of different problems.
 
2:24 AM
we're here, aren't we? :p
 
They told me most of us spend our all time front of computer.
 
@MuhammadRaza Well a dead programmer isn't a very good one.
 
@Nooble lol
 
@MuhammadRaza C++ is love. C++ is life.
 
@Nooble if he can program from beyond the grave...
 
2:26 AM
@MarkGarcia Sir, I agree with you. But now my teacher ask me too learn Java. Why?
 
@melak47 Praise Bjarne!
 
@jaggedSpire Focus on this problem. Student ask 1+1 is 11 and some student 1+1 is 2?
Which one is true?
 
Depends, what is the type of "1"?
 
Depends on the base also, if it's an integer
1 + 1 = 11 in base 1
#lel
 
Nice.
 
2:29 AM
not really, neither 2 or 11 == true regardless of base :p
 
hhhmmm.
 
@melak47 Doesn't any number besides 0 return true?
 
@MuhammadRaza I'm talking about interacting systems versus a finite state machine, and similar problems. FSM can be modelled in C++. Is it a brilliant, wonderful language to use for the problem? I'd call it a similar prospect to using your hand to insert a screw
 
@Nooble bool(11) == true == false :)
 
@jaggedSpire ooohh.
I understand.
To get Job at Microsoft. Is one language is enough?
C++.
 
2:35 AM
    If value_type is wchar_t, converts to the native wide encoding (4.10) using the codecvt<wchar_t, char, mbstate_t> facet of loc. Otherwise a conversion is performed using the codecvt<wchar_t, char, mbstate_t> facet of loc, and then a second conversion to the current narrow encoding.
wtf
can someone make heads of tails out of this?
 
@MuhammadRaza Presumably at least two. English being one of them.
 
@Nooble You mean one english and second c++?
 
Yes.
 
@Rapptz Where is that from?
The filesystem TS?
 
yes
 
2:52 AM
Not enough to understand how there are two cases there. It looks like they're both using the same facet of loc to me.
 
Apr 16 at 20:38, by Alex M.
I managed to get the ending I didn't want in a VN with no bad endings
I can't get a chick even in witcher 3
I don't even
 
I'm just skimming through Mike's Acton video but... really??
 
gamedevs.avi
 
and the top comment ._.
 
skip to the QA
where he like, dismisses any criticisms
p great, mike acton is my hero
 
3:01 AM
@Rapptz I think it's ultimately converting the path to the encoding format used by the OS, so UTF-8 on Linux and UTF-16 (?) on Windows, but I don't really get why there's an intermediate conversion to wchar_t for both cases, if that's the correct interpretation.
 
it doing two conversions on POSIX land
 
Oh, the second case is an unspecified variety of conversion, to ultimately result in a narrow encoding, and the first case is the only one actually stated to convert to wide.
I think. I'm not really fluent in standardese.
I'm guessing the first case is for UTF-16 madness like that possessed by Windows, and the second is for UTF-8 systems and their kindred. If the filesystem uses a wide encoding, it's directly converted. If it doesn't, then it's apparently converted into an intermediate type of unspecified variety, and then the final, narrow encoding. I wonder why that intermediate step?
 
you should read the section lol
the requirement is that Source::value_type is char.
 
json.as<std::array>()
lol VS errors
 
3:41 AM
@Rapptz So the facet is defining the encoding of the string, and the conversion from that string into the path is dependent on a few different factors, mostly the different native encodings.
Does anyone with more grounding in standardese/the filesystem TS than "Hey that's a sentence and I have some time I can spend staring at it" want to chime in?
 
@R.MartinhoFernandes check this one out, you might like it youtube.com/watch?v=NknjE2SBPxw
 
4:35 AM
1+1=10
Binary addition ...
 
5:00 AM
@chmod711telkitty Responding to Muhammad's 1+1 remark?
 
5:19 AM
gcc error message:
error: expected primary-expression before '>' token
SharedCount<SceneInstance>::getNext<T>());
clang error message:
error: use 'template' keyword to treat 'getNext' as a dependent template name
SharedCount<SceneInstance>::getNext<T>());
                                ^
                               template
 
@Prismatic SharedCount<SceneInstance>::template getNext<T>());
 
right
I just wanted to show how much nicer clang's output was
 
Ah.
 
This is gcc 5.1 vs clang 3.6 btw
 
Nice.
 
5:22 AM
And yet GCC error diagnostics have improved tremendously in the past years (thanks to the pressure of clang)
 
I wonder what VS outputs?
 
probably ICEs
 
I don't have MSVC, but if you do knock yourself out
 
@Prismatic Maybe tomorrow. I really need to go to bed.
 
nn
 
5:24 AM
night
 
@Prismatic VS just compiles it :)
 
@melak47 the only good C++17 feature
 
:(
 
lol these overloads are fucking weird
namespace fs = std::experimental::filesystem;
std::string latin1_string = read_latin1_data();
codecvt_8859_1<wchar_t> latin1_facet;
std::locale latin1_locale(std::locale(), latin1_facet);
fs::create_directory(fs::path(latin1_string, latin1_locale));
what is codecvt_8859_1 and how do I retrieve that from the locale
this is why god doesn't like std::locale.
 
some thingy for iso 8859-1 obv.
 
5:33 AM
obv
I'm assuming it's a smart ass alias to std::codecvt<wchar_t, char, std::mbstate_t>.
 
and you're doing this for fun? :S
 
got nothing else to do
if you have a better suggestion: shoot
 
6:00 AM
hahahahaha VS barfs on:
std::vector<int> v;
for (auto&& i : v) try {} catch (...) {}
main.cpp(5): error C2317: 'try' block starting on line '5' has no catch handlers
main.cpp(5): error C2059: syntax error: 'catch'
main.cpp(5): error C2143: syntax error: missing ';' before '{'
It would be hilarious if it weren't so sad
 
was just passing by : the try block is inside your for, the catch not
 
Not true.
 
seems like VS interprets it that way though :v
 
VS is wrong as usual
 
add braces
you suck
 
6:03 AM
hola friends. got a question about bash scripting. could anyone explain what the < character does here? cat $myvar1 > $myvar2
 
read any online tutorial on what bash even is
 
@simplycoding redirection?
 
@Rapptz fuck extraneous indents
 
@buttifulbuttefly works in 2015 :)
 
@melak47 doesn't. works in GCC and clang.
 
6:04 AM
@buttifulbuttefly ugh
 
oh, derp. nvm
forgot to turn off clang
4
yeah, exact same error with
std::vector<int> v;
for (auto&& i : v) {try {}} catch (...) {}
 
@orion78fr so is it copying? I unfortunately don't have immediate access to a linux terminial, so testing anything takes 15 minutes to try
 
@simplycoding koding.com
 
@simplycoding $myvar2 must contain a filename, you redirect cat's output to it, so it's a copy I think...
 
man so did liro leave forever
 
6:12 AM
thanks
 
looks like you're having a good time :S
 
@Rapptz god is not alone
 
I think my buffer size is wrong so I increased it
this API is p. solid
codecvt is already my least favourite part of the standard library, somehow worse than iostreams.
 
> well hello :) i kept your info from a dating site if you wanna exchange more pics msg me...single now maybe we can meet up? +1-631-380-9250 kisses :p
 
6:21 AM
@simplycoding it prints a cat if myvar1 > myvar2.
 
Those kisses do make a difference
 
@melak47 trololol
@Columbo sha512 agrees
@Rapptz I've always considered it part of the iostreams library. My bad, I guess
@Prismatic Why don't you ask him. He's not gone. He even has his own room
 
@sehe oh. i was just curious cus he didn't seem to be in this room for awhile now
 
Curious is when you are eager to know answers, IME
 
I've been using CharT for so long that I just noticed it spells chart.
 
6:27 AM
So how do I emplace an element in a map when it already exists
 
the map is unique
 
I guess you could call that....remplace?
 
I don't understand the question
you mean delete the key and then emplace at the key?
 
isn't the key constant
 
6:29 AM
Something like C++17's insert_or_assign but emplace_or_assign
 
so you have to delete it first
 
the interface of std::map and friends changed a lot in C++14 and C++17
 
@Prismatic with emplace_or_assign I could simply reuse the storage of the value
oh well
 
is the key expensive?
 
No. But deleting and reinserting will cause a deallocation and reallocation of a node, no? When I could simply reuse that node.
 
6:33 AM
swag
 
@Mikhail dat font
 
It's not text. It's meters.
(Or did you mean the left most column? Yeah, ugh)
 
@Mikhail what did you pay for that 1TB SSD? ._.
 
inb4 RAID/JBOD
More likely PCI SSD though ('cause I haven't seem SATA controllers combine to > 600MB/s)
 
I also vaguely recall him saying "my SSD arrived!"
 
6:42 AM
That was someone else (nooble, Columbo or Jefffry AFAIR)
2 days ago, by Nooble
My SSD is here!
 
oops :D
 
@sehe I raid0-ed 2 samsungs 840. There is a trick! My motherboard has a real raid controller, LSI MegaRaid I normally max out at 500 with Intel RST
Tommrow I'm maxing out the controller with RAID0 drives, although I can't seem to find a controller that does more than 6 disks
 
user image
2
Anyways, off to bed. Got work tomorrow.
 
ramdisk? :D
argh, halp. how does Join<> expand to....int?!
(<nothing> + ...) -> int?!
 
One confusion i forget one English word. The word is insert. But not this. There is another insert. For example two student insert another student. Any Help?
 
6:49 AM
@MuhammadRaza please keep it SFW
 
What is SFW?
 
language barrier blocked my pun ._.
 
lol
@melak47 when the + is exhausted and uneven it's equivalent to doing + 0 which is int.
 
I rewrote 4k of C++ into 500 lines of python code. Is C++ dead, or just not a good idea?
 
awful bait
try it in the python room
might be better received there
 
6:54 AM
> Addition (+). The value for the empty pack is int() (zero)
 
yeah
 
dammit, my clever operator+ hack doesn't work...unless I overload on (typelist<Stuff..>, int)
 
yeah makes sense, otherwise empty packs would totally break
 
you could do your Join<...> without fold expressions
though it's not as short or pretty :p
 
6:56 AM
*** Error in `/usr/bin/python3.3': free(): invalid pointer: 0x0000000002bb1680 ***
fuck
 
@Rapptz better than getting a random int instead of a typelist<> :p
 
Xeo
@Rapptz I think there was a revision that removed that except for &&, || and ,
 
@Xeo no it changed the wording from 0 to int().
Which is basically the same thing
 
Xeo
eh
 

« first day (1707 days earlier)      last day (3256 days later) »