« first day (2385 days earlier)      last day (2555 days later) » 

12:31 AM
Good day \o/
 
night
 
12:42 AM
@CarlAnderson
 
1:39 AM
o/
 
o/
 
1:54 AM
o/
 
2:11 AM
\o
 
2:32 AM
"Elon Musk never got back to me." - @TristanWiley
4
The shit he complains about lol
5
 
 
1 hour later…
3:40 AM
@Code-Apprentice last time I checked, it's possible to also set a password as 2nd factor. but the password complexity is very limited.
@Code-Apprentice it cannot so it will always assume the worst. compiler is not allowed to allow a value-returning method to miss all return points.
 
Sarge!
 
but really it fails even if it's not a field.
^ so, here compiler is being just dumb
and here it's a legit error
 
@SargeBorsch all execution paths returning a value is a totally different issue from threads potentially changing the value of a variable before said variable is used.
In both of your examples, the compile gives an error for the exact same reason.
 
3:58 AM
yeah it's different, but in first case it's provably impossible to actually hit the closing brace
 
True. Some more intelligent static analysis might even be able to detect it.
 
it already does (IDEA is highlighting the condition as always true)
 
Hmmm? Must be different than what you showed here.
Is a variable final?
 
4:25 AM
as you can seeā€¦
 
 
1 hour later…
5:28 AM
morning all
o/
 
5:51 AM
Namaste o/
 
6:17 AM
ahoy!
@RaghavSood SE
 
6:54 AM
Who's familiar with vmware?
 
i am
 
7:12 AM
Any idea how to run an ova file on a command line only server?
It complains about no display being present
Vix doesn't believe me when I say the OVA file is a vm
 
raghav have you tried the same command with --no-ui flag or something?
 
Yes
 
damn :D
 
@RaghavSood what is a ova?
 
7:17 AM
ova = original video animation
 
Single container for VM+hdd+manifest
 
i'm not sure vware is compatible with the openV format
 
Open Virtualisation Archive or something like that
They better be, they're on the committee that proposed it
 
player or workstation?
 
Open Virtualization Format (OVF) is an open standard for packaging and distributing virtual appliances or, more generally, software to be run in virtual machines. The standard describes an "open, secure, portable, efficient and extensible format for the packaging and distribution of software to be run in virtual machines". The OVF standard is not tied to any particular hypervisor or instruction set architecture. The unit of packaging and distribution is a so-called OVF Package which may contain one or more virtual systems each of which can be deployed to a virtual machine. == History == I...
 
7:18 AM
or fusion?
 
> In September 2007 VMware, Dell, HP, IBM, Microsoft and XenSource submitted to the Distributed Management Task Force (DMTF) a proposal for OVF, then named "Open Virtual Machine Format".
 
yeah well
there's a long story of people proposing standards then not following htem
 
It says VMWare supports it from December 2007
 
have you installed vmware Tools?
 
So unless I'm ten years in the past this should be running
 
7:19 AM
aare you on fusion, player or workstation
 
Player and workstation
Or are they the same thing now?
 
nope
okie
workstation or fusion are the way to go
vmware has hindered player a lot since v10
tried this?
 
morning
 
I'm untaring it now, will try to run individual components
If not, I'll give the article a shot
 
@Usman You need at least 80 rep to talk here. Please see this link for more details.
@Usman Woah now, hold up right there. Spamming the request access button will only get you banned. Come back in 24 hours and request again IF you have fixed the issues outlined in the last message. Requesting access again in less than 24 hours will result in a ban.
@4127157 You need a a:q ratio of 3:4 to talk here. Please see this link for more details.
 
7:37 AM
hey, short naming question: How do you name objects returned by the backend? Lets say I ask my backend to give me a car or a station. As I need to enrich it a bit with other data, I wouldn't want to use "Car" or "Station" as a class name for the backend classes but the enriched ones.
Would you name it something like CoreCar and CoreStation?
or how would you prevent a naming conflict?
 
