« first day (1342 days earlier)      last day (3621 days later) » 

4:00 PM
No such thing. It's in the middle of a class.
 
gimme £70k and I'll fix it for you
@R.MartinhoFernandes Oh; then if const String is const char*, isn't this an obvious redeclaration?
 
String is the class where those declarations are.
 
you suck at problem description today ;p
 
@R.MartinhoFernandes Not unless you did something stupid like typedef String char*.
 
@LightnessRacesinOrbit it thinks it's using C linkage
 
4:01 PM
FWIW there's another declaration with a char argument that causes another similar error, so it's not typedefs, just the overloading.
 
(wtf)
 
implicit construction of String from const char* causing over-aggressive diagnostics?
 
oh wait
 
@R.MartinhoFernandes oh, never mind then
 
IIRC then String is an arduino-specific thing.
 
4:02 PM
I definitely want to see a testcase then. Closed as insufficient information. -1
 
An empty file with #include "Arduino.h".
 
There is no Arduino.h in C++ (or, more notably, on my computer)
you can extract the problem from that file and abstract the Arduino library away to determine the actual problem
 
Doesn't matter, since you'd need the SDK anyway to repro.
 
operator+ is a friend function?
 
Yeah.
I'm trying to find the right flags to compile this thing outside of the stupid IDE.
 
4:04 PM
Working on the telescope stage? :)
 
@R.MartinhoFernandes not if you extract a testcase :/
c'mon man
 
@LightnessRacesinOrbit You need the compiler to repro.
 
@R.MartinhoFernandes Oh so it's not just g++ --std=c++98 after all but some g++-lookalike?
or is this building on the Arduino?
 
Anyway, I just wanted to sanity-check that it is weird.
 
#define friend extern "C"
 
4:07 PM
I'm still not entirely convinced that it is
 
Anyway, other people have had the problem, but no clear explanation seems to have been given on any of the posts
 
Why are we using C++ when GWBASIC is all we really need?
 
@LightnessRacesinOrbit Yeah, I saw that, but it's closed as a dupe of something else that was fixed but the fix didn't fix this one.
 
Is the definition of String visible?
 
user1804599
4:09 PM
@Chimera GW-BASIC is not complicated enough.
 
String is not relevant. The char overload also conflicts with the const char* one.
 
Perhaps the compiler emits the wrong diagnostics
oh
so it's about overloads
 
Unless... Sigh.
FFS
 
@rightfold lol
 
does it emit a further diagnostic if you add another overloaded function, like foo(int) and foo(double)?
 
4:10 PM
@rightfold Commodore 64 Basic was almost assembly... that was fun.
 
Hmm, I thought a header could be including this one inside extern "C" {, but nope.
 
So if you create a small new project with just one class with similar overloads, it eats it?
 
Yeah. It's some crap inside these headers.
 
Not pleasant
 
shit([god] (damn it) { std::cout << "trying to understand lambdas"; });
http://blog.smartbear.com/c-plus-plus/c11-tutorial-lambda-expressions-the-nuts-and-bolts-of-functional-programming/

Hmm.. a better reference somewhere?
 
4:18 PM
@Chimera syntax checks out
 
Ugh, this code is horrible.
 
@ecatmur :-)
 
