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

user457812
21:00
@SebastianT You've got write access — read the rules and tell me when you've read them. Don't do anything else 'til you've finished that. You've got ten-ish minutes to do this.
ok
I did read it
@nil
ok now you have to take a test on it
2
you are allowed 1 half pages of notes
beg your pardon?
the test will be administered in approx. 15 minutes, during that time you can consult with any one of us on any clarifications needed
please note that while you are free to ask questions before the test, we will not aid you during the examination period
most users typically finish the test within 50 minutes or so, but we give 90 minutes for everyone
for the written response section keep in mind both the word minimum AND maximum
user457812
JMR has spent a little too much time in exams.
21:07
I made a question a couple of minutes ago on StackOverflow but half of the time they are unanswered or I don’t get the real answer. Can I ask a little bit about it, here?
user457812
You can post the link to your question here and it'll one-box and whatnot.
user457812
If you want to ask questions about your question, that's fine too.
user457812
The important thing is that the main question goes on SO.
once the test is submitted 3 randomly chosen existing users will grade it, and consult to make sure one of the given scores isnt a statistical anomaly (ie a 90%, 94%, and 50%)
its regarding Pending Intents and ther different effects
user457812
21:08
Paste the link without any other text. You can edit your message by pressing your up key.
2
Q: pending intent not working in notification created by a service

darshI have two activities A and B. A is launched when the application is started. I have a service which is launched from A. here's my code in Activity A. Button btnStart = (Button) findViewById(R.id.button1); btnStart.setOnClickListener(new View.OnClickListener() { @Override ...

if this occurs a new random 3 will be assigned until quorum within a 10% mean is achieved
ftfy.
user457812
Or neb can do it for you.
this process normally takes 5-10 business days
we look forward to your completed exam and will phone you when we have results for you
if you are dissatisfied with your score we can go through the appeals process at that time
thank you and good luck
user457812
21:09
Ok, JMR, shut up
seriously how did i get into this chat room im the least rules person in the world
lol
we can kick you out if you want?
Is there a way to delay some code execution without a Handler?
timertask
21:11
omg just read through your whole test procedure
lol
but that might implement handler or something idk
yah, while(true){ Log.i("delay", "delaying...") }
I promise that will work
i dont think he wants to do that lol
I am running in a background thread implementing an HTTP Rest interface. One of my endpoints reboots the device. I want to be able to return an HTTP response before the reboot starts.
so my first thought was Handler.postDelayed(), but apparently I can't use that because Looper.prepare() hasn't been called =x
@nebulae, I made a mistake. the link to the question was wrong. I was checking out another one and that's why it sticked. Could you delete the one you put please?
1
Q: Pending Intent created in Native Extension works only from Notification but not within Service

SebastianTI’m developing an Air mobile application for Android which uses Air Native Extensions (ANE). From the ANE I call a function that creates a Pending Intent which is passed to a Notification. Next, the native function starts a service and passes it the Pending Intent and the Notification. Here’s th...

That is the one correct.
user457812
21:14
You can't delete things on chat (after two minutes [and even if you delete them, I can still read them {creepy creepy}]).
too late.
I cannot delete it
ah ok.
it's going to be there forever now
the wrong question.
Could you help me with the question?
I'm sure it's not that complicated but it seems that I'm missing something
Forever.
21:16
TimerTask did the trick, thanks JMR.
and surely it won't be there forever
fine, dont take my advice.
at some point the physical device that it is ultimately stored on will decompose
I can't pause with a while loop
@FoamyGuy theres a way around this
ok nvm timertask worked for you
because I need to return immediately and then after a few seconds doSomething()
I'm sure that by the time the servers start to decompose, this chat log will have been saved to a more permanent storage mechanism
21:18
which will also decompose...
for instance - chiseled into stone.
@JMRboosties put pastebin.com/1HYeVgVV into your app into some loaded class, it stays as long as you get the message.
or chiseled into diamonds
dude, stones don't decompose
...do they?
no, they dont
I don't know
someday we will store data inside trees
21:19
only organic things decompose.
the get water erroded though
like the trees will be hard drives
are stones organic?
which would erase them
21:19
you guys are still talking about diamonds?
I vote yes to stones organic
Why would a Pending Intent created on an Air Native Extension function, would work when a notification is activated (user pressed in) but not when the same service which used the notification to startForeground() mode, sends it (send())?
we will store them in the desert. no water.
and no, we are talking about diamonds again big difference
oh, well ok then
21:20
they will eventually melt from the lava spewed by volcanoes
no matter where you store them
also deserts aren't permanent
@SebastianT I have no idea and would have to try it to figure it out, and that seems like a lot of work.
what if it's chiseled into stone and then sent into space to orbit the planet?
another flying object will inevitably collide with it at some point which will break the original
or when the sun explodes it will melt
@SebastianT when the service sends the pending intent, does it error? is it every received by anything?
@nebulae usually the Pending Intent works on both sides but when the Air APP that called the ANE Function was closed from the Recent App List, the Pending Intent doesn't work when sent from the service but works when activated from Notification
not true, not if it is first picked up by an alien life form that takes it back to their own planet and applies the forever lotion
21:24
their planet doesn't have a sun that will explode?
nope, it did a long time ago and they made a better sun that is completely under their control. non explosive.
or the forever lotion saves it from the exploding sun?
the forver lotion saves it form any form of corrosion
@nebulae the Pending Intent only calls the AIR application that has the ANE Function. So I would assume that it would get received, right?
21:25
I guess? are you talking adobe air?
clearly then there will be an alien civilization laughing at you for posting the wrong question in the chat room Sebastian, sorry to be the bearer of bad news.
what air application?
@nebulae Correct.
Air mobile app for android
ewww adobe air
i dont know anything about adobe air
21:25
you don't need to know
this question is Android related
user457812
YOU DON'T NEED TO KNOW.
you keep saying air application like thats important though
user457812
Sorry, had to.
Everything has to do with android service
zapl, I came up with my own, "The user appears to be dumb", close message
0
Q: How to display Activity only one time?

