« first day (2908 days earlier)      last day (2048 days later) » 

12:00 PM
@TimCastelijns : Or shift to an opensource processor based opensource laptop.
 
XD
 
@ZeekHuge Find me one that works to the extend traditional ones do
If you aim to live a backdoor free existence, do as Tim said
 
Lunch time!! :D
 
lol
 
Even if/when we get RISC-V machines on the open market, you as an individual can never verify that the silicon matches the vhdl or whatever
Gotta have trust somewhere, sometime
Best we can do is make sure we reduce the attack surface
Which reminds me, I need to libreboot the x220
 
12:01 PM
Right ! I try to use open-s apps, and prefer to compile them muself.
 
Did you also compile the compiler?
 
such cant be done with the vhdl-silicon ofcourse
Well ..
 
gotta go cya
 
Depends on your attack vectors, really
If someone really, really wants to get at you, you are in for a bad time
If you're trying to protect against the regular bad guys, then sure, stuff like compiling from source, sticking to large open source projects, etc. is a reasonable approach
Who are you hiding from, Zeek? :D
 
Yeah. even moving completely offline cannot guarantee safety. wired.com/2015/03/stealing-data-computers-using-heat
 
12:04 PM
safety from what?
 
the "safety" you speak of is an illusion
 
As I said, if someone powerful enough wants you, you are already compromised
 
Not really hiding. I just like it that way, for me its fun to think and try to be "safer"
 
alright
 
I try quite hard to be safe, but I'm sure I'm not
 
12:05 PM
I know I'm not gonna be, so I don't spend time on the attempt
 
But I am also sure than I'm likely not going to be taken under the more common/prevalent attacks
 
I embrace it
every week I email google a list of what I ate that week etc, how many grams my poops were
 
Like, if the NSA wants my stuff, they are probably gonna be able to get it
 
Exactly, I have tried to get into this. Pinging/nmaping the IPs from norse-map
 
But if some random guy who harvest IDs/credit cards wants at me, good luck to him/her
 
12:07 PM
My router started behaving funny after that, and now I am at a different place all together.
 
@RaghavSood that's something you should consider using your fists for :D
 
Why waste your time on peasants? :D
@TimCastelijns There is merit in safeguarding against non-state attackers
It is an achieveable goal, for one
 
I trust the google to handle it
 
In the merits, The first one being, you learn cool things
 
a lady here alerted the authority that some dude gets into her store everyday when it's full and plays with a device without buying anything, she got yelled at "mind your own business", a few months later they got the guy, he was scanning credit cards from a distance range
unless you already know about this attack and bought the card cover... no matter how much you're aware it's no use
 
12:10 PM
Seems like there will be a new harry potter game
I already can see how every npc is gonna die with the avada kedabra thingy
 
Hmm
Any sane card would not fall for that, at least on a payment system
It's not like the wireless cards just hand over the details
You send a request to the card, it signs it, and that's the payment info
Only valid for the payment it signed
Now, if that person was charging them falsely, that's another matter
 
they wouldn't sell this if it wasn't the case secrid.com/en-global
 
But those are easier to trace, since you need merchant accounts and whatnot
Those covers are more aimed at metrocards, rfids, etc.
Passive vs. active wireless
Those can be cloned easily
But if you're using that in a payment scheme, you are doing it wrong
 
@MuratKaragöz on point :D
 
12:17 PM
Security and privacy is certainly an interesting field
 
Off topic. I often face general architectural problems in my projects. I have been thinking that it will come automatically with experience. Do you guys think so ? Is there a general guideline or place I can find help ?
 
you must first do it wrong to know how to do it right
yes, it comes with experience
 
That's also a good read for some basics
Know thy enemy and all that
 
Raghav, you shouldn't post nudes in here
Very interesting link tho :D
 
