« first day (2353 days earlier)      last day (2586 days later) » 
00:00 - 19:0019:00 - 21:00

12:24 AM
@MehdiB. well it didn't seem to affect anything
I closed Android Studio, thinking maybe there was a compile error and that's why the button listener wasn't working
when I opened it again, I got that
 
Put any logs in there?
 
there are none
I'm completely lost
why won't this listener work?
 
12:44 AM
:)
because a thread needs to be started
and you forgot to call ".start ();" on that thread
 
no it's not that
I put a toast right below the listener and it doesn't show
but the start thing is a good catch lol
sorry, toast right inside onClick()
 
ok, move the onclick code inside a "public void installAction (View v)" method
and declare it on your XML elt
 
uh
 
see if it's fired
 
idk how to do that
but it's also weird because literally every other button works fine
 
12:47 AM
<Button
...
onClick="installAction" />
 
ah
like JS
 
yes
the method on the activity needs to be "public" and have a View argument passed
 
so excluding onClick too right?
 
what do you mean?
 
don't copy over the onClick(View v) method
hmm
still doesn't work
 
12:50 AM
you sure you're referring to the correct elt id?
 
elt?
 
element
Button
 
yes
I've been changing it to make sure it's not conflicting or something
 
check if it has a disabled state
 
I've newly created this button
I deleted the old one and made a new one in case there was something wrong with it
 
12:52 AM
and look for this button occurences on your activity
 
it's the only place
 
there is no sorcery in programming, share your code Java / XML :D
 
I'll push to GitHub, hang on
 
okay
 
it's a mess btw
the listener is under the buttons() function
 
12:56 AM
no worries, which activity / layout?
 
variable is assigned under onCreate()
MainActivity, content_main
 
okay
 
new element ID is services_install
 
1- Can you replace the getAppContext on the toast with "MainActivity.this" I'm not sure getAppContext works on Toasts
2- your code seems correct, do you see an IOException on your logs stacktrace?
 
still no toast
no exceptions either
 
1:02 AM
3- put a Log as the first lign of buttons ()
 
hang on
 
see if it goes inside
 
it just gave me a file not found error
which I fixed
lemme test
and now it works
wtf
but why am I still not getting the toast?
 
because you didn't call .show () of the Toast
:)
 
GAH
I've literally spent 3 hours on this
 
1:07 AM
I missed it as well
 
rip me
 
btw, not sure what you're achieving on your click
 
it's running a script
that part works
 
but you must know that you're creating and starting a new thread each click
 
yup
do I need to close threads?
 
1:08 AM
no
 
I was doing it to avoid having animation stutters
since I don't want the animation to wait for the action to complete
 
you can call thread.interrupt
but you don't have any guarantee when will that thread be interrupted
 
how?
 
> do I need to close threads?
 
ah
I'm only using the new threads to create asynchronous calls
 
1:11 AM
good luck, gotta sleep ;)
 
@TonyaSelenaBaker You need at least 80 rep, and a a:q ratio of 3:4 to talk here. Please see this link for more details.
 
user457812
1:42 AM
Today, I realized I have a pretty good way of getting better at typing on this keyboard
 
user457812
And bought Typing of the Dead to help
 
3:17 AM
Has anyone in here built an AlarmClock app before?
 
@McAdam331 yes my name is ahmad i build clocks
 
LOOOOL
TL;DR -> I have a WakefulBroadcastReceiver that starts the ringtone to wake up the user, but how do I also start an activity that the user will see so they can dismiss the alarm clock? I haven't found a recent version of this idea in Google, I found an alarm clock from like '14
 
fwiw I have never built a clock
I just wanted to make that joke :)
 
lol it's okay, that's a nice clock joke Ahmad, how bout bringing it to the white house?
 
that kid is still cool
the entire situation just got block out of proportion
 
3:25 AM
yeah
 
oh man I'm listening to my spotify top songs of 2016 list
crying
 
lol
 
some songs just make you feel like you're back to that one place when you listened to it a lot
like you relive that moment
it's beautiful
 
