« first day (842 days earlier)      last day (4100 days later) » 

5:00 PM
Oh/ I stand corrected. The downvote has been removed ..
 
0 down 0 up?
 
@JohanLarsson Yup. I was going to cry at -1 :)
LINQ would work in C# 2.0, but you'll have to ditch the extension methods and lambdas for the more verbose static method calls and anonymous delegates. — Etienne de Martel 1 min ago
 
A interface implementing a class of methods would be more suitable for that .
 
^ I'm aware of that. I linked to an answer explaining as much
 
@sehe I upvoted, will you stop spamming now? :D
 
5:02 PM
@sehe Links are for pussies and people for long attention spans.
 
@noob1992 Wut. Are you generating sentences from a minimal English grammar with a code-buzzwords wordlist?
2
 
What ?
 
@JohanLarsson Certainly will. Where's all the C# folks anyways?
 
@sehe @sehe Also, I don't think implementing IEquatable<T> automagically gives you a operator== overload. So you might make that first sentence clearer.
 
Did not love the name finder, why not (Find)FirstOrDefault?
 
5:04 PM
2 mins ago, by noob1992
A interface implementing a class of methods would be more suitable for that .
 
@noob1992 You know, that's really not especially impressive.
 
@sehe Yeah, that seems backwards.
 
@JohanLarsson Well, I'm cheap like that. Also, minimize confusion with Linq extensions?
 
Or just make a virtual method and override it
 
@noob1992 Yeah, why try? You might succeed, and we can't have that. At least, if you don't try, then failure is the only option.
 
5:05 PM
@noob1992 That sentence didn't make sense in any context I tried to interpret it with
 
A interface with a generic type that uses pillars to make a MyList<T> like List<T>
 
@sehe you have a point but still did not love the name. You got a +1 just for being such a nice guy in general and at least it is correct a far as I can tell
 
@JohanLarsson I've renamed it to FindBy. This is nice because you could have an overload FindBy(List<MyContainerClass> list, AdvanceObject o)
 
Or just use List<T>
 
@noob1992 That's a nice trick: solve the problem by not having it anymore!
Why didn't I think of that before I got old
@JohanLarsson blush. thx
 
5:08 PM
is there a point in checking for null in the loop?
 
hhmmm what? did I do a poopoo?
 
Oh, you mean, if the list contains a null value? Yeah there might be. Calling code gets to decide. I'm assuming brains engaged in programmer
 
You like krabby patties don't you squidward?
 
stackoverflow.com/questions/14691022/… why does this constructor have a List
 
5:13 PM
10 mins ago, by sehe
@noob1992 Wut. Are you generating sentences from a minimal English grammar with a code-buzzwords wordlist?
 
Constructors should use the this keyword
 
I'm now convinced. That link doesn't even show a constructor. And nothing "has a" list.
 
Hmmm....did I somehow end up in the C# room? The title still claims it's the lounge, but nothing here looks at all loungish, if you'll forgive my abusing the language...
 
