« first day (822 days earlier)      last day (4126 days later) » 

8:02 PM
I just noticed.. range-based for loops actually don't have ranges at all..
2
I feel somewhat lied to.
 
for(auto& i : container) goes through begin to end, not really a specified "range" unless you use boost or make your own
 
@Rapptz fraud!
 
@sehe That's precisely why it scares me
 
@Rapptz it covers a range specified by begin and end of the range. Clearly it was meant to be used with things like boost::range, though it's odd nothing like that exists in teh standard.
 
8:08 PM
if it was meant to be used with boost::range why isn't boost::range in the standard?
 
I've written my own range class. It turned out to be doubly useless.
 
it's relatively simple to make one :P
 
@sehe I always have a point! it may not be a very well spoken, or indeed a very good point; it may not even be a point but I always have one!
 
Ranges are bit more than just a pair of begin/end
 
@Rapptz it's meant to be used generically, boost::range is designed to fill the gaps. Though IMO it should have been in the standard.
@CatPlusPlus as far as ranged-based-for is concerned?
 
8:12 PM
I think that was directed to my comment to it being simple
 
No, but ranges without range algorithms etc would be incomplete
It's C++
Who knows
 
Are you referring to this question?
39
Q: Does the range-based 'for' loop deprecate many simple algorithms?

FredOverflowAlgorithm solution: std::generate(numbers.begin(), numbers.end(), rand); Range-based for-loop solution: for (int& x : numbers) x = rand(); Why would I want to use the more verbose std::generate over range-based for-loops in C++11?

I was actually reading over it and that's when the thought occurred to me.
 
While the readability reason is a HUGE one to prefer algorithms, this is the only answer that shows range-based for-loop is only a subset of what algorithms are, and hence cannot deprecate anything... — K-ballo Jan 10 at 23:06
A subset :psyduck:
 
superset is best set
 
@CatPlusPlus I merely said that ranged-based-for is designed to iterate over generic ranges. I was not talking about ranged-based programming or algorithms.
 
8:21 PM
When in doubt always use goto. Its the Holy Grail in programming. — vanneto 1 min ago
 
this man speaks the truth
 
yep
Needs more goto.
-1 not enough goto.
You should use goto, it's great and does all things.
 
if (!(!(x==y)&&!(m==n))){
    cout<<"Your message"<<endl;
}
lol what
 
@Rapptz that whole question.... THe answer is "it can be done in a loop, BUT DON'T!"
 
@Rapptz Someone can't transform logic expressions
 
8:27 PM
I'm checking for 2d array value neighbors specifically and my code would be very big if I had lots of if's. — user1981497 1 min ago
 
Also that list of questions is utterly silly
 
huh, interesting.
 
> Describe a pattern that is NOT the Factory Pattern? How is it used and when?
Oh god I don't know, how about every other pattern
 
Yeah someone on reddit posted that and said if you could answer these questions then you're probably "well off"
 
The AbstractFaggotry pattern!
 
8:29 PM
> Describe, in as much detail as you think is relevant, as deeply as you can, what happens when I type "cnn.com" into a browser and press "Go".
I don't know I don't press "Go"
 
@NolwennLeGuen oh you
 
It probably fires up a GUI signal
 
What browser has "Go"?
 
> How can you stop your DBA from making off with a list of your users’ passwords?
Shoot him!
 
Ell
8:31 PM
@CatPlusPlus where is this quote from?
 
> Describe the structure and contents of a design document, or a set of design documents, for a multi-tiered web application.
Go fuck yourself what is this primary school
 
FUUUU~~~ lambdas Y U NO template?!!11111
 
BECAUSE C++
> reddit
 
8:32 PM
> Explain the differences between stateless and stateful systems, and impacts of state on parallelism.
 
why can't I just write variant.apply_visitor([&](X& x){ ... });
 
One has state and the other hasn't, jesus
 
> What is the Repository pattern? The Factory Pattern? Why are patterns important?
They're not, next question
 
@Abyx std::function?
 
8:33 PM
> What are some examples of anti-patterns?
Patterns
 
