« first day (650 days earlier)      last day (4315 days later) » 

2:00 AM
@MooingDuck There should be at least a compiler switch that will do it.
But I'm not aware of any compilers having this feature.
 
@KeithLayne Oh no, I don't want to mix the two languages in a single file.
I'm not talking about templating (not in the sense of TMP, but in the sense of codegen).
 
that was what my vague question was about...generate code for the gui, but what interface should you provide?
 
> It is implementation-defined whether over-aligned types are supported
@MooingDuck
@KeithLayne Have you tried WPF?
I want something like that. But not half-assed like WPF.
 
I've looked at it very little. XML, right?
 
2:04 AM
I need a project to work on in grad school. I hate GUIs. Perfect fit.
 
@KeithLayne Oh. I see what you're getting at. You could do without the Qt markup or XAML, and embed the screen definitions in a EDSL. I'm afraid that would not be flexible enough (think localized resources and probably many other things), but the thought itself is quite ... interesting.
 
I just don't know how that falls into CS. Probably not. Probably "software engineering" gayness.
@sehe I really don't want to do that.
 
I can only envision the kind of code that arises from it. To get to widgets and related: guifart::vector::get<3>(myform_instance), obviously replace 3 by the tag struct pattern: guifart::vector::get<txtPassword>(myform_instance)...
 
I'd always see the need for code generation, proper.
And that defeats the 'win' of having an EDSL (no external tooling).
 
2:06 AM
QT almost has potential, but there's a big legacy there, and they have paying customers.
 
So I'd vote: NO on first sight
 
And my point is that I don't want to be manipulating widgets all over my code.
 
I was being silly.
we need something much lighter on bulk, but as rich in features.
That embraces the standard library and Boost and doesn't break if you want to use them.
XML works and is recognizable, but I've grown to hate it.
 
It's not to be written by humans.
 
I wouldn't want to create something totally new that nobody could quickly pick up.
do you have feelings about JSON? Seems as useful for XML-ish stuff, but more readable and less sucky.
But I have no experience with it.
 
2:10 AM
Are we talking GUIs here?
 
yeah, roughly.
Do you have some thoughts?
 
In few words: I don't like things like some_text_box.text = blah; in my code. I'm not sure why, but I'll see if I can put that down to words later. And I don't like the usual signal-slot interface for events. It becomes a total mess when you need to deal with multi-event stuff like drag and drop. I like this: reactiveui.net
And now I'm really, really going to sleep.
 
We haven't seen Cicada in some time. Did we consent to her taking a break from the lounge?
 
@KeithLayne I'm a WPF user. I like separation between UI and code.
 
NetBeans' gui editor edits a block in your source file and says, "hey, don't edit this" :(
 
2:13 AM
C# has partial classes. One half is the generated code, the other half is your code.
 
@EtiennedeMartel the only reason I didn't look into WPF when I was taking up C# was the lack of Mono support (I know what you think about that)
 
@R.MartinhoFernandes You want to program against a viewmodel, not the view? (MVVC is the popular term)
 
Well, I guess that's a win for separate compilation...
 
@sehe Can we please use "controller" instead of "view model"?
 
Do you guys have careers with C++?
 
2:14 AM
@user1515422 Ha ha ha. That's a good one.
 
@EtiennedeMartel do you generally like working with WPF?
 
@EtiennedeMartel It's not the same. And the difference is precisely the thing that the robot referred to, IMO
@user1515422 More or less. More and less at the same time
 
@KeithLayne I like to solve problems. And WPF allows me to solve exactly the problems I'm actually facing.
Without the need to bang my head on the wall.
 
That is what I'd be shooting for.
 
I'm writing tools for game developers. Especially artists. The UI needs to look good and feel good.
 
2:16 AM
@EtiennedeMartel That's quite a feat for UI frameworks. I haven't had the privilige to try WPF yet
 
@sehe Yes. The buzzword is MVVM, btw.
@EtiennedeMartel Heh, I like WPF too, but you have to admit MS stopped half-way.
 
@sehe Well, it's not perfect. They threw strong typing out the window, for instance.
 
@R.MartinhoFernandes Oh. Silly me. I need to go to bed too. But I'm copying 4 more Gb to my mp3 player for tomorrow :)
 
@sehe it won't copy without constant supervision? Lazy ghetto blaster. :)
 
@R.MartinhoFernandes Looks like it was developped in secret somewhere in the company and then shipped when they realized they could ship it. The team was probably sacked later on to make room for Metro.
 
