« first day (2044 days earlier)      last day (3130 days later) » 

nwp
nwp
21:03
I cannot change the function because it is from clang and I don't want to change my main because it doesn't let me change argv
I don't understand why that conversion is not allowed
You can't convert from char** to const char** because otherwise you could have done this: char** arr; const char** carr = arr; carr[0] = "aaaa"; arr[0][0] = 'c';
nwp
nwp
@milleniumbug :(
in the third step, I assign a string literal, which is an array of const char, and in the original pointer I modify it, but it was supposed to be constant
therefore you need const char* const* instead, which char** is convertible to
nwp
nwp
guess I will just take const char *argv[] because it allows enough modification for my use case, but there still is a bug somewhere, probably in my understanding
@nwp Your main() signature is simply wrong. Use the one without const. Then const_cast<> for the other function to work.
21:16
yeah not sure whether int main(int argc, const char** argv) is actually legal
nwp
nwp
@wilx not my code
@nwp OK. Just use const_cast<> to fix the pointer constness.
nwp
nwp
gah, I barely started and I already write bad code
if you don't mind copying you can use std::vector<const char*> instead
nwp
nwp
21:22
@milleniumbug interesting
can't even use an array
@milleniumbug IB is legal
Just not portable
Ven
Ven
@sehe IB?
implementation defined b
Implementation-defined Behaviour
why not int main(const int argc, const char** argv)?
nwp
nwp
21:33
@sehe that abbreviation cost like 4 times as much typing as it was supposed to save :D
it didn't.
You did :)
hmm does anyone know a place where to look for some good non-linear storie with multiple "paths"? I want to throw a full story and test it thoroughly at my library for interactive story telling / text based games
(which includes asking input from peers, but my story, well, not a story)
Ven
Ven
@sehe me too
Oops. I meant you :)
nwp
nwp
29
A: Non-English Discussions in SE Chat

Shog9The choice here isn't between carefully moderating non-English rooms and shutting them down. It's between unmoderated rooms and shutting them down. There are... A lot of languages that aren't English. Way more than three. Expecting moderators or even 10k users to be able to interpret some abbre...

