« first day (1699 days earlier)      last day (3249 days later) » 

3:00 AM
@buttifulbuttefly in a butt
 
@CatPlusPlus How much cancer can C++ give you?
 
All of it
 
semi-colon cancer.
 
all of it and probably even more
 
badum tss
 
3:01 AM
Never name your kid Seg.
It'll always be his fault.
 
i'll give you a 0/10 for effort
 
@buttifulbuttefly in binary we can call that a score of 6
in which case I pass
 
0/10 is still 0 in all bases
 
@buttifulbuttefly it's because we never got to first base man
 
@buttifulbuttefly 0/10 -> 0|10 -> 0110, I think
I don't know. I'm just going to go do things now.
 
3:03 AM
awful.
 
Excepting base 0
 
@buttifulbuttefly yes, i reckon you're in awe
full of awe
 
Cinch go work on your cancer
It looks like it's spreading
 
Welp if anybody wants to unload a unsupervised hierarchical clustering analysis algorithm on me please do.
 
why does cat++ always appear around 3am?
 
3:06 AM
@chmod711telkitty It's 5:05 pm for me
 
0/10 means 0 from 10, which is good if phun scale was in a -100 to 10 range.
 
@VermillionAzure GMMs and their ilk no good?
 
@jaggedSpire English>
 
@chmod711telkitty Because you have a crappy definition of "always" and "appear"
 
no need to be defensive ...
 
3:07 AM
@VermillionAzure Have you already examined and dismissed Gaussian Mixture Models and related analysis mechanisms in your search?
 
we are not suspecting your doing anything illegal
 
@jaggedSpire wonderful
I know nothing
jon_snow.gif
 
@VermillionAzure Look at the Infinite Gaussian Mixture Model! It's very shiny!
:D
 
@jaggedSpire still don't really get it
i guess I'll just read the papers they told me to read for outlier removal
 
You might want to do that.
 
3:10 AM
@jaggedSpire wanna read?
 
GMMs are mostly for state probabilities, anyway.
 
Oh that reminds me
 
Got links?
 
