« first day (1193 days earlier)      last day (3762 days later) » 

5:01 PM
o0
in xml?
I'm trying to decide, if that looks like a brilliant or just stupid idea
 
Yep. Advantage in that usecase is that a user can simply adjust some xml file instead of having to modify sourcecode
Programmer just needs to write a parser for that xml regex meta language
 
hey, anybody have experience using tesseract? OCR? ahmad zapl?
 
user457812
 
user457812
By the way, an interesting talk by Rob Pike for anyone who, uh, likes writing lexers.
 
user457812
I like writing lexers. It's a weird thing.
 
user457812
5:04 PM
Was reminded of it 'cause someone mentioned parsing XML with regular expressions
 
I know thermalexpansion.wikispaces.com/Tesseracts but that's probably not what you want
 
ahmad zapl sounds like a great name for a third party library.
 
well dam hey
 
thc.org/root/phun/unmaintain.html How to Ensure Job Security for a Prorammer (By writing Unmaintainable code)
 
lol carl
 
5:07 PM
:D
 
haha @PearsonArtPhoto
 
I remember that from years ago...
 
hmm global array
 
That xml scraper is really weirdly interesting idea, I like it
 
Use acronyms to keep the code terse. Real men never define acronyms; they understand them genetically.
 
5:09 PM
haha
 
@user3220269 Rejected for default username
 
Wherever the rules of the language permit, give classes, constructors, methods, member variables, parameters and local variables the same names. For extra points, reuse local variable names inside {} blocks. The goal is to force the maintenance programmer to carefully examine the scope of every instance. In particular, in Java, make ordinary methods masquerade as constructors.
 
@user3220269 Still rejected for default username
 
Make sure that every method does a little bit more (or less) than its name suggests. As a simple example, a method named isValid(x) should as a side effect convert x to binary and store the result in a database.
 
@user3220269You can't talk either way. You have to have at least 20 rep.
 
5:13 PM
I seem to recall someone complaining somewhere that this was done once...
 
You don't have enough rep to talk anyways
 
A former collegue had read this "manual". He used almost every rules. He got fired. I got a headache for several months...
 
wut really?
 
I'm not sure he really read it. But it was like he did...
 
Is there any library which can perform server side synchronization ?
Orm object relationship manager or something like that for storing objects in a database
 
5:15 PM
I doubt anyone intentionally follows this manual, but there are sure a bunch of people who do it unintentionally.
 
I want some high level lib that take care of that... I don't want to care about sqlite
 
String A = "..."; int a = 1234; boolean a_ = false; all in the same method... Every file like this
 
oh god
 
X_X
 
thanks for sharing that i love it , this particularly good openParen = (slash + asterix) / equals;
 
5:16 PM
Just take lessons from code obfuscators, they do a pretty decent job of making code unreadable.
 
Hello, Android!
 
if he ever needed a new variable: a__. I swear it's true
 
Pearson, have you looked at the first week of the Coursera class yet?
 
and always add a 0: int a = 01234;
 
5:17 PM
Not yet, I'll get there...
 
It's zero based, duh
 
I'm bored, so I checked it out. Nothing complicated yet.
right now I can't wait until some actual programming assignments start. Hopefully I won't be too busy when we finally get to the interesting ones.
 
Pepper the code with comments like /* add 1 to i */ however, never document wooly stuff like the overall purpose of the package or method.
 
user457812
Ugh, valentine's day is coming up soon.
 
I've definitely seen people do that before...
 
user457812
5:19 PM
Cue nil being grumpy grumpier until it passes.
 
whats so bad about valentines?
I personally have no feelings toward this day whatsoever.
 
user457812
I'm still slightly unhappy about getting dumped on valentine's day.
 
oh. yah. thats just rude.
bad manners
 
user457812
I mean, to be fair, I totally deserved it, just kind of tainted the day for me
 
Everyone knows you're supposed to wait until the day after Valentine's day...
 
5:22 PM
deja vue
"I personally have no feelings toward this day whatsoever."
 
user457812
Aside from that, I just don't go out on that day 'cause seeing people acting out because of the day is just weird for me
 
didn't someone say something about ppl that hang onto feelings for too long being a douche...
=p
 
user457812
At this point, it's not so much feelings as just not liking the way other people act on it.
 
user457812
It's a very, very weird day.
 
failed attempt at twisting your words from yesterday ;-)
and I agree about Valentine's day. I dislike it for my own reasons.
 
user457812
5:25 PM
It's a lot like Christmas, actually — the perfect merging of capitalism and attempting to act like you're doing something special by buying a stone (probably from a war-ravaged country) or chocolates or flowers
 
I'm not a fan of Valentine's day either, actually.
 
