Slavi 94 Master Poster Featured Poster

So, if I want to keep track of my usernames and passwords on different pages, best way to do so would be pen and paper?

Slavi 94 Master Poster Featured Poster

Nono, I don't want to hash it because I want to read it in plain text so I think encrypting algorithm is what I need, such as AES. Actually, what I am thinking now is about RC4, as far as I know it is easy to implement, might be a good personal thing to do and try to implement and use it, still not sure when to encrypt, what comes to my mind is encrypt what user enters and save into database? Then for decryption use the same key(simetric encryption) and get the details in plain text again

Slavi 94 Master Poster Featured Poster

So, would AES before saving into database be a good choice?

Slavi 94 Master Poster Featured Poster

The articles says that organisations don't always protect passwords as they should such as salting etc but if you get compromised in such way, wouldn't hackers be able to obtain the salt anyway?

Slavi 94 Master Poster Featured Poster

How about encryption with DBM? Also, should I try to implement the encryption myself or use an existing library? I guess it depends on the purpose doesn't it? If I just want to deal with ecryption and practice on it, then I should definately go for it but if the app is/has to actually be used then no doubt go for a standard encryption to make sure no glitches or vulnerabilities would occur?

Also, what encryption is tipically used for this type of data in the real life?

@Taywin, thanks for pointing out limitations

Slavi 94 Master Poster Featured Poster

Hey Hiroshe,
Its more for personal knowledge that use. I 'll take a look at SQLite,
Do I have to convert my data type(java objects) to match what the database expects or it already accepts the same data type?

Slavi 94 Master Poster Featured Poster

In the past couple of days, I've been practicing with JavaFX and I made myself an app, which I am planning to use in the future. It is supposed to keep track of web pages and the passwords I use for them, usernames as well of course. The program itself works great now, however, when I have to keep the state/last used(or already written in) items, I am facing a problem. Mainly, databases are used for such purpose, arent they? However, right now I am having java objects as my data, not database items or what they are called. How should I save my information? Currently, I am saving to an XML file, and then reading from the file, but I have no idea whether that is a good practice to do so

This is how the app looks like( Only missing CSS to make it fancy)

399192003f9066112aa7852f5e7a5d95

Slavi 94 Master Poster Featured Poster

Wow, looks AMAZING! wish I could attend one of those projects, good job @ mcGill

Slavi 94 Master Poster Featured Poster

Welcome Parm

Slavi 94 Master Poster Featured Poster

and if I rename it back to what it was, it doesn't load

Slavi 94 Master Poster Featured Poster

Doesn't seem to be that, something odd is that if I change the name of the file to anything else it loads ...

Slavi 94 Master Poster Featured Poster

Not sure how to explain what is going on but after some time scene builder just won't display the fxml file that I am trying to modify further. It happened a couple of times so far and its really annoying because nothing can be changed. Yes, I do see scene builder loading and when I click on it, it opens but shows nothing. If I try to load another fxml file it works ...

Slavi 94 Master Poster Featured Poster

You are trying to declear methods inside the main method. After you declare what you want to have in the main, make sure you close it }. Also its a good practice to always declear your methods public/private instead of leaving them with a default public one

Slavi 94 Master Poster Featured Poster
Slavi 94 Master Poster Featured Poster

What exactly is your troube? No sound through loadspeakers?

Slavi 94 Master Poster Featured Poster

Did you try to connect it?

Slavi 94 Master Poster Featured Poster

Hey

Slavi 94 Master Poster Featured Poster
public static void saveToFile(BufferedImage img)
    throws FileNotFoundException, IOException
    {

        File outputfile = new File("D:\\Sample.png");
    ImageIO.write(img, "png", outputfile);
    }

Is this what you are looking for?
I assume you are using windows os for the path

Slavi 94 Master Poster Featured Poster

What do you have so far?

Slavi 94 Master Poster Featured Poster

Mind that Intel and AMD CPU's have different architecture. If you want to get to know basic architectures take a look at MIPS processors

Slavi 94 Master Poster Featured Poster

first do this chmod +x scripName.sh
then run it using this ./scriptName.sh

Slavi 94 Master Poster Featured Poster

I am using TP links as well, no problem with any platform(Windows 7/8, Ubuntu,Kali and Elementary os)

Slavi 94 Master Poster Featured Poster

