« first day (534 days earlier)      last day (4405 days later) » 

2:00 PM
@RMartinhoFernandes Hard to tell.
 
Some people are just too stupid for anything
-1
Q: "Programming" a Batch file, IF statements inside IF statements?

user1307920Why won't this code work correctly? I am sorry I couldn't understand how to post the code, so here is an image of the code: http://i.imgur.com/xZlWS.png (also, please click the link because I am a new user and I can't post images yet) Is Command Prompt even capable of executing this "branched ...

2
This guy was incapable of figuring out how to post code, so he links a screenshot to the code instead
what the fucking fuck?
 
rofls
 
@KonradRudolph Sadly, that's not unheard of.
 
damnit
I was thinking something before you posted that and now I've forgotten what it was
 
Sorry.
I know my presence is powerful, but I can't do anything to stop it from interfering.
 
2:05 PM
twas Konrad's link
I'm used to ignoring your negligible contribution
 
Damn, now I look like a preposterous fool.
 
look like? :P
hey
I say things like that all the time :(
 
you guys are hilarious!
 
@KonradRudolph I couldn't resist. I OCR-ed the baby tree :)
4
 
@sehe Dude, you define procrastination
3
 
sbi
2:13 PM
This is a bit belated, but it's nevertheless very good.
 
@KonradRudolph No. I define productivity. Don't just whine about images, fix it!
2
 
whining is more fun. I win
 
@sbi hardy har har
@sbi Can you imagine downloading an entire browser every time you visited a website?
 
@CollinHockey CDN and caching.
 
@sehe Fixing images while you have other work to do..? :p
 
2:18 PM
@sehe but still
 
@CollinHockey see the Emscripten PDF online demo which has libpoppler compiled to javascript. Only 12Mb on initial page load
 
sbi
In other news, I have been worried about my laptop since it make "plink!" this morning when I opened the the thing and apparently the spring handling the lock that keeps the display lid closed broke. While I can live with the fact that the machine isn't securely closed anymore (it's always carried in a padded case), what really worried me was the sounds of the broken part clattering in the case.
I asked a sysad for his opinion on whether this is as dangerous as I thought, and he agreed. So we have, for the last three hours, disassembled the whole damn thing (including removing the display!) just to get at that fucking broken spring clattering at the very front. In the end we did it, though, and it's now on his desk, and I can finally continue working...
 
> WebKit.js could perhaps be the future of the Internet.
 
sbi
@CollinHockey Of course. Some websites already feel like I am doing that.
 
@sbi What kind of laptop is this?
 
@sbi I'm surprised, those things are beasts
 
@StackedCrooked Who says I do? Besides I need breaks. And OCR-ing christmas trees seemed like a fun experiment. I found out online OCR's exist outside my imagination. That's what I thought.
 
@sbi Ha, that's proof we can plink your laptop to death!
 
sbi
@CollinHockey It is a beast. It's especially a beast to carry around.
@RMartinhoFernandes It was a different sound. I'm just no good at describing those in English.
 
Sorry to be a little off-topic but do you think WoW has SSL?
or EVE or runescape
this topic is really killing me
I can't wait to strip the SSL off my sockets
the faulty SSL
 
2:26 PM
@user1220811 Do you think the way to create a popular MMO is to do what WoW does for no other reason than because WoW does it?
 
Sounds like a plan to me.
 
so with the login info safe the rest of the network traffic is not a concern
 
I'm pretty sure when Blizzard started working on WoW, they focused on other problems than "should we encrypt our network traffic" to begin with
 
sbi
Belgian C++ UG: book 8th May for Next BeCPP UG Meeting on building Native C++ apps for Windows 8 Metro http://bit.ly/H9hWly #win8devbe
Where's our Belgian fellows?
 
sigh I will keep pulling late hours trying to beat this dead horse until I am sure there is nothing that can be done and strip the SSL
thanks for your help
everyone
 
2:29 PM
@sbi ohhh
 
Hah. I requested the HP 8540W i7 16gb 256GB SSD 17.0"
Of course they'll need to grant it to me :)
 
@user1220811 What's the problem you're actually having?
 
@user1220811 er, a lot can be done. I can see two obvious solutions, both of which work, and have been done before. (1) implement SSL, and (2) ditch SSL
Neither involve any dead horses
 
@sbi Just @StackedCrooked methinks
 
hmmm
 
2:30 PM
@TonyTheLion Oh you're in Brussels, not?
 
it's a bad thing if my CPU is 95 degrees Celcius, at idle, right?
 
@sehe currently I'm not in Belgium
 
That's pretty warm
 
but I'm from Belgium
 
