« first day (839 days earlier)      last day (4108 days later) » 

3:05 PM
woah Robot now has 60k rep
 
@TonyTheLion meh
 
@TonyTheLion Only 104k left to catch up with Jerry!
 
I know
all those sub-70k people are meaningless
 
Yup. Dutch likewise. Is portuguese a dialect of <shit I can't remember that name. Logix or something like that/>?
 
3:07 PM
@R.MartinhoFernandes you can do it :P
 
@DeadMG Sure, that's why you keep asking me stuff.
 
@DeadMG just like all this rep you mean?
 
@sehe Portuguese treats those concepts separately.
 
@DeadMG like the super-65k people
 
There is "poder" (to can) and "conseguir" (to can).
 
3:07 PM
> Visit my website to see my C++ tutorials and about me.
 
@R.MartinhoFernandes ?!?!?! "to can"?
 
the about me bit is missing :(
 
@sehe The English verb?
 
tocan
 
3:08 PM
"Yes, we can".
 
Toucans are members of the family Ramphastidae of near passerine birds from the Neotropics. The Ramphastidae family is most closely related to the American barbets. They are brightly marked and have large, often colorful bills. The family includes five genera and about forty different species. The name of this bird group is derived from the Tupi word tukana, via Portuguese. Morphology Toucans range in size from the Lettered Aracari (Pteroglossus inscriptus), at 130 g (4.6 oz) and 29 cm (11.5 inches), to the Toco Toucan (Ramphastos toco), at 680 g (1.5 lb) and 63&n...
 
@sehe ooh thanks
 
I was thinking of the bird
I'm always thinking of birds :P
 
Anyone up for a quiz? Which of these lines do compile?
int a = 1;
int(b) = 2;
int c(3);
int(d)(4);
 
Xeo
all but 4?
 
3:09 PM
None.
Haskell doesn't allow semicolons outside of do.
 
Xeo
lol
 
@FredOverflow meh
I knew it was a trick question
 
What about it was particularly tricky?
 
the bit you left out
ie, the fact that we were supposed to consider main wasn't implied
 
3:11 PM
The answer is "all four compile", if you're confused.
It wasn't about main at all.
 
oh you
 
@TonyTheLion It was full of unspoken assumptions! Like, it has a main function, it is C++, and other crap like that.
 
Wait, ideone finally updated to 4.7.2?
 
No
I'm not happy
I'm dealing with XML
It's terribru!
 
Xeo
3:14 PM
@R.MartinhoFernandes Woah.
 
@Xeo Twas recently, since the isocpp post still mentions 4.3 and 4.5.
> The version information for ideone.com is wrong. It was updated to GCC 4.7.2 (for both C++03 and C++11 modes) on Wednesday.
 
0
Q: What is the infinitive of "can"

seheLike the title says: I don't think "to can" is right :) I can't find the answer on here. (There's What is an "infinitive"? which sidesteps this precise case). Online dictionaries draw a blank (http://www.merriam-webster.com/dictionary/can, e.g.). I'm looking for some official indicati...

 
You should mention it is "can" in the sense of being able to/knowing, not in the sense of discarding (i.e. the verbed "can", i.e. "bin"). Did I mention fuck you, English?
 
"to can" someone is to fire them (colloquial English)
or "can" in the sense of "to be able to"?
 
@sehe o_o I have no idea what that means
 
3:20 PM
lol
 
Did I mention fuck you English? :P
 
@thecoshman he even links what an infinitive is ~_~
 
why hello friends
 
My animations are running flawlessly in Debug
But in Release they don't loop and disappear. lol
 
probably UB
 
3:24 PM
Any ideas? What's UB?
 
also
 
Undefined behaviour.
 
@R.MartinhoFernandes: Do you know if there's a way around this cast? ideone.com/CWuoSD (I was reading C++ Templates and they said there was a proposal to get around it)
 
Oh
 
how the fuck am I supposed to gain any meaningful ideas?
I have no idea about anything about your code.
nor do I intend to gain such ideas.
use a debugger
 
3:25 PM
It's disheartening the amount of people using C or C++ that don't know what UB is :(
 
Haha chill, thanks.
I am, just wanted some upfront "oh, it's probably that", which could save time. thanks
 
@R.MartinhoFernandes It's not like it's one of the first thing they teach in classes or books.
 
except I have no idea what on earth it could probably be.
 
@Borgleader No, I don't know a way around it... It isn't needed... ideone.com/iXGpZr
 
since I have never, ever seen a single line of your code.
 
3:26 PM
@EtiennedeMartel But should be :/
 
it could probably be a bug.
 
@R.MartinhoFernandes Yep.
 
in PHP, 1 min ago, by Badaboooooom
i'm whitelisting all chars i don't want
 
@GigaBass My guess? You got UB somewhere in your code which causes the compiler to optimize away that part.
(Because compilers can do that)
 
Yeah I've had a problem once relating to debugger/release aswell...
 
3:27 PM
You should read this excellent (three part) article. It's about C, but it's still relevant.
3
 
@R.MartinhoFernandes Huh... Well I guess my book is a little old o.o Thank you.
 
Yeah, read that. All three parts.
 
so he does :P
 
C? KILL IT WITH FIRE
 
Yeah I will, very curious how compiler optimizations can fuck shit up, taking a break to read it, brb.
 
3:29 PM
Aggressive puppy.
 
compiler opts can't fuck shit up
they can only break things which are already broken
 
unlike programmers
 
Did you read that?
 
@DeadMG Most UB in C++ come from C, so I think it's perfectly fine to explain UB in the context of C.
 
Because if not, you should.
That said, you're somewhat right.
 
3:30 PM
@R.MartinhoFernandes So do I.
 
@DeadMG Yeah, that's what that article tries to convey.
 
@EtiennedeMartel To whom do you refer?
 
I've read it several times
 
0
Q: Passing STL List iterator to a function

DavidDon't understand why I have to increment/decrement the list iterator to make this function call work. Is there a less convoluted way to call this? Referring to the nested for loop, the "insertDDNode(*(--DD_it), *(++DD_it), data[j-i], data[j+1]);" segment. void insertDDNode(DataNode *l, DataNod...

The discussion below the question about UB needs a judge to decide :)
 
3:33 PM
@R.MartinhoFernandes Why are you in PHP room D:
 
unpredictable behavior? Why do people keep coming up with new words that don't mean anything?
 
@EtiennedeMartel It means the behaviour is unpredictable? Can't you English?
 
@R.MartinhoFernandes That's not what I meant.
Does the standard even have the term "unpredictable behavior"?
 
user142019
Got a job motherfuckers!
 
user142019
3:35 PM
Also hi.
 
erm, I have a job
so shush
 
@Zoidberg You dropped out of school?
 
@TonyTheLion Took me a while to get it.
 
user142019
 
3:36 PM
@Zoidberg You're officially a dumbass.
 
@Zoidberg That's one fine slowpoke.
 
he's zoidberg
 
user142019
@Borgleader Not really, no.
 
@Borgleader He's young. He'll grow into a not-dumbass eventually.
 
user142019
Wasting four years of your life for a piece of toilet paper is dumb.
 
3:37 PM
Well if it was a very good piece of toilet paper
 
Good toilet paper is hard to come by.
 
user142019
Yeah it has printed on it that I went to school.
 
It needs to be soft on your ass
 
Either it breaks down when you're using it or it leaves you with a sore asshole.
 
Has anyone used this profiler before? codersnotes.com/sleepy
 
3:39 PM
Robot has ventured into a discussion about unicode in the PHP room
 
Alright, I'm gonna use a regex.
 
@TonyTheLion Oh god, pull him out before it's too late.
 
He'll be fine. He's used to dealing with morons. He hangs with us, after all.
 
@TonyTheLion The anglo-centric approach to text annoys the hell out of me.
 
3:41 PM
@Borgleader I've only used two C++ profilers in my life. One of them was VTune, and the other one was this.
 
Kid was black-listing "special characters". Like the euro symbol.
 
@R.MartinhoFernandes lol
you are on an English speaking Q&A site
 
@TonyTheLion So what?
 
@R.MartinhoFernandes maybe he's anti eurozone
 
lol, I'm back, and: edited
By the way, some answers there are worthy of our upvote
 
3:42 PM
@Borgleader Works reasonably well, if you can manage the weird crashes that are oh so common with beta open source software made by some guy in his free time.
 
@EtiennedeMartel Cool cool. I was just wondering if it was "common" because I learned about it on some random blog fgiesen.wordpress.com/2013/02/01/…
 
I think you need to pay for V-Tune so... kinda hoping this one will be interesting to play with
 
@Borgleader It's about the only free C++ profiler that works, so of course you'll hear about it if you Google around.
And because no one profiles C++ unless they already have the cash for a "real" profiler...
 
Well I thought MSVC had one but I never got it to work.
 
3:44 PM
@R.MartinhoFernandes What a racist.
 
in PHP, 3 mins ago, by Jimbo
@R.MartinhoFernandes Well, someone who is "foreign" is merely someone from somewhere not around the person who suggests that the new person is a "foreigner". The difference is perspective, as this also applies to the "foreigner" who may think the original person to be "foreign". Let's translate this to À or Ö characters. These are only "special" if they're not regular and are foreign to the user - it's not an anglo-centric view at all. It's perspective.
Aahahahahahahahaha
God these people are making web things
 
Racists.
 
@CatPlusPlus I know, right?
 
Even funnier:
in PHP, 1 min ago, by Osny Santos Netto
folks, sorry for the wrong place to say, but I'm looking for ideas (preference to help problem of worlds, any cause) for contribute with my expertise in front-end dev and design UI. I'm just help improve and create some apps/websites that have a "REAL PROBLEM" to solve. can someone suggest me? or how can I search these kind of projects on google.
 
@CatPlusPlus what are they saying? "I dun need no foreigners using my websides!!" ?
 
3:46 PM
I have no idea
There's a lot of words and a little sense
 
well, it's PHP, little need be said
 
> Could not create the view: An unexpected exception was thrown.
Fuck you Eclipse
 
@R.MartinhoFernandes Anyway, PHP has no proper Unicode support.
 
> An internal error occurred during: "Android Library Update".
 
@CatPlusPlus what are you doing with that D:
 
3:47 PM
> java.util.ConcurrentModificationException
 
@EtiennedeMartel I honestly dunno a thing about that.
 
looks like you're having fun...
 
I know it has iconv support, which is a start.
 
Assembly has iconv support
It's not really a great achievement
 
@EtiennedeMartel It has unicode support for the people who want it. Most people don't.
 
3:48 PM
Most people using PHP are idiots
The rest is just insane
 
:)
 
Most encoding issues in PHP aren't on PHP's side though, but on MySQL's. Not because MySQL doesn't support UTF-8, but because it makes it very hard to configure it
 
@Zoidberg You sung the contract?
 
@Zoidberg, where, and doing what?
 
@NikiC No. Most issues in PHP are in PHP.
 
3:49 PM
@NikiC Oh. Should that be as simple as setting something on a column?
 
I mean, an "issue in PHP" is an issue whose main property is that it's in PHP.
That's like saying "this red sock isn't red".
 
drinking times
buhbye
 
Is Mooing on? I found a simpler way to diagonally iterate a two dimensional array!
 
BTW, interesting to know how compilers optimize code, thanks for the link!
 
What? You have to configure PHP's support for UTF-8 using MySQL?
(<troll mode="mild"/>)
 
3:51 PM
@EtiennedeMartel But then, many mainstream languages have lousy support.
 
Yeah. Like English
 
@R.MartinhoFernandes Yep.
 
@R.MartinhoFernandes Ahahaha MySQL encodings and "as simple as"
 
But in PHP's case, it's just "something else that's broken", so it doesn't really stand out.
 
The answer is: MySQL likes when you're in pain
Seriously don't use MySQL
 
3:53 PM
MySQL: Schadenfreude edition.
 
@CatPlusPlus MySQL is easy enough to manage... not in a professional sense, but still.
 
No, it's not
 
4 mins ago, by NikiC
Most encoding issues in PHP aren't on PHP's side though, but on MySQL's. Not because MySQL doesn't support UTF-8, but because it makes it very hard to configure it
Right, "easy enough".
 
@R.MartinhoFernandes Nah. Just set the client, connection, database, results, system, table and column charsets (this list is obviously non-exhaustive)
 
Oh? Is there anything that makes MySQL any worse than, say, MS-SQL, T-SQL, or Oracle's SQL servers?
 
3:54 PM
Yes
 
Also T-SQL is SQL dialect in MSSQL
 
Oracle uses PL/SQL.
 
Stop saying things about things you don't know anything about
 
We used that in DB class.
 
3:54 PM
@CatPlusPlus Oh shit, thought that sounded dumb.
 
@R.MartinhoFernandes And just so you know, some of those also have additional collation settings, but some don't and use collations from other weird places with even weirder interactions ;)
 
You either used a real database or you think MySQL is good
No other option~
 
Well hey, I'm not trying to argue with you; I'm just asking.
 
(Or you're a PHP user but hey)
(No cure for that)
 
what's the "s/" notation?
 
3:55 PM
vim/sed/ed/ substitute command.
 
user142019
HAHAHAH
 
user142019
Just got an inquiry on Careers. xD
 
@R.MartinhoFernandes :|
ohhh substitute command?
 
@LuchianGrigore s/<regex>/<replacement>/ replaces the first occurrence of <regex> with <replacement>
 
For someone (me) who doesn't know that much about different database offerings, what would you say makes MySQL worse than the more professional offerings by Oracle, Microsoft, or others?
 
3:57 PM
The slashes are actually not mandatory. Any punctuation will do: s+a+b+ is the same as s/a/b/. Useful when the patterns contain /.
 
ok cool, thanks
@ShotgunNinja less professional?
 
@ShotgunNinja It's less strict
 
@NikiC How so, exactly? On what end? Data security, connection management, storage methods, linguistic strictness, data types, etc?
 
@ShotgunNinja I was primarily referring to datatypes. In particular also regarding default values and nullability
 

« first day (839 days earlier)      last day (4108 days later) »