« first day (1231 days earlier)      last day (3731 days later) » 

user1804599
8:00 PM
What is a fun thing to do during the weekend?
 
user3010322
Yeah, the window should be created as 800 x 600 too
 
user3010322
Does it look okay?
 
@rightfold > Wat denkte jij jonge? H� Dat ik gewoon voorbij kom fietsen met zo'n blije bakkes?
lol
broodje bakpao
 
user1804599
@StackedCrooked lekker.
 
user1804599
@StackedCrooked ge, niet ik.
 
8:02 PM
@BartekBanachewicz, the server is down apparently :<
 
Xeo
Lounge<Gibberish> again?
 
user1804599
 
Xeo
GEMA
 
user1804599
lol
 
user1804599
It is a pretty bad song about baozi.
 
8:04 PM
@ThePhD How can you accuse me of such conceited....uhhh...carry on.
 
user3010322
Hehehe.
 
user3010322
I give up.
 
user3010322
I can't really figure out why my objects are always inverted from the up of 0, 1, 0. =/
 
user3010322
I'll tackle it some other time.
 
> Cette vidéo a été bloquée dans votre pays par l'utilisateur qui l'a mise en ligne.
So racist.
 
user1804599
8:16 PM
Canadian isn’t a race.
 
user1804599
So racism is irrelevant.
 
"Dutch" sounds like "butterscotch".
 
0
Q: Does Microsoft C++ linker/other tools support flat binary output?

Gelo VolroI'm learning some x86 development tutorials with the nasm and gcc. With using LD linker, which is used in C/C++ compilation with gcc I can set the flat binary output with the: -Ttext [address] --oformat binary For nasm, it's simple: -f bin But what's about MS dev tools? Can I produce nat...

 
user1804599
@GeloVolro Hello, too. Yeah, my day was also nice.
 
user1804599
And what did you have for dinner?
 
8:27 PM
@GeloVolro Here's how it work here: if you want to be able to drop your own questions, you have to become one of us first.
 
@ThePhD is this the correct output?
 
user1804599
@Borgleader A RED GIANT IT’S ALL OVER.
 
@rightfold Red and green. It's the spirit of Christmas, come to destroy us all.
 
My IPv6 address class is implemented with array<uint8_t, 16>. So it's 16 bytes on the stack. Do you think this size significant enough to prefer passing by const-ref instead of by value?
Or at what point would you make this switch?
 
user1804599
Pass by const reference. Compiler optimizes out the indirection anyway. :P
 
8:33 PM
@StackedCrooked Pass by value, if later profiled to be too slow, try by ref to see if it speeds it up. That would be my process.
 
I guess anything over word-size.
@rightfold I guess it would make sense to pass by const-ref once size > word-size.
 
user1804599
Also what Blogreader said.
 
user1804599
Sixteen bytes is two pointers, so if you use const ref and compiler wouldn’t optimise it out it would be twice as few bytes.
 
@rightfold lol Blogreader
 
@StackedCrooked Call me old fashioned if you will, but I'd probably look at the code it generated when passed by value. If it's getting passed in two registers, I'd probably roll with it. I'd only consider passing a reference if it's getting pushed on the stack. Of course, that can vary based on the other parameters you're passing.
 
user1804599
8:39 PM
Deflate it before passing it, then inflate it in the callee.
 
Ah!
Inflation.
 
user1804599
Mark Rutte.
 
Btw, I'm not really worried about this cost.
 
user1804599
Op wie stem jij?
 
Laatste keer heb ik niet gestemd.
 
user1804599
8:42 PM
Isn’t that illegal in Belgium?
 
@Jefffrey yeah that's been reported. Will try to fix asap
 
In libc++ std::future_status is not a real strongly-typed enum, but a struct that contains a plain old enum. (So behavior is the same.)
_LIBCPP_DECLARE_STRONG_ENUM(future_status)
{
    ready,
    timeout,
    deferred
};
 
user1804599
No.
 
user1804599
std::is_struct and std::is_enum.
 
@rightfold Ok, the type-traits wont work.
That's their fuckin problem.
 
user1804599
8:46 PM
Also conversions to and from int (unless those are defined on the struct).
 
#define _LIBCPP_DECLARE_STRONG_ENUM(x) struct _LIBCPP_TYPE_VIS x { enum __lx
#define _LIBCPP_DECLARE_STRONG_ENUM_EPILOG(x) \
    __lx __v_; \
    _LIBCPP_ALWAYS_INLINE x(__lx __v) : __v_(__v) {} \
    _LIBCPP_ALWAYS_INLINE explicit x(int __v) : __v_(static_cast<__lx>(__v)) {} \
    _LIBCPP_ALWAYS_INLINE operator int() const {return __v_;} \
    };
 
