Open Side Menu Go to the Top

05-29-2013 , 11:07 AM
Quote:
Originally Posted by jjshabado
Yes, they could be much different. One could involve protecting intellectual property and one could be a puppy.

Its kind of hard to take you seriously when you make statements like this.
...while it is a pleasure to discuss with you, when you care so much to argue what I actually was trying to say, instead of just nit picking my words.

Quote:
Oh, when you state it like this I'm convinced...
Okay, I'll put it (== how I understand it) differently. A software patent protects an idea someone had. Copyright protects the work someone did. Well, I might be severely wrong here. I simply haven't heard of a software patent that was reasonable/necessary. Also, even if there indeed is a case where software patents are necessary, because copyright is insufficient, then that's still no justification for how patents actually work, and for how harmful the patent reality is to innovation.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
05-29-2013 , 11:13 AM
Toedder, we covered that a bunch above.

Edit: There are also a number of assumptions in your post that I disagree with. But the general consensus seems to be to end this discussion here. Feel free to start a thread in politics and I'll happily argue with you there.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-29-2013 , 11:22 AM
Non, merci.

I didn't see the posts that agreed to end this before posting that. I'll happily let it die, and it's probably a very good idea
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-29-2013 , 01:28 PM
Quote:
Originally Posted by jjshabado
Metrotown - I'd lean towards doing Bachelors+Masters, but from a purely financial perspective it probably won't be worth it. I don't think a lot of places pay more for a person with a Master's degree in CS and so you're giving up a year of employment as well as the cost of your tuition for not very much gain in future earnings.
Interesting. Wouldn't have thought that there wouldn't be much gain in earnings. I think there is a big leap in understanding in the topics you are focusing on after a bachelor's vs after a master's based on looking over the curriculum. I suppose its entirely possible to get that understanding from industry. Something to think about.

As far as the added cost, I am fairly certain I can get the master's covered by a fellowship/TA position so it is really just lost earnings for September-May. From a personal perspective, I think I am going to want to learn more and earn the Master's (I'm already looking at ways to squeeze in extra CS classes I don't need in undergrad), but at least if it is close financially I won't feel bad if my desires change as decision time nears.

Thanks.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-29-2013 , 03:41 PM
Quote:
Originally Posted by TheMetetrown
Interesting. Wouldn't have thought that there wouldn't be much gain in earnings. I think there is a big leap in understanding in the topics you are focusing on after a bachelor's vs after a master's based on looking over the curriculum. I suppose its entirely possible to get that understanding from industry. Something to think about.

As far as the added cost, I am fairly certain I can get the master's covered by a fellowship/TA position so it is really just lost earnings for September-May. From a personal perspective, I think I am going to want to learn more and earn the Master's (I'm already looking at ways to squeeze in extra CS classes I don't need in undergrad), but at least if it is close financially I won't feel bad if my desires change as decision time nears.

Thanks.
You will learn a lot more in the first year of working than 1 year masters program. you can always come back for a masters after getting experience and narrowing your research area.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-29-2013 , 06:00 PM
Quote:
Originally Posted by TheMetetrown
Interesting. Wouldn't have thought that there wouldn't be much gain in earnings. I think there is a big leap in understanding in the topics you are focusing on after a bachelor's vs after a master's based on looking over the curriculum. I suppose its entirely possible to get that understanding from industry. Something to think about.
I don't have a lot of experience with this (since I only have a Bachelors) but my old company use to treat Masters grads the same as Bachelors and would hire PhDs as one level above non-PhD grads (worth maybe $10k/year). That difference quickly went away as they'd promote people (or not) pretty quickly based on merit.

I took a few Master level courses and they weren't that different than a lot of the senior undergrade CS courses (often they were just cross listed as both). So if your Masters is just course work I'm not sure you'll learn *that* much more. Although you have an extra year of taking courses so that could be worth it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-29-2013 , 10:55 PM
What Top Ten CS school are you going to?

Doesn't that mean you get to learn Lisp, Python, x86, and Algo?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-29-2013 , 11:00 PM
intern season: i've never felt older.

"so i guess i'm the only one at the table not old enough to drink?" yes, sweetie. yes you are.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-29-2013 , 11:00 PM
PHP / CSS problem:
I'm doing my final project for my php/mysql class and I just ran into a weird and unexpected bug. From what I remember of last night at 2am I was making a bunch of changes on the front end from my .css file. This file starts with <style> and ends with </style> and is required_once from my headerScript.php. Anyway, after making changes to that file and some other changes mostly with boxing stuff in divs I now get an error whenever I logout or login to my page because after doing either of those I redirect. It was all working great before but now I get this message:
Quote:
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\Project6\Styles\styleNew.css:245) in C:\xampp\htdocs\Project6\Logout.php on line 14
If i change that .css file to this:
Code:
<style>
	
	*
	{
		float:left;
	}
</style>
I no longer get that error message however the site then looks like trash. Any Ideas? Also I mean I have been googling it and I know it has something to do with my sessions but I dont get why the css file would change any of that.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-29-2013 , 11:37 PM
Quote:
Originally Posted by Ryanb9
PHP / CSS problem:
I'm doing my final project for my php/mysql class and I just ran into a weird and unexpected bug. From what I remember of last night at 2am I was making a bunch of changes on the front end from my .css file. This file starts with <style> and ends with </style> and is required_once from my headerScript.php. Anyway, after making changes to that file and some other changes mostly with boxing stuff in divs I now get an error whenever I logout or login to my page because after doing either of those I redirect. It was all working great before but now I get this message:
This won't be much help for your problem right now, but I'd really recommend using version control.