Global namespace pollution like crazy :(
 
Xeo
@Chimera What are you trying to understand about them?
 
@Xeo Just trying to learn them in general. I've no functional programming experience.
 
Xeo
4:19 PM
So?
Lambdas make inline functions. What more is there to understand?
The only thing is captures
 
@Xeo Just means lambdas are a new concept for me.
 
Xeo
and those don't exist in functional programming
 
@Xeo I thought it came from functional programming
 
Xeo
I mean the captures
 
C++ lambdas aren't really anything to do with FP
 
4:21 PM
@Xeo oh ok
 
user1804599
@Xeo what do you call x in \_ -> x?
 
Xeo
@rightfold Maybe I should've said "explicit captures"
 
user1804599
They could exist in a hypothetical functional language, but they’d be very silly.
 
user1804599
Since there’s no point in a value/reference distinction when everything is immutable.
 
Xeo
4:22 PM
@rightfold in a non-gc / impure fp language it would prolly matter
 
user1804599
Meh.
 
@rightfold there are FP languages with mutability
 
Xeo
though I dunno how much "fp" would be left after that :P
 
er, what Xeo said.
 
user1804599
I usually call it FP when it focusses on immutability and higher-order functions.
 
user1804599
4:24 PM
Even when it’s not strictly required to have everything be immutable.
 
I farted repeatedly.
 
structural typing as well
 
Very potent farts
 
user1804599
Structural typing and FP have nothing to do with each other.
 
Eh, structural typing isn't that common
I don't really know if any popular FP language does structural typing
 
user1804599
4:26 PM
Scala.
 
user1804599
But it’s not required.
 
Scala is a weird mish-mash of crap, so I'm not really surprised
 
user1804599
You can say val x: { def isEmpty: Boolean } = Seq(1, 2, 3)
 
user1804599
Structural types together with self types is nice for DI.
 
user1804599
The only other language I know of that has structural typing is Go but it’s not a functional language.
 
user1804599
4:30 PM
I like structural interfaces as long as they’re optional.
 
ARrgh.
Just got the full preprocessed source and it's definitely outside an extern "C" thing.
 
Xeo
It looks like the link is broken. — Shafik Yaghmour 2 hours ago
@jalf !!!
Your singleton link be broken
 
user1804599
Singletonly-linked list.
 
Entire site is down
 
Xeo
30mins. Hide your wallets.
 
4:33 PM
The world's ending or what
 
Xeo
Though I guess @Cat's is empty anyways, so you don't need to hide it.
11 mins ago, by Xeo
http://steamdb.info/sales/ huh
 
Oh, Steam sale
 
Jalf: OFFLINE
 
user1804599
Selling steam is quite pointless.
 
user1804599
You could better sell liquid water since it’s easier to store and transport.
 
4:37 PM
You know what? I don't need this crap.
 
Sigh. Gonna write my own headers.
 
why is "Afternoon folks" starred five times?
 
Ell is back after a long hiatus.
 
user3010322
He went to go slay dragons.
 
user3010322
4:38 PM
We didn't expect to see him come back alive.
 
user3010322
But he did. He's basically a hero.
 
user1804599
Well, time to implement member access.
 
@rightfold downloading steam is easier than transporting water :p
 
user1804599
Not really.
 
user1804599
To transport water you only have to move any of your organs.
 
4:40 PM
to transport steam to your computer you only have to move electrons thousands of miles
 
user1804599
> miles
 
@R.MartinhoFernandes Oh, bloody 'ell.
 
user3010322
Tsk tsk.
 
user3010322
What kind of european are you. D:
 
fine, a couple of light-microseconds. doesn't sound that much if I say it like that though :p
 
4:41 PM
@CatPlusPlus generally it follows the idea that you should be focusing on your own performance and not on others, you never know you might be the weakest link
 
@rightfold Miles are bigger.
 
user1804599
@R.MartinhoFernandes I read that as “a long hepatitis.”
 
@LightnessRacesinOrbit do you think it makes sense to buy a piano and learn it on my own?
or should i better attend some learning course
 
@JohannesSchaub-litb I honestly couldn't say, to tell the truth.
Well, if you have no musical training at all, get some lessons.
If you do, then it depends on your goals.
Much like C++.. career or hobby?
 
hobby
didn't get c++ lessons
 
4:48 PM
neither did I
If you don't care how good you end up and/or how long it takes to reach your goal talent, you could teach yourself. But your technique will be poor. It's not like you can learn how to play from hearing other people play, unlike some programming skills you can gain by talking to people and comparing code.
 
Xeo
I learned C++ as a hobby, and I'm learning Japanese as a hobby right now
 
@Xeo huh, thanks for the heads up
 
@Chimera You mean because of POKE and PEEK? Yeah, those were fun :)
 
@FredOverflow Yep, a lot of the code needed to be pretty low level to talk with the disk drive for example.
 
@JohannesSchaub-litb I didn't get C++ lessons per se... well maybe C++98, more super C
 
4:55 PM
I just got an email from Amazon about their new Phone.
What? Really? Another phone?!!
 
user1804599
Delete it ASAP.
 
