« first day (918 days earlier)      last day (4039 days later) » 

5:00 PM
@Zoidberg C++ has auto! :P
 
user142019
@GamesBrainiac So?
 
Actually, B already had auto.
 
user142019
@DomagojPandža OMG PONIES.
 
user142019
PHP has type inference too.
 
user142019
5:01 PM
And Haskell.
 
user142019
And it's unrelated to the number of morons who don't know what they're doing.
 
@Zoidberg It does? Haven't been anywhere near that language! :P
 
user142019
@GamesBrainiac $answer = 42; Ha! No explicit type!
 
user142019
(As with 99% of dynamically typed languages.)
 
@Zoidberg dude, don't ever type php in here again
 
user142019
5:02 PM
The single, sole exception being Objective-C LOL.
 
its a sin
:P
$ infront of a variable
 
user142019
@GamesBrainiac consider it Perl.
 
Ever since PHP, I've been uncomfortable with US dollars.
 
$ infront if a variable is the worst idea ever
 
user142019
5:03 PM
In Perl, $ means scalar, @ means array and % means hashtable. :)
 
ahh hashtables
 
user142019
LLVM and Ruby use sigils to denote scope.
 
user142019
Perl uses it to denote type, kinda.
 
I hate ruby, I have no idea what rails code does most of hte time
 
user142019
PHP uses it to distinguish variables from constants, functions, classes, traits and keywords.
 
5:04 PM
i mean wat can you do in rails that you cant do with python?
 
user142019
@GamesBrainiac You hate Ruby because one Ruby framework sucks?
 
@Zoidberg Yea, what a stupid language.
 
user1174868
I got banned from questions again somehow
 
@Zoidberg Thats the only reason I ever attempted to use Ruby
 
user1174868
and I didnt even ask another quesiton
 
user142019
5:04 PM
@GamesBrainiac lol Rails is terrible.
 
user1174868
anyways I have a logic question here, I am using java but no one is in there
 
user142019
Sinatra FTW.
 
user142019
@Jordan Wait.
 
Xeo
@Jordan Stop.
 
user142019
 
5:05 PM
@Zoidberg Ruby on Rails is the top framework
 
Xeo
Binhammer time!
 
user142019
> And no PHP or Java questions, no matter what. They will be binned and you will be deemed annoying. See #1.
 
I think Sinatra died down
 
user1174868
then where the fuck can I ask a question?
 
user142019
 
user1174868
5:05 PM
lol
 
user142019
If you got banned, that's your problem.
 
user1174868
lol
 
user142019
There is probably a reason for it.
 
Does anyone know a good gothic, kind of edgy, cursive font? (yes I googled this, can't find quite what I want)
 
user1174868
no there isnt
 
user1174868
5:06 PM
@zoidberg I talked to a mod and they said it was just an error in the system so they unbanned me but I got banned again somehow
 
user142019
 
Stop being a bad poster
 
user142019
The JavaScript room is also active. Try there. Java is JavaScript, after all harharhar.
 
user1174868
c++ is practicially java anyways, both OOP
3
 
Xeo
You're bad, go away.
 
user142019
5:08 PM
HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAHAHAHA
 
user142019
Java is like C++ with everything that is even remotely nice removed. Oh, and checked exceptions.
 
@Jordan What.
 
C++ is almost, but not quite, entirely unlike Java
7
 
No No No No No No No No No No cat.
 
Oh, right, a troll.
 
5:09 PM
Get the fuck out
3 messages moved to bin
 
user142019
inb4 flagfest
 
Nah, it's still manageable.
 
user142019
Give it a few minutes.
 
@Zoidberg java java java
 
@CatPlusPlus Ahahahah
 
user142019
5:10 PM
C++ is 20% cooler than Java.
 
Sunday afternoon moronville.
 
user1174868
scheme is a lot cooler than c++
 
@Zoidberg Maybe one of us will get a chance to break Robot's record and bin 100 (or more) records at once.
 
@Zoidberg I'm stealing that.
 
user1174868
()()()()
 
user142019
5:11 PM
@Jordan Indeed.
 
@Zoidberg Maybe 19.9%
 
@Zoidberg 23.14% on good days.
 
room topic changed to Lounge<C++>: C++ is 20% cooler than Java. [c++] [c++11] [coliru] [no-helpdesk]
 
@JerryCoffin Xeo did
 
5:11 PM
Only 20%?
 
@CatPlusPlus Damn! And I missed it. Oh well, such is life.
 
That blows
 
Damn, we really have no allies in this battle.
 
5:12 PM
 
user142019
Time to troll the JavaScript room then, I guess.
 
Xeo
Let's shoot back
 
@Jordan Because they think this is where the script kiddies hang out?
 
@Jordan Well, we tell you to ask in one of the Android rooms then :)
 
