« first day (525 days earlier)      last day (4424 days later) » 

10:00 AM
@jalf correct!
@jalf on linux i could do "make update"
but on windows i tried "mingw32-make update" but that didn't work
 
ah
 
the make update command in build automatically updates both
 
I'm on mac, so I'd guess that works too
you're just full of useful tips today :)
 
How stupid for not reading that in the corner ------>
Very unobvious.
 
10:05 AM
i wonder whether someone has written a JavaScript that automatically goes through all questions of a search result and retags them according to a general rule
if the capcha displays, it waits for the user to enter
would it be difficult?
 
I'm wondering if there's a JavaScript that helps me fix some formatting when I'm about to post something that may requires using markdowns in SO.
 
Like, displaying compilation errors when I post something in the wrong markdown, et.c
@user1131997 That's a pretty nice living room you have there.
@user1131997 If only I have that many TVs and Netflix services.
 
oh hey, it worked
 
10:12 AM
May I ask, who is currently at work, in their office chairs, doing some busy work?
 
@user1131997 neat
a tag hierarchy could also be used to automatically add parent tags when one adds child tags. for example if a user tags stuff as "c++11" it would automatically also add "c++".
and also "programming-languages" etc... perhaps one can define a "strong" relationship in such a hierarchy. if it is strong, then tags are automatically added. if it is weak, then not. for example "c++ -> c++11" is strong, but "programming-languages -> c++" is weak.
 
Can anyone tell me how to create an IDE in C++?
 
std::cout << "IDE";
 
@tom_mai78101 I'm not in a funny mood. Please help.
 
You need 5 years and lots of tea.
And if you don't know C++, forget about it.
 
10:26 AM
@RavikaJain std::cout << CommandLineToArgv(GetCommandLine(), "%desktop") << "development" << std::endl;
 
@CatPlusPlus I know C++ with some Basic Win32 API knowledge for creating GUIs.
 
So what do you want to know?
 
Good luck creating IDE UI in raw WinAPI.
 
@RMartinhoFernandes I want to know that How to create an IDE in C++.
 
I have no idea how to answer "How to create an IDE in C++?" with something other than "You write code".
 
10:28 AM
I want to know how to create a zombie elephant in Haskell.
 
And you write something that you know from scratch, not from something you know you don't know from scratch.
 
Please don't play guys. Help me please
 
@RavikaJain Better try with .net with WinForms namespace in C# ( or another clr language as VB.NET or F# ) you may faster do IDE with one-click development stuff
 
whoever flagged that, come over here so I can punch you in the nuts
5
 
@RavikaJain We can't help you with that daunting task of yours.
@jalf Does that mean ---------------> are flagged?
 
10:30 AM
@RavikaJain what do you need to know about it? An IDE is fundamentally no different than any other GUI program
 
Blue rounded-corners-rectangle means "flagged".
 
Hey wait! I'm just asking "How to create an IDE". I don't mean that I want to create compiler
 
@RavikaJain I'm not playing. What is it you don't know about creating an IDE in C++ that you want to know?
 
if you know how to display a window, that window can be used for an IDE just as well as for anything else
 
@jalf Really?
 
10:30 AM
@RavikaJain You need to learn GUI instead of parser and compiler.
 
Of course. An IDE is just an application which shows one or more windows which contain relevant controls, and is able to launch external processes (such as the compiler)
 
You need at least project management, decent editor, and debugger integration to call it an IDE.
 
there's nothing magical in an IDE. If you can write GUI apps, you can write an IDE. If you can't, then you need to learn that
 
@CatPlusPlus Thanks for the "flagged" definition.
 
I don't remember if <10k can see rectangles.
 
10:32 AM
nope
 
@jalf I know to write GUI apps, this means that I can write IDE!
 
@CatPlusPlus 185 here, I can't.
 
You're lucky then.
 
@RavikaJain Good, you now have a firm grasp of the surface of GUI
@RavikaJain Now, start coding. :D
 
There's a difference between writing a hello world UI and a complex IDE-level UI.
And there's a difference between implementing and designing an UI.
 
10:33 AM
@CatPlusPlus Ya! You're right.
 
And there's a difference between WINAPI and C++
 
