« first day (823 days earlier)      last day (4116 days later) » 

12:00 AM
man
 
@Crowz javascript:setInterval( 5000, "window.reload()" );
 
it must be really unfortunate to be the guys who work with proton-enhanced nuclear induction spectroscopy
3
apparently, they actually acronymed it to "PENIS".
imagine trying to search for it on Wikipedia or Google
 
> "PENIS" redirects here. For the spectroscopy acronym, see Proton-enhanced nuclear induction spectroscopy.
 
@DeadMG This is what we in the industry refer to as a backronym. We are very proud of it.
 
Gaming Ordinators National Association of Developing Systems
 
12:03 AM
> In the PENIS technique
a pity the article on that spectroscopy technique isn't more detailed
else I'm sure that there could be many, many more choice things when quoted out of context
 
> Due to the suggestive nature of its acronym, the proposed name for this pulse sequence was never widely accepted. This method is now more commonly known as cross-polarization and is an integral part of most solid-state NMR experiments involving spin-1/2 nuclei.[citation needed]
lol
 
@DeadMG The only way to make sure it is from a reputable source is to find they use Comic Sans.
 
heh
 
> I've had enough with all this sh*t. You talk about it, but nothing happens. I am making the acronym edit. — Preceding unsigned comment added by ObiwanLostToBarney (talk • contribs) 23:59, 5 January 2012 (UTC)
that guy is pissed
 
@Crowz That is old.
 
12:07 AM
Yeah for the sake of nostalgia
Remember when flash was popular?
 
There is so much potential in a username. ObiwanLostToBarney has at least given it some thought.
 
@Crowz Newgrounds and shit.
 
@DeadMG Were you randomly googling penis?
 
no
I wikipedia'd some of those conditions
 
@Crowz Dude in '93 I can have this gif as a background image.
 
12:10 AM
and, I dunno, when there's a wikipedia link to "Penis", you just have to click it
morbid curiosity, I guess
 
lol
 
@DeadMG I would do it, but I'm at work, so I can't take any risk.
 
Wikipedia is SFW! I think.
 
should be
 
12:11 AM
yeah penis wiki article isn't for the human phallic object.
 
@Rapptz no there are boobs on wikipedia.
Don't ask how I know
 
@Rapptz dream on
 
I can browse penises at work because I work at a hospital.
 
although if you click "Human penis" at the top, they do indeed have pictures.
2
 
But I wouldn't.
 
12:12 AM
Is there parental supervision software for ubuntu/gnu?
 
I remember reading that there was some debate about anatomical correctness vs SFW-ness
but, I mean, how embarrassing would it be to have that guy whose penis billions of people are going to be looking at?
 
@DeadMG get a dead guy
 
embarrassing?
 
@MooingDuck He looks quite alive to me.
 
12:13 AM
@MooingDuck cadavers are people too!
 
@Rapptz just more delicious
 
@Rapptz Well, you'd be waving your dick at the world.
 
There is a german medical student when I used to actively edit wikipedia whose diagrams of naked males is composed of himself only.
So most of the pictures are usually from people who volunteer to do it.
 
I know they'd have to be volunteers
 
@MooingDuck "The functional breast nourishing an infant girl." - I love those descriptions from wikipedia.
 
12:15 AM
it just still seems insane to me
 
Man my search history is full of penis.
7
 
but then, I'm that guy who won't go out without a heavy coat on, because I hate other people seeing how tight my t-shirts are
 
Those advertisers are definitely going to think I'm a weirdo.
Do you wear a shirt when you're in water?
 
@Rapptz I have more than that full of penis ;)
 
no
but then, I never swim in any public water anymore
 
12:16 AM
Some people do that here, I actually never understood it.
 
oh
I did do some times in the past
it's to protect from sunburn
I had very fair hair when I was younger
irritatingly, much darker now
 
It's usually the people who are a bit on the heavy side.
 
I'll need to see if I can dye it back
 
Should the room title be changed to 'for penis related discussion'?
 
ACCESS IS SO INFURIATING
 
