« first day (1016 days earlier)      last day (3933 days later) » 

2:04 PM
Hey, quick question. What does "//! [1]" mean? No quotes, and the number seems to be a positive integer. It appears before and after sections of code. Found in many Qt examples.
 
I just found out that there's weird sport called Roller Derby
@fat_flying_pigs documentation comments
for example when you want to mark a part of code and then refer to it later
 
Facepalm. Thanks. Now remembering dox syntax
doxygen*
 
yeah I got it.
FUCK YEAH ITS STARTING TO WORK
    float horiz_t = horiz_len / ray.dx;
    float vert_t = horiz_len / ray.dy;
spot the bug contest.
 
er, horiz_len twice?
 
@DeadMG congratulations, you won a potato!
 
2:19 PM
I expect first class delivery
 
we'll see about that
I've realized how much overcomplicated my raycast algorithm in minicraft is
Too much coding, too little math :P
 
What is a good introduction line for my "find a Store" app?
it is used to find supermarket, convenient stores etc around a certain location or en route
 
Ell
God. D4NNY is such a terrible singer songwriter rapper everything
 
wrapper :D
 
Ell
wow. xD
 
2:26 PM
crap, I think there's a bug in my calculateImpactSubvoxel
amazing VS debugger strikes again
"your stack contains {...}, {...} and {...}"
 
cpx
@BartekBanachewicz game?
 
@cpx not really
but you will be able to create nice games using it if I finish it :F. maybe
 
cpx
Oh
 
Xeo
@DeadMG: Something just came to mind. How exactly did you define your Fold overloads?
 
er, it was either Fold(pred) or Fold(pred, initial) I think
why?
 
Xeo
2:39 PM
Oh, right, you didn't have a default version that uses +. Sorry, was thinking with std::accumulate in mind.
 
A string of length N will have N(N+1)/2 substrings right?
 
I was also thinking that, instead of providing All/Any/None, I could just specialize Fold for the appropriate pre-provided functors
 
I always thought (a, b) meant a was included, but apparently it means the opposite.
 
@Pawnguy7 <a,b) means a is included
 
Xeo
@BartekBanachewicz [a, b)?
 
2:46 PM
^ was what was mentioned as the inclusive notation.
 
@Xeo regional settings :F
 
@ShuklaSannidhya Yes
 
so [a is inclusive and b) is not
 
Xeo
@DeadMG Nah
Also, what do you mean "specialize"?
 
2:51 PM
well, the whole reason that those exist is because if you do Fold(Or), then you don't get short-circuit evaluation.
 
you should use rightfold
 
so if you just specialize Fold so that if you pass Or, it has a specialized implementation that does have short-circuit evaluation, then why bother having a separate function?
cleaner, I think, for Fold to be specialized.
 
Xeo
I don't think so
I like the explicit names of Any, All and None
 
but it's also less generic.
if I pass an unknown functor to Fold, then I definitely can't get short-circuit evaluation, even if it turns out that actually it was Or.
 
Xeo
If you had lazy evaluation for that...
 
2:53 PM
I don't and I'm not interested in it
 
Is there any language which allows [a,b)-like notations?
 
@ShuklaSannidhya any language except C, really.
 
I mean, I actually haven't even implemented short-circuit for the operators yet
 
user142019
@BartekBanachewicz :P
 
@rightfold ;)
 
2:59 PM
@BartekBanachewicz C++?
 
I guess so.
 
How to make sure your project is never finished? Ask Rightfold!
10
 
s/Ask/be/
 
lol
man its quiet here now that I'm alone again
maybe I should get a flat with a flatmate in London
 
a hot female flatmate
 
3:04 PM
ohhhhhhh
 
user142019
Time to install LLVM.
 
lel, even I have LLVM
 
user142019
Done!
 
@BartekBanachewicz you share your flat, right? (besides your gf)
 
@TonyTheLion we're going to look for something big, yea
eh infinite loop again
 
3:11 PM
hmmmm
 
Daisy sleeping on my lap whilst I'm on my computer, resting her head on my keyboard arm
 
Ell
Can you wear all blue?
 