sbi
@sehe Huh?
 
2:31 PM
@DeadMG Fan spinning? Heatsink has good thermal grease and contact?
 
19 hours ago, by sehe
@sbi GOOD THING YOU REMIND ME! I got mailed last wednesday that I should pick specs for my new company laptop. That I never hardly use. Apparently, it has reached EOL
 
I can't be in Belgium on the 8th of May
 
My problem is I don't want a hijacked connection to damage or interrupt service to java applet clients
 
@CollinHockey One of my case fans is broken and I haven't bothered to replace it :P
my "ventilation" is "leaving the side of the case off"
 
sbi
@sehe Ah, that was you, oh. Sorry, I forgot. What kind of machine is an HP 8540W?
 
2:31 PM
now it's fallen down to 70 degrees celcius
 
@DeadMG but if the CPU fan is still spinning, 95 is still really warm
heatsink could be clogged with dust too
 
yeah, that's what I THOUGHT
 
8th May is VE Day.
 
@user1220811 but until you have a game that people actually want to play, there's no risk of anything being hijacked. You can always modify the socket code later
 
both of my computers need a srs spring clean and maintain
 
2:33 PM
hello, i'm new to programming, am currently taking my first computer course in C. can I post a question on this site or would it be too elementary for this crowd? thanks
 
it's fine to post a question on stack overflow
 
In any case, to secure your game, you need to understand network security. Asking a bunch of random developers in a chat room isn't going to make your game secure. And blindly adding SSL support might not make it secure either. Security is a big, complex subject
 
Ell
@nofe you can post it on the main site, but this chatroom is for C++.
 
sbi
@DeadMG I have pictures of an old graphic cards somewhere, where not only the fan's plastic is molten, but even the lead with which the copper cooler was soldered to the chip has molten so that the copper fell off. Surprisingly, after attaching a brand new fan and all, the thing is still working half a decade later.
 
@nofe If by "this site" you mean stack overflow, the questions are welcome. Elementary questions are perfectly ok
 
2:34 PM
@sbi lol
that's pretty extensive heat damage
 
@jalf I mean the general web is HTTP without encryption and noone is complaining right so I shouldn't really worry about it huh?
 
I mean, the CPU has a built in temperature throttle, it just doesn't normally kick in even under load
 
ok, I didn't see a C chatroom so i came in here... I wasn't sure if here or programmers since there are a few of these i'm not sure what's the difference
 
@nofe The usual suggestions apply: search first, make sure you have a short code example that reproduces the problem (if applicable), etc. Other than that, there's no problem in asking basic questions.
 
ok thanks a lot!
 
2:35 PM
@nofe There are two parts to the site. One is for chatting, and the other is for asking for help with code.
 
Ell
I believe programmers is for more general problems, whereas stack overflow is for specific instances, I dont really know
 
Programmers is more for industrial questions
 
@DeadMG Haven't tried it yet, but I saw someone using dental floss to clean the fins on their heatsink, looked brilliant
 
@user1220811 That depends. Most web traffic isn't encrypted because it doesn't contain any sensitive data.
 
sbi
@DeadMG I have looked it up, and common soldering lead melts at 183°C. I have no idea how a common GPU could have survived that amount of heat.
 
2:36 PM
@CollinHockey First I need to find out what the problem is :P
 
@Ell
 
If your game is going to be transmitting sensitive data, then you need to take steps to ensure unauthorized parties can't read it or modify it.
 
Ell
@nofe yes?
 
@Ell is there maybe a place specifically for people programming C ?
 
@sbi it has built in solder reflow!
 
2:36 PM
@sbi Industrial solder is quite a lot different to regular solder. GPU TJunction Max is usually 120 degrees, I think
 
sbi
@CollinHockey What's that?
 
@nofe C is a dead language, and the C chatroom is pretty dead, as far as I'm aware
 
@jalf well general game traffic like "player moves east" isn't sensitive information right?
 
Ell
@nofe just ask on the main stack overflow site and tag your question as C. You generally get replies very quickly
 
@nofe Yeah, StackOverflow with a 'c' tag on it
 
sbi
2:37 PM
@DeadMG What's "GPU TJunction Max"?
 
But again, until you have an actual game, there is nothing to hack, and then worrying about hackers is meaningless
 
@sbi It's nice that it's a free event. But don't have much interest in Windows Metro right now..
 
@DeadMG why am I studying it if it's dead then? :(
 
@sbi the TJunction Max is the temperature threshold at which the hardware will turn itself off to protect itself from heat damag
 
@sbi Basically you plop down components with some sticky stuff and solder then send it through an oven: en.wikipedia.org/wiki/Reflow_soldering
 
