« first day (2114 days earlier)      last day (2832 days later) » 

11:01 PM
That's to fill the empty void in the room.
With normal activity they should have gone unnoticed.
 
*in your sole
 
Not that anybody else listens to them though .______.
@Borgleader In my sole?
Implying I'm flat?:o
 
I listen sometimes bby <3
 
Well, that I am.
@jaggedSpire Aw, but you don't have to :o
 
I wanna try quoting myself
 
11:03 PM
@Morwenn In @Shoe's sole. (Sole (shoe), the bottom supporting member of the shoe., but you know it also sounds like soul)
 
yeah but I enjoy most kinds of music so
 
Well alright, that doesn't work
 
@Borgleader Oh, that was a pun :D
@jaggedSpire Unfortunately I don't, otherwise I'd be at a jazz festival right now :/
 
@Borgleader Too subtle, still nice :D
 
11:12 PM
I'm reading Doujin Work right now. I like it :D
 
I'm rediscovering my like in programming
Very slowly
 
> Oh Kotlin, please be gentle :blush:
 
@nwp If you want to go full cliché, please share at least a Manowar remix by Rhapsody :o
 
nwp
@Morwenn link? this doesn't seem to be it
 
11:23 PM
@nwp It's the sole Manowar remix by Rhapsody I'm aware of.
 
nwp
oh, ok
somehow I like this music right now, even though it's pretty cheesy
 
hello!
hey, @nwp
 
nwp
woot! I got noticed in the lounge. End of the world.
 
@nwp It's cliché but always enjoyable :p
 
Hey, just curious, does anyone know how to use this stupid rand() function??
 
11:25 PM
You don't
 
@nwp You right now: youtu.be/otEvvM4u-D0?t=90
 
nwp
didn't you watch rand considered harmful?
 
ummmm
that domain is msdn.com so I'm not sure if I can trust it...
 
Brian Will one of us! Brian Will one of us! Brian Will one of us!
 
nooooooesss
 
nwp
11:27 PM
@Morwenn aww, I didn't know I was that cute!
(yes, thats what I choose to see there)
 
Me neither.
 
nwp
@Shoe are Java youtube tutorials as bad as C++ youtube tutorials? I don't know enough Java to be able to tell.
 
lol... I used to use 0 until I lost points on my test
 
@nwp Why are you asking?
 
Then I was sorta forced to use NULL...
 
nwp
11:31 PM
@Shoe uhm... I don't really know. Finding out if learning via youtube videos is terrible in general or only applies to C++ maybe.
 
In my experience, unless it's a talk or part of some uni course online, video tutorials are awful.
 
I'm not using time as my seed...
 
And even with talks and uni courses, some of them are awful, but not all of them at least.
 
And I'm using sranddev
Lololol....
 
Use std::uniform_distribution and random generators
 
11:33 PM
Video tutorials describe the general details effectively (sometimes). But they're mostly useless for programming
 
Look this is JUST minesweeper - I don't need stuff that random..
 
nwp
14
A: Random number generator, C++

Howard HinnantIf you've got a c++0x environment, a close derivative of the boost lib is now standard: #include <random> #include <iostream> int main() { std::uniform_int_distribution<> d(1, 14620); std::mt19937 gen; std::cout << d(gen) << '\n'; } This will be fast, easy and high quality. You d...

 
Yay cool. Now I just gotta find C implementation for it...
 
@Shoe We really need user-friendly wrappers around that in that standard library.
 
@Morwenn Or just use the standard C headers...
 
nwp
11:38 PM
@thepiercingarrow then just use srand(time(0)); once in main and rand() % range everywhere else, should be good enough for minesweeper
 
@thepiercingarrow Haha, you know there's even a note in the C11 standard saying rand shouldn't be used in any serious code.
 
@nwp Oh. Thats clever. I was doing rand() * 10 / RAND_MAX, but I guess rand() % 10 is better
 
nwp
arguably minesweeper is not serious code
 
rand isn't even guaranteed to be thread-safe.
 
From the man page:
> rand, rand_r, srand, sranddev -- bad random number generator
 
11:39 PM
 
@Aaron3468 What IS that?
 
Minesweeper as an MMO
 
lololol. Its an MMO minesweeper??
look its just a simple problem I'm having - rand() seems to be returning the same number every time.
 
You need a better seed (usually)
 
I'm using sranddev();
Hey look - % 10 fixed the problem! Thanks @nwp !!!!!
 

« first day (2114 days earlier)      last day (2832 days later) »