2:18 AM
@KeithLayne ghetto blaster?!!
 
I mean, ASP.NET came to be the same way.
 
@EtiennedeMartel Acceptable, if the upshot is that is a joy to work with
@EtiennedeMartel That's because HTML doesn't have the same typing model...
 
@sehe I'd say the biggest issue is the learning curve. It's steep as fuck.
 
@EtiennedeMartel Btw, what do you use to ease implementing INPC?
 
@R.MartinhoFernandes Implementing what?
 
2:19 AM
INotifyPropertyChanged.
It's a mouthful.
That thing is just boilerplate.
 
The way most people do: a base class that implements it and has one protected method that takes a string.
Most of the time I'm dealing with single class hierarchies, so I just put that at the base.
 
I wrote a boo AST attribute that does the dirty work.
 
But it's a pain, yes.
 
What questions are typically asked at interviews?
 
@KeithLayne It's a lowly HTC phone
 
2:20 AM
 
@user1515422 Whether you are a phony, a fraud, a dork or a douche. And the rest is just the first impression :)
@KeithLayne That looks like overstylized SVG
>f+++++++++ sr1/Michael Bublé - Caught In The Act (Version Francaise incl. Bonus DVD)/cd.toc
       2.21K 100%   21.77kB/s    0:00:00 (xfer#2219, to-check=28/4124)
.d..tp..... Дмитрий Дмитриевич Шостакович/
cd+++++++++ Дмитрий Дмитриевич Шостакович/24 Preludes and Fugues, Op. 87 (feat. piano: Keith Jarrett)/
cd+++++++++ Дмитрий Дмитриевич Шостакович/Complete Quartets (Borodin Quartet)/
.d..tp..... Сергей Сергеевич Прокофьев/
cd+++++++++ Сергей Сергеевич Прокофьев/Violinsonaten - 5 Melodien (violin: Gildon Kremer, piano: Martha Argerich)/
 
Well, at least George merged it. He could have been a dick and deleted it.
 
Oh dammit. I broke wheels!
 
@Drise :) So you got to keep the answer
@R.MartinhoFernandes You break it by NOPping?
 
Kids, that's what happens when you're coding half-asleep.
 
2:25 AM
@sehe Yea, but it's buried now.
 
@Drise Don't underestimate the power of activity bump + favourites
 
@sehe Fair enough.
@sehe Fair enough. I've never experienced this before, so we shall see.
 
Ok, guys, copy is completed, I'll be heading off to bed.
 
Good night.
 
@Drise No guarantees, BST/AVL/RBT are not generally considered sexy, and take a lot energy to really judge... this might not work in your favor...
 
2:28 AM
@sehe I enjoy them. They are a puzzle, and look nice in pictures if done correctly.
 
I hate puzzles :)
 
Girls look nice in pictures if done correctly.
 
Zing
I hate... oh wait
 
Man I want to nuke my windows right now.
I wonder if upgrades are any less sucky than they used to be.
 
2:45 AM
Notice how it has a button at the bottom to switch to "Pro mode".
 
@R.MartinhoFernandes Did you make that?
 
@R.MartinhoFernandes I wish I could do stuff like that.
 
That's horrible.
 
Oh, it is?
I didn't even look atit.
 
2:46 AM
Yes, there are too many things on the screen.
@user1515422 You mean GUI applications?
 
@R.MartinhoFernandes Yes
 
OMG that application needs notebook tabs. And alot of them.
 
@ITNinja And you haven't seen "pro mode".
 
@R.MartinhoFernandes if the GUI is that messy to look at, im not sure i even want to see the source for it....
 
You can. It's open source.
 
2:51 AM
oh O.O
 
3:23 AM
damn fucking game
(Ys Origin)
I don't know what to do, aaaaaaa
 
3:34 AM
im so bored atm >.>
 
@ITNinja Do you like hack-n-slash games?
 
@n2liquid i dont really play games all that much anymore.
 
@ITNinja ic
well, I'm off to bed
good night, folks
 
gn :)
 
night
 
3:38 AM
there was a 12 year old in here earlier? o.o
4 hours ago, by user1515422
@Mysticial I'm not allowed to be 12 here. -_-
 
Yes?
And what does age have to do with anything?
 
absolutely nothing haha.
 
@ITNinja How old are you?
 
its just nice to see younger people on a site like this :)
 
@R.MartinhoFernandes You're sure that's not something somebody drew up as a fake just to post to TDWTF?
 
