452 Posted Topics
Re: You can use an IDE as #djjeavons mentioned or a text editor(sublime is my favorite). If you do use IDE (such as eclipse) you can compile the code and run it from within there, while with a text editor you can compile the code from the terminal using `'javac filename.java'` … | |
Re: before I can comment on your code I need to get your logic behind it. You get user's details and then the user enters a char that you want to find out whether it is 'f'/'c' or 'h', correct? If so, you shouldn't ask for a new char after each … | |
Re: I am not sure what do you mean or understand by 'cloud' but you can run say a server written in java on a VPS(vurtual private server) and then connect to it. Such an example is say you implement a chatting program using java sockets, and you run the server … | |
Re: or Java RMI, where you can invoke methods implemented on the server from the client | |
![]() | Re: It seems like that your SD card hasn't been assigned a letter. You' ll have to do it manually in the device manager (say you want to assign it 'f' but I think windows requires you to use unused character). Another option would be to get liveusb of ubuntu or … |
Re: among the clients but I assume that your router is connected to ethernet cable, which's bandwidth is limited to 100mbps so, well | |
Re: did you manage to connect to anything at all? | |
Re: shouldnt line 108 be `if(action.equals("Encryption"))` instead of `if(ae.equals("Encryption"))` | |
Re: The story of Linux is contained within a single [video](https://www.youtube.com/watch?v=iBVgcjhYV2A), where on top of what rubben said, `long story short`, Linus had created the kernel in his spare time and a multiple individuals have developed "GNU's not unix" (GNU),lead by Richard Stallman, when those two were combined, Linux was born | |
Re: instead of using that for loop to generate the number use this `int randomNum = rand.nextInt((max - min) + 1) + min;` | |
Re: You should probably type SELECT not secelt | |
Re: I am no expert or even being close to one in GUI design but what I would do quickly on that set up is make a jframe, you could probably use jlabels and set their background to those pictures and then a gridview with textfields in it where you can … | |
Re: there is a semicolumn on line 33, the code won't compile | |
Re: Thank you @vegaseat | |
Re: Pretty much what Lardmeister said however, if you want a strong encryption you shouldn't try to implement an encrypting algorithm yourself but use an already existing and known implementation. If it's for a test purpose, you can try and implement the Ceaser cipher your self, it is one of the … | |
Re: In your class SmartPhone, you pass the mobileOS to the constructor but you never set it to your field so inside the constructor you should add: `this.mobileOS = mobileOS;` | |
Re: well, technically you are using the same keyboard, I would assume that a keylogger running on the host will be able to catch key strokes even if they were made within the guest OS, as far as Tails, it warns as much as it can cos it's made to hide … | |
Re: Probably because a double and a float are values with a decimal point such as 1.2345 while you set the initial value of your fields to be a whole number, "0" in your case. Should be fixed if you set it to 0.0 | |
Re: ssh root@`IP` address should create connection, although I would expect it to require root password before log in in fact for any case. Could you maybe share some of the instructions? | |
Re: the original description even 32 bit win8 is going to bug the shit out of it, if you open chrome with 2 tabs it will most likely shut down due to reaching 100% ram usage, the celeron one might be able to handle it but then again its celeron cpu | |
Re: Get a tool called Super_Grub2(Make a bootable flash of it), using that you should be able to boot in any OS that is installed on your computer. If the image of the operating system is fine, you will have no problems booting in any of them and once in there … | |
Re: Quite a few, kind of depends on what you are fan of. I am running Elementary OS on my home pc mainly due to the desktop environment that it has(looks like iOS). Also I have Kali Linux on my laptop(Mainly because it comes with a lot of pentesting tools preinstalled, … | |
Re: Exactly, as rubben said tcp assures you that the information will be delivered, and no guarantees at all with udp, it just fires out packets. Streaming/skype etc find use of it | |
Re: Get universal usb installer and make a bootable flash drive, plug it in, choose option to start from the usb in the bios settings, the installation should be pretty much just next next etc(I assume you want to replace windows 7 with linux, otherwise might be nice to create a … | |
Hey guys, I am making a small script here and I got stuck on it a bit ... perhaps one of you could help me out The idea is to send an email that has attached zip file to it. My script is import smtplib import zipfile import time from … | |
Re: Jagex can sui you for that, it is illegal to do | |
Hey guys, I am a bit confused here ... making a script to brute force through a dictanary the password of a zip file and it seems to work fine except that it won't stop when the password is found. And when it prints the password it just prints the … | |
Hey guys, I am making a script here to read from windows registry. The problem that I am facing is that at a certain point I start getting an error that the file does not exist. First Here is what I am doing `net = r"SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged"` `key = OpenKey(HKEY_LOCAL_MACHINE, … | |
Re: Use `split` on the string(with space regex), it will return an array of strings, then you can get the last item in the array will be your last word String[] bits = yourSentance.split(" "); String lastOne = bits[bits.length-1]; Another option could be this `String last = yourSentance.substring(yourSentance.lastIndexOf(' ') + 1);` | |
Re: The easiest is probably to use a tool called Universal USB Installer, if you are putting on a Linux distro it can download it even for you, literally do all the job. Or you could just select an iso file and it will make a bootable flash for you. If … | |
Re: Do you mean like this? import time run = input("Start? Y/N> ") secs = 0 #if user's input starts with 'y' / 'Y' start counting if run.upper().startswith('Y'): # Loop until we reach 20 minutes running while secs != 1200: print (">>>>>>>>>>>>>>>>>>>>>", secs) # Sleep for a second time.sleep(1) # Increment … | |
Re: My home PC is using "ElementaryOS" , it is built on Ubuntu and has a desktop environment that is close to "iOS". It fits well my needs as for home OS | |
Hey guys, I have a quick question here, I have Python 2 installed on my machine and I read a book on Python and Vega's great threads. However, my next book that I am about to read states that I need Python 3 to compile the code on their examples, … | |
Re: Since you encrypt using XOR and decrypt using XOR, wouldn't it work if you just run the same method encryptData twice? Once to encrypt it and once to decrypt it, however in the first case you use the plain text message and in the second you use the cipher text | |
Re: There are couple of nice vids out there saying that long passwords are more secure than something you could remember such as "monkey". Well that is the case simply because it is expected that a long string is less likely to be part of a "dictionary" and it is infeasible … | |
Re: I can't express how sad reading this made me, from what I've seen on DaniWeb, he was amazing person, increadably skilled software developer and a human. RIP :( | |
Hey guys, some of you might know me from other sub sections of Dani Web. I am about (just started) to learn Python. And not just learn but possibly make it my prefered language over all. So, I've read the thread from `vegaseat` for beginners and it has a link … | |
Re: use a for loop,to loop through the individual numbers and make a count variable which increases each time you hit a 0 | |
Me personally, I used to have ubuntu before, then I switched to Elementary os(Ubuntu based) as my home os. I am pretty satisfied with it as for normal use on home pc. On my laptop I am using Kali os(Debian) mainly because I am doing Msc in Computer and Cyber … | |
Re: I just wanted to say that I think I am hooked to DaniWeb ... I literally have a tab opened all the time and usually reading through most of the things going on, just hope that we'll stay strong and go on! | |
Re: At least you have something .. =) | |
Re: I've had similiar problems caused by gfx drivers, can you try to boot into safemode? | |
Hey guys, I just installed skype on my Kali, and after installation I restarted the computer because it is 64bit, and the installation was multiArch, so I had to fix dependancies, followed this guide [Click Here](https://wiki.debian.org/skype#A64_bits_.2F_amd64). After restart, I can't back on ... all I see is the bootloader EasyBCD … | |
Re: What James said but I think you need to do it inside actionPerformed, so that is actually happening when a button is pressed not as a default image | |
Re: [This](http://stackoverflow.com/questions/7702697/how-to-get-x-and-y-index-of-element-inside-gridlayout) is for buttons but I did implement it before and it works pretty good | |
Re: By move validing you mean this method? bool ticTacToe::checkmove() { } |
The End.