This looks like a homework question
0
Q: What will sizeof(myArray) be?

user3756648Consider the following type definition and variable definition: typedef char x[10]; x myArray[5]; What will the value of sizeof(myArray)? (Assume one character occupies 1 byte.) Please explain the answer?

 
user3010322
@melak47 So I can render more things than just color, like how many hits happened:
 
user3010322
 
spherical bounding volumes? o.O
 
user3010322
4:59 PM
Now I just need to implement my BVH/kdtree/whatever-I-don't-fail-at so I can actually count traversals. :D
 
or hit count on a bunch of spheres?
 
user3010322
@melak47 Hit count on the actual primitives
 
user3010322
Which reminds me, I don't have an AABB primitive.
 
AABBs are overrated
 
user3010322
OBBs are wayharder.
 
user3010322
5:00 PM
And would require me to do matrix math and then perform SAT tests.
 
user3010322
Not interested.
 
ITS HAPPENING
 
user3010322
Strippers and money loss?
 
No, that already happened
Steam sale is now
 
@LightnessRacesinOrbit I've uploaded a new version which should work now. It was indeed the manifest file that got me... I'd only included chat.stackexchange.com there — Sterno 24 mins ago
woot!
 
user3010322
5:01 PM
@CatPlusPlus gaben.tv
 
Cool, they have multiple games per community vote now
Still nothing interesting
 
Xeo
Ohey, teams
and top 30 people on winning teams get 3 games from their wishlist
 
Huh, I thought they got rid of wishlist giveaways forever
Also fuck that noise
It's less money to just buy the stupid games
 
@LightnessRacesinOrbit hm
 
I'd buy Democracy 3, if I still had money to throw away
 
Xeo
5:05 PM
32 mins ago, by Xeo
Though I guess @Cat's is empty anyways, so you don't need to hide it.
 
I'll just fill my wishlist and try again in December :v
 
user1804599
Time to eat and implement member access. :v
 
"1 card per $10 USD or equivalent" is great when you need 10 of those per day
 
user3010322
Lmao
 
Doggammit, I've hit my reputation cap.
 
5:09 PM
Is eating member access a reference to dongs
 
user3010322
100 dollars per day?
 
Xeo
@CatPlusPlus and 3 through voting
aaaand you could just play games for the normal cards :P
 
user1804599
@CatPlusPlus No, I don’t eat member access.
 
user1804599
I eat potatoes and I implement member access.
 
@Xeo Nah, you get 1 card per 3 votes
 
Xeo
5:10 PM
@CatPlusPlus oh wait, yeah
 
If you want any chance to win anything, you need to buy games or cards
Also those cards don't drop through games
 
Xeo
you get 1 point for normal badges
and 10 for foils
 
Ahaha yeah
That makes a difference
 
Xeo
and it's not top 30
it's 30 random people
so you need to contribute 1 point, and have a chance
but yeah, not really worth it
 
But you need to get the team pool up
Doubly so if you get assigned to the crappiest one
 
Xeo
5:11 PM
heh
 
It's so not worth it
 
Xeo
@CatPlusPlus it should be pretty even, no?
 
this is probably a rudimentary question, but if you have a model and want to programmatically target and move a specific part of it (or specify an animation that would), how does one target that part and fire the animation on the model?
 
user3010322
Is there any runtime
 
@Xeo Maybe
 
user3010322
5:14 PM
in the whole goddamn world
 
user3010322
that does not pass a path
 
People are pooling up those points like crazy jesus christ
 
user3010322
as the first thing for argv ?
 
It's been what, 15 minutes
And the total is over 60000
 
user3010322
That's only 6K people
 
user3010322
5:14 PM
all buying exactly 1 thing
 
No, you can't just buy 1 thing
You need 10 cards and then craft the badge
And that's only 10 points :v
 
user3010322
Oh well then, people are junkies.
 
Xeo
you get 10 points for normal foil badge
1 point for normal badge
 
Valve is made of brilliant people
Gamers are like starving rabid dogs
 
Xeo
Hm, nothing interesting on sale right now
@CatPlusPlus hehe
 
5:16 PM
Throw them a scrap and they'll fight to death over it
I don't remember what the foil stuff is
 
