« first day (732 days earlier)      last day (4232 days later) » 

7:01 PM
i love the breadth of c++ libraries and examples
 
@enko Erm.
 
@enko ?!
 
@enko that was fat.
 
@DeadMG Eh, it's the same thing as that C++ FQA guy who says C++ is crap because it does not have garbage collection out of the box.
 
@DeadMG int a();
 
7:02 PM
its true, i find far more examples of doing things in far more variety than i do for c#
 
But you are testing with different arguments; you have an apostrophe in the Linux version and an exclamation mark in the Windows version. Check if it's the apostrophe that makes the difference. — Mr Lister 9 mins ago
^ lame troll
 
@EtiennedeMartel Eh, I don't think so. The ownership-based solutions are far more effective and generic
whereas IDisposable is nearly entirely worthless
 
@DeadMG Oh, so you you prefer try/finally?
 
Ell
I think c++s smart pointers are better than GC becuase they are documentation about ownership
 
@Ell You mean the std::shared_ptr that will break if there's a loop?
 
7:04 PM
@EtiennedeMartel I'm unaware of that. link?
 
0
Q: c++ regex different behaviour on Windows and Linux

gekanntI have such code that uses from C++0x standard. And it doesn't work on Linux, but works as it should on Windows. int main( ) { const regex r("cc"); for ( string s; getline(cin,s); ) { smatch m; const bool b=regex_search(s, m, r); cout<<b<<endl; if (b) { ...

^ needs close votes (dupe)
 
Ell
That std::unique_ptr means ownership
 
@EtiennedeMartel There's no way that was what is meant, no. How dishonest of you.
 
@EtiennedeMartel cycle
 
Ell
and shared means shared ownership
also doesn't python have that problem?
 
7:04 PM
@EtiennedeMartel I'm pretty sure he prefers RAII
 
@Ell Many languages have that problem
 
@sehe oh, right. cycles.
 
@Ell it does.
 
@EtiennedeMartel Eh, you could implement using with a Python script.
 
@EtiennedeMartel loops only happen if you don't understand how "ownership" works
 
7:05 PM
@DeadCicada huh? many like which ones?
 
more relevantly
I'd prefer a solution that actually worked
I'd prefer value types that weren't utterly gimped
generics that aren't barely adequate
 
They get the job done.
Let's not forget that a language is a tool, not a way to do mind wanking.
 
yeah, if you consider Func vs Action "job done"
 
@Abyx It's not language specific but GC specific actually. Python has (or had) this problem, PHP too
 
I'm doing practical things with C#. And I'm not suffering every step of the way.
 
7:07 PM
@EtiennedeMartel assembly gets the job done too
 
@MooingDuck Yes, but it's painful.
I do not get that feeling with C#.
 
@EtiennedeMartel The primary reason for that is because Microsoft went out and wrote good tools and libraries for it, and they haven't for C++.
 
> mind wanking
lol ^
 
you can get practical things done easily with the PPL, the only actual library they've shipped for it in two decades
if they put in the same amount of effort, you wouldn't find it so disparate
 
C++ is not an easy language to write tools for.
 
7:08 PM
@DeadMG speaking of such, does anyone actually know how to use Microsoft's C++ allocators? msdn.microsoft.com/en-us/library/ee292134.aspx
 
now I'm not saying that it's not an advantage worth considering, because it is, but it has nothing to do with the language and everything to do with Microsoft's corporate culture
 
PHP has it's problems :D
But it is a great language otherwise lol
 
@Nils Starting with PHP itself.
@Nils Go hang yourself.
 
@DeadMG Depends. First, you can't really consider C# by itself. You have to include .NET. So, it wouldn't be that much of a stretch to include the whole toolchain in it.
Well, it would be a stretch.
 
Rasmus Lederdorf should go hang himself
 
7:09 PM
But still.
 
@Nils Rasmus Ledork
 
all I'm saying is
 
:)
 
if you want to compare C# to C++, then don't forget to ditch all the Microsoft-specific pre-provided libraries
 
