« first day (780 days earlier)      last day (4172 days later) » 

8:00 PM
@DeadMG You have a fork?
 
Oh, so it's the same problem as with OCaml, then: lobbying is pushing it in French universities.
 
http port 80, PULL /
 
@R.MartinhoFernandes Probably not. I just pulled it and changed shit.
 
@CaptainGiraffe But by hating Prolog you get to be a hipstier person ;)
 
@DeadMG You need to fork and push to your fork.
 
8:01 PM
@Borgleader I'm in my basement, thats were it's at. In the basement.
 
@R.MartinhoFernandes What? I have no idea what you just said.
 
@R.MartinhoFernandes that's usually the point where I email a zip file
 
@R.MartinhoFernandes Ah.. no no. terrible grammar on my part then. the next sentence says he's flat wrong on both approaches. I was referring to my answer. as in. manufacture the uint32_t; don't try to pull one from something that isn't one. I get the critique now (sorta).
 
Xeo
@R.MartinhoFernandes Hm, not totally sure yet, tbh.
 
@DeadMG Go here bitbucket.org/martinhofernandes/ogonek/overview and click "Fork"
Then get the URL of the fork you just created and push to that repo. Done.
Oh, I can fork my own repo.
@MooingDuck Seriously, it's as complicated as pushing a button and then pushing code to a normal repo.
 
8:03 PM
right
I forked it, and I pushed to my fork
now what?
 
now you fork to your push
duuuuh
 
@DeadMG You do a pull request
 
@DeadMG There should be a "pull request" button in that repo's page.
 
right
 
Neat.
> you know what I'm sayin
 
8:06 PM
btw
 
I totally hardcoded the path to the Boost library in the project
which was completely noob of me
 
Oh, muchas gracias for adding VS crap.
 
Xeo
1 hour ago, by R. Martinho Fernandes
I see that my boobs are still popular.
For some reason, I thought the insect wrote that
 
