« first day (868 days earlier)      last day (4306 days later) » 

19:00
I still don't get why it was \ in the first place
IN either case I need to get a VS Macro they gets at MyDocuments
Maybe it's $(Documents)
@Rapptz An incredibly stupid decision by some old idiot a long time ago.
Use raw strings.
"If this facility has been around for nearly twenty years, why do people still copy files into the System32 directory?"

Who the hell does this?
hindsight is 20/20
@DomagojPandža A LOT of older applications.
19:01
@DomagojPandža The same people that complain about UAC.
@DomagojPandža Morons.
Hey, I put my DLLs in the proper place. D:
The two might be related.
@R.MartinhoFernandes What's wrong with Using an Artificial Cock?
@ThePhD And that's why you should use Dosbox for your old stuff.
19:02
I really need to stahp with the bad jokes.
@DomagojPandža People put crap in System32?!?!?
-1
Q: cannot enter input data

IkhwAn IVcan anyone help me fix the error... this is all about student information... i'm having trouble in codeblocks... my program ask user to key in the registration form and ask the user to proceed with the input data or change it... i used gets() to read the input... all goes well in the start but wh...

dat C++
oh it got downvoted so quickly.
Lol
@Borgleader Some people have made being retarded a national sport.
What do you expect, posting it here Rapptz?
Immediate downvotes from all the people.
19:03
It got downvoted before I even posted it!
Did it? DID IT?!
hell it's dangerous trying to cut stuff when you are this cold!
Public urination is also dangerous.
I'd rather piss in public then cut myself trying to make dinner
I haven't used a kitchen in ages. I don't even have to clean the shit.
I just order various food all the time.
19:05
unhealthy and expensive
@DomagojPandža Wait, I thought that was what you did in the bathroom, not the kitchen.
Don't tell me I've been doing it wrong all these years.
your code is bad. — Abyx 2 mins ago
Pretty sure that sentence is incomplete
It's missing something
@R.MartinhoFernandes You shouldn't've disabled the UAC then.
@BoltClock "Your code is fucking bad"?
@BoltClock yeah, but I don't care about his feelings.
19:07
I have noticed that a lot of the SO questions look like they're programming a 1975. mainframe and not a modern computer.
@Abyx Oh, fair enough
No style, no structure, no sex appeal.
Could we VTC :(
Just... Bleh.
Why are questions never closed as "too localised"
19:08
@chris: Can't happen! There cannot be any name which is 100+ characters! This code is thereby completely safe!!!111!1! — Zeta 1 min ago
lol
Ell
Ell
I need an achievable project to write :3
@Mysticial Famous Last Words. :-P
@Ell Relativistic raytracer.
@BoltClock You're right. He forgot to capitalize "Your". :-)
@JerryCoffin I was just about to point out the same thing.
Ell
Ell
19:09
@DomagojPandža relitavistic?
*relativistic
@Mysticial Wow -- it's almost like a won at FGITW!
Why do programmers in general have this weird inability to understand that human names don't always have first/last names and don't have character limits?
@JerryCoffin Jerry, it doesn't bother you that your surname is very... Graveyard oriented?
8
Ell
Ell
Is there a way to edit without re-pinging?
@Insilico Anglo-centrism?
19:10
@DomagojPandža lol
user142019
@Ell remove @name or :nnnnnnn.
What, you've all noticed it. :P
@R.MartinhoFernandes Probably, although you'd think Google and Facebook would get that right (they don't)
Ell
Ell
Won't that remove the reply following thing? Let's see
user142019
19:11
Of course it will.
Ell
Ell
Yes it does :'(
@Insilico If you have a name with more than 100 characters -- you have other issues.
I know a friend whose last name is a word you can find in any dictionary, but Facebook won't let him use it because apparently you can't have dictionary words as last names for first names.
@Zoidberg http://stacked-crooked.com/external?url=http://stacked-crooked.com/ Don't forget trailing slash!
@Insilico That's pretty dumb
19:12
So he split up his last name across the middle name and the last name, which is a retarded solution.
user142019
Let's see if it works. :D
user142019
Hey wait it's borked.
user142019
Oh right.
user142019
jsFiddle uses relative paths. :P
19:13
Nov 11 '12 at 2:38, by Mysticial
@JerryCoffin Has anyone ever given you crap about your last name?
@DomagojPandža Not particularly, no. For those who pay attention to such things, my great-great(...) grand-uncle who had the same last name is borderline famous.
user142019
Okay let's use Dropbox.
Hokay.
No longer putting my visualizers in Program Files.
Hooray. ._.
Embracing the new, secure future.
I've just been told that I'm quite handsome. I need an appropriate awkward penguin on a red background to define my reaction.
Or blue, whatever. Or both, probably.
"Thanks, I grew myself." should be an appropriate response.
19:19
@DomagojPandža Socially awesome penguin (red), Socially awkward penguin (blue). Socially awesome/awkward penguin (both)
CRAP I haven't eaten in a long time again.
@Borgleader Just blue then. :D
@DomagojPandža By someone other than your parents, I presume? :-P
@Insilico My mother insults me every chance she gets. :D
@ScottW 'You'd be amazed what you can 3d-print these days'
19:20
Tough love I guess.
What do you call an XML node that goes like <a><b/><a> ?
because for some reason I can't seem to capture b :(
@SamDeHaan My university department has a 3D printer that I get to use for free! :-D
@Rapptz Invalid XML syntax?
@Insilico no
@Rapptz It's just an empty element.
@R.MartinhoFernandes assume it has attributes.
19:21
@Rapptz I'd call it a poor example that probably doesn't illustrate your problem well
<tileset firstgid="1" name="Example" tilewidth="32" tileheight="32">
  <image source="12.png" width="256" height="576"/>
 </tileset>
