« first day (1259 days earlier)      last day (3687 days later) » 

9:00 PM
@Jefffrey I would specify (as opposed to std::multiply and std::divide)
 
@AndyProwl I am speechless
 
@ScarletAmaranth It's the same everywhere
Things weren't different in my uni
In fact, I'm afraid I was one of them
 
user3010322
G-Gasp!
 
that's the majority of SO community if I were to dare to venture a guess
 
@Borgleader right, thanks
 
9:01 PM
@AndyProwl I doubt it
 
wait
std::add doesn't exists?
is this real life?
 
user3010322
I can't find it.
 
@Jefffrey std::plus
 
user3010322
Nor std::substract
 
@ScarletAmaranth Eh, it's easy to go down the wrong track if there's no one guiding you.
There wasn't any SO back in the day
No one who told me "you suck, do it this way instead"
 
9:03 PM
@AndyProwl doesn't matter, singletons just defy everything that everyone teaches: "globals are horrible"
I know some pretty horrid programmers but they understand that globals just suck
(or "process locals" ^^)
 
Btw it's not like thing are much different after uni
 
even your colleagues o_O?
 
Yeah
And that's even worse
 
you're working on a pretty interesting project, the microscopes, how can they afford to have bad programmers?
also, I heard that MUNI and CVUT are not horrible unis
 
@ScarletAmaranth You can only call them process locals if they're really interprocess or OS-level features, like the standard output stream or memory allocation.
 
9:05 PM
@DeadMG mm, yeah I guess that makes sense
 
Because at least while you're a student you know you have to study. Many programmers think that once they're done with their exams, they won't have to study anymore. It's time to apply now
 
@AndyProwl right, thanks
 
And possibly come up with their own awesome patterns
 
I can't imagine just stopping being interested in new stuff in CS
 
Like, let's have most of our stuff global, because it's easier to write code that way
 
9:07 PM
I want to write better programs, it makes thing easier for me, I don't care about the rest :P
no it's not easier
or maybe I am retarded and can't handle globals
(that may very well be the case, vOv)
 
@ScarletAmaranth Nobody can. That's what makes them bad.
 
If Jeff's codekeyboards looked more like the blackwidow i would get one with clear switches
 
@Jefffrey No prob
Or "I strongly suggest NOT to use any modern C++ stuff like exceptions (??) or lambdas (!!), they just make code more complicated"
 
lol, std::divide_by
 
user1804599
All in the Family is a nice song.
 
user1804599
9:09 PM
Also Cameltosis.
 
@AndyProwl I am actually horrible at handling exceptions : - / strong guarantee, weak guarantee, do something else when nothrow... that's a headache : - / lambdas, on the other hand, I loove
 
user3010322
I just never catch any exceptions.
 
user3010322
Problem = SOLVED.
 
So, your functions never fail?
 
user3010322
Nope.
 
user3010322
9:10 PM
If they fail, they just catastrophically crash the program.
 
or just
catch ellipses and std::terminate
 
user3010322
I haven't really created a program where execution of the program can recover if something fails.
 
user3010322
Save for a few games with save features.
 
9:11 PM
really? my raytracer can continue if you don't texture something
it will just default to acceptable behaviour
to keep the rest of the system going
 
user3010322
Well, I can program that into a boolean check
 
user3010322
if (has_texture)
textureshit();
else
regularshit();
 
user3010322
No need to throw; it's not exactly unexpected or termination-worthy behavior to not have a texture.
 
@ScarletAmaranth The point is, all that stuff applies also when you do error handling with codes, it's just much harder
 
you're not getting my point :)
 
9:12 PM
Exceptions make it more manageable
 
systems can fail and yet be useful (some)
 
Unless of course the alternative is "don't do error handling"
 
@AndyProwl I do USE exceptions, I just use them badly : - /
 
Which is basically the PhD way to the galaxy
 
I actually like the ideas behind exceptions
I just find them difficult to handle sometimes
 
9:14 PM
Sure, but it's not the exceptions that are hard to handle
It's errors
Exceptions make it easier
 
I would be inclined to agree, but maybe, one day, there will be a better mechanism that will remove at least some of the headache
 
user3010322
Callbacks, obv.
 
also, throw 42; <- this needs to go
 
user3010322
:3c
 
yeah that's not particularly useful
 
9:15 PM
@ScarletAmaranth I still haven't figured out how to use exceptions properly. My current approach is kinda ad-hoc.
 
