« first day (1435 days earlier)      last day (3504 days later) » 

6:02 PM
@Rapptz How often do I have to point out that sleep is a disease (caused by caffeine deficiency)?
 
@JerryCoffin Why is your name not Jerry Caffeine?
 
@Loopunroller Because (sadly) I don't consume caffeine any more (causes problems with gout).
 
@JerryCoffin What about Jerry Coughing?
 
@Loopunroller I don't get colds either.
 
I'd like to use a typedef in my C++ program but I'm unsure how the compiler will make use of it. Should I declare two separate classes (Vertex and Normal) both containing: const double x, y, z? Or should I declare Vertex as a class and make Normal a typedef? Which one is more typesafe?
 
6:06 PM
Wrote some touch stuff for WPF. Had to dive deeper than I wanted.
 
@JohanLarsson The Microsoft rip-tide. Just come down here and get your toes wet. What? You're drowning? Oops, sorry 'bout that. I guess you need to climb on the good ship Microsoft after all. Here, let me give you a hand...
@sdasdadas IME, you're best off leaving the two as the same type.
 
There is an API but handling raw touch events will probably not lead to standard look & feel.
here is a sample if you want to test. Please flame if you find dumbs.
Parts of the code is nice, parts are not.
 
@JerryCoffin meaning use a typedef?
 
Ell
hmm
 
6:25 PM
So my dad got a powerline adapter so we could setup a router on the other side of the house.
They are totally useless.
 
Why does Sofffia have three letters 'f'?:) — Vlad from Moscow 57 mins ago
 
he caught on to your shitty trick
 
@Sofffia Jeffrey?
 
I hate the fact that you need to answer something right at the first shot otherwise a rain of downvotes comes down and they never leave: stackoverflow.com/a/25951687/1938163
 
@VladfromMoscow One from "Sofia" and two from "Jeffrey"? ;-) — juanchopanza 47 mins ago
@MarcoA. Delete the old one, post another one.
 
6:31 PM
@Sofffia I believe you're right, it might be the best thing to do
 
@MarcoA. Is there some reason you want to post wrong answers? :-)
 
bwahaha
@MarcoA. if it was wrong then just delete it...
 
@Borgleader I usually fix my posts (and it should be correct now), but close-voters never retract their votes.
 
delete and make a new one
problem solved
 
A good thing could be to notify downvoters in case the post was edited afterwards
 
6:40 PM
@MarcoA. Your edit makes it logically completely different answer, so "delete and create new answer" is the way
 
why it's bad idea to declare primitive arguments with const & ? like const int &i in the func argument?
 
@milleniumbug Okay, so "fixing" doesn't mean "change it". I thought it did but perhaps I'm wrong. Thanks
 
void setKeyStatus( const unsigned key, bool status );
 
theres no real point in making a paramter you take by value const
its a local copy so who cares what you do with it
 
right
i think it should be something like this? void setKeyStatus( const unsigned &key, bool status ); is there something wrong with that?
 
6:46 PM
@Borgleader Perhaps worth pointing out that even the compiler doesn't care--top-level cv-qualifiers (const or volatile) don't affect a function's signature.
 
@Bilal just pass by value for ints, instead of cost ref
if anything itll be faster
 
@Bilal Nothing terribly wrong, but no particular reason to pass a reference instead of a value. You typically pass a const reference when/if the type might be large enough that (you think) passing by value is likely to be inefficient.
 
awesome
 
hey guys
some has some advice for me? i'm working on a library for some time, but I have no users... how can I spread the word? Maybe I just have to wear a shirt with some references on it haha
 
Let me see the library.
inb4 it's feces
 
6:50 PM
@Sofffia It can't be. "feces" is my library!
 
Yup, it's feces.
 
here you have 2 examples of its usage. it's basically a unit conversion library
 
Xeo
The fuck did I just watch. Aldnoah.Zero ending, WTF.
 
Just look at the color they chose for Java.
 
6:51 PM
realy, it's statically typed^^ is it that useless?
hahaha, good one
 
Post it on reddit, so that more people can tell you it's feces.
 
@Sofffia A base libel! Continue such unfair comparisons, and feces everywhere will rise up to smite you for your insults!
 
my question was more about general steps one could take to make one's open source work known
 
@JerryCoffin lol
 
have no problem with critics :D ...but please abstract the fact that it is programmed in java :D
 
6:53 PM
Can't.
 
damn :D
but reddit seems like a good idea, i'll try it there
 
@mike "abstract"? Do you mean "ignore"? So basically: "In evaluating whether my software is horrible, please ignore the fact that it's horrible."
 
