« first day (685 days earlier)      last day (4264 days later) » 

10:00 PM
@MooingDuck No.
 
@MooingDuck Yay! Well, I've got a number of servers going, one being tekkit, on bbd.servegame.com:25566, if you're ever interested.
 
A guy wanted to put the STL into a vector. I use wish I'd kept a link :(
 
Ok, gotta go before the storm hits.
 
@Drise I wont have time for recreation at home until.... I dunno. A while. Moving :(
 
Ell
I'm at a party
 
10:04 PM
@Ell And you're on the chat?
 
Ell
yeah
i feel like jumping in front of oncoming traffic :o
 
heh, the most downvoted SO question that's not deleted is sixth in the "most highly voted questions" stackoverflow.com/questions/1642028/…
@R.MartinhoFernandes oH! yes! aweomse!
 
derp! How do I get the MIME type of file using file... hahahaha
 
@EtiennedeMartel Like a true Lounger. sniff
 
10:06 PM
@MooingDuck I remembered it was @Domagoj that linked to it, so I used this search: chat.stackoverflow.com/…
 
@R.MartinhoFernandes clever. Also good memory. I recognize the name, but no more :(
 
What is the "recommended" GUI library for Windows --- Raw win32 C-style API, MFC, or WinForms?
Also; is there anything else?
 
Really? Can we get any sillier?
1
A: Getting MIME-Type of file using FtpClient

ChimeraWell, you won't be able to get the MIME type of a file using FTP commands as it's not supported, therefore FTPClient has no support to provide that information. However, after you've downloaded the file you can use org.apache.sling.commons.mime to get the MIME type.

 
That comes with Windows
 
10:07 PM
@IDWMaster Qt
 
@MooingDuck ACK.. need 10K to see it.
 
@Chimera oh yeah :(
 
@CatPlusPlus That comes with Windows. In this project it is not acceptable to use any non-MS libraries that are produced outside the company.
Strange legal issues
 
There's a site that archives these funny deleted questions for posterity.
 
10:08 PM
"I did something crazy. I planted a chip in my brain, and tried to feed it data that I needed for my exam,

and next thing I know, I'm on the floor, and since then I can't remember anything about my past.... Who am I?? Where am I from? ' I think I used the wrong programming language to program the chip in my head.. what should I do, how do I undo this??"
 
Go with WinForms or WPF.
 
OK
Thanks for your suggestion!
 
@MooingDuck LOL
 
sbi
@MooingDuck That was A. Stepanov. And he wanted to put the vector into the STL. (Radio Yerevan, here.)
 
10:09 PM
@CatPlusPlus The proper answer is "go with WPF".
 
I don't know, I don't like it.
WinForms felt better.
 
@EtiennedeMartel I don't think WinForms is that bad. It is quite easy to get misused by noobs, but I've found it quite neat when I actually delved into it.
I do prefer WPF, though.
 
.NET is useful in Windows.
Hard to always avoid it.
Too bad they never made a native version of Winforms
Then I'll have to write a Metro version of it --- and rewrite most of the code!
 
Why would they make a native version of WF?
 
@CatPlusPlus So it could be included in Windows without the overhead of a garbage collector (like the innefficient one in .NET).
 
10:13 PM
@IDWMaster They did. It's called "Win32".
 
A bloo bloo garbage collector.
It's not visible in UI code.
 
@CatPlusPlus Not visible?
 
And low-level languages do not work for GUIs period.
 
@CatPlusPlus Why not?
 
Compare C++ GUI code to high-level GUI code.
Or C shudder
 
10:14 PM
@CatPlusPlus Take a look at Xonotic
www.xonotic.org
 
You can call native code from C#.
 
They did a good job with UI in C
 
I think it's possible to make an nice GUI API in C++.
 
I doubt you'll need native-ish performance on a GUI. (Hint: it's for the user to use).
 
@R.MartinhoFernandes Good point
Does Microsoft actually use WinForms in any of its programs?
 
10:17 PM
I think Office is some native thingy, VS is WPF.
 
sbi
@IDWMaster Office, I bet. In fact, I'd bet somewhere in MS Office is code for any MS technology of the last 20 years you happen to dig up somewhere. Always added to, never cleaned up. That's MS Office.
 
@R.MartinhoFernandes Let me remind you:
> "I abhor a system designed for the "user" if that word is a coded pejorative meaning stupid and unsophisticated" - Ken Thompson
 
GUI code doesn't need performance at all.
It idles in the event loop 99% of the time.
 
@sehe That's no how I meant it. I used it meaning that the user doesn't interact at that speed.
 
@R.MartinhoFernandes I thought office 2007+ is WPF... Not sure though
@R.MartinhoFernandes Oh good
 
sbi
10:18 PM
@R.MartinhoFernandes Office 2007, which I am forced to deal with at work, still has the very same dialogs popping up in odd places that Office 95 had.
 
The same thing can be said of VS2010: it even has the same bloddy UI soft-lock bugs from VS6!
http://connect.microsoft.com/VisualStudio/feedback/details/105511/find-in-files-says-no-files-were-found-to-look-in-find-was-stopped
 
sbi
@R.MartinhoFernandes In the settings for the 64bit ODBC driver on Windows 7, a coworker found a Windows 3.x file open dialog the other day.
@sehe Actually, they revamped most of the GUI with VS 2003.
 
@sbi Yeah, but not all, apparently. Just checking on the history now
 
@sbi And 2010 was WPF'ed, so it was revamped again.
 
10:22 PM
@R.MartinhoFernandes Still they have had the same bug for years. Across various revamps
 
sbi
@R.MartinhoFernandes But this still isn't fixed, so there must be old code still in there.
 
@sehe Yeah, they're a bunch of lazy pigs.
 
productive day -- 117 rep so far today.
 
sbi
Well, I gotta go. That day has drained me. Good night, everybody!
 
@sbi That's like a flagship bug now.
@sbi Have fun.
 
sbi
10:24 PM
@R.MartinhoFernandes I'll have sleep instead.
 
@sbi spater
 
sbi
@Chimera Did I ever tell you that nobody ever says this in Germany?
 
@R.MartinhoFernandes Actually I'm quite amazed they managed to keep that particular bug 'working' across such major revamps. Must mean that they have done something right - decoupled code in an MFC application. I think that shoule be noted as an achievement
 
sbi
afk
 
@sbi Oh gawd, that reminds me I should go have dinner now.
 
10:25 PM
@sbi Night
 
@sbi nope
 
@Chimera Don't you mean NOP?
 
@IDWMaster NOP
 
@sbi They're not mutually exclusive. That's what dreams are for (or nightmares if you like the adrenaline).
 
@R.MartinhoFernandes Oh great, after they make me reset me password because - of course - I needed to be logged in, I found that connect no longer lists the bug. I'm absolutely postivie I can still repro it in VS2010 at work! Anyways, here is the description.
 
10:29 PM
10 get upvote
20 goto 10
 
Got another upvote on that today
@Chimera Make it while (receive_upvote()) { /* appreciate(*it++); */ }
 
while( 1 )
    upvote_Chimeras_stuff();   // thanks
 
@Chimera Look at Chimeras stuff. // I need to look at this.
 
:-D
greetings @CaptainGiraffe
 
Ok pop quiz. I had an online exam.
 
10:33 PM
Gyus
 
Gyros
 
Gyroscope
 
Gyrocopter
 
Velociraptor
 
In this online exam one question was to complete a "Linux programmers manual" for "strcat"
 
10:34 PM
Smörgåsbord.
 
Late. Mælstrom
 
Latte
 
What's up with the strange syntax?
NetProxyIn::pswdform^ mform = gcnew NetProxyIn::pswdform();
mform->ShowDialog();
 
I thought this should be a slam dunk.
 
@IDWMaster C++/CLI - using a .Net assembly, possibly in mixed-mode assembly
 
10:36 PM
Am I asking too much?
 
@CaptainGiraffe Hmm. Those pesky library functions that everyone takes for granted. Now think of thread safety, pointer aliasing, copy direction, buffer overruns :)
:5182537 gcnew is CLR, not CX
 
Always look on the bright side of life ♫, ♫ ♫ ♫!
3
 
@sehe I'm running all over your buffer =) You're a string? Still running =)
 
