« first day (864 days earlier)      last day (4090 days later) » 

3:00 PM
@Xeo Hmm, I guess you can squirrel away the reference :/. Whatever, my tuple works anyway because it delegates assignment to std::tuple.
 
Someone else answer @Hobbyist question - I'm all makefiled out.
 
@MartinJames

Yup, I know what I must do, pass the -fpermissive params to the compiler, I know how to do it in the terminal, but I'm not sure where to place it in a ./build_native.sh file
 
Ugh.
I am inclined to say you must not pass -fpermissive.
 
Xeo
@R.MartinhoFernandes As I said.
 
That's almost always a mistake.
 
3:01 PM
@Xeo: did you finally get intertubes at home?
 
@thecoshman I dunno.
 
Xeo
@Borgleader Yes. Confirmed 50mbit down and 10mbit up. :)
 
Awesome! :)
 
@R.MartinhoFernandes

I'm just learning from a tutorial so far, and the library I'm using just got a huge version update, every function got renamed, so I'm just trying to grasp the fundamentals first, I won't be doing it in real code
 
Xeo
@Borgleader Although I wonder what I took a day off for - the technician came around 9:30 and was finished 9:50. :|
 
3:02 PM
@R.MartinhoFernandes

I'm using an outdated non functioning tutorial, fixing most of the code myself, so it's really hard =s
 
Getting innertubes is easy compared with starting his server :)
 
@Xeo so now we can post lots of pictures, yes? :D
 
@Xeo Hah, you should have either taken half a day off or spent the rest of the day abusing your new internet connection :P
 
The big problem is that -fpermissive applies to everything, so you are just turning off important checks all over in order to not get bothered by it in one or two places.
 
Xeo
@Borgleader I did the latter.
@melak47 I'll bin a stream of images the same as before. :P
I didn't bin any images just because they don't load for me (except for on-purpose things).
 
3:05 PM
@R.MartinhoFernandes

It only turns off the checks for that single instance of compiling right? I'm just getting used to the new library functions, the code itself isn't my priority right now, I won't be using it in real code
 
@Xeo got the internet ^
 
