« first day (460 days earlier)      last day (4503 days later) » 

2:00 PM
I don't know how that's a thing?
Was "Austria-Hungary" like "Great Britain" ?
 
it was an empire long time ago
 
{| class="infobox" style="width: 290px; text-align: left; font-size: 88%;" |- style="background:#bce;" !colspan=2 style="text-align:center; font-size: 110%"|Austro-Hungarian Empire |- !colspan=2 style="text-align:center; font-size: 110%"|Official Long names (and English translation thereof) |- |colspan=2|en: The Kingdoms and Lands Represented in the Imperial Council and the Lands of the Holy Hungarian Crown of Saint Stephen ----de: Die im Reichsrat vertretenen Königreiche und Länder und die Länder der heiligen ungarischen Stephanskrone ----hu: A birodalmi tanácsban képviselt királyságok ...
It has nothing to do with Gabrielle's name though. It was just to show you that there is a connection between Austria and Romania. :)
 
Oh ok, so, a bit like Great Britain then
 
There is even a connection between Germany and Romania. :D
 
I heard there was a party in here, I brought the booze.
And cookies. Can't forget the cookies.
 
2:11 PM
I've been born in a German colony in Romania, like my father.
 
;))
at what age you left from Romania?
 
One and a half.
 
reads through chat
 
ooo
 
Oh, just @OctavianDamiean hitting on chicks again...
:D
 
2:13 PM
hands @Glitch a party hat
 
confetti
 
I ... I uh, I don't know what you're talking about. :D
 
@Glitch On the bright side, she's hitting on him back
loves watching the mating habits of heterosexuals
they're so much more accurately named than "the mating habits of homosexuals"
 
Where's David Attenborough when you need him.
 
I think I fall under this category: bbc.co.uk/news/magazine-16552173
 
2:15 PM
I'm not sure him joining in would world...
 
"And so we see, the young unicorn's horn pointing directly into the air, letting the nearby females know that he's ready to reproduce some bugs"
2
 
What a surprise. Glitch joins and the topic turns into this. shakes head
 
@Glitch 'mazin.
 
@Reno awwwwww :/
 
2:23 PM
puts photoshop tools away
 
@Graeme C++ is awesome, you've been in Java land too long
 
I want this shirt! i.imgur.com/M1szY.png
so much awesome! imgur.com/a/v4ovQ
 
hahahaha
 
@Merlin There is 2 different ways to do everything
and those two different ways are both the "helper" methods
symbols mean radically different things depending on where you use them.
 
it's a mess
 
2:38 PM
It really is a train wreck of a language developed by people who implemented things in order to seem clever.
which obviously was actually just advertising their penis envy
 
it's essentially a language made up of features of every other language tacked on
It's kind of like when you're at an all you can eat place, and you pile your plate up with every edible food item you can see. The result is gastronomic suicide.
 
o.O In what way is it like that @Glitch?
 
5 mins ago, by Graeme
@Merlin There is 2 different ways to do everything
The right way and the wrong way .... same with every language
installing debian at work to confuse everybody
 
Why is *value a pointer and &pointer a reference?
And then, **value is a pointer to a pointer, but, if you pass **pointer in you're dereferencing a pointer to a pointer?
 
That fun is from C
 
2:43 PM
A pointer is a memory address. To get the address of a variable you use & to get the value of a variable at an address you use *
 
and you have to then use &value to make a pointer a pointer
@Merlin Nuh uh!
If there is a method like this: method(SomeObject **result);
then you don't find the address of the address of the value: SomeObject* result; method(*result);
 
int myVar = 5; int* myPointer = &myVar; return *myVar == 5; //should return true
 
you use the & which is the opposite of how you use it everywhere else :P
 
double pointers are really crazy
 
42
A: What's wrong with C++ compared to other languages?

Norman RamseyYour question is difficult to answer because for most programmers, the problem with C++ is the whole of the language, not individual pitfalls. Bjarne Stroustrup is on record as saying that he started "C with classes" because of a bad experience using Simula-67 and not being able to control the c...

 
2:46 PM
Point Proved then.
C++ is mental.
 
That's C syntax
C++ is mental for other reasons :P
 
And then there is the whole, "the value is " + value; being ridiculously difficult to do.
 
When the guy that invented the Linux kernel hates the language, you know there's something wrong. :P thread.gmane.org/gmane.comp.version-control.git/57643/…
 
the the fact that all of the libraries are massively spread across a billion different providers
 
I love Linus rants :P
 
2:49 PM
Linus kinda hates everything.
 
