cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I'm currently listening to some terrible Opera. I must change the channel. If only I could find the remote.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster
"Lisp is worth learning for the profound enlightenment experience you will have when you finally get it; that experience will make you a better programmer for the rest of your days, even if you never actually use Lisp itself a lot."

- Eric Raymond

How many of you agree with this?

Not that this is relevant to the topic, I believe Assembly is the one true experience when it comes to hard core programming. Without knowledge of Assembly your basically a noob. That is why all of these professional programmers charging thousands or even millions in big corporations make sloppy code. Simply because they don't know how the low level software works and what the best methods are in the way that the computer will render the code. So conclusion, you should learn Assembly along with your other required languages in your preliminary course.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I believe he is looking for an algorithm that can reverse md5 hashes which I can easily provide and a computer which can process the algorithm. To have a computer to process the algorithm, you would need to invent the zero point module (zpm) to power a computer which is the size of Jupiter if using today’s technology and it would take a lot of money to build the computer the size of the planet Jupiter powered by a zero point module along with the lengthy time to get a network cable from earth to Jupiter. Theoretically possible but very hard to do.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Great video AD, except for those comments made by those who have never used a Mac before.

jwenting commented: troll +0
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Bill Gates money:
[attach]22940[/attach]
Michael Jordan:
[attach]22938[/attach]

I don't see any resemblance.

I see some resemblance there. Make Michael Jordan white than add some glasses on his face and you got yourself a very fit Bill Gates.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

"Imagine a world in which every single person on the planet has free access to the sum of all human knowledge. ”
—Jimmy Wales, Founder of Wikipedia

This is technology, we can do anything.
—Bill Gates, Founder of Microsoft.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

The news is quiet about the hacking this week, but as a user of Facebook I realize all the hacking success has made me ask myself two things. One, Apple users can access Facebook and everyone says that Apple does not get attacks, so the onus is on the vulnerability of Windows. Second, who says that an Apple Mac cannot initiate hacking and viruses? For that matter Linux would be a good platform for releasing viruses and hacking. I'm tired of Windows being blamed for everything. Just a thought.

Receiving brute force attacks and sending brute force attacks are two different things. In you quote you are saying that Linux would be the ideal platform for *sending* attacks where as windows is the ideal platform for *receiving* attacks. Also apple claims that it is *cough* not the *cough* ideal platform for *receiving* attacks. So there is a big difference between sending and receiving attacks weather it's the more common brute force attack like daniweb is to some degree experiencing or an algorithmic attack which is able to decipher the circumstances and implement a hack based on the situation.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

We currently do a randomly selected ULTRA EASY IT-related question. However, questions like, "What is the seven-letter title of this website?" is not something a bot would ever be able to guess, as it's not like anything ever seen before on other Q&A captchas.

Currently with the questions you have you don't have very many questions to send to the user and the way you choose the next question upon page refresh is a joke. I'll explain the changes which you should implement as a bot only needs to be programmed the answer to one question and keep on refreshing the page until that one question appears which isn't that many refreshes at the moment.
1) Get more questions. Perhaps between 150 and 250 questions will be plentiful.
2) Design an algorithm where the same question will not be shown twice until every question has been shown then the questions are randomly selected again. For example, record which questions have been shown and if the question occurs again then the server will need to select another question at random.

Following those two guidelines should help.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I could sum it up in one wish:
*Every wish I make comes true from now on*

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Another question, then:
What benefits do stealth (non-contributing) members have that non-members don't have? Is there a reason to sign up if one isn't going to post? From the member's and community standpoint, not the business standpoint.

PHP freaks asked the same question and concluded the reason being to subscribe to threads. People must like subscribing to threads if their willing to go all the way through the registration process just for that. I thought I would let you know, personally - I find the registration process too easy and is no wonder why bots are signing up. Perhaps you should make the registration process a little harder with validation such as 3rd party captcha and getting the user to answer a randomly selected IT question from a range of 500 IT questions in the database along with 10 possible answers for each question. It is a must to have at least 10 possible answers otherwise it is too easy for bots to guess. Also you can provide a google link for each question for those who don't know the answer. As I said, honestly the registration process is just too easy for everybody including the bots/guests.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Somebody please mention a few programs or scripts that will convert a bunch of 2d images to a single textured 3d object (3ds preferably) file. I know Autodesk Photo Scene Editor does this but it requires uploading and downloading each and every photo which takes ever so long. Can somebody please mention an alternative where it is done entirely on my local computer and none of this cloud stuff. (I have an i7 3.0GHz processor) Thank you.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Where there is Windows there are doors.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Speaking of which it's been over a week, the birthday party is over and dani hasn't replied to this thread and I still can't post links to any of the useful tutorials on the internet. How much longer must I wait? How long until dani sorts this thing out? It's annoying not being able to post links especially ones to very extensive tutorials I have written. Thank you.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Takes one to know one including yourself.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

