« first day (940 days earlier)      last day (4010 days later) » 

12:06 AM
I do suck :\
 
user142019
@Pawnguy7 Indeed.
 
I feel so... broken.
 
It's okay
We all are
 
user142019
 
12:17 AM
I am surprised that Javascript popularity has remained stable.
 
@rightfold you are a sick man
 
I think the javascript chat room is the 2nd largest to c++ if not larger at some times...
 
user142019
Indeed. I'm getting sick of all those commercials.
 
@Mikhail I haven't visited it.
@rightfold I don't watch commercials
mostly
 
In windows batch, DIR resolves to the current dir, right? Or is it %DIR%? :\
 
12:19 AM
@Pawnguy7 Did you try it?
 
user142019
@Pawnguy7 %CD%
 
user142019
Also, just use Unix: `pwd` et voilà.
 
@Code-Guru I am not sure if that is the problem or it is the other five parts.
 
@Pawnguy7 lrn2bash =p
 
user142019
dir is Windows' ls.
 
user142019
12:20 AM
@Code-Guru s/bash/Z shell/
 
@rightfold pft
 
user142019
Z shell is the best.
 
@rightfold How so? (p.s not starting an argument...I've just never used it)
 
user142019
Because this is the first sentence of the Z shell manual:
 
user142019
> Because zsh contains many features, the zsh manual has been split into a number of sections.
 
user142019
12:22 AM
Followed by a TOC of 17 sections.
 
@rightfold umm...aren't most manuals split into sections?
or are you saying it's the best because the manual states the obvious...
 
user142019
Most shells don't have so many features.
 
give some examples ;-)
 
user142019
And Z shell is fully customizable and has great completion capabilities.
 
still not convinced...
bash is customizable and has completion capes
 
user142019
12:25 AM
Built-in socket API and FTP client.
 
okay...that's something a little more concrete ;-)
 
user142019
Left-hand side and right-hand side prompts.
 
user142019
Globbing is more extensive.
 
Xcopy, why u no find my files
 
I have a plugin that gives bash completion.
 
12:26 AM
a plugin?
 
user142019
History works across multiple concurrent shells.
 
afaik, bash does completion without a plugin...at least for file names.
 
user142019
Vi mode instead of Emacs shortcuts.
 
Actually I have no clue what it is, but it gives it zsh like completion
 
12:27 AM
@rightfold now that could be useful
@rightfold emacs ftw!
 
user142019
Spelling correction.
 
I started looking at vi recently, but I've just been using emacs too long to swithch...besides, I use Eclipse for 99% of my programming any more.
 
user142019
Multiline command editor.
 
user142019
@Code-Guru Vi is terrible.
 
user142019
Use Vim.
 
12:30 AM
Does anybody have pity on me and want to help me get this right?
 
what are you trying to do?
 
@rightfold What's the difference?
 
Here is an example of a post build event COPY "$(ProjectDir)\0.bmp" "$(TargetDir)"
 
Well. I basically want to copy a folder (and anything in it, preserving the hierarchy), and rename the copied folder to something else.
 
user142019
54
Q: Difference between vi/vim

AbhimanyuMany times I have seen that people are discussing about the vi/vim editor. I use the vi editor, but since I was curious to know the major differences between two awesome editors I have started using vim. But I couldn't figure out the major differences between those two, they seem almost the same.

 
12:32 AM
COPY and then rename
Its like DOS except it runs in Windows
 
um...
COPY?
 
just use dos commands, the day I use xcopy is the day I replace my parallel port
 
@rightfold so vi is to vim as C is to C++ =p
 
user142019
Yes.
 
I don't know those commands either. Well, rename is probably simple. Anyway, basically like this.
 
12:34 AM
copy rename
 
Does that get any subfolders though? Or do you mean, copy things manually?
Sigh.
For some reason I cannot seem to think clearly today.
 
the spice is life. drink more coffee
 
Wait, why is xcopy bad?
 
i just never used it
I also failed at using it
 
Oh.
 
12:39 AM
i'm actually quite incompetent
 
Me too :\
 
