« first day (1375 days earlier)      last day (3566 days later) » 

12:11 AM
Diane Morgan is an English actress, comedian and writer. Originally from Bolton, Greater Manchester, she studied at East 15 Acting School before playing Dawn in Peter Kay's Phoenix Nights. As a stand up comedian she has been placed second in the Hackney Empire New Act of the Year Award 2006 and runner up in the Funny Women Awards 2006, for new and aspiring female comedy talent. Since then she has appeared on numerous episodes of BBC's Mock the Week and has continued to work with fellow comedian Joe Wilkinson as part of the deadpan sketch group Two Episodes of Mash. She can also be seen in Sky's...
@xxx nice
@R.Mart well, halfway through S4 now and there have still been far fewer deaths and twists than I expected it. enjoying it, though.
 
12:42 AM
0
Q: Deinterleave one stream to multiple streams in C++

germinolegrandI am writing a stream to decode an audio file format, ogg/vorbis, so that I can play it in my program. As you may know, an audio stream is composed of several channels, and each channel has to be played separately but simultaneously. When the data is encoded in ogg/vorbis, all the channels are in...

here it is.
 
> Dear Mr. Atheist ... allow me to destroy evolution in 3 minutes!
lmao
 
Oh look, more morons claiming that past events "can't be observed" scientifically.
 
I need to do a search-and-replace on HTML using JS with regex.
This isn't going to go well.
 
obvious starbait rejected
 
I wasn't star-baiting. It's what I actually need to do.
I have a bunch of string translations in XML files. And I was given a JS script that uses regexes. And it doesn't quite do what I want.
 
12:52 AM
@Mysticial a) use xpath
b) don't use regex for that... you'll want to kill yourself
 
I'm not very satisfied with this command line parser library thing I made
._.
 
@Rapptz clone the boost one?
 
TIL Google parses HTML with regex
 
@Mgetz Nah. I don't like Boost.PO too much.
Otherwise I'd use it
 
I know absolutely zero Javascript. And now I need to use it to parse XML with regexes. Great.
 
12:55 AM
@Mysticial -1 not enough jQuery
 
@Mysticial do you actually have a requirement to use regexes?
that seems stupid
 
@Mgetz No. But, that was the suggestion I was given.
 
@Mysticial if it's xml I would HIGHLY recommend using xpath instead, it's a LOT less painful and is set oriented in operation
 
oh cool
 
guys he HAS to use regex. cos he HAS to. okay?
 
12:57 AM
Debian Jessie has boost 1.55
 
@Rapptz Debian Jessie!?
 
@LightnessRacesinOrbit I don't have to, but it was suggested to me.
 
@Mysticial contradicts earlier statement
 
@Borgleader testing
 
@LightnessRacesinOrbit There's already some regex replacement in the JS script. I either have to modify it to do what I want. Or try something else.
 
12:58 AM
damn
What'd I do
@Mysticial Why don't you parse manually?
TBH though I don't see anything wrong with using a non-greedy regex match if the input is sane
but you can't assume sane input
 
@Rapptz There's about 40 files I need to do. (40 languages total)
 
By manually I meant w/o regex
 
@Rapptz I don't even know any JS in the first place. So everything is up on the table while I parse the existing script into my head.
 
Why do you have to use JS?
 
Because the script is already in JS. I'm not gonna rewrite the script from scratch.
It does something very close to what I want. But not exactly what I want.
 
1:06 AM
How do you not know any JS
 
Because I've never had to use it?
This would be the first time.
 
it's not too hard
 
@Mysticial tbf javascript is terribly easy to pick up
 
I have a rough idea how the script works. The flow-control is pretty straight-forward.
 
Hopefully you know the obvious gotchas.
Like === vs == and randomly inserted semicolon at the end.
 
1:10 AM
I won't try to add an object and an array.
 
All variables in a function are moved to the top of the function.
 
@Mysticial have jslint crockford knows what he's doing
 
