« first day (1379 days earlier)      last day (3568 days later) » 

user1804599
12:00 AM
I nominate my brain to sleep.
 
ETA 30 years budget €100m
+/- 50%
Actually just give me the money, the other thing is impossible
 
> Why did America remove the u from colour? ... Because fuck u.
3
 
Xeo
12:17 AM
@CatPlusPlus hm, it did that by default for me (6k or so)
where do you guys keep your kdbx?
 
There's a button that says "1 second delay" in settings
 
I keep it in Dropbox
 
6k is really low
I have 17055232
 
Only cause I want to keep it synced with my phone
 
user3010322
Same.
 
12:19 AM
I keep the database on Dropbox, but not the encryption key
 
@Rapptz Within arms reach of the NSA, gj ;)
 
I wish them luck.
 
Xeo
@CatPlusPlus Oh. I thought the "1 second delay" thingy was meant wrt the 6k rounds
> 19983360
Guess that looks better?
 
Yeah
Even shitphones can probably do 6k in way less than a second :v
 
Xeo
@CatPlusPlus Hm. Where do you keep that?
 
12:26 AM
On my devices and in offline backups
 
Xeo
Carrying it around on a USB stick?
 
Xeo
argh, 2:30am
 
Might go with USB stick once I finally buy one someday
 
Xeo
guess I'll continue this tomorrow.
 
12:28 AM
@LightnessRacesinOrbit nice catch
 
Xeo
cheers and g'night
 
night
 
Xeo
@Rapptz Obtw, did you see my rig's pic?
 
no
 
good night
 
Xeo
12:29 AM
 
Looks good.
lol everything ended up being black
 
you've only got a gigabyte? loser
 
Xeo
Yeah. Only thing I really dislike is the cable that runs partly over the PSU and behind the cooler
since I couldn't hide that
 
@Xeo Why does it matter?
Why does it have to be nice inside?
 
@Xeo Nice cable job :D
 
12:31 AM
You are not nice inside, I'll tell you that.
 
those velcro straps are a good idea. I should do that
 
Xeo
@Jefffrey air flow and OCD :P
 
my case is a right mess. haven't even seen it in three years
 
Blood and muscles everywhere.
That's not pretty.
 
Xeo
@LightnessRacesinOrbit Those came with my PSU
 
12:32 AM
@Xeo aha
I got all sorts of shit with my PSU
didn't even look at half of it
may have some
 
I think most modular PSU have those
 
Did you get a non modular PSU?
 
user3010322
@Xeo Sexy.
 
Xeo
@Rapptz No
Fully modular
 
I meant Lightness
 
Xeo
12:32 AM
oh
 
btw your camera is a potato
 
Xeo
@Rapptz Yeah.
 
"it" automatically "does" "it"
How
 
@Rapptz I.. don't know what that means.
 
12:40 AM
@StackedCrooked ouch
 
> A modular power supply provides a detachable cable system, offering the ability to remove unused connections at the expense of a small amount of extra electrical resistance introduced by the additional connector.
 
Whoops, just been cackling my head off at that in my drunk state, forgetting that my office window is wide open behind the blinds from today's earlier heatwave. Sorry, neighbourhood..
 
@Xeo several places
 
@StackedCrooked aha then yes I believe so
it's something vaguely like this
 
> 24 mosquitoes liked this
 
12:42 AM
@sehe quite
hence the blinds ;)
you've all seen my blinds, of course
as well as my legendary shower room
 
I failed to see it's legend
 
Silly mods still the only good thing about GTA4
 
@CatPlusPlus used to love driving KITT around in GTA3
 
That would be a great picture if it wasn't for the girl.
 
12:45 AM
@LightnessRacesinOrbit impressed
@StackedCrooked inb4 his gf
 
@StackedCrooked inb4 u r gay
@StackedCrooked compare the photo with my avatar. it's me.
 
Oh I concur
 
@Mark: "sometimes to the point of downvoting perfectly correct and clear answers because they added nothing to the page that other answers hadn't already provided." Oh dear oh deary me. Well at least we've discovered who it is that keeps on exercising utterly ridiculous voting patterns, leaving unwarranted anonymous downvotes and frankly pissing everyone off. That's an upside. — Lightness Races in Orbit 36 secs ago
 