user1804599
Ah, cool. :P
 
This is only active if _LIBCPP_HAS_NO_STRONG_ENUMS is defined.
So it's a compatibility thing.
Technically they could also implement the traits.
 
user1804599
Oh, right. :P
 
@BartekBanachewicz thanks :)
-2
Q: C++ is it possible to call a function without calling it

aqwwI'd like to call a function / method without calling it Is that possible ?

5
 
user1804599
8:48 PM
@StackedCrooked there is still another difference.
 
user1804599
If you refer to it as enum future_status it will fail.
 
^ this gets best question of the month, fo sho
 
@rightfold Oh the humanity
 
funny but flag worthy
 
user1804599
8:50 PM
Also, it should be final.
 
your projects are never final
 
user1804599
Extremely irrelevant.
 
user1804599
Dammit.
 
@R.MartinhoFernandes the logo results display is broken
 
lol
 
user3010322
8:53 PM
@Borgleader The light has a direction (and only a direction) of 0, -1, 0. That means the top should be shaded red and the bottom would be shaded less-red (or closer to black: it's just diffuse shading).
 
user3010322
So while it looks right, it still seems the object coordinate system is out of place.
 
are there any mappings from "random shit" to images?
is the poll still available? (I guess not)
damn you robot.
2 days ago, by R. Martinho Fernandes
Be a good loungizen; vote for the Lounge logo.
yeah it's closed
 
@Jefffrey I think that question had deeper philosphical implications.
 
@Crowz I think the OP is just depressed. He doesn't know what he wants from this life.
 
@Jefffrey Good LOL at Vlad comment, then realized it was the wrong Vlad:)
 
8:57 PM
jesus, it's gonna get undeleted
 
@Jefffrey For more downvotes?
 
user3010322
Maybe it's the lighting that's wrong.
 
@MartinJames :P
 
I guess you could load its address onto a stack and then return to it.
 
Would anyone mind reading my webkit/blink answer and telling me I'm an idiot in C++ if that's the case?
 
user1804599
9:04 PM
@MartinJames I replied1
 
user1804599
@BenjaminGruenbaum link
 
@rightfold stackoverflow.com/a/22105408/1348195 just the webkit/chromium source part. I've touched v8 plenty, but never webkit and I'm guesstimating here.
 
user1804599
@BenjaminGruenbaum correct link pl0x
 
user1804599
:P
 
user1804599
9:08 PM
@BenjaminGruenbaum Seems reasonable.
 
Thanks. I always make these fuckups in answers when I go through a source I haven't read before.
 
user3010322
I think my shading is right...
 
user3010322
I... I kinda don't know.
 
9:21 PM
@ThePhD I'm 99% sure your normal for the hit on the sphere is inverted
ive computed it by hand and i got - what you have =/
 
@Borgleader you pussy
either be sure 100% or not
be a man FFS
 
Well I'm an idiot so I'm taking that into account ;)
hit.normal = target.origin - hit.contact;
yep its inverted
 
user3010322
Herpity smerpity.
 
user3010322
I'm basically a moron.
6
 
I also got your camera basis to be all 1s
instead of weird negative stuff
although you might want to rename "right" to "left" because according to the right hand rule thats where it points to
Do you want a diff with the changes?
 
user3010322
9:29 PM
It's right
 
user3010322
Assume the left hand rule
 
@R.MartinhoFernandes That's me!
 
@ThePhD Changes, do you want them?
 
user3010322
@Borgleader Yes pls.
 
https://gist.github.com/Borgleader/f44e549256878a9fc118
:D
patches ready to use
 
9:37 PM
so he gets to see furrovine? :O
 
ikr
 
user3010322
._.
 
user3010322
Does it matter?
 
No, not at all... ;~;
 
@Jefffrey it was fucking router bullshit. Should be back soon
 
9:41 PM
:D
 
I hate when I have teachers who haven't kept up with technology since 1990 :|
 
@Jefffrey can you try now?
I can't seem to be able to connect
fucking bullshit
the map works tho
@Jefffrey okey. Re-inserted port forwarding rule and it worked
 
@BartekBanachewicz yup, works
 
useless crap
 
thanks
 
