« first day (682 days earlier)      last day (4267 days later) » 

2:00 PM
@thecoshman trying to avoid having to put align="center" on a td
everything else works fine, but everything else is text
 
what are you trying to align?
 
Ah, Kees van der Staaij heeft de aftrap gegeven voor de verkiezingen van 1632
 
sbi
@sehe We have that, too (In Bavaria), and they often defend what here is considered outrageous positions — but nothing as bizarre as that.
 
@thecoshman <span class="ui-icon ui-icon-check"></span>
 
@Neil and I wouldn't put the align="center directly on the td cell, it should be down via a class
 
sbi
2:02 PM
@sehe "verkiezingen"?
 
LMFAO: ^^ "Ah, Kees van der Staaij has just launched campaigns for the the 1632 elections!"
 
Amounts to an icon basically, but I can add styles to the span if that'll align it
 
afk
 
@Neil why not a div? and use the left and right padding? I think
 
@sehe Haha
 
sbi
2:02 PM
@sehe Ah. Funny!
 
@thecoshman Align isn't a valid css style for td
@thecoshman Let me give that a try then
 
@Neil Indeed, I would have a class on the td, along the lines of 'centreTheContent', then you can do td.centreTheContent > { magik }
 
@thecoshman Ah I've got it
It's simpler than that
position: relative; left: 50%;
on the span
I would have hated to add in padding or something
or center it using a table
This is ideal
 
@Neil sounds a bit risky to me :S
 
@thecoshman How so?
 
2:12 PM
I thought usually you just set the left and right margins to auto?
 
@Collin That works too, actually
 
@sehe He worded it enough differently that as stated it's not nearly so insane. He only said that the chances of pregnancy following a rape are low (at least as I read the translation). In round numbers, women are fertile from roughly ages 15-45, and during that time for about 4 days out of 30. Chance of pregnancy any given time is about 1 in 5. Multiplying those together we get 30/80 * 4/30 * 1/5 = ~1% chance of pregnancy from a single completely random sex act (regardless of consent).
 
So, .5% (well, less than that) if you pick a human at random? You compute weird figures...
2
 
Hey guys, why are all Computer Science lectures online use Java?
 
@LucDanton even lower if you take into account the percentage of infertile men & women...
 
2:24 PM
Not to mention you assumed equipartition across ages.
 
@Nils Still around?
 
@JerryCoffin Regardless, chances of pregnancy from rape are higher than from consensual sex
 
@MohamedAhmedNabil not all. Java is popular.
 
@BartekBanachewicz i didnt find any with C++
 
@MohamedAhmedNabil because <10% would understand if it was C++...
 
2:26 PM
@LuchianGrigore :)
 
@MohamedAhmedNabil Perhaps you are one such person
Hence, you've seen C++, but not able to recognize that it is C++
 
@Neil XD I think simply saying that this class is not in C++ is enough
 
@MohamedAhmedNabil Ah, but would the people who wrote the code know it was C++? :P
 
I just used a LSD molecule as a background for a slide in the presentation I'm working on.
(We use our own stylesheet format, and those files have a .lsd extension).
 
2:34 PM
@EtiennedeMartel Which kind of company has a need for an in-house slide stylesheet format ?
 
@kbok It's not for slides.
We got a GUI screen designer tool for our games.
 
@EtiennedeMartel Oh, that makes more sense :)
 
Is there any efficient way to pop all elements (in a std::priority_queue) which are smaller than some X integer? I know that priority_queue is implemented using heap, and (guessing) heap will need O(n log n) time to do this.
 
For a moment I was afraid your job was just to make a hell of a lot of slides.
 
@Neil absolute positioning, I am sure it will come to bit your in the butt
 
2:36 PM
@kbok Etienne the Slide Master.
In fact, I actually suck with PowerPoint.
 
@EtiennedeMartel It's OK, I guess :)
 
Xeo
@VinayakGarg while(!q.empty() && q.top() < x) q.pop();
 
BTW it is a min priority queue
 
Xeo
> Priority queue is a container that allows for constant time maximum (or minimum, depending on Compare) extraction at the expense of logarithmic insertion.
 
