« first day (1815 days earlier)      last day (3119 days later) » 

user1804599
2:00 PM
@StackedCrooked does Coliru AJAX responses set a Access-Control-Allow-Origin: * header?
 
for testing's sake, I'm tempted to build each header file on its own to ensure that (1) it is self-contained and (2) it doesn't generate duplicate non-inline C++ symbols that would break in real usage
Is this crazy??
 
user1804599
> Access-Control-Allow-Origin:http://coliru.stacked-crooked.com
 
user1804599
:(
 
it would be nice to be employed as a programmer.
 
@edition Don't get your hopes too high
 
2:02 PM
@Rerito my hopes aren't.
 
@edition Are you a student?
 
@Mr.kbok yes
 
Don't worry it's very easy to get a programming job that's not the issue
The issue is that most programming jobs suck donkey balls
 
@edition Prepare to be in crisis about quiting the industry after few years in it. :D
Most of the job is mundane, IMHO.
 
consider botany
man, there's Math.SE and mathoverflow
 
2:07 PM
speaking of that, I'm in the process of re-learning calculus.
 
@Mr.kbok one of them is for pros the other is for students and hobbyists and stuff
 
@AlexM. seems weird?? imagine if there was a SO for pros and a SO for news/hobbyists
 
nobody thought about creating the SO for pros yet
AYYYYYYYYYYYYYYYYYYYYY
 
It looks like mathoverflow was created separately by non-SE people
Maybe they'll merge them someday
ahahahaha
-1
A: Create a new directory in C

DhiwaTdGUse mkdir, to create a directory. #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> struct stat st = {0}; if (stat("/some/directory", &st) == -1) { mkdir("/some/directory", 0700); } You can see the manual of these functions with man 2 mkdir commands.

 
@AlexM. newFiles.AddRange(await Task.WhenAll(oldFiles.Select(...));
maybe two rows now though
 
2:12 PM
@JohanLarsson I did not know about Task.WhenAll :O
cool stuff
lemme check this
 
you probably want:
var meh = await Task.WhenAll(oldFiles.Select(MakeNewAsync))
                    .ConfigureAwait(false);
newFiles.AddRange(meh);
 
user1804599
flexbox is really cool: jsfiddle.net/f7227po0
 
done and Bartek did not even start thinking about his monad :)
 
lol 50 rep for answering shittiest question
 
@JohanLarsson I think two rows is fine and shows what's intended pretty well
var fileTasks = oldFiles.Select(...);
newFiles.AddRange(await Task.WhenAll(fileTasks));
this, right?
 
2:17 PM
well I made a guy happy
3
 
@Mr.kbok linkpls
 
@AlexM. yeah, I would await Task.WhenAll on line one though. Nicer debugging experience to be able to inspect it
@AlexM. also ConfigureAwait(false) or true, always be explicit about it imo
 
user1804599
 
@Mr.kbok hey the guy's romanian
cool
 
@elyse yeah, I heard about traits
 
2:20 PM
@JohanLarsson should it not be true?
or wait
I'm not sure I got what ConfigureAwait does
 
@Mr.kbok that's gonna get so starred
 
@AlexM. It captures the synchronization context. Only time you want it true is if you are touching UI controls on the lines after. False should be the default and ConfigureAwait is poorly named.
 
@JohanLarsson got it, I also saw an example here blog.ciber.no/2014/05/19/…
it makes sense, thanks
so basically false = don't keep the context
 
6d912d5 integrate console output into UI
 
2:30 PM
I'd imagine that true means a perf hit also, scheduling back to the threadit came from
 
@AlexM. Hi Rapptz
 
@ʎǝɹɟɟɟǝſ damn, I knew I shouldn't have talked about programming, now people think I'm Rapptz
 
@Mr.kbok are you aware of MD* file format? It might fit you better than OBJ or FBX.
there are thousands of md2 models on the internet as well
@JohanLarsson implicit contexts have both advantages and disadvantags vOv
 
a poor default in this case
@BartekBanachewicz what I meant was that we could solve a somewhat tricky problem in two straightforward lines.
Using some fancy technique would probably have taken a long time.
 
this particular problem
some languages and techniques are better suited for some problems
this can often mean the solutions are shorter
 
2:35 PM
yeah, it was just a lame joke
 
great day today, turned a 100+ LOC behemoth made of code mess into a nicely readable overview and its companion functions
time to celebrate internally
 
@fredoverflow wergh why are you using printf for unformatted strings
 
(so that people can't hear it)
 
@AnalPhabet Because puts has an implicit newline?
Also, I'm interpreting an AST in Java. Fuck efficiency.
 
@fredoverflow uu this sounds brilliant
 
@BartekBanachewicz I wanted a format supported by XNA pipeline loader
 
Ew~, the fish bowl looked like my goldfish had a bloody diarrhea.
 
@Mr.kbok isn't XNA dead?
i can't remember how many times I've asked this question
 
@BartekBanachewicz There's monogame which isn't. It's the same API. I'm starting with XNA because the build system is better integrated
 
some people have apparently written MD2 importers
 
Xeo
2:48 PM
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
 
so
I have this overload set
 
ueeeh
get rid of it
 
one of them is template<T> void func(vector<T>) etc
 
2:52 PM
I knew it!
Don't mix overloads with templates.
 
@BartekBanachewicz what should I do instead?
 
Wait, you take a vector by value? interesting
 
@Mr.kbok depends on whether using C++ is a requirement :)
 
I'm starting to watch the 2nd season soon
 
@fredoverflow Keep in mind that kbok is a newcomer
 
Xeo
2:55 PM
@AlexM. nope, looked shitty
 
@Xeo whaaa it's really cool
I mean the characters are kinda ugly at least some of them
but the tsundere girl is the best
 
Xeo
go watch something good instead
 
:(
 
I wish I was about 8 years better at C++
 
that also means being 8 years more miserable
 
2:57 PM
'there a better route?
 
@Jaden You're not the only one, but C++ is hard to get right
@Jaden Yes forget C++ and use a sensible language
 
@fredoverflow no, I don't write template<T> either :)
 
we make hardware. C/C++ is where it's at
 
c/c++
 
2:58 PM
@AlexM. IRTA My Teen Romantic Comedy SFINAE
2
 
@Mr.kbok really?
 
@Jaden what?
 
So which parts do you write in C, and which parts do you write in C++ and why?
 
@milleniumbug lol
 
2:59 PM
> subtitled My Youth Romantic Comedy Is Wrong as Expected. and abbreviated as Hamachi
 
@Mr.kbok How are your enable_if shenanigans?
 
@Mr.kbok not sure, maybe I inferred incorrectly.
 
@Jaden C/C++ is not a thing
 
@Rerito Your Solution Is Wrong as Expected
 
its either C or C with Classes or C++
 
3:00 PM
wow is this the real jaden
 
@Jaden I thought you make hardware with soldering iron, not programming languages
 
@TonyTheLion C++ with classes
 
@Rerito "Undeclared identifier"
 
> using meters = std::chrono::seconds;
 
SFINAE has to happen inside the specialization methinks
 
3:01 PM
@fredoverflow C++ with glasses
 
@TonyTheLion C and/or C++. I concede
 
C++ with goggles
 
@Mr.kbok That's what I feared as well
@milleniumbug Of beer
 
@Morwenn why what
 
@milleniumbug Found that on Code Review.
When will we standardize Boost.Units and make it compatible with std::chrono::duration?
 
3:04 PM
eh i want to go home already
but i was here late
 
@BartekBanachewicz Me too. Menial tasks today ~_~
 
this is great
 
@AnalPhabet meh, automatically translated
brainfuck is such a cool language though
 
SNUSP is way better.
 
The optimized C equivalent is 2MB
 
3:09 PM
> Brainfuck, modern language for your needs
> * no race conditions
> * referential transparency
> * easy to pick up
 
Brainfuck: source files are easy to compress.
 
easy to pick up?
 
@LightnessRacesinOrbit I wasn't guessing randomly at all. I've noticed a lot of elements hinting at OpenCV use. Again, this is not a place to discuss this matter, so please refrain from posting here and open a question on Meta instead. — Bartek Banachewicz 28 secs ago
I'm playing his game :D
 
lol
he's so crazy
 
@Bartek: The key word there, son, is "hinting". — Lightness Races in Orbit 24 secs ago
Flagged as "too chatty"
 
3:14 PM
> It is not up to you to guess at tags, your misplaced "it was so obvious, bro" confidence notwithstanding!
 
@Bartek: The key word there, son, is "hinting". And if you are so adamant that discussing this matter not take place here, to the extent of ordering me to "refrain", start by doing so yourself. — Lightness Races in Orbit 1 min ago
ahaha new revision
> I absolutely have to have the last word despite the fact I'm wrong.
 
Unoptimized C equivalent is 13MB
 
I wonder if I should open a meta thread now
 
ITT LRiO gets its account deleted
 
I'm piling on because I dislike the guy
 
3:17 PM
who is LRiO
 
your mom
 
@GregorMcGregor your troll alt
 
ah yes
 
@BartekBanachewicz: No, it's an undefined type. — Lightness Races in Orbit 26 mins ago
wow
I don't even
This level of stubbornness is the same as Alf's.
 
@Mr.kbok: You've completely missed my point, but that's okay. I'll forgive you. — Lightness Races in Orbit 22 secs ago
 
3:19 PM
meh
 
@TonyTheLion He posted in the Lounge.
 
I wonder if he's like that IRL too
Or just trolling people for sports
 
Nah he's the nicest person ever IRL
 
you met him?
 
He goes by the nick Bachar LRiO Assad
No I don't know him but let's not judge people prematurely shall we
 
3:22 PM
@Mr.kbok he's not even trolling, he just has to win all arguments - and many of them, he starts
other than that he's fine
 
@R.MartinhoFernandes oh I see
 
@R.MartinhoFernandes I also searched the obituaries, but way too many people with the same name. So it was inconclusive.
 
oh he also likes to provoke people but not in a trolling sense, that I mind a bit
@Mysticial I sent him an email, no answer
 
I'm quite concerned tbh. Maybe nothing happened to him physically but he might be going through troubles
if we had at least a way to reach him
 
3:24 PM
@GregorMcGregor I said "I wonder" uh
 
@Mr.kbok You judgemental bitch
 
@AndyProwl Something is definitely not right.
 
maybe regulars should share their phone numbers?
so in case they disappear, the others at least know what's going on
 
If I disappear you won't be able to call me
 
why not?
 
3:25 PM
HEY MR KBOK ARE YOU DEAD?!?
 
Mine is 6663629 (Sex! Sex! Sex! Free sex tonight!)
 
lol, well let's say if you disappear and are not dead
 
Sometimes, Cracked has some pretty interesting articles.
 
so if you don't answer we'll know you're dead
or well I guess if you don't answer and you're dead is likely that somebody else will let us know by sms or something
 
well Andy, IIRC you have my number
 
3:26 PM
unless it was like a horrible car crash and your phone got destroyed
@TonyTheLion I do, yep
 
Maybe Martin just started enjoying C again
and forgot about the Lounge?!
 
s/C/beer/
 
robot has my number
 
I'm so bored today ._____.
 
@Mr.kbok you sure? he mentioned losing Martin's after he lost his phone
 
3:28 PM
cicada has it too for booty calls
 
@Mr.kbok Wow.... LRiO really is in a foul mood today
 
@AndyProwl Oh, well, he must have lost mine too then
 
@Mr.kbok maybe @thecoshman can make one of his google docs with lounge contacts?
email and phone should be enough - of course for those who want to share them
 
Well, I wouldn't want my number naked on the internet
 
nekkid
 
3:29 PM
@Mr.kbok lol (do I? I just know your name)
 
Anybody up for a beer?
 
with a flag "just call me in case I'm gone for a month to check if I'm not dead otherwise fuck off"
 
@Mysticial I know his age too.
 
@Morwenn I'll have beer, but I have to drive, and I'm too far away from you
 
@GregorMcGregor jk
 
3:29 PM
He's definitely not in the obituaries. (Which is not conclusive)
 
@Morwenn I'm half drunk with british cider (only cider you'll find in HK)
 
@Morwenn I would, but distance
 
@TonyTheLion There is plenty of room to sleep :o
 
@Mr.kbok cipher it with a key only loungers know
 
3:30 PM
@Mr.kbok Next time you're around :p
 
@R.MartinhoFernandes Same here. It's visible on his SE profile. (assuming it's correct)
 
