« first day (3328 days earlier)      last day (1617 days later) » 

6:00 PM
XD
 
xD
 
xd
 
6:21 PM
@Ajith you have write access, please start by reading and acknowledging the rules first: room-15.github.io
 
6:39 PM
galaxy brain: solving permission errors with chmod 777
 
Welp, it works ¯\_(ツ)_/¯
 
back
if you ever feel useless, the hair trimmer i bought with sizes 0-4 comes with a hair comb.
 
@SubrataDas you don't have enough rep to talk here, we require 80 minimum.
@Ajith since you didn't acknowledge the rules, I removed your access. Try again later if you actually want to chat here.
@Code-Apprentice just don't do that on any of the device interface "files"
 
chmod -R 777 *
on /
 
yeah that will fuck things up royally and you'll end up having to reinstall the OS
I had a coworker at Amazon do that
 
6:52 PM
really? damn
 
he might have also done a chown
I'm not sure
 
Tim
sudo chown /
 
Carl, you have a nice beard :)
 
7:15 PM
Google made a new "Advanced" Android dev course on Udacity
 
7:26 PM
Ohhh
does it use data binding?
 
@TaseerAhmad what's your feedback?
 
I have not seen one. The course is more orientated towards different topics, like testing, notifications/fcm, firebase login, DI, custom views and etc
I doubt they will not use data binding in the course
 
Tim
FCM advanced. Lol
 
@MehdiB. I recently started it, I am on lesson 2 so I can't really give overall feedback. But I have skimmed the course and it looks 'ok' if you don't know these stuff
 
I'm interested in the testing part along with DI, and also non hello world architecture
 
7:34 PM
Should not take you much time, as of now, DI and testing part takes max 1 hour 25 min
 
Nice, thanks !
 
@geisterfurz007Stopthischaos thanks.
 
7:49 PM
Been a while since Dave and eski have been here, can't even ping them apparently
 
night guys
 
Dave's wife had a baby so he's probably a bit busy
 
Oh! Didn't realise the baby was already due :) congrats to him and his wife :)
 
8:07 PM
Carl, off Friday?
 
Carl-off (noun). a competition the dinosaurs lost
2
 
Would it be possible for a computer to run on only swap?
 
No, you need memory to boot, swap is only available after the kernel takes over and mounts the swap filesystem
 
Why do you need memory to boot?
 
@RaghavSood this is why punctuation is vital
 
8:14 PM
@CarlAnderson chown will definitely mess things up. Not sure how chmod will...other than it allows anyone to then modify or delete files.
 
@JBis you need lungs to breathe
 
@JBis When a computer boots, lower level systems like BIOS (UEFI in newer systems) take over, run things like POST. Even before that, you have stuff like intel ME comes on and starts up the actual CPU. These things require memory and only recognize the hardware slotted memory
 
@CptEric Do I tho?
 
unless you're raghav
 