It is interesting indeed.
But, these (as I am able to see on the README) are straight-forward mostly. I often face problems like the one I asked. (chat.stackoverflow.com/transcript/message/44127550#44127550)
 
12:23 PM
Stuff like that is mostly just expensive
*experience
 
please rephrase, idk what you are asking
 
@TimCastelijns : But, these (as I am able to see on the README here github.com/donnemartin/system-design-primer) are straight-forward concepts mostly. I often face problems like the one I asked. (chat.stackoverflow.com/…)
 
He's saying your linked message is unclear
 
As I said before
it's unclear
btw oracles jdk 11 is going to be commercial
no longer free
 
12:31 PM
But open jdk remains, right?
 
test
 
sigh
 
!leave
 
Have to see which APIs we usually use that are only in the oracle one
 
12:32 PM
Ok, see ya
Online since 02-10-2018 12:33 (UTC). Running version 1.6.2 on master@6f501e7
 
!dave
 
btw mauker update the version when you change stuff. I keep forgetting it xD
 
I fell for it
 
Ohh, okay!
 
12:35 PM
@TimCastelijns: oh ! okay. So I wanted to unit-test my code, and to manage dependencies and to be able to mock them, I created a class `DependencyManager` which would store dependencies in a `private` `HashMap` and can be get using `get(Class<?>)`. Now, this allows mto e to mock dependencies while I am testing a unit.

But the problem is, there are some classes, which serve as a dependency, and have `static` factory methods. How to mock them ? What I am doing right now is : For a class `A` which had the static factory methods, I have created a static class `A.AContract` and replaced A#<stat
 
1st part: don't create your own dependency injection framework
 
I thought dagger2 would be an overkill.
 
there are other options, all of which are better than rolling out your own :)
 
@TimCastelijns: And will they help in such a situation ? Allowing me to mock classes which have static factory methods ?
 
the contents of a class should not matter when you mock them
btw "static factory" is not a thing, it's just "static". Factory is a pattern but java doesn't know about it
 
12:43 PM
Right. But in case of instrument-tests, and a case like class MainActivity is using A.getA() in its onCreate() then, how do I mock that ?
 
you mock A and tell it to return whatever you want when someone calls getA()
 
where, A.getA() is a static method.
 
oh ok
do you use mockito
 
And I dont want to use PowerMockito.
Yes. I am using mockito, and it cannot mock static methods.
 
powermockito is an option, other option is basically what you were talking about just now
to define a test specific class that replaces the real one
but tbh just use powermock, it's so much easier
 
12:50 PM
uhm, that is what I am confused about. Its not test specific. That A.AContract class is in the real code, and while testing, I am simply mocking that AContract class, to return a mock of A when AContract#getA() is called.
 
ok, so that is an interface? That is fine
 
This approach removes the static methods in A with AContract class which would call the private constructor of the A class. This AContract class will be instantiated and instance will be held. Each time you want the object of A, you use AContract instance and calle getA()
Am I making this really confusing ? should I try to add some code to the question ?
 
yes add it
 
Back~~ :3
 
Front~~ :3
 
user443346
12:57 PM
o/
 
\o
 
Hiya Mauker, Jordy!!!!! :D
 
Hey wompah!
how's it going?
 
3 hours ago, by W0MP3R
Guess who has two thumbs and is dying 'cause has to migrate an ancient thing to another not so ancient thing ;D
 
user443346
My name is Jordy of house Castelijns 2, 2nd of my name, the frikandel speciaal eater, best friend of CF, downvoter of questions, personal joker to the world, and the not-so-protector of the realm .. ( ͡° ͜ʖ ͡°)
6
 
1:00 PM
your face looks broken on my screen
10
 
user443346
Not just my face, my life
 
XD
 
why so many stars?!?!
 
because there are more people here than you think
 
@Jordy Identity theft is not a joke, Jordy! (ref twitter.com/dwightfalse/status/530185397628727297?lang=en)
3
 
1:02 PM
@geisterfurz007 Spooky
 
vanishes
 
welp, work time
 
*has one answer accepted on stack overflow*
 
test
 
failed
 
1:08 PM
@Mauker did you build the app regarding the picture of a chat app
 
This question was somewhat confusing
ChatSE?
 
2 days ago, by Mauker
user image
how did you get that app
 
I'm a contributor
 
yeah confusing question
okay so you built it yourself
from the github repository
 
yes
 
1:11 PM
just curious. I don't have time with mid terms to mess with it but would like to try it out eventually
 
yeah saw the link the other day
 
cc @TimCastelijns because Kotlin ^
 
@AdamMc331 oh wow
 
@TimCastelijns: https://gist.github.com/ZeekHuge/754c0e81330e8af7610ec8edc3bc2ca8
Part1 describes the problem (That I would not be able to mock A when instrument-testing MainActivity).
Part2 proposes a solution.
 
1:16 PM
@AdamMc331 "thru" sorry cannot take this author seriously
 
lmao
tru tru
 
o/
 
\o
 
Also, I wrote a post on setting up tooling that mentors can send out prior to Android workshops, so students can get ready ahead of time and the workshop can focus more time on Android content.
 
