« first day (3333 days earlier)      last day (1612 days later) » 

2:38 AM
LIES
 
2:54 AM
LIES?
 
LIES
 
3:23 AM
hello
 
LIES
 
3:45 AM
Morning sweet December!
 
not LIES
@AlexRivas Good job bypassing the rep limit with a site association bonus. Welcome! Please read, confirm reading, and follow the room rules before you do anything else: room-15.github.io
 
4:04 AM
@RaghavSood not LIES is rarest word I ever seen from you.
 
LIES
It is two words
 
 
1 hour later…
5:38 AM
I have acquired too many kebabs
@AlexRivas Your access was revoked for not responding in 30 minutes. Please read, confirm reading, and follow the room rules before you do anything else: room-15.github.io
 
6:01 AM
You're going to want to read the rules
2 messages moved to Trash
 
6:16 AM
@AlexRivas Access revoked for failing to read the rules, try again after a minimum of 24 hours.
@AlexRivas It has not been 24 hours.
 
 
3 hours later…
9:29 AM
thanks tim. i feel this is harder than leetcode problems.
 
Tim
9:44 AM
normally 1 to 10 are easy and then 10 to 25 are impossible
 
hmmm.
 
 
3 hours later…
12:49 PM
3 hours later...
Any data-binders here?
 
Tim
ew no
 
Tom
1:08 PM
o/
 
Data-binding good. FindviewById bad.
sup Tommy
 
Tim
1:19 PM
Good joke
 
I think data-binding is going to replace Compose :O
 
Tom
1:52 PM
so, first 100 will get points...
 
 
2 hours later…
Tom
what is the main difference between 3.0 and 4.0?
 
Tim
3:48 PM
not a single clue
 
posted on December 01, 2019 by CommonsWare

Android 10 is greatly restricting access to external storage via filesystem APIs. Instead, we need to use other APIs to work with content. This is the sixth post in a series where we will explore how to work with those alternatives, starting with the Storage Access Framework (SAF).

 
4:31 PM
@Tim are you doing it in Rust?
 
Tom
great, 3 dashes make em dash in markdown!
 
Tim
I tried
well actually I succeeded in part 1 but then I was so tired I quit
 
you just quit for the day hopefully :D
 
5:14 PM
posted on December 01, 2019

Android Weekly #390 🤖 #outlook a{ padding:0; } body{ width:100% !important; margin:0; padding:0; } body *{ -ms-text-size-adjust:none!important; -webkit-text-size-adjust:none!important; } body,.wrapper{ background:#ffffff; color:#505050; font-family:Arial, sans-serif; font-size:12px; } table,table td{ border-collaps

 
 
1 hour later…
Tim
6:16 PM
@MehdiB. I may already have exhausted my 30mins experience with rust lol
I had so much trouble to just parse the input
 
6:44 PM
@Tim XD
I think the learning of the language should be done by on a brute force first, then learning the idiomatic way of doing :D
 
Tim
7:20 PM
I like to at least know some basics past if else xD
 
LIES
 
7:35 PM
tim XD
@RaghavSood did you have a nice weekend? :D
 
7:53 PM
No.
I am still scheduled to be homeless in ~3 weeks
 
I don't think winter is the ideal season to be homeless...
 
Well, it is summer in NZ, so there's that
 
did your contract expired and the landlord didn't renew it?
 
It expires towards the end of December, but they can only renew it till February at my current place - and I'm travelling before it expires, so I have less time anyways
And December isn't an ideal time to find a new flat, since most people have already shuffled around when the semester ended
 
sounds like you have a couple of rough months ahead
 
8:06 PM
I'll manage
Worst case scenario, leave the country and never return
That'll show 'em
Spend the next 10 years mailing the city council copies of my payslip so that they know all the tax they missed out on by not having a better housing situation here
 
8:19 PM
I know this is android chat not JS chat but i figured I'd ask anyway. I am thinking of taking a class on web development at Stanford University. I wanted to get your opinions on it. Heres the syllabus. To me it seems a bit rudimentary which is good because I'll probably know most of it and get a good grade but bad because I won't learn much.
 
Will you get credits that count towards your uni degree later?
 
Yes. And when applying other schools will see it (I will probably not be applying to stanford)
 
Do it
There was almost nothing in my uni courses that I hadn't covered myself before, but being able to coast through it and get reasonable grades while also benefiting from a more formal approach to things helps fill up gaps self learning leaves
 
Ok. Thats good.
 
And having more credits going in leaves you with more options to hit the ground running when you start uni, so you can take more courses you want to vs. courses you have to
 
8:23 PM
true true
I guess I can continue with my own stuff while I'm there so i can still be learning
thanks
 
LIES
You must commit fully to the educational system
 
8:38 PM
I am also looking at other schools with other programs. Would you suggest taking something that I already know some stuff in (similar to that web class) or something I have basically no knowledge in (like Swift)?
 
If you can, take more science-y stuff over languages or frameworks
It is much easier to learn swift on your own than learn algorithms or internet routing or whatever
 
Yeah but algos are hard
 
