Jump to content

Computer Science

  1. hello.. I am trying to write order crossover specifications in pvs . i have done with cut, head and tail functions specifications now i need a delete function which delete a sequence to another sequence here is a fuction that del del_element(a:T, p):RECURSIVE finseq[T]= (# length:= p`length, seq := LAMBDA (i:below[p`length]):(if p`seq(i) =a THEN empty_seq[T] ELSE del_element(a,p) ENDIF)#) MEASURE p`length delete all occurrences of element a. can any body guide me what changes it acquires to delete n element recursively with correct syntax.

    • 0

      Reputation Points

    • 0 replies
    • 1k views
  2. Started by imdow123,

    I've just been wondering, why do we study algorithms in a computer science course. Algorithms are just a way to precisely define steps to solve a particular problem. This is not just important in computer science but basically in any field. I mean, algorithms just teach us how to solve problems step-by-step in a well-defined manner. These skills are useful not just for computer science but for every branch. Then why just computer science course has an algorithms course? Why not others?

    • 0

      Reputation Points

    • 9 replies
    • 2.5k views
  3. I've slowly started gaining interest in this whole Oculus Rift thing. It's actually been a few years since I wanted to play games or watch stereo pictures / movies on eyephones with stereoscopic rendering support. And although I didn't initially care about head tracking, that will be a very welcome ability as well. It overall sounds like a very promising future for VR technology... or does it? I have one big problem with this whole thing so far: I want to use devices that are the product of a technology, not a technology that is the product of a device. Think of mice for instance: Countless brands produce computer mice... optical ones, bluetooth ones, with various add…

    • 0

      Reputation Points

    • 3 replies
    • 1.6k views
    • 1 follower
  4. After working on my website and adding in PHP security while using cookies to determine if someone is logged in as a certain user, I thought of something that may be bad if it can occur. Can a cookie be edited from the browser? If this is the case, then a person can simply edit the cookie to make themselves be disguised as another user which means I will have to modify the way users can sign in and such. I assumed that there is security behind the cookie so people can't do this, but wanted to make sure it was accurate.

    • 0

      Reputation Points

    • 6 replies
    • 2.3k views
  5. Started by Devansh,

    What are the courses available in ethical hacking?

    • 0

      Reputation Points

    • 7 replies
    • 2k views
  6. I don't understand why this is happening. On my own PC, my program works flawlessly. It's using the TwitterAPI to find data specifically useful for my industry. Like I said, it works fine on my own PC, but I'm trying to set it up on the server right now and I keep getting this message- Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> Tweeter() File "C:\Python27\lib\site-packages\Tweeter.py", line 16, in Tweeter for item in s.get_iterator(): File "C:\Python27\lib\site-packages\TwitterAPI\TwitterAPI.py", line 198, in __iter__ yield json.loads(item.decode('utf-8')) File "C:\Python27\lib\json\__init__.py", line 338, …

    • 0

      Reputation Points

    • 8 replies
    • 10.9k views
    • 1 follower
  7. Started by Mafio,

    Hello guys, I am looking for a console program or a Software Development Kit to do the following: I want to make a program (Java or C++) which fetches document scans from my scanner and then optimizes and crops them and runs a OCR (optical character recognition). The 1st thing I want is to get a searchable pdf file and a text file I can send to my database. The 2nd challenge is to analyze the file and categorize it in categories like invoice, receipt, letter... I can do that by barcode recognition or by interpreting the size (or anything similar). And then I want to run specified tasks like: If this is document type C look at the left bottom corner and find the [] [] …

    • 0

      Reputation Points

    • 4 replies
    • 4.5k views
    • 1 follower
  8. Started by bithin2008,

    Simplify the following Boolean function:F = A’C + A’B + AB’C + BC, using K-map? Plz help me..

    • 0

      Reputation Points

    • 1 reply
    • 1.1k views
  9. So I had too many pages open in my computer. I do this often but sometimes it gets to the point where it freezes and I have to reboot. So that is exactly what I did. However this time when I did it all I got was a black screen. Since I have very little actually on my computer anyways I just hit reset. I figured things would be just as easy the second time around but its not. Before it said I could not install windows defender and when I deleted Norton it let me install windows Defender. However now the only thing on it that will work is "Microsoft security". I went into Microsoft security and put it to Off mode but it still wont let me add WindowsDeffender. I am currently…

    • 0

      Reputation Points

    • 0 replies
    • 807 views
  10. Started by Lightmeow,

    Just a quick question, before I jump into helping Rajnish Kaushik with his C++. How hard is C++. Is it to the point, or is it crazily stupid and has horrible syntax like JavaScript does.(I strongly dislike JavaScript, JQuerys fine though) How hard is it going from Java to C++. Is it an OO language. And do you peoples have any good links. Thanks Joshua

    • 0

      Reputation Points

    • 24 replies
    • 7.7k views
    • 3 followers
  11. It's my senior year in high school and I've been trying to figure out exactly what I want to do as a career. I love mathematics and had originally decided to go into a field of physics so as to add some practicality to the math. Over the last year or so, however, I've become increasingly interested in computers and specifically their low level, hardware functionality. As such, I have tried thinking of ways in which I can combine my love for math and computers into one field or profession. Normally, I would go right into a career in computer science or computer engineering but I always hear of the low job prospects that computer science holds in the future. Any suggestions…

  12. I found this somewhat exciting. http://flint.cs.yale.edu/flint/publications/smc.html I'm not well acquainted with Coq -- and I never intend to be -- but this paper is exciting nevertheless due to its moderately landmark-sized accomplishments. Cool! Hope you enjoy looking over it.

    • 0

      Reputation Points

    • 1 reply
    • 1.4k views
  13. I have searched alot but nothing good coming up. My specialization area is Software engineering. i am interesting in Database, Object oriented anaylsis and Design , software engineering and HCI. Plz help to decide the topic Thanks in Advance !!!

    • 0

      Reputation Points

    • 6 replies
    • 3.7k views
    • 1 follower
  14. Is there a module or a way on Python to extract hashtags related to a topic. For example, if I search for 'One Direction', it returns all the hashtags related to 'One Direction'. Your help much appreciated Thanks

    • 0

      Reputation Points

    • 0 replies
    • 770 views
  15. Started by ucznmsb,

    Apologies, if I have put this in the wrong section but I don't know enough about Maths to know what kind of question it is! I need to represent an IF statement formula in an alternative way as the software I am using doesn't allow IF statements. It does however allow all of these functions: http://docs.moodle.org/20/en/grade/edit/tree/calculation I need a formula that doesn't use IF but will produce the same results as the one below: IFAverage<1 Final Mark = Average*50 IFAverage>=1and<2 Final Mark = 50+(10*Average) IFAverage>=2and<3 Final Mark = 60+(10*(Average - 2)) IFAverage>=3 Final Mark = Average*25 So I want to be able apply this formula to…

    • 0

      Reputation Points

    • 2 replies
    • 1.2k views
  16. Here is an example website that I am trying to access with Python automatically. (http://www.waynecounty.com/sheriff/1359.htm) The problem here is that the url doesn't change at all, which means that it's probably running its own program behind the scenes. I need to automatically detect and click the accept button. Furthermore, at the next part, I need to detect the last name and first name part of the following webpage. From that point, I need to then insert the raw_input('last name: '), raw_input('first name: ') in the appropriate spots. Then, to make it even more complex, I need to click on the more info buttons associated with that particular inmate so I can find…

    • 0

      Reputation Points

    • 5 replies
    • 4k views
    • 1 follower
  17. I'm trying to get access to Twitter feed about bail bond information. We want to get all the info we possibly can by scraping the "firehose" as they call it. My boss told me that this should be a pretty simple project and take a day to work out at most. I've already spent 3 and a half hours working on it, so I'm wondering if anyone else knows anything about this that may help me finish this project. Thanks in advance

    • 0

      Reputation Points

    • 4 replies
    • 1.5k views
    • 1 follower
  18. I've been assigned the task of choosing a set of technologies to replace a bunch of Excel spread sheets and e-mail. My team has thought of two, XML & XSLT with JavaScript, but there may be others out there that we find more suited to the project. I understand that I need to be specific for this post to stick, so I'll try to give as much detail as I can, without breaking my confidentiality agreements. The work flow, as it is today is that Marketing talks to a customer and fills out a spread sheet with a customer's requirements. Some of the fields on the spread sheet contain fields that should only have certain values. Some fields should only have certain values based …

  19. I am graduate student in Oceanography, and I have been tasked with trying to write MATLAB code for an automated system that measures seawater pH using an Agilent Spectrophotometer based off of a LabVIEW Program that performs a similar function. In addition, to the computer that will have all of the appropriate software for this, but will need to communicate with the spectrophotometer, as well as a syringe pump that controls the fluid flow for the entire system. I have a basic programming background my undergradaute work, but never dealt with anything this complicated. Can anyone offer any advice on where to start with this (i.e. helpful links, articles, books, or commands…

    • 0

      Reputation Points

    • 6 replies
    • 1.8k views
  20. Started by Popcorn Sutton,

    I need to set up a MySQL database and I'm not finding much help on the internet. At this point, I do not have any information that is worth stealing (IMO). I've spent over an hour and a half on this already and I need to get it done ASAP because I don't want to waste too much of my time on this project. I have a few questions. First, can I set it up solely through Python 2.7? Second, can I automatically retrieve lists from the server without having to convert them (if not, I don't think it will be much of an issue to convert the data to python objects)? Once again, thank you guys for your help.

    • 0

      Reputation Points

    • 3 replies
    • 1.4k views
    • 1 follower
  21. Hey this is Bally Chohan, could any one tell me how to include snippets in my web sites?

    • 0

      Reputation Points

    • 1 reply
    • 1.1k views
  22. Started by Phil H,

    Hi, I am a 1st year computer science student doing my degree by distance education. I dont have anyone to bounce stuff off so any assistance would be really appreciated. I have been asked the following question............... The following is a program segment and the definition of a procedure named sub x <- 3; procedure sub (y) sub (x); y <- 5; print value of x; What value will be printed by the program segment if parameters are passed by value? Now I am taking it that the left is the calling program ( X ) and right is the pr…

    • 0

      Reputation Points

    • 4 replies
    • 1.6k views
    • 1 follower
  23. Can anyone tell me about becoming a researcher through a PhD program? How much will the degree help my chances of becoming a researcher? Will it matter what school I go to? How much? Does anyone have any info on what the job prospects are like for CS PhD graduates? From what I hear, I will be overqualified for many jobs, but others say it will open up more difficult/exciting challenges. I like the idea of the latter, but am wondering how hard/easy it is the get one of those awesome positions. Also, does anyone know anything about the day to day of being a researcher? Do researchers, in the industry, work mostly alone or on a team? Do they write code, or conduct experimen…

    • 0

      Reputation Points

    • 2 replies
    • 1.2k views
  24. I need to know how to do this.

    • 0

      Reputation Points

    • 7 replies
    • 1.6k views
    • 1 follower
  25. I need help and I don't have the brainpower to research anymore (for today at least... that typically happens when I'm focusing all my mental energy on technicalities). I need to know 1. how to (here's an example) download the pdf automatically (using python) from a link, (i.e. http://www.xxx.gov/18746/app=get%20inmates.pdf) and 2. how to convert the pdf to a file that can be processed by OCR (such as pytesser).

    • 0

      Reputation Points

    • 3 replies
    • 1.7k views
    • 1 follower

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.