12:17 AM
room topic changed to Lounge<C++>: Only for penis discussion [c++] [c++11] [c++-faq] [get-out] [no-questions]
 
I have put original music on the web free for all, only to notice that it is used at a download site as a virus(exe) payload.
 
WHO THE FUCK INVENTED THIS SHIT
 
@Rapptz I wasn't as heavy then.
 
How much do you weigh? If you don't mind me asking.
 
@Rapptz I'm at an even 100.
 
12:18 AM
I do, but it's considerably more than I should
 
@CaptainGiraffe kilograms right?
 
@CaptainGiraffe units
 
@Rapptz =) yes. At 2.03.
 
I used to weigh less
but then university happened
 
meters.
 
12:19 AM
@CaptainGiraffe Impressive.
 
@CatPlusPlus Someone who hates your guts.
 
posted on January 16, 2013 by Herb Sutter

With the help of friends Robert Seacord and David Svoboda of CERT in particular, I posted a note and link to their CERT post today because people have been misunderstanding the recent Java vulnerabilities, thinking they’re somehow really C or C++ vulnerabilities because Java is implemented in C and C++. From the post: Are the [...]

 
For American people that's ~220 pounds, 6 feet 8 inches.
 
What happened to Sedgewick? Is he still going strong?
 
12:26 AM
 
What is this madness?
 
Guys come on ;_;
 
"Do you know what they call "alternative medicine" that's been proved to work? Medicine."
 
aww, the homeopathic a&e is hilarious
 
12:31 AM
yeah I'm looking at that
Mooing's almost gave me cancer
 
@MarcusStuhr You sure the industry agrees?
 
@Rapptz I present to you, the plague
@JohanLarsson :P
 
I've seen this. I was actually going to link it.
 
@MarcusStuhr This gave me old age. Insolvency and a soft dick.
 
12:33 AM
(I'm not into alternative but am really skeptic about the food and drug industry)
 
@JohanLarsson To my surprise, there are actually a few people in the hospital that I work for that believe in some kind of alternative medicine.
 
In what sense
 
@JohanLarsson Developing new drugs is hideously expensive. They would barely be able to afford it if they didn't rip everyone off.
 
Hm.. not sure I agree.
 
well
 
12:34 AM
@DeadMG maybe, but then developing a drug that cures the patient might be worse than making him dependant?
 
@JohanLarsson I detest the "organic" "green" "environmental" labels. They are all scams to me.
 
I certainly agree that there are some negative feedback systems there and I can see that many drug companies have incentives to not exactly do the right thing.
but they should not be problematic as long as the regulators and doctors are strong and independent
 
You'll find bad apples in just about every industry, so it's not necessarily fair to broad-brush / fall victim to confirmation bias
 
Well I don't agree with it fully.
 
> i beleive in both. theyv both been proven.
 
12:36 AM
@DeadMG but how independent is a doctor, afak it is or at least has been common practice for the companies to pay some hotshot nobel price guy to sign the reports
 
@MarcusStuhr Equally true.
@JohanLarsson Right, but that's nothing, really.
 
Reason I say this is because while it's true that medicine is in fact, expensive, there shouldn't be a reason for medicine to be expensive for such a prolong period of time.
Medicine patents in the US last about 20 years until they're considered generic drugs.
 
the signature on their reports is irrelevant, because the regulators should demand independent, verified studies
 
That's 20 years worth of milking in money.
 
12:37 AM
@Rapptz Patents are the source of many problems in the US, and in many global industries which are based in the US.
 
^this
 
I agree with the principle, but their lifetimes are way too long.
 
@Rapptz I think that if we never had patents we would have summer houses on Mars by now
 
posted on January 16, 2013 by Herb Sutter

I’m about two weeks late posting this, but two more C++ and Beyond 2012 videos are now available online. The first is my 30-min concurrency talk: C++ and Beyond 2012: C++ Concurrency (Herb Sutter) I’ve spoken and written on these topics before. Here’s what’s different about this talk: Brand new: This material goes beyond what [...]

 
Well, even in other countries the patents last pretty long, 8 to 12 years.
Which is still a very long time to milk in money.
There should be no reason for medicine to be expensive for that long.
 
12:38 AM
IMO, it's not about the duration
it's about the reward
 
@DeadMG A thousand times this.
 
Medicine is expensive because one company has protection over it for the duration of its patent.
 
ultimately, if you're Drug Company A, and you spent a billion dollars on Drug A, then you need a patent long enough to recover that billion and make a couple million profit, and no longer, however long it takes.
 
Once the drug becomes generic, it becomes much cheaper.
That type of profit is usually made within 2-3 years.
 
so IMO, they should not last for time, but for amounts.
 
12:40 AM
drugs are corrupt on many levels, in Sweden for example large parts are payed with tax money. Huge companies + tax money is rarely deal
 
So malaria is extinct yes?
 
@Rapptz Right, but you also have to consider the knock-on effects to other kinds of inventions, where it may take longer.
 
I like to poop
 
the only fair way to set a patent length would be in some kind of profit on development cost of the product
 
@JohanLarsson Swedish docs at universities often compete for nobels.
 
12:41 AM
like, you spent 1bn developing drug A, you make at most 100m profit, then patent expired.
 
-2
Q: find all primer numbers

cityBelow is a program problem I found in Sphere Online Judge. But the program I wrote always run out of time (C++), but I could not find the optimal solution to it. So you guys know how to solve it efficiently, please paste it and I will learn from you. Thanks~~ Problem code: PRIME1 Peter wants t...

 
and in addition, if you're not selling it effectively, then you lose your patent.
 
@CaptainGiraffe ok but I was thinking about how the drugs are payed "staten och kapitalet" :)
 
