« first day (3041 days earlier)      last day (1906 days later) » 
00:00 - 16:0016:00 - 00:00

12:28 AM
3 hours of boredom wtf room 15
step to it
@AdamMc331 I thought you were memeing today
 
 
1 hour later…
1:37 AM
Aloha
!stars ray
 
 User       | Message (23)                                     | Stars (78)
---------------------------------------------------------------------------
 Raymond Ar | You people are so weird -_-                      | 9
 Raymond Ar | Ok                                               | 8
 Raymond Ar | Except Tim                                       | 8
 
!stars dave
 
 User   | Message (1252)                                   | Stars (3204)
-------------------------------------------------------------------------
 Dave S | -image-                                          | 13
 Dave S | Star this so we remember to make fun of Tristan  | 13
 Dave S | Notice how Raghav fixed his bot, just long enoug | 11
 
What does the parenthesised number means?
 
2:06 AM
count and sum
 
2:36 AM
Count and sum of what?
 
Messages and stars
 
Oh... And the bot is better than me then...
 
It is known
 
The bot is also able to learn frontend dev in a short span of time
 
2:39 AM
I'm glad it's only virtually better than me
 
♫ We do what we must, because, we can ♩ ♪
 
@RaghavSood -_- Will you forget that some time?
 
It's been backed up to tape, gonna stay forever short of an apocalyptic solar storm
I have acquired coffee
 
Besides I now possess a developer account...
I'm planning to be living like a regular non underpoor people soon
 
Dunno
I made money off apps for a while
Then it just seemed like way too much effort, for way too little money
 
2:45 AM
I can't be rich here anyway
I'm comfortable with that you pejoratively call too little money
 
Can a few of you run dig binance.com
And tell me the output
@RaymondArteaga I didn't mean that it's literally too little money. I just meant that as a solo developer, unless you have a bunch of niche/first to market apps, getting stable, sizeable revenue is hard. You might make $100 the month some blog post links your app, and $0 for the next six months. It's not really something you can plan to live on, as opposed to being a salaried developer for an actual company, where you are at least guaranteed some pay throughout
 
A dirt pile?
 
What
 
I think I can come up with a great idea some day
 
3:25 AM
 
3:54 AM
Good morning everyone
@RaymondArteaga , Mornight
 
4:34 AM
Mornight rakesh
 
4:48 AM
@RaymondArteaga Thank you
 
5:08 AM
From a friend from China:pastebin.com/v5kW8Dyi
 
Nice, thanks! That clears up what I needed
turns off the stove under the frog soup
Err: IOT stove connection timedout
Oh well, we'll miss you anyways
 
@Ahmad Found this on /r/sanfrancisco, do you remember it
 
Don't trust the query time
The first one is from Cuba
 
That's fine
We were trying to establish if they return different IPs to different locations
Which they do
The time is not relevant
 
5:11 AM
Oh... Ok
 
5:33 AM
@RaghavSood <3
definitely do
I still have your pic from when we went
so good
 
5:55 AM
Morning
@Ahmad Beautiful.
 
6:28 AM
o/
 
 
1 hour later…
7:30 AM
Goooooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!! :D
 
\o
@W0MP3R Heh.. This often reminds me of Robin Williams in Good morning Vietnam.. Old movie I saw once. Dunno why
 
7:52 AM
Somoene has an idea why the method in onPageFinished of my WebView never gets called (I want to hide the webview until page loaded completely) -> when loading completed then-> myWebView.setVisibility(View.VISIBLE);
Any idea?
 
One solution the (second link) I have already tried and it never gets called, the first one is depreciated
 
8:14 AM
I have found a solution by myself thanks anyways
 
9:01 AM
What was it
 
Instead of using onPageFinished, I included in my existing setWebChromeClient, where OnProgressChanged is located (of my progressbar) an if statement, that checks If the progress is 100 and the progressbarloading happend only once (I use a flag) and then I set the webView on Visible
 
9:27 AM
Morning!
Have to write report all day.. Shoot me
 
write a script that writes reports
 
Noice
I like your thinking
 
Is it better to use AsyncTask or Thread for regular checks if the internet connections is working? I read that AsyncTask may be a better solution for this problem
 
