« first day (1822 days earlier)      last day (3131 days later) » 

8:01 AM
> ./boost/regex/v4/instances.hpp:124:17: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define template __extension__ extern template
...I did not want to see this.
 
disable the warning then :P
 
I'm building boost itself.
It's their job to disable noisy warnings :F
Also building libc++ now spits tons of "#include_next is an extension".
Can't they figure out what warnings to disable? :/
 
What's include_next
 
It includes next.
 
Maybe they don't want to disable them
Why do you even care, it's not your thing, why are you watching the output
 
On 12 February 2013, North Korean state media announced it had conducted an underground nuclear test, its third in seven years. A tremor that exhibited a nuclear bomb signature with an initial magnitude 4.9 (later revised to 5.1) was detected by the China Earthquake Networks Center, Comprehensive Nuclear-Test-Ban Treaty Organization Preparatory Commission and the United States Geological Survey. In response, Japan summoned an emergency United Nations meeting for 12 February and South Korea raised its military alert status. It is not known whether the explosion was nuclear or a conventional explosion...
lel
 
@fredoverflow I like how it's unbiased :)
 
user1804599
Alpha renaming :D ideone.com/uyLLkj
 
Bitches, clam they selves, I am here.
¬_¬
yes... that will work.
 
8:27 AM
Hello m8s
 
Hello
 
Hellove
 
How are you today my delicate stackoverflowers
 
I've received my new laptop!
 
What is it?
 
Xeo
8:28 AM
feeling like crap :<
 
A laptop!
 
Lenovo Yoga 3
 
@Xeo sick?
 
Xeo
kinda
 
Xeo
8:29 AM
had a bad case of accute diarrhea yesterday
 
@Xeo mmm, tasty
 
Xeo
still not feeling super well
 
I'm afraid I'm catching a flu but so far I'm okay-ish
 
@Xeo drink
 
8:29 AM
@thecoshman ಠ_ಠ
 
@Xeo You chose your wording very wisely then
 
@Rerito you don't fuck around :p
 
Xeo
@thecoshman ye
 
@Xeo You should eat a lot of rice (without washing it)
@Mr.kbok I got the one with core i7 and 256 gigs SSD (but only 4G of RAM)
 
no graphics card though?
 
Xeo
8:31 AM
Didn't drink much yesterday, since it felt like it all would come out soon enough anyways. I want to think that kinda helped with not going to the toilet even more often.
 
That doesn't sound like a good idea to stop drinking
I've never used windows 8 before
I'm so lost on it
 
@AndyProwl o_0 I read that as 'catching bird flu'
@Xeo probably not that smart...
I think it's better to drink plenty, and let it rinse through you
 
Morning.
 
@thecoshman Yes, furthermore diarrhea dehydrates you a lot
Hi @Morwenn, how's it going. Today's topic: diarrhea
 
Xeo
@thecoshman twas painful though
 
8:35 AM
@Xeo any medicine?
 
Xeo
not yet
 
@Rerito Diarrhea deprecates you a lot.
 
Xeo
didn't have anything at home
 
bananas are nice at stopping diarrhea
 
@Xeo you can get little sachets of stuff that you can add to water... kind of like an alkaseltzer but for diarrhoea...
 
8:35 AM
as is lots of cheese
get QF pizza
 
Plugs are good at stopping diarrhea too.
 
@Xeo yeah, it's not the most fun
@AlexM. o_0
 
Xeo
@AlexM. I ate some bread and a banana yesteday, before it all started. :<
 
@JonClements I believe it's called smecta (french name at least)
 
welp
if it persists go see a doctor
may be a parasite or sth
 
8:37 AM
@Morwenn pressure can build up though
 
Lot of cheese? If I eat a lot of cheese, that's a guaranteed shitstorm!
 
@thecoshman At least it lets you choose your target :D
 
@thecoshman Yeah... impersonating a better of champagne in that manner probably isn't a party trick people want to see :)
 
@Xeo Eat that earth-like powder it's super effective (Smecta)
 
@GregorMcGregor poop?
 
8:39 AM
It makes poop solid
 
@thecoshman my paranoia doesn't get that far
 
@AndyProwl the birds do!
 
poor things
but then again they can fly
 
Fear the walking dead coming
 
so that's sort of fair
 
8:43 AM
Hey, can anyone help me. I am defining a vector<vector<int> > vec. Then I define a vec<int> tmp and use tmp.push_back() to define each sub-vector. Then I use vec.push_back(tmp) for each subvector. However, when I try to access the elements of vec as vec[i][j] I get a segmentation fault. Any ideas?
In general, how do I access the elements of a vector<vector<T> >
?
 
Try showing an SSCCE or asking on StackOverflow
 
...or both.
 
OK, but, in general, how do I access elemets of a vector<vector<T> > vec ? Should vec[i][j] be enough?
 
...did you actually try that before asking this question?
 
@Grey yes, or .at(i).at(j) for bounds checking
 
8:47 AM
yep, I tried it
 
we can't help you without seeing a (small) snippet of real code demonstrating the problem (a.k.a. SSCCE). And even in that case, StackOverflow would probably be a better fit
 
@Rerito you mean twd proper
It's tonight
 
I preferred fear the walking dead (though Travis pisses me off)
It's not as slow as the original series
 
@Rerito So what do you prefer then? CircleCI? Appveyor?
 
@Rerito yeah, but actually a bit too fast too
 
8:52 AM
Thats a code snippet
N = 5;
vector<vector<int> > cmap;
vector<int> tmp;
tmp.reserve(N);

// input
for (int i = 0; i < N; ++i) {
for (int j = 0; j < N; ++j) {
tmp[N - 1 - j] = j;
}
cmap.push_back(tmp);
}

// output
for (int i = 0; i < N; ++i) {
for (int j = 0; j < N; ++j) {
cout << cmap[i][j];
}
}
 
@GregorMcGregor Never did continuous integration so I don't even know the tools :p
 
bin
 
I will try to post an official question
 
good luck
 
but I think is really simple and I cant find a relevant answer in SE
 
8:52 AM
@Grey Write it there
 
^ and format it in a readable way
 
And indent
 
user1804599
Identity function :D λf.f (λx.λy.λz.x z (y z)) (λx.λy.x) (λf.f (λx.λy.λz.x z (y z)) (λx.λy.x))
 
yeah ok! sorry for the previous post
 
@Grey Do you know the difference between reserve() and resize()?
 
8:54 AM
no
 
@Mr.kbok owners are sick
 
saw that some time ago; I wonder why people just go to that beach
I'd be deaf in a couple hours
 
they’re plain crazy
 
true.dat :D
 
8:58 AM
I see what you did there
 
@AndyProwl I think that reserve(N) reserves space for N elements but it does not initiallize them. So then I use tmp[position] = value to initiallize them. The resize() does a default initiallization to the vector's elements. I haven't used those functions much though so maybe I am missing something here. :(
 
@Grey reserve(N) only reserves capacity (memory) for at least N elements, it does not actually create those elements. So you're basically doing out-of-bounds accesses
 
it’s funny because in your original description you claimed you did a push_back on each level of vectors. But you don’t.
Code beats words.
 
Try resize() instead, or if you don't want the default-initialization, push_back() to insert new elements (but then you'll likely have to change the initialization logic)
 
@LucDanton yeah, sorry, i used a push_back() version earlier... my fault :(
 
9:00 AM
there's a push_back() too
it's just not used for every insertion
 
@AndyProwl Hence 'each level'.
 
@Grey your segfault
 
@AndyProwl Then I have not understand reserve(N) right.... Hm... So if the space is reserved why I cannot access it?
And thanks everyone for looking at it. I knew it was something other than using the [] operator
 
Only memory is reserved. The elements are not actually constructed
 
user1804599
More identity function: λa.a (λb.λc.λd.b d (c d)) (λe.λf.e) (λg.g (λh.λi.λj.h j (i j)) (λk.λl.k) (λm.m (λn.λo.λp.n p (o p)) (λq.λr.q) (λs.s (λt.λu.λv.t v (u v)) (λw.λx.w)))) (λy.y (λz.λaa.λab.z ab (aa ab)) (λac.λad.ac) (λae.ae (λaf.λag.λah.af ah (ag ah)) (λai.λaj.ai))).
 
9:03 AM
so there is no i-th element there after a call to reserve()
pantoona please
 
user1804599
AKA (U(U(UU))(UU)(UU)
 
user1804599
U combinator is awesome.
 
user1804599
Because it's universal. :3
 
V useful
 
9:08 AM
Oh I love shitty binary files that use bit packing to save space. Admit it, you have text data and someone else could compress it much better than you.
 
9:19 AM
Depends
 
9:32 AM
Sexy & dangerous
 
> MOCK
 
user1804599
9:47 AM
This book is so great: cs.cmu.edu/~rwh/plbook/book.pdf
 
carnegie melon
 
> preview
> 557 pages
nvm it's a preview copy
 
user1804599
An old classic :) http://t.co/LNW9uZp1eO
 
10:09 AM
> "contact us for pricing" = "we want to squeeze the big fish without scaring away the little fish"
 
tell them you're a student and ask if you can't get things for FREE
that would be an idea, send emails to random companies like "I'm a student, what can I get from you for free?"
 
Student extortion racket
Man, Jim Sterling is so fat... I am concerned about his health.
 
10:24 AM
I'm listening to a song titled "When I Go Deaf" at the loudest volume to drown the tinnitus.
 
@R.MartinhoFernandes yay?
 
@R.MartinhoFernandes Please don't you will regret it
inb4 "I'm an aduuuuult"
 
user1804599
also this is so weird
 
user1804599
It's more expensive on French Amazon.
 
10:35 AM
Taxes
 
user1804599
Oh, I see.
 
Some people have plus plus vision.
 
@ElimGarak Do they see plus plus?
 
@GregorMcGregor We're good at taxing
 
@Griwes yeah but not sharp
 
10:46 AM
 
Italian weather?
 
> Facebook paid £4,327 corporation tax in 2014
lol
 
@AndyProwl take a second look :D
 
I'm trying hard
the penguin?
 
yeah
 
10:49 AM
They're transporting Linus obviously :P
 
a truck of linux distros
 
it's a linux driver
 
exactly!
 
dat pun
 
@GregorMcGregor ... That's it?
 
10:51 AM
@GregorMcGregor I hope this is in at least thousands units.
 
sadly it's not
 
Huh.
 
@GregorMcGregor source?
 
That's.... less than I paid in taxes.
And I don't even have a steady job.
 
Actually, there are ways to legally circumvent taxes, Google does it, too.
 
10:55 AM
> The share bonuses amount to £96,000 on average per UK Facebook employee.
Woah
I want a share like that
 
I'ld like to know the median
@ElimGarak So does McDonalds :)
 
@TonyTheLion it might be provided as equity shares
still good though
 
> Its most recent Companies House filing shows the company as making a pre-tax loss of £28.5m last year, but the firm also paid its 362 UK staff a total of £35.4m in share bonuses.
...
 
@MarcoA. true, still better than nothing
 
crapitalism
 
10:59 AM
I understand them though, government taxes are prohibitively high, especially in the US. And over here, as well. And Croatia doesn't even have an agreement to factor in withholding tax. So, it is common practice to open a sister company in a country that does and also offers various tax reductions based on having registered intellectual properties etc.
 

« first day (1822 days earlier)      last day (3131 days later) »