« first day (1782 days earlier)      last day (3392 days later) » 

09:00
o_0 remaining time 170 hours
@thecoshman LZMA is bad at parallel processing
@CatPlusPlus then fix it
¬_¬ why does anything on windows report estimated time remaining?
when did they remove "close as too localized"
~~usability~~
geniuses
09:06
awesome. They forgot/removed the code to convert the time points to UTC. And since high_resolution_clock has a different epoch, any sleep time < ~45 years has "already elapsed" -.-
this is just a service; making your programs magically faster
high_resolution_clock is not supposed to have time points in UTC, is it?
Y2K compliant
the epoch is unspecified, IIRC
Because it's for measuring time differences
@MaiLongdong no, but they use the .time_since_epoch() to convert to absolute time
which is..well wrong :D
09:09
That seems to still use the clock's epoch
yeah, but the sleep function and the clock have different notions of "absolute" time
If you want dates, then use the system clock, not HPT
Whatever you do, do use std::ashley_madison for dates
user1804599
I want to be with @CatPlusPlus.
09:12
@CatPlusPlus if you want dates, plant a date tree
I want sleep_until(now + 1234ms) to sleep until 1234 ms into the future, not 1234ms after some unspecified epoch of the system sleep function
Today's best question award! Guy asks:
> Help, when I run cuDNN get this output: False | Device not supported by cuDNN
Then later answers his own question:
> I finally figured out the problem! My system's GPU cannot/is not supported by cudNN, unfortunately. :(
@elyse fist fight with longdong first
makes sense
@melak47 Then... do that? Not sure why you'd want UTC involved at all
09:14
@CatPlusPlus I don't, but apparently the sleep function used by std::this_thread::sleep_until by VC++ does
user1804599
> when this function returns, the name is either registered on all nodes or none.
Or better yet, use relative sleeps instead
user1804599
such distributed atomicity
@elyse Cat is sexy
Xeo
Xeo
Yay, go-kart today \o/
09:17
he has a smooth fur
Xeo
Xeo
With a buffet afterwards
user1804599
I can't wait till I get home so I can continue playing games.
@Mysti Is it more efficient to move bytes by rax or by xmm?
Why wait
@MaiLongdong By crane
Startup idea, Ubercrane
Get to work with class and by crane
Huge success
09:19
can I use a stork instead
We only have strtok available
And it's not even reentrant so no guarantee you'll get to work
Your mom is not reentrant.
You can only enter once
user1804599
My code used to be as thread-safe as strtok.
09:20
16 errors down from 114
Warning 20  warning C4189: 'zcjje' : local variable is initialized but not referenced
Warning 21  warning C4189: 'cdsl' : local variable is initialized but not referenced
Warning 22  warning C4189: 'wth' : local variable is initialized but not referenced
Warning 23  warning C4189: 'cjje' : local variable is initialized but not referenced
Warning 24  warning C4189: 'qszj' : local variable is initialized but not referenced
Warning 25  warning C4189: 'wtlb' : local variable is initialized but not referenced
do you think I care
(yes those are the actual variable names)
them variable names :/
Chinese -> Romanize -> Keep first letter of each hanzi -> Fresh variable name
o_o
that’s dastardly
@MaiLongdong does that not confuse you?
09:24
Not the slightest
#define  FID_JGSCRGZDZJ         9179  //»ú¹¹Ê×´ÎÈϹº×îµÍ½ð¶î  DT£ºR
#define  FID_GRSCRGZDZJ         9180  //¸öÈËÊ×´ÎÈϹº×îµÍ½ð¶î  DT£ºR
#define  FID_GRZJRGZDZJ         9181  //¸öÈË×·¼ÓÈϹº×îµÍ½ð¶î  DT£ºR
#define  FID_JGZJRGZDZJ         9182  //»ú¹¹×·¼ÓÈϹº×îµÍ½ð¶î  DT£ºR
2
No it fits perfectly in his 'change things at random and see what happens' workflow
@MaiLongdong oh my
@MaiLongdong too anime
@MaiLongdong That’s fine since it comes with comments.
09:26
Comments are phonetic transcription of screams of developers involved
There's 2400 constants like that btw.
user1804599
@MaiLongdong omg mojibukkake
I can't English today
@MaiLongdong rip
@CatPlusPlus the standard says sleep_until should use the time_point's clock to measure the time difference. if the underlying system sleep function uses a different clock, then it's clearly not doing that - right?
09:27
System sleep function take relative offsets
Whats this starfest?
@CatPlusPlus this one doesn't, actually.
user1804599
-1 not enough bukkake
I still don't know what the problem is
If all you do is sleep_until(now + offset) then just use sleep_for(offset) instead
09:29
it uses a high_resolution_clock::time_point and treats it like it has the same epoch as system_clock, which it doesn't
@melak47 libstdc++’s take on sleep_until is to sleep_for(rel - Clock::now()) roughly speaking
So it picks up the right clock
@CatPlusPlus now can be whatever, can be stored from earlier...
That's how it should be implemented
@LucDanton VC++ does the reverse :D
@elyse the nice thing is that it's hosted on ~~tumblr~~ (get it?)
09:29
GEDIT?
@melak47 What do you need that for, anyway
@melak47 That makes no sense. UTC has nothing to do with it.
Sleeps are inaccurate as fuck
@R.MartinhoFernandes not UTC per se, but whatever system_clock uses
09:30
@melak47 Breaking news: MSVC exhibits broken behaviour
Anyway you can calculate the offset yourself and use sleep_for
user1804599
@sehe no
@CatPlusPlus spurious wakeups?
Here's a more accurate sleep_until. It might increase power usage though.
09:31
@CatPlusPlus or it could just work like it's supposed to?
@sehe Neither would help for that
@melak47 You're using MSVC
@StackedCrooked That last loop really won't make much difference
@CatPlusPlus of course it would, because _until can just be repeated with the same argument if the reason was spurious
@melak47 Er, I'm looking at the code right now. It doesn't use any clock explicitly.
@CatPlusPlus but that's half the fun
Try that with _for
09:33
@sehe Well yes but you still need wakeup-aware code for that
And your own timekeeping
@CatPlusPlus So, how does that "not help"?
And if you're calling _for yourself then you already calculating the offset anyway
@CatPlusPlus And the point is that _until facilitates that better
@sehe sleep_* doesn't return before the requested time has elapsed.
@CatPlusPlus Yup, which is why he didn't?
09:34
@StackedCrooked that's... determined
@sehe It makes no difference.
Whether you're doing sleep_until(timestamp) or sleep_for(timestamp - Clock::now()) doesn't make any difference
@R.MartinhoFernandes I thought spurious wakeups applied
(I'm actually quite certain it does)
@R.MartinhoFernandes compare with sleep_for, which uses to_xtime or something, which uses std::system_clock::now, then calls sleep_until
On its own that call won't help if spurious wakeup is possible
@melak47 lol
It shouldn't matter anyway
09:36
@sehe It doesn't. Spurious wakeups only leak in the parts where user code would be immune to it for other reasons.
(I.e. the loop in condition variable waits is often needed even without spurious wakeups, so the implementer can leak them)
TIL. Interestingly many other frameworks (at least Java, C# too IIRC) do leak spurious wakeups on simple sleeps
@melak47 I don't see how that makes any difference.
So maybe I was holding these beliefs out of abundance of caution. I think I will keep doing that (but not spread that mis-info)
@R.MartinhoFernandes Assuming you meant that NYDRC (no, you didn't remember correctly)
@sehe You may be confusing with C
In general, spurious wakeups are not a thing.
You just write safe code normally and it works. The spurious wakeups don't add complexity to that.
09:40
@MaiLongdong lel. That's low
@sehe Not kidding. sleep and usleep can be interrupted.
@melak47 It literally doesn't have anything to do with the problem you described.
All syscalls can afair
In any case, rule of thumb: prefer sleep_for.
@MaiLongdong They can in Java too. That's not a spurious wakeup.
09:43
It isn't. I didn't claim it was.
Serious Wakeup
Your moms have spurious wakeups
All of them? That's freaky
all of them IIRC
burn
09:44
@MaiLongdong UTC has nothing to do with it! It's simply outside of the domain. It's not-a-thing.
Yes Martinho you've made your point
We understand
user1804599
bleh
Also, woot, blindfolded solve :D
user1804599
I need something better than Bower badly.
@R.MartinhoFernandes While chatting?!
09:48
Blindfolded chatting
user1804599
I'm starting to believe that even a bash script with a bunch of wgets is better than Bower.
user1804599
At least it supports build steps and subdirectories.
Some fucking retard is ringing the bell on his bike while he's riding down the street. I might just have to murder him.
3
@sehe Had it memorized from earlier; I just did the solve under the table.
I need little Help. How to change uninstaller icon in nsis?
09:57
@R.MartinhoFernandes sleep_for does sleep_until(system_clock::now + relative_time)) which does _Thrd_sleep(time_point.time_since_epoch()) - so _Thrd_sleep wants an absolute sleep time relative to system_clock's epoch. So when you call sleep_until(high_resolution_clock::now() + 1s)directly, it does time_since_epoch(), feeds the absolute time relative to high_res' clock's epoch to _Thrd_sleep.
You'd think 12 hours would be enough to find a solution to your own problem
I have over 10,000+, mostly junk email in this account ... I am taking out the trash tonight
Please anyone?
And 0 people who care
Aug 25 at 5:56, by Xeo
The Good, the Bad and The Rules.
09:58
@Mike We're not a hotline for help.
I am not forcing. Who want to help just help as a senior or teacher?
1 min ago, by Tony The Lion
Aug 25 at 5:56, by Xeo
The Good, the Bad and The Rules.
I am 18 years old programmer. I think here all is senior then me.
Nah, we're all young.
You're wrong. It doesn't matter.
09:59
@melak47 It doesn't do time_since_epoch on your value
@Mike At 18 you should be able to read, correct?
Just read the damn rules.
I read it.
> all is senior then me
This hurts me.
Doesn't seem like it.
user1804599
10:00
I used to be 18 like you. Then I took an arrow in the knee.
@melak47 sleep_for doesn't do that.
@elyse Explains everything
@R.MartinhoFernandes sleep_for calls to_xtime something which does.
but I can't check right now, at work :)
user1804599
> Apparently, this user prefers to keep an air of mystery about them.
The only way you're going to get help here if your problem is actually a respectable C++ question. And even then there is some recoil. Nobody here gives a fuck about icons.
10:01
When I was 18 my only programming experience was c64 basic and pascal.
For last 3 days i am trying to find solution. Also read book and search on google. But I did not find any solution. That's why i came here.
Anyway it still shouldn't matter, esp that xtime is HPT too
If you don't know how to solve that particular problem, nobody should install your software, so there is no need for an uninstaller icon.
@Mike What part of "nobody cares" did you not understand?
@CatPlusPlus but it does
10:01
@Mike And you won't find a solution here! So consistent!
anyway, later :)
user1804599
@StackedCrooked haha you sucked
@melak47 Make an SSCCE or something
@melak47 Bye
10:02
I am a 18 yo programmer with 22 years experience in C#
@Mike Next up, try the convenience store at the local gas station. They might have a solution.
So Another programmer doing here what? Just hanging or joking our discuss you life and home problem. Well done continue..... Best of luck
@Mike What broken logic made you come here of all places?
@Mike Precisely
@Mike Precisely
To you too :)
user1804599
10:03
Trying three days, reading a book and searching on Google all for changing an uninstaller icon.
user1804599
That's what I call dedication.
@Mike We come here to escape the inevitable soulless mess that programming is.
@elyse That's what I call a sign one should pursue a career in botany. Or hydroponics.
I'd like everyone to note that it takes someone 3 days AND a book AND a google search to ultimately resort to step in here.
@MaiLongdong A daring move.
A book might sound excessive for that
I can believe that.
god that favicon
I starred that for posterity and giggles
I'd be curious to read the book on uninstaller icons
10:05
@R.MartinhoFernandes Erm, it's the unistaller icon btw
user1804599
@R.MartinhoFernandes uninstaller, not installer.
who cares about the uninstall icon
user1804599
OP
surely if you have the installer icon correct, it uses the same for the uninstaller?
10:06
or am I being too logical here?
Why does he care about a fucking uninstaller at his level? He sounds like folks who make games by first writing the credits.
> Use UninstallIcon to set the uninstaller icon.
Literally quoted in the excerpt
Seriously, there are even answers from the horse's mouth on SO.
Read the fucking docs
10:07
@TonyTheLion That just wins ahahah
Btw guys...
agar.io
I'm always amazed at the number of people who don't know the "early return pattern" or however you call it
@ʎǝɹɟɟɟǝſ Fuck you, I'm at work :/
> So we can outsource our online insults now?
They just wrap the whole function body in a slew of useless ifs
10:10
I literally can't stop myself from playing a dumb game
@CatPlusPlus Which one now?
Pay attention
Also MSVC's sleep_until is broken, breaking news
@CatPlusPlus starred & ... just let you know ...
Uhm, who is going overboard with the stars? @Lalaland, save us.
10:12
@ElimGarak StarGazer is dead.
What hope remains then :(
RIP StarGazer
StarGazer ruined the fun of stars
The what
10:13
mmm apparently OVH used to have a datacenter in HK but not anymore. :w crap
@ElimGarak I could unceremoniously undo the shitty stars, but I don't want to abuse my power either. Who am I to say whats constitutes a "shitty star".
Only useful when some moron abuses the star system to create flashing stars
Rule of thumb: everything
inb4 star
@TonyTheLion Can you undo mine with the murder stuff. That isn't really star worthy, I'm just annoyed.
10:14
Ok, I will cull about 1500 junk mails tonight, that's my goal
inb4 star on "inb4 star"
@CatPlusPlus You're not familiar with StarGazer?
user1804599
Morning Morwenn
10:15
star gayser
Come one guys, stars should be handed out rarely
@ElimGarak I think if its no longer on the starboard then I can't undo it anymore
deleted about like 100 - 200, 90% more to go!
That message was not really worth it
@TonyTheLion Ah, so the stars get removed based on resolution (1920x1080, still there)
10:16
struct truer_type : std::true_type { struct enable_if {}; };
struct falser_type : std::false_type { struct disable_if {}; };
@Xeo @Luc whatcha think of traits deriving from these?
Yeah that’d cut down some very ugly boilerplate.
How would that work?
Would using foo = enabled; or something help for e.g. SFINAE in partial specs?
truer_type makes me giggle.
10:18
struct truest_type {};
std::truer_type::enable_if
Oh wait no, the whole point is to use e.g. template<typename X, typename Sfinae = void> everywhere right?
I don't see the point in wrapping enable_if in a std::true_type derived class
@ʎǝɹɟɟɟǝſ is_samer<foo, bar>::enable_if
@CatPlusPlus lol
10:19
@R.MartinhoFernandes Oh, I see
@R.MartinhoFernandes samer la put
Why not propose to add that to std::true_type?
lol is_samer
The <X>r thingy is... weird
10:20
@ʎǝɹɟɟɟǝſ "But we already have that functionality present!"
@ʎǝɹɟɟɟǝſ Yeah that'd be the ideal way.
@ʎǝɹɟɟɟǝſ "But Concepts Lite fix ALL THE PROBLEMS IN THE WORLD!"
@ʎǝɹɟɟɟǝſ I'm just using it for clarity, to make it obvious it's not regular std::is_same.
augmented_true_type_singleton
Call it Concepts Lite Lite
10:21
Where is concepts at btw
Alternative title: Worthless Garbage That's Not Modules
Concepts Litter
Oh come on, concepts are not worthless
Modules OTOH are never gonna happen, so there's that.
@LucDanton Dunno. Make it using enable_if = int; and it works with is_samer<foo, bar>::enable_if = 42 and is_samer<foo, bar>::enable_if... as well.
Old school is_samer<foo, bar>::enable_if* = 0 too.
Modulo typenames, which is kinda what turns me off.
(This is the classic "I say something is never gonna happen, so that if it really does never gonna happen at least I have been right, and if it does happen then I'm happy"-win-win-kind-of-thing)
Eh I try to avoid using 'raw' type-level SFINAE these days, so not a deal maker.
@TonyTheLion Whoever convinced them to do those videos deserves an award.
html imagemaps are so 2004
@LucDanton MSVC :(
10:25
Yawn
@TonyTheLion Do you see how the lead kid is intimidated when he looks towards the camera? Are they being forced into it? ahahah
@CatPlusPlus Time for a nap, cat!
@ElimGarak One hopes its all in good spirits, but its hard to tell.
There are spirits involved yes
I think each kid probably gets less than a dollar for doing those stupid videos
Oh, god, the guy that is acting smart and shit when talking about animation limitations and then mentions something that has nothing to do with animations. And then says it ruins the game for him. I want to shoot him in the face.
What is this propensity for violence?
I know cocks like him, so-called cock-stroking critics of games who have no idea what they're talking about but feel obliged to share their nonsense with everyone else.
> critics
says it all in the name of the beast
10:48
> On a scale of 1 to 5, which number is your favorite?
> 1 2 3 4 5
yeah
Is this MGS game not a prequel? If it is, it sucks by definition.
on a scale of 10-10, that's 10, 10, 10, 10, 10, 10, 10, 10, 10 & 10, how good is telkitty?
user1804599
Is Hungary a nice place to live?
user1804599
@wilx Why?
@chmod711telkitty In what? ;-)
user1804599
10:49
MGS 3 was also a prequel, yet a great game.
@wilx that's that matter? :p
@elyse Prequels suck. I dislike them.
user1804599
Weird.
@wilx Talk about being biased
user1804599
No, don't talk about that.
user1804599
10:50
It's really uninteresting.
@TonyTheLion So, preference and taste is now a bias too?
user1804599
preference and taste
@wilx No, but assuming that "all prequels sucks" is.
user1804599
you both suck
@elyse Don't you too?
10:58
HINT HINT
user1804599
different kind of suck

« first day (1782 days earlier)      last day (3392 days later) »