« first day (3384 days earlier)      last day (1563 days later) » 

12:10 AM
@JBis AES is hardware accelerated on basically anything that has enough power to run a full OS - it's incredibly fast, definitely faster than the disk access time, so it won't be your bottleneck
 
 
2 hours later…
1:51 AM
o/
 
 
2 hours later…
4:02 AM
@RaghavSood Does decrypting one large file take the same time as two smaller files? (File A and File B vs File C that is comprised of File A and File B)
 
4:39 AM
Two files is faster since it can be parallelized
Parallelism aside, two files will be marginally slower since there's overhead in accessing and loading an additional file
 
4:51 AM
read two files parallelized is faster?
 
Thanks
 
Fragmented - Android Developer Podcast: 187: Coroutines
posted on January 21, 2020 by shows

 
 
1 hour later…
6:23 AM
@nyconing Depending on the source, possibly - you can pull stuff off the network at 10gbps easily these days
 
Morning coffee sip and this youtube.com/watch?v=uD4izuDMUQA
 
7:19 AM
Gooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!!! :D
 
@InsaneCat I cannot answer in the other room
However I'm wondering why my test fail, I must have missed something. I have a mocked object where I call multiple methods (which do nothing of cause) however I want to verify that a given method is invoked so I wrote verify(sut).anImportantCall() which throws TooManyActualInvocations with a list of other method calles. any ideas how to fix that?
 
7:43 AM
rekire Ok dude :) , nice to see you
 
in the meantime I got write permissions :)
 
Is there a way I can optimize it? Creating an object for just holding primitives is not a good idea
data class SatelliteData(var available: Int = 0,var inUse: Int = 0)
There's inline class but it only allows one parameter in it's constructor
 
I don't get the question, why should there be just one constructor parameter?
 
It's a limitation of inline class, it only allows immutable and only 1 parameter in its constructor, to create a wrapper around some 'business logic'
 
Tom
hello
 
7:58 AM
@Taseer just wondering since I stopped developing java I never used inline classes, what is your need that is requried for you?
 
@rekire inline classes are a part of Kotlin. Well, I think I figured it out, thanks 👍
 
@Taseer I read that they intreduced it, but I really never needed that so I'm still curios why you need that
 
because I am creating an object just to hold 2 primitives, the only solution seems to be make 'em static
 
8:22 AM
\o
 
o/
 
Online since 21-01-2020 08:27 (UTC). Running on develop@355b70d. Uptime: 0h
 
Hello
 
8:46 AM
"Senior Android SDK Developer (m/f/d)"
what does 'd' mean?
o/
 
inline classes have more or less the same usecase as TypeAliases
you expose your own type instead of the primitive to somewhat hide implementation details
 
@MwBakker "disabled people"
 
So when I am disabled I suddenly am nor male nor female
 
no, that means that the company does not discriminate on the basis of gender or the disability of the candidate if any
 
One would think this is supposed to be the default stance and you shouldn't need to advertise it
Pretty much like "I'm for equal rights".
 
8:52 AM
@Mehdi I know that is what they mean, but now it looks like you're either male female or disabled
@Nyakouai if you have Tourette's disease you might not get hired as a priest
 
@MwBakker That's not discrimination, that's common sense
I wouldn't hire someone suffering form Tourette in a kindergarten
 
@Nyakouai so it's not as a default stance as you may assume
 
?_? Excuse me, how is common sense discrimination?
You either are qualified for the job, or you aren't. I wouldn't hire someone lacking the necessary degrees, does that means I'm discriminating them?
 
no, just pointing out the 'obvious' part of hiring people with disabilities
 
Some circumstances make you ill-suited for a job. I'm a shortie, I'm not fit for being a basketball p)layer. You can make adjustments in some case, and I would do so if possible. But sometimes, there is just nothing to be done.
Unless you want to gag your Tourette priest
On the other hand, if Stephen Hawking interviewed in a lab, they would take measures to ensure he could work there
 
9:00 AM
that would be unethical, since he passed away
 
True
 
GCP seems to be maxing out at 100MB/s for cloning a disk over SSH to another provider
I suspect this is as good as it gets, but anyone have any last minute ideas
I'm only 200 GB into the transfer, so worth starting over for an increase of 10+%
 
what kind of data?
and what is the other provider?
 
Copying a block device at a block device level, 4 TB
Hetzner, should have a 1GB/s ingress port, so network is probably not an issue on that side
 