happy?
Her latest comment was: "What are you going to do when these computers of yours go out of fashion?"
@Rapptz Okay, now that makes sense.
@DomagojPandža Valid question. I plan to starve.
I'll go hide in the atomic bunker with the rest of you, since Third World War has begun.
19:22
I thought there's supposed to be a space between height="576" and />.
e.g. <image source="12.png" width="256" height="576" />
@DomagojPandža if the choice was death or you fuckers, death it is
This XML wasn't generated by me, so I assume it's valid since it's widely used :(
Oh well. XML is a terrible format anyway.
Tell me about it.
@Insilico No, it's optional
It's certainly well-formed XML
19:25
You're missing the kind of important part of asking a question, Rapp. What have you tried?
@BoltClock Ah, okay.
user142019
@StackedCrooked your server is borked.
@Insilico The presence of a space before the /> has a bit of history... which is irrelevant here :)
        pugi::xml_node children = map.next_sibling("tileset");
        firstTileID = children.attribute("firstgid").as_uint();
        spacing = children.attribute("spacing").as_uint();
        margin = children.attribute("margin").as_uint();

        children = map.next_sibling("image");
        std::string imagePath = children.attribute("source").as_string();
o_o
I basically don't know how to capture it. I just wanted its name to make it easier to search.
19:28
Aren't siblings brothers and sisters?
@R.MartinhoFernandes yes
image is not a sibling of tileset, it's a child.
@R.MartinhoFernandes: I think my test data compiler is ready to go :)
So, I've been reading some more on Jerry's prehistoric uncle... You could say that... Coffinception.
@DomagojPandža how fucking long has it taken you think up that? for shame! back in your hole!
19:29
I've been reading about him, he's a fascinating dude!
@Borgleader Btw, where do you keep your code?
@R.MartinhoFernandes Still nothing.
@Zoidberg It should work now. Example compilation request: wget -q -O - http://stacked-crooked.com/compile --post-data='{"src":"int","cmd":"ls"}'
@R.MartinhoFernandes The C# code is in some VS solution. the C++ code I put in the file structure of the .zip you gave me earlier.
19:31
@EtiennedeMartel it's people! yay! I win the prize
No, it's angry people
This was an actual protest here.
Seems like people are protesting all over Portugal.
@Borgleader Well, I meant, do you have a repo somewhere?
19:31
What it says on the paper, quite literally:
"I'LL SUCK YO DICK, MAN"
Looks like you got away just in time, Robot.
@DomagojPandža As opposed to non-actual protests?
user142019
Does this work? :P
user142019
It works! :D
19:32
@R.MartinhoFernandes I have a bitbucket account. But the code was not submitted no. Should I fork ogonek or something?
@EtiennedeMartel Bottom middle reads "We want jobs; we demand rights."
"We demand rights" is funny.
The message on his banner. :P
I fucking hate XML :(
user142019
19:32
@DomagojPandža no more null. Now you can dump your mule.
Smoke = Suck in Croatia.
@DomagojPandža I presume your translation is the more correct translation :-)
@Rapptz You should be parsing it with C# and generating your own binary output to save yourself the misery. :3c
@Insilico Unless you prefer your dick smoked in front of everyone. :)
user142019
Oh God my code is absolutely terrible. gist.github.com/daknok/5072771
19:33
@Zoidberg What else is new?
I'm still late.
@ThePhD If I can't seem to parse it in C++ I probably can't do it well in C# either.
@Zoidberg Does it? Nothing happens when I click run.
Another photo from the protests.
user142019
@StackedCrooked do you get any errors in your console?
19:34
Woa.
@R.MartinhoFernandes Did every cop get one?
I LOVE YOUR PROTESTS. WHERE CAN I APPLY FOR THE POLICE DEPT.?
Ell
Ell
I forgot how salting works :s
user142019
@StackedCrooked hmm fuck, I had security disabled in Chrome to test without XSS protection.
XMLHttpRequest cannot load https://gist.github.com/daknok/5072771/raw/f7f00c799cfed10c2457f9ce0e1f08f5c79c2‌​dd8/gistfile1.coffee. Origin http://stacked-crooked.com is not allowed by Access-Control-Allow-Origin.
lol, now I can't access your files
user142019
It doesn't work here either. xD
19:35
I almost sold my mule, you insolent fuck. :D
user142019
@StackedCrooked heh
user142019
@StackedCrooked send the Access-Control-Allow-Origin: * header with the response on the /external URI.
ok
ok here too
@Zoidberg ok
@Sgt.Fault Wut
19:37
@Ell You mean like salting a password before you hash it?
user142019
@Sgt.Fault Wut
user142019
@StackedCrooked wait, fuck. GitHub should send that header, not you. :L
Inline everything :P
user142019
Well, then I have to embed it in my HTML file. xD
Has someone interviewed with Amazon before?
It works :)
Ell
Ell
@JerryCoffin Yeah
@DomagojPandža I wouldn't recommend applying for any job in Portugal. You can find women elsewhere too. Surprising, I know.
user142019
@StackedCrooked Yay. \o/
what's putty?
Ell
Ell
19:41
Like, if you send a password to a webserver, it will either be unencrypted, or hashed - but if the salt is client side then there is no point?
@DeadMG windows ssh/telnet client?
cheers
Putty is a generic term for a plastic material similar in texture to clay or dough typically used in domestic construction and repair as a sealant or filler. Painter's Putty is typically a linseed oil based product used for filling holes, minor cracks and defacements in wood only. Putties can also be made intumescent, in which case they are used for firestopping as well as for padding of electrical outlet boxes in fire-resistance rated drywall assemblies. In the latter case, hydrates in the putty produce an endothermic reaction to mitigate heat transfer to the unexposed side. Overview...
PuTTY is quite neat.
Could someone explain the point of using alloca for string allocation?
@IDWMaster Avoiding calls to malloc?
19:42
Jun 23 '12 at 1:01, by R. Martinho Fernandes
@DeadMG I've been considering the same too. I'm going to finish a simple wrapper and then I'm going to tackle that crap for real. It's personal now.
Haha, found the source.
@Ell In that case, you simply generate a random number (large enough so each user will probably get a unique one), convert it to a string, and prepend (or append) it to the password before hashing. You need to store the salt so it remains accessible when you need to verify a password. You don't need to keep it particularly secret either.
@IDWMaster Maybe it could help to avoid heap fragmentation.
#XNA is ogre better?
user142019
@StackedCrooked look at the lovely REPLACEMENT CHARACTERs in the footer. :)
Ell
Ell
@Sgt.Fault is #ogre xna better
19:43
@Zoidberg Hehe.
Is that my fault?
@Zoidberg lol
They are in the source, so you fucked up the encoding somewhere.
Why don't you use HTML entities?
user142019
@StackedCrooked Ruby probably fucked up the Unicodez.
user142019
I'll use HTML andtitties instead.
@Ell Usually you shouldn't send a password across the net at all (encrypted, hashed, or anything else). For a situation like that, you usually want a challenge/response protocol. Server generates random number, sends to client. Client encrypts number using (hashed) password as key, sends back to server. Server encrypts number with its own hashed key, compares the two to verify that client has correct key.
user142019
Okay fixed.
19:46
http_get_request = Net::HTTP::Get.new(uri.path)
result = Net::HTTP.start(uri.host, uri.port){ |http| http.request(http_get_request) }
out.write(result.body)
^ Here unicode might get lost..
I can't get this XML thing to work :(
I feel like giving up
user142019
@StackedCrooked you should read binary instead of text and problem should be gone.
@JerryCoffin Do sites like LastPass do that? I know they do a lot of the actual decryption at the client (Javscript) side.
Ell
Ell
@JerryCoffin Ahhh that's clever
@R.MartinhoFernandes: A few weeks ago you gave me a .zip to work with because you were cleaning up the ogonek code. Is the cleanup done or should I keep working with the .zip?
19:47
@Zoidberg How do I do that? With an accept header?
user142019
No.
@StackedCrooked It doesn't seem to set the Content-Encoding header.
That suxors.
user142019
Is that needed if I do <meta charset='UTF-8' /> anyway?
@Borgleader Yeah, I cleaned up everything now. (That included renaming codepoint to code_point, which may have an (easily fixable) impact in your code)
@Insilico I have no idea about LastPass. Most web sites I've examined have not done what I'd call a stellar job on security though.
19:50
@Zoidberg I usually see that with lowercase, but I don't know if it matters.
@Borgleader Oh, don't fork the bitbucket one. I switched to GitHub recently.
user142019
W3C's validator doesn't complain.
@Ell Moreso than most people immediately realize. In particular, if you send an encrypted password, somebody can use a replay attack -- even though they don't know your actual password, if they can send what it encrypted to, they can log in. With a (properly written) challenge/response, that's useless -- every challenge gives a different number to encrypt, so capturing a login packet won't let you log in later.
@R.MartinhoFernandes Oh damn... I just forked it -.-;
Yeah, I noticed.
IOW designing protocols involving encryption is hard.
19:52
Out of curiosity though, why the switch?
I was going to put docs on the BitBucket wiki, but that sucks: you either get a private invisible wiki, or a public one that everyone can edit.
user142019
@StackedCrooked Net::HTTPResponse#body returns a string and Ruby may do funky things with it.
So I moved to GitHub, and use GitHub Pages.
Ell
Ell
@JerryCoffin Ahh yes. I want to read up on more of this kind of stuff. Like managing login sessions too - would the server just set a logged in flag for that ip? or would they have to keep re-authenticating for every action? or whatever. What do I need to search for to learn about this?
I guess I need a github account now lol
19:54
@Ell The way "stateful" sessions work on stateless connections like HTTP is to use cookies
It's neat because the pages are just a specially named branch in the repo.
But it's hard to implement it right without it being susceptible to some fairly easy attacks
There's a wiki that's dedicated to the sort of thing you're talking about.
user142019
Does Java 8 have operator overloading?
No. Java likes to be verbose.
user142019
19:57
lol
No. I think Java 8 is basically what Java 7 was supposed to be but has all the deferred features.
@Ell There are quite a few ways to do it, most of them wrong. One that works is for the client to keep the random number from the server, and use it as a seed for running encryption in counter mode (i.e., increment number, encrypt it, repeat as needed) and send the next result with each packet. This authenticates each packet without adding a lot of overhead.
user142019
Java is C.
@Insilico And they are already delayed again.
Oh look at that, theres a github application for windows
19:59
@Borgleader Is it any good?
Yeah, it's quite neat actually.
@Zoidberg To be more complete: yes, it does -- but you can't use it. From the (nearly?) beginning, Java has had operator overloading to support things like + for strings. They just decided you, the lowly user, can't be trusted with it, so they limit it to a few specific classes/operators.
@Zoidberg I can prove you wrong by contradiction. I know Java. But I don't know C. Therefore Java != C.
@Insilico idk yet, dling it now
@Mysticial s/disproof/disprove/

« first day (868 days earlier)      last day (4306 days later) »