« first day (3284 days earlier)      last day (1649 days later) » 

mr5
5:18 AM
@Wietlol how are you able to pull your bot here?
 
 
2 hours later…
7:31 AM
@mr5 simple bot commands
I am still unsure of how I want to match the commands tho
i probably want to have a map of keywords to these actions eventually
 
7:43 AM
over a gigabyte of logs
 
8:16 AM
Ah fuck
The office has been gassed again
@Wiet why are you logging to Json
 
because it is easier
I can import the logs into a database and search through them, categorize information, set up alarms on specific events or sequences of events, etc, etc, etc
ever heard of elasticsearch?
if you want to use that to its full potential, you better use some structured data format
not just [LEVEL] [MOMENT] [MESSAGE]
 
But the whole thing about most logs is you can log arbitrarily
And of course I've heard of Elastic, I use it in my newest project
 
I dont do most logs :D
 
8:37 AM
I've cloned my project from github and see this. What can I do?
 
See what?
 
I'm taking screenshot. wait a minute
Right click and restore nugget packages not worked
 
look at output
why it didn't restore
 
Yeah ricght click and restore very rarely works for me too. Try building it and see how far it gets
@misha130 It usually just says "they're already restored" even though they still don't work
 
I really can't understand from these packages if its a core project or a .net
 
8:46 AM
@kokabi It could also be that your nuget is configured to install the nuget packages to somehwere else from where the project is expecting them.
 
It's .net, core packages are stuctured sensibly and it would say nuget instead of just references
Core:
 
That is what I'm get after build and rebuild
 
Then what should I do now?
 
8:49 AM
@kokabi Look at the very first item in your error list
 
either install Fody or remove Fody I suppose @kokabi
 
Try going to nuget and manually isntalling Fody 5.0.0
If it thinks its already installed, uninstall it and reinstall it
 
best question I think is why do you have a vb project at all
 
@misha130 Older project
 
out of curiosity what version of .net?
 
8:50 AM
@kok If that fixes it, it will be an issue with your packages folder being not where the solution was expecting it to be
It's been updated to 4.7.2
 
I try it now
 
oh wow
 
I used to write in vb.net back in 4.0 days
 
a well maintained vb project
 
And it took a while for me to switch to C#
But it's "well maintained" because it's basically the beating heart of the company
We're an online retail company which sells thousands of different items (think amazon but much smaller) and that's the progtram where items are created and kept track of
 
8:53 AM
did you move from 6.0 to something?
 
No that project is only about 4 years old so it started on vb.net 4.5.2 I think
It's one of the first applications I made for my current employer
 
I don't really hate VB but it just feels even 4 years ago there isn't much support for it anymore
 
Remember that vb.net and vba/vb6 are quite different
vb.net has most features that C# on .Net has
 
I know but the approach would be like "if C# has it why not just use C#" even though there is nothing fundamentally wrong with VB
 
Because I wasn't confident with C# yet enough to use it in work
 
 
3 hours later…
G K
12:13 PM
Hi all,
I am trying to consume this Api in my C# console application. I have read the content as a String and then using XmlSerializer to deserialze into my object.
Api link - http://thecatapi.com/api/categories/list

But the problem is the array collection (categories) in this case is not de-serializing it.
This is the piece of code which is used for de-serializing and my model classes
 
Why not use JSON instead
 
G K
The api returns data in xml format and I cannot use Json converter.
 
The API also returns data in Json format
 
G K
I tried doing that but then I have encountered error as like in this stackoverflow.com/questions/15965570/…
 
Just add the content-type header to ask for the json
 
G K
12:23 PM
Hmm I did it using in Postman, but still the content is displaying as xml
So I tried reading content as string and then decided to de-serialize but now I have encoutered issue with array/list in the xml file. It was not able to deserialize.
 
Hmm
All the documentation says it returns JSON
I know
Put ?format=json on the end of your URI
And it will return JSON
Supplying that you want JSON in the headers should work but for some reason doesn't
 
G K
Hmm
I tried in header but not as a query string.
Let me try this now.
 
@Squirrelkiller What you doing in here on a sunday
 
Trying ot build a chat bot obviously
 
12:38 PM
Exactly what I've been thinking for the last 20 minutes
Also "What persona should I even give it?"
 
Sandy from Spongebob
The animated squirrel
 
Some squirrel bot? Squirrel in a mecha? Something else copletely?
 
She usually wears a space suite too
 
Nnice idea
 
Apparently it's a diving suite (which makes sense) although it looks more like a space suite
 
12:53 PM
Hi folks, what do you think about this issue: github.com/xamarin/Xamarin.Forms/issues/7973 ? It sounds irrelevant to me.
 
That's like...something better to be added to github itself I guess?
iDunno, too meta for me.
 
@Squirrelkiller Yes. I think so.
 
I can't even work out what it's trying to do
 
Xamarin.Forms has too many bugs in the waiting list. :-)
Bill Gates must hire more people to fix the bugs much faster. :-)
 
 
2 hours later…
mr5
3:03 PM
@Wietlol I mean, who did you talk to that you're able to inject scripts on this website? rlemon?
 
@mr5 He doesn't inject anything. It's an application running on some server that uses the SO API to 1) read the chat and 2) send messages to the chat.
Just a like a user would through a browser
 
3:16 PM
Anyone know the difference between a good ol' core3 "Console application" and a "Worker Service"? Seems pretty much the same to me except the way it's bound to the shell.
 
worker service is a windows service for example
I mean they are templates
 
The worker service isnt actually a windows service though - you'd have to extend the worker service template with a windows service nuget package. Without it, it's just a background service.
...that is bound to a console window.
 
advertising was that it could automatically become a windows service in windows and deamons in linux
 
3:33 PM
Oh nice. Seems like I missed a tutorial for that, since the one I found said I had to add that nuget package. Guess I'll look harder next time.
 
mr5
3:49 PM
@Squirrelkiller oh. that's how SO bot works
 
Yup. Currently trying to build my own using SharpExchange.
 
mr5
you forked it?
 
yes
But just to play around and contribute updates. For my own bot, I'm using the nuget package.
 
 
5 hours later…
9:17 PM
it is complete
i have 1GB of se wss messages
 
Noice
Now open source it!
Also run it
 
working on it
I just stopped running it
now it is confused
 
And don't wait too long, I'm working on my own bot :P
@Wietbot 'sup
whoops
Anyway work tomorrow, bye
 
bye
something is borked with my shutdown...
 

« first day (3284 days earlier)      last day (1649 days later) »