« first day (1773 days earlier)      last day (3181 days later) » 

1:00 PM
The biggest issue I have is that disk space is often scarce, and if you install something that's bigger than the available space you botch up the whole system
 
@Giovanrich Dot operator is member access on an object in C++. Only that.
 
I started with a repeater setup but noticed there was a cat3 cable that was used as a phone cable going from one side of the house to the other
 
But yes, in most cases it's equal to . in Java. For example in packages and whatnot.
 
10mb only uses 4 so I was able to carry both ethernet and phone in the same cable :v
I didn't have an iron handy so I used scotch tape and a lighter lol
 
So for example in Java you have package.subpackage, obj.field, obj.method(), Class.staticMethod()` and in C++ you would have package::subpackage, obj.field, obj.method(), Class::staticMethod().
 
1:03 PM
still more reliable than wifi
 
@Mr.kbok When I shopped for a router I did it from the DD-WRT supported models list.
 
@R.MartinhoFernandes Most routers are supported though. I don't remember ever buying one that wasn't, and I never checked before (I usually bought them for purposes that didn't require openwrt)
 
@Giovanrich If you come from Java I recommend you completely forget about Java when writing C++. They are two entirely completely different languages. Read a book on C++ and start with a fresh mind.
Things like T* ptr = new T(...), even though they are Javaesque, are not really idiomatic C++ anymore.
 
@ʎǝɹɟɟɟǝſ I don't think that's accurate. obj.method() in Java is ObjBuilderFactory.getInstance().createBuilder("obj").create().method().
 
@TartanLlama use reflexion it's more flexible
 
1:07 PM
You probably forgot the java.org. prefix.
 
user406009
Hmm, gnome 3 actually works pretty well.
 
@ʎǝɹɟɟɟǝſ Thanks Im getting it now :)
 
user406009
The haters were incorrect.
 
user406009
Reminder to self: The crowd is full of idiots.
 
The haters are always incorrect. Otherwise they'd be critics
 
1:09 PM
Do I have to post the xkcd about "people are stupid"?
I'll post it anyway just because it's so wonderful
 
@Lalaland I think most Gnome 3 hate comes from the early days when it crashed if you gave it a sideways glance.
 
@TartanLlama Sounds terrible for IPS screen users.
 
@R.MartinhoFernandes Indeed, I required a neck brace to get any work done.
 
meh I dunno xkcd kind of sucks
 
user406009
1:13 PM
WHAT. THOU HAS INSULTED OUR LORD AND SAVIOR XKCD?
 
inb4 it's not funny.
 
It's not funny
@R.MartinhoFernandes ah, crap.
 
You're an adult.
> Warning: this comic occasionally contains strong language (which may be unsuitable for children), unusual humor (which may be unsuitable for adults), and advanced mathematics (which may be unsuitable for liberal-arts majors).
 
That was a true inb4. I appeared right before I pressed the enter key.
 
user406009
@Mr.kbok What would you consider a quality webcomic then? SMBC? Cyanide and happiness?
 
1:14 PM
It's not unusual
 
That's what adults say.
 
Adults say xkcd is not unusual?
 
Dunno. Not all xkcds are meant to be funny. Being funny is not necessarily part of what makes something a comic.
 
@Mr.kbok Sing that like Tom Jones
 
@R.MartinhoFernandes You're right. Being unfunny is not the only flaw of xkcd, since being funny isn't the only goal
 
1:17 PM
Strips like Calvin & Hobbes or Peanuts are often quite serious and dark and not funny at all. Still great.
 
There are a few strips that are truly good, but (IMO, still) most of the time it's just meh-inducing always-the-same
 
The "code's compiling" one is great
It's my motto
 
Actually you know
 
user406009
There are bunch of great strips.
 
user406009
 
1:23 PM
Most of the time I think it's meh but I still read it
Only I find it highly overrated
 
What is a namespace in c++? How is it different to a library?
 
I love savagechickens
 
@Rerito I love it too
 
user406009
@Giovanrich The C++ standard doesn't really have a concept of a library.
 
@Lalaland Also the drawing doesn't help
 
1:24 PM
I want to buy the iMug to every Apple fanboy I meet
 
user406009
@Giovanrich A library is simply a bunch of C++ files compiled together with your application. Library code is indistinguishable from your code from the point of view of the compiler.
 
@Lalaland so that which we refer to libraries in Java are the equivalents of namespaces in c++?
 
user406009
Normally this would result in a lot of name collisions, so we have namespaces.
 
user406009
Namespaces are simply a naming tool to avoid name collisions.
 
user406009
So thatn a_library_namespace::foobar_func does not collide with your_namespace::foobar_func.
 
1:27 PM
There are other features too
 
user406009
Packages in Java are sorta the equivalent.
 
user406009
Java libraries (jars) are a collection of Java packages.
 
@R.MartinhoFernandes One of my favorites
 
@AndyProwl awww
 
user406009
But you don't have to namespace your C++ libraries. And every namespace does not have to be a separate library. They are separate things.
 
1:28 PM
@Lalaland Thanks I see, it was confusing me :)
 
@Lalaland I liked homestuck.
 
user406009
homestuck is more like a webnovel than a webcomic.
 
user406009
It has plot, etc, etc.
 
@Mr.kbok so much beauty
 
user406009
Oh well, time to go. Train to catch, etc, etc.
 
user406009
1:30 PM
Have fun guys.
 
cheers
 
@AndyProwl Meh, Snoopy.
 
Snoopy is awesome
 
Meh to your meh
 
1:33 PM
Peanuts used to be about kids growing up.
 
Meta-meh
 
Then Snoopy took over Charlie Brown.
 
Snoopy is the kid, Charlie Brown is the adult
 
No.
Snoopy as "the kid" has only the playful aspects.
Charlie Brown as the kid has the struggle to make it in both the kids world and the adults world.
My favourite Peanuts strips are about that.
Not about a cute antropomorphic dog dancing :(
 
You failed to see the meaning of that strip
 
1:37 PM
For me that strip is about spontaneity, finding joy and music in something as simple as a falling leaf.
 
Which is? Snoopy trying to be something he isn't? For the 3164th time.
 
static inline constexpr const char* foo = "foo bar";
That's a cute keyword collection.
 
Ok, that's taking it to a whole new level, albeit an artificial one.
 
@R.MartinhoFernandes No.
It's about a kid feeling the joy of life while actually facing death. It's the contrast between autumn (leaf falling) and spring (young life dancing), joy and tragedy, sadness and happiness, it's about unawareness of a kid. Very beautiful and poetic.
inb4 meh
it's exactly the kind of strip that is not meant to be "just funny"
 
1:45 PM
I always preferred Calvin & Hobbes to Peanuts, really.
 
C&H doesn't have a Snoopy.
 
But it does have a Hobbes.
 
Hobbes is not Snoopy.
He's not a cute dog that has it easy and does nothing but fool around.
He's Calvin's conversation partner.
 
I guess what I'm looking for in comic strips is interesting conversations.
 
Peanuts are full of those
 
1:50 PM
Okay, so, let me rephrase.
 
I am trying to understand the concept of namespace in c++; i have read about them and cannot figure out what real world situation do we need to use them. any help, i am a newbie to c++?
 
I always preferred Calvin & Hobbes's conversations to Peanuts', really.
 
@Giovanrich Please do read a book.
 
@Giovanrich What's your programming background?
 
@Griwes I been reading here cplusplus.com/doc/tutorial/namespaces
 
1:51 PM
Also related to the previous strip (where you can notice the difference between the kid's viewpoint and the adult's viewpoint)
 
@AndyProwl Yeah, but not with Snoopy.
 
> cplusplus.com
lol
Don't read that...
 
@Giovanrich lol
4269
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written...

 
good day guys. Can I ask for an advice? I'm an I.T student and I can say that I like programming, yes I enjoy coding stuff but I don't love it and it's not my passion. Is it possible?
 
Understanding C++ requires you buy and read a book about it
 
1:52 PM
@AndyProwl Those live with the kids.
 
There's no way you can learn it from online tutorials
 
Heck, Woodstock doesn't even speak, ffs.
 
@user3783598 everything is possible
 
@user3783598 possible to what
 
@user3783598 Are we a psychological room now or what?
 
1:53 PM
@R.MartinhoFernandes I disagree. Those involving snoopy are simply not "adult"'s conversations but it doesn't mean they aren't interesting. Adult conversations are done by the kids. Snoopy is the kid, the kids are the adults
 
(I think that's the main reason I hated Snoopy as a kid; he hanged out with Woodstock and that was boring as fuck)
 
is it possible that I don't love programming but I like it?
 
of course ??!?
I like potatoes but I don't love them
 
@user3783598 I love programming and yet I hate it with a passion
so yea its possible
 
@AndyProwl No, adult conversations are what C&H do.
 
1:54 PM
do the uids want us to die of silliness today?
 
when you like something does it mean that you love it?
 
@user3783598 You don't have to love programming to make it your job. It's just silicon valley bullshit. Most people don't care a lot about thei job anyway. If you're good at it, go for it.
 
Magical messages cast through time.
 
I'm starting to enjoy mathematics.
 
@edition <3
 
1:54 PM
@AndyProwl Unless by "kid" you mean toddler.
The kids in Peanuts are growing up and the strips featuring them are mainly about that.
 
@user3783598 If it happens, then it is statistically probable.
 
so it is possible to enjoy programming but it is not your passion
 
Snoopy is just fooling around without a care in the world. He's just cute and happy and self-centered, I guess.
 
@R.MartinhoFernandes The kids in Peanuts are metaphors for adults. They have the problems of adults and they mostly talk like adults, just in kids' dresses and context
 
@user3783598 Of course. What do you use programming for?
 
1:56 PM
I like sports haha
 
@Griwes Thanks, I am following the link... I have a good start now :)
 
When I read "C&H", I can only think of Cyanide & Happiness.
 
can we stop this useless discussion, 3783598?
 
it is where my passion is
 
@AndyProwl I must have missed all these strips where they have problems of adults, I guess.
 
1:58 PM
thanks for enlightening me
 
@Morwenn Me too. I never noticed it could stand for Calvin&Hobbes.
 
@R.MartinhoFernandes sadness, failure, depression, confidence, loneliness, existential questions, kids usually don't deal with such things
 
@AndyProwl Er.
I beg to differ.
 
I think kids deal with sadness, confidence, and loneliness at the very least
 
@Mr.kbok I did, mostly because Cyanide & Happiness made a Calvin & Hobbes drawing and wrote "the original C&H" on it.
 
1:59 PM
oh?
 
dat stone tho
 
@Mr.kbok Well, they do, but they mostly do not talk about those things, they don't have discussions between each other about happiness and life, etc. Those are adult discussions
10 year old kids do not usually sit at a fence asking each other what's the meaning of life
 
Ah, "whimsical" is the word I was looking for.
 
Maybe the conversations are not as sophisticated as those in C&H (which I know very little, so I can't make a comparison), but they're definitely adult topics in kids' mouths
 
2:02 PM
That's what Snoopy is.
 
Innocence is for kids! Oh wait...
 
@AndyProwl Er.
 
That fucking spider made a fucking web in my kitchen sink ._____.
 
@R.MartinhoFernandes Meta-Er
 
Yeah, I beg to differ again.
 
2:03 PM
> acting or behaving in a capricious manner.
"the whimsical arbitrariness of autocracy"
-.-
thanks, google
 
@Griwes whimsical?
 
Seriously, just because you can draw parallels between the struggles of kids and the struggles of adults doesn't make them not struggles of kids.
 
hi all
 
@AndyProwl Also, that's not what the vast majority of Peanuts deals with.
It's a lot more about social concerns than philosophy.
 
@R.MartinhoFernandes The level of awareness and the way they talk about those struggles is what makes the non-kids, for the most. For instance this is definitely not how kids reason about sadness and depression (if kids know what depression is at all)
 
2:06 PM
Charlie Brown being bullied, lacking self-confidence, and all around sucking despite trying.
None of those are exclusively adult themes.
 
++
 
WTF, I don't know what kind of kids you've dealt with, but all of those are very much kid struggles.
When you're ten you're old enough to want to assert your part in the world.
 
As I said, it's not just the struggles themselves, it's how they internalize them, reason about them, discuss about them
 
You're also too young and inexperienced to succeed.
 
I debugged some JS today
Even worse, I enjoyed it
 
2:09 PM
@AndyProwl Yes, they have a heightened self-awareness, but that's what makes the comic work. Otherwise they'd all just be sad Snoopies.
 
@nabijaczleweli Have you considered suicide?
 
@Rerito Nah
It's ES6, so it's not complete shit
 
Just checking: until there, no big language change (excluding TS) has been voted into C++17, right? I see only small tweaks and fold expressions.
 
@nabijaczleweli Come work with me, you'll quickly stop that.
@Morwenn Fold expressions are big.
 
@Griwes They could almost entirely be superseded by small library functions, so... they do not offer that much power.
 
2:12 PM
@Griwes Heh. I wrote it, so it wasn't ridden with "clever hacks" or "interesting language features"
 
@Morwenn Err... It's infinitely easier to reason about an actually written fold than about silly recursive bullshit.
 
int foo = std::rightfold<std::multiplies<>>(1, 8, 5, 3, 6);
 
Well, except Violet. Violet would be happy, because no one would make her aware of how sad she is.
 
Tell me again how it's hard to reason about? :p
 
@Morwenn Have you ever written an all template?
As in, a compile-time fold.
Run time folds are easy-ish, since they don't force you to recurse.
 
2:13 PM
hi guys. does anyone here knows how to compute for average access time in a cache?
 
@Griwes I think we were discussing about that yesterday.
 
@rocky totalTime / timesAccessed
 
I guess constexpr kind of helps, but it's not a solution for everything.
@Morwenn Definitely not if "we" includes me. :P
 
Hrmmmm, a ".map" file or code map as comment?
 
But the std::rightfold and std::leftfold could be constexpr and could be made to work with any functor, not only a given set of operators.
@Griwes Probably ^^"
 
2:15 PM
@Morwenn Let me make you familiar with std::accumulate - that's halfway there.
 
@nabijaczleweli ahm. it's kinda harder than you thought. :/ I'm trying to solve for the practice exam on the internet but I can't still find a solution. :/
 
But then, what about heterogeneous lists?
 
@Griwes std::accumulate works with iterators, it's different.
@Griwes It would return std::common_type, not problem there.
 
That still requires either a fold expression or recursion. Where fold expressions are vastly superior, readability-wise as well as when considering the time to write that.
 
@rocky How is that relevant to my (kind of rhetorical) question about choosing the code map location?
 
2:16 PM
@Morwenn That's the wrong semantics!
The type must be deduced in a correct way - step by step.
T + U doesn't need to return common_type_t<T, U>
 
You're right, my mock library actually uses decltype(auto), not std::common_type.
So it actually returns the correct type.
 
@Morwenn That's verbose.
 
@R.MartinhoFernandes Awareness makes a world of difference. For instance "sadness" is perceived by everyone (in kids, not getting a toy is enough to be "sad"). However, awareness is what makes for the complexity of the feeling, and the discussions reflect a complexity of feelings that kids don't have - again, for the most. Some kids (you might have been one?) grow up faster, but most ten-agers are just that, kids that see the world in simple terms.
 
@nabijaczleweli i'm sorry for the inconvenience. I just thought that you could help me. because you answered my question.
 
@Griwes How is that verbose?
 
2:18 PM
In Peanuts's kids the problems are very very often of adult depth
 
return 0 + ... + args; vs foolib::fold(std::plus<>, args...);
 
@rocky Nobody's gonna help you, because you didn't read The Rules
 
Which one is easier to read?
 
@Griwes On the other hand, it fold expressions could use more than basic operators, they would be even more verbose.
 
@Morwenn Err?
 
2:20 PM
Consider (0 some_big_function_here ... some_big_function_here args) for example.
 
That's not how it works.
 
That would be be really DRY.
@Griwes Yeah, because their power is limited.
 
You don't have infix function calls in C++.
Obviously the fold expressions thing is only relevant to operators.
But that doesn't make it any less powerful and convenient.
 
IMO fold expressions are a cool little feature, but they're still a little feature. I still hope C++17 will be much more than that, language-wise
 
The convenience is very relative when you can implement them as library functions.
 
2:21 PM
@nabijaczleweli sorry. i'll read it.
 
@Morwenn But then it's verbose!
Ugh.
There's a reason why we usually like operator overloading: expressions with those compose much better than function calls.
This works in the exact same way.
 
std::rightfold<std::plus<>>(args...); is not that verbose and it's easy to CTRL+F for it.
 
lol std::rightfold
 
It is verbose.
 
let's propose that!
 
2:23 PM
also at least make it foldr like a person
:P
 
std::rightfold ftw
 
Also we need that operator... thing and we need it now :/
So we could just write 0 + ... + some_vector like a person.
 
Seriously, fold expressions are so easy to read that they managed to write the specification in the wrong order in the original paper.
 
vOv
 
@AndyProwl *std::right_fold
 
2:24 PM
That comes from incompetence of the paper author, most probably.
 
You can't get the thing wrong when you write right and left.
 
@ʎǝɹɟɟɟǝſ std::pantoona
 
@Morwenn You can.
points to Haskells foldl
 
@Griwes You need more incompetence.
 
oh incredible
-5
Q: Where to look next for learning C++

JasonSo I'm getting close the end of the book, "Teach Yourself C++ in 21 Days", which is a very good beginner book and I recommend it (though it has definitely taken me longer than 21 days), and now I'm ready for the next step. I've seen a thread or two on here recommending a bunch of different books ...

how come this guy hasn't learned all of C++ in 21 days?
Teach yourself nuclear physics and how to build a fully functional nuclear reactor in 24 hours
 
2:30 PM
Teach Yourself How To Teach Yourself in 21 Days
4
that might work
requires correct parsing though
 
I like it
 
@AndyProwl Dunno, most ten year olds I've interacted with are capable of clever insights like those of Peanuts characters. Granted, they don't have an adult's control of language when they articulate them, but I think it's unfair to say they can't deal with such ideas. The age when not getting a toy is enough to be sad is the age of Linus, not of Charlie Brown. The age of Charlie Brown is the age when such understandings begin to develop.
Anyway, I like Charlie Brown because I identified with him as a kid, and I hate Snoopy because all he did was hang around pretending he's not a dog and GOSH HE WAS FRIENDS WITH THAT ANNOYING BIRD.
 
lol
 
today I entered a bar and wanted the last sandwich since I hadn't had breakfast. A boy before me took it. I felt really sad.
 
Essentially, Snoopy exists outside the other characters.
 
2:35 PM
@Griwes ?
 
-2
Q: How to take a number of user input and put into an array WITHOUT KNOWING the range in C or C++

Bikash choudhuryI want to take a number of input in Numeric format separated by a space and put that into an array...When I press enter there should be a termination and previovsly stored values should be there in the array.... Input format: 1 2 3 4 5{Press Enter} output format: 12345 Input format: 9 8 7 6 5 4...

WITHOUT KNOWING damnit!! Do you get it???
and in C/C++
C*C++
(C^2)++
or C--/C
not sure how OP's algebra works
 
@R.MartinhoFernandes ok, by "not getting a toy" I might have exaggerated, but I think the point where cognitive capabilities such as the ability of taking into consideration other's opinion, forming doubts about their own beliefs, being able to express their own feelings and discuss them with depth, forming impressions of what is right and wrong, questioning society, etc., happens at quite a later stage.
@MarcoA. "look mom without knowing the range!"
 
I wish I could downvote him thrice
 
there! data duplication resolved! It may have taken a beastly formula to get it to work. But I've finally for the lounge meet up matrix working such that I only enter the pair of people, and it plots both directions for me! (ps check I didn't derp any thing up)
 
@R.MartinhoFernandes btw Disqus probably doesn't work for what I need to do. It doesn't support code highlighting
 
2:43 PM
14
Q: How to act when uncontrollable, natural "accidents" happen during meetings? (Burps, farts, stomach grumbles)

ZaenilleEspecially in serious/silent situations. If you are the source of the deed, is it better to ignore it, or just say sorry afterwards?

 
@thecoshman how do I add my info?
 
omg workplace se
 
@MarcoA. Yeah, it kinda sucks for code.
 
not really trying to meet up but i'm curious
 
@ʞɔᴉN you tell me :P
I think I could do it so that you can use a Google form to add data, but I don't think it's worth the hassle of removing all the times someone meets 'your mom'
 
Ell
2:49 PM
Crisis averted! That was surprisingly quick and painless
 
which what?
 
Ell
My.bro got himself an emergency passport and it only took like an hour
 
@Ell Ow what.
Did you get mugged or something?
 
@thecoshman SF bay area
 
Ell
@R.MartinhoFernandes the fool left it on the train from Berline
*Berlin
 
2:53 PM
Ow.
Where you now?
 
Ell
Along with his interrail ticket
 
How was Berlin, btw?
 
Ell
We are in Prague
Berlin was awesome, thank you for accommodating us. We had a really great night :)
 
@ʞɔᴉN o_0 it's not for sorting out meet ups, it's just to satisfy curiosity about who's meet up with who
 
2:54 PM
@thecoshman ah, got confused
 
@Ell he probably tried :P
@R.MartinhoFernandes I thought so
oh well, too late to change it now!
 
i thought you were talking about some fancy pathing algorithm
 
Ell
you are welcome to stay with me any time, should you desire
 
@thecoshman Thought we might have some page somewhere with people's cities in case someone moves around and wants to grab a beer
 
2:55 PM
@Ell thanks mate I'm coming over right now to eat your food and drink your beer
 
@ʞɔᴉN no no, I just moved the data over so it's in two columns of pairs of people, and it draws the table so that it shows A->B and B->A
 
anyone know where to find cross-stitch .xsd (Pattern maker v4) file specification?
 
@ʎǝɹɟɟɟǝſ well-typed.com/blog/90
 
@Ell You're welcome. You were lucky I had sorta half sorted things out already.
 
@Mr.kbok easier to do it hear I think. If you don't know people well enough to know you are going to their country, probably don't know them well enough to meet up
 
Ell
2:55 PM
@ʞɔᴉN good luck getting in without the key ;)
 
@R.MartinhoFernandes I'll be there. Do you think I'll recognize you?
 
Place would be a mess if you had come just a few days earlier.
 
@thecoshman sure.
 
Or a few days later I wouldn't have space, since I broke my bed.
@Columbo I'll be the guy with the Rubik's cube.
 
Ell
@R.MartinhoFernandes yeah I am really sorry about not seeing your pings :/ I should have been more organised, I apologise
 
2:56 PM
@R.MartinhoFernandes (let's not tell him it's a cube meet up too)
 
Ell
You broke your bed? :o
 
@Ell he has a GF now
 

« first day (1773 days earlier)      last day (3181 days later) »