Members in Shoutbox
None.

Shoutbox Search
Search for:


Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper
/me > Marks as action

Shoutbox Information
Moderators may delete any and all shouts at will.
Global Shoutbox
Please log in to shout.
Pages: < 1 « 3227 3228 3229 3230 32313572 >

[2014-12-03. : 9:29 pm]
NudeRaider -- jjf28
jjf28 shouted: definitely the biggest problem with that movie
What you experience as a spoon is just bits. Once you realize there's no spoon but bits, you can manipulate them.
[2014-12-03. : 9:24 pm]
jjf28 -- ok fine, the Chinese characters http://images4.alphacoders.com/888/8886.jpg
[2014-12-03. : 9:23 pm]
Dem0n -- vrael do my coding project
[2014-12-03. : 9:23 pm]
Vrael -- there is no bits
[2014-12-03. : 9:23 pm]
O)FaRTy1billion[MM] -- xD
[2014-12-03. : 9:22 pm]
jjf28 -- definitely the biggest problem with that movie
[2014-12-03. : 9:22 pm]
jjf28 -- how would realizing that there is no spoon help you manipulate bits?
[2014-12-03. : 9:22 pm]
O)FaRTy1billion[MM] -- the string decoder function works elsewhere with no issue, I don't know why it would break here for this string
[2014-12-03. : 9:21 pm]
O)FaRTy1billion[MM] -- -76 is the correct value :(
[2014-12-03. : 9:20 pm]
O)FaRTy1billion[MM] -- 809, -76, nullpointerexception
[2014-12-03. : 9:20 pm]
O)FaRTy1billion[MM] -- er, I didn't look at the output since I changed to name_enc[0]
[2014-12-03. : 9:19 pm]
O)FaRTy1billion[MM] -- I see 809, 809, nullpointerexception
[2014-12-03. : 9:19 pm]
jjf28 -- therefore bending the spoon is impossible
[2014-12-03. : 9:19 pm]
O)FaRTy1billion[MM] -- " dis.read(name_enc, 0, 112); name = decodeStr(name_enc); System.out.println(name);" works, " System.out.println(setCount); dis.read(name_enc, 0, 112); System.out.println(name_enc[0]); sets[i].name = decodeStr(name_enc); System.out.println(sets[i].name);" doesn't work
[2014-12-03. : 9:19 pm]
Vrael -- there is no spoon
[2014-12-03. : 9:18 pm]
O)FaRTy1billion[MM] -- Maybe I forgot to read a value or something from my struct ... It was working before when I was just skipping over the size of the struct when reading the file. xD
[2014-12-03. : 9:18 pm]
jjf28 -- or perhaps you're calling a standard library function that's broken? happens sometimes
[2014-12-03. : 9:18 pm]
O)FaRTy1billion[MM] -- It works in other places.
[2014-12-03. : 9:17 pm]
jjf28 -- you didn't allocate or copy the reference to an array/object correctly
[2014-12-03. : 9:16 pm]
O)FaRTy1billion[MM] -- I'm reading in to a static byte array and then passing that to my string decoder function. There are no pointers :(
[2014-12-03. : 9:16 pm]
O)FaRTy1billion[MM] -- why am I getting a nullpointerexception? :(
[2014-12-03. : 9:03 pm]
jjf28 -- kkk
[2014-12-03. : 9:03 pm]
jjf28 -- kk
[2014-12-03. : 9:03 pm]
jjf28 -- k
[2014-12-03. : 9:01 pm]
O)FaRTy1billion[MM] -- ok, multiply more
[2014-12-03. : 9:00 pm]
jjf28 -- noe! >=D
[2014-12-03. : 8:59 pm]
O)FaRTy1billion[MM] -- jjf quit multiplying
[2014-12-03. : 8:45 pm]
Devourer -- lol
[2014-12-03. : 8:45 pm]
jjf28 -- loljava
[2014-12-03. : 8:41 pm]
O)FaRTy1billion[MM] -- "the word 'int' is not correctly spelled"
[2014-12-03. : 8:41 pm]
O)FaRTy1billion[MM] -- what, java has spellchecker on comments
[2014-12-03. : 8:27 pm]
jjf28 -- there ya go
[2014-12-03. : 8:25 pm]
O)FaRTy1billion[MM] -- ok, I'll just put everything in to one class with several instances of itself
[2014-12-03. : 8:19 pm]
jjf28 -- coding a simple program just for yourself: do whatever you want :D
[2014-12-03. : 8:17 pm]
O)FaRTy1billion[MM] -- like for a 'count' value or something value it makes sense, since you don't want that to be able to manipulated directly but you'd sometimes like to know what it is.
[2014-12-03. : 8:16 pm]
jjf28 -- for a primitive and a class with just those methods it's very redundant if you ask me; but alot of times you won't want to manipulate variables outside that class
[2014-12-03. : 8:16 pm]
O)FaRTy1billion[MM] -- Except I myself am going to make no attempt to change it, and zero other people are likely to ever see it so I don't think it matters.
[2014-12-03. : 8:15 pm]
O)FaRTy1billion[MM] -- although all this stuff should really be read-only since it's read from a file and I don't plan on adding all the functionality to change it since I'm lazy. :P
[2014-12-03. : 8:15 pm]
O)FaRTy1billion[MM] -- if it weren't just an int or if other things depended on it I could understand ...
[2014-12-03. : 8:14 pm]
O)FaRTy1billion[MM] -- like I don't get "private int bah; public void setBah(int a) { bah = a; } public int getBah(){ return bah; }" .. it just seems redundant. ;o
[2014-12-03. : 8:13 pm]
jjf28 -- o, you're supposed to used data hiding but if you're just porting from C it shouldn't matter :)
[2014-12-03. : 8:12 pm]
O)FaRTy1billion[MM] -- jjf28
jjf28 shouted: with java you don't really have reference params, so you'd need two methods to return both without the abstraction
I've just been making everything public, because I don't know why you'd want to make it private since none of it is like interconnected or sensitive. xD
[2014-12-03. : 8:11 pm]
Dem0n -- Anyone wanna create a shell for me? For my class project that's what I have to do, and it's gonna rape me. I have no idea what piping and shit is
[2014-12-03. : 8:11 pm]
O)FaRTy1billion[MM] -- If I were programming for desktop stuff I'd just stick to C or C++. :P
[2014-12-03. : 8:11 pm]
Dem0n -- I wish I knew OOP
[2014-12-03. : 8:10 pm]
jjf28 -- with java you don't really have reference params, so you'd need two methods to return both without the abstraction
[2014-12-03. : 8:10 pm]
Dem0n -- Oh, you're doing android studff
[2014-12-03. : 8:10 pm]
O)FaRTy1billion[MM] -- C# doesn't work on Android.
[2014-12-03. : 8:10 pm]
Dem0n -- FaRTy1billion
FaRTy1billion shouted: Well the problem is Java apparently doesn't have structs, so literally everything has to be a class. :P
Why not use C#?
[2014-12-03. : 8:10 pm]
O)FaRTy1billion[MM] -- It's a program I wrote a long time ago that stores groups of images in a file ... I was playing with data archiving for game files and stuff, and I figured that it would be a good way to dive headfirst in to Android since it deals with all sorts of things. :P
[2014-12-03. : 8:08 pm]
O)FaRTy1billion[MM] -- Yeah, but it's only two values so instead of blah(ImageRef thing) it's just blah(short block, short id)
[2014-12-03. : 8:08 pm]
jjf28 -- I don't really know what you're doing :)
[2014-12-03. : 8:08 pm]
jjf28 -- maybe, you might have a need for another class to get one element from your array of ImageRefs, in which case the class is good
[2014-12-03. : 8:07 pm]
O)FaRTy1billion[MM] -- so "short[] imgRefBlock; short[] imgRefId; " instead of that class?
[2014-12-03. : 8:05 pm]
O)FaRTy1billion[MM] -- But I already finished typing it up. :P
[2014-12-03. : 8:04 pm]
O)FaRTy1billion[MM] -- you mean like two arrays? I guess I could ... I have to read it one byte/short/int at a time anyway, so I could ...
[2014-12-03. : 7:59 pm]
jjf28 -- if you only use them in one class i'd use parallel arrays, but otherwise yeah, that's the rediculous part :P
[2014-12-03. : 7:52 pm]
O)FaRTy1billion[MM] -- but I have arrays of these
[2014-12-03. : 7:51 pm]
O)FaRTy1billion[MM] -- "public class ImageRef { public short block; public short id; }" just seems silly to have as a class, and an entire class. ;o
[2014-12-03. : 7:50 pm]
O)FaRTy1billion[MM] -- I'm not familiar with Java and the Android environment, so I'm not sure how my data will ultimately need to be available.
[2014-12-03. : 7:50 pm]
O)FaRTy1billion[MM] -- Like I'm not really having trouble, it's just I'm doing it as I go along so I'm not sure how I'll need it to be done down the line.
[2014-12-03. : 7:48 pm]
O)FaRTy1billion[MM] -- Well the problem is Java apparently doesn't have structs, so literally everything has to be a class. :P
[2014-12-03. : 7:47 pm]
jjf28 -- you probably need to stop thinking so hard, perhaps learn any OOP tricks you don't know, java emphasizes simplicity to ridiculous levels
[2014-12-03. : 7:44 pm]
O)FaRTy1billion[MM] -- D: Java is hard because I'm used to my C methods of allocating memory, buffers, and structs. I'm not sure how to translate it in to objects.
[2014-12-03. : 7:43 pm]
O)FaRTy1billion[MM] -- "Broadband became a marketing buzzword for telephone and cable companies to sell their more expensive higher data rate products, especially for Internet access."
[2014-12-03. : 7:43 pm]
jjf28 -- don't be getting owned by your mom on tech terms now :P
[2014-12-03. : 7:42 pm]
O)FaRTy1billion[MM] -- she was like "How much do you pay for broadband?" so I just said "I have DSL"
[2014-12-03. : 7:39 pm]
jjf28 -- clearly your bandwidth would be broader with broadband
[2014-12-03. : 7:38 pm]
O)FaRTy1billion[MM] -- why does my mom always refer to internet as "broadband"? Isn't that just some marketing buzzword from back when cable internet became popular?

Pages: < 1 « 3227 3228 3229 3230 32313572 >


Members Online: RIVE, O)FaRTy1billion[MM], Moose