« first day (898 days earlier)      last day (4065 days later) » 

5:00 PM
WTF? I wondered why COBOL was the most active room...
 
yesterday, by R. Martinho Fernandes
Nice write-up about how cool monads are: http://blog.jcoglan.com/2013/03/30/callbacks-are-imperative-promises-are-functional-nodes-biggest-missed-opportunity/
 
My expert is a genius!
 
Xeo
@R.MartinhoFernandes Dammit
 
@FredOverflow I agree.
 
Although I doubt anybody is working today.
 
user142019
5:01 PM
I'm working
 
@FredOverflow Where did that come from?
 
user142019
on a personal project I'll never complete.
 
@Zoidberg does anything you do qualify as work?
 
Now that's what we need: Monad support in COBOL!
 
@R.MartinhoFernandes I don't know, just thinking about ((.).(.)) I guess :)
 
Xeo
5:02 PM
@R.MartinhoFernandes Well, atleast I recognized it as a nice post!
 
user142019
The thing that bugs me about the boobs operator is that the woman has a very high belly button.
 
@Zoidberg That's supposed to be a belly button?
 
Why is it that Visual Studio is so bad with backwards compatibility? :\
 
user142019
@FredOverflow What else does it represent? A third nipple?
 
@Pawnguy7 Because Microsoft wants you to go forward!
 
user142019
5:04 PM
That's even worse!
 
@Zoidberg I never really thought about it. To me, it always just represented composition :)
 
Aprils fools stuffs where are they... so far ive only seen the google stuff and it's disappointing
 
@FredOverflow But to get XNA to work, I had to go backwards... just seems like they break something every version, whether it is this, a project, or something else.
 
user142019
@FredOverflow ah, composition of two boobs.
 
@Zoidberg That's a diamond on her bra.
 
Xeo
5:05 PM
25
Q: What is this smiley-with-beard expression: "<:]{%>"?

XeoI came across the following program, which compiles without errors or even warnings: int main(){ <:]{%>; // smile! } Live example. What does the program do, and what is that smiley-expression?

 
Or maybe it just represents the area between the two babies. How do you call it, leverage or something?
 
Xeo
Though I guess it can also count as a legitimate question :P
 
Cleavage, anatomically known as the intermammary cleft or the intermammary sulcus, is the space between a woman's breasts lying over the sternum. Cleavage is exposed by garments with low necklines, including ball gowns, evening gowns, or swimwear. Most people in Western culture, both male and female, consider breasts an important aspect of femininity and many women use cleavage to enhance their physical and sexual attractiveness and to enhance their sense of femininity. Some people regard use of cleavage as a form of feminine flirting or seduction, within the confines of community, peer ...
 
lol, leverage.
 
@R.MartinhoFernandes Most women use cleavage as leverage
 
5:08 PM
dammit. That was a link to Cleavage Theory
 
Is there a list of the C++ digraphs?
 
user142019
No.
 
user142019
There is no list of digraphs in C++.
 
Did I spell it wrong?
 
Hm, I just noticed that you only have to take one 'n' away from "finance" to get "fiance"...
 
user142019
5:09 PM
:pacefalm:
 
user142019
OF COURSE THERE IS A LIST OF DIGRAPHS
 
Hm.
 
@FredOverflow And if you add an accent you get "fiancé"!
 
@Pawnguy7 It's called the C++ Standard.
That thing is full of incomprehensible symbols.
 
Is there a free online version of the standard?
 
5:11 PM
In computer programming, digraphs and trigraphs are sequences of two and three characters respectively, appearing in source code, which a programming language specification requires an implementation of that language to treat as if they were one other character. Various reasons exist for using digraphs and trigraphs: keyboards may not have keys to cover the entire character set of the language, input of special characters may be difficult, text editors may reserve some characters for special use and so on. Trigraphs might also be used for some EBCDIC code pages that lack characters such...
 
Australian cleavage...because it's "down under"...
 
<: 	[
:> 	]
<% 	{
%> 	}
%: 	#
 
is that all?
 
@R.MartinhoFernandes Oh, I didn't know there was an accent involved.
@rubenvb Yup, see 2.6
 
Let's all write %:
 
5:12 PM
@FredOverflow There isn't (unless you insist on doing it correctly, of course).
 
> Post Undeleted by user703016, George W Bush, DVK
 
@Jueecy ^ extra, extra: all dead
 
user142019
Extrablaπ?
 
extrabla-pi :P
 
5:14 PM
lol, I guess π is a mongraph for tt in Germany :)
@ScottW I didn't know that guy had his own tag. (Or maybe I once knew but had since forgotten.)
 
