« first day (1352 days earlier)      last day (3598 days later) » 

4:07 PM
Is the Dutch team sponsored by Easyjet? That orange hurts my eyes.
 
user3010322
@Borgleader Have some time? I could... use some help picking at this.
 
@ThePhD Hmm?
 
user3010322
I want to give you my raytracer and let you dick around with it for a bit, because at the moment I can't seem to visually reproduce what's going on with it. :(
 
I pulled all the things
 
user3010322
That should be enough to get you going.
 
user3010322
4:11 PM
But, er
 
user3010322
Let me push a smaller command file...
 
user3010322
@Borgleader Re-pull e'rything
 
user3010322
The benefit is if you're using one of my command files, you can make changes, resave, and the scene will automatically start retracing (useful for small test files)
 
user3010322
The debugger for the vcxproj is right now set to pick up TestCommand and pass it in VIA the command line
 
user3010322
So if you edit that file when you start, you should be able to effect changes and then have it begin retracing automatically without recompile
 
user3010322
4:14 PM
Something else I need to add is single-ray re-tracing on demand...
 
user3010322
@Borgleader Oh, oh. Also pushed the test meshes I'm working with.
 
guys, check out my huge balls
 
@AlexM. onigiri?
 
cpx
nite all
 
@AlexM. tuna?
the balls have to be a bit triangular iirc
 
4:27 PM
@ThePhD My scene is empty =/ What do I do to make it use your cube thing?
 
@NARKOZ yeah I guess that's accurate
 
user3010322
Empty? It should have something in it... what CommandFile is being passed in? (argv[1]) ?
 
-4
A: I Plagiarised, what punishment can I expect?

Dr LukeyHonestly, no one cares. I plagiarised in all 3 of my degrees and I am a doctor. Do NOT turn yourself in. Everyone does it. The lecturers did it. Your children will do it. Uni is a process to get to where you need to. Your real learning starts in your career. Not on an exam paper or essay that is ...

 
@StackedCrooked yup, it's canned tuna in sunflower oil, but I took care to get most of the oil out before putting it there so the rice doesn't separate
 
@AlexM. good job, keep going :)
 
4:28 PM
I think tuna in sunflower oil tastes better than simple tuna with whatever condiments I could add to it
 
