« first day (653 days earlier)      last day (4278 days later) » 

10:00 PM
@R.MartinhoFernandes You're right, we should go visit him in person.
 
No, this is worse than 4chan.
We should put his email address on /b/. xD
 
@RadekSlupik No, it's not. Yet. And please don't make it, I hate 4chan.
):
 
@DomagojPandža uah.edu
 
4chan :3
 
@R.MartinhoFernandes should we not? I mean, we're combating ignorance, why aren't we allowed to talk to the source?
 
10:01 PM
@RadekSlupik There's a specific text board for programming where the people would actually understand, rage, and potentially screw him indeed.
I don't know which now. dis.4chan.org/prog?
 
/b/ ftw
 
@RadekSlupik btards only go to /b
 
@MooingDuck Because one e-mail should be enough.
 
4chan is wonderful
 
10:02 PM
@MooingDuck This is why I have a tendancy to program in C with classes.
 
@R.MartinhoFernandes I doubt more than 5 or so of us would email him
 
One email with signatures from all of us.
 
Xeo
I don't like that calling syntax :s
 
10:02 PM
Welp work is over time to fly home
flaps wings
 
Spam him through Tor.
 
@RadekSlupik I'm in for that.
 
-1
A: Splitting std::string and inserting into a std::set

Drise#include <set> #include <iostream> #include <string> int main() { std::string temp, mystring; std::set<std::string> myset; while(std::getline(std::cin, temp)) mystring += temp + ' '; temp = ""; for (size_t i = 0; i < mystring.length(); i++) { ...

Case and point.
 
The funny thing is, it is easier to write C++ code than "C with Classes" code.
 
10:03 PM
Less hair pulling, more concise, uniform.
 
@DomagojPandža It's not as obvious especially when you've been taught to think in C with classes.
 
@Xeo typename is redundant.
Remember that a template is a "function that returns that a type".
 
Xeo
@R.MartinhoFernandes nope
 
I'm quite certain it is.
 
Xeo
nope-y
 
10:05 PM
typename vs class
Fight.
 
Xeo
T::template F<X>()
 
@RadekSlupik Done. Send it if we reach 5. And make sure to put that message you were going to, but also tell him to study and become up-to-date again. It's not even that hard.
 
Xeo
function call or object construction?
 
@Xeo Oh fuckers.
 
@n2liquid We can write the message on top of the document.
I’m bad at writing such messages.
 
Ell
10:06 PM
a function that returns a type, ehh?
 
Xeo
@R.MartinhoFernandes told'cha so
Ain't ambiguous grammar great?
 
@n2liquid Don't tell him to come here. I've ridiculed him enough as it is, and I have him for at least 2 more semesters.
 
@Drise Are you sure you want to do this, then? lol
 
Xeo
@Ell template<class T> struct X{}; is the function, and is called with X<int>, which returns the specialized type __X_impl_blah_cookie_int.
 
@n2liquid You guys have fun with this. I'm just not putting my name to it that's all.
 
Ell
10:08 PM
Woah mooingducks code is kewl
 
@Drise show me the code, btw. I didn't see it.
@Drise Gotcha, haha :)
 
@n2liquid I'm enjoying the show however.
 
Ell
@xeo never really looked at it that way before
 
"Dear Professor (if that’s your real name),"
ahahahah
 
Xeo
@Ell Didn't either, until reading one of Bjarne's papers
 
10:09 PM
You guys suck.
How could you not see such an obvious pattern?
That's why you should learn Haskell.
 
Xeo
If I'm asking a question about using-aliases, how would you want to name the tag?
 
@R.MartinhoFernandes I wrote a programming in Haskell.
 
Xeo
@R.MartinhoFernandes using X = int; // no template
 
Xeo
10:11 PM
> In the C# language, the using keyword is employed in two different contexts, as a Directive and a Statement.
 
It's killing me having to type char*
 