2:38 PM
@nofe What's actually used and what's taught are two entirely different things.
 
@user1220811 That depends on you and your game. If you don't ensure that instructions come from the right player, then anyone can order your character to move left.
 
@sbi Oh, now I learned that tin solder is actually a tin/lead alloy.
 
sbi
@StackedCrooked Oh, I hadn't even read so far. Gah! I am sorry for having bothered you with Metro.
 
as for why? I ask myself that same question every time I look at the notes for my own course
 
but there are many different mechanisms involved in protecting against that. It's not just a matter of slapping SSL on your sockets and calling it a day
 
2:38 PM
@DeadMG It's not dead, I program in straight C all the time.
 
@DeadMG you teach or take the a course in C?
 
one example does not a trend make - or, indeed, break
 
sbi
@RMartinhoFernandes You didn't know that?? What kind of robot are you?
 
@nofe Fortunately, my university thinks that anything even as useful as C is too useful for them.
 
@sbi Here it's always referred to as "tin solder".
I never heard anyone say "lead solder" before.
 
2:39 PM
@jalf I am just concerned about man in the middle attacks (I think that's what it's called)
 
@user1220811 That's one of the things proper SSL will help with
 
sbi
@DeadMG Oh, it turned off alright. I only found the damn thing because my display kept turning off.
 
@DeadMG everyone in the engineering department a my school has to take at least a course in C...it's a blanket requirement of everyone
 
sbi
@RMartinhoFernandes "Lead" is just what Leo spit at me when I fed it "Lötzinn" ("soldering tin"), which is the German word for the stuff.
 
@sbi Generally speaking, it should be impossible on recent hardware to actually damage it through heat
of course, whether or not the hardware actually behaves like that is another question
 
2:41 PM
@DeadMG Blowtorch to the rescue.
 
lol
 
sbi
@DeadMG Well, that hardware did look quite damaged, I can assure you that.
 
lol
 
@sbi If it's still working, then obviously it served it's purpose :P
@nofe If you're working on some very low-power processors, it's still somewhat useful.
 
sbi
@DeadMG I was counting the fan and stuff as hardware, too, you know.
 
2:42 PM
yeah, there is that
 
Maybe there's a downloadmorefans.com?
 
quick guys, I need to download a new case fan! Anyone got a torrent link?
 
Ell
lol
 
I mean if the general HTTP web doesn't require SSL besides for credit card numbers why should I worry about my general game traffic?
 
2:46 PM
@user1220811 Encrypting the username/password login will protect your log-in information, but it won't protect game-state going back and forth
 
is my argument
 
@user1220811 you shouldn't care about this until public beta
 
@user1220811 If you don't care about people possibly being able to inject game state into the stream back and forth from your server, then you don't need to keep the SSL session going - how are you encrypting the log-in if your SSL doesn't work?
 
you always can replace your CConnection with CEncryptedConnection
 
2:49 PM
I'm using SHTTP to encrypt login information... it's a little complex
HTTPS*
 
@user1220811 Which is SSL...?
 
Yeh I think I can get the Apache server working with SSL but my cpp server is screwing up when I try and make multiple connections or use BIOs
 
@RMartinhoFernandes Mate, did you memorise all of their tropes?
 
Not yet.
Which is why I still get stuck there too often.
 
It was the injection I was worried about. Should I be very concerned about it I mean so many things are done unencrypted ah forget it I have taken enough of your gracious time already I am going to keep on at it until I give up
 
3:02 PM
@RMartinhoFernandes Do you by any chance read Girl Genius or HPMOR? Both are chock-full with tropes, even trope-namers. (And TV tropes is conversely chock-full of them) …
(that’s a recommendation, by the way ;))
 
@KonradRudolph No. I'll check them out.
 
sbi
@KonradRudolph He is a robot. He is memorizing everything about everything.
 
@sbi Thanks for the heads up.
@RMartinhoFernandes This sentence is false.
 
Mar 26 at 10:27, by R. Martinho Fernandes
Oh, right, I forgot we spread those lies.
 
@user1220811 cnn.com isn't concerned about who reads their articles, and there's nothing to be gained by me pretending to be you reading an article you wouldn't normally read. So they have little need to secure their traffic. In your game, people might have an interest in cheating, in modifying game state, in preventing others from playing, or in pretending to be other players and send commands in their name.
So you are going to have to decide how much security you want, which forms of cheating to protect against, and so on. We can't answer that for you. Some games use full end-to-end encryption. Some use no actual encryption, other than hashing the password.
but again, you can always change your socket code. It doesn't have to be perfect from day 1
 