IDE is not a trivial software. So good luck.
I wrote some docs, yay.
 
oh my god
VS11 actually improved default C++ projects :O
what's next, are they going to make the properties dialog resizable?
 
In what way?
 
@jalf 10 different scales of gray, for starters.
 
10:35 AM
@jalf They still aren't?
VS11 still uses the same crappy properties dialog from VS6?
 
GUI apps may be bases on lower API calls, with threads, WinAPI , drawing libs calling functions or may be launched with some high-abstracted libs as Qt, GTK ( which are based too on lower level, but you free from many work )

you may try to emulate it, get some compiler, quickly draw forms an editor and plaing with cmd line arguments for getting errors/statuses from compiler and show it in forms

but it wil be just "wannabe IDE" no more, try to get fun
 
@RMartinhoFernandes I don't think so.
 
a new project contains fewer non-default properties. Used to be that every project specified intermediate and output paths explicitly instead of relying on default, so you had to clear that if you wanted to use the values you specified in a property sheet
 
@jalf Is that a good thing, or a bad thing?
 
very good
 
10:37 AM
@tom_mai78101 That's even worse. Means they changed it, but it's still not resizable.
 
@jalf :D I'm starting to like the VS11 hype now.
I take that back.
 
you can define property sheets and have projects inherit settings from it, which is great if you have a lot of projects which need the same properties
but that relies on the projects using their inherited default settings, instead of overriding them
 
@RMartinhoFernandes What do you mean "non-resizable"?
 
so when a new project by default overrides half its properties, it becomes a pain in the ass
@tom_mai78101 oh, there are still plenty of really bad things about it
but this was something I never expected them to do anything about
 
@jalf Holy mangos, that doesn't sound braindead.
 
10:39 AM
One more help friends. I'm fascinated about those Resource Editor I use. Can anyone help me in creating one in C++?
 
@tom_mai78101 C++ project properties are not resizable. Which is a pain because the values of some properties don't fit.
 
Oh.
@RavikaJain You need to look it up in Google. There's just way too much to type here.
There's a hard limit of 400 characters per messages here.
 
12345678901234567890123456789012345678901234567890123456789012345678901234567890123
45678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
More than 400!
 
Ok, too much Facebook.
 
10:41 AM
@tom_mai78101 OK. I'm currently searching for "Resource Editor in C++".
 
@RavikaJain you may try to send request in youtube for video lessons, if you won't to read or to google if prefer reading, not watching/listening
 
@RMartinhoFernandes yeah, they've had property sheets for a long time, but didn't really become useful until 2010, and even then, it was a pain because of all the overridden properties in your projects
 
Those are a beautiful mix of subjects/predicates.
 
but is pretty powerful because they're just msbuild files like the project, so they can define all the same settings, and even add in conditions so certain properties are only applied if the output filetype is .dll, for example
 
@user1131997 Searched for "Resource Editor in C++" in Google and YouTube. But still no luck!
 
10:44 AM
@jalf I think all C++ projects are hard to satisfy everyone's need.
@RavikaJain Tried adding a word "tutorial" next to it?
 
@tom_mai78101 OK. I've tried adding "tutorial" next to it but still no luck
 
@RavikaJain what exactly you want to do? tell more please, add a button control or what?
 
@tom_mai78101 well, they don't need to. They just need to make it easy to customize your projects. Or at least, stop putting artificial roadblocks in front of you
 
@user1131997 I want to implement Resource Editor in Win32 API C++
 
The loungecpp acronym list is quite short IMHO.
 
10:47 AM
@jalf But how? If we know, we can give our feedbacks to the dev team.
 
@rubenvb What's missing?
 
@RMartinhoFernandes Most of these: cygwin.com/acronyms
 
No one here uses most of those.
 
@rubenvb Is it "loungcpp" or "loungecpp", just curious.
 
stuff like BWAM, CYA, DTRT, etc...
 
10:48 AM
@tom_mai78101 well, I just said :)
 
@rubenvb Nope, no one uses those.
 
@tom_mai78101 I have absolutely no idea what you're talking about.
 
It's ones commonly used here, not some ultimate acronym dictionary.
You can go on TFD for that.
 
well, dictionaries can be expanded, FWICS.
 
