452 Posted Topics
Re: I would go with stiltuske, use a scripting language instead, such as Python. In fact there are already thousands of tutorials out there of how to make a web crawler using python. If you want to look into some already existing tools, you could take a look at burp suite … | |
Re: If you want to create an OS from scraat tch, just give up on it, if you are interested in the design/GUI of it, you could join one of the open source linux projects and contribute there. This same is valid for kernel coding as well, you could contribute in … | |
Re: That is python 2 by the way as ZZucker mentioned, in python 3 it is input() instead of raw_input, and print statements require brackets as well anyway, as Dave stated loop through to ask a user if he wants to try again | |
Re: I would doubt it if they don't provide at least md5 checksums or do you mean how to find the checksum of the downloaded file? In this case md5sum is a command line utility to do that, should be inbuilt in ubuntu | |
Re: left to right but it's increasing upwards :P `print '\n'.join(" "*ix + c for ix, c in reversed(list(enumerate("Hello World")))) ` pyTony's version backwards vertically `print('\n'.join("Hello World"))[::-1]` | |
![]() | Re: Yes we do! - > [Click Here](https://www.daniweb.com/community-center/geeks-lounge/threads/471416/jokes) |
Re: try upgrading your grub or repair it | |
Re: queue.add(textField.getText()) | |
Re: Don't think that buying a new laptop will be necessary, in the work case you will probably just have to restore your system. Can you give us some more details about ur laptop's performance? Open task manager and do different stuff and check how resources change. Would be pretty much … | |
Re: Some linux distros have sound muted by default on boot, and some are missing sound mixer such as pulse audio etc, so you need to install it. Do you have any of those on your system? | |
Re: arrayList.get(0) + arrayList.get(arrayList.size() -1) | |
Re: Is there a significant distance between your laptop's physical location and your wife's one? The signal gets weaker the further you are .. also, try with a cable as suggested, if the cable doesn't provide more than what your wifi has then it could the issue with the card | |
Re: The only game I played pretty much was Runescape, but none anymore only coding now =) | |
Re: `L[:] = [(' ' if x == 32 else x) for x in L]` although I would just remove the element instead of replacing it | |
Re: because you encrypt every time the while loop runs and you don't add the new information but you overwrite it, so when you assign to encText, don't assign just the new value but append it on whatever was already in there Kind of the same as int values[] while(i < … | |
![]() | Re: Well, I am stuck on all operating systems(Forensic tests/vulnerability explotations), but the one that I am running about 99% of the time is Linux ![]() |
Re: She could've stopped it while updating some critical system files/booting related maybe and that could be causing the problem. Did you try to recover an earlier snapshop of it? I can't remember how to access the menu on win8 but you should be able to find it easily on google. … | |
Re: Go to google and check around for google python class babynames, they have a solution presented as well. The idea is to extract people names from a table from a webpage. Seems kind of the same thing, so check it out | |
Re: They are different instances, they have their own memory location.An example in real life would be 2 people with the same name and age. Also you could tell that they are different in BlueJ as it creates 2 different graphical objects that you can call their methods on. For example … | |
Re: 192.168.X.X is a private IP range of numbers, most of the cases used by your default gateway. It is possible to set up a server running on that address but has to be done by you, if you haven't don't expect connection there. If you are looking to 'connect' to … | |
| |
Re: What error do you get and where? Also it seems like you are implementing methods inside the method `main`, perhaps that is your error and what you should do instead is implement them before calling the method `main` and then make method call to the implemented methods from within `main` … | |
Re: Okay you've spent a week on this, now consider the following code .. as @stiltuske proposed use a char array and then print its elements import java.util.Scanner; public class Digit { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Please enter the digit: "); char[] numbers = … | |
Re: get char at position 0 and char at position (length -1) because 0 based, then print those easy as that | |
Re: if the class is not in the same package you need to `import` it | |
Re: shouldn't address and phone number be fields of the person class? Person Name Age Address PhoneNumber Then if you want to have your objects in the arraylist person1 = new Person(name,age,address,phonenumber) person2 = new Person(name,age,address,phonenumber) person3 = new Person(name,age,address,phonenumber) arraylist.add(..)... | |
Happy Valentine's guys, hope you have a nice one! | |
Re: What if you use a data structure called Set, it doesn't hold duplicate elements | |
Re: Use regular expressions [Click Here](https://docs.python.org/2/library/re.html) Here's quick example .. >>> import re >>> html = 'randomstuff<li>I am some text 12345</li>randomstuff' >>> re.findall(r'<li>(.+)</li>',html) ['I am some text 12345'] | |
Re: Um, you are trying to sort a list of floas? >>> aList = [5.5 , 4.1 , 7.6 , 2.9] >>> sorted(aList, reverse = True) [7.6, 5.5, 4.1, 2.9] Or if your list is a list of lists and you want to sort each of the lists individually >>> aList … | |
Re: Consider the following example from [Click Here](https://wiki.python.org/moin/HowTo/Sorting#Sortingbykeys) >>> from operator import itemgetter, attrgetter, methodcaller >>> sorted(student_tuples, key=itemgetter(2)) [('dave', 'B', 10), ('jane', 'B', 12), ('john', 'A', 15)] >>> sorted(student_objects, key=attrgetter('age')) [('dave', 'B', 10), ('jane', 'B', 12), ('john', 'A', 15)] you can do the same with `Reversed=True` will sort it opposite order | |
Re: I actually had to make a line follower robot few years ago and for the design I made a circuit board which is 'literally' what andruino is except that the microcontroller I used was ATmega32 instead of ATmega*(not even sure what they use on Andruino now xD)* but then I … | |
Re: Would this amplification actually be better than using DNS amplification? | |
Re: just to make sure ctrl+alt won't work correct? | |
Re: If you are able to connect to youtube that means that you had already connected to your router wirelessly correct? Could you show pictures of your configuration as well as what appears when you connect the network icon on the right corner | |
Re: 4, if others are able to print it is quite likely that the user's settings are different or he is trying to print it out on a different printer | |
Re: Byte of python and hacking ciphers with python is what I used, and I pretty much loved them. However, [This](http://interactivepython.org/runestone/static/pythonds/index.html) is a great starting point and it is online, good examples and detailed explanations | |
Re: didn't you mean to have it as if number is less than the smallest then smallest is changed to number? | |
Re: You need to understand the syntax of Java really well, and the concept of Object-Oriented Programming (OOP). This is essential to create applications using java and once you are knowledgable of this, you'll have to install android-sdk and play around there to get used to actually putting up code with … | |
![]() | Re: Nice 1 Mike, but it still stands strong and I definitely agree that universities are part of the problem, for example I am forced to do my projects in java. I've seen increase of jobs for c# developpers lately ![]() |
Re: Do you mean like this? a = [5,4,4] i = 0 while(i<len(a)): if (i + 1) <= len(a): if a[i] == (a[i+1]): print "Equal grades %s and %s" % (a[i], (a[i+1])) i = i + 2 else: print "Grade %s" % (a[i]) i = i + 1 else: print "Last … | |
Re: I'd advice you to split the sentance to words and save the words into an array. Then just print the first char of each string that is in the array [This is an example of splitting](http://see-programming.blogspot.dk/2013/07/c-program-to-print-words-in-string_14.html) | |
Re: public class awesomeStuff{ public static void main(String[] args){ System.out.println("*"); System.out.println("**"); System.out.println("***"); System.out.println("****"); System.out.println("*****"); } } Stultuske will appreciate. =D | |
Re: Kind of ^ but the SAM file can be accessed by the system 'only', so if you need to retrieve the file you'd have to use a different OS such as live usb of linux, as you won't be able to copy/open or any operation with the SAM file if … | |
Re: What is the name of the folder? Do you have "show hidden files" and show "system files" enabled? As if its a system folder you probably won't be able to, such as those that windows creates say on usb drives. If the folder has a hidden or something file that … | |
Re: My guess would be he means Client/Server applications, having a vps to place the server on and developing some kind of a TCP client connecting to it. Perhaps you should provide more information on what exactly are you trying to achieve | |
Re: Interesting, do they mention any real names or peoples' private data of the exposed ISIS members or it will be kept confidential if the manage to 'kill the virus' ? | |
Re: Try this: `re.findall('[\d.]+','2123.32321%')` outputs: `'2123.32321'` re is regular expressions module so you have to `import re` |
The End.