Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Igor Perrotta

Member
  • Content Count

    134
  • Joined

  • Last visited

Awards


This user doesn't have any awards

About Igor Perrotta

  • Title
    Member
  • Birthday 1999-06-09

Profile Information

  • Gender
    Male
  • Location
    Brazil
  • Interests
    Computer Science ,games all that stuff :P
  • Biography
    I`m a programmer and a PC enthusiast, love games and anything tech related.
  • Occupation
    Java developer

System

  • CPU
    i7 4770K
  • Motherboard
    GA-H87M-D3H
  • RAM
    16gb XMS3 2000MHZ
  • GPU
    RTX 2060
  • Case
    Cooler Master Q300L
  • Storage
    1 TB Seagate Barracuda , 120 GB Sandisk SSD
  • PSU
    750W Seventeam 80 plus bronze
  • Display(s)
    AOC Agon 32`
  • Keyboard
    HyperX Alloy FPS
  • Mouse
    Logitech g305
  • Sound
    Edifier
  • Operating System
    Win 10, Zorin OS
  • Laptop
    Dell G3

Recent Profile Visitors

652 profile views
  1. Wow, it was the special characters, thank you! Now it works and i know in the future!
  2. Yes, it even shows up im my octave file browser
  3. Hey guys, hope you all are having a great day! I`m not able to make octave open an image, i installed graphicsMagick and still nothing, i`m very new to this program. Sorry if this is a stupid question. this is the error: img = imread('water-drop.jpg'); error: Magick++ exception: Magick: Unable to open file (C:\Users\igorp\Documents\iniciação\water-drop.jpg) reported b y magick/blob.c:3080 (OpenBlob) error: called from __imread__ at line 80 column 10 imageIO at line 118 column 28 imread at line 106 column 33 I`m using windows 10 btw. Thanks for the help!
  4. Hey, thanks for your reply. That's it. the audio does not need to play at the same time. I want the switch to be able to get audio from the speakers that are connected to my pc.
  5. Hey guys, i need some help. I bougth this Gaming monitor with no speakers on it, i cant use hdmi and use the headphone port to connect the speakers on the monitor because i have a display port cable to get 144hz, which leaves the edifier speakers that i have connect to my pc and my switch which is connected to the same monitor without audio. Dos anyone know a way to get audio on both systems? It`s confusing to explain and english not being my primady language does not help. Thanks a lot guys
  6. Hey guys, how are you guys doing? So, i was trying to install a flatpak and in the tutorial i was following it made me install the gnome store( i was able to remove that) and with it i think came cannonical livepatch, that for the love of god i can't unnistall. Can someone lend me a tip to remove this ? I tried to list my installed apps with snap and flatpak, but came no results
  7. Thanks for the replies guys, sorry for explaining badly what was going on, I was in a rush. but I was able to solve it, I was comparing a char with an int. I used Character.getNumericValue and the if was able to verify correctly!
  8. Hey everyone, how are you guys today? I'm doing a round robin scheduler and i've come across this problem. The tempodeExecucao variable is in the correct amount and so does the cpu[0].vetordeIO as the screenshot shows. but it won't go into the if. i need the verification to work so i can send the process on the queue. thanks for the help! if (cpu[0].vetorDeIO.length != 0) { if (cpu[0].tempodeExecucao == cpu[0].vetorDeIO) { System.out.println("OPERACAO IO"); System.out.println("NOME E TEMPO DE EXECUCAO " + cpu[0].getNome() + cpu[0].tempodeExecucao); filaexecucao.enqueueProcess(cpu[0]); cpu[0] = filaexecucao.dequeueProcess(); break; } }
  9. Hey, sorry for taking so long to answer. First of all, thank you very much for taking the time to help me! your help was very valuable and I've been able to advance a lot in my code! I used inheritance as a desperate measure to see if it worked, lol. I'm rusty on programming (this semester has been mostly theoretical) and I've read a lot of about object-oriented programming to regain all the knowledge i forgot. Again, thank you
  10. I'm trying to use the value in numeroDeProcessos to set the numero in the ContadorDeProcessos class. the value is right in the leitor class, but when I try to set in the ContadorDeProcessos class, the value stays 0, not allowing me to create the right size array and throwing an exception. you can see in the code the multiples attempts i made, the only way it works is for me to set the array size anything more than the number i need, that in this case is 4. but i want something that can work in multiple cases
  11. Yes, i'm trying to acess a int variable and create an array using it. THis is the class im trying to take numeroDeProcessos and use in contadorDeProcessos, you can see multiple atempts and a very poorly organized code, that's the result of me almost giving up public class Leitor { int numeroDeProcessos = 0; int contadorDeprocesso = 0; Escalonador escalonador = new Escalonador(); public void analisarTamanho() throws Exception { ContadorDeProcessos contadorNUmero = new ContadorDeProcessos(); BufferedReader analisador = new BufferedReader(new FileReader("process.txt")); while (analisador.readLine() != null) { numeroDeProcessos++; } System.out.println("NUMERO DE PROCESSO" + numeroDeProcessos); contadorNUmero.setNumero(numeroDeProcessos); System.out.println("TESTE" + contadorNUmero.getNumero()); contadorNUmero.numero = numeroDeProcessos; analisador.close(); } =========== public class ContadorDeProcessos extends Leitor { Leitor leitor = new Leitor(); int numero = numeroDeProcessos; public int getNumero() { return numero; } public void setNumero(int numero) { this.numero = numero; } Processo filaDeProcesso[] = new Processo[numeroDeProcessos]; public void vernumero() { System.out.println(numero); } public void setProcessoNaFila(Processo process, int num) { filaDeProcesso[num] = process; } }
  12. Hey guys, how are you today? I have an assignment for my school that requires me to implement a round-robin process scheduler without using java collectibles, ArrayList or any other stuff really. I'm having this probably very stupid problem. I'm taking an int variable that is my number of processes that is in the class that reads a text file and trying to create a static array of processes in another class. This int value will set the array size. I tested to see if the right value is correct, and it is. the problem is attributing between classes. i tested with using setters, directly attributing and in the desired class the value is still 0.
  13. I already checked my ram is DDR3, 1333MHZ From an unknown OEM lol
  14. Hey there! I have this Asus X555lf and it came with 6gb of ram. I opened it up to see how the memory was installed and I saw that it has 2 GB soldered in and a 4gb removable stick. I want to get 8gb but there is no 6gb sticks. I thought of having an 8gb stick, would that give me problems?
×