« first day (1524 days earlier)      last day (3426 days later) » 

1:02 PM
@StackedCrooked ;)
@Mgetz meh
ok
@orlp video -.-
 
@LightnessRacesinOrbit generally the use of registered marks is discouraged anyway
 
@LightnessRacesinOrbit it's a talk where he creates a fictional programming language that combines the worst features of all
 
@orlp yes I got that
i wish he'd written an article instead
 
1:04 PM
fuck tech "talks"
 
@LightnessRacesinOrbit because they are a pain in the arse, you have to prevent their use by others etc.
 
@TonyTheLion haha
 
@LightnessRacesinOrbit why did you go full zoidberg on your hat
 
@Mgetz right-o
thanks
@orlp I've been waiting for somebody to notice that
 
@TonyTheLion awwww @sehe was so cute as a kid
 
1:05 PM
this isn't the Lounge.
 
@BartekBanachewicz this is the zoo
@BartekBanachewicz if you're looking for the lounge, may I recommend the PHP chatroom?
 
@BartekBanachewicz hello Bartek, please have a seat and enjoy a cup of tea with us?
 
user1646075
@TonyTheLion Sehe's holiday snaps!
 
@AlexM. not staying that long :)
what's up?
 
oh what a pity
 
user1646075
1:06 PM
@AlexM. yeah, what happened :-|
 
@GuruAdrian he grew up so fast it was almost unbearable
ba dum tschhh
 
@AlexM. lol
 
user1646075
@AlexM. it's that kind of joke that polarises the lounge
 
ouch, that was ice cold
actually that doesn't make sense
damn you
you'll pay for this
 
user1804599
I'm a two-star programmer!
 
1:13 PM
You're a lobster.
 
mutant lobster
 
@LightnessRacesinOrbit that's a perpetuating thought for me lately
 
user1804599
> var t **time.Time
 
shit I have 5 days off to take at work
what do I do now.
 
user1804599
Learn a new programming language.
 
user1804599
1:16 PM
Wear a hat.
 
no, when do I take those
before of after xmas
 
@BartekBanachewicz Personally I chose after xmas :)
 
@BartekBanachewicz :)
 
@BartekBanachewicz after
so they get linked to the new year's
 
user1646075
@AlexM. oh yes, milk or sugar? Alex, pass him a cushion
 
Xeo
1:18 PM
@BartekBanachewicz around christmas
and then you come to Berlin
and we'll have us a mini-Unconference
 
@Xeo I think I'll take 24.12-04.01
 
Xeo
I've got 20.12. - 04.01.
 
I need 5 days to fill in the holes
 
user1646075
@BartekBanachewicz you won't be able to walk after that effort.
 
1:20 PM
@Xeo I wonder if I'll have to sell my soul for the tickets, or just all my possesions during that time.
I'd come if I had a car already. :S
 
Xeo
@BartekBanachewicz last-minute tickets!
 
@Xeo lol okay I'll keep an eye on those then :D
 
@TonyTheLion that's a snow man
 
spend 5 days stalking cat, what would you say?
or cheap trip to russia
if you are really broke, get yourself some addictive game or two ...
 
inb4 downvotes for linkdumping
 
1:28 PM
Mr.Boy is correct; a true musician "feels" or "perceives" the music more than simply reading it. That isn't to say that someone without this ability is incapable of producing fantastic music, but it certainly describes the best performers in the main. — Lightness Races in Orbit 5 secs ago
I think this applies to programming to a huge degree, too.
 
Xeo
@BartekBanachewicz I have to admit, iunno bout where you would stay, though
 
like all monsters, under your bed
 
user1804599
eh
 
also I bought myself new glasses and they finally came today
I appreciate seeing things.
 
Is that why you've only now been able to re-find the Lounge?
 
1:31 PM
hihihi
it's not the Lounge
it's the Zoo
 
Look who is back
Hi Bartek
 
hi
I've to go anyway, got some work to do
 
You are being too productive.
I'm sure you'll adjust though.
 
user1804599
Is it possible to put all received signals on a queue? This has a race condition because a signal may arrive between the end and start of ::pause().
 
@BartekBanachewicz I'm not in the habit of religiously "learning" music. I'm a sightreader and I readily admit I forget details. Then again, I also improvise, so I just make up for the holes in my memory if need be
 
1:34 PM
@Jefffrey thanks to that, we're releasing an update today
 
@LightnessRacesinOrbit convicted in under a day. no contact with parents
 