3:43 AM
@ITNinja So, 16?
 
non-ya :)
age doesnt really matter here lol.
 
@ITNinja I want to know now. :)
 
@user1515422 soz m8. nope.
 
@ITNinja 17?
 
@user1515422 -.-
 
3:45 AM
@ITNinja Okay, okay, 15
 
@user1515422 -.-
im not going to say yes or no...
 
> wGetGUI is an easy to use Graphical User Interface (GUI) for the powerful WebGrabber wGet.
 
@ITNinja How long have you been programming?
 
@R.MartinhoFernandes Wow. That's truly sad.
 
3:47 AM
@user1515422 about a year or so :)
 
@ITNinja And what are you currently programming in?
 
@user1515422 Python/C/C++/VB.NET (hardly)
 
@ITNinja And what have you accomplished?
 
@user1515422 what do you mean? :)
 
@ITNinja Err, have you made anything note-worthy?
@ITNinja That's horrible too. Uhmm. Have you made anything worth releasing?
 
3:54 AM
@user1515422 Well, ive been working on a UDP framework, and a couple of small applications for personal use (generally security stuff).
but no, nothing i really want to release haha. that isnt my intention when i program ^.^ i do it for fun :)
 
I'm kind of confused. Bucky's on 16 now, and the only data type used has been int.
Oh wait, std::string too.
 
You watch bucky's tutorials? LOL
 
I'm going through them and leaving comments where I see fit. I should do this with others.
 
Good luck!
 
I've done it with others, but that doesn't stop them from changing anything.
 
4:03 AM
Hopefully a couple people take it in to not come to SO with the kind of code that gets immediate review comments.
 
Bucky doesn't care, he makes tons of money.
 
his tutorials are good until you get a decent foot-hold in the language, but for me after i learned a bit of python, the doc's were more useful to me then the tutorials :/
 
I always find reading a book better for me to learn from.
A teacher/class is great, but for some reason a video of someone and their code doesn't work as well.
 
@chris yeah haha, i have multiple developers references and such within arms reach in case i have to go somewhere without internet haha
 
@ITNinja, Same, I have craploads of internet-free material on stuff
 
4:19 AM
@chris im steadily building a collection of em' haha.
 
Can I have some of those references?
 
A+ certification study guide, Python 3 Developers reference, Python 3 Introduction, sams C++ teach yourself. Those are the ones i have, and i use them as reference more or less.
 
4:36 AM
Is that book even good? I've heard some say it is good and some say it isn't. I mean, could you effectively teach yourself the basics of C++ in 21 days? It seems like a lot to cram into your head in such a short amount of time.
 
Nice one, you just made my evening
 
@user1515422 not really, i find its better to use it with documentation online as-well. if you do that, it is a great book :)
 
4:58 AM
Morning
 
Hello, I'm new to this chat room.
 
@ManofOneWay Still night here.
 
It's 11:59PM here.
I live in the US, and hate it.
 
Well, well.
01:00 here.
 
Where do you live?
 
5:01 AM
@JerryCoffin Congratulations! :)
 
@user1515422 Canada.
 
@EtiennedeMartel Is it nice over there? I would love to live in Sweden.
 
@user1515422 It's a bit far from Sweden I'm afraid.
But yeah, it's nice. Well, in Quebec at least. I can't really speak for the other provinces.
 
Canada's fine I guess, we get the cold in winter, and the heat in summer, but it's not the worst I suppose
 
@EtiennedeMartel I know that. :P
What about money wise? You guys doing good over there?
 
5:05 AM
Software development pays a lot, no matter where you live.
 
That's true. I wish I could get into it to make money. q.q
 
Then get into it. It's not exactly hard.
But money isn't all that important. Sure, you need some to live, but once you got your basic needs covered, having a fun job is much more important.
3
Otherwise you just want to shoot yourself.
 
A little more money is always welcome :)
 
How old do you have to be to legally get a job?
 
I think 6 at least.
In all countries, that is.
 
5:10 AM
6?
Wow. Well, I don't know where I would begin.
 
Erm, studying?
 
I mean I don't know where I would go to get the job.
I guess freelancer.comn
 
The classic trajectory is quite simple: high school, college, job.
And go to the head hunter office.
 
Well then that's going to be awhile because I still have 2 years before high school.
And I mean jobs like those at freelancer.com
 
How old are you?
 
5:14 AM
(Ha, was about to ask the same question)
 