eLi
lol
 
 
1 hour later…
10:42 AM
bump
 
I refuse
Greedy fucks raised tuition by 5.6%
 
11:00 AM
damn, that is 105.6% of the previous tuition
 
@TimCastelijns I hoped they charge you way more for teaching you math so well
 
11:17 AM
if you really want to know, they charged me 100% of the tuition
 
how much was it
 
mine or his
 
yours
 
hmm
it started at 1900 or so and went up 100 each year
 
so in total?
 
11:28 AM
o/
 
like 10k over 4.5 years
 
okay same amount for me too
 
how much is yours?
 
11:36 AM
Around 45k USD over two years for tuition
 
that's a lot
 
I came out with like £25k student debt
 
I have no debt... so far
Might change, depends on crypto
So yeah, will probably have debt
 
11:54 AM
at that point why don't you put everything on the red seventeen
 
I feel like that's somewhat more risky than trying to bet on mathematically reliable tech
 
basically hoping on the trust of people
might aswell put everything on the table
 
48
Q: How to deal with a colleague who makes personal jokes about my appearance?

Throwaway2019I've worked with an engineering consultancy firm for a little over 2 years now, on a team of approximately 15 people. I’m one of three graduates on the team and there’s one guy (we’ll call him John), who has been with the company for ~6 years and is the next grade up. It’s more or less John’s res...

 
Answers seem pretty reasonable
Trying to be blunt about how you don't like it should be the default approach
If that fails, remove his nose, start addressing him as "No-se"
I should work in HR
 
my favourite strategy is to make it awkward, eye in the eye and saying “what do you mean? I don’t get it.” -> they explain -> “ah.”
the reactions are always priceless
 
12:01 PM
yeah... I didnt get it
 
12:12 PM
I have acquired corn
 
12:23 PM
I'm super tired, I just wanna take a nap
 
I have to write a report, got up to 10 words written this day
 
I'm eating corn
 
I have to code an app during my internship, guess what I don't get paid and offer them a product for free, I am happy that I learn things but still xd So @MwBakker I'd rather get paid and stick with your work lol
 
I didn't get paid either
 
Don't you guys have laws against that? Many states (maybe federal?) in the US have a law saying an unpaid intern can only work on stuff that is educational to them and does not benefit the company
 
12:28 PM
Just the kilomters I made are paid 0.19ct/km
 
If they are working on new features etc., you have to pay them
 
@MwBakker run for your life man
 
Perhaps, but I don't mind. As long as my app is actually being used I am ok with it
@Alan Running would save me gasoline costs and earn 0.19ct/km but it would make me run 42km a day
 
Well xd
 
o/
 
12:30 PM
\o
 
@RaghavSood no, in fact it's very common for contested internships (not IT) to be unpaid
 
Sounds like you guys need a revolution
 
@TimCastelijns indeed
 
unpaid internship is not usually a problem. What's worse is that you don't go to school for 6 months but still you're paying tuition
> I/OpenGLRenderer: Davey! duration=1803ms;
who is davey
 
A Davey is a jank of more than 700ms
 
12:59 PM
Android Pie is horrible if you want to customize stuff
 
PIE = Personalization Is Expendable
2
 
lol
 
Heh
 
I started that anime with the guy who got incarnated as a Slime, it's very nice
 
1:15 PM
 
@MehdiB. I really like it :D
 
i find it quite creative :D
 
That reasoning for this predator skill tho xD
 
that's my favorite skill, you already know something cool is gonna come out after launching it XD
 
1:38 PM
google is revising their review process because in some cultures 1 star means good and 5 star means bad
 
In what culture would 5 star mean bad
 
more like a rumor
 
Well, that actually happens a lot in here.
 
rumor yes
 
I am looking for cool abandonned houses/places in Germany to visit
But most of the stuff is in Berlin
 
1:42 PM
@MwBakker murica grading system where A (lowest char in alphabet) is highest grade, kind of similar
 
And F the worst grade
Why not Z?
 
because it's easier to use plus and minus combined with letters than just letters
 
