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

Merkey

Member
  • Content Count

    239
  • Joined

  • Last visited

Awards


This user doesn't have any awards

About Merkey

  • Title
    Member
  • Birthday 2000-10-15

Profile Information

  • Gender
    Male
  • Location
    Czech Republic

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. The price of your gadgets doesn't have to represent your wealth or your country's economy. The PC you've shown is very good, even above average in my opinion. Just because there are lot of people on this forum who are willing to spend thousands of dollars for their PCs and have to play on the highest details doesn't mean that everybody else is from a "third world country".
  2. By default, Whatsapp uploads all chats to google drive once per month. Obviously I don't know the last time it did, so before you change your phone, you should upload it manually settings -> chats -> back up. After you start Whatsapp on the new phone, just select the backup file to restore all your chats.
  3. Unless I need to run any Windows only applications, I prefer Linux. Here is why: Privacy, freedom App load times and responsiveness is generally much better on Linux, the whole system feels faster, more stable The ability to customize almost everything I wouldn't recommend Linux to everybody of course, but for those of us who like tech and more challenging things to play with, Linux is in my opinion not only a great platform to learn new things on, but a good daily driver OS as well
  4. If the strings had newlines, the output would look like this, wouldn't it? Existing word:car Existing word:lamp Existing word:window
  5. I haven't, but I have checked the values inside the loop multiple times simply with println() methods. Each time the values were exactly the same, but the contains() method always returned false. I think I have to declare my own method for comparing strings
  6. Hi, so I have got a method in my java web application that is supposed to compare two ArrayLists(one from a database and the other one from a web page) and remove the same elements, so the second ArrayList should contain only new values: public void updateWords(ArrayList<String> newArray, int idGroup){ //get existing words in group ArrayList<String> oldArray = getWords(idGroup); //print words for (String s:newArray){ System.out.println("New word:"+s); } for(String s:oldArray){ System.out.println("Existing word:"+s); } //remove the same elements for (int i=(newArray.size()-1);i>=0;i--){ String word=newArray.get(i).replace("\n",""); if (oldArray.contains(word)){ System.out.println("oldArray already contains:"+word); newArray.remove(i); } } for (String s:newArray){ System.out.println("New word:"+s); } } But this is the output: New word:car New word:lamp New word:window New word:cat Existing word:car Existing word:lamp Existing word:window New word:car New word:lamp New word:window New word:cat I tried to run this code in a standalone Java application with the same values and it worked. Would anybody know why it doesn't work here?
  7. Is JSP outdated? I've heard that learning JSP or servlets is essential to understand the MVC architecture(which I am trying to learn)...
  8. The CPU doesn't have integrated graphics and there are no video outputs on the motherboard either. Anyways, I cleaned the whole PC, reseated CPU and ram, replugged everything and it works. Don't know what I did wrong before
  9. Ok, I will reseat the cpu, but if there was any problem with it, the GPU would post in my main PC, wouldn't it?
  10. Thought of that too, but the cpu doesn't have iGPU and the PSU wouldn't be able to handle GPU from my system
  11. Hi, so a few months ago, I got a 10 year old, pre-built system (Core 2 duo E4500, 8500 gt, 2 GB ddr2) for free in pretty good condition. I thought I would change some components, so I disassembled it. But when I put it together in the exact same configuration, fans start to spin and it doen't post or do anything else. I tried reseating RAM, checked all cables and cleaned everything as well. I put the GPU in my main build to see if it posts - it didn't. Is it possible that the GPU is dead?
  12. So I've been learning JSP for a few weeks and haven't had any problems at all, I am using InteliJ Idea Ultimate. I tried to use JSTL tags in a simple project: <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <html> <head> <title>JSTL Test</title> </head> <body> <p><c:forEach var="i" begin="1" end="5"> Item<br> </c:forEach></p> </body> </html> But when I run the file on Tomcat server, I get HTTP Status 500 - Internal Server error, org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.index_jsp. I included the whole taglib folder I downloaded from official Apache website in External libraries and specified it in module dependencies, but I'm still getting the error. Is there any solution or would it be better to use java scriplets instead?
  13. It doesn't matter, drag drop animation will be the only animation in the whole program. I am not short in time, just wanted to know which tool or library(JavaFX, WPF, WFA etc.) would be the most suitable for this project
  14. The only animation I plan to do is object drag drop style. All other parts of the app would be just GUI(buttons, labels, texboxes etc.) and calculations. STDDraw looks like a library to just draw a shape in a window, I need a lot more functionality.
  15. I don't want to make a game, I just don't know how difficult or inefficient would it be to make more advanced GUI in WPF. I was making some simple games in WFA couple years ago, and every simple animation(like moving a rectangle in the window) was very resource hungry, I was at around 75% CPU usage when I made space attack like game...
×