@StackedCrooked He used to be 12, but then he became 13 when I told him that SE has a min. age policy of 13.
 
Well, well.
 
This is like the 4th time I've been asked that.
 
@Mysticial Hahaahahaha
 
5:15 AM
@Mysticial Stop that, I don't want to get a ban.
 
You won't. Nobody can verify your age anyways. That's why it's possible to go from 12 to 13 in just a few hours.
 
@user1515422 You're in a chatroom that regularly goes against the moderators and the meta users. I think you're safe here.
 
Oh well thats good. And I just realized how much money you can make for such simple software. I mean look here; freelancer.com/jobs/CPlusPlus-Programming
$154 for a shop manager
 
Careful with those.
 
Are they scammers?
People on Roblox used to scam me to, but I learned how to detect scammers.
 
5:21 AM
it's fucking hot here
 
@DeadMG Maybe it's because you're there.
 
Anyone have an Evony account?
 
ugh
the only thing notable about Evony is that it endlessly advertised itself with massive tits
 
you don't like the game?
have you ever tried the game?
 
@DeadMG Not anymore. But, yeah.
 
5:29 AM
You can't hate something you've never tried.
 
@user1515422 Any game that uses tits for advertisement might as well unleash flaming beetles in my room for all I care.
 
@EtiennedeMartel Well, they've never had a good marketing campaign, but the game is actually pretty fun.
It beats World of Warcraft at least.
 
And definantly Call of Duty ugh
 
A cheap Web based freemium strategy game that uses assets stolen from other games beats the best MMORPG on the market?
Normally I'd go with "apples and oranges", but come on.
 
5:32 AM
In my eyes, yes. I don't like wasting my time with games like WoW, so I've never really bothered playing it much.
 
And let me tell you that CoD4 was an excellent game. It all fell appart with the later titles, though.
BF3 is a superior shooter.
 
I've never like shooters, just strategy games.
 
Oh? Well, what about StarCraft 2?
 
I've never bothered to run that on my shitty computer.
 
@EtiennedeMartel Neither of them have any real value.
 
5:33 AM
attempted*
 
That might be the problem.
 
@user1515422 Then how do you know Evony > WoW?
 
@DeadMG It appears you are simply not in WoW's target audience.
 
@DeadMG Because I know I wont get addicted to Evony and spend all day on it like I did with League of Legends.
 
Which makes sense, because then you would be playing the game right now instead of being on this chat.
LoL? Decent game, horrible players.
 
5:35 AM
@EtiennedeMartel 90% of everything is shit.
 
@DeadMG Sturgeon's Law?
 
someone like that
 
Most of the time my team would feed the enemy and we would end up losing. That's one reason I hated LoL.
 
And that's why you should never team up with people you can't slap.
When I play SC2, I only play in arranged teams with my friends.
 
And you think I have friends?
I wouldn't be here if I had friends.
 
5:38 AM
You should get some. Otherwise you might end up like @DeadMG, our resident party pooper.
 
I had ONE friend that enjoyed programming and he only did it for money. He ended up failing and not understanding anything. In fact, he hated programming, and the only reason he did it was to try to make money.
@EtiennedeMartel :P I have my brother if that counts.
 
Why am I surrounded by negative people?
 
what's that quote about driving the wrong way down the road that sbi likes to talk about?
 
@DeadMG I'm drunk driving the wrong way down the road.
 
you've simply clearly never encountered anything except the flowery unicorn world, filled with naked ladies offering your favourite foods and a nice fanning with a palm tree
 
5:40 AM
This is by far the longest time I've ever spent in a chat room.
 
@DeadMG Indeed. I came to realize that I am, and I always been, incredibly lucky.
Then again, I think it's all about making your own luck, you know.
 
Could you guys help me out?
 
Depends.
 
Some guy on Bucky's video of && and || (short-circuit evaluation never mentioned, so I did it for him) was actually almost onto something. He claimed you can use a comma instead of ||, and while it's close, it's not perfect because of both the case if (true,false) returning false, and short-circuit evaluation not coming into play.
 
My friends and I over at the Roblox scripters forum are trying to get a Q&A site from Stack Exchange - Area 51 and need some help.

Here is the original post: http://www.roblox.com/Forum/ShowPost.aspx?PostID=73669303#73703402
And here is the place you need to follow: http://area51.stackexchange.com/proposals/42621/roblox
 
5:47 AM
you need a far wider scope than some random game to create a Stack Exchange site
 
Erm, doesn't "following" means that we actually are interested in the subject?
@DeadMG Well, as long as there are enough interested people...
 