So I spend 1bn malaria is now extinct. Now what?
 
please paste it and I will learn from you.
Looks like someone didn't do their homework
 
12:44 AM
@DeadMG That is interesting in theory but I see armies of suits (lawyers) in practice.
 
@JohanLarsson Still we have a pretty fucking good drug/money relationship. Go after the particular hospitals if you want to find flaws.
 
@JohanLarsson That's the primary problem with our society right now.
we have governments to set the law, but they can't, because the wealthiest citizens or corporations can migrate effectively.
 
@CaptainGiraffe ok might be, I'm still suspicious :)
 
@OlegOrlov Come again? I can do whatever the hell I please.
 
we need either a unified world government, or, to shore up the walls of our economies so that each government can effectively govern it's little segment
shit like transfer pricing just destroys everything.
 
12:46 AM
o.O
 
@DeadMG I'm pretty much an anarchist I think we need less of a lot :)
 
Jan 7 at 5:26, by Rapptz
If you don't want to be hated here, read the Newbie Hints.
 
@JohanLarsson Agree.
but IME, politicians on all sides have nowhere near enough sense, and way more "Let's wank over our idealism!".
 
Hey.. I think some countries actually govern decently.. :|
 
@DeadMG wank over populism also
 
12:48 AM
@Rapptz Some of them do. I think that Canada and the Scandinavian countries, and possibly Australia, and places like Singapore/South Korea have better governments
 
@DeadMG Hey see, me too.
 
I don't know where you are :P
 
I actually want to move to Canada one day since it's so close and exponentially better than this government.
US.
 
ah
yes, the US govt. is definitely not on the list
the UK govt is somewhat better- somewhat, but I'm not putting it on the good list.
 
The Economist Intelligence Unit’s quality-of-life index is based on a method that links the results of subjective life-satisfaction surveys to the objective determinants of quality of life across countries. The index was calculated in 2005 and includes data from 111 countries and territories. Method The survey uses nine quality of life factors to determine a nation's score. They are listed below including the indicators used to represent these factors: # Healthiness: Life expectancy at birth (in years). Source: US Census Bureau # Family life: Divorce rate (per 1,000 population), convert...
 
12:49 AM
I've never really heard bad things about your government but I don't like the way your government itself works.
 
how so?
 
I have heard good things about Switzerland's Direct Democracy (random link)
 