Okay so TL;DR - At this hackathon one of us left our computers open and everyone pranked them by posting on their FB. Then we all did it to each other. But not Adam, he kept it locked down tight.

So I made a fake Facebook account. Gave it the name "Adam McNeilly", changed the pictures to all of Adam's, copied every detail. Where he worked, school, etc. And posted on his actual page something stupid.

HE FELL FOR IT. It was adorable <3. He thought I actually hacked him.
I love you bby @McAdam331
 
LOL
 
3:28 AM
I hate you lol
 
I LOVE YOU ADAM
I brought you a cupcake and worked to get you the last hacker board.
 
I can kick you from this chat
 
I don't see it
 
I can kick you from HH, your move.
 
what post
 
3:29 AM
I reported the account so now it's gone
lmao
 
He reported me for impersonation and the account got banned lol
 
rekt
 
lel
that was fast
 
welp I'm gonna go sort out this broadcast receiver issue ttyl
 
3:32 AM
~back to my music nostalgia~
- https://open.spotify.com/track/49nkyZ6KpRbBBcq3oRi0LP -> when I was walking along the wall of the old city of jerusalem at 3am
- https://open.spotify.com/track/3RiPr603aXAoi4GHyXx0uy -> when I moved into my own place here in berlin
it's like I'm actually reliving these moments
When we feel defeated we listen to Paul Ryan. 🙃
lel
 
user457812
3:52 AM
Papa Roach still exists?
 
idk didn't even know they existed to begin with
paul ryan apparently blasted one of their songs and drove off when his bill failed
 
user457812
I guess you're younger than me, so that makes sense
 
user457812
They were briefly popular during the nu-metal period
 
user457812
They were also pretty bad
 
user457812
It amuses me that Paul Ryan would listen to them.
 
5:11 AM
@Ahmad How long have you been waiting to so that?
 
5:41 AM
!/meow
 
@RaghavSood way too long
Today finally was the day
 
6:03 AM
You should start a clock company
Your branding alone would be a boost
 
6:15 AM
@RavindraPawar Welcome! Please read, confirm reading, and follow the room rules before you do anything else: room-15.github.io
 
ahmad clocks - for whenever you have enough time for random TSA checks
 
"Clocks to Die For"
"Ahmad's clocks are the bomb, 10/10, would recommend. My professor never complained about my assignments being late again after I gifted him one!" ★★★★★ - Raghav Sood
3
 
6:35 AM
lol
 
morning
 
@RaghavSood ok
 
6:58 AM
@RaghavSood LOL
 
@RavindraPawar Access revoked for not confirming rules being read over 45 minutes later. Please try again after 24 hours.
 
 
1 hour later…
8:45 AM
I went to an interview, it was good. Then, HR said I am giving you a test in an envelope. Open it at home and respond to my email with an answer. And, they will contact me after they got the answer.
That envelope had this page with the only text : "Tomorrow will be too late"
Am I supposed to write some essay on it? Is it any subjective question?
I thought maybe they forgot to put the actual test in envelope.
 
That just seems like a bad interview for a tech position
I mean, I could understand tech riddles or something
One sentence?
 
I am confused too, its sunday and they wouldn't respond.
 
I'd just reply "Yesterday was too early" and call it quits
Probably don't want to work at a place that has to resort to obscure interview processes
 
@rupinderjeet that's odde
o\ @nana
 
9:02 AM
Reply with "Have You Ever Been Far Even as Decided to Use Even Go Want to do Look More Like?"
 
Interview was very long too. First they gave me a four-page aptitude+reasoning test. I completed it, these were easy. But, I skipped two derivative questions. Then, in next round, they asked about me and my projects. Then, they gave me a test to complete in 60 minutes. It was easy too, did it. Then, they gave me this envelope.
this was 60min test on the place.
I thought I might get this job :/
Do you need to solve aptitude tests even when you have like 3 or 4 years of experience?
 
Most companies will give you basic tests until you're at a point where interviews are more of a formality
 