user3010322
YAAAY
 
@StackedCrooked yup, been there : )
 
user3010322
NOISY DSP ADDING DELAY
 
user3010322
Now I need to configure a bunch of DSP together to figure out how to make Reverb
 
why does my monitor make a kettle-like noise when there's too much text on the screen?
 
user3010322
9:17 PM
Because the kemming is cooking.
 
@ScarletAmaranth it's boiling
you need to use less fire
 
user3010322
I need ringbuffer
 
user3010322
because even std::deque has small performance hit I MUST ELIMINATE
 
boost::circular_buffer is pretty good
 
user3010322
9:20 PM
wow, so pretty :o
 
user3010322
much diagram
 
user3010322
many understanding
 
user3010322
such amaze
 
-1
Q: With ajax call, why can't I use this $var post data inside my php document?

B.MatthieuSo...yeah, this is my function that calls ajax. I am trying to figure out why my $value isn't defined in my showuser.php?? function showUser2(value) { var xhr = new XMLHttpRequest(); xhr.open("POST","showuser.php",true); xhr.onreadystatechange = fu...

such quality. wow.
 
@ThePhD such a maze?
 
9:21 PM
@ThePhD teheee
 
user3010322
@ThePhD: The void specializations are new in C++14. This technique was chosen to avoid breaking existing code that uses these templates and to avoid having to introduce new names. Given these two design goals, the void specialization solution is pretty slick. — James McNellis 5 mins ago
 
user3010322
JAAAAAAAAAAAAMES RESPONDED TO ME OH MAI GAWD <333
 
WTF reddit is down
 
I thanks God evridy that someone here pushed me away from PHP
 
despair that noone here has pushed you away from C++
 
9:23 PM
Any idea when Boost 1.56 will be a thing?
 
In the future :P
 
he he
 
well, I gotta go
bbl
 
According to the agenda here, it was expected to be at the beginning of February
@Jefffrey babylon to you too!
 
9:25 PM
one would expect that in 2014, Microsoft would have a compiler that fully supports C++11...
 
(what's bbl?)
 
bai bai later?
(im guessing)
 
be back later
 
my intuition is so awesome today
 
9:26 PM
you have the dumb
 
I totally have the dumb
 
like that cat earlier
 
@ScarletAmaranth Why would you expect that?
 
@CaptainGiraffe it was just a comment on boost being late, vOv
I actually don't expect jack from MS
 
I think MS will catch up significantly on C++1y support (modulo bugs)
 
9:27 PM
yeah, and then C++17 comes along and we'll wait till 2020
 
eh, hopefully not
It seems they just started to invest on it too late
And now they have to hurry like crazy
 
user3010322
@StackedCrooked Ah, boost::circular_buffer will overwrite elements rather than re-allocate once it reaches capacity.
 
it's their goddamn fault for the love of god
they talk about how much they love native stuff and C++ and crap
but they're full of shit
 
absolutely
 
they had a lot of legacy code in their compiler they had to fix up
 
9:28 PM
unable to ship a compiler
 
user3010322
What I want is a circular buffer that will re-allocate if it reaches capacity, but still progress in a circular manner.
 
who needs ASTs?!
 
@ScarletAmaranth C++11.
and not C++03 it would seem.
 
@DeadMG yeah, I am surprised they didn't bother with it prior to that :-/
 
I'm not.
 
user3010322
9:29 PM
Rewriting a compiler engine is a big deal.
 
personally I find an AST-less design is more efficient if the source language does not require an AST.
 
isn't having AST much cleaner?
 
although personally I don't know how they ever implemented templates without one.
 
@DeadMG Isn't that obvious?
 
@ScarletAmaranth Dunno, depends on your perspective.
 
9:31 PM
@DeadMG I am just "guessing" here, I've never really implemented anything too complicated (other than a simple COOL compiler)
 
well
there's definitely some ways in which having an AST is much nicer and easier to handle.
but there's some ways in which it can hurt too I feel.
 
Thanks, works good now. — user3314062 2 mins ago
oh just fuck off
 
user3010322
Lol
 
@LightnessRacesinOrbit at least he accepted the answer
 
hmm
I'm in solar orbit, no EC, and really, really need to turn around.
 
9:34 PM
@LightnessRacesinOrbit couple of weeks ago, you said would stop answering crappy questions :)
 
He lowered the bar :P
 