@Jordan Well, say no more. Time to declare war, again.
 
Xeo
5:13 PM
FIRE!
 
user1174868
this is weird
 
Don't escalate this shit let's just ban him or something
 
user1174868
I guess I will go back to trying to figure out the mysteries of java on my own
 
user1174868
wtf
 
user1174868
I just want help
 
Xeo
5:13 PM
Yeah, do that
 
Yes, do that
Bye
 
@Jordan That is what stackoverflow.com is for
 
user142019
That room makes my computer lag.
 
If you got unbanned there once, surely you can do it again
 
user1174868
I thought we were e-friends
 
5:14 PM
@MartinJames Bad idea. War implies that they have a reasonable chance of winning. Our declaring war on them would just make out look like playground bullies, beating up littler kids for their lunch money.
 
@Jordan You first have to figure out the secret Java incantations.
 
user142019
We aren't friends with Java programmers.
 
Oh aha. Jordan was on my plonk list for a good reason. Why do you guys have such pathetic memories?
 
user1174868
public class something
 
user1174868
I almost know it
 
5:14 PM
Where does it say that this room is for helping people?
 
@Zoidberg I guess I shouldn't tell you that I've been programming in Java lately...
 
user142019
@sehe since when?
 
user1174868
@Sehe it is becuase you talked shit to me for a while and I didn't just take it
 
user142019
@Code-Guru don't.
 
user142019
You'll regret it.
 
5:15 PM
Since the previous 2 times he wreaked havoc here
 
Xeo
@Code-Guru We're no longer friends, it's over!
 
user142019
@sehe OIC. Good idea, by the way. Thanks.
 
@JerryCoffin Well, we could use the lunch money for bigger SSD's and puppy food.
 
user142019
*Plönk*
 
you guys, why is it so hard to draw women but men are so easy to draw?
 
5:15 PM
@Xeo No more Pinky and the Brain references for you!
 
user142019
Plonck's constant.
8
 
lol
 
Because you're bad at drawing
 
Xeo
@Zoidberg The length of a fish?
 
@MartinJames or for lunch
 
5:16 PM
@Jordan Oh you.
Nobody cares about you.
 
OK, lunch wins - I'm hungry.
 
@Xeo The half time of a troll
 
@Jordan if we all put you on our ignore list, will you go away?
 
I love how everybody here hates Java BUT may be a pretty decent Java programmer when forced to.
2
 