This is the dead tree reading advice bus. If you want to read about today read - 1984, Orwell George. If you want to read about tomorrow read - The Time machine H.G. Welles. If you want to read about utopia read - When the sleeper wakes.
 
@DeadMG Your parliamentary system is weird.
 
the US uses, basically the same system.
give or take
 
12:51 AM
Am I thinking of the wrong system?
 
why on earth did I have "exactly" in there
@Rapptz Dunno.
 
Which country has the one where the parliament self-votes their leader
 
uh, us.
 
@Rapptz The vatican.
 
In the US we vote for everyone who is in office
 
12:51 AM
or rather
it is possible to have a minority government, but it's extremely rare
in reality, the government is the one with the majority in the House of Commons
@Rapptz Not any more than we do.
 
@MarcusStuhr I'm always a little surprised to find Australia so high on that list, dunno why really Australia is super nice
 
How many people are in your parliament?
 
650-odd in the Commons
300-odd in the Lords, I think
 
1410 total
 
wow, apparently it's actually a lot closer to 800
anyway
they're very similar systems
you get X regions, who vote for Representative Dickhead Y, who then vote on laws and shit.
 
12:53 AM
are they gerrymandered like they are here?
 
gerrymandered?
 
In the process of setting electoral districts, gerrymandering is a practice that attempts to establish a political advantage for a particular party or group by manipulating geographic boundaries to create partisan or incumbent-protected districts. The resulting district is known as a gerrymander (, alt. ); however, that word can also refer to the process. Gerrymandering may be used to achieve desired electoral results for a particular party, or may be used to help or hinder a particular demographic, such as a political, ethnic, racial, linguistic, religious, or class group. When us...
 
hmm
sometimes
 
@DeadMG they rig who's in which region to heavily bias the election
 
gerrymandering is pretty widespread here.
 
12:55 AM
but, we have so many individual regions, and it's quite heavily overseen
there are regular boundary changes but none of them would have been enough to change the outcome of an election
they're usually small
in fact, our government just got it's arse kicked trying to do exactly that
the previous government changed the boundaries in their favour (slightly), and this government wants to change it back (in favour of the main party in the coalition)
but the other party and the previous government's party gave them a solid spanking in the Commons.
in revenge for the main coalition party not supporting them on Lords reform
 
> Political science research suggests that, contrary to common belief, gerrymandering does not decrease electoral competition, and can even increase it. Rather than packing the voters of their party into uncompetitive districts, party leaders tend to prefer to spread their party's voters into multiple districts, so that their party can win a larger number of races.[12]
lol you have got to be kidding me
 
what?
the whole point of gerrymandering is that in the shitty first-past-the-post system used both in US and UK, it's irrelevant how much of a margin you win by
that is, the representative count doesn't have to represent the vote count in any realistic fashion
 
@Rapptz They try to spread their votes to as many districts as they can, while maintaining at least a slim majority in each.
 
@JerryCoffin Yes. I wouldn't say this increases electoral competition though.
 
in fact
 
1:00 AM
But I'm not a "political scientist"
 
our third party, the Liberal Democrats
8.8% of the seats in our Parliament, but 23% of the vote.
clearly, a little gerrymandering is required to fix that rather massive discrepancy.
 
@Rapptz I'd guess the theory is that by maintaining the smallest possible majority in a district, the opposing party has a better chance of winning if they can get even a few more voters out than the prevailing party assumed they would.
 
yeah
the narrower the margin, the more risky it is, because a smaller swing could mean you lose many, many races.
since you are winning them by a narrower margin
 
@DeadMG Exactly.
 
Well if you look at the results, it's obvious that the margin isn't that small for most districts.
 
1:03 AM
@JerryCoffin Figures you would know about this.
 
that just implies that there's not much effective gerrymandering going on.
since ideally, you would win every race by 1 vote
but if you're winning many fewer races by many more votes, then your voters aren't being gerrymandered effectively
 
Gerrymandering is used by incumbents
 
in any case, gerrymandering is only an effect of poor voting systems like FPTP, and a decent one, like PR, would be fine.
 