yeah, but it makes for a good read
and he's often right
 
Indeed.
 
Linus' problem isn't so much his argument, just how he argues.
Linus goes straight for the jugular.
 
user457812
You're stupid and ugly.
 
2:51 PM
Did you guys hear something? :P
 
I like his attitude though.
 
user457812
 
Why is he taking a picture of himself molesting a cat?
 
user457812
I don't know, but I can't stop laughing
 
2:53 PM
Not sure if that cat is enjoying it or just frozen.
 
user457812
I've actually seen my cat sit on stairs like that
 
user457812
It's usually right before they just fall over sideways
 
bwahahaha, I love this quote _"Having loose wires instead of a brake pedal in a car because the user
might prefer to brake with his teeth or by wiggling his backside or
building any other contraption of his own invention is a design
mistake. Especially when we are talking about public transportation
with changing drivers."_
 
3:04 PM
omg cat bonanza while i was gone
for the last time dogs>cats PERIOD
 
dont give me ur shifty eyes
 
Fine, want shit on a stick instead?
No party hat for you!
 
:P
@nil's cat did not like taking that picture with him
i think @nil got mulled after taking that shot
and @Reno's cat, thats just plain wrong
it looks like she/he has to pee and was forced to sit on the stairs while his/her owner takes a picture
 
Cat's like stairs...
 
3:16 PM
sorry one more image
 
@Graeme Hello
Hi all
 
Uhm, Hi!
 
@Graeme I've managed to fix that annoying thing the adapter from yesterday
 
feels a question being aimed at him?
@dinkan 's icon makes me want a chocolate icecream cone...
@Alin Oh yeah? What was the problem?
 
3:21 PM
no question ;) The thing is, I had a Person object for each item, having Name, profession for instance. Well... in getVIew... I checked: does it have a profession... if yes setText for the textVIew if not... do nothing..... It seems that for these TextViews that didn't received a SetText... while scrolling the listview, replaced them with ones that had text....
ahh... that sounds so bad explained :)
 
Yeah, I didn't understand any of that
 
alin
your views are being recycled, just say if profession set text, if not set text to ""
 
@Evan correct... in this case problem soved
I just set to put setText in either case
 
ive played w/ listviews a lot, if you have any future issues msg me :)
 
I thought is not necesary
bloody android
@Evan I've used them a lot too... but always had all the fields with values... or if no value a default N/A one
 
3:24 PM
I still don't know what you're talking about.
 
Thanks ;)
 
What happened @Alin?
 
@Graeme Let me give you an example
 
Because profession == null the name wasn't getting filmed in therefore it kept the old value?
 
@Graeme you use sprintf for formatting string, like string.format in java. It's easier to use resource strings for localization.
 
3:25 PM
There is a way to stop the recycling, It's in Romain Guy ListView video. I don't recommend that you do it tho.
 
@Merlin the strings are SQL statements :/
 
@Graeme So you have Person 1: Alin, Programmer, Person2 Graeme Developer, Person3=SomeName.... si in my items I get 3 rows... but for the 3rd person there is empty for profession
 
Uh huh?
 
after scrolling, android just took profession from Person 1 and added it for Person3 textview
 
I use String.format to create sql statements all the time
 
3:27 PM
@Alin .... but you said the Name was the same...
 
... usually to keep things within the 80 char/line limit
 
and i gave you the code to test wether the above problem was infact the problem o.o
@Merlin Could you give me an example line of code using String.format?
 
@Graeme yes, in my case it was... but that doesn't matter... the solution is make sure that all TextViews receive a setText() even if profession is an empty...
 
@alin your example, pastebin.com/SaengnaW
 
@Evan yep like that it works fine
 
3:30 PM
i r mindreadurr :D
 
unfortuanatelly took me 4 hours to find it :)
 
@Alin but but but but... I told you that and you said it wasn't the answer.
 
String.Format("select %s from %s.%s where %s", fields.join(","),schema,table, whereclause);
 
@Merlin You're right, that is easier.
Now, what's this "String" creature you keep talking about?
 
@alin let me know if you get into loading different recycled layouts in the same listview, that can be tricky
 
3:31 PM
Oh you mean in C++ ... yeah that's a long story
 
@Graeme Well after 4 hours I messed things up so bad I can't remember all the things I've tried. Probably that was the solution but forgot you've told me ;)
 
Will stick with the way I'm doing it, Which is stupid. But it's not throwing compile errrors.
 
char * sqlquery = sprintf("select %s from %s.%s where %s", fields.join(","),schema,table, whereclause);
...or something not too disimilar
 