user1174868
@EtiennedeMartel I know :(
 
user142019
5:16 PM
@Xeo That's one Plonck unit.
 
If I'm a decent Java programmer, that community's standards are even lower than I thought :/
9
 
@Jordan ask in C# room, we have low standards. Expect some flaming for java but nothing too serious.
 
user142019
@JohanLarsson nooooooo I am there now. :(
 
user142019
@CatPlusPlus ANIMATED GIF BIN IT KILL IT WITH FIRE
 
@jalf Ahahhahaha standards
 
user142019
5:19 PM
lol
 
@Zoidberg lol but you are nice all the time in C#?
 
user142019
@JohanLarsson sure.
 
user142019
C# is quite a great language. Unlike Java, which is pathetic.
 
So everyone should download my Android app: play.google.com/store/apps/…
 
Darn image upload is borked
 
5:19 PM
It's written in Java!
 
user142019
C# without LINQ would be Java Slightly Less Retarded Edition.
 
I'm written in java ._.
 
@Zoidberg ^ In the interest of education... I set this horrible contraption to notes because my daughter (she's 6) thinks it's such a nice song... So I encourage that by suggesting she play it (it happens to fit the limited number of 'notes' she knows on the flute)
 
user142019
I'm written in Adobe Flash. :<
 
user142019
@sehe we hebben binnenkort geen koningin meer.
 
5:21 PM
@sehe thanks, I'm feeling super educated already
 
Ell
I'm writing an android app and I find the AsyncTask class uberly stupid
 
I find how Async is done in most cases to be utterly filthy.
 
user142019
Use async/await. Oh… wait, you're using a retarded inferior language.
 
@Borgleader How's it going with your multi-threaded engine? I'm actually interested to see how you interpret intel's paper. :O
 
Just realized Within Temptation made a cover of David Guetta. Made me laugh.
 
user142019
5:21 PM
WT is great.
 
@Zoidberg : What can Haskell do that Python can't ?
 
user142019
@GamesBrainiac that's such a stupid question.
 
@GamesBrainiac impress people
 
user142019
Both are Turing complete languages that can do about any task you expect from a reasonable language.
 
@Ell A lot of the Android API is not intuitive...and I'm disappointed with the docs in many instances.
 
5:22 PM
@ThePhD It's going a little slow. I'm not sure how to handle the threaded storage. Also I'm trying to avoid boost parts that are not header only. Also I'm busy studying for exams
 
haskell is an instant +5 modifier to your cool
 
Ell
@Zoidberg it's not
 
@jalf True, Haskell does seem to give a feeling of awe.
 
Ell
He obviously doesn't mean that literally
he doesn't want "nothing, they are both turing complete"
 
Meh, Sunday plans cancelled. Seems I'll have to get bored with you guys.
 
5:23 PM
@GamesBrainiac It's not about what can be done but the differences are about how you do it.
 
Ell
it's another way of asking for which elements of the language are objectively better
 
@R.MartinhoFernandes Quality time! :P
 
user142019
@R.MartinhoFernandes You just missed a fun part.
 
@Code-Guru So, what makes it so great?
 
@R.MartinhoFernandes Ow. You could always make Ogonek 3% more awesome
 
5:23 PM
@R.MartinhoFernandes we love you too
 
user142019
@GamesBrainiac it has a better type system, IMO.
 
@GamesBrainiac Personally, I like the type system. The compiler can do a lot of debugging for you with it.
 
user142019
Very neat syntax. Partial application without lambdas.
 
user142019
(Not that Python hasn't got a neat syntax, it's just… slightly less neat. :P)
 
5:24 PM
talking about Haskell...that reminds me...
 
@GamesBrainiac First class support for monads.
 
Xeo
@Zoidberg Default-currying is nice.
 
@Zoidberg Where can I get a good, book on it?
 
@Zoidberg Mind fielding a Haskell Q?
 
user142019
@GamesBrainiac learnyouahaskell.com it's a free ebook. You should try tryhaskell.org too, to get some idea of the very very basics.
 
5:25 PM
To learn functional programming in general too
 
@GamesBrainiac Enforce types
 
@sehe Maybe later. I'm still not fully awake right now.
 
That's... crazy :)
 
@Zoidberg I have a function to calculate the "manhattan distance" between two lists (dist xs ys = sum $ map abs $ zipWith (-) xs ys) and I was trying to figure out how to convert it to point-free style...but I'm not sure how to do it...
@Zoidberg Any suggestions?
 
@Code-Guru cabal install pointfree.
 
user142019
5:26 PM
dist = sum . map abs . zipWith (-)
 
Fail
You need boobs.
 
@R.MartinhoFernandes Epic Fail.
 
user142019
Seriously?
 
oooo...function composition instead of function application
 
@Zoidberg Yes. This is a textbook case of boobs.
 
user142019
5:28 PM
Hmm I don't understand why.
 
user142019
I get a type error indeed.
 
dually noted and hopefully will be in my reportoire in the future...if I remember...
 
@Zoidberg The return type of zipWith (-) is a function, and that is not the type of the argument to map abs.
 
@Zoidberg I like the book, the writer seems nice! :)
 
Xeo
You could do dist xs = sum . map abs . zipWith (-) xs, I think
 
user142019
5:29 PM
@R.MartinhoFernandes ohh right.
 
Xeo
But then you're not point-free again :)
 
Function composition cannot compose binary functions. That's what boobs does.
 
user1174868
 
@R.MartinhoFernandes hmm...I guess that's a different kind of boobs than I thought from your original message...
 
user142019
Ah.
 
5:30 PM
@Code-Guru (.).(.)
 
Do I dare google for "Haskell boobs"?
2
 
user142019
It's boob belly button boob.
 
I'm on a public computer and not sure what I would get...lol
 
It's quite safe if you don't image search.
 
user142019
It's fine.
 
user142019
5:32 PM
I do image search and instant blowjob on my screen lol.
 
8
Q: When to use pointless style?

FUZxxlMany haskell programmers, including me, like pointless style, especially when writing complicated parsers. They make code more readable and less verbose. But sometimes, it's just the other way round (for instance while abusing the instances of Monad and friends for (->) a). Please give me some b...

 
Xeo
@Code-Guru lol pointless
 
user142019
lol pointless style
 
Oppa Pointless Style
 
Yah, I thought you might get a kick out of that
 
user142019
5:33 PM
Just use pointful style. :P
 
Hey GFWL lemme change the language to fucking English please I don't want localisation thanks
 
What's GFWL?
 
user142019
Games for Windows — Live
 
@CatPlusPlus haha
You asked for that.... Shouldn't have said the other day that you'd never had problems with it :D
 
I sense an OS reinstall in the near future
 
5:34 PM
What for?
 
@Zoidberg : In purely functional programming you don't tell the computer what to do as such but rather you tell it what stuff is - Book, wtf is that supposed to mean?
 
To change the laaaaaaaaaaaaaanguage
 
@CatPlusPlus just change your OS language
 
@CatPlusPlus I hate it when crap tries to be smart about localisation
 
user142019
@GamesBrainiac you don't write down a series of steps as you would do in imperative languages.
 
user142019
5:35 PM
(Usually.)
 
@GamesBrainiac It means that functional programming is much different than imperative programming.
 
@GamesBrainiac I guess I kiiind of see what they mean, but it does sound like garbage :)
 
@Zoidberg : Whats the part that says, what stuff is?
 
@CatPlusPlus Some applications don't use your OS install language, but try to guess it from locale or other crap instead.
 
@GamesBrainiac Keep reading. LearnYouAHaskell has several good examples about what the author means by that statement.
 
5:36 PM
@Code-Guru Wait, you learnt from this book too?
 
@GamesBrainiac yup
 
user1174868
books are for losers
 
yeah, often it's based on your format settings. Like I've got Windows set to use Danish decimal separators and dates and such, and as a result, some software goes "hey, we should use the Danish translation"
 
user1174868
you will never take down pussy by reading
 
user142019
// functional(/declarative?) — tell what is what
map [] _ = [] -- map over empty list is empty list
map (x:xs) f = f x : map f xs -- map over non-empty list is f head prepended to map of tail of list
// imperative — series of steps
var ys of type T[];
foreach (x in xs) {
    var y = f(x);
    ys.add(y);
}
return ys;
 
5:37 PM
That is so retarded
 
user142019
@GamesBrainiac something like this I think.
 
@Jordan I read the articles in Playboy.
 
@jalf Yeah, makes me want to stab someone.
 
It's all because of stupid people
 
@GamesBrainiac A functional programmer often thinks about what the problem is when writing code rather than thinking about the steps to solve the problem like a imperative programmer does.
 
5:38 PM
I have taken to using an English locale and then customizing it.
 
@Code-Guru Interesting approach
How fast is Haskell? Compared to the likes of C++
 
@GamesBrainiac uh oh.
 
@CatPlusPlus Programmers can keep making better idiot-proof software and the world will continue making better idiots.
 
@GamesBrainiac depends. How fast is C++? ;)
 