@jalf But...B.. The methods for customizing the project in an easier way, what should we type in the feedback box?
 
10:49 AM
when you create a C++ project, it should have as few overridden settings as possible. Everything should be inherited from the standard property sheets. Then you have just one place to apply all your own settings
 
you don't understand what you are saying, trully

because any GUI program on low level uses many features as decrpitors

any Windows message in OS consists of descriptor, type message and two 32 bits params, that ses Queue model as I remeber, then there are a lot of classes, with are dfiiciult to use....

try to use high-abstracted libs as Qt, GTK or use WinForms in .NET with CLR-language
 
@rubenvb I mean the "loungcpp", is it supposed to be named as "loung**e**cpp"?
 
@tom_mai78101 I never said such a thing:
 
there are a lot stuff on lower level, that would be a nightmare for at this time only to draw a some form
 
3 mins ago, by rubenvb
The loungecpp acronym list is quite short IMHO.
 
10:51 AM
OH, edited.
There should be a "TIL" for Today I learned...
I'm stealing it from Reddit.
 
TIL it's March 24.
 
TIL I have a project due this weekend. :O
 
Sex, TITTL
 
@rubenvb Are you using those acronyms on purpose so they get included in the list?
@TonyTheLion Man, that was fast.
 
10:53 AM
@RMartinhoFernandes no...
 
What is TITTL?
 
@RMartinhoFernandes I'm getting better :P
 
@tom_mai78101 Throw it to the lions
which was quite applicable
 
oh, so that why...oh.
 
@rubenvb lulz
 
10:55 AM
Food, TITTC = for @CatPlusPlus?
Also, there should be an AMA. Wondered if it's already used?
 
basterds of GCC didn't upload a gcc-core package
 
They are inglorious, eh?
 
No, they are Inglourious
 
Oh, fail.
 
Are there any people in this room, who hates OOP ?
 
11:02 AM
struct Test{}; struct NewTest:Test{}; //?
 
@user1131997 Order of the Phoenix? Out of Power? Object Oriented Politics?
 
@user1131997 Oops?
 
object-oriented-programming

CO(c)
 
I keep forgetting whether I should do:
`struct Test{}; struct NewTest: public Test{};`
Or without the "public" tag?
 
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, messaging, modularity, polymorphism, and inheritance. Many modern programming languages now support OOP, at least as an option. Overview Simple, non-OOP programs may be one "long" list of statements (or commands). More complex programs will often group smaller sections of these state...
I have linked to the tag #critisim
 
11:11 AM
@tom_mai78101 unless you have a special reason not to to so, always use public inheritance.
 
That's not a very good rule.
 
@daknokt And I was just about to ask you why.
 
the common ide is , that OOP makes program run slower and requires more resources and doesn't have strong theory definitions
 
@user1131997 premature optimization at its finest!
 
@user1131997 I love to argue that, with Intel's Ivy Bridge, you can just forget about programs running slower, and stuff, but I will receive more flamboyant responses.
 
11:13 AM
Without public inheritance you don't get slicing, for example.
 
@user1131997 "The common ide", you mean, "the common known subinfo"?
Subinfo: Controversal information regarding a specific subject; A debatable information.
 
OOP != overuse of virtual functions
 
Did anyone add the GN videos to the video list?
 
11:40 AM
ok, my library is about 7 times faster on windows than osx
at least in one benchmark
 
11:53 AM
A* algorithm: Any special way to obtain the distance between Square A and Square B?

Square has both fields, X and Y. And there's no diagonal distance involved.
 
I finally opened the package I got two weeks ago with my Thinkpad X61 inside. Almost finished setting it up now :)
 
@FredOverflow Is it the one with the swiveling monitor?
 
IDK what "swiveling" means.
 
@FredOverflow Spinning around. Rotating around. etc. similar meanings.
 
nope
that would be x61t iirc
 
12:02 PM
oh
 
@jalf That doesn't happen often.
 
@rubenvb true. Seems like OSX has some completely messed up implementation of TLS
and this benchmark is little more than a loop accessing a TLS variable
 
ah, yes I remember some TLS discussions on the Clang mailing list.
Is it Mac OS X 10.7 or 10.6?
 
10.7
@rubenvb oh, remember what the outcome was?
 