Xeo
the tag wiki...
> "using" is a keyword in the C# programming language.
 
Btw, humiliating people doesn't often work for convincing them of your views. (IOW, pick your goal with that e-mail thing: convincing him of your views, or humiliating him).
 
@Ell I've been discussing such things as part of Wide for years.
 
Xeo
damn egoists.
 
10:11 PM
@DeadMG They suck, right?
 
what, functions that return types?
 
egoists?
 
@DeadMG No, @Xeo and @Ell.
 
@R.MartinhoFernandes I think most people do it for the lolz.
 
Xeo
@R.MartinhoFernandes shaddup.
 
10:12 PM
no idea, I didn't read any of the context
 
Ell
@deadmg what were you thinking of putting in wide? I'm on mobile so have no arrow to follow. paste the permalink if you want
 
doesn't matter
 
Ell
Oh wait
 
Everything can be seen and modeled out of functions.
 
Ell
or do you mean functions returning types?
 
10:13 PM
Yeah.
 
And yet, they're treated like second-class citizens. :'(
 
@DeadMG Are strings going to be part of Wide, or part of a library?
 
@Ell what? which code?
 
@Ell That's what passes for templates in Wide.
 
Xeo
6 mins ago, by Xeo
@Ell template<class T> struct X{}; is the function, and is called with X<int>, which returns the specialized type __X_impl_blah_cookie_int.
 
10:14 PM
@Drise Part of language.
 
"Otherwise you’re getting deprecated. You know what that means, right? It means you will get as old and grumpy as sbi."
ahahahah
 
@DeadMG Thank you for having sense.
 
Xeo
Note: If I ever implement a compiler that has to do name-mangling, cookie is so going to be part of every mangled name.
@Drise err... ?
 
@Xeo What if someone makes an app about cookies?
 
@DomagojPandža Then they'll be cookie cookies
 
10:16 PM
@Xeo I dislike it greatly that you must use std::string, rather than it being a type. Which propagated the use of char*
which is an abomination.
 
Well, it is compound, it is for the best.
 
std::string is a type.
 
Xeo
Hm, I pondered about asking a Q&A style question about the typename T::template type<...> think, about how it's accessed and garnering rep through it but... :effort:
 
Entangles the low-level stuff from within, RAII and shit.
 
Xeo
@Drise I like char const*.
 
10:17 PM
eh
the only reason strings need special language support is for literals.
 
Ell
@mooingduck the idiomatic c++ with istream iterators. I never knew they existed :L
 
const qualifier after the type for the win.
 
having to do { 'H', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd' } would be problematic
 
@Xeo That looks horrid to me.
 
Ell
@deadmg are your axioms like custom const qualifiers?
 
10:18 PM
no
 
@R.MartinhoFernandes Built in type.
 
Ell
or am I just a noob?
 
Xeo
@Drise Why?
 
they're more like
 
@Xeo If only it was a range instead of a pointer...
 
10:18 PM
optimizer hints
 
@Xeo I don't like char arrays.
 
Xeo
@R.MartinhoFernandes Yeah, if we get them, it'll be string_ref :)
 
Ell
oh right
 
an axiom tells external code that certain pre-conditions, which can't be determined programmatically within reason, hold
 
I think the only thing a language needs for strings is to have string literals be ranges of characters.
 
10:19 PM
Jesus, sometimes I get wet thinking about myself as a professor, especially when I contemplate forcing C++11 goodness on good-for-nothing students.
 
Xeo
@R.MartinhoFernandes It's not like that's not the case in C(++)
They're just a very special kind of range :)
 
Then you build whatever string classes you want on top of that.
@Drise There's no need for a string built-in type.
 
@R.MartinhoFernandes Codepoints, bitch.
 
And then I'd force them to write a C++11 compliant raytracer which traces a 3D extruded shape of the text "I will not write C with Classes."
 
@DeadMG Same thing in Unicode, bitch :P
 
10:20 PM
lol
 
@R.MartinhoFernandes I feel like there is. Who doesn't need to pass around some string of characters? It's like saying there's no need for int to be a built in type.
 
And then they have vague stuff like "user-perceived characters" and well-defined stuff like "extended grapheme clusters".
 
Ell
@deadmg but will axioms only be used for optimization?
 
@Ell Who knows? Who cares?
 
@Drise All you need is for it to be an array of characters.
 
10:21 PM
@R.MartinhoFernandes Which propagates char* bullshit.
 
@Drise Nope, that's a separate issue.
 
Xeo
@R.MartinhoFernandes and make arrays not decay to pointers with a tickle
 
If arrays don't decay to pointers arrays of characters are fine.
 
range of Unicode codepoints is fine.
 
@R.MartinhoFernandes Also, the whole "nul terminated char array" bs.
 
Xeo
10:22 PM
And if you have type inference, there's no problem with the literals staying arrays auto& s = "hi";
 
@Drise If I designed a language, I'd keep the null terminated stuff.
 
@R.MartinhoFernandes whaaaaaa?
why the fuck would you do that?
 
@R.MartinhoFernandes nul - FTFY
 
If I designed all the languages in existence, I'd probably ditch it.
 
Xeo
@Drise If anything, I'd want the string literal to be of type string_ref, holding a pointer and a length
 
10:23 PM
@Drise No, you didn't fix it. The character is called "null". NUL is an abbreviation, which doesn't abbreviate much.
 
@R.MartinhoFernandes nul != NULL
 
@Ell I'm not sure I'd call them "idiomatic", but they're handy sometimes
 
Xeo
@Drise and NULL != null
 
In computing * Null (SQL), a special marker and keyword in SQL * Null character, the zero-valued ASCII character, also designated by NUL, often used as a terminator, separator or filler * Null device, a special computer file that discards all data written to it * Null modem, a specially wired serial communications cable * Null object pattern, a software design pattern using an object with defined neutral behavior * Null pointer (sometimes written NULL), used in computer programming for an uninitialized, undefined, empty, or meaningless value * Null string, the unique string of length zero (...
 
@Drise You can check all of the C, C++, ASCII, and Unicode standards: it's called the null character.
 
10:24 PM
@Xeo I meant to put that
 
NUL is an abbreviation.
Using NUL makes you look like a fool because you're abbreviating an L.
 
 
@Drise Yep. What do you think character 6 is called?
 
Xeo
@Drise standards, not tables
 
hex to 7Ehex (decimal 32 to 126). The space character is considered a non-printing graphic.]] The American Standard Code for Information Interchange (ASCII, ;) is a character-encoding scheme originally based on the English alphabet. ASCII codes represent text in computers, communications equipment, and other devices that use text. Most modern character-encoding schemes are based on ASCII, though they support many additional characters. ASCII developed from telegraphic codes. Its first commercial use was as a seven-bit teleprinter code promoted by Bell data services. Work on the ASCII st...
 
10:25 PM
It's Acknowledge.
ACK is an abbreviation.
Character 1 is Start Of Header, abbreviated SOH.
 
@R.MartinhoFernandes WEL, that's not a very nice thing to say.
 
LF is linefeed, etc.
 
@R.MartinhoFernandes They were being consistent and used up to 3 char abbreviations.
 
Ell
@deadmg I don't really get the ABI part of your spec, I just want to ask, will libraries compiled by one implementation be compatible with those compiled by a different one? e.g. the equivalent of gcc being able to use vs compiled libraries?
 
well, that's the intention.
 
10:26 PM
@Drise Yes, but correcting people from "null" to "NUL" is dead wrong because of that.
 
Xeo
Because there will only ever be one implementation anyways. :)
 