\o
 
BaseCar, BaseStation
 
but Base is mostly used for parent classes, right?
 
PoorCar, PoorStation, since you're enriching them
 
hahaha
 
7:39 AM
Well, yeah. But in this case your base is coming from an external source, so I guess it could work
There's probably a better convention though
Can't you just load the server data in the the final classes and then add enrichment to those instances?
 
Problem is that I would like to decouple network from rest of the app
 
Hmm
 
That would enable me to make a module but I need those "backend classes" to be part of the network
afterwards I write a transformer to give me data useable in my application
 
ServerCar? NetworkCar? CarBase? RemoteCar? BackendCar?
 
Remote... that is not a too bad idea
I guess I could do that
 
7:43 AM
why don't you go in the other direction ? Keep the basic name for the ones returned by the backend and change the ones for the app/ui layer?
 
why different classes tho
 
decoupling ?
 
Different classes because of the dependency
 
user Car for the server car
then AdvancedCar for the enriched one
 
I need the "same" (similar) class in different modules
 
7:44 AM
or CarAdvanced to be syntactially correct
 
AdvancedCar would be 99% used in my app code. Why would I want to make the name so long then if there is "Car"?
Also if backend changes and provides more data to a Car, I just want to change the RemoteCar and the transformer in best case
Also the RemoteCar could be just defined by interface, so I can easily change the part in the network module without the trouble of caring about other things
 
What is a:q ratio requirement of 3:4? can anybody help to improve my profile for chat?
 
A:Q means Answer to Question
So if you have 3 answers and 4 questions, you are ready to pass
I just checked your newest two answers: You explain and provide some code snippets. Looks good for me!
 
Ohk thank you so much. I appreciate your answer now I understood the need I can improve my ratio now. Another one question: what is minimum reputation requirement of 80? as I have already 498 stack overlflow reputation. How it different?
 
You need at least 80 to get in here
You have more than 80, you're fine
@kabuto178 on the other hand...
Oh wait wrong user
 
7:54 AM
Kabuto is under my personal protection :D
 
Who's the regular under 80 rep?
Kabuto's fine :P
I misread his profile
 
o/
 
Eh, we'll just put it on CF
CF, get your rep up!
 
lol what
 
Ohk fine. Thanks I would improve my ration and will join you guys in few days. Bye. Have a good day ahead.
 
7:55 AM
yeah, get your shit together and hit the 10k already!
 
But... you're already here
You meet all the requirements
 
I am literally just been brainfucked
 
Ohh is it? I didn't know. thanks.
 
@Er.KaushikKajavadara you are already added here. You wouldn't be able to speak here if you wouldn't have meet the criterias
 
7:56 AM
True, please go and read the rules, Kaushik
 
yeah read the rules
 
But yeah. You're already in here. You meet the basic requirements anyways. You can stay, provided the rules are read, confirmed, and followed
 
Shut up Coldy, get your rep up first! :D
 
Hmm
Feb 7 at 13:29, by WarrenFaith
@Er.KaushikKajavadara you better read the rules NOW
 
huh
 
7:58 AM
looks like Kaushik went cold afterwards
 
I have read and understood the rules
 
Nice, and I have a meeting
 
great \o/
 
@chandankumarkushwaha Welcome! Please read, confirm reading, and follow the room rules before you do anything else: room-15.github.io
 
8:19 AM
is the bot dead?
!/meow
 
well the core features work
 
!/tell CptEric flip
 
