« first day (1266 days earlier)      last day (3688 days later) » 

1:01 PM
@R.MartinhoFernandes What, std::vector doesn't come with moves?
 
29 mins ago, by R. Martinho Fernandes
IIRC it was a workaround for lacking of move-awareness in C++03 containers.
 
ah
swapping can do the same job if you're desperate.
you'd have to reimplement std::vector though.
 
Strange- the sound does not play on my phone.
 
ITT vector has some serious moves
Ahahahaha. This one is hilarious: "Boost libs are connected but throws erros"
> [...] build voost
> [...] directody
> How can I fox it?
 
1:16 PM
you're having a good week
no idea what directody is
It's sad that I can't get any more upvotes from that French question. :(
I was hoping it would become a bit of a passive rep-generator, being my highest voted post of all time, and all that...
 
@LightnessRacesinOrbit i'm trying to read first byte from an image file (binary file) with PHP ($byte = fread($fp, 1)) , why i can't make bit operations on it only after converting to ascii code with ord() ?
 
this looks pretty damn great
 
user1804599
@Bilal Because bitwise operations on strings make no sense.
 
user1804599
duh vOv
 
1:30 PM
y u help vampire
 
user1804599
IMO they should only work on bitsets.
 
@BartekBanachewicz Hey - I think there's and amp and speaker underneath all that art:)
 
@DeadMG twilightfold
 
and it's a 4x12" cab of course, so 4 speakers
anyway they look amazing
 
@BartekBanachewicz Nice!
 
1:32 PM
but since it's Custom Shop, prices will be horrendous now and even worse in a few years from now
 
@BartekBanachewicz Seems a shame to leave those to the tender mercies of ratted roadies and high van/truck drivers.
 
@MartinJames I suspect they will find their place among boutique collectors, rather.
 
@BartekBanachewicz Yeah:(
 
Xeo
1
A: how to correctly find out the return type of a lambda

Jarod42You may use following traits: template <typename T> struct return_type : return_type<decltype(&T::operator())> {}; // For generic types, directly use the result of the signature of its 'operator()' template <typename ClassType, typename ReturnType, typename... Args> struct return_type<ReturnTyp...

AFVGPAYIFGPYA
 
Xeo
1:37 PM
Do you have some kind of stock comment for those?
 
user1804599
@Xeo kek
 
@MartinJames well, w/e, I'm happy with my amp, though it's pretty damn too loud for my apartment :(
 
@Xeo Ugh, so many violations of the Law of Lambda Banality.
 
@Xeo "plzno"
 
1:39 PM
@Xeo At the risk of saying stupid, I thought it was just decltype(f())
 
@BartekBanachewicz I've been unhappy with AMP as of recent, I'll try out the new CUDA with unified memory model
 
@ScarletAmaranth nananana
 
I almost feel like just editing it all away to say "function object"
 
@Borgleader what about f(...)?
 
Xeo
@R.MartinhoFernandes Was that what you needed the -1 of 'exceptionality' for?
 
1:41 PM
Yes.
 
@rightfold i'm opening the file with rb mode, why would it return strings?
 
@BartekBanachewicz well actually more like f(_e) but my point was I dont see why he put all the extra declval
 
Xeo
@R.MartinhoFernandes Btw, there's an idea for a lightning talk
'lambdas are boring'
 
I'm quite happy today
 
user1804599
@Bilal because PHP has no byte buffer type.
 
user1804599
1:49 PM
It could return an array of integers, but it returns a string. Deal with it.
 
@rightfold you are my man
 
how romantic
 
Mathias Rust (born 1 June 1968) is a German aviator known for his illegal landing near Red Square in Moscow on May 28, 1987. An amateur pilot, he flew from Finland to Moscow, being tracked several times by Soviet air defence and interceptors. The Soviet fighters never received permission to shoot him down, and several times he was mistaken for a friendly aircraft. He landed on Vasilevsky Descent next to Red Square near the Kremlin in the capital of the Soviet Union. Rust said he wanted to create an "imaginary bridge" to the East, and he has claimed that his flight was intended to reduce t...
 
^^ interesting read
especially the later life bit
he seems so unstable I'm wondering why the heck he's free to do stuff as he pleases
 
1:58 PM
@AlexM. It is called freedom.
 
I didn't ask what that was
 
@AlexM. I am giving you the reason why he is left to do what he pleases.
 
the guy is obviously deranged
15 months of prison for stabbing someone who barely survived is uh
too little
 
@AlexM. He got 2.5 years according to the article. And "barely" is too vague to judge if it was enough or not.
 
he got 2.5 but only served the sentence for 15 months
and attempted murder is still attempted murder
 
2:03 PM
Not that I like what he has done. But I find your judgement unfounded.
@AlexM. Learn to read. The Wikipedia article says manslaughter, that is quite different than murder.
 
Rust never sleeps
 
Manslaughter is a legal term for the killing of a human being, in a manner considered by law as less culpable than murder. The distinction between murder and manslaughter is sometimes said to have first been made by the Ancient Athenian lawmaker Draco in the 7th century B.C.. However, Biblical references were made prior to this that differentiate unintentional killing due to accident, and premeditated killing. The definition of manslaughter differs from jurisdiction to jurisdiction. The law generally differentiates between levels of criminal culpability based on the mens rea, or state ...
 
@AlexM. Yes, exactly.
 
sorry, this seems like a useless distinction to me
the guy tried to kill someone for rejecting him
that's sort of all I see
 
@AlexM. You need new spectacles.
 
2:07 PM
> The natural minor scale is equivalent to the Aeolian mode, although scales and modes are built upon different systems and are technically not the same.[citation needed]
FFS
 
> While doing his obligatory community service (Zivildienst) in a West German hospital in 1989, Rust stabbed a female co-worker who had rejected him.
what is there more to be seen?
I really don't get what you're trying to tell me here
 
@AlexM. Well, if someone illegally carries a lethal weapon, it's surely likely that he/she is prepared to kill someone, even if it's not a premeditated act against a specific individual. Sentences for such an act should be same as for murder, no matter what you call it.
 
@AlexM. That there is a difference between (premeditated) murder and manslaughter.
 
@VáclavZeman sigh
what makes his act be manslaughter and not murder
 
Hmm. I wonder why can't I take the type of (->), in Haskell
 
2:11 PM
> differentiate unintentional killing due to accident, and premeditated killing.
 
@AlexM. The distinction is largely intent. If I don't intend to kill somebody, but do so by accident, that's manslaughter. That can stem from either intending to hurt them, but something going wrong, and I accidentally kill them, or it can be just due to negligence on my part (e.g., I'm driving, but not paying attention to what I'm doing).
 
but the article doesn't state it was an accident
 
It says it was manslaughter.
 
@AlexM. His state of mind after being rejected.
 
So it's implied that it was not intended to kill, only hurt.
 
Xeo
2:12 PM
@Jefffrey -> is already a type
 
so if you impulsively decide to kill someone due to blind hate it's manslaughter?
 
@AlexM. His stabbing her apparently wasn't an accident. The fact that it did as much damage as it did apparently was an accident.
 
"Decide to kill" is different from "decide to hurt".
 
@Jefffrey you can take its kind tho, vOv (* -> * -> *)
 
2:12 PM
this is so complicated :<
 
Xeo
@ScarletAmaranth I wonder how you take the hyperkind of the kind-arrow
 
the difference with manslaughter vs. murder is whether it's done "with malice aforethought"
 
@Xeo forgot it's a type, and kept typing :type (->) when I should have written :info (->)
 
@AlexM. Real life is.
 
@Xeo you don't :)
 
2:13 PM
I'd have kept him in an asylum for being a danger to the people near him
 
(or do you ?!)
 
@AlexM. He got punished by incarceration already.
 
for life
 
@AlexM. So it is. So complicated that printed copies of all that laws that apply in a given area generally take up a fairly substantial library.
 
@Xeo It's not!
 
2:14 PM
@AlexM. You would have to put into asylum pretty much anybody who has hurt anybody with this logic.
 
@VáclavZeman lol good point but still, not everyone hurts others bad enough to possibly kill them
 
If I'm in some fight down the club, maybe due to too much beer, whatever, and some stupid argument over football, and I knock someone over, they hit thir head on a wall and die from brain trauma, that's manslaughter. If I go down the club with a shotgun and blow someone's head off because they sold me a crappy car, that's murder.
 
@AlexM. Well, she did not die.
 
@MartinJames that's easy enough to understand, thanks
 
@AlexM. It's not always easy to estimate how much you will hurt someone.
 
2:16 PM
@Edward "and forethought", surely?
 
Especially in a situation that causes enough stress for you to want to hurt someone in the first place.
 
@R.MartinhoFernandes obviously, but supposing he used a knife, what did he think, he'd only scratch her skin?
 
like the Lounge
 
Xeo
@R.MartinhoFernandes Excuse me, type constructor
 
@LightnessRacesinOrbit No, it's "aforethought" See dictionary.law.com/Default.aspx?selected=1209
 
2:17 PM
@R.MartinhoFernandes If you are illegally carrying a knife, gun or club, that should be enough to prove murderous intent.
 
@MartinJames As far as I know, it could have happened in the kitchen.
 
@Xeo mm, well, even in C++ you say std::vector is a type
 
"Oh man, I'm going to use this knife, hopefully I won't hurt her in any way."
 
Xeo
@ScarletAmaranth no, it's a template
 
@Xeo yeah, but you can say it's a type; it's obviously a "type constructor - thing" (a class template if you will)
 
Xeo
2:18 PM
you lost me
 
Wielding a knife in a kitchen should be perfectly fine. Except when I'm the wielder.
 
@AlexM. It could have been (I have not read the whole page): "I am going to bring this knife and persuade her to love me at knife point."--kind of thought that got out of hands.
 
@VáclavZeman or it could have been that their community service was at a local soup kitchen.
 
@R.MartinhoFernandes Yes, and holding a knife in a kitchen does not prove murderous intent. Same as carrying a broken shotgun with no shells. You go down the pub with the kitchen knife...
 
@VáclavZeman no worries, there's nothing extra about the incident in the article
most of what's discussed here is speculation anyway
 
2:19 PM
@Edward ok thanks
 
Xeo
@R.MartinhoFernandes Well, you wielding a knife would not result in manslaughter, though. Only potentially in suicide.
 
@ScarletAmaranth template <typename C> voif f(); f<std::vector>(); proves you wrong, no?
 
@AlexM. What's the point? I mean, why put someone in an asylum forever?
 
@AlexM. Indeed. Hence my not liking your judgement.
 
@Xeo well, it's not uncommon to hear that vector is a type even though it's not a type; saying Maybe is a type is also incorrect but it's not unheard of to hear it's a type
 
Xeo
2:20 PM
it's wrong though
 
@Xeo LOL!
 
@ScarletAmaranth Then whoever said it is a moron and wrong.
 
@DeadMG I am not saying it's right : - /
 
Xeo
And I should've said 'type constructor', since I'm the one always insisting on using the correct terminology
 
@jawrainey I've been in here for three years. Seems like forever sometimes.
 
2:20 PM
@ScarletAmaranth Why are you bothering to quote people who are wrong?
 
I am just saying that when you say "type" you can mean "type constructor" : - /
argh, dis lounge!
 
@jawrainey the same point as putting someone in jail forever I guess
 
well, you can't.
 
Xeo
@ScarletAmaranth oi, don't dis us
 
@DeadMG I quote you all the time
3
 
2:21 PM
@LightnessRacesinOrbit have a star
 
@ScarletAmaranth ;)
 
@Xeo ...or not (depending on how you define "type").
 
@AlexM. I see. So generally a waste of tax payers money? :)
 
I have learned that people don't like to hear stuff about death sentences
 
@DeadMG Nonsense!
 
2:22 PM
so I never mention them
 
here's a description of the incident: news.google.com/…
 
Yeah, that's why I have not either.
 
@jawrainey Yeah - it's a difficult subject that can get very personal very quickly, depending on individual experiences.
 
There must be a better solution, which involves c++ - discuss
 
@Edward ...which brings up another point: manslaughter is often brought up as a "lesser charge" when the prosecuting attorney simply lacks evidence to get a murder conviction.
 
2:26 PM
@MartinJames That looks like a description for any kind of argument.
 
@R.MartinhoFernandes yeah youre right it's not the same thing exactly
 
@Jefffrey Well, an argument over vector moves is not likely to escalate.
 
@MartinJames You're just not trying hard enough. :)
 
OK, maybe in here, it might:)
 