Mh tbh I would just zip all data
I would not clone all the things
 
9:03 AM
The data is already compressed, lz4 slowed it down, disk is nearly full
Copying it as a block device prevents the overhead of seeking individual files
 
I would delete them all rekire, nothing can beat the speed of copying 0kb of data
 
(m/f/d) could also be "there are two genders, all other 'genders' means disability"
 
Thanks for the input, MwB, very useful
 
i never used it before
and im not sure if they support 3rd party providers
 
9:05 AM
That might work
 
@MwBakker be careful, that could be interpreted as rude
 
Let me ask GCP if they are wiling to sell their cloud division to AWS
 
@MwBakker You're looking too much into it, really...
 
Ivan, they said no.
Something about being independent and competitors
 
if you have lots of data, look for the equivalent mechanism of aws "s3-dist-cp" command (basically does map reduce jobs and is super fast on big data)
 
9:07 AM
s3-dist-cp is for a different kind of copying, centered around... s3
I'm not using the s3 equivalent here
It's a disk to disk copy
just that the disks are in two different data centers
 
that sucks when it comes to cloud
being tied to one provider
 
Guess I'll just live with it for the next 14-15 hours
Hopefully GCP doesn't throttle me at some point
I've already lost 2.2 MB/s after Ivan asked me to tell them to sell their business to AWS :(
 
Faster to just copy it over ssh than to go through that whole thing for 4 TB
 
lets buy GCP
 
9:10 AM
hi
 
\o
 
o/
 
@IvanMilisavljevic if I contribute by 1000€, would I be the largest shareholder?
 
for sure
 
@Mehdi Largest shareholder maintains all their nodejs libraries, called it, no taksies baksies
 
9:16 AM
oh lol :D
 
@IvanMilisavljevic nice! warren buffett - here we, nouveau-riches, come! everyone wall street - be ready to bet on the new winning horses :D
@RaghavSood I guess it could be worse, like a php framework for ex
 
cries in laravel
 
womp you do lara?
 
sometimes
 
noice
i did lara ~3 years ago
and i have to say it
 
9:20 AM
niice
 
that's on your record now, Ivan :)
 
yeah
i have to say it
 
get it out of your chest eh :D
 
hahah
 
9:21 AM
really solid framework, but fuck php man
especially with that magic DI
ohhhh
 
lol joking never did php
 
no you didnt just say that
:D
not in this room
 
1 message moved to Trash can
 
loool
 
:D
 
9:22 AM
php was nice 20 years ago, when it first came out
 
M.Navidi requested access. Rep: 29 - Questions: 3 - Answers: 0 (ratio 4:0)
 
!reject
 
anyway il start gofundme for a budget to buy off GC
 
@M.Navidi you currently do not meet the requirements to chat here. You can find our requirements in the rules.
 
and run their cloud operations by myself
 
9:24 AM
That's one way to get into large scale dev
 
well what can be defined as large scale dev?
its basically just bunch of smaller systems clustered together
 
2 computers at once
 
large scale dev -> i run 2 instances of PHP 5.3 aaaand 5.4
 
Does this count
 
not bad, not bad
 
9:30 AM
o/
too bad
 
im wondering why are your running one instance only?
 
because he cannot process more than that
 
I have more
The graph is just for one
 
@IvanMilisavljevic be careful, that could be interpreted as rude
 
ah damn mw
 
9:33 AM
what new cryptic shit you making ivan now?
 
@RaghavSood right, but why didnt you create a single dashboard with variables?
 
There's a switcher on top, outside of the scroll view - hid it since it shows IPs
 
Cannot trust you lot
 
makes sense
 
9:34 AM
xD
 
Had to go into full screen just to take the screenshot so the URL isn't visible :D
 
@IvanMilisavljevic how was she
 
electric?
 
9:37 AM
@Tim what is the name of your ethernet adapter?
 
@MwBakker Jeremy
 
TimmyAdapter
 
T-dogg
 
TSarcasm
 
More like T-bone the way it crashes his internet
 
noice has been added
 
|| noice
 
9:44 AM
dont let the convo die
 
ok
 
TIL: if you have multimodule project setup
and you want to use applicationIdSuffix in different flavors
 
so I'm working on a mini framework to make my life easier, that let me create pipelines with Scala and Python steps with the same declarative syntax and setup
 
