« first day (642 days earlier)      last day (4305 days later) » 

10:00 AM
@Neil aaaahh I get it hehe
@thecoshman search some avatar...hehe
 
I also really dislike the way Java handles 'default' and 'private' access
 
@thecoshman What do you mean?
 
AFAIK there is nothing like the C++ private, "this class and classes that inherit from it"
@Neil I dislike the what the four levels of access give others access to
 
@thecoshman This is protected, in C++ too.
 
@thecoshman stupid you, you meant protected
in java, protected let's anything else in the package see stuff as well
 
10:04 AM
No. That's package (or default) access.
 
@thecoshman Ah, yeah not sure if I like that either
I can see why they did that, but people should organize packages according to category, not according to what certain classes should "see" and not see
So in the end it's kind of useless
 
private: just this class
deafault: this class and anything else in this package
protected: this class, this package and anything that inherits
public:any thing ever
this missing one: this class and stuff that inherits from it, but NOT stuff in the package
 
Or maybe.
Access modifiers are stupid anyway.
 
not really, they are good
 
@CatPlusPlus Make public ALL THE MEMBERS!
 
10:07 AM
Yes. That's what Python does, and it's good.
 
Good Morning ALL THE PEOPLE!
 
@CatPlusPlus That's what PHP does. ...
 
C++ private doesn't even stop recompilation due to implementation change without stupid boilerplate.
It's silly. It's unnecessary.
 
It's a tool to allow you to help yourself. Like const.
2
 
no, I refuse to have to defend to sense in access modifiers
 
10:09 AM
Cat is hating again, nothing unusual. Move on.
4
 
Write some Python and tell me you miss access modifiers.
 
I don't miss them at all writing Python
but I don't hate them per se
 
You brought up hate, not me.
 
Shows how bloated Windows is: compare to muppetlabs.com/~breadbox/software/tiny/teensy.html
 
Q: Why does Facebook suck?
A: Because it's written in PHP.
 
Yes, Windows is bloated because it doesn't use ELF.
Makes perfect sense.
 
10:35 AM
@TonyTheLion That's awesome
You could write a simple assembly compiler with that knowledge
And if you screw up. you have only written 0s on half the disc before windows catches your mistake
Actually probably not, but I still don't trust Windows from that point of view
 
I kinda wish I knew more about how the Windows APIs communicate with the various subsystems. Calling library functions is all very well, but what do they actually do? Presumably some bits make system calls, but does the graphics API work like X, talking over shared memory?
 
@ecatmur There's the Windows Internals books
these can help you understand a lot of stuff, though the book is really hard to read.
I tried
 
11
A: Has anyone been able to create a hybrid of PE COFF and ELF?

cafThis is not possible, because the two types have conflicting formats: The initial two characters of a PE file must be 'M' 'Z'; The initial four characters of an ELF file must be '\x7f' 'E' 'L' 'F'. Clearly, you can't create one file that satisifies both formats. In response to the comment ...

I rather liked that
 
0
Q: How to obtain display devices information regardless of session?

SashaI using EnumDisplayDevices that give me obtain information about the display devices in the current session. But i need information about the display devices regardless of session. Because i create some windows service application (System process). Does anybody know some alternative for this co...

So nobody know what's the problem. ?
 
@Sasha either that or nobody thinks it's interesting
 
10:47 AM
some one didn't read the rules ¬_¬
 
@TonyTheLion thx, will take a look, see if I can pick up a cheap copy to add to my reading pile
 
no problem :) Have fun
 
@Flexo or nobody know answer...(
 
Jul 13 at 10:48, by R. Martinho Fernandes
If you are new here, please read the code of conduct. Thank you.
 
10:58 AM
@Sasha Even you yourself know what's the problem :)
 
Morning Everyone
 
@ecatmur erm, what are you smoking? If I'm reading it correctly, the smallest possible ELF executable which doesn't violate the ELF spec is 91 bytes
Want to take any guesses at what size a PE executable can get down to?
OMG sooo bloated. A whopping 6 byte more than on Linux!
and that is if we buy into your assumption that "the executable format determines whether an OS is bloated", which, in it self, is the purest form of nonsense
 
11:14 AM
@jalf That's over 5% :)
Awesome timing.
Also, awesome animal
 
@jalf woah almost at 100k dude
@sehe yea :)
 
@ScottW I don't know many
@Neil Damn. What did you have for breakfast
@TonyTheLion It is:
 
g'day y'all!
 
11:30 AM
@Sasha Sooo let me get this straight. First you ignore the rules and pester the regulars of this room for an answer. Then we provide one and you don't even respond in 20 minutes. Makes sense, makes sense.
 
that actually educative
@refp morning
dont pester , just provide propper pesticides.
 
meh trolls
 
I dont see any point in trolling here either.
 
Nobody home anyway
 
Its working hours , people are busy doing work.
 
11:53 AM
Hi guys! Still reading C++-TTCG. Why is the `this` pointer used so frequently in referring to members of the `class CountingPtr` this example.

http://www.josuttis.com/tmplbook/pointers/countingptr.hpp.html

I know that the `this` pointer should be used to refer to the members of a dependent base class but surely not the derived class.
 
@Olumide I would say just for clarity
 
I see an overused meme
lol
 
scnr
 
@sehe I am sorry. I wasn't in place.
 