he he
 
2:27 PM
@jawrainey The argument is usually that locking someone up forever is impractical, and locking them up for a protracted period of time increases the risk of re-offence. Sentences are usually designed to be sentences of rehabilitation, including prison time but also including time on parole, giving the offender the ability to reintegrate into society.
@jawrainey Physically locking someone up for the entirety of a 40 years sentence is just needless, unless they are such a danger that they are of the rare case that they should be locked up for good.
Those rare cases, combined with the aforementioned impracticality of 60-year incarcerations, form the basis of arguments for capital punishment.
So when the Daily Mail is whining that someone sentenced to 5 years only served 18 months in prison, they don't really know what they're talking about and they're only helping to add to the tide of ignorance and hatred across our country.
 
I'm going to go fight some software. If I kill it, I'm only gonna be sentenced to an AV.
 
@LightnessRacesinOrbit So you admit to reading the Daily Mail?
 
Source: friends in high places who know this stuff
@jawrainey Not habitually, no. But, like you, I am aware of the sort of stuff they write.
 
@LightnessRacesinOrbit And thanks to the Internet, such contributions to ignorance are no longer restricted to a single country either...
 
bah, everyone in the office is so noisy on fridays
 
2:30 PM
@jawrainey In order to know that with actual certainty, yes, I'll come across an article from time to time of course.
 