last call for signatures: docs.google.com/document/d/…
 
Ell
@xeo you never know, it could become hugely sucesfull :D
 
@MooingDuck I'd ditch the "you are a bad person" part.
Also, when criticising code, it's good form to refer to the code, not the person that wrote it (i.e. "the code" instead of "you").
 
heh, four people joined and looked, but haven't signed
 
10:30 PM
@R.MartinhoFernandes done
 
Xeo
I don't even know what you're critizing
 
@MooingDuck One is me lol.
 
@Xeo a teacher’s code.
 
@DeadMG To not live in my own isolated island? FWIW, I would keep a size along (or two pointers, or whatever equivalent form), but wouldn't discard the null terminator. Just like C++11's std::string does. That thing is too ingrained these days to pretend it doesn't exist.
 
@Drise Well, you shouldn't sign it if you're his student. That's like signing up for Anal Commando IV, as a training dummy.
3
 
10:31 PM
@R.MartinhoFernandes You can simply offer a conversion and leave it atthat.
 
@DeadMG Not as cheap :P
 
@DomagojPandža ROFL
 
Xeo
@DomagojPandža as if he'd attend his classes anyways.
 
@R.MartinhoFernandes Implementation details can change that.
 
Ell
it is being too slow roe me, cannot sign :(
 
10:32 PM
@Xeo I do. I tend to just float around SO during his lectures to drown out the
 
Xeo
@Drise To call him out on his bad code I hope ;)
 