1:29 AM
Sweet, thought my libstdc++ didn't have constexpr make_pair and forward yet, but it did.
Which is odd because it's advertised as GCC 4.9 and none of the other things like "abc"s work.
 
1:51 AM
Can anyone think of a time when using std::forward on a predicate (like in an algorithm) would be useful? I know it handles rvalue references for this, but a member function would need to be a lambda or a bind expression or something for it to work anyway.
 
2:13 AM
12
Q: Pass template args by const& or &&

StackedCrookedI have this example program: #include <iostream> template<typename Message, typename Decoration, typename PrintImpl> void print_surrounded(Message&& msg, const Decoration& decoration, const PrintImpl& print_impl) { print_impl(decoration); // should forward be used? print_impl(" "); ...

 
hah, asked by a lounger and answered by a lounger
nice
 
2:39 AM
@Rapptz Guess the comment sort of answers it.
 
 
1 hour later…
3:55 AM
Don't even know what I did.
 
RIP
 
Stupid thing wouldn't even let me screenshot it
My program isn't running as an admin and activating some other window causes this message to go away until you click back.
 
Hit the reset key!
 
Screw it. The program runs as an admin now.
No more annoyances trying to screenshot when an elevated program is active.
And I made the screenshot thing, so I know it's not deliberately malicious.
if (inputy == "Y") goto Shut2;
if (inputy == "y") goto Shut2;
if (inputy == "n") goto Lobby;
if (inputy == "N") goto Lobby;
    else goto Error;
New to C++ and overuses goto. I can tell you from experience that's a wonderful combination.
 
Signs of someone who started out with Basic
 
4:11 AM
Actually, I think I did start out with Basic lol
Some form of it for my calculator in grade 9 or so.
I don't think I got into the whole goto craze because of that. The one thing I can remember was how cool I thought it was when I discovered C++ had it, not any relation to the calculator.
 
5:03 AM
0
A: How do I ask for "at least" a size of an int in C

sudhakarfastest => align to architecture using pragma pack. Without this, in case the memory is not aligned, it would require more than one memory access. min 32 => use int specifier - enough. This ensures 32 bits in linux across all architectures to my knowledge.

^^ lolwut?
 
5:14 AM
Wow, that question blew up
 
Yeah, I read too quickly and missed the mention of raw string literals in the first phase.
Really, 9 phases of translation, I'm talking about the second. What are the chances this happens before then lol
 
user3010322
5:54 AM
@Rapptz So, I actually figured out a way (theoretically)
 
user3010322
to make someclass.a = 5 bind to a member variable in C++ from lua.
 
user3010322
And I totes want to do it.
 
Gah, Lua is giving me pains right now...
 
user3010322
Why so?
 
user3010322
@JoshuaWaring AHHH I JUST READ YOUR QUESTIONS
 
user3010322
5:59 AM
You're re-inventing sol!
 
user3010322
You madman!
 
A mad man I am!
 
user3010322
Well, I have no sympathy for you.
 
It randomly tries to call a function which doesn't exist, I say randomly because it operates like normal until a undisclosed amount of time, and when I check the call stack it says nothing called it.
 
user3010322
You should be using sol and not reinventing a wheel that's been invented at least 20 other times.
 
6:00 AM
@ThePhD Nope.
 
user3010322
@Rapptz Don't nope me, it's actually legitimate!
 
My actual plan is much larger than sol >:D
 
@JoshuaWaring ?
I don't think this is missing anything except a few things no one really needs.
 
user3010322
cough membervariables cough
 
user3010322
We should support both pointers to variables and member variables. :D
 
6:04 AM
@JoshuaWaring It's better to contribute then what you want to add than to reinvent the whole thing.
 
user3010322
And references to variables!
 
@ThePhD I don't understand you man.
Member variables work fine.
Why do you want to have a silly callback mechanism for it?
 
user3010322
From a lambda. :c
 
user3010322
or something like a lambda.
 
lambdaish sounds like a good name...
Or lambdish.
 
user3010322
6:07 AM
@Rapptz Also, for my current idea there's no silly callback mechanism. It's literally mything.a = /* stuff */ from lua.
 
