« first day (1824 days earlier)      last day (3126 days later) » 

10:00 AM
8
Q: Incrementor logic

Yassin HajajI'm trying to get deeper with post and pre incrementors but am a bit stuck with the following expression : public static void main(String[] args) { int i = 0; i = i+=(++i + (i+=2 + --i) - ++i); // i = 0 + (++i + (i+=2 + --i) - ++i); // i = 0 + (1 + (3 + 2) - 1); // i = 0 + (6...

>this isn't UB
 
Xeo
> get deeper with post and pre incrementors
wtf
 
more surprising is the fact that there aren't 100000 dupes of this question like in C++ land
 
@Xeo he could be a troll
 
@sehe tl;dr
 
Profunctor p => Profunctor (Codensity p)
Profunctor p => Profunctor (Copastro p)
Profunctor p => Profunctor (Cotambara p)
Profunctor p => Profunctor (Pastro p)
Profunctor p => Profunctor (Tambara p)
WAAAAAAAAAAAAAAT
 
10:05 AM
Profunctor p => Profunctor (Capybara p)
 
Casualfunctor p => Casualfunctor (Git gud)
 
It's so dense, every single line has so many things going on
 
this is the kind of stuff that makes your brain turn upside down
 
@ElimGarak nice, you have heard Tron soundtrack right?
 
Adagio for Tron is great.
 
10:12 AM
I like Disc Wars best I think.
Great album for driving at night in the winter.
@Morwenn You have heard Möller right.
 
@JohanLarsson I don't think so.
 
Nice album, the last half is best.
 
user1804599
@BartekBanachewicz Amateurfunctor
 
@JohanLarsson I'll give it a try. Not sure from the looks whether it's atmospheric music, trip-hop or black metal.
 
I don't metal
 
10:20 AM
Trip-hop then.
I see some Bonobo in the suggestions :p
 
I don't know fancy CS nor music words.
 
@BartekBanachewicz why would it?
 
Trip-hop us generally chillout electronic music.
 
0
Q: Is Hom functor a profunctor?

Bartek BanachewiczA Hom functor is a functor defined as $C^{op} × C → Set$ In more layman terms, it's a bifunctor which domain is the product category of C and the opposite of C. A profunctor, as I understand it, is any bifunctor which is contravariant on the first argument and covariant on the second: $\phi :...

@ScarletAmaranth answer my question then :P
 
@BartekBanachewicz that I don't know, I'll take a look when I come home
 
10:24 AM
@JohanLarsson Definitely trip-hop. And it does sound like Bonobo :p
 
> The Facilities are very good and Security is also very safety .
good
 
wouldn’t want security to hurt itself
 
@FilipRoséen-refp I didn't have any time to play around with your example (uni), but I'm still sure that your withhold snippet is ill-formed, and I am going to assume you alias pointer types or invalidly access dead objects. So, can I see it please
 
@AlexM. quite pretty indeed
 
10:39 AM
wow there's a shitstorm on meta
 
@GregorMcGregor link?
 
what where
 
Your Common Sense strikes again.
 
@GregorMcGregor any new news?
 
10:43 AM
> Honestly, there is nothing wrong with PHP itself. Most of the blames are ridicilous and can be solved by good IDE.
 
If the IDE has to solve PHP's problems then how can there be nothing wrong with PHP?
It's a contradiction.
 
> it is still extremely powerful yet easy to use and widely popular language.
ARHSKEKAHETKGHERKGHDKAFGHKLDFAHGHKLDFAG
People that skip articles are annoying.
(Sorry Balkans)
 
@thecoshman there's a shitstorm outside of meta as well
 
@R.MartinhoFernandes you mean "articles" in the grammatical sense?
 
10:50 AM
@TonyTheLion yes
He made a high rep user ragequit
 
link pls
 
Oh, and . Nothing of value was lost.
25
Q: Why was this question reopened?

Your Common SenseThere is a question, mysqli_query() expects parameter 1 to be mysqli ( it is mysqli though ), that genuinely seems to me to be a duplicate of Warning: mysqli_query() expects parameter 1 to be mysqli, null given in in every aspect - the title, the question body, and the answer are almost literally...

 
ty
 
