« first day (2055 days earlier)      last day (2895 days later) » 

10:00 AM
39 mins ago, by Griwes
@LucDanton http://coliru.stacked-crooked.com/a/48ad92e0c5a94e48 :D
^ looks like a good reduction
@Griwes wait you do realize half sure means you have no idea
 
yeah good choice - to have griwes on your plonk but not cicada
what do they say about birds of a feather?
 
lalala - he can't hear you - bird of a feather!
 
10:23 AM
0
A: What is the best\simplest\fastest way to create set of 1 element? (C++)

seheAssuming you have the API like so: template <typename Container> void getElements(Container const& xs); // usage: getElements(std::vector<int> {1, 2}); getElements(std::list<std::string> {"1", "2"}); I think you are looking for an extra interface like so: template <typename V> void getEl...

Did I miss anything?
 
user1804599
auto x = f(); std::set<T> xs(&x, &x + 1);
 
could somebody help me with a doubt in 2-3-4 trees?
 
@rightfold that's also a nifty trick
@QuicoLlinaresLlorens I'm pretty sure there's a site for that :)
Never heard of 2-3-4 trees. Is that -5 trees?
 
40
/ \
20 48|60|64
/ \ / / \ \
10 22 42 50 62 65|66|67
oh the tab is lost..
 
nwp
@QuicoLlinaresLlorens format it as code by clicking the fixed font button
 
user1804599
10:30 AM
@sehe Posted
 
                   40
           /                \
        20                48|60|64
      /      \             /   /    /62
  10        22
 
@AndyProwl no, I think GCC doesn’t support that—it’s still a bug of course, but not the one I was after
 
so this is a 2-3-4 tree
 
@LucDanton got it
 
                   40
           /                \
        20                48|60|64
      /      \             /   /     \    \
  10        22        47  50   62  65|65|66
 
10:32 AM
I have a little bird in my porch which is dying
He has a broken leg and some blood on his back and is just laying down breathing
 
I don't know if inserting 63 will divide the 48|60|64 node
 
When I found him he was being eaten alive by ants, which I immediately removed
 
user1804599
@Shoe I think you mean Porsche
 
Should I kill it?
 
nwp
@QuicoLlinaresLlorens you can edit your post, you don't need to post it repeatedly until you get it right
 
10:34 AM
@nwp ups, sorry. Thanks for the info
@nwp how can I do that?
 
@Shoe Tough decision. Bring it to a veterinary for killing it, I guess, if you have time. Or healing, but that doesn't sound likely
 
nwp
@QuicoLlinaresLlorens you either push the arrow left of your post or press the up arrow
 
@nwp thanks
 
sintax. Pun of the day — sehe 6 secs ago
@Shoe I tend to let these things run their course. I admit I called the vets once when we had a seemingly sick/disoriented hedge hog in our front yard.
It died later.
 
I would try to rescue
 
10:38 AM
@AndyProwl Here they make you pay quite a lot for it
 
True
not sure what I would do
I'd probably ask in the lounge
 
€200 last time we brought a dying cat (not ours) to the vet
 
not does that hinder death to take its toll
 
or try Islam.SE
is it haram to kill a half-dead bird
is it haram to rape it before
what about after
inb4 flags banned deleted
 
Ven
i did flag that
 
user1804599
10:40 AM
it's haram to criticize any part of Islam you fucking racist
 
I once rescued a almost dead young bird
 
user1804599
🗿🗿🗿🗿🗿
 
user1804599
Easter island is super rad
 
@Shoe I admit I make arbitrary distinctions based on "animal intelligence" or "size". I.e. I would call the vet for a horse. For a dog. For duck. But not for an ant. Small common birds are just below my threshold. I might try to help it recover, but beyond that: no
@AndyProwl only if you are sure it died a virgin
 
nwp
@rightfold race is to racist as religion is to x. Should have said *x.
 
user1804599
10:46 AM
> Hacker Mercifully Seizes Control Of Katy Perry’s Twitter Instead Of NORAD Launch Systems
 
user1804599
> But the tweets also come as a relief to the rest of the world’s population, who are just grateful to see that the hacker used his obvious technical prowess to seize control of some pop star’s inane social media feed, rather than the missile launch systems at the North American Aerospace Defense Command, commonly known as NORAD, to loose an apocalyptic barrage of nuclear hellfire upon the world.
 