Xeo
Hm. I still need to find a Secret Santa gift for a friend.
 
buy a remote controlled gadget. always works. regardless of context
 
speaking of gifts, Natalia loved hers (I gave it to her a bit earlier because she's flying to UK tomorrow)
got her that thingy
 
I'm sure facebook groupies would be like "oooh what did you give!!!!!" right now
 
1:37 PM
@sehe OP delivers.
 
Xeo
I'm thinking some kinda board / card game.
 
Just noticed. That question title coined a pretty win term yesterday: "Thread Safetry"
 
@Xeo Is your friend a man or a woman ?
 
it stopped snowing entirely
3 deg C
it's going to be yet another shitty snowless xmas
 
1:40 PM
omg building this thing takes lives
 
@AlexM. It's rainy since the beginning of the week here. That is seriously pissing me off :(
 
I know
I want to move to norway or sth
they have snow there
 
I grow 1 year older between builds
 
namespace demo
{
    template<typename Name, typename Age>
    struct employee
    {
        Name name;
        Age age;
    };
}

// Any instantiated demo::employee is now a Fusion sequence
BOOST_FUSION_ADAPT_TPL_STRUCT(
    (Name)(Age),
    (demo::employee) (Name)(Age),
    (Name, name)
    (Age, age))
Damn.
 
Xeo
@Rerito Former
 
1:41 PM
Those boost guys are smart.
 
user1804599
 
if you are not a good coder, you wouldn't be writing open source libraries ...
 
@StackedCrooked Could you explain a little bit ? Feeling I can learn something there
@AlexM. Fuck snow and rain ! Transportation gets slower when they show up !
 
I can walk on snow just fine
 
user1804599
1:46 PM
thanks guys :3
 
@Rerito They generate a matching tuple type. So know you can write code to iterate employee's members, apply transformations and such. But that's nothing new. I was simply impressed with how they managed to map the template signature to macro syntax.
 
Ok I think I get it
 
@Rerito how many fucking ads per minute do US people see
what the fuck
it's like an ad break every 5 mins wtf
I wouldn't even watch TV like that
 
@AlexM. Have you ever seen Dragonball Z?
 
@AlexM. 0.3
 
1:53 PM
@rubenvb nope
 
@AlexM. Ikr, even with an ad break every 20 min or so I feel oppressed
 
@AlexM. It's ads every five minutes, followed by a repeat o what happened before the ads, and a tiny bit of continued episode...
 
@rubenvb The longest five minutes ever
 
Ell
Factorio people still say the saving bug is not a bug -.-
 
it's probably a feature
 
user1804599
2:10 PM
Does kill(2) every block or does it always return immediately?
 
user1804599
> POSIX.1-2001 requires that if a process sends a signal to itself, and the sending thread does not have the signal blocked, and no other thread has it unblocked or is waiting for it in sigwait(3), at least one unblocked signal must be delivered to the sending thread before the kill() returns.
 
user1804599
ouch
 
@sehe: According to stackoverflow.com/questions/2083603/… the order of destruction of a vector elements is undefined. FML.
 
user1804599
Now I have to spawn a thread to call kill lol.
 
@VáclavZeman ow. that's surprising, really. Then again, nothing stops you from for_each(b,e,[](auto p) { p.reset(); }) before hand, I suppose
 
2:17 PM
@sehe Yeah, that is what I am implementing right now.
...except with for loop. :D
 
yeah, I was being brief. Anyways, why do you depend on the order? Perhaps a std::list would work in this case (mmm. seems to also be unspecified)
 
@VáclavZeman That's the sane way... and also what we've been telling you.
 
2:29 PM
@Griwes what is?
 
@sehe Not requiring any particular order of destruction of elements.
 
Meh. You can't change functional requirements.
I thought you were arguing that this being unspecified was "the sane way"
 
@Griwes: Honestly, it is unexpected that std::vector<T>::erase() erases elements in reverse order with Clang+libc++.
 
@VáclavZeman It also pretty much doesn't matter as long as you are not expecting it. And if you are, then... well, how to say it... your code is bad.
 
I agree that it's clearly an implementation detail. But it's exceeding easy to accidentally depend on the behaviour and not notice until it breaks.
That's just unfortunate
 
2:44 PM
@Griwes Now that I think about it again, Clang does it better. It does reverse destruction which means it does reverse order of construction, as long as the elements were only pushed into the vector... Interesting.
 
user1804599
bukkake bukkake bukkake udon
 
@rightføld Eww!?
 
user1804599
 
Seriously. Don't depend on things like order of destruction of container's elements vOv
 
user784668
Don't depend on things like C++
 
2:46 PM
@Ell WTF?! Law students avoid learning about certain aspects of law.
@Griwes That is easily said. As sehe has mentioned, it was not intentional. Also, again, it is unexpected. I worked with a wrong assumption that I thought was rock solid truth, which it unfortunately was not.
 
user784668
@VáclavZeman Unexpected? You must be new to C++.
 
@Fanael lol, I really am not. I have been using C++ since like 1995 at least.
 
user1804599
People used Java in 1995.
 
user1804599
Don't be silly.
 
user784668
What are some decent resources to learn C# from?
 
2:55 PM
The Internet
 
user784668
@AlexM. I'm banned.
 
well fuck
looks like you gotta settle for Java
sorry.
 
user784668
@AlexM. oh fuck you
 
user1804599
@Fanael just pick up a Java tutorial and s/extends/:/g and s/[A-Z][a-z0-9_]*/var/g.
 
> Jon Skeet's C# in Depth 2nd edition, which is updated to include C# 4.0
I would read this
 
user1804599
2:58 PM
C# in Depth is not for beginners.
 
I doubt he's someone who's never programmed in anything before
 
user1804599
Though prolly good enough for Fanael.
 
user1804599
C# is as exciting as a boulder.
 
I'm pretty sure that you can understand a language's innards if you programmed in something else for a decent amount of time and can put things together
 
Ahoy mateys!
 
2:59 PM
by reading its book
 
user1804599
@FredOverflow lol
 
@rightføld Can you see my hat? I can't :(
 
@FredOverflow TheFredOverflowBay
 
user1804599
I need one more upvote and then I will have a gold badge too.
 
user784668
@rightføld brb downvoting all your answers
 
3:02 PM
I got my xmas food package :D
 
3:17 PM
 
Hats appear in chat?
 
yes?
@rightføld A gold badge on what?
 
I really need to learn to branch my branches and make bugfixes for primary code on master
 
Ell
hmm
 
colleague been working on a basic loop for 48 hours
still no sign of it
 
3:19 PM
what's a basic loop
 
a loop that is not fucking complicated
responseData[pos] = cache[addr+pos]
pos += 1;
this needs to be turned into
 
for (size_t i = 0; i < n; i++)
    responseData[pos+i] = cache[addr+pos+i];
pos += n;
 
@LightnessRacesinOrbit then do it
 
As I say, 48 hours after first discussing it at length and it's still not in the code
@Jefffrey It's not my task
 
3:21 PM
do it anyway
 
and I can't just do everything for him all the time
got my own shit to do
 
it's just a basic loop
 
plus he needs to understand it before he can move on with the task, so my writing it is not going to be very helpful
@Jefffrey Yes, which is what I said.
Since you're evidently too dumb to understand what's going on here, I'm complaining about incompetence.
 
@LightnessRacesinOrbit so, it's not a problem for you to write something as basic as a basic loop, no?
 
Not requesting your expert solutions
 
3:22 PM
aww, thanks :,)
expert solutions to basic problems
 
