« first day (1010 days earlier)      last day (3944 days later) » 

1:13 AM
true ahmad !
 
 
3 hours later…
4:39 AM
Argh.. My head is about to explode
 
4:50 AM
All good, fixed it'
 
 
2 hours later…
6:25 AM
moning
 
Morning guys
 
I had bad dream, I dreamed about not working firebug
 
today :)
 
Makes no sense
 
6:26 AM
it was my dream
 
"about not working firebug"
makes no sense
 
gramaticaly?
 
morning Anders!
 
in my dream there was pc with not working firebug extension in frefox
nvm :P
 
I feel ya deadfish
 
6:31 AM
Morning Lucky :)
 
how was the weekend?
 
my was great and I got tanned :) Its great to rest by sea
and yours?
 
fairly boring nothing too exciting
 
I bought worms revolution onsteam for 2E
and I think I wasted money :/
 
6:47 AM
G'day
 
7:15 AM
Aah shit.... Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
 
Mine was great, thanks :)
Had bbq with old highschool/college buddies on sat. And went to a "flea market" on sunday
 
did you get anything good?
 
Some cake :P
and spices :)
 
7:40 AM
I bought twin swords the last time I went to a flea market
 
morning
 
morning os
 
@Rashmi.B rejected yo
 
8:21 AM
hi !!!
(Leap Motion received ! /o/)
 
hello!
 
8:47 AM
 
dafuq?!?!?!?!?!

java.util.List<VehicleBean> vehicle = vehicleDAO.findAll(true); // Works
java.util.List<VehicleBean> vehicle = vehicleDAO.findAll(transactionItemDeactivatedItems.isSelected()); // Doesn't
 
Any errors ? Just gives a null ?
 
probably null
 
-_- I haven't even added the checkbox to the panel
 
vehicleDAO.findAll(transactionItemDeactivatedItems.isSelected() == null ? false : true);
:D try this hack
 
8:51 AM
hahaha
 
if isSelected may return null that's a bad design...
 
Yeah, that kind of is
 
yeah, i was just joking
 
isSomething() should return a boolean
nvm
 
transactionItemDeactivatedItems could be null ?
 
8:53 AM
anyway user should get exception before all
 
in this case, you'd have a npe
 
Yeah, the checkbox hasn't even been added so it shit itself
oops
 
377 words to get into contact with the spy agencies: heise.de/tp/artikel/37/37038/1.html
 
 
2 hours later…
11:05 AM
Good guy racoon feed your cats
 
12:06 PM
I have no fucking idea how, why and when it started to work but I managed to add the ABS library to my AS project as a git submodule with gradle build support...
wow, just took me 3 days!
 
12:42 PM
Worth it ? :)
 
well you somehow learn a bit :D
 
12:56 PM
I have to questions out there i'm having problems with that have set out there all weekend unanswered... if anyone can help i'd appreciate it.
1
Q: Start my application by clicking on widget

jcarusoI'm trying How do I run an Activity from a button on a widget in Android? in order to launch my application on click on an image button. When i un-comment the code it switches the images but when i try to use this code it does nothing. I'd like to kick off my application instead. public class My...

2
Q: Alarm Manager setRepeating not waiting till time to go off

jcarusoI'm setting up this alarm to go off at X and current time is Y and it sending the alarm at the time Y not waiting till time X go off... Can anyone tell me why its not waiting till the proper time to go off? Sample logcat: 07-17 16:27:13.779: I/PROJECTCARUSO(13305): Reminder Set 07-17 16:27:13.78...

so how was everyone's weekend?
 
1:29 PM
oh man, had to be taking care of my little cousin involved lots of running -_-
 
1:42 PM
haha
 
oh gosh ahmad don't laugh XD
by the way, you worked with maps v2 @Ahmad
 
2:09 PM
nope not yet
 
oki, back to the drawing board
 
2:29 PM
 
When I try to stop an infinite loop:
BWUAHAHA
hm...
 
that deep side of internet
 
2:45 PM
lol
 
 
does someone know if there is a list/map type that somehow stores access time?
I want to have my map ordered by time of access of the key/value
 
user image
3
?
(I guess not)
 
Hash table sounds not that bad
 
thats not a bad chart
 
2:54 PM
Source: initbinder.com/articles/… (2011 so other types may be available today...)
 
Think you have to do that yourself Warren :)
 
