« first day (611 days earlier)      last day (4351 days later) » 

5:20 PM
so it's an odd question but. I've been invited for Careers 2.0 based on my android tag. what does it means?? LOL
 
its kinda like a poor mans monster.com or DICE
its a job search/posting area
 
@Pyrodante but why they invited me?
 
Grrr I can't login to my ftp server
 
because your on SO?
its part of SO
or someone invited you :D
 
Does anybody know how to change the password from command line?
 
5:25 PM
@Pyrodante but not everyone is invited? I dont even have a high reputation
 
I know that since I have an account, I can invite people
 
@Pyrodante it doesnt seem someone invited me. it was an email from SO team
 
prob because you have been on SO for some time so are not a throwaway account and they need more people :D
 
@Pyrodante got it. thx for the answer. anyways, I created my account. LOL
@Pyrodante is that a bible on ur g+ profile u are reading?
 
I don't think so
Actually I think its my old Android development manual :P
 
5:32 PM
u play EVE?
 
yupers
 
this weekend I finished this game in less then 30 mins!!
now I'm playing it again to finish following other steps into the game.
 
Check it out :D All updated and stuff! XD
 
I've downloaded one with doctor who sounds.
 
... Yeah, but I didn't make that one... plus it doesn't look as cool as mine.
 
5:41 PM
@Graeme who cares.. I just want the sounds. But ur app is cool too.
 
>.<
 
AGHH I hate working with PHP, but I need to do that to survive, eat, etc.. =/
 
My phone's battery is being surprisingly well behaved today. 5hrs in and still at 92% :O
 
@kcoppock which model?
 
galaxy nexus
(CDMA)
 
5:50 PM
@kcoppock awesome!
mine is a nexus s with ICS
 
Yup, I love it, except the build quality on these seems to be oh-so-shoddy. I'm on my third (warranty replacements) and considering sending this one back as well.
Nice!
 
however, IDK if u've seen this, but ICS has a lot of bugs
 
Such as?
 
it always screw with my contacts LOL
also the music player, deletes my playlists by itself
 
How would you define "screwing with your contacts"?
 
5:53 PM
deleted some of my contacts. it just vanished. And my friend had that issue too
but it's ok. I hope they release a new version with these bugs fixed.
 
I've never had anything like that happen. If you're synced up with Google Contacts, it should stay synchronized. Were they Facebook contacts? If so, that's probably why.
Facebook contact syncing does not work on ICS.
 
not facebook.
BTW u know when a new update is coming for ICS?
 
No
 
any news about jelly beans?
 
5:56 PM
Nexus 7?
 
Does anyone think the Nexus Tablet will be released during the month of July?
 
re.. :D
 
huh..?
lol nvm. I didn't see the article above me
 
 
1 hour later…
7:19 PM
Nothing going on here.
 
Ahhh, things are infinitely harder to do in C++ than Java...
 
Yeah
I'm originally PHP programmer
 
Trying to get a JSON parser library to work has been near impossible for me.
Compared to just adding a .jar file.
 
I wrote my App Alpha within two weeks. xD
I can only write in C/C++ for the Wii
 
god i need a new job
 
7:27 PM
Why?
@sinanselimoglu you are turkish?
I think, if you're a Java programmer, almost any other language may be harder to learn/understand. @Atlos
But in reverse, it's really simple to learn Java if you're coming from another language
 
I'm Java/C so C++ hasn't been too bad
but just setting things up in C++ has been impossible -_-
 
Ah okay
C/C++ is unnecessary complicated. :D
 
@DragonWork my job now isnt that great
 
the documentation is cryptic and assumes that everyone is a senior level programmer lol
 
@JMRboosties What's your current job?
 
7:31 PM
@DragonWork at a startup where i dont get paid much to do a lot
 
Yeah, I read several tutorials and I can't even create a programm without an autocorrecting editor
Although I'm expierenced with 6 years of programming
Why you're not developing an application and selling it, @JMRboosties?
 
@DragonWork im trying to!
 
So I gave up developing in C/C++ and continued programming in PHP, @Atlos
 
PHP is worse :P
 
No :P
I'm programming in PHP since I'm 11 years old
It's 6 years from now
 
7:34 PM
That doesn't make it a nice language lol
 