True
And F can mean FAIL
Or just Fuck/Fucked.
Speaking of the F word. I wonder why murica has so many problems with it.
 
> What's worse is that you don't go to school for 6 months but still you're paying tuition
I hate that
 
hate is a strong word mark, use it cautiously
 
1:46 PM
fuel your anger
 
@TimCastelijns hate
Now I made a bold move.
 
Anger is a gift
 
Is it possible that when the internet connections is so low (500 kb/s, thanks Italy) that socket-connections fail?
 
500kb/s low? dude.
 
kilobit or kilobyte?
 
1:58 PM
kilobit
 
that's pretty friggen low
 
@DaveS sry to let you down
 
@ballBreaker yes
 
Normally I have 10 mb/s
 
T_T
.5mb/s is pretty bad haha
 
2:00 PM
So turning back to my question can a socket connection fail because of the slow internet?
 
everybody, boycott italy
 
:(
 
Mornight all!
 
@Alan To be honest, I'm not sure
 
Is this a theoretical question or did it actually happen? If so, what was the error?
 
2:02 PM
I mean, I guess it could happen, but it's unlikely to be the speed
The QoS or latency is more likely to be a culprit for broken websockets
 
It happens sometimes, with the business wifi the socket cons. get through on my mobiledata only sometimes.
 
500kb is a great speed
 
I agree, it's not bad at all
My life was revolutionized when we went from dial up to broadband
 
Sockets shouldn't fail at that speed
 
And back then, even that topped out at like <100kbps
 
2:04 PM
did you even exist during that transition
 
@RaghavSood I remember when you didn't have to wait 10 minutes for one nude picture online anymore
 
Not at any speed (unless the speed is 0 for a time > socket timeout value)
 
@TimCastelijns Of course I did. India moved a bit slower than the west on this stuff, so many people around my age still dealt with dial up
 
@RaymondArteaga if so I don't understand my problem
 
2:05 PM
we ditched dial up 16-17 years ago
 
I'm around the same time as tim
 
bsnl is still dial up
or have they upgraded
 
now I have fibre directly into my eyeholes
 
I think I got broadband (a very slow version of it) around 2006 or 2007
By 2011/12 was when I first saw speeds over 200kbps
 
@Alan what's your problem?
 
2:07 PM
@ballBreaker great sense of humor :D
 
When I left India in 2015, you could just about see fibre becoming affordable, and most home connections could go up to 800kbps-1mbps if not too many people were using it
 
@RaymondArteaga sockets fail with slow connection
 
If you were rich, you could even get the 20mbps down/5mbps up lines, which would usually give you half the advertised speeds
 
What do do you mean with fail?
 
Once the internet stuff started picking up, things moved quite fast really
You can get 1gbps now I believe
 
2:08 PM
I display a layout when an I/O exception during socket request happens, and also when I have a little internet speed it displays
 
There was a point there when my 3g was faster than our home connection though
@Alan You should try measuring latency/packet drops (run a ping command to the websocket server from a device on the same internet as your phone for a very simple test)
 
how do you measure 'little internet speed'
 
@Alan Ah wow, yeah. That's slow.
 
You need a ruler Tim
3
 
If you have a ruler Tim, you have bigger problems than internet speed
 
2:09 PM
we have a ruler.. I don't see him online though
 
@TimCastelijns sppedtest by a server near my location
 
that's not very representative of your socket connection quality
 
try fast.com
 
Does it happen with other websockets, or just yours?
A speedtest will do nothing to tell you about socket issues
 
(I am a newbie regarding sockets) thanks for the Info @RaghavSood only answered to Tim how I emasured my connection)
 
2:11 PM
Have you tried downloading more internet
The more of the internet you have cached on your local machine the faster it is!
For even faster results, try printing out the internet and storing it locally in a file cabinet
 
A socket is essentially a long lived HTTP (TCP) connection. They tend to send very little data at a time, so the speed is unlikely to be an issue. You will usually only see issues if that specific TCP connection between your device and the socket server is interrupted, which can be due to:

Packet drops somewhere on the path between you and the server
High latency (time from a packet to travel between the server and you) making one end/both ends of the connection think the devices are no longer able to communicate (a timeout of this sort might be resulting in an IOException)
 