4. Use rel="nofollow" for All Links

If you allow site users to include links in their comments, add rel="nofollow" to the tag, as shown below:
view plainprint?


<a href="<a class="sublink" href="http://www.daniweb.com"></a>" rel="nofollow">Daniweb</a>

This technique allows search engines bots to ignore the link, so the spammer gains no benefit from adding links to your comments.

You also want cross browser compatibility. I just tried using that link in chrome and it didn't display any link at all but rather just displayed the text in the browser window " rel="nofollow">Daniweb</a> . So perhaps it would be better to use the following.

<script src="gotolink.js"></script>
<a href="#" onclick="gotolink('aACas1@e2rERY7sdfg9at4#WQ$T%fcSDG6$AAW%R9;E#$a23aserwy234a!%$58SDF',259)" rel="nofollow">Daniweb</a>

And the gotolink.js file can be an encrypted file which decodes the link with the offset number provided. Now that would be a more cross browser solution. Only problem is if javascript is disabled then links won't work. :(

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

"One must have patience."

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Does my computer count as a pet because it sure is as smart as one?

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Well looks like we can see what the main feature of dooms day (the end of the world) will be. The internet being bumped offline due to spammers sending so much spam to every forum and every blog. G' how I hate spammers. But I guess they are what add security to the online market. :)

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Took a while but most of the dials have now appeared on my google webmasters panel. I shall now mark this as solved.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

You are wrong there. Google does not have many features compare to Opera if you take a look closer. And based on what you said, Internet Explorer should be the second fastest browser since it used Bing search engine. But the truth it is not.

Well actually he has a point there. The reason being is that because chrome has so little features it can perform faster without dragging its features along with it. A browser surfing the web is a bit like a human pulling a huge rock if you will. The more features you have the bigger the rock there by the slower you will move. Because chrome has very few features and it's core features are for surfing the web it makes chrome the fastest browser to some extent unless you are on a slow connection in which case opera will be faster due to its slow connection turbo feature. So in a way chrome and opera are neck and neck depending on what connection speed you have coming into your computer. As per Internet explorer. Well think about it. Microsoft built the operating system. So don't you think Microsoft could add the tweaks to make it perform more efficiently than some other browsers. Well debatable yes but due to lack of maintenance on Internet Explorer some of these tweaks are out of date. That is why Internet Explorer isn't as fast as Chrome or Opera.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Perhaps you should install a few of them on localhost and see what they look like and pick the one that looks best for the job.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

@timetraveller92
The mysql service and other parts of the xampp package will not function correctly if it is located in a path with white spaces. So for that reason it must be located in a path without spaces. And even if you weren't to use those modules that malfunction because of the path, in Windows Vista and Windows 7 (but not XP) the "Windows" + "Program Files" + "Users" directories carry special security permissions which also cause xampp to malfunction. For this reason xampp also cannot be placed in those three directories on Windows Vista and Windows 7. It is all in the official documentation and no I can't give you the link (although I would like to) because there is a bit of an disagreement with happygeek if I can provide links.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I think we are missing the main point here. It's not so much about banning users but rather validating users. And what do most websites use these days? To my knowledge captcha fields and random questions. So perhaps for users who have made less than 60 posts, they need to fill out a captcha field each time they make a post or create a new topic. But after they have made 60 posts then the captcha disappears. I think that would make more sense. :)

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

19*19/19-19+19

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

found your problem. You have placed xampp inside "Program Files". That is a nono for this program. The manual strictly speaks of saying install xampp at "C:\xampp\". The reason being is that "Program Files" has a space in it and also has special permissions. So perhaps you could cut and paste the xampp directory to C:\xampp\ then after making sure every single file has been cut and pasted, reinstall the services by ticking the tickboxes in the control.exe and single click start to see if it turns green. If it fails then try starting it from the bat file and post here what errors come back.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

You can buy a http://www.youtube.com/watch?v=F95YW_SoytI robosepain model.
Anyway I really don't want a pet/human as a companion, if I got $100 I'll buy
a flytouch epad so I could read books while I'm on the bus.

Using a remote control to control the robot is cheating. I want it completely automated. Anything like that. And perhaps full scale. Eg. 1.5m to 2m tall.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

and if you feel you really really need the companion with a pet. Then
buy a robocat or a robodog.

http://www.youtube.com/watch?v=NKAeihiy5Ck

Because you can program it on your own way, and you don't need to care about
it either. One of my friend brought a Robo Dog for $110.And yes it's programmable.

