Search found 85 matches

by Shai
Mon Jul 28, 2008 5:30 pm UTC
Forum: Coding
Topic: Telling my friend he sucks at encryption...
Replies: 21
Views: 3314

Re: Telling my friend he sucks at encryption...

If he doesn't even know what he did, how can he reverse it? Just ask him to decrypt it! If he can't, he made a hash algorithm, not encryption.
by Shai
Mon May 26, 2008 1:34 am UTC
Forum: Serious Business
Topic: ...Because it's the law (Unjust rules and laws)
Replies: 139
Views: 12734

Re: ...Because it's the law (Unjust rules and laws)

I think somebody has said this already, but I don't want to reread through all the comments. There must be a reason they initially banned mp3 players. Find out the reason, and if it's not a good one or there are arguments against it, then you have grounds for trying to fight it (as in, make it an is...
by Shai
Sat May 24, 2008 8:01 am UTC
Forum: Serious Business
Topic: Should Clinton step down?
Replies: 156
Views: 10230

Re: Should Clinton step down?

Is that really a quality you'd want in a leader, giving up when it doesn't look good? -_-;; I wouldn't give up either, if I were her. Anyway, how does every vote count if the person you voted for steps down? Yes, it does suck that the Democratic party is being split into two, but at this point, it w...
by Shai
Fri May 23, 2008 6:45 pm UTC
Forum: Serious Business
Topic: Buying human life
Replies: 24
Views: 2711

Re: Buying human life

Nevertheless, if you cut demand, supply should get cut, too. Simple economics. But I think the OP's original point is being missed. I guess human life can be given a value, but I don't think it's the buyer that gives the life the value, but rather the seller. And if you decide to not buy said slave ...
by Shai
Fri May 23, 2008 1:23 pm UTC
Forum: Serious Business
Topic: Lowering the speed limit...
Replies: 48
Views: 5383

Re: Lowering the speed limit...

Pixel wrote:setting the speed limit arbitrarily low does nothing to improve road safety.

It might not, but it will certainly give the gov't more moneys from speeding tickets. Which I'm sure will be used to help research alternate fuel sources instead of giving fatcats pay raises.
by Shai
Thu May 22, 2008 1:04 am UTC
Forum: Serious Business
Topic: Buying human life
Replies: 24
Views: 2711

Re: Buying human life

When a kidnapper abducts your child, and asks for ransom, and you give it, is this buying human life? I guess the trafficker/kidnapper is setting a value to human life, in a way, but I don't think you are. On a different note, I wouldn't buy the human being, somewhat for selfish reasons. You can't p...
by Shai
Thu May 22, 2008 12:56 am UTC
Forum: Serious Business
Topic: Lowering the speed limit...
Replies: 48
Views: 5383

Re: Lowering the speed limit...

Some links: Fuel economy in automobiles Steady Speed Fuel Economy Table 4-24 I used the numbers from table 4-24 to do some quick calculations. Let's say we want to find out how much money we save by going 55 mph instead of 65 mph. According to the table from above for the 1997 vehicles, we save abou...
by Shai
Wed May 21, 2008 7:22 am UTC
Forum: Serious Business
Topic: ...Because it's the law (Unjust rules and laws)
Replies: 139
Views: 12734

Re: ...Because it's the law (Unjust rules and laws)

Is someone really advocating for headphones in class? Just ditch the class. That's effectively what your saying. Are you so impatient or rude that you can't sit for an hour and listen? You are? Fine, leave the class then. He's advocating listening to quiet music during periods of time which are ded...
by Shai
Wed May 21, 2008 7:11 am UTC
Forum: Serious Business
Topic: Lowering the speed limit...
Replies: 48
Views: 5383

Re: Lowering the speed limit...

Has anybody else here seen "Who Killed the Electric Car?" It's a movie about the release of the electric car in California, which was leased to Californians. These Californians could only get the cars on lease. California had some sort of law that forced car companies to sell x% of electri...
by Shai
Wed May 21, 2008 4:46 am UTC
Forum: Serious Business
Topic: ...Because it's the law (Unjust rules and laws)
Replies: 139
Views: 12734

Re: ...Because it's the law (Unjust rules and laws)

As long as your sitting up you won't fall a sleep, this is coming from someone that gets >3hours of sleep a night and had math first period. As for all of the problems, they're solved by keeping the music at a reasonable level. Define reasonable. What if you have some really nice headphones which b...
by Shai
Wed May 21, 2008 3:09 am UTC
Forum: Serious Business
Topic: Lowering the speed limit...
Replies: 48
Views: 5383

Re: Lowering the speed limit...

Here's another interesting tidbit on fuel efficiency in North America: 78 Miles Per Gallon!? Why are the Europeans and Japanese always the first to move forward? Ugh. GM will fall if they don't start following foreign trends, and with GM will fall the economy. But that's a different beast. Actually,...
by Shai
Wed May 21, 2008 2:02 am UTC
Forum: Serious Business
Topic: ...Because it's the law (Unjust rules and laws)
Replies: 139
Views: 12734

Re: ...Because it's the law (Unjust rules and laws)

Since I've seen some people say they wouldn't let mp3 players in class, lets try to come up with a good reason. The situation is, I'm in math class the teacher is done his lecture and assigned questions 4-12 pg. 238. I'm listening to my music and working quietly. Is there any reason why I can't do ...
by Shai
Tue May 20, 2008 10:06 pm UTC
Forum: Serious Business
Topic: Lowering the speed limit...
Replies: 48
Views: 5383

Re: Lowering the speed limit...

Another difficult issue is that a car's mileage may vary with age and maintenance, not to mention vehicle weight, load weight, and other factors. In stop and go traffic, what's the optimal acceleration? Does removing the spare tire lighten the car and save gas? Will you regret taking out the spare t...
by Shai
Sat May 17, 2008 10:45 pm UTC
Forum: Computer Science
Topic: What will threading look like in 20 years?
Replies: 53
Views: 18891

Re: What will threading look like in 20 years?

I can't even imagine the directions threading will take. What I'd like to see, personally, is compilers and operating systems that are smart enough to turn a linear program into a multi-threaded one. So perhaps it could parse through the code, seperate independent sections and share the load between...
by Shai
Sat May 17, 2008 10:19 pm UTC
Forum: Serious Business
Topic: Marijuana
Replies: 172
Views: 24643

Re: Marijuana

I think taking alcohol restrictions and placing them on pot would be very acceptable. Age limit of 21 is a good idea, and finding minors who are high would probably have similar impacts. If I remember correctly, around here (Illinois) getting caught driving and stoned is actually a DUI (Usually res...
by Shai
Fri May 16, 2008 10:30 pm UTC
Forum: Serious Business
Topic: Lowering the speed limit...
Replies: 48
Views: 5383

Re: Lowering the speed limit...

(in automatic cars) A) Find a car with an RPM meter. (I forget the technical name.) B) Start slowly accelerating, watching the RPM meter. C) When the car shifts and the RPM meter suddenly drops back down (usually between 30-50 MPH) stay there. Cruise control, if you've got it. This will limit the a...
by Shai
Fri May 16, 2008 6:07 pm UTC
Forum: Serious Business
Topic: Lowering the speed limit...
Replies: 48
Views: 5383