Come on. Go post it on reddit. You are wasting your time here. The whole world is waiting.
 
haha, you guys really hate java^^ this seems to be about relegion. but i can totally understand. for some reason i always liked nvidea and hated radeon, ati
 
wat
what's relegion?
 
6:56 PM
that was metaphorically...
 
what's nvidea?
 
it's a lotion
 
nivea for men
 
oh sry^^ i'm trilingual. shit happens
 
6:57 PM
@mike I, for one, most certainly do not hate Java. Real hatred takes a lot more energy than I'm willing to devote to Java.
 
+1
unconcern > hate
 
user784668
@JerryCoffin I can lend you five joules.
 
@Fanael If you were offering 5 jewels, I might at least consider it...
 
7:11 PM
This is one of those days when I want a close-reason of 'OP is clueless':
http://stackoverflow.com/questions/25952091/correct-c-code-and-declare-object-array
 
7:21 PM
error: ‘ahmed’ was not declared in this scope
 
<insert racist comment here>
 
@OMGtechy I don't make racist comments any more. In fact, slow drivers hardly bother me at all now.
 
hahaha
 
in one of the comics in the humble bundle, aliens seem to invade Romania
 
@AlexM. From various Lounge posts, I thought they already had.
 
7:29 PM
it would be so cool if I were an alien
but unfortunately I am not
holy fuck now the Russians are in Romania too
this comic is all over the place
 
Acia seems to have a stealth bomber for a face.
 
oh they put a Renault in
I was expecting to see a Dacia
close enough
 
user784668
@AlexM. same thing, innit?
 
in a lot of ways, yes
ever since Renault acquired Dacia, the cars started turning into transformed Renaults
also lol they have no idea about Romania's geography
they say the action takes place in Bucharest which is in a plains area, and they show this huge mountain in the background
 
user784668
@AlexM. Magic!
 
7:41 PM
hi
 
user784668
@AlexM. also ceci n'est pas une montagne
 
i'm writing some backtracking algorithm where I record the search path in some data structure. many points in my code have this int fun(int i ) { record(); auto val = fun(i+1); unrecord(); return val; } structure. I wonder whether using RAII like int fun(int i) { Recorder r; return fun(i+1); } would be considered good modern style?
so where the Record class does record() in its constructor and unrecord() in its destructor
 
^ GROOVY AS FUCK
 
I think i start to like Pewdipie
Is that wrong?
 
user784668
yes
 
7:50 PM
@Fanael Quick, what should i do?
 
user784668
@Loopunroller kill yourself, or start writing PHP?
 
Start writing bureaucratic Java
 
@Fanael I worked with PHP once - wheres the knife?
@MohammadAliBaydoun Sounds like you need masochistic tendencies for that
 
Not the sane kind, but the interface factory list manager impl pimpl impl kind
 
user784668
@MohammadAliBaydoun abstract singleton factory?
 
7:52 PM
@Loopunroller yes
 
@Fanael I feel ya boy
I plan on solving some Project Euler problems tonight just for fun
 
@MohammadAliBaydoun Whats your level?
Been working on them all day today
 
I have absolutely no idea. I haven't logged into it since 2013
Back when I was a kid, I knew nothing about programming, so I was oblivious to the Project Euler's code-usage requirement to solve problems.
I still managed to solve about 2 or 3 without a program if I recall.
I recall doing Brute Force on paper for one of them
 
What's that?
 
8:00 PM
@MohammadAliBaydoun One of them is a simple one liner in calculator, at least the way i did it
 
Stunningly accurate model of air-cooled Napier Dagger H24. Smallest engine I saw today:)
 
Is there any obvious error in using make_reverse_iterator: (sorry for spamming screen)
#include <iterator>
#include <vector>
#include <cassert>
using namespace std;

int main(int argc, char **argv) {
vector<int> vec = {0, 1, 2, 3};
/* g++ -O0 testreverseiter.cpp -lm -o testreverseiter -g -Wall -lpthread -std=c++11 */
/* testreverseiter.cpp:11:3: error: ‘make_reverse_iterator’ was not declared in this scope */
assert(
vec.crbegin() == make_reverse_iterator(vec.crbegin().base())
);
return 0;
}
 
@MohammadAliBaydoun Some guy made it in his home workshop. No NC machining - all 'hand-made'. It was an amazing bit of work, more inpressive than the massive Trent 1000.
 
@modeller Forgot to include the corresponding header?
 
Ell
8:17 PM
I wonder which bit is my document number on a uk passport
 
Ell
I think it's the passport number but I need ot be sure...
 