You can do almost anything with PHP
Even GUI applications
But mainly it's for webdesigning
 
I've used PHP before
 
With the help of PHP I learned Java in 2-3 days ;D
Now I can even write Android code without Eclipse and autocorrecting features
xD
PHP is an universal programming language, abstracted from almost all popular langauges
 
user457812
It's also terrible :D
 
php is weird because its so fragmented
 
user457812
7:37 PM
I disagree that it's fragmented
 
Then you've never learned/used PHP correctly.
 
user457812
Its main issue is it's bogged down by tons of legacy crap and inconsistent APIs
 
PHP is really simple and powerful
 
@nil there are like 12 million different libraries and versions and stuff
wouldnt that be considered fragmented?
 
@nil Why you're not making your own APIs?
 
7:38 PM
PHP will have functions like blah(needle, haystack)
 
user457812
@DragonWork Do you want to write your own string API?
 
and then another with blah(haystack, needle)
 
What's wrong with the native String API?
 
there's no continuity and the whole language feels like a hackjob
 
user457812
It's inconsistent.
 
7:39 PM
$a = 'blub';
 
user457812
That's not the API.
 
You mean the functions?
 
user457812
Yes.
 
user457812
php.net/manual/en/ref.strings.php ← Behold, the inconsistencies.
 
Yeah, some of them doesn't equal in their parameter order
 
user457812
7:40 PM
Also some of their naming schemes are different.
 
Hm. I don't think they're so inconsistent like you described.
str_xxx means, that xxx is not shortened
strxxx means, that xxx ist shortened
There are standards.
 
user457812
I think you're overlooking the fact that some of them prefer underscores and some prefer to merge shortened words sans underscores.
 
Yea
 
user457812
The naming issues are more obvious in other areas of PHP's API, though I forgot where
 
user457812
Basically, PHP has accumulated a lot of crap over the years and nobody did a consistency check on any of it
 
user457812
7:42 PM
They're (the folks working on PHP) like the people who go to a store, see the "free" sign, and just take it even if it comes with some hidden terms like "creates a shite programming language in the long term"
 
lol
 
lol
I mean, if you learned PHP once, you can do powerful things. Regardless of the namings.
 
user457812
Oh, you can, I'm not saying you can't.
 
user457812
But I could do powerful things in assembly or Malbolge or arguably Brainfuck if I wanted to as well. I'm just not going to do things in PHP or any of the other awful languages because I value my sanity.
 
user457812
(Says the guy who chose C over other languages.)
 
user457812
7:46 PM
 
user457812
It's kind of a requirement for PHP discussions.
 
Maybe the reason why I've another opinion is that I learned PHP very early.
And now, I can write fluently.
 
user457812
I learned PHP early on, but I also learned Perl early on. I have no appreciation for either of them now.
 
I read that page already.
It's your choice if you want to work together with a language or not.
 
that's the article I was trying to think of
 
user457812
7:49 PM
PHP's idea of "working together" is mostly asking you to put up with its collection of 7,000 cats and cat-piss-covered walls.
 
xD
I'm happy with that :P
Let me alone with my cats
:D
 
user457812
I have 10 parrots, so I can appreciate that.
 
You're studying English. Sounds interesting.
Hence I translated some words xD
Perhaps the reason why PHP developer can easily switch to another language is that they're already familiar with complex coding.
I'm bored. Entertain me. :|
 
I think you have a misconception of the average PHP developer.
Most that I've met are horrendous.
 
Hm. Most of the average PHP developers can't even develop.
 
user457812
8:01 PM
Well it is the junk food language of web dev
 
user457812
Also, re: English, I don't really care about how you use it unless you mistake "their," "there," and "they're" or something equally egregious.
 
user457812
You'd think I'd be immune to that by now, what with seeing plenty of university students who still can't tell the difference.
 
I'm not a native speaker, so sorry if I make egregious mistakes.. :(
 
user457812
So far you're doing a better job than most native speakers.
 
Thank you :)
 
8:05 PM
That's the advantage of a non-native speaker. You can do mistakes and still talk good enough to be understood by others.
If you are a native speaker with the same amount of mistakes, you just look uneducated at best
 
user457812
Correction: You can make mistakes and still be better than most Americans.
 
user457812
I have a rather low opinion of my country's literacy.
 