you will have to define the same applicationIdSuffix for all modules
 
@Mehdi I think that's what most places call an "intern"
The escooter is nice, quite lovely to be able to go places that are not practically walkable
Ridden about 60 kilometers on it so far
Died 0 times
 
9:47 AM
@RaghavSood oh nice
haha
 
10/10, would ride another 60 kilometers
 
i never tried it so far
i like to walk
 
I do too
But there are limits on how much you can practically walk on a day when you have to do other stuff too
 
i like to go for a walk in the evening, when i come back from the office
 
And there isn't much within practical walking distance of me (~3km radius), Christchurch isn't known for... much
 
9:49 AM
you should really move to Europe
 
no
move to California
 
I will if Europe gives me a passport in <6 years while also letting me run my own stuff
 
in every major city you basically dont need a car
 
I've lived in California, it is worse
 
where?
 
9:50 AM
More to do w.r.t. food etc. within walking distance, but a car is mandatory for pretty much everything else
I was around the Bay Area for about a year in all
Large chunks of the Bay Area don't even have food etc. within walking distance
 
oh
In serbia you have something to eat, basically on every corner
 
I'll probably just buy a car in a few more weeks at this rate
Getting the scooter has driven home the point on how much stuff I'm missing out by not being efficiently mobile
Now, I can get to the city center in a reasonable time
With a car, I can get to all the cool stuff that's around the city (hikes, lakes, rest of NZ)
 
how's nz?
 
thats true
 
Great, if you don't mind a lack of most kinds of social interactions
That's kinda Christchurch specific tho
Auckland and Wellington are better in that regard
 
9:53 AM
Also are you feeling the effect of those wildfires from Australia?
 
Comes and goes with the wind, but not a huge issue
We're about 2200 km away
Some weird colours in the sky at times, but generally not a problem
 
just some weird colours
 
60
A: Accepting a dictionary as an argument with argparse and python

Michael AquilinaI do not think it is possible to pass a dictionary as an argument in the command line because there doesn't exist a conversion function from string to dict (EDIT: A hack is possible, see below). What you are essentially telling python to do is: dict("{'key1': 'value1'}") Which if you try it ou...

the "Edit" section of the answer, another reason to like Python
I'm just trying to understand, when does something actually not work in python? XD
 
My first thought when looking at the example was "this is JSON"
 
XD
 
9:57 AM
xD
 
Python embraced it too
28
Q: Purpose of python antigravity module

EyoelDI was just digging up some cool modules in python, and this antigravity module seems cool, and full of potentials, but I am not sure if it is what it sounds like. Is there any use for it other than displaying the comic page on a browser? If there is, please do tell what it can be used for. Is t...

 
I don't really like Bucharest
I'd like to live in a city that has a beach or something
 
Christchurch is great for that
It's one of the few cities where the beach area is considered the run down area
 
or forests
 
Reasonably cheap housing, easy access to meth, daily free viewings of street fights
What's not to like?
 
9:59 AM
or something more than just flats and office buildings
 