@Ell pass your name and email address and ill put it in
 
@DomagojPandža or sign it under a psudonym
 
@DeadMG Oh, right, it doesn't have to be visible. But I'd keep it in storage.
 
@R.MartinhoFernandes You don't have to do that either.
 
10:33 PM
How so?
 
@MooingDuck "The Dark Overlord in the back of your classroom"?
 
@Xeo I do. He claimed std::endl == '\n'. I corrected him, of course.
 
Ell
@radekslupik Elliot Potts, elliotpotts@gmail.com [someone bin please once radek is done]
 
ok
just delete your message
 
@R.MartinhoFernandes Simply write it in at the end.
let me show you
 
10:33 PM
binning won’t help
 
@Ell You can't delete that?
 
Ell
I am mobile :D
 
@MooingDuck My only psuedonym is Drise, which I've emailed him from drise13@gmail.
 
I just watched a movie with a cute puppy in it, and DeadMG was the first person to pop into mind. Wrong?
 
Xeo
@R.MartinhoFernandes action during conversion: _first(other._first), _last(other._last + 1)? :)
 
10:34 PM
@Ell AFAIK there's a "full" menu on the bottom.
 
@Drise so? Can't make a new one?
 
@MooingDuck I'm not creative lol.
 
@Ell done
 
I could go with "The pheonix" maybe.
 
Xeo
Go with "You know who".
Since you're likely on of the few calling him out
 
10:34 PM
@Xeo 3 programming assignments involved harry potter.
 
@Ell Alternatively, flag for mod and ask for deletion. I'm not sure you want to put that in the bin, as all kinds of people go there.
 
Xeo
lol
 
lol as if our email will actually make a difference
 
Lately, I find myself reading C++ books just to stroke my ego. I'm a bad person.
 
Ell
damnit too late. oh well I don't care that much, binning would be nice but its no biggy
oh kk ill leave it or something
 
10:36 PM
Btw, do one last proofread. You don't want to flame someone and sound like a moron when doing so.
 
Xeo
> char* begin, end;
 
if you allocate one more byte than you need, you can simply write zero in at the time of c_str().
 
@MooingDuck wow! Nice one folks :)
 
Going home, bye. You can send that e-mail with my name, I don't care.
Thanks.
 
10:37 PM
and then hide it from the caller
 
@TonyTheLion Sign that shit like a boss!
 
@DeadMG Erm, you're still keeping it in storage, you're only assigning it lazily.
 
Shall I press the button?
 
ah man
 
10:37 PM
Could you space out the [1..n] points?
Readability and shit.
 