There was some senior php guy. When HR gave him this aptitude test, one of them quit the interview, said I am not here for this.
I thought, senior interviews might be different. like bigger challenges.
 
Nah
Most senior devs are still doing the same dev others are. They're just also in charge of managing overall structure/people/teams/ideas/timeline/whatever
They might get some leadership skill tests and all
But to walk out of a senior dev position interview because they gave you a test is a good indication that you shouldn't be hired anyways
 
So, it was a good reaction?
 
9:11 AM
For the company
 
If you're hiring someone like Jake Wharton, I can imagine skipping the interview
If some random guy decides to walk out because they tested him, they should take it as a sign that the guy wouldn't have fit in here
At the same time, there's a difference between tests like "How do you refresh a ListView" and "Here's a random sentence, no information, and 24 hours to answer"
First one is valid, second one is valid if you're interviewing for a spy agency specialising in dealing with fictional puzzle loving villains
2
 
yeah, right.
 
At the very least, I might give that sort of test at the end of an interview just for kicks, but let the candidate know that it doesn't affect their application, it's more of an extra credit thing
 
and, Is it common for the employees to eat/drink (?) cigarettes on the work place. Last two interviews I been to, whole office had the smell of cigarette.
Is it common?
 
9:17 AM
Eh, that's more of a culture thing. I don't think any office would outright ban smoking, although all I've been to ask you do go outside
As for eating, everyone allows that
Food that is
Not cigarettes
Eating cigarettes is bad
 
thanks for answers.
 
9:41 AM
@rupinderjeet employees were eating cigarettes?
@RaghavSood I interviewed for a company that had a no smoking policy. Not just at work, too.
I didn't get the job, but not because of that issue.
 
9:55 AM
I'm sure some companies have that, I've just never interacted with one that does
Although I'd expect it to mostly be a requirement in places that need sterile environments
Such as robotics, pharmaceuticals, company that was contracted to recover Adam's keystore from the hard drive
 
that might have been the reason. This was a company that builds hardware for the electric infrastructure
The job I was applying for was to write firmware for these devices.
 
Yeah, places that deal with any kind of hardware manufacturing would be against smoking (hopefully)
 
finally getting around to playing Starcraft 2...
but my internet connection is awfully slow downloading it ;-(
 
CodeApprentice - I don't know what to call it? Eating? maybe drinking?
using cigarette maybe.
 
smoking
 
10:03 AM
omg yes.
 
after reading a few times, I thought you were having some vocabulary issues
still had to poke some fun ;-)
 
smoking it is. :)
 
Well, the direct translation from Hindi would be "Drinking cigarettes"
 
yah, translations can be strange that way...
I figured there was a language issue something like that.
 
Although Hindi has a way of saying smoking too, but drinking is more commonly used
 
Japan goes overboard with flavours
There have been more than 300 limited-edition seasonal and regional flavors of Kit Kats produced in Japan since 2000. Nestlé, which operates the Kit Kat brand in Japan, reports that the brand overtook Meiji Chocolate as the top-selling confection in Japan from 2012 to 2014. The company's marketing campaign, which partnered with Japan Post to sell the bar in 20,000 post offices, won an award in 2010. That campaign encouraged associations of the product's name to the coincidental cognate Kitto Kattsu (屹度勝つ), translated as "You will surely win," and could be mailed as a good luck charm for students...
 
 
2 hours later…
12:10 PM
test :D
huh
this is weird
emojis are being parsed in SE chat
but not here
 
You're typing in other chatrooms now?!
How could you cheat on us like this?
 
lol
I'm cheating on AUGR :p
ahhhh
it's @NathanOsman's userscript...
 
I still don't know why you're green
 
it's a movement in AUGR
we have purple, blue, orange, green, red so far
and beige
 
AUGR?
You guys are doing cirlces vs. squares wrong methinks
 
12:15 PM
AU General

 Ask Ubuntu General Room

Normally: General discussion around Ask Ubuntu, Ubuntu & offic...
 
