« first day (3476 days earlier)      last day (1471 days later) » 
01:00 - 20:0020:00 - 23:00

mr5
1:53 AM
@IvanMilisavljevic @RaghavSood thanks for the input yesterday. Turns out you guys are correct. Google PlayStore is re-signing the app with different keystore/certificate as the one we have locally.
It's a shite 2 week for me.
 
@Taseer That's enough, you'll basically never need to implement it yourself
@mr5 We're usually correct, more people should just take our word for it
Glad you got it solved tho
 
mr5
It's hard for me to determine since I am not the one who configured its PlayStore and I have no idea what the App-Signing section in PlayStore was for until now.
 
I haven't even touched the Play Store in years now :D
I just do a lot of signing
 
mr5
automated by CI?
 
2:16 AM
Mostly other forms of signing, not Android
CIs are for people who are not bots
Don't nee 'em here
 
2:42 AM
@RaghavSood thanks, i messed up my gits again
 
 
2 hours later…
 
2 hours later…
6:52 AM
Happy birthday @MuratKaragöz ! Enjoy your special day
 
7:12 AM
oh, is it today?
Happy Birthday @Murat :)
 
Online since 22-04-2020 07:13 (UTC). Running on develop@355b70d. Uptime: 0h
 
7:25 AM
I'll likely get to the bot on the weekend, sorry Mehdi!
 
7:40 AM
o/
 
Danke :)
 
Happy birthday dude
 
@RaghavSood no worries! and no rush
 
8:09 AM
worries
 
Happy birthday Brotein
 
Tim
8:46 AM
happy bday brüder
 
nerd
 
 
1 hour later…
10:13 AM
This was the most starred message last year on this day:
Apr 23 '19 at 7:02, by W0MP3R
Mehdi!!! you are an italic person now!!
 
Tim
man, has it been a year already
 
I wanna cry... 😭
in my mind it's still max 6 months ago
 
10:27 AM
Happy birthday Murat
 
11:10 AM
I tried to do dual-boot Windows and Linux, everything went well until Linux installation. Man, I suck.
At least I did not lose my data. But I would have to re-install many programs
 
It's 2020, just use Linux like normal people
 
I know, Linux is good, Windows is retarded, but I can't seem to dual boot
 
Why do you need Windows at all?
 
For gaming, ofcourse
 
for gaming
 
11:14 AM
Just buy a separate gaming machine
Or, more easily, a separate linux machine
Since you're unlikely to need a GPU etc. on linux
 
i used to have dual boot years ago but now switched to linux completely
 
That's what I ended up doing, now I can play games whenever I want, have the time, and am physically within reach of the Windows desktop!
So, about never times per year
 
It's the UEFI mode messing it up
You are right, I need to get a different work machine
I don't want retarded laptops anymore
 
my laptop has windows i use it rarely and the battery goes out within an hr of use.
 
I am not sure if I want to build a PC by buying parts from local stores
 
11:16 AM
You can always make the parts yourself
 
Ryzen 3600 costs like 70K here
 
Semiconductor manufacturing is a well defined problem
All you need is a few billion to get started
 
Sure, I should go to a desert, find a suitable patch of soil, dig it up, set up my own manufacturing facility, hire employees, work on R&D and create a CPU just for my own use, and finally disband everything
Seems like an efficient idea
 
Certainly more fun than going to a shop
But why not just put windows on your current machine and get a good laptop that doesn't need to meet gaming specs for your linux install?
Clearly, since you attempted to dual boot, your current machine can handle the games you intend to play
 
The 'good' laptop always come with parts that I don't need
I want to make a PC
 
Tim
11:23 AM
isn't the dual boot breaking the boot a common problem? Just fix it
 
@Taseer Such as?
 
For example, my current work don't require GPU but a fast CPU and a 'fast' CPU in a laptops are always crap
I don't even more around my work machines
 
You're vastly overestimating your needs
 
The best probably I could afford right now is to get some quad core i7 in a laptop but they don't provide enough performance boost compared to current
 
For the vast majority of people, there will be no appreciable difference in a laptop CPU and a desktop CPU, especially outside of CAD/gaming/video rendering etc.
I have an i7-8550u in my laptop, I think I've hit 100% CPU maybe 5 times in the last two years
My alt laptops range from celerons to second gen i3s to 10th gen i5s
Basically never feel a difference
They're more than sufficient for web browsing, compiling, etc.
These are my current primary laptop specs - it'll easily last me another 2-3 years
 