@kbok No, this is not acceptable, and that practice has never been.
 
2:38 PM
@Xeo I would probably add a !q.empty() to that.
 
@thecoshman Already altered to margin-left: auto; margin-right: auto;
 
Xeo
@EtiennedeMartel thanks
 
^ This tweet looks really menacing with that guy pointing a gun at me.
 
@Xeo That's why it will take O(n log n) time :(
 
@kbok Isn't that from Pulp Fiction?
 
Xeo
2:39 PM
@VinayakGarg huh? Constant time extraction, and you don't insert anything, so O(n) if I got that right.
 
@EtiennedeMartel It's very probable.
 
Xeo
where n is the number of items that's less than x
 
@Xeo If i figure it out correctly, for n pop's it will take n * (time for min heapifying = log n)
 
Xeo
hm, wait nvm
With "extraction" they meant the .top() call :s
 
@kbok I won’t be intimidated. The guy is wrong.
 
Xeo
2:42 PM
You could just manually manage a heap with std::vector
 
@Neil yeah, that looks familiar. HTML/CSS/JS stuff is a pain at times
 
(and an idiot to boot)
 
@Xeo Yeah, but then I would do it similarly
 
@thecoshman Yeah, you're probably right
 
@KonradRudolph Really?
 
2:43 PM
@EtiennedeMartel what, really?
 
Xeo
@VinayakGarg You wouldn't have to make it a heap, you could just std::sort it before extracting stuff
 
@KonradRudolph I think he's half right, the code is actually terrible; But he's generalizing the case which makes him plain wrong.
 
Xeo
and then you could do std::find(v.begin(), v.end(), [&](int v){ return v >= x; })
 
@Xeo But I am using the priority_queue in the first place, because I need heap property :)
 
What @kbok said.
 
Xeo
2:45 PM
@VinayakGarg What about a tree?
 
@Xeo But let me think, if this can serve my purpose better
 
And this is why I hate trying to introduce C++11. Every time my boss tries to use the intel compiler, it gets angry and "I stop his work dead" and he can't continue.
 
@kbok I don’t know Scala but I think for somebody who does the code is totally fine. Why wouldn’t you call a general-purpose function f, for instance?
 
@Xeo I had reached to heap, after considering tree, but let me rethink this
 
C++11 support is obnoxious.
 
Xeo
@VinayakGarg Fuck Windows, and suddenly C++11 support is awesome :P
 
@KonradRudolph Because fun is funner!
 
@JerryCoffin I’ve just recently read the opposite (admittedly, a tentative study result)
 
I use very few features of C++11, and i know Windows is bad ;)
 
> Our analysis suggests that per-incident rape-pregnancy rates exceed per-incident consensual pregnancy rates by a sizable margin, even before adjusting for the use of relevant forms of birth control.
 
2:48 PM
I like to approach the 140-char limit to the max. Sometimes I even add punctuation or change some words to attain just the right amount of chars :)
 
Xeo
@R.MartinhoFernandes, since you fiddle with bitbucket all the time, how can I get my local hg repo up on bitbucket?
 
@Xeo Hey, does std::mutimap allow deleting all below X? I know it can support other heap like features with same complexity!
 
Xeo
@VinayakGarg I think you'd have to do that manually, with std::lower_bound
 
@Xeo Sign up, push to the address they give you
 
@Xeo That means O(n)?
 
Xeo
2:51 PM
something like m.erase(m.begin(), std::lower_bound(m.begin(), m.end(), x))
hm... not really
 
@Xeo Doesn't that require random access?
 
Dumbass politicians.
 
Xeo
log n for finding the upper limit, and then erasing every element
 
Does that mean O(n + log n)?
 
Xeo
@R.MartinhoFernandes binary-search, and only requires forward iterators it seems
@VinayakGarg more like O(log n + m), since m != n most likely
 
2:53 PM
@VinayakGarg O(erased + log total)
@Xeo Then the multimap's find member is probably faster.
 
Xeo
@R.MartinhoFernandes find and lower_bound serve different purposes here, don't they?
find looks for x, while lower_bound will return the first element that's larger or equal to x
 
