« first day (1051 days earlier)      last day (3908 days later) » 

6:00 AM
@Rapptz If someone were interested in learning metaprogramming for C++11, what would you direct them to?
 
@LucDanton I don't know. I guess like most people I learned by myself and looking for help for certain things through SO.
 
Did TMP significantly change in C++11 ?
 
IIRC the D site itself has resources on metaprogramming -- since it does have to explain language features such as static if.
 
@Borgleader By TMP do you mean the dumb factorial<10>::value stuff?
@LucDanton Yes. The D site actually has I suppose "official" resources. C++ has no such thing though.
 
oh cool, profile error on PC fixed :D
 
6:05 AM
@Rapptz No I mean, "If someone were interested in learning metaprogramming for C++11" --> implying learning TMP for C++11 is somehow different than learning TMP for C++03. Hence my question, did it significantly change?
 
I think C++11 made some meta-programming easier for sure.
 
@StackedCrooked Why? are you having pervert thoughts? >_<
 
It's weekend.
 
lol, only having pervert thoughts on the weekends? :p
 
Xeo
decltype changed metaprogramming significantly, IMO
 
6:09 AM
and auto, well.. I guess that's more of a generic programming thing
 
Xeo
@StackedCrooked Welcome to yesterday?
 
Are you one of those that considers Sunday to be the first day of week?
 
I've never actually met someone who does
 
There's a first time for everything :)
 
Xeo
@StackedCrooked No, I mean that the weekend already started yesterday.
 
6:12 AM
I see.
However, I haven't slept yet. So it's still like Saturday night for me.
Actually, I think I'm gonna buy some food now. There's the Sunday market here.
 
if I cover my eyes, the bug in front of me on my screen would disappear!
 
Xeo
@EtiennedeMartel Not in Germany
 
Of course.
 
Why do people say that C has a standard ABI while C++ doesn't?
 
6:19 AM
 
@Rapptz Because they're thinking of de facto standards, where you're thinking of a de jure standard.
 
So do all C implementations follow a specific ABI?
 
@Rapptz They are members of a secret society that aims to spread lies about programming ABIs.
 
Abblication Brogramming Interfaces?
 
6:22 AM
Binary
 
@Rapptz Of course not. But for a given architecture/platform, most of them are close enough to support at least some level of interoperation.
 
@melak47 binary
@Rapptz won't an ABI be important to C++ as well ?
 
@A.H. Any implementation has an ABI.
It's just that different implementations don't necessarily have the same ABI.
 
I intend to spend my next birthday (3rd Oct) all by myself - my parents would be overseas. I guess I could spend it with my friends but I want to go hiking on a good track (or be on a boat in the ocean). None of my friends here have the time and I don't want to hang around with a bunch of strangers. So your 60 yo, obese granny is going to hang out with herself on a good track and indulge herself with plenty of awesome food. This is going to be really awesome!
 
6:39 AM
@Telkitty猫咪咪 Sorry, but my granny isn't 60 yo. In fact, she died several years ago (and was 100 then).
 
my granny is 101 this year and very sick
 
@Telkitty猫咪咪 Sorry to hear that (though, admittedly, the number of people who are still really healthy at 101 is pretty small).
 
7:17 AM
My granny is 92.
She's very bitter about having to live in a nursing home now.
(Not sure if nursing home is the right word. Retirement home perhaps?)
 
@LucDanton I like the Boost.MPL doc as a first TMP intro.
 
I just watched the latest episodes of Attack on Titan and Hunter x Hunter. Damn, those two certainly are among the best anime series in years.
 
7:41 AM
> Hang on, does that mean that if I actually want a container of iterable bools, and I use std::vector<bool>, I actually dont get an iterable container?
 
oh dear... turns out my GF is not exactly smart. She brought some liquid hand soap with a replacement bottle, when the first bottle ran out, rather than just take the plunger of the one bottle and put it on the new one... she pored the soap from the one bottle to the other identical bottle o_0
 
Where I am the replacement doesn't come in a bottle and you're supposed to do just that.
 
oh, well, it's not a 'proper' replacement bottle, just the a second bottle... well first one that was dropped and the plunger broke, so a new bottle was bought, with the intent of swapping the plunger once finished
 
8:01 AM
morning fellas
 
SAM
8:13 AM
Morning!
By the way here is afternoon :)
 
oh where are you?
 
SAM
India...
you?
 
ah right
Britain
 
SAM
hmmm great!
 
why does google bot-check me all the time today?
 
8:25 AM
@Xeo Oh yes.
@not-rightfold Huh?
If you mean the grammatical form, then I just don't like that, so fuck that.
 