Of course "customising" is limited to several predetermined choices because why not
 
5:39 PM
@jalf Too fast.
 
@jalf IMHO, its ultra fast
 
no really, its very very fast.
 
Vroooom!
 
user142019
C++ is about 20% faster.
2
 
5:39 PM
does it have red go-faster stripes?
 
Xeo
Croooooom
 
vroom vroom
 
I take less time writing Haskell so it's much faster
 
@Zoidberg and 20% cooler
 
5:39 PM
@jalf Unfortunately no, just 2 pluses.
:P
@Code-Guru Uh, oh.
 
@GamesBrainiac I'm just quoting the MOTD
 
user1174868
Has anyone ever tried to program a girlfriend?
 
@Jordan Are you a spam bot?
 
@Jordan I "programmed" your gf.
/wink
 
how many variadic template params can I safely use?
 
5:41 PM
VICTORY ACHIEVED
 
I've got a unit test that would benefit in brevity if I had like 30
 
@CatPlusPlus ?
 
But I'm not sure if I would be breaking compilers.
 
Language changed :v:
 
5:41 PM
@rubenvb MSVC certainly.
@CatPlusPlus What did you fix?
 
@R.MartinhoFernandes heck that doesn't even have variadic templates.
 
Just locale
 
user1174868
@GamesBrainiac No, I don't know enough about programming to be a spam bot
 
