« first day (3692 days earlier)      last day (1264 days later) » 

6:01 PM
@misha130 To convert each byte to 8 binary digits, I assume you just count in binary right?
 
yea
 
@misha130 How come you're splitting each byte into 4 groups of 6 bits?
 
because you can convert the 6 bits in to ascii
and because its possible
 
Can you not convert 8 bits into ascii?
Wait, I think ascii is 7 bits, right?
 
yes
but the point is encoding
you limit your range of asciis to just 6 without the last one
and thus convert your bytes into a string
 
6:09 PM
I thought ascii was 7 bits, but this stack overflow is not clear on whether ascii is 7 bits or 8 bits
 
Hey All, could someone please tell me what is the best meaure on Github.com when it comes to popularity of a particular open-source code repository? Is it pullrequests?
 
@misha130 sorry, I don't get this part?
 
it is 7
well what you are trying to do here
is to encode
so you are making an ascii with only 6 bits instead of the normal 7
you just dont use the 7th one
because the math doesn't fit in here to use the 7th
 
Right
100110 -> 38 the left side is 6 bits
If ascii is defined as 7 bits, how is 6 bits still ascii?
 
cause its 0100110
 
6:17 PM
Right, are you saying that:
100110 -> 38
111010 -> 58
001011 -> 11
101001 -> 41
Is actually:
0100110 -> 38
0111010 -> 58
0001011 -> 11
0101001 -> 41
?
 
yea
technically its 00100110 because you can't really store 7 bits
 
sure you can
 
but thats besides the point
how can you store 7 bits?
 
:D oh right. Got it now, thanks.
 
in chunks of 56
 
6:19 PM
great
kind of clever
 
or any common multiple of 7 and {smallest memory/storage size}
 
so ascii does this?
i wonder
 
@misha130 That's cause he's a C++ develeper
 
i doubt it...probably just fills in with 0s
unless you absolutely had to maximze efficiency..
 
@misha130 you have picked 3 bytes here.

[31, 139, 8, 0, 0, 0, 0, 0, 4, 0, 43, 206, 72, 204, 43, 201, 72, 4, 0, 223, 54, 137, 31, 7, 0, 0, 0] - In this case should I pick all the bytes here? I mean 31,139, 8, 0,0 so on?
 
6:21 PM
if its encoding files and I just write a single letter it just goes on with 49 zeros?
@ABuckau yea it probably doesnt unless someone made it at home
 
seems less efficient than using 1 byte :p but is doable..
there is no police to stop u :p
 
@ABuckau @misha130 's question was:
5 mins ago, by misha130
how can you store 7 bits?
@ABuckau your answer was:
5 mins ago, by ABuckau
in chunks of 56
 
@owgitt yea you take 3 each time
 
@ABuckau You are storing 56 bits which contain the 7 bits you want. How is this the same as storing 7 bits?
 
the idea is you dont need the extra 0 on the end of each 7
if you can divide it by 8
 
6:29 PM
@misha130 Because 56/8 = 7. Okay now I have a rough understanding of why you can store 7 bits in chunks of 56 bits.
Normally, how many bits does a computer store. Is it 8 bits?
 
a byte, yes 8
 
$ wc -c test.txt
12 test.txt
Right, yes
@misha130 So when you store 7 bits inside chunks of 56 bits, does the computer divide the 56 bits into 7 groups of 8 bits?
 
no
it was just a joke
 
Ha. Ha. Ha. I knew that
 
ha ha ha...
;^)
 
6:50 PM
not a joke..its called packing data..
@black bit manipulation would be required...more cpu work, but saves space.
 
@ABuckau seriously? Okay, thanks for letting me know it's not a joke.
So is this correct:
 
no but
 
20 mins ago, by Black Panther
@misha130 So when you store 7 bits inside chunks of 56 bits, does the computer divide the 56 bits into 7 groups of 8 bits?
 
you dont actually seriously do this
I understand the logic
I even got how it wasnt a funny haha joke
 
@ABuckau is the following the type of bit manipulation that goes on:
21 mins ago, by Black Panther
@misha130 So when you store 7 bits inside chunks of 56 bits, does the computer divide the 56 bits into 7 groups of 8 bits?
 
7:01 PM
oh yeah so we watched Bionicle 2 in my server and my friend absolutely loved it
nah jk she never wants to see anything from the franchise ever again
 
