Replies to ironwill, page 2
-
@ironwill *is tempted to play Minecraft*
-
@ironwill ok i think i did it wrong....
-
@ironwill i think i'll download it even tho i'm rarely on here
-
@ironwill that's super cool!
-
@ironwill ah cool
-
@ironwill i dont understand, what does the mod do exactly?
-
@ironwill To elaborate on that: for big or long-running projects, you should make sure it's possible to change things later without going slowly mad. (For example, if you needed to change to a different encoding function, your current approach would need you to change several different places.) But for small enough, or write-once-and-then-just-let-it-keep-running-how-it-is projects (both sound like they fit what you're doing), there's much less reason to care. :)
-
@ironwill xD Good enough of a reason for me.
-
@ironwill If you don't plan to come back and make changes to it later, sure.
-
@ironwill Generally as a coder, the idealology of "It works, don't change it." is very bad but, eh. xD
-
@ironwill Here you go. My background. I made it for myself, but im giving it to you because minecraft. http://ur1.ca/9e1g8
-
@ironwill XD yes, bacon is better!
-
@ironwill LAF
-
@ironwill Try replacing out.write("status=" + URLEncoder.encode(msg, "UTF-8")); with out.write("status=" + URLEncoder.encode(msg, "UTF-8") + "&source=" + URLEncoder.encode("ham is delicious", "UTF-8"));
-
@ironwill ...Hmm... I'm actually really bad at networking in Java that isn't using a Socket and constructing the request myself. Mind pastebinning the full code?
-
@ironwill Pastebin your POST request setup and post it here. I might be able to help.
-
@ironwill i want to test this.
-
@ironwill ALL MY DOWNLOAD BANDWIDTH ARE BELONG TO YOU
-
@ironwill HOLY CELESTIA ON A STICK WITH A GRASS BLOCK UP HER BUTTOCKS. GIMME THIS MOD RIGHT THIS NOW.
-
@ironwill Pastebin your current POST.
-
@ironwill WELL THAT WORKED REALLY WELL
-
@ironwill Add a source attribute to the POST request.
-
@ironwill You actually put his real name not his user name
-
@ironwill Probably so it knows it's not some other value?