@Rapptz ... and?
 
@CatPlusPlus :))
 
> How does a 3 tier application differ from a 2 tier one?
It has one more tier
 
Don't listen to @Etienne, he's Canadian. — Nolwenn Le Guen 9 mins ago
 
@Abyx Eh. Never mind. I don't know.
 
8:34 PM
> What are some alternate ways to store data other than a relational database? Why would you do that, and what are the trade-offs?
I don't know, files
Maybe
Possibly
Have you ever heard about files?
 
fuck it. I don't want to write fucking ftor
 
> What's so great about <cool web technology of the day>?
Nothing
> What is Refactoring ? Have you used it and it is important? Name three common refactorings.
Changing the code, changing the code, changing the code
 
@Mysticial Ha! It got more upvotes than him!
 
> Name three primary attributes of object-oriented design. Describe what they mean and why they're important.
I don't know I don't use OOP
Seriously who comes up with those
 
@CatPlusPlus You know.. That might be the correct answer..
 
8:37 PM
@CatPlusPlus ENGINEERS. maybe human resource managers
 
This guy.
 
> Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.
 
Ell
@CatPlusPlus isn't it polymorphism, inheritance and encapsulation? the three pillars of OOP?
 
So some guy in Microsoft who is a failed stand-up comic.
 
8:38 PM
Except composition is better than inheritance so
 
> diabetic
ahahahahaha
 
> What is something substantive that you've done to improve as a developer in your career?
I drank tea
> Implement a <basic data structure> using <some language> on <paper|whiteboard|notepad>.
Fuck you and die
 
you're actually worse than me
 
> What is SOLID?
 
from a complaint point
 
8:39 PM
An acronym I presume since it's all uppercased
 
something that has a definite shape and volume
 
> Show me a portfolio of all the applications you worked on, and tell me how you contributed to design them.
 
Ell
@CatPlusPlus why? less coupling?
 
@ScottW never heard of it
 
I contributed by being there
 
8:40 PM
weird iamge
 
CS stub
 
Ell
I've heard of SOLID a lot o.O
 
You guys never heard about SOLID?
 
> Explain what is meant by a sandbox, why you would use one, and identify examples of sandboxes in the wild.
 
nope.
 
8:41 PM
I guess you never did OO wanking, then.
 
Minecraft
 
no
 
Ell
Wooo minecraft!
 
and I'm glad
 
> Are you still writing code? Do you love it?
No
 
8:41 PM
Someone should host a Minecraft server.
And by "someone" I mean "not me".
 
Because I have to answer these stupid questions because of that
 
@EtiennedeMartel I have one if you want
That shitty game made GIGABYTES of logs
 
I actually ran out of disk space
 
It's not shitty.
 
8:42 PM
It is
It's a) java and b) java
 
It's like LEGOs, but without the pain associated with stepping on one.
 
that game uses a lot of memory
 
java
what did you expect
 
Ell
Anyone have any recommendations for representing graphs in a textual human readable, writable form?
 
@CatPlusPlus well... it's a box... filled with sand... to let kids play in
 
8:43 PM
sizeof(bool) = 8kB
 
I could run it but dunno how much players my poor server will support
 
It's not terribly shitty. I've run it. I've run shitty games too.
 
I think I've hosted something like 5 players max or so
 
Ell
I have too bad internet
 
> What do you do to stay abreast of the latest technologies and tools?
I don't have any breasts
 
8:43 PM
lmao
 
Ell
@EtiennedeMartel @CatPlusPlus what are your minecraft usernames?
 
abreast means side by side.
 
> How do you react to people criticizing your code/documents?
I beat them with a stick
 
Ell
Don't release them xD
 
ohmygodthetkzoneisdownagain
 
8:44 PM
> What is the last programming book you read?
Turbo Pascal 5.5 10 years ago
 
Ell
C++ primer 4th edition
 
@Ell IceKeese.
 
It was boring
 
@NolwennLeGuen I would like to give it a go :P
 
@CatPlusPlus why are you doing this
 
