« first day (1077 days earlier)      last day (3876 days later) » 

10:00 AM
2
Q: Scalability of variadic templates

GregI am working on a large-scale software infrastructure in C++11 that makes extensive use of variadic templates. My question is the following: what is the scalability of this approach? First, is there an upper limit in the number of arguments that variadic templates can take? Second, is code bloat ...

 
@not-rightfold That's ridiculous.
 
user1804599
I was joking.
 
>>> xs = 42
>>> xs = [xs]
>>> xs
[42]
 
I thought Annex B says 1024 template arguments, but it's not normative and I don't know if that relates to variadic packs as well
 
10:24 AM
the wikipedia article on De Morgan's Laws explains as is a metalogical symbol meaning "can be replaced in a logical proof with". Tosspots.
 
What's wrong with that?
 
It's technically accurate but a definition based on implementation and not semantics. It should rather say is a metalogical symbol meaning "is equivalent to".
Just seems silly to me. Talking about logical proofs explicitly
 
But that's not what it means.
 
@R.MartinhoFernandes Is it not?
 
@LightnessRacesinOrbit That's what metalogic is more or less about.
 
10:27 AM
Hi.
 
@R.MartinhoFernandes So it seems to me that metalogic should have no symbols. It is the study of the symbols found in [in this case, propositional] logic, of which ⇔ is one. no?
Or maybe I'm confusing <-> for <=>
 
Hey, is anybody using Pandoc here with code listings in LaTeX output? Is it possible to have the listings wrap long lines when not using --listings option?
 
Is --listings supposed to toggle the \usepackage{listings}?
I only know LaTeX, not Pandoc so it seems weird.
LaTeX automatically wraps text for you (except for some things, where you would get a BadBox error)
 
@Rapptz: Pandoc can generate either its own thing or use the listings LaTeX package.
 
@LightnessRacesinOrbit Probably, yes.
 
10:32 AM
@Rapptz: But the Pandoc author claims I should get good enough results without it. It certainly seems to have nicer hightlighting defaults. Unfortunately, it does not wrap long lines because it uses verbatim environment...
Hmm, can verbatim environment be made to wrap long lines?
 
@LightnessRacesinOrbit Metalogic needs a metalanguage, which can incidentally be the subject language. In that scenario, the use-mention distinction becomes very important.
 
\begin{lstlisting}[breaklines]
  ...
\end{lstlisting}
?
needs listings obviously.
 
@LightnessRacesinOrbit I do agree that stating that is painfully pedantic.
 
lol writelatex.com's pdf output has too much .jpeg.
 
Why don't they use png?
 
10:39 AM
I really don't know. It looks extremely ugly for a typesetting language that emphasises beautiful output.
 
"Wooooosh" comes to mind.
 