@Alin I gave you the solution, and then you said you tried it and it didn't work......
that is so annoying.
 
Well that was in the case of the name... but I also had some other fields... I forgot to add the same solution to all... and that gave me the impression that the whole item was repeating
 
3:35 PM
29 mins ago, by Octavian Damiean
user image
 
how @Graeme feels right now... i.imgur.com/oZA63.jpg
 
o.O!
wants to go to bed
 
@alin are you still having trouble with listview?
 
Oops! Your answer couldn't be submitted because:

users with less than 125 reputation can only post answers every 3 minutes; try again later. ........... apparently stackoverflow shits on me.
 
Oh, interesting.
 
3:47 PM
@owengerig You really need to take a better picture of your dog. Your icon is still horrifying :)
 
user image
3
 
just saw that, lol
 
@Merlin No it works fine. Thanks
New question on SO, I'd like to hear some opinions
0
Q: How to make a custom progressbar in Android?

AlinWhat would be the best way to make somthing looking like this: The text on it needs to be customizable, not only numbers, some strings too, depending on context. From what I see it: 1. create an custom View and within onDraw perform all the calculations and text alignment ? 2. style or extend...

 
What @Merlin says
 
3:55 PM
bye guys
 
@Merlin you should be careful, I think Stack Overflow robots are programmed to flag that as a low quality answer.
It's the right answer though.
 
@Reno in his defence, the question will be closed for being too fluffy of a question before the answer get's flagged :)
 
meh ... not sure how to improve on that!
 
Add more detail.
Or my unipony will not be that happy.
 
@Merlin Add "DO IT! DO IT NOW" as another line.
 
3:58 PM
@Graeme It is a good question.
 
No no I don't mean people will flag it. I mean it will end up here : stackoverflow.com/review/…
 
@OctavianDamiean Unfortunately, because of @Glitch, when you say "My unipony" it's a synonym for "My penis".
 
Maybe it's a 10k only zone
 
Damn you @Glitch!!
 
hows this avatar!!!!!!!
she's ready for war.
which war??? u might ask???
 
4:01 PM
Android: Security Enhanced Android Released By NSA http://bit.ly/zjP73j
I doubt that.
 
the great one which will come at the end of mans age, where only one can rule, and dogs must take up arms against cats for that rule
 
@alin here's an onDraw override example for what you want .. not sure if it works but hey google is my bff. markmelive.com/2011/03/…
i mean, its not exactly what you want
but it cant hurt to see onDraw
 
@owengerig Your pup is a cutey :)
 
:D thanks!
 
Way better now @owengerig.
 
4:03 PM
Looks less like your about to kill his family while he watches. :)
 
lol
 
Evening @JMRboosties
 
morning here
brb
 
Oh wow, so that is what your name is like. I don't even want to tell what I always read @JMRboosties.
 
4:05 PM
@Evan thanks
 
@OctavianDamiean JMboobies?
 
does like he hasn't noticed Graeme writing something
 
That's about right, it's all @OctavianDamiean thinks about...
:D
If there was a programming language called DD, he'd be all over it.
 
I've added a small update to my answer but essentially being lazy as bro
 
Is it just me or has @OctavianDamiean 's english gone downhill...
Or am I having a stroke...
Should I call an ambulence?
-.- I hate afternoon's at work.
@Glitch Is that why I think @OD's unipony is his penis, and why @OD think's about @JMRboosties boobies?
 
4:11 PM
I'm not sure I like where this discussion is going.
 
leaves in disgust
 
what the
 
Btw @owengerig, foxes > cats > dogs :D
Well, fox = cat + dog
 
pft
so u say
penguins >all
did u see the vid on yahoo yesterday of the crow snowcaping (like snowboarding but using a bottle cap instead of a board)
 
4:16 PM
yup :)
 
@Graeme Also, yes. Probably. I blame the barometric pressure causing headache which leads to a restricted ability to think.
 
Someone posted the link to that here a few days ago :P
 
Hi everyone
 
i think im gonna by a fishbowl and get a dolphin as my next pet
 
Hello @rubenvb.
 
4:16 PM
dolphins are fish right?
 
@OctavianDamiean Sounds legit.
 
Does anyone here have any experience in "modifying a"/"building your own" Cyanogenmod rom?
 
They're mammals
 
@rubenvb I have experience in bricking phones and @Glitch has a lot of experience in writing code that bricks phones.
 
4:18 PM
hmmm... doesn't sound what I'm looking for
 