user3010322
Internet points best points.
 
user3010322
Plus, there's wishlists on the line here.
 
It's random?
 
Xeo
just "rare" cards I think
like, rare versions
 
So random :v
 
Xeo
5:18 PM
ye
I have no idea how points are already so high
Great. My team is last :<
 
People are sportsing a lot
Also you're not on my friend list :v
 
I don't see you in the group either
Deserter
 
Xeo
wut
 
What's yer ID
 
Xeo
5:20 PM
there
 
The in-Steam browser is so crappy
 
Xeo
sloooow
 
Not even a loading progress indicator what the fuck
 
@CatPlusPlus it's just webkit
 
user3010322
5:22 PM
@EtiennedeMartel Hamburgers for days.
 
@Mgetz I know, that doesn't make it any good
 
bloody salesmen ;)
doesn't matter, said the number
feel like that went well
anddddd relax.
ffs chat stop missing out my messages
insert before all of that: well the recruiter was quick to backpedal my £60k mutterings with things like "well I think usually a company would tend to do a review after a few months rather than start someone off at a higher salary; would you be potentially flexible to that sort of scenario?"
I've deleted my comments; you delete your "is that for me" and "My bad" comments. Maybe your comment to Fred; and flag Fred's comment (obsolete). — Jonathan Leffler 3 mins ago
lolwut
 
Xeo
@LightnessRacesinOrbit My company did that with me
Though the reason was that I have never worked at all before :P
so it was an experience thing
 
yep for first jobs it is pretty standard
I have no idea whatsoever how common it is for later in your career, though again it's only my second job because i've been at this one for so long -.-
and i'm not all grey yet
 
really?
I had this image of you as a grizzled old man shouting "Get off my lawn".
 
5:30 PM
@DeadMG only on Thursdays.... wait, shit
it's a bit of a disadvantage, being a "child prodigy", really. I may essentially have to just trust them that they will get me up to propabux in short order as long as they are happy with my performance and value; and in the meantime, that's quite a bit of faith to put in it when my comfortable job with people I'm used to and like hangs in the balance
@DeadMG I said not all grey ;)
 
hmm
 
the only image of me you need is this, as you know
 
Xeo
@CatPlusPlus apparently you can steal points and switch teams with team tokens
which you get.. from completing summer badges :D
 
no point thinking about this further until (unless) I get to interview, though
dreading the inevitable algorithms shit
 
Xeo
@CatPlusPlus Hey, here's an idea for you: sell your summer cards! :D
 
5:33 PM
interview where?
 
possible new job
 
not google?
 
o_0 how do I not... yes! I want! VERY MUCH!
 
Xeo
@thecoshman The Japanese food place close to my parent's home in Berlin has long versions of these
 
personally I'm pretty sure I don't want to work at Google
 
5:34 PM
@LightnessRacesinOrbit Best case complexity for insertion sort? ;)
 
Xeo
but Japanese-style
 
@DeadMG Because Google C++ Style Guide?
 
yeah
also I interviewed there, remember?
 
@Xeo why didn't we go there?
 
Xeo
dunno
 
5:35 PM
@DeadMG how did it go?
 
Xeo
I bought some food there on Monday before we set off
 
user1804599
Yum.
 
user1804599
Carrots, potatoes and fish sticks.
 
@rightfold You like fish dicks?
 
@FredOverflow I'd have to look it up
 
user1804599
5:35 PM
@FredOverflow I don’t know, but I like fish sticks.
 
@LightnessRacesinOrbit O(n) for already sorted input.
 
@JohanLarsson They didn't want me, which is fine because I'm fairly sure that I didn't want them.
 
I'm shit at memorising that bullshit
who the fuck needs to
 
"Fishsticks" is the fifth episode of the thirteenth season of the American animated television series South Park, and the 186th overall episode of the series. It was originally broadcast on Comedy Central in the United States on April 8, 2009. In the episode, Jimmy writes a joke that becomes a national sensation, and Cartman tries to steal the credit. Rapper Kanye West is the only person in the country who fails to get the joke, but cannot admit that he does not get it because he believes himself to be a genius. The episode was written and directed by series co-creator Trey Parker, and ...
 
5:36 PM
@Xeo pff
 