oh you need boost as a dependency. Still need to implement external dependencies :(
 
8:07 PM
@Xeo Jeez, I wonder why.
 
Ell
I wonder how north korea is
 
Robot has boobs? o_O
 
@ThePhD (That was the joke)
 
Xeo
@EtiennedeMartel Must be the message above in the starboard!
 
.... Oh. Doing that joke-killing thing again.... Man why do I suck at this shit. D:
 
8:08 PM
10 hours ago, by sbi
@FredOverflow The robot's boobs are to small for my taste.
 
Thanks Duck, Mr. Marinho, DeadMG, et'al I updated the first sentence to hopefully make it clear the question-code is NOT right. I appreciate the input guys. Thanks.
 
Marinho, that actually sounds kinda feminine.
 
Nice, have an upvote.
 
@ThePhD Yep.
 
@ThePhD It's actually another male Portuguese name.
 
8:09 PM
@R.MartinhoFernandes Is it because it ends with "o"?
 
-4
Q: I demand this simple algorithm in c++ or Java

Mohammad MousaviI want this simple algorithm program in C++ or java MATCH-JUGS(R, B) 1 if |R| = 0 2 return 3 if |R| = 1 4 let R = {r} and B = {b} 5 output (r, b) 6 return 7 else r ← a randomly chosen jug in R 8 compare r to every jug of B 9 B1 ← the set of jugs in B tha...

1 more vote
 
Oh. Well good thing I didn't go on a blind date and select 'Marinho' as one of the potential candidates.
 
@EtiennedeMartel Yes. Female words often end with "a".
 
So it'd be Marinha?
Sounds like everything about her would be a punchline.
 
Would. I don't know if anyone actually has that name.
 
8:10 PM
I demand that you get the fuck off this website. — DeadMG 21 secs ago
 
I demand that you get the fuck off this website. — DeadMG 21 secs ago
 
@LuchianGrigore 9 downvotes in 2min. Wow
 
@DeadMG actually, the "demand" part was my edit. :D
 
lol, that comment was killed fast.
 
8:11 PM
I didn't even get to see it. D:
 
wow, people really hooked on that "demand" part...
well, off to lunch
 
@LuchianGrigore Communication is important
"Demand" in English has a very strong meaning
In French (for example) it's exactly "I ask"
 
If I make a Portuguese character in any of my games,
 
@NolwennLeGuen In Portuguese, it's just something French emigrants say instead of "perguntar".
 
her name will be Marinha.
 
8:12 PM
Demand was fitting for the question. No need for euphemisms.
 
I should also spell Portuguese right.
... Hm. I think... I'm murdering the performance here.
ManualResetEvent!
That's what I need. But this isnt' C#. Gotta figure out how to translate that into C++.
 
Oh noes, Windows event thingies.
 
@R.MartinhoFernandes What?
 
Oh god Why do all the answers have to have Boost? D:
What about people who don't use boost? WHAT ABOUT US?!
 
feel free to wallow in your ineptitude
 
or just use Boost
 
@DeadMG Oh wait, I was confusing.
 
@ThePhD secretly install boost libraries to the build machine
 
Heck, I even added boost for MSVC builds of Ambrosia!
 
@NolwennLeGuen Oh. Wow there's actually a ManualReset Kernel object. Cool.
 
8:17 PM
then when coworkers can't build have them install boost.
 
@MooingDuck It's like poisoning the water, but with Boost. ... I like it.
 
otherwise I wouldn't be able to use braced init lists. Now they look like macro'd init lists.
 
@rubenvb Oh, how did you that?
Can I use that trick in static initializers?
Me and the puppy are actually currently struggling with that problem.
 
@R.MartinhoFernandes the macros and the usage
 
I don't suppose ResetEvent's are part of any kind of std, right? So I can create my own and you all won't shoot me with a Flak Cannon?
 
8:20 PM
Mutexes and condition variables are in the standard.
 
I'm using it for extern globals.
 
I am sure boost has reset events too.
 
Condition variables... what purpose do those serve?
 
@ThePhD You block until a variable meets a certain criterion. (IIRC)
 
@rubenvb Ah :( Boost.Assign.
That won't work in static initializers.
 
8:21 PM
ok, bummer. It works for my purposes.
 
@NolwennLeGuen Oooh. ... So wait, those are pretty much what are called ResetEvents in C#. I might as well just use those, I'm pretty sure I came across std::condition_variable in a few places....
 
I got it from my question at SO.
 
Well, thanks anyway.
 
1
Q: Nesting Boost.Assignment `map_list_of`

rubenvbIs it possible to change this C++11 initialization: const std::map<int, std::map<int, std::string>> test = {{1, {{1, "bla"}, {2, "blie"} } }, {3, {{1, "ha"}, {2, "hie"} } } }; To some form with Boost.Assignment without using temporaries? It do...

 
@ThePhD They're not the same
 
8:23 PM
Ah. I see.
 
They do pretty much the same thing though
 
Oh. The diffs of the pull request on bitbucket are worthless...
 
But Event objects belong to the kernel
 
The puppy renamed every file to end with .hpp due to his primitive development environment :(
 
@R.MartinhoFernandes What's he using
 
8:24 PM
VS; what other primitive development environment do you know?
 
What does VS has to do with renaming everything to hpp
 
.h++ looks weird though..
 
@R.MartinhoFernandes Ahahahahah
 
@NolwennLeGuen Apparently it stops working if you use anything else.
Don't ask why.
 
You just need to make buildsystem rules for that
And if not, then MSVC is truly retarded
 
8:26 PM
@R.MartinhoFernandes That's utterly false
With CUDA I had plenty of .cuh and it worked flawlessly after I added the extension somewhere in VS's config
 
Then the puppy sucks.
 
That's more likely.
 
I concur.
 
Either the puppy or VS sucks. I won't be surprised either way.
 
I vote for both
 
8:29 PM
At least it's appropriately named.
 
he should rename all the files himself and repush his changes
 
Renames and vendor adds always go first and in separate review request.
 
git'll figure out the files are the same.
 
Also > .suo
 
Jesus that page is laggy
 
8:30 PM
> .user
 
> Debug/
 
@Rapptz The pull request basically amounts to deleting and rewriting all the code.
 
> Project1
I can't thumb down :(
 
I know, right.
 
8:32 PM
lol I have to admit though, he actually took the time to change all of it? Sounds like a pain in the ass
 
@Rapptz No. Only minor changes. He did rename everything, and that utterly fucks up the diffs.
 
I knew @DeadMG sucked at version control, but this... I did not expect.
 
@R.MartinhoFernandes Well he changed both the file names and the includes.
 
Ah. That too.
 
Huh, comments on Activity are different than comments on Diff wtf
 
8:34 PM
@Rapptz You realize it's a one liner in bash or powershell right
 
@NolwennLeGuen There's a big difference between what you can get VS to do if you have a specific extension, and what you can do by asking it in the GUI.
 
I don't use powershell
 
Oh, it just showed up
 
namely, that I specifically set it to treat them as headers in every way, but it still wouldn't
 
Because VS is horrible
 
8:35 PM
You must be doing it wrong
 
Now FF stopped responding.
 
I just had to add a rule to "treat .cuh as C++ Headers" and it worked like a charm
That's a bit ridiculous since C++ headers don't work like a charm
> Tools -> Options -> Text Editor -> File Extension
That's what you did I assume?
 
Ugh, why do I insist on clicking anywhere on that page.
I know it won't do anything withing 10 seconds.
 
posted on December 04, 2012 by Sana Mithani

Casablanca: a native library to access the cloud from C++  Take a quick 10 minute break and give us your feedback on Casablanca. The Casablanca team would love to hear what you have to say! We want to know how you are using the libraries and what you like or don’t like about Casablanca. This data can help us improve Casablanca and help us meet your needs.   http://aka.ms/

 
@NolwennLeGuen No, why would I look for that? Each file has an individual property, and one of the settings is "C++ header". In fact, it has about two properties of this nature, both of which I set.
 
8:38 PM
White house?
 
Also, there's one file with converted newlines, don't do that either.
 
OK. Automatic dependency header dirs passing is working.
 
@CatPlusPlus How can you see that?
 
Now to link to lib dependencies.
 
Bah. I'm sure you must be doing it wrong. I mean, even I got it working.
 
8:39 PM
@CatPlusPlus The generator generates it with inconsistent newlines. All I did was fix it.
 
and execute the link command.
 
@R.MartinhoFernandes +1219 -1219
And it's the entire file, so
 
@DeadMG No, you converted them all to \r\n probably.
 
Oh come on, are you saying that even the diff on the C# file is worthless?
 
8:40 PM
@CatPlusPlus It let me choose which one I wanted, and I didn't care, and \r\n was the default.
 
That's UcdCompiler.cs
 
@R.MartinhoFernandes What? No, why would it be?
 
@DeadMG I believe that merely tells it if it should compile that file as part of the project or not. I don't think that setting affects anything else.
 
@DeadMG Because every single line changed.
 
8:41 PM
Also why did you copy that file over to tools/ucdconverter
 
@R.MartinhoFernandes I only changed a few lines, and definitely did not do anything with line endings.
@CatPlusPlus I dunno, I just stuck it somewhere so that it would work.
 
Diff don't lie
 
The diff says otherwise!
 
diffs are hardly perfect tools
 
@DeadMG the editor altered all the line endings automatically for you
 
8:42 PM
I think I'm gonna download this and vimdiff each pair of h++ and hpp by hand. Sigh.
 
I doubt that VS to VS changed any newlines.
the only time it asked me to change them was in one of the generated output files.
and it was like that when I got it
 
VS is a terrible editor
 
No, it's the command line tools that are horrid and something.
 
8:43 PM
No, the editor is horrible as well
Debugger and other associated tools might be decent, but editor is crap
 
One day VS sucks.. Other day it doesn't. Can't you guys just agree on something :(
 
No, the editor is awesome.
 
@CatPlusPlus Debugger doesn't play nice with smart pointers.
 
The debugger is the most awesome of all.
 
@R.MartinhoFernandes Ahahaha
 
Ell
8:44 PM
who needs a debugger.
 
You've got to be kidding
This is hilarious
 
@NolwennLeGuen Try watching some expression with an overloaded operator->, like pretty much anything involving a smart pointer.
I have to use workarounds all the time.
 
@R.MartinhoFernandes Idk I don't do C++. I do C and C#.
Also if you're unhappy with VS's C++ debugger, please do try GDB.
 
I have been using GDB.
 
Ell
It makes me laugh all of you thinking you are superior to eachother :P
 
8:45 PM
What do you think I debug with when I am not at work?
Though I haven't actually fired up GDB in weeks.
 
@Ell It tires me sometimes.
 
I am not much of a debugger person.
@Ell I think we have actually been factual so far.
 
Ell
I just use std::cout << "YAY IT WORKS!\n;
or std::cout << "gayyyyyyy\n";
or some random word
 
And for most of wheels I actually had no debugger at all :/ No debuggers for TMP.
 
I rarely use a debugger, and GDB is sufficient
 
Xeo
8:48 PM
@R.MartinhoFernandes Maybe because most of the stuff you write is concentrated on compile-time?
 
It's mostly postmortem anyway. :v:
 
@Xeo Not on ogonek.
I think I used the debugger three or four times for all the code I wrote so far on that.
Debuggers are more useful when you don't know the codebase.
 
Make tests not debuggings
 
If it's something I know very well, like ogonek, I can just look at test results and figure it out from there.
 
Loose coupling and isolation hell yeah
 
8:53 PM
I like to have a debugger if I am after a segfault or some other UB like that.
But those I can reduce a lot with decent code.
 
So. Should I buy Far Cry 3?
It's a difficult decision.
 
Mu.
I should not have eaten all that.
 
Ell
I shouldn't have eaten that whole box of celebrations
esp. the snickers :/
 
rofl
 
Ell
snickers are not nice
but I'm eating them to procrastinate from homework
 
8:56 PM
Man, I don't want to wash the dishes.
 
@R.MartinhoFernandes buy a dishwasher and let her do it.
 
purchase dishwasher
 
No monies.
 
Ell
@rubenvb damn you beat me -.-
 
@rubenvb Seduce a dishwasher and make her do it.
^^
 
Ell
8:57 PM
@R.MartinhoFernandes mine some! :D
 
FYI, I'm ignoring every commandline length limit known to man and pushing all object files to the linker through the commandline currently.
 
You mean it doesn't work on Windows.
 
lol
I think I'll look at those diffs tomorrow.
 

« first day (780 days earlier)      last day (4172 days later) »