« first day (1531 days earlier)      last day (3422 days later) » 
00:00 - 17:0017:00 - 00:00

12:00 AM
I assume you know about DH-links
 
I don't, what are they?
oh
I see
 
A way to describe the kinematics of a system. (not sure I word it correctly)
 
I think you do
Our main concerns are with modeling repeatable imprecisions
Unfortunately I'm not allowed to tell much about it, like you
Would be an interesting conversation
Do you know about OpenRave?
 
yeah, the last microns are hard.
nope, never heard of it
 
it's a package that (among other things) compiles a robot description into a C++ program which solves Inverse Kinematics problems super-fast
interesting tool
 
12:05 AM
I don't write any c++,we use C# for our stuff.
 
oh, I see
 
Ell
@AndyProwl that seems odd that it generated a c++ programme instead of being a library
 
@JohanLarsson how did it happen that you decided to hang out here? :)
 
It is a busy room with skilled people, I learn stuff from lurking here.
 
@Ell I think you can easily take source code and make a library out of it. Just strip away main() or something. I do not have strong experience with that tool.
(in fact I have pretty much no experience yet)
 
12:08 AM
Also this is a good place for asking C# questions :)
 
Ell
Merry Christmas folks
 
@Ell Merry Christmas.
 
@JohanLarsson It is indeed. I've always thought that several Loungers should be giving talks at conferences.
 
We use CAD a lot for hunting microns. Model different imperfections and then ~drive~ the CAD-model from the software to find ways to measure and compensate for errors.
 
@Ell Thank you, same to you man
 
12:10 AM
@AndyProwl @R.MartinhoFernandes definitely should
 
Ell
He does give talks already
 
@Borgleader Yep. And Mystical, Jerry, Puppy, Xeo, Cat, etc.
Luc
 
A cat talk would be interesting.
 
"Fuck Programming"
 
Ell
I guess he could give "Linux Sucks" style "C++ Sucks" talk
 
12:12 AM
@JohanLarsson "Get out while you still can."
 
@Ell He should be at CppCon and stuff like that
The only thing I'd be wondering is whether these people would be able to make their super-deep knowledge digestible to regular humans
If so, they would be superstars
 
Ell
If I could write I'd start a blog
 
If I knew something well enough to share it with the world I would too
OK, well enough and non-trivial
 
Ell
I'm actually trying to write something on a library implementation of open multi methods
Nothing too difficult but not immediately trivial either
But my writing is just so poor
 
open multi methods are an interesting thing, but when I was looking into it back then it seemed to me that library solutions were insufficient
I'm not even sure whether they would be feasible in C++ at a language level
there were issues with linking IIRC
I just have vague reminiscences though so I might be saying bullshit
 
12:23 AM
Hello all, I would appreciate if someone could explain what the following piece means LearnedState &state = m_learnState[source];
 
Ell
No youre right that there are issues with linking
 
@user2532296 It's a reference plain and simple...
 
Ell
The way I've done it is that it's just an object you can add overloads to.
But the article would have to cover the downfalls of this
And of course there are performance considerations
 
Is it on GitHub?
 
Ell
No
 
12:25 AM
oh, ok
 
Ell
Its not actually finished yet :P
I don't resolve overloads based on value categories yet
 
it doesn't have to be finished in order to be on GitHub ;)
 
Ell
Haha true
Maybe I will put it on github
But I'm anxious in case the code is bad
 
I know the feeling
 
Ell
I'd be pretty embarrassed if I was trying to write an article about something and then realised I was way out of my depth
Putting your work for all the internet to see is pretty daunting IMHO
 
12:27 AM
@Borgleader I think this the following way : state is a object of LearnedState and it its address is assigned to an array m_learnState. Am I right or am i missing something
 
Ell
@AndyProwl how is your type erasure proposal going also? Still working on it?
 