I have the burden of Goethe and Schiller :)
 
@nil I read somewhere that shortening words like this: "I am" into "I'm" is only allowed in spoken language. Is that correct?
 
user457812
That's incorrect.
 
8:13 PM
I'm glad to hear that. :D
 
I guess it is some kind of "writing style" (like coding style)
 
user457812
I can only imagine some horrible pedagogue attempting to convince people that was true.
 
oh DragonWork you are a countryman :)
 
No :P
I'm living in Germany =P
 
me too :)
 
8:16 PM
Wtf... xD
 
countryman = "landsmann" :)
 
I know :P
Ich hätte nie gedacht, dass jemand, der so gut Englisch kann, aus Deutschland ist. :P
 
English please :)
 
Hey :D
 
but you don't talk about me, right?
 
8:17 PM
You can't understand German?
 
I can but it isn't polite talking in a foreign language that only two can understand :)
 
user457812
This room is informally English only
 
I was born in the good ol' GDR :)
 
I know, I hate it too if somebody is talking in a foreign language when I can't understand.
GDR?
 
user457812
East Germany?
 
8:19 PM
German democratic republic :)
yes
 
Ah, the English word of DDR
Me too
I was born and live in North Rhine-Westphalia :)
 
how can you then say "me too"? :)
 
Err.. I mistyped.
 
user457812
I'm from the moon.
 
8:23 PM
Nice to meet you.
 
... the soccer game Croatia vs Spain is very pulsating
 
I'm German but was too stubborn to learn the language from my Grandma when I was young. :(
 
grown up with two languages is quite a cool skill set
 
Where do you live, Atlos?
 
I agreed with my fiance that we will to that with our kids later
 
8:25 PM
I'm grown up with German and Turkish
 
user457812
I grew up being taught French, but my parents pulled me out of that early on, so I never got much understanding of it
 
I'm learning French at school.
 
user457812
So, aside from being able to say a few words and count in French, I can't do jack in it. Kind of sucks, I like French.
 
I had 6 years french, this was 10 years ago, I have no clue about french anymore
 
I live in the US but my dad/grandma are from Heidelberg
 
8:28 PM
I want to study in Heidelberg.. :'(
But it's too far away
Oh no, it's already 22:30, and I forgot updating my app >_<
 
work beside study and you can pay "everything" :)
 
I'm earning already a bit with my app ;)
 
but I doubt that will be enough for the whole study :)
 
user457812
Well that was clever of Apple.. hid my $100 gift card in an envelope that has absolutely no indication it's from Apple.
 
translating the word envelope
 
user457812
8:31 PM
The thing letters go inside of
 
Yeah, I got it
:)
 
user457812
Like written ones -- those things nobody uses anymore.
 
Haha :D
I wanna buy the new MacBook Pro Retina :(
 
user457812
I just did. My bank account is still weeping.
 
Time for me to leave
cya all!
 
8:33 PM
See ya'
Come back tomorrow :D
 
user457812
Ciao.
 
I really need a new computer. My current laptop can't be alive without the charging cable.
I've doubts of having problems with the OS.
I never used another OS than Windows
 
user457812
I switched 3 and a half years ago.
 
user457812
Turns out most of my concerns were pointless.
 
But I'll love the Retina display.
I have an iPad of the 3rd generation
 
user457812
8:37 PM
Only "retina" thing I have is my iPhone at the moment.
 
user457812
Decided to pass on the retina iPad since I already have an iPad 2.
 
user457812
I'll get next year's iPad or some other tablet depending on the market.
 
Yeah. I wouldn't get iPad 3 if I'd had an iPad 2.
Wait for the next generation. :)
Here in Germany, Apple products are a bit more expensive than in the USA.
2,866.53 USD for the cheapest version
How about in the USA?
 
user457812
That's pretty ridiculous.
 
user457812
My MBP was $2300 USD including taxes for the baseline retina with 16gb of RAM.
 
user457812
8:41 PM
That said, I used a student discount, so it was already $200 USD off.
 
Hm.
Send me over an MBP
:D
 
user457812
I don't think I've got the financials to do that
 
user457812
There's a reason I waited 3.5 years to upgrade my computer: can't bloody afford it normally.
 