@DeadMG aww.
 
Ell
I couldn't compile wide yet
Something about stnard library headers
 
huh
 
Ell
3:14 PM
Anyway I'm off to eat
 
fuck yeah, my raycast can traverse the tree
dunno if it works in 100% cases already, but that's something
 
user142019
Ugh "pass manager".
 
yeah, LLVM has some really ugly corners
so does Clang
especially the whole no-smart-pointers thing
 
user142019
That's not very smart.
 
yeah
they have an intrusive refcount pointer for shared objects, but nothing for non-shared objects.
 
3:20 PM
@rightfold dat pun
 
cpx
Anyone else noticed windows 8 getting slow at launching programs after you launch & exit from a game like half life 2?
 
user142019
You?
 
cpx
Yes
 
I'm going with "That random dude on the Interwebs named "cpx""
 
Xeo
Since I only have Win8 at work, where I normally don't play such games, I'll go with "nope".
 
user142019
3:27 PM
Since I only use OS X and Windows 7, I'll go with "nope" too.
 
user142019
error: flexible array 'name' not allowed in otherwise empty struct
 
user142019
Fuck you, C.
 
cpx
It seems like a compatibility issue.. when I run it under compatibility mode it doesn't happen but the game runs fine either way apart from the windows getting slower at launching things when you don't have a compatibility set.
But it's a strange issue that doesn't get resolved until you restart again.
 
hi guys
 
user142019
hello
 
3:35 PM
bye
 
Ell
What is sizeof(float) for someone here?
 
4. Double is 8
 
Same here.
 
3:43 PM
Is a float always 4 bytes?
 
@NikiC He wouldn't be asking otherwise. :P
 
ah, I see another case for hell++ :) sizeof(float) = 7 with a non-IEEE754 format :)
 
Ell
Thanks
 
lol, I saw { dx=0.8, dy=0.6 } in my raycast parameters
first I though I forgot to normalize, until I did the calculations in my head
 
3:46 PM
did, not made
 
@NikiC Apparently so. It seems the standard has something to check if you're using a non-IEEE754 format. std::numeric_limits<float>::is_iec559 would return false.
 
YAY it works!!
 
Xeo
 
@Xeo I agree, the legs are ridiculously out of proportion
 
3:59 PM
well, it only works for dx > 0 and dy > 0 for now, but whatever, it works!
hey Scott
hehe I found the bug
hm what would be the next step
 
4:15 PM
.epub sucks.
 
@ScottW I am able to do 1000 raycasts in realtime
 
user142019
Is there a bit that's always or never set in pointers to heap objects on x86-64 on Linux?
 
that's a pretty decent score, I think
the number would be less significant if I have implemented volumetric casts
 
@rightfold Last bit, never set. The x64 address space is partitioned into "Top half OS, bottom half program" just like the x86 one is
 
Xeo
4:20 PM
@EtiennedeMartel Meh, no Grooveshark in Germany
 
user142019
Last, is that LSB or MSB? :P
 
Xeo
Must be MSB
 
M
look up "pointer tagging"
 
user142019
Dankeschön.
 
@Xeo That'll teach you to live in such a crap country.
 
4:21 PM
it's pretty unsafe unless you're really careful.
 
Xeo
@DeadMG However, wouldn't pointers to stack variables also have the MSB not set?
 
user142019
I think I can do it another way (without exploiting the MSB) but I'm not sure.
 
@DeadMG Did that ever stop rightfold from doing something?
 
@Xeo Any application memory object. But the requirements never said that it should uniquely identify heap objects, only be true for all heap objects.
 
Xeo
hm
What other reason could there be? Might aswell have said "the pointer is non-null"
 
4:23 PM
usually, people try to use that bit to store some extra data
 
Morning.
 
so as long as they know in advance that it's free for use, it doesn't matter what else also has it free for use
@rightfold In addition, you might consider the CPU bit restrictions, if you're OK with not being forwards compatible. This could yield a lot more space- maybe 16 bits.
 
abusing pointer bits like that is going to be UB
 
Good morning Cat c:
 