no animated gifs! :(
 
sorry
 
#include <D:/GL/glut.h>
<facepalm>
 
3:12 PM
Don't use -fpermissive ever
 
lolwut...
 
For anything
If your code doesn't compile without it, stop being bad and fix it
 
@Hobbyist Non-real code doesn't need to compile, does it?
 
blame this guy =(

http://www.raywenderlich.com/11338/cocos2d-x-for-ios-and-android-space-game
 
user142019
Use -pedantic -Wall always.
 
3:16 PM
That code is awful forget about that site
 
@Zoidberg + -W
 
-Wall is -W
What you also need is -Werror
 
really? I always though that it is strangely not
 
// Hack to access CCPointObject (which is not a public class)
class CCPointObject : CCObject {
code()
};
 
Well there is no literal "-W" so
 
user142019
3:18 PM
The best flags to compile your code are ; sudo rm `which g++` `which clang++`; sudo pacman -S ghc.
 
Xeo
lol
 
user142019
(Actually use su but whatever.)
 
One day, I shall get these programming jokes
 
It's not a joke
 
user142019
It's not a joke.
 
user142019
3:19 PM
C++ is bad.
 
And I can see why Robot was annoyed when I did that
 
@Hobbyist it removes c++ compilers and installs haskell one
 
This feels like a setup
 
@CatPlusPlus Did what?
 
Lounge, I'm sorry for brainwashing Zoidberg
 
user142019
3:20 PM
lol
 
user142019
You made me use Haskell.
 
@CatPlusPlus uh, like he had something to wash in the first palce
 
user142019
Other people made me use C++.
 
user142019
Cat, you're great. I love you.
 
This is not a test, THIS IS ROOOCK AND ROOOOLLLLLLL
 
3:21 PM
I feel dirty:
 
@Xeo how's that lazor cannon thingy going? I think me might have a first subject
 
#!/usr/bin/perl
use strict;
use warnings;

my %gen;

while (<>)
{
    foreach my $match (m/([0-9A-F]{8}-(?:[0-9A-F]{4}-){3}[0-9A-F]{12})/gio)
    {
        $gen{$match} = `uuidgen` and chomp $gen{$match} unless exists $gen{$match};
        s/\Q$match\E/\U$gen{$match}/gi;
    }
    print
}
 
user142019
@EtiennedeMartel AND SEX AND DRUUUGGSSSS
 
Are you iterating over all GUIDs
 
lol
 
user142019
3:22 PM
Rock and roll your joint.
 
@CatPlusPlus I just ran that perl -i mogrify.pl **/*.csproj to clone a solution while regenerating all GUIDs
 
@Zoidberg said teenage zoidberg
 
user142019
Perl is a great language tool.
 
> "The Canadians," wrote Lloyd George, "played a part of such distinction that thenceforward they were marked out as storm troops; for the remainder of the war they were brought along to head the assault in one great battle after another. Whenever the Germans found the Canadian Corps coming into the line they prepared for the worst."
 
3:22 PM
The only good thing about perl is the file extension
 
user142019
@BartekBanachewicz hey, don't forget I'm Dutch.
 
@Zoidberg Yeah. I keep thinking I should learn how to do this in Python. But somehow, Perl suffices for the dirty hacks like these
@BartekBanachewicz :D
 
user142019
If you need regex use Perl anyway.
 
user142019
Perl has least crappy regex engine of all.
 
@sehe s/Python/Lua/
 
user142019
3:23 PM
(Probably because it's made for these things.)
 
Perl regexes aren't even regular
 
Somehow the elegance of $gen{$match} = uuidgen` and chomp $gen{$match} unless exists $gen{$match}` manages to enchant me
 
user142019
Perl regexen allow recursion hence they're awesome.
 
@CatPlusPlus Nobody's regexen are, IYAM
 
@CatPlusPlus I think those from most regex engines aren't anyway.
 
3:24 PM
@R.MartinhoFernandes Most regex engines are PCRE
 
As soon as there's ?! and similar, it's not regular IIRC
@CatPlusPlus I think PCRE is irregular too. Just with more clumsy syntax
 
user142019
Spain is great.
 
user142019
I should go here more often.
 
I think only awk and stuff are actually regular.
 
3:26 PM
@Zoidberg where are you in spain?
 
@bamboon In the Hotel.
 
@R.MartinhoFernandes hey funnybot, update your joke-engine.
 
ugh. Ranked Queues are disabled, because of patch and whatnot
 
room topic changed to Lounge<C++>: The elite of Stack Overflow [c++] [c++11] [c++-faq] [no-helpdesk]
 
3:27 PM
@CatPlusPlus that sounds kinda lame, tbh
 
It's WIP
 
Appropriate for "Teenage Indian Programmers"
 
I need to think who's going to be butt of the joke
 
Do inline functions have internal linkage?
 
user142019
@bamboon Alicante.
 
user142019
3:28 PM
Heb je eten voor mij?
Maak wat rijst voor me jij!
 
@BartekBanachewicz Ooh, elite status, I'm going to need some fancy hors d'oeuvres
 
Xeo
room topic changed to Lounge<C++>: The elite of Stack Overflow's troublemakers. [c++] [c++11] [c++-faq] [no-helpdesk]
 
user142019
@CatPlusPlus s/W/V/
 
@CatPlusPlus What's WIP?
 
@Collin whatever that means
 
Xeo
3:29 PM
@DeadMG Work In Progress?
 
oh the topic.
 
Work In Prog...
 
Wide in progress
 
Xeo
Oh
lawl
 
@Xeo No, I meant, "What object is a work in progress?"
 
3:29 PM
The butt
 
@CatPlusPlus
 
@Zoidberg Wut
 
Please don't start spamming new tags in the topic again.
 
user142019
3:30 PM
@sehe Fraaanske Bauer eej kul.
 
ought to be a tag synonym for
 
user142019
 
@Zoidberg Waaaaaat?! Dat is een.... songtekst!?!?!
 
user142019
@sehe ~~parody~~
 
Btw, the stupid "no inline static member data, but inline static function static locals are fine" thing is incredibly annoying.
 
3:31 PM
Offensichtlich
 
How much did you say one had to submit proposals, @DeadMG?
 
@R.MartinhoFernandes 15th March is the cutoff date.
 
Lounge<C++> isn't the only room coming up with gratuitous tags
 
Gratuitous tag battles
New game idea for people who don't know when to use std::list
 
@BoltClock these days we only use , though. There was a time where we had about ten silly tags up there.
@CatPlusPlus lol
 
Feb 3 at 21:37, by DeadMG
room topic changed to Lounge<C++>: For the three thousand and fourty fifth time: not a helpdesk. [c++] [c++11] [c++-faq] [get-out] [no-limit] [no-love] [no-money] [no-pointers] [no-problems] [no-questions] [no-singletons] [no-tags] [no-thephd] [no-topic]
 
Argh.... boost::spirit why you so hard to learn T_T
 
It was great
 
@R.MartinhoFernandes Wasn't I the Great Tag Culler?
 
3:34 PM
Yes.
You did the culling by overflowing it, IIRC.
 
@Borgleader Because rep ---> me!
 
> Although you can specify any text, a warning message appears on compilation if the string is not in the format used by the assembly version number, or if it is in that format but contains wildcard characters. This warning is harmless.
Makes me wonder why they put it in, then.
 
user142019
I've been in the topic thrice.
 
@R.MartinhoFernandes Nope. I culled them.
 
@sehe Hehe, speaking of which I googled something about spirit yesterday and I came across one of your answers.
 
3:35 PM
@DeadMG But right before before you added like three or four in succession.
 
The elite of Stack Overflow (and Zoidberg)
4
 
room topic changed to Lounge<C++>: Why not Zoidberg? Because he's Zoidberg. [c++] [c++11] [c++-faq] [no-helpdesk]
 
@Borgleader Yeah. That's not statistically surprising
@CatPlusPlus +1
 
fyi that was the original topic I wanted to set but then I'd be accused of being mean to Zoidberg again
 
@CatPlusPlus That also wouldn't have been a bad edit to make.
 
3:36 PM
You. Must. Be. British.
 
room topic changed to Lounge<C++>: The elite of Stack Overflow (and Zoidberg) [c++] [c++11] [c++-faq] [no-helpdesk]
 
The spirit documentation has a lot of examples but they're all "hey xml, hey lets count words". I'm trying to lex & parse a damn programming language here T_T
 
user142019
You're the elite of Zoidberg.
 
user142019
Obey me.
 
3:37 PM
lol
 
@Borgleader See the samples. Conjure2 and MiniC are nice
 
help me guy
 
@LightnessRacesinOrbit Oh, right. I remember that one.
 
@Zoidberg Ebay you
 
user142019
Ebay yourself a pair of glasses.
 
3:37 PM
It was the lulz.
 
user142019
klootzakz
 
Haskell is the bestest language for parsing, IMO.
 
in Room for anand patel and Lightness Races in Orbit, Feb 2 at 7:18, by Lightness Races in Orbit
It's rude. Like, ruder than me!
 
user142019
s/parsing/anything/
 
3:38 PM
oi! let's focus on:
in Room for anand patel and Lightness Races in Orbit, Feb 2 at 7:19, by anand patel
Ok.I am sorry but I couldn't resist to text you because you are damn beauty.
yeaaaah
damn beauty
 
user142019
Hasperll :|
 
@LightnessRacesinOrbit language barrier
 
Also damn annoying~
 
dat bass
@sehe good taste
 
HasperlisPL/I++!
 
3:40 PM
aw man
 
it turns out SO sent me three stickers with my silly cornhole game.
 
EXPENSIVE
New from $260.62
 
@BartekBanachewicz don't know what?
 
Someone here can suggest me a good laptop below 600 USD?
(not apple)
 
user142019
3:43 PM
MacBook Pro.
 
user142019
Oh wait below 600 USD.
 
Aren't "below 600 USD" and "not Apple" redundant conditions?
 
user142019
There are no good laptops below 600 USD, so you're out of luck.
 
user142019
(Because there are no MacBook Pros below 600 USD.)
 
Zoidberg I am considering for now a ThinkPad Edge
 
user142019
3:44 PM
(inb4 I'm biased.)
 
s/biased/ignorant/
6
 
I want to freelance, but I need a machine with compiler, and that I can use in my small rented room (thus no desktops, a desk/table/whatever does not fit on it).
 
@speeder Stick a server under your bed and use it as a build server.
 
Dead
 
also doubles as a bed warmer at night/winter!
 
3:45 PM
@DeadMG no thinks on the floor, this is how I lost my last machine (flood)
things*
I live in a place that floods
 
seriously? may need to find a new room?
 
(I did not knew that fact until two weeks ago)
 
@speeder do you wee yourself often?
 
@LightnessRacesinOrbit no, I live in a street that has a river in a tunnel below it.
 
so @CatPlusPlus found the butt of his joke :)
 
3:47 PM
yeah, he sat on it
 
dat pun
 
ThinkPad Edge is a good machine?
or a Dell?
 
I had a Dell for a long time. was pretty happy with it
 
user142019
Dell is terrible.
 
@sehe That example doesn't seem to be in the current boost documentation =/ (boost.org/doc/libs/1_53_0/libs/spirit/doc/html/index.html)
 
user142019
3:48 PM
Buy desktop.
 
Ignore Mr. Everything-is-terrible (aka Zoidberg)
 
Xeo
Dell is fucking expensive :/
 
@Zoidberg I live in a room that fits only a bed.
 
@TonyTheLion thanks for the clarification
 
user142019
@TonyTheLion Not everything.
 
3:49 PM
I guess expensive is dependent on viewpoint
 
user142019
I'm not terrible, for instance.
 
well, you are in my view, rather terrible :)
 
user142019
Your view is terrible.
 
@Zoidberg Well, you are.
 
@Zoidberg subjective.
 
3:49 PM
@Zoidberg BTW, enjoying Spain? Been outdoors yet?
 
@LightnessRacesinOrbit I made that joke already!
 
no, he goes to Spain so he can chat with us
 
@R.MartinhoFernandes Dammit
@TonyTheLion He's closer so it's cheaper. No longer has to pay those expensive long-distance chatting fees.
 
@Borgleader boost.org/doc/libs/1_53_0/libs/spirit/example/qi/… Why are you looking for the examples in the documentation? They're not the tutorials
 
@LightnessRacesinOrbit And I was told to update my joke-engine :( chat.stackoverflow.com/transcript/message/7940360#7940360
 
3:50 PM
@R.MartinhoFernandes THAT WAS AGES AGO I WAS BUSY
It was funny BTW
 
What's wrong with Spain? Should I look at weather map?
 
I like your CS1.6-era joke engine
@MartinJames Look at a map of Zoidberg's prefrontal cortex
 
@R.MartinhoFernandes haha, did you take it personally?
 
@speeder sounds legit
 
@bamboon Hey, douchebag. I fucked yo momma innit.
@bamboon haha, did you take it personally?
 
3:52 PM
@LightnessRacesinOrbit I couldn't care less.
 
@bamboon I'm sure you could if you really tried.
 
@sehe =.=; my bad. thanks
 
@LightnessRacesinOrbit true
 
I have better things to do than scanning Zoidbergs. I need to to go shopping - no milk/bread.
 
@bamboon yay \o/
 
3:53 PM
@sehe what sounds legit?
 
@Borgleader I've found them after doing spirit for ... a year :) Point in case is: download boost instead of browsing online
 
@Zoidberg yes you are
 
user142019
Indeed.
 
@bamboon No.
 
user142019
Yes, I'm not terrible.
 
3:53 PM
@speeder click the arrow to the left of @your_name to see what he responded to
 
@R.MartinhoFernandes well, then I am glad and can leave now.
 
@speeder Darn. How do you keep "not-following" replies? Hover the reply, or click the 'arrow' icon...
 
Thanks
 
@thecoshman if the plinking works
 
:)
 
3:55 PM
@sehe I live in São Paulo, one of the most expensive cities in the world.
 
anyway the guy just wrote to me "it makes no fun you low bye"
 
I pay 500 USD monthly for a room that fits a bed (and that is it).
 
and surrendered
 
uh..
did this page always look like this, or is my cache playing tricks on me?
 
@speeder So. I gather, you stink. That's no problem, you know: this is the internets :)
 
3:56 PM
 
@ScottW on Brazil, it is. The average wage here is 600 USD
 
@melak47 That's always been it.
 
@speeder '500 USD monthly for a room that fits a bed' - which capital city are you in?
 
(mo)
@MartinJames São Paulo
 
OK, that'll do it.
 
3:57 PM
@melak47 also, that "unread messages" notification is killing my OCD
 
@BartekBanachewicz it does
 
Nice little place....
 
Not really :(
 
well, @cicada will have an ever growing list of plinks
 
@sehe go ahead, click it :p
 
user142019
3:58 PM
0
Q: address of dynamic array

sameera salamehI have this code which returns the address of a dynamic array by pointer .. but how can I return the address of a dynamic array by reference ? thank you.. int* e(int a[][2],int rows) { int *p; p=new int[2]; int max,min; max=min=a[0][0]; int i,j; for(i=0;i<rows;i++) { ...

 
user142019
new[] and Markdown fail.
 
user142019
Double fail.
 
@sehe haha, I was pissed when I opened stackoverflow.com I did not find the number 3 there...
 
user142019
Markdownvote.
 
I don't want my company to fail and don't want to abandon it. But I need more money to pay my debts, so I want to freelance. But I need a computer for that. (right now the only computer I use is the company computer)
This is why I am asking for a cheap laptop.
 
3:59 PM
Why it is not a "discussion question" as some might want to tag this post: I don't want your opinion. I would like people to say "It sucks for PC because..." or "Yes, it is a good choise for PC because...". — NewProger 2 hours ago
& hehe
 

« first day (864 days earlier)      last day (4090 days later) »