The worse thing is, that I have to buy the MBP here in Germany.
Otherwise I couldn't get the taxes back I'd pay
The VAT will be paid back, because I'm also selling something including VAT
The tax-system here in Germany is very complicated
I mean, thats about 430€
:)
I would buy my MBP for 2,408 USD then.
But that's also pretty ridiculous, just like you said.
Hm. I must go now. I'm tired.
Good night :)
Hopefully we'll meet us again. ;)
 
9:14 PM
question
is there a way to uniquely identify a fragment
and then be able to recall that fragment via a fragmentmanager via the unique identifier?
lots of via lol
 
Fragment has a getId() method, and FragmentManager has a findFragmentById() method. You can probably tie those two together.
 
getId isn't unique enough
if I create a new Fragment of the same type they are the same I believe
getId() is the same I mean
 
It's either unique or it's not. ;)
 
Well I want to create multiple fragments from the same Fragment definition in order to reuse my code
but be able to access them individually
when I call toString on a fragment I get a unique value, but idk if I could get something back with it
 
With the disclaimer that I've never worked with fragments, you can either set another ID for it, or retain a reference to it when you create it. I'm not really sure why you'd do it the way you're talking about otherwise.
 
9:20 PM
HomeFragment{4112c110 id=0x7f080006}
HomeFragment{4112c1b8 id=0x7f080006}
for example
hmm
well the reason I'm doing this is that I'm having a server report back data to these fragments to display
 
That's most likely the memory address. Not going to help.
 
and each fragment can display data from a different source
but since it's all formatted the same, I'm reusing the fragment
 
Set up an observer/listener design, and add the fragments as listeners for when the data updates.
 
when I receive the data, I need to have some way to know how to route it to the correct fragment though
what do you mean with add as a listener?
 
You don't have to route it if the Fragment is listening.
The observer pattern is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods. It is mainly used to implement distributed event handling systems. Observer is also a key part in the familiar MVC architectural pattern. In fact the observer pattern was first implemented in Smalltalk's MVC based user interface framework. Related patterns: Publish–subscribe pattern, mediator, singleton. Structure Definition The essence of the Obse...
I use this for my Sudoku app I'm working on. I have a model which holds the state of the board, and I add each of the cells as a listener. When I update the model, I notify all the listeners that cell (x, y) has been changed. Each cell handles the update if it's relevant
Actually I just add the board as a listener, and it updates the relevant cell.
 
9:24 PM
interesting
I'll look into this!
 
Yeah, it's a useful pattern to learn. :)
Takes some practice to get the hang of it but it's fairly simple to implement
 
So how does the observer notify my fragment exactly?
 
Basically what you would do is add an interface (something like DataReceivedListener) and a method (something like public void onDataReceived() -- you can use whatever you want if you need to pass in data, or the data model, etc.). Your fragment would implement DataReceivedListener and the method onDataReceived
In your data model, you'd have a class variable with a list of DataReceivedListener objects
 
ah
 
and some methods to add a listener to that list. So then when you instantiated a Fragment, you'd call myDataModel.addDataReceivedListener(myFragment). Then in your model, when you get new data, you just call listener.onDataReceived() for all registered listeners
That way your model retains a list of all "listeners", but doesn't actually handle updating the UI. It just tells the listeners "Okay, new data, do whatever you need to", and in your implementation of onDataReceived() (you can implement it differently per fragment if needed) you just handle it however necessary
 
9:30 PM
hmm, I'm pretty bad with interfaces
let me try to wrap my head around this real quick...
how would I create a list of DataReceivedListener objects? isn't DataReceivedListener the interface?
or do you mean a list of my fragments
which would go along with your .addListener(fragment)
hmm I think I have an idea...
thanks for the suggestion
 
9:49 PM
If your Fragment implements DataReceivedListener, it can be cast to a DataReceivedListener object
so you can just pass in your Fragment as long as it's implementing that interface
 
ok
 
10:03 PM
Does anyone know if ViewGroups can be used to detect it's children? and if it is possible to drag views from one layout to another? Similar to Drag and Drop but for Android under 3.0
 
 
2 hours later…
11:39 PM
my facebook integration is all screwed up
 
11:54 PM
hello. Still havent found a solution for this question, if you have any idea, I would appreciate that. thanks. stackoverflow.com/questions/11076614/…
 

« first day (611 days earlier)      last day (4351 days later) »