Wow, Mike great explanation was about to mention that. Just a quick add-on. The problem with higher frequencies is the heat indeed but also the connection between the components in the chip. The nano technology has reached a limit where higher frequencies and the heat exposed would damage the few nano mm "wires" thus the chip would break

Slavi 94 Master Poster Featured Poster

Have in mind that c++ is used for all platforms, you have access to memory using pointers. C# is used for making applications for Windows OS, newest .NET versions are really easy to use with or without much experience for creating graphics or animations. Python is a scripting language, as Hiroshe stated it is probably the easiest of those 3 to learn, you can learn the basics using it

qulu.quliyev.58 commented: can I use python for creating object priented programs such as calculator we use in windows ? +0
Slavi 94 Master Poster Featured Poster

Hey James, thanks for responding.
That solved my issue! I tried earlier the same without the initial slash, but thanks for pointing it out

Slavi 94 Master Poster Featured Poster

I am following this tutorial to get into JavaFX using scene builder and so far I really like it as the person who made it explains things in deep detail. I finished the first part and tried executing the code so far, but it returns multiple errors. Here is more information about the project.

The project is based on Model-View-Controller structure, therefore, I have the following packages -
slavi.address.controller
slavi.address.view
slavi.address.model

The view package, contains 2 files, 1 for Root Layout and 1 with the application layout(pretty basic app).
The files in it are PersonOverview.fxml and RootLayout.fxml

In the controller package I have the following file(Provided by the tutorial)

package slavi.address.controller;


import java.io.IOException;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;

public class MainApp extends Application {

    private Stage primaryStage;
    private BorderPane rootLayout;

    @Override
    public void start(Stage primaryStage) {
        this.primaryStage = primaryStage;
        this.primaryStage.setTitle("AddressApp");

        try {
            // Load the root layout from the fxml file
            FXMLLoader loader = new FXMLLoader(MainApp.class.getResource("view/RootLayout.fxml"));
            rootLayout = (BorderPane) loader.load();
            Scene scene = new Scene(rootLayout);
            primaryStage.setScene(scene);
            primaryStage.show();
        } catch (IOException e) {
            // Exception gets thrown if the fxml file could not be loaded
            e.printStackTrace();
        }

        showPersonOverview();
    }

    /**
     * Returns the main stage.
     * @return
     */
    public Stage getPrimaryStage() {
        return primaryStage;
    }

    /**
     * Shows the person overview scene.
     */
    public void showPersonOverview() {
        try {
            // Load the fxml file and set into the center of the main layout
            FXMLLoader loader = new FXMLLoader(MainApp.class.getResource("view/PersonOverview.fxml"));
            AnchorPane overviewPage …
Slavi 94 Master Poster Featured Poster

Do you think its worth it waiting for Nexus 6 instead?

Slavi 94 Master Poster Featured Poster

I am about to buy a new phone and I am totally confused on what to base my decision whether to get SG5 or N5. I have SG3, had it for over 2 years (Since day of sale), and never had any troubles at all with it, been making my own apps and everything works pretty good. I went to check prices earlier today on phones, and noticed that SG5 is simLocked to the operators that are selling it while Nexus isn't. In general that shouldn't be a big issue but I am currently visiting my parents in a country that I don't live in and it has to be unlocked before I could use it(I find it idiotic to simLock phones). So they said it could be unlocked if I paid for it( Like wtf?). Anyway, I checked a couple of reviews and SG5 has better CPU, better camera and so on over Nexus and the price is a bit higher for that. But is it worth it?

Slavi 94 Master Poster Featured Poster

I just found it pretty cool that linux environment could be somewhat embedded in windows cmd =) I agree its not complete or anything but it's been created in 2005 just wanted to share to others if anyone else lived in a cave for the past many years like me :D

Slavi 94 Master Poster Featured Poster

Hmm this is really weird, had Luna installed but it didn't have plugins for it however, if you get it from Click Here
It comes with inbuilt things?

Slavi 94 Master Poster Featured Poster

Does Luna eclipse come without JavaFX inbuilt? :o

Slavi 94 Master Poster Featured Poster

I'd expect ctrl shift C to work, doesnt it?

Slavi 94 Master Poster Featured Poster

Oh wow, thought I posted link on "this". Here it is ;)
Click Here

Slavi 94 Master Poster Featured Poster

This is how you can locate the image in your class folder
private Icon icon = new ImageIcon( getClass().getResource( "ImageName.png" ));

Then you can use the image to create a new Jlabel of it such as
private JLabel jl = new JLabel(icon);

Afterwards you can use the Jlabel to attach it to a Panel or anything you want to do with it

Slavi 94 Master Poster Featured Poster

Nope, its not a program. It is all functions defined, add it to the Path and when then you can just use the commands in command prompt.

For example, I installed windows 8.1 not long ago just to get skype cuz couldn't fix dependancies on Debian 64 bit, anyhow, when I tried using ls on cmd it says its not recognised. Installed this package, and in the folder bin it contains all commands' names as executable files. Once added to the path you can call them in command prompt. So now if I type ls, it works, also all linux commands even cat .. :D oh and "pwd" etc, pretty cool thats why I decided to share :)