8:45 PM
(Don't ask why)
 
Nobody died
@NolwennLeGuen @MooingDuck wanted me to
 
@EtiennedeMartel IceKiss?
 
> What do you do when you get stuck with a problem you can't solve?
 
I look for a walkthrough... oh you mean in programming, I stop doing it and go play a game
 
8:46 PM
@EtiennedeMartel Oh.. Those..
 
Ell
They are annoying little fucks
Fire are worse, bloomin burning your shield off :o
 
> You have two computers, and you want to get data from one to the other. How could you do it?
 
Ell
@EtiennedeMartel can you test 216.172.106.11:25635?
 
I type fast so I just type it
 
the fire ones are much more annoying if you have a shitty shield
 
8:46 PM
@CatPlusPlus is this nigga srs
 
> Left to your own devices, what would you create?
 
@CatPlusPlus shit
 
An army of robots that would conquer the world
 
@Ell I'm at work right now, so I can't play.
But yeah, it works.
 
> What's the difference between a web server, web farm and web garden? How would your web application need to change for each?
 
Ell
8:47 PM
@EtiennedeMartel kewl :D
 
Ahahahahaha seriously web garden
 
@CatPlusPlus you know you can't just buy those, it would take some effort
 
Ell
btw, I'm using adventurelobbies.com not hosting my own xD
 
@CatPlusPlus that's new bull shit to me
 
> When do you know your code is ready for production?
 
Ell
8:48 PM
It never is?
 
When it passes 1000 lines
 
> What elements of OO design are most prone to abuse? How would you mitigate that?
All of them, by not using fucking OOP
> So don't worry if you can't fully explain the entire list! If you come across something you don't know just do a little research on that topic, it won't hurt you.
 
@CatPlusPlus Design patterns?
 
Research is my code for slacking off
 
8:50 PM
@CatPlusPlus that's a bit drastic i think. but i think the god/octopus anti pattern is dangerous.
 
FUCK
my domain expired today and a bot already registered it
someone kill me
 
Back to MS ACCESS which is very relevant to my CS DEGREE
 
@NolwennLeGuen A bit over dramatic, don't you think?
And what was your domain?
 
@NolwennLeGuen Hahaha you suck
 
@NolwennLeGuen I bet you regret skimping on that two quid for automatic renewal :P
@ScottW lol
 
8:51 PM
"****.com available for sale! 3000£" what
 
Shouldn't have ignored those expiry reminder emails
 
Is seam carving implemented in photoshop?
 
Fuck bots srsly
It's not even related to what my domain had
Humanity is cruel
 
Didn't you get reminders or something?
 
8:53 PM
> this is full of illuminatic product. and they thought they could fool us.. this is whats ruining our generation. im getting popular fast because i rap real.. thumbs up if you pee in pools
 
I don't check my mail
 
@NolwennLeGuen of course, it's not important
 
@NolwennLeGuen We were talking about checking your email at work today..
 
hm i can't find the facebook picture of "pussies & bitches" vet shop
 
Something about "Would you check your email at 7 PM" or something
wasn't paying attention
 
8:54 PM
well I do have my gmail synchronized with my phone
but I don't use my gmail
meh
 
@NolwennLeGuen There you go.
 
well
time to register saladfruitcake.com
 
what was your domain?
 
I'm afraid I can't reveal it
 
why not? it's all ready lost to you
or is it your IRL name?
 
8:56 PM
because webarchive
 
ohai
 
Still at work. Everything sucks today
 
@NolwennLeGuen Come on. Tell us.
We won't tell anyone.
 
@kbok Everything?
 
8:59 PM
Everything
 
@kbok Even you?
 
ETIENNE YOU ARE TOO OBVIOUS
FUCK YOU
 
^ eg you suck
 
I love you too.
 
I sense anger...
 
9:00 PM
I'm in a bad mood because I went to visit a flat and the guy didn't come.
Son of a bitch.
 
I need to do two projects this week
Two more tests
 
@kbok Then you must be bad at sucking, I guess
 
Please kill me
 
@kbok Hm, you could have shat on his doorstep.
 
@CatPlusPlus Only if you kill me too
 
9:01 PM
why can't every language have quality documentation?
 
@EtiennedeMartel It's a big residential building with a security team so no :p
 
@Crowz because documentation requires even more effort than coding
 
@NolwennLeGuen Oh noes, you just reset the sex counter
 
@NolwennLeGuen It's like, the main thing that attracts me to languages though hah, python is good with it and java is good with it and they're my two favorites just for that
 
@Crowz Have you tried C#?
 
9:03 PM
I think it's foolish that one can lose privileges by down-voting :<
 
There's like, geeguabites of doc
 
@NolwennLeGuen he quality, not copious
 
@Crowz I don't see how the language affects documentation (for the most part)
 
@NolwennLeGuen I mostly just opened visual studio, made a new C# project, and a window showed up and I was like "w... what is this?"
That's my experience with C#
 
Get on MSDN
It's a jungle, but it has everything
Almost
 
9:04 PM
@Crowz probably made a C# gui program?
 
Okay, this piece of crap of an app starts to work decently, that's a start
 
@NolwennLeGuen jungle is my key problem with it
 
I'm going to kill the criminal who wrote this
 
@kbok So, yesterday you loved your job, today you hate it?
 
@Crowz I told you: the only reason you think Java is good is that you never tried C#.
 
9:05 PM
@MooingDuck yeah like a WPF form or something?
 
I just hate this app.
 
@Crowz probably
 
@EtiennedeMartel this man speaks the truth! for once
 
@EtiennedeMartel that and I have experience with java so I don't feel like a TOTAL noob
 
I'm not even mad actually
I'm just stripping it of 60% of its features and it'll be stable enough to ship
 
Ell
9:09 PM
What does it do?
 
Just display a bunch of documents
 
@EtiennedeMartel And that I can easily run java on linux
 
@Collin > implying you can't easily run C# on linux
 
@NolwennLeGuen Yeah yeah yeah mono whatever
 
@NolwennLeGuen it takes some effort
 
9:14 PM
it takes no motherfucking effort, it is bundled by default on all mainstream distributions now
 
If I want to make a cross-platform GUI app, I can't use the preferred c# toolkit
 
No you can't
If you want to make a cross-platform gui, make a website
Or use Qt
All the rest will look ugly
 
@NolwennLeGuen nope.
 
@Abyx Yep.
 
@NolwennLeGuen nope. you can just draw all the GUI.
 
9:16 PM
Yeah you can also make your own OS
 
a lot of bmp, or opengl
@NolwennLeGuen nah, it's easy.
 
zch
If you draw the gui it will be ugly. It won't fit the os.
 
@NolwennLeGuen lies
 
FWIW, I think i'm going to start writing all my guis in python because easy
Swing and WinForms are awful
 
9:18 PM
@NolwennLeGuen except websites and Qt look ugly
face it, GUIs look ugly
 
@Collin yeah, tkinter is fine for simple UI
 
Sadly yes
 
@Abyx Exactly, and that's all I make, it's been great
 
@NolwennLeGuen NSFW?
 
if clothed women is considered nsfw, yes
 
9:20 PM
@NolwennLeGuen, btw, doesn't GW2 launcher have GUI build on MFC, CBitmapButtons and other customdraw stuff?
 
@Abyx Yes but that's a lot of work
@MooingDuck I'm not sure. It's just boobies you know.
 
@NolwennLeGuen nope. it's not "a lot of work"
for artists maybe, but who gives a fuck
 
jeebus Pandora, what is it about what I'm listening to makes you think I have needs for spicing it up in the bedroom, condoms, or to find singles in my area?
2
 
@NolwennLeGuen Thank you.
 
@MooingDuck my related videos are now all porn-like
 
9:22 PM
@Abyx yes it is, you're getting boring
 
Tell you what
my version of the app basically just displays text
but at least it does it well
 
@NolwennLeGuen I'm just writing installers and launchers like that. it's really simple. ~1KLOC engine, and an xml config like this - pastebin.com/DAnC78pG
 
Now with coffee.
@NolwennLeGuen You know, I get the feeling you're trying to undermine my reputation.
 
9:38 PM
@MooingDuck is that true
when the minds are not lethargic it's difficult to shock them out of it
 
@Cheersandhth.-Alf Well, on meta, I keep losing the ability to downvote, so yes.
 
@Cheersandhth.-Alf I assume that applies universally
 
huh, i never lost ability to downvote as far as I've noticed
 
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 9581 root 20 0 777m 16m 4968 S 13.5 0.8 6288:24 node
what. 13% cpu on idle? hello
 
9:42 PM
I'm pretty sure (but not positive) this happened on SO proper as well when I hit 10k and was able to see deleted questions, but then downvoted, lost the ability, and had to earn it back.
 
@Abyx Installers and launchers are not "full blown" guis . Also I see you work in private servers
 
GW2 launcher is not the most complicated GUI ever
 
@NolwennLeGuen just keeping it warmed up
 
0
Q: C++ Delegated Constructors With Headers

Wind And FlameDelegated Construction Question: Compiler Error C2039: '{ctor}' is not a member of Logging::LogManager I am using Microsoft's C++ November 2012 CTP Compiler, not the default one in Visual Studio 2012, so I have access to new C++ features, (variadic templates, etc). I am trying to get delegated ...

 
9:45 PM
It really shouldn't be more than a day's work for the UI, assuming assets are done
 
Why the hell is that there...
People are stupid.
 
Patching logic is more complicated than that
 
@CatPlusPlus It's not even too complicated. I'd like to see the archive format tho.
 
@CatPlusPlus yeah, but GUIs suck
 
@Griwes I've never seen the c11 tag.
 
9:46 PM
@Rapptz Holy hell.
 
@Rapptz Schwarzenegger doing an AMA? What has this world come to
 
@Rapptz I've never seen it on fucking C++11 question.
 
@Abyx Why not NSIS?
Do you really have to use crappy skinning
Skinned applications are horrible
 
I think everyone has done an AMA at some point..
 
@CatPlusPlus bcoz of skins.
 
9:47 PM
@Rapptz I didn't
ModernUI has skins
 
@Rapptz I did one some time ago. "My name is Ada Lovelace, AMA"
Then I got bored of reddit and left
 
@NolwennLeGuen lol
 
lol
 
I am an idiot, AMA.
 
9:49 PM
"can you count to potato?"
 
"I don't know C, AMA"
3
 
> We know how it is, you want to share your experience as Sir Isaac Newton, but the dumb fucks at r/IAmA demand so-called proof.

We aren't bothered by such details, so if you have an "interesting" story to share, welcome to ShittyAMA.
lol
 
@Borgleader Damn it, I almost choked on my coffee.
 
@NolwennLeGuen 1....6....blue.... carrot....
 
9:51 PM
@thecoshman you forgot train
 
@NolwennLeGuen car?
 
@CatPlusPlus skins like this one - gyazo.com/3378f986f1e4a9918ffecf1c32beca2c ?
 
Russian and shit.
 
That's awful
 
I want to learn Russian, but my lazyassitis always takes over.
 
9:55 PM
I'm guessing this is the same autopatcher I've seen in countless private servers of countless games
This shit downloads .rar and extracts them, right?
It sucks.
 
I don't know, I've never tried to skin NSIS or anything else
 
@CatPlusPlus well, it's not me who draw that :)
 
I mean the fact that it's skinned not quality of art
 
@LuchianGrigore It's a template engine for javascript
 
9:57 PM
@NolwennLeGuen Mustache is a "logic-less" templating library available in a range of languages.
 
@LuchianGrigore If you knew, why "dafuq"? makes no sense
 
@NolwennLeGuen I didn't, it's in the tag description. :) Still find it funny though
If there was a C++ class called "std::penis", I'd laugh...
 
You immature person.
 
You're immature!! >:P
 
Yes.
But that does not give you the right to be.
 

« first day (822 days earlier)      last day (4126 days later) »