7:10 PM
which I'll bet that you depend on very heavily
 
....an answer I posted got upvoted 2 seconds after I posted it...wtf
 
Btw did anybody have a look at that blogpost: gibney.de/does_anybody_know_this_fractal I tried to reproduce it but failed miserably :(
 
@DeadMG And don't forget to ditch the C++ stdlib as well.
 
@DeadMG That's not reasonable.
 
@EtiennedeMartel Not at all. That's part of the language.
 
7:10 PM
It's like comparing C++ without std and such
 
I wouldn't suggest to drop System.String, because that's part of the language.
 
@DeadMG It's part of the BCL. Which is shared with every CLI language.
 
but WPF and such are Microsoft-specific
 
I think he means the non-System namespace
 
WPF yes
WPF is not in the BCL, is it?
 
7:11 PM
@DeadCicada It's not.
 
@EtiennedeMartel Same point.
 
You can't do a lot with C++ if you only use the standard library.
Same with C#, actually.
 
quite true
 
I'm not talking about functionnality. I'm talking about, idk feeling of niceness
How subjective I know
 
yeah
the feeling of having to put all your algorithms in a worthless class
 
7:13 PM
you also need to do this in c#?
 
yep, just like Java
 
There are static classes, but it's just syntactic sugar.
In practice, it's like if you put your algorithms in a namespace.
For varying definitions of "like".
 
I was going to say
the main problem is that it can't be top-level and you're going to have annoying naming conflicts up the wazoo with every UtilityClass ever
 
You're crazy.
Trust me, you won't. I think I've written a fair share of C#.
 
7:16 PM
and no friend
I like friend.
 
@DeadMG Never had any problem. Been writing C# for 3 years.
 
it works for me
 
@DeadMG We got internal.
 
Well it is just C# or Java is nice and all that stuff. But pros use C++ :)
 
internal can do the job of friend.
 
7:17 PM
It's not as good, though.
 
Pros use the right tool.
 
that we can all agree on
 
In practice, I don't have to use as many workarounds in C# as I do in C++. Then again, I mostly wrote C++03, and C++11 seems to fix many of the issues I had with C++.
 
@TonyTheLion lol
 
7:18 PM
in any case, I actually think C# and C++ have ironically similar histories
start with shitty language (C, Java), try to fix with decent features
 
@TonyTheLion favoriete
 
@DeadMG C#'s goal was to make a better Java, I think. They've succeeded.
 
They succeeded at v2.
 
Yes they made actual Java better too.
 
@EtiennedeMartel If I had to pick java or c#, I'd go with c#
 
7:19 PM
Yeah. I wouldn't want to touch C# 1 with a ten foot @CatPlusPlus.
 
@EtiennedeMartel Now they're just repeatedly making better C#s.
 
It was forced to compete.
 
@EtiennedeMartel It's not really fair to compare C# 4 with C++03
 
@DeadMG Indeed.
 
@EtiennedeMartel n1
 
7:19 PM
I'll give you that C++11 took a little too long to come out
 
"A little"
 
but it's certainly a vast upgrade
 
@DeadMG Gotta love design by committee.
 
agree
 
C# gets lots of new features quickly because the people working on it would be jobless if they stopped adding new stuff.
 
7:20 PM
Nah
 
We're lucky to have a committee that actually cares about C++.
Java doesn't have that luck.
 
C++ has a committee, C# is just MSFTs thing..
 
I agree
 
@EtiennedeMartel At lesat they're always pretty useful features.
 
WG21 might not be the greatest, but it's a far cry from Java's crap
 
7:21 PM
Ok, dinner. Later.
 
@R.MartinhoFernandes Haven't played with async and await yet.
 
by the way, I've been thinking more about yield return
I decided that you made a valid point that it's fairly decent
 
@EtiennedeMartel It's also very "modern"
 
but I think I disagree that it should qualify as a language feature
I think that in Wide it can be a library feature
 
I should make a language :D
YASL
 
7:23 PM
You All Suck Lesbians?
 
@DeadCicada You could call it "French". It would regularly go on strikes.
 
Yet another shitty language
 
@EtiennedeMartel Let's be fair, practically every'fuckin'one is striking right now
 
Quality of standard from a Committee vs Designer is arguable.
 
Ell
7:28 PM
@DeadMG yield return?
 
@Ell A pretty swell thing.
 
70
Q: What is the yield keyword used for in C#?

HermsIn the How Can I Expose Only a Fragment of IList<> question one of the answers had the following code snippet: IEnumerable<object> FilteredList() { foreach( object item in FullList ) { if( IsItemInPartialList( item ) yield return item; } } What does the...

 
41
A: What is the yield keyword used for in C#?

SvendRecently Raymond Chen also ran an interesting series of articles on the yield keyword. http://blogs.msdn.com/oldnewthing/archive/2008/08/12/8849519.aspx (part 1) http://blogs.msdn.com/oldnewthing/archive/2008/08/13/8854601.aspx (part 2) http://blogs.msdn.com/oldnewthing/archive/2008/08/14/88622...

Interesting.
 
hmm
japanese food
 
Ell
all I know is ruby's yield keyword
 
7:32 PM
order takes 45 seconds chrono :P
 
I could think with the concepts outlined
I have yet to find more along this line. @R.MartinhoFernandes maybe you can write some going into some similar topics? (Maybe you already have, I don't know)
 
@TonyTheLion Weird. His StackOverflow account doesn't have many votes for the tag.
 
Maybe he doesn't bother answering C++ questions.
Donno
 
I just wrote my 24th SO question!
 
@MooingDuck That's +1*24 more than me.
 
7:36 PM
It's 23 more than Mysticial xD
 
@Rapptz who is rfw?
 
@MooingDuck Author of the article above.
 
@TonyTheLion Hey, I've got some TMP stuff on my tutorials too, y'know
 
@DeadMG I missed that then :(
 
What assumptions would you make about a library that "correctly" compiles with over 1000 warnings?
 
How do you manage to get it to print 1k warnings?
 
vc++
 
Mine usually stops after 150.
 
version?
 
10/11
 
7:45 PM
@enko I'd assume you cranked the warning level too high. Dinkums library sets off lots of warnings at warning level 4+.
 
Might be custom solution setting.
 
btw
I decided to put manual resource management before unique_ptr
 
@DeadMG whaaaat?
 
it's just so hard to talk about the advantages of unique_ptr when you don't have anything to contrast it with
 
@DeadMG ah
@DeadMG "when you uppercase ß in German, you get SS- two characters instead of one." (Chrome WinXP32)
your menu system makes no sense.
 
7:49 PM
/W3 with 1068 warnings
 
@DeadMG Navigation is a bit strange inside the tutorials.. maybe separate the breadcrumbs from the top level navigation?
 
codepuppy.co.uk/cpptuts/Unicode/Unicode.aspx has these menus: Home About Donate Unicode Index Tutorial Index Why is Unicode Index to the left of Tutorial index? Shouldn't those be in some tree-like structure? Or a list?
@Collin tutorials should also link to the "next/previous". Unicode/Unicode refers to Unicode/Encoding, but has no link to it
 
@MooingDuck Yeah, some encoding issue that I got when I used Python to convert the original Markdown script.
@MooingDuck Because when you click Unicode Index, then Tutorial Index immediately appears underneath it, so if you want to go back two levels it's a simple double click
@MooingDuck Yeah, I know.
 
Triple ping.
 
some of them also need re-ordering and generally checking, as I've accumulated some technical debt on them
 
7:55 PM
@DeadMG Unfortunately it has the side effect of being super confusing to read
 
hm
 
Make breadcrumbs, don't modify menu.
 
well it sure would make some other stuff simpler if I didn't do things in that order
 
I think it's because people are used to the whole format going like home > index > subindex > article
 
@CatPlusPlus breadcrumbs ftw
@cat had you added glload to the vendor library?
 
7:58 PM
Where?
In Kyro? I don't know.
Nope.
 
here
I re-ordered the top nav bar links
now I have about-donate-home-tut index-subsection index
 
It's probably the best place for it I think, no?
 
hmm
you think I should move donate/about to the side nav on the homepage?
 
@DeadMG just use two things, one for majour sections of you site, and one for bread crumbs
 
I think home should be first
I'm used to clicking the left-most link to go back to the homepage. e.g. reddit/stackoverflow etc
 
8:01 PM
@thecoshman Cept then I don't have anywhere for the next level down, as twere.
 
I am going to 'trim down' the team on BB so that we can at least commit to it for the now
 
@DeadMG ironic
 
@MooingDuck Indeed.
huh
shows up as the correct character here in Visual Studio
 
@DeadMG huh? have at the very top, or a side menu things like "Home - Blog - Tutorials - Wide - Donate" then have a breadcrumb thing beneath it "-> Tutorials -> C++ -> Basics -> Compilers"
 
@DeadMG Just put a bar between them to distinguish, and thats fine
@thecoshman beneath it?
 
8:04 PM
Why is it called breadcrumb?
 
@Rapptz Shows how you got there
 
What does that have to do with bread?
 
@MooingDuck under it
 
@Rapptz Hansel and Gretel
 
8:04 PM
@Rapptz Analogous to a trail of breadcrumbs to tell you how you got where you are.
 
Oh I see.
 
@thecoshman oh, I thought you were saying that's what you see now
 
@MooingDuck now, I am suggesting he has two rows of stuff, a global menu and a breadcrumb
 
oh
I'll just put about and donate on the right hand side
hmm
at least, I'm trying :P
 
Wow, in Moonraker they go to outer space ?
 
8:10 PM
the novel doesn't but the film does, iirc
 
That's hardly an adaptation if thay add the "they go to space" thingie
 
eh, I'm not sure it's substantially different
 
one day I might actually read the Bond books
 
right
I moved about and donate to the right-hand-side, and the LHS is now a fairly straight breadcrumb
 
@DeadMG in hindsight, when unique_ptr is introduced it should be described as dynamic scope vs static scope, not automatic management vs dynamic management.
 
8:14 PM
do breadcrumbs include a link to the current page or just all the preceeding pages?
 
Prior pages. The current one is usually visible but not clickable.
 
Previous pages are bit ,more important
 
k, so I won't put a current page one in for now, at least
 
@cat let's see if build bot is still working :P
 
@MooingDuck Could work, I guess.
 
8:16 PM
@DeadMG usually they don't have a link to the current page, but do have a 'crumb' for it
 
in general, though, I need to refactor the tutorials and redesign their partitions and what is covered when
 
@DeadMG Usually it'll show a non-clickable title of the current page at the end of the bread crumbs.
 
hmm
time to see what I can get ASP.NET to cough up about the path of the page I'm dealing with right now
well, I can't generate them automatically because the page name might be quite different to the filename
 
@DeadMG so fix that
 
don't think I can have a URL with spaces in it
 
8:21 PM
@DeadMG %20
 
@DeadMG like %20
 
@DeadMG of course not, that's why you get funky codes
 
Also, page names should be on the page somewhere. Preferibly big and at the top, it's wierd that the paragraphs start right at the top
 
yeah
right now the title is always Coding Puppy
 
I keep trying to scroll up :/
@DeadMG oh, that title
 
8:22 PM
@MooingDuck You mean you want something like the UB page for all of them?
an actual large title in the content of the page?
 
@DeadMG I'd have to find the UB page first, but sounds like it, yes
 
lol
 
8:24 PM
needs more <h1>
 
@DeadMG is that meant to be breadcrumbs?
 
Exercise: This exercise is undefined.
lol
 
@DeadMG I'd be happier if it was bold or h1 or something, but that's still better than a paragraph right at the top
 
@thecoshman What's wrong with them?
oh, my local one has about and donate moved to the RHS
 
@DeadMG you need some sort of visual indication that they are a chain of links sometihng like " > "
 
8:27 PM
@thecoshman once they're seperate from the about/donate, I see that as less of an issue
 
@MooingDuck we'll see soon enough, but I think some sort of separator looks nice
 
This muffin looks like it's got mildew on it.
 
Unrelated: I found this which is a perfect example of UB "working" until the operating system upgraded.
 
@thecoshman Bootstrap has breadcrumbs. /cc @DeadMG
 
8:31 PM
Tomorrow I’ll be installing Gentoo.
 
@daknøk Yeah, but I don't like the look of that
 
Ah okay.
 
@DeadMG excellent
@DeadMG why is the text not vertically centered?
 
maybe the breadcrumbs don't look so crappy with the inverse style on the navbar
@MooingDuck Huh?
 
@MooingDuck well, let's not go too far
 
8:33 PM
@DeadMG In the black bar at the top, the text is near the top of the bar. On the published versions text is vertically centered in the bar.
 
xkcd.com/292 - love this one. :D
 
@MooingDuck Because I cropped the image from the top by hand.
 
@DeadMG nevermind then
 
yeah, they don't seem to offer an "inverse" breadcrumb style
and the clash between my nice inverse navbar and the non-inverse breadcrumbs is horrific
 
-8
Q: Should posts containing "strange", "weird", or "nasty" be blocked?

stackmonsterAny time a Stack Overflow question has the words "strange", "weird", or "nasty" in it, the questioner is completely full of crap and has no idea what they are even coding. Why not just block questions that even have these words in them? If you disagree, someone please show me one post that has t...

^^ pwned
 
8:35 PM
what-if.xkcd.com/16 "I am not an authority on lightning safety. I am a guy who draws pictures on the internet. I like when things catch fire and explode, which means I do not have your best interests in mind."
 
Sorry, couldn't resist.
 
lol
 
@Mysticial heh, and your answer is linked
 
that's the same guy, btw, as the "Other people are scum and we should restrict information for social context"
 
the guy who said SO is horrible for society?
 
8:37 PM
@MooingDuck I was gonna answer with Jon Skeet's top answer, but Yannis ninja'd it.
 
@Mysticial what a moron.
 
yep
 
@Mysticial What a douche.
Anyone here who as 10k on Meta who can screenshot this and post it here?
 
@EtiennedeMartel Nope.
The ape is probably the closest of us.
 
those waffles look good...
 
8:45 PM
not to insult the original questioner but couldnt that question be phrased (with no knowledge of C compilers or assembly) Why is it easy to say the alphabet in order but not say all the letters randomly and complete the alphabet from a to z. Hmmm. Do I need to be an engineer to figure that out? I think my cat could do it. — stackmonster 1 min ago
Am I an idiot, or is that guy saying nonsense?
 
@EtiennedeMartel You're not an idiot. That is indeed a fine example of complete nonsense.
 
lol I have no fucking idea what he's even saying
 
meow meow meow meow meow meow meow meow — stackmonster 34 secs ago
That's it, he's trolling.
 
lol just saw that
 
I wonder, if I ping him, will he show up here?
Then we can do some counter trolling.
 
8:49 PM
of course he wont
 
Let's try it.
@stackmonster Are you a troll?
 
His original question misspelled "weird"
 
0
A: Should posts containing "strange", "weird", or "nasty" be blocked?

Mooing Duckhttp://data.stackexchange.com/stackoverflow/query/82668/most-upvoted-questions-containing-strange-or-weird 2151Strangest language feature 1185How do JavaScript closures work? 542What is ":-!!" in C code? 534Reference - What does this symbol mean in PHP? 354What was the strangest coding standard ...

 
@MooingDuck This might need some formatting.
 
@EtiennedeMartel That's after formatting :(
 
Why does meta have a tag?
Isn't it implied that it's for SO? It's.. meta.stackoverflow.com
 
Because's he's a tool.
 
Oh wow, 3,504 questions tagged with
 

« first day (732 days earlier)      last day (4232 days later) »