Search found 112 matches

by mbrigdan
Fri Mar 22, 2013 8:17 pm UTC
Forum: Serious Business
Topic: Proposal for defraying R&D costs of new drugs
Replies: 54
Views: 14327

Re: Proposal for defraying R&D costs of new drugs

If an international fund offered a drug company 8 billion for an antibiotic patent, I believe they wouldn't just walk away Sure they would. A widely used drug could earn that much profit in a couple of years. I forgot a key thing which could reduce drug costs in my previous list: 1) Ban drug compan...
by mbrigdan
Wed Jan 16, 2013 5:00 am UTC
Forum: General
Topic: Car horns
Replies: 266
Views: 24693

Re: Car horns

If you're blowing a horn from a blind location, pedestrians don't know your location anyway. Actually they do, because they have, y'know, ears (two of them even), and a brain that does cool location identifying stuff. Also, you keep saying that people should stop if a pedestrian illegally walks out...
by mbrigdan
Thu Jan 03, 2013 5:19 am UTC
Forum: Science
Topic: Worst thing you've seen in a lab
Replies: 256
Views: 233249

Re: Worst thing you've seen in a lab

I saw someone push a pipette (one of the fixed size ones) through the bottom of a beaker. Sodium hydroxide (weak) slowly leaked all over the table before they figured out what had happened. It was weeeeeeird, a tiny little hole at the bottom of the beaker, and the pipette seemed fine.
by mbrigdan
Sun Dec 09, 2012 4:19 am UTC
Forum: Science
Topic: Effect of hydrogen cars on the environment. (hypothetical)
Replies: 19
Views: 3484