@Ell I stopped because I reached the point where implementation experience is necessary. I thought I'd have to learn the theory, so I bought the dragon book, and I'm slowly reading it. But then I've been having lots of work lately so I devoted nearly zero time to it.
TLDR: blocked
 
Ell
Yeah
 
@user2532296 Not quite. A reference is an alias for something. state is a reference (an alias to) a LearnedState object (and that object is m_learnState[source])
A pointer stores the address of another object, but this is a reference.
 
Ell
@andy I'm interested in seeing it working. Maybe sometime I will look into clang and see how easy/hard it is to extend it
 
12:32 AM
@Ell Yep, that's my plan too. Another thing that is blocking me is that I can only do this on my desktop PC at work, on which I can only use Windows. And Clang on Windows has limitations ATM
 
@Borgleader Thank you very much, it makes sense now.
 
Ell
Yeah. I use Linux
 
Time for some tea and a BBC documentary :3
 
Time for some sleep here :) G'nite
 
@AndyProwl 'nite
 
Ell
12:38 AM
@AndyProwl night mate :)
 
@user2532296 Something makes sense? When did that start?
 
@MartinJames After I've spoken ;)
 
Wwe were not fast enough on the buzzer rounds. 'Jammie Dodders' came third.
 
1:30 AM
 
1:55 AM
@TomášZato How do you know "it obviously never worked"? Have you asked the OP? I posted it because this worked /for me/. If someone finds it helpful, they can upvote. If you find it bad, you can downvote. I'm sorry it doesn't work for you in your current situation. Did one of the other answers help you? — sehe 1 min ago
Person trying to hijack years-old answer. And claiming it's not hijacking, because "obviously" he has exactly the same issue. Years down the road. Well. Yeah. Maybe. Tough luck, guy
 
2:19 AM
damn...
 
2:35 AM
Does C++0x's forward_list take lesser space than slist as in C++11's ?
 
The real question is, why are you using a linked list?
 
Oh I am just refreshing for interview, .. and then again what should be used instead Linked list ?
 
std::vector is much better default container than linked list
 
2:52 AM
yes it is, deque is also good :) comparing to linked list
 
 
2 hours later…
 
1 hour later…
6:02 AM
Merry Christmas Lounge
@Borgleader Well data races only happen sometimes too, so it isn't all that bad. :)
 
6:13 AM
room topic changed to Lounge<C++>: Merry Christmas! [c++] [c++11] [c++14] [c++-faq]
 
Hm. You can say that today is Christmas++
 
7:09 AM
merry++ Christmas
 
 
1 hour later…
8:13 AM
Merry Christmas++14 (for year 2014) :P
 
8:29 AM
morning
 
Boredom
 
get a pet - most likely you wouldn't get bored, but you are also likely to not getting anything done
 
lol cat
 