heya anders
good guide ocus
 
3:15 PM
@khale912 rejected. 20 rep, no chat history, 4 questions and the latest one is just a bulk of images and a lot of links...
 
Hey kabu
l8s
 
laters
 
damn this thing is making me mad
 
4:13 PM
Well here I am again... Its always such a pleasure.
 
is there any place where I can see the license of images on devian art? does someone know?
 
4:46 PM
@MrsSmith rejected. Low reputation, not chat history and to quote your latest question: "I am newbie in android" this all means, no chance here. Please join another android room to get help. (and please learn that the "space" is after the dot of a sentence and not before)
 
5:31 PM
The social media reaction to this asteroid announcement has been sharply negative. Care to respond?
2
 
 
1 hour later…
6:45 PM
^_^
 
ok i need some help... i'm trying to convert a string time to milliseconds... anyone?
my current time is 13:39
 
you want to change 13:39 to milliseconds ?
 
yes
i tried long timeSelectedMillis = (Long.parseLong(separated[0]) *3600000) + (Long.parseLong(separated[1]) *60000);
but System.currentTimeMillis() is different than that
so my logs show:


07-22 13:48:05.116: I/PROJECTCARUSO(5845): current: 1374518885126
07-22 13:48:05.116: I/PROJECTCARUSO(5845): SEND at: 49200000
 
hmmm, i see
so timeSelected should be the current time?
 
timeselected show be the time i selected from a time picker... i pick a time close to current to see if they are the same
i'm trying to use it for alarmmanager.setRepeating
 
6:52 PM
was just messing around with alarm manager yesterday too but very simple
if you could convert the milli to string you can see what the output is
if its the same as what was entered, to check for wrong calculations
 
well thats the thing the number are suppose to be the same, since i'm selecting the same times... but look how off they are
 
i see
and the time you chose from the time picker is calculated correctly?
 
the string value that it starts with is correct... the calculations i thought were correct.
 
just wondering if it was calculated correctly you know since System.currentTimeMillis() is auto generated
 
i thought there were 86400000 milloseconds in a day but System.currentTimeMillis() returns ~ 1374518885126 for right now
auto generated?
 
6:57 PM
separated[0]) *3600000 is for hours?
 
yes
 
why is it that you parseLong
 
its in a string, and its format is 14:01 so it has to be parsed
String[] separated = time_selected.split(":");
long timeSelectedMillis = (Long.parseLong(separated[0]) *3600000) + (Long.parseLong(separated[1]) *60000);
 
oh ok i see
 
why is System.currentTimeMillis() over the 86400000 for a day?
 
7:04 PM
now that is very interesting
 
right now it returns 1374519836357
 
thats off
 
my log shows this: Log.i("PROJECTCARUSO", "current: " + System.currentTimeMillis());
so its not like i'm changing anything
 
true
and its showing more than the a days worth
wth
let me try mine now
 
ok
 
7:12 PM
I/PROJECTCARUSO: current: 1374520331262
 
hmmm
 
interesting
i might have an answer 1 sec
 
k
 
i think System.currentTimeMillis() returns time since unix time
 
ah
 
7:17 PM
I/PROJECTCARUSO: current: 1374520626031 TESTER: 51426031
1374520626031 = 15341 days ----------------------- 51426031 = 0.595 days
have to get time from new Calendar()
 
ah
 
you just inspired me to start back working on mine lol
 
it still doesnt make since...


// time selected from settings information
String[] separated = time_selected.split(":");
long timeSelectedMillis = (Long.parseLong(separated[0]) *3600000) + (Long.parseLong(separated[1]) *60000);

//System.currentTimeMillis()
am.setRepeating(AlarmManager.ELAPSED_REALTIME, timeSelectedMillis, 86400000, pi); // Millisec * Second * Minute


this doesn't go off when its suppose to
 
user image
2
 
lol reno
remember not to post too much code in chat @jcaruso
 
7:33 PM
just what we were talking about
 
:D
progress? I hope ^_^
 
no
 
