« first day (2453 days earlier)      last day (2720 days later) » 

15:00
the difference is: for no-streaming, encode the whole file, then start writing into the connection. for streaming: encode only the bytes before writing into the connection.
when would no-streaming be better?
every HTTP request goes through a socket not matter the method (GET, POST, PUT, OPTIONS, etc)
it confuses me a bit, because by default sockets are disabled in my server environment
@TimCastelijns when you're not dealing with media files (download/upload)
Tim - there are websockets and sockets
why does multipart/form-data exist if non streaming upload is better, and http handlers work with it out of the box?
15:04
in form data you can also send key value text fields
I need that :P
why not 2 requests?
seems hacky tacky
no
the first for the file, receiving an File_ID then add it on the multipart body of the second then perform the second request
it's commonly doable
if multipart/form-data was made for that, why would you go around it and make your own mechanism
15:06
what mechanism?
I miss Anubian
the mechanism of making 2 requests and tying it together later
Sometimes processing take minutes, Tim
you can't just wait for it to finish and block the user
Tim still hasn't told me what he's trying to do
Now I'm sad
loads sadness module
ah, Mehdi, you confused him with the 2 requests ^^
15:08
I can do it async in the app no problem, user won't care
but this is server to server
there's no relation between 2-requests mechanism and multipart/form-data
except in this scenario I would achieve the same with them only the latter was made for it, and the first is a homemade solution
also, to get back to the socket: HTTP is a protocol, it relies on the TCP protocol, which uses sockets. so, non, you probably didn't disable sockets ;)
and streaming/no-streaming is just a different implementation of the HTTP protocol
15:13
> Sockets are only available for paid apps, and traffic from sockets is billed as outgoing bandwidth.
maybe the socket vs websocket difference
ADAM, its ALIVE @AdamMc331
@TimCastelijns where is that from?
hmmm, problem is that I don't know of any python http lib that doesn't ultimately rely on the socket module...
15:17
if it works like this on the network layer level, they all do
I believe you, it just stopped making sense to me
@AdamMc331 lol
wtf aren't images loading
I don't understand half this code
that is ok
I wish I was a backend dev
why?
15:22
can easily mess things up
can put blame on frontend
then I would probably know more about this shit
but now I have to do everything
so I am only mediocre at everything
and in 1 year you'll be a rockstar :P
imo, it's positive to be full-stack
He's already a Realm star
the stack is large mehdi
lol realm star
15:25
Wish I could help but I don't really know much about back end at all
that can be seen only from Tim's house
it goes beyond programming
It's a way of life
probably this lib just sucks
I mean how can it possibly take 33 seconds to proces 9mb of data
Shit internet
15:28
my grandma can count bytes faster than that
7
Really shit internet
lol tim
it is internal on the server mark :P
mark on mobile?
No no I'm not :D
How ancient is your server Tim?
15:29
It's CF's AS version ancient
@ColdFire still running on AS1.5? :D
naturally
yup old is gold 1.5 is the best
although i am on 2.2 gradle
so not necessary any big feature missed
AS 3, has crashed for me max twice since I installed it
so I'm pretty satisfied by it
15:40
i am very satisfied with 1.5
and the best is no Instant Run shit
no trouble of even disabling it
The newer versions introduce some nice features
Though Canary is very buggy
It's not buggy for me
It always tells me that rendering my XML "failed with a known bug"
:\
So Y U NO FIX Google?
rendering error are pretty common 2.0+
Worked fine on 2.3.2
But Zach forced Nathan and me to upgrade to 3.0 :\
15:43
Why am I losing money
I don't wanna lose money
Gotta make more to put on the line
I should not go into gambling, ever
One feature I really do like in 3.0 is that it inserts the parameter names in the method call
It's pretty helpful
I find that annoying xD
lol who wants to lose money
Same as Tim XD
15:44
lol
Well I found it super annoying at first too
But then it grew on me
I liked it at first, then started to dislike it
it makes the lines longer
15:59
Time to go~~ :D
Cya later people!!! x3
later
Now is not the time I want to refactor a massive method -.-
@MarkO'Sullivan Don't! you'll risk getting close to the 64k limit :D
What is it that I have to do whenever I reach the 64k limit?
multidex?
16:04
revisit your dependencies
yeah, and sometimes for a small feature people drag a whole lib, just take what you need, adapt it and drop the rest
Yeah but big apps like Facebook must have more than 64k methods?
often google play services is a culprit
I can't just strip out every library I have, like what if there's an update to the library to ensure it keeps working for a future Android build
show gradle deps
16:07
well he hasnt reach the limit
why are we worrying before?
@MarkO'Sullivan they can afford to put most of the code into native machine code, as a "nice" bonus it's harder to decompile and therefore easier to secretly plant selectively-activated spyware and backdoors into it. (even if we forget that fb itself is botnet)
16:24
yeah, you ever noticed that some "feature" of fb messenger popped in without updating the app?
I don't use it
@netpork I thought that would have been down to the sort of frameworks which allows you to enable layouts depending on the server settings
I can't remember the name of one of them but they look cool
16:41
@SargeBorsch How is facebook a botnet?
@MehdiB. do you know what's botnet?
> A botnet is a collection of internet-connected devices, which may include PCs, servers, mobile devices and internet of things devices that are infected and controlled by a common type of malware. Users are often unaware of a botnet infecting their system.
Hello everyone!
nana, where are yours circle minions
yeah, fb is an infection and most users are unaware that it is in fact infection
it steals user's data and, to some extent, controls their devices
16:44
I m counting them right now...
it's the same kind of botnet as Chromeâ„¢
It's not "stealing" if it's agreed upon on the terms of use :P
and you can disable on Chrome the sending of usage data
@TristanWiley is still here @OcuS @SargeBorsch is here @FoamyGuy @eski .. who ese should I ping without a reason...
@MehdiB. really? who said it will actually work?
the relevant functionality is in closed source blobs
and even if user agrees to be part of botnet, it doesn't change the fact that botnet is botnet
@nana !!!
16:46
I'm only guessing that they won't risk a huge international lawsuit by lying on this (especially from the EU)
@MarkO'Sullivan Facebook solved multidexing before Google made it official
@MehdiB. they are an US company
and still, even if it can be disabled for 95% users, nobody said that it won't be kept activated for some targeted users
@nana hey
Sup OcuS, how is life?
again, it's in closed source blobs, so it can be anything
16:48
Hi, CF
yes, I meant that the EU doesn't mess around when it comes to privacy and violation of terms if proved
But yes, you're right
long time no see
Google and FB may simply refuse to pay their fines, and what happens? EU will bomb them? haha, of course not
and proving that is also difficult, because reverse-engineering their code is probably illegal in itself
and some courts have that silly rule that illegally obtained evidence is not valid
so, better just stay away from the Botnet
It's been 4 years since I don't have FB :D
but I exclusively use Google chrome
Firefox has been becoming faster recently btw
16:51
yeah... wokr work work work work
so the only reason to prefer chromium-based browsers is becoming moot
Yep I've noticed FF being a lot better recently
Switched to it now
FF has become a memory hogger too
@ColdFire not the latest version, it's way more memory efficient than Chrome
16:52
still, I don't give a flying fuck about "smooth scrolling", etc. as long as it works correctly, so I've been using FF most of the time
and yeah, some people say that Chrome eats more memory than even older FF versions
I tried the new Opera for a week (2 weeks ago) I was pretty pleased with it, but I had to switch after it couldn't connect to the enterprise intranet I was in
Opera is just a second-hand botnet
there were some upsides before they dropped Presto, though
how exactly do you know it's a botnet if it's a closed source software?
only suspicions?
Chrome was proven to be botnet
Opera is Chrome derivative
16:54
Everything is a botnet these days
I could probably get a half decent botnet up in a week or so
No. Free software is not botnet. At least not intentionally.
lightbulbs
Many, many open source projects have been infected in the past
It's not all that hard to sneak in a one liner to download a script to init a botnet into most projects
Vulnerabilities can be fixed as well. If a project gets popular, it gets some attention from white hat hackers too.
Hell, register an npm module with the name expres and set it up to init a bot net with a dependency on express and you'll have a botnet in no time
16:56
Of course, it's not possible to prove that something is clean, but there are infinitely more possiblilties to sneak some shit into closed source stuff
don't just divide everything into black and white
I just lump everything into black
If it's ever been connected to the internet, it's already compromised
Probably overkill, but probably reasonable overkill
@MarkO'Sullivan well it was always memory efficient than chrome
lumping everything into black is pointless, because it's the same as not thinking about that at all
that's what I said. it's like saying "we all will die anyway, therefore it doesn't matter what I will do"
of course, nothing is perfect, but one can choose ways which have lesser probability to turn out harmful.
WAIT DID I MISS NANA
NANANANNANANANANA
2
Sup, Tristan
17:00
nana long time no see
Converting an old app to Kotlin and not understand what any of the code does because I didn't write most of it.
You?
yup CF, I feel bad
Experimenting with the simplest of watchfaces, while shopping for a battery for my soldering iron
I got the LG Urbane 2 super cheap and finally flashed it to Android Wear 2.0 yesterday
What do you guys think about the "convergence"... Android apps on Chromebooks.
17:04
@SargeBorsch speaking of closed source, Kaspersky has agreed to open its source code for a US audit, and now, US antivirus software are scared that the Russian govt asks them the same XD
US audit is not the same as public audit
as long as source is not open for everyone, it's botnet
US can simply make notes of their holes and keep them for themselves
in fact, recent revelations reinforce that
btw, "antiviruses" are a useless snake oil anyway
they are trying to do what's proven to be impossible (halting problemâ„¢), and of course they can't do anything about holes in OS, etc.
I'm working on converting our ole ChatSE to Kotlin if anyone wants to help. I've fixed a bunch of bugs but I'm stuck on one (currently won't start) - github.com/room-15/ChatSE/tree/Kotlin-Conversion
@TristanWiley what exactly won't start? and is it an iterative conversion, or you simply write everything from scratch?
Like I pressed convert Java to Kotltin and started going through and fixing a shitload of bugs
Do you convert files one by one? Like, do one, fix all bugs and only then go to next?
17:11
I did it all at once shrug
You are doing it wrong
Yeah I know lol
:)
it would be simpler for everyone if you start over with more appropriate strategy
because when it's just one file that is broken, other correct code can be used as a guide in real time
but if everything is converted, this is probably a hopeless mess
Goooooooood Afternoon Everyone!!! :D
afternoon womp womp
Why would this be yellow if it's not used?
cause tristans silly color scheme?
no lol
This is bothering me
17:29
lol its nanas color scheme
clean-rebuild?
17:56
@TristanWiley Did you try commenting it out to see if it would compile LIKE I SUGGESTED?!?!?!?!
Yeah
It doesn't
I took it out of the Java project and Kotlin project, it's used. But not called? idefk
Right click on your app folder and go to "find in path" and type it in
smh
fine I'll pull it down
18:02
lol
18:43
Don't you just hate it when you thought you fixed a bug and then it comes back? --^
@AndroidDev btw you can tell the wanderer he may come back
I didn't mean to scare him away
@Ahmad how did you scare him?
18:59
oh well, I was annoyed he kept poking the bot and kicked him
Oh :D
Hahaha, we've been scaring people who happen to pop into our dev room too, lol: chat.stackexchange.com/transcript/message/38461412#38461412
LOL
19:05
lol
Any ideas? --^
no context
19:13
(Google screwed up the openOptionsMenu() and we're trying to figure out how to fix it)
@ColdFire That is, openOptionsMenu() doesn't work when called in an AppCompatActivity; and btw there are other poeple on SO complaining about it, it's not just us.
19:50
i have no idea why you need that method tho
yo cM
YES
I GOT ChatSE working in Kotlin!
nice tris
and done cm
Happy 4th of July, all you 'Muricans
2

« first day (2453 days earlier)      last day (2720 days later) »