wait you can let ppl star your message and then edit it?
I think that's cheating
 
10:40 PM
They have google and the quite prominent title "Linux programmers manual"
 
@JohannesSchaub-litb I improved it. Unicode takes extra
 
I feel like a dinosaur, just waiting for extinction
 
@JohannesSchaub-litb Some users have previously tried that joke before, if you're curious.
 
10:42 PM
always the thoughtful guy
 
@JohannesSchaub-litb Please tell me I'm a bad teacher, my students are idiots something
I'm crying here
 
lol
take it like a captain
 
@CaptainGiraffe Oh, you required them to complete it for you. And they had access to the internets. That's pretty much my definition of slamdunk.
What do they come up with then? Empty?
 
@JohannesSchaub-litb Until it sinks?
 
Till the last soul
 
10:45 PM
then take it like a swimmer
 
@sehe Yes, no poor guesses, no understanding of any kind of string function so at least they were honest
 
first take it like a fireman
 
then doggy style
 
Are you sure it's the wrong chat?
:S
 
Sssh. I don't do other chats
 
10:46 PM
he's meeting up with his master
 
@sehe Which is similar to @CatPlusPlus style.
 
we have a local snack bar at work that has this logo:
 
// TODO make this right
Why is this thing on my code? cries
 
i was telling my coworker "hey that 'I' character looks weird" xD
 