@R.MartinhoFernandes, @Xeo : Thanks! that's certainly, better than O(n log n), and I don't expect anything below linear.
 
@Xeo Oh, right. There's a lower_bound member then.
 
I hate that I have to use an application where I am greeted with a dialog that (literally!) says “Hello How are you Gentlepeople Welcome to Java Treeview“ – punctuation FTW!
 
Xeo
Oh, right
I wonder if there's any difference between them
 
2:56 PM
@KonradRudolph Seems to me pretty weak evidence to support stating it as a fact. If it was (even close to) the only solid study available, that might be excusable, but it's really quite a ways from it.
 
@JerryCoffin Actually, they find a very significant correlation, do they not?
 
@Xeo The member knows the structure, and unless there's specific lower_bound code for multimaps in the general algorithm, it will be faster (i.e., no tricks to offset the random access need: it already has "random access" to the middle of a partition)
It may be the same (you could overload for multimap iterators and delegate to the member), but the member will not be slower.
 
Xeo
derp, the member obviously only needs the key, while the free function would need a std::pair<const K, V> and extract the key from that for comparision
 
sbi
@JerryCoffin See here for a comprehensive list of arguments.
 
@KonradRudolph Who do? I didn't pay the $40 for that article, but looking through half a dozen others, nobody else seems to agree.
 
2:59 PM
@JerryCoffin Have you got links for those? I referred to the study I linked above
 
@sbi Sorry, but no. As long as Skillz (or whatever monicker that asshole goes by) as a moderator there, I will have nothing to do with skeptics.
 
Xeo
> Logarithmic in the distance between first and last [std::lower_bound]
> Logarithmic in the size of the container. [multimap::lower_bound]
 
sbi
@JerryCoffin I have nothing to do with that site, except that I posted a few comments to that answer. Whoever is mod shouldn't stop you from reading a good answer there.
 
Xeo
@R.MartinhoFernandes ^^
 
sbi
Also:
@JeppeStigNielsen: One thing increasing likelihood might be that recent research hints at women being more attractive during their fertile days, which might increase the likelihood of getting raped. — sbi Aug 25 at 10:49
 
Xeo
3:01 PM
So I really can't see how the free function might be slower
 
@sbi Sorry, but as I said no -- I'll have nothing to do with that site as long as he's associated with it. Thanks for the suggestion, but I'll pass.
 
@JerryCoffin Anyway, this study actually details why other studies find weaker (or no) correlation. For instance:
> several studies report that rates of rape-pregnancy are miniscule despite the fact that virtually all women comprising the samples received a highly effective form of emergency contraception
 
Xeo
for all I know, the member could just forward to the free function
 
@Xeo The member function exists solely for the purpose of not being slower (and I'm not talking asymptotically)
 
sbi
@JerryCoffin LOL! Really, this comes across so irrational, it counters most complaints you could produce against the guy.
 
3:03 PM
Ooops.
 
@JerryCoffin Curious, what do you have against Skillz and skeptics?
 
but I admit that the data they used is sketchy and certainly doesn’t allow to draw a definitive conclusion.
 
Xeo
@R.MartinhoFernandes Sure thing
 
@sbi Maybe so. Such is life.
 
@Xeo Shouldn't that be m.erase(m.begin(), m.lower_bound(x));?
 
Xeo
3:06 PM
@Drise Sorry for the late reply, but where do I find that address again after registration?
 
@Xeo Should be on that repo's page
 
Xeo
@VinayakGarg We were just discussing the differences and yeah, it's preferrable to use the member
Since the member only needs the key anyways
 
Main thing, this means lesser typing :)
 
Xeo
@Drise But I don't yet have a bitbucket repo for my local one, or I'm misunderstanding you
 
3:09 PM
@JerryCoffin Out of interest, can I know what your issue with him is?
 
@Xeo Make a new repo on bitbucket.
The push to the repo's hg address.
 
@KonradRudolph I saw your joke, you can't take it back
 
@kbok I removed it because it was too stupid even for me. The names don’t look as similar as they seemed in my brain
 
@Xeo Then get one
 
@KonradRudolph I thought about it too, so you're not alone
 