@Freerey According to Wikipedia:
> Bionicle 2: Legends of Metru Nui is a 2004 direct-to-video science fantasy action film
 
ya?
I knew that lol
 
Seeing 2004 and direct-to-video in the same sentence is never a good sign
I think Lion King 2 was direct-to-video, but there are exceptions
 
all the bonk films were direct-to-video lol
they weren't great by any means, but my friend's reaction was interesting because rather than be outright angry, she was bored out of her mind
 
I thought I was knowledgeable about movies, but all these films you're mentioning I've never heard of them before, fortunately :D
@Freerey Haha, that's the normal response
 
7:12 PM
the only people who really knew about them were kids who liked the toys in the early 2000s c:
 
Makes sense
Did power rangers start of as a toy, or did the movie come first?
I remember really enjoying power ranger movies as a kid, but if I saw them now I probably would vomit :D
 
The hell is Morpheus doing in that movie
That reminds me, there is a new Matrix movie coming out
Have you heard?
 
what?!?!
 
The next installment of the Matrix is in production. Keanu Reeves is back as Neo
Not sure about Lawrence Fishborne as Morpheus, and Agent Smith.
 
7:26 PM
here is a hot take
all the characters in the matrix movies suck
 
I must have watched the original matrix well more than 5 times
@misha130 hmm why?
 
well i am judging the characters by their development
over the three movies
and as far as i can see the best was actually that guy who betrayed them in the first movie
 
Damn, you have a point.
 
he had the most development
 
@misha130 Cypher?
 
7:28 PM
I think soo
 
I hated that guy as a kid lol
 
yea he is supposed to be a bad guy guy but atleast he is complex
it isnt all black and white
and this guy makes his moral choices
the rest of them?
kind of just go with the flow
 
wat
 
@misha130 I don't really remember the reason he betrayed them. Was it because he no longer believed in what they were fighting for?
 
he really wanted steak
 
7:30 PM
yea
 
@ABuckau haha. I just remembered that scene for the first time in probably a decade or more
 
he really wanted that steak
 
iirc he was tired of war..giving up was "not so bad"
 
i dont think its the concept of war itself that he was against
it was more like virtual reality vs shitty reality
 
i didnt say it qas
 
7:32 PM
ok
 
@misha130 did Neo not have good character development in the first movie? They showed his development from office worker to savior of the humans.
 
[Captain Obvious] wtf are you guys talking about
 
he was a confused little boy
throughout
i dunno i didnt feel it
 
@Botler The new Matrix movie
 
[Captain Obvious] There's a new matrix movie
 
7:35 PM
i just wish if they do make a new matrix movie they dont use any of the old cast and just the world
 
@Botler Yeah! Not sure if it's a reboot or a new instalment, but Keanu Reeves is back as old Neo.
 
[Captain Obvious] It's been like 15-20 years hasn't it? That's gonna be really weird
[Captain Obvious] I never watched any of them anyway lol
 
arent they also making a lotr series?
 
@misha130 He started off like that, but there was a point when he pretty much overtook Morpheus as the leader/main guy
At that point he was no longer a confused little boy, Trinity knew this too ;D
 
he became this enlightened guy
who punched agents
 
7:38 PM
@misha130 Too late, Keanu is definitely back :)
@misha130 Maybe was Keanu Reeve's boyish looks that gave the impression of a confused little boy?
@Botler It came out in 1999
 
his bill & ted adventures definitely showed
 
@Botler On one hand :0, but on the other hand, the 2nd and 3rd matrix movies were crap so you didn't miss too much. Also Matrix 1 didn't age well because it used so much special effects
@misha130 haha, I almost saw that movie in the cinema but it seemed too zany for my liking.
@misha130 I've not heard any news. Sadly, I never got into lotr. It was before my time.
 
it came out in like 1954
 
@misha130 The book did. I think the first lotr movie came out much later
Did you know that the green stream of characters in the matrix are mostly Japanese characters?
 
no idea but the more you know
 
7:55 PM
I think it's called digital rain
 
Stack overflow chat won't let me upload a gif, but discord does. Guess this is one good reason to use discord sometimes
 