How does something like that get 2 upvotes? :)
 
What site is that?
 
8:43 AM
@TravisG I'm sorry. I didn't mean to offend you by my failure to debug your problem. Please bear in mind SO is operated by volunteers, in their available time. I was mainly pointing out the obvious because I feared the answer existing at the time and your own comments were going to prevent you from finding the real cause. — sehe 32 secs ago
@StackedCrooked verzorgingshuis?
Also i take it that Coliru now runs on two servers :)
 
Neat. TIL of -mwindows.
 
7
Q: Does C have a standard ABI?

FredOverflowFrom a discussion somewhere else: C++ has no standard ABI But neither does C, right? On any given platform it pretty much does. It wouldn't be useful as the lingua franca for inter-language communication if it lacked one. What's your take on this?

 
SAM
9:51 AM
Why so dull today?
 
@FredOverflow That was interesting.
 
10:16 AM
@SAM Because: (a) weekend (b) busy
 
Ell
10:31 AM
Morning guys
 
user1804599
I don't know what to do.
 
@not-rightfold look for treasure on eBay
 
user1804599
No, I want to do something fun.
 
fun...ctional programming?
 
user1804599
Way too broad.
 
10:36 AM
Write a purely function shellsort? :) I don't know...
 
user1804599
> fun
 
Go to the cinema.
 
user1804599
meh]
 
reinstall your operating system
 
user1804599
Hmm.
 
10:41 AM
@not-rightfold Are all the bars and clubs shut where you are?
 
user1804599
I can go buy computer parts today.
 
user1804599
@MartinJames According to the vacuous truth, they're all both open and shut.
 
user1804599
I live in a black hole.
 
@not-rightfold Aarghhh! I wish you hadn't said that. I still have not ordered my laptop/ultrabook thingy:(
 
user1804599
I want buy computer parts so I can install Gentoo just so I can do that funky dance.
 
10:44 AM
@FredOverflow Do people actually still do that? I haven't done a reinstall on anything since W98.
 
user1804599
And I need a new monitor.
 
user1804599
@MartinJames A friend of mine reinstalls Windows every month.
 
I used to do that back in Windows XP time. The thing was just too damn unstable over long periods of time.
 
@not-rightfold Well, I suppose that 'Patch Tuesday' might be considered a reinstall when 22 band-aids get plastered on.
 
user1804599
@FredOverflow Install Gentoo.
 
10:48 AM
@not-rightfold Oh, that's a good idea.. oh wait.. not one of my deliverable apps will run on Linux. That could be a problem...
 
@not-rightfold What's so great about it?
 
user1804599
Rewrite them.
 
user1804599
@FredOverflow Everything.
 
Ell
What parts are you getting?
 
Doesn't sound very exciting.
 
user1804599
10:49 AM
Greatness #1: It's a GNU/Linux distribution.
 
user1804599
So it has a solid foundation.
 
user1804599
Greatness #2: It's customisable as hell.
 
It's not Ubuntu.
 
Ell
Ubuntu is great
 
user1804599
10:50 AM
Ubuntu isn't very nice.
 
The latest news on gentoo.de are from 2011.
 
user1804599
> .de
 
user1804599
 
@Ell I'm sure it is, still won't run a single one of my apps.
 
user1804599
Wine will.
 
Ell
10:51 AM
I thought you were an arch fan anyway?
Google says Picasa works on linux by packaging wine with it :3
 
@not-rightfold It may well run some of them. OTOH, W7 runs all of them.
 
It seems with gentoo, I have to compile from sources, and I can customize that hell out of it. That's exactly what I don't want in an operating system. I just want it to work silently in the background :)
 
user1804599
You want OS X.
 
Ell
Well my linux mint is failing to boot for some reason
 
I don't have a Mac. Should I buy one?
 
Ell
10:55 AM
worked fine before I went away :(
 
@FredOverflow You compile the OS, fix all the link errors, download the tools, compile the tools, fix all the link errors. It is indeed alot of work before a single line of deliverable-app gets written, never mind compiled/linked/debugged/tested.
 
sounds like hell
 
user1804599
I never had a linking error while installing Gentoo.
 
user1804599
You just suck.
 
How long does it take to install Gentoo?
 
user1804599
10:56 AM
An hour or four if you're on a slow connection.
 
@not-rightfold I've never had a linking error while installing Gentoo either.
 
Ell
You have to compile gentoo?
 
user1804599
You've never installed Gentoo?
 
@not-rightfold Correct deduction :)
 