i always wanted a cuttlefish, so i could cuttle with it
 
:p
 
I guess @Reno is your best bet.
 
still loading. the whole android chat room is trying to access that video at the same time
 
4:22 PM
@Reno: people tell me you're my best bet in experience in building a custom cyanogenmod rom
 
Oh come on, who favourited that!
 
lol "Historians used to agree the Crusades were the most prolonged suffering in human history, untill Nickel back released a second single"
whoa, almost caught picking my nose by the hot girl in the office
that was a close one
 
@rubenvb Well I did not really mean that he might be the best bet for a custom cyanogen ROM but for custom ROMs in general.
 
whatdju want to do?
 
to get the bogger out
 
4:24 PM
@owengerig Ewwwwwwwwwwwww. Never using your keyboard :P
 
Nose gold eww.
 
Oh god ...
 
lol
 
@Reno I'd like to strip unneeded programs from the rom and add the GO Launcher and associated apps as defaults instead of ADW and some crappy contacts/SMS aps that are now included.
 
it just itched a little, i swear
 
4:25 PM
I knew you're different but not that different.
 
@rubenvb have you got a working build? OSx or Linux? and which device?
 
What the hell ... even I notice how my English sucks. I should totally go offline and I don't know, knit something instead. Would be better. fml
 
@Reno I've got the Cyanogenmod 7.1 ROM for my Legend. All I'd want to do is add and remove system apps.
 
really dont feel like working today. maybe ill just watch snowboard videos and listen to nickelback. on second thought maybe just snowbaord vids
 
and have sane default settings of course
 
4:28 PM
i'm off, cyas
 
cya
 
@Merlin You're back! Yaaaaaaaaay!
 
I don't think you have to build the source then, you can remove those apps using adb shell. though you may risk the chance of causing the phone to crash.
 
cplusplus.com/reference/clibrary/cstdio/sprintf <- How'd you get the length of the buffer?
 
@Graeme don't use sprintf
 
4:30 PM
I mean it will vibrate a lot, not actually reset.
 
o.O
 
lol Nickelback ?
 
then what do I use?!!
 
@Reno in reference to the video @Glitch posted a min ago
 
49 secs ago, by Reno
I mean it will vibrate a lot, not actually reset.
 
4:31 PM
@Reno Ok. Crash as in brick or crash as in: clockwork recovery, reflash original, and all is good?
 
hehehehe
 
oh, just vibrate
 
@Graeme stringstream. You did point me to the C++ reference. Why do you want the length of the buffer? You create it.
 
Crash as it Force Closes and stuff.
 
4:33 PM
@rubenvb I don't know! I just want to add a string to another string!!
 
@Reno ok, I'll look into that then. Thanks
 
cries
Why kick is kick c++ kick so kick stupid.
 
@Graeme you're angry at C++ because you are using the C functions?
seriously
use std::string
ffs
 
uh huh - and how do I add std::strings together?
 
hehe I already like @rubenvb.
 
4:34 PM
@Reno lol at one of the comments at the bottom : "Allow me to be the first to admit to my own stash –er, of Nickelback music that is. But I just downloaded the mp3s for the articles."
 
using `std::string::operator+`, which means
string a = "bla";
string b = "bla";
string aplusb = a+b;
 
@OctavianDamiean That makes one of us :P
 
FU @Glitch. You ruined the meaning of unipony.
 
@rubenvb Great, so what you're saying is, "UPDATE TABLE client SET client.id=%s, client.hostname=%s ..." should take a million lines?
 
@Graeme say what?
 
4:36 PM
o_O
 
Why not just keep to the Java part, they have addable strings
 
I'm doing an SQL statement where I'm going to need to concatinate alot of strings.
 
C++ is verbose. Get used to it or don't use it at all
 
@rubenvb It does? Well... if I'd only thought of that I wouldn't be having this trouble ...
@rubenvb you just spelled "stupid" wrong. "C++ is stupid."
 
@Graeme Speaking of bad English. Seems to be a common symptom today.
 
4:38 PM
@OctavianDamiean ... I can't even see where I made a mistake! :(
 
concatinate lol
 
Oh yea, indeed.
 
HAH! Leave my spelling alone :P And my punctuation. You know what I mean.
 
@Graeme funny to hear someone who doesn't even know about std::string and wanted to know how to use sprintf say "C++ is stupid"
 
4:39 PM
@OctavianDamiean Unfortunately I do think of that quite often :)
@rubenvb So what you're saying is, people who don't like c++ have to learn it's every crappy facet in order to continue not liking it?
Now that's some c++ logic right there.
 