Re: Lowering the speed limit...

To people that say lower speed limits are safer, there have been studies done. Or well, Wikipedia cites one . I won't cite the original article Wikipedia refers to since, well, it's German. I agree with whoever said that this is probably an old issue with a newly concocted argument. I also agree tha...
by Shai
Tue May 13, 2008 5:20 am UTC
Forum: Hardware
Topic: Dual-Monitor Issue
Replies: 17
Views: 2720

Re: Dual-Monitor Issue

BTW the video cards we (consumers) use won't be able to detect multiple displays connected to one output, only one display per port. That's what I've been thinking, too, since I can get 1824x1024 at 60 hz on the TV if it's the only display hooked up to the splitter. I'm thinking if DVI-D uses two w...
by Shai
Tue May 13, 2008 1:32 am UTC
Forum: Hardware
Topic: Dual-Monitor Issue
Replies: 17
Views: 2720

Re: Dual-Monitor Issue

I have a similar setup. Cables: Plug your primary LCD into the DVI-D port and leave it alone. Then run a HDMI cable from the graphics card to a 1X2 Powered HDMI Splitter (monprice approx $70) Then connect a HDMI to DVI-D to the second LCD and an HDMI cable to the HDTV. Your HDTV will replicate the ...
by Shai
Mon May 12, 2008 9:15 pm UTC
Forum: Hardware
Topic: Dual-Monitor Issue
Replies: 17
Views: 2720