Kind of surprised that, with all the ranting of bad questions, you do these April Fool's questions. You know, now google's fifth result leads to that question...
 
Google's fifth result on what query?
 
Oh. True.
Actually.
how does C# work
Removing "stackoverflow" from the beginning didn't change its place...
 
@Pawnguy7 It's #6 here.
 
Still...
 
5:18 PM
-2
A: How does C# work?

pgfIt's copying 1:1 from Java ( a dead language )

:)
 
user142019
More like 1000000000000000:1.
 
Do people get rep on closed questions?
 
@Pawnguy7 yes
 
You can vote on closed questions?
 
user142019
Yes.
 
5:19 PM
sure
 
So, rep was given for an april fool's question...
 
@FredOverflow Until or unless they're deleted...
 
alle Tot => Tot alle ... oh thanks google translate (ignore this message, i'm just stupid)
 
I guess this is similar to the best joke question though.
Google picks up SO questions pretty quickly.
 
WMV support on linux isn't that great, is it? VLC just crashed again the first few seconds into a Channel9 video.
 
5:20 PM
@Pawnguy7 ...but only meta-rep, which means even less than SO rep. Since SO rep means nothing, meta-rep has negative value, so every up-vote indicates reduced real reputation.
 
quick question
 
user142019
 
@JerryCoffin meta-rep in which way?
 
@Zoidberg check out the php room
 
if you wanted to reference a ' as a character, ie (str.substr(indexOf(" ' "), str.length()) how would you go about doing that?
 
5:22 PM
"knock knock"
"Who's..." "SCOTT W!!!"
 
@Pawnguy7 In the April fools way, obviously.
 
Hm.
Remind me. Yesturday I heard somebody say the JVM was the Java Version Machine.
 
@Crowz The string "'" should work. If you want a character, use '\''
 
@Zoidberg I'm trolling... don't ruin it :P
 
@Pawnguy7 That's really the VJVM (the virtual Java version machine).
2
 
5:25 PM
@Zoidberg dude, stahp, trolling...:(((
@Zoidberg also sql injection is eval on user input, just in another interperter
 
user142019
The difference is that SQL has quite limited side-effects.
 
user142019
You can change the database contents.
 
@JerryCoffin sarcasm?
 
@Zoidberg some rdmbs let you exec system commands
 
@Pawnguy7 No chance -- I'm never sarcastic.
 
5:27 PM
At first, I wondered, perhaps I forgot what it meant. Looked it up, though, it is Virtual, so... hm.
 
@Zoidberg like mssql through stuff like xp_cmdshell
 
user142019
I only use PostgreSQL.
 
user142019
And parameterized statements.
 
user142019
And prepared statements.
 
Dude, obviously, but that wouldn't be trolling the php room now would it?
 
5:28 PM
Prepared statements? You should become a politician.
 
user142019
Prepared statements are wonderful.
 
Do you write prepared statements like SELECT bar FROM foo WHERE qux LIKE ??
 
@Zoidberg They also prevent SQL injections, right?
 
user142019
Because recompiling SQL every single time is a waste of PRECIOUS CYCLES.
 
user142019
@FredOverflow not necessarily, but if you use them right, yes. :P
 
5:30 PM
So Mysql doesn't support prepared statements?
 
@FredOverflow Not all; see above.
 
oooh hi guys
 
@Zoidberg Are you saying that security requires thought? :)
 
I am back home
 
Heya
 
5:30 PM
hi
 
user142019
I don't like LIKE.
 
What was that new project you were working on?
 
user142019
Pun not intended.
 
@Zoidberg 95% of times you should either be using stored procedures or an ORM anyway
 
5:30 PM
What is this Lundi?
 
user142019
LIKE would have been great if it supported regexen.
 
user142019
@BenjaminGruenbaum fuck ORMs.
 
@Zoidberg nope, they make development faster 95% of times which is good. Stuff like massive and simple data is awesome. You get an ORM for less than 1000 lines of code that does pretty much everything
 
@Pawnguy7 Lua C++ API
I wonder which time I repeat that.
 
Would this be for interfacing Lua for Minicraft, or is this seperate?
 
5:32 PM
I am going to use it in Minicraft, but it's general-purpose
 
@BenjaminGruenbaum i don't like ORMs, they seems... stupid.
 
@Jueecy They map objects to classes, that's extremely useful in some cases. They're not a silver bullet, and they are painfully slow for some stuff. Also, they're automagical which is horrible, but there are plenty use cases where they make your life really easy
 
maybe I'm just not experienced enough though
 
@BenjaminGruenbaum How do you map objects to classes? I don't even understand what that could mean.
 
@Jueecy For example github.com/robconery/massive is just 700 lines of code, most of which are comments, it does everything you need
 
user142019
5:34 PM
@FredOverflow he means records to objects.
 
@FredOverflow Well, you map tables to objects, you don't need actual classes when using a good programming language, (I.E, not Java) but sometimes that's useful
 
user142019
@BenjaminGruenbaum does it allow me to select arbitrary data and run arbitrary SQL?
 
@BenjaminGruenbaum, SQL is a pretty powerful language and easy language to pick up, why would I want something to slow just to have some sugar?
 
@Zoidberg Yes.
 
user142019
What happens if I do SELECT 42;? What will it map to?
 
5:35 PM
You know what else is automagical? Compilers. Processors. Which is horrible.
 
totally awful
 
@Jueecy Because using strings to execute commands in another language inside your language is ugly. It allows for simple code completion, presistence, transactions, etc
@Zoidberg the number 42
 
takes away the pleasure from writing in machine code, aye, Robot?
 
user142019
@BenjaminGruenbaum hmm, that's nice.
 
user142019
@BenjaminGruenbaum and why can't editors complete SQL in strings?
 
5:36 PM
@R.MartinhoFernandes What's so horrible about compilers?
 
@Zoidberg If you use a tiny ORM like massive or simple.data it uses the dynamic capabilities of C#, it maps dynamically to the type of object it got
 
@FredOverflow They are automagical!
 
@Zoidberg Some can, IDEA has pretty solid SQL code editing, but you still can't do stuff like using debugger breakpointsz
 
@BenjaminGruenbaum I think having a piece of software that does that behind your back isn't any better..
 
Even if you write directly in assembly language, the processor will silently reorder the instructions. So what doesn't suck?
 
5:37 PM
select 42 is the answer to everything
 
@Jueecy Sometimes it is, that depends on the use case
 
@FredOverflow Don't look at me; I wasn't the one that said being automagical was horrible.
 
user142019
@BenjaminGruenbaum what happens if I have a mapping between a table Users and a class User, and I SELECT Name FROM Users WHERE Id = ?;, i.e. only a few fields? Will the remaining attributes of the objects be null?
 
Why are you asking ORM design questions?
 
@Jueecy Let's say I want to get the last 10 articles, and for each article get the corresponding author, wouldn't be nice to feed your program a lambda expression and let it do the rest?
 
5:38 PM
@FredOverflow Design your own (purely in-order) processor, of course.
 
@Zoidberg (IOW who knows; what are you talking about?)
 
@BenjaminGruenbaum as I said, it's just sugar... heavy sugar, nothing else...
 
@Zoidberg Depends on the ORM, dynamic ORMS will return just the name, access to other properties will result in exception, static ones will complain. Using SQL is generally not the syntax anyway. You'd do something like db.Users.Where(x=>x.id==1)
@Jueecy What would the SQL for that be?
 
user142019
@BenjaminGruenbaum hmm exceptions, that's nice.
 
user142019
RoR just sets them to nil. :puke:
 
5:40 PM
@Zoidberg In JavaScript they return 'null' or 'undefined' depending on the ORM. You also get an error callback called
 
user142019
@BenjaminGruenbaum I want to write SQL.
 
user142019
I love SQL.
 
@Zoidberg You may, you can still run regular queries, you just don't need to
 
SELECT title, body FROM `articles` ORDER BY date ASC LIMIT 0, 10 or something
 
@Jueecy nope, want the author too, that's a join
 
5:42 PM
@BenjaminGruenbaum and your point is?
 
In an ORM that would look like:
db.Articles.OrderBy(x=>x.date).Take(10).Include(x=>x.Author);
 
user142019
SELECT Article.Title, Article.Body, Author.Name
FROM Articles AS Article
INNER JOIN Authors as Author
    ON Author.Id == Article.AuthorId
ORDER BY Article.Date ASC
LIMIT 0, 10;
 
@BenjaminGruenbaum I find Zoid's SQL less confusing actually
 
Sometimes, that makes life easy, sometimes it makes me want to kill myself.
@Jueecy That's probably because you're not used to C# and are used to SQL
 
probably
 
5:44 PM
@Jueecy That's because you are not seeing the code needed to use the results after the query.
 
@Jueecy what languages are you familiar with? If you're familiar with functional stuff think of it like a monad, mutating a function. That's the best 'functional' analogy.
 
Also, my friend made an awesome April Fool Bartek rant today on Fb
 
sorry guys gotta go, later
 
user142019
Goodbye.
 
:(
 
5:47 PM
We'll miss you.
 
WHAT?! STD::CHANGE?
ARE WE LIVING IN FUCKING MEDIEVAL?! IN C++17 IT'S DEPRECATED... WHAT???
VS2012 DOES. NOT. SUPPORT??!

/* charging laser beam */
OH MY GOD BETA 2014 ALREADY CAME OUT WHO USES THIS PIECE OF ANCIENT CRAP?! I DON'T GIVE A FUCK ABOUT YOUR SHITTY COMPILER, ACCORDING TO NEWEST STANDARD, BEST WAY TO CHANGE A LIGHT BULB,
/* insert link to proper SO thread or an insanely long citation*/ !
OH MY FUCKING GOD FUCKING UNI TEACHERS AND STUDENTS FROM FUCKING UNI
btw new Episode of My Little Zerg : Hive is magic is out!
he won the internet.
Apparently I am going full lounge on these folks without realizing.
 
Ell
woooohooo my internet is fixed!
Who'd'a thought that the actual ethernet plate was the problem :3
 
@FredOverflow this sarcasm hurts
 
Why are you still here?
 
user142019
5:51 PM
Hmm.
 
Does anyone remember bobby's world?
IT WAS A GOOD SHOW
 
@Crowz this is a good show Slightly NSFW text.
 
user142019
Stirb nicht vor mir.
 
Yo soy un tejon
Un tejon suzio
 
6:08 PM
Oh wow... someone on meta put two of the chat experts against each other...
 
@Mysticial In my experience, those conversations don't get very interesting.
 
@FredOverflow Yeah, it's essentially a finite state-machine where it either converges to a single point, or a finite loop.
 
@Mysticial linky?
 
@mikeTheLiar I was doing that for a while: i.stack.imgur.com/dD6TV.pngMichael Mrozek 8 mins ago
The other one isn't from SO/SE though.
Be someone can easily put two on-site experts against each other.
 
@Mysticial Hmm...since the "expert" mostly just picks out bits of what you type and reflects them back, how 'bout The expert talking to Translation Party?
 
6:13 PM
oh god...
Which give me an idea. Try typing a different language into the expert.
 
user142019
ha
 
@BartekBanachewicz Okay, now that was pretty cool!
 
@JerryCoffin now star it dammit :) Yeah, the guy did an amazing job.
 
Okay, I got an expert chat popup from Anime.SE. Now I just need to wait for one on SO.
Awesome. Now I just got on SO.
Here we go...
 
6:24 PM
what is adviza?
 
Not sure but that's the link I got after she left.
 
That's the "case of the mondays" lady.
 
hi
 
Most starred C project on Github today: https://github.com/languages/C http://ponyos.org
2
 
Ell
that is the avatar of the expert
 
6:30 PM
Is this a real chat thing?
 
@Xeo Yo can you plug the logarithmic generation of indices to that guy?
 
lol
 
Reminds me of Cleverbot.
 
@Pawnguy7 @R.MartinhoFernandes is a cleverbot
 
Xeo
6:42 PM
@LucDanton Eh, doesn't he have something similar?
 
> typename range<begin+1, end, indices<N..., begin> >::type
Looks linear to me.
 
Has anyone tried calling the expert a Nazi?
 
Why is it you say it like COB-al?
 
@Mysticial I've called her all sorts of other stuff :D
 
Xeo
@LucDanton Oh, right, his other function used log N
To build up the giant tuple, it seems
 
6:46 PM
@Pawnguy7 I don't.
 
That would be an accident no? I'm not saying logarithmic indices yield better results or not, but neither do they so I assume no benchmark was done.
 
Lol
 
user142019
Why the fuck are ports still bound when I terminate the program that's bound to it.
 

« first day (898 days earlier)      last day (4065 days later) »