@AndyProwl I don't think he had a bar in first place
well, my top answer is something along the lines of: "types don't have rvalueness, silly"
 
hi
 
@Rapptz hey
Is that proposal for reflection worth reading?
 
user3010322
@Rapptz-sama~~
 
9:38 PM
uhm
auto mytuple = make_tuple ( typedef<some_namespace::some_struct >... ) ;
That doesn't look too sound
 
it doesn't even make any sense to me
 
Yeah that's what I was actually thinking, more or less
Perhaps they meant make_tuple ( typedef<some_namespace::some_struct >{}... );?
Hard to tell
 
what is he trying to expand there, a typedef on a "const" struct whaaat?
 
Ah, no
 
I give up
 
9:41 PM
It does make snese
But I'm not sure that's what I thought reflection support should look like
 
it calls the initializer_list overload of tuple, but with what, types? o_O
OH
it's the proposal thing
:D
 
Yeah, it's a proposal for two new operators
 
I thought you were reading it somewhere as working code
and I was like: no way :D
 
typename<T> and typedef<T>
lol
 
9:43 PM
hahaha
 
user3010322
 
user3010322
I want to be able to say sorry like that.
 
@ScarletAmaranth Stop laughing and star that shit.
2
 
@Griwes there are already 2 random images occupying the starboard (and now your stupid star message), so no :P
 
I don't like the reflection proposal
 
9:46 PM
@AndyProwl link dat shit please :)
 
@ScarletAmaranth Here
> there is a very good and detailed paper now available
 
@AndyProwl děkuji Ti, dobrá vílo
 
@ScarletAmaranth Nemas za co. Precitaj si to a povedz mi, ci to neni nejaka kravina
Or perhaps it's me who doesn't get it
 
user3010322
> we don't need no new keywords
 
@AndyProwl " we don't need no AST control " is on the first page basically, I already smell bullshit
 
user3010322
9:49 PM
YEAH
 
user3010322
WE DON'T NEED NO STINKIN' KEYWORDS
 
WE DONT NEED NO STINKIN ENGLISHES!
"This is a proposal of static-compile-time-reection, totally strongly typed"
TOTALLY strongly typed :D :D :D
good to know!
 
yeah
except it seems to me like a really really narrow support
 
lots of people have super negative reactions to run-time reflection
 
only limited to data members
 
9:51 PM
I wouldn't mind run-time reflection for serialisation and stuff
not sure why the hatred
" IMHO, comparing to other related documents: "
@AndyProwl to je ale riadna pičovina
 
Also, why was tr2's compile-time reflection support thrown away?
 
I can't take that proposal seriously if it's written with borked English
 
@ScarletAmaranth Hej, to som si tiez myslel. Uz neverim tomu Jensovi Wellerovi ci ako sa to sklonuje po slovensky
 
@AndyProwl kategoria "more code", facepalm
nope, that proposal is horrid and the authors should feel bad
 
> Same about libraries, like std::tuple and BOOST META libraries or future lib of run time structures, possibly some std::class_info and std:member_info things.
wtf?
This can't be a serious proposal
 
9:55 PM
yup, I suspect they're actually trolling
 
I see Walter Bright and Andrei are still trying to advertise D on reddit.
 
> some std::class_info and std:member_info things
2
That's like, a comment on SO
 
lol this was written by someone new to LaTeX
 
"there is a very good and detailed paper"... bah
 
@Rapptz where?
 
9:57 PM
@AndyProwl true
@ScarletAmaranth whoops
well I had a bout of rep over the last couple of days and it's addictive
pub time now tho
so late
 
I'd rather have a sane compile-time reflection based on our current idioms and compiler magic.
 
@Rapptz why would they stop
 
@StackedCrooked Don't know.
 
Did facebook eventually switch to D?
 
but they're at it at full force again
 
9:58 PM
isn't it kinda desperate that you need to advertise your language on reddit?
 
@AndyProwl partially
 
@AndyProwl I see Andrei's been busy pushing D to Mark's sfinctor
 
@gnzlbg Here. It's a thinly veiled advertisement. You'll see in the comments that it was made just to prove how much faster D code can be than C++.
 
(pun intended)
 
9:59 PM
@Rapptz you mean the warp stuff?
 
yes
 
I did invest like one or two hours reading about it some time ago, it seemed interesting to me, installed the VS plugin, and though I'd get back to it later, but didn't find the time
 

« first day (1259 days earlier)      last day (3687 days later) »