user3010322
And it will manipulate a accordingly, in C++.
 
It's actually a game engine, which uses Lua. it's a hybrid between a Lua Framework and a Game Engine.
 
user3010322
Sounds like a trainwreck...
 
user3010322
Have fun!
 
@JoshuaWaring Better to separate them.
 
6:09 AM
@ThePhD Okay. Go nuts then.
I just hit my head pretty bad
 
user3010322
Yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay!
 
user3010322
Wait, what?
 
user3010322
How? Why? :c
 
I was walking and hit the corner of the support thing
there are fucking mosquitoes everywhere
sigh
 
user3010322
Close your goddamn windows.
 
6:10 AM
they're all closed
they manage to sneak in the second someone opens a door for 5 seconds
 
Erasing with a pair of iterators in unordered_map/unordered_set doesn't really make much sense.
Except when you supply begin and end, which is basically clear()...
 
it does
suppose first contains the element 5 and last contains the element 17
you're basically saying "erase everything between 5 and 17"
because the collection is sorted
 
unordered
 
oh missed that
 
yeah...
 
6:15 AM
Those are for container requirements
and for generic programming
 
Also, it's hard to test so I'll just exclude it from my container wrapper (it wraps unordered_set).
 
6:33 AM
use drop stages? want your funds back for landing them safely? you need this
 
I'll look into sol
 
user3010322
Mmm.
 
6:49 AM
don't let the robot hear you
It's his monopoly
@ThePhD Windows sucks
@LightnessRacesinOrbit after some deliberation, I take it this some kind of appeal to authority, supporting the idea that it was a funny thing to say.
 
@sehe who? @R.MartinhoFernandes?
 
user1804599
7:09 AM
Why did I do sudo git reset --hard instead of git reset --hard?
 
I love caffeine <3
it makes me look forward to lots of crap in the morning
 
user1804599
I was dizzy last night.
 
user1804599
I woke up, closed the window and then I fell on my desk.
 
well at least you're not me
I turned off the alarm in my sleep
like, this morning
thankfully I woke up one hour later and wasn't exactly very late
 