@Graeme no, people who voice there opinions on anything have to at least know that something.
 
That's not true, for people to voice an informed opinion they have to know something.
 
Oh boy.
 
you can voice any opinion you want with little to no knowledge of the subject. :P
 
Of course you can do that but you can't look smart at the same time.
 
ok, sorry. aaaaaand zen.
 
@OctavianDamiean it seems I have a fan.
 
who are these people and what do they want from me D:
 
@Reno well, that one is praji and he wants to chat privately with you
 
s/he works on the php tag. I've never done anything with php.
 
4:44 PM
@rubenvb So you really are saying that in order to do that SQL Update statement, I need to write as many lines of code as I have variables to update?
and from the same standpoint your saying that the language is reasonable?
 
@Graeme you can't possibly expect me to give a sensible answer to that question when I don't know what code you are writing. "A SQL query" is not code, it's a string. You can create temporaries in C++, so you can do somefunctioncall(string1+"literal"+string2+string3+"/"+string4)
but that takes some knowledge of C++ to 1) understand and 2) come up with.
@Graeme I never said C++ was a reasonable language.
 
So, this line is valid std::string updateQuery("UPDATE TABLE " + tablename + " SET variable1=" + variableOne)?
 
if those are all std::strings, it certainly is.
 
and if they're char* ?
 
then you're adding pointers (addresses)
 
4:48 PM
you can't use + on two char*s. You can construct a string from a char* and use + to add the second C string.
std::string b = string("a")+"bla";
 
@Reno how bout if i dereference them? + &variableOne + ?
 
@Graeme no, no, no
you dereference pointers with *
seriously
 
grabs popcorn
 
learn the basic concepts before diving in
 
@rubenvb ...? This is me learning the basic concepts...
 
4:50 PM
@Graeme do you know what the difference is between references and pointers?
 
Then you are adding char, which is basically a couple of bytes
 
You can't learn C++ from a chat room ... you need to RTFM preferrably by learning C from K&R first
 
@rubenvb I really don't
 
@Merlin wrong. Don't learn C before C++
 
4:51 PM
they're quite different
 
Why didn't you get in here a couple of months ago?
 
well, you don't have to learn C before C++. You could, it just taints your view of how C++ is designed to work..
 
@Merlin I've almost finished writing the entire bit of functionality I need to. This is one of the final things. I still get confused between the syntax to reference and dereference.
 
@Graeme just replace all your string literals with const std::string objects and you won't have to worry about pointers
 
This is why I'm saying to read K&R first ... C++ is a true superset of C so sorry @rubenvb but if you want to understand C++ then it helps to know what it was built upon
The whole point is that you need to think in terms of memory
 
4:53 PM
@Merlin C++ is not a true superset of C. That's just plain wrong, although the difference is in the details, it's those important details that make the difference.
 
I'm quite happy not understanding C or C++ or getting into this whole penis waggling thing.
I certainly don't want to spend my time reading a gorram book about the crappy thing.
 
@Graeme then don't use char*
 
.... Oh god... I'm @Matt aren't i?
 
@Graeme I thought you'd like that?
 
@OctavianDamiean I almost didn't post that for that exact reason ;)
The fact that all I want to do is concatinate several "string" values into a single string value is apparently the issue of some inter language war where neither side actually has a reasonable way of doing it.
 
4:56 PM
You want to concatenate. Regardless of language wars.
 
@rubenvb now you're just nitpicking ... I still believe that understanding C is important ... but what do I know, I've only been a commercial C,C++ programmer
 
I can show you the reasonable way of adding char* together, you get the compiler to understand variable1 + " some value " variable2. I don't understand how in the 30+ years of the language no one has done that?
@OctavianDamiean Yup!
 
then use std::string. If you use C style char*, you can only add pointers, which is not what adding strings should be like.
 
java question.. say I have a hashmap<String,Bitmap> called bCache, once it's populated , does calling bCache.clear() actually set all contained Strings&Bitmaps to null? Or should I be entrySet looping through doing it manually?
 
@rubenvb Redefining the answer isn't an answer. I'm pulling the char* from different libraries.
 
4:59 PM
@Graeme char is a native type not a class ... strings are arrays of chars (or wchar), as ruben says, use the std library class ... it removes the poo for you
 
morning
 
@DeadMG Hello.
 
@Graeme then store the result in a std::string or read a book on C.
 
@rubenvb So for every call I should duplicate the "string" ?
 
what's up?
 

« first day (460 days earlier)      last day (4503 days later) »