[Solved] Can I write an OS in machine code? [closed]

** yes you can but this is very diffecult for any one and if you do this what make programmers and all design programming lanaguages to make things easily comparing by machine code and this is project as you ask it’s an OS written in machine code it’s still under developing http://www.magicschoolbook.com/computing/os-project note : your … Read more

[Solved] Making RSA keys in Java [closed]

The problem is in the 4th from bottom line of code: System.out.println((noSuchProvdr.getMessage()); ^ Remove the extra parenthesis from there to make it System.out.println(noSuchProvdr.getMessage()); Edit: If the compiler is telling you java.security.NoSuchProviderException is never thrown in body of corresponding try statement, remove this last catch block catch (NoSuchProviderException noSuchProvdr) { System.out.println((noSuchProvdr.getMessage()); } 3 solved Making RSA … Read more

[Solved] jquery ajax have error [closed]

The error would probably be from this being a plain Object rather than the Element. Every function has its own this value, determined when it’s invoked. And, inside of the success callback, this will typically refer to the settings of the request. $.ajax({ // … success: function () { console.log(this.type, this.url); // “POST” “/funfact_ajax” } … Read more

[Solved] What is the point of the sep=”” at the end?

The default value for sep is a space. By setting it to an empty value you print without spaces between the 3 inputs. You could easily have tried this without the sep argument to see the difference: >>> print(“There are <“, 2**32, “> possibilities!”, sep=””) There are <4294967296> possibilities! >>> print(“There are <“, 2**32, “> … Read more

[Solved] How to create form slider with 5 values [closed]

You can use jquery selecttoUIslider component. This component takes the select form elements and generates a jquery UI Slider element. Here is an example from page. Markup <select name=”optiontype” id=”idselect”> <option value=”Economy”>Economy</option> <option value=”Value”>Value</option> <option value=”Average” selected=”selected”>Average</option> <option value=”Splurge a little”>Splurge a little</option> <option value=”Luxury”>Luxury</option> </select> Javascript $(‘#idselect’).selectToUISlider(); You can check the demo page here … Read more

[Solved] Python regex not printing contents in new list

You are looping over individual characters, not over lines: >>> maxline=”i have a Prof.John and As Maria a bike” >>> for line in maxline: … print line … i h a v e # …. etc. These individual characters don’t match your expressions. Change maxline to be a list; perhaps by splitting it on newlines … Read more

[Solved] compile errors when trying to use struct in c

struct player only contains name and col. It doesn’t contain a BOOLEAN member. You could add such a member to it and have that member indicate whether the player is current. However that would be a bad design (because it is tedious to code and there are better options). Instead, have another variable that indicates … Read more

[Solved] Blocked.com free trial script shows blank page [closed]

I found what the problem was. I had to enable errors to see what was going on, and apparently I need(ed) to install IonCube Loader on the server. //error_reporting(0); ini_set(‘display_errors’, 0); ini_set(‘display_errors’,1); ini_set(‘display_startup_errors’,1); error_reporting(-1); Also, they check if you have IonCube Loader in your system AFTER using it… Makes sense. $version_ioncube = ioncube_loader_version(); Fatal error: … Read more