huh, let me see if I can dig it up.
 
12:09 PM
no big deal, was just curious :)
 
Seems it's always emulated TLS on Mac OS X.
 
ah
that'd explain it
well, it's Apple's own fault then
 
1:06 PM
guys
Samsung Swype doesn't know the word "Apple" someone told me
 
@daknokt no need for "public". it's the default
 
1:23 PM
Is it possible to check if a thread is the main thread?
Should I compare thread ids or something?
 
Yes, that's how I would do it.
 
Also, does reading from const in many threads require locking?
 
No as long as it's only reading.
 
multiple reads are generally safe to do concurrently
 
IMO it would be nice if there were a "immediately" keyword
 
1:29 PM
but an object being const doesn't in itself guarantee that your operation will be read-only
 
Generally? I just don't want to hit UB.
 
there could be mutable members, or pointers to nonconst data
 
@JohannesSchaublitb I didn't say it was necessary to explicitly add public. :)
 
so we can say "immediate remove_reference<T*>::type" and yield "T"
 
so it depends on the operation being performed
 
1:30 PM
it would be like an alias template, but with the full power of specializations etc
 
@JohannesSchaublitb In C++? Private inheritance is the default
 
@CollinHockey depends on struct vs class
 
I thought public was always default
 
@JohannesSchaublitb Oh, I assumed class
 
What about calling member functions, does that require locking?
 
1:31 PM
Ah, found it
 
@Pubby again, depedns on what the member function does
if it doesn't modify anything, then it's safe
 
@jalf I mean does the actual calling of it, not what id does
 
@Pubby that's safe enough
 
@Pubby Data sharing is where the race conditions are. Calling a member function itself is safe because each thread has its own stack. So the stack-frames between threads won't clash :D
 
Well yeah, but I wasn't sure if taking the pointer was safe
So one last thing: getting pointer with`&` doesn't need lock?
 
1:35 PM
@Pubby well, first you don't need to get any pointer. Member functions are generally implement as free functions which just take an additional pointer parameter. So calling it just involves copying the this pointer, it doesn't need to be dereferenced. Second, as long as you read a pointer, it's still a read, and so it won't conflict with other reads.
 
That should be fine
 
@jalf Ok I think I understand. Thanks
 
@Pubby locking is needed to prevent data races. Data races occur when data is being modified while others are reading/modifying it. So if there is no modification, there can never be any race conditions
It doesn't matter which operator you use, it matters whether that operator writes anything
specifically, whether it writes to any shared data
 
Alright
 
1:56 PM
GCC 4.7 has a "tr2" folder - yay
 
do_not_propagate_mask and CWDontPropagateMask Why the hell does one use contracted 'dont' and the other doesn't?
Oh, and then it uses background and Back
 
2:14 PM
@KerrekSB GCC has folders? :)
Is that like foldr?
 
@StackedCrooked Only on Windows. On MacOS it's foldl.
 
@KerrekSB I... don't get it
 
It is because of endianness.
 
but both OSes run on x86, they have the same endianness
maybe I'm just slow today
 
2:32 PM
> whoever flagged that, come over here so I can punch you in the nuts
what if it's a girl >>
BTW I flagged it
NOT
 
I remember someone sending an angry mail to everyone in the company because someone stole his dessert out of the fridge. He demanded to know who took it.
I guess if you write it like that nobody will reply :D
 
@jalf The library that ships with the compiler has a "tr2" folder with some new stuff...
 
"Who took out the desert? I wanna know whether it tasted well."
 
"Who stole my dessert? Please come to my office because I want to reward you."
Might have worked.
 
2:45 PM
@StackedCrooked If there was a van with "FREE BACON" on it I would get abducted
 
What's new to extend Visual Studio 11 (from JbEvain in a Nutshell)
2
 
Xeo
@sehe Ouch
 
@Xeo I like the way he relativates things in the second comment
 
@sehe Lame notes by the way.
To everyone, what is a "feature creep"?
 
@tommai78101 Instead of having a clear design goal, feature creep just means the developers keep adding things all willy-nilly, probably breaking the intuitiveness of the program along the way and getting out of the scope of their design. It also puts things WAY behind schedule
 