11:27 AM
i have had problems with gradle with cpu reaching 100%
 
Usually wish I had opted out of the 4k display and GPU, actually - GPU is now disabled in bios since I don't need it, and the 4k screen just drains battery without much benefit
 
That's 'almost' same specs as my current lap
I am probably over-thinking
 
You are
Get a nice, linux friendly laptop (so no fingerprint sensors, at least none that you want to keep functional), and use it
I'm super happy with the Acer Swift 5 actually, super lightweight
 
@Tim I installed Windows on a different partition of HDD and Linux on SSD, I clean installed Linux on SSD but it messed up some partition config and the laptop could not detect drives separately
 
Pity I still have to carry my T580 around since that's a prod machine only
@Taseer With UEFI, you generally want to install it so that Grub or your linux bootloader is the primary option
It'll then detect your Windows Boot Manager as a bootable option
So from the grub screen you can select linux, or Windows Boot Manager and then boot Windows
It's not hard, but you do have to install stuff in the right sequence
You'll also need to disable fast startup on windows, in some cases
 
11:35 AM
After I installed the Linux, I could not add it's GRUB to trusted execution because it was only showing HDD0 and HDD0 options both having some gibberish inside it
It was Pop OS and on install I enabled encyption
 
You usually need to disable secure boot
 
If I turn it to Legacy, Linux can boot but Windows cant
 
Might need to reinstall windows after changing to legacy
 
Man, I had my own desktop with i7 4700 back in '15, wish it was still with me
@RaghavSood I mess up with the sequence
 
12:00 PM
Marian Paździoch requested access. Rep: 6793 - Questions: 121 - Answers: 115 (ratio 4:3.8)
 
Hello everyone.
 
!accept
 
@MarianPaździoch welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
why are access request sometimes starred? 🤔
 
I hope you all are in good health. Has anyone worked on gitfit? google API for fetching step count in kotlin ?
 
12:03 PM
We have a rogue agent who is starring the access requests
 
@Ricardo & @BholendraSingh, you currently do not meet the requirements to join the room: room-15.github.io
 
Anyone worked on this com.google.android.gms:play-services-fitness?
 
@MarianPaździoch can you please re-read the rules? we do not allow code snippets in the chat as explained in the rules
 
I have read and understood the rules
 
thank you & welcome! :)
 
Tim
12:10 PM
hello newcomers
 
When I start camera to take a picture for my app, just like in the examples here:
https://developer.android.com/training/camera/photobasics
We're giving the file to store the captured image into.
Is it always safe to assume that Android will obey what file type I gave him and appropriate data will be filled in that file?
 
I did work one time with the camera last year, are you getting some error?
 
I'm not getting, because on my device I'm getting jpg when I'm asking for jpg... but of course in Android you can't be sure that something is true unless it's written in docs.
 
@MarianPaździoch feel free to post code in gist.github.com or pastebin.com and share the link here
 
Thanks, actually no snippet is needed. The code is quite straightforward in the link I gave.
And sometimes even when it is indeed written in documentation, it could be still false.
 
12:14 PM
XD
 
You have to provide a file extention
This was the code I used last year, create a file, associate it with the desired extension and use it with the camera
 
I know how to give camera the file to store image taken.
I'm asking if Android OS respects data format when it fills image data to that file?
 
I don't remember but IIRC it writes as bytes to the file
 
Tim
12:30 PM
all files are written as bytes
 
12:45 PM
anybody good in solving deadlocks?
 
1:14 PM
Sometimes
Some of my code had a lock contention once
laughs in rm -rf
 
1:26 PM
user image
3
 
 
1:51 PM
deadlocks? what are you cooking that you got a deadlock?
 
Locks are like lobsters, they can't feel pain, he probably just burned it to death
 
2:04 PM
TSLint's logic: "myObj["bottom"] is better written in dot notation" => throws error
myObj.bottom => Property 'bottom' does not exist on type '{}'
 
Tim
:laugh:
 
2:26 PM
@Mehdi heh why tho
Had another meeting with my teamleader "I think you are putting things back on the right track"
 
Tim
niceeeeee
 
thank god all those nights and weekends extra houres are worth it
 
Tim
our dude
what kind of project are you working on again?
 
