« first day (1329 days earlier)      last day (3633 days later) » 

5:00 PM
AFAICT, they're on topic. And there's even a tag for it.
 
> Please note, a software algorithm != an algorithm. Algorithm questions are acceptable, but only if you ask for an algorithm for use in applications, or couched in the terms of a software language.
Helps if you read the whole thing that you're referencing.
Plus there's zero official word on that entire thread, just a bit of metawankery from the metawankers
 
I dunno about you. But it sounds like you're picking nits to find a reason to close things.
 
Picking nits is one of the lounge's favorite activities
 
@Mysticial There's nothing wrong with closing questions that do not belong here. That's why the feature exists. Someone went to the trouble of creating a whole range of Stack Exchange sites so that questions can be properly categorised. So let's make use of that instead of playing into the hands of zealots who scream "let everything be okay on Stack Overflow!" just because they ... I dunno, whatever they do.
 
You're free to VTC what you think belongs here. I'm free to vote to reopen what I think belongs here. End of story.
6
 
5:06 PM
@LightnessRacesinOrbit zealot
 
@Mysticial Never said you weren't; no need to get defensive :(
(But you're demonstrably wrong!)
 
He isn't.
 
He wasn't defensive?
 
@Mysticial anatomy of a live-lock
 
> I'm free to ... End of story.
 
5:10 PM
That's not defensive.
 
Well it's something
 
Yeah, an English sentence.
 
All I did was objectively answer his concerns with facts and interpretation. No need to get all up on my back about it :(
 
It makes you unhappy because he is choosing to treat your argument as an opinion rather than a fact.
 
@SamDeHaan No, I'm not unhappy about that at all. That is totally his right. Where did you get that nonsense from?
See, this is how Lounge fights start
 
5:11 PM
Eh-hem. "But you're demonstrably wrong!"
 
He is, and I provided the evidence to back that up
He can treat my argument as opinion, because it is opinion. Treating evidence debunking of his arguments as opinion is something else, but that's neither here nor there
Nor does it really matter, because he'll vote his way anyway? So why are we still talking about this?
it's a crappy question anyway
 
because the lounge was quiet?
 
@SamDeHaan :P
it really has been, lately :(
 
It's hard to procrastinate without new content.
 
I've actually resorted to writing unit tests
and finding more SO questions to close
inb4 "I can VTC what I want!!!! wah wah"
giggle
0
Q: Any way to have C++ classes on different files keeping the method definition within the class?

vikkyhacksFile : A.cpp void A::increment() { i++; } int A::get_i() { return i; } File : A.hpp #include "A.hpp" void A::increment() { i++; } int A::get_i() { return i; } I have a java background and I am moving to C++ from it. I am stuck to the idea of keeping one class per file to...

go
 
user1804599
5:17 PM
c++
 
good one
> error: invalid conversion from ‘unsigned int*’ to ‘uint32*’
what :/
 
sounds like you're doing it wrong
 
@LightnessRacesinOrbit I rarely downvote questions, but I downvote that one.
 
@SamDeHaan and I've not really changed much, either
 
uint32_t?
 
5:25 PM
yep
 
I'm using a C library that typedef uint32_t uint32s
I'm actually passing a uint32_t, which the compiler calls unsigned int. No idea what's happened to this uint32
 
the operator"" if() thing is still bugging me
what were they thinking
shakes head
 
I still doubt it
 
@Rapptz what is that?
 
UDL for <complex>
apparently
 
5:27 PM
looool
 
what's wrong with 3.14fi
 
For the ìf()`thingy.
 
@Rapptz I guess it just fils wrong
 
5:28 PM
@Rapptz The f stands for floating point?
 
@BaummitAugen that's impressive work on the backticks
 
@StackedCrooked yes
 
@StackedCrooked The f stands for "fucked"
 
constexpr complex<float> operator""if(long double);
constexpr complex<float> operator""if(unsigned long long);
it's definitely real..
 
> warning: imaginary constants are a GCC extension
 
user1804599
5:29 PM
@Rapptz dat pun
 
@Rapptz good one
 
@Rapptz or 3.14i
 
that's for the double version
 
oh right
 
5:32 PM
Hey, Bjarne used the comma operator.
> And, yes, my recomendation is to use std::vector by default. More generally, use a contiguous representation unless there is a good reason not to. Like C, C++ is designed to do that by default.
 
user1804599
@StackedCrooked pii!
 
@chris Seems like correct comma usage.
 
I have to admit I'm a fan of std::deque until I need contiguous representation
 
user1804599
u suk
 
std::deque sucks in MSVC though
 
5:34 PM
u suk mor u beach
 
user1804599
Trust BJ Arne.
 
@Rapptz oh I don't use that tat
 
deque is good if you need to append many elements (100k+)
 
@StackedCrooked or prepend just one
 
MSVC's deque is basically list
 
5:35 PM
lolrly
 
That's how good it is
 
user1804599
Even more reason to use deque.
 
They fucked up page sizes reallly bad
 
this is so dull
 
@SamDeHaan More like, I've got better things to do then to argue with LRIO.
 
5:39 PM
@Mysticial :P
 
But arguing on the internet is an excellent way to procrastinate all of those things.
whatever they may be
 
I was just trying to have a mature, honest discussion with you on whether that question was on-topic. I never once suggested you were unable to disagree or to vote-to-un-close, so why you chose to jump to defending yourself against such a hypothetical suggestion is kinda beyond me. There was really no "argument" required whatsoever, and I believe that there was none until that moment. But that's also your prerogative I suppose. shrug
WTF the problem just resolved itself with a rebuild
without me changing any content of any of the files
what the hell have I done
AND NOW IT'S BACK
 
@Mysticial We all do bud, we all do.
 
@SamDeHaan It's an excellent way to reduce the lifetime of keyboards.
 
Not sure how this turned into a LRiO-flaming session. You all claim to be so much more enlightened but this, every time.
Grow up.
Wait, aren't you all supposed to be drinking with Robot by now anyway?
 
5:45 PM
Unless I have more people plonk'd thank I thought, there is no flaming session?
 
1 min ago, by Rapptz
@Mysticial We all do bud, we all do.
 
user1804599
We all do butt.
 
note "flaming", not "flooding"
 
I'm joking, mostly.
 
@StackedCrooked well, if I can kill this one maybe work will buy me a new one
 
5:46 PM
Oh, my, I needed -DLINUX. Shoot me now
 
pew pew
 
Is that different from __linux__?
 
well it has none of the same characters in it
so I'm going to go with "yes"
in all seriousness it looks like these 3rd party guys picked it reasonably arbitrarily, especially as their code ONLY BUILDS ON LINUX
 
unless you do -DMAYBELINUX
 
5:48 PM
-DMAYBEMAYBELLINE
 
user1804599
-DDAY
4
 
You should try -DWINDOWS
 
-DDOS
 
@LightnessRacesinOrbit "I was just trying to have a mature, honest discussion with you". Stuff like this implies the other party is being immature and/or dishonest. You do this a lot and it ticks me off.
 
@StackedCrooked That's your inference; it's certainly not my implication.
We never got around to having such a discussion, because he'd terminated it in its opening rounds. That's what I was saying.
 
sbi
5:50 PM
Anyone here who knows anything about that thing called Unconference?
 
So, perhaps, if there's something that persistently annoys you in the way you read the things I say, consider that you're jumping to conclusions and reading them wrong, and you'll be a happier person! :D
 
@sbi oh, right. there was like an opportunity to send @Cat your email, to add you to some...thing to organize stuff
 
user1804599
@StackedCrooked I would agree but you’re Belgian.
 
Fair enough.
 
user1804599
Ah whatever, Belgians are Dutch too. Have my upvote.
 
5:51 PM
Also I think "a lot" is a bit of a stretch, so stop being a little twat and writing libellous statements in public. Thanks.
 
@sbi Call Robot, they're probably on beer or something
 
sbi
@melak47 Was there? Well, I didn't think I'd find time, but now I feel like fuck this work, I need a beer.
 
user1804599
Libelle is a great magazine.
 
not sure what the thing was, though
 
never read it
 
sbi
5:52 PM
@CatPlusPlus Ah, Ok, I'll try that. Thanks!
 
@rightfold Totally indistinguishable. A bit like women and the weak, blacks and invaders, burglars and highly-trained assassins....
 
sbi
(Weren't you coming, too, @Cat?)
 
We've got Slack for private comms, but nobody is online
 
user1804599
SlackedCrooked
 
No time or money this time around
 
5:52 PM
 
sbi
"Slack?"
 
user1804599
Oh the unconference is tomorrow, right?
 
Isn't it now?
 
wait, what
 
5:53 PM
Several people are already in Berlin, but dunno if everyone
 
Ununconference
 
the pinned thing said the 7th
 
user1804599
Deuxconference.
 
I'm messing with you @melak47
 
sbi
@CatPlusPlus I think I saw a tweet by the pirate today, which seemed to be about him traveling.
 
5:53 PM
I do that a lot and it really pisses you off.
 
@LightnessRacesinOrbit it does? :p
 
no
you're one of the sane ones
 
Pirate, Xeo, Martin, Bartek and jalf at least
 
who's Pirate?
 
coshman
 
5:54 PM
oh right
 
user1804599
thecoshpirate, duh.
 
I'd kinda forgotten about him
 
user1804599
he’s mine. MINE.
 
If I want to return a reference to a unique_ptr by the function "getItem" how should it be done? As std::unique_ptr<item>& Inventory::getItem() {return &(this->item)} returns an error :/
 
Like this: wget http://stackoverflow.com
 
user1804599
5:54 PM
@HalfEvil return this->item;.
 
user1804599
It casts to a reference automatically.
 
Oh
 
Well, what is this->item?
 
I see thanks :)
 
@sbi Gimme your mail (you can send something to piotrlegnica@piotrl.pl) I'll invite you to the ~private chat~
 
user1804599
5:55 PM
& yields a pointer (fuck people who overload it).
 
subscribes Cat to all manner of sordid newsletters
& is address-of in that context, @HalfEvil. It only relates to references when it's part of the name of a reference type
which is shit
three unrelated meanings for one symbol
 
user1804599
Also, I would usually return a reference to the pointee. Exposing smart pointers in API is meh IMO.
 
Depends
 
@rightfold you are assuming item is already a unique_ptr
 
user1804599
Especially when said smart pointer is mutable. :[
 
5:57 PM
@Cat so where on this slack thing does it say what the plans for tomorrow are? :s
 
so it's better to use item.get and return a *item?
 
user1804599
@StackedCrooked What do you want to do? Return a reference to a local?
 
@melak47 you're slacking
@HalfEvil no such things as an *item, but yes
 
@melak47 Probably in files
 
sbi
@CatPlusPlus Sent.
 
5:57 PM
Also contact info to people
 
@rightfold Yeah, because it's Friday.
 
user1804599
SSCCE.
 
yeah it's a class
 
user1804599
@StackedCrooked Oh right, I forgot. UB slacks off on Fridays so it’s fine.
 
Just login and ping Robot or somethin
 
@CatPlusPlus actually, it says concat info :v
 
@rightfold UB does that a lot, and it really pisses me off.
 
user1804599
You say “a lot” a lot, but it doesn’t really piss me off.
 
@rightfold Does it piss you on?
wtf can I not bind to udp:54321
 
user1804599
 
5:59 PM
> Invitation sent
 
@rightfold .... oh, my.
 
user1804599
@LightnessRacesinOrbit .... oh, your.
 
@rightfold you're in a good mood today
 
user1804599
@LightnessRacesinOrbit oh, you.
 
user1804599
6:01 PM
tamp-no
 
well, apparently there were board games planned for today. oops.
 
user1804599
Unconference people make group picture plix.
 
@melak47 I guess that's off the board now.
 
user1804599
Preferably human centipede.
 
tee hee
 
6:07 PM
awww that was a crappy bug
unit test setup does someAutoPtr.reset(new TheComponentImTesting()) .... constructing the new one before the old one is released and destroyed.
so the port was already in use from the last instance
 
:3
 
but every time I nc -l 54321'd from cmdline or checked netstat there was of course no sign of this mythical existing listening port
fucksake
anyway, now it listens, and I have mutex corruption, so I need a drink
 
user1804599
lol mutexen
 
how the hell do join the channel in slack. it always just goes to the archive
 
user1804599
We can neither confirm nor deny that this is our first tweet.
 
6:09 PM
Just click on it in the sidebar
 
user1804599
Oh CIA.
 
damn.. I'm really annoyed when a better written question gets closed as a duplicate of another poorly written one, where the answers are one-liners written as "oh hey yeah, check out this website"
 
@CatPlusPlus wtf. it never sent me to the view with the sidebar before
 
-3
Q: Hide folder completely programmatically

mercenaryI want to know how does any hiding software on the market like Seapsoft HideWizard hide the folder completely even you tick the "Show hidden files and folder" and uncheck "Hide protected operating system files" on Folder Options, that the folder will be completely hidden but accessible by typing ...

come on guys, we don't want this in our tag.. close and delete!
 
6:11 PM
@melak47 "Launch the Slack app" from the expanded menu in the activity/archive view
 
shush! don't let Mysticial hear you!
you'll get flamed for stifling his rights!
 
@CatPlusPlus >_>
I didn't click that, because I don't have a slack app >_>
 
The web app is the app
Nub
 
ooh, yay, got it
tell you what though this is fucking fragile if I have to tinker with destruction order so carefully
 
but I'm already on the web site of the thing. why do I need to launch a thing, can't it just go there by default :p
 
6:15 PM
[***.**********@*** tests]$  LISTEN_PORT=54321 ./daemon/components/test-*******-********
Running 12 tests............OK!
yeahhhhh
 
whatcha building
(yes a test component daemon thing :p)
 
Allstar programming
 
for a big carrier-grade system
basically i'm wasting my life writing mocks for everything and shoehorning the switching code back into the main project
fixing fragile include paths, things like that
yay, algorithm question got migrated by mod
 
you killed lounge
 
6:29 PM
stack overflow
 
is there a way to do this through the range-based for? :s
 
    int a, b, c;
    for(auto it = triples.begin(); it != triples.end(); ++it) {
        std::tie(a, b, c) = *it;
    }
asking out of interest, don't really think it's possible though
 
what is triples?
 
std::vector<std::tuple<int, int, int>>
 
6:32 PM
um
for (auto el : triples) {
    std::tie(a, b, c) = el;
}
what's the problem?
 
cool
@LightnessRacesinOrbit For some reason I thought std::tie only worked with temporary tuples.
(Only because that's all I've seen them used with)
 
@Rapptz surely by the time std::tie gets a look in, the RHS argument is an rvalue either way?
 
hmm
a prospective employer asked me to do a small coding challenge involving parsing MP3 files
 
user1804599
std::tie makes a tuple of lvalue references so when assigned the elements’ referees are assigned.
 
yeah
 
6:38 PM
std::ignore is cool
 
user1804599
@DeadMG easy, just import mp3.
 
in c++
 
@DeadMG ID3?
 
#include <mp3.hpp> duh
 
no, just the frame headers.
 
6:39 PM
oh
well I know very little about the MP3 format so that'd be me out right away
this is why I despise job interviews
 
I know nothing about it, but the online references I've found indicate that it should be dead simple
 
Doesn't sound too thrilling to do tbh.
 
it should be near-trivial to accomplish
you just need the knowledge to do it "live" without looking like a burke
 
no, it's offline- I email my solution in
 
user1804599
holy shit what an annoying background image mpgedit.org/mpgedit/mpeg_format/MP3Format.html
 
6:40 PM
and I always have to use a reference for I/O seeking crap
@DeadMG oh. well that's piss easy then
 
tests\math.cpp:105:23: error: no match for 'operator+' (operand types are 'Catch::STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison' and 'int')
         REQUIRE(a * a + b * b == c * c);
                       ^
What the hell.
 
Best not ask for the solution on SO :laffo:
pahaha
 
well, it should be
 
user1804599
@Rapptz Catch sucks.
 
but I exported one of my music files from Audacity at a constant bitrate, and when I read the file in, the bitrate is all over the place.
 
6:42 PM
damn macros.
 
Catch uses expression templates afair
 
user1804599
assertEquals kind of thing I prefer.
 
@Rapptz lol
 
@rightfold me too
 
user1804599
Especially infix notation.
 
user1804599
6:44 PM
foo shouldBe bar in ScalaTest is nice.
 
This question appears to be off-topic because it is not a question. — Mysticial 9 secs ago
 
@Mysticial Now you're getting it ;) <3
 
:)
 
user1804599
This question appears to be off-topic because OP is a faggot.
 
@sbi how was your seminar? :)
 
sbi
6:49 PM
@melak47 It was hell. That's why I won't work tonight. (Also, the cab picked me up at 3:50am today. And I didn't sleep more than 3-4 hours per night since last Sunday.)
 
@sbi What happened?
 
@sbi :S
 
user1804599
 
sbi
@Rapptz I had to move last weekend rather than prepare. So I worked my ass off during the nights. The first day I found out that they knew waaayyyy less than they had suggested. So I scrapped my course and invented a new one during the two remaining nights rather than sleeping. Which is kind of hard, when you're the middle of attention for the whole day.
Anyway, I need to log off now. It seems I will have a beer with @AndyProwl, and I need to prepare a few things before I leave.
 
6:53 PM
They were complete newbies? :s
That sucks.
 
sbi
@Rapptz They knew C. :(
 
Thankfully, you're a huge gorilla. That must help.
 
:(
Sorry to hear.
 
@rubenvb I think he's actually a regular size gorilla
 
still awesome:
Did you even try it? This code code seems to work for -3 and -8. — DOUGLAS O. MOEN 9 mins ago
"Senior software engineer"
blow me down
 

« first day (1329 days earlier)      last day (3633 days later) »