9:44 PM
if it was near me I would kick it
thank god it's downstairs
 
thankfully
are you doing any kind of backup?
 
@Jefffrey I was supposed to, huh.
:effort:
 
let's just hope that Murphy doesn't kick in
 
meh not today. Remind me about that on sunday evening
this hard drive has been working for 5 years+
it won't break over next two days.... right?
 
don't worry :), it's more for Dawis's chapel
@BartekBanachewicz ssshhhhhh
 
9:47 PM
SMART shows it's still OK
fsck just ran and reported full operational
 
we are good
nothing will happen, I have faith
 
if it breaks we will switch to our local WoW server :D
we actually did that back in high school
 
@BartekBanachewicz, how are you guys doing with exams?
 
user3010322
@Borgleader What about the cross product changed at all? o.0
 
user1804599
e@(Error _) >>= _ = e dat hidden smiley.
 
9:50 PM
@R.MartinhoFernandes I can't see the entries anymore. Just the votes with funny material names...
 
@Jefffrey I passed everything. Well failed softeng but that was earlier and fuck that, I'll do it on last semester.
passed assembly and databases and that was key anyway
 
hello
 
@BartekBanachewicz wasn't Dawid also doing exams?
 
Dawid already got his diploma.
he's on MSc studies now
but he's doing Automatics & Robotics so it's a bit different
also he's going to sweden after this sem :F
 
I fucking envy him
swedish girls are awesome
 
9:54 PM
@ThePhD Oh nvm, its that other bit I changed, in Compute. For pixel (0, 0) you were flipping your vectors which was inverting your image.
 
user3010322
o.0
 
user3010322
wat
 
user3010322
OH
 
user3010322
Hm.
 
user3010322
You're doing halfwidth - x and halfheight - y
 
user3010322
9:55 PM
I was doing x - halfwifth, y - halfheight
 
@Jefffrey he's got a gf here
 
better for him :P
 
@Jeffffffffffffffffffffffffffffffffffffffffffffffffrey what's up
today I went to uni and I noticed that I forgot to push my commits from home. So I did nothing and returned home to learn, that I have these commits at work not at home, and could push them using RD any time ;0
 
10:11 PM
Guys who wants to make money?
> we will pay a bounty of $10,000 to the first person to demonstrate to us satisfactorily that they can successfully run Quake III at a playable framerate on Raspberry Pi using these drivers (Source)
 
@Borgleader oh
 
Xeo
> Burn the close review queue – until crispy
heh, the 'until'
 
user3010322
@Borgleader Sounds kinky.
 
@Borgleader it's doable, but would require a bit more knowledge and effort than we have, I think
 
Easiest 10 grand carmack would ever make if he decided to do it
 
10:19 PM
yep. Too bad we're not all carmacks :D
 
user1804599
Does the Raspberry Pi have to use those drivers, or does the game have to be playable using those drivers? AMBIGUOUS.
 
@rightfold there are rules linked
 
user1804599
Meh graphics.
 
@BartoszKP hola
 
why bother, you can play q3 in a browser ;0
 
user1804599
10:21 PM
it's weekend wat do
 
@BartekBanachewicz If we were we'd all be rich :P
 
@Borgleader we can still do interesting stuff that might earn money someday
I have another super secret OGL 4.5 news I can share I guess
 
Maybe you lol I have no imagination, so I'll be a code monkey :P
 
@Jefffrey hola pendejo que pasa or something -all words I know
 
@Borgleader meh, don't say that.
I am struggling with arkanoid now
so that would make me lack both imagination and coding skills :D
 
user1804599
10:26 PM
@BartekBanachewicz Well said: might.
 
user1804599
(Hint: it won’t.)
 
@rightfold I earned money for my OpenGL free-time coding
 
user1804599
I earned money for my HTML free-time coding
 
see, it can be monetized.
 
user1804599
But’s you were talking about interesting stuff. :P
 
10:29 PM
I'm earning money for coding and it's interesting
(colour perception and recognition)
at least it seems to me ;0
 
@rightfold it's not my fault you're stuck in a dead-end PHP job
 
user1804599
It’s fun and interesting.
 
user1804599
And not dead-end.
 
damn, I'm getting a type error I can't fix
 
user1804599
10:32 PM
Use PHP, no more type errors ever. :P
 
lol
 
user1804599
@Griwes my argument is that it is a coincidence and it is perfectly valid.
 
<conspiracy> too complicated to be a coincidence </conspiracy>
 