3:11 PM
@Xeo Anyway, when you create a new repo, you end up on a page with all the instructions you need.
 
Ell
Skeptics is just bestiality questions
 
@JerryCoffin there is a silly joke about the national congress of skeptics. A: "Hi, I don't believe we have met before?" B: "And I don't believe that you don't believe we have met before."
 
Xeo
@R.MartinhoFernandes I just noticed that, thanks (/cc @Drise)
 
@Ell I see a question about whether or not there is proof that man walked on the moon.
@Ell So you should retract your statement. :-)
 
@Xeo You're welcome, of course.
 
3:12 PM
@KonradRudolph Back when I contributed semi-regularly, I had a run-in with him where he demanded that (instead of accepting anything like a skeptical position) that I simply accept his decree as moderator. He then deleted the comments questioning his rule by fiat. Then he deleted my question on meta asking what, if anything, could be done.
 
@Ell Not normally, somebody pushed/retagged all those dolphin questions. I’m seriously unhappy about that (it’s totally unnecessary)
 
Oh god, that zedshaw guy is an asshole and a idiot.
 
@JerryCoffin What an ass!
 
@kbok I'm not sure about the idiot, and I agree on the asshole.
 
Ell
And the pig orgasm one
 
3:15 PM
What.
 
@Ell Wut?
 
Ell
"how long does a pig orgasm last"
 
"Having the same topic for over a day is unacceptable!" has nearly been up for a day now.
 
1
Q: Linking is jacked up.. wtf is -rpath? MacOS X

TraxusIVSo, I'm building a project, and it uses functions from a compiled library (.dylib or .so). I have the headers and the library files (this is all part of QtRoot, btw) in appropriate locations, but when I try to build my project in Xcode, I get a debugger error: dyld: Library not loaded: @rpath/l...

This title...
 
@JerryCoffin Dude, that's almost grounds to call him out on MSO itself...
 
Ell
3:16 PM
Haha Jacked up
 
@Drise You are such a Qt person! I wish my work used it instead of GTK.
@Mysticial I would think so...
 
@Chimera That's not the current one.
 
@Chimera Happened to bump into the title when searching for solutions to my problem.
 
Maybe you should refresh.
 
@R.MartinhoFernandes oh wow... yes, it has changed. weird.... thanks :-)
 
Xeo
3:18 PM
To make a folder not be a hg repo anymore, I just need to remove the .hg subfolder, right?
 
Oh god, it took me a while to process the "pig orgasm idiot" thing.
 
i think the lounge here is a good place to discuss things that one could be skeptical about
 
@Ell You know, pigs orgasming is not bestiality because... you know... pigs can orgasm while doing it with pigs. (I don't have anything to back that claim)
 
me, i'm skeptical about just about all claims of cosmologists
i think they're dumb
what more
hm
 
3:20 PM
@Xeo And potentially other .hg* stuff (arguably)
 
I'm skeptical about the origins of the Mormon faith.
 
Xeo
@KonradRudolph Yeah, I wanted to keep the .hgignore though
 
Yeah, so "some guy" finds a new book... yeah
 
@Chimera huh, why? do you think the gold bible was fake?
 
3:20 PM
@Mysticial Probably, but enough other people (apparently) disagree about him that he was later elected as a moderator -- which made it pretty clear to me that it was a community of which I wanted no part.
 
@Cheersandhth.-Alf I'm skeptical of Joseph Smith.
I wonder if anybody asked a "birther" question on skeptics
I will have a look-see
 
@JerryCoffin Simple: they probably haven’t see him behave in this manner. I certainly wouldn’t have voted for him if I had remembered such behaviour
 
it is perhaps sound to be skeptical about people who wear Holy Underwear
 
I'm skeptical about the productivity boost brought by PHP.
 
@Chimera ’Course they did ;)
 
3:22 PM
@KonradRudolph I'm skeptical about you claim without a link. :-)
 
Ell
Php is pretty rapid
 
@Chimera What's a "birther" question?
 
@kbok Off topic. Nobody seriously claims that.
 