Xeo
I wake up long before my alarm goes off :(
 
7:14 AM
@rightfold to make it extra hard! sudo is the viagra of git commands
 
user1804599
I shouldn't sleep with open window when there's a low pressure area anymore.
 
user1804599
NEED MOAR OXYGEN
 
user1804599
@Xeo I always do that when I set my alarm.
 
user1804599
The solution is not setting my alarm.
 
user1804599
7:17 AM
 
@rightfold ... it doesn't work like that...
 
user1804599
IT DOES
 
Xeo
> missing braces around initializer for ‘std::array<Stuff, 5ul>::value_type [5] {aka Stuff [5]}’ [-Wmissing-braces]
Fuck you GCC, y u no brace-elision?!
 
@rightfold right
 
I wonder why we don't see symmetric layouts in modern FPSes like how doom had
I think it's an interesting concept
rooms usually have shapes that allow for symmetric stuff to happen, e.g. if an enemy spawns in a particular location chances are another also spawned in the opposite location
 
user1804599
7:26 AM
I played Doom during maths class in high school.
 
user1804599
Maybe that's why I'm so bad at statistics.
 
You're not just bad at statistics. You're literally doomed at it
 
14 mins ago, by Alex M.
well at least you're not me
 
user1804599
dat pnu
 
I was the only guy in the college to fail the statistics exam
I played MoH instead of studying though
not doom
 
user1804599
7:28 AM
@AlexM. According to you, 100% of you woke up too late today.
 
lol that reminded me of this guy who wrote something like "In my opinion, as well as other scientists', <something> can be proven by..." on his exam
 
user1804599
But it was a black-and-white clone of Doom!
 
what, you played it on your calculator?
 
user1804599
What else? On my PSP?
 
user1804599
You're not allowed to use a PSP inside the building.
 
7:30 AM
lame
 
user1804599
The only console allowed was a calculator.
 
I used to play burnout on my psp during religion classes
 
user1804599
> religion classes
 
and crisis core
man that was a great game
most fun FF ever, after IX
@rightfold mandatory here
 
user1804599
Was it informational or indoctrinating?
 
7:32 AM
I was nice though, because I always stayed silent, so I looked like an angel compared to my colleagues who always argued with the prof about god's existence lol
the prof was sure I'd become a priest or something
@rightfold if it were informational, it would have been called "history of religions" or something
 
user1804599
Disgusting.
 
this was really just training to kiss saint ass
 
user1804599
We had a biology teacher who said that "it was God's will" when she didn't know the answer to a question.
 
we had a biology teacher who'd tell us jokes about whores :D
I'm really thankful that he decided to just let us not study anything during the last year if we didn't want to take the final biology exam
you had a choice between physics, chemistry, biology and programming
 
user1804599
I had a choice between programming and bullshit.
 
user1804599
7:37 AM
And unsurprisingly the programming was also bullshit.
 
user1804599
But I wrote my first Haskell program during that class!
 
@rightfold I like religious chants as long as they're in latin
I can't hear any in Romania for obvious reasons (then again, nobody else seems to use the language anymore)
 
Civ IV had some
for the medieval soundtrack
 
You got Edward Bird in this room and nobody warned me? I hate you all
 
7:40 AM
the latin in civ iv also sounds appropriate
 
@ParkYoung-Bae who's that bird?
 
unlike the one in rome total war
the composer decided to let his wife sing in latin
and to anyone who ever heard remotely correct latin, it sounded hilarious
 
@Abyx A butthurt cunt
 
@ParkYoung-Bae All he pretty much did was go "u wot m8 i'll hook u in the gabber u cheeky lil cunt"
 
Ok, here is a question: if you have an extra room next to the kitchen, would you call it a living room or a lounge?
 
7:43 AM
I'd call it an extra room
the purpose of a room is not coupled to its location
 
I can not call it a bedroom as per council regulation
 
@Rapptz But I wanted to have fun :(
 
@chmod711telkitty living room then
 
@chmod711telkitty Closet.
 
Is the room accessible / ajoined to the kitchen ?
 
7:46 AM
rawr!
@JamesC yes
not dining though
 
if it's not the liviing room, with tv / sofa etc call it a pantry / utility room
 
wtf is a council regulation anyway
why can't you call your rooms however you want
 
rules about housing in the UK i presume ?
 
Australian ... one of the NSW councils more specifically
 
ah ok
 
7:50 AM
Furthermore, the proposal is not consistent with the objectives of the R2 Low Density Residential zone. Generally Council considers a maximum of 2 bedrooms for secondary dwellings only. This provides better amenity to the occupants.
 
Anyway it's my first time on SO chat ... I lol'ed when I saw how off topic it was .. but couldn't resist answering haha
 
this is a chat ... off topic is the our theme ~_~
 
@LightnessRacesinOrbit omg are you serious :o nvm love you hon
 
Lounge / I dunno actually know what it is ... wait a sec who am I ?
 
Funny thing is that ... councils want the landlords/landladies to provide more amenities to the occupants, but 2 out of 3 properties I am helping to manage, tenants kept on adding people to the house to lower their own rent per person. We have not raised the rent despite that ...
 
7:56 AM
@ParkYoung-Bae warning, Edward Bird was in the room
 
@thecoshman Is Edward Bird some sort of new weird sightseeing around here? Love his commentary to Lightness :D
 
@Arcoth no, just some upitty shite
13 hours ago, by thecoshman
gives a good flavour of it
 
@thecoshman nice :D
 
Tomalak got a stalker, how lovely <3
 
¬_¬ don't star the quote of a starred message
 
7:57 AM
@thecoshman Unfortunately the link is broken
@thecoshman Don't worry, unfucked it
 
There will be more people so you have to build more houses, simple as that, now stop being a tight fat ass
 
@Arcoth stupid modes! @RobertHarvey did you have something to do with it?
 

« first day (1375 days earlier)      last day (3566 days later) »