@CptEric (ā•Æ°ā–”°ļ¼‰ā•Æļøµ ā”»ā”ā”»
 
Bot only denies
 
8:20 AM
it could greet too.
or grate.
!/cheese
 
@CptEric That didn't make much sense. Use the !!/help command to learn more.
 
nope, it doesn't grate.
 
9:06 AM
god dammit my co worker is rubbing his feet against each other again
how do I tell him to stop?
 
HAMMERTIME!
 
oh does anyone know how rxjava manages concurrency while propagating the onNext() calls to all its subscribers? (i.e case where one thread modified the subscriber list by either subscribing or unsubscribing to an observable, while another thread is iterating over the subscriber list and calling onNext() of the subscribers in the list)
you get concurrent modification exception if you dont handle concurrency here
This thread talks about using a concurrenthashmap set as the collection that holds the subscribers
 
cut one feet
 
9:22 AM
haha
I would like to still keep my job :P
 
lol
o/
 
o/
 
9:39 AM
o/
 
@WarrenFaith You can use like CarEntity, StationEntity etc.. for remote classes and for Car, Station for your module
Same naming is in clean architecture library
 
10:03 AM
yea entity is a good one
or CarProvider maybe, if its the one providing car data
 
Or AllCars and declare each type as a static inner class
 
but that causes conflicts with dagger2 providers i guess
 
I was kidding :D
 
hehe
 
o/
 
10:19 AM
@Dharmendra also a nice idea
and dagger2 is something I do not use, beside the dutch trolling attempt :D
 
Do you use any dependency injection Warren?
 
samsung at its best
 
a day in eric's productivity streaks
> 22 files changed, 2405 insertions(+), 2273 deletions(-)
we're releasing our app in hindi too
 
10:53 AM
Nope Mark, nope
 
I want to blame MediaPlayer to show black flashes when Video starts
 
11:08 AM
wow nice eric
what is the app about
 
just a simple parking app lol
we're reediting one that managed to get over 10k downloads
and our padawan / intern got to test his skills by making it
 
although many people understand english here so hindu is not generally required
 
11:28 AM
I'm not sure why, but I almost never understood a wikipedia definition of a Software related principle
they all seem too broad and too literary and abstract to me
could be that English isn't my first nor second language though
 
11:42 AM
3
Q: meaning of RuntimeException("Stub!") in Android

Alex MawashiI was surfing in Android code because I wanted to see what is into Activity.finish() method. I just wanted to have the confirm that in Activity.finish() would be a call to onDestroy() method. But what I found in this method (and in many others) was: public void finish() { throw new Runtime...

 
11:56 AM
@CptEric If it is parking app then 99% people are those who can deal with english so Hindi is not required like CF said
There are many many posts similar that shows black flashes in time between video starts and render first frame
If anyone has experienced and fix issue can help me
Currently fixed for 80% devices by setting video visibility to invisible for few milliseconds
but still Samsung phones has problem
 
o/
 
12:20 PM
well its samsung enough said
 
@WarrenFaith any reason why you don't use DI? I seem to always seem people saying it's great, I'm not using it because I haven't looked into it in great detail yet
 
I have no need for it yet
 
12:34 PM
@user2473940 You need at least 80 rep, and a a:q ratio of 3:4, and a non-default username to talk here. Please see this link for more details.
@user2473940 Strike 2/3. Requesting access again in less than 24 hours will result in a ban.
 
O/
 
@pcrafter You need at least 80 rep, and a a:q ratio of 3:4 to talk here. Please see this link for more details.
 
 
1 hour later…
2:41 PM
@realDonaldTrump Dude really, you've been Tweeting all morning and it's getting exhausting. Take a break from Twittā€¦ https://twitter.com/i/web/status/857605472529948672
 
lol
> 89 files changed, 1571 insertions(+), 1285 deletions(-)
14:30 - 16:40 work
#eric #productive #6 coffees
 
How the heck are you making that many changes in 2 hr 10 min?
 
i refactored 12 api calls
and 12 db calls
to enable multi user
offline and online
user image
3
 
That's pretty good going
meanwhile I've forgotten how to retain information on one screen so if the user presses back to go back to it, all the info is still there :|
 
Bundles
 
2:52 PM
Thought it was savedInstanceState
 
That's the default variable name for the Bundle in onCreate() :P
 
Yeah it's only used for screen orientation which I forgot
I knew I had done something similar before but that was back when we had screen orientation in the lite app
 
Oh, you meant different Activities
SharedPrefs
 
o/
 
Or the onSaveInstanceState() and onRestoreInstanceState() callbacks methods things
I need coffee
 
2:57 PM
No no, I don't mean that. Right now I'm just going from one section of registration to the other, want it so if the user goes back to the first one their previously selected choices would be there without showing the default values again. Don't have to do anything for the EditText fields but the fields where I have a button, it shows the default text.
Maybe sharedPreferences is what I should have been using
 
3:29 PM
\o cM
 
@RaghavSood 7 coffes & at home right now
okay
i need someone who inderstands maths and trigonometry
teach me proportional laws
 
like
i mean
half this lesson is " do rules of 3 until you grow bored"
and the other half is
"given fibonacci, make me gemotric figures using hard greek words that are totally not numbers".
 
Yeah CA knows that stuff
 
Do any of you here use themes for AS?
I'm using a material one but it's a bit confusing whenever you click on a variable / method because it's the same as whenever you highlight something
 
3:45 PM
i'm just using the dark mode one
dracula or whatever
 
@TimCastelijns what SMS gateway are you using?
or any other you recommend
 
The material theme for AS is really nice, just had to change the highlight color to something a bit more clear
 
Nexmo for that app
For sending an receiving SMS on the server
 
4:01 PM
Huh didn't realise nexmo was a thing
we're using Twilio because we thought they were the only ones doing it
 
Nice! taking a look
is twilio a thing outside the US?
 
yes we use it for another app
but nexmo is good if you don't require all of twilio's functions
 
yeah it is
twilio is worldwide
is it cheaper? we definitely don't need everything twilio offers
 
you pay a couple of cents per sms I believe
not sure, my boss pays
 
:D
 
4:04 PM
i guess it's the same then
0.04 per text on twilio i think
nice to know they have some competition anyway
 
4:35 PM
o/
 
o/
How did they manage build StackOverflow before they had StackOverflow?
 
4:59 PM
They used the Google
 
What kind of results were returned before SO?
 
@McAdam331 how was the conference? you didn't hit me up!!
 
5:19 PM
I know, I'm sorry! It was good! I had a blast.
 
nice, you get to check out the city at all?
 
I got to explore a bit that Wednesday. I walked around the city, had a lobster roll (turns out I don't like lobster), had a boston harbor cruise, and went through the new england aquarium
 
wtf you don't like lobster?
good riddance
 
:(
 
5:42 PM
I've got a relevant question
Does clam chowder in Boston taste a lot different than clam chowder from a can?
I imagine it does. But I like it out of a can and want to try the real thing. But haven't made it out there?
 
depends if the clam chowder in boston is canned
 
You know, I only had it once during my trip and it was unfortunately at a chain restaurant where it didn't taste anything special. I need to go back, there's so many things I didn't get to do.
LOL tim
 
touche, Tim
 
@CptEric ping me any time and I will get back to you next time I am online. Usually within 24 hours.
You should also check out Mathematics.
 
I was hoping for an answer from our Bostonian (Bostoner?)
 
5:47 PM
Bostoner
who's the Bostoner?
 
Looks like Bostonian
I don't know if I'm permitted to answer that question
 
Bostonite
Sounds like an element
 
I like our name. Michigander.
 
Mac, please, even you can't really think that's a good name
 
Don't tempt me, cM. You don't want me to send my Michigeese down there, do you?
 
5:52 PM
Sure! I haven't planned out dinner yet
 
When are you finally gonna invite me down for one of those delicious recipes you always share?
 
Just fly over on your geese, geez
 
I don't wanna fly in uninvited though.
 
there's some places that make their own chowder from scratch
 
He'll let you in since you brought dinner
 
5:54 PM
*cues image of a kitchen raising clams for clam chowder
good point raghav
 
by some I mean any restaurant should be making it from scratch
I definitely taste the difference
 
I need to get some
 
That average age of accounts would be amazing
 
summer time is the best, head up to the beaches in Maine and get fresh seafood from a summer shack type of place
 
5:57 PM
I went to James Hook & Co in Boston, and it's definitely a tiny shack type place and I bet it was a really good lobster roll it just didn't sit well with me.
 
@McAdam331 I did
trevor, I'll have to try to do that soon. My girlfriend has family in that area and visits occasionally. Maybe I'll got one of those times soon
 
Oh shoot I missed it. I've been AFK over the last two weeks working outrageous hours for this samsung project
I'd definitely love to make the road trip this summer. We'll just need to pick a date eventually and stick to it.
 
I'm just waiting to buy a new house. I could use the help building the wall fence it doesn't have one
 
I love building fences
 
lol do I look like manual labor to you?
 
6:00 PM
Helped my uncle fix a really old one at his place in Virginia
It was great
Ignore all the OSHA rules, get some nice power tools, and hack away
Can't imagine a better way to reduce life expectancy
 
Mac, that's exactly what you look like to me
Great, Raghav and Mac are in
I'll even let you run around in the yard with no chain when you are finished
 
No wonder you don't live in the South with that level of freedom for your slaves, people would think you're crazy
2
 
I had a funny but possibly inappropriate comment so I'll just leave it alone
 
lool
 
An IVR just hung up on me
 
6:05 PM
I'm still having MAC ID problems. Not unlike my Mac problems
With the fucking id "02:00:00:00:00:00"
 
I cause all sorts of trouble for him
 
@codeMagic You don't have permission to pull that MAC
Changed in 6.0
29
Q: Getting MAC address in Android 6.0

MazingerI'm developing an app that gets the MAC address of the device, but since Android 6.0 my code doesn't work, giving me an incorrect value. Here's my code... public String ObtenMAC() { WifiManager manager = (WifiManager) getSystemService(Context.WIFI_SERVICE); WifiInfo info = manager.g...

 
I know
There's a workaround
 
@Code-Apprentice help
 
But it doesn't seem to always go around the work
 
6:11 PM
i have a rectangle of 14 x 63
 
And we use that to identify what location the device is attached to so we can give them the proper data
 
i need to make a quadricle inside it of squares of equal integer size
i have no fucking clue how to do it
and i need to get what integer size that would be
must be bigger than 1
else it would be too easy :I
oh found it the dumb way
dividing until i get a integer on both nums
computer says 7
so size 7
 
 
1 hour later…
7:23 PM
I just realized a great feature that hipchat needs
 
o/
 
A way to ping a subset of people in the room. Like if I could set up a certain number of people as 'SEs' and say '@SEs' and it will ping the five other software engineers.
 
ha, Hipchat, that's sooooo 2015
 
7:41 PM
BREAKING: Youtube Acquires Yahoo To Improve Search
 
wait, what
oh the onion
 
@CptEric I am here
@CptEric looks like you figured it out, yah?
 
8:23 PM
o/
 
8:45 PM
@Feeds this scared me for a sec lol
 
9:14 PM
@codeMagic your problem is you're using a spoofable, vulnerable hardware identifier to try and uniquely identify a device, rather than generating a UUID and sending it in your communication protocol like a sane person
 
I have to agree
 
posted on April 27, 2017 by Android Developers

Posted by Arindam Basu, Borbala Benko, Alan Butler, Edward Cunningham, William Luh Building innovative security features for Android app developers and their users continues to be a priority. As part of this effort, we provide SafetyNet attestation, an API for developers to remotely evaluate whether they are talking to a genuine Android device. SafetyNet examines software and hardware i

 
@DaveS Yep. But this system was put into place well before me so I'm trying to maintain it while pushing for a different system (like most things I encounter at work)
 
then just get it from the IPv6 address
 
That's what I'm doing now but I'm encountering situations where it isn't returning correctly and I can't reproduce it
 
10:44 PM
LMFAO
I just used my own answer on Stackoverflow
lmfao
 

« first day (2385 days earlier)      last day (2555 days later) »