I robably should "read" more code then write.
*than
*probably
 
1:25 PM
@TimCastelijns it's because he is from poland? racist!
 
Gah
 
user443346
@MehdiB. But I'm Jordy Castelijns 2
 
Alright, you convinced me
 
#notOurJordy
sigh
 
1:58 PM
@ZeekHuge honestly to me it looks a bit weird. Your code should not be aware that it is being tested, meaning your AContract should not be there
but I'm no expert, just do what works for you
 
@Jordy xD
@AdamMc331 nice article
 
2:15 PM
@Jordy damn I missed you yesterday
You were required
 
@TimCastelijns: Okay. Thanks !
 
user443346
2:54 PM
Sorry lads, I was sick yesterday
 
user443346
So I slept a lot ^^
 
Is it possible to cast "leave open" vote?
 
@Jordy okay now?. same here although i am not sick only face pain - a lot better today
yes it should be possible.
i am not sure of the reputation limit for that though
 
3:32 PM
It's possible from the "Close votes" review queue, but not on arbitary question
 
@Jordy oh get well soon
 
user image
6
 
Happy 7th birthday to Tristan, a very special member of the Trump family!
5
lmao mauker
 
Happy birthday @Tristan
I was faster lol
 
hahahahaha
 
3:38 PM
Lol
Who the fuck is this Tristan guy?
I only knew ivanka trump
 
@Tristan introduce yourself to CF
 
Sounds like he is a grandchild of Trump.
 
Hmm from the looks of it
 
3:52 PM
CF shit has been fixed
 
man must be nice to get a personalized birthday tweet from your hero
 
Time to go~~
Cya later people!!!! :D
 
See ya wompaaaaaaaah!!!
 
4:18 PM
@MuratKaragöz i.imgur.com/iy9RfD9.png
 
@MehdiB. lol what
 
about the new Jdk11 license
people will just move to open jdk, gonna be tough for the enterprises though
 
oh noes
 
whta is up with the circle avatars in here
I feel like I need one now
 
@Dave ^ one of us
 
4:24 PM
I need to rebuild my circle generator
Someday...
 
trump wished you bday
 
4:52 PM
Good evening. How do you solve the problem where a non-context class needs Android resources?
I have a config object with 5 final members, and that object should also have the two display text strings I think. Re-calculating the display text in every fragment where I want to display the configuration would mean duplication of code x 3.
do you pass the resource object in the ctor, or to the getters which dynamically calculate the String members if they're still null?
 
hiii
xD
 
hi
 
@MehdiB. What changed?
 
the jdk will no longer be free, gonna be on a monthly subscription model
 
5:08 PM
@eski true
@Mauker great when are you guys releasing the app?
also when are you messaging the fabric key to me -_-
 
posted on October 02, 2018 by Joshua Baxter

Android Studio 3.3 Canary 13 is now available in the Canary and Dev channels. If you have Android Studio set to receive updates on the Canary or Dev channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on Mac). Otherwise, you can download it here. This update includes the following new features and changes in behavior: You can

 
@MehdiB. the open jdk will still be free right?
or there is something new now
 
Good Morning, Android!
 
Morning CA
 
5:24 PM
Wait, is it "already" morning or "still" morning in the US? rotates a globe in his head
still
 
its still morning depending on the place you stay in US
 
It's evening in Germany, that's why I was confused
19:25 (or as Americans say, 7:25pm)
 
its night here
 
@MehdiB. that's a great way to commit suicide
 
@TimCastelijns I think the same trick did work for Oracle Databases though. From Oracle 10 to Oracle 11
Or 11 to 12
 
5:29 PM
it's a peculiar change, considering the open source world we live in
 
well as far as i am aware open jdk is still free
so doesnt seem bad at all
 
@LWChris already AND still
 
Microsoft bought Xamarin, made it Open Source. Made the compiler open source. Made a Visual Studio Code Community version for free. Developed VS Code for free. Oracle walks the other way.
 
@LWChris some of us Americans understand the 24 hour clock...
@MehdiB. link?
 
@Code-Apprentice Google "Java SE subscription" for information :)
 
5:35 PM
what is the time there?
 
It appears that Java SE Subscriptions is already a thing: oracle.com/technetwork/java/javaseproducts/overview/…
but doesn't seem to preclude the free JDK download...
 
@ColdFire Where?
 
in americaland where else?
 