Whoever wrote that is doing emojis wrong. Don't load images, swap them out for unicode emojis before the message is sent
Tristan 😍 McAdam
 
/shrug
 
See? Works fine across rooms, browsers, users
 
lol
 
Incidentally the first emoji I found on Facebook, so here we are
 
12:18 PM
fitting
 
 
1 hour later…
yikes
 
@Zacharee1 So AUGR has squares and Room 15 has circles
 
@Code-Apprentice I guess?
 
so this: Spanned html = Html.fromHtml(log, Html.FROM_HTML_MODE_COMPACT);
ignores any \ns in the source text
 
2:02 PM
what do you mean in detail?
HTML uses <br> tags for line breaks
 
nvm
I figured it out
.replace() works wonders
 
how can I pass data into my broadcast receiver? I added extras to the intent but they're not getting passed through.
 
hm, should work
 
yeah that's what all the SO answers say
idk what I'm doing wrong
Demos are in two hours
I might just not present this since I still don't ahve a working alarm clock app lmfao
@cygery Care to be a rubber duck for two seconds?
In my activity
val alarm = TextAlarm(alarmName?.text.toString(), alarmTime)
                var alarmIntent = Intent(this, AlarmReceiver::class.java)
                alarmIntent.putExtra(DismissAlarmActivity.ALARM_EXTRA, alarm)
                val pendingIntent = PendingIntent.getBroadcast(this, 0, alarmIntent, 0)
                val alarmManager = getSystemService(ALARM_SERVICE) as AlarmManager
                alarmManager.set(AlarmManager.RTC_WAKEUP, alarm.time?.asCalendar?.timeInMillis ?: 0, pendingIntent)
in receiver
override fun onReceive(context: Context, intent: Intent) {
        // Get alarm and send to new activity
        val alarm = intent.getParcelableExtra<Alarm>(DismissAlarmActivity.ALARM_EXTRA)
but alarm is always null
sorry for kotlin but it should still make sense
 
43
A: Android cannot pass intent extras though AlarmManager

Someone SomewhereHaresh's code is not the complete answer... I used a Bundle and I tried without Bundle but I got null's either way when I attempting to obtain the strings from the extra's !! The exact problem, in your code, is with the PendingIntent ! This is wrong if you're trying to pass extra's : PendingIn...

 
2:11 PM
I LOVE YOU!
 
:D check if it works
 
let me test
yeah haha will do right now
 
btw I already posted the link to your project some minutes ago
 
weird
log = log.replace("try", "<font color='FFA500'>try</font>"); does nothing
 
My project doesn't work yet so
 
2:14 PM
You probably want a # before the color name
 
@RaghavSood derp
 
hmm it's still not working what am I doing wrong
 
the sad thing is I started with HTML...
 
oh wait hold on
 
did you derp too?
 
2:16 PM
nope still nothing
(╯°□°)╯︵ ┻━┻
 
rip
 
rip indeed
 
broadcast is received?
which flags did you try?
 
FLAG_UPDATE_CURRENt
let me see others one moment
 
hm, strange, I've working code with alarms, extras, and flags=0
post your BroadcastReceiver code
 
2:22 PM
I'm ready to give up lol
And my manifest is just <receiver android:name=".AlarmReceiver" />
 
custom Parcelable?
 
is there a way to center a portion of text in a textview?
 
yeah it's a class I wrote
 
2
A: Android cannot pass intent extras though AlarmManager

Vincent HiribarrenI have some precisions that could help others, to be associated with the solution from Someone Somewhere. If you pass custom Parcelable objects as an extra, the operating system may not be able to process them, so an internal exception occurs and your extras are lost. With Android N, even with P...

 
oh wow
what the actual fuck android
 
2:24 PM
lol
 
gogogo :D
 
I'm going to try to pass in a plain data type and see how that goes
Might just do Gson -> convert my object to string -> pass string lmao
simple, easy, terrible on memory but yolo
 
just do it!
it's a hackathon, not a cleanest coder contest after all
 
wait
I can't get a fucking string either though
wait
let me remove the parcelable completely tho
it works
gotta go
Thanks cyg love you <3
 
:)
 