A temple garment (also referred to as garments, or Mormon underwear) The undergarments are viewed as a symbolic reminder of the covenants made in temple ceremonies and are seen as either a symbolic or literal source of protection from the evils of the world. The garment is given as part of the washing and anointing portion of the endowment. Today, the temple garment is worn primarily by members of LDS Church and by members of some Mormon fundamentalist churches. Adherents consider them to be sacred and not suitable for public display. Anti-Mormon activists have occasionally publicly dis...
 
@kbok what a coincidence... if you could see the flag queue right now...
2
 
3:22 PM
@Cheersandhth.-Alf Definitely. Whatever that is.
 
Xeo
@Mysticial LOL
 
@Chimera I don’t care enough to bother … it’s easy to find l)
 
@R.MartinhoFernandes In the U.S. a "birther" is somebody who doesn't believe Barrack Obama was born in the US and is therefore ineligible to be president.
Something like that anyways
 
I thought the covenants were the bad guys in HALO.
 
@Chimera Oh. lol
 
3:25 PM
@Cheersandhth.-Alf What a bunch of horse shit
 
@Drise Sir, that is not horse shit.
Feces, faeces, or fæces (see spelling differences), also known as excrement, is a waste product from an animal's digestive tract expelled through the anus or cloaca during a process called defecation. Etymology The word faeces is the plural of the Latin word fæx meaning "dregs". There is no singular form in the English language, making it a plurale tantum. There are many colloquial terms for feces, of which some are considered profanity (such as shit and crap) while others (such as poo, poop, number two, deuce, doodoo, dookie and doody) are not. Terms such as dung, scat, spoor and d...
 
@R.MartinhoFernandes I see. Thank you for correcting me.
 
@Drise What an insult to perfectly innocent horse shit.
 
@Drise Not more so than other public displays of faith, really
 
@KonradRudolph True. I'm all for freedom of speech and all, but seriously, lets grow up.
 
3:27 PM
There is nothing wrong with public displays of faith.
 
@Drise <<President Joseph F. Smith taught that the garment was to be held as "the most sacred of all things in the world, next to their own virtue, next to their own purity of life.">> - Wikipedia
 
Unless the display infringes on others rights.
 
That's a bunch of horse shit.
What about other's rights to not see that?
 
I sure hope we don't have people of the Mormom faith here, if so they might be offended.
 
Most of us are atheists about most gods; some of us just go one god further.
 
3:28 PM
Not infringing on other's right only works if you limit other's rights.
 
@R.MartinhoFernandes In the U.S. we have the freedom of religion, not the freedom from it.
In other words, I do have the right to go outside on a street corner and pray in public.
Whether I would or not is a different story.
 
@Chimera Depends on where you live. Some places are pretty anti-religious...
 
@Chimera Yea, and a small child you punt you in the nuts if you did so.
 
@Mysticial Most places seem to be these days.
 
@Mysticial Unfortunately, I live in the wrong state to have the views I do.
 
3:30 PM
@Drise You live in a bible belt state yes?
 
@Chimera Much correct.
 
@Chimera Exactly my point: you have to be selective on freedoms to have "not infringing on other's rights" work.
 
@R.MartinhoFernandes Taken to the extreme, we would have no rights because every freedom that could be practiced, somebody would claim it abridges there freedom.
 
Yes, it is.
 
3:35 PM
@KonradRudolph Yup. We would have massive overpopuplation otherwise :)
 
@Chimera That doesn't really fall under freedom of religion, but freedom of speech (though most freedom of religion also falls under free speech -- the US constitution prohibits establishing a state religion, but doesn't say much else specific to protecting religion separate from protecting free speech).
 
The Human Rights thing does.
 
I wish for freedom from speech, sometimes
 
@sehe What do you mean? We are.
 
3:36 PM
@KonradRudolph Obviously, waaaaaaay more than that
 
Not "massively". Not yet.
 
@Drise thanks
 
@Chimera Glad I could help :D
 