Lol, Code, the same thought popped in my head
I agree with that last statement, nil...
 
user457812
I swear the older I get, the less I like holidays
 
And I've been married for almost 7 years. Never have been a fan of the day...
 
Luckily, my girlfriend feels the same
 
5:26 PM
@codeMagic at least someone got my meaning ;-)
 
I'm increasingly becoming less of a fan of holidays in general as well.
 
user457812
I wonder if Black Friday could be considered a holiday now
 
let's just be nice to people every day!
 
user457812
If it is, that's scary
 
valentines isn't a holiday though
its not a holiday unless you get it off from work
other than that, its just a specified day to spend money on
 
user457812
5:27 PM
That's the government definition of a holiday >_>
 
@ShikhaShah Welcome. Please read the room rules.
 
well, the gvt DOES decide what days are holidays so...
 
@KarthickM Rejected, because of your q:a ratio.
 
user457812
Well, we decide what days are holidays by whether enough people choose to celebrate it.
 
Hi All
Thanks Ahmad
 
5:29 PM
if that was the case, st paddys day should be a holiday
because lots of people like to get drunk on that day
also superbowl weekend
 
A lot of holidays are holidays and you don't get the day off tbh
 
I want to have the same pattern of holidays in my company, nil
 
user457812
For some people, those are holidays
 
Super Bowl weekend lol
 
but they don't get the day off
 
5:30 PM
Hell, Shikha
 
user457812
They sometimes give themselves the day off
 
Hell?
 
superbowl weekend should be a long weekend.
 
user457812
recalls the number of times classmates would disappear from class around sports events
 
5:30 PM
Oops! and hello :)
 
"long weekend" being a term many americans are not familiar with, Ive found
we've had this conversation before.
 
user457812
I thought that was a common phrase
 
I did too
until my husband was like, what?
 
user457812
My whole world has been flipped upside down
 
what are you talking about?
 
5:31 PM
Going home ! See you guys !
 
cya
 
then I was like, you know, more than 2 days.
later ocus
 
who doesn't know what a long weekend means? oO
 
my husband, APPARENTLY
 
Hell?
 
5:32 PM
"oh, that must be a canadian thing"
 
lol
He meant to say Hello Shikha
 
user457812
Maybe it's a western US thing?
 
2 mins ago, by codeMagic
Oops! and hello :)
 
every time he doesn't get me, it's a "canadian thing"
french fries with cheese and gravy? a canadian thing.
 
Nope, nil, I'm from Indiana and everyone here says it
 
5:33 PM
Lol ..scared
 
user457812
Hm
 
Free universal healthcare? A Canadian thing
 
talking to the person standing next to you in line? a canadian thing.
 
Its also an Indian thing
 
only driving in the left lane to pass? a canadian thing.
 
5:34 PM
they are very nosy
 
more like "a non-Seattle" thing
 
I'm gonna start a new meme. just Canadian things.
2
 
maple syrup? A Canadian thing
 
zapl, there ?
 
Let me know if I'm doing this right
 
5:35 PM
I am
 
lol neb! do it
 
Do you have any idea of such library
??
 
"Let me know if I'm doing this right", a canadian thing
 
user457812
Just Canadian things?
 
user457812
pulls out the Canadian cards in Cards Against Humanity
 
5:36 PM
I was in Canada last weekend. it was lovely.
seriously thinking about moving back actually
Except snow.
 
user457812
I was in DC and Minneapolis two weeks ago. It was hell on earth.
 
Snow is cool
 
but damn, people are nice up there. I forgot how nice people are.
 
user457812
Nobody who lives with snow likes snow, Ahmad >_>
 
Really? That's not a stereotype?
 
user457812
5:38 PM
Keep this in mind
 
because I'm pretty nice in general,
and usually i get weird looks
from people
when I'm nice
but up there, when I'm nice,
 
people are nice back
 
seattle is so broken
 
lol
 
user457812
5:38 PM
I'm nice in person and a blustering jerk online.
 
ahh carl, it's not just seattle.
 
user457812
I try to keep the contradiction from getting out of hand.
 
funny!!
 
oh, is Canada broken too?
 
5:39 PM
Black friday won't have to be considered a holiday. Within 10 years it will just take over thanksgiving.
2
 
OK, so I have a "thing" about thanksgiving here.
who thought it would be a good idea to have thanksgiving and christmas so close together?
why not have thanksgiving on oct? like canada?
BECAUSE
you can only cook so much turkey in a month
well a month and a couple days
 
The Church when they made up a story for christmas to entice the pagans to join them?
 
Fun fact: Jesus wasn't born in december.
 
pretty sure Thanksgiving wasn't invented when the Church took over Christmas
 
when was he born then?
 