@sehe I don't know.
But it works.
 
12:48 AM
In what sense does it "work"? It remembers the URLs?
Sick!
 
@Jefffrey positional arguments should always come after the optional arguments
 
@Rapptz that's weird
 
@LightnessRacesinOrbit not so very. It would be weird if those optionals were named too
 
@sehe stupid at best
 
Not really.
It's how most command line tools work
usage is almost always something similar to executable [options...] positional...
 
12:50 AM
lame
 
@Rapptz Whatever order they need to be, any wrong order should trigger an error.
 
unless it ends up being parsed as some other, valid, thing
 
backpedal detection
 
Some tools also have separate options for main command and subcommand, and order matters there too
 
nah
I still think it's dumb
I just also don't think it should [necessarily] be expected to trigger an error as it is implemented (dumbly) now
 
12:51 AM
I like the POSIX standard for it. It makes sense.
 
but that's part of why I think it's dumb
 
@Jefffrey What does the usage message say?
 
@Rapptz Usage: dumb
 
Okay.
 
@Rapptz It probably say the order you are saying, but that is not shown when running that incorrect command.
 
12:53 AM
"Didn't read documentation, but clearly a bug"
 
it may not be incorrect
it may be "not what you thought it was"
happens when you guess
the fact that it's so easy to guess wrong is dumb though
 
it's not
 
that said, RTFM
 
if you're unfamiliar with a CLI you should try stuff --help
 
in conclusion, every single part of this conversation (the program, Jefffrey, Rapptz and Cat) is dumb except me
hth
 
12:54 AM
Of course I should RTFM. My point is that incorrect command should trigger something, either an error or the usage message.
 
you're not listening
 
It's not incorrect
Or: it's not invalid
 
What if phpunit takes in many positional arguments?
 
When I ran b2.exe to compile boost, it create all the libraries in a bunch of different folders, but since they all have unique names, they could all be in the same one. Is there an option for that?
 
and --bootstrap=whatever ends up being a "valid" positional argument?
 
12:55 AM
g++ -o test.cpp test is not incorrect, but it's not what you wanted to write either
(I've seen this from people who "learnt" from others who wrote -c in stupid fucking places, and thought that -o simply replaced it as a flag without arguments)
(No idea why they simply appended test; fuck that shit)
 
@Rapptz It won't. The expected format is phpunit [options] <directory>. In phpunit test --bootstr..., test is necessarily the directory. Therefore the command is incorrect.
 
danny@debian:~$ g++ -o test.cpp test
g++: error: test: No such file or directory
g++: fatal error: no input files
compilation terminated.
 
@Rapptz make the files first, obviously
 
I did
 
@Rapptz point is the command itself is valid
 
12:59 AM
it isn't
it's erroring out
not sure how that's valid
 
[tomalak@lolphin:~/wtf] echo > test
[tomalak@lolphin:~/wtf] g++ -o test.cpp test
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
you did it wrong
NB. program error, not g++ execution error. same as what Jefffrey saw with his empty, useless output.
 
danny@debian:~$ cat test.cpp
#include <iostream>
int main() { std::cout << "hello world\n"; }
danny@debian:~$ g++ -o test.cpp test
g++: error: test: No such file or directory
g++: fatal error: no input files
compilation terminated.
 
you didn't make test...
cmon now
btw your indentation style sucks
 
what indentation style
 
1:01 AM
I wrote test.cpp through echo
 
user3010322
 
user3010322
@Rapptz ^ is open_libraries supposed to leave a table on the stack?
 
@Jefffrey If you knew the expected format then why did you expect yours to work?
 
sol::o_forever
 
The usage message shows you how to use it. You can't use it another way, it's kind of why the usage message is there.
 
1:03 AM
You are not listening.
 
neither of you are
 
If you say so.
 
you're both right, but neither is listening to each other's concerns
 
i am the op
 
another night in the Lounge
cat is p op
 
1:04 AM
@ThePhD It should just modify _G.
 
@LightnessRacesinOrbit TABS <lalalala/> SPACES <lalalalala/>
 
noooooo
 
@sehe wtf
@sehe infidel
 
so the "table" should just be _G which is the global table every Lua program has
 
@sehe indent using ZERO WIDTH SPACES duh
 
user3010322
1:04 AM
@Rapptz Well, it apparently modifies _G and leaves it on the stack... hm.
 
Plink moar
 
user3010322
Wish I could print the name of the table. Blurg.
 
s/pl/dr/ :)
 