thanks, I told him I'm doing the best I can
@Tim I have create an application inside an (undocumented) framework that allows a user to build a script from actions that are to be simulated as in keyboard and mouse are taken over
the actions can contain an elementreference to which the mouse has to move to, elements of both visual and logical trees must be compared in order to find this element along with a database registered elementreference
on every action, depening of the type, the user must recieve feedback
for example one script can be to register a person, the application must run that process as automated test
basically it's a pocket automation testing software, pocket because it's internal so it won't need as much data and functions as a 3rd party automationsoftware must have
The reason things went wrong from the beginning is because based on the info online one of the main ingredients of automated software is a spy/recording tool. Otherwise a user must know names or UID's by himself rather than the app collecting that data on press of the element
So I put my focus on recording first: what is registered, what can I compare the visual tree with along with what comes out of the recording?
For some reason I could not let go of this, so as soon my teamleader mentioned: "recorder is not relevant" I was at a loss and we simply couldn't agree anymore
 
Tim
tldr
 
2:40 PM
xD
 
Tim
ok sounds interesting
I think this is how runescape bots are created
let's talk more in private...
 
haha didn't realise that
I also made a script with Winium, I could now build bots
 
Tim
sounds like free lv 99s
 
yo
@Tim he might ask for your address tho be careful
 
@Tim XD
 
2:55 PM
@MwBakker tell in brief man you writing essays
 
@MwBakker because Typescript is strongly typed, so it makes sense to create well defined objects, but it quickly becomes cumbersome when I only need some basic datastructure to store some data in it (like a map)
 
would you recommend ts over js?
 
@ColdFusion a thesis on our school has a wordlimit of 16000, mine had 17100
 
@ColdFusion yes, definitely, it makes life so much simpler and the code organised in an OOP fashion, and you don't lose the features of JS
 
@Mehdi Oh I see why you want it, I mean why does it not find it on property that is very odd
 
2:57 PM
hmm ok
@MwBakker just scrap the last para and you should be good
 
then things will start to lose sense if I do that
 
@MwBakker because when you declare an empty object {}, for TS that's already the schema of the said object, so when you try to add a field to it, it considers this to be a violation of the model, whereas if you declared it as {bottom: null} it won't
 
Ah clear, thanks
 
@MwBakker just cut somes lines from each para
 
@Mehdi How often do you just say screw it and using 'any' as the type?
 
3:02 PM
where ever you had stretched
 
🎵100 dependencies to install, 100 dependencies to install, clone one repo, build that repo, 99 dependencies to instal...l🎵
sigh building takes a while
 
Whenever third-party dependencies don't have good typescript support, I feel like its not at all worth the hassle of defining it myself.
@JBis wtf are you doing that you have to clone all the dependencies repos?
 
@RaghavSood I managed make to Pop OS run without disabling UEFI, should I install Windows on a separate partition now?
In fact I am writing this from Pop os :D
 
@twiz isn't that how it works? it clones em then builds the repo? (maybe not git clone but it copies the files?)
 
@ColdFusion it's not like fish paella where I fish out all the fish parts
 
3:07 PM
make it a fish paella
 
@JBis Well, you said that like you had to do something and not just type a command and wait 5 minutes. lol
 
typing of a command is wasteful expenditure of my finite energy
 
Tim
I hope that the repos are not being cloned and built lol, normally you just download the already built product that is based on the repo
 
i guess if they have a release for your system?
 
@ballBreaker So JohnHopkins apparently updated their Coronavirus map again to do what I said (based on percent of population): coronavirus.jhu.edu/us-map
 
3:10 PM
o/
 
It shows a completely different story now. Makes Georgia look like shit.
 
@twiz its so unbearably slow
 
Tim
seems accurate
 
@JBis No, your internet is.
 
3:12 PM
Unless you mean the initial time to load everything. It works well for me once its displayed anyway.
 
Hmm, generally, you'd install Windows first, so that when grub is configured it can detect the Windows Boot Manager and set itself up accordingly
 
@RaghavSood Security question. In order for my app to work, a bunch of ports have to be forwarded to allow for many socket connections. Is there any concern that something may listen on those ports that shouldn't be that may accidentally expose itself to the outside world?
 
But it's interesting because it shows the huge difference between LA and NY.
 
@JBis As long as you don't have vulnerabilities in any of the code that accepts data on those ports, it is fine
 
Tim
 
3:15 PM
@Taseer Although, evidently, PopOS does support installing windows later
 
@RaghavSood My concern is that the app isn't constantly listening on every port so a different app may use it randomly?
 