Re: Dual-Monitor Issue

is it so bad to run the TV off of the S-video output? Another brilliant option is to buy another graphics card (PCI would work fine) that has a DVI port. For some dumb reason, the graphic card doesn't allow me to have 3 independent screens, for one thing. Another issue is that my new computer has a...
by Shai
Mon May 12, 2008 7:59 pm UTC
Forum: Hardware
Topic: Dual-Monitor Issue
Replies: 17
Views: 2720

Dual-Monitor Issue

Ok, here is my current setup: I have an NVIDIA GeForce 8600 GT with a DVI-D, HDMI and S-Video port. I have two Acer X223W LCD monitors, which have a DVI-D port and a VGA port, native resolution 1680 x 1050. I have an Insignia HD-TV, with an available HDMI port. I want both Acers to have independent ...
by Shai
Thu May 08, 2008 1:05 pm UTC
Forum: Gaming
Topic: I need a Game Recommendation
Replies: 1559
Views: 357444

Re: New to PC Gaming

Edit: Just saw you included a link, Jesus fuck that's an expensive rig. Probably should have bought it from some custom place, but if you've already paid then whatever. What videocard does it come with? You might be able to get your Crysis on after all. The reason I picked this particular machine a...
by Shai
Thu May 08, 2008 5:42 am UTC
Forum: Gaming
Topic: I need a Game Recommendation
Replies: 1559
Views: 357444

I need a Game Recommendation

I'm getting a new computer very soon (waiting for it to come in) and it's my first modern gaming-competent computer. If interested, link . Anyway, I'm thinking of turning to the PC for single-player gaming, and leaving my Wii for multi-player. I have my Wii for super-fun game-play, I want to see som...
by Shai
Thu May 08, 2008 5:27 am UTC
Forum: Computer Science
Topic: Computer programs that can learn..
Replies: 25
Views: 4582

Re: Computer programs that can learn..

How about user interfaces that are initially extraordinarily usable and highly customizable? Something with a low learning curve and high power? Theoretically, it's possible and is potentially better than an AI guessing what you want, but you don't exactly see it very often. Everybody learns differ...
by Shai
Wed May 07, 2008 7:28 pm UTC
Forum: Computer Science
Topic: Computer programs that can learn..
Replies: 25
Views: 4582

Re: Computer programs that can learn..

The problem with adaptive user interfaces is that they increase the time it takes to learn a new interface. You have to deal with it moving things around while you use it until it (hopefully) converges to something you want. Case in point: the first thing I do in word is turn off how it hides menu ...
by Shai
Wed May 07, 2008 6:16 pm UTC
Forum: Serious Business
Topic: Should I press Charges?
Replies: 37
Views: 3100

Re: Should I press Charges?

Tough question, that really shouldn't have to be asked. Probably one of the many flaws in our society. :? Anyway, I think you're damned if you do and you're damned if you don't. I've always just avoided the types of people that are involved in gangs or violent groups. If you do press charges and his...
by Shai
Wed May 07, 2008 5:09 pm UTC
Forum: Computer Science
Topic: Computer programs that can learn..
Replies: 25
Views: 4582

Re: Computer programs that can learn..

I've seen presentations on research already being conducted on exactly this, except their specific implementation was for Eclipse.

An Adaptive User Interface Based On Personalized Learning
Developing an Adaptive User Interface in Eclipse - this isn't the same one I mentioned above.
by Shai
Wed May 07, 2008 4:54 pm UTC
Forum: Coding
Topic: Swing is being an ass; show me the errors of it's ways
Replies: 21
Views: 3127

Re: Swing is being an ass; show me the errors of it's ways

Why can't you just attach the same ActionListener to every button, and change the ActionCommand to reflect the position? You'd have to do a bit of string parsing, but that seems a lot easier than what you're doing here. In case you don't know what ActionCommands are, I found this on Google real quic...
by Shai
Tue May 06, 2008 3:56 am UTC
Forum: Serious Business
Topic: Marijuana
Replies: 172
Views: 24643

Re: Marijuana

I'm not sure if this is a regurgitation of points of others, but I don't tend to troll marijuana debates so forgive me if it is. I've always thought that the legalization and taxation of marijuana could be extremely profitable, and could perhaps then lead towards fighting more serious drugs, such as...
by Shai
Sat May 03, 2008 12:07 am UTC
Forum: Coding
Topic: Mastermind AI
Replies: 60
Views: 7601