This random game has about a million players.
 
you would need "enough" to be on the scale of Starcraft 2, give or take.
 
@user1515422 Then get them all to follow it.
 
and I certainly cannot follow any site that I do not intend to participate in]
 
5:48 AM
A million users? That should be enough to start a SE site.
 
How do I get a bunch of little kids to follow it?
 
And that's the problem.
Which I'll let you solve by yourself, because I'm sleepy and I got to wake up in seven hours.
 
bye new friend. :D
 
Good night. And don't do drugs!
 
I would never do drugs. Not when stuff like weed and marijuana could kill me.
And heroin
 
5:56 AM
And caffeine.
 
Oh, I already am addicted to caffenine.
caddeine*
caffeine*
 
6:10 AM
heh 12 and already caffeine addicted
err 13 I mean :)
 
:P Yeah. At least I'm not overweight.
 
What kind of job? I did web as a teen.
 
I don't have a job? How old were you? My brother is into web dev and PHP and all that stuff.
 
< old
heh guess it took quite some patience to type this in
 
you thought I was being serious when I posted that horrendous code? There is so much wrong with that code (system calls, lack of OO when needed, no arrays, goto, no switch statments, excessive amounts of variables, comparing two variables made difficult, lack of loops, hard coded most of it, ect).
 
6:19 AM
heh well then go make it better :)
 
I didn't code that!
Here's what I made about a month ago; haven't made anything that's not just challenges since then.

http://pastebin.com/XyTqEZtd

I know, methods inside of the class are implicitly inlined, but at that time I didn't know that. And I know there wasn't a need to dynamically allocate memory for the object, but I did it anyway because I like using pointers.
 
Well that's what I call progress :)
I'm off cu
 
Bye. :D
 
@DeadMG What are you up to?
 
watching 9999999 hours of Star Trek when I should be doing things
 
6:32 AM
I hate Star Trek
 
@DeadMG You should aim for the C++11 gold badge instead
 
This place is really slow at night.
 
@Mysticial That question you just edited is confusing
 
no kidding...
 
6:49 AM
Can you print an int * as an address directly, or do they all have to be converted to a void * first (even if it is implicit)?
 
@chris With cout it's fine. With printf() it'll work anyway, but technically you're supposed to cast to void*.
 
@chris Have you tried? :)
 
That sounds kind of dumb when I don't mention arrays.
@ManofOneWay, It would be implicit anyway, how would I know?
@Mysticial, Think that's going to give you any fun?
 
@chris Are you talking about this?
1
Q: Extremely bizarre code generation in Visual C++, for nearly identical code; 3x speed difference

MehrdadThe code below (reduced from my larger code, after my astonishment at how its speed paled in comparison with that of std::vector) has two peculiar features: It runs more than three times faster when I make a very tiny modification to the source code (always compiling it with /O2 with Visual C++...

 
7:06 AM
@Mysticial It should also depend on how he has measured time. It could vary a lot from run to run
 
The assembly that's shown has nothing to do with the code.
It looked attractive at first. Oh well...
 
7:29 AM
good morning all :D
 
Morning
 
Is this UB? I guess it is, but I'm not sure since I never really dereference the uninitialized pointer.
 
Wouldn't it be great if you could enable some sound that plonk every time a new question is added to the current tags you're watching. Right now I regularly have to check the page for visible notifications.
 
Is it better to declare variables at the start of a new scope or declare them when you need them?
 
@user1515422 When you need them. Minimal scope.
 
7:38 AM
That's what I thought. The argument against it was "it looks neater", which it does, but whatever.
 
wow, my ability to misread things has extended to the point where I can see the font, font size and background colour as different to what it really is
 
7:54 AM
@StackedCrooked fairly sure it's UB, I seem to remember a discussion on that point on comp.lang.c++ a few years back
 
@R.MartinhoFernandes reading through this( blog post. your example where you first introduce int underlying = to_underlying(foo::bar); should should be auto underlying after all, it is about getting the value with out knowing the underlying type
 
40
Q: When does invoking a member function on a null instance result in undefined behavior?

GManNickGThis question arose in the comments of a now-deleted answer to this other question. Our question was asked in the comments by STingRaySC as: Where exactly do we invoke UB? Is it calling a member function through an invalid pointer? Or is it calling a member function that accesses member data ...

doesn't touch the static, but there's still a dereference there
 

« first day (650 days earlier)      last day (4315 days later) »