@JerryCoffin We had TV at home, and I did watch, but adults kept tabs on what I was watching. Since I haven't lived with a TV in >20 years, my kids grow up without TV. (Well, one of my ex-wifes has had a TV for a while, but she never watches, and the kids we have, having grown up without TV, aren't used to it enough to watch a lot.)
@Drise Ah. Simple graphics. That's something nice for kids. Also, you need to know how old these films are. That one's from 1972, according to Wikipedia.
Because my C++ lecturer said he doesn't belive me that I wrote that program (which I did).
He said he knows how to check whether or not I wrote that program.
How can he check that?
I can provide the program itself it that helps answering it..
@Mysticial generally, hacking is just re-purposing something, such as hacking your TV remote to be a hammer, or your hammer as a one shot 'tv off' remote
Ha, you sneaky bastard, thought you'd get away with copying John's homework, didn't you? Guess what, not even can I tell you copied it, I even find out immediately that you are asking about how I do that on Stackoverflow! Well, that seals your fate in my course then, I guess! — sbi7 secs ago
The normal way people would do logging, is to use a logger. You seem to want to make extra work for your self. Most people will just a pre-made logging library, and use functions such as "log(WARN, 'potential troll alert')", or "log(INFO, 'ungrateful people tend to be ostracised')", or "log(ERROR, 'Out of fucks to give')" — thecoshman24 secs ago
I'd explain to that guy that logging is a standard way of doing any logging in Python, but he doesn't seem to be the type of person to understand, so I don't care.
of course, when the mayor said he'd made the sour cream porridge, he was joking. at best he'd helped a little for appearance's sake. i was the only one who didn't get it. :-(
nah, school was awesome, barley 5 hours of work a day, strolling to supermarket for lunchie munchies, cost along doing the barley the faintest hint of work. Uni was even better, but that's mostly being old enough to head out and living on my own
@DeadMG going to uni is not the only way to get a decent job, it's just an easy ride for three years that helps you cut out about 10 years of grunt work
@Potatoswatter: Regarding this question of yours — I have been teaching C++, and nothing pissed me off like students, in whom I invested incredible amounts of time and energy (which I did not get paid), simply copying their fucking homework, instead of getting me to help them to do it themselves.
@RMartinhoFernandes Actually, I have no preferences. Well, when I think about it hard, I might prefer Italy, since I have seen Germany vs. England more often.
@sbi Eh. Plagiarism you expect. I taught in EE, where there was one right answer, and you need other means to determine that the student isn't just regurgitating.
The flip side is being falsely accused of plagiarism, especially when the teacher copied the assignment from somewhere else and opened up a window for cheaters.
I was accused by an English teacher, who was convinced that certain typos and a generally different style meant that the author wasn't me.
@Potatoswatter How about a teacher copying the assignment, slapping their own watermark on it, and then proclaiming with big red letters that copying is forbidden? :)
Oh god. I always wrote such egregiously long and rambling essays/papers that no teacher ever doubted it was mine. I doubt whether some teachers just graded some of it as TL;DR
@sehe You won't be accused of plagiarism for handing in crap. (Unless a classmate handed in the exact same thing, which perhaps the most common case actually.)
If you hand in something flawless, when previous submissions were mediocre, on a completely generic assignment, that arouses suspicion. But the suspicion is unverifiable.
My best experience was in last grade of primary school, I had handed in a paper on the (mandatory) subject of the wheather. It was 150 pages of typewriter-typed material (with hand drawn illustrations) plus 150 pages handwritten with all kinds of statistics, news reports.
The teacher handed everybody their papers back, with a grade. However, I didn't get mine back, because "He had given it to the other teachers to read". That really made an impression on me
@Potatoswatter I usually had one case pretty early in the semester where someone would try to turn in someone else's slightly changed homework. I would make a big fuss out of it, telling everybody that I am required to throw any student out of my course on first offense. Then I'd say that I'd let it slip this one time, but that I'd do it after the book on the very next occasion. That did the job every single time.
@sehe There was this one time, where I presented a two-page report about some app we had to develop for some networking class, when everyone else had things with 50-100 pages. The first thing the teacher said to me was "Only this?", to which I replied "Have you read it? It's all there". Later when presenting the app, I answered every question the teacher asked with "It's right there on the report." It was really frustrating.
@RMartinhoFernandes yeah, I think I've learned to pare down to the essentials a bit later.
However, the 'Weather' paper was simply very broad and deep. That was just fun to do, since there is such a lot to tell about wheather phenomena, climates, predictions, regional seasonal effects, winds in stratosphere, categorization of clouds etc. etc. It was all there :)
@Potatoswatter I don't know how the students fared with the professors when cheating thus (I was just an "external lecturer"), but I earned my money by trying to understand other people's code every day, so I considered it very easy to catch them.
I think it's also a mistake by a teacher to think all or most students are there to learn. I did a very successful thing replacing the introductory programming course at Bodø College with one based on more modern language and equipment. But the year after, with larger class, I gave an assignment about presenting guitar chords. A group of students led by three girls maintained that they couldn't do this because they didn't know how to play the guitar, and took that up in system. I learned.
with the lovely boost::visitor am I right in think that in order to a get data returned from the visitor, I need to pass a reference that can be used to hold the data, sort of like this... boost::apply_visitor(myVisitor(/* can use this to pass out values */), myVariant)
The guitar chord assignment was however very popular with the "good" students. They did graphical presentations that were really impressive (the assignment only asked for text output). And few of them knew how to play the guitar.
When my students tried to turn in their homework program at the beginning of the course, they were always baffled when I waved the program away: "I am sure you have a program that somehow does what it is supposed to do; I am, however, interested in how you did it. Show me your code!" That was their 3rd semester, and they all said nobody had ever looked at their code before.
And that showed. Usually, the first 3rd of the class got all sent back to fix their code (the others learned by watching what I objected to).
@thecoshman It's not about them understanding their own code. I sent them back for doing it all within main() rather than properly breaking it down into functions, or because they named their variables a and b. I was all about writing maintainable programs, no matter how small their task.
@sbi ironically, I've found my self more and more spending too much time just thinking about how to solve something the actually getting a move on with it
they complained, formally. they wanted to pass with as little effort as possible. i think it was a sign of the academic fighting that i never got to see the formal complaint, but i did get a verbal correction.
@JerryCoffin I was just trying to holder her to the same standards the other teachers seemed to hold themselves to: at a minimum, read what the students turned in. I mean, it was only two pages!
atomic only means the operation itself proceeds as if in exclusion, but an arbitrary amount of time can pass after that operation and the next executed instruction
is it considered bad practice to use one visitor class for a variant, with a variant, ie using complex = boost::variant< foo, bar >; using moreComplex = boost::variant< simple, complex>
Well, the first half was really interesting. It's still totally open whether Italy or England will be Germany's opponent next week. Now let''s see what happens...
@RMartinhoFernandes The only thing I am concerned with is that the Portuguese will be thrown out by the Spain and we have to endure yet another game by those Spanish. They are really boring to watch playing.
the England team spends about 10 days/yr playing or practicing together, there's basically no monetary reward for being in the England team, etc.
so surprise surprise, the England football team sucks
the England cricket team, you play for the England cricket team exclusively, play internationally all the time, best money best fame easily comes from only international cricket
surprise surprise, England cricket team now best in world, or very close
"@Dani -- Not strictly true. The C standard is included in the C++ standard, so technically fread() and fwrite() are C++. However I certainly agree with you that stream-based i/o is considered to be much better style. – Michael J"