Tim
that's why you should study them
language or framework might not be relevant anymore when you graduate
 
Can you give me an example of what algos you mean? Like cryptography algos?
 
Tim
quicksort!
 
8:48 PM
I know the basics of quick sort but most langs have a sorting algo built in. And if it doesn't a lib has one that has it.
And idk. I don't really have an interest in that. Its too mathy and boring.
crypto is a bit more interesting
 
crypto is not too mathy?
 
It is, but at least its more relevant to my interest, cyber security.
I rather learn about it abstractly tho.
The Advanced Encryption Standard (AES), also known by its original name Rijndael (Dutch pronunciation: [ˈrɛindaːl]), is a specification for the encryption of electronic data established by the U.S. National Institute of Standards and Technology (NIST) in 2001.AES is a subset of the Rijndael block cipher developed by two Belgian cryptographers, Vincent Rijmen and Joan Daemen, who submitted a proposal to NIST during the AES selection process. Rijndael is a family of ciphers with different key and block sizes. For AES, NIST selected three members of the Rijndael family, each with a block size of 128...
"Description of the ciphers" section is too mathy
I could be wrong but I don't think its necessary to learn for what I want to do. I don't want to be inventing algos.
 
imho, when you get into a field, you get the whole package, there are things you will prefer but you shouldn't neglect "understanding" the rest, even if you're not gonna do it yourself it always helps understanding the underline concepts
 
Ok.
thanks
 
@Opriday Welcome! Please read, confirm reading, and follow the rules: room-15.github.io
 
9:01 PM
HI thanks for letting me in. I have question about camera access in background services do you think It's a good practice. PS: I am doing work on one of my client and he has a requirement then camera should work while interacting with other app something like google navigation map when you minimize app then samll screen appear on the mobile so you can interact with apps.
Mehdi I have read the github.io file. thanks.
 
can you re-read it slowly please? looks like you missed something
 
sorry I didn't get you.
 
the rules, read them again please
 
To be honest, as a programmer I always skip theory! It's hard to read with attention. May be you could answer men of above text If you don't I will leave the place no troubles ;)
 
Tim
it's like 5 lines, I think you just don't want to read it
 
9:05 PM
@JBis I'd do generic algorithms and data structures before approaching crypto - a lot of the CS side of crypto algorithms comes down to working with data structures in an efficient manner, so if you just learn the math theory part you'll be missing a whole side of the CS implementation side
 
Can you use internal storage to pass data from one activity to another activity (supporting a different view)
 
I have read and understood the rules!
 
@JGrindal yes
@Opriday no
 
Like, store values of something in internal storage and then access it with other activites/views.
 
@JGrindal there is this thing called shared preferences
 
9:08 PM
@IvanMilisavljevic I'll check it out
thx
 
also serialization/desertification is something you should generally avoid on android because IO on android is kinda slow
 
@RaghavSood Do you think, if my goal is not to be so low level that I am writing algos, it is worth it to go that route?
 
and for the camera practice, its really bad idea to have camera opened in the background
 
@MehdiB. you are just checking that either the person has read the rules or not. No offense my friend just want to ask :D
 
Yes, you should have at least a cursory knowledge of low level stuff, similar to what you'd get in undergrad courses
 
9:09 PM
@IvanMilisavljevic OK, so using the Intent's putExtra is probably the best route to pass data between activies
 
ok
 
It affects everything you do at a higher level, so you should be aware of things
 
What if the client the demand is . I have done that part and have achieved very postive result but still I have question in my mind.
 
@JGrindal yes but you have 1mb limit
 
@Opriday yes, amongst other minor things
 
9:10 PM
@Opriday tbh its your job as android expert to convince him thats not really smart thing to do
 
alright
 
Okay thanks for the valuable opinion.
 
thanks for the suggestions
 
@Opriday no probs
i bought a chromecast today
 
I think maybe i'll take more of those types of courses once I am in uni
 
9:13 PM
Jbis? can I ask somehting
 
Sure...?
 
Are you still in the university?
 
No. I am in HS.
 
Is the course is paid which you want to take ?
 
Yes.
 
9:14 PM
Are you good enough with self learning ?
 
Idk. I mean I've come pretty far with self learning.
But its hard to know what you have missed with self learning.
 
Then there is no point of taking paid course. Youtube is the source or some udemy courses. To be honest I have just graduated but I have started learning from the second semester and now I have students. I didn't take any single paid course yet!
There is always room for learning either you are a self learner or someone teach you.
 
However, when applying to uni "A in Course from Stanford" looks pretty good.
Self learning comes with no standard document of completion. As such, it can be difficult to get into a uni making it difficult to get a job.
 
I think big companies are more interested what kinds of algorithm are you working on it and what you did for your protfolio with amazing projects instead of stanford tag :D
we are in practical field :D
 
Look, plenty of people in the tech space have succeeded without a college degree however it is usually easier to get a job with one. Besides, my practical portfolio is pretty good (imo) for a HS student.
 
Tim
9:20 PM
@JBis you might not realize it yet but your hunger for knowledge puts you so far ahead of the rest
 
