« first day (3075 days earlier)      last day (1874 days later) » 

12:29 AM
sup
 
 
2 hours later…
2:19 AM
 
 
1 hour later…
3:32 AM
Aravindhan Gs requested access. Rep: 75 - Questions: 2 - Answers: 4 (ratio 4:8)
 
3:55 AM
Good morning everyone. :)
 
4:05 AM
hey guys, if I have a custom dialog which extends AlertDialog, is there a way for me to call .setPositiveButton on it?
 
Check if you can implement a custom builder or make a function on your class find the ok button and assign it the onClick event.
 
@RaymondArteaga, Mornight
 
oh, it seems like I can call the AlertDialog's factory Builder on the class itself :D
 
Mornight Kumar
 
findViewById(R.id.button_pick).setOnClickListener((View v) ->
                new ColorPickerDialog.Builder(this)
                        .setTitle(R.string.pick_color)
                        .setView(R.layout.dialog_picker)
                        .setPositiveButton( //... )
great :)
problem solved
 
4:18 AM
How are you?
 
.setPositiveButton(
                                getString(android.R.string.ok),
                                new DialogInterface.OnClickListener() {
                                    @Override
                                    public void onClick(DialogInterface dialog, int which) {
                                        Toast.makeText(MainActivity.this, "OK pressed", Toast.LENGTH_SHORT).show();
                                    }
                                }
                        )
 
Great! What about you?
 
how to use anonymous function to shorten this @Override ?
 
I am good, thinking to try hands-on flutter
 
If that's an interface with a single method you can put the block of code inside {} after the parentheses
In kotlin
 
4:20 AM
@RaymondArteaga there are 6 methods in that Interface :(
 
But as you are using java
You are doomed to write garbage
 
D:
 
Oh, I shut up then :P
 
but it's the only one with that signature, how sad: it could actually be deducted which method I wanted to call
 
In the mobile version of the chat I can see only the first half of your code :p
Make an abstract class with empty methods
 
4:22 AM
AndroidStudio tells me the method can be replaced by a lambda expression, though :/
 
Java 8?
Meh, just migrate to kotlin
Join the dark side!
 
lol
 
And ice cream
I have acquired coffee
 
@RaghavSood bro, I have finished onion pranthas just now
 
4:39 AM
yeah, SO is down
somehow the chat works fine
since SO is down, I'll use you guys: how do I getString(android.R.string.ok) in my class (it extends AlertDialog)?
 
SO is down? It seems to work from here...
First Google, Facebook after that, now SO...
Who will be the next victim?
 
@RakeshKumar yeah but I'm working within a method, not using the Builder
 
Or should I say whom?
 
(unless I can get the Builder to instanciate my ColorPickerDialog ? )
 
4:47 AM
That's a question that always have bothered me :(
Who or whom...
 
@RaymondArteaga back online :3
 
I thought Cuba was privileged :(
@RaghavSood now I'm learning go...
 
Excellent
You might even be employable some day
 
-_-
I'm employable, even a desirable asset right now
But meh... Whatever
I'll start my own Android consulting website, and I'll accept BTC...
 
@payne, easily can get with context. What is the issue?
 
4:54 AM
@RakeshKumar ya, I figured that out, thank you :)
I was trying to call getResources() but without using a context.
 
Maybe if people don't know I'm Cuban will willingly give me "fancy internet money" in exchange for my precious knowledge
 
@RaymondArteaga, Best wishes buddy. :)
 
also, earlier problem with setPositiveButton was simply to use setButton(POSITIVE_BUTTON, ...)
 
Thanks Kumar!
@payne I'll bill you only a few thousand satoshis in exchange for good advise.
 
@RaymondArteaga unfortunately QuadrigaCX robbed me of all my satoshis...
 
4:59 AM
Is it the Canadian exchange?
Whose owner died and vanished millions of satoshis in the Oblivion?
 
"died"
Read that in the same tone as Raymond saying he's "employable" without knowing Go or Rust or any useful language
@payne That's why I don't trust exchanges
Or people
Not even myself
Most of my crypto is locked away from me
 
Yeah, lost a few thousand dollars there..
luckily, when I decided to sell most of my stuff, I left some on Binance just in case for another bullrun
 
Fragmented - Android Developer Podcast: 156: Increase App Engagement with Android Q
posted on March 18, 2019 by shows

With the release of Android Q we now have the settings panel and all its glory. This panel, while most likely overlooked as a minor feature, is actually a diamond in the rough.

 
Sorry to hear that Payne :( OMG!
 
(I'm also too much of a fan of IOTA to sell my bags on that one.)
 
5:04 AM
Look on the bright side, you're more motivated to move your coins off an exchange now, so you might not lose in the future
 
@RaymondArteaga I was smart enough to invest what I could afford lose. It certainly sucks, but I'm not stressing out with that.
 
I still can't find the key for that $100 of BTC :(
Might just write it off at this point
Too many backups to search
 
@RaymondArteaga yes, 115000 canadians touched, and >230 million$ CAD "lost"
 
India is a great place to "die"
So much sketchy stuff going on
 
the amount of shady stuff that comes out of this whole story is astonishing
 
5:06 AM
@RaghavSood I know C++, C# and I used to know a bit Ruby
 
I had several friends in high school who had two birth certificates, two passports etc. for the sole reason that they were born too late to get into the school year for their year, so their parents get a whole set of documents made with the birthday a few months earlier
 
-_-
So die
 
A few million could get you a nice, safe, new life
 
moRnings...
 
Mornight Patel
 
5:09 AM
yes. isn't this frog going to sleep? xD
 
I'm going to take a bath, see you all in a few minutes. Frog out.
 
Color.rgb(Color.red(r), Color.blue(g), Color.green(b)); is that it? Or I only need to do Color.rgb(r, g, b); (r, g, and b are ints)
(obviously, green would go before blue..)
stackoverflow.com/a/15319676/9768291 found my answer I think :D
gosh do I love SO <3
 
\o
 
5:25 AM
Frog's back
Over
I can't understand how if a man dies, automatically a lot of people losses their money
Was the entire system connected to the deceased brain?
 
They claim he's the only one who had access to cold wallet keys
No keys, no coins
No coins, no money for people who were owed money
 
That's stupid
 
Yes, it is
 
I refuse to believe it
 
hello raymond
we meet again
 
5:35 AM
Hello Ahmad!
Well... Ahmad 2.0
 
you are one dirty frog tho
I just realized how to make quick points of SO, just post updated answers to old posts.
Many people still visit those old questions
 
True
Source: I have a lot of old answers
 
yesterday at night I implemented a sound recorder, it does works all good buuuuuut....i really want animations ;(
I know nothing about animations
 
What kind of animations are you planning to use?
I used a circle whose radius changed according to the intensity of the sound
If that's useful for you I can share the code
 
yes! thats exactly I was trying to implement. I know that I have to use getmaxamplitude every miliseconds and update the circle but i havent figured out on how to exactly do this
originally, the kind of layout I have created works perfect with bars rising from bottom
 
5:47 AM
Good Morning Guys !
 
Yes
 
look at waves and bars, thats how I want my sound recorder to have
 
you have to set your audioSessionId on that visualizer
 
Yes, I have given it a session ID but I need to actually set up a 'listener' to it
 
5:53 AM
the code is sadly on java, and is ugly as hell, but it works
 
thank you! I will read the code
 
Also that code is really old, i was beginning android programming, so it can be buggy, consider yourself warned.
I edited the paste with the whole asynctask
in case you need it
 
@RaymondArteaga that's without mentioning that the dude was supposedly a "security expert" and that he wrote his death's wills 2 weeks before dying, yet somehow forgot about making sure someone else had access to those funds...
 
I mean... no sane exchange lets just one guy have key control
You have multiple wallets, and the majority of funds are in multisig wallets, which require both human and automated signatures to spend coins
So that no humans can collude and move funds to unknown addresses
 
I bet a satoshi on one of them stealing all the money
 
6:04 AM
Like, at the place I work, we literally cannot send coins from our cold storage addresses to an address that is not part of our hot wallet system
 
@RaghavSood truth being many people have found interviews and claims of the whole thing being multisig
 
Doesn't matter what your title is, if the blockchain says you can't do it, you can't do it
Ah well, just buy a hardware wallet, keep all your coins there
That's a good start
 
I'm seriously thinking on acquiring a hardware wallet
I've saved near 200usd in BTC
 
Ledger Nano S is a decent bet
Ledger Nano X is a better bet, but they are more expensive, and aren't shipping for some time more
 
And that's a little fortune here
 
6:07 AM
$200 is probably a month of groceries for me
So expensive to live in NZ :(
 
You presumptuous shadow -_-
I've heard good things about trezor
 
Ledger is better
More open source, they tend to get new coins faster
Plus, hardware on a ledger is way more secure than a trezor
Trezors don't have a secure element
I have both, but I have only 1 trezor, and 4 Ledger Nano S, so I stand by my advice
Nah
But I've interacted with the ledger team in the past, they're a smart bunch
 
Do they pay you?
 
They don't
 
6:13 AM
@RaghavSood what about when you want to sell? That is the reason why I had money on that exchange...
 
I mostly don't want to sell, I intend to keep the majority of my coins for a long time
I have a small percentage I can access freely
The rest are in various states of timelocks and contract locks
some can be broken in the case of an emergency
Some can't
 
I was just responding to the general "not your keys not your coins" attitude. Trading is a way of making more coins. ;)
 
Ah
Of course, if you're actively trading, you need them on an exchange
But really, is a few minutes too long to wait for a deposit to go through? :D
If you're trading on a basis where your trade window is longer than a day or two, it's quick enough to withdraw and deposit when you need to trade
 
I was day-trading for a while.
Also, there are fees associated with each time I would take in and take out of an exchange to my hardware.
 
Not much, on any reasonable exchange. A few cents isn't life changing, the security of way more than a few cents can be
If you are day trading, not much you can do about it then, just need to make sure you can write off the amount and move on
 
6:23 AM
2:23am here. Even frogs needs to sleep a few hours.
See you all in a few hours
Mornight!
 
g'night y'all
 
Is that Klingon or something?
 
It's the sound of payne
 
Frog out
 
robin_24 requested access. Rep: 42 - Questions: 8 - Answers: 1 (ratio 4:0.5)
 
6:27 AM
!reject
 
@robin_24 you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
I cant understand the code ;(
 
7:33 AM
Gooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo‌​oooooood Morning Everyone!!!!!!! :D
 
7:48 AM
\o
 
8:12 AM
I/
o/
 
\o
 
8:39 AM
o/
 
Yes Android have an app called poweramp but not a power amplifier.
 
9:13 AM
o/
 
New VSCode update!
 
9:29 AM
I didn't know you could do Java in VSCode code.visualstudio.com/docs/languages/java
 
oooooooooooooooooooooooooooooooh
gotta update
 
vim4lyf
 
@MehdiB. I would not do that, but that IDE is awesome man
 
we have updated app with new design and now want to update apk as well as store listing screenshots and description.Can we update both at same time or first upload apk and then update store listing ?thanks
 
Synced starred message data. Took 57203 ms.
 
9:34 AM
Got very disappointed in IntelliJ CE, they don’t support Play unless on the enterprise version
I hate jumping from IDE to IDE
 
Oh you use the community edition?
 
... who creates rest apis on vim? XD
 
:(
I do
Most of the stuff I write is exposed via rest APIs
 
@MuratKaragöz personal laptop: CE, work laptop: Enterprise :D
@RaghavSood met a guy a few weeks ago, who does everything on VIM, didn't even know you could search for keywords in vim until I saw him doing so
 
9:40 AM
wait wat
 
I have 11 windows open right now, chrome, slack, vim x5, terminal x4
This is usually all I need
 
you use VIM for more than editing stuff?
 
I use vim for editing, notes, todolists, personal kb, etc.
Most of the stuff I do involved manipulating text in some form
But then you have additions and scripts and custom stuff to handle stuff like indexing the personal wiki, search, linking, etc.
 
.. wiki?
 
You guys don't maintain a personal wiki/knowledge base?
Almost everything I do/learn is put in there is some form, new tech, thoughts, specific commands, tricks, hacks, everything
It's only useful if it is interconnected and indexed and searchable, quickly
Vim works great
I can write in markdown, export to PDF if needed, all links resolve within the filesystem, everything is searchable across the entire wiki folder regardless of which file I'm in
 
9:43 AM
probably overkill to spin up and server to host a 1kb webpage, for me at least
 
It's all on my laptop, there's no server
It's just a bunch of interconnected markdown files
It is under a git repo, of course, so I get versioning and can easily clone on another machine if I need it
How do you guys keep track of what you know?
 
that's what I meant: "what I know can probably be put in a 1kb webpage" :D
 
You underestimate yourself :D
If you start making notes as you learn and do things, you'll realize you end up with way more stuff than you'd just remember
 
how do you review them?
 
They're loosely categorized by topic/area
There's a main page that links to various sections
Each section has it's own index
Plus, there's regular keyword/phrase search
 
9:56 AM
I'm thinking of organising myself, this could be a good starting point, even though it looks a bit time consuming
 
The setup is, once it's part of your flow, it's part of your flow
 
Hi Everyone, I am stuck on one weird issue. Can any one help me our resolving the issue.
0
Q: Android Application not having Internet access on One plus devices only

MayurI am getting a weird issue while testing on multiple devices. I am currently working on a application which uses internet connection for Api calls. Application tested on 15 different devices & in 12 devices it works perfectly fine. Only 3 devices its not working are the One plus devices. I trie...

 
Anyone doing here full stack?
 
Sometimes
 
@MuratKaragöz yes
 
user443346
10:01 AM
o/
 
How do you like it
 
I quite enjoy it
 
fun felling secured having multiple technology knowledge :)
 
What are you using as a tech stack?
 
it also makes it harder to get bored of your daily work
 
10:07 AM
Go, Rust
Various other languages as needed
 
Android, iOS native
React Native
Unity
Cocos2d
 
oh ok
 
I've started learning Play2, it provides a Java and a Scala API, so 2 birds with 1 stone
 
10:23 AM
I had to remove Putty Pageant because it caused so much headache with eclipse egit :/
 
\o/
 
Anyone having bad experience with Kotlin ?
just curious to know because I need to start learning it
 
no. its nice. start learning
 
ok
 
that was fast XD
 
10:31 AM
Kotlin?
Kotlin >= Java
If minimal syntax matters to you, go for Kotlin else Java
 
If minimal syntax matters to you that much, you should reevaluate your priorities, or learn asm
 
@TaseerAhmad because what did you use Java / Kotlin for?
 
user443346
Because PHP can't do it
 
Java / Kotlin = Objective C / Swift
Am I correct ?
 
No.
 
10:35 AM
Because I know more about iOS & less about Android
 
@MehdiB. I have been programming Android using Kotlin since more than 8 months. Less syntax matters to me so I opted for Kotlin
Yes, Mayur you are right
 
I guess the Aim is the the same in Kotlin, minimise the code & improve compilation time
performance improvements
 
Kotlin does not under performs in any way. It offers all the goodies like Java..maybe few more. When I started learning Android, I did extensive search to know more about Kotlin`s popularity. It was clearly visible Google was promoting Kotlin harder and quickly added support for Kotlin.
I encourage android java programmers to give Kotlin a try and use for a month or two and then make a comparison. Honestly, I have like 1 week of experience with Java but about a year of experience with C++. It was like switching from C++ to Kotlin
 
 
2 hours later…
12:13 PM
Ram requested access. Rep: 1122 - Questions: 4 - Answers: 41 (ratio 4:41)
 
Zoe
@TaseerAhmad Kotlin does add a lot of code compared to Java though, some performance loss is probably unavoidable
 
code4rox requested access. Rep: 144 - Questions: 5 - Answers: 32 (ratio 4:25.6)
 
!accept
 
@code4rox welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
!accept
 
12:20 PM
@Ram welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
@TaseerAhmad even tho the sdtlib is small it's still something that you'll have to add to your app
and it might push you over the dex limit
 
kotlin support library is around 60KB. Hitting the dex limit wont be easy tho. Isnt multi dexing a solution to it?
@Ahmad
 
o/
 
are you guys ok? @Jordy @MwBakker and @TimCastelijns?
@TaseerAhmad yes
 
12:53 PM
@code4rox your access has been revoked because you did not respond
@Ram your access has been revoked because you did not respond
 
@MehdiB. is that a wrapper around git?
 
it seems it's not
from the comments, they say there's a layer on top of the cli, and it's based on this github.com/ipfs/ipfs
 
ipfs is cool
I'm not sold on radicle tho
 
1:08 PM
@ColdFire yes, thank you for your concerns
 
nice to hear
 
I think I can also speak for Tim and Jordy as well since they do not live near the location
 
user443346
I don't really care for what is happening
 
user443346
Just another day
 
user443346
And yes, ofcourse I'm fine. We have a saying in Holland - Onkruid vergaat niet. Translated: Weed does not parish
 
1:15 PM
@Jordy well it's a unique situation though
"Threadlevel is increased to 5, 4 was 'normal' but 5 is panic time" haha 4 is normal wtf
 
user443346
It is, but it was also inevitable (sooner or later)
 
@Jordy you mean part and parcel?
You could be mayor of London mate, he has the same spirit. "well woopsie, that's for living in a big city"
But I understand you, it is horrible that terror takes over our minds
 
user443346
No I mean situations like these are inevitable. It's terrible - it's unique for Holland but will happen more often I'm aready.
 
user443346
Ah well, I don't live in the big cities so no worries for me
 
@Jordy yes that is what the mayor of London said once "it's part and parcel"
Anyway I heared it's just one guy they are looking for now
 
user443346
1:19 PM
Well I wouldn't call it part of our country tho
 
eLi
Hi
Hi guys
 
@Jordy I hope not
 
user443346
Weed is tho.
 
user443346
The green stuff I mean
 
1:41 PM
 
o/
 
2:05 PM
Word
 
Xc0d3r requested access. Rep: 71 - Questions: 2 - Answers: 2 (ratio 4:4)
 
!accept
 
@TaseerAhmad You do not have sufficient access for this command
 
nice
I like this bot
 
@Graeme Excel
 
2:13 PM
Sup?
 
working nothing new
or rather dealing with kotlin hell :D
 
Cool
Wish I was dealing with something new that wasn't management
 
wbu?
 
Could do with a bit of technology learning
Need a bit more variety
 
ok
 
2:19 PM
Anyone uses Eclipse here?
 
Unfortunately
 
I am trying to make it look like IntelliJ
You are not using light theme, right?
 
@Graeme Management is great, I love pushing more stuff on them
 
@MuratKaragöz good luck
I'm using RAD which relies on an old version of eclipse, so I can't get any dark themes
I think the newest versions have a plugin that lets you get a dark theme
 
o/
 
2:30 PM
heyo adam
 
the rational suite of products has always scared me
 
Yeah :\ IBM...
Not a fan
 
IBM is great
 
@RaghavSood Urgh
 
Really makes you feel better about yourself
@Graeme It helps that I work for people who are quite competent :D So nice to be able focus on dev stuff and hand off other stuff to them
 
2:37 PM
IBM = Irritable Banking Machines
 
You spelled Bureaucratic wrong
 
3:34 PM
I mean, working with competent people is always nice
 
user443346
@ColdFire Seems more and more like a incident that's not related to terrorism
 

« first day (3075 days earlier)      last day (1874 days later) »