user1174868
Maybe when I get better at programming I can become a spam bot
 
Don't worry, spam bots don't know about programming either.
 
5:44 PM
man
LLVM has so many libs, I had to write a Python script to turn them all into lib requests
 
Dammit
let's spam SO.com
 
@R.MartinhoFernandes By the way, I talked to STL, and he implied that the CTP was nearly cooked.
he said that he had just finished updating all their Standard library before heading to Bristol
 
@DeadMG so, another 4 months for MS red tape, I guess? ;)
 
heh
he did say that it took them a while to release anything, even a CTP
 
"an exception shall be thrown of type std::runtime_error" Why not a custom one?
 
5:48 PM
@DeadMG we hadn't noticed ;)
 
@R.MartinhoFernandes Where's that?
 
Right near the start of the actual specification.
 
Updated my answer, the second example detects elements-per-row from the first row. Aaand it collects into a 1D vector (Note this required 0 changes to the parser, as Qi will just keep appending to the same vector if only 1 was given. Magic!). — sehe 1 min ago
 
@R.MartinhoFernandes The actual specification of what?
 
I'm spoonfeeding a help leach again, I fear
 
5:49 PM
The Unicode one.
 
ah
uh, I thought I hadn't defined the exception type. :P
 
I don't think unspecified is good either, btw.
 
yeah
that stuff I'm not so concerned about
frankly, it's more the overall direction
I know that there's other stuff I've missed
like riterators and criterators
frankly, I didn't consider having a polymorphic encoding before mostly because I couldn't have a polymorphic allocator too, so it was always going to be a template, but with the polymorphic allocator machinery it's a lot more likely I can get away with a non-template
 
@Zoidberg @CatPlusPlus Does the Haskel library have a function like split :: String -> Char -> [String] where split s c is the list of substrings of s which are delimited by c?
 
5:53 PM
Mein Kopf tut weh.
 
Xeo
@Code-Guru words is for strings delimited by space
 
> The new scheme permits the implementation to dynamically change their encoding in response to the string's contents.
 
@sehe I don't think they have a global policy in that regard, it's per library :(
 
Is this for that kind of thing like they have in Python?
 
yes.
 
5:53 PM
wow C++ compilers are slow
 
@Xeo No function for providing my own delimiter...say a comma?
 
the Google guy said that their Unicode experts from ICU had recommended it.
 
Xeo
There should be one, if they have words already :P
 
@Xeo I've already written my own actually. Just wondering if there's something built-in already.
 
user142019
@Code-Guru Not too difficult to write it yourself but I don't think it's in base. There is a split package which most likely has a function for it. See hackage.haskell.org/package/split.
 
5:54 PM
@Code-Guru If anything, it would be Char -> String -> [String].
 
user142019
Make it GENERIC!
 
Partial application as split separator is more useful than split string.
 
@R.MartinhoFernandes Yes, that would work, too. I still have trouble deciding the best order for arguments.
 
Xeo
There's Data.Text.split
 
Hoogle has nothing on a -> [a] -> [[a]] though.
 
@Code-Guru In general, put the ones that change less often first.
 
found it ;-) @Xeo thanks
@ScottW your mom
=p
should I be scared?
or flattered?
so...the former
> splitOn x . intercalate x is the identity on certain lists, but it is tricky to state the precise conditions under which this holds. (For example, it is not enough to say that x does not occur in any elements of the input list. Working out why is left as an exercise for the reader.)
Food for thought
 

« first day (918 days earlier)      last day (4039 days later) »