2:59 PM
I feel a little stupid for asking this, but I've only worked with MinGW until now and I'm trying to compile my code with the C++ compiler in Qt Creator. Long story short: I don't have such essential headers as stdlib.h. C:\Program Files\Microsoft Visual Studio 10.0\VC\include is nearly empty. I only installed certain components of Visual Studio 2010 so it's possible that I missed something. How do I install necessary headers?
"with Microsoft's C++ compiler in Qt Creator" *
 
Which certain components? Did those components include C++?
 
@CollinHockey Thanks.
 
@tommai78101 Alot of design meetings probably contain the words "Wouldn't it be cool if..."
 
@ColinHockey This is what I have: i.imgur.com/QiX6V.jpg I'm on a 32-bit system so I figured I didn't need the x64 stuff.
 
i have decided that all flags in bin must be valid
 
3:03 PM
Itanium is a different type of processor, you can try installing the X64 stuff, that's at least closer to what you need. It might include everything for your standard x86/x64 processor
 
I'll give that a go but I hope I don't run out of hard drive space.
 
You could uninstall the itanium stuff
 
Every time I buy a new computer I think "woah I'll never fill this hard drive" and a few years later: BAM.
 
But hard drives are free
 
if you just need the compiler and headers, you could just install the windows sdk instead of visual studio
probably easier and simpler
 
3:05 PM
I already have parts of the SDK on my computer -- not sure which ones.
 
but yeah, for 32-bit compilation, you don't need either itanium or x64
@Pieter well, the sdk contains includes, libraries and compilers. Everything except the IDE, basically
and since you're not going to use the IDE
 
@jalf Sounds much better
 
These are my installed components as part of the Windows SDK: i.imgur.com/qXfb4.jpg
 
@CollinHockey I felt like using Scrum is a better option. What do you think?
 
3:07 PM
@Pieter Do you require any samples?
 
@tommai78101 I really don't have that much experience with those development styles - so much of my work is R&D
@Pieter Visual C++ Compilers is probably what you're missing
 
@CollinHockey Oh.
 
@tommai78101 You mean code examples? No, not really.
 
@rubenvb do your later GCC builds have better performance?
 
@CollinHockey I already have the compiler as part of Visual Studio 2010.
 
3:08 PM
@Pieter Very well, I would assumed you have a good start.
 
i hope they don't take 5h to compile clang like my current gcc windows build does
 
You have the Itanium compiler installed, but not the x86 one
 
Do I need it despite running 32-bit Windows?
 
x86 is 32-bit?
 
@CollinHockey To answer your statement that hard drives are free, technically yes, they are cheap. No, they are easily succuming to flash floods which may occur during the summer monsoon seasons.
 
3:10 PM
Yeah, my bad.
I have the x86 compiler in the Windows SDK and the Itanium Compilers as part of Visual Studio 2010.
 
Summer/Fall period.
 
@tommai78101 Yeah, they are a bit more than they were a bit ago. I just picked up a seagate 1TB drive from Amazon for $109
 
@CollinHockey Too bad, 1.5TB for 60 bucks, now.
 
Where was that?
 
3:13 PM
Wouldn't "x86 Libraries" cover 32-bit stdlib.h? Yet I can't find a Microsoft version anywhere on my system.
 
does cstdlib exist?
 
@CollinHockey Looks like I'm right.
 
All cstdlib files I have are related to cygwin and MinGW. i.imgur.com/0dq0r.jpg
 
@Pieter x86 libraries makes me think the windows libraries, but I really don't know
 
Too bad. Normally I would have installed everything except that my hard drive's nearly full. I'll try installing the C++ compiler from the Windows SDK and see where it leads.
 
3:23 PM
    template< class Type >
    inline bool hopefully( Type const& c ) CPP_NOEXCEPT { return !!c; }
^ I wouldn't have thunked it could evolve into something like that...
 
@tom_mai78101 not 'a creep' but 'creep of features' : feature creep
 
today's featured creep
he he
 
42 flags? What the fuck?
 
r they @ll in bin?
 
3:27 PM
i have decided for myself to treat all such flags as valid
but i don't see the 42 ones now
just a bunch a few minutes ago
 
@CheersandhthAlf I was wondering whether the posts could have been flagged before having been moved to the bin.
 