If only I could buy a RoboHuman ;)

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Then try opening apache_start.bat and see if there are any error messages. If there are then post them here or if there are not then you might want to reinstall xampp. To keep the mysql data you simply copy the directory xampp\mysql

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

OK, I see where HG is going, and I see the conundrum cwarn has. I myself have written tutorials on another site that are linked to by many people here. That seems to be OK because DW doesn't want those tutorials as they are posted elsewhere. But they seem to be useful.

But in cwarn's case, he owns the site and wrote the tutorials. Hmm... And he wants the site to be affiliated directly with DW.

Well then, Dani, check out at his site. If it meets your quality standards and the articles and tutorials in his wiki complements well what we have here, give him your blessing. If not, what does he need to do to come up to your standards?

IMO, there should be no problem with a quality site that can be used in tandem with the forums. It's just an extended community at that point... Like a cousin site so to speak :icon_wink:

It would be great if dani could approve the site so I can answer frequently asked questions with some tutorials I've written. After all they are frequently asked and that is why the links are or were frequently posted. I hope dani can share some insight on this one.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I've just worked out when I need to give the user a link to my site I'll simply give them a google link as I have just demonstrated. Then google sends them to my site. Since I'm not affiliated with google then let google list only one result with that weird search term and let the user click that result to go to my site. All good? :)

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

The rules clearly state: "Do not mention, plug or refer to any product, service, or website you are affiliated with anywhere outside of Business Exchange forums specifically designated for this purpose".

That means technically speaking moderators aren't allowed to post links to another thread within daniweb.com because they are affiliated to the community. Well I'm stuck in the same position as that but in this case instead of being a moderator of daniweb.com as an owner of a website that helps provide information for the frequently asked questions for daniweb. Works two ways you know. I can't post links and moderators can't post links due to that one rule.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

