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

5:00 PM
> Kanye West: "I Have Decided in 2020 To Run for President"
I guess Trump was a stepping stone to real idiocracy
 
are you allowed to partially specialize a variable template?
 
@melak47 lolwut
 
16 hours ago, by Borgleader
@Ell My prediction is that Idiocracy will move from the Fiction to the Documentary section.
 
@melak47 I allow it.
 
5:01 PM
@JohannesSchaub-litb On the other hand, I already had several problems with variable templates with g++ while it always worked with Clang. Maybe you can assume that Clang is right and submit a bug report to g++.
 
@R.MartinhoFernandes lolwut what
 
@melak47 Yes.
 
typedef steady_clock high_resolution_clock;
 
@Borgleader It wasn't just a comedy movie, it was a warning
 
@R.MartinhoFernandes :)
 
5:02 PM
system_clock::is_steady = false;
 
:(
 
sleep_for uses system_clock.
 
isn't that what I told you earlier? :p
 
> A steady clock is used to measure the duration
http://en.cppreference.com/w/cpp/thread/sleep_for
No.
Different brokenness.
 
the standard says whatever clock is in the time_point should be used. don't see a mention of it being steady or not
 
5:04 PM
@Prismatic I know D: Better stock up on Brawndo
 
@melak47 sleep_for has no time_point.
 
hm, oh yeah.
well that should be fine then?
(if system_clock is steady)
oh, it's not?
ergh :(
 
> The member functions whose names end in _for take an argument that specifies a duration. These functions produce relative timeouts. Implementations should use a steady clock to measure time for these functions.
 
@Prismatic Would probably be a better, more qualified candidate than Trump...
 
3v0
you can use the spacebar instead of using underscoes u kno
Im doing it rite now
 
5:06 PM
lol
 
3v0
yall can thank me later
 
@melak47 Also, not using steady clocks is the reason you should really avoid sleep_until.
 
nono
sleep_until uses whatever clock you want :p
 
and high_resolution_clock is steady_clock :)
 
5:07 PM
@melak47 Yes, which kinda makes it broken.
@melak47 No, it isn't. Only in MSVC (and it wasn't in previous versions)
 
3v0
its a scientific fact that windows PRE vista is better than post vista
 
I really can't think of a scenario where sleep_until is the one you want.
 
of course only in MSVC
 
@melak47 Yes, but also not in MSVC.
It wasn't steady in VS2013.
Don't rely on that shit.
 
@R.MartinhoFernandes start = clock::now(); do_work(); sleep_until(start + 2s);
 
5:09 PM
Yes, broken.
 
what
 
There's exactly one clock in the standard which is safe to use with sleep_until: steady_clock.
 
ready_clock, steady_clock, go_clock
 
@melak47 So, what are the requirements?
That at least 2 seconds elapse? Broken without steady_clock.
 
What Robot's saying is that not using monotonic clock for internal timekeeping will make your app go haywire on sudden adjustments
 
5:11 PM
@R.MartinhoFernandes for my use case? I want to do work and sleep for up to 2 seconds of the remaining time
 
Though that probably doesn't apply to HPT
 
@melak47 Yes, it can wake up 1 second after.
@melak47 Only steady_clock makes that guarantee reliable.
 
Anyway that sleep_until is definitely broken on MSVC, chuck it in the bin
 
Plus, using high_precision_clock has no effect on the precision of the sleep.
 
hello how is traiangel formed in DirectX6 ?? thank you
 
5:13 PM
i am SNIPE
 
@Nooble inb4 flag
 
MSVC is a deep work of genius
 
For durations that aren't < Clock::period, the resolution of the sleep duration is not determined by the clock.
 
@sehe Urban Dictionary for crossfitter
 
What's with this "deep work of genius" thingy?
 
5:14 PM
> Le mâchon est un élément du patrimoine gastronomique lyonnais. Une confrérie, les Francs-Mâchons, contribue à son essor et à sa notoriété.
 
I assume the Francs-Mâchons are involved in fixing the global prices of cheese & other assorted conspiracies.
 