@LightnessRacesinOrbit It looked like you were when you came here with that problem.
hides
 
wait, was that some kind of basic sarcasm?
 
the best kind
@Griwes You'll note that I literally just completed the task in front of your eyes in seconds by writing the finished product for you
I'm complaining that this moron can't do it in two days
 
Get him fired.
 
@LightnessRacesinOrbit too dumb to understand, remember?
 
3:25 PM
@Jefffrey I'm talking to Griwes.
@Griwes I've nudged people in that direction. But nobody seems to give a shit :(
 
woops, too dumb to understand who you are talking to apparently
 
it seemed so basic
I should basically just shut up
 
lol
 
3:26 PM
Anyway, at a time when we're selling old laptops for £40 to offset lost revenues, you'd think wasting £xk on this idiot would be the first thing to look at putting a stop to
 
He should basically get fired.
 
Follow your basic instinct
 
user1804599
@Jefffrey great answer
 
I'm so proud that I understood £xk. It's £ every 1000 items, right?
 
user1804599
k means 1000
 
3:28 PM
will you just go away please?
 
user1804599
So you multiply £x by 1000.
 
actually jokes aside I didn't
 
but that makes sense now
 
3:30 PM
omg u dont kno anythin
 
I'm so bored
 
did u not paly mmos
buy addy long 3k
 
1000k gold pls
 