Re: Effect of hydrogen cars on the environment. (hypothetica

A quick googling suggests that a car's combustion engine is ~18-20% efficient, while a modern coal power plant is around 30%. A 10% increase in efficiency is definitely nothing to laugh at, but yurell is right, the main benefit would be in being able to switch to renewable power plants instead of ha...
by mbrigdan
Sun Dec 09, 2012 4:11 am UTC
Forum: Science
Topic: Robert Fitzroy
Replies: 59
Views: 5731

Re: Robert Fitzroy

I would argue for a concept such as "existence", being unable to have such a boundary is in fact a pretty big issue. Especially if alternative explanations can in fact, provide such a boundary. Take for example what I would call "my" definition of if something (physically) exists...
by mbrigdan
Sun Dec 09, 2012 12:48 am UTC
Forum: Science
Topic: Robert Fitzroy
Replies: 59
Views: 5731

Re: Robert Fitzroy

Of course. We interact with the past as well as the future. You said before that it is impossible for a universe to exist where all life dies out permanently? More importantly, take the case of the particles that cannot, in any way, interact with out universe: We start with a few such particles tha...
by mbrigdan
Mon Oct 15, 2012 4:52 am UTC
Forum: Serious Business
Topic: What the hell is corporate personhood.
Replies: 43
Views: 12532

Re: What the hell is corporate personhood.

The reason I'm confused by this is because every decision a corporation makes is actually made by people. corporate decisions are made by an Executive(Who is a person), or a board of directors(the members of which whom are people) Whenever A corporation says something It's really some person of som...
by mbrigdan
Sat Sep 01, 2012 12:34 am UTC
Forum: News & Articles
Topic: CNN blog notes that 31 states gives Rapists custody of child
Replies: 66
Views: 11104

Re: CNN blog notes that 31 states gives Rapists custody of c

by saying that a rape victim must be suffering from serious trauma, you are reducing someone to an event. Even if that were true, which I contend that it isn't, who has said that a rape victim "must" be suffering from serious trauma? Methinks you are creating an argument from straw, here....
by mbrigdan
Thu Jul 05, 2012 5:11 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034671

Re: Coding: Fleeting Thoughts

To the best of my knowledge, nothing like that is guaranteed, because its more an implementation thing. I wouldn't doubt that nearly every sane compiler does the same thing though. Also, What the hell, PHP? For those that don't want to bother looking: Variable variables. Ie: you can change the name ...
by mbrigdan
Sat Jun 30, 2012 6:21 am UTC
Forum: Hardware
Topic: Is this a good deal (server)?
Replies: 1
Views: 1718

Is this a good deal (server)?

So, a family friend is looking to buy a server for his new business and has looked to me for advice. We found a lightly used server from 2009 with the following specs: 2 servers, each with a quad core Xeon at ~@2.5GHz, with 8GB of ram each (but only 667MHz), each with 2 76GB HDDs and 4 143GB HDDs, r...
by mbrigdan
Wed Jun 20, 2012 8:20 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034671

Re: Coding: Fleeting Thoughts

Rysto wrote:This makes implementing stdarg.h a lot of fun for compiler writers, I must add.


Ouch, that would be brutal. Although, in the minimal research I did, it looked like microsoft's version of X86_64 made it optional to pass things via registers versus stack, which I guess could be an even bigger PITA.
by mbrigdan
Wed Jun 20, 2012 6:55 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034671

Re: Coding: Fleeting Thoughts

Yeah, pushing the arguments onto the stack was indeed my goal with all the filler arguments. Apparently, AMD64 calling convention means that the first six arguments must go into registers, while additional arguments may go onto the stack. There's probably a bunch of compilers/systems that it doesn't...
by mbrigdan
Wed Jun 20, 2012 1:50 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034671

Re: Coding: Fleeting Thoughts

I have created an abomination! #include <cstdlib> #include <iostream> void *justwait(int filler1, int filler2, int filler3, int filler4, int filler5, int filler6, bool selector, long x, long y) { if(selector) { DEARGOD: std::cout << x+y << std::endl; exit(0); } else { void *pointy = &&DEARGO...
by mbrigdan
Wed Jun 20, 2012 12:33 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034671

Re: Coding: Fleeting Thoughts

To be fair, g++ does warn, and calling justwait(true) does segfault (when it reaches print4(oops) , that is). It shouldn't be surprising, though. justwait doesn't use any local variables, and the address returned is for a position in code, so calling it from outside the scope is fine. The only tric...
by mbrigdan
Tue Jun 19, 2012 8:32 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2034671

Re: Coding: Fleeting Thoughts

Inspired by earlier comments in this thread: #include <iostream> void* justwait(bool selector) { if (selector) { DEARGOD: std::cout << 2+2 << std::endl; return NULL; } else { return &&DEARGOD; } } void print4(void * WHYGODWHY) { goto *WHYGODWHY; } int main() { void * oops = justwait(false); ...
by mbrigdan
Mon Apr 30, 2012 5:19 am UTC
Forum: Serious Business
Topic: Legal advice needed: software license
Replies: 13
Views: 8227

Re: Legal advice needed: software license

I think an important question you need to ask is whether you want to retain copyright at all. If you want, you could simply release the code into the public domain (Which can be done with a single sentence*), and maybe just put a disclaimer in the root of the github. *From what I've read on the Proj...
by mbrigdan
Sat Apr 28, 2012 10:55 pm UTC
Forum: Coding
Topic: Checksum of code segment
Replies: 9
Views: 2967

Re: Checksum of code segment

I'm pretty sure that if someone is willing to put in the effort, then Cheat Engine can make use of Kernel calls. I don't know if that's the kind of thing that's even preventable with normal measures. Perhaps doing some sort of checksum of the memory that the game uses, and noting if its been change...
by mbrigdan
Tue Apr 17, 2012 5:17 am UTC
Forum: Coding
Topic: Checksum of code segment
Replies: 9
Views: 2967

Re: Checksum of code segment

I'm pretty sure that if someone is willing to put in the effort, then Cheat Engine can make use of Kernel calls. I don't know if that's the kind of thing that's even preventable with normal measures. Perhaps doing some sort of checksum of the memory that the game uses, and noting if its been changed...
by mbrigdan
Sat Apr 07, 2012 5:11 am UTC
Forum: Science
Topic: Worst thing you've seen in a lab
Replies: 256
Views: 233249

Re: Worst thing you've seen in a lab

Someone I know in a high school chem lab opened the stock bottle of ~14M ammonia outside the fume hood. That's a smell I'm sure the class won't forget very soon.
by mbrigdan
Sat Dec 31, 2011 5:42 pm UTC
Forum: Music
Topic: The Most Beautiful Piece of Music
Replies: 68
Views: 22131

Re: The Most Beautiful Piece of Music

I'd have to go withThe hazards of love 4 (The Drowned)
Bring me close to tears when I really listen to it.
by mbrigdan
Mon Oct 10, 2011 6:51 pm UTC
Forum: Hardware
Topic: Ancient PC Hardware (apparently) - aka I Need a 386 for Work
Replies: 7
Views: 3813

Re: Ancient PC Hardware (apparently) - aka I Need a 386 for

Wait, so if you connect the computer to your laptop, you see it sending valid commands, and if you send those commands using your laptop, you get the correct values, and it only fails when you connect the computer directly to the device? Maybe its little vs big-endian weirdness or something? Does th...
by mbrigdan
Sun Oct 09, 2011 5:09 pm UTC
Forum: Logic Puzzles
Topic: Solve this! (A mathemagical game.)
Replies: 62
Views: 10958

Re: Solve this! (A mathemagical game.)

In addition, the given unit for x was kg. So text and formula were a bit inconsistent. You know what I meant >:/ . Assume I meant mass that would result in your momma's weight for an assumed acceleration of 9.81 m/s^2 if you want. Anyways, I did say "Assuming weight to be a normally distribute...
by mbrigdan
Wed Oct 05, 2011 11:20 pm UTC
Forum: Logic Puzzles
Topic: Solve this! (A mathemagical game.)
Replies: 62
Views: 10958

Re: Solve this! (A mathemagical game.)

Assuming weight to be a normally distributed property, your momma has weight x with probability:

[math]f(x) = \frac{1}{\sqrt{2\pi\sigma^2}} e^{ -\frac{(x-\mu)^2}{2\sigma^2} }[/math]

Where x is in kilograms, mu = 58 kg, and sigma = 20 kg.

I don't have a good one to post at the moment.
by mbrigdan
Tue Aug 30, 2011 4:49 am UTC
Forum: School
Topic: Keeping my math skills
Replies: 7
Views: 3083

Re: Keeping my math skills

Those Paul's math notes are great! It looks like my main problem with substitution was that no one ever told me that you were supposed to do it when the derivative of the thing you want to replace is hanging around outside the other thing. Which makes WAAAAAY more sense then trying to apply it to ra...
by mbrigdan
Mon Aug 29, 2011 11:36 pm UTC
Forum: School
Topic: Keeping my math skills
Replies: 7
Views: 3083

Re: Keeping my math skills

Well, that's definitely good to know! One more thing, does anyone know a website that has a good, clear, explanation of integration by substitution? I missed the in-class lesson on it, and my friends note's were less than helpful, so I ended up just kinda cramming for the tests/bluffing my way throu...
by mbrigdan
Fri Aug 26, 2011 1:03 am UTC
Forum: School
Topic: Keeping my math skills
Replies: 7
Views: 3083

Keeping my math skills

As an explanation, I took AB calc AP when I was in grade ten, and now I'm going into grade 12. I didn't end up practicing the math that I learned in any other class (besides a bit in chemistry), so I've lost a fair chunk of knowledge that i'll probably end up really needing in university. My current...
by mbrigdan
Mon Aug 22, 2011 5:51 pm UTC
Forum: Computer Science
Topic: Emulators of future consoles that use Raytracing
Replies: 8
Views: 3411

Re: Emulators of future consoles that use Raytracing

Ray tracing computes paths from camera to light source with a single surface bounce (direct lighting). Does not look very good despite people's assumptions based on the famed reputation the term has behind it; no global illumination. Any good ray-tracer will give you the option to make rays bounce ...
by mbrigdan
Sun Aug 21, 2011 9:15 pm UTC
Forum: Forum Games
Topic: Countdown to one with Google!
Replies: 699
Views: 102432

Re: Countdown to one with Google!

chrominated ninety - 218
next > 185
by mbrigdan
Sat Aug 20, 2011 5:08 am UTC
Forum: School
Topic: University advice for a Canadian student
Replies: 16
Views: 4013

Re: University advice for a Canadian student

...Obviously schle ... You can say "they" if you don't know someone's gender. For future reference, I'm male, not that it really matters. This may help: http://survivingtheworld.net/Lesson907.html Then again, maybe not. Hey, I like that! Except they put chemical engineering and biomedical...
by mbrigdan
Fri Aug 19, 2011 10:34 pm UTC
Forum: School
Topic: University advice for a Canadian student
Replies: 16
Views: 4013

Re: University advice for a Canadian student

Thanks for the advice guys, so small classes and asking people who are already there are big ones. I'll make sure to look around a lot, I'll probably make a big list of my options.
I'd still like to hear from anyone who knows about the "Engineering Chemistry" program at Queens!
by mbrigdan
Tue Aug 16, 2011 8:36 pm UTC
Forum: School
Topic: University advice for a Canadian student
Replies: 16
Views: 4013

Re: University advice for a Canadian student

Huh, I must've been remembering it wrong. The Queen's 2011 viewbook I have puts engineering tuition (along with extra fees and such), 5k above an ordinary science degree. I guess that's a pleasant surprise. I think the engineering chemistry degree is supposed to be done in 4 years, which is what I'd...
by mbrigdan
Tue Aug 16, 2011 6:22 pm UTC
Forum: School
Topic: University advice for a Canadian student
Replies: 16
Views: 4013

Re: University advice for a Canadian student

Thanks for the reply Chen! Yeah, the tuition thing was more about it being an engineering degree versus a normal science degree, which seems to add about 10k/year no matter where you go. McGill was one of the universities I looked at, but it did seem to be higher on the cost end for non-quebec stude...
by mbrigdan
Mon Aug 15, 2011 2:57 am UTC
Forum: School
Topic: University advice for a Canadian student
Replies: 16
Views: 4013

University advice for a Canadian student

Hey xkcd people! I'm going to be going into grade 12 next year, and I'll have to make rather important choices for my future. I figure I need all the info I can get, so why not ask people who've already gone through the process? The internet is great, but people with firsthand experience are probabl...
by mbrigdan
Sun Aug 14, 2011 8:08 pm UTC
Forum: Hardware
Topic: Monitor screen privacy filters are so expensive!
Replies: 6
Views: 5104

Re: Monitor screen privacy filters are so expensive!

I've used laptops with those screens on them, and taken a look at how good they are. I've found that although they don't work perfectly at closeish angles, anything but dead on viewing quickly gets way to dark to say, read an email, and it would probably frustrate your casual nosy plane neighbor eno...
by mbrigdan
Sun Aug 14, 2011 1:07 am UTC
Forum: Science
Topic: maximal energy of a photon
Replies: 17
Views: 1981

Re: maximal energy of a photon

I'm not a physicist, but the only limit that I can think of would be the amount of energy that would create a black hole. And even then, I'm not sure if that's possible. If it is, I would imagine that energy to be huge. As I understand it being a black hole is based on an object's rest mass/density...
by mbrigdan
Sun Aug 14, 2011 12:42 am UTC
Forum: Science
Topic: maximal energy of a photon
Replies: 17
Views: 1981

Re: maximal energy of a photon

I'm not a physicist, but the only limit that I can think of would be the amount of energy that would create a black hole. And even then, I'm not sure if that's possible. If it is, I would imagine that energy to be huge. If the limit is enforced by the plank length, as you suggest, then wolfram alpha...
by mbrigdan
Fri Jul 22, 2011 4:53 am UTC
Forum: General
Topic: Randall's self-referential Google+ profile
Replies: 36
Views: 5131

Re: Randall's self-referential Google+ profile

TheGrammarBolshevik wrote:... given the exaggerated hypermasculinity of Aaeriele's avatar.


This was my logic exactly.
In all seriousness, sorry about getting your gender wrong Aaeriele, I think I've fallen into the bad habit of assuming everyone on the internet is male.
by mbrigdan
Wed Jul 20, 2011 11:50 pm UTC
Forum: General
Topic: Randall's self-referential Google+ profile
Replies: 36
Views: 5131

Re: Randall's self-referential Google+ profile

My logic is why would B point anywhere but to his profile. But yeah, it's all the same reasoning. I don't quite know how you'd stumble on /plus without having been to his profile page. His point was that some random person claiming to be Randall could link to the /plus in their about section, so ju...
by mbrigdan
Tue Jul 19, 2011 3:37 am UTC
Forum: Logic Puzzles
Topic: The Ungoogleable
Replies: 128
Views: 89207

Re: The Ungoogleable

Maybe I'm a tad late with this, but for all the people wanting to find similar images to something you've saved on a computer, google images already does that. Just drag and drop your image into the (image) search bar, and wait for it to upload. The first thing it sends you to is a web search for pa...
by mbrigdan
Tue Jul 05, 2011 7:06 pm UTC
Forum: The Help Desk
Topic: 10K SAS Drives
Replies: 4
Views: 1212

Re: 10K SAS Drives

For 10ish dollars at frys (and probably many other local computer stores), you can buy a "SAS backplane". I'm not sure if thats what you need though.

Go to advanced search