@jawrainey That's a grave accusation!
 
Heck, BBC News publishes the front page of major newspapers each morning, as do many breakfast TV shows.
 
can't work properly so might as well go home too
 
I'm doing repetitiive shit ATM, extracting language translations from an old app.
I can get the component captions and texts out with software, but there are places in the code where text is explicitly loaded and I have to just dig out that shit from the code. It's just miserable:(
 
@AlexM. Dead people don't make noises.
 
2:39 PM
It's 'Amimal Day'. Sehe's fox earlier, then: 'I am crab and the guy how write server too'
 
It's Friday and I feel like undeleting this answer:
 
@BartekBanachewicz You might like this.
 
Room topic changed to: Lounge<Incoherent> Annihilating coherency since apples. loungecpp.net
Awesome
I think that went well
@rubenvb unfortunately mods get to permadelete
pahaha I crack myself up I do
 
@EtiennedeMartel How long does the battery last while running something like this? :P
 
@Borgleader Heh - I'm guessing 'not long'.
 
2:46 PM
@rightfold well played
 
Xeo
@LightnessRacesinOrbit Did somebody say Anti You?
 
user1804599
@Xeo :)
 
user1804599
Was just thinking of that.
 
@Borgleader Depends on a variety of factors, but mobile GPUs are getting quite good.
 