@Morwenn Maybe when my cousin gets better, I'll visit him in Brest
 
@GregorMcGregor How is it different from regular cider?
 
@AndyProwl The key is Pi. The encrypted value is the offset and length of digits in Pi that make up your phone number.
 
@Mr.kbok I'll try to remember that :)
 
3:31 PM
It's not bad actually, first time I drink cider that isn't from Brittany
 
@fredoverflow this doesn't load for me
 
@GregorMcGregor Not even from Normandy?
 
fuck no who the fuck do you think I am
 
@TonyTheLion F5 / restart browser / click on it
 
@AndyProwl I had his number but lost it in with my phone.
 
3:33 PM
@GregorMcGregor I've actually no idea who you are.
 
@Mr.kbok Yeah, lost it.
 
@fredoverflow :D
 
@AndyProwl keybase.io
 
@milleniumbug Yeah, idk wtf is up with him today...
 
@R.MartinhoFernandes Yeah, you mentioned
@fredoverflow NSFW
 
3:35 PM
@AndyProwl should I look...
 
@edition not sure
 
I looked
 
are you traumatized
 
traumasstized
 
I'll take that as a yes
 
3:36 PM
the picture is ok.
 
ew gays
 
gay?
 
ewwww
 
grosssss
i'd rather be moslem then gey
 
