The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
[Chat] Java
SarksusATTACK AND DETHRONE GODRegistered Userregular
If the article in the newspaper had pictures and sarks had bailed on making a [chat] mine would be about how I drove like an idiot yesterday and ended up with a BMW stuck in a garden and bits of garden stuck in a BMW.
@Tapeslinger: I should know where I am staying and my final schedule this week so we can figure out if we can do a meet up with folks while I am in NYC. There may also be other grad students following me, don't worry they don't bite.
Programming is stupid and I am going to throw my computer out the window.
What's the prob?
In Java I have to add things to a vector using enumerations and then use a for each loop to get them back out. Except the vector has to be an Object type and each enumeration is its own thing so I get an incompatible types error from the compiler because the vector is an Object type and the enumerations are whatever type they're named when I make them.
Well, Java is always about 50% more of a pain in the ass than other languages because it's extremely verbose and deliberate. That makes it a favorite of businesses.
But if you're having that hard of a time, your design is probably terrible.
Duh it's probably terrible.
I'm going to read the dumb book, but the vector absolutely has to be an Object and the enumerations have to be named that. I don't understand why it makes a fuss when these enumerations are supposed to be subclasses of the Object class.
A Collection of Objects is a huge red flag. That said, maybe use instance of and direct casting? That is,
if objects[i] instanceof MyEnum
MyEnum e = (MyEnum) objects[i];
37) You are an LAPD police detective but while off duty and waiting to pick up your wife up at an airport in Virginia, you notice a couple of men acting weird and entering a restricted area of the airport. You follow them into this area, and:
a) Introduce yourself as a police officer, and take your penis out.
b) Take your penis out, and then introduce yourself as a police officer.
c) Take your penis out, introduce yourself as a police officer, wait for them to shoot you, and then shoot both of them.
d) Take your penis out, introduce yourself as a police officer, and then shoot them before they shoot you.
e) Introduce yourself as a police officer, shoot them, tell the chief security officer what happened, and then find a good coffee shop to wait for your wife in (with your penis out).
f) Introduce yourself as a police office, wait for them to shoot you, shoot them both, tell the chief security officer what happened, get rebuffed, discover that terrorists have taken over air traffic control for the airport, take it on yourself to investigate by crawling through the ventilation shafts and killing a bunch of ex-special ops commando terrorists, then go report back to the chief security officer, climb out a window and try to flag a plane away, then go back and uncover an even deeper level to the conspiracy, kill everyone else, hug your wife, and then take your penis out.
g) All of the above.
So we get stiff once in a while. So we have a little fun. What’s wrong with that? This is a free country, isn’t it? I can take my panda any place I want to. And if I wanna buy it a drink, that’s my business.
0
ChanusHarbinger of the Spicy Rooster ApocalypseThe Flames of a Thousand Collapsed StarsRegistered User, Moderatormod
Aren't f and g the same answer?
Allegedly a voice of reason.
0
TavIrish Minister for DefenceRegistered Userregular
Programming is stupid and I am going to throw my computer out the window.
What's the prob?
In Java I have to add things to a vector using enumerations and then use a for each loop to get them back out. Except the vector has to be an Object type and each enumeration is its own thing so I get an incompatible types error from the compiler because the vector is an Object type and the enumerations are whatever type they're named when I make them.
Well, Java is always about 50% more of a pain in the ass than other languages because it's extremely verbose and deliberate. That makes it a favorite of businesses.
But if you're having that hard of a time, your design is probably terrible.
Duh it's probably terrible.
I'm going to read the dumb book, but the vector absolutely has to be an Object and the enumerations have to be named that. I don't understand why it makes a fuss when these enumerations are supposed to be subclasses of the Object class.
A Collection of Objects is a huge red flag. That said, maybe use instance of and direct casting? That is,
if objects[i] instanceof MyEnum
MyEnum e = (MyEnum) objects[i];
Oh you know what.
I'm a retard.
Do you know how big of a retard I am right now.
Such a big one.
I was using an example the instructor gave us because it had some functionality we needed in this project, but I just copied too much. We are supposed to use instanceof to get them back out. I totally forgot about it.
I am so dumb. Holy God. Could you also tell me why that's a red flag? We are making a "wallet" using a vector and filling it with with shit like "photos" and "credit cards" using enumerations so if the vector is an Object then we can just add whatever we like.
Posts
http://www.youtube.com/watch?v=6AFPGc15bn8
instead of java
I will pretend it is for you, Sarks
Uncanny Magazine!
The Mad Writers Union
So let's chill out a bit.
If the article in the newspaper had pictures and sarks had bailed on making a [chat] mine would be about how I drove like an idiot yesterday and ended up with a BMW stuck in a garden and bits of garden stuck in a BMW.
girl at my work looks like a slightly skinnier version of her
breaks my heart every day
On the black screen
I am fukin' yeneious.
Swedes who use "king" in their nick are 100% white trash.
Man, it takes longer than that for me to get out of bed.
https://twitter.com/Hooraydiation
A Collection of Objects is a huge red flag. That said, maybe use instance of and direct casting? That is,
if objects[i] instanceof MyEnum
MyEnum e = (MyEnum) objects[i];
a) Introduce yourself as a police officer, and take your penis out.
b) Take your penis out, and then introduce yourself as a police officer.
c) Take your penis out, introduce yourself as a police officer, wait for them to shoot you, and then shoot both of them.
d) Take your penis out, introduce yourself as a police officer, and then shoot them before they shoot you.
e) Introduce yourself as a police officer, shoot them, tell the chief security officer what happened, and then find a good coffee shop to wait for your wife in (with your penis out).
f) Introduce yourself as a police office, wait for them to shoot you, shoot them both, tell the chief security officer what happened, get rebuffed, discover that terrorists have taken over air traffic control for the airport, take it on yourself to investigate by crawling through the ventilation shafts and killing a bunch of ex-special ops commando terrorists, then go report back to the chief security officer, climb out a window and try to flag a plane away, then go back and uncover an even deeper level to the conspiracy, kill everyone else, hug your wife, and then take your penis out.
g) All of the above.
http://www.youtube.com/watch?v=X3wcg4dlzQU&feature=related
Every damn time.
You can DOOO EEEEETTT!!!
It is excellent but might be a bit of an acquired taste.
I enjoy it, but I can see how others might consider it grating.
https://twitter.com/Hooraydiation
Let's not chill out.
Then I shall give it a try.
Oh you know what.
I'm a retard.
Do you know how big of a retard I am right now.
Such a big one.
I was using an example the instructor gave us because it had some functionality we needed in this project, but I just copied too much. We are supposed to use instanceof to get them back out. I totally forgot about it.
I am so dumb. Holy God. Could you also tell me why that's a red flag? We are making a "wallet" using a vector and filling it with with shit like "photos" and "credit cards" using enumerations so if the vector is an Object then we can just add whatever we like.
is this like Digital Hardcore for the kids these days?
http://www.youtube.com/watch?v=pUx5z9O2ZGk
http://www.youtube.com/watch?v=vVGXcjM9SOQ
It's an acquired taste.
http://www.youtube.com/watch?v=y0s7ycdUcHk
yessssssssssss
God, I miss Squeeze.