@Pawnguy7 Why not just copy olddirname newdirname?
Or even xcopy olddirname newdirname...
 
Um...
 
or are you trying to do something fancy like ignore certain files/folders?
 
Not at all. Just want to basically mirror what would happen if I manually copy and paste (and then rename)
 
user142019
12:43 AM
$ cp -R olddirname newdirname
 
erp
 
I got some progress in on my question (stackoverflow.com/questions/16513152/…) I think if you use OpenMP sections the compiler will vectorize the loop, but it still is rather ugly and impractical for my 32 core machine... One day I will learn templates...
 
What is the difference between C++, Objective C and C?
 
Um...
 
The most basic difference, I mean...
 
12:44 AM
I cannot speak for objective-C.
 
In C++ land you think in terms of objects in C world it is pointers and memory. Objective-C is some bullshit from Steven Jobes
 
Objectiv*ist* C?
 
Oh ok, haha. So C++ is similar to Java in that it is an OOP?
 
Jobes haha. I must be tired.
 
user142019
@DemCodeLines Objective-C adds a Smalltalk-like OOP layer to C. C++ is based on C and adds classes, inheritance, template metaprogramming, type inference and namespaces among other features.
 
12:47 AM
This is a comparison of the Java programming language with the C++ programming language. Design aims The differences between the C++ and Java programming languages can be traced to their heritage, as they have different design goals. * C++ was designed for systems and applications programming (a.k.a. infrastructure programming), extending the C programming language. To this procedural programming language designed for efficient execution, C++ has added support for statically typed object-oriented programming, exception handling, scoped resource management, generic programming and temp...
 
@rightfold Oh so it is similar to Java after all then. Thanks!
 
user142019
@DemCodeLines They both use Simula-style OOP.
 
@DemCodeLines C++ sucks less than the other two ;)
 
user142019
Except Java does it very poorly.
 
Java is lies built on pointers.
9
 
user142019
12:47 AM
C++ is based on value semantics.
 
user142019
Java is based on reference semantics.
 
"If Java had true garbage collection, most programs
would delete themselves upon execution."
-- Robert Sewell
 
user142019
Also, Java lacks multiple inheritance and private and protected inheritance as well as friendship.
 
Do you guys have any idea as to why schools teach Java under "computer science" instead of C++ when C++ is one of the most popular languages?
At least in US, java is the first language taught
 
I saw a SO question about that once.
 
user142019
12:48 AM
67
A: Why do we study Java at university?

Jerry CoffinA few Universities have somebody who's sufficiently well known that many (if not most) decisions revolve around that person's likes, dislikes, opinions, taste, etc. Just for example, Texas A&M has Bjarne Stroustrup on staff; it probably comes as little surprise to anybody that their curriculum te...

 
@DemCodeLines From my experience I have seen the most success in students who start from Java. Honestly it is easy to use for small projects.
 
user142019
TL;DR: Java is simple and never changes so it takes no effort to teach it.
 
@rightfold I think that is it, yes.
um...
 
user142019
Players.
 
somehow I screwed up the install -_-
it was all ? marks.
 
12:49 AM
"First, decisions are often made much more for the benefit of the faculty than the students."
hmm
 
I think I can get a picture.
 
So you are telling me that schools don't care about the students?
 
user142019
@DemCodeLines Of course they don't.
 
user142019
They care about money.
 
user142019
They need to pay the teachers.
 
user142019
12:50 AM
And, at least in The Netherlands, teacher is a horrible job.
 
user142019
Not well paid, students are annoying, crappy environment.
 
I was going to ask you, something.
Why is it called what it is?
 
user142019
They should teach Python in university.
 
user142019
It will immediately teach students to get their fucking indentation right.
 
user142019
If I were a teacher, I would subtract points for not indenting properly.
 
user142019
12:53 AM
Good.
 
"You ain't got no Astyle"
 
@DemCodeLines That depends on the school you go to. My alma mater still teaches C++ afaik rather than java.
 
Makes sense, really. Assuming we are talking about obvious things. Not so much preference things.
 
user142019
Mine is terrible.
 