:(
hmm
i just did a simple one using time picker
used this method getCurrentHour() on the time picker
going to try repeat alarm now
hey by the way, is it the repeating that is giving you problems?
 
7:59 PM
no its the initial alarm that gives me the problem as far as i can tell.
as soon as it is set it goes off
 
hmm
 
Are you setting it in the past?
Alarms go of instantly if you set them to a time gone by
 
raghav to the rescue ^_^
if you want I can share my simple code to see if it will help
 
@RaghavSood i don't believe so
 
must be in the calculations because I just set repeating alarm and it works too
 
8:02 PM
Hmm. Yeah if you're calculating to and fro from milliseconds, which you seem to be doing, you may be messing up somewhere
And losing a day or two. Or a year.
 
the time he is collecting is the epoch unix time
oh shoot my alarm wont stop repeating every 2 minutes lool forgot to code a stop button
 
Guys guys.... You know its bad when you open your editor and logcat tries to flee the scene of the crime that is most newbies code. -- Not that mine is all that good hell I have been at it for around a year now. xD
 
@kabuto178 yes please do
 
no problem @jcaruso
hey codemonkey
 
@kabuto178 just tell me where you post the simple code
 
8:10 PM
yup its really simple so you can use what parts you want or whatever
i set a stream to play when its alarm time so i have 3 streams playing at the same time now T_T
 
right now i'm just trying to figure out why it doesn't start when i tell it to. It does seem to repeat on the schedule i want it to
 
good 1 less problem
hmm before i post code
post that line where you call the AM again please
 
AlarmManager am=(AlarmManager)context.getSystemService(Context.ALARM_SERVICE);
Intent i = new Intent(context, Alarm.class);
PendingIntent pi = PendingIntent.getBroadcast(context, 0, i, 0);

// time selected from settings information
String[] separated = time_selected.split(":");
long timeSelectedMillis = (Long.parseLong(separated[0]) *3600000) + (Long.parseLong(separated[1]) *60000);

//System.currentTimeMillis()
am.setRepeating(AlarmManager.ELAPSED_REALTIME, timeSelectedMillis, 60000, pi); // Millisec * Second * Minute
 
ahh
 
you make it sounds like you see something
tell me you just made my day
 
8:17 PM
@kabuto178 Long time no talk to!
-- You all can bet on seeing me around more since I am back to doing straight android work.
Well Actively around that is.
 
nice hehe
looking out for the new apps
 
I am here every time my chrome logs into this profile (Which is every day....)
@kabuto178 Mine? o.O or just in general?
 
yours
pastebin.com/h0MgKdGx take a look see if it can help you @jcaruso
 
Mine are OK all in all... I mean they are far from EPIC but I am working on a re-write of my old code that landed me in this place. - Kinda got it white labeled under a new name.
 
no problem take your time
 
8:22 PM
@kabuto178 thanks let me look
 
sure
 
Lots of Illegal calling systems and work arounds -- Nothing in the shade this time guys if I need help I'm just going to ask what is on my mind instead of skirting the issue. - I am working on a new public safety application under the same idea only instead of keeping everything in house like before we are expanding and we have corporate funding (Or we will)
 
:O
funding
awesome
 
Yeah on top of this I am getting talked about royalties as well as a job worth 80k a year + founders benefits / bonuses and so on.
 
hope it works out
cause your going places
 
8:28 PM
Same - honestly after one hell of a year (Between Graduation, eviction, facing another eviction. The floppage of the original app... Its about damn time I had the chance to stick my middle finger in the air and go "A-YO GAWD PHAWK YOU MANG - WHO DO YOU THANK YEW PHAWKIN WIT HERE?!")
New York Accent not required but it does add to the effect.
 
hahah ;) congrats
 
Why thanks yah!
 
:)
 
8:45 PM
@kabuto178 in your code try setting in to a time in the future rather than current
nevermind
i missed the code at the top
@kabuto178 Thanks for the help! It seems to be working now! Futher testing maybe required.
 
Lime Jello... -- Just had a tooth removed..
 
9:08 PM
your welcome @jcaruso
glad I could help, and my time is set from a timePicker
excuse the look, I just did it to try and help you out
i been meaning to work with it for a while now, trying to cancel the repeating alarm
@CodeMonkeyAlx i need to head to the dentist myself
 
It was quite the experience. -- Apparently I got high on nitro and started signing radioactive in the middle of the office.
 
the chemicals inhallessss
prizon buzz
im waking up , i feel it in my bonesssss
^_^
 
9:55 PM
I love that song xD
Also my day is done!
Gonna play some GTA: SA xD
 
lool
MP
 

« first day (1010 days earlier)      last day (3944 days later) »