Generally, when you bind to a port, you are listening to it constantly, and no other app will be able to use that port at the same time
 
hmm, i wouldn't if it binds to all the ports or waits till its needed
 
Why do you need so many ports?
 
to allow for socket connections for many people
by default it uses 1000 ports (40000 - 49999)
 
3:18 PM
But why - generally, you listen on only one port. When you make an outgoing connection, a socket is created between local:randomport and remote:defaultport
When someone connects to you, they connect to your defaultport, and assign a random, available port on their end
Your application shouldn't need to bind to thousands of local ports directly
The OS will assign ports to you as needed when you make outgoing connections
And in any case, on most *nix systems, you'll hit a file descriptor limit way before you can actually use 1000 ports at the same time
 
its rtc, i'm not sure 100% why but thats what the lib does
15
A: Use specific ports for webRTC

selbie Is there a way to use a specific port so that the user does not have to open all those ports? I think you have a misunderstanding. The whole point of STUN and ICE (including its WebRTC derivative) exists to avoid anyone having to open a port on their NAT. Instead, STUN and ICE dynamically o...

 
Yup, that's the same as what I just described, but with NAT traversal
You essentially just open a connection to whatever server you are using for discovery
 
So do i not need to forward those ports?
 
And that server will tell you what your NAT IP is
You don't
 
I'm confused. Then whats the point of this?
> rtcMinPort, rtcMaxPort
Additionally, while testing, it didn't work if i didn't forward the ports. Unless i misunderstood something.
 
3:25 PM
The way it works is: Your laptop opens a connection to badsoftware.com:9000. Your laptop has an internal IP, 192.168.1.1. You get a port assigned (or pick one), such as 2000. Now, people who are not in your local network can't connect to 192.168.1.1:2000 obviously. badsoftware.com looks at your connection, and sees it is coming from externalIP:46378. That means your router's NAT has assigned port 46378 to 192.168.1.1:2000 for the duration of that connection's life.
Now, your local app knows what the external IP and port are, and can ask others to reuse that same connection (UDP is stateless)
 
Yes. I understand how NAT works.
 
@JBis Which firewall are you dealing with here?
Whether or not it works without forwarding depends kinda on your specific situation - AWS, GCP, hosting platforms will definitely need to be opened
 
Just a regular residential router. It works fine when i forward the port but it doesn't when i don't.
 
Most home routers, probably not
 
I don't have any restrictions on by my isp besides port 25 (for spam reasons).
 
3:28 PM
If you want to avoid port forwarding entirely, you'll need a TURN server
 
I made my own turn server. Thats what i am setting up.
 
But I'm not super familiar with web RTC, so maybe there's another constraint here
In any case, opening ports will generally not lead to security issues, unless the app listening on that port is buggy - ports will generally not randomly listen to incoming traffic (TCP is stateful, and most apps don't listen to UDP, or discard UDP traffic they don't recognize)
 
@RaghavSood Look at point 2 here
> Contacts STUN server using that socket to discover the external IP:port mapping for this socket. (e.g. 192.168.1.2:50001 maps to 1.2.3.4:50001). Ports don't necessarily have to match between internal and external addresses, but they usually do, so I'll keep with that for this example.
 
It's crazy how I've apparently forgotten everything I once knew about WebRTC...
 
its contacting server on non standard port
@RaghavSood ok thank you
i think webrtc does require opening many ports, i'm just not really sure why
 
3:31 PM
STUN != TURN
STUN will not bypass symmetric NATs, TURN generally should
But TURN generally adds relay latency+opens door for logging
Most webrtc apps implement both
If STUN fails to hole punch, they fallback to a TURN relay
 
Tim
raghav you know so many fancy words, I am quite impressed
 
But yeah, looks like with just a STUN server, you will not be able to avoid manual port forwarding
 
STUN sets up peer to peer connections, its not scalable beyond 2-3 people
 
@Tim I know a little bit of several things, and I can google faster than JBis
@JBis I'm STUNned by this limitation
 
:facepalm:
 
3:34 PM
Aren't there services you can use that do all the STUN/TURN stuff for you?
 
I'm sure the CIA runs a few
 
@RaghavSood All a STUN server does is tell peers how they should talk to each other. But once the connection is established (which will never happen cross LANs because of NAT restrictions) the server doesn't do anything. Everything is established through direct socket connections to peers. TURN and SFU's work a different way. Instead the peers establish a socket connection with the server (which should cause an issue on most NATs unless specific firewalls are put into place). The server takes...
 