user142019
12:53 AM
horrible—terrible
horrific—terrific
English making no sense
 
Also.
Installer fullscreens? Why :\
I get it, but I wonder what the engine makers had in mind.
 
user142019
Because you don't use imgur.
 
user142019
It's your punishment.
 
I mean, who wants to look at an installer fullscreen? I don't want to look at them normally.
@ScottW what .exe?
 
user142019
And that's why we use a tiling window manager such as i3.
 
12:55 AM
That was the only .exe I found, that is why I ran it :D
oh.
 
Does anybody know why I can put __restrict in the cpp but not in the header files?
 
Never seen that file type before :D
Yup.
 
user142019
@Mikhail Don't use __restrict.
 
@rightfold suggestions?
 
user142019
T* instead of T* __restrict.
 
12:58 AM
The game fullscreens too :\
Also.
Can you use real names in games?
 
@rightfold when the alarm clock goes off it comes on.
 
xcopy "folder" world \E \R \Y
 
Feel free to try to break it, too!
 
^syntax error. I am not sure what though. Er, wrong number of parameters.
 
@Code-Guru why do I need network acess to collect baseball cards...
 
1:03 AM
the school used to teach python or pascal, one of them, but they took that away.
I don't know if it is because not many people use it anymore or its because they couldn't find someone to teach it.
 
@Pawnguy7 Your free hint is /?
 
@Code-Guru Your app killed my Atrix-2, stuck on "Facebook is not responding"
 
Code-Not-So-Guru xD
 
@Mikhail The app has an ad-banner on the main page. Needs network access to pull the ads.
@Borgleader =p
@Mikhail that's really strange...my app doesn't do anything with Facebook...
@Mikhail Were you facebooking while downloading my app?
 
@Code-Guru, no could it be the ads?
 
1:10 AM
@Mikhail I use Google's AdMob API. It's possible that Facebook comes into play somewhere...
 
@Code-Guru I actually don't facebook (already have a face), this could have been a false positive.
 
@Mikhail yah, SO chat is much better than FB.
@Mikhail thanks for dling it ;-)
@Mikhail Let me know if you find anything else or have any suggestions. I'm logging...time to go grocery shopping...
 
@Mikhail You need network access for your cloud-connected mouse.
 
@JerryCoffin no I have no clue what you are talking about...
 
lol
"get imba"
@Mikhail BTW, I'd delete and remake your question since it has two unwarranted downvotes
 
1:20 AM
@Mikhail The Razer Naga uses cloud storage for profiles. It's settled down now, but there was a bit of a hoopla when it was new.
 
both presumably from this room
 
@Rapptz yeah these guys are nice, actually tested one of their apps
 
First time chatting from my fileserver.
Which will be my new main machine from now on for a while.
 
@Mysticial are you using wget+emacs to browse the SO like RMS?
 
nah
anyways, off to dinner.
 
1:30 AM
Installed Visio to do UML diagrams... it crashed. Lost 20 min of work.
T_T
 
fuck, man, this is unfair
yesterday I ate 16 kitkats and I was feeling better this time last night.
 
> 16 kitkats
I'm unsure if you mean 4 since they come with 4 or actually 16.
 
16 kitkats?
 
@Borgleader If you really must do UML diagrams, try NoMagic MagicDraw.
Don't get me wrong: use use Visio too, but rarely, if ever, for anything that involves more than a half doze (or so) boxes with arrows between them.
@ShafikYaghmour Kitkats, presumably.
 
I was hoping to reverse engineer a diagram at first, but it seems they removed that functionality in recent versions
(I got mine from Dreamspark)
 