:(
My lungs regularly give up on me
Collapsed both of them at some point
@codeMagic Carl trumps punctuation
 
8:17 PM
really? sorry
 
@RaghavSood Ok.
 
Nah, you're good :D
 
was more in the line of bots-do-not-have-organs joke
 
the :( and medical fun fact are unrelated
 
Also why in gods name is the history command different than the up arrow?
 
8:19 PM
You could probably write a BIOS that fits entirely in L1-L3 on the CPU, but iirc they also read things only from main memory, not from disk
 
it pisses me off
 
Actually, most BIOS would fit into L3 at least these days
 
Hey what obvious mistake am I making? paste.ofcode.org/QrqVq9PLjUHbjzL3TAJwrK
Like, I swear I got this to work some years ago
It's the smallest fucking functionality and I can't wrap my head around it
Few years Desktop Dev and I don't understand how android works
Also Raghav is definitely probably an android
 
@Squirrelkiller Can you make a more complete example while keeping it as minimal as possible?
and also explain what you expect the code to do and what it actually does
 
That's how you get dead squirrels, C-A
 
8:24 PM
Sure, just a sec
 
@Squirrelkiller why the name :( I like squirrels
 
@Squirrelkiller LIES
 
@JBis Nobody ever implies I might kill using squirrels
Have you thought about that?
Solving the worlds problems, one human at a time
 
You'd still get dead squirrels mostly, they're not terribly durable
 
Same reason why "KnifeKiller" doesn't imply I am using a knife to kill.
This guy probably goes down the road aming for them squirrels. Evil.
 
8:27 PM
Tried to make an MCVE.
 
@RaghavSood never underestimate a rodent's capacity to cut trough your neck's tissue
 
Got dem claws
 
teeth are worse
 
Also have you seen a squirrel run up a tree, in a spiral? These fuckers are agile.
 
@Squirrelkiller thanks, that definitely provides a lot more context. It's obvious now that you are in a Fragment subclass. Not sure that I can be much help, though. I'm really rusty with Android and know nothing about Kotlin. I think the next piece of info anyone will need to help you is: what happens when you run your code? And what do you expect instead?
 
8:30 PM
The first Log.e goes to LogCat, the three "Looper" Logs don't appear in the LogCat. I expect all the Logs to log to LogCat.
So the polling seems to start, but then nothing seems to happen (or at least my logs don't arrive).
Also Kotlin does the same as java, just in...streamlined.
 
@codeMagic yes, I'm off on Friday
@Code-Apprentice it was ~11 years ago so my memory is a little fuzzy
 
is run ever called?
 
I can't even tell
All I know is, StartPolling gets called.
 
Sounds like you need a breakpoint
 
Sounds like a good idea. See, that's what I came for. Showing me how stupid I was being.
 
8:34 PM
@CarlAnderson That seems like recent history for you, old man ;-)
 
Damn, doesn't even hit the breakpoint. Guess I gotta experiment a bit.
 
that's why it's only a little fuzzy
 
GF brought me food brb
 
Why the hell is Caused by: java.lang.ClassNotFoundException: Didn't find class "kotlin.jvm.internal.Intrinsics" on path: DexPathList only logged at the INFO level??
 
Caught, handled, and now unimportant exception maybe
 
8:53 PM
or maybe compiled with an older kotlin version when using a more recent feature
 
Oh shit I solved it, and it doesn't make sense to me why it works now, but it does.
All I changed is: view!!.postDelayed (Poll(), 1)
Instead of post, I'm using postDelayed, and it works.
 
9:05 PM
@Squirrelkiller not sure what are you trying to achieve but this seems like a code smell
 
It's just for debugging purposes actually
 
very stinky stinky code smell
in that case is fine
 
Otherwise I would absolutely agree, very stinky code smell
 
9:25 PM
Is using a single HandlerThread to perform many computations better than equally dividing those computations to Coroutines?
I am using a single HandlerThread to do the work, it works fine. I was wondering if delegating that work to 3-4 coroutines is a better choice in terms of memory/CPU efficiency?
 
I wish I knew enough about coroutines to answer you.
Also I guess it depends on how much background work you're doing, or more precisely how much it would benefit you to have it done in parallel.
 
LIES
 
Let's say, I have 4 jobs that need to be executed every 500 ms. Each job requires many computations. I am feeding these jobs to a HandlerThread, where each job eventually gets executed. Now, I was wondering if setting up a Coroutine for each job is better
Technically, I don't feel the 'need' to do background work in parallel as they are already being done fast
 
You probably want some kind of semaphore structure if you have more than 1 core
Spin up n coroutines, where n = CPU threads, then have a queue of work which they read tasks off
 
Interesting. I assume I would have to setup GlobalScoped Coroutines since the work lifecycle matches of the app?
 
9:38 PM
I don't know what that means, but sure
I'm just talking about general concurrency good practices
You'll need someone who knows kotlin for the kotlin specific stuff
 
No worries, someone might give a solution to it
 
Kids these days want everything spoon fed to them
 
Ok boomer
 
@RaghavSood until age 3 that's expected, though.
 
Back in my day, we'd read books to learn what we wanted before beep booping the dial up line
 
9:42 PM
back in my day we had books or else.
dial up line? that's too dark magic.
 
Tim
10:15 PM
@MwBakker report for duty
 
Tim
10:28 PM
Windows update got its way again. Is there no way to permanently disable this cancerous piece of shit
 
Switch to linux like a real dev
 
Tim
I only use this machine for gaming
 
Then no
 
Tim
There is this update that cripples my network adapter. Every time this little shit updates I have to roll it back months
 
You can disable some of them
But eventually, they'll come for you
Resistance is futile
 
Tim
10:31 PM
Yep rip internet
Hngggggggggggggggggggggggggggggg
 
Tim
:/
well there we go
starting a new streak of never restarting the PC
 
10:51 PM
Don't worry
Windows will restart it for you
Microsoft knows best
 
Tim
oh yes
the system is going to award my 500 bounty to an answer that makes no fucking sense yet got accepted by the original asker and miraculously now got an upvote too
well it's gonna award half of it in 24h, cause I'm not gonna
👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏
2
 
hahahaahahahaha
I just read the answer, it's like OP just wanted to close the topic after the first reaction on his post, no testing, no question asked, nothing XD
 
Tim
oh thank fuck it requires 2 upvotes for automatic bounty award
 
@raghav you got dethroned ndtv.com/india-news/…
2
 
Tim
yeah maybe, I don't know man
> My biggest inspiration for joining a software company is Tanmay Bakshi because he got a job in Google at a very young age as a developer and is helping the world understand how beautiful the Artifical Intelligence (AI) revolution is
found raghav's real name!
 
11:03 PM
hahahaha
that prodigy kid to raghav:
user image
2
 
Tim
XDDD
what a way to cheer me up
 
Hahaha
Our generation is messed up XD
 
I have consolidated my power in other circles, worry not
Random kids pose no threat to me
 
Sounds like you're taking precautions, is this fear?
 
No, mostly corruption
Gotta rig the game to ensure you win
 
11:14 PM
Nicely written, this guy came from far to get his point across :D
 
Imagine being so disappointed by your twitter audience that you have to write an article to make your point instead
(@Ahmad)
 
"I can't believe people from Twitter were being snarky"
Because people must have guessed from coffee that he was making a point about latency and throughput
 
I mean, posing the question as he did, I'd think along those lines
Then again, I spend a lot of time optimizing away day to day inefficiencies
But it is not enough
Still too much pointless stuff in life
 
@RaghavSood any chance I can borrow some of your organs, need more RAM
 
No.
You don't deserve it
 
11:19 PM
Why not?
 
Your work is irrelevant to The Cause
user image
2
 
Damn XD
 
Mr. Singularity over here thinks he deserves more ram than me :(
 
LIES
I know I deserve more RAM than you
Think ain't got nothing to do with it, bud
 
Question, there's two internet plans offered for something. One is streaming one is non streaming. Do you think they are just two different throttling speeds or one blocks streaming sites?
 
11:27 PM
Sounds like you need to ask the service provider
 
Whatever I'm bringing a router so I don't have to have pay for multiple plans
 
That's... not how routers work
 
yes it is
 
You'll still only be able to use what you're paying for tho
So if you can't access streaming sites, a router won't change that
 
bandwidth wise yes, but devices wise no
 
11:31 PM
(unless it's the world's dumbest block that blackholes DNS etc. and can be bypassed by setting alternate DNS servers)
(but that can be achieved without a router too)
 
router to bypass device limit. And then ssh tunnel to bypass internet blocks.
if bandwidth throttle, I can't bypass that
 
Depending on the router you have, load up ddwrt or openwrt and set up wireguard/ssh tunnels on the router itself
Then all downstream devices are automatically grandfathered in
 
oooo, I like that. Thanks.
as long as they don't have dpi
 
That's what I do when travelling
 
but who has dpi
 
11:33 PM
Remember to have a mode that lets the router connect to your parent network without the VPN/tunnel configs so that you can clear any gateways etc, then enable it once internet is established
 
will do
 
My set up has wireguard + stunnel, never had issues with DPI
I mostly just use wireguard tho, almost no one has DPI
Except my uni
Because they're committed to making sure I never want to come back here once I'm out
I also keep a tor option for... reasons
 
You can still get around most DPIs with encrypted ssh handshake, but it's a pain in the ass to setup
 
stunnel looks just like normal SSL to DPI, so they don't block it
The downside is that you lose a fair bit on latency and throughput
But it beats having no throughput at all, so eh
 
why? Doesn't it just encrypt the handshake?
 
11:37 PM
No, it provides a fully encrypted TCP/TLS connection
You'd do something like: Have your regular wireguard set up, say on port 2048 on your server. Have an stunnel set up on port 2049 on the server, that forwards locally to 2048
For networks with DPI, you can connect via your stunnel, so to the packet inspector it is just a normal SSL connection - wireguard runs inside that tunnel
Bonus points if you set up stunnel on 443
 
Ok. That sounds like it should fool all DPI.
 
It is still detectable since pretty much all traffic from your machine will go over exactly one connection to a single destination, which is non-standard
But unless you're in a super paranoid network, no one is really going to stop you for that
Just tell them you're streaming 8k videos if they ask
 
What do you do for airplanes? I usually watch what mac address is sending and receiving most packets (figure they bought internet) DeAuth them until they give up and then take their mac address. But thats kind of a dick move.
 
I usually just pay for it and VPN out
It's not really worth the hassle to spend 40 minutes hoping someone else pays for it
And it's not all that expensive
I only bother on flights >6h tho, anything less and you're not likely to get much done so I just work on offline stuff
 
On long flights it may be worth it. Apparently on older flights you could use a fake credit card because they couldn't actually make the purchase and check if it went through until they land.
 
11:43 PM
That mostly only works for the in-flight drinks/cart purchases, the internet ones are processed over the... internet
Are you 18 yet?
 
@RaghavSood i don't have that because i have great followers
the best
 
@RaghavSood No.
 
insert hand sign emoji
 
@RaghavSood I meant for movies on older flights.
 
@JBis Once you get there, a bunch of US credit cards offer free wifi access for a bunch of the domestic services
 
11:44 PM
Each credit card has their own benefits.
 
Yes, just optimize for what you need
 
May have said this before but that reminds me of the guy who realized that he could buy $1,000's worth of $0.50 coins from the US treasury website at exactly $0.50, so he would max out many credit cards and get all the benefits without spending a dime.
Treasury fixed that tho.
 
You can still do similar things for a relatively small cost
If you do it too much they kick you out tho
I just accumulate points between bonuses/sales/regular spending
Paying tuition nets me enough for a couple of flights
Plus paying server costs for the company and getting reimbursed works out well
 
how old are you again?
 
Who knows
 
11:49 PM
ah so you are around 30
 
Maybe, maybe not
 
Anyway, thanks for router ideas. I gotta see if my router is compatible.
 
Playing Rocket League with @MarkO'Sullivan at twitch.tv/sirhype
2
 
LIES
:47951129 not LIES
 

« first day (3328 days earlier)      last day (1617 days later) »