2:59 PM
reviewers are really liking the G6...
and really hating the U Ultra lol
 
3:37 PM
@cygery I have my minimum product working and I'm really sad that it's ugly and looks awful and it will take me ages to refactor this app but yolo I have something to demo
 
that's the point :D
 
OF NUCLEAR DESTRUCTION
Whoops, sorry. Testing for the Skynet-Takes-Over-The-World speech escaped the debug log
 
4:14 PM
that awkward moment when you release the version of your app that causes a bootloop...
 
4:25 PM
how do you do something like that?
 
Step 1: Be green
Step 2: Ruin devices
Step 3: ???
Step 4: Get suspended from the Play Store
 
app causing bootloop sounds quite advanced
 
So, that sentence meant "reply today, don't wait for tomorrow." :/
they said "we were just playing with your mind"
 
4:44 PM
I'd skip out if that's fun for the company
Play around with people's minds after you hire them
 
@cygery well it was more that the app installs a modified services.jar, and I put in the wrong services.jar
 
link?
 
I'd be careful releasing something like that on Google Play
 
>
Void
Hard bricked my device plshelp
Checks out
 
4:49 PM
@cygery it shouldn't violate anything
@RaghavSood that wasn't the person
As soon as I responded, they changed to 5 stars and didn't email me or anything
 
did you read the terms?
 
I thought I did
what did I miss?
 
Section 4.20: Don't brick devices
 
sigh
 
4:55 PM
I'm not making a Linkedin account
 
before you hire them, I am hired or not is decided on every thursday in this company
**Transcript from that linkedIn Link**

Client: There is a high severity production issue.. you need to fix urgently..
Developer: I am on the way.. Will fix it once I reach home.
Client: I don't care where you are. Fix it right now😡😡
Developer sits on the side of road in the night with laptop open and fixing.
 
@Zacharee1 "Any changes to device settings must be made with the user’s knowledge and consent and be easily reversible by the user."
 
And that's why you include a ruch job clause in your contract that's 5x-10x your usual rate
 
@cygery well the whole point of the app is to change system files
 
are those changes easily reversible by the user?
 
just dirty flash the ROM
 
o/
 
I don't think that constitutes as easy
That said, I've had little issue with the Permission Manager app
 
^^
 
"Additionally, we do not allow:

Apps that modify device settings or features with the user’s consent but do so in a way that is not easily reversible."
 
5:00 PM
You're probably fine if you threw in some large disclaimers and tons of confirmation prompts
 
@RaghavSood this is root. Dirty flash is vey easy
but a disclaimer is a good idea
 
You're vastly overestimating the average user, even with root
 
I wouldn't be surprised if Google thinks your app violates their store policies
 
the person who let me know it caused a bootloop went ahead and dirty flashed before they got a response from me
@cygery well I can always take it off and just keep it on XDA Labs
 
well Google can always take it off and close your account
your app, your choice
just trying to share useful policy-related information
 
5:02 PM
@ColdFire all true, except the former prime minister was reelected so technically not former
 
@cygery unpublished for now
 
5:21 PM
@TimCastelijns awesome country when can i plan my visit :)
 
Last month when the realm event was
 
Good thing I left Tokyo before the realm event
 
there's a never-ending realm event going on in this chat room
 
Tim is a realm event
 
5:41 PM
@TimCastelijns not to attend a event but for a vacation
lol raghav true
 
I think there's a fair chance that in the next 2-5 years Realm will be unmasked as a major CIA operation to compromise databases around the world, and Tim will turn out to be a double agent and suddenly disappear once things come to light
6
Explains realm and Tim are so pushy about it
 
lol
 
6:23 PM
@RaghavSood I love japanese kit kats!
I got them from korea town (hah, I know) when I was in nyc
 
You've got issues, mate
3
 
they are too delicious
 
6:43 PM
LOL raghav true
 
00:00 - 19:0019:00 - 21:00

« first day (2353 days earlier)      last day (2586 days later) »