One district with, say, a 70% majority gives you one seat with certainty. If you split that to try to get two districts with only a 55% majority, the opposition might manage to win both by getting an extra ~5.1% of voters to vote.
 
@JerryCoffin how is that done in practice?
 
1:04 AM
@JohanLarsson Well, a gerrymandering law is passed well in advance of any election.
 
Investing more money in TV commercials?
 
so if you're the competition, you pre-arrange to expend more resources in that area.
 
I don't think this person understands that memory leaks aren't what cause the crashes they get.
 
@JohanLarsson That's far from the only way that money is used to swing voters, but in essence, yes.
 
@JohanLarsson Mostly by looking at how voting goes on a precinct level.
 
1:05 AM
I have a programming question!
 
@LucDanton Why exactly would you say that?
 
Well, you see I'm mainly talking about the effect gerrymandering has to the extent that people feel like they have a wasted vote
 
@JerryCoffin Jerrymandering!
 
lol
 
@Rapptz Wasted votes are an inherent part of FPTP systems, and always occur en masse and completely disproportionately.
 
1:06 AM
how many puns can one man's name possibly have
 
gerrymandering doesn't really change that.
 
@LucDanton DNA ban!
 
@LucDanton Oh -- my pun detector must have run low. I'd better get offline quick!
 
1:11 AM
nite
 
@Rapptz Preparing yourself for when you're elected?
 
Yep. It's the master plan!
 
1:27 AM
Hi guys, is somebody with some experience in LLVM's C++ API online?
 
I have a small smidge
 
Maybe @DeadMG since he was fucking around with Clang a few days ago.
 
but if you want to find someone actually experienced, you need to look on IRC.
that's where the LLVM developers tend to hang out and answer your query if you're lucky
 
@Crowz whats the question
 
@doug65536 game cameras: I have one that will update the position every time w a s or d is pressed...
but how does one make one that updates like in video games?
 
1:31 AM
matrix multiplication
look at gluLookAt
shows the math
 
@DeadMG Thanks for the information, then i'll ask there. : >
 
One second
 
the top left 3x3 matrix are unit vectors representing your orientation, and the last column is you position trandformed to that orientation
 
hello, just wondering, is anyone in here an iOS programmer?
with Xcode
 
the vectors are unit vectors representing right, up, and back
 
1:33 AM
    void forward() {
	     double dx = cx - ex, dy = cy - ey, dz = cz - ez;
	     double m = Math.sqrt((dx*dx)+(dy*dy)+(dz*dz));
		dx /= m/2;
		dy /= m/2;
		dz /= m/2;

		cx += dx;
		cy += dy;
		cz += dz;
		ex += dx;
		ey += dy;
		ez += dz;
        }
 
@EliteGamer No.
 
anyone else?
 
@Crowz What the hell is this
 
@Rapptz camera
 
That looks weird.
 
1:34 AM
3d camera matrix. making a "game camera" that can look at things and move
 
Yeah m seems to be the magnitude of a 3 dimensional vector.
 
@Crowz um....
 
@doug65536, By the way, I had the parameter naming thing solved.
 
Those redundant divisions...
makes me want to kill a kitten.
 
@chris you made a question?
 
1:35 AM
@Mysticial > java
it'll be slow regardless
especially since he's using Math.sqrt ;_;
 
I can't math :(
 
@doug65536, Yeah, I had already tried it with declval<S<T>>(), but apparently I needed a std::decay on top of that.
 
@Rapptz I dunno if Java allows unsafe floating-point optimizations.
If not, then you'd need to do it manually.
 
You should make a vector/matrix class if you're going to be using them often
 
the camera code won't be "slow" at all. its once per frame?
 
1:38 AM
@doug65536 yep, once every button click you move slightly forward
 
you'd be lucky if a sample profiler hit a callstack with camera code a couple of times a minute
 
I'm considering rewriting it in C/C++ and DirectX
I just can't find any good DirectX tutorials
 
SFML comes with sf::View
 
@Crowz, I had some success with directxtutorial.com, as in my things were working and everything, but it's a good idea to wrap them as you go and do your own error checking.
 