@AlexM. you mean "mums"?
 
red:wave: sell rune ore 1k ea!!!1
 
3:33 PM
Typing like that gives me kidney stones.
 
Every time someone says "kidney stones" I imagine stones being digested.
 
o.O
 
@Jefffrey And then I want to eat a gizzard salad
 
you want to eat fucking what now
oooh TIL what a gizzard is
I eat gizzard stew like crazy
it's so good
when mum used to make it I'd eat half of the gizzards and leave everyone else with the rest and the sauce
 
how many days till holidays alex
 
3:41 PM
it's 17:41
 
what time is it
 
tomorrow at 18:00 I'll end my workday
and go home
for holidays
that's how much time is left till holidays Jefffrey
 
Holidays next tuesday evening
 
@AlexM. ~24 hours then
 
yup
 
3:42 PM
oh right, it's friday tomorrow
totally forgot
 
hope father can show up to pick me tomorrow evening
he was invited to a hunting trip or sth by his colleagues on Saturday and I wouldn't want him to miss it because of me
 
@Jefffrey You asked for it sir ... youtube.com/watch?v=RWf83UX4vKs
 
@Rerito same here
 
@Rerito I love that song
 
@AlexM. call me and I'll give you a lift no problem if he doesn't show up
 
3:44 PM
Seein' everything, the time is goin'
Tickin' on and on, everybody's russian
ba dum tschh
 
@TonyTheLion From Dec 25th to Jan 5th
 
@Rerito school?
 
Nope
 
@Jefffrey admit it
you just want to throw me in the streets in Italy
 
Freshly graduated from this year
 
3:45 PM
and tell everyone that I put ketchup on my pizzas
 
I took the 22nd, 23rd, and 24th off
 
:)
 
and also the 29th and 30th, I think.
 
you got me
 
@Puppy Not the 26th ?
You'ld have 25 to 29 in a row
 
3:47 PM
The 26th is a holiday here.
 
@R.MartinhoFernandes Ooooh ok that clears it up then
 
@Rerito there is there though
 
Ell
I'm craving peanut butter cups
 
@Ell Yeah, peanut butter > nutella
 
Ell
I like them both
 
3:54 PM
Also, full of prots (and fat but who cares ?)
Yeah but it's easier to control yourself with peanut butter since it's far less sugar loaded
 
user1804599
@Puppy nice, my birthday
 
Birthdays!
 
June the 25th
Equidistant from xmas
Perfect for a uniform gift distribution over the year :p
 
Yeah, I noticed after that you reused the 10, sorry :P — FryAmTheEggman yesterday
O_o
Ah, so he reused the ten then, did he?
 
in soviet russia, fish eats you! youtube.com/watch?v=2bP79-lPd0w
 
4:03 PM
Leaving early today ... Time to comute
vanishes
 
lol segmentation fault 11
from my haskell program
 
user1804599
I would've found more joy without the ignore the rest of this form, effectively instructing the robot to also put the desk on the conveyor belt. — hexparrot Dec 20 '12 at 14:47
 
user1804599
XD
 
oh something really weird is happening
 
put down the potato gun, Chris
 
4:06 PM
when i interact with the underlying OS, snake segments get launched everywhere
 
Ell
@AlexM. ouch
2nd last shift now! laters
 
haters
 
user1804599
lol some idiot posted a picture of their key on Instagram and someone created a replica of that key and entered the house
 
0
A: C++ clearing queues and thread safety

user2290362I am the OP, I have fixed the problem. The issue is clearly not a thread contention issue, as suggested by other users. This is proven in edit 3 of the original question. The terminal output simulates where a mutex would have been locked and released, and proves that they are necessary in this c...

@ParkYoung-Bae OMG. I'm not sure he's serious. He's so very proud he fixed crashing bugs in his resource management, and somehow concludes his threading is fine "because it is serialized over the network". I have no clue what that even means (besides sounding bogus) so I won't engage.
 
@Rerito 25th and 26th are national holidays here.
 
4:23 PM
Explaining how to do things to people taking longer than doing the damn thing: check
Out of tea: check
 
@sehe I'm tempted to comment "+1 for solving science"
 
4:53 PM
@CatPlusPlus /cc @LightnessRacesinOrbit
> In fact, there are no useful backtraces in Haskell code, because of lazy evaluation and tail-calls. Finding out "how we got here" is often a challenge.
I'll never solve this problem
 
user1804599
SSCCE.
 

« first day (1524 days earlier)      last day (3426 days later) »