@R.MartinhoFernandes Difficult to argue that I'm keeping it around when it is, in fact, not there for most of the existence of that object.
 
@RadekSlupik Btw, an ifstream pointer member makes sense for other reasons you haven't mentioned there.
 
so who is this guy you're writing to?
 
@TonyTheLion a teacher
 
@TonyTheLion Drise's prof
 
10:38 PM
oh god, he must suck
 
Also, pressing the button means we will hurt a man's feelings. But he's a professor, so he'll be taking his own medicine.
 
@DeadMG Yes, but that doesn't change anything from the design side: both options have c_str with O(1) complexity.
 
@TonyTheLion do you want to sign or not?
 
@DomagojPandža we're making the world a better place
 
I’m about to send it.
This is last chance.
 
10:39 PM
At first I thought you were suggesting making copies.
 
I'd sign but Google Docs fucks up for me
 
that's badass you guys writing it, not sure if I'm badass enough to put my name under it
 
@KianMayne give us a name and email (can be alias) and we'll get you on it
 
@R.MartinhoFernandes The point is, you can offer c_str with O(1) complexity without the interface ever revealing a NULL character anywhere else, ever.
 
@MooingDuck K Mayne - kmayne@live.co.uk
 
10:39 PM
@R.MartinhoFernandes I've never run into another, but I suppose there could be another situation
 
ifstream was not copyable in C++03, so keeping a member for it would make your class noncopyable.
 
@KianMayne I put it in.
 
@KianMayne done
 
And reference members suxors.
 
Thanks :)
 
10:40 PM
@R.MartinhoFernandes ah, right
 
okay five seconds and I’ll really send it. I want to sleep.
 
@DeadMG Oh sure. I never said it had to reveal it. It was always my intention that s[s.size()] fail or whatever appropriate error behaviour I'd decide upon.
 
@RadekSlupik It's good to send
 
Ell
I want a screenshot of the signatures :L
 
10:41 PM
Also, the subject doesn't match the content.
I know it's too late.
That gives me more pleasure.
 
It does. We were talking about his homework assignment.
 
:)) how evil
 
And this makes sure that…
 
"We have seen your C++ code, and we from the Internet were unimpressed."
 
he actually reads it…
 
10:42 PM
This sentence just won me over.
 
@RadekSlupik Yes, but the e-mail doesn't even mention that.
 
mid summer T_T
 
I sincerely need to make myself a shirt
"We are from the Internets" :$
 
@DomagojPandža "we from the Internet"
 
I’ll keep that email for future teachers.
 
10:43 PM
@RadekSlupik Summer is over Wednesday lol
If anyone is game enough to provide me a proper reader, that would be fantastic to include in my C++11 homework submittion.
 
I'll dump his message here when he responds.
 
I was pretty upset with the plaintext HTML page in Times New Roman
 
We from the internet, will summon you, for your bad C++ teachings.
 
Ell
Im going to spain at 4 tomorrow. or 5 or 6 or something, won't see any of you for 2 weeks :(
 
well, have fun in spain
 
10:45 PM
sPAIN
 
Ell
thank you :)
 
@Ell Hablas espanol?
 
Also, for anyone interested: stackoverflow.com/q/11729339/868546 is still up for grabs.
 
Ell
@kianmayne puedo hablar un poco :L
 
@Ell ¡Divertete! (I'm sure I'm missing some accents in there.)
 
10:47 PM
There is a good chance that we are living in a Universe where the following sequence of events will spill itself over the spacetime as a repercussion of the mighty email™.

1. He grins at a late C++ assignment, ready to inflict pain unto an unsuspecting student
2. He reads the mean message from the ones that are from the Internet.
3. His feelings are butthurt, turbulent in emotions of self-doubt, midlife crisis and sexual deprivation because his wife hasn't put out to him for the past 5 years.
4. He comes to class, even more jerked off at the world and the ones from the Internet, and decide
 