Merry Christmas:(( I seem to have survived, sorta.
 
drank too much?
 
8:40 AM
Kinda. I remeber opening some presents last night. I wonder what they are? I would go and check but I don't want to wake Anne yet. She's downstairs, asleep in Bailey's basket.
 
@_@
your wife & your dog swapped sleeping arrangement?
 
@chmod711telkitty Yeah. I'm kinda hoping it's a one-night stand or, in Anne's case, a one-night couldn't-make-it-upstairs-and-collapsed.
 
9:20 AM
Title of the day:
-1
Q: Java code to determine triangle type. Pleeeeeeease

Abo SariPlease can any body to help me to resolve this java problem. Required to write a program to show all the triangles which the lengths of the sides are 10 to 20 How do I show the number of triangles within this ??????

 
1. Set up separate staging and production branches
2. Let people work
3. Notice production branch is ahead of staging
4. :cripes:
 
0
Q: How should you triage bad but clear and answerable questions?

SaposhienteI just got to the triage review of this question: This is clearly a terrible question that does not deserve space on the front page, but it is clear and answerable, and by the criteria of triage ("can be found, understood and answered") this "Looks OK." I downvoted it and clicked Skip because I ...

^^ is the OP serious?
 
9:44 AM
They post on meta about reviews
 
heya cpp
i think i was a dick to someone int he other chat room :S
 
morning
and how is that different to usual?
 
whos that message 2?
 
you.
yay I now possess decent headphones
 
10:00 AM
oh well i guess i am always a dick and wh0 did u have to suck off for headphones;
?
 
wh0? seriously? ah well
 
16 CPU graphs in Task Manager looks stupid.
 
@Mysticial in Process Explorer they look better IMO
 
If I make it bigger it looks better, but it's stupid at the smallest window size.
 
well you can switch to the single graph mode
 
10:23 AM
oh poor me and my 16 CPUs
 
Well, Anne is up and moving around. She feels "strange". She insists it's all due to the small glass of sherry we all got at the club last night for a Christmas treat. Aparrently, the X pints of Carling and Y large rum & cokes have nothing to do with it.
 
merry Christmas
I also consumed a small quantity of alcohol this morning and we'll see how it goes
 
ITT Xmas != reason to be an alcoholic
 
0
A: Is checking return values always required?

DeadMGNo. There is nothing idiomatic about error-handling-by-return-value, either in the callee side or the caller. Leave these terrible practices in the Stone Age where they belong. You should write your functions to throw on failure. If you're using a library that hasn't been updated since 1972, the...

 
@Puppy It's not over yet. Club opens in an hour, and I have to clean up the kitchen and peel sprouts.
 
10:32 AM
too much?
 
Merry Christmas everyone!
 
@MartinJames Blech sprouts, feel free to miss that one :P
 
@Puppy I love 'em:)
 
freak
 
lol, I've heard that before re. sprout-love.
 
10:33 AM
that's because sprouts are awful
and people who like sprouts, i.e. you, are freaks.
this is an Official Message from TheTweetOfPuppy
 
Please don't make me laugh. My damaged CPU is not up to that yet.
 
Does anyone here have any experience with debugging .dmp's in VS?
 
no.
 
because I'm mainly asking myself why this is a wrong adress when the previous calls clearly have good pointers
;o
 
ub
 
10:35 AM
I don't even know what a .dmp is. I can guess, but it doesn't exactly fill me with Christmas cheer.
^^ what puppy says. You overwrote it.
 
indeed it doesn't but my server crashed yesteday and today i'm like, "okay let's see what caused it"
and now i'm like "I don't know what caused it"
yet it clearly shows why it crashed
 
you should get right on that
 
meh, probably can wait till 2015
if it occurs again, too bad xD auto restart
 
@Gizmo Please forgive me for not trying to analyse your crash dumps on Christmas day.
 
@MartinJames don't feel bad or anything :P have fun on this day :D
 
10:38 AM
@Gizmo Too late, I already feel bad, though it has nothing to do with your server woes.
Also, naming a function 'SendSpecialDeathMessage()' is just tempting fate.
 
@MartinJames Come to think of it now... xD
 
Such a function has a field of attraction around it, much like a black hole. All your CPU's will gravitate towards it and spiral in.
 
There is a SendDeathMessage which let's other players see a message and I made my own variant and named it Special heh
 
Fev
merry christmas
 
@MartinJames It's always the one that's too much
 
10:46 AM
@CatPlusPlus I can't be bothered arguing with denial of such magnitude:)
 
@Puppy aren't throws costly?
 
@Gizmo Waah waah, the performances!
you fail.
 
@Gizmo Not if you don't actually throw them.
 
@Puppy yeah I'm really curious, I hear people saying it's really a waste of CPU, now I don't know what to believe
 
well
 
10:47 AM
Code those people write is a waste of CPU yes
 
for one thing, since the OP is not in a hot path, who gives a shit if he calls an expensive function in a rare case?
 
@Gizmo Yes, and it doesn't really matter since you passed erroneous input, and you normally don't
 
it doesn't matter in the slightest.
 
@milleniumbug ah kay :P
so there are situations in which it is better to do return values instead of throwing when you expect that 50% of the input is erroneous? (because users submit stuff in a think-less fashion)
 
10:50 AM
also boost internally does return value checking for errors before throwing
 
I'm quite happy with exceptions. I have one app in the field that still sells well despite a nasty, intermittent bug. Only the outer-level exception-handler that I put around every thread execute method prevents it crashing twice-a-day. It redirects the AV message to the log file and there is no loss of overall functionality:)
 
Either you check beforehand for erroneous data (e.g. if a is zero), or you pass the function the erroneous data, and suffer the consequences
There is an at least one exception to this case, as in
you don't check if the file exists before opening it
 
@milleniumbug ah so I'm good in my user-input stuff, I mostly do if(is_valid_number(input)) { //etc
 
lol worrying about performance and then double parsing
 
@CatPlusPlus who said I worry about performance :P I will start worrying when cpu usage goes to 12% (one core, 100% of that one core)
 
10:53 AM
CPU usage is not a very useful metric alone
Also when'd you get back
And why did you leave
 
@CatPlusPlus is that a question aimed at me? xD
 
I expected you to know far earlier who I am
so when I got back, not that much later after I left.. why I left.. because I am stupid and make regrettable choices
I still do sometimes but not as much
 
I make regrettable choices often. I'm going to make another one in about 35 minutes.
 
@MartinJames Now I'm curious xD
 
10:56 AM
going to the pub again?
 
Don't get me started on New Year's
 
@chmod711telkitty Yup:)
 
Let's say I have a function f(a, b, c = default value, d = default value)
Calling the function with value f(1,2,3) will use default value for d, f(1,2) will use default value for c and d
 
user1804599
No shit.
 
Is there syntax for calling function where I use default value for c, but supply a user-defined value for d?
 
user1804599
11:05 AM
No, because C++ is shit and lacks named arguments.
 
function overloading
 
💋
💋
💋
💋💋💋

❤❤❤
❤ ❤
❤ ❤
❤❤❤

💘 💘
💘 💘
💘

💏💏💏
💏
💏💏💏
💏
💏💏💏
 
I asked a question years ago about named arguments
it's possible with boost
I don't know the link that quick
 
Oo, did't work out all that well
 
(only if the arguments are different types)
 
11:06 AM
I don't have boost, so "no" is enough for me, thanks
 
@nhahtdh I was onece like you, I hated boost, didn't want it, avoided it, now I'm comfortable using it everyday and in my projects :)
 