Then you could easily revert to the old version, and if necessary you could apply the changes one by one to figure out exactly which change between the old version and new version caused this problem.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 12:14 AM
Check line 245 of styleNew.css and line 14 of Logout.php to make sure you aren't sending any output before you make the redirect (assuming you're using header( 'Location:....)).

This is generally the reason for that error (taken from stackoverflow b/c im lazy)

Quote:
HTTP headers cannot be set after the server has started sending the body of the HTTP message to the browser. If it's called after the HTML page has begun to be sent to the client, then it's too late for it to set headers and you'll get that error/warning.
Also, if the only thing that Logout.php is doing is unsetting/destroying the session and redirecting, you don't need to include the css file.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 12:58 AM
Quote:
Originally Posted by txpstwx
Check line 245 of styleNew.css and line 14 of Logout.php to make sure you aren't sending any output before you make the redirect (assuming you're using header( 'Location:....)).

This is generally the reason for that error (taken from stackoverflow b/c im lazy)



Also, if the only thing that Logout.php is doing is unsetting/destroying the session and redirecting, you don't need to include the css file.
I started programming with C++, then C# and now im taking a php class so all my actual webpage files naturally begin with ~10 require_once('etc')'s (include / using). I spent an hour today looking thru those includes for where I was sending any output and Idk why but when reading ur response it occurred to me that I might be able to check the $_POST at the top of my php page and call the redirect there before any of my requires. That seems to have worked although I think it looks like **** visually. As far as what is 'standard' or 'custom' in the web-dev feild, is this okay to do? Or should requires be the at the top of the page
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 08:31 AM
Quote:
Originally Posted by tyler_cracker
you see, tyler, the problem isn't with the tool, it's with the carpenter. if you're going to use php, stop being lazy and just pick up a little hebrew. the error message is perfectly clear, php does not need to be changed, programmers need to change their attitude, stop complaining about things they don't understand, and learn a little something called work ethic!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 09:12 AM
was just playing around in this site and the results seemed wrong to me:
https://howsecureismypassword.net/

I entered a randomly generated 8 character string containing [a-zA-Z0-9]. It's claiming 15 hours to crack, and "4 billion calcs per second". But clearly it's not able to test 4 billion hashes per second, even if they were with a fast algorithm like md5. 4 billion sounds like the number of elementary calculations per second, which has pretty much 0 relation to password cracking. This just seems wildly inaccurate. Thoughts?

** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 10:10 AM
http://www.golubev.com/hashgpu.htm

Using desktop GPU you can crack 5600M/s (MD5, ATI HD 5970). I believe that figure means 5,600 million per second (5.6 billion).

That website doesn't make much sense to me though, there's not a relationship between your password strength and how long it takes to crack, the relationship also strongly depends on how your password is stored.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 10:40 AM
I didn't realized GPU were that fast. I guess it means "if your password was stored using md5 and the hash file was compromised, how long would it take to crack"

As you say, it's a specific case and by not means a good proxy for actual "strength". Still, it's surprsing that with md5 even an 8 character random password is very weak
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 10:44 AM
Phishing site?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 10:57 AM
doubtful
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 12:06 PM
Quote:
Originally Posted by Ryanb9
That seems to have worked although I think it looks like **** visually. As far as what is 'standard' or 'custom' in the web-dev feild, is this okay to do? Or should requires be the at the top of the page
Stylistically speaking the thing I would look to correct is that the file you are requiring shouldn't be directly generating output. have whatever code sends output in a function or class and call it.

Also, if you don't think the required file is actually intending to output anything, check for extra white space after the closing PHP tag in the included file:

--- start of file ---
<?php

function stuff_is_here($blah)
{

}
?>

----- end of file ---

because it will end up sending that extra newline as output which will prevent header() from working.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 12:19 PM
Quote:
Originally Posted by gaming_mouse
you see, tyler, the problem isn't with the tool, it's with the carpenter. if you're going to use php, stop being lazy and just pick up a little hebrew. the error message is perfectly clear, php does not need to be changed, programmers need to change their attitude, stop complaining about things they don't understand, and learn a little something called work ethic!
l'chaim!

Quote:
Originally Posted by suzzer99
Phishing site?
heh, wp.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 12:36 PM
The nice thing about PHP is that it is one of the few languages you can successfully write in Notepad++.

The silly part is that I don't find that particular function that bad.

... and by function I mean error.

Last edited by daveT; 05-30-2013 at 12:47 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 12:51 PM
right, there's lots of other better things to hate in PHP
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 01:43 PM
That was my favorite PHP error until I found out about this one:

http://phpsadness.com/sad/16
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
05-30-2013 , 02:56 PM
CSS help needed again ...

Imagine i have a table with 1 row and two columns. That table is echo'd to the page like 10 times (each one is a user's post). On the left column, is the users info sameish look as these 2+2 posts. How can I make the left column width's of all these tables be the same (i.e. left column width is probably the width of the largest left column, and the right column width is w/e is left over from 100%).

Plz dont say "just make them all 1 table" >.<
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

      
m