Oh and did you see amazon's game studios announcement thing?
 
3:01 PM
Nope
 
@LightnessRacesinOrbit fuck democracy eh?
 
kinda neat
 
@Borgleader Looks sharp.
 
@Jefffrey yes
This is not how you do open source, @opencart http://imgur.com/a/GRIzy
@Xeo I quite like this
s/quite/really/
(See, it's a grower! And it only took 35 25 seconds...)
 
I like cicada's new username
was it cicada?
I don't know.
snoflek I mean
makes me calm, relaxed and happy
 
3:16 PM
@LightnessRacesinOrbit It's amazing how he preferred to remove the code in question and use something else instead of just giving credit where credit's due.
 
@Jefffrey yes snoflek is cicada
 
güd
 
@EtiennedeMartel staging.
 
@BartekBanachewicz, how are you doing mate? It has been a long time since I last saw you here :)
 
@R.MartinhoFernandes ragequit innit
couldn't do what people had told him in the first place, after all that
 
3:23 PM
@R.MartinhoFernandes Why would he remove the Mozilla license in the first place?
=/
 
hi people
 
He's an ass.
I mean, come on, his project is under GPL.
How the fuck do you GPL your stuff but refuse to abide by it from others?
 
@Anyone who has GDCVault access, if a presentation was recorded in video would you have to login to see if the video was uploaded?
 