user142019
4:34 PM
Fuck this I'll use boxing instead.
 
hm, it looks kinda cool when you move the mouse
maybe I could turn it into some kind of voxel game
like worms or someshit like that
 
I wish I was as productive as you right now ;_;
All I've been doing today is changing old code that's really bad
 
@Magtheridon96 isn't that productive?
 
@ScottW I haven't been to the zoo in a long time.
 
@BartekBanachewicz Maybe, but it's nicer to write new code :<
 
4:43 PM
@Magtheridon96 I was basing on the old code when writing this
@Magtheridon96 anyway what's your code supposed to do?
 
@BartekBanachewicz Well, I wanted to add Layers to my 2D tilemaps
 
@Magtheridon96 doesn't sound bad, unless you're @Pawnguy7 :)
 
@BartekBanachewicz I realized that my current design doesn't allow for that, so I refactored and it's all lovely now :P
Now, I can have as many layers as I want
 
Idiot neighbour is constantly drilling something HOW MUCH SHIT CAN YOU DRILL IN ONE FUCKING FLAT JESUS CHRIST
2
 
I mean, the previous design did allow for that, but it was pretty bad and inefficient
 
4:45 PM
@Magtheridon96 cool
@CatPlusPlus i feel your pain
 
And yeah correct with a hammer NOBODY MINDS THAT EITHER
 
@CatPlusPlus You can live on my lap if you want ;-;. No drilling here.
Well, maybe just a little bit ;)
 
@Magtheridon96 That's what she said.
 
I am her ;_;
 
4:47 PM
I want burgers.
 
true. Let's go get some.
I really started to like BurgerKing recently
 
Been there last week. It's not nearby, though.
 
I live a few mins from Galeria Bałtycka vOv
but apart from that, no fucking place to eat properly here, Wrzeszcz is terrible when it comes to eating
 
I have 24h McDonalds not very far.
 
McDonald's doesn't really have burgers, though
 
user142019
4:49 PM
McDonald's is horrible.
 
It's fine.
 
Sigh. James, I tend to "minimally" edit the OPs code and left it in. Why do you insist on me "accounting for" the using-statement, when it was obviously an oversight? I wasn't using it. Please, consider just editing next time. ("fixed" now). — sehe 2 mins ago
^ anyone that can explain to me why JamesKanze would keep harping on this meh answer, you win an internet
 
the seasoned sandwiches are k
 
user142019
It's better to climb down a well and drink from the sewer.
 
hi @sehe :) (scroll a bit up)
 
4:50 PM
@BartekBanachewicz what about?
 
user142019
Last time I went to McDonald's I almost had to puke.
 
@ScottW ohai
 
Oh, the regular one and the KFC is still open, too.
 
user142019
@ScottW Lounge<C++> is the zoo.
 
@sehe I've implemented the raycasts :v
 
user142019
4:51 PM
How about going to a decent snackbar instead.
 
user142019
Allahu Snackbar
 
@BartekBanachewicz Oh. That. Spamming with screenshots, indeed ;) Good job
 
@sehe here's the source if you want to take a look
and I should go out and nomnom some stuff indeed.
 
