- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 17
- Posts with Upvotes
- 13
- Upvoting Members
- 13
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
i am a carefree guy who loves reading and learning new things. graphics is my passion although when not doing any thing i like to build amp for my firends
- Interests
- Electronics, web and 3d (blender 2.6)
- PC Specs
- wind 8
70 Posted Topics
Hi guys have a python software that i want to freeze for distribution. The problem is after freezing it with cx_freeze and i run it, it works fine on my development computer but when i sent it to my testing computer (window XP sp3 32bit) it give me this error … | |
Re: You are using ajax to submit for data so do this: 1. Remove `action="Registration" method="POST"` from your form tag. 2. Change `type="submit"` to `type=buttom`. 3. Check your url again `url : "Registration"`. if it is a file should it end with jsp or a file type. eg: `url : "/Registration.jsp"` | |
Re: try [Ananse](https://github.com/Oteng/Ananse) it is an internet download manager i am working on | |
To download streaming videos on window is very easy after all there are so many softwares to do that for you but on linux it is not soo easy. There is howevery this command line tool that helps you do this [youtube-dl](https://github.com/rg3/youtube-dl. But this command line tool lacks some features … | |
Re: I think there is. most of these cloud services provide you with public url for accessing you file. so i think the way to go is manually generating these url and putting it in ur web page | |
Hi guys i have an sql query string that in my view there is something wrong with it but i an handicaped since i am very new to sql so my question is, is there any way of optimizing this query string select t1.cat,t1.site from (select cat,site from news where … | |
The whole idea is your email is stored on your local computer and that of your recipient's. This is how it works: first the user downloads and installs the email server on his machine. Then create a private and public keys for encrypting his/her data. The user then registers his … | |
Re: You have create the `calcTaxes` but you are not calling it. i think you should do it like this: var calculate_tax = function() { var total; var income = parseFloat( $("income").value ); $("tax").value = calcTaxes(income); console.log(tax); function calcTaxes(amount){ var calculate = 0; if(amount > 85650){ tax = (amount - 85650) … | |
Re: Not be living in God (Jesus) or heaven is a consure effort but the fact is there is a God and there is heaven and we know this because our heart tell us so. If there is know God or heaven why do we feel the need to do good … | |
Hi guys i am using sax to extract data from an xml file but i can't seem to discover how to extract <![CDATA[%s]]> from the xml below is the xml and the java code //java codepublic class XmlParser { public XmlParser(String xml) { try { SAXParserFactory factory = SAXParserFactory.newInstance(); SAXParser … ![]() | |
Re: the ideas are sooo many i don't know what to do. i thing doing a mobil app and a desktop app that sync together and danweb to keep you up to date what do you guy think | |
Re: Surround the whole object with an a tag or since the logo is a flash object u can use actionscript to add a click event | |
Re: U must remember that parseFLoat convert a string to a floating point number any thing else and it will return NaN [more on parseFloat ] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseFloat) at line 18 of your code u are trying to convert to float a value that is already a float so remove the … | |
Re: Have you cleaned the laptop recently. I think it has to do with dust. Open the laptop and clean the fan also clean the heat sink. After that oil the the fan and let see if it works | |
Re: As JorgeM said your best bet is to use session data. if the preson posting is a user them my advise to you is when a user login store a reference to the user's db in the users session data example will be the user's db id then you can … ![]() | |
var getDataFromUrl = function(url) { rest.get(url).on('complete',function(data) { if(data instanceof Error) { console.log("url error"); process.exit(1); }else {return data}; }); }; when this function (getDataFromUrl) is called by another function it return undefine what is happing | |
Hi guys Happy New year. I miss you all :), that is just by the way. I am thinking of building a CMS with nodejs ana i will like your take on it? First of all i have seen other simlly projects but they are all fixed in the type … | |
Re: i want you guys to give me an idea for a game, thus if you will like a game for your phone this 2013 what game will it be and how will it be like. i want to try my hands on game making but i can't seem to get … | |
Re: def getInput(): hours = float(input('How many hours did you work: ')) while hours < 8 or hours > 86: print ('Error- Hours must be at least 8 and less than 86') hours = float(input('re-enter hours workde: ')) rate = float(input('What is your hourly rate?: ')) while rate < 7 or … | |
Hi guys, i am working on a project the need me to convert a compressed obj file using webgl utf-8 compresor [webgl-loader](https://code.google.com/p/webgl-loader/) back to it acsii version. I will like someone to point me in the rigth direction. i am comfused as to how to do the decompression ![]() | |
Hi guys i will like to know how to reprecate fseek(fp, -1) in C to python. Thus send the read head a charactor back | |
Re: it is good well done i will encorage you to keep on working hard and trying new stuff that is the only way to learn. and also try hard to answer other peoples question you find out that you will be learning more | |
I went for an interveiw yesterday. and in my cv i had a link to my endorsment page. To my supreise i pass, all the others had better cv than me but i pass. I had something all of them didn't have endorsment from people i did not know and … | |
Re: We don't do home works here. But as a way of helping 1. first creat a list of all posibly morpheme. 2. when a verb is given to your programe it should split the verbs into it morphemes 3. according to what you want to analyse store the 4. number … | |
hi guy, i have created an app why my beloved python. i have frozen it using cx_freeze for easy distribution but the problem is, on my development computer (win7) it runs perfectly but when i send it to a testing pc (windows XP sp3 32bit) it give me the error … | |
Re: Hi we don't spoon feed people here this is a site for learning and developing your self. We help you to learn so you can intern teacher other here. So my advice to you is try to code some thing and when you run into problems then you can post … | |
Hi guys i have created a python 2.7 application using PyQt4 and Pyttsx. PyQt4 is a crossplatform GUI library and pyttsx is a text to speach library the code can be found [here](https://github.com/Oteng/timeTracker) Pleace if you have a comment of imporovement let me know thanks | |
Re: google has a free search engin you can you. also try searching the web you will get prenty open scoure out there | |
Wrote a peice of code that does something uniquc in my point of view. After that i was so excited that i published it. Only to find out that it contain a bug. By the way the bug was very defficul to spot. and by solving the bug i reworte … | |
this is a very simple app the helps yous to keep track of time. It says the time very 15 minits, by the way you can change it. it uses pyttsx which can be dowloaded and install. copy this code and save it as sayTheTime.pyw and double click it. it … | |
Re: first of all determine the value of the first state you want to represent. in this case the first state becomes index 0 and next index 1 and so on. now write a function that takes a value and compute it index or better still find a constant such that … | |
class Frame(Widget): def __init__(self, master=None, cnf={}, **kw): what is the meaning of **kw in this function, and what does it represent? | |
my question is, how do i use python to check a web site to see if it has an rss feed link and return that link | |
what is the meaning of `fseek(file, -4, SEEK_CUR);` | |
Hi guys i know that in linux you create a c file and use make or gcc or clang to compile it and then run it. My question is how do you run a c file or c++ file in vs2012 with out creating a solution. Also how do you … | |
I want to do and internet radio and i need someone to point me in the right direction that is, what technologies to use and also useful links and book. thank you | |
Re: I have been around not very long. I learn pretty much every thing i know about programing form the web and sites like daniweb helped a lot. comparing a site like daniweb and an other popular site stack overflow ... I will pick daniweb any day. for two main reason. … | |
Re: i don't realy get your question but i thing this can do. first creat a loping contract that loop over the individual letter in the string using for i in userID """ code here""" than use `i.upper()` to change the letter you want to upper. By the way there are … | |
Re: #ifndef HEADER_IOSTREAM_H #define HEADER_IOSTREAM_H #include <iostream> using namespace std; #endif // included the top so as to be able to use // iostream.h #define CF 0.15 #define DF 0.10 #define LB 5.00 #define OD 10.00 float L_balance = 0;// To store the end balance float T_service = 0; // To … | |
I have been around not very long. I learn pretty much every thing i know about programing form the web and sites like daniweb helped a lot. comparing a site like daniweb and an other popular site stack overflow ... I will pick daniweb any day. for two main reason. … | |
is `char** val` the same as `char* val[ ]` when is the formal ( `char** val`) used | |
| |
Re: @jville kip, i know it can be very deficulte when staring out with progarming but the fact is you will never know ontill you try. we are here to help you but not to spoon feed you or do your work for you. | |
Re: if i understand you correctly, you have files, test1.data1 in directory test1 and test2.data2 in directory test2, you want to copy the items in the files to test3.data3 in directory test3 and test4.data4 to directory test4 if so then the following code should help filename = raw_input('enter the input file … | |
Re: your question is not meaningful. what project do you intend to do? try out the project when you get stack them you let us know so we can help you | |
<?php header('Content-Type: application/xml'); $tmpFile = 'tmpFile.txt'; $val = $_GET["http://rss.news.yahoo.com/rss/us.rss"]; echo ($val); $curlHandle = curl_init($val); $filePointer = fopen($tmpFile, "w"); curl_setopt($curlHandle, CURLOPT_FILE, $filePointer); curl_exec($curlHandle); curl_close($curlHandle); fclose($filePointer); $linesArr = file($tmpFile); foreach($linesArr as $eachLine){ echo($eachLine); } ?> I don't know why this code is not working. Can someone help me ![]() | |
Re: try this function nxtimg(contry){ document.getElementById("imgcou").src = \""images/" +country +"/" + imgs[i] + ".jpg"\"; i++; } but i don't realy understand your code. what is the use of `imgs[i]`. if the onclick is trigered and the code runs. `i` will be incread and then the code exit. there must be a … | |
Re: as firstPerson said you can use google chart api to add a chart of successful stories to the site. you can also creat a page where jod seekers can offer short online course to inmprove their cv. also you can offer courses for employers also. by the way some of … | |
The End.