@AndyProwl the key is literally hitler
 
3:38 PM
I also used Google Maps and transcript magic to narrow down his house.
 
Martninjho
 
robot is actually jarvis
 
@JerryCoffin nice
@R.MartinhoFernandes so you know his address?
 
Do you also run on the Oracle cloud
whatever that is
 
3:39 PM
@AndyProwl Roughly.
I knew his club.
I'm thinking of calling.
 
at the club?
it would be great if it worked but I'm afraid they're gonna think you're a stalker or something
 
@AndyProwl To a 1-out-of-5 houses accuracy.
@AndyProwl I was thinking of asking to speak to him.
 
Then you have his landline number no?
 
Like an angry wife.
 
3:43 PM
@GregorMcGregor How can I get that?
AFAIK There's no GPS-to-phone number service.
 
user406009
@R.MartinhoFernandes Phone books.
 
user406009
Do you know his birthday?
 
If he's black or asian it doesn't work
 
well if you know it's 1 out of 5 just send a letter to all 5
 
user406009
3:44 PM
We could just send him a birthday card and cake from the Lounge.
 
@GregorMcGregor racist
 
You can't spell racist without cyst
 
lol my shortcuts for build + test form the work UNITE
u :NI :TE
 
kbok pls work
 
kbok pls work
 
