452 Posted Topics

Member Avatar for muhammad_74

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'` …

Member Avatar for muhammad_74
0
355
Member Avatar for divinity02

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 …

Member Avatar for divinity02
0
125
Member Avatar for null_pointer

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 …

Member Avatar for Slavi
0
509
Member Avatar for Doogledude123

or Java RMI, where you can invoke methods implemented on the server from the client

Member Avatar for Slavi
0
294
Member Avatar for humorousone

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 …

Member Avatar for rubberman
0
232
Member Avatar for rogerdv

among the clients but I assume that your router is connected to ethernet cable, which's bandwidth is limited to 100mbps so, well

Member Avatar for JorgeM
0
151
Member Avatar for Christiaan
Member Avatar for ali11

shouldnt line 108 be `if(action.equals("Encryption"))` instead of `if(ae.equals("Encryption"))`

Member Avatar for JamesCherrill
0
279
Member Avatar for Farrukh saleem

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

Member Avatar for ShouldAt3
0
355
Member Avatar for Brandon_7

instead of using that for loop to generate the number use this `int randomNum = rand.nextInt((max - min) + 1) + min;`

Member Avatar for Brandon_7
0
318
Member Avatar for pritaeas
Member Avatar for iamthwee
2
261
Member Avatar for Niloofar24
Member Avatar for Nation

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 …

Member Avatar for mKorbel
0
1K
Member Avatar for divinity02
Member Avatar for vegaseat
Member Avatar for Niloofar24

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 …

Member Avatar for Lardmeister
0
265
Member Avatar for Matthew_10

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;`

Member Avatar for Slavi
0
245
Member Avatar for RikTelner

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 …

Member Avatar for Slavi
0
308
Member Avatar for Sam_13

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

Member Avatar for JamesCherrill
0
656
Member Avatar for fiddler80

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?

Member Avatar for fiddler80
0
336
Member Avatar for muhammad_74

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

Member Avatar for RobertHDD
0
255
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
698
Member Avatar for sneekula

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, …

Member Avatar for TrustyTony
1
14K
Member Avatar for lewashby

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

Member Avatar for Traevel
0
598
Member Avatar for sneekula

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 …

Member Avatar for RobertHDD
0
166
Member Avatar for Niloofar24
Member Avatar for Slavi

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 …

Member Avatar for Slavi
0
8K
Member Avatar for sameer.i.w
Member Avatar for Slavi

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 …

Member Avatar for Ene Uran
0
265
Member Avatar for Slavi

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, …

Member Avatar for Ene Uran
0
182
Member Avatar for Stefce

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);`

Member Avatar for Slavi
0
2K
Member Avatar for muhammad_74

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 …

Member Avatar for muhammad_74
0
1K
Member Avatar for Slavi
Member Avatar for Dacorncob

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 …

Member Avatar for Dacorncob
0
508
Member Avatar for muhammad_74

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

Member Avatar for muhammad_74
0
222
Member Avatar for Slavi

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, …

Member Avatar for HiHe
1
289
Member Avatar for CodeWarrior14

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

Member Avatar for Taywin
0
2K
Member Avatar for vegaseat

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 …

Member Avatar for Gribouillis
1
436
Member Avatar for Gregory_4
Member Avatar for ~s.o.s~

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 :(

Member Avatar for CodyOebel
2
792
Member Avatar for Slavi

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 …

Member Avatar for vegaseat
0
240
Member Avatar for Weejin

use a for loop,to loop through the individual numbers and make a count variable which increases each time you hit a 0

Member Avatar for Maritimo
0
83
Member Avatar for Slavi

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 …

Member Avatar for Slavi
0
507
Member Avatar for Dani

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!

Member Avatar for Reverend Jim
1
866
Member Avatar for zzmrzz
Member Avatar for FlightStimulant

I've had similiar problems caused by gfx drivers, can you try to boot into safemode?

Member Avatar for Slavi
0
123
Member Avatar for Slavi

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 …

Member Avatar for Slavi
0
2K
Member Avatar for My_1

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

Member Avatar for My_1
0
697
Member Avatar for KetraCoder

[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

Member Avatar for Slavi
0
288
Member Avatar for lucyfersdaddy
Member Avatar for lucyfersdaddy
0
914

The End.