user1804599
@Ell You have to compile the kernel.
 
10:57 AM
What is it written in? I presume C?
 
user1804599
And Python and coreutils and binutils.
 
user1804599
@FredOverflow Nothing. It's not software.
 
user1804599
It's a software package.
 
Ell
Is it simple?
 
user1804599
Yes.
 
Ell
10:58 AM
Meh I think I need to reinatall my os
 
user1804599
You just need to follow the twelve-chapter installation manual.
 
Ell
That means downloading all libs again :(
 
I think I'll just stay with Xubuntu. It has its quirks, but it works.
 
user1804599
I want a desktop computer with Gentoo with i3.
 
user1804599
My VPS runs Gentoo.
 
10:59 AM
Or maybe I'll go back to Windows. It has much better audio software (EAC and foobar2000).
 
user1804599
Oh right, I also need to buy a new iPod.
 
I have Ubuntu installed on VMware, and, in fairness, it was quite easy. I downloaded one package file and ran it.
 
user1804599
Ubuntu sucks; it's not Gentoo.
 
I thought I'd give Fedora a try, but they offer four different versions for download, and I can't decide.
 
user1804599
And you want to go back to Windows?
 
11:02 AM
I already have the Windows 7 CD. No need to decide :)
 
user1804599
Windows fits on a CD?
 
user1804599
I'm surprised it doesn't require a dual-layer Blu-ray Disc.
 
Was BR already invented when Windows 7 came out?
 
@not-rightfold If you want both the 32 and 64 W7's, you get two DVD's :)
 
11:04 AM
The Windows 7 SP1 ISO is 2.7 GB large.
 
user1804599
Gentoo ISO is 195MB.
 
Ubuntu ISO is 696 MB
 
user1804599
Ubuntu, PHP, Apache and MySQL is the best combination ever.
 
@not-rightfold Now you're trolling :)
 
user1804599
Indeed.
 
user1804599
11:07 AM
I meant Gentoo, Python, Nginx and PostgreSQL.
 
I can't decide between GNOME3, KDE, LXDE and Xfce :( Maybe I should just try them all.
 
user1804599
i3
 
Why Nginx and not Apache?
 
user1804599
Because Apache is terrible.
 
Because someone said so!
 
user1804599
11:12 AM
Hey Cat what library do you want to use for the web server?
 
Library for what?
 
user1804599
ASP.NET MVC?
 
user1804599
For communication with the web client. :V
 
WebSocket server doesn't really need MVC.
 
user1804599
Castle Windsor looks cool.
 
11:19 AM
@not-rightfold Sure, but it's a long trip and I hate the M4.
 
Ell
I drove past yesterday
I think. I may have been asleep though:P
I was too busy reading the cathedral and the bazaar anyway xD
It's a really good read imho
 
@Ell You can multitask that well? Impressive, though the motorway cops may hold a different view...
 
user1804599
I'm wondering.
 
user1804599
If I have an interface IService and two concrete subtypes ServiceA : IService and ServiceB : IService, how does an IoC container know which one to instantiate?
 
First registered wins.
You can name components, intercept resolving etc.
 
user1804599
11:32 AM
OIC.
 
Look at how ILog/ILogFactory is implemented.
 
<atomic> is completely broken in #VS2012/#VS2013 Preview http://stackoverflow.com/a/18557386/85371. Amazing. (How much #testing does that receive?)
 
user1804599
I'll play around with Windsor.
 
user1804599
Maybe I'll work on the server too.
 
Ell
:O implementation detail! Implementation detail!
 
11:34 AM
What?
 
Ell
what the hell mcaffee. How did you get installed on my machine? :O
 
@sehe Do you have a link to MS bug ticket?
 
mcaffee sounds good. Yeah, I'll have another cup
@wilx It's in tha post!
 
Oh, sorry, I missed it. :)
lol
> Closed as Not Reproducible
 
Ell
@CatPlusPlus I'd be willing to chip in some. But I can only afford a very small amount :O
 
11:40 AM
@Ell Let me guess your next move... uninstalling McAfee?
 
Ell
My first move is to determine whether it is licensed or not
 
hi guys!
 
Ell
My dad has a habbit of buying and installing anti virus software randomly :P
@Ofear Hi :)
 
How you wiki knowledge ? :)
your*
 
@Ell You need to upgrade your dad.
..but don't uninstall him!
 
11:42 AM
is there a name for the "this = this + 1" algorithm?
 
man. How do people get that "smooth" movement in games? Mine's so clicky
 
Ell
@Ofear it's not really an algorithm. I'd call it incrementing a variable :3
@Crowz can I see source?
 