10:50 PM
Maybe I'm not on to the new kids learning patterns, but fuck me if you can't google enough to get the exact text I gave you, and show any kind of strcat code.
 
but the logo that sticks on that snack bar doesn't have the face on the 'I' so it looks like something else
 
@R.MartinhoFernandes A robot typed it
 
@JohannesSchaub-litb Should consider changing the name to Frick'n Yoni
> (void)_;
^ What are you, a Perl robot?
 
@sehe Shutting up unused variable warnings.
_ is my standard unnamed variable name (habit from Haskell, if you're curious).
 
10:54 PM
Of course. If so, why isn't it for_each(range, phx::cast<void>(_));?
 
@sehe It's wrong anyway, and I knew it when I wrote it. Why should I make it short or whatever?
 
To justify the use of 'anonymous parameter' names - make it a lambda
 
@R.MartinhoFernandes The perl+C++ would have been awesome. foreach( a container in context, lambda here//);
 
@sehe To make it nice I'd instead make a consume function.
That's useful when you have lazy ranges that exist solely for side-effects (which is the case there, but shouldn't).
 
I'm mainly unnerved by the naming of your loop variable. Why would you make it suggest 'unnamed'-ness, when it isn't?
 
10:58 PM
@sehe Because _ is Haskell's placeholder for ignored arguments when pattern matching.
 
But you do use it
 
@sehe I don't. The cast to void is unnecessary for proper behaviour. An empty loop does the trick.
 
The cast is solely to shut up GCC.
 
@CaptainGiraffe :bwipeout! #
 
11:00 PM
And for(auto&& : thing) {} is not legal syntax, AFAIK.
 
@R.MartinhoFernandes wokay. I'll let it pass; this time
@R.MartinhoFernandes I understood that.
 
@sehe I'll make sure you're notified once I get rid of it.
 
har har
 
I'm not proud of that code. It was written after many frustrating hours of fixing template errors.
Btw, I beat my previous record. I got 18384 errors in a single build.
 
You count them. Wait that numer looks familiar. Is it a integer faculty?
 
11:03 PM
? No.
 
I think it is something like that. Or something closely related to a power of 2
 
@sehe 16384 is 2^14.
 
@R.MartinhoFernandes that must be the association then
it's also 2^4 x 3 x 383
 
Aug 24 at 17:58, by R. Martinho Fernandes
Dammit, I fear my code is putting GCC into a mode that always counts errors in units of 100.
 
11:06 PM
a.k.a. 2^11 x 3^2 x 48
 
Sometime after that, it got to the "units of 1000" mode, and that's when I hit 18k+.
 
I'm quite used to that kind of behaviour with Spirit. Though, I reckon you get an extra load factor due to using variadics more
 
i can tell you that it is also 16384 * 3.1415926535 / atan(-1)
to at least 7 decimal places of precision!
 
har har. hmm missing a factor of 4? is atan(-1) not singular? My highschool math is completely gone
 
UM i guess it is 4*atan(1)
i thought it is atan(-1)
 
11:09 PM
OH "pseudo-white"
 
is it not AK/HYP
 
@JohannesSchaub-litb well...
 
@sehe Tangents range from -inf to +inf, i.e, atan is epic (actual math term, I swear!).
 
ohh it is AK/GK
 
@R.MartinhoFernandes nice
 
11:11 PM
Lord of Atan
 
Yuk Atan
Anyways, off to bed. Cheers
 
Yeah, I'm leaving too. But for dinner gasp
@sehe Have fun.
 
@R.MartinhoFernandes happy ingestion
See you next time on the muppet show
 
@sehe G'night.
 
Hello boys
I started my thesis work today
 
11:19 PM
@sehe night
 

« first day (685 days earlier)      last day (4264 days later) »