it is known
 
There's a number of other things that could be going wrong (bad ethernet cable, patchy wifi, cat ate your router, solar flares, etc), but it's easier to look for broader causes and then narrow it down than to sacrifice the cat and hope it works
 
Thanks for the information... should I soar the timeout to 3 seconds?
 
It might help
 
2:15 PM
Ok, is there a page to test a socket connection and see how long it takes?
 
That's not really how it works - Like I said, a socket connection's issues might lie with the specific TCP connection between your device and the websocket server
Opening a page on a different device, or using a service that tests a connection, might not use the same TCP route
Although I imagine there is some JS page somewhere that will connect using your device
Are you in control of the websocket on the other side?
If so, try adding a ping/pong method and running that in a loop
Many websocket APIs already offer some kind of ping/pong/status/connection/heartbeat method to do this kind of stuff, if you aren't in control of the websocket
 
"hb" shudders
 
No I am not in control. Thanks I'll check them out later. Now I test the app with the changes: socket target 8.8.8.8, timeout: 3s
 
8.8.8.8 offers a websocket?
 
I guess so
 
2:22 PM
odd
 
I can't find any reference to that at all
Are you sure?
Another reason your websocket fails is that 8.8.8.8 might not be running a websocket at all
 
It could be that I misunderstood the method new InetSocketAddress()
 
Yes, that has nothing to do with websockets
 
gosh
 
What are you actually trying to do?
 
2:24 PM
Anybody living near Hannover?
 
are you implementing murat's code?
 
Check If the user has an active Internet connection
 
forget all about websockets
 
599
Q: How to check internet access on Android? InetAddress never times out