Or shoot them.
 
Espero que sea muy agradable por tú :)
 
@Drise a proper reader? ah, his is bad code, but I wouldn't bother replacing it. (unless you have to for the assignment, I didn't read the assignment, just the code)
 
Ell
gracias :D
but i don't know what sea means :(
 
@MooingDuck I don't have to, but like hell I want to be stuck using char*
 
10:49 PM
@Ell It's a verbal form of "to be".
"is", I guess.
 
@Ell It's subjunctive because of the "espero que" of to be
 
@R.MartinhoFernandes Yeah, could be a good idea for @Drise to get a bulletproof vest.
 
Ell
ah right okay
 
@Drise when using his functions just use mystring.reserve(128); then pass mystring.data(), and then mystring.resize(strlen(mystring.data()));
 
I'm not sure about the last part ("por tú") though. Sounds wrong somehow. (Disclaimer: I know very little Spanish, I usually pretend it's just Portuguese with a funny accent, but it isn't)
 
10:50 PM
@DomagojPandža Don't joke. One of our professors went ape and shot a bunch of other professors a few years ago.
 
g++-4.7 -std=c++0x -Wall -Werror -ansi -pedantic-errors -c -o main.o main.cpp
main.cpp: In function void print_permutations(size_t):
main.cpp:20:20: error: range-based for loops are not allowed in C++98 mode
I am getting major weirdness
 
At the University of Alabama in Huntsville in Huntsville, Alabama, three people were killed and three others wounded in a shooting on February 12, 2010. During the course of a routine meeting of the biology department attended by approximately 12 individuals, a professor stood up and began shooting those closest to her with a 9-millimeter handgun. Amy Bishop, a biology professor at the university and the sole suspect, has been charged with one count of capital murder and three counts of attempted murder; under Alabama state law, she could be eligible for the death penalty if convicted. ...
 
@Drise She looks like an ape.
 
Oh great, we have a wikipedia page.
 
@KeithLayne -std=c++11?
 
10:51 PM
"At the University of Alabama in Huntsville in Huntsville, Alabama", lol
 
I had just changed it...I get the same either way
 
@R.MartinhoFernandes Obviously written by a native.
 
It is hilarious that they describe her PhD thesis in length on a page dedicated to a shooting.
 
link to the code in question?
 
"John Doe, who killed 50 people, is an excellent scholar. Let us observe his life achievements and set aside the fact 50 people were brutally murdered by this gentleman and a scholar."
 
That same year, Huntsville also gave you:
Antione Dodson
 
Drise The Rapist
 
@R.MartinhoFernandes I meant the code you wrote that badass letter for?
 
clang++ -std=c++11 -Wall -Werror -ansi -pedantic-errors -c -o main.o main.cpp
main.cpp:20:18: error: range-based for loop is a C++11 extension
[-Werror,-Wc++11-extensions]
for(number num : perm) std::cout << num << " ";
 
@TonyTheLion I didn't write anything.
 
10:54 PM
@TonyTheLion cs.uah.edu/~rcoleman/CS307/ProgAssign/cs307Prog1.html (code is in zip at the bottom)
 
HUNTsville
 
@R.MartinhoFernandes What is (0.5, 0.5)?
 
@DomagojPandža C with classes.
 
if that code has to come under the heading "C++" then I must be the pope
3
 
@TonyTheLion Hi, Benedict XVI.
 
10:56 PM
Protip: -std=c++11 has to come after something that it was before, before.
 
@DomagojPandža A point.
 
> Not to mention your inconsistent indentation.
only us pedants would mention that :)
 
@MooingDuck /home/rm1/Prog1307/Simulation.cpp:28: error: invalid conversion from 'const char*' to 'char*'
 
@Drise can't pass a string literal to a function expecting char*. That's why we had it hear the top of our complaints.
 

« first day (653 days earlier)      last day (4278 days later) »