Nobody read my short piece of fiction :(
 
3:10 AM
42. Yang S, Guo X, Yang YC, Papcunik D, Heckman C, Hooke J, et al. Detecting outlier microarray arrays by correlation and percentage of outliers spots. Cancer informatics. 2006;2:351.
also if you wanted to finish reading
 
this is not fair - everyone else regularly do overnight bushwalks are like sticks, I look like an over stuffed bread roll
 
overstuffed is the word
 
ever walks that are rated medium/hard I start to find them easy now
 
I would like to implement a thread safe auto update listener. It should to the following:

Start a thread and wait for x hours. If x hours are passed check for the update. It checks all the time as long as the application is running. Does anyone have a clue how to do it?
Thanks
 
I am one very fit fattie
 
3:14 AM
@NetworkSysCo.Ltd std::this_thread::sleep_for(std::chrono::hours(x))
 
std::thread update_thread(update_class::init_autoupdate);
update_thread.detach();
ist that thread safe?
 
What do you mean by thread safe
 
I read that it isn't thread safe to use sleep in a while
 
Thread safety is only a concern when two or more threads access the same data and at least one of them is a writer
> it isn't thread safe to use sleep in a while
what
 
I read that you should never do the following
start a thread and loop it infinitive
 
3:17 AM
@NetworkSysCo.Ltd where
@NetworkSysCo.Ltd what do you think a game does
 
@NetworkSysCo.Ltd well bub I have bad news for you
 
43
Q: Why is Thread.Sleep so harmful

BurimiI often see it mentioned that Thread.Sleep(); should not be used, but I can't understand why this is so. If Thread.Sleep(); can cause trouble, are there any alternative solutions with the same result that would be safe? eg. while(true) { doSomework(); i++; Thread.Sleep(5000); } an...

 
@NetworkSysCo.Ltd this is C#.
 
yes but shouldn't it apply for c++ as well?
 
'Shouldn’t'?
 
3:18 AM
@NetworkSysCo.Ltd what
Because C# is SOOOO similar to C++.
 
@NetworkSysCo.Ltd This is not related to the term 'thread-safety'.
 
First of all, this answer is for C#, and second, in the case of waiting for hours, this answer is perfectly irrelevant
 
Which it can be. Just not in this way.
 
@NetworkSysCo.Ltd I don’t get how you got that from the answer you linked.
 
@NetworkSysCo.Ltd What's the precision level on this anyways.
 
3:21 AM
I'll reword this answer. Thread.Sleep considered harmful if you intend to wait for less than clock resolution.
 
I'm waiting for hours so it's not an issue
 
That's exactly what I said earlier
> in the case of waiting for hours, this answer is perfectly irrelevant
 
So the answer objects to single waits if they are too short, too. Why did you bring loops into it?
 
@NetworkSysCo.Ltd just use <chrono>
 
the application has a main thread and an update thread
 
3:23 AM
That being said, if you had said you're using C# since the beginning, I would've recommended you to use System.Threading.Timer instead, rather than sleeping.
 
@NetworkSysCo.Ltd so it's async.
 
yes it is
using static classes to make calls
 
@NetworkSysCo.Ltd So are you using C++ or C#
 
@NetworkSysCo.Ltd Hideous
 
3:24 AM
9 mins ago, by buttiful buttefly
@NetworkSysCo.Ltd std::this_thread::sleep_for(std::chrono::hours(x))
for fuck sake
 
yes will do it that way
 
What kind of speed differences do you get between C and C++?
 
roughly 30 km/h
 
@LucDanton Oh wow. Did we have the same prof?
 
3:25 AM
C++ takes roughly three times as long to type
 
I remember a student asking "sir, what is the speed of the bus?" in hardware class, and the teacher replying "50km/h in the city"
 
sorry i only use murican units :/
 
@buttifulbuttefly How dare you suggest I did not come up with this 100% original joke, it’s that teacher that donut’d it.
 
I've another funny question not really c++ related but interesting
 
@GrantWilliams roughly 35 freedoms/hr
 
3:26 AM
i do like freedom units
 
@LucDanton How dare you verb donuts
 
@GrantWilliams if you give me your freedom I'll give you 5 freedoms
 
I newly bought a dual CPU board the only problem is that it has only a pci-e x8 slot and it doesn't run x16 graphic cards indeed. Would it possible to run a high end x8 card in a server?
the one PCI-e x8 card that I found has a consumption of 300 W
 
@buttifulbuttefly My hardware teacher would have either said 'WHAT?', missed the question, or gone on an Indochina rant (it’s rumoured that’s how he became hard of hearing).
 
@NetworkSysCo.Ltd Dual CPU board as in two sockets?
 
3:28 AM
does the server board deliver that much output
yes
Supermicron
 
@LucDanton WHAT?
 
[ X8DTL-i ]
supermicro X8DTL-i
it's a PCI-e x16 slot but only 8 lanes are powered
 
no idea
 
I guess I've to try it out
sadly there are not many pci-e x8 cards on the market
my target is to connect as many workstations as possible
 
> we have dedicated the time to become masters in the art of programming in C++/C
> C++/C
Okay I guess that's original
 
3:33 AM
all right it's off topic
 
@buttifulbuttefly ++Ɔ\Ɔ
 
another issue that I was facing was setting the checkbox in a context menu
What I like to do is something like Show on Desktop in the sample
I managed to set it statically but not by accessing the gui and setting it through a function
 
@LucDanton ƆƆ looks like a butte
kind of
 
Your writing is better than mine and good enough that it exceeds my ability to precisely gauge quality. Do be aware that my writing quality gauge has been battered by years of abuse, however.
Also, thank you for the paper reference. I'll see if I can get access.
 
what ide/editor do you guys use?
 
3:38 AM
@buttifulbuttefly A Buttiful Butte?
 
been trying to decide if i want to spend the time to learn vim or emacs or if i should just stick with sublime
 
@GrantWilliams learn vim
vi is on every Linux comp
 
Vim is a great editor. You will love it.
 
vim is probably really helpful
but sublime is very good
 
i mean i can get by with vi on the cluster when i need to edit something on the fly, but i havent spent the time to learn much more than save/quit and basic editing
 
3:39 AM
plus there is a vim + sublime mode
 
Vim has a fairly steep learning curve... but once you get used to it, it's like a dance
 
@GrantWilliams same here
 
Don't forget to install the goto Vim extensions, namely a rope and a chair.
 
@GrantWilliams Visual Studio, mostly.
 
Visual Studio is an ICE, not an IDE.
 
3:48 AM
ah i just got visual studio to try out C#
 
fucking git bash becoming unresponsive and unkillable
 
@GrantWilliams Protip: get ReSharper as well.
Also helps learning the language.
 
reSharper?
alright
 
4:12 AM
@FilipRoséen-refp OMG, that looks scary.
 
4:57 AM
@buttifulbuttefly Dude, how have you been btw? Any plan to travel soon?
 
Going to yurop in july. No other plans so far for the rest of the year. And you?
 
@buttifulbuttefly Yurop!!
Nice dude. Not to your country tho?
I am planning to visit my friend in Austrialia.
:)
 