ding ding ding
 
user3010322
1:05 AM
I need to write better debugging facilities.
 
ooh no not that
i'm just sobering up enough to make porn work then i'm going to bed
 
@ThePhD A lua program cannot work without the global table.
 
@Rapptz The reasons for which I mistakenly typed that command is totally irrelevant. As far as this discussion is concerned, Han Solo presented himself in my dream and told me the command was that one. The point is that I've typed a wrong command and no error was printed. That pisses me off, and I think an error should be printed instead of silently running what the parser understood and ignoring what it didn't.
 
user3010322
@Rapptz Yeah, I know.
 
user3010322
But I didn't know that global table was also left on the stack.
 
1:06 AM
@Jefffrey i.e. computer should read your mind
 
lol what are you even
 
@Jefffrey The solution is rather simple, but for some reason they want to replace their entire parser.
 
it's like saying int main() { std::cout << "hello world\n;" } should actually "error out" if you meant to type "hello cunt\n" instead. It's retarded.
 
They could just check if the positional arguments > 1 then issue an error for extraneous positional arguments if they really only want one.
 
@LightnessRacesinOrbit It's really not the same thing.
 
1:07 AM
it really is though
 
No, it's like a compilation error that is not printed.
And you know it.
 
again you're not listening
 
What's the typo in 'cat'?
 
this is why you're shit
 
lol
 
1:07 AM
Well, it's spelled 'dog'.
 
@Rapptz Single-case workaround vs fixing the underlying cause
 
Jefffrey is bigoted towards any compilation flag order that is not the one he envisioned in his dream
 
@LightnessRacesinOrbit coliru.stacked-crooked.com/a/464f383a4a9413d4 it does error out
 
@sehe well done
 
error out :)
 
1:08 AM
@LightnessRacesinOrbit yeah, I have my own standard
fuck everybody else's
 
@sehe even your joke is broken though cos the thing I suggested Jefffrey wants to error out but doesn't, doesn't (the first snippet)
@Jefffrey C++FFF
 
@CatPlusPlus There's no fix for stupid.
 
@Rapptz sure there is
 
There are better and worse CL parsers though :v
 
@CatPlusPlus yes
@Rapptz (gallows)
 
1:10 AM
I wouldn't replace my parser just because users can't read
 
If they're using some in-house shit cobbled together, then replacing it with a better solution is a better fix than fixing this one thing
 
neither would I
I'd replace it for being dumb
 
"I don't introduce compilation errors just because people can't read the standard"
 
IT'S NOT A COMPILATION ERROR IT'S VALID IT'S JUST NOT WHAT YOU MEANT
 
It's not reading the standard. It's reading the usage message.
 
1:10 AM
@LightnessRacesinOrbit IT'S NOT VALID
 
APPARENTLY IT FUCKING IS
 
@CatPlusPlus They're using getopt's PHP equivalent or something.
 
@LightnessRacesinOrbit Are you drunk or something?
 
Yeah that's probably v shit!
 
oh wait no
"PHPUnit_Util_GetOpt"
sounds in-house
 
1:11 AM
@Jefffrey yes but I would be using the same words in the same order and with the same capitalisation even if I weren't, and you know it
 
I don't think PHP has anything for parsing arguments
 
@LightnessRacesinOrbit fuck you :)
 
PHP does not parse arguments; it causes them
@Jefffrey <3
 
You're all nerds
 
@CatPlusPlus says the guy dressed as a fucking cat on the internet
 
1:12 AM
I'm your king
 
@CatPlusPlus s/king/fucking wanker/
 
I know things
no you
 
sorry just trying to get the fuck count back up
 
you don't know shit john snow
 
:D
I GET THAT NOW
(jon*)
 
1:13 AM
w/e
nerd
 
user3010322
Oh man
 
user3010322
Do I miss VS's backdragging for re-executing functions
 
it's getting hot in here
 
reverse-step?
 