1:39 AM
@Borgleader Ah, that does make it hard to argue in favor of anything else (that isn't free, anyway).
 
@Borgleader Do.. you not save?
 
Well not every 2 min no
 
I save every change I make
Just out of habit from school.
 
Also, since it's part of the Office suite I assumed it would auto save
 
@JerryCoffin I think I was more shocked at the 16 number and hoping I was missing something
 
1:41 AM
apparently you have to enable the feature in Visio (i now have it set to auto save every 2 min)
 
@Borgleader Even with auto-save I press Ctrl + S
It's a reflex.
 
@Rapptz It is a muscle reflex for office products by now, although I have not had a major crash from one in a few years
 
@Rapptz I do that in VS and sometimes Word but not anywhere else
 
If /r/gamedev is a representation of game developers in general then I don't like most of them
 
lol
 
1:51 AM
Heh, the trailer for the MLP was released: nytimes.com/2013/05/13/business/…;
 
Wow. That's horrible.
 
@Rapptz at least they're not phil fish
 
Is that real?
 
Yeah
 
Wow.
 
1:54 AM
Show pretty much went to shit once the marketers took over
 
I never liked it to begin with but that's just awful
 
hmm
one wonders what label we will give to people who like the film
I mean, something like brorls just doesn't work
maybe we'll just make up a word for them
 
They are disgusting humanfuckers!
Also, is there a way to get struct coord : boost::totally_ordered<coord> to not break my aggregate property?
 
@Pubby Well, no.
 
You can slap boost on the wrist if you want
 
1:59 AM
@LucDanton So there's no good way of generating those other operators then?
I miss Haskell's derive :(
 
What's special about it?
 
@JerryCoffin ( Justa quickmessage. You doin' okay, dude? )
 
All I've used it for was for deriving from Show
 
@Pubby There's another technique but I don't know if Boost.Operators has it. Look for ADL via template parameters.
@Rapptz With the proper extensions it's okay.
 
@LucDanton Is that like std::rel_ops?
 
2:02 AM
I don't think std::rel_ops is intended to be useful.
Is there a canonical tag to trigger ADL?
 
@LucDanton Hey, you mentioned yesterday (or was it earlier today?) about Klei-sel (sp?) Composition, while I was talking to @Potatoswatter about my FunctorChain<T> concept.
 
@LucDanton For rel_ops? I don't think so. Robot told me rel_ops sucks bad.
 
So yeah, it's not like std::rel_ops. It actually works.
template<typename T = std::rel_ops::tag> struct coord ... if there was such a thing as std::rel_ops::tag though.
 
Are there any operators in C++ with right-associativity?
 
2:14 AM
Overloadable ones?
 
Lmao.
 
How did you not know that?
 
How many of you would enjoy operator |= to be overloaded on soptional<T> ? :3c
Lol.
optional chaining is far too weird.
optional<int> op;
optional<int> op2;
std::cout << ( op | op2 | 0xC1CADA ) << std::endl;
op = 24;
std::cout << ( op | op2 | 0xC1CADA ) << std::endl;
op = none;
op2 = 56;
std::cout << ( op | op2 | 0xC1CADA ) << std::endl;
op = none;
op2 = none;
std::cout << ( op | op2 | 0xC1CADA ) << std::endl;
But, it works
// prints:
12700378
24
56
12700378
 
2:41 AM
I need to be here more and less of where I have been.
 
What?
 
@Pawnguy7 Said no-one, ever.
 
@DeadMG you don't know what I have been doing the last four days
say this is much better
 
having sex with supermodels
no? I thought that'd be a good bet
 
Ugh.
functor_chain<T> is not going so well. >_>
 
2:55 AM
user image
3
 
I forgot how to kill these guys.. ;_;
 
SNES9x <3
Wow, scrub. You have 30 arrows and 999 Rupees but you can't kill a basic enemy.
Kill yourself I hope you die in that dungeon.
 
Actually I already did.
Also, fucking hidden doors.
 
Oh
Lol
 
2:56 AM
giving me rupees out the ass.
 
@EtiennedeMartel =[ Why are you pinging me?
 
@ThePhD Hihihihi
 
@Rapptz How dare they make you rich!
 
1 hour ago, by Pubby
Heh, the trailer for the MLP was released: http://www.nytimes.com/2013/05/13/business/equestria-girls-a-my-little-pony-offshoot-in-its-movie-debut.html?_r=3&
 
@EtiennedeMartel God damn that is awful
I thought the image was bad.
but this.
 
2:58 AM
@EtiennedeMartel Generics are really weak and powerless.
 
@DeadMG You know, I'm trying hard to post stuff of interest related to MLP. So the least you could do is try hard at trolling.
 
@ThePhD The arrows! They do nothing.
 
seems to be working to me
 
@Rapptz Well then, try something else. :D
 
why expend effort when I could get a good result without effort
 
2:59 AM
@DeadMG If it worked, I would be arguing about the point you just made.
 
no, that would be debating, not trolling
 
@Rapptz I watched it and even I could tell it's a half-assed cash-grab with a bunch of teeny-bopper shit in it. Looks like they're making a purse-dive for young female teenagers ( /cc @EtiennedeMartel )
 
@ThePhD That's exactly what they're doing.
 
anyway, I'm just being lazy right now because The Scene is failing me
 
They're already attracting middle aged males.
 
3:00 AM
how can it not deliver me the very latest television shows for free
 
Who cares about female teenage
 
Hasbro isn't doing too well outside of a few brands, so now they're trying to slap MLP on everything.
 
What happened to board games?
 
aaah, the US: where everything is about what labels you can slap on people
 
Do people not play those?
 
3:01 AM
@Rapptz But we need something that can attract young impressionable teenage girls. (/cc @EtiennedeMartel)
 
I always thought the reason why online variations of board games sucked was so we could buy the physical ones.
So how do I kill that thing :(
Bombs aren't helping either
 
kill what thing
 
8 mins ago, by Rapptz
user image
 
@Rapptz Run around in circles until it gets dizzy, then run into it. :D
 
I wasted 300 rupees on this minigame to win 300 rupees. :(
 
3:12 AM
And you won, right?
 
yeah on the third try..
 
:3c
 
Time to get 3 hours of sleep and then feel horrible for the rest of the day
 
But why? :c
@DeadMG Psssssst. I need some help making my FunctorChain<T> :c
 
spit it out foo
I ain't got all night
 
3:20 AM
At the moment, I can select out all the individual functors, no problem. The problem is how to compose the start of it: i.e., I want to be able to have a functor that can take more than one argument (to start the chain, although the rest of the functors will depend on the return value of the last one executed).
 
you want something like r | where(predicate) | select(predicate)?
 
So, for example, something like make_chain( "Hello", "World", CombineLengthOfTwoWords, PrintInteger ) <--- I can do the second two, but it's how to do the first part of it ( "Hello" and "World" to `CombineLengthOfTwoWords ) that's throwing me off.
(using variadic templates)
I don't know if I should use a marker, or if there's another special trick I'm missing, or what.
Or if I should change the order of the arguments, and if so, how could that help deduce stuff, but... it's
It's weird. D:
I don't want to pass arguments to all of the functions. Just the first one in the chain should be able to take any number of arguments.
After that, the rest of the chain is a one-to-one function deal
Return -> Parameter -> Return --> Final Parameter --> Final Return
 
you're doing it wrong
there's a reason why everyone else does operator chaining and it's because your approach is impossible
 
Sounds like you want a functional programming language.
 
you can't tell the difference between the user wanting PrintInteger(Combine("Hello, World")) and the user wanting PrintInteger(Combine, "Hello", "World")
what you need to do is have the user specify composition by a different method - usually an operator.
so tuple("hello", "world") | Combine | PrintInteger vs tuple("hello", "world", Combin) | PrintInteger
now it's disambiguated
It wasn't deleted, but binned
1 message moved to bin
Yeap, ask the Bin.
 
3:37 AM
pff..
 
holy cockfucking shit, my internet is so slow
 
3:56 AM
That's....
.... very unfortunate. =[
So there's no way I can do what I want without using an operator to separate things out?
 
you could also use a nested function call, but that's generally ugly
 
Well, the thing in my case is that the only function that takes multiple arguments (or any arguments at all) is the first functor.
 
still not enough
 
The rest chain directly from the last return parameter of the last functor.
Aww. =[
 
@DeadMG Blame your lack of ponies.
 

« first day (940 days earlier)      last day (4010 days later) »