5:42 PM
in that case it would be however invented thanksgiving then
 
25th was his second coming no?
not his birth
 
user457812
I don't celebrate Christmas anymore, so thanksgiving and Christmas being close together is fine
 
something like that
 
I think somewhere around july
 
I thought that was easter?
 
5:43 PM
i have no idea, just guessing
 
Yup, that was easter RED
 
thanksgiving makes more sense to me as a holiday though, since it lines up with harvest time.
 
ah, ok
 
interested in what?
 
5:43 PM
android? no.
bugger that
 
to tell me about such library
 
what library?
such library. much codes.
 
not sure what you mean server side synchronaziation?
 
wow
 
Do you mean to update the db of the app and make it sync?
 
5:44 PM
nebulae, please see the link above. spamming is not good in our room ;)
 
Do not give instruction to me :D
 
user457812
You'll have to clarify what you mean by synchronization, 'cause it's kind of ambiguous
 
dude, you could have written a HttpURLConnection and a dbadapter since you started asking about it
 
you don't need a library for that.
 
5:45 PM
lol
 
but there must be loads if you want one
 
or don't bother clarifying
 
...just saying...
sqlite isnt scary
 
I saw some implementations of mongo db for Android just a few days ago
 
yeah! But I want avoid it
 
user457812
5:46 PM
I only use synchronization to mean making operations synchronous.
 
pretty easy actually. you can figure it out in a couple hours and add that to your arsenal
 
user457812
sqlite is awesome, assuming you're using the C API.
 
why do you want to avoid it?
 
user457812
Or my C++ wrapper.
 
Yeah All are right. You can do it without any library
He has scare about the database lock something like that I guess
 
5:47 PM
Is anyone here familiar with ImageManager?
 
This generally happens when database sync with the server
 
Man! I am not able to make you guys understand. :(
 
go into more detail then
 
CodeGuru, Why you do not want to use Universal Image Loader Lib
 
user457812
Well, you did say "synchronization" without explaining what you meant.
 
5:48 PM
I have a huge amount of data synchronisation happening in my app, from server to sqlite, and without any db locking errors.
 
This is good library for that to download the image and caching
 
user457812
sqlite should handle concurrent access fine on its own
 
@TGMCians Because I didn't know about it.
 
^zactly.
 
I'm just starting to learn about loading images dynamically.
 
5:49 PM
nil is, again and usually, correct.
 
user457812
My game engine uses sqlite as one of its basic file formats because I'm lazy, so I got to spend a bunch of time with it.
 
I'd prefer to use anything from the Android API, if possible
 
user457812
Even had to write a custom VFS for it.
 
user457812
Which is actually kind of unpleasant even if it's remarkably simple.
 
5:50 PM
Use volley then Code-Guru
 
Yeah Ahmad
 
user457812
@TheLittleNaruto sqlite.org/vfs.html
 
Nice library to download the images and do network operation
 
@Ahmad What's that?
 
5:51 PM
TGM, I've recently used Picasso for image management
 
A networking library for Android from Google
 
its actually really fucking simple and awesome.
 
Everything from square is awesome neb
Because Jake Wharton.
 
5:52 PM
jake wharton. sigh.
 
for now, I'm loading images from resources, so I don't need the overhead of a networking library
 
user457812
They seem to be pretty good at the whole doing-cool-stuff thing.
 
I'll look into Universal Image Loader. Thanks TGM
 
user457812
Yay, 1 hour until I get to see the dentist
 
You are welcome :)
 
5:53 PM
I used universal image loader when loading images from resources
 
Neb, I never listened about the Picasso Lib
 
user457812
I hate how contradictory it is to want to see a dentist when there's a problem and hate them otherwise
 
prevented memory issues
 
fine, don't listen to me
I don't care
 
lol
 
5:54 PM
i only just say a bunch of random stuff anyway
3
in fact, I'm not even a human
 
A canadian thing apparently
 
I meant that I never used yet Picasso lib..
 
user457812
nebulae is actually an AI that's going to eventually wipe out the human race.
 
wipe out? no
well, not entirely
 
5:55 PM
you mean enslave
 
hey, on that note,
I thought almost human was going to be really lame
TURNS OUT
its pretty good.
if you like androids and things
 
eating humans?
 
user457812
Speaking of androids, I have no idea what happened with the Time of Eve kickstarted. I think they were supposed to have the blu-rays out by now.
 
.
 
eating humans, Ahmad?
I cannot compute
 
5:58 PM
I cannot compute this sentence
> I thought almost human was going to be really lame
 
Its a show, Ahmad. I think she was probably watching it ;)
 
nobody can, the if statements in his programming are conflicting
 
Oh lol
 

« first day (1193 days earlier)      last day (3762 days later) »