oh boy:
PLEASE DO NOT REPORT ANYTHING BAD SO THAT MY ACCOUNT GETS UNABLE TO POST QUESTIONS. I AM NOT THAT MUCH EXPERT IN PROGRAMMING. — user3878737 43 mins ago
 
1:18 AM
lol
 
@LightnessRacesinOrbit VTCed because holy mother of wall of code
 
@LightnessRacesinOrbit do tell
 
that's the best comment I've seen all week
 
user3010322
@Rapptz I meant being able to drag the little indicator arrow in VS's GUI for the current code about to be executed and be able to "reverse-step" based on the GUI.
 
user3010322
I know the command, I just wished QtCreator was... I dunno. More nice about stuff.
 
1:19 AM
Right..
 
@ThePhD more cute?
 
user3010322
@LightnessRacesinOrbit Yeah, more cute.
 
@Borgleader that's the longest wall of code I've seen in months
 
yes more cute :D
@Jefffrey Theres so much code i think the syntax highlighter just gave up (it's uncolored on my end)
 
it's because there are no language tags
 
1:23 AM
@Rapptz oh that's what it checks? o.o i never noticed
 
I added the C tag
just for ya
 
ahhh there we go
 
user3010322
Are there functions for std::string == const char* ?
 
functions?
== is overloaded for that
 
user3010322
equality operators
 
1:27 AM
operator==
 
user3010322
Oh, good
 
user3010322
There are. This makes things easy.
 
auto root = doc.first_child();
if(root.name() != std::string("Scene"))
I had to use it just now for PugiXML
 
user3010322
Technically. root.name() != "Scene"
 
Nope
 
user3010322
1:27 AM
Is supposed to be perfectly valid C++.
 
that's char* char* compare and its always false
nub
 
user3010322
template< class CharT, class traits, class Alloc >
bool operator!=( const basic_string<CharT,Traits,Alloc>& lhs, const CharT* rhs );
	(8)
 
user3010322
vOv
 
@ThePhD Do it like a man: std::string::c_str == const char*
 
@Jefffrey s/man/caveman/
Does XML allow for the same attribute to be specified multiple times?
 
> (Also you are silently passing the array by value (SLOW!))
 
Today I learned people have TERRIBLE nightvision
 
Reddit has finally taught me what will end the tabs vs spaces debate.
Indentation with braces:
int main() {
{}{}int a;
{}{}for (a = 0; a < 10; a++) {
{}{}{}{}printf("%d\n", a);
{}{}}
}
 
1:57 AM
Why not comments?

int main() {
/**/int a;
/**/for (a = 0; a < 10; a++) {
/**//**/printf("%d\n", a);
/**/}
}
 
@Jefffrey because comments are spaces?
 
@JerryCoffin What?
 
@Jefffrey [As far as the compiler cares] each comment is one space.
 
int/**/a
 
@JerryCoffin The compiler doesn't care about indentation in general.
 
2:13 AM
@Jefffrey but there are circumstances in which it cares about white-space, and each comment counts as one space.
 
@JerryCoffin I would expect a bunch of spaces and a tab to be converted to a single space as well.
 
@Jefffrey That can be, but is explicitly called out as unspecified (Phase 3: "Each comment is replaced by one space character. [...] Whether each nonempty sequence of white-space characters other than new-line is retained or replaced by one space character is unspecified.")
 
I see.
 
lol
 
@Jefffrey I'm sorry to hear that. I see plus plus.
 
2:25 AM
Okay, so combining Rapptz's braces with Jeffrey's 4-character indentation, we get
int main() {
<%%>int a;
<%%>for (a = 0; a < 10; a++) {
<%%><%%>printf("%d\n", a);
<%%>}
}
 
I have a suspecting feeling that using braces for indentation might cause an ICE.
I don't know why
just a hunch
 
I always forget what an ICE is
 
Internal Compiler Error
 
@Jefffrey internal compiler error
Dang it the chat scrolled up as soon as I started typing
Actually, it does that quite often
 
Integral constant expression.
 
2:29 AM
nice try
 
I suppose if they manage to find their way to after an int.
 
I have a very small brain, therefore I cannot store half of those acronyms.
 
Sucks.
 
I'm only good at remembering stuff about C++ and games and crap
I have a hard time trying to memorize stuff that I'm really not obsessive over
 
2:38 AM
@Rapptz The code @chris posted compiles fine with VC++ 2013 (at least if you add an #include <stdio.h>, in the spirit of the thing, ??=include <stdio.h> (and compile with /Zc:trigraphs).
 
Well I meant on a larger project.
Like at least 2k LOC
Also it seems C++17 is removing trigraphs from the language.
 
@Rapptz According to someone, the trip report was wrong about that.
That's all the useful info I have on the matter.
What
 
I broke everything
 
Someone tested the speed of '\n' vs endl by using a steam where a flush is a no-op and then concluded the difference was negligible.
And said they used that stream for that reason
 
user3010322
 
0
Q: Is Stack Overflow the worse website on the internet?

RainbowManiacI'm sorry Stack Overflow, but you are a joke. I just received a question ban and I am livid! First of all, all of my questions were good questions and second of all, I took time out of my day to ask these questions and put a lot of effort into them? You're basically saying you don't respect m...

 
@ThePhD Yak shaving
 
> I know one thing, I am never coming back to this terrible site
Is that supposed to make us feel bad?
 
> I took time out of my day to ask these questions and put a lot of effort into them?
You're basically saying you don't respect my time.
 
Someone comment "Don't let the door hit your ass on the way out."
 
2:49 AM
@Rapptz I read that with an extra "ed" and thought it got removed already.
 
3:14 AM
I wonder how many people would say to post a compilable example if a 1-rep user posted code with <%%> indentation.
 
@chris I'm pretty sure I could find a lot better things to point out than "that won't compile" (even in a hypothetical language in which it wouldn't).
 
Do you guys know how "expensive" an std::ostringstream's construction is?
I seem to recall it's really large and it's making me subconscious
 
@Rapptz It's enough that it's worth using to_string when available.
 
I'm using it for an entirely different purpose (massive string concatenation)
 
How have I survived all this time without realizing I could make VS look like Sublime's Monokai theme?
 
3:26 AM
@Rapptz why cant you just do string_a + string_b ?
 
because that's the worst way to concatenate a lot of strings
 
or string_a.append(string_b) ?
 
I'm not even sure I've ever seen that recommended for anything
 
I'll bet there's an existing expression template library for string concatenation.
If not, it's not too much code for just concatenation.
 
i guess you could also just std::string::resize(sum_of_all_string_sizes) and then std::copy() into the it
 
3:35 AM
I'll use append I suppose.
 
@Rapptz use nonius.
It supports ctors now
 
ah right
you need better docs
 
He needs one of them fancy pants nonius.github.io :3
 
I'll do a big docs push this week.
 
4:04 AM
codementor wasn't worth it :|
 
Did you get rejected?
Lol I clicked apply
> Unlike some consulting projects that require significant time commitment, being a Codementor can be a low-stress, high-throughput effort. Most issues at Codementor can be solved in under an hour.
Are they saying their userbase is full of noobs?
 
no, paid a mentor. I couldn't be a mentor hah
just expensive, really. $20 - $35 for 15 minutes seems a little steep. you fancy software engineers and your moneys
 
If it was $20/15 minutes I'd do it
Sounds fancy
 
yeah, guitar lessons are ~$20 per half hour round these parts from a professional, so twice as much for half the time seems weird
 
lol
a large chunk of these people are from SO
how strange
 
4:10 AM
I saw some dude from the python room. I just thought "if I had a question, I'd probably just hope he answered it in python room..."
 
My violin lessons were around $20/half hour I think
 
Pfft amateurs. Paying for lessons!
 
there are so many lessons online for music it's ridiculous
 
4:27 AM
*tags the question C++*
"@chris i was asking help for C ??"
Come to think of it, why didn't that italicize?
 
What's a better name these functions?
 * @see formatted_description
 * @see formatted_epilogue
 * @see formatted_subcommands
 * @see formatted_usage
 * @see formatted_options
I don't know what else to call them
I decided to remove the formatted_ prefix and replace it with a _message suffix.
Not sure if it's any better though, it's less typing if anything..
Hmm..
 
4:47 AM
@chris Tag C++ when you meant C, that's a paddlin'
 
@chris Multi-line comments don't go through markdown except for quotes and code.
 
Oh
 

« first day (1379 days earlier)      last day (3568 days later) »