well, me, apparently -.-
 
user1804599
 
I don't have any
 
@FredOverflow related, second time I linked it. Still open in a tab!
 
@JohanLarsson I don't like it when Jackass folks dress up as old people.
 
5:41 PM
Seems like I missed some drama overnight...
 
what drama?
 
Jesus Christ?
 
Xeo
What drama?
 
yeah
 
user1804599
I’m an idiot.
6
 
5:41 PM
He was hilarious.
 
user1804599
I made . and :: right-associative instead of left-associative. :v
 
Xeo
I was about to say
left-associative sounds right :P
 
Now I got banned from @StackExchange chat for saying "fuck Jesus." It can't get funnier than this.
 
user1804599
Easy to change!
 
user1804599
%left '.' '::' instead of %right '.' '::' :P
 
5:42 PM
@rightfold Is :: cons or "has type" or what?
 
@Mysticial I don't see why rightfold is surprised or offended by that suspension
 
user1804599
@FredOverflow :: is syntactic sugar for .prototype..
 
Xeo
member access
 
such a comment adds nothing to a technical chat and can potentially really grate on hundreds of millions of stupid people
you can simply not post such comments
 
@LightnessRacesinOrbit Or cares, frankly.
 
5:43 PM
yeah that too
 
user1804599
@Mysticial Hey my sexy face.
 
another ambiguous question; when dealing with art assets, where is the line where something is done programmatically or through animation and such?
 
Speaking of which. I'm overdue for an avatar change.
 
oh god not you too
just get an animal as your avatar and stick with it.
 
Had this one for more than 6 months.
 
5:45 PM
I've had two avatars in the last three years.
and they were both pictures of Daisy.
 
Xeo
@Mysticial make it something pink-ish!
Just to confuse @Jefffrey some more
 
I have a 3D guitar model, I want to make it so you can choose a note on the string and the string will vibrate at the right speed/frequency to match the note that is played... can I do that programmatically, or should I just do animations for every note?
 
@Mysticial Oh no please don't. I hate it when people change their avatars.
 
@Mysticial three years here (I think)
 
@DeadMG He's just trying to attract attention.
 
Xeo
5:46 PM
@DeadMG I've had one avatar since forever
 
"Look at me, I got banned again! I'm so cool!"
 
@EtiennedeMartel You clearly don't know rightfold very well.
 
I probably won't be able to change it while at work. Since most of my avatars are ripped off from an Anime episode directly - which I don't have access to at work.
 
@DeadMG Right.
 
5:47 PM
@EtiennedeMartel I notice from the transcript that he didn't so much as mention it in here, mind you
I was browsing imgur at the time, it seems, and I never even noticed what had happened when I got back 20 mins later
 
@LightnessRacesinOrbit Wasn't he banned?
 
that guy really could not give a shit about anybody's attention
 
@EtiennedeMartel didn't mention when the first flag appeared, didn't mention when he returned
and it's suspended
 
Xeo
Hm, while we're on the topic of avatars, maybe I should get Shiro
 
@Mysticial here
 
5:49 PM
hmm
 
user1804599
Yay! Member access works!
 
@rightfold You succeeded in opening your pants?
 
lol
 
user1804599
// async fn f(p) { val x = p.foo.bar::baz; return await x; }
let f = $lasagnascript$async(function* f(p) {
        const x = p.foo.bar.prototype.baz;
        return yield x;
    });
 
@FredOverflow those are private
 
user1804599
5:52 PM
Jison is really nice.
 
hmm
maybe I should send my CV to that microsoft guy who wanted VC++ developers
after all, Wide is kinda uniquely relevant there
 
I've just gotta upvote that guy for his name alone.
 
Gosh dammit. Been on this issue for two hours.
 
@DeadMG flagged it
 
5:57 PM
@R.MartinhoFernandes Isn't it about time you went home?
 
ah
 
Trying to compile stuff for my Arduino outside the IDE.
 
to stay in and catch up on work cos running out of time and want to look good by getting it done... or to go to pub
HMM
 
pub
 
5:58 PM
I already used procmon to steal the command-line the IDE uses.
Still fails.
 

« first day (1342 days earlier)      last day (3621 days later) »