[mywrathacademia] @butler1233 thanks
[mywrathacademia] @butler1233 I missed when the C# stack overflow chat migrated (if that's the right word) to discord. It seems that some members are writing code for discord. How can one contribute?
[mywrathacademia] Is the code on github?
 
Hello guys
 
[Li] Henlo
 
8:10 PM
I asked a question today
I was wondering if you can help me there
 
[Captain Obvious] Depends, was it in the last hour?
[Captain Obvious] If not, post the link and we'll take a look
 
i have no idea and desperate ahah
0
Q: My AspnetCore application does not receive publications from a .net core console application via SignalR

RenanMy AspnetCore application does not receive publications from a .net core console application via SignalR I have an aspnet core 2.1 web application that contains a SignalR Hub. I need to make a .net core 2.1 console application that send information to my hub on my web system. I did a development ...

If there is something wrong with the question, please tell me
 
[mywrathacademia] Thanks. First of all, is the code on GitHub code for a bot or app?
[Captain Obvious] A bit of both
[mywrathacademia] I don't see views, controllers, or models
 
sorry, what github code?
 
[Captain Obvious] Sorry renan not for you, there's a seperate conversation going on here too
[Captain Obvious] It's a console applicaiton which acts at both the stack chatbot and the discord bot
 
8:23 PM
ok
 
[mywrathacademia] Cool! So stack chatbot and the discord bot run simultaneously?
[Captain Obvious] @renan There's way too much code in that question. It's not a great question
 
Ok
Feedback This is a good
 
