« first day (1185 days earlier)      last day (3989 days later) » 

10:00
o_0 I just noticed that Skeet is users #22656
?
@LucDanton Cognitive dissonance :S
@b1naryatr0phy By the way, it is actually spelled "fucking". With a 'u', not an asterisk. If you don't have the balls to swear, don't fucking do it. Replacing the u with an asterisk does not magically make the word more polite. — jalf 1 min ago
4
yeah it's great one
but you're slooow~~
@LucDanton I keep putting it back in, somehow hoping it magically starts working and then remove it when I re-realise it hurts.
5
10:06
There is no fucking way you didn't do this on purpose but I'm going to star it anyway
@CatPlusPlus haha
It's not what it looks like!
@R.MartinhoFernandes lol
I took that sexually.
3
How surprising :(
String hashCode(String input){ return "#"; }
Seriously? @thecosh
10:16
@R.MartinhoFernandes yeah... I would have thought it be a rather low number... not sure where it starts from.
@R.MartinhoFernandes vOv what?
That's a really lame joke.
@R.MartinhoFernandes vOv trying to draw attention to silliness of his custom hash solution.
What joke? That's the hash function I'm using in this financial software
user1804599
> You can only upload 1 files.
user1804599
10:18
> files
user1804599
Fuck this library.
poor guy, nearly three years and now he wants to just give up :P
it's only 10 rep vOv
ONLY rep!?!?
JBL
JBL
Figuring you can be wrong, on the internet, the hard way.
He's done it.
10:20
@thecosh Just in case you didn't notice, that's a question from 2012. You're necroing like crazy.
ARE YOU ASSERTING THAT THESE REPUTATION POINTS HAVE NO INTRINSIC VALUE IN THE REAL WORLD?
@R.MartinhoFernandes vOV
Looks like I missed I a nice drama by just few minutes...
+12/-12? Gah, SO can be so silly with upvoting.
Surely the best way to deal with being wrong is deleting your account
Rightfold will attest to that
10:26
:D
@R.MartinhoFernandes ... is there a badge for that?
@TonyTheLion if everyone did that the site would surely stack integer overflow
You're wrong
@MohammadAliBaydoun o_0
@thecoshman (I'm waiting for someone to randomly delete their account)
10:34
I am never wrong, just misunderstood.
@MohammadAliBaydoun get a drink.
@thecoshman I don't drink sadly :<
@thecoshman I agree
JBL
JBL
@MohammadAliBaydoun He didn't say alcohol. Get some juice!
@MohammadAliBaydoun vOv cocaine?
10:36
Oh definitely!
this was on Castle, latest episode
they did the thing with the IP addresses again
Meh.
I think the people pointing out these are the ones that look stupid.
It's a meaningless number, might as well be a meaningless number.
It's like how TV uses 555- as an area code
@harold a) what is 'Castle. b) You mean not using valid IPv4 address? c) Who cares d) Frankly I'm glad they don't, it would probably just inspire people to spam those IPs
Does anyone complain that 555- phone numbers are not valid?
10:40
@R.MartinhoFernandes ... is that a thing?
@TheForestAndtheTrees Exactly.
well, to be fair, at least a fake area code still looks a legit number.
"American crime drama television series" aka crap I don't want to waste my time with.
They could have used some invalid IP address that at least looks semi-valid
user1804599
10:42
Widget y u no correctly styled.
@R.MartinhoFernandes For the same reason why they write actual english text on the background whiteboards instead of random gibberish
@harold But this is random gibberish either way.
@harold Previous, not latest.
@harold personally, I'd whiny nerds would shut the fuck up the reserve an IP block so that you can have an insignificant improvement to your TV shows.
Today's episode has already been out in (IIRC) Canada.
10:44
Well, not here yet
But OK, previous then
JBL
JBL
Reminds me of those sci-fi movies that should rather come with invented words/concepts rather than try to use real scientific words/concepts to describe or talk about their universe's technology...
Hmm, for some reason it's not on TPB yet. Hmm...
@JBL ah now, to be fair, some of those shows were trying to use bullshit science that was not being thought about at the time.
I can forgive them using made up words like to replace swear words, have to think o the children and what not.
@thecoshman Or using ~Mandarin for them. <3
JBL
JBL
@thecoshman Of course, and I find it better when they use invented words than trying to fit real ones (that can't obviously describe their bullshit science).
10:48
@Griwes eg?
@thecoshman Firefly?
@thecoshman Firefly. D'oh.
@JBL vOv for me, sci-fi is fiction over science. Otherwise it is just a documentary.
oh no, It appears I am about to lose nerd cred. Best go find some fucks to give I guess.
2
JBL
JBL
@thecoshman Exactly.
The suspension of disbelief can't be stretched infinitely far. At some point, it goes from sci-fi to bullshit.
10:51
Yeah, how dare they use bogus IPs.
They're not just bogus, they're not even IP addresses.
That's more or less what 'bogus' means.
Not entirely, they could be some random address that is at least in the language of IP addresses
this is not in the language of IP addresses, and therefore not an IP address, not even a bogus one
Would it really make a difference?
Yes, but admittedly only a small one
10:53
What difference?
@harold I'm sorry, but it will be a very sad day when a cardboard box can not make for a epic space fighter plane ship with mega pew pew lasers.
It wouldn't jar people who have even the slightest bit of knowledge about IP addresses back to reality
They're clearly not their target audience.
@harold and bring that poor person an insane amount of spammy traffic.
@thecoshman Take a multicast address then. Some people will still notice, but far fewer.
10:55
@thecoshman I doubt that'd happen to be honest.
Hopefully it will jar people who are so annaly rententive into the grave.
@harold And you don't care about those people? HOW DARE YOU?
Such selfishness!
"They should use a number that I can accept as a potentially valid IP address"
@R.MartinhoFernandes I don't know, there are some nut jobs out there. I'd imagine it would turn into some conspiracy thing.
@R.MartinhoFernandes They could have done so with literally no more effort than they took now
it's not much to ask.
@harold Oh, no they could not.
This took not the effort of getting to know what an IP can look like.
10:57
This took the effort of almost knowing what an IP address looks like
I'm pretty sure they didn't make that effort. They had that incomplete vision of IPs already.
it's like they read the wikipedia article, then immediate forgot everything and only remembered "some random-ass numbers with dots"
@harold vOv good enough for me.
it's not like the ip number itself was a crucial part of the plot.
How can you guys not care about this?
We know how to enjoy fiction.
10:59
because we can't into web
I guess tvtropes helped.
@harold it's science fiction
now if they called something C/C++ code....boy would we care
any way, the suited racoon says this is over.
Xeo
Xeo
ugh, back to the doc in 30mins. I want to sleep. x_x
10:59
@thecoshman It's set in the real world. With, presumably, real IP addresses.
The thing is, that CSI VB GUI thingy is actually hilarious. This is just nonsense nitpicking.
@harold Maybe they're IPv5 addresses.
@harold a) the racoon has spoken b) it is FICTION
@R.MartinhoFernandes I'm too slow ._.
@ThePhD how do you know it's actually drawing?
@harold It doesn't say those numbers are IP addresses.
Could be some other kind of identifier.
Ok, that might be an excuse...
let me recheck the audio
oh for fuck sake
@harold you have too much time on your hands :)
@melak47 of course I do
@harold there. I hope that doesn't kill you.
@R.MartinhoFernandes Nope, sorry, unfortunately things like that are only jarring, not lethal. I know, disappointing.
@StackedCrooked OK, so they don't actually say they're IP addresses. Kind of a weak excuse, but.. fine, whatever.
JBL
JBL
@harold Now you're plain over-puristic...
@JBL Hell yes
JBL
JBL
And that's by far not a compliment.
@melak47 Ha, I know what that is before I open it.
11:09
@R.MartinhoFernandes read it before?
@harold you should start a petition
@StackedCrooked Yes, that totally makes sense.
something must be done
are you going to let this just go by
@StackedCrooked BTW, you realize that you effectively picked a nit with the nit that I picked, right?
Well, no.
I objected to the idea as a whole.
No nits.
11:11
@harold no, you picked picked a nit and provided stupidity to comment on.
@harold for all we know the show is a recollection of these events by Castle, and maybe he knows fuck all about IP addresses :p
@harold i'm only trying to help
@melak47 I like how Niven describes his stories: "[...] should be seen as a possible future history told by people that may or may not have all their facts right."
Meh, I need to do a review but GitLab doesn't allow you to comment on files, just commits
And "Like, he wanted me to be inconsistent. I can't do that, not on purpose." too.
11:14
Oh you're talking about IPs in TV shows
They don't use real ones on purpose
Just like they don't use real phone numbers on purpose
Yea ok, it wasn't just not real, it was not an IP address
I'm bad at words
@harold That makes it not real.
Would you feel better if they used a real one in an unroutable block?
Because that would still be invalid
It is an address in the fictional universe of Castle.
11:15
@R.MartinhoFernandes That doesn't make it a "non real IP address", because it's not an IP address to begin with
@harold It is one in the fictional universe of Castle.
That ::1 thing is surely not an IP address either
I mean IP addresses have dots in them right
@CatPlusPlus and this has four dots vOv what's the problem?
Also, I don't see what could be less of a real IP address than something that isn't one.
@R.MartinhoFernandes There should obviously be an episode where protagonist reads out modified IPv4 RFC to the audience
11:20
@CatPlusPlus ¬_¬ they'll complain about him saying commas wrong.
@CatPlusPlus He would because he is selfish and doesn't care for people that can tell those apart.
heh nerds
s/nerds/twats/
@CatPlusPlus That's the IP for the president of the USA.
11:29
I guess they could reserve a /64 in IPv6 for fiction but then people will complain anyway because who knows about IPv6.
or, and I know this is some crazy shit right now, people could just watch the fucking show and stop complaining like a little bitch that the bullshit fiction was not factual.
@thecoshman Nits must be picked, it's a rule
@thecoshman Or maybe they could stop watching it and maybe the creators will stop spamming crime procedurals :(
oh ok, well let's start with this made up case they are trying to solve, or, and the fact they are not even trained detectives or maybe the fact there would not really be a person filming it all the time.
::1 is IPv6 loopback address
11:42
@tony is LCK
(Sorry man, you'll shake the image one day I am sure)
@thecoshman lol
@TonyTheLion don't you start with this
I'm not starting, I'm ending it
@thecoshman oh god
0
Q: Boost memory pools with dynamic parameters

Michael IVI know I can use boost singleton_pool as follows: typedef boost::singleton_pool< OrderTag,sizeof(memSize)>Pool; This is template class and memSize must be known in compile time.But I get memSize populated only during runtime and its value may vary in different setups.Does that mean I can't u...

wtf is a singleton pool and why does it exist
cause noobs
11:45
seriously, how bad is a singleton pool when singletons are extra bad already?
there can only be one singleton pool
cause otherwise it wouldn't be a singleton
room topic changed to Lounge<C++>: The Singleton (Pool) strikes again. [c++] [c++11] [c++1y] [no-helpdesk] [no-questions]
maybe the pool stores singletons, then there could be more pools :p
mm, but it's not a true singleton pool then
11:47
@TonyTheLion ever ball is black eight?
oh, I think I've got this... it's basically: single - ton
how long are you gonna be off for :d?
it's a singleton object that is a pool for type T
@ScottW don't leave
maybe it's a pool for singleton's of type T :p
isn't it a singleton object for singletons of type T?
11:49
Drowning in a pool of singletons
must be one big singleton :p
we would then need a singleton_pool_factory though
Imagine there's something worse than singleton
There is
boost uses singletons then singletons are good
11:50
wut
@CatPlusPlus worse than singleton's is going around promoting their use
oh, I read about that a while ago
I think Jalf suggested it in his blog
(maybe I am wrong though)
This is super double mega retarded
yeah, but I'd say it's on par with singletons
rather than being worse
11:51
No, it's worse
At least singleton doesn't pretend to be something else
it takes special kind of retarded to use either
For all the problems with singletons, you know you're dealing with them
This shit pretends to be a normal object but shares state behind the scenes and doesn't tell you about it
Oh you wanted a copy? NOPE IT'S THE SAME THING
well, in Java or C#, you need to go out of your way to copy something anyway
FYI shared_ptr<T> is a same monostate thing
11:54
No
it's not, yet I still follow Sean's advice and use shared_ptr<const T>
@ScarletAmaranth Not really, but then you get the same thing anyway and destroy any semantics
Benefits of the SINGLETON
Don't try to copy from PDFs like that
11:55
@CatPlusPlus alright, maybe I am bad at C#, but I needed a copy of an array that had like 200 hundred elems to modify behind the scenes so that I don't mess with what's presented in UI, what is the common approach to "copy" the stuff then?
> Cross Platform: Using appropriate middleware, (e.g. RMI) Singleton can be extended to work across many JVMs and many computers.
ahahahahahahahahah
@CatPlusPlus ugh. What terrible person wrote this crap?!!
@ScarletAmaranth Shallow copies are Clone()
I needed a deep copy
For deep ones you can either serialise and then deserialise or use O2O mapper
11:57
I had to write deepCopy() stuff
mmm, serialization seems like a weird approach in this context o_O
It's just reusing generic mechanism for deep traversal
Serialization to do a deep copy in C#? Congratulations, you just went from regular slow to Dead Slow
I prefer O2O way anyway
O2O mappers are pretty cool anyway
anyway, I had a few Ts and I had to go trough quite a bit to just get a copy of the container really
@harold A lot of languages do it this way, it really doesn't matter
12:00
@CatPlusPlus ergh... (Java) RMI ¬_¬
it's kinda retarded as copying is something that's... you know, common
Not really
Not deep copies at least
does clone() effectively copy an array of ints, say?
Should
You don't need to deep clone integers even if they're boxed
> Applicable to any class. You can change any class into a singleton simply by making its constructors private and by adding the appropriate static functions and variable.
Ahahaha
That's a benefit of singleton
You can turn every class into a singleton by turning it into a singleton
It really shows that any idiot can write a book
@ScarletAmaranth It isn't common outside of C++.
MSVC still doesn't implement the right constructor generation rules?
What a piece of shit.
One of my coworkers just said "We can try the clang for Windows thing. Cannot be worse than VS2013, right?"
12:11
I can't see how making copies can not be common, I make copies all over the place :P
@ScarletAmaranth In C++?
@ScarletAmaranth It's just not very necessary
@R.MartinhoFernandes yes
@ScarletAmaranth Well, I explicitly set C++ apart as the exception.
12:13
well, again, I needed two of the same container in C# - one that's being presented in the UI, one that I was doing some processing on - is this not an incredibly common scenario in which one needs to copy something? I haven't written much C# but I've always found it weird that I have to go trough a lot of shit to copy something
maybe I am doing it wrong
@rubenvb well, that pastebinned code JustCompiledForMe (cygwin, gcc 4.8.2, boost 1_53). What's the question?
@ScarletAmaranth can't you process the one being presented without mutating it ?
copy on write ? :P
Are you changing the container or the contents?
12:16
it was basically a backbuffer of sorts for what's displayed on the screen
except for I needed a copy because it was, well, mostly the thing, just a bit modified
I was changing the contents
-3
Q: I can't find a solution at php. I need your experience

user3190053I try to make a quiz game at php and now i want to display a table which looks like that: Question||Category||CorrectAnswer||WrongAnswer1||WrongAnswer2||WrongAnswer3 2+2 ||Maths || 4 || 5 || 3 || 10 Also my DB has the following tables: questions , categor...

awesome
yeahh I don't want to use an automapper to copy a thing :)
I don't want a solution?
Well done.
I mean, of course I would use it...
what I wanted to say is:
copying is something so common I find it silly having to go such lengths to do it
but maybe it's not as common for what I know
12:19
It's not common.
its super easy in C++
Copying is a clunky thing to do for a temporary UI state
O2O mappers work way better for that
@CatPlusPlus awesome link, so what @ScarletAmaranth wants would be CreateMap<Foo, Foo>() ?
but then again, I don't really write anything other than C++ and Haskell so I wouldn't know... I have never considered that copying might not be as common, I will have to give this idea a think
When do you copy in Haskell? :v
12:26
And in C++ now with moves you don't need copying as a crutch so much anymore.
well, you don't copy in Haskell explicitly, it's more of a case of... reconstructing :P but it's difficult to compare the way the things are done in different paradigms, so I didn't even think about Haskell there
I can search my Python codebases and I'm pretty sure there be like couple of shallow copies total
And probably no deep copies at all
mm, you kids might be onto something here
I'M SO BAD AT WORDS
I'm good at DWORDs
12:35
I don't grok QWORDS
I'm bad at SWORDS
cool stories
Eh, I'd rather play games than write code right now
s/right now//
Why can't I get paid for playing games
Well yeah also that
you can
I think there are positions that pay you for playtesting
but then again I'd rather die than having to play the same thing over and over again
12:39
I mean playing not testing
These aren't the same things
@ScarletAmaranth Those are probably horrible, though, since there's a long queue of people eager to do the same job for less just out the door.
@R.MartinhoFernandes yeah I can imagine it's pretty shit, writing games is fun though (although I've heard rumors game devs are generally treated shit)
They're also bad at programming
@sehe It doesn't for me on GCC 4.8.1 Boost 1.55. But I'll have to check. You asked me to keep you updated on my POSIX sh Boost.Spirit stuff. Now instead of learning Spirit from the ground up, I have a ready-made (hopefully) grammar ready for extension. Yay!
12:51
@CatPlusPlus based on... gamedev.SE :D?
Based on a lot of things
I don't read gamedev.se
@rubenvb Out of the blue, try #define BOOST_SPIRIT_USE_PHOENIX_V3. I haven't looked at the source to suspect this, but it's just such a common bug bear with recent compiler/boost libs that you might blindly try it (define it before including any of the boost library includes of course)
decompose "a lot of things" for me then
@AndyProwl What's that about? Looks a bit like Ronnie O'Sullivan on instant flash. At work, though
12:54
@sehe A guy who claims to be earning a million dollar per year by playing games + some related marketing stuff
@AndyProwl I like the guy in the comments going on about 50% taxes.
@CatPlusPlus well, gamedevs at least usually do stuff beyond "4 * x + 5"
and non-gamedevs don't?
does anyone have idea regarding volume control in windows ?
12:58
> Probably going to be called a hater. But don't you think that's a tad bit to much, for just playing games? No offense but there are more important jobs out there, that isn't even remotely close to that pay scale.
naive soul
"I'm so jealous"
@AndyProwl sure, but there are also many programming jobs that... maintain a gym registration system
Who the fuck thinks that job wage has anything to do with its importance
where's @DeadMG when we need to bin stuff?

« first day (1185 days earlier)      last day (3989 days later) »