« first day (2866 days earlier)      last day (2306 days later) » 

00:00
It will be my descendant
It'll be your fork
Bah, I have to cook again
Terrible
New Zealand needs a street food revolution
What are you cooking today? Nuts and bolts?
Chicken
But it's so much effort
Ah, I see. This chicken
00:11
Gotta take it out of the fridge, preheat the oven, move it into an oven-safe tray, put it in the oven, thread.Sleep(30*60*1000), then take it out of the oven
Ridiculous
(I'm actually eating chicken now lol. I also had to cook)
Oh well
I shall be in Singapore soon
Food everywhere, only a few dollars away
It's lovely
> You've earned the "Unsung Hero" badge (Zero score accepted answers: more than 10 and 25% of total).
People are so ungrateful
error: oven slept for 30 minutes, food not cooked
That's how the oven gets turned into scrap
We have a very temperamental oven to begin with
It enjoys randomly changing the settings
And burning everything
@trevor-e Raghav actually meant itself, not the oven
That's what you get when you apply ML to your oven Raghav
00:15
We didn't
It's this old, mostly mechanical controls, oven
No fancy displays or stuff
Just a few dials with don't seem to be very well tuned
old school
Anyone been to melbourne?
I'm sure someone has
Your deliberate misinterpretation of questions has been noted, Mauker. This action will be reported
00:23
I would have starred that it you didn't just insult my integrity as a professional
#saltyAF
Too much salt can lead to heart attacks Dave
Salt is an electrolyte, its got what plants crave
that's why you salt your plants for optimal growth
00:41
@RaghavSood Oh boy.
Let's build a login wall, and make the clients pay for it
I gave my two cents
me too
01:13
@ColdFire Are you or any of your friends or family getting flooded? I just heard about massive flooding somewhere in India...but my knowledge of geography is very limited so I have no idea what part it is in.
He's not in that area
@lydia_hallie I once started a side project that was meant to become a network connecting side-projecters to finish their side projects. I just need to find someone to finish it. If there only was an easy way to find people for this.
01:45
Anyone know of any open source testing tools that allow a make request, expect callback type of test?
what do you mean by "allow a make request"?
Sorry, should have been "allow to make a request"
Anyways, I'm trying to do integration tests across a number of services
So I will be making a REST request to one service
But the result will only be evident a few minutes later in a webhook emitted by another service
So I need some tool that can make the request, and then consume the webhook and look for a specific entry to confirm it works fine
There's several different scenarios for this, so it ideally needs to be easily scriptable
And there's about 6 different services that all rely on each other in this manner
Expected to grow exponentially
02:19
@RaghavSood My only experience with testing RESTful APIs is with jest and nock for frontend tests...but those don't actually make HTTP requests because nock mocks them...and django's unittest-based testing framework.
I know postman has some scripting capabilities, but I have not used it extensively
oh hi
o/
@RaghavSood something like "PostMan" ?
@Code-Apprentice Mocking isn't an option for integration tests, I need actual stuff to go through
@payne I don't think postman can do webhooks
The services here interact with various blockchains, so I need actual transactions to be broadcasted and mined, and the webhooks pick up on that
I guess I don't know what a webhook is..
Reverse REST
Instead of you making the request, you receive it from someone else
Usually when some event happens
I came here specifically to ask a question about the interaction between my Android Application and our Backend RESTful API :p
02:26
Denied.
:p
Which key concepts or keywords should I be looking into if I want my request to be executed in another Thread?
The answer could be coming back within the 'Home' activity, and if it did, it should be transfered to the next Activity. OR, it should be continued (or restarted???) while the other Activity is loading or created.

So:
- asynchroneous request
- the received information should be available in the current Activity, no matter which Activity
- moving from an Activity to another on should transfter this information rather than require the application to make a new Request
@RaghavSood yah, I figured. Postman is my only other suggestion...and I have no idea if it will support what you want.
I guess i'll have to just write it
@payne You should post your question on the main site and be patient for answers.
Probably too broad for the main site
But it sounds like he needs an eventbus
02:32
I guess I should read the question...
Most questions I post on the website end up being flagged as either too descriptive, or not enough descriptive.. it's somewhat frustrating :p
and this right here would definately be flagged as "too broad" or "too subject to opinions rather than facts"
yes, finding the balance between enough information and not too much is challenging
asking the right question is an art
Usually, how to do X questions will just be closed, unless you show code attempting to do it
SO seems to have moved away from broadly pattern based questions
I'm not entirely sure I agree with that, but well
You still likely want an eventbus, though
Take this for example: I ended up finding an answer and posting it, but in the mean time I got downvoted and flagged...
Huh, links have an underline now
What is this, 1997?
02:35
at the very lowest level, you can do create your own threads to do the network requests. At a step higher, you can use AsyncTask. Then there is LiveData and ViewModel (I'm just starting to learn about these, so not sure if they fit your needs exactly). And some kind of eventbus like raghav says...otto is a library from square that I've heard of.
EventBus, from the few seconds of reading I've done so far, are a Library thing, rather than something already included in Android or a programmation concept, right?
Eventbus itself is essentially a data pipe
It's offered on Android via libraries, yes
yup, there's a meta post about the underlines and their potential collision with underscore in code links.
But the concept itself is not library centric
Quite a few languages have first class eventbus-esque support
Go channels, for instance
Or even bash pipes, at a stretch
yes, event bus is a general concept. I don't think Android implements them natively, but there are Android libraries for them.
02:37
Python's yield/generate, perhaps
Oh no
I'm out of food
well...today was payday and I'm already poor again
Goddammit
I just cooked, like an hour ago
This is ridiculous
out of food? Does that mean nothing in the cupboards...or just nothing that seems appealing?
Nothing cooked
My friend programming this piece of our application has integrated Intent and AsyncTask, indeed
02:39
In hindsight, 8 chicken wings were probably not going to last forever
but his thing is very buggy/behaves weirdly, and he had to integrate conditional "!= null" statements on everything related to the request in the code, which makes it ugly
Ramen = 1 minute
Oh wow. I've only spent $700 or so all semester
That's only roughly $120 a week so far
not including tuition?
I expected it to be way more
Yeah, this is excluding tuition and rent
That's paid upfront at the beginning
This is just food/transport
you live on campus?
02:41
Yup
I spent that much just today lol
when did your current semester start?
July 12th or so
I'm talking solely living expenses
The new laptop and flights to Singapore are obviously not included
In general, tuition + travel + living + rent probably runs me about 50k usd/year
jesus, that,s a lot
Out of which like 24k is tuition
And another 10k is rent
tuiton is 5k per year, rent is 500$ per month, food is like 10$/day
in CAD
so about 25% less for USD ?
that's like 11k USD, approx, per year
02:44
are you in the US, payne?
Being an international student has disadvantages
Mainly, cost
Plus, I go to Singapore more often now than when I was in the US, so that's another 1.5k or so a year
you are closer, so it's probably cheaper than if you had traveled from the US to Singapore.
Yes, but not by enough to offset additional trips
Plus, I now need Singapore and Australia visas, which adds another 600 or so per year
But, going to SG means cheaper food, so I save on that 120 or so a week
So the final cost is likely lower
Either way, 50k usd/year sounds about right
@Rag: eventbus looks very promising! Thank you so much
I'm from Montreal (Canada)
so Rag, you work in Blockchains, it seems?
it's the second time I see you talking about that :p
IOTA shall rock this world
03:11
Rag, you've used "EventBus" itself ?
I have, for about a year or more
Greenrobot's version of it that is
basically, one sets up some kind of EventListener on the Request which will eventually give a response, and you use @Subscribe on certain methods to have them wait for the reponse, and this @Subscribe can be used throughout the code, no matter the Activity
thus, one can effectively make a threaded server-request and have access to the information asap from anywhere in the app?
It's nice, but I really don't like how disjointed things are in eventbus. I can see that a method subscribes to an event but it's difficult to tell where that event is posted. That's one of the reasons I've really liked RxJava.
03:19
so RxJava also has the capacity of doing the same as EventBus?
On larger projects it's easy to lose track of the emitters
In a sense, yeah. But it's not exactly the same thing
how does the library deal with a method trying to access the requests object's parameters if the event hasn't gotten the response back from the server yet ?
You mean on eventbus?
The said method won't have access to the object before it's emitted.
yeah
Let's say you do try to read a sticky event, and it wasn't emitted yet... you'll get a null pointer.
just check for null and wait for the event
03:30
k ty
03:48
Thank you @TimCastelijns for your kind response if i need any suggestion from you then i will ping you
@TimCastelijns
You really don't want to ping people multiple time unnecessarily
If you are replying to an old message, one direct ping is enough
 
2 hours later…
05:40
Morning
\o morning
\o
I know this api's. But I asked for all the token list. anyway thanks. — Sam_S 6 mins ago
06:10
Good morning guys :D
\o
not a good morning either today.
\o
I have to wrap up this assignment
So much effort, for no useful product
i have to keep up with adult life while broken like ground under a plow
so much effort D:
I have to keep up as 17 year old boy without any money. I think I have no life either
06:19
at 17 you don't need money yet
Oh yes, I live in a college. I have to pay extra food and stuff by my own tho.
Logically, I get to eat and a place to sleep in the college but there is no healthy vegetables and fruits we get so that`s why I have to cope on myself
06:40
morning, nerds
0/
sup german nerdfc.
:D
@MehdiB. oh fuck run
morocco to enforce military service
This is what peak performance looks like
06:55
who dis
is that gave newell?
stop with this blasphemy
How can you guys not recognize the chosen one: Gabe Newell
dunno
probs because most of his projects are air. not apple air, but still air nowadays.
07:10
hunting down layout issues makes so much fun
wanna trade for firebase crap?
I never trade crap with crap
i wish my only issues were about layout lol.
need a tester?
someone decided to close the keyboard when a fragment is shown with this command (which seems to clash with adjustResize in the manifest)
> window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN)
hideSoftInputFromWindow wasn't enough?
/ setShowSoftInputOnFocus( false )
07:21
normally we do that (even have a util method for that) but it was not used
Goddammit
resulting in unscrollable content as soon as the keyboard was out
weird
Just wasted an hour debugging because '' apparently makes python only listen on ipv4
While passing localhost to getaddrinfo and creating a socket will broadcast to ipv6
07:25
wit
07:42
just python things
07:59
import this
that was the only missing dumb decision to complete
all the retardness levels
pack up and move here to my sofa bro
Think it's gonna backlash, people didn't like it and social tensions are getting higher, so maybe they'll drop this medieval crap
time for Machine gun Learning mehdi
3
Hahahaha
08:10
lol
not joking, if you gotta be forced into it run away fast, my house is empty right now bc i'm with my parents.
Thanks :D
enforced military service + civil disorder can only lead to bad stuff
@Code-Apprentice its not in my area thanks for the concern tho, its in kerala parts of Karnataka and parts of Himachal
08:18
I can think of only 1 reason why would they do that in 2018, when it was never enforced: people are getting more agressive and critic toward the authority and we start to have a "freedom of speech"-like society so movements started to emerge
And some were successful between the youth
So i think they want to remove this and put young people in Line with the military mindset
To Never question the authority, and adopt some forced nationalist feeling
Retards
o_0
oh i see morocco is enforcing military service
sounds bad
Yes, Major Lieutenant Mehdi isn't happy, clearly
ML Mehdi, for short
oh i see they scrapped the mandatory military service in 2006
MLM, for shorter
@WarrenFaith Heute ist der 7. Oktober 2013 or Heute ist der 7, Oktober 2013
08:48
7. seems logical
but you never know
That's what I'm going with
it's like 7th. And the latter is just a date. I guess you could use it without "der"
ist der 7 Oktober, 2013
just speculating
:D
btw bot reacts to edited messages now
!killtim
Worst bot ever
08:50
ok
let me know if you have suggestion on how to improve it
!accept should make a request to give the person write access
@shouldmakearequesttogivethepersonwriteaccess welcome. Please start by reading the rules and confirm you have read them before saying anything else.
5
7. is fine since in EU
Also, validation
08:53
^
valiwhastion
what do you mean
!accept I wonder if the bot will fail on the length limit when trying to ping since it won't use a multiline message, unlike this one
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passa
@ColdFire german has some custom notation for "th", like 2nd floor is "2. floor"
Looks like it did fail
i see
08:55
depends on what you categorize as a fail. The regex does not match newlines
user443346
Goodmorning o/
oh jordy sup
@RaghavSood does androidbot do this? I only see requests to ban and remove access
09:05
\o
\o
@RaghavSood btw needs RO for this. I am not sure people are ok with that
@RaghavSood Heute ist der 7. Oktober 2013 is correct
Nice, that makes my life slightly harder
But I already handled it
So it was harder in the past
@TimCastelijns It does, yes
Although I'm not sure where
I wrote it in somewhere
Oh, interesting
I never committed that stuff
09:20
I see
May 6 '15 at 15:29, by Raghav Sood
!/addid 2412895
do a auto accept
It used to just say added, but I reckon printing the welcome message is nicer
It made some good choices, too
Ah
I had accept with the welcome message
May 22 '15 at 15:34, by AndroidBot
@Jhawins Welcome! Please read, confirm reading and follow the room rules
addid didn't use the welcome message since the user being added was not necessarily present in the room, so a ping would have been useless
anyway, I reckon granting write access is just the same command but a different string value for access
It's a post request
09:29
cheerio m8
well, maybe implement later. If bot ever becomes RO
make the bot RO then
I don't know if the rest will approve
remove every other RO
09:37
hmmmm
lol
ZuccBot the only RO
surely raghav would not see a problem with that
@MuratK. valid suggestion XD
Tim is not a great leader
He needs to have ideas like me
I would totally make this room great again
3
Would you like to stand for elections?
09:46
xD
i thought this was not a democracy
It isn't, this was a trick question to ban him for treason
user443346
It took me 4 hours to realize what he was trying to prove
That he can make you waste 4 hours?
Apr 21 at 14:23, by Raghav Sood
Mar 23 at 10:30, by Raghav Sood
Dec 15 '17 at 14:25, by Raghav Sood
This is not a democracy
lol
09:47
@RaghavSood too alpha for that
#MuratForChancellorGermany
CF has also been banned for treason
I would change access requirements to gym membership
09:53
CF trying to assert dominance
mehdi are you busy?
nope
you are familiar with testing right
with the concepts and with junit yes
my most important class is ass and not really testable. I am looking for tips on how to refactor to make it possible e.g. to let the bot process mocked events and verify that the correct usecase was triggered
10:00
what's the class?
github.com/TimCastelijns/Room15Bot/blob/develop/src/main/kotlin/… below line 78 is not really important. That is all code to handle incoming events
so your issue is with the incoming messages, because right now they're only room related, right?
2 contributors both tim castelijns
room related is fine, but I am not sure to go about mocking the events
bot does not have public handleEvents functions. Instead it assigns listeners to a room instance
I would personally have a "CommandProcessor" class that takes care of the content, the rooting and new actions would be on the Bot class of course, so that's 1
10:15
I was writing this actually, *EventHandler
but I can not easily extract all that to a class
yeah, you'll have to create a sequential flow with a class for each step and the Bot being the orchestrator after receiving an update from each step
because the bot handles the lifecycle of the usecase observables. Probably would be a lot easier if all those were coroutines instead
ok, let me see
11:00
> The distance between the near camera and the objects is about 10 metres. The distance between the 2 cameras is about 5 metres. So about half.
The average star is 47,300,000,000,000 km away. The radius of the earth is 6,371 km, or 1 in 7,424,266,206.
Could you please do this again, but this time put the second camera 0.00000000134 milimetres in front of the first one, as a much more accurate representation?
Thanks
XD
Hmm
This soup is strange
I blame Mehdi
It said Moroccan Bean Soup on the tin
haha!
from a restaurant or concentrate powder?
Just canned soup
Skynets system penetration through the digestive system, failed...
(you should avoid canned food as much as you can, especially for small / easy recipes)
Why tho
It's easy
11:11
because of all the conservators etc..
Fair enough
Lack of sleep will do me in way before that, so tis fine
user443346
@MehdiB. Made me giggle so much :d

« first day (2866 days earlier)      last day (2306 days later) »