@R.MartinhoFernandes What I don't get is that people were saying he copy/pasted, yet he asserts the original was C++ and his is PHP. Which one is it?
 
@LightnessRacesinOrbit The original was C++; someone wrote a PHP version based on the C++ code and licensed it under some triple-licensing scheme where all three licenses require attribution.
He copied the PHP code.
It's all in the archived transcript here: gist.github.com/uppfinnarn/9956023
I don't like how when this shit hits reddit or HN there's a surge of assholes just dropping gifs and generally useless comments.
By the end it's pretty much bullying or harassment.
> I don't use opencart either. Or Magento. I hardly have any ecommerce projects (aside from a tiny portion of a WP site that uses WooCommerce), so I have no need of either, though this just made the decision easy if I ever do.

I too wondered in from reddit. I just love a good meltdown, and I believe in open source.
 
3:32 PM
to be fair, the author hardly responds in a calm collected fashion
 
Yes. But by the end it's just the audience being childish.
For a long time.
Like a zillion people just linking to the gist over and over again.
 
@R.MartinhoFernandes ok
 
could I interest anyone in viagra? there's a sweet offer in my spam-box
 
@R.MartinhoFernandes internet
playground of children
(oh the irony)
 
is there a flat vector of vectors in boost?
I haven't been able to find it :/
 
3:38 PM
> In Daniel's defense. He spends most of his time working on this project which belongs to him. If he chooses to not include something it is his to decide. How many of these posters have their own shopping cart project? I will assume none. Everyone has voiced their beef. It's time to let it go and stop this nonsense.
Erm.
 
@EtiennedeMartel So if I spend most of time on a project I can steal anyones code? Nice
guyz all your repos are belong to me
 
@EtiennedeMartel Yeah, it's a terrible defense.
@gnzlbg Multiarray?
 
@R.MartinhoFernandes not really, since all "rows" there have to have the same size AFAIK (just looked into it, but it seems that it can't handle rows/columns with different sizes)
 
> you are obversely not a laywer and and again you do not speak for anybody except your own mind!
awesome
 
still talking about opencart?
 
3:41 PM
@gnzlbg Er, you want a flat jagged array?
 
i want a flat vector<vector<T>>
no idea what that is called :/
i have written one (or two...), and im at the point in which i either write a clean implementation that i can reuse, or use one from someone else
 
It's just a multiarray with a separate vector of sizes, no?
@LightnessRacesinOrbit My favourite is when he pulls out his dick and says "and yet i bet you guys have to get up in a morning and go to work for some body else!"
 
yes. Right now im writing one since i want to handle in the future vector<vector<T>, vector<U>, vector<Z>...> with a single index vector. But I rather use a mature implementation for a single component
@R.MartinhoFernandes its like a multiarray with a different size for each element
 
> i already told you im replacing the function so fuck off!
<3
 
usually i implement them as two vector, one of indices, and one of values
but maybe someone else does it better
(e.g. boost)
 
3:45 PM
@LightnessRacesinOrbit That whole thread is epic.
 
> The everyday syntax we use when speaking and writing the English language wouldn't exist if it wasn't for those who spoke and modified it before us. Do we attribute every subtle change since Middle English to those who progressed the language from that time period? Does any particular person who uses modern English without attribution mean to claim the language as his/her own? There is a principle to consider here.
> I, for one, agree that this particular issue is a waste of time for the OC project. This smells like patent trolling to me, even though I'm sure many of the commentators here are genuine in their concerns (and may even be legally correct).
What is up with those defenses.
They're completely insane.
 
People being retarded on the internet, well I never
 
@EtiennedeMartel lol, patent trolling.
 
Anyway. The guy really understands the concept of "professionalism".
 
Maybe he's one of those 14 year old girls that @rightfold likes so much
 
3:51 PM
@Lightness also the Squad of I-Couldn't-Tell-An-Ad-Hominem-Argument-From-An-Insult-If-It-Slapped-Me-On-The-Fa‌​ce shows up a couple of times there.
5
 

« first day (1266 days earlier)      last day (3688 days later) »