12:00 PM
lulz
 
@sehe Thanks for answer.
 
@thecoshman That's not nice
 
it may not be nice, but it's hilarious
so your argument is invalid :P
 
I can do this all day
 
oh god why
 
12:02 PM
he'll learn soon enough
I hope
 
So tell me. Am I breaking some rule here?
 
no, I just don't give a fuck
in fact, few of us do
we are not here to answer every ones questions, even questions asked by other regulars here
if no one cares to answer, just accept it a move on
 
I'm sorry then. I would like to participate a lot more but I'm at work 9-5 and there's so little time to chat.
 
¬_¬ I'm at work half eight till half four
your point?
and it's not just a question of being a regular
boring questions get ignored, people who just dump a question get ignored, people who link to a question that was asked minutes ago on the site get ignored
 
MY point is that there's always someone looking over my shoulder and as much as I would love to chat, I can't. But I see I am not welcome here anymore so I will stop visiting.
 
12:07 PM
and those are lucky ones, the unlucky ones get rage
 
@thecoshman So what have you had for breakfast. Someone asks about the use of this. Just say it is a matter of style. No need to not give fucks. Quite so often.
It's not like Olumide is your regular troll, so why treat him like one.
 
you are welcome
 
@thecoshman Speak for yourself?
 
FYI I tend to come across as more of a twat then I realise
 
@thecoshman Make that F**Y**I
 
12:08 PM
You either chat or you ask questions on Stack Overflow. It's rather simple.
 
@thecoshman Basically, I suspect this is what you do when you get really bored. Please don't act it out :)
 
This is not a question dump.
 
@CatPlusPlus Who are you talking about? IMO @Olumide had a reasonable question, and he has been here discussing C++-TCTG before he even ordered the book. Let's avoid bandwagon effect, just because it happens so often these days
 
I'm saying in general.
 
@Olumide as for this question, using 'this' when not explicitly required is usually just for clarification
 
12:11 PM
This is a chat room, and the quality of the question is irrelevant.
 
indeed, what matters is if it is something people give a fuck about, and it usually easier to assume they do not
 
@thecoshman You already said that :) I agree, FWIW
 
Stack Overflow has a wealth of solved issues its almost unnecesary to ask something.
 
@LeandroArielPezzente I'll have a green one please
 
12:20 PM
@thecoshman with milk or lemon ?
 
@thecoshman Again what was in your breakfast? I'm seriously worried
 
@LeandroArielPezzente furry of course
 
@thecoshman Furry ones kinda make me cough , but suit yourself , tastes are subjective.
 
@CatPlusPlus do the build servers for buildbot get pushed notifications to build, or do they pull them?
 
POST service in the repos, called on push.
 
12:25 PM
I mean the individual build servers
or do they each run the full system?
in short, would you need a public IP for a build server? or can It just pull through a firewall.
 
Master notifies slaves, but slaves connect to the master on their own.
 
so I could set up my work laptop to be a slave... ¬_¬
considering I do leave it on more or less all the time
maybe once a week I restart it
 
oh yea, I meant to ask, where do we find login for the new kyrostat website?
 
afaik it's still not ready yet
 
oh ok
but I saw the login page was online
 
12:32 PM
BURN THIS ANSWER. You cannot just cast anything. This is UB, and will likely crash before you can say "pumpkins" — sehe 11 secs ago
 
I was also under the impression that dom was going to use openAuth, or something like that
 
^ WHOA that is awesome bad code
 
@TonyTheLion and?
 
just thought it would be usable already
 
as would I
from the sounds of it, he is spending a lot of time getting little details finished
 
12:36 PM
right
 
I've done a fair bit of work on the windowing system, but I've got to sort out a merge of some stuff from cat, and it's taking more effort then I care to give it
I wouldn't mind some one looking over my fork, just to see what they make of what I have so far
 
Come on people, this needs more downvotes:
-1
A: Passing template class as parameter to class method and using template class as vector template type

TemekI found a solution which is kinda what I was looking for, but I'm not sure if this is good practice. :P #include <iostream> #include <vector> namespace problem { template <typename T> class data { public: inline data(T var) { this-&g...

It seems to work fine for now, so i'm good until it breaks if it breaks. — Temek 41 secs ago
<face-palm/>... — sehe 14 secs ago
 
that evokes physical pain
 
A lot of it
 
god at least cast it to void*
if you're going to be dumb about it
 
12:46 PM
Aliasing via char* is fine.
 
Is that even Type Safe ?
 
Without type tagging, no.
But it's not UB either.
 
not even if you name your class BruceWillis ?
 
Now it is not using C style casting, but reinterpret_cast so it's not undefined behavior anymore. — Temek 4 mins ago
Lost for words
 
but.. but.. you have C++
 
12:53 PM
@Temek what you are doing is equivalent to ramming a car down a birds through whilst shouting that it's a tasty little worm! You can not just magically convert types like this — thecoshman 9 secs ago
I like metaphors
 
why the bloody hell is using a char* when he has an unknown type in the first place ?
 
Type erasure.
 
@jalf that link does violate the PE spec though. Anyway, don't take me seriously, I'm just trolling :)
 
Can't he just use a generic type like in Java ?
 
What generic type?
 
12:58 PM
@LeandroArielPezzente maybe if he used Java
 

« first day (642 days earlier)      last day (4305 days later) »