3:15 PM
I need more coffee
I didn't sleep well last night, and I'm uber tired
 
hey Tony
maybe you should drink some coffee?
 
yes I know
I'm too lazy to make it though
lol
 
I'm up all night on the dew
I think I can crack this puppy as far as the SSL goes I just need to get my BIO socket working
 
don't crack me! :(
@RMartinhoFernandes Already picked up the Paradox Protection Pack huh?
 
@DeadMG this is your puppy on crack
 
3:20 PM
Now here's the mystery of the day: why did I just got email from LinkedIn.
 
Is it possible to write this in a smaller form: $(A \neq \emptyset) \vee (B \neq \emptyset)$ ? Something like $A \vee B \neq \emptyset$
 
@CatPlusPlus spam
 
(A≠∅)∨(B≠∅) can it be written as A∨B≠∅ ?
 
@TonyTheLion whores
 
matematically
 
3:21 PM
It's not spam.
@user995434 Clarity over terseness.
 
then someone on LinkedIn has your email or you have an account there
 
You don't gain anything by making this 'smaller'.
 
@CatPlusPlus I mean in a more compacted way
 
I know what you mean.
 
@CatPlusPlus so what is the problem ?
 
3:23 PM
I need to start responding to important people who attempt to contact me
 
The problem is the first one is fine.
It conveys the meaning perfectly well, and is not so terribly verbose.
 
@CatPlusPlus Unless you need something of the form X≠∅.
 
@CatPlusPlus I have a space matter in my document, which can be fixed by compacting some formulas like this one. So do you have an answer for my question please ?
 
@DeadMG ah, so I assume some non-important people have contacted you?
 