I really liked living in Plymouth
even though I only got to live there for two months :(
 
Christchurch is also great for that, we have very few office buildings, since most businesses left after the earthquake and never came back
 
Belgium looks ok
 
@RaghavSood meanwhile, this is how you run a python script from scala: ("python - --arg1 val1" #< scriptIs).!!
"#<" and "!!" are both methods
 
whot?
 
10:03 AM
and this is running py from node js
 
1 message moved to Trash can
That was more than 4 lines
 
damn XD
 
PythonShell.run('../../python-scripts/py_script.py', {
        args: [imageUrl]
    }, ...
    });
 
CI light turns green
Carry on
 
is anyone useing github actions?
 
10:07 AM
Not me
 
seen
 
@RaghavSood "cool import bro, not sure what it does exactly" - Python community
 
Greetings!
 
@grrigore search for a house at the Ijsselmeer, you won't regret it
 
I don't wanna cry right now
 
10:17 AM
@MwBakker Incidentally, if you s/import/intern/, you get a quote describing most of @Ahmad 's boss' interactions with their colleagues
 
x')
 
kek
 
going edge to edge and getting right fitsystemswindow = " true" is hard. window insets seems to be ignored sometimes and having the flag will not allow you to draw behind navbar
 
how is life Ragu?
 
This was the most starred message last year on this day:
Jan 21 '19 at 8:49, by W0MP3R
HAPPY BIRTHDAY WARREN!!!!!! 🎉🎉🎉🎊🎊🎊
4
 
10:28 AM
^ @WarrenFaith Happy birthday! 😂
 
Happy birthday!
 
HAPPY BIRTHDAY WARREN!!!!!! 🎊🎊🎊🎉🎉🎉
 
Happy Birthday
 
(I'm a day late tho) TT^TT
 
Happy Birthday Warren!
 
10:33 AM
@Mehdi not so great. but its okay.
still doing some freelance projects while looking for a permanent job
 
Happy Birthday Warren 🎉 !
 
@Raghunandan Freelance is not good?
 
its good when you get good projects. but its bad when you have to something that you don't like
 
Manish Kumar requested access. Rep: 1004 - Questions: 3 - Answers: 37 (ratio 4:49.3)
 
!accept
 
10:36 AM
@ManishKumar welcome. Please start by reading the rules and confirm you have read them before saying anything else.
 
@Raghunandan what kind of projects are you working on?
 
I have read and understood the rules
@R15-Zucc Thank you for accepting me.
4
 
Tim
@MwBakker realtek something
 
@Raghunandan doesn't freelance give you the oppurtunity to work on something that motives you?
@Tim I can't help you on just that info
 
Thanks to all of you!
 
Tim
10:44 AM
happy b-day brüder
 
Thank you :P
 
Tim
how many moons?
or summers, I mean
 
springs
 
2h/700 GB isn't half bad
Happy Birthday, @WarrenFaith!
 
Thanks young Padawan
 
10:57 AM
@Mehdi right now a small travel app
@MwBakker yes it does. but sometimes i feel bored
 
@Raghunandan i dk man, in that case I would just work on a different location like a cafe or somewhere in the woods
we have a place in the woods where I love to go when I work from home, keeps me motivated to switch locations once in a while
 
but is it worth it?
 
:O
 
11:21 AM
@SHAHMDMONIRULISLAM You don't seem to exist
 
ow :(
 
11:45 AM
do you think a raspberry pi 4 can sustain a server? both api and database?
I can add a ssd to store the data
which are the factors that can tell me if it will support ~1000 users?
or get the limit that it supports
 
finally got edge to edge working correctly.
spend more than couple of hours on this :(
 
how did you get started with freelance?
 
@Raghunandan I agree with @MwBakker on changing locations. I have been working remotely for 6+ years and I have a few places(mostly coffee shops) that I rotate whenever I get bored
 
@grrigore Depends on what your server is doing
Serving 1000 users opening a static website? Of course
 
api for a mobile app
 
11:51 AM
Performing 1000 lookups per second for a linkedin style "Z knows someone who knows someone you know", probably not
That's not a valid answer, try again
What does your API do?
 
mostly just getting some data
send/get data
 
Also not a valid answer, try again
 
and some small calculations
that can also be cached
 
Data is too broad, video, photo, text, math, realtime, delayed, what?
 
text
 
11:52 AM
Size, cache friendliness etc. all matter
Note that a RPi cache cannot be very large, since you don't have a ton of memory
 
i will think of changing locations. i feel while freelancing is great i somewhat feel that interaction with others is limited. Interacting with others or taking a break is kind of stress buster when you feel you are alone
 
And if your API relies on long lived network connections, you will hit those limits easily
 
I mean cachin the data on the mobile side
 
What's an average user session look like?
Try to be fairly specific
 
I'll try
data = JSON that contains mostly string,int,float
login, gets the most recent data if it's not already on the mobile side, user can add new data to the server, can see different parsed data, logout
 
11:56 AM
What is the nature of the data? Is it user generate/user retrieved, like tweets/facebook posts? Or is your server also performing some background tasks to fetch that data, like scraping other sites etc.
 
the user adds it
 
What kind of processing do you do on that data?
 
percent stuff, ratios
generating some report data
 
Of what kind? Where do the numbers come from? Are you summing up a billion numbers? Or calculating a small number like ratio of words to sentences?
Scale is important
 
it depends on how much data user adds
as an example
apples: 3
bananas: 4
the user adds all the data
and depending on his/her data I calculate the reports like: apples/bananas = 3/4
a ratio or something
 
11:59 AM
You'll be fine with an RPi if you can get your dynamic DNS figured out
 

« first day (3384 days earlier)      last day (1563 days later) »