Slavi 94 Master Poster Featured Poster

Not sure if this is where I should post this but I found it pretty cool. Its basically all core linux commands for command prompt

Note: You have to include the bin folder in your winows Path and it works like a charm

Slavi 94 Master Poster Featured Poster

Great, thanks guys!
@Doogle, do you use IDE (if so which?) or text editor? I am considering to get netBeans just for these apps, might be a bit hard to begin straight on editor

-For future interested in javaFX readers, I found people recomending this article

Slavi 94 Master Poster Featured Poster

Great answer James, I ll keep it unsolved and maybe get some more inputs by other users for a few days, Thanks!

Slavi 94 Master Poster Featured Poster

Apparently JavaFX is getting really into the game now as far as I see and I think its time I start getting to know it .. Just read a couple of articles and a few questions came up in my mind:
- Do I need to use IDE (eclipse) for javafx projects or text editor?
- If I have already existing project can I add the GUI afterwards as I'd do with swing after the logic is working?
- Any articles/tutorials are more than welcome if you know any

Thanks in advance!

Slavi 94 Master Poster Featured Poster

In general people are not educated about security, thus this can really damange them. Security of public wifis can lead to losing private details such as bank card(I don't understand why would u use it on public network even on an SSL connection) etc, but on the other hand insecurying your own wifi is probably as much if not more dangerious. Currently had a friend who owned an IP address to be visited by police. Apparently someone had hacked his wifi, and sells stolen things from that address... trust me he had hard time proving it wasn't him ...

Slavi 94 Master Poster Featured Poster

I would go for sublime text(It's awesome!!) on small projects and as Taywin said Eclipse for medium/big ones especially if multiple people are involved

Slavi 94 Master Poster Featured Poster

Implement the game Rock-Papper-Scissors. By doing so, you'll get to play around with getting input by user and displaying the winner.

Further: Create a GUI for the game instead of using the command prompt

Even More! :D - include networking, create a server that receives inputs from 2 clients, check who wins and replies back to the players

Slavi 94 Master Poster Featured Poster

I think this question will find its proper answer according to what exactly are you required to know for a certain job. It is a common misbehave in our seciety where a university diploma means you are actually good or know something to a good extent, while in the meanwhile you might have cheated or just paid(as it happens in some countries) for it.
I don't really have much experience on what exactly is required to get a job for lets say a software developper in java, but I'd assume the tendancy is whenever you apply you need to send a copy of a certificate or univesity papers with it(Perhaps some of you guys have already had a couple of jobs in this field and can cast light for us the newbies). But I also think that there are companies who hire just after a successfully passed interview because there will be no cheating on it and people who are hiring will see whether they are happy with what they'll get for the resources they are offering for it. In this case, home educated would fit very well

Slavi 94 Master Poster Featured Poster

Interesting reading .. I have a question though .. If its hard(rather than impossible) to brute force and find the key, would a MITM attack be able to collect what the private key is? I assume there is some hand shake where keys are exchanged?

Slavi 94 Master Poster Featured Poster

I'd also say wait for the eye to show up .. avoid real life contacts! :p

Slavi 94 Master Poster Featured Poster

I am using Avast on my windows machines and none on Linux but as Hiroshe mentioned, probably the best way to protect yourself is understanding how attacks work

Slavi 94 Master Poster Featured Poster

Are you asking how to sort by name?

Slavi 94 Master Poster Featured Poster

You can boot in cmd and change the pw

Slavi 94 Master Poster Featured Poster

You have to implement what happens if the grade is less than 0. Currently there is nothing and it just won't do anything about it

JeffGrigg commented: Yes; exactly! +6
Slavi 94 Master Poster Featured Poster

What does the error message say?