[Captain Obvious] However, what is your console app actually outputting? After the InvokeAsync line it should be outputting somehting (either an error or the Task.Result
 
I put all this because in my opinion they are important
54/5000
Yes, my console app is fine with no errors
 
[Captain Obvious] Something key to mention too is that you're using the InvokeAsync method, which, as the name suggests, runs async. However your application ends immediately, so it's possible your code isn't actually getting a chance to send the data before it ends. Maybe put the final line of your application to be Console.ReadLine() so it continues running until you press something
 
8:28 PM
by the way the void main can be async so you dont need the continuewith
 
Ok eu vou tentar isso
sorry
Ok, i will try it
 
[mywrathacademia] @butler1233 how does discord know that you are using Visual Studio? Isn't Visual Studio a desktop app
[mywrathacademia] Wow, impressive. I use visual studio code. So far this is what I found for vs code:
 
@CaptainObvious i get error now
 
[mywrathacademia] No reviews
[Captain Obvious] ew vs code
[Captain Obvious] @renan what error?
[Bacteria] Hi, here is Renan
[mywrathacademia] You're the one who uses Rider πŸ˜…
[Captain Obvious] uh no I'm not
[mywrathacademia] Never? Maybe you switched recently
[Bacteria] error
[Captain Obvious] I tried it once or twice and hated it every time
[Captain Obvious] Ah well I think that error is fairly self explanatory
[mywrathacademia] I feel the same, I don't hate Rider but switching from Visual Studio to Rider was tough, eventually I just installed Visual Studio Code and never looked back. I'm on Linux so we don't have Visual Studio 😿
[misha] i am on rider
[misha] its 10/10
[misha] OBJECTIVELY 10/10
[Captain Obvious] The IntelliJ UI system is AWFUL
[misha] i agree 90% but something about rider just works
[misha] it compiles my .net 3.5 and I know how to do it
[mywrathacademia] I thought you were @Wietlol . He swears by JetBrains
[Captain Obvious] ngl it's almost entirely the UI system
[Captain Obvious] BUt there's also the fact that it just completely dies when opening some of my projects
[misha] actually yes one of the best things i like about it is the fact that I can choose which msbuild version to use
[Captain Obvious] Why would you want to do that
[mywrathacademia] @misha I couldn't get c# interactive in Rider to work properly
[misha] there isn't any C# interactive
[misha] because sometimes it doesn't work
[misha] I had visual studio tell me I need to upgrade version 4.6.2 to 4.7.2 4.5 to 4.6
[misha] rider doesn't play these games
[Captain Obvious] If your project doesn't work in specific versions of msbuild I don't think it's Visual Studio's fault
[mywrathacademia] What's awful about it? Using IntelliJ feels different to Visual Studio. Like controlling a video game character that feels weightless, if that makes sense.
[Captain Obvious] No that makes literally no sense
[misha] its msbuild's fault
[Captain Obvious] doubt <x>
[misha] or event when i tried installing dotnet 5 (preview/rc) and then visual studio would stop compiling old stuff properly because reasons
[Captain Obvious] So in standard Jetbrains fashioon they "added" a "feature" that doesn't work
[mywrathacademia] πŸ˜…
[Captain Obvious] That sounds accurate to me
[misha] yea dont use it
[Captain Obvious] I can confirm that this is also fake news
[misha] RIGHT
[misha] and THUS VS #1
[Captain Obvious] VS > VS Code > Anything else > Rider
[misha] i cant handle vs code's debugger so meh
[misha] why didnt you do it that it stars it on SO chat?
\[**[Captain Obvious](https://discord.gg/PNMq3pBSUe)**] Becuase nobody has done it yet...

https://github.com/butler1233/stackoverflow-chatbot/issues/26
[Captain Obvious] It's under discussion
[mywrathacademia] I've used all three, and I have to say that VS Mac is a beast, the Windows VS has even more features. I agree with @butler1233 ranking although I love VS Code because it has extensions for all programming languages I like, so I can code in one familiar environment.
[Captain Obvious] VS Mac isn't even VS though.
[mywrathacademia] I found that out recently, which shocked me. It's still great though. Microsoft needs to make VS for Linux
[Captain Obvious] It's just ~~monodevelop~~ Xamarin Studio
[mywrathacademia] Microsoft now owns Xamarin though
[Captain Obvious] Well yeah obviously
[mywrathacademia] @butler1233 did you have to get permission from Stack Overflow mods in order to attach discord to the C# Stack Overflow chatroom?
[misha] o-of course
[misha] why would you ask that
[misha] who on earth would go on to do such a reckless thing as making a discord server without getting permissions
[Bacteria] @butler1233 I tried again, but i get that error
[Captain Obvious] I will decline to answer this question
[Captain Obvious] However, Rob did come and join us on the opening day
[Bacteria] image
[Captain Obvious] What does that last line in the image output
[Bacteria] image 2
[Bacteria] 'Console.WriteLine(connection.State);' print 'Conected'
[Bacteria] error 2
[Captain Obvious] I think your connection might be closing for some reason
Try adding the following code before the line connection.StartAsync().Wait();:
cs
connection.Closed += (exception) =>
{
    if (exception == null)
    {
        Console.WriteLine("Connection closed without error.");
    }
    else
    {
        Console.WriteLine($"Connection closed due to an error: {exception}");
    }
};
[Bacteria] Isn't it necessary to configure something in the web application?
[Captain Obvious] Nah, if the connection is going up then the hub must be working on the other end
[Li] Why are we using Task.Wait instead of just. await.
[Li] Kinda confused
[Captain Obvious] He wasn't awaited before
[Captain Obvious] Apparently now he is? w/e though doesn't really matter
[Li] I see
[Bacteria] Connection closed due to an error: Microsoft.AspNetCore.SignalR.HubException: The server closed the connection with the following error: Connection closed with an error.
[Bacteria] 😦
[Captain Obvious] See if you can dig into the exception and find out why the connection is closing.
[Captain Obvious] It looks like your connectino is opening and then immediately closing though
[mywrathacademia] Okay, no worries.
[mywrathacademia] That's nice. What day was the grand unveiling?
\[**[Bacteria](https://discord.gg/PNMq3pBSUe)**] @butler1233 look it "Connection closed due to an error: Microsoft.AspNetCore.SignalR.HubException: The server closed the connection with the following error: Connection closed with an error. ArgumentNullException: Value cannot be null.
Parameter name: groupName"
[Captain Obvious] Last monday I think
[Bacteria] In my hub i have it
[misha] the error is kind of clear now aint it?
[Captain Obvious] Yeah I think you need to debug your hub
[Li] <a:ablobthinkzerogravity:558728070580666368>
[mywrathacademia] Recruiters have not contacted me yet on xing
[Li] I mean. They aren't gonna be that quick
[Li] They likely have to go through hundreds of people
[mywrathacademia] One person looked at my profile yesterday just as I was setting it up but I didn't have a picture up yet
[Li] F
[Li] You'll get them eventually
[mywrathacademia] @li223 are you familiar with xing.
[Li] No
[Li] I only learnt of it's existence when you signed up to it
[Li] <:JUSTLOL:720206278772916304>
[mywrathacademia] Has anyone ever competed in battlecode?
[mywrathacademia] Or any similar programming competitions?
[Li] What in up shit is battle code other than a programming competition
[Li] Also. I considering doing one but that requires me to be good at programming which just isn't happening
[mywrathacademia] Why do you think you are not good at programming?
[Li] Have you seen the absolute shite I produce
[Li] <:JUSTLOL:720206278772916304>
[mywrathacademia] No, show me
[Li] It needn't see the light of day even though it's public
[mywrathacademia] @butler1233 is it possible to synchronise discord status with the c# stack overflow chat room? Note, this is not a feature request.
[Li] Tbh everything I have on GH is really outdated in terms of skill
[Li] There's shit in there where I question my sanity
[mywrathacademia] If it's C# just copy-paste here. You're being too hard on yourself.
[Li] Nono. Legitimately, it's bad for my personal standards now
[mywrathacademia] Oh right. Okay. At least that means you have improved.
[Li] Been tempted to go through and update it but it's pointless when nobody uses any of it. Lmfao
[mywrathacademia] I have some programs like that. Some of them are written in Python which I have not touched in almost 3 years.
[Li] Man. Python was my first love which I did for my GCSE and never touched since
[Li] Though been tempted because tensorflow
[Li] I've been wanted to find the 3rd task I had for my coursework because my teacher couldn't do it and neither could I and I'm fairly certain it was some very trivial sorting
[Li] Iirc you had to sort a list 3 different ways
[Li] And it gave you the 3 ways
[mywrathacademia] It was my first language. Wouldn't call it my first love. I know it's hard to believe cuz it gets a lot of hate but Java was my first love πŸ˜„ until I met and fell in love with Roslyn😍
[Li] I say first love it was also my first lanagueh
[Li] If you mean love in what language I used the shit out of first
[Li] It's C#
[Li] And will always be. I'm a massive C# fan boy
[Li] That and it's just effort learning another language I won't use other than for fun
[mywrathacademia] haha, if you do find it and you can solve it now then that means the student has surpassed the master 😎
[Li] Exactly <:WesmartNGNL:585606431349145639>
[Li] But so far been unsuccessful because OCR only releases past exam papers and coursework specifications.
[Li] Which don't have the task in
[mywrathacademia] Microsoft designed a very good language
[Hozuki Ferrari] Java is fine. C# is fine. Python is fine. It doesn't really matter what language you use. What matters is your 'lil brain doing brrt and making things work.
[Li] I'm mad
[Li] That task didn't even count towards my grade
[Li]
[Li] I spent an ungodly amount of time on it
[Hozuki Ferrari] Yes, brrt.
[Li] Indeed, Bert.
[mywrathacademia] But, what is Brrt?
[mywrathacademia] @Hozuki do you know of any C# programming competitions?
[Hozuki Ferrari] Brrt, is, I mean, just brrt. Your brain buzzing like a CPU doing work, y'know. So, brrt.
[Hozuki Ferrari] @mywrathacademia I don't think any programming competition has any merit, so, no.
[mywrathacademia] Oh, the sound brrrrrrrrt
[Li] Brian go brrrrrt
[mywrathacademia] I mean a programming competition like battlecode. I don't mean one of those Leetcode type stuff
[Li] Seems like they meant competitions in general
[Hozuki Ferrari] Oh yeah there was this one game where you programmed every robot to make a huge civilization of worker robots.
[Hozuki Ferrari] That was funny. But the name... eh...
[Li] Screeps
[Hozuki Ferrari] Yeh, that.
[Li] Great game
[Li] <:MashaThumbsUpNGNL:585611158254518282>
[mywrathacademia] Yes, that's what I'm looking for! But in C# preferrably.
[Li] Er
[Hozuki Ferrari] When I was a kid, so you know, AGES ago, there was this game where you're playing as a guy on an alien planet. And you have to program bots to get resources. That was the first time I ever coded. πŸ˜‚
[Li] Closest you can get with screeps is using TS
[Li] As the game uses JS
[Hozuki Ferrari] Yeah, and TypeScript is ❀️ anyway so why not
 

« first day (3692 days earlier)      last day (1264 days later) »