3:45 PM
what :(
 
@Lalaland Oh, duh.
 
work pls kbok
 
@GregorMcGregor Thanks. Will check.
This feels really dirty, but it's for a good cause.
 
That's what she said
 
We're aware of the @CloudFlare issues and are disabling them now.
 
3:46 PM
Also, I'm a bit scared that either I'm good at this, or this is way too easy.
 
It is way too easy when people don't take proper care
 
user406009
ITT We dox Martin for the lolz.
 
@R.MartinhoFernandes the first option shouldn't scare you
 
> An error occurred
Application error
That's his phone number.
@GregorMcGregor That's news?
 
3:50 PM
@AndyProwl dat ass
 
@milleniumbug dem asses u mean
 
@R.MartinhoFernandes It will become mandatory
 
@AndyProwl yup
 
Now it worked.
> 0 results for Martin James
 
I have this notion that James is not his real surname
 
3:52 PM
Could be a nickname
 
Oooh, found something.
One out of three possibilities.
(Or zero)
Let's see if he mentioned voting in the transcript, since I have his electoral roll.
COOOOL
Only one of them voted in 2014.
This is fun.
> Telephone number: Phone number not available
 
Gonna call the club later tonight.
 
I can't believe they didn't name this site chatoverflow.com
 
@R.MartinhoFernandes "Hello, is Martin James there?" "Sorry, never heard of 'im. Click" "Hey Martin, you been going after Portuguese chicks? Guy just called looking for you had a Portuguese accent."
 

« first day (1815 days earlier)      last day (3119 days later) »