Anyways good look to you! I was sharing my some experience :)
 
thank you @Opriday. I will keep your experience in mind :)
@Tim thank you :)
but my laziness in regards to other academic subjects puts me behind much of the rest :(
 
Hi tim!
 
Tim
I was like that. I didn't care for anything except computer stuff
I actually never graduated high school
because it was so fucking boring
 
Programmers become by choice never become accidentally. We were 30 students in the class there was only 2 student including me left as a programmer
 
Tim
9:23 PM
back then there were no CS classes or laptops at school
 
there high school still teaches what is mouse and keyboard. lol ;)
 
The way I see it is the following: I want to go to Uni for two reasons. Firstly, it makes it easier to get a job (debatable but whatever). Secondly, for the experience. Besides education there's a lot of fun stuff to do. While I am in university, I might as well take classes relevant to what I want to do, so its not a complete educational waste.
@Tim A lot of people (on SO at least) seem to have a similar story: either didn't graduate hs or (more often) college. Its very interesting.
Many offer the same advice, that much of uni is pointless educational wise.
I just don't want to take a chance.
And as long as I keep up without my self education, it shouldn't be a problem.
 
Uni is fine if you know what you want out of it - if you just need a degree, which is a reasonable goal, you should aim to go in with as many credits as possible and get out sooner rather than later
If you intend to work in more research intensive settings where having a PhD. etc. is more helpful, then you need to work harder and make sure your grades support that
 
What is the difference between putExtra of the Activity class vs the putExtra of the Intent class?
 
Only the second one exists
 
9:31 PM
Nevermind, I'm a dummy.
 
hi
o/
 
@MehdiB. well that's a pretty compelling difference :P
 
@JGrindal yes, that invalidates the question, you can move to another topic to learn with a peace of mind :D
 
@RaghavSood what did you take in uni, if you don't mind sharing?
 
Just the regular stuff, Algorithms, internet routing, data structures, human computer interfaces, databases, artificial intelligence, graph theory, crypto, discrete math etc.
You can't really change it up much at an undergrad level
What you can do is plan ahead and minimize the time
And plan ahead and know if you need an A+ in everything or a C or a B
Figure out what you need
 
9:35 PM
I prob won't go to grad school
 
See, I took software engineering in Uni, so we had less stuff on the theoretical side (no AI classes), and more on the practical side - stuff like unit testing and SDLC
 
Tim
In the end, most of what you need to know you learn on the job. Can only prepare so much
 
@JGrindal has the focus on practical vs theoretical helped or hurt you do you think?
 
@JBis I think so. It goes a long way when you're interviewing for an enterprise software job and can talk intelligently about testing and what it takes to deploy software rather than describe binary search algorithms.
helped that is.
 
thanks, all
 
9:44 PM
OK, so when building the bundle, compiler produces class files, and then those get converted into register-based bytecode which is the actual app bundle. Then the bundle is installed on the device and dex2oat convers the bytecode into machine code for the device.
So where does JIT compilation fit into the ART?
or am I missing something?
 
10:08 PM
@JGrindal yes actually you missed a lot :D
its actually way complex
there is actually a new toolchain thats actually generationg .dex files directly
basically JIT and AOT compilers generate more or less the same code, and you can see AOT as a cache for JIT
it goes like this (more or less)
- load .dex
- check if there is .oat (aot binary for dex)
- if there is no .oat -> run JIT
- if there is .oat -> run AOT (run dex2oat)
but as i said this process is super complex, there is also async jit + idle mode analysis
which scans and runs multiple optimizations when phone is idle and charging
 
10:39 PM
LIES
 
Tim
Yeah those are all lies
 
yeah there is a lie :D
jack and jill toolchain is depricated actually so there is still javac
thats generating .class files which are later recompiled into .dex
 
All this is what Google tells you so you don't find out about the enslaved gremlins they put in phones to do all such tasks
Biggest gremlin rights violation since Intel started selling dual core CPUs before the tech for putting two cores on one die existed
 
tbh thats the only way one could explain ART
a lot of magic under the hood
 
10:54 PM
Here is a more mathy course offered, but i don't think i am that advanced in math
 
Have you covered linear algebra in school?
 
Only basics of matrices and just starting alternate coordinate systems.
So no for the most part
 
Might be a bit more effort then
But none of the topics are overly hard if you generally work well with math
 
No topic is overly hard if your work well enough in math
but I don't know if I reach the "enough"
 
You'd think so, but then you get to all sorts of abstract topics
But for the stuff mentioned in that syllabus, you'll likely be fine if you aren't terrible with numbers
None of it is really abstract, you can find plenty of real world analogues
 
11:01 PM
Ok thanks
 
11:40 PM
Hi
 
LIES
 
Which android library is good for connecting to a websocket?
Please Suggest the libraries you have used before thanks!
If i was away feel free to ping me for answer.
Thanks alot!
 
@mahdiazarm OkHttpClient supports socket connections since v3.5
 

« first day (3333 days earlier)      last day (1612 days later) »