@noob1992 Constructors do not use the this keyword, normally.
 
  public Program()
        {



        MyList = new List<ContainerClass>();
 
5:14 PM
@JerryCoffin Certainly not. You're in twilight zone, were non-programmer's strew around coding words
 
Here is the constructor
The this keyword refers to the current instance of the class.
 
@noob1992 That's in the question, not the answer. You linked to the answer. The constructor constructs the member data. Simple as that. I've fixed the formatting in that question a bit to make it clearer
@noob1992 cough. You. Don't. Say.
@noob1992 It's also explicit. All non-static members of the class have implicit access to all other (data) members (fields, properties, events, methods etc)
 
The only reason to qualify is when chaining constructors (e.g. with structs) or when you have ambiguous field names (a good naming convention solves this).
 
Just checked, looks like linq FirstOrDefault throws NRE
 
5:18 PM
How can a constructor be explicit ? or implicit
Unless the class is a generic class
 
@JohanLarsson It does, but only if source is null or the predicate throws it
@noob1992 Please. Go read a book. You're making a fool of yourself
 
hello, i have problems including my makefile project in eclipse cdt
 
A constructor takes in parameters that are explicit
 
@noob1992 User defined conversion operators can be implicit/explicit in C#. In C++, any constructor can be marked explicit (but is implicit by default)
@noob1992 In C#, yes, basically.
 
the programm is diffrent if i build it within eclipse than building it from console
 
5:20 PM
Yeah.
 
@eactor Congrats. "Different". Not very informative
 
the also differ in in size (126kb vs 217kb)
 
@eactor I'm willing to bet eclipse adds -g -O0 because of debug mode?
 
i add -g3 in console
 
So, that's that then. Explained
 
5:21 PM
"YouTube recommends: Cops on Fire with Erections"
OH BBY
 
but how could i turn on -g3 within eclipse?
 
@eactor Why do you ask here?
Please don't spam the room
 
sry i thought it has more to do with the c
but probably its me
beeing to stupid to get eclipse to work right
 
user142019
Guys.
 
5:25 PM
@R.MartinhoFernandes And that, my friends, is why we do unit testing with mock objects
@Zoidberg Guise
 
user142019
 
user142019
Also VS needs more Vim. Isn't there a plug-in or something?
 
Not everyone would look cool in that outfit
 
OpenGL quads are really fucking annoying
 
That's probably why they were deprecated
 
5:29 PM
@Zoidberg VsVim, it's in the gallery (Jared Par). I use it at work.
ViEmu is better, but it's not free.
 
user142019
I see, thanks.
 
@Pubby What exactly does that mean?
 
Don't use them
 
12
Q: What is so bad about GL_QUADS?

RookieI hear that this GL_QUADS is going to be removed in the future OpenGL versions, why is that? Will my old programs not work in the future then ? I have benchmarked, and GL_TRIANGLES or GL_QUADS have no difference in render speed (might even be that GL_QUADS is faster). So whats the point ?

 
what is the alternative? I want to make a room.
 
5:33 PM
triangles obviously
 
That sounds like, twice as difficult
 
I figured out, that I can have a diffrent tool chain specified in eclipse-cdt in order to alter the debug information. But all I can change there is the Compiler`? How do change it do to the same as within the comand line?
 
@sehe I get it! :D
 
@Crowz Yes it's terribly difficult to make a rectangle out of two triangles
 
5:39 PM
@CatPlusPlus It's twice as hard as making a rectangle from one rectangle
 
It's not a primitive
 
Can I be Dog Plus Plus?
 
user142019
How would it be twice as hard.
 
Twice as many shapes
 
user142019
What's hard about it?
 
5:43 PM
Twice as many things, twice as many things go wrong
 
user142019
T_T
 
@CatPlusPlus It's not terribly difficult, but does require sending a lot of vertices twice, which is pretty wasteful.
 
user142019
@JerryCoffin wat no
 
Make your cubes in Blender
 
user142019
You can send them all at once.
 
5:44 PM
And stop complaining about GL primitives because they hardly matter
 
@CatPlusPlus I have absolutely no idea how to do that
 
user142019
And you only need to send a vertex once. You can reuse them when rendering with glDrawElements.
 
@Zoidberg Well, technically, you don't have to send the vertices themselves twice, only their indexes. But yes, you have to send redundant data.
 
user142019
There is no other option.
 
user142019
Well, OpenGL could allow for arbitrary polygons or quads.
 
user142019
5:47 PM
Problem is that triangles are guaranteed to be planar and other polygons aren't.
 
@Mysticial wait what?
 
@Zoidberg Of course there is -- don't remove (or even deprecate) GL_QUADS.
@MooingDuck Read the rest of the transcript -- it didn't happen.
 
@JerryCoffin still reading
 
@Zoidberg Yes, and? Instead of taking my word for what a stupid move this was, you might want to read through: opengl.org/discussion_boards/showthread.php/…, paying especially close attention to Mark Kilgard's comments (and maybe to how will "scratt" sounds, basically "you must be wrong, because I don't like what you're saying."
 
Woot I'm learning Python. I think stackoverflow.com/a/14692446/85371
 
5:56 PM
Is Blender good? I have an honest license for 3ds Max but have not used it. Thinking about trying to learn one of them (maybe).
 
user142019
Python is a good programming language.
 
user142019
@JohanLarsson 3D modeling software is never good.
 
user142019
They yet have to invent a decent UI for it.
 
Does C++ have threads built in?
 
user142019
No.
 
5:58 PM
@JohanLarsson They made few animated films with it so it's usable at the very least
 
user142019
There is std::thread in the standard library.
 
Maybe better to go for the oss alternative any way, more likely it is available if need be in the future.
 
user142019
Also use Haskell or Erlang.
 
room topic changed to Lounge<C++>: Happy 100th birthday, Rosa Parks. [c++] [c++11] [c++-faq] [dont-listen-to-zoidberg] [go-away] [no-helpdesk]
 
user142019
:D
 
6:00 PM
@Zoidberg I don't think I will leave the comfort of .net anytime soon.
 
Ell
@JohanLarsson although 3ds max is more likely to be useful for a job, I'm guessing
 
yes that is true
 
user142019
Use Minecraft to make 3D models.
2
 
lol
What happened to the <s>octopus</s> crab alien?
 
user142019
Wut?
 
6:02 PM
fuck
marksdown fial
 
user142019
You don't fail.
 
I always forget how to strike through
 
user142019
Stop forgetting language details.
 
it's not three dashes, is it?
 
I've been drawing 3D CAD full time for a couple of years, even consider myself decent at it. But every time I fire up a surface modeler I end up wanting to break something with an empty screen.
 
6:04 PM
@JohanLarsson I like it. But (a) don't use a window manager or it might absorb essential mouse/key combinations (b) it's more arcane in UI than GIMP (c) I'm not a graphical designer.
All that said, I did manage to create some extra 3D meshes for a 3D chess engine written in SDL/GLUT. And it worked. I was amazed with my own prowess
 
what is a windows manager?
 
So: usability could be worse.
 
@JohanLarsson I'm absolutely atrocious when it comes to anything organic (plants, people, animals, ...) but I do ok with "hard surface" models like IKEA furniture and stuff.
My weapon of choice is Blender.
 
user142019
@JohanLarsson A window manager is a program that manages windows.
 
@Zoidberg ty sir, far too kind.
 
user142019
6:06 PM
Such as the superior xmonad.
 
Sorry, WM:
A window manager is system software that controls the placement and appearance of windows within a windowing system in a graphical user interface. Most window managers are designed to help provide a desktop environment. They work in conjunction with the underlying graphical system that provides required functionality—support for graphics hardware, pointing devices, and a keyboard, and are often written and created using a widget toolkit. Few window managers are designed with a clear distinction between the windowing system and the window manager. Every graphical user interface based on a w...
@JohanLarsson s/to/too/
@Zoidberg that's almost an excuse to try to avoid managing windows
 
user142019
What’s wrong with xmonad?
 
user142019
It works damn well.
 
user142019
I miss it in Windows where I have to use the mouse so much.
 
Managing windows is hard let's go shopping
 
6:07 PM
Will you go and recharge the logic module? I didn't say there is anything wrong with it
 
user142019
Though there are probably programs for.
 
@Zoidberg You are a liar. You don't. I'm in windows at work, and I only ever use the mouse when I'm browsing the web
 
user142019
Maybe if I install VsVim, will do that tomorrow.
 
Ell
yeah I'm pretty sure most people use alt-tab
 
@Zoidberg I use AltDrag.exe (on googlecode IIRC) and sometimes KatMouse.exe - they get me the WM things I dearly miss in windows
 
6:08 PM
I use the mouse to click a lot of things
 
user142019
Oh cool.
 
@Zoidberg Do it now. It's 5 minutes. And bliss
 
user142019
@sehe Yes I really love to get to my work right now in five minutes.
 
@JohanLarsson No shit. It would be weird if you used the mouse to press letter keys
@Zoidberg Ah. Why don't you just say so. Also, it'll take you at least 25 minutes to get there.
 
Ell
erlang is bad
 
6:09 PM
@Zoidberg did you quit school?
 
I use keys to press mouse buttons
 
Where are you lanning on living the coming months, what with no "uitwonenden beurs"?
 
user142019
@Ell It’s not. You are bad.
 
@JohanLarsson The school is still standing, remember
 
Ell
@Zoidberg I knew this would provoke you >:D
 
user142019
6:10 PM
I still go to school, unfortunately.
 
@CatPlusPlus I sometimes do. Gives more precision. (S-A-NumLock on most OS-es)
 
Ell
@Zoidberg where are you working?
 
@sehe I phrased it very carefully this time.
 
user142019
@Ell At a software company.
 
@Zoidberg Whoops. Something went terribly wrong. How do you manage a job then
 
user142019
6:11 PM
@sehe Days I’m free from school and days I only have development class, I go to work.
 
user142019
It’s not a full-time job.
 
Okay. Sadly, I gotta run. Rehearsal in 45 minutes. I'm probably expected to take half the choir apart. So I better not be late
 
user142019
Goodbye.
 
Ell
meh I'm too tired for putting up with lounge pedantry and annoying way of words :P
 
@Zoidberg Let's catch up later.
 
user142019
6:12 PM
ketchup FTFY
 
user142019
#define ketchup catch (std::exception const& up)
 
Gotta Ketchum All!
 
user142019
HOW FUN I’VE GOT HOMEWORK TO DO!
 
user142019
And it’s not even remotely related to CS yay.
 
@Zoidberg what class?
 
6:28 PM
@ScottW I know I am.
@Zoidberg What is it?
 
user142019
@DeadMG something that has to do with what you’re good at.
 
user142019
You have to make a list of things you’re good at and describe them in detail.
 
user142019
Uh, let’s see.
 
user142019
1. Programming.
2. Trolling.
3. Calling things "terrible".
 
user142019
lol
 
user142019
6:30 PM
> Writing bad software.
 
user142019
I’m good at not being interested in these kinds of assignments.
 
make a single entry saying "Criticising" and list how terrible the assignment is.
 
@ScottW "hiding human bodies"
 
I'm good at bitching
2
I will bitch at you all day for no extra cost
 
hmm, when moving my container class, all it's members are being copied. Somehow I've accidentally implicitly deleted my move constructor...
 
6:33 PM
oh, and I learned it in Lounge<C++> by some very expert bitchers
 
user142019
@DeadMG heh :D
 
I wanna make a challenge to people. Make the most complicated Hello World program possible
 
using triangles?
 
user142019
using System;

namespace HelloWorld {
    public class Program {
        public static void main(string[] args) {
            Console.WriteLn("Hello, world!");
        }
    }
}
 
obfuscation
 
6:37 PM
> Memcheck is not perfect; it occasionally produces false positives, and there are mechanisms for suppressing these [...]. However, it is typically right 99% of the time, so you should be wary of ignoring its error messages. After all, you wouldn't ignore warning messages produced by a compiler, right?
Silly Valgrind.
 
also, I can't wait for my rPi to get here. But you knew that.
 
Ell
@rubenvb what you gonna do with it?
 
user142019
# Polyglot Hello, world!
print("Hello, world!");
 
user142019
Perl, Python, Ruby, PHP. :)
 
@Ell aside from using it to play movies, I'm planning on NAS, remote torrenter and hopefully a safe HDD-over-the-internet-thing-like-dropbox-without-or-maybe-even-with-the-syncing.
 
6:39 PM
Or write a new really crappy language for the sole purpose?
 
@Crowz first, learn to code
 
user142019
@JohanLarsson Just use Java.
 
Ell
@rubenvb won't it be quite slow? seeing as it only has usb2?
 
@Crowz good start. Needs more interfaces, and factory patterns.
 
6:42 PM
@MooingDuck what is the point of an interface, anyway?
 
@Ell well, meh.
 
Only used them twice, but... they just seem so unnecessary to me
 
@Crowz so that you don't have to give every last detail of how a class works to someone just so they can use it.
 
8 MB/s is pretty nice IMHO.
not that I'll be moving lots and lots over the network
 
@Crowz You do realize the Googling for something like "enterprise hello world" will give hundreds (probably thousands) of hits, right? While I suppose you could go even further, most of them are already utterly ridiculous. Amazingly, many (e.g., of the J2EE ones) aren't even intending to do it as a joke.
 
6:44 PM
@Crowz for instance, java.util.Collections.sort can sort any container at all with the List interface. Doesn't need the details.
 
@Crowz Awful style fyi
 
1> TestICC.vcxproj -> C:\PROJECTS\TestICC\Debug\TestICC.exe Ef yea.
 
@CatPlusPlus I know
 
oh wait, MSVC10's std::allocator probably isn't movable. That's causing everything else to not be movable >.<
 
Also what's that Thread for
 
6:45 PM
@Crowz what the fuck language is this?
 
JAVA
Badly written JAVA
 
There is no language called JAVA. You probably mean Java.
 
@CatPlusPlus was there any good written java ever?
 
Why?
 
6:50 PM
Netbeans manages to be worse
 
@ScottW Haven't used NetBeans much have you?
 
But they're all pretty bad
 
user142019
Xcode is much worse than Eclipse.
 
user142019
And Dev-C++.
 
"Rigolo" is such a funny word.
 
6:51 PM
Oh, right, Xcode
Xcode is definitely the worst IDE ever made
 
I wouldn't say that.
 
user142019
Dev-C++ is much worse.
 
I'm sure I can find a version of Borland that was worse.
Also, Xcode 3 wasn't so bad.
 
BCB <3
 
the C++ allocator interface is stupid. :(
 
6:52 PM
Xcode 4 sucks bad, mostly because of its performance.
 
New Dev-C++ is better than Xcode
Emacs
It is
It can be
It usually is
 
Emacs will slowly turn you into a fat hippie.
 
@ScottW There is no best, only the "least awful". At least on Windows, that would clearly be VS.
 
@ScottW It is
 
user142019
Use Vim and Z shell and a compiler.
 
6:53 PM
vim is better but hey you want an IDE
 
@ScottW Lacking a precise definition of "IDE", that's impossible to answer.
 
1 min ago, by Scott W
what's the best ide
QtCreator maybe
I've used it for like 10 minutes and it managed to not piss me off
 
Eclipse does that after 15 seconds or so
It's time-to-crate for IDEs. Time-to-rage
 
@CatPlusPlus it still doesn't work
 
6:58 PM
@BartekBanachewicz And it's still better than Xcode
 
@CatPlusPlus I dunno, I wouldn't touch XCode with a 10 foot stick
 
user142019
Xcode is a fine Objective-C IDE if you have a billion gigabytes of RAM and a few 2 THz 64-core CPUs.
 

« first day (842 days earlier)      last day (4100 days later) »