:(
On that note, I still can't sleep.
Stupid hypnic jerk kept me up.
 
What is that?
 
A hypnic jerk, hypnagogic jerk, sleep start, sleep twitch or night start, is an involuntary twitch which occurs during hypnagogia, just as a person is beginning to fall asleep, often causing him or her to awaken suddenly for a moment. Physically, hypnic jerks resemble the "jump" experienced by a person when startled, often accompanied by a falling sensation. A higher occurrence is reported in people with irregular sleep schedules. Causes According to the American Academy of Sleep Medicine there is a wide range of potential causes, including anxiety, caffeine, stress and strenuous activit...
 
Oh, I used to have that when I was a kid.
 
user1804599
10:44 AM
@R.MartinhoFernandes BECAUSE BANDWIDTH
 
lol apparently Pandoc's HTML output for listings is basically <pre><code>...</code></pre>.
 
Xeo
I sometimes have this
Fucking annoying
(Also, TIL it's actually a thing and not just me.)
 
> Patients with WED/RLS who responded reported driving while drowsy more than patients without WED/RLS.
Why is this (driving while drowsy) a thing.
 
user1804599
@Rapptz What else should it output?
 
10:57 AM
Sometimes I feel like I should just assume all drivers are morons until proven otherwise.
 
@Xeo I didn't know that's a thing! I have that crap too :(
 
JBL
Woot ! New keyboard has arrived !
 
ergh... I havn't used my own phone in so long that it is about to get disconnected... I feel compelled to try to keep the number active though...
 
@Xeo Holy crap, I forgot how much Meteorite you need for the sweet Meteorite armour and the nice gun. That's gonna be like, 4 whole meteorites.
 
What you playing.
 
Xeo
11:00 AM
@DeadMG Meteorite armor / space gun is highly meh
 
Terraria
@Xeo I like it.
 
Xeo
I recommend going the mage route with Waterbolt
Waterbolt is awesome
 
It almost sounds like something I'd like.
 
eh
 
Probably should avoid playing it.
 
11:01 AM
when push comes to shove, I'm more of a Star Cannon kind of guy.
but the Space Gun is a nice intermediate weapon
 
Xeo
I'm so pumped for the update. Want. :|
 
well
I totally forgot how much I actually kinda enjoy that game.
and I got pwned hard by the underground jungle a bit
I only had iron armour and a silver bow, and it was like, 130hp Man Eater, deal 40 damage/hit to my 140 health, and they only take 7-8 damage per arrow.
but the Blade of Grass and that boomerang are nice weapons, and the Ivy Whip is just a necessity.
I need to go find myself a Balloon in a Bottle and those flying boots.
and loot the Dungeon for traps.
 
Xeo
mh
and then a goblin tinkerer
 
I just beat off the Goblin army.
 
Xeo
you find him in the dungeon
 
11:04 AM
surprising how tough they are when you're used to a house that has terrible, terrible traps that effectively kill them all for you by default
 
damnit, I gave in and logged on here
 
hi Tony
 
hai
wassup?
 
ah, the usual
 
so not much then
 
11:10 AM
mostly sickness
 
lol NSFW-ish
@BartekBanachewicz About 4 months late or something.
Oh even longer.
 
@Rapptz guy's got a point
 
11:11 AM
er, Rapptz
 
@Rapptz aw.
 
I remember reading articles about how more people should do that to battle sexism in gaming.
 
isn't it like, 6am or something where you are?
 
31 mins ago, by Rapptz
On that note, I still can't sleep.
 
11:12 AM
LOUNGE ALL DAY LOUNGE ALL NIGHT
 
damn this place for being so addictive
 
@TonyTheLion It's funny that recently, I find myself spending less time in here.
and by that I mean less time paying attention to here, technically the tab is almost always open.
 
I was able to escape from Lounge because I was really working hard when I was not there
when I was moving and stuff
but I think now I am able to find balance and not overdose
And I need 744 rep to 10k :F
0
Q: Documenting Hugh Code

user1918858I am using Doxygen to Document a hugh C++ Project, due to H/W limitations I am not able to document the entire code at once. Hence I divided my code into 2 Module ( A and B), and am using TAGFILES option to document dependencies. For A GENERATE_TAGFILE = A_tags TAGFILES = "" For B GENERA...

 
Xeo
@BartekBanachewicz We can change that. And you probably know in which direction.
 
user1804599
@BartekBanachewicz lol “Doxygen” and “C++”.
 
11:23 AM
@Xeo as long as I don't link my posts here stating rep is okay with the rules
@not-rightfold lol C++
 
Xeo
@BartekBanachewicz I wasn't talking about the rules.
I was talking about the fact that we're dicks who up / downvote you to not have you get what you want.
Robot knows what I'm talking about.
 
@Xeo and to think I am the terrible one here.
 
damn, I really didn't need to see that
 
11:35 AM
Note to self: don't click Tony's NSFW links while having breakfast
 
lol
 
@melak47 Just don't click my NSFW links
When I say NSFW, I do mean it.
 
well there's NSFW, and there's NSFW
 
Maybe I should get a 15" speaker
20% price difference isn't that much, but damn 22.5kg vs 16.25
 
@melak47 I'd say more accurately, there's NSFW and there's "Fuckin' hideous and NSFW"
 
11:42 AM
@BartekBanachewicz diameter? radius? height? depth?
 
Yes, it's 3D
 
yes, but which dimension has the 15" :p
 
@melak47 diameter
 
@melak47 you should really know that :v
 
11:44 AM
Ugh I can't think and I have to work
 
@BartekBanachewicz why, I don't buy speakers a lot :v
 
@melak47 those are proffesional-grade and trust me I know as much as you on them :S
which really makes choosing one harder
 
Well if it's proffesional
 
I need a FRFR active speaker that won't ruin my wallet, will have a decent low-end and be as linear as possible within this price range
 
Here is the before picture
 
11:48 AM
added benefit would be not weighing a ton
 
Xeo
@R.MartinhoFernandes Play it! It even has a multiplayer.
 
@Telkitty猫咪咪 Y Y Y do that to your cat?
@CatPlusPlus I know how that feels.
 
interNet caught
2 randomly found pictures ... not sure they are the same cat
 
0
A: WSDL on SQL Server gives HTTP status 505 Version Not Supported

Robert KaucherToday, years after I posted this question, we finally found the answer to this question. It was not a Squid proxy server as we had come to believe. We continued experiencing issues like this with various web services/sites. The last straw was when we finally needed to deploy an SVN server that wa...

Wow!
I think I am hitting this.
 
Guys
Anyone know well about ARM ?
 
11:56 AM
I know my left arm very well!
And the right is not a stranger either.
 
You might even say you're intimately familiar with it
 
Indeed, I might say even that.
 
0
Q: How to compile a Cprogram in notepad++?

user2823297how to compile and run a c program in notepad++? my files are in D:\rtoslab folder. please what are all the steps to b followed?? i have installed nppexec plugin. please help me out

badness
 
Please know the difference between compiler and editor.
PLEAAAAAAAAAASE
 
I think nobody doesn't know the difference.
 
12:04 PM
hey, is there a name for that effect in windows where resizing a window to the left produces flickering on the right side, sometimes a black area? (I think it's related to the window's framebuffer being expanded, but I don't know what to search for)
 
"A bad application"?
 
you're so helpful today
wait, not just today :D
 
Xeo
he always is
 
I'm extremely tired and I can't think and everything's terrible and shit
So I'm gonna go for comedy value thank you very much
 
@Xeo My brother gifted me "Don't Starve" a few months ago saying "I think you might like this". I was talking to a girl on Tuesday and she mentioned that game and described it and it sounds really cool, so I'm going to play that next. I don't even own Terraria.
 
Xeo
12:08 PM
@R.MartinhoFernandes Not owning it is no excuse. It's always on sale.
 
@Xeo I'll play with you.
not right now
 
Xeo
obviously
I'm at work :P
 
@Xeo Fuck sales.
 
also, I haven't slept since like, 9am yesterday
 
Xeo
Oh, Terraria is not on sale for once.
 
12:09 PM
As soon as my wishlist empties, I'm not buying any more games.
 
Xeo
Suuuuure.
 
Ahahahaha
Yeah right
 
I think I have like, three games left there now.
During the last Summer Sale I only bought stuff on my wishlist.
 
Xeo
I want Starbound to come out so badly.
 
@DeadMG That could be misconstrued to mean something sexual.
only I would say that. :/ Damn
 
Xeo
12:10 PM
lol
 
@TonyTheLion Not without the necessary context.
 
I don't need context
 
The very next time someone suggest to me I should make a dating app I am going to murder the whole human race ... do I look like I am very fond of making dating apps?
 
you do
 
Yes please do
 
12:11 PM
3 times!!! That's the number of times people suggested that crappy idea to me
 
Get murderin'
What is Starbound?
 
Xeo
Terraria 2, in spirit (and in space).
(No Robot, don't link it.)
 
How's it different from Terraria?
Apart from the space thing
 
Xeo
It's very different, but it has a strong "Terraria" feel to it.
 
what I really hope is that they changed fuckin' chests.
I hate micromanaging that shit
 
> Note: Please make sure you understand what this trope means before posting examples. It does not refer to a normal sequel, a remake, an adaptation, or to something that is simply like something else in the same genre.
 
Xeo
@CatPlusPlus playstarbound.com
 
Also incoming new LoL champion is amazing
 
12:16 PM
Lots of words but I want direct comparison
playstarbound.com/wp-content/uploads/2013/09/Screenshot_5.png I love shitty APIs using unnamed 20-tuples that need that fucking comment spelling out every column
 
@R.MartinhoFernandes I clicked that. Damnit
 
@TonyTheLion I did too :(
> The Stars My Destination is The Count of Monte Cristo IN SPACE!
Hmm, interesting.
 
Xeo
@CatPlusPlus community.playstarbound.com/index.php?threads/… might be an interesting read, then
 
YOU CAN PUT TORCHES ON BACKGROUND TILES
TOP NUMBER ONE REASON
 
> In Starbound there is going to be a storyline. I have no idea what it is but I know it will be good.
 
12:21 PM
> When you get tired of your world you can just go to another one and start a new home there.
 
Reason #3 Starbound is better.
You gotta laugh at the sheer level of fanboyism involved there.
 
Xeo
> You can't walk over 1 block heights
 
Nevermind that Terraria lets you put a character in another world also
At least afair
 
Xeo
I like that this is changed in the updated
@CatPlusPlus yea
 
But IT GENERATES UNIVERSE
 
Xeo
12:23 PM
@CatPlusPlus Wow. That's just stupid.
 
@R.MartinhoFernandes Yes procedurally generated sandbox games are known for their deep meaningful plots
> In Terraria- well I've pretty much summed it up already, but its sold about 1.5 million copies. Starbound hasn't even started beta testing and its already been preordered by 72,803 people.
AHahahahahahahahahahha
> The developers have Livestreams on Twitch.tv so people can watch while they code the game and they answer questions
 
> They created a "Roadmap" that shows the percentage of how done each part of the game is to keep fans updated and to get an idea of when it will be ready for release.
 
that's gotta be the most interesting stream ever
 
Ahahahaha this fucking post
 
Xeo
12:25 PM
@CatPlusPlus They also actually play the game.
 
That doesn't make the game better
Also not really unique
Ahahahahah that other thread does this shit too
> Starbound will actually be far more an adventure than a sandbox, and feature a deep story and countless quests, an infinite universe with randomly generated and unique worlds, items, weapons, armor, mobs, and so much more.
Deep story my ass.
> You're already a fan of 2D gaming, and Starbound will take that to a whole new level. In addition to the things you grew to love about Terraria, in Starbound you will find many new and exciting ways to expand on that. In fact, we will even be able to write our own misisons and quests, customize our home worlds and other planets, run and develop our own space station, and countless other new experiences.
Marketing marketing marketing HEY YOU CAN MOD THIS GAME marketing marketing
I like how this is all "THERE WILL BE INFINITE AMOUNT OF THINGS" but no things actually listed
I'm not feelin' this game
 
user1804599
snipMate is awesome.
 
Any of you ever tried calling Haskell code from C/C++?
 
I've read about it once
 
Is it painful or slick?
I've only used the FFI in the other direction.
 
user1804599
12:33 PM
I've done it.
 
It didn't look very painful
 
user1804599
GHC generates header files with function definitions.
 
Oh, I can just foreign export something with C types and then use ghc for linking.
 
user1804599
It was a hell.
 
Or link the Haskell runtime with g++.
 
12:34 PM
> Functional programming combines the flexibility and power of abstract mathematics with the intuitive clarity of abstract mathematics.
 
user1804599
Bullshit.
 
What he's saying is that abstract mathematics own and fuck your low-level shit.
So apparently Starbound focuses even more on generating everything randomly, and that even includes animals
(Deep story my ass)
 
@CatPlusPlus Maybe it randomly generates deep stories.
 
Now this is what I was looking for. Some actual things, instead of just swooning over marketing shit
 
I seem to have found a way to suppress the flickering (which only happens in some odd circumstances anyway, i.e. when I change the window style while the window is hidden), but I have no idea why it works
 
12:38 PM
(Still, not buying until there's a final version and a gameplay video)
@melak47 Don't be silly. It doesn't matter why it works.
 
@CatPlusPlus it does, because I don't know why it breaks in the first place :E
 
It doesn't break now!
 
Pfft, close RESOLVED FIXED.
Reopen in a year when it breaks again
 
you're right, I don't want to know more about win32 anyway :(
 
(This is what it means to be proffesional alcoholic programmer)
Do you know what game you should buy? Spelunky.
 
Xeo
12:51 PM
@DieterLücking all decluttered and einwandfrei. Now I know why everyone wants to hire German programmers! — ausairman 31 mins ago
lol
 
Shit. Forgot wererats still count as humans.
 
Xeo
> void (*bind(void (*g)(int, int), int v0))(int)
oh gawd C
 
@R.MartinhoFernandes Once or twice.
 
@Xeo Even C has typedefs. Zero excuse for writing that crap.
 
1:04 PM
How do you 10K's take screenshots of questions?
 
> Killed by a boiling potion.
@CCInc Normally?
 
Yes, I want to take a full-page screenshot of a website.
 
That just takes a pic of my current screen. I want the full webpage
 
@R.MartinhoFernandes What
 
1:08 PM
There's probably a FF/Chrome app for that
 
Google is hard
 
And by probably I mean I found one but I haven't tried it.
 
@CatPlusPlus I sacrificed a wererat on a neutral altar and angered my goddess by staining it with human blood. (NetHack)
 
Morning.
 
@Borgleader "Screen Capture (by Google)" works pretty well.
though it messes up if you have the page zoomed, so don't do that! :p
 
user1804599
1:19 PM
@melak47 Of course it does.
 
user1804599
Whom else should the NSA buy all the screenshots from?
 
user1804599
1:33 PM
Ugh.
 
user1804599
Fuck you, PHP.
 
user1804599
$x = 42;
foreach ($xs as $x) { … }
// $x is now last element of $xs, not 42. :V
 
Doesn't seem unexpected.
 
Have you ever thought about ... maybe, just maybe ... you should be in the php room instead?
 
Xeo
WeirdScoping™, wheee
 
1:36 PM
What's weird?
 
@Rapptz We've been evil since Harper came in.
 
1:49 PM
That looks expected to me.
 
1:59 PM
ECMAScript 6 has modules
take that, C++-maybe-14
 

« first day (1077 days earlier)      last day (3876 days later) »