Yes to my country
 
Aha
For how long?
 
2 weeks perhaps
 
5:04 AM
Nice nice.
:) :) :) :)
 
5:56 AM
boredom looms
 
Alcohol solves all things ... temporarily. Now I sound like an alcoholic :p
 
@Cat when is the new system appearing?
@Butt you also absolutely have to visit Poland
 
I knooooow
:(
 
Ell
Morning
I didn't realise we had so many early birds
 
6:10 AM
@AndyProwl look above
Sorry for twatter messing with my clipboard
@Ell it's 8am and I should be on my way to work already
But we played factorio and I'm sleepy as a result
 
Ell
Oh yeah I forgot you're an hour ahead of me
 
Ell
7:21am
 
6:32 AM
34:28 am
 
Ell
My neck frickin killz
 
Ell
@MarkGarcia lol
No, I will not become your bitch if that's what you're suggesting
9
 
6:47 AM
Also, my Google search history's tainted. Possibly yours too. :P
 
user1804599
7:08 AM
hi
 
Ven
hi!
 
hi!!
> HA! Joke's on them I can't have birth defects because I've already been born.
lol
 
> Is it possible to increase the refresh speed of srand(time(NULL)) in C?
wow wow wow wow
What is the though process these people have
 
@buttifulbuttefly they assume computers are magical and guess on what they might want to do
 
@buttifulbuttefly He needs to travel at a higher, relativistic level, speed compared to the computer running his code.
 
7:14 AM
yo
 
@MarcoA. I've seen that. It apparently runs very slow.
 
@BartekBanachewicz So what is the FPS of srand?
 
user1804599
@MarkGarcia awesome want
 
Xeo
Hah. I notice @Andy's video is going mildly viral. Almost 8k views!
 
> Alleria worked closely with Turalyon and Khadgar in the campaign to expel the orcs from Lordaeron. Upon learning that the Horde was marching towards Quel'thalas, Alleria led the Alliance army to the defense of Silvermoon, briefly reuniting her with her sister Sylvanas and comrade Lor'Themar Theron.
whoah
I didn't know wowwiki was so detailed
 
WoW Lore is one of the very best IMO
 
7:27 AM
yeah
 
Ven
@buttifulbuttefly WoW PVP is one of the... wait nvm
 
user1804599
PvP is bad.
 
user1804599
Coop master race.
 
Ven
PVP is the only good style
 
@Rapptz this guy is a troll btw
 
user1804599
7:29 AM
I like to play Minecraft in a communist fashion.
 
waoh +134 on reddot
 
user1804599
@Ell but will you if that's not what he's suggesting?
 
@BartekBanachewicz Without even mentioning Rust!
 
user1804599
Rust is dead.
 
user1804599
R.I.P.
 
7:30 AM
We need to bore Andy more.
Rust In Peace
 
> At the time we made this decision, STL spec had just changed so that you had to do:
&s[0]
to access underlying memory, and then you weren't guaranteed the memory was sequential.
what the fuck
is this total bullshit or what
 
@Rapptz oh lol
@BartekBanachewicz No it's true
 
user1804599
> Rust is a systems programming language that runs blazingly fast, prevents nearly all segfaults, and guarantees thread safety.
 
user1804599
LOL nice.
 
user1804599
7:31 AM
So I don't even need any synchronisation.
 
user1804599
It just guarantees everything is thread-safe.
 
how can you not be guaranteed the memory is sequential
 
it's not true
 
There was no wording in the standard
But in practice everyone did it
 
only true for std::string but not anymore as of C++11
 
7:32 AM
what
 
user1804599
That means I can first check a file's existence and then assume it's still there an hour later and it'll be fine!
 
@LucDanton well.the obvious flaw is that it fails to be constructive IMO. The unspoken assumption seems to be that there are ingots better ways.
 
yeah for vector it was always guaranteed
 
woah bjarne commented on it
 
But then again the Hitler video isn't exactly constructive and I'd rate that as highly informative too
 
7:33 AM
@BartekBanachewicz >>starboard
 
user1804599
C++ needs no modules.
 
@BartekBanachewicz The video that made Bjarne register to Reddit.
Andy's done good.
 
reddister
@MarkGarcia Andy is such a Prowl!
 
user1804599
I know a person named Hoa.
 
user1804599
7:36 AM
"ASAP" isn't a thing on Stack Overflow. It's your own problem. — rightfold 16 secs ago
 
lol im rewatching the vid and it's as fun as it was the first time
> Screw translation units! Throw them out and design something usable!
 
user1804599
nonono totally wrong
 
user1804599
don't add anything to C++ for at least fifteen years
 
My personal favorite being the "always bitching about the cost of a function call or moving a pointer"
 
Mine's the MSVC rant, especially the crying ladies.
People around me was perhaps weirded out when I laughed to a video about Hitler.
 
7:41 AM
> But "lambdas before Java" isn't exactly an achievement
ahaha this guy
 
user1804599
Java's had lambdas for ages.
 
user1804599
They were just incredibly verbose.
 
user1804599
x.m(new T { @Override public U n(V y, W z) { ... } }); :P
 
Not a lambda
 
user1804599
They can ever close over locals!
 
7:42 AM
otoh others
> Sure in some abstract form C++ is very ideal
:psyduck:
 
A lambda is by definition an anonymous function
 
user1804599
Single-method objects are functions, and this single-method object is anonymous.
 
The function is not
 
user1804599
The method is not.
 
user1804599
But it's merely a method on the function.
 
user1804599
7:44 AM
Like operator() in C++.
 
A method is a function
 
also wut
why is this C++22 and not C++23?
 
user1804599
It's about the object, not the method, hth.
 
user1804599
I'm not passing methods around.
 
user1804599
7:44 AM
I'm passing objects around.
 
Then that's not a lambda
 
> Modules are already fifteen years too late. I'm gutted. Luckily C++ is just a hobby for me. I can't imagine how I would feel if I was doing C++ for a living. There are ideas I have that will have to wait ANOTHER five years because of this. Just wow.
 
user1804599
And the objects are anonymous and they are functions.
 
user1804599
Hence they're lambdas.
 
user1804599
7:45 AM
You're horribly wrong once again.
 
I was typing that
 
user1804599
Not my problem.
 
Nothing is
 
> All compiled languages that don't descend directly from C have modules
 
user1804599
Dec 22 '13 at 21:48, by Cat Plus Plus
I've got 99 problems and being terrible at everything is like half of them
 
Ven
7:47 AM
the others are jay-z
 
user1804599
@BartekBanachewicz When did COBOL have modules?
 
friend sent me this
 
I'm surprised china is not darker
 
Ven
when did Smalltalk have modules? :o
 
1942
 
user1804599
7:48 AM
@Rapptz lol
 
user1804599
Smalltalk didn't exist in 1942 you idiot.
 
stupid fucking shit windows
 
@Rapptz it's hard to not be racist
 
@rightfold Apparently COBOL started in C.
 
user1804599
Good thing races aren't depicted on that picture.
 
7:50 AM
OTOH this doesn't take the population density into account
 
wow you all think you're so smart defecating in a toilet when only indians have figured it's more ecological to do it in the open
wake up, sheeple
 
which makes Africa look like a less viable outdoor shitting place
 
Ven
@rightfold thanks unicorns
 
user1804599
> threads without data races
 
user1804599
All languages have threads without data races.
 
user1804599
7:52 AM
But like those, Rust also has threads with data races, but that isn't mentioned.
 
It's blazingly fast you fool.
And I dare you to find a benchmark that shows the opposite.
In fact, I dare you to find a benchmark on Rust's performance at all.
Aside that, it's blazingly fast.
 
user1804599
Runs fast, develops slowly.
 
user1804599
The classic performance problem.
 
user1804599
I won't take Rust seriously until Servo has been abandoned.
 
user1804599
I should write a tool that periodically checks the Servo repo for changes to see whether it's been abandoned yet.
 
user1804599
7:57 AM
Then publish the results on isservoabandonedyet.com.
 
@Jefffrey that's why I suggested smelting on-site :O
 
user1804599
Does Factorio has refactoring tools yet?
 
you're a tool
literally.
 
user1804599
 
So, wait, this factorio thing you're spamming since a few days is just a classic tower defense?
 

« first day (1699 days earlier)      last day (3249 days later) »