-
Gave Reputation to Reverend Jim in Looking for a particular type of functional programming examples
I took APL in my second year of Comp Sci and loved it. I used it on almost all my numerical analysis courses after that (I still play with it … -
Replied To a Post in Strassen Algorithm Multithreading using Callable (Thread Pool)
If you look at the `call()` else strassenMatrixMultiplication(A,B); return C; Nothing is being done with the result of `strassenMatrixMultiplication(A,B)`. All your `P# = future#.get()`'s are `0`. A few general remarks: … -
Began Watching Strassen Algorithm Multithreading using Callable (Thread Pool)
I'm trying to implement Callable for Strassen's algorithm to multiply two matrices. I'm new to this, and i'm having a few issues and I can't figure it out for the … -
Replied To a Post in If statement Error ?
I don't know why it does that. You can try checking the content of `pathItems` and see if it actually contains anything, but I don't know if you can do … -
Replied To a Post in Questions on the class
`this.age = (this.age * increment) + this.age;` So if I am **40** and the increment is **5** I would be (40 \* 5) + 40... talk about time flying. Why … -
Began Watching Questions on the class
Hi i have other problems in other class the questions is ** The Person class Create a class called "Person" that includes three pieces of information as instance variables: a … -
Replied To a Post in If statement Error ?
What is the content of `fillrmv[i]` ? Maybe it doesn't have a property `filled`. Is this scripting for Adobe Illustrator btw? Because I have no idea where you get things … -
Gave Reputation to Reverend Jim in Looking for a particular type of functional programming examples
>They also say that once you learn how to think the C way you'll be able to program in every other single language because they are mostly the same. That … -
Gave Reputation to rproffitt in Looking for a particular type of functional programming examples
I have to agree that the basics do help when you learn a new language. My first was Fortran which at the time there was no C language but there … -
Replied To a Post in Looking for a particular type of functional programming examples
Not a functional language, but Prolog is pretty cool. hanoi(1,FROM,TO,_) :- write('disk from '), write(FROM), write(' to '), write(TO), nl. hanoi(N,FROM,TO,X) :- N > 1, NMIN1 is N - 1, … -
Began Watching Looking for a particular type of functional programming examples
Hello people. I'm looking for FP examples that are very simple (very few lines, one-liners are even better) and that totally look like sorcery to a traditional imperative programmer. Can … -
Replied To a Post in If statement Error ?
Change `var fillrmv = curDoc.pathItems[0];` to `var fillrmv = curDoc.pathItems;` because you want it to be **all** the items and not just the first one. And change `for (i=0;i>fillrmv.length;i++) {` … -
Replied To a Post in If statement Error ?
I don't think you need `fillrmv` at all. Unless you want to store the `.length` in there or something. -
Replied To a Post in email(), but not receive mail
Yes, but, from that page: > All it takes is the right configuration (to send mail using a local or a remote server) So make sure that you include those … -
Replied To a Post in email(), but not receive mail
Well even the official [PHP mail](https://secure.php.net/manual/en/function.mail.php) page makes references to the PEAR package and encourages its use. Down in the comments there are some people who tinker with the php.ini … -
Replied To a Post in If statement Error ?
> Correct me but isn't that what the code is doing ? It's not. `if (app.activeDocument.pathItems[0].filled.length == true) {` This is saying, if the **length** of the "array" of the … -
Replied To a Post in email(), but not receive mail
Are you sure you are allowed to send mail from your server? Localhost can't on its own and most hosts block it. Maybe look into [using an smtp server with … -
Replied To a Post in If statement Error ?
Not so much what you're doing wrong is explained in the videos but why it doesn't blow up when you do that. Because in most languages it will blow up … -
Replied To a Post in If statement Error ?
> `if (app.activeDocument.pathItems[0].filled = true) {` A single `=` is used to **assign** a value, a double `==` or triple `===` is used to **check** a value. So basically in … -
Began Watching If statement Error ?
I was informed the if-statement is incorrect. I can't find the syntax error ? var curDoc = app.activeDocument; var selall = app.executeMenuCommand("selectall"); var fillrmv = curDoc.pathItems[0].filled = false; if (app.activeDocument.pathItems[0].filled … -
Replied To a Post in email(), but not receive mail
> I don't any edit button on the post? If you could edit it would still be a risk. Google will have indexed the page by now so people can … -
Replied To a Post in email(), but not receive mail
You can't send e-mail from localhost without an smtp server running and a lot of (free) hosts have it disabled by default. The free ones usually require a tiny payment … -
Began Watching email(), but not receive mail
function email($reqNo){ //Database Configurations $host = "some.url"; $username = "someuser"; $pass = "xxxxxx"; $db = "mydatabase_db"; //Customer Configurations $cName = null; $cEmail = null; $DBConnect = @mysqli_connect($host, $username, $pass, $db) … -
Replied To a Post in extract text from image
[Tesseract](https://github.com/tesseract-ocr/tesseract) 3.0+ should have Arabic support. It's in C but there are [wrappers](https://github.com/tesseract-ocr/tesseract/wiki/AddOns#tesseract-wrappers) for other languages, including two for .NET. If that proves too hard there is also a [JavaScript](https://github.com/naptha/tesseract.js) … -
Began Watching extract text from image
hi everyone I need your help in extracting arabic text from image using vb.net. I only found program for extracting english language text but not found for arabic. I used … -
Replied To a Post in Enabling JAVA
Same for [Android](https://play.google.com/store/apps/details?id=com.keepcalling.ui) But since it's a paid service, perhaps drop a message in their support box as well? They should be willing to help their customers I'd reckon. -
Began Watching Enabling JAVA
Have an online app "keepCalling.com" that allows one to make calls to land lines over the internet. Has worked for years but now I find that new devices after java … -
Replied To a Post in How to correctly sign an xml document with .PFX key?
> I followed your suggestion and tried to send just the xml (without envelop). Bad luck. No no, my point was that you might be signing the envelope and only … -
Replied To a Post in How to correctly sign an xml document with .PFX key?
You are computing `signedXml.ComputeSignature();` on line **26** and on line **30**. Is that intentional? I take it you mean these tutorials on [verifying](https://msdn.microsoft.com/en-us/library/ms229950%28v=vs.110%29.aspx) and [signing](https://msdn.microsoft.com/en-us/library/ms229745%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396). I only see it being … -
Began Watching How to correctly sign an xml document with .PFX key?
Hello!. I am trying to sign an xml with a key (.pfx) and when I sent it to who should receive it I get in response "Incorrect reference digest value". … -
Replied To a Post in Fullscreen editor
It does but not while typing or while in preview. Maybe I'm remembering it wrong and it never did that. I liked to select the language myself though. Unless I'm … -
Replied To a Post in Fullscreen editor
I mean that it's pointless typing in code longer than a few lines. There's a code block but that's it. No highlighting anymore, not even in preview. You can't select … -
Replied To a Post in Computer will no longer go to sleep with Windows 10
That happens a lot when you give them cookies right before bed time. It's something to do with the sugar, rookie parent mistake. Also check for running processes that cause … -
Began Watching Computer will no longer go to sleep with Windows 10
When I quit for the day on my PC I always used "sleep" instead of shutdown. The monitor would go black and after a few seconds the power would shut … -
Replied To a Post in insert job details
This $stmt->bind_param('ssssss', strval($title), strval($vacancy), strval($keywords), strval($location), strval($industry), strval($area)); $stmt = $conn->prepare("INSERT INTO 'job_detail' ('job_title', 'vacancies', 'keywords', 'location', 'industry_type', 'functional_area') values('$title','$vacancy','$keywords','$location','$industry','$area')"); Needs to be $stmt = $conn->prepare("INSERT INTO 'job_detail' ('job_title', 'vacancies', … -
Replied To a Post in insert job details
Now you went back a step again, directly inserting the `$_POST` variables into the query. Replace the variables in the query with `?` and bind them like: $stmt->bind_param('ssssss', strval($title), strval($vacancy), … -
Replied To a Post in Fullscreen editor
Is it supposed to be a feature that you can use the editor to edit multiple lines at the same time? By doing a `ctrl-click` you can get new cursor … -
Replied To a Post in insert job details
In your insert statement I'm seeing `indutry_type`, which I think should be `industry_type` and `Functional_Area` which should probably be `functional_area`. It's even better if instead of `mysqli_real_escape_string` you used prepared … -
Replied To a Post in insert job details
You're inserting user input directly into the database. In other words, any user who uses that form can do whatever they want inside your database. You should use [mysqli or … -
Began Watching insert job details
Hello to all, I am working on a project of job posting. There is a table in database. I have a html form and postcode.php (there will be code) , … -
Replied To a Post in introduction
> We commit to fairly repayment the money, in case of any awkwardness with assignment papers or you're not satisfied with our revision policies. Our professionals put all efforts to … -
Began Watching introduction
Hello, my name is Ethan and I'm currently working as a professional content writer, at Assignment Au. Usually, I write Business, marketing, Finance Etc assignments, dissertation papers, essays and so … -
Replied To a Post in Wording on Sign Up / Log In page
> Then Doubleclick was acquired by Google. Suddenly I needed a Google account to log into Doubleclick. Because Google (Dazah) was bigger and better known than Doubleclick (DaniWeb). I had … -
Replied To a Post in Wording on Sign Up / Log In page
I think if I wanted to sign up for DaniWeb any sort of redirect would put me off. I've been thinking about it and it seems to me it's about … -
Began Watching Wording on Sign Up / Log In page
Which of the following is the most intuitive? Which heading would encourage you to sign up (taking into consideration you arrived at this page upon attempting to join DaniWeb and … -
Replied To a Post in Need to extract data from an external XML file to use selectedf items on we
> If using js you may hit CORS problems with accessing external files. You're right. I didn't check if it was his own xml file he wanted read. -
Replied To a Post in Need to extract data from an external XML file to use on my website
> though you might want to open up a new question if you hit any issues Did you hit any issues with the libraries then? If so you might want … -
Began Watching Need to extract data from an external XML file to use on my website
I have found a source of and aledged xml file (although it is named as solarxml.php, when I download it the data that I want is there, i.e. solarflux, aindex, … -
Replied To a Post in Need to extract data from an external XML file to use selectedf items on we
Do you mean Java or JavaScript? Both is yes by the way. I'm guessing you mean JavaScript, have a look at the [jQuery library](https://jquery.com/) and specifically its [XML functions](https://api.jquery.com/jQuery.parseXML/). It … -
Began Watching Need to extract data from an external XML file to use selectedf items on we
I have found a source of and aledged xml file (although it is named as solarxml.php, when I download it the data that I want is there, i.e. solarflux, aindex, …
The End.