user784668
vector<pair<size_t, size_t>> tokenize_string3(const string &text);
 
user784668
oh fuck I solved the temporary lifetime problem sorry
 
Ell
@MartinJames Any help for this? All I get from google is uncertainty :S
 
8:23 PM
@Ell Don't know if the guy who built it has any web presence. I must have taken years to machine all the components and build it - prolly had no time for webbing:) I must have seen 100 engines today, but that model was awesome. It wasn't just an external shell - the pistons, conrods, cranks, gears, camshafts, carbs, supercharger were all there, outside and in. The pic does not do it justice.
 
Xeo
wut, Cat's playing Terraria
 
@Fanael sugoi
 
Ell
I love miniature engine models
I remember seeing this one blown from glass somewhere
 
user784668
@Rapptz ?
 
8:29 PM
@Ell Yeah - I've seen a few, but nothing remotely like that. I also saw a merlin run up, also a minature gas turbine that hurt my ears - I should have taken the free earplugs.
 
Ell
@LightnessRacesinOrbit cool thanks
 
And oh look the first 120,000 or so results for uk passport document number on Google confirm it.
 
== Japanese == === Romanization === sugoi rōmaji reading of すごい...
 
@modeller You're still not formatting your code as code. Why?
@Loopunroller It's <iterator>.
@modeller g++ -v please
 
user1804599
@LightnessRacesinOrbit because IQ.
 
8:31 PM
@LightnessRacesinOrbit Dude... why did you tell me that?
 
make_reverse_iterator is C++14, so good luck with toolchain support
@Loopunroller Because you suggested that the OP needs to include a header that he's already included? "Dude".
 
@LightnessRacesinOrbit Wait wat?
 
user1804599
@mike C is also statically typed but that doesn't make it any less terrible.
 
@Loopunroller What's going on now?
 
@MartinJames One thing I definitely do not miss from my time in the Air Force. Gas turbine engines are just nasty (at least to hear). en.wikipedia.org/wiki/Cessna_T-37_Tweet
 
8:32 PM
@LightnessRacesinOrbit I'm sorry, i meant to say lady :D
@LightnessRacesinOrbit Didn't notice he included <iterator>
@LightnessRacesinOrbit Thought it's iostream, at the top :D
 
@LightnessRacesinOrbit Never heard of it
 
@Ell It is. Just put in the Passport No from the pic page at the back.
 
user784668
@LightnessRacesinOrbit Dude, the word dude is my trigger!
 
@Loopunroller ok then
 
8:33 PM
@LightnessRacesinOrbit Thanks for the clarification honey, i appreciate it :) <3
 
user1804599
-funroll-loops
 
user1804599
Yummy.
 
@rightfold ... i was enjoying my free time.
 
heh
 
user784668
@rightfold -funtroll-loops
 
user1804599
8:34 PM
Gentoo is for Ricers
 
@JerryCoffin Looks like a fun little trainer, (once canopy closed to keep the turbojet noise out:).
 
@Fanael Completely illegible code
 
Ell
Mr Mann was my favourite character youtube.com/watch?v=4I7g5pWuTCI
 
user784668
@LightnessRacesinOrbit Rust is the new Perl
 
user1804599
uncode
 
user1804599
8:38 PM
@Fanael That's an insult to Perl, since Rust is shit.
 
user1804599
I mean, that map is horrible. It's worse than Derail.
 
user784668
Does Rust have Windows support yet?
 
user1804599
noo1 it's for 31337 mac master race
 
@Fanael Yeah.
I think so anyway.
@LightnessRacesinOrbit Safety comes with the price of readability obv.
 
user1804599
Python is fully memory safe and generally pretty readable if you ask me.
 
user784668
8:46 PM
@rightfold but purrformance!
 
@rightfold Yeah, i love the fact that indentation is providing the scopes
 
user1804599
whaha perfurmance.
 
user1804599
 
user784668
@rightfold 'murica
 
user1804599
Utah is a myth.
 
8:51 PM
@MartinJames Maybe, sort of. It was pretty under-powered though. Even B-52's climbed (quite a bit) faster.
 
@JerryCoffin :(
 
user1804599
 
yeah. don't know how they thwarted /this/ particular hot linking attemps
 
user784668
@sehe /r/thathappened
 
user1804599
8:56 PM
On a side note, people who find such stuff (not the linguistics) disgusting must shut the fuck up and stop giving a fuck about things that don't affect them in any way.
 
Sep 8 at 12:42, by R. Martinho Fernandes
It's my myriadversary.
 

« first day (1435 days earlier)      last day (3504 days later) »