user1804599
yummy
rookworst
 
@GregorMcGregor rip
 
user1804599
11:04 AM
@GregorMcGregor He should've used his common sense.
 
user1804599
I was wondering.
 
user1804599
If allocators could report for a given pointer how many bytes were allocated by the allocation that returned that pointer, could std::vector, when given such an allocator, omit the field that stores the capacity?
 
Think I'm doing something wrong. v1.1 matches v\d+\.\d+, no?
 
user1804599
@R.MartinhoFernandes Yes, it does.
 
K, just sanity checking.
 
user1804599
11:11 AM
Maybe your regular expression language is retarded and requires you to write \+ instead.
 
Nah, v\d\.\d seems to fail too.
The issue must be somewhere else.
 
user1804599
Ok!
 
 
user1804599
Good luck with debugging. :D
 
user1804599
> Niederländer erstreiten Mitsprache über EU-Verträge
 
user1804599
11:14 AM
hat does erstreiten mean?
 
@elyse lol
 
user1804599
I can't find it anywhere.
 
@elyse to achieve sth. By arguing and/or fighting
 
user1804599
ooh cool
 
@JohanLarsson Ok, actually only the beginning of the album sounded like Bonobo. The second half reminds me of Electrocado.
 
11:16 AM
good/bad?
 
Good, but a full album is a bit long for my tastes.
 
Man, I feel so tired. I want a vacation from my life.
 
Judging from your profile pic, you might not have to wait that long. :P
 
@wilx kill yourself :-)
 
@Columbo That is not a vacation. That is like getting fired or resigning. :)
 
11:23 AM
Ragequit
 
@AnalPhabet lol, wow! Purely coincidental.
 
me waking up: wow I can't wait to go to sleep tonight
^ so me
 
@AndyProwl :D
 
I want my xmas vacation too
I'll make sure it's long
with 2 weeks extra or more
1 week before xmas then 2 weeks after, aside from the legal 2 weeks
 
Xeo
11:30 AM
I got 15 vacation days left
That includes 10 I "kept" from last year :<
 
yea but you can take from your future days if you take your vacation in january
 
Xeo
I think I might need to dip into that budget
 
I'll take one or two weeks from 2016
 
Xeo
having 30 days per year would be so nice
 
@Xeo because sick or what?
 
Xeo
11:31 AM
@BartekBanachewicz No, because I want to take 2 weeks of vacation
 
Xeo
I don't need to take vacation days for sick leave
 
I think I'll just need two days for my trip to Frankfurt/Trier.
And I'm leaving the rest for christmas
 
 
Xeo
11:33 AM
@R.MartinhoFernandes ^
 
So, I wanted to see how UE4 was doing on OS X...
So, I start it up...
 
@Xeo Haha. :D
 
Xeo
Doing it wrong :P
 
@ElimGarak what's up with the artifacts
 
11:36 AM
I've no idea, I'll try with 4.8.3 now.
 
Xeo
try 4.9
oh wait
 
That is 4.9.2
 
Xeo
that was 4.9
lol
are you using the launcher or a source build?
 
I wish I could rage quit something I frequent for more than a year
 
Xeo
god dammit
 
11:37 AM
Launcher, I didn't think building it from source would be enjoyable.
@Xeo ahahah
ikr
 
Rage quit for one user is amazing, because I can't do it for 30+ of them
It would take more than an army for me to rage quit
and maybe I wouldn't
 
@chmod711telkitty \o/
 
you know if you guys didn't react I wouldn't even know telkitty existed
 
hi telkitty
 
11:41 AM
hi kitty
 
You guys are worse than Bajoran collaborators during the Cardassian Occupation of Bajor.
 
yo kbok
hey Joh*n
 
do you do something to your hair? oh wait that's a chicken :p
 
@ElimGarak Hehe.
 
11:44 AM
I think the artifacts are related to El Capitan's slow transition to Metal behind the scenes, new drivers and stuff... And UE4 probably has a custom crossplatform hacky GUI toolkit to get it going across platforms. Will check out 4.8.3 and hope for the best. Don't have to use it, so not particularly heartbroken :D
 
I found what was trashing the stack, it was "just my code" cc @CatPlusPlus @R.MartinhoFernandes
 
@ElimGarak that's a bajor offense there
(sorry I have a bit of a cold)
 
wergh is my STL impl so bad or what
 
statistically, very
 
11:51 AM
1
Q: Does std::string need to store its character in a contiguous piece of memory?

sbiI know that in C++98, neither std::basic_string<> nor std::vector<> were required to use contiguous storage. This was seen as an oversight for std::vector<> as soon as it was pointed out, and, if I remember correctly, got fixed with C++03. I seem to remember having read about discussions requir...

lol sbi
 
must be a duplicate
 
sbi must be new to SO. :D
 
> The class template basic_string describes objects that can store a sequence consisting of a varying number
of arbitrary char-like objects with the first element of the sequence at position zero. Such a sequence is also
called a “string” if the type of the char-like objects that it holds is clear from context. In the rest of this
Clause, the type of the char-like objects held in a basic_string object is designated by charT.
 
@Columbo you can assume all you want, it doesn't change anything. I will write a blog post about this (you will be featured, yay! (maybe under a pseudonym)) - so you can wait for that
 
> The char-like objects in a basic_string object shall be stored contiguously. That is, for any basic_string
object s, the identity &*(s.begin() + n) == &*s.begin() + n shall hold for all values of n such that 0
<= n < s.size().
@sbi Yes, it does
 
11:56 AM
> Oh no it's one of those titles again - prepare for a large influx of downvotes.
 
hm, can't find a duplicate
I'm surprised
 
I like how the SO C++ tag is basically a bible reading class.
 
@ElimGarak what I like about it is that most often the most elaborate answer is what is gaining up-votes, please actually care about the whole truth - not just a subset of it (in most cases anyhow)
@ElimGarak I recently became active in , and since there are a lot of novice developers hanging out in that tag (and people are not as compsci-interested, it seems) answers that are short and leave out a lot of information are often higher voted than the more elaborate
 
It looks like my porngram crashes when destroying a vector<string>
 
@AndyProwl it's really getting on my nerves now
 
12:01 PM
lol
 
Is there a way to find out where it's advertised?
I tried googling with linksto:url but found nothing
 
Of course there is
 
I don't think so
 
"Where" is a good question
 
Your google fu is weak
 
12:02 PM
Did you find it?
Maybe you googled for the title :)
I'm absolutist: I want things that refer to the exact url ...
 
Xeo
shortened url etc
 
Tried them all. Not noob
 
Xeo
"all"? link shorteners?
 
Hint: reddit
 
shortened URLs are 1-1?
 
12:03 PM
@GregorMcGregor Haven't read it :)
 
deez punz
 
Oh wait. I GET IT. I GET IT.

It's an elaborate practical pun on the words "Range cheque"
 
IDGI
 
> That guy doesn't seem to fully understand range checks.
 
12:05 PM
@AndyProwl Some are. Obviously I didn't actually use all shorteners. I assumed Xeo meant e.g. https?://stackoverflow.com/a/33038436/85371
 
oh ffs
 
@AndyProwl usually yes
 
@AndyProwl Full understanding comes with a complimentary sehe.
 
is the damn std::string bugged or what
 
@sehe let me see what I can find.
 
12:05 PM
@ElimGarak let's give him gold. Irony gold best gold
@FilipRoséen-refp reddit was uncovered
 
@ElimGarak I like the complimentary sehe so much more than that grumpy sehe
 
@sehe oh, well; that took me just about 1.2 seconds to find
 
how awesome
 
Yeah. Well. I told you
4 mins ago, by sehe
I'm absolutist: I want things that refer to the exact url ...
 
@sehe instead of messing around with -linksto:blabla, -site:stackoverflow.com Range checks using a switch statement - first result.
 
12:07 PM
Google linksto:http://stackoverflow.com/q/33037832/250259 results in nothing
 
@sehe don't use linksto
 
@FilipRoséen-refp Clever. I never used the site: predicate negated
 
that link also contains your user-id
 
@FilipRoséen-refp Meh. Do you have more solid advice. I've learned that without you rubbing it in without a single argument
 
shortened links are not the same for all (unless you are signed out, that is)
 
12:08 PM
@FilipRoséen-refp It's the EXACT link taken from the reddit, bruh
@FilipRoséen-refp ...
 
@sehe linksto is broken
 
Splendid argument right there
 
"everyone" who have spent some time working with SEO knows this, so I just assume that it was common knowledge
@sehe it sure is, take it or leave it
 
@FilipRoséen-refp ... because everyone has spent time with SEO?
 
@Cthulhu that's an unreasonable standpoint. I copied it from the OP and there's no possible conflict (only standard library used) and it's local to a single TU. If you must warn the OP, do so by linking to the relevant discussion instead of making it false criticism out of dogmatic motives. And post it to the OP, not any particular answer. Thank you — sehe Oct 9 at 15:37
 
12:10 PM
If you have nothing to say. You're just reiterating the same in a vain effort to make me feel bad for not knowing. I didn't know. Google documents the thing. It's ok to assume it works (it worked in the past, but that is equally anecdotal)
 
what sort of stupid logic is that?
 
Yep, damn std::string implementation corrupts the memory
 
Wait, this guy bombed his comment I suppose? I hate when they do that.
 
Is it me or fuck is the new cock?
 
@thecoshman Yeah, we're just morons and we don't type fast enough
 
12:10 PM
@sehe FASTER!
 
@thecoshman no, because I thought people read about things they stumble upon
 
POWER!
 
Clarkson intensifies
 
@FilipRoséen-refp how do you ever make it through... anything?
 
@thecoshman some of us spent some time with XEO though
 
12:11 PM
@ElimGarak Oh, deleted my reply comment (and one other by mistake ... )
 
(no idea what SEO is)
 
@thecoshman are you saying that I cannot know anything, because I'd prefer to read about things I'm not sure what they are?
 
@AndyProwl and it was sooo sweet
 
yay
 
@AndyProwl Search Engine Optimisation
 
12:11 PM
@AndyProwl Senior Executive Officer <3
 
@AndyProwl Search Engine Optimization, and in a bit someone will probably mention SEM (Search Engine Marketing).
 
Elim wins
 
@FilipRoséen-refp no, that you'd be perpetually side tracked
 
@FilipRoséen-refp They do. Now stop with the moral superiority. It's just uncalled for.
 
@FilipRoséen-refp
 
12:12 PM
@sehe It kinda goes with his profile pic, doesn't it?
 
@sehe "okay"
 
@FilipRoséen-refp Yeah. Note how you cleverly arranged that someone to be you :)
 
@sehe I'm not going to talk about it, unless someone else does
 
@ElimGarak touché
 
@sehe sehe's law? One cannot warn that a topic will be brought up without being the one who brings it up.
 
12:13 PM
@Rerito wat ._.
 
@thecoshman Old as the road to Hades
 
@Morwenn nannannannan batman!
 
@Morwenn Look at the starboard and count the fucks
 
12:14 PM
@Rerito Oh.
 
@ElimGarak probably that yes :P
 
@Xeo :| :/ :( :| :S
 
@Morwenn the infamous invisi-words
 
@R.MartinhoFernandes lol
 
@Borgleader For sure the number of fucks in the starboard is higher than the number of fucks I give :D
 
12:17 PM
We do give fucks about fucks
 
Google recruiters bugging me again without any no-relocation opportunities. FFS, can't they just make a note in their database that I'm not movable?
 
Xeo
Robot(Robot&&) = delete;
11
@BartekBanachewicz Copasta, mmh!
 
@R.MartinhoFernandes ergh, terrible class.
 
user1804599
@fredoverflow github.com/rightfold/confx :D
 
> You don't have permission to access /wp-content/uploads/2015/10/bestes-cosplay.jpg on this server.
They found out I'm not German
 
ah, thanks :P
 
Yeah, Germany censors everything.
 
Ell
12:28 PM
okay.
 
Getting started with spirit (still rogue working at the office). The doc is great :)
 
That's the spirit! (couldn't resist)
 
@ElimGarak Huehuehue
 
Ell
Giving card details over phone feels 100% wrong
 
@Xeo ugh CamelCase :c
 
Ell
12:30 PM
but I'm calling my bank, so it should be fine, right?
 
Program received signal SIGSEGV, Segmentation fault.
0xb7f178e0 in std::string::compare(std::string const&) const () from /usr/lib/i386-linux-gnu/libstdc++.so.6
 
@Ell riiiight
 
@AndyProwl Sorry I don't speak spanish
 
oh neither do I
 
12:32 PM
Srsly though, is it czech?
 
How do I segfault in a std::string::compare() ffs
 
yeah, but you don't need to read that stuff
 
@Morwenn I see now why you make sorting algorithms for very few numbers of elements. You want to efficiently sort all the fucks you give :)
 
Of course it is chech
 
@Borgleader Nah, I think I would have finished by now :D
 
12:32 PM
czeque
 
chèque
 
std::czeque
 
It checks, by repeatedly asking "Que?"
 
It's the czech implementation of deque
 
That's racist
 
12:40 PM
@AnalPhabet by comparing with dead objects?
 
> 0xdeadbeef
 
@Griwes AFAICReadMyCode, the only string.compare() invocation comes from std::map, which should manage its own objects
 
map could be dead
 
So the only way this can go bad is if I pass my dead string, hrmm
 
Do you mean nose dragons bad?
 
12:46 PM
Nasal daemons, you mean?
 
Whatever nerd :P
 
Also, as in SIGSEGV bad
 
Not bad
 
Giving up masturbation for month. I cannot imagine that. I lasted like 10 days once and it was insane.
 
ITT Lounge<Wanking>
 
12:50 PM
That was a quick one
 
Hi Guys, What room am i best asking in for someone that can read VB script?
 
Your room
 
@StephenWolfe The C# room but they are not going to love it.
The VB room is as dead as the language.
 
:) thanks. I new it was one of the C languages
 
note to self: when shit is using all the physical ram and swap, give it more swap.
 
12:52 PM
Your shits are gigantic then
 
@wilx good lord! you must have launched that sock across the room!
 
@thecoshman it worked?
 
@bluefog like a fucking champ
 
@thecoshman I have never understood this American custom of using a sock for masturbation.
 
this shit is so much more stable now.
@wilx me neither, but I'll propagate the concept for the purpose of jokes :D
 
Xeo
12:53 PM
@thecoshman protip: give it more ram
 
@Xeo I HAVE NO MORE TO GIVE!!!!
 
Xeo
Poor soul
 
How much do you have?
 
It's a VM, and I wouldn't mind running it at home and giving it a butt tonne of ram, but the vlan is shit slow and drops.
 
@wilx I think I lasted like 3 weeks the other time. Not even trying.
 
12:55 PM
@AnalPhabet where?
@Morwenn maybe that's your problem, not enough of a wanker
 
@thecoshman On the VM
 
Twitter majestically captured my essence.
 
@thecoshman My problem?
 
@AnalPhabet something like 5.5 of the 8 this laptop has :\
@Griwes thanks, I'll try that
@Morwenn le sads
 
12:56 PM
@thecoshman I'm more of an everyday wanker. I simply abstain when there are people around.
 
wank => be happy
 
Ooooh, clang differentiates between "lambda" and "function" in warnings
 
@Morwenn never hear of a danger wank?
 
@thecoshman Nope.
 
@AnalPhabet ¬_¬ I don't think I like that
 
12:57 PM
8 mins ago, by Griwes
ITT Lounge<Wanking>
 
@Morwenn Phew. I cannot imagine that. I would like have constant hardon and feverish wet dreams if tried that. :D
 
@Morwenn wanking when/where you might get caught
@wilx ok, I think I know too much now... wait, left or right?
 
> ../src/configuration.cpp:171:3: warning: control may reach end of non-void lambda [-Wreturn-type]
That's nice, though
 
@AnalPhabet ergh, maybe...
 
@thecoshman Oh, that. I don't want to practice such things :p
 
12:58 PM
@thecoshman lol, what? IDGI
 
the getting started guide tells you what you should do, instead of this. Also, the tarballs are better on Linux due to file permissions. Just doing "random" steps and coming here makes it a useless question for anyone else. — sehe 1 min ago
Close reason: "Did not follow getting started guide"
 
@wilx handedness
 
dexterity, in a way
 
@thecoshman I am left-handed.
 

« first day (1824 days earlier)      last day (3126 days later) »