@ʎǝɹɟɟɟǝſ You are ignorant and new to the language
I thought I could do a 2h nap to feel better but I don't
Meh
Going back to sleep
 
Heh, the standard even has this note:
> If the clock is not synchronized with a steady clock, e.g., a CPU time clock, these timeouts might not provide useful functionality.
 
A real cat :3
 
5:17 PM
@R.MartinhoFernandes lol, thanks
 
This reminds me I need to file a nonius bug that has not manifested but has been bugging me for a while.
 
Is that the "genius" he is talking about?
I guess not
 
Yes.
It's essentially a sarcastic circumlocution for "bug".
 
Geniuses are works of a deep genius
 
Well, he wasn't the one that invented the language
He says he started working with Go for something else
 
5:20 PM
You mean the guy in the interview?
Just a fanboy.
I need to static_assert that HRC is steady here github.com/rmartinho/nonius/blob/stable/include/nonius/…
I need a steady_high_resolution_clock :(
 
@R.MartinhoFernandes is your blog re: nefarious sounding ways to collect packages up yet?
 
@JonClements Not yet, sorry.
I haven't done anything productive in two weeks.
I haven't even unpacked my stuff.
Or lived in my flat.
 
Man, watching gcc compile is like watching paint dry.
 
how dare you
 
user406009
use clang
 
5:25 PM
watching paint dry is far more exciting
 
will also get LLVM/clang soon
 
Has anyone noticed a difference in clang vs. gcc compile times in day to day use
 
I built LLVM/Clang with MinGW a few days ago. But I didn't try it yet, so I can't tell.
 
@R.MartinhoFernandes Wow, that seems like such an arrogant thing to say
 
I guess you don't really want excitement during the build process of a compiler/toolchain. Falling into a massive hole of suckage.
 
5:28 PM
Why does xmlbadlet segfault on Ubuntu mini but it didn't on Ubuntu Server?
 
> Go is set to become the Java of the future, in my opinion. It’s spreading like wildfire.
 
@R.MartinhoFernandes sorry, train stop.
 
user406009
I don't understand the Go people. Why use such a limited language?
 
@R.MartinhoFernandes the standard explicitly states what could and should happen if you use non-steady clock and it is adjusted
 
5:30 PM
@Lalaland Don't let @elyse hear you say that
 
domyhomework.com could be good for profit. Make desperate schmucks pay.
 
user406009
I am fine with pure languages.
 
so using sleep_until with high_resolution_clock may not be guaranteed to wake up reliably when you want it to, but it still has to work with any clock
 
user406009
Pure gives you other benefits.
 
user406009
Go's lack of features is just pointless.
 
5:32 PM
removing choice can be a good thing in programming imo
 
user406009
Yes, but go goes to far.
 
user406009
Too*
 
user406009
Generics in particular are really useful.
 
Phil Collins so awesomeness.
Removing programming can be a good thing in choice imo
 
Removing things can be a good programming choice, imho.
 
5:34 PM
All true!
 
If you really wanted to, you can write another piece of code that automatically generates things for multiple types
 
user406009
You really want to throw away generics guys? What about typesafety?
 
@Lalaland there is no type, only string
 
Just saying its an option
 
user406009
I do agree that simplicity is important. But languages like Python and Clojure are relatively simple to use while still being, well, usable.
 
5:36 PM
@melak47 There is no string, only registers and addresses.
> Approved by the Khronos Board of Promoters on July 23, 2010.
ARB_separate_shader_objects has been around for a goddamn eternity
> Approved by the ARB on 2012/06/12.
 
ARB_program_query has not been around for as long. Support for it is probably not going to show even as an extension.
 
@Lalaland That's a pile of horseshit
 
user406009
Which part?
 
the part where Python is usable
no dynamically typed language qualifies as usable.
 
5:40 PM
Not even lua? :c
 
C++ (1)4 life.
 
@ElimGarak It's not like Machinima had any actual moral fiber to begin with.
 
the main way to use Python is to simply apply it to problems where the lack of usability doesn't end up being a problem
@ThePhD No.
 
@ThePhD No.
 
:c
 
user3047181
5:42 PM
i found a trick to call a function on a deleted object. Is that supposed to be possible?
 
I haven't used Clojure, but if it is dynamically typed, then the same applies.
 
19:42, gcc still compiling. Send water & food.
 
@MeltyButter You cannot call functions on deleted objects.
 
The main way to use Python is to look for a library that already solves your problem. Most of the time, it works quite well.
 
@MeltyButter Your trick is bad and you should feel bad.
 
user3047181
5:42 PM
 
user406009
Clojure is dynamiclly typed to the extreme.
 
@R.MartinhoFernandes the bug where it doesn't work with VS2015's clocks? :D
 
@MeltyButter UB.
 
@melak no?
 
user3047181
UB?
 
5:43 PM
@R.MartinhoFernandes why won't you fix that one :(
 
Works fine with those. @ThePhD provided the patch.
 
oh :D
 
@MeltyButter Just because it doesn't blow up in your face doesn't mean it is well defined or should be used. Google Undefined Behavior.
 
@R.MartinhoFernandes wait, when was this?
 
user406009
@ElimGarak what are you compiling?
 
user3047181
5:44 PM
@ElimGarak but thats a hell of an undefined behaviour...
 
@MeltyButter before anything please describe what you expected the result to be.
 
@Lalaland gcc 5.2 right now, with a few dependencies before it. Whuy?
 
user406009
You don't want to use the provided packages?
 
user3047181
@R.MartinhoFernandes well some kind of sigsev I guess
 
3v0
my ass feels funny
 
5:45 PM
@Lalaland I want to do it myself, it's been a while since I was in manual land called Linux.
 
user406009
One of the main advantages of Linux is that everything is easy to install
 
user406009
Linux is not manual land.
 
Need to get acclimated and stuff.
 
@Lalaland If not use
or, well, install for that matter.
 
3v0
5:46 PM
XP is better than linux
 
@Lalaland Compared to Windows, it's Syria.
 
user406009
The only time I had to compile gcc when I needed a 5 year old version to get binaries linked against an old libc.
 
user406009
@ElimGarak sudo apt-get install gcc
 
user406009
Done. Next
 
5:48 PM
xd
 
Ell
@lala not recent enough
Emerge gcc
 
I don't suppose anyone's done anything Intellisense worthy on the Lunix side?
 
user406009
@Ell Fine, switch to Ubuntu testing is you want more recent junk.
 
Ell
@elim intellisense worthy?
 
user406009
@ElimGarak Qt creator trys.
 
Ell
5:52 PM
As in, as good as intellisense?
 
Yes. You type, it helps complete your sentences. An imaginary girlfriend.
 
Ell
Use vim or emacs (whichever you prefer) and YouCompleteMe
I prefer emacs
 
@R.MartinhoFernandes oh yeah, was fixed months ago :)
 
Ell
I also use flycheck to get compile errors as I type
 
@ElimGarak How about JetBrains CLion?
 
5:53 PM
@Ell why would you want more compiler errors? :p
 
@fredoverflow Will check it out, anyone else comments?
 
Ell
You know what I mean :P
I have never used visual studio really so I'm not sure of how it compares, but YMD is pretty good
@elim are you ignoring emacs & vim? :P
 
@Ell Oh, I intend to try everything tonight.
 
@ElimGarak enjoy cmake :/
 
qtcreator's autocomplete isn't that good with c++11
 
Ell
5:55 PM
I see :)
 
We'll fling shit at all of them and see what sticks.
 
CLion was really unstable last time I checked
QTC is kinda fine, but it uses gdb so the debugger is useless
 
was that before or after 1.0
 
I hope my rep (110,000) isn't in binary :)
 
but yeah, CLion looks most promising, but needs to mature a bit
 
5:57 PM
@BartekBanachewicz What don't you like about gdb? Works great for me
@unordered_meow Android Studio has put me off jetbrains stuff pretty badly. Such a slow and clunky UI
And CLion is written in Java
 
@elyse Have you watched Scalawags lately? They're a bunch of Scala nerds :)
 
@Prismatic gawd. Has anyone used it lately?
 

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