And I doubt what I think of as massive overpopulation is even possible (it's a problem that kind of solves itself on its own)
 
@Drise I normally don't make that mistake. It's easy to do in chat.
 
3:38 PM
Some countries have overmassive population.
 
China is getting there, if not already.
 
20 million is enough.
 
Enough for what, exactly?
 
@R.MartinhoFernandes Canada.
 
@R.MartinhoFernandes Dude. The US would try to make sure each person could survive and had a good quality of life. Overpopulation is possible.
 
Ell
3:39 PM
The earth is overpopulated
we have no room for more food
 
As long as I can eat bacon, I don’t care how many people there are.
As long as there are enough pigs it’s good.
 
daknok is really getting into the troll role these days
 
I mean it.
Seriously.
 
@Ell We do, we could stop the insanity of turning corn into fuel.
 
me too
 
3:41 PM
"If you give 50 cents a day... this child could each rice for a month..."
 
@Drise what. that is a nonsensical comparison
 
@Drise If you have enough resources for everyone, it's certainly not overpopulation. And massive overpopulation needs to be overpopulation on a massive scale. Guess what happens when massive amounts of people don't eat.
 
If you give 1 dollar each day the rest of your life, this guy could become a milionair :)
 
@Drise I have a friend who is a minister of a church that supports some Indian people, and you'd be surprised how far 50 cents can go.
 
@Drise I rather spend it on bacon.
 
3:43 PM
Java 7 exploit for windows? I thought the whole purpose of the Java "sandbox" was to prevent that sort of stuff?
 
Java is an exploit.
 
@Chimera It prevents some exploits on clients. It can't prevent exploits on itself.
 
@Chimera Anyone been able to find what the exploit was? Anything interesting or just the same old?
 
@ecatmur Apparently @sbi is spreading the worm by linking to ASCII porn.
2
 
@R.MartinhoFernandes Spoken to Goedel, lately?
 
3:47 PM
@sehe I have GEB on my bed table, below a few more books.
 
@Ell We have lots of room for more food. Greenhouses (for one example) could often produce 5x the food on the same land area. This isn't happening because there's not currently enough demand to support it. Most starvation is currently caused by government policies that (for example) artificially depress prices. They're intended to keep food affordable, but often make farming unprofitable instead.
 
@R.MartinhoFernandes Metamagical themes, I am a strange loop, The man who mistook his wife for a hatter, Alice in wonderland?
 
Ell
Do we need to subsidise more farms?
 
@sehe Yes.
"I am a strange loop", btw.
 
@R.MartinhoFernandes I am a strange hurry :) Cooking as well
 
3:50 PM
With all my heart and all my mind I know one thing is true:
I have just one life and just one love and, my love, that love is you.
And if it wasn't for you, baby,
I really think that I would
have somebody else.
Thanks XKCD. You really had to do a comic on love.
 
It's not a first.
 
I know
 
@Drise Well, that’s Tim Minchin, not Randall (XKCD), thank him …
 
@Ell Who we? Different countries have different policies, which lead to different problems. For one example, the USDA has some about price supports in the US, and at least some mention of other places as well (though, as you'd expect, a lot less detail about the latter).
 
@KonradRudolph XKCD featured the lyrics in today's "What if"
 
3:52 PM
@Drise Sure, but still.
 
Ell
Well does the first world need to subsidise the third world
 
Nah, just shoot them all and use them for fertiliser.
 
@Ell Of course! How else do you think (certian) churches make massive profits?
 
By giving money to the third world? Doesn't look like a sound business plan. But I suck at business.
 
^ Oops -- looking at it, what I linked isn't really from the USDA. My apologies.
 
3:54 PM
@Drise And you had to quote it. Maximum exposure
 
@R.MartinhoFernandes That's what they tell you they do with it.
 
@Drise Actually I almost sent a YouTube link to the song to my ex, with whom I still occasionally chat to exchange music and who still has a crush on me. Luckily my brain started working again just in time before I hit the “send” button. Might not have been well received.
 
@KonradRudolph Oh right. I don't think you are aware of current circumstances.
Aug 14 at 21:18, by Drise
Oh fuck fuck.
 
Mmm. I hardly imagine he missed the news
 
@Drise Oh lol. Damn. Yes. Ouch.
 
Ell
3:59 PM
This room is full of tragedies :/ shows the burden of intelligence
 

« first day (682 days earlier)      last day (4267 days later) »