@Crowz 'clicky'?
 
hmmm
 
@Ell sure, but it's in python, is that a problem?
 
Ell
11:43 AM
No :)
 
Ell
I can read python I just can't write it :P
 
@Ell yeah 'increment this', though I would probably not name a var 'this' in C++ :)
 
@Ell regardless it's really easy to read because it doesn't do anything very complex haha
 
Ell
oh yeah I only just noticed it's this
@Crowz Hmm. Why do you run it in a different thread if you wait for it's completion anyway?
thread1=Thread(target=runGame, args=())
thread1.run()
thread1.join()
could be reduced to just runGame() and have the same effect
(I think)
 
11:50 AM
@Ell Originally there was a teleportation thing where when you right clicked, it would teleport then start a 5 second cooldown but that would stop the game... I tried making them different threads and it didn't work hah
 
@Ofear You cannot increment this.
 
Ell
have you tried decreasing velocityX each frame?
 
@Ell velocity, is that a city where everyone rides bikes?
 
Ell
xD that's good :P
 
user1804599
Cool it works.
 
Ell
12:02 PM
@not-rightfold What does?
 
user1804599
It.
 
Ell
IT?
Information technology works
 
man. I just want to be able to make certain things sleep for x amount of time
 
Threads is not how.
 
user1804599
Hmm.
 
user1804599
12:08 PM
public interface IProgram { … }
public class Program : IProgram { … }
var container = new WindsorContainer();
container.Register(Classes.FromThisAssembly());
container.Resolve<IProgram>().Run(); // Castle.MicroKernel.ComponentNotFoundException: No component for supporting the service IProgram was found
 
user1804599
What's happening. :O
 
Try Classes.FromThisAssembly().WithService.DefaultInterfaces().
Maybe it defaults to something else.
 
Ell
what on earth is that :3
 
Also maybe filtering, so FromThisAssembly().Pick().WithService...
 