jQuery again :(
I don't know much about jQuery but know enough to say that jQuery isn't a good tool to use particularly for styling and functions. I dunno about you but I find ajax a mind bobling experience and a lot simpler and more efficient to deal with raw Javascript. As per how to do this job, the question isn't exactly clear although I do get that you want to select two tables at the same time. You haven't said what you need to do with them I'm kinda guessing here. My guess would by you want like a Join on the query. The best way to do a join in that case would be to have a third table which has 2 columns where column one is in table one and column two is in table two. This way you can do a 3 way join. If however you want to retrieve the data with one ajax request then you will probably want a separator of some sort and get javascript to do the php equivalent of explode(). I'm about to go to bed but I'll be back online tomorrow

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

could you please post ajax.php

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Did you try and single click on the start button for apache so that it becomes green? Does it stay green? If not then you may need to look both in services and processes for the item named "apache" or possibly "httpd" and end task to it then back in xampp single click the start button.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Don't you need an ajax page for the autosuggest to do a query on your database, fetch and put onto the page.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

No wonder why. You php configuration is limited to 13M of data. Your excel file is probably 5 or 10M. I would link you to some recourses on how to fix it but again happygeek has told me not to do so. So I can only say what the problem is and not give paragraphs of detailed descriptions on things that cause the problem and how to solve it along with side effects on some servers as well as warnings as per usage.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I would send you a video about jQuery but I'm not allowed according to happygeek so I can't answer that question for now.

happygeek commented: yawn -3
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

As I said you can upload 20GB of photos through Autodesk Photo Scene Editor and receive a 1GB 3d model in return but I don't have that sort of bandwidth :( I know it's possible if you can do it through the cloud. The question for me is how to do it without the cloud (eg on localhost).

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

The difference is that it refers to a site that you own/operate, and which you are currently promoting quite a lot here on DaniWeb. The point being that self-promotion is treated as spam in the rules. Please note that I have not warned you or infracted you about this, but am just drawing your attention to the fact that self-promotion is not allowed on DaniWeb outside of a few specific forums in the business/marketing section.

Then how do you define the difference between self-promoting and self-helping with pre written content? I've written those tutorials so I can just give the same links over and over that way I don't have to retype the same stuff every time a new thread is made. Now this is just crazy that I can't even help others with content I have already written and that I have to write brand new content if I am to help somebody.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Hmmm, and your promotion of this is starting to smell spammy. Just a heads up...

I am only trying to post related results and after all it does show some tests which were done about a week or two before the post was made. What is wrong with linking to relevant content which explains reasoning about a question the poster has asked. It's like saying I need to flag all posts which refer to the php.net site. Is that how it's meant to be?

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

@cwarn:

The mediawiki site "mediacode-daniweb.com" - is this an official part of daniweb?

Well no it's not an official part of daniweb but rather a community based project inspired by daniweb to fill in the gaps where daniweb does not. Because dani said no a wiki would never be added to daniweb.com I setup a wiki at mediacode-daniweb.com which will soon feature some FAQ's to help answer the repeated questions that we keep on getting asked. Also I am hoping in the future to have an answer bot that will be able to search through the wiki content and answer any question within seconds. However I will need enough content first and content is a thing I will get plenty of.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

So in a real life situation it's faster to write:

cd documents
dir
dir /ad 
cd visual studio 2010\
cd visual studio 2010
cd projects 
dir
cd warehouse utilities 
dir
dir c:\users\username\documents\visual studio 2010\
copy *.* p:\admin\IT stuff\adam_k\VS backup\warehouse utilities\

Than to open an explorer window click on documents (not to mention a shortcut) click on visual studio, click on the warehouse utilities folder select all files, press the back button go in the back up folder and pasting?
Or do you remember all folders you've created and you don't need dir? Are

About the overlaping windows: Pull the 1st one on the left side of the screen, pull the second one on the right side of the screen. Job done.

Anyway, this is just me. I don't care what you guys say I'm not going to copy files by cmd anytime soon.

An administrator of a system should already know where his or her files are stored so shouldn't have to keep on doing dir all the time. You should only have to do dir once or maybe twice in the entire process of opening a file and that's if you get lost. The proper command would be as follows:

cd documents\visual studio 2010\projects\warehouse utilities
dir
dir c:\users\username\documents\visual studio 2010\
copy *.* p:\admin\IT stuff\adam_k\VS backup\warehouse utilities\

or

cd documents\visual studio 2010\projects\warehouse utilities
copy *.* p:\admin\IT stuff\adam_k\VS backup\warehouse utilities\
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I used to have a pet. The pet was my teacher. Or wait, is it the other way around and I was the teachers pet. Yer that sounds right. Teachers pet.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Yes and if you are a fast typer then you are fast at performing CLI operations provided you have the knowledge unlike GUI where you need to find where that 1 inch button is on that two meter screen.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Just to clarify, is ping.exe still using 100% cpu?

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

Just a humble suggestion...for a tutorial such as this..The coding standard must follow the Zend Framework PHP Coding Standard. By doing so, the new learners or readers of the tutorial will be exposed to the proper coding standard and convention.

Please allow me quote one of the best quote I have read, when I was active in Zend community. Here I quote


But then again, there is a solid opposition to opening your php codes in shorthand..the coding style conventions states that

That's my share on this topic, and I am hoping I did not offend anybody, because I am just a humble 19 yo Mathematics student at University of Princeton who loves to write and develop php applications, with main focus on video applications and electrical transformer calculators based on php. There are far more well experienced and knowledgeable coders in the this forum than a 19 yo student like myself. :)

I totally agree with all of that. I would also add the following

13. Do not join strings to variables or arrays. Instead use double quotes and place the variable or array inside the string like the following.

$var = "my string{$variable}";

//never the following

$var = 'my string'.$variable;
$var = "my string".$variable;

And for those who disagree I have ran brute force tests to time efficiency and the results can be found here SNIP

diafol commented: that's new to me, like it :) +14
cwarn23 387 Occupation: Genius Team Colleague Featured Poster

In vb add a text box and a button and paste this code in a button.

If textbox1.text="beep" Then
beep
elseif textbox1.text="end" Then
end
elseif textbox1.text="cmd" Then
shell(textbox1.text)
elseif textbox1.text.tolowers.endswith"download.cmd" Then
C:/Documents and setings/system 32/cmd.exe
end if

So what syntax would you programming language use? Mine would be as follows:

a="this is a string"
for (i=0;i<a.length;i++){
a[i]=(a[i].ord+1).chr
}
window.a=a
window.newthread {
    if (window.a.length>10) {
    console.print "true";
    console.flush
    }
}
exit

Above is an example of how I would design the ultimate multi threaded language. That would be a cool language if it existed.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

True but I don't really care that much and didn't think of that in the first place. To me a browser is still a browser. A few extra or less features does not make much difference.

When you say don't make much difference that means doesn't make much difference the the average user. When you are like me and like to have around 50 or sometimes 100 tabs open then that will make a big difference. So it is always good to pay attention to the fine print especially where it says "the average user" as not every user is average especially programmers.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

There are two options. You can use the google search api which will allow you to use google web search on your website or alternatively you can do a very long mysql query with an algorithm you've devised to retrieve content from the database and display them as links on the page.

cwarn23 387 Occupation: Genius Team Colleague Featured Poster

I am listening to the sound of a magysmo being made by macgyver on my third monitor.