Vidar VestnesI got a AsyncTask that is supposed to check the network access to a host name. But the doInBackground() is never timed out. Anyone have a clue? public class HostAvailabilityTask extends AsyncTask<String, Void, Boolean> { private Main main; public HostAvailabilityTask(Main main) { ...

^I used levit's answer
 
To check if a user has an internet connection:

1. Try pinging your own app's server (many networks will block IPs like 8.8.8.8 in favour of their own DNS)
2. Try calling a status/echo/health endpoint on your service (some networks might drop all ICMP packets)
Socket != websocket
But yeah, you can do that kind of approach instead of 2
But when testing internet connectivity, it's best to test against the servers you actually want to reach, and using the protocol you will be using
If you start pinging random servers, you might end up in a scenario where a network whitelists 8.8.8.8, but users still can't reach you
Or conversely, they blacklist 8.8.8.8, and you think the internet is unavailable, but it's actually just 8.8.8.8 that's blocked
 
2:29 PM
The probability is very little regarding that, isn't it?
 
It goes up sharply the more your users are on corporate/organizational networks
 
Hm, well I guess that won't be the problem
Its an app for guests of a little hotel
 
The hotel network could also be blocking random IPs
It's not unheard of
 
@RaghavSood probably.
 
I don't think small hotels will do that
 
2:33 PM
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots."
Assume nothing
6
 
wise words
 
Indeed, I would improve my code but I don't know really how to make it better
 
Who said these wise words?
 
just put "// TODO improve" in your code
 
I have used to check whether there is a network connection, but that != internet connection. So I improved my app already slightly, now I am looking for another improvement. @TimCastelijns yea I'll do that
 
2:36 PM
@Blnpwr Rick Cook, apparently
 
@RaghavSood lots of fine words
@Murat any idea on how can I request a tax refund from the Tax Office (finanzamt ?), is it something that can be done online?
 
Look into Steuererklärung
You have to fill one out and send it to them
you can also do it online from their page i think
 
@MehdiB. Borrow a tank
 
@MuratKaragöz thanks! that was the keyword I needed :D
@RaghavSood 1Mx more expensive than my tax returns :D
 
bow down to our new overlord
 
2:49 PM
Who's really gonna ask you to pay rent if you have a tank?
 
@RaghavSood what's your idea how I could do it better? I think I made it too complicated, basically the only thing I have to do is check if a URL in a webView gets loaded properly or not
 
@Alan You should be using the code from that answer, just swap the IPs with your own server's hostname/IP
That's all I was saying
Instead of checking against a random IP, check against the service you need to actually use
 
Oh ok thanks :) so in my case the hotels IP as I have to display that webpage?
 
I love finding comments from previous developers where you can tell they were pissed off
> // added functionality to test the application without LDAP BULLSHIT
 
@Alan just use the webview error handler. You don't have to do anything yourself
internet checking is only useful if you want to check before doing some operation
 
2:53 PM
I check on startup+ when a link is clicked, so webview error handler is easier?
 
you say "check if a URL in a webView gets loaded properly or not", the webview will offer some callback that tells you if it failed to load
your internet check can say success and still the url might fail to load. Easier to let the webview handle it
 
So if a user clicks a link on the webView without internet connection, will the webview error handler be called instantly?
 
@ballBreaker burn the demon
 
I suppose it will try and fail after a timeout
 
@eski oh lawd he's a comin!
 
2:58 PM
Alan, get the reflex of spending some time in your researches before asking around
it will make you a better developer and is gonna speed up your learning curve
 
3:12 PM
no reply, you probably made him cry mehdi, well done
 
Haha
Man do some mercy.
 
!syncstars
 
Ok, give me a second
 
1 second
 
Done, took 56689 ms
 
3:19 PM
That's 56.689 seconds
You should be ashamed
PR - Change message to "Ok, give me a minute"
!stars
 
 User       | Message (20745)                                  | Stars (53970)
------------------------------------------------------------------------------
 McAdam331  | I'M AN IDIOT.                                    | 28
 Carl Ander | PUBLIC SERVICE ANNOUNCEMENT: If the word "fuck"  | 25
 Eenvincibl | So I am gonna have a son!                        | 24
 WarrenFait | ATTENTION: Who ever just mass starred here: If t | 22
 W0MP3R     | I develop in php, and i like it                  | 21
 Octavian D | Support RaghavSood in the 2013 community moderat | 20
 
error, PR not found
 
@TimCastelijns Oh yeah?
 
Just you wait.
 
3:20 PM
also no PRs found for the open issues
 
If the word "fuck"
 
carl is a man of few words
 
posted on February 12, 2019 by Dan Lew

Kotlin comes with several high-level, generic standard functions that apply to any object: let(), run(), with(), apply(), and also(). If you're new to Kotlin you may be wondering when to use them. They're fairly inscrutable; the source reveals a smorgasbord of generics, lambdas, and receivers. There are plenty of articles

 
@TimCastelijns 😂😂😂
 
kind of misleading article until he clarifies intent in the last paragraph
"don't use this feature because if you don't know what it does it might be confusing" yeah duh
 
3:29 PM
@TimCastelijns Look again
 
what about cases where it takes 3X seconds
Nov 24 '18 at 20:56, by R15 Bot
Done, took 25803 ms
you're not doing his performance justice bro
 
You gave it a minute, it did the job much faster, now you can praise the efficiency instead of complain that it took longer than a second.
 
So nobody from the area of Hannover?
 
can also ask for people from Ausfahrt, they live close to Hannover
 
I geniually believed Ausfahrt was a gigantic city
Untill I was 12 or such
I remember at school mentioning ausfahrt as one of the biggest cities I knew
 
3:40 PM
user image
10
@Tim
 
l o l
 
Guys, quick, Tim is drowning - Hide all the lifevests and boats.
 
@TimCastelijns Live to die
I meant dive, so you won't drown
 
user image
10
 
3:46 PM
xD
 
😂😂😂
 
@Mauker love it
 
@AdamMc331 <3
 
how do you feel about "Ok, give me an arbitrary amount of time"
 
LMAO
Perfect
 
3:54 PM
just kidding, pls don't make another pr
 
hi
guys, a strange question.
is there any reason that android studio does not add <?xml version="1.0" encoding="UTF-8"?> at start of string resources?
I found it somehow strange that android studio adds it at start of some files and will ignore for other ones...
 
dunno, but it's not required
 
@TimCastelijns Ok, I'll stop making PRs.
 
00:00 - 16:0016:00 - 00:00

« first day (3041 days earlier)      last day (1906 days later) »