so basically anyone could close the lounge... doesn't seem right
21:53
@R.MartinhoFernandes does it have a dishwasher though
@Puppy believe it or not, I actually went outside today
I was at Red Bull Bubble Games
and then out drinking
you suck
@Ell my STM has both the USB programmer and the USB device and it works really nice
@Puppy dunno, I made some new friends
I totes need to learn german though
Ell
Ell
ya
> my Software Transactional Memory has both the USB programmer [...]
:P
ST Microelectronics, you badlet
anyway I need to take a shower
Ven
Ven
22:00
> Folks were being put in real danger
This guy is such a fucking drama queen. Just STFU
user1804599
Welke idioot praat er nu geen Engels in een chatroom?
@nwp geez. That's a stretch
@rightfold Gin ideej
user1804599
k'heb gin tonic
@Ven Who knows. Do you have facts?
user1804599
mar wel dorst
22:09
veul
On the contrary. It would be --stupid-- unlikely for Asio not to use the OS to resolve the service names, as this is how the portable TCP stacks operate. — sehe 20 secs ago
This guy is getting on my nerves
Well. Maybe check reality when you have time :) Anything else is really not okay: it could be construed a security vulnerability to hardcode the service names. — sehe 12 secs ago
Face palming so hard
Ven
Ven
22:26
@sehe why would I have to back up claims I disagree with?!
how can someone get in "real danger" thanks to chats...
You don't. I'm sure you know what a strawman is.
I suggested you back up your claim.
@Gizmo Oh. I could name a few things
Well unless someone doesn't think and tells all their personal info and starts to cuss and make people angry... name the other things?
nwp
nwp
@Gizmo hack me br0! my IP is 127.0.0.1
@Gizmo Cussing has nothing to do with it. People can get angry for reasons beyond your control.
22:30
@sehe those are called extremists?
People might get stalked via information found on other sites. They might get exploited emotionally. Vulnerable people can be bullied - sometimes to great lengths. Threatening works even if the anonymity shield is in-tact.
hm yes I do know that.. I shouldn't be so naive
@Gizmo Call them whatever you want. That's immaterial here. They exist and if left completely unmoderated, things can end badly
aight, I am curious for a real world example tho :)
We've had some vulnerable people here. I've advised them to go elsewhere (offering to help locate professional help too)
Trolling severely depressed people can end badly, and certainly cause real damage
22:34
Yeah world can be weird
and that's true
there is this one random chat site
dutch
like omegle
Many vulnerable kiddos on there, so shitty to see that
Even 15yr olds sending their own naked pictures without you even asking for that, then I try to explain them how that can end badly - block / next chat. wauw.
ignorant kids -.-
Huh. How would you have a client without accepting it in the first place?
@AndreyErick lol?
user3790646
@sehe :o
user3790646
@sehe Mindblown
> wauw
:)
22:38
but ye I don't know if I did the right thing but I did find the parents (heh tracking skills much?) and let them know it's maybe good to learn their child about internet safety and directed them to a few resources
dcik move - sure, call me a dick
but we all know what happens when someone's naked pictures circulate around their school peers
@Gizmo Hmm. Could be trolling - fishing for predators/depraved people using fakes?
@Gizmo I don't, actually. I can only imagine
@sehe well if setup by police :P I did skype with that girl
@sehe well this one girl 7 years ago had that, she was devastated, didn't come to school for 2 months
then left
@Gizmo Actually, our company works on a bot for that
@sehe hm on topics of chatbots, any api's / libraries for C++ that I can train for specific conversations?
Mmm. Let's not
@Gizmo Microsoft just released some kind of platform for it (or was it google?). Ours is proprietary
22:41
@sehe idk about google, but microsoft did release one
Then I remembered correctly.
It's likely intended for the "internet of things" chat-interfaces-are-the-future service providers, but still
nwp
nwp
when a link error happens from a symbol included from a system header my IDE should look through the system symbols, find the .so or .a that has that symbol and tell me which -l-flag or which find_package parameter I need
yeah there is also that syntaxnet (and a trained bot : Parsey McParseface that uses syntaxnet) so that's definitely something that can make a BOT api easier
@nwp You are submitting a user story to an IDE developer?
but it's so fresh, and for someone who does this just out of curiosity (not as work or anything serious) it's a steep hill to ovewrcome befor being able to do anything with it
nwp
nwp
22:44
@sehe no, I'm just complaining
@sehe I watched their presentation during the Build conf, and they had 2 examples IIRC, one was a Dominos pizza ordering bot and the other one actually involved 2 bots, one was the hotel reservation bot that was called in to the conversation by (again IIRC) the plane/travel reservation bot.
@nwp Oh. #fail then :)
user1804599
Fuck
Rule number 1: don't be constructive and descriptive about missing features
It was a neat demo, but idk how well it will work in practice
nwp
nwp
22:45
randomly trying the obvious names didn't let me link llvm :(
terrible workflow
@Borgleader tracksinspector.com/blog/ti-software-sweetie-2-0.html That's our thing; Not sure how publicly available the framework is (but we have a third party supplying language services)
@nwp so fix your workflow :)
Do as the rest of us: we adapted our workflows in 1980 and never had to revise
nwp
nwp
I like how VS supports #pragma comment(link ...), should be required for every header
@nwp This seems surprisingly doable
user1804599
Tomorrow I will move my rendering code from the main function into a proper module, and implement rendering of the inventory of the player.
get a list of paths to libraries, run nm on all of them, cache the output, index it and query after the ld outputs errors
22:49
I hope I finally get to fly in a tiny plane, consider I am going to the middle of no where
@rightfold hehe. From the main function. That's like graduating from highschool after successfully passing "lace-tying" exam
@milleniumbug PROBLEM: that might not be unambiguous. Versions (important), builds (important) and even different implementations (malloc?)
user1804599
@sehe 🤔…👎🏻
Of course, that's a problem
Likely the 80% rule sticks
oh god character encodings
FML I never want to deal with them. always have to
22:52
> For what it's worth, I have the tiniest preference against using decay
here; whenever I see decay, I wonder whether array/function decay is significant.
@rightfold That's... 2 unknown code points for me
From Ville.
then you use QT and for "some users" (on the same pc) you get some weird LL characters in front of every message
for all of their messages
It's most likely "Hey, you could try this one, that one, or the other one. Can't help you choose, but now you know the keywords"
user1804599
@sehe 😹😹😹😹😹
22:52
@LucDanton Oahi
user1804599
👻
@rightfold WRONG. @Cat never has TEARS OF JOY
user1804599
💩
Wow. I completely missed this one:
"Deserialization Bug in PayPal App Allowed Code Execution" http://www.securityweek.com/deserialization-bug-paypal-app-allowed-code-execution #security
user1804599
22:58
sehecurity
Ven
Ven
@sehe I'm attacking the "real danger" part. What I quote is clearly in his message, thus it's not a strawman
The strawman is nobody asks you to defend his claim (the one you disagree with).
However, if you attack it, you must have grounds to be able to attack it.
Ven
Ven
@sehe And that's totally irrelevant to the tongue they speak in chat, I'd say. It's a tiny teeny bit to add in the "what do I know about X"
Of course not. But now moderators cannot assess what's going on in exotic-language chats
Ven
Ven
so they can't see people asking for ASL?
23:02
Given mod alerts or formal complaints that firmly falls in to "ended badly" territory IYAM. So. Do you have access to information about presence or absence of such situations?
user1804599
@Ven ASL? 😉😉😉😘😘
All three
Ven
Ven
@sehe That still doesn't support anything about how this makes people in "real danger"
Dodging the question like jelly. Have you talked to the mods about this at all?
Is there any reason except your personal incredulity to doubt whether "real danger" has occurred?
Ven
Ven
the fact there's only this claim with no backup
23:05
That's fine.
Ven
Ven
"that happened" give us a concrete example
Ven
Ven
paraphrasing
Geez. Am I on trial?
Why.
Ven
Ven
dunno, I saw you speak something else than english earlier. That puts people in real danger, y'know. A trial might be the correct course of action
jokes aside
23:07
@Ven What's also fine is you saying "I find it hard to believe" or even "I suspect that's an exaggeration". However, that's not what you said:
1 hour ago, by Ven
This guy is such a fucking drama queen. Just STFU
@Ven Man. Do you want to know who looks like a drama queen...?
Ven
Ven
I literally said that was a joke the line below. Who's on trial now?
What's this on about
Ven
Ven
I'm on trial
@Ven That's not obvious."jokes aside" means: "That's with the jokes aside". The way I read it
@Ven What for?
@sehe Nothing is obvious
Ven
Ven
23:08
@sehe it's not obvious that "jokes aside" means that the previous message was a joke? Seriously?
No, you might be putting him aside
user1804599
lol shog
Ven
Ven
@набиячлэвэлиь saying mods (in this case, shog) are often acting like drama queens
23:09
@Ven I 100% have no idea what you’re trying to say, and I mean that in general, not just now.
user1804599
-1 OP is shog
Ven
Ven
@LucDanton I think mods are very often going overboard with their claims just to make irrelevant/uninteresting topics "real"
:30690218 ok
:30690218 If you read absolutism in my comment, or if you think I shouldn't have been rude, that's fine. I also never said it wasn't possible what he said was true -- again, he's just saying this without much context at all so that the guy who asked "can i speak my mother tongue pls" now feels bad for being an actual threat. And it's not the only time I've seen mods act that way (but hey, that might be because I ever see them whey they come to the lounge, right?)
I'm sorry. Just don't rile me up for no reason. Arguments aren't helped with "Seriously?!" omigod I'm so baffled - it must be your fault!
Here's a rule of thumb: if you find yourself escalating and accelerating continuously, you will lose control. Jokes aside.
Ven
Ven
I considered that your "am I on trial" was a joke. Was that misled?
@Ven I see him use an argument, that seems valid, assuming the claims are founded. You can ask for more confirmation, of course (likely they'll say it's "not disclosed")
Ven
Ven
23:14
@sehe or even "impossible to prove something actually happened"
(because, hey, again, wrong language and all that)
@Ven That's not what the text in that post says, so I'm not counting on that cop-out. Why do you?
Ven
Ven
@sehe because the text talks about how other languages make them powerless
@Ven I was wondering why you were being to adamant. You called a mod names, and I asked whether you had reason to (outside personal bias). That seemed like a normal, objective question. I got the feeling you didn't think I was allowed to ask it
@Ven Zajebiście, używajmy tylko polskiego
Ven
Ven
4 mins ago, by Ven
:30690218 If you read absolutism in my comment, or if you think I shouldn't have been rude, that's fine. I also never said it wasn't possible what he said was true -- again, he's just saying this without much context at all so that the guy who asked "can i speak my mother tongue pls" now feels bad for being an actual threat. And it's not the only time I've seen mods act that way (but hey, that might be because I ever see them whey they come to the lounge, right?)
23:17
@Ven So what. The text also speaks about incidents with real danger and things "ending badly".
Ven
Ven
@набиячлэвэлиь what does Zajebiście mean?
@Ven That was a response....
Ven
Ven
@sehe and that's so vague you could have that mean anything. "You're forbidden from doing that, but the only reason I'm going to provide for that is that it's b-a-a-a-d (and, as expected, we want to moderate chat)"
All I see is assumption.
You're entitled to hold your beliefs, of course. But calling the mod drama queen and telling them to STFU for that reason seems... strange. I'd say you're being a drama queen, and you may draw your own logical consequence from that :)
Ven
Ven
@sehe I need to leave this place and create my own chatroom?
23:20
?! huh
Ven
Ven
Hall<C++>
I do wonder what /fear/ you have that makes you respond so violently to this.
Ven
Ven
@sehe whatever the STFU part. Insulting people serves no purpose. It's just a vague claim that's used to forbid something that directly impacts me
@sehe do you still think i'm serious? or do you realize i'm joking on the fact you said I was pulling a LRiO?
I don't think you know what you're talking about w.r.t. LRIO. Not enough, at least. And no I dind't assume you were joking.
You could have seen it since I've kept coming back to the rational arguments, patiently reiterating them.
Also, you know me.
Ven
Ven
@sehe idk, all I know is that he has his own room. the joke built on that
23:22
Oh. That. So, just the one message then.
Ven
Ven
..and interacting a bit with him. But I never (myself) had a fight with him. I remember the day he left, and the conversion, though
@Ven That seems to me to imply you've been joking all long ("Do you still think?"). Let's put this thing to rest, because the attempts at late derailments are not helping anything
@Ven Appreciated :)
Ven
Ven
@sehe I've answered the rational arguments. Yes, insulting people is meaningless. Yes, it could be true, but here it's just used as the rational to a ban. and it's not the first time I've seen him or other mods pull this kind of tactic
@Ven I've seen that. Again, that was a response.
~THE END~
(credits roll)
Ven
Ven
yawns
nwp
nwp
23:27
is there a nice way to create a process and get the output without having to mess with fork+exec+pipes?
popen
Not "Nice", but simple.
It's horrendous if you need generic argument passing.
nwp
nwp
I'm half tempted to use QProcess
I should go sleep before I do something I'll regret
You... would use Haskell for it?
nwp
nwp
@sehe what?
no
Ok. Apparently you're safe :)
nwp
nwp
23:31
I'm tired, not delusional
Ven
Ven
hah
@nwp There's Boost.Process and a not-yet-working-library I made based on another library that's slightly problematic
You should be a sales man
nwp
nwp
I could have sworn that boost::process is a thing, but apparently it isn't
23:33
not an official boost library
there is no Boost.Process.
@sehe get with the times, its mic drop now :P
@nwp It is a thing. A few things actually. None of them Boost. And none of them are quite done. And then there is...:
Apr 30 at 0:48, by sehe
@Starrrks_2 There's only "Boost" Process, but at 0.5.0 it's pretty much neglected, never accepted/reviewed for Boost and there's a lot of discussion of another redesign currently on the mailing list
@Borgleader Not in intense stage plays for small ensembles
nwp
nwp
too bad the gorilla didn't come back, after complaining about how toxic the lounge was it got significantly better
23:36
@nwp oh he'll be back
he shows up from time to time
Ven
Ven
/cc @BartekBanachewicz
@nwp It's funny. From where I was sitting it was him who fell into old patterns that had gotten rusty. He even had to apologize basically for jumping to conclusions
I don't think the room is anywhere near as toxic as it has been, say 1 or 2 years ago
@sehe I honestly feel like the toxicity levels dropped when LRiO left (I'm not saying it was the only time, but I think that helped noticeably)
Mostly, it seems down to fewer regulars at any given time and less traffic in general. The 'chat stress' is lower
@Borgleader It has been on a decline since then. Note that more people have left/went on hiatus. And then Discord happened and took ~30% of traffic (not checked)
@sehe 80% of statistics on the internet are made up
23:42
This one is 100% made up though
@RobertHarvey ohai
"We’re so much better off without all the old jerks" —sehe
The C# room is apparently replaying your "you mean we actually have to abide by SE's rules" incident from awhile back.
@LucDanton Not quite what I said, is it now :(
that’s what makes it an exaggeration
23:45
@RobertHarvey Is there any specific reason we need to know? Or did you tell us to console us with the knowledge we're not alone?
@RobertHarvey What do you mean by replaying?
@LucDanton Oh. I mistook them for quotation marks
@sehe There isn't any specific reason. I was just reminded of.
@Borgleader Déjà vu
Ah. Melancholia brought Robert to the Lounge
Ven
Ven
23:46
funny how life does that
nwp
nwp
@RobertHarvey the language thing or something else?
Is it ever anything else?
Ven
Ven
@LucDanton thank god there are new jerks like me!
@RobertHarvey That's a splendid use of rhetoricals :)
nwp
nwp
porn, insults, links to shady sites ... I can imagine other things
23:49
rightfold's lady parts
Those things don't produce the kind of righteous indignation that "how dare you invade our personal space" does.
Perhaps you can take pity on this poor person who stumbled into Programmers with a C++ Templates question.
0
Q: I am trying to make a function with that returns true/false if an element is in the vector but I am getting an error?

Danish Amjad AlviI am trying to implement a function in C++ using STL which takes an object and a vector of objects and return true if the vector contains the object else false. Below is the implementation of the function: bool belongs(vertex V, std::vector<vertex> &array) { std::vector<vertex>::iterator it; ...

user3790646
@sehe Hey, sorry for bothering you again and again. The server is not receiving the messages the client sends. Relevant code: this, this² and this³
Ven
Ven
> your help is awaited.
better put a timer
F!@#!@#!@#!@#@!#K Twitter UI ate my tweet twice now.
What is the purpose of Twitter anyway?
Ven
Ven
23:54
to eat @sehe's tweets
Allow twits to communicate?
And that's while it's gotten to the point I'm conditioned to hesitate before using ctrl-arrow in any program these days
@AndreyErick It's ok to bother me. I do prefer if you do it on Stack Overflow though.
It's better for everyone
nwp
nwp
I'm trying to make a tool that finds which libs to link based on the undefined reference error. I added find_package(Boost COMPONENTS filesystem REQUIRED) and karma thinks it's funny to give me error: undefined reference to boost::filesystem::path::begin() const'
in C#, 19 hours ago, by Jan Dvorak
I'm wondering if I should just lurk in the C++ lounge and flag-spam it to hell.
That makes so much sense.
Apparently it was just a fleeting thought though, as I don't remember when we last had any flag related trouble, really.
nwp
nwp
one of the first things I saw in the lounge was Ven saying fuck and I considered flagging it :D

« first day (2044 days earlier)      last day (3130 days later) »