There are 4 timezones in america
so it's anywhere between 10:43 am and 1:43 pm
 
yes i know i am asking in your timezone CA
 
5:54 PM
it's 11:53 here now
 
@ColdFire I told you twice to remind me on fb lol
I won't send it here
 
dude why you need a reminder just message me on fb already
you mauker
 
so everyone is contributing to the chat app?
 
!dave
 
5:59 PM
:D
 
@ColdFire contributing to the chat app?
 
yes
 
cool. let me see if i can also contribute.
i just downloaded the repo. you require the frabic key
 
hello guys
 
hello
@Mauker why not? I don't see any problem in posting a secret key in a public forum...
 
6:11 PM
:O you guys also connected on fb too
 
nope not all of them. i been here what like 1 and half years or so..
few of them here for long and they are also connected on other social platforms
 
hmm
 
6:30 PM
@Code-Apprentice back when my Jr Dev was still an intern, he got hit with a $1k + AWS bill because he published his AWS master key in a public github repo. He got roasted for weeks. thankfully AWS reversed the charges
and it was a personal account not a company associated one
 
@DaveS holy crap
 
Fabric is free though. And nobody cares about your key xD you can pull it from the apk anyway
 
hmmm
 
@Code-Apprentice oracle.com/technetwork/java/javase/terms/license/… License Rights and Restrictions section
 
Yeah, nothing stops you from using your own key
 
6:37 PM
 
But then again, it would be a mess to have lots of unkown apps on your acc
 
@TimCastelijns yeah! imagine the thousands of proprietary apps out there, tbh it's a nightmare
@ColdFire yes, but a lot of APIs are only on the Oracle JDK (most of which only the enterprise uses)
 
> You may not: use the Programs for any data processing or any commercial, production, or internal business purposes other than developing, testing, prototyping, and demonstrating your Application
 
6:43 PM
Honestly this move is going to make me deliberately avoid any oracle product, forever while continuing to use open JDK / opensource java
 
@DaveS I remember you posting about that previously.
@MehdiB. that just looks like the tos and doesn't say anything about a subscription. The link on the side to oracle.com/technetwork/java/javaseproducts/overview/index.html seems more apropos
 
I'm hungry
 
I'm mauker, nice to meet you Hungry
3
 
@MehdiB. Oracle says they are working to make open jdk equivalent to Oracle jdk
 
It's not nice to mock people @Mauker
 
6:49 PM
!mauker
 
Mauker, plz.
 
that's a lie CA, no point in Oracle JDK then
 
@Code-Apprentice not sure what would be their gain in that case
 
Oh I believe you CA, I don't believe them
 
6:52 PM
okay, that's a valid point...just wanted to provide correct attribution and support to my claim ;-)
 
@AdamMc331 I need food, buy me some plz kthx
 
you forgot to say bye
 
> As announced last year, Oracle now provides OpenJDK builds under the GPL+CPE license with plans to make them functionally interchangeable with the Oracle JDK by the Java SE 11 launch in September, 2018
 
Oracle is struggling hard on their business, since they missed the shift to the cloud
 
6:53 PM
}
;
)
 
Most of their revenue comes from Oracle DB
 
hmm...did Java 11 already launch?
I'm still back on Java 7 with my Android development
 
@MehdiB. INSERT money INTO oracle
 
Hey CA, have you heard of our lord and savior. Kotlin?
 
6:54 PM
nope
what's that?
 
😂😂😂
 
@Code-Apprentice kotlinlang.org
Glad to help CA
You should also know a friend of ours, @AdamMc331 - The Kotlin preacher
 
maybe I should make kotlin a priority to learn in the near futur...
 
Kotlin is a great new way to write code in the JVM. No more shitty Java, just fun. clean Kotlin! Try free today at kotl.in!
 
just files full of fun
 
6:55 PM
so many things to learn and so little time to learn it all
 
Relatable
 
But.. but... CA. Have you heard of our other lord and savior? Flutter?
 
Oh boy, that I want to learn
 
It's honestly really nice
 
Java is not going anywhere anytime soon. At the end it's not like individuals used Java in their personal projects :D
 
6:56 PM
Flutter page:
> Note: If you’re in China, please read this wiki article first.
 
yah, these things come out too quickly to keep up with it all
 
That's gonna hit the entreprises hard though
 
China team strikes again
Gah, know what, I'll give flutter a try
HEAR ME @AdamMc331??
 

« first day (2908 days earlier)      last day (2048 days later) »