`f(x) = x≠∅; f(A) ∨ f(B)?
@TonyTheLion So many, I've missed plenty of important incoming emails.
 
3:25 PM
Gah. (X=Y)≠∅, but it's borderlining on silly.
 
@DeadMG this will add one formula to my problem :p
 
@CatPlusPlus No, that's wrong.
 
for example, my landlord telling me I owe them money
 
oh ghosh
pay before he kicks you out
 
3:26 PM
@DeadMG It does sound important.
 
it is not correct to write (A∨B)≠∅ ?
 
@user995434 No.
 
@RMartinhoFernandes Welp. I've seen something like that used before.
 
@DeadMG Why not?
@CatPlusPlus But it doesn't have the same meaning as the original.
 
@RMartinhoFernandes Because I'm pretty sure that "or" is not defined for sets.
 
3:27 PM
Ah, or.
 
@DeadMG Oh, I'm assuming he meant set union and couldn't find the proper codepoint.
 
ah I found it, this is probably correct: A U B ≠∅
isn't it ?
 
So apparently I don't have a LinkedIn account. I don't have an entry in kdb and password reset form on their site does nothing.
So Y U EMAIL ME.
 
surely the email wants something from you that would explain why they emailed you
 
Some person inviting me to something.
 
3:29 PM
@CatPlusPlus phishing?
oh
 
It's legit, it passed SPF and DK.
 
@CatPlusPlus Do you know that person?
 
Hit "delete".
 
well, then, thrash the email
it might have been a false positive in your SPF system
 
3:30 PM
(FTR, if you answered "yes", I would have replied "Hit that person")
 
There are no false positives in SPF.
 
I knew it, that you were gonna say that
you're becoming predictable :P
 
Also I Googled him, and it turns out I do know him, but not by real name.
Meh.
(I would've trashed it anyway.)
 
meh, an online "friend"
 
@TonyTheLion SPF validates originating server via DNS entries of the domain it's allegedly sent from.
 
3:32 PM
I have puppies, cats, robots, bonobos and other creates as "online friends"
 
And DomainKey is cryptographic signature.
 
@CatPlusPlus yea, I've bothered to read the wikipedia now
 
You can be pretty sure the message is fine if these are present.
 
@user995434 No, that would say both A and B are empty..
 
That's why spam detectors lower the score significantly when you have valid SPF and DK headers.
 
3:33 PM
@CollinHockey No.
 
Mine would say both are empty.
 
@RMartinhoFernandes Ack, thought that said A union B equals empty
 
No, wait, the other way around.
Oh screw that.
 
it's really not worth it
he's gone from like, seven characters to five, what a waste of intellectual thought
 
3:35 PM
@DeadMG Unless there's more than A and B and he wants to shink a much larger group of sets down
 
@CollinHockey "Let X be ..."
 
for every set X in { A, B, C, D, E, F, G, H, I, ... } ....
 
forall is cool.
 
∀x: x ∈ { A, B, C, ... }
 
I prefer code personally
 
3:37 PM
Hi, I need to control messages sent to all windows (win32). Do you think detouring CallWindowProc (intercept call; edit message; call original wndProc) sounds like a good way to do this?
 
@DeadMG That is code!
 
{A, B, C, D, E, F, G, H}.ForEach(x => ... );
@RMartinhoFernandes It's mathematical bullshit.
 
Are there situations where you wouldn't expect this to work?
 
@DeadMG Mathematical code.
 
actually, we already had this debate like 999999 times
so I'mma stop now
 
3:39 PM
It's not a debate when all that is done is spouting opinions FYI.
 
what's the language agnostic way of saying "translation unit"?
 
translation units aren't language agnostic, so none
 
AFAIK only C and C++ have that concept.
 
java has a source file right?
 
@RMartinhoFernandes Pascal/Delphi too
 
3:40 PM
that gets bytecoded
or whatever
 
any language with include directive
 
and then you put all of the .class or .java files in a jar, and it works, right?
so one of those source files is a "translation unit", by which I mean the smallest piece of code that can be compiled seperately, given a bunch of source files.
 
@rubenvb Except there's no declarations at all and you need all the relevant .java and .class at compilation time.
In C or C++ all you need is the translation unit itself.
@rubenvb It can't be compiled separately.
 
argh
 
(That is, unless it has no dependencies)
 
3:41 PM
got an email from some guy asking me what my plans were after my degree
 
hmm, ok.
 
now I'm all remembering about my degree
 
I'd use "module" but it's not so much the case that I map "TU" to "module" as I map "module" to "TU".
 
Where you based?
DeadMG; what are your plans for your future after your degree?
Where you based?
 
@LucDanton Modules are usually a deployment unit, no?
 
3:43 PM
@LucDanton hmm, module sounds more like "library" to me, at least, although LLVM does indeed also use that to mean compiled "source file"
 
DeadMG; what are your plans for your future after your degree?
& what is the degree you've been working on?
 
And Java already has a meaning for "module" btw openjdk.java.net/projects/modules
 
@rubenvb LLVM does not give a shiny golden shit about your source files.
that's practically the whole point of LLVM - that it doesn't care about the source language
 
@72con Why the fuck are you spamming?
GTFO.
 
on the train..
just clicked retry and it sent it twice..
 
3:44 PM
I'm issuing flags.
 
so chill
 
that guy appears to have already been on my ignore list
 
@DeadMG What I meant was an LLVM module is a thing you can write out or load from something somewhere.
 
@rubenvb Which is totally not the same as a source file at all.
 
why the f* is everyone always so angry in these chat rooms?
 
3:45 PM
@RMartinhoFernandes Even for a standalone program (i.e. not a library) I try to write my TUs like so. So yeah, I try to map my TUs to those concepts, not the other way around.
 
and that's the clearest explanation I can give, given the genericity of a module.
@72con because we can.
 
@72con oh, so it's not the one room where someone asked you to GTFO?
 
I feel a pattern.
 
I hit retry cause my connection is bad and now I'm the antichrist.. Gsus.
 
If that's the case I'm sorry I misinterpreted it.
 
3:48 PM
Hello!
 
np..
 
Bayes!
 
@rubenvb Laters!
 
or at least something related
 
3:49 PM
@rubenvb You get a cookie.
@LucDanton I have a feeling that's a joke, but I'm totally missing it.
 
@RMartinhoFernandes Well it depends on what pronunciation of Bayes you're using.
 
@RMartinhoFernandes Yay!
 
@LucDanton Somewhat similar to "base".
 
@RMartinhoFernandes So you're American now?
 
I have a question about a C++ keyword.
If I use 'break;', in two nested for, it interrupts just the first one right?
Example:
for (int i = 0; i < 10; i++) // first
for (int j = 0; j < 10; j++) // second
if (condition)
break; // this go out just from the second for right?
 
3:52 PM
It has non-zero probability.
 
> Bayes' theorem is named for Thomas Bayes (/ˈbeɪz/)
Wut
 
@LucDanton Ha!
Take that.
And "base" is /beɪs/ :P
See, similar.
I win.
 
@RMartinhoFernandes You can have my cookie :P
I've always said it like bah-yes
 
@rubenvb me too
 
But hey, I think English/American pronunciation sucks.
 
3:56 PM
Speaking of cookies, I'm out to buy some.
 
@unNaturhal correct
 
@BenjaminLindley :) Thank you
Could you tell me a wey to go out from both for?
 

« first day (534 days earlier)      last day (4405 days later) »