I don't hate boost, just that I am using it for a throw-away program for testing
 
well in other cases just go with different prototypes if the value types are different
 
user1804599
Lol
 
user1804599
isEmptyChan always returns True. If the chan isn't empty it blocks.
 
11:16 AM
fail
 
user1804599
It's deprecated. :P
 
I wonder why
 
I love PS ...
believe or not, she is 46 yo
 
don't onebox
 
wha?
 
11:33 AM
Oh joy. It seems like a lot of people with next-to-no knowledge of software development were given a compiler for Christmas.
 
how can you tell?
 
12:00 PM
lolol
 
user1804599
Is it possible to have LLVM tell me about pointers that point to values on the stack?
 
user1804599
I want to grow the stack on occasion.
 
user1804599
Which may require reallocation and thus change the address of the stack.
 
Why would you move the stack
 
user1804599
To grow it.
 
user1804599
12:11 PM
Doubly-linked list may be simpler though.
 
Stacks grow via guard pages, they don't move
 
user1804599
Ok.
 
user1804599
I'll look it up.
 
Hello to all
 
12:41 PM
going away for a few days tomorrow - dragged into this vacation thing by a friend
lovely ...
 
Ozzies.. piss off. I'm being pissed on.
Lot of deadheads in here today.
Some of them behind the bar. First pint, got wrong change.
I'm sitting in pool room at bar. The bottle skip is too close. The clinking of empties being thrown in is fucking deafening...Hurts.
 