user1804599
People who think coincidences “don’t exist” are complete morons.
 
but, but, dr house ... :(
 
user1804599
10:36 PM
EVERYTHING MUST HAVE A CAUSE AND BE RELATED RIGHT.
 
yup
either it's a god's plan or jewish conspiracy or other
conspiracy
 
user1804599
I want to learn a new programming language, or an old one.
 
suspicious
have you tried fortran? it's so dull it's fun
 
user1804599
Yes. It was very boring.
 
hm, you probably know more then I can even spell out so can't help here
 
user3010322
10:38 PM
@rightfold Why not create a new one? :>
 
user3010322
@Borgleader Thanks for helping me with that. I would have never thought to check that part of the code. Like an idiot.
 
user1804599
I would try Dart if it had fucking type inference.
 
posted on February 28, 2014 by Jim Hogg

AVX2 is yet another extension to the venerable x86 line of processors, doubling the width of its SIMD vector registers to 256 bits, and adding dozens of new instructions . AVX2 shipped with Intel's latest processor micro-architecture, codenamed " Haswell...(read more)

 
user3010322
 
user3010322
@Borgleader Much pretty, such wow! ^ /cc @R.MartinhoFernandes <3
 
10:44 PM
@ThePhD Np.
 
found it
strict typing woo.
 
user3010322
@Borgleader You know, I could use some help porting my engine to OpenGL ~~~
 
see, @Borgleader, you're already a top#1 choice for an OGL expert here.
 
@BartekBanachewicz envy is a bad sin :)
 
@rightfold how do I traversed Lens over [Maybe a] ?
 
user1804599
10:46 PM
I have no idea what traversed is.
 
it's a lens that runs over all elements of Traversal :F
I think I need a Prism for that
 
user1804599
Ok.
 
but I thought you might just know that
 
I need help with many things!
Yet no one does
I've learned to accept this as a fact of life
 
user3010322
Your TCG still?
 
user3010322
10:48 PM
Or is there other stuff? :o
 
I dropped my TCG cause I suck at making games
 
user3010322
:[
 
user3010322
Well, what're you still working on?
 
hm
how do I mapM over [Maybe a]
 
@BartekBanachewicz You pwn me any day at this OGL thing :P
 
10:50 PM
I'm documenting code
nothing exciting
 
user3010322
Documenting code?
 
@Borgleader you've progressed significantly recently. I think you're way better than me at some areas already.
 
user3010322
Which code?
 
the documentation process is pretty much killing all my motivation to program lol
 
user3010322
Sol ?
 
10:50 PM
and that's a honest opinion.
 
I shouldn't have taken @DeadMG's advice
I'm regretting it pretty badly
 
which advice?
 
You told me I shouldn't document my stuff as I go
it really would have saved me a lot of time
:(
 
depends on what you're documenting
 
you said it would be annoying if I did massive refactoring but I think in the long run it would have saved me more time
 
10:53 PM
you're talking about API documentation, technical documentation or an architecture project/draft?
 
API docs
 
seems there isn't much sense in documenting it from the beginning as it changes in early stages
so I'd also do it at the end
 
but you generate the docs and just fill in the descriptions, right?
 
user3010322
Never document anything.
 
user3010322
Until people beg you to.
 
10:54 PM
@Rapptz Depends on how often you refactor, how massive they are, etc.
 
adding stub docs in comments for use with Doxygen/your tool isn't that bad
and you can always improve that later
 
user3010322
What's more useful are examples and use cases.
 
user3010322
In fact, if it's a testable API, you should jsut write tests and direct people there.
 
"why there should be fast and slow pointers" whats a fast ptr? whats a slow ptr? — Borgleader 16 secs ago
 
well I don't have that many files to document :/
"only" 70
 
10:55 PM
@ThePhD wat no
 
@ThePhD not really
 
@ThePhD if I was a user I'd despise that
 
depends on how these tests are written
if they are really practical usage examples then they're great
 
no, it doesn't.
 
it's still not enough
 
10:56 PM
often for a start you don't read the details, you just skip to an example and copy it
 
user3010322
Tests da best~
 
@ThePhD you don't have any, right?
 
true, that the next thing you want is some more concrete description of how the method behaves when you proceed to more advanced usage
 
user3010322
Tests + Examples best descriptions.
 
user3010322
Tests can even cover the more advanced or serious use cases.
 
10:59 PM
I have tests + examples + documentation :v
 

« first day (1231 days earlier)      last day (3731 days later) »