if you're learning 3d I suggest opengl
lot less ugly to work with than directx
 
1:41 AM
@doug65536 why's that?
 
@Crowz DirectX is Win32-API style, the code is really ugly to read.
 
opengl is a lot more consistent and less populating structures etc
 
Okay. How do I add the libraries to Visual Studio?
 
and tons of tutorials
opengl32.lib
"old" opengl offloads almost everything onto opengl. once you master that kick it up to opengl 3.3 with shaders and manual state control or take on directx
 
I always have to do things the hard way first :(
 
1:44 AM
@doug65536 these tutorials you speak of -- where do you find them?
 
@chris How do you want to learn if you don't work hard?
 
this one looks pretty good: lazyfoo.net/tutorials/OpenGL/index.php
gets all the way up to shaders pretty quickly
 
@bash0r, True, just saying I used pointers extensively before smart pointers, new[] for a long while before containers, pure C++ winapi a lot, and DirectX, but not OpenGL.
 
This guy always seems to have weird optimisations up his sleeve. His blog is really interesting
 
rendering api's are pretty much, here's some texture data, here's some vertex data, here's some shaders to run, here's some state variables we set, and it draws it all. what api you use mostly affects what your source code looks like
 
1:49 AM
@chris That's the way to go. That's where knowledge comes from. My class mates program in C#. They never had a real hard problem to solve and that's what you notice when they get a real hard problem. They are helpless.
 
@bash0r, It's true. I know how a lot of C# works underneath. I need to get a better grasp of .NET especially, though, so I rush to it instead of rushing to familiar, but longer winapi methods.
I honestly find it wonderful for doing winapi stuff, but I have to look up a lot of stuff every time I do something non-trivial.
And why is there a pokemon called Haxorus?
 
@chris C# is really nice and wipes out a lot of error sources, but it's just not the same experience you get while learning. But WinApi is one of the most poorly designed APIs I've ever seen...
 
@bash0r, I know. The winapi being properly rewritten in C++ makes it so much more usable.
 
Well WinAPI is old as shit
Did you mean C#?
Because the "C++ wrapper" of the WinAPI is not C++
 
@Rapptz, Well, I was half going off of my older projects, but C# as well.
 
1:53 AM
What C++ wrapper?
Am I missing something
 
Window win; win.create(); return messageLoop(); boom. default window.
 
char* args[] <-what the hell is that? Sorry completely new to C++. An array of char pointers?
 
That was like the oldest version I did. It was never very complete at all.
 
win.create(); dafuq is wrong with you
 
@Crowz, Yes.
 
1:54 AM
the Window constructor should create a window.
 
Well that seems a bit odd.
 
I fail to see the C++.
I'm pretty sure WinAPI is convoluted C with Classes
 
@crowz works the same as char ** though
 
@doug65536 Oh I see
 
@Crowz command line arguments
 
1:55 AM
@crowz you can get away with it because an array is a pointer to the first element
 
@DeadMG, I said oldest. It was quite a while ago. Anyway, it was a bit annoying when I didn't want the window created when the object was made, didn't want a pointer, didn't know about boost::optional etc.
 
in this case the elements are char *'s
 
@Crowz Arrays and pointers go well with each other.
 
@doug65536 You're extremely wrong.
 
@Rapptz I meant the weird datatype haha pointer array just sounds awkward to me
(my noobness is showing)
 
1:57 AM
Wait, I'll see if I can dig up one horrendous thing I remember.
 
@chris Nothing will beat my functions.h header :P
You might as well not even try.
 
I'm starting to like Git and the workflows it encourages.
 
@Rapptz MFC maybe?
 
@MooingDuck =| really?
 
@chris I hadn't seen decay before you pointed it out
 
1:59 AM
@Rapptz, I'm ashamed to post it. I really am. The design issues I had were terrible back then and I resorted to such crude, horrible, unspeakable methods. pastebin.com/UNZc2Sg0
 
@chris equivalent to your macro, right?
 

« first day (823 days earlier)      last day (4116 days later) »