homer@workhorse:~$ mkdir homest
homer@workhorse:~$ cd homest
homer@workhorse:~/homest$ pwd
/home/homer/homest
 
Or perhaps some flag-happy creep goes to the bin just to have a flag fest
 
lulz
homer@iliad.gr
 
3:34 PM
Creep featured.
 
@FredOverflow Lol
Which messages are flagged? I can't see it so I rarely realize what the fuss is all about.
 
TIL: "wittol"– a man who tolerates his wife's infidelity
 
3:55 PM
@StackedCrooked someone who was talking to a cow that wasn't a Duck too: !!cawsay blablablabl etc
obviously, someone ported cowsay to a Userscript and was alittle happy to test it out
cowsay is a program which generates ASCII pictures of a cow with a message. It can also generate pictures using pre-made images of other animals. There is also a related program called cowthink, with cows with thought bubbles rather than speech bubbles. _______________________ ----------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || .cow files for Cowsay exist which are able to produce different variants of "cows", with different kinds of "eyes", and so forth. It is sometimes used ...
 
4:42 PM
what if there was a platform that allowed you to share data amongst all the different devices you own. So if you type a note on your phone in that application, it will automatically send it to all devices registered to you and running the app, over whatever communication medium it has available. There's no centralized server needed, it only shares data amongst the devices you tell it, and are running the app, and it does not care about the platform (iOS or Windows, Android)
you could share most anything, from a file to a pictures, text, whatever. If some device in your network cannot store something, you get notified, but perhaps over Wifi it can allow you streaming access to something like a music library.
the main point though is that it only is on your own devices, it involves no remote servers, or devices that you do not explicitly own. An easy way to share.
opinions?
 
Xeo
Isn't there already something like this?
 
@TonyTheLion The centralized server may be needed. If you add a new contact to your address book on your phone then how does the phone to which other devices it needs to send it?
 
I don't know, something that will allow you to share like that
I would love to have it if it exists
@StackedCrooked the application would have an internal database of devices registered under your name or whatever, some way to identify a device as yours would be needed, and you need to let other devices you own know that this is also your device
 
I think the Cloud is what you are looking for. Google Cloud and Apple's iCloud both provide services similar to what you described.
 
the cloud however has the notion of putting your data on a device (server) which you do not explicitly own
this is where this wold be different, no devices are needed that you do not own
just a way to keep your diary for example on all the devices you own (ipad, laptop, desktop, phone), whatever
I have a blackberry, a laptop, desktop and ipad, and I don't have a way to write some note on my phone and have it immediately available on all my other devices, without sharing it on some server I don't own
anyways, irrelevant, I was just having crazy thoughts
 
4:50 PM
That's hard imo. The phone would need to upload the data to all other devices individually.
 
I would say this is probably not easy
 
Perhaps multicast could help, but the coordination of it sounds like hell.
A centralized server solves most of these issues. You can rent some hosting and install it yourself.
You could implement a prototype using a Distributed VCS :)
The client application is a daemon that periodically syncs the accounts :D
 
yea, a centralized server is indeed an easier way to do things
 
Someone at my Uni had a project where he had to implement a decentralized BlackBoard kind of thing
Don't know if he succeeded, but I think it would be possible without a central server
 
but I don't like the idea of my data being on a server I don't own, like the Cloud
it would interesting research, just for lulz
 
4:54 PM
I'm undecided on whether it is a good thing or a bad thing that Google knows so much about me.
 
@TonyTheLion data, as in p0rn?
 
On one hand: the more Google knows about me the more helpful it can be. On the other hand: ?
 
@JohannesSchaublitb My latest couple are -mtune=corei7... Not sure what that translates to in performance on your machine though.
 
@rubenvb yea pron is another matter
 
@StackedCrooked Big Brother is watching.
@TonyTheLion I'd imagine that being your major problem. Where to store all that data?
 
4:56 PM
I don't have any pron on any of my devices
 
privacy is the other hand
because, you don't want certain things about you be exposed to the whole world I guess
 
hehe, GCC 4.7 build keeps looping through libcpp
Autotools has reached a new level of crappery
 

« first day (525 days earlier)      last day (4424 days later) »