user1804599
src/Program.cs(28,59): error CS1061: Type `Castle.MicroKernel.Registration.FromAssemblyDescriptor' does not contain a definition for `WithService' and no extension method `WithService' of type `Castle.MicroKernel.Registration.FromAssemblyDescriptor' could be found. Are you missing an assembly reference?
 
user1804599
12:12 PM
This is weird; I'm referencing all the DLLs that came with Windsor.
 
user1804599
mcs src/**/*.cs $(for f in *.dll; echo -r:$f) -out:Foo.exe && mono Foo.exe vOv
 
user1804599
I'll figure it out later. Time to shower and eat.
 
I'll go with plan 'B'. Time to shower and drink.
 
policing someone’s choices is not and will never be the same as systemic oppression that aims to eliminate the existence of fat people.
Oh hey, it's September today.
 
12:23 PM
@CatPlusPlus congratz !
 
What?
 
user1804599
12:45 PM
 
150
Q: Throwing the fattest people off of an overloaded airplane.

IvyMikeLet's say you've got an airplane, and it is low on fuel. Unless the plane drops 3000 pounds of passenger weight, it will not be able to reach the next airport. To save the maximum number of lives, we would like to throw the heaviest people off of the plane first. And oh yeah, there are milli...

 
lols :O
 
lol, only if you know the weight of the passengers in the first place ... for example when in the above situation I would report my weight to be 52kg, which is 20+% less than my real weight
 
user1804599
 
user1804599
 
user1804599
12:49 PM
I am disappoint.
 
user1804599
main returns int, not void. You lose. — not-rightfold 15 secs ago
 
Vivek Goel answered, not me
 
user1804599
 
Anyone with wpf/xaml experience? I feel like such a noob when i get a null exception...
 
user1804599

C#

General discussions about the c# language, Squirrels | gist.gi...
 
12:55 PM
Im developing a vstudio extension and it seems like the only way to go.
 
@Telkitty猫咪咪 you wouldn't need to worry
 
1:27 PM
How idiot-proof does internal code need to be?
 
Depends on who's writing it.
 
lol, they added pointer arithmetic to the dumb_ptr proposal.
 
Now 200% dumber.
 
user1804599
lol
 
Fuck im going to have to learn java for school
 
1:43 PM
@DavidKron Learn Scala instead and submit the resulting .class files, if the teacher was smart enough to know the difference they probably wouldn't be teaching Java anyway.
 
They usually want to see the source as well.
 
decompile the .class files :)
 
@R.MartinhoFernandes No no no no no no no
 
user1804599
1:58 PM
@DavidKron drop out
 
@DavidKron It wasn't that bad, although I still have to do some more in uni >.>
And this is Swing I'm talking about when I say not that bad.
 
@chris It's not nice to mock people like that.
 
user1804599
We got Java and UML. :D
 
@BenjaminGruenbaum I'm not mocking, just reflecting, sadly.
Experience may vary. There.
 
user1804599
I'm going to download Windows 7 again.
 
user1804599
2:08 PM
Need VS.
 
@not-rightfold It's so useful and so shitty at the same time :S
 
@FredOverflow Fundamentally flawed question. The distance a plane can glide is not determined by its mass. It's determined purely by the lift to drag ratio. The mass determines the speed at which it will travel along that glide path.
I suppose I should add: changing the speed does affect L/D ratio because it changes the Reynolds number at which the airfoil is operating. In this case, however, the change in mass is so tiny that it's unlikely to have any noticeable effect. Worse, higher speed increases the Reynolds number, which (unless you're already approaching Mach 1) typically improves the L/D ratio.
 
2:23 PM
Is there a huge difference between scala/java? Cus we are going to have loads of group projects where my team mates may only know java.
 
user1804599
Yes. Java is terrible and Scala is less terrible.
 
@DavidKron Scala isn't as obnoxiously verbose and has more functionally oriented features.
 
IIRC Scala has a very different syntax than Java.
 
Should probably go for both then, so i can wine even more about java without having to bring up c++ all the time.
God im so dissapoint in the students in our class, i go to "Software Engineering and Management" at gothenburg university, and the majority has never programmed before.
We have like 8 programmers of 90 students.
 
That's not so strange.
I remember that in my class only a very few had the ability to program.
 
2:30 PM
Shouldn´t people know what they sign up for at-least? I mean its their own god damn choice.
 
@DavidKron Well, you kind of expect that considering people go to university to learn things (i.e. may not know anything about the subject)
@DavidKron Actually it may not (requirements for degree, etc)
 
@Insilico Yes but in order to truly know if you want to learn something, you should at-least have a hum about what it is.
 
The world didn't live up to your expectations? How sad.
 
@DavidKron but what if nobody taught them that? :p
 
@Insilico Most of the people I remember in college seemed to be interested primarily in learning how to drink more. They may not have known much about it, but were doing a great deal of independent study.
 
2:33 PM
@DavidKron that said...that doesn't sound like a first semester class?
so how is it that after the first semester, they still haven't programmed anything?
 
@melak47 Management students, perhaps?
 
@DavidKron Sure. But if we're talking about an introductory class on programming, I kind of expect people not having a background to begin with.
 
One word : scratch
 
Now, if it wasn't an introductory class (i.e. not the first programming class you take), then that is a WTF
 
In sweden we have 3 years of "gymnasium" before univirsity, ive already had 3 courses in programming, some in basic computer science, databases.
 
2:36 PM
so did I
but not all schools offer programming classes
and some people may decide to fid it interesting after? :)
 
The problem is they havent, if they had found it interesting they would already had programmed. And after having talked to around half of my class mates, most of them are like" so programming huh, yeah well i just wanted to study something"
 
That just means more money for you.
 
@DavidKron well, that's certainly not ideal...but you don't expect med students to have practiced medicine before, do you?
 
2:51 PM
@DavidKron hey, we have exactly the same amount of rep :) (but I have one badge more ha!)
 
@melak47 I expect them to have a basic interest.
 
@melak47 lol, that's not really the same
 
@melak47 Nice, i overuse my rep a bit. I mainly answers questions so i can use the rep to get answers lol.
 
user1804599
Stupid clients.
 
user1804599
Sends me all hosting credentials except database credentials.
 
3:06 PM
This person is so set on having two mains in their project.
And one is the default hello world thing.
 
Ell
Wut.
Here goes reinstallation of OS
 
@chris Reminds me of a time in college I told somebody that some assignment just required them to put the previous two assignments together. I was thinking in terms of the logic, but they took it just a little more literally...
 
@JerryCoffin Heh :p
 
3:27 PM
Does anyone know of an online clang compiler that I can run with -fsanitize=thread?
 
@JerryCoffin hahahah
 
3:48 PM
@Mitja Coliru has Clang, I'm not sure whether the option works.
 
@JerryCoffin oh god...
 
Ell
Did @bartek leave? o.O
@bartek have you seen this? appft1.uspto.gov/netacgi/…. nvidia patent for bindless texture
I wonder if patent issues will cause problems in gl :3
 
@Ell His account still exists, haven't seen him around in a while though =/
 

« first day (1051 days earlier)      last day (3908 days later) »