« first day (1631 days earlier)      last day (3542 days later) » 

19:01
well I survived
user784668
:(
A shandy? It's wafer thin?
@Fanael -.-
@райтфолд terrible that you named it read_integer and restricted it to reading integers
user1804599
> LeoNerd
What's that? ;p
19:10
@ThePhD And in the end the second pixel format is probably the exact same thing you got earlier :v
Ugh, C interfaces. Terrible.
user1804599
Better than istream.
Ugh no.
not really
pretty much the only thing you can say about istream is that it's better than C interfaces
Has anyone invented a sane { I/O, formatting } set of APIs? Because I don't think I've seen anything sane yet :x
19:12
@райтфолд Which function?
user784668
@Griwes std::do_what_i_mean
@Fanael Yeah, that would do.
@Griwes C#? idk exactly what you mean by that though
@Griwes From memory, boost::format is somewat sane for formatting, I pretty much don't need text formatting, though.
19:13
@Borgleader Sane. As in, not verbose, type safe, and stuff.
Xeo
Xeo
@райтфолд ew.
format strings
ewwww
@райтфолд Iterators (or a range would be better but that's another matter) is what that function should take.
user1804599
Yes, I know.
First one eliminates iostreams, second one eliminates C interfaces.
I think that in some ways, text formatting in general is not a really common thing to need to do and probably best not offered in a standard library
19:16
@Griwes More like what exactly did you mean by IO formatting api, i mean C# StringFormat is neato.
@Borgleader "The exact ~~perfect~~ thing I have imagined and nothing else"
I also meant things like reading stuff from streams.
user784668
purrfect
I guess you could employ silly stuff like Spirit to parse input, but ugh.
19:16
Formatting is not I/O
4 mins ago, by Griwes
Has anyone invented a sane { I/O, formatting } set of APIs? Because I don't think I've seen anything sane yet :x
user784668
@Griwes Compilation times ♥
Kindly notice that I did separate them.
@Griwes someone called?
@Fanael Nobody sane cares about compilation times.
19:17
lol
Puppy?
Why now?
got suspended for telling a spammer (who openly admitted it) to fuck off
6
19:19
:D
bah
why is my RDP so slow
Oooh hey Puppy.
I have more rep than you.
you mean, you have more rep than my sockpuppet whom I use exclusively in condition of my main account not being available?
Yes.
19:22
hmm
you can't tell me that 11MB/s up isn't enough to stream audio.
That can stream HD video.
@Scrubbins where did this happen (~curiosity~)
@Scrubbins Mbit?
@Mgetz no code, no comments...
2 hours ago, by Puppy
so what you actually meant was, "Please guys, let me spam my shit here"?
@sehe It's audio. Does mbit vs mbyte matter when you have 11 of them?
Well, depends on what else your connection is transmitting :0
@Scrubbins it got nuked didnt it? I cant see the original message
19:26
yep
@Mgetz same deal. If you use boost::spirit::istream_iterator ")
I told him to fuck off and not come back
@sehe Well, I do have VS also open, but it's nothing even remotely dynamic- just a few apps like Firefox (just 3 tabs)
Damn. The Talos Principle demo is so cool.
and VS is minimized atm so it's literally just chat being remoted
so, RDP audio support is spotty
19:28
11 megabytes per second is quite a lot.
had an equal problem with RDP video
(Not in my experience, really. But I've not used it extensively)
Probably enough to stream 4K video, I doubt RDP should be using that much.
@Scrubbins Try running on a different port, or using stunnel/ssh tunnel.
You ISP might do traffic shaping. It's the UK after all
true.
first I'd need to actually find a new available open port
19:31
@sehe Traffic shaping?
my router's firmware autoupdated and now you have to enter the wireless key that I have no idea about to access the firewall configuration
user1804599
Ugh, with iterators you have this horrible OOB crap.
user1804599
It's just like C++ deliberately makes it hard to parse binary data.
user784668
C++ deliberately makes it hard to
what on earth is the correlation between the two?
> Right, Ubuntu Shitty Shark or Belchy Banana aren't telling me anything, but Ubuntu 11.04 or 14.10 are, same with the Linux kernel with its weirdo codenames etc.
Truth
19:40
Hi all !
I coming back with my programmation complexes !
No worries. You're plonked comprehensively
@Nooble Prioritising/dropping packets
And hi
There is someone able to answer to this existential question ?
0
A: Ambiguity with cout << and casts c++

Mathias Vorreiter PedersenYour code works fine if you overload the << operator for pure<T>. #include <iostream> template <class T> class pure { T attr; public: pure(T const& attr) { this->attr = attr; } T& operator=(T const& attr) { return attr; } operator T() { return ...

19:41
No
no, but pretty simple question at first look?
existential question lol
user784668
@Rapptz It involves existential quantification obviously.
yes because sometimes C++ is showing ambiguity himself on things with no ambiguity
I'm getting existential crisis on the basis of snack overflow existing
19:43
If it's really an existential question, we can make it not exist anymore. There's more than 5 of us here. :)
@Fanael There no doubt exists a question
snack overflow?
hey, did bartek strop out or something? not seen him around recently
user784668
@Marc-AntoineJacob Cat's got a stack of snacks and it overflowed
user784668
@thecoshman Good, we don't have to put up with his barteking
19:45
wow
I just learned what is void * pointers. It's another crap of C++.
why just don't use generic pointers?
there is too many pointers in C++
user784668
lol
The best pointer in C++ is "dont do c++"
auto *, static *, weak *, strong *, shared *, unique *......
@Marc-AntoineJacob Well, exactly. If you're writing proper C++ then you don't use void*. They're a C-ism.
19:48
yes never I will use void*
user784668
So apparently murican police killed twice as many people in March as the UK police since 1900
13
user1804599
Works well.™
@LightningRacisinObrit Can you help me with this : stackoverflow.com/questions/29450529/…
?
another error with my pure class
@Fanael factor in relative populations or gtfo
19:51
hi pirate
user784668
@thecoshman 5x the population, 1/1400x the time
@thecoshman wait would that even matter?
It basically means "UK police don't kill people"
lol
@Fanael #freedom
@Marc-AntoineJacob why is your indentation so shit?
user1804599
I wrote a VM today.
19:54
0
Q: Ambiguity with cout << and casts c++

Marc-Antoine JacobFor an exercice, I writed a little class in C++ that cannot be casted to other types than the generic parameter T: template <class T> class pure { public: pure(T const& attr) { this->attr = attr; } ~pure() { } T& operator=(T const& attr) { return attr; } operator T() { return att...

user784668
@thecoshman You know it's comparing a period of one month with one of 115 years, right?
Any opinions on Atom?
user1804599
@Fanael there are also ten billion times as many Americans as Brits.
@Fanael :P yeah
user1804599
@Nooble -1 neither Vim nor Emacs
19:55
@Marc-AntoineJacob The existing answers are correct.
user784668
@Nooble in order therefore sucks
@райтфолд of course
@Nooble I think only Cat and @Borgleader use it.
Well Borgleader used to use it.
@Nooble Slow as shit to start up, use ST instead
user1804599
Alright, no idea how to read a binary file into an std::vector<unsigned char>.
19:56
with Seti-UI theme
@sehe UK police are also not routinely armed.
But you have to pay for ST.
Well.
@Nooble its WinRAR free
@Marc-AntoineJacob Someone please kick the guy? Drive by linking, twice within 13 minutes, with oneboxing too?
@Borgleader Yeah :D
user1804599
@EtiennedeMartel Well. That surprises me. Even dutch police always carry when on duty, I think
@Nooble I love my atom ion. It is old stuff but it works like a charm unless you need to do CPU stuff on it.
@CaptainGiraffe CPU stuff, eh? :p
@EtiennedeMartel And don't have to be.
@райтфолд Can be one line, and std::vector<char> fileContents((std::istreambuf_iterator<char>(testFile)), {}); waaaaaay shorter
19:57
cos even criminals over here aren't generally trigger-happy rednecks
@sehe Some police services do carry weapons, but most municipal police departments do not.
@sehe rightfold hates istreams
@melak47 Well it can't handle ssh at 100Mbit.
> This originates from the formation of the Metropolitan Police in the nineteenth century, when police were not armed, partly to counter public fears and objections concerning armed enforcers.
yeahhhhh
power to the people brap brap
19:58
@LightningRacisinObrit But, it's dumb ! I expressively deleted all other operators ! Why there is an ambiguity ?!
@Marc-AntoineJacob Did you not read the answers? They tell you everything you need to know.
@Marc-AntoineJacob Marking the other operators deleted doesn't mean they don't exist; it just means they can't be used.
It might seem counter-intuitive but it is in fact a good thing that it works this way.
Although it causes you a problem in this situation.
19:59
if they can't be used, compilator won't get ambiguity
@Marc-AntoineJacob So stop complaining. We don't have the power to make your compile accept the code as you would dream it
Wrong
Dude
Fucking read.

« first day (1631 days earlier)      last day (3542 days later) »