I want to eat canned tuna now :(
 
it has a sour-ish taste
I didn't do the triangular shape because I wasn't going to add the seaweed thing, so I just made huge balls in my hands lol
I ate that seaweed once
once
 
$ ninja
[4/4] bin\tests
All tests passed (369 assertions in 6 test cases)
yay
 
user3010322
369 assertions?
 
user3010322
4:32 PM
What in teh world?
 
user3010322
Is that gears?
 
@ThePhD None, which one should i give?
 
user3010322
TestCommand
 
user3010322
The vcxproj should be configured to supply it when you run the debugger.
 
"Command Arguments" is empty
 
4:34 PM
@ThePhD No, that's my json parser.
 
user3010322
@Borgleader Breakpoint at main.cpp, Line 260. Check if arguments[0] is anything
 
I manually added testcommand to the project settings
i see 10 planes now
 
user3010322
... o.0
 
user3010322
Wha.... what in the world...
 
user3010322
Screenshot pls?
 
4:37 PM
 
user3010322
Oh, good. Everything's fine then.
 
user3010322
What's smaller than 640 x 480?
 
user3010322
It was like...
 
user3010322
360 x 240 ?
 
user3010322
Ah. 352 x 240
 
user3010322
4:45 PM
@Borgleader So yeah, there are 4 reference triangles
 
user3010322
And then the other ones are the triangles out of control
 
user3010322
you can comment out the obj Meshes/RotatedCube.obj to see the four reference triangles
 
user3010322
Or, er. Four reference squares (composed of 2 triangles each)
 
only thing left for my parser to handle are comments
oh yeah and strings
 
user3010322
Aren't comments just... "ignore everything past this point until a newline" ?
 
4:46 PM
I'm not very excited to do that though
@ThePhD Yeah.
 
user3010322
That's... super-duper ezpz.
 
I know
 
user3010322
Dooo eeet!
 
doing the \uxxxx strings is gonna be a pain though
 
user3010322
Why so?
 
user3010322
4:48 PM
UTF32 -> utf8 is ezpz
 
for you!
 
user3010322
Dude, it's literally the easiest thing in the world.
 
user3010322
Encoding is the easiest thing about unicode.
 
@ThePhD and by "literally" I assume you mean "not actually literally". :p
 
Unicode encodings (as in, the raw bytes) is exceedingly easy, they're pretty simple binary encodings.
 
4:57 PM
@Angew: When you answer this kind of nonsense question, you encourage the OP to repeat it. You should know better. Please cease and desist. — Lightness Races in Orbit 25 secs ago
 
@Puppy absolutely. But it is not literally the easiest thing in the world. :p
 
WOW!! Mex. one up.
 
@jalf Oh, the "literally" police is here, despite that meaning being in the fucking dictionary. "Literally' has been used to mean ‘virtually, as good as; completely, utterly, absolutely’ for over 200 years. Get over it.
 
Mexico are literally one up.
 
5:12 PM
Cheers & wtf.
 
Prescriptivism is literally Hitler
 
@ThePhD It's UTF-16.
Because JavaScript.
 
@Ell Was that your bug? Gimme GH username if you want to be added to the org
 
user3010322
Wait. JSON officially keeps things in... UTF16?
 
Can't \u0001f34c for bananas.
 
5:16 PM
yeah
 
Has to be \uD83C\uDF4C
 
It's more that \u codes are leaky
 
user3010322
<.>
 
The implementation should figure out the surrogates
 
5:17 PM
> To escape a code point that is not in the Basic Multilingual Plane, the character is represented as a twelve-character sequence, encoding the UTF-16 surrogate pair. So for example, a string containing only the G clef character (U+1D11E) may be represented as "\uD834\uDD1E".
 
@CatPlusPlus The implementation should do as the spec says.
It's all the spec's fault, not any implementation's.
 
Okay then spec is broken w/e
You know what I mean
 
Ell
@CatPlusPlus Which bug?
Sorry, no arrow to follow o.O
And I just got into my hotel
 
CHAT-7
 
Ell
No o.O
 
5:19 PM
Oh well, someone else is not paying attention
:v
 
Btw Robot
I was thinking about you wanting to return the stream and I could do that instead of throwing
but iunno if that's what you really want
 
I've been thinking and a stream doesn't quite work very well either because it's destructive.
 
Ell
My github name is elliotpotts anyway for future reference
if I have a name on something, it's probably elliotpotts.
 
There's no way to put a long string back into the stream if reading fails, is there?
 
Nope
 
5:23 PM
@LightnessRacesinOrbit wow, someone's grumpy today. I thought you'd plonked me?
 
Yeah. What I really wanted was a text stream => JSON object stream conversion.
 
I think I liked it better when you had.
 
Oh. JSON only has 4 white space characters.
> The whitespace characters are: character
tabulation (U+0009), line feed (U+000A), carriage return (U+000D), and space (U+0020).
 
I ended up using gason on copies of the input to workaround its destructive nature.
Not pretty, but I have other stuff to worry about now.
 
Ell
I think I'll order chinese tonight :3
 
5:25 PM
Not many things support Unicode whitespace properly
 
@ThePhD Yeah... I'm not debugging this... I cant even see the values in the debugger.
> Furrovine::detail::RVector<Furrovine::RVector3<float>,float,3> {...} Furrovine::‌​detail::RVector<Furrovine::RVector3<float>,float,3>
 
user3010322
Ah, that. Yeah, I'm trying to write a visualizer for that right now.
 
user3010322
Buuuut it's not going fantastically.
 
user3010322
I don't think .natvis files support *this
 
hey, I want to implement a function in which I want to use a dynamically allocated variable and also I want to return this variable. But as the scope is limited to the function, can I return it?What about deallocating the memory? And is there any other way to do this?
 
user3010322
5:30 PM
Which is... disappointing.
 
@DiptanshuKakwani Read about RAII
 
Resource Acquisition Is Idiotic
 
@ThePhD PS you need tests
 
user3010322
@Borgleader So I'm finding out...
 
@jalf Alright, I only called you out on your nonsense. No need to get all butthurt over it, kid.
Just admit you were wrong, suck it up, and move on. Good boy.
 
5:33 PM
When I had to implement raytracing for uni, we lost 2 hours because of a stupid copy past mistake. Tests will save you a lot of pain. I wish I had done them
 
Hey, adults: steak or pizza? HALP ME DECIDEZ
Also, GoT ep 1 was passable
 
Pizza
always
 
Pizza
 
If the Steak is good, Steak.
 
well if I have the pizza now then I'd have the steak later anyway
 
Ell
5:34 PM
Steak pizza
 
If not sure, Pizza, Pizza is never bad.
 
pizza is no effort to make, too
I think it's decided
 
Ell
man I forgot my mouse
 
poor thing'll starve to death if you didn't feed it
 
Ell
:P
I wonder how long it'd take me to write an android app that turns a phone into a mouse using it's accelerometer
years probably
:P
 
5:43 PM
why would you want to use that
 
@Ell Assuming you have no experiece with Android. I'd say a week up to a month.
 
Ell
@StackedCrooked Really?
That seems short o.O
@Rapptz if you have a broken touchpad :/
 
it already exists
 
@PaolaJ. It is totally unclear post. Firest of all what do you mean by "extract@? Secondly What are "1,3, 5, 7|? And at last I think you should at first learn how to speak using the human language before learning the programming. — Vlad from Moscow yesterday
 
5:45 PM
ooh I can even install that remotely on my tablet and phone from my PC
 
user3010322
Ugh.
 
user3010322
I can't make this work.
 
Most Coliru users are from New York. Would that mean that New York has the most C++ developers?
 
user3010322
I need to rewrite RVector<T, n> AGAIN.
 
Ell
What's the "R"?
 
5:47 PM
His crappy prefixes
 
user3010322
detail::RVector -> detail class, R for "raw" or "unionable"
 
user3010322
Considering putting it in unionable::Vector
 
Ell
unionable o.O
 
You're looking for a one-line catch-all solution that does not (and cannot) exist. Sometimes (often, actually) you can't just try a few "Google searches", say "nothing comes up" and give up. You have to apply thought, and reasoning. Days of planning and design. In short, don't be so lazy! — Lightness Races in Orbit 45 secs ago
@StackedCrooked no...
 
user3010322
@StackedCrooked THere's frequent C++ meeting groups on the daily in New York.
 
user3010322
5:49 PM
They're probably all using coliru.
 
The highest birth rate is found in India. Would that mean that India has the most people?
 
@LightnessRacesinOrbit no...
 
@StackedCrooked Well then.
 
it's not related
 
5:50 PM
@LightnessRacesinOrbit Soon.
 
The most food is consumed by humans in the USA. Would that mean that the USA has the most people?
 
you are being dumb
 
If you want to show cum hoc ergo propter hoc then at least do it decently :v
 
Yes, deliberately. In order to show the dumbness of your question.
I concede my examples aren't great :(
but I'm hungry because I haven't started my pizza yet
 
Ell
Balls I forgot my webcam
 
5:53 PM
Probably for the best if balls are involved
 
^ this
 
YIL the word "amalgamate" comes from the word "amalgam" which is an alloy of mercury, always.
@TonyTheLion Woah woah woah calm down
@TonyTheLion What's wrong?
 
what
 
@Rapptz Trying to figure out why he keeps spamming all these messages into the chat. He just won't stop talking. Wondering what's wrong to make him behave this way.
 
@LightnessRacesinOrbit Who?
 
5:56 PM
are you okay?
 
Ell
Wut
 
@R.MartinhoFernandes @TonyTheLion
@Rapptz Yes thanks I just hope @TonyTheLion is okay :(
 
Ell
I am confuse
 
His last message was 5h ago.
 
Ell
@TonyTheLion isn't talking?
 
5:59 PM
god you lot are stupid
lemme know when you get it
PIZZA
 
Hmpf. My Travis-CI builds have stopped working due to something that seems like a change in the test VM configuration.
Any ideas?
 
Very Mutated
 
Hmm, it looks like Clang is no more in the PPA I am using.
 
@LightnessRacesinOrbit dafuq?
I'm pretty sure I wasn't the one being butthurt. I just made a comment about the use of the word literally. Perhaps you remember your reaction to that?
1 hour ago, by Lightness Races in Orbit
@jalf Oh, the "literally" police is here, despite that meaning being in the fucking dictionary. "Literally' has been used to mean ‘virtually, as good as; completely, utterly, absolutely’ for over 200 years. Get over it.
So thank you, for enlightening me about the meaning of butthurt
Also, consider growing up some day. That'd be really cool
But do enlighten me as to how I was "wrong", and what "nonsense" I have been called out on. I do so love being schooled by you, the master of butthurt
 
6:15 PM
yeeeey drama; now where's my popcorn
 
oh well
 
Ell
Hmm
Quarter duck pancakes
Sweet and sour crispy chicken
and chicken and sweetcorn soup
hmm might change that soup for rice
 
@Ell Jel :(
y u no remind me of this option before I put pizza in da oven?
@Borgleader Jewel <3
 
Ell
@LightnessRacesinOrbit You can have both :D
 
@Ell I don't have the new option -.-
In other news I have just totally drowned my patio in more weedkiller than is prescribed. Perhaps that'll finally end the onslaught of unwanted flora...
 
6:18 PM
@Ell chicken soup mm
 
Ell
I have to spend £15 for delivery
I think that's a lot of chinese for one person o.O
 
what
oh, minimum order
 
Ell
Yeah
 
thought you were saying delivery cost £15
 
Ell
Haha that would be absurd
 
6:20 PM
minimum order is generally about £10-£12 for me here, so I have the same problem
so when I get my superpizzas I still need to stock up on coke and 7up to make it happen
good thing I like sugar
 
@VáclavZeman Travis sucks
 
@CatPlusPlus But it is free. :)
 
You can run Buildbot on a cheapest DO instance for 5$/mo
 
:hmm
should I permit obj.~type as a distinct functional object, or only permit arg.~type() as a direct call?
 
Ell
6:23 PM
why restrict it to the latter?
 
because it's more convenient for me.
you know, Puppy, you make a compelling argument, it is substantially more convenient for me.
 
2
Q: Usable case of pointer to array with unspecified bounds in C++ (not in C)

alexolutConsider following code: int main() { int (*p)[]; // pointer to array with unspecified bounds int a[] = {1}; int b[] = {1,2}; p = &a; // works in C but not in C++ p = &b; // works in C but not in C++ return 0; } In pure C you can assign a pointer to this type of addr...

finally a half-interesting question on SO
 
Ell
is ~type a special function?
(it's the destructor right? as in c++?)
 
@Puppy I don't know enough about the horrendous mess you've made with functions and types in order to answer that question
 
Ell
Actually I guess it only gets called in specific circumstances o.O
 
6:25 PM
@Ell You can also call it explicitly, so there's that.
but I imagine that there's little need for people to use it generically.
@LightnessRacesinOrbit On the contrary, I unmessed it good.
 
Ell
Why is it more convenient to make it a special case? Assuming most other functions can be treated as "distinct functional object"s
 
@CatPlusPlus When compared to $0/month your suggestion does not sound attractive at all.
 
Cheapskate
 
@rightfold bish bash bosh
 
@Ell Because, unlike other functions, I don't need to wrap the destructor in an overload set already. It's actually kinda inconvenient to treat the destructor that way when you're e.g. calling it during exception unwinding.
 
6:29 PM
ever considered registering as a sex offender just so you have a legitimate excuse 4 why your friends can't bring their stupid children over
 
Ell
time to explore reddit
 
I'm flattered you were so worried about me @LightnessRacesinOrbit :P
 
@TonyTheLion phewwwwwww! you've calmed down and stopped posting messages!! I'm so glad to see you're okay <3
now I can go and subject myself to GoT ep2
 
have fun
 
thx i probably wont
 
6:35 PM
0
Q: Prevent implicit conversions from float to double in C++

user3768612Basically, if I want something like this, double b = sin(2.2); but accidentally write something like this, double b = sin(2.2f); there is no error or even warning message, even though this clearly leads to a different, inaccurate, and therefore incorrect result. This type of error could be ...

 
Ell
@LightnessRacesinOrbit ohhhhhhhhh
 
Is there a reason double t{std::sin(2.2f)}; didn't trigger warnings/errors?
I thought using brace-init wouldn't allow narrowing conversions
Or is float -> double not a narrowing conversion?
 
and generally hassle.
overload sets imply all sorts of other behaviours, like the possibility of OR failure.
 
Ell
float->double isn't narrowing I don't think
 
especially member overload sets.
 
6:36 PM
yeah I guess only double -> float is
 
user1804599
Yo momma is widening.
 
heh.
I accidentally didn't consider dynamic destructors as actually, well, dynamic.
 
what are dynamic destructors?
 
I have these amazing cheese pretzels
 
@TonyTheLion Virtual destructors.
 
6:39 PM
I should pair them up with some beer
 
man
 
Ell
womyn
 
who wants to bet why this doesn't work correctly?
 
@Puppy Declined..
 
6:42 PM
heh
 
I miss when I was a noob
I'd write shit and not care that it's shit
At least things got done quicker :(
 
pretty clear that I need to invest some time in clearing up the IR output of the compiler.
 
@Rapptz I went back to that
 
Ell
Is this LLVM IR?
 
I couldn't deal with the constant overly nitpicked state of trying to write the perfect code
it doesn't work when you are trying to get work done
and it has to be functional too
 
Ell
6:45 PM
@Rapptz That period was very small for me, which is why I've never finished anything :p
Actually I've probably finished a few things
that pokemon database crawler
hmm
 
I've finished things
It just gets in your way hardcore.
 
as a hobby its fine, you're perfectly free to write code, and rewrite it, and refactor it, and write it yet again and chew it over and all sorts of things, but when you're working, there's no time for that, mostly.
 
@Ell yep
 
reality is, that mostly you have to write the code, to the best of your ability and then settle for it, and hope that someday you won't have have to come back to it and shudder in horror at what you wrote.
actually, that normally happens, but that's just how it is
 
Another Vladderation:
http://stackoverflow.com/questions/24477545/assistance-with-singly-linked-list-c-program
 
Ell
6:48 PM
> Dwarf Fortress
> It’s also blissfully easy to play
> wut
Oh I forgot chat doesn't greentext :3
 
also, all the employers I've worked for, at the end of the day, weren't too concerned with the beauty of my code. Their main concern was always with whether the code worked and did it work for the customer.
the rest has always been somewhat secondary from what I've seen
 
SO has died?
 
user1804599
@TonyTheLion If it’s not beautiful then one day it will cease to work.
 
@rightfold erm, it won't just cease to work because it isn't beautiful. If it ceases to work its mostly because there's a bug
 
user1804599
And the bug cannot be found because the code is terrible.
 
6:51 PM
and I doubt that beauty of code is in any way related to the number of bugs it contains
 
user1804599
Or you have to change the code one day and introduce a bug because it’s a terrible mess.
 
@MartinJames works here
@rightfold yes that happens
 
'Firefox can't find the server at stackoverflow.com.' - prolly my ISP DNS again..
 
but since MSVC's debugger is truly horrendous
it's hard to for me to figure out WTF is going on
hmm, the function's a lot shorter once you take out the EH code, to be fair.
 
user1804599
8.8.8.8
 
user1804599
6:53 PM
nub
 
Bad question of the day:
-6
Q: Please Solve this.... I need a logic

user3338461Every week the number of unique visitors grows with 7% compared to the previous week. Giving an integer number N representing the number of unique visitors at the end of this week and an integer number W Your task is to: write a function that prints to the standard output (stdout) the number o...

 
Lounged!
 
I tried to close it, but it was so bad I got beat.
 
Same here
 
@MartinJames same
"question is already closed"
 
6:55 PM
> I need a logic
bahhah
 
@Puppy wait, what?
I thought the debugger was what made it so great?
 
Today’s World Cup match: #NED vs. #MEX – or as I like to refer to it: soft drugs vs. hard drugs
 
Damn. -21 is pretty impressive. Not something you see everyday.
 
@Mysticial it can't be explained logically
 
It was an awful question, it was literally asking for downvotes
 
6:58 PM
@rubenvb It's better than GDB but that's not saying much.
 
Ell
I like GDB
 
Remember when Google Chrome used to be a byword for high-performance web browsing? Seems an increasingly distant memory.
now there's no denying this ^^
 
@Puppy ha lol. Personally, I prefer outputting stuff and reading through the code.
 

« first day (1352 days earlier)      last day (3598 days later) »