Re: Mastermind AI

Jesus Fucking Christ, my code makes no sense and this thing is due in 5 hours. ...This might be asking for a lot, but do you think you could just write calcElim in c++? You really shouldn't be asking people to do your homework for you, especially considering they more or less already have. Also, I'...
by Shai
Wed Apr 30, 2008 11:10 pm UTC
Forum: Coding
Topic: Help me with random numbers
Replies: 14
Views: 1915

Re: Help me with random numbers

1/(2^16)= 0.0000152587890625
1/(2^17)= 0.00000762939453125
1/(2^18)= 0.000003814697265625

There's only a 0.001526% chance of getting 16 1's in a row. The chance of getting 17 1's in a row is half that (0.000763%). You'd have to run a LOT of simulations to get this to occur.
by Shai
Wed Apr 30, 2008 12:33 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9890
Views: 1828427

Re: Coding: Fleeting Thoughts

Berengal: Sounds REALLY frustrating. I consider myself lucky that I was generally in good teams in my undergrad career. We actually spent time arguing about how it should be designed, rather than having a design and ignoring it. In my grad career, though, I've had some frustrations. I had created a ...
by Shai
Fri Apr 25, 2008 5:56 pm UTC
Forum: Coding
Topic: Traveling Salesman, or just crazy?
Replies: 6
Views: 1709

Re: Traveling Salesman, or just crazy?

There are a lot of possible pathfinding algorithms that could be applied.
by Shai
Fri Apr 25, 2008 5:40 pm UTC
Forum: Coding
Topic: Epic coding moments
Replies: 127
Views: 21183

Re: Epic coding moments

This isn't a specific instance, but I'd have to say my most epic programming moments are when I write a full program in C++ or Java using only notepad, throw it over into the compiler, and find to my utter amazement that it contains no syntax or logic errors. That is the ultimate in coding euphoria...
by Shai
Wed Apr 23, 2008 5:14 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0413: "Mistranslations"
Replies: 110
Views: 20268

Re: "Mistranslations" Discussion

I've waited for the past 55 minutes for somebody to make a post I could apply the classic, "that's what she said," line to. But alas, nobody has set me up. I am saddened. Dismayed, even. As for the comic, heh. Made me smile.
by Shai
Tue Apr 22, 2008 4:12 am UTC
Forum: Coding
Topic: I'm making a game.
Replies: 9
Views: 1546

Re: I'm making a game.

I'm also planning on building a game engine over the summer. I will be using and learning C++. It is the standard for most modern, professional games. I think this is so because it minimizes a lot of over-head you get from Java/C#, etc. It's more low-level, without resorting to Assembly. That is jus...
by Shai
Tue Apr 22, 2008 1:04 am UTC
Forum: Coding
Topic: worst bugs ever (or your most hated)
Replies: 196
Views: 21011

Re: worst bugs ever (or your most hated)

Why? Given a non-awful compiler, they'll both compile to the same thing, so the only difference is style... and (in my opinion) i++ is more readable... it has the bits in the same order as "i = i + 1" - thing you're changing first, what you're doing to it afterwards. If C used something l...
by Shai
Sun Apr 20, 2008 5:43 pm UTC
Forum: Coding
Topic: help with a program that uses arrays
Replies: 8
Views: 1408

Re: help with a program that uses arrays

For this example, computing myArraySize looks superfluous; after all, why not just pass 20? For a short example like this it may not be obvious, but in production code it's best not to rely on hardcoded values. This way, if you need to change the size of myArray (say from 20 to 40), you only need t...
by Shai
Wed Apr 16, 2008 4:19 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0411: "Techno"
Replies: 150
Views: 35122

Re: "Techno" Discussion

deathbybowtie wrote:I'm curious to hear this broken-hard-drive techno, anyone got a link?


Ditto.
by Shai
Mon Apr 14, 2008 12:38 am UTC
Forum: Coding
Topic: worst bugs ever (or your most hated)
Replies: 196
Views: 21011

Re: worst bugs ever (or your most hated)

I once spent hours trying to locate a bug in some C code. It kept seg faulting, and I didn't know why. I threw in a printf. It printed what it should have, and didn't seg fault. I took out the printf. It seg faulted. So I made it print out an empty string and went on my not-so-merry way. I don't kno...

Go to advanced search