« first day (964 days earlier)      last day (4000 days later) » 

4:00 PM
@BartekBanachewicz the java guy called it too complicated because it was a class? lol
 
@melak47 yeah.
And he in general hates operator overloading
because "complicated"
and oh, "unreadable"
 
yiz
@BoltClock who is on your list of known trolls :p
 
@yiz You.
@BartekBanachewicz I've heard that one before.
 
I am going to dare him to write ((a+b)*(a-b) / c) one day in Java
 
yiz
but I never raised any flags, ever!
 
sbi
4:01 PM
@BoltClock Why not? (Was it that John guy with 25 21 rep? If we all downvote him, won't he be banned from the chat?)
 
@sbi conspiring to commit downvotery? how rude :p
 
sbi
@R.MartinhoFernandes What happened??
 
@sbi Yes. And please for the love of God don't do that
 
@BoltClock can't we blame it on javascript room afterwards?
 
sbi
@melak47 It can hardly be called "conspiring" when I talk about something with an official site moderator, can it?
 
4:03 PM
@sbi shhh, he's one of us
 
sbi
OK, given your prolonged silence, I assume I was right.
 
lol
 
sbi
@BartekBanachewicz I really haven't been answering much on SO lately, but I know that much: He ain't no C++ guy.
 
@sbi Hey.
 
sbi
4:06 PM
That guy is good. In the record it will all look like he discouraged us.
 
cpx
I guess I used to be C++ guy. :/
 
cpx
I would like to be C++ guy again.
 
@cpx you might want to become Lua fanboy like me too
I am going to say that I'm a fanboy upfront so people will know.
 
@BartekBanachewicz We already know.
 
4:08 PM
@EtiennedeMartel but there are people that don't
 
room topic changed to Lounge<C++>: This just in: Horrible disease kills millions of ponies [c++] [c++11] [c++-faq] [no-helpdesk]
 
yiz
Someone start a thread on meta asking for a list of known trolls, I am question banned there for eternity ... I could evade the ban, but such question would sound very egoistic >_<
 
sbi
user image
8
 
posted on June 06, 2013

Like many subtle ideas, the idea of moving data in C++ is built on a simple concept.

 
sbi
(via @sehe)
 
yiz
4:16 PM
2 am ... time 2 retire into bed :p
 
does anyone know of a good C++ Web scraper library
 
@MichaelBell CURL :p
 
@R.MartinhoFernandes what are you gonna buy? more books?
 
cpx
Will I be able to run softwares that I have for x86 on x64?
 
@cpx if by x64 you mean x86-64, then yes -- as long as the OS supports 32-bit apps, which every decent OS does
you won't be taking advantage of the platform's 64-bitness, of course...but the app will almost always work
 
user142019
4:24 PM
@cpx "software" is a mass noun.
 
cpx
I'm not sure if it is x86-64. It simply says "Windows 8 (64 bits)" in spec for new laptop that I just saw today.
Just wondering if all the softwares that I have on this machine (x86) would become useless for that one.
 
for(int n = 1; n < 8+1; ++n)
{
cout << n << "\t" << char(n) << endl;
}

I'm trying to get this to show a row of 1-9 and it's character value for each, but I'm going about it the wrong way. How can I show the ints char value?
 
new laptops are typically x86-64. tablets, on the other hand...they can be pretty much anything, but often use arm processors of some type
which is definitely not x86-compatible on its own
 
cpx
I'm not even sure what I'm buying.
 
@cpx link?
 
user142019
4:27 PM
@user2442335 What's wrong with it? Apart from using namespace std;.
 
cpx
It's just a laptop to me.
 
user142019
Characters 1 t/m 9 are most likely (invisible) control characters.
 
It's showing me a bunch of smilely faces and stuff for the value
I wanted to print the number code for the int. kind of like how a = 97.
 
user142019
Well, a probably isn't in 1 to 9.
 
user142019
for (char n = 'a'; n <= 'z'; ++n) {
    std::cout << static_cast<int>(n) << '\t' << n << '\n';
}
 
4:29 PM
@user2442335 then you probably want to print characters with higher codes. The first 32 character codes are typically control codes, and won't usually make sense (or will have odd effects when you do print them)
 
Hrm, I wish they went into detail about this in the book.
 
@ScottW wait, what? kosher pork chops?
 
user142019
What book is it?
 
user142019
Because if it uses C-style casts, it's absolutely horrible and you should burn it.
 
eh. i use C-style casts all the time. :P
 
user142019
4:31 PM
You are absolutely horrible and you should burn yourself.
 
they're easier to read and write
 
Principals and practices C++
Bjarnes book
 
user142019
Hmm.
 
user142019
Bjarne, I am disappoint.
 
He gets ahead of himself in these chapters.
See I don't even know what a c-style cast is lol XD
 
4:32 PM
@user2442335 understandable, really. C++ concepts form more of a web than a tree or list
 
cpx
I was hoping to find a detailed one.
 
@cpx the "core i5" processor in it is definitely x86-64
you'll be fine
 
cpx
Oh.
I see.
 
the "Windows 8 (64 bit)" is just saying that the OS was made to take advantage of the CPU's 64-bitness
 
cpx
I just heard about core i5 processor just yesterday haha.
 
4:36 PM
yeah, that's intel's relatively new naming scheme
all the core i[357] processors are 64-bit and x86-compatible
 
cpx
I was going for i7 just that it is a little expensive and the guy who was selling it said there's no need for it.
 
depends on what you're doing. a hardcore gamer or someone running a dozen VMs might care, but most people can get by with an i5
 
@cpx you're likely to get more out of an SSD over a HDD than an i7 over an i5, but yeah it depends on what you want to do
 
Xeo
IIRC, all i7 has to offer over i5 is hyperthreading, but I might be wrong
 
The only things that don't seem to work on the 64-bit CPUs/OS are jurassic 16-bit apps. Naturally, I have an i7/Vista 64 and several legacy 16-bit compilers etc. They will not run at all in native mode. They do run on a VMware XP-32, but at the speed of a Zoidberg project. I hive all those prehistoric builds off onto an Asus laptop, where they run fast enough on the atom thing to be useable.
 
Xeo
4:40 PM
Hey, he's rightfold now, not Zoidberg
 
16-bit apps should be burned anyway
 
cpx
Wait.
 
@MartinJames "at the speed of a Zoidberg project" haha
 
@cHao I cannot burn them - I HAVE to use them for support/maintenance.
 
Xeo
@MartinJames Isn't whoever you're supporting long dead by now?
 
4:41 PM
heh
 
cpx
It says on the spec that:
Intel Core i5-3230M (2.6 Ghz, Turbo boost upto 3.2 Ghz) And,
Intel Core i7- 3632QM (2.2 Ghz, Turbo boost upto 3.2 Ghz)
I don't see a difference with i5 and i7.
 
@Xeo Well, I have often thought of killing the original developer :) Sadly, the legacy Z80/6800 boards live on like zombified sloths:(
 
@cpx bigger numbers
 
are you still considering i5 vs i7?
 
@cpx actually, careful there. that i5 is a dual core with HT
intel does some weird crap when it comes to laptop vs desktop CPUs these days
 
4:43 PM
@MartinJames Hmm, Vista doesn't allow 16 bit segments in long mode?
 
cpx
@melak47 HT?
 
Xeo
apperently at least 1+4 people do not know the solution — user1358 30 mins ago
lol
 
@cpx Well, i5 is obviously double core, and i7 is obviously quad core, which you'd notice the second you opened Intel description of those :P
 
@Griwes I don't know the reason. exactly. The support for efficient, virtualized 16-bit apps is just not there anymore. Since this issue only affects ancient, near-dead, maintenance/support engineers working on ancient, near-dead legacy hardware, there was seen to be no noticeable demand.
 
4:47 PM
Just saw this on Twitter -- Almost every thread on StackOverflow: i.imgur.com/dOLkgVR.png Funny because it's true. :(
 
@MartinJames "Virtualized 16-bit apps"? Were you originally talking about DOS apps or what?
 
cpx
@Griwes I see.
 
@LightningDust you're late :p
 
@melak47 I am? :o
 
(Tip: you can run 16 bit protected mode code in long mode with no mode changes, if anyone missed that fact.)
 
4:47 PM
@Griwes Oh yes, I still have them :((
 
@LightningDust check the star board :p
 
@MartinJames Nah, DOS apps are irrelevant since quite some time :P
 
Oh :P
 
@Griwes ..except for me.
 
@MartinJames DosBox, then, not VM with XP :D
 
cpx
4:49 PM
@Griwes So, quad will be better with having same speed upto 3.2 Ghz?
 
@cpx it will for stuff that uses dem cores
 
cpx
Like for what purposes would you use a quad?
 
@Griwes :DosBox runs at about the same speed, if it runs at all. I once tried migrating to a 'modern' compiler for the old code. That was a waste of two weeks.
 
ok i rewrote that program but I kind of cheated XD
 
@cpx Rule of thumb: when talking about i7 and i5 of the very same generation, i7 will always beat i5.
@cpx make -j12 FTW on 8-thread i7.
:P
 
cpx
4:51 PM
Hmm.
 
@LightningDust Careers 2.0...makes me sad
 
@Griwes bit of an unfair comparison when the i5 in question isn't even a quad :D
 
So, C++11 improvements are officially off the table for VS2012 updates
 
@jalf Yep. Visual Studio is dead. Long live Visual Studio!
 
@melak47 Doesn't matter, as long as they are the same generation, i5 will not beat i7, you don't even need to look at specs.
 
4:52 PM
Guys I love you all.
 
@Griwes nah, but depending on what you need them for, the difference between an i5 quad and i7 quad might not be worth it
 
Xeo
I was hoping that there is some -permissive flag that lets me ignore that, btw: not a single compiler is fully stadards compliant by default — user1358 5 mins ago
 
@Griwes I guess if I mention 'power consumption', I will be plonked as pedantic?
 
Xeo
Okay, fuck this guy.
 
@melak47 i5 are poor man's i7.
Power consumption? Nah.
 
cpx
4:53 PM
Well, I guess the guy who was selling didn't know then. He simply said i7 won't be needed unless I know that I'll be needing it.
 
Xeo
Hm, Puppy crossed the 80k mark
 
I own a 17'' laptop, I do not care about power consumption.
:D
For what I use it for, i7 will always beat i5.
 
@Griwes which is?
 
@Xeo, uh, that poor guy still thinking he could do it?
Uh.
@Aboutblank Gaming and devving while lying in bed or sitting somewhere at uni.
 
are all mobile i5s dual cores?
 
4:56 PM
@Griwes I got i7 desktop because it was available at the time. I tend to buy the highest spec box I can reasonably get for my development purposes and keep them for a long time. I used by prev. box for 11 years, (and it still works!).
 
No idea, there probably are some top level quad i5s.
 
hm. well I guess I was too lazy to find them, I went with an i7 :p
 
I went with the best spec'd notebook I could find in my local store. :P
 
I really do need to put an SSD in there though, that HDD is so goddamn slow
 
I was kind of short on time when buying it, heh.
 
4:59 PM
@melak47 Laptop with no SSD is hopeless.
 
The only fear I have of installing an SSD onto my new build is that I'll start to depend on it and dread every system I use that doesn't have one
 
what's a reasonably priced 120/128 GiB one?
 
@BoltClock Yeah - with good reason.
I have not used a spinner as main OS disk for, like, 5 years. Never going back.
 
@BoltClock yes, and you should indeed do that.
 
@bamboon I don't mind depending on an SSD but I'm not looking forward to being driven insane by shitty speeds on anything else I use :<
 
5:07 PM
@BoltClock just do it and don't think about it
 
@BoltClock what else do you use that uses regular HDDs?
 
My laptop, although I'm probably going to have that replaced anyway since it has bigger problems than a slow drive
 
well, yeah that's the boat I'm in. Been enjoying the SSD in my desktop, and now my laptop just seems sooo slow ._.
 
5:23 PM
Has anyone used VS2012? There is no compile button...
 
@ShuklaSannidhya Use your keyboard. With C# layout, it's F7, I think it's F6 for C++.
 
was this already shown here?
@ShuklaSannidhya I noticed that but haven't gotten around to adding it back to the menus
 
@MooingDuck it's new to me at least
 
cpx
Some website says i5 dual code has a Base frequency which is higher than i7 quad? Is that an advantage of i5 over i7 I guess?
 
@EtiennedeMartel Fail...
 
5:29 PM
@ShuklaSannidhya What I mean is, stop moving your cursor around. It's faster to use the keyboard.
 
@ShuklaSannidhya Not sure if serious
 
@cpx only sortof. More and more stuff is multicore. Few things will be faster on an i5 than an i7.
 
especially with TurboBoost
 
@DeadMG meh turboboost.
 
cpx
@ShuklaSannidhya You can customize the toolbar to get the compile button, otherwise It is F7 I think.
 
5:31 PM
F7 does nothing...
 
@ShuklaSannidhya well, too bad. you gotta wait for VS 2013 then
 
Dwarf Fortress is one of the few games I still play that I know is still single threaded.
 
@ShuklaSannidhya What about F6?
 
@EtiennedeMartel fail.
 
Alright. Look at your menu bar.
 
5:32 PM
@ShuklaSannidhya have you tried the *#$%§! BUILD menu?
 
There's something called "Build".
 
@cpx That just says that i5 will always work at higher, erm, performance and power consumption :P
 
wtf, there's no hotkey for Build->project?!?
(I just popped mine open to check)
 
If there is something to do, then both be at the exact same frequency.
 
@MooingDuck there is, usually.
 
5:33 PM
you can map one
 
@melak47 F7 is build the whole solution
 
i7 will just shut itself down a bit more when idle.
 
@MooingDuck oh, well, who'd ever need more than one project per solution? :p
 
@EtiennedeMartel AFAICS, There is nothing called "Build" in VS2012...
 
cpx
@Griwes So, I guess that's an advantage with a disadvantage :P
 
5:34 PM
@ScottW: uh?
 
@cpx Nope, just a disadvantage.
 
You suck.
 
@melak47 our code at work just passed 170 projects and we're upgrading to this soon :(
 
Seriously, when you need the frequency, both will work at same.
 
5:34 PM
@MooingDuck was this the solution that takes half an hour to close?
 
@EtiennedeMartel wait...
 
@melak47 yes
 
1 min ago, by Griwes
i7 will just shut itself down a bit more when idle.
 
user142019
Hello!
 
@ScottW: I can't say I blame you. I am pretty awesome.
 
user142019
5:35 PM
I'm awesome.
 
cpx
Well, tomorrow I'm going to get either a system with i5 or i7. I guess I'll need to decide now.
 
@cpx whatever you decide, buy haswell and no old stuff
 
user142019
s/we/ke/
 
cpx
Right well why not spend a little extra for i7 that's what I was wondering.
 
@ShuklaSannidhya I'm starting to think that you're not even trying.
 
5:38 PM
@cpx IMO CPU speed means little for 99% of what we do nowdays, it's all about diskspeed/RAM/FSB. IMO.
 
@ScottW I'm very optimistic about people.
 
@bamboon my desktop is still running sandy bridge :p
 
@ScottW Because most people are cool.
 
@melak47 I assume you bought 2 years ago
 
@ShuklaSannidhya right click the "Debug" icon->customize->commands->Add command->build->Build Only Project->OK->MoveDown/MoveUp.
 
5:41 PM
@bamboon well, yeah
 
@MooingDuck Tell that to template-compiling people.
:P
(I mean Spirit-level templates here.)
 
user142019
I am so bored.
 
NO BUILD...
 
Why are you still using pre-release software?
 
@ShuklaSannidhya It appears a release candidate of VS Express for Win8 has no "build".
 
5:44 PM
@Griwes 99% is not 100%
 
@ShuklaSannidhya Also, no return type for main? Ergh.
 
@MooingDuck Nah.
 
interesting, today when I type in the address bar of chrome, it randomly acts like I hit the enter key.
it seems tied into the bit where it guesses what I'm typing
 
Someone please punch in the face... I installed RC... Holy shit...
 
@ShuklaSannidhya I'll mail you a punch.
 
5:46 PM
no wait, that's batch build
 
@EtiennedeMartel That's C.
 
@ShuklaSannidhya No it isn't.
 
12
Q: Punch a user button!

Manishearth Gotten frustrated with a user? Want to vent? Feel like punching them? Don't worry, here's a script that adds a "Punch" button to every gravatar. You can punch all the worst users now: Installation Click here to install. Will work in Chrome or Firefox (the latter requires Greasemonkey). S...

10
 
@ShuklaSannidhya I have a userscript that punches users
@ShuklaSannidhya punched
 
Xeo
Time for.... pesto with mozzarella!
 
5:49 PM
7 hours ago, by John
STOP SWEARING!!!!!!!!!!!!!!!!!!!!!!!
 
@EtiennedeMartel It throws a warning... No an error... I don't mind being warned.
 
@ShuklaSannidhya Warnings are errors waiting to happen.
 
I like having 0 warnings.
 
@Xeo Hmph.. I just knew that when I got back to the Lounge, someone would be posting food. Hungry :(
 
@EtiennedeMartel What sort of error happens when I don't have a return type for main?
 
5:51 PM
Evening.
 
@StackedCrooked How is your mom?
 
It's normal for a newbie to be pretty damn confused about tokenization and parsing at first right lol?
 
She's fine.
 
@StackedCrooked Hi, Pisa-man. TBH, I would prefer pizza-man ATM :)
 
@ShuklaSannidhya Not that particular one, yes, but if you start thinking that a warning is alright, then you'll let more serious warnings slip.
It's about discipline.
 
5:53 PM
I'm trying out the dictation feature in OS X.
 
@Rapptz @EtiennedeMartel I like having 1 and only 1 warning.
 
> The lounge is the best place.
I said: The lounge is the best place on earth.
Close enough.
 
@ShuklaSannidhya You want to be sloppy? Fine. Don't come crying when your code starts breaking down later.
 
@StackedCrooked Maybe, but you can't eat it :(
 
I can eat other things.
 
5:55 PM
@EtiennedeMartel This one's for you - int main() {return 0;} /*please note this is a C code*/
 
I have to. Calling 'Double-Pepperoni and Jalapenos Man' now.
 
@ShuklaSannidhya I don't care if it's C.
C doesn't mean "I can write shit and get away with it".
That's PHP. Not C.
 
In standard C you can't omit the int from main anyway.
 
@EtiennedeMartel It does if you quit after writing the code but before testing starts :)
 
TIL - Add a return type to main in C... otherwise a velociraptor will come and rip you apart into 65536 pieces.
 
5:58 PM
3 hours ago, by Bartek Banachewicz
the worse they looked, the better the code was, but still nowhere near the acceptable level
:lol:
 
I missed the 'NO SWEARING' thing :(
 
Just a couple of retards you didn't miss anything
 
@MartinJames Sorry
 
Unless you count "bloo bloo you so mean for posting animated gifs" as notable
@ScottW Not really
 

« first day (964 days earlier)      last day (4000 days later) »