I mean, isn't that something that can only be set up one way really and is sort of independent from your app?
 
...all the data and forwards it to each people. The server could do it transparently or not. This is where the SFU comes into play.
@twiz yes, but that costs money and then it defeats the entire purpose of this app
STUN doesn't need extensive port forwarding because its not doing anything. I don't know why TURN/SFU servers need massive port forwarding but I think it does.
however, i could be wrong
 
Is it really that expensive?
 
3:38 PM
Yes.
Its transmitting gigabytes of data every second
for hours
24/7
which is why my handy dandy home server will be helpful it has a 1 Gbps plan
 
Really? I thought they existed just to set up the connection.
Where are the gigabytes coming from?
 
@twiz :facepalm: thats only for STUN. STUN servers you can find for free.
TURN servers are what I am talking about.
 
oh. ha. Well, like I said, I apparently have forgotten everything I knew about webrtc
 
o/
 
o/ maukerrrr
 
3:43 PM
CFFFFFFFFFFFFFFFFFFFFFFF
 
@RaghavSood i'm going to do some more testing and see how its establishing stuff
 
4:12 PM
@twiz that's what I did hahaha "(myObj as any).bottom", it felt dirty but... :D
 
4:22 PM
Im having a cold
 
try not to leave your home since your immune system is weakened and busy right now
 
o/
 
o/
 
@Mehdi yes im now no longer going to do groceries
 
4:27 PM
got friends that will bring it, fortunatly
wouldnt be able to live with myself if I give someone unfortunate corona
 
I have read and understood the rules
 
congratulations and welcome to the worst decision of your life @BobbyAxe
 
lol, Thank you
 
lol
 
@BobbyAxe nice profile bio :D
 
4:31 PM
:D
don't know what i was thinking when i wrote that
 
yay got a random upvote
 
i get one of those like once every month it feels like
 
ha for some reason that brightens my day, especially when its followed with a comment
 
agreed
I'm so close to 10k
 
4:40 PM
racking up points on stack reminds me of grinding out dungeons on persona
 
why is deploying so much more frustrating than developing
 
the last fights are always regarded as the boss fights for a reason :D
2
 
@JBis One thing that I love about my current job is that we have a team responsible for that, so I don't have to worry about that part :D
 
fuck it i'm delting apache and moving to nginx
 
It's simpler
 
4:55 PM
uhg...migration is gonna be a a pain
 
Life's a pain
3
 
@RaghavSood Meh, today was a wasted day. It does not work, I have tried everything that I knew, I don't look forward to wasting tomorrow, so regrettably I am back to Windows. Will use Linux once I get a good setup
 
alright my servere is going to undergo a long over due trash cleaning
 
^ @jbis
 
5:21 PM
cool it's freddie mercury
 
O/
 
Happy Birthday @MuratKaragöz!
 
5:42 PM
\o
 
5:54 PM
\o ey everyone
 
bbbb o/
 
eyo eyo
I got a Moka pot and just tried it
fucking phenomenal
missed what u said
 
6:33 PM
@Mehdi forgot to tell you but I solved that issue :D
working flawlessly, even with scroll
 
nice, I knew you would solve it 🎉
 
<3
I'm creating it 100% programmatically now
 
cool
smart mauker
 
7:10 PM
holly shit nginx is so much easier than apache
 
apache what
 
fuck haha is that the "jump on it" scene?
I can almost tell just by the thumbnail
oh hell ya it is
What a classic tune
 
if you wanna see the passage of SpaceX starlink, here are the schedules for tonight findstarlink.com
 
I've been seeing an increasing number of people comment on this starlink scenario
pretty dope
i can't wait until we all get free Starlink internet that syncs with our Neuralink to help automatically drive our Tesla cars using our mind
Also catgirls
 
7:25 PM
they apparently committed to reducing their visibility techcrunch.com/2020/04/22/…
 
TAMPA JUMP ON IT
 
7:41 PM
crabby crab
 
Anyone else remember this song from the late 90's lol for some reason it pops into my head every few months
your video up there reminded me of it Jbis
I always thought as a kid that the lyrics were "I try to say goodbye to my chode" instead of "I try to say goodbye and I choke"
 
7:57 PM
 
lmao the title didn't load right away and I knew what it was just from the cat meowing at the beginning of the video
 
01:00 - 20:0020:00 - 23:00

« first day (3476 days earlier)      last day (1471 days later) »