@BartekBanachewicz Nice and tiny (assuming there aren't a lot of surprising bits pulled in from other sources). I'd say "it's a hire".
 
hi animals
 
4:56 PM
veritable beasts
 
user142019
Fuck you LLVM documentation.
 
how is polar bear?
 
user142019
Y u no tell me which header to include.
 
@rightfold What functionality are you looking for?
 
user142019
LLVMModuleRef
 
4:57 PM
@TonyTheLion frigid
 
oh :(
 
user142019
And llvm-c/Module.h is non-existent.
 
@rightfold Should be <llvm/IR/Module.h>, I think
 
Puppy is the LLVM master in this Lounge
 
user142019
<llvm-c/Core.h> apparently.
 
4:58 PM
@rightfold I didn't find anything called "LLVMModuleRef" on their doxygen.
 
user142019
Does it make sense to add a module to an execution engine before populating it with IR?
 
typedef struct LLVMOpaqueModule* LLVMModuleRef
 
oh I never used the C API
 
looks like C to me?
 
4:59 PM
why are you even using the C API?
I didn't even know there was a C API
 
TYL
Today You Learned
 
@rightfold Sure. I'm pretty sure it won't do anything until you ask the EE to execute functions for you.
 
user142019
@DeadMG I can add functions to it later, right?
 
yeah
 
user142019
Neat. Exactly what I need.
 
5:01 PM
What are you writing?
The nth version of Zoidlang?
 
[ten{10}]{return ten;}
is this correct c++14?
or can one not capture things like that
 
no clue
 
user142019
LLVMDisposeExecutionEngine
LLVMDisposeModule
LLVMContextDispose
// LLVM is actually PHP
5
 
also, is that a riddle?
 
I think you have to have [ten = 10]
 
5:02 PM
or are you actually asking?
 
@DeadMG hmm, is list initialization not possible?
 
no idea, I didn't read the proposal in that much detail
 
Xeo
Brace-or-equal
 
@rightfold It's a C API, you were expecting? If you want a decent API use the C++ API
 
@TonyTheLion my riddles are only about proved facts. C++14 is not a proved fact
 
Xeo
5:03 PM
Which means {} or = {} or = ...
 
@JohannesSchaub-litb oh I see. Makes sense.
 
user142019
@DeadMG Why would a C API be worse when it comes to naming consistency?
 
Xeo
@JohannesSchaub-litb What I dislike so far about generalized lambda capture is that packs can't have designated initializers :/
 
@rightfold Because who gives a shit about C API?
 
@BartekBanachewicz hmm..your voxels are 2D?
 
5:05 PM
@Xeo hmm too bad. looks like the workaround is to use a tuple?
 
user142019
FYI the C++ API also uses mixed naming conventions and it's also a mess.
 
quite probably
 
but then you have no automatic name lookup -.-
@Xeo i guess the problem would be to translate the pack into data members but then re-create the pack for the lambda
looks like some kind of "pack variable" is needed
 
So much fun you also have to pay for.
 
5:11 PM
What? A beach?
 
how many people in that pic have the <...>-flu
 
@TonyTheLion There's some space left near the top.
 
hahahah
 
Xeo
@JohannesSchaub-litb Nono, you can have pack captures already.
 
5:12 PM
yea I noticed, but damn I wouldn't want to be on the beach
too crowded
 
Xeo
What you can't do in C++14 is [xargs = foo(args)...]{ ... }
Only [args...]{ ... }
 
aaaaannnnnnddddd its raining
 
Xeo
So you still can't properly capture packs with a move-only type in them
 
hmm so the impl already has to translatre "args..." within the lambda to some elementary variables
 
Xeo
5:13 PM
[xargs = std::forward<Args>(args)...]{ ... } is still impossible.
Which is bothering me
 
well, it always has to anyway.... now that i think about it some more
 
@Xeo Why/
 
Xeo
with designated initializers being introduced partly to allow [p = std::move(p)]{ ... }
@DeadMG Because the standard / proposal says so :s
 
fair enough
 
> Actually the beaches are that crowded today because Pope Francis is speaking at Copacabana in Rio.
lol, now I got that song in my head
 
5:16 PM
ohhhh
 
Xeo
@DeadMG N3690 §5.1.2 / 14: "A simple-capture followed by an ellipsis is a pack expansion (14.5.3). An init-capture followed by an ellipsis is ill-formed."
:/
Maybe I should raise a report on this
Seems kinda stupid
 
how about xargs... = stuff
 
Xeo
@JohannesSchaub-litb That... just seems weird / wrong, and I don't think the grammar even allows that
 
@TonyTheLion Imagine if that was a nude beach
 
@Magtheridon96 You wouldn't be able to see anything from that distance?
 
5:21 PM
@DeadMG That's relieving
Being there would be terrible
 
oh damn
that would be bad
 
Nudist beaches are not places where people uncomfortable with other people being naked go.
5
In other news, it's 35 fucking degrees.
 
Xeo
It's kinda cool here today.
24°C
 
Its nice and cool here today, also rain. 19°C
 
@Magtheridon96 not terrible if the audience is nice :)
 
5:24 PM
@CatPlusPlus well I never.
 
rainy and cloudy
 
@TonyTheLion I know right.
 
29 degrees here
22 degrees in my room however /o/
 
That said fuck sitting on any beach, colossal waste of time and energy.
2
 
Yea beaches are boring, but add bitches to the equation, and it may be more interesting.
 
Why are you answering shit questions like this.
 
I +1ed the question
 
downvoted
its a terrible question
 
I don't know, when I see a Java question, I don't see Java, I see free-rep
 
and it doesn't deserve our greatness
@Magtheridon96 oh you whore
 
5:27 PM
Rep don't matter.
 
@TonyTheLion That's how Scott likes me ;_;
 
folks, please, that was a joke! i did NOT +1 it!
 
@Magtheridon96 @ScottW is mine.
 
cpx
lulz
 
user142019
> Unclear what you're asking.
 
5:28 PM
voted
 
@TonyTheLion Fine, I'll claim puppy for myself :<
 
@Magtheridon96 lol
@CatPlusPlus It matters to some people.
 
For some inexplicable reason.
 
cpx
Rep gives you moderator tool.
 
I have a number fetish
 
5:29 PM
For the same reason you got 50k rep
 
some day i stopped looking at my rep growing
 
I stopped caring long time ago.
 
yea we know.
 
cpx
I wish there was no privileges or batches for answering questions.
Then then there would be nothing at all.. nor this room or site.
 
but then there would be no incentive for people to answer questions and SO would quickly die
 
5:32 PM
nonsense
i don't need priveleges nor do i need batches
 
They're called "badges".
 
you say that now
 
People who know their shit don't care about their Internet points value.
 
after you have 200k rep
 
obviously i say that now. i now have 200k rep
i'm not sure why that is relevant
if anything, it gives it a pitch of evidence
 
5:34 PM
w/e
 
how could i know whether i wanna have the priveleges if i never had the chance to try them :D now since i own them, i find them utterly worthless compared to the fame you get by being in the top 50 list of users
 
cpx
lol @ priveleges
btw, I googled the spells too.
 
i am willing to sell the priveleges to anyone for some books from amazon
 
Privileges.
 
cpx
just forgot to google "badges"
 
5:37 PM
lol
they can come here to my house for an afternoon and close questions and view deleted answers as long as they want :D
 
lol
 
@Xeo we cannot the same outside of a lambda aswell
auto &&x... = stuff;
 
Xeo
@JohannesSchaub-litb I'm not talking about that.
 
5:42 PM
perhaps the reason is that because there is no way to do the same outside of a lambda, it is not supported for lambda?
 
Xeo
@JohannesSchaub-litb fun(foo(pack)...) can be done perfectly fine outside of a lambda
 
hmm but then again you can capture packs... i am not sure, but your proposal for having init pack captures sounds useful!
 
Xeo
It would close a hole that they tried to close for C++14 - not being able to capture move-only types.
 
Hmm, this goat cheese is so fucking tasty
 
@sehe hey, thanks. :) There are no other sources, everything I've written there is mine from scratch.
@melak47 yep
 
5:50 PM
@EtiennedeMartel gamefront.com/…
have you seen this?
 
rightfold created repository gear  5 minutes ago
rightfold created repository gear  2 hours ago
6
 
@Borgleader Nope.
But considering that Phil Fish is a douchebag, I'm not surprised.
 
what really surprised me is that he cancelled his game
he obviously took it pretty fuckin' seriously
 
In unrelated news, his ego is huge.
(Might not be that unrelated)
 
> That said a game cancelled due to a silly argument on twitter seems to border on the absurd. Either way the game is better off cancelled, if it was a game he was passionate about he would not cancel on a whim and we have far too many passionless games these days.
 
5:54 PM
@BartekBanachewicz its a cron job
 
@Borgleader Ahahaha.
 
I was on twitter while that was going down
 
@Borgleader no, it's just rightfold
 
@ShuklaSannidhya you know we can open GH
 

« first day (1016 days earlier)      last day (3933 days later) »