user3208166I have a problem developing a Quiz App. The situation is: the user chooses a quiz by touching a button, that opens a new Activity. Inside of this activity the user has to write something on a TextView and than press another button to see if the text is right. If it is right, than another last act...

21:26
if you implement the same exact thing inside of a native android application does it work correctly?
havent tried it since I'm not that good on Java.
user457812
You should use Scala
user457812
It's easier.
what's that?
21:27
until you've tried it with native android app I wouldn't rule out an issue that is being caused by AIR
user457812
so this is not a native java app.
Wait
user457812
Everyone should use Scala. Everyone.
Isn't AIR the thing where you have to download some stuff to even run the app?
21:28
i refuse your scala nil
user457812
YE OF LITTLE FAITH.
ahmad, I have no idea. I've successfully ignored adobe air for however long its been out for and i refuse to start giving it any brain space now.
3
I refuse your Scala, and insert my own
@Ahmad not really. Not you can embed the runtime which is just a little click on the IDE.
Okay, but it seems like a really heavy process
(I mean the including your own runtime thing)
user457812
21:31
There's also Kotlin.
has adobe ever created anything that didn't seem like a heavy process?
it's just a little click lol
Wow Foamy, now that I think of it
You say " I can only see a black screen (Air runtime launched?) but not the Air mobile application running." which sounds very much air related
Wait. Jetbrains has their own programming language? wat.
21:33
Really?
Yeah the thing nil just mentioned
Kotlin
@zapl Well, maybe I'll have to try it and develop it on Android and see if it works.
Hey @SebastianT why not try creating a new intent for the pending intent from the service, instead of doing the getParcelableExtra
@nebulae I could. but shouldn't the Pending Intent also work?
21:34
ok, sorry, create a new PendingIntent
ok. I'll try it tomorrow. Can't stay now. Office is closing. Thanks for the help though.
what a cliff hanger
also what is the @Override for the triggeredResponseListener?
Kotlin doesn't even look half that bad
we don't even get to know if it worked.
21:36
A bit like a cleaner version of js
Hello Android!
I don't see anything in there that looks like...
nmind
Did I already say that today?
I guess you did
why is it whenever someone asks me something and I tell them to do something they say they'll try it tomorrow?
21:37
I like the idea of methods being declared with the fun keyword
are my suggestions really that big of a task that it takes a new day?
user457812
lol
user457812
Kotlin's an interesting language, I just haven't played with it yet
What does that mean though. "Kotlin [...] compiles to JVM byte codes and JavaScript."
21:39
codes.
How does it compile to both?
when one code isnt enough
2
hahah
user457812
It compiles to both by compiling to both.
Well I guess I just don't know a lot about language design to understand that
21:40
two different compilers (or probably compiler options)
user457812
It's two different compilers, in this case.
It's not really that different from compiling C++ to x86 and AMD assembler
user457812
Or LLVM IR.
xactly
user457812
Which is how clang works.
21:42
I would be more intrigued if you could mix and match it with Java like you can Scala
not that I know much about LLVM
user457812
Since it turns out LLVM's very good at optimization without worrying about you meddling kids.
scooooby dooooooo
user457812
Though clang now does LTO as well, which is just like the god of optimization right now
user457812
It made my Rusalka VM run way faster than compilation without LTO did.
21:43
you wrote your own vm?
for Java or some other lang?
user457812
For my own assembly, currently.
user457812
github.com/nilium/rusalka-vm/blob/master/test.asm ⇐ The assembly looks like that.
user457812
github.com/nilium/rusalka-vm/commit/… ⇐ And that commit sort of explains some of the syntax for the assembly.
hmm...topcode srm tonight
debating whether to do it or not
user457812
21:53
I don't think I've ever been in a coding challenge thing.
writing your own vm is probably much more of a challenge
user457812
Not really.
nil I challenge you to a challenge!
user457812
github.com/nilium/rusalka-vm/blob/master/vm_state.cpp#L305 ⇐ That's basically the hard part of a virtual machine. Not hard to write at all.
user457812
I guarantee you could do it on your own given time to think about it.
21:58
ok that part is easy when you have all the architecture, language definition, ... around it
user457812
The rest of the VM's similarly simple, aside from the weird little bits I did to make it so you could get functions from the VM that were callable in C++.
user457812
Which is really just an operator/template hack.
sales on my wallpaper have started picking up again.
user457812
You could look at Lua's VM and, optimizations aside, it's probably pretty easy to read too.
they were really good when I was on the "recent apps" list, but after falling off, dwindled hard.
user457812
22:00
The hard part is really language design
but now in the last week, have been picking up lot
wonder why...
nil, have you seen that same phenomenon?
user457812
Random chance? Someone went "oh I should review this"?
maybe, Ive gotten some new reviews recently
user457812
I seem to have no luck with getting users to actually review the app
Ive never asked for a review anywhere
I feel like that would invite bad reviews
user457812
22:03
I used to say "Please leave a review if you like it" in my description, but stopped doing that.
hmm isn't (int)i32; the same as (long)i32 (when 64bit compiled?)
someone left me this one the other day:
user457812
I don't remember off the top of my head.
Oy I'm thinking. bbl. I'm back. So far it's kinda plain but I'm keeping it anyways cuz I think it'll get better. If it don't then I'll be back to gripe.
5 stars.
not sure what to make of that
user457812
O_o
22:04
rofl
user457812
Expect griping over no updates later.
this is my favorite review (5 stars)
Very good.
lol
user457812
Well, at least the person was to the point.
exactly.
Im not being sarcastic.
thats a great review.
22:44
I had this awesome drink on the ferry last weekend
it was a london fog
steamed milk, earl grey, some vanilla
23:25
I wish I had a few more worded reviews on my newest app.
Of course, I should wait until I get all of the improvements in that I'm working on in this version.
Did you already release your Ham radio app?
Yeah, version 1.3.1 is the current version.
I've been continually adding features to it along the way, but...
so a couple of updates, too, huh?
I think the Android version is 26...
lol, that's all?
My baseball card app is only up to version 8 and I've had it on the market for over a year
23:32
What kills me is there are 6 versions with 1 person who still has it downloaded, and I'd love to be rid of them...
And I call version 8 0.5.6
haven't even release v1.0 yet
yah, I hate seeing those numbers that don't upgrade
One of my problems with releases is I tend to release it to the market when I have a version that's workable, but not perfect.
I then do frequent updates on it. I'm starting to get enough users though that I'm having to do a lot more of my own checking before I release an app...
It's actually been about 2 weeks since I did an upgrade, by far the longest since I did the initial release.
How many users do you have now?
Recently hit 500 downloads, 200+ active.
talking about which...I haven't checked my dls today
wow
must be a large market for amateur radio-ists
23:37
I've had a pretty consistent 40% active, ~ 10 downloads/day.
It's a decent size, but not huge market.
How do you tell when the app is active? Google Analytics?
No, using just the play console stats.
where does it give that particular stat?
There's 700,000 licenses in the US, but active hams are around 157Kish.
Current/Total installs.
Total Installs=500, Current=200.
oh...so you mean current installs
which doesn't necessarily mean they actively use the app
23:39
True enough.
of course, your audience might be more active than mine.
Google Analytics shows an average of maybe 25 users/day, which isn't too bad I suppose.
that's pretty cool
since you have a pretty niche target audience
Worldwide there's probably 2-3 times as many as are in the US.
Even worse, I'm targetting a niche within a niche, but that's okay.
Hams are known to pay for things that are of value, I just have to make this of value.
yeah make it really badass
23:48
did you change up the UI Pearson?
Working on it always. Here's the latest version.
(Coming in a second...)
looks a lot better than the previous screenshot
Yeah, and should be a lot smoother running overall as well.
is there a table widget you use for the UI?
Nope.
The only table involved in the screen being shown is the bottom fields.
Otherwise it's ListViews.
23:54
ah ok
for the main beige table, the listview item, is it a series of textviews? or just one?
Each view is it's own TextView.

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