Ell
1:04 PM
You sound extremely hungover
 
Yeah, but the Exmoor Gold is just starting to work.
 
I miss the part while you got to the pub from home - last time you were merely commenting on how you were going to make a mistake, now you have made it!
 
Yes, but the bar is closing in 10 min, so any further increase in rattedness will have to take place at home. Fortunately, we have all the requisite tools in.
 
user1804599
1:19 PM
I just found this gem in a stack trace:
 
user1804599
> at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:2436)
 
lol
@rightføld No. LLVM IR doesn't really contain such a distinction.
 
user1804599
1:36 PM
I wish JavaScript or Lua supported multithreading. :<
 
oh wait
is this arbitrary IR or your own generated IR?
 
user1804599
Own generated IR.
 
then you can use the gc intrinsics, no?
 
user1804599
But I'll for now just use giant stacks.
 
but if you're reallocating the stack that would be way different to just "Find all the pointers on the stack"
it would be "Find all the pointers that point to elements on the stack".
that would be solving the Halting Problem.
 
user1804599
1:39 PM
@Puppy Yes, that was what I asked. :v
 
since the user could take a pointer to an element on the stack and do anyshit with it.
 
you can run several JS programs simultaneously - it's almost like multi-threading ...
 
user1804599
No.
 
also, the generic notion of "reallocate the stack" isn't going to work much, since some OSes do funky things with the stack, like guard pages.
so basically this is way beyond the purview of LLVM.
 
user1804599
I don't allow acquiring pointers to arbitrary locations.
 
user1804599
1:40 PM
Nor pointer arithmetic.
 
user1804599
But I'll just create large stacks now and figure out the optimisation later.
 
might go home earlier on the 27th
 
ee lol ultravnc sucks
my windows password is too long so I can't log in
 
lol
 
* sigh *
oh great build errors when trying to modify the VNC source more sigh
 
1:56 PM
"Honey, I'm home!". "Get out of my way, stay out of the kitchen, fuck off back down the bar, dinner is not ready yet". . . OK, righty then..
 
Unfortunately, the bar is now shut, so I'm cowering in my office.
 
... anne a happy new year.
 
@LightnessRacesinOrbit I'll pass it on, assuming I survive the next hour.
 
@MartinJames with or without alcohol?
 
2:03 PM
@chmod711telkitty I have cans of Directors. We're having wine with dinner, so I'm restraining myself ATM.
I don't know exactly what is happening in the kitchen. I just hope that there are no clouds of nasal demons emanating from the oven.
 
user1804599
2:16 PM
Great.
 
user1804599
ping -c 1 -W "$1" "$0" | tail -1 | awk '{ print $4 }' | cut -d '/' -f 2
exit ${PIPESTATUS[0]}
 
RTEXT "Password:",IDC_STATIC,58,76,57,8
does anyone know which one limits the number of characters?
it's in the resource file for ultravnc..
jeez who uses passwords shorter than 32 bytes?
 
Something like 12 is sufficient
 
I'm so bored.
 
AuthDialog.cpp:80 Edit_LimitText(GetDlgItem(hwnd, IDC_PASSWD_EDIT), 32);, if anyone wants that for future reference..
 
2:25 PM
Build a girlfriend
 
organize the next unconference
I wish tomorrow's trip is shorter. I mean, I like to hang around with friends, but it seems 3 days away seem to be a bit waste of time ...
1 day & a half would be perfect
 
I'm going to the movies.
Probably nothing interesting to watch alone but I'm that bored.
 
you are not watching a DVD at home, how would watching a movie with someone makes the movie in the cinema more interesting?
also I am trying to profiling my android app ... awfully inefficient today, then need to leave early tomorrow
 
2:41 PM
Hobbit mayhaps
I've been bullied into Love Actually
 
afternoon
@Gizmo I don't. Who would?
 
@Puppy some lonely soul that wants to use VNC with passwords longer than 32 characters.. chance is ofcourse one in 7 billion but maybe 2
I really doubt I'm that unique
 
2:56 PM
@LightnessRacesinOrbit hmm. I wanted to not finance that cashgrab but...
 
Why does the assignment operator return a non-const ref?
 
java.lang.RuntimeException: android.app.SuperNotCalledException
 
Ah, just because that's how C works.
Never mind.
 
Not a lot of choice and I already watched Interstellar twice.
 
I wanna watch hobbit ...
 
2:59 PM
Benedict Smaugbitch.
 
I should go to sleep - need to drive 3-4 hours tomorrow (or today to be more exact)
The imitation game
imagine if Benedict was as grumpy as cat++ in the movie. well, maybe there would be no movie in that case: 'maybe I can make a computer, but nope, everything is terribu'
 
Slow walkers
Fuck them
 
so instead of cracking Nazi's Enigma code, the main character orders pizza & eats the delivery boy because his pizza fails to arrive on time & he becomes excessively hungry ...
 
@R.MartinhoFernandes I'm going to leave the family home and go back to Bristol early.
 
!
kinky!
only €200 return flights too!
 
3:13 PM
why was that starred.
are my travel plans so exciting?
 
@Puppy Mebbe it's because all Loungers are desperate for Wide?
 
yep, I imagine that's it.
well the Wide CI for Linux is back up and running so there's that.
 
I forgot where adb.exe is on my PC again ...
I need at least 5 hours sleep in order to stay awake on the road in 8 hours time
give packing 2 hours time after I wake up, I need to be in bed before 3am
under windows if I do /tmp ... is 'tmp' under current directory or root directory
 
3:35 PM
I have some really strange headphones that are supposed to be placed directly into the ear
like, the inner ear.
 
3:55 PM
@Puppy that kind of earphones I like more than any other
 
4:08 PM
I am reading C++ primer and I suddenly got bored. :'( . Can't focus on anything.
 
user1804599
4:18 PM
@EmpereurAiman No wonder.
 
I was all focused when I was reading it for the past month. I think I need a break.
 
flying over 2 Zzz Zzz land ...
 
@MartinJames Loungers be longing
(for Wide)
 
Fuuuuuuuuuuuuuuuuuuuuuuck
/cc @Rapptz
 
What's wrong with that?
 
4:30 PM
@EmpereurAiman My answer has 50+ upvotes
and i keep getting more every 2-3 weeks
its a useful question
and useful questions shouldnt be deleted
 
Oh, weird. Why did the moderator delete it then?
 
i dont know
 
good questions get deleted all the time for all sorts of stupid reasons
 
@Puppy I hate in-ear headphones. My ear canals are of different sizes so I always get either one too loose and falling off or one too tight and hurting me.
I always pick over-ear without a thought.
 
I always feel uncomfortable wearing in-ear headphones
 
4:47 PM
Despite some procurement headaches, my wife managed to get me a new dual motor Tesla Model S for Christmas! http://t.co/oNsBjce0Rm
 
user1804599
I like in-ears.
 
thats one hell of a christmas gift
 
"Vote down requires 125 reputation" - Just one to go :)
 
> Chameleon
this is a secret hat
 
@R.MartinhoFernandes They seem OK but I'm not really sure. Either way, it definitely feels strange to be putting things in the ear canal. I'm sure that's not normal.
 
4:55 PM
How many hats do you have?
 
fuck hat shit
 
I got 4, but I don't like hats. My profile picture is better without them.
Nature and Nature's laws lay hid in night: God said, "Let Newton be!" and all was light.
 
@EmpereurAiman 11
 
Ell
Playing among the sleep #nosleep
 
If you get downvoted on meta do you lose regular rep? (meta.SO not meta.SE)
 
00:00 - 17:0017:00 - 00:00

« first day (1531 days earlier)      last day (3422 days later) »