Didn't Katy Perry achieve the latter already
Oh that was singing
My bad. To sing and to singe can be pretty close in practice
 
user6225166
hello
 
Hi
 
user1804599
@sehe Dion Graus struggled with similar problems when thinking of laws to combat animal cruelty, because the flies crash into him as he rides his motorcycle every day
 
user6225166
10:48 AM
current topic?
 
Anyone else think HARDIK RUDANI is a likely troll name
 
user1804599
It's a trade-off between peace and pragmatism.
 
@rightfold They are flying for the good cause. Trying to kill him. One day, one of them will succeed.
 
user1804599
:'(
 
That's a pretty fly religion :|
 
user6225166
10:50 AM
@rightfold what are you talking about?
 
user6225166
i can't catch up with
 
user1804599
I want a new job but I'd have to get up even earlier because it would be farther away and also require public transport.
 
Who knows
 
nwp
@rightfold get a relocation included new job
 
user1804599
I want to relocate to San Transistor
 
user1804599
10:55 AM
But I foresee all sorts of problems.
 
user6225166
what kind of probleme?
 
@sehe I'm p sure this guy has no chance
He is on his side, eyes closed, breathing
No sign or attempt at anything
 
user1804599
Go to /b/ and ask them what to do
 
:)
 
user1804599
I should work for capgemini
 
10:57 AM
I don't have to go that far
13
Q: How to humanely kill an injured bird?

LiamLast night I was walking my dog when I came across an injured racing pigeon. I've reported it to the owner who's coming to pick it up today, providing it's survived the night..... I was thinking maybe I should of just put it out of its misery though, a cat has obviously mauled it badly. What's...

 
user1804599
They said that if you can do make-up then you can do web design
 
user1804599
Since I'm bad at make-up I am assured of not having to do any front-end web dev
 
user1804599
@Shoe how do you know death ends the pain?
 
eh
 
user1804599
It's not known what happens after death
 
10:59 AM
Sorry.
> humanely
> kill
it doesn't mesh in my head
 
user1804599
It might as well be that its soul continues to live on feeling pain
 
I think I'd call it humane to not interfere. Animane if you insist
 
@rightfold That would not be efficient for the universe to sustain a soul with the only purpose of feeling pain
 
user1804599
Or maybe I should learn SAP and go work as a SAP consultant earning millions
 
11:17 AM
int getCard(int &host, &guest) //function receives the address and manipulates it
{.....}
int main()
{ int *x=0; int *y=0;
 getCard(x,y);   //this line passes the address to getCard()
 cout<<*x<<","<<*y;
 }
this ^ is my code but i am getting error
 
user1804599
@DeNiSkA Remove all asterisks from the code.
 
terrible, terrible code
 
user1804599
References and pointers are different things.
 
you should be ashamed
 
@rightfold but they both carry addresses, right?
 
user1804599
11:19 AM
Yes, but they aren't interchangeable.
 
where can i paste my code, is there any website?
 
nwp
88
Q: Is Google using ReCaptcha as a free source of human-intelligent labour?

MindwinHaving worked at the Amazon Mechanical Turk for a long time, I find that some ReCaptcha questions are very similar to the 1c tasks there. Identify this, identify that. A search shows that several web authors share the same suspicion. Most of them are high in the tinfoil scale, so they are not th...

it is not paranoia when it's real
 
@rightfold see this please
 
user1804599
Turn the first int into void and remove the return statement
 
11:26 AM
@Shoe What if pain is a source of energy for the part of universe we don't know?
 
but nothing is printing on console :''''(
 
@nwp neat, i didn tknow about this
 
user1804599
That's because you are calling exit
 
user1804599
exit stops the execution of the program
 
exit just exits the loop, right?
why is it having effect on entire program?
 
user1804599
11:30 AM
No
 
user1804599
It does what I said
 
user1804599
To exit the loop you must use break;.
 
oh is see O.O
it worked now, thanks once again @rightfold
 
nwp
@rightfold are you in an existential crisis?
 
user1804599
No.
 
user1804599
11:35 AM
I'm in a universal crisis.
 
@Morwenn pain is a source of energy found in my breakfast
 
nwp
this comic characterizes the lounge fairly well
6
 
Yes.
 
user6225166
whate are you talking about seriously. i dont get
 
Shit, this bird thing is killing me
I don't have the guts to kill it
I also can't see him take painful heavy breaths all day long
 
nwp
11:49 AM
@Shoe it's kill or be killed. Let instinct take over or forever perish.
 
Why doesn't a fucking wild-life vet thingy exists
Maybe charity based
I would donate the shit out of that
 
s/of/to/? :P
 
Ye
 
user1804599
Junctions are super rad
 
Ven
12:05 PM
they are
 
"s/of/to/? :P"?
 
nwp
@Explorer_N that is the super intuitive vim syntax that obviously means "replace of with to"
 
Nice too nice..
 
user6225166
what's vim?
 
12:15 PM
@GNACBetombo Some weird editor thing.
 
nwp
 
@nwp Nice one
 
Ok, I called a bunch of associations about birds and the rangers and they said there's nothing I could do
If ants were eating him alive he is p much dead no matter what
 
@Shoe Dig a hole, throw it in, cover it back with the dirt.
 
user1804599
12:23 PM
> I want to be able to write programs with only symbols consisting of only straight lines. Now in some languages that might be difficult, but I am an expert Perl programmer.
 
@wilx Eaten alive sounds better than buried alive
 
@orlp Unauthorized.
@Shoe Does it?
 
@wilx fuck reddit hosted images
 
nwp
I'm out of talks to watch... when is the next interesting conference?
 
@Shoe meh
suffocation sux, but being eaten alive lasts a hell of a lot longer
 
12:24 PM
Internet gave me a couple of options for the least suffering ways to kill a bird. One is hypothermia (by putting it in a freezer), and 2 is put it in a bag and throw it against a wall
 
step 1, grap big stick or brick or hammer
 
@Shoe Well, I would prefer the hole and cover...
 
Shoe--were you really meant "shoe"(foot wear) as you name? you got any story behind that?
 
step 2, place bird on flat surface
step 3, in one blow crush the bird head
this is assuming a small bird
 
it is
 
12:26 PM
then just crush its head in one quick blow
 
got story?
 
should instantly kill it and all nerves
 
Ven
cat bird | grep -v bones
 
yes, it doesn't look pretty, but it's the most humane
 
@Shoe: Call a knacker? (lol, do not judge! I found the word in a dictionary!)
 
Ven
12:26 PM
@Explorer_N don't be rude to jefery
 
ain't rude i just wanna get rationale behind the name
 
my avatar is a shoe so I called myself shoe
the drawing of the shoe comes from a pic they took of me falling down while drunk at a party
or something
 
why else a guy name himself as a shoe,can't see straight..anyway its ok.
 
@Shoe Wow, I want to see the whole picture!
 
It was posted on discord few days ago
 
12:29 PM
@Shoe I'm afraid we're going to need to see that picture for verification
 
@Shoe This is not Discord.
 
 
On a different note, Archer (animated TV series) is pretty interesting. I love how lewd it is. :)
 
oh jesus!!!!!!!!
 
@Shoe Oh, I thought the drawn shoe was part of a bigger picture itself.
 
Ven
12:31 PM
rofl
 
I just updated it with the shoes I buy now as opposed to those that I used in 2006 (I believe)
@wilx Strangely enough there's no italian translation for that :(
I guess I can ask my grandad to take care of it
Maybe I should learn to do it
 
@Shoe You should.
I would just bury it.
 
But what if I cause him more pain because I'm not successful the first time
 
@Shoe Shit happens.
 
@Shoe you have hairy legs
 
12:35 PM
I do
 
We do a carp for Christmas dinner.
 
I do too
 
AFAIK most men though
At least here
 
although my hair starts a bit higher
 
The two times I had to kill it for my family, it moved after I hit it on its head and I had to hit again. Then I had to knife its neck, etc.
 
12:36 PM
That sounds awful
 
@Shoe be successful the first time
 
Once, after hitting it, it took me too much time to knife it and it tried to "swim" away from me on the counter.
 
definitely don't do any of the throwing bag and hypothermia stuff
 
Blood everywhere.
 
jesus christ
 
12:37 PM
if anything, put it in a bag to contain juices when you crush it
 
When buried, it will suffocate fast.
 
and definitely don't do that
 
that?
 
burying it alive
just don't half ass it
 
Whack it with a shovel first then or something.
 
12:38 PM
13
Q: How to humanely kill an injured bird?

LiamLast night I was walking my dog when I came across an injured racing pigeon. I've reported it to the owner who's coming to pick it up today, providing it's survived the night..... I was thinking maybe I should of just put it out of its misery though, a cat has obviously mauled it badly. What's...

strike once and hard
 
Ell
@wilx the kind you keep in the bathtub?
 
@Ell Yes.
 
 
@Feeds Meh.
 
anyway I'm watching hold the door
 
12:40 PM
Once, of the two (or three) times, I unintentionally poisoned (I think) one of the carps.
I clean up the bathtub like evening before we bought it.
In two days, it started to exhibit white secretions all over its skin and died.
I had to go and buy another one before kids notice. :)
@orlp \o/
I am going to Hell, heh.
 
nwp
@wilx My theory is that we all go to a place full of singing and dancing. For some it will be heaven, for some hell, but it will definitely be fair.
 
user1804599
I want to stop with software development but it is the only thing I am good at.
 
nwp
sounds like fun
@rightfold do you know what else you want to do?
 
user1804599
@nwp no
 
nwp
12:48 PM
@wilx pacific rim?
 
@nwp No idea, probably.
 
nwp
that is a pretty fail attempt at making a gif
 
user1804599
Pacific rim is when you lick a nautic butt
 
@rightfold Why? You just want to keep it as a hobby? You want to have nothing to do with it? What happened?
 
user1804599
It's boring.
 
user1804599
12:54 PM
I have already tried everything.
 
Except completing a project?
 
user1804599
That isn't interesting.
 
user1804599
I want to rent a house and get a new job.
 
@Shoe Bam! :D
 
nwp
@rightfold Make a twitch stream. Speak at a conference. Make a language that doesn't suck. Find people to work together with on a project. Join a startup. Find the one thing that always bothered you and fix it.
 
user1804599
12:59 PM
Those don't earn me money.
 
nwp
separation of concerns. Making money and doing fun/useful things are different tasks.
 
Ell
@wilx that sounds awful
Why don't you buy the carp dead?
 
user1804599
@nwp I need to make money regardless
 
user1804599
otherwise I die from starvation
 
nwp
@rightfold code for food, have fun in your spare time
 
1:06 PM
@Ell Because of the kids.
 
user1804599
no
 
user1804599
there is more work time than spare time on work days
 
user1804599
I should become a golddigger
 
that will earn you less money than being a twitch streamer
 
user1804599
I have the social skills of a brick
 
user1804599
1:12 PM
OTOH I'm a girl so I'd get a billion viewers anyway
 
guys i gotta tell you this, where you guys getting job update for C++ when you put it in any job portal.............i didn't get much just three to four, even i updated a month before
 
why would you voluntarily work with c++?
talk about bad life choices
 
I've never done C++ for a living.
 
> >MonadBartek: can't wait until we start installing vagrant in vagrant containers running in docker on the VPS
 
Not for a dying FWIW.
 
Ven
1:17 PM
@Morwenn hi <3
 
Huuuuhhhhhhhh.... was i in a wrong path then folks?
 
@Ven Hi, by I'm only passing by :p
 
well C++ is what i currently got as a tool
 
C++ is not a tool; it's a martial art.
 
Ven
I do C++ for a living
it's just fine
 
1:19 PM
Oh G thanks..but i heard its not an art its an Engineering.........its an what ...........Engineering
 
Wha..
 
you shouldn't call as an art....
 
nwp
I haven't quite figured out why most loungers hate C++. It is either cool or everyone grows to hate C++ eventually. I hope it is not the latter.
 
C++ is such a tool
 
@ven, how things are going for you ..its bad when in case of job for me
 
1:21 PM
Like rigidfold, but more
 
Ven
@Explorer_N I'm fine with that job
 
@nwp nice. Of course missing the realism that passwords don't get hacked unless in mass for selling by the millions. No one will probably notice it (aside from it being far too long for brute force discovery)
@Ven me too. I specifically looked for a c++ job.
 
Ven
I didn't
 
That's after 15 years of "general consultancy" (which rarely included c++) - I didn't regret it ever
 
user1804599
COPY statements are super rad for populating the database with dummy data.
 
user1804599
1:33 PM
One row per line with tab-separated fields.
 
user1804599
And backslash escapes.
 
what database, friend
 
user1804599
PostgreSQL duh
 
user1804599
cool it can even execute programs
 
I want to implement a QuickMergeSort with median of medians pivot selection and see how it performs.
 
1:35 PM
A general way of checking for errors is to call GetLastError(). — Ian 46 mins ago
Sure. Nobody mentioned windows, even
 
user1804599
COPY customers (id, name) FROM 'legacy-file.csv' FORMAT csv;
COPY customers (id, name) FROM STDIN FORMAT csv;
1,Henk
2,David
\.
COPY customers (id, name) FROM PROGRAM '/usr/bin/cobol-program';
 
Ven
COBOL ftw.
: ^)
 
user1804599
COBOL and SQL have the coolest syntax
 
Ven
@rightfold you should write a tool that converts COBOL structure declarations to SQL!
 
fun fact: it takes 22 pounds of pressure to pop a testicle
 
1:37 PM
OH: "If Andrei is a PhD, shouldn't Scott be a PhC++?" #loungecpp #cpp
Somebody just took the trouble to like that old tweet
 
@orlp why would you post something like that
 
Ven
:P
 
Ven
@rightfold COBOL is so great!
 
@Shoe do you want to know how much psi for a bird head?
 
1:38 PM
@rightfold Cool. Everybody loves security holes! It's almost like perl open
 
Ven
@orlp how much is 22 pounds in non-retarded units?
@sehe perl open got better.
 
@Ven I dno I just copied from reddit without thinking
don't we all?
 
@orlp dat unit. Go wash your mouth with soap
 
user1804599
@sehe You have to be a PostgreSQL superuser.
 
Ven
@orlp i don't browse reddit
 
1:39 PM
@Ven Requires Raduko, I suppose?
 
Ven
@sehe no, Perl 5.20 added safe open, << >>
 
user1804599
Also, Perl open doesn't require the big PROGRAM keyword to be there
 
user1804599
which does not come from user input
 
Ven
I'm not all about Perl 6
 
@rightfold I don't. But I get what you mean. Of course all db vendors have this :)
 
Ven
1:39 PM
I know a few other languages
 
I recently "optimized" our initial database load script in this way to run in seconds instead of hours.
Yes - that's mysql
 
user1804599
I use this for a script that inserts dummy data for development
 
user1804599
Much easier to type than insert statements.
 
@Ven So you have to know to use the obscure new thing that's in <1% of online samples :)
 
Ven
@sehe Yep, that's called backwards compatibility :P.
As a C++-er, you should know better than to blame this kind of behavior.
 
1:42 PM
I don't blame anything. Just observation
 
user1804599
@sehe OTOH the dangerous behavior is also obscure
 
Ven
LOL that flag
 
on what
 
@rightfold tell that to any security researcher. Name ONE Adobe Flash CVE that isn't obscure
 
1:47 PM
motion to require a link to a flagged message when laughing at the flag
 
user1804599
I want to write a compiler in SQL and PL/pgSQL one day.
 
@Griwes I'm pretty sure that will have negative effect.
 
Ven
@Griwes it got deleted insta
 
user1804599
Type checker for the simply typed lambda calculus in SQL.
 
Motion to keep quiet about flags or paraphrase enough for context
 
1:48 PM
in Leaf Village Ninjas, 3 hours ago, by Caprica Six
@ItachiUchiha "You're a piece of shit."
 
user1804599
How would you store lambda terms in an RDBMS?
 
Ven
@sehe sorry, will do next time
 
What if MySpace released its own data to try to get people to log back into MySpace and become relevant again??? @troyhunt
 
Ven
LOL
 
Ven
1:56 PM
@rightfold cute XOR
is <> actually a chaining operator?
 
deconstructed coffee is now a thing http://www.news.com.au/lifestyle/food/drink/melburnians-are-not-happy-with-the-latest-hipster-trend/news-story/e728d84299576174af3cc9085800b0d3
Cool
 

« first day (2055 days earlier)      last day (2895 days later) »