- Strength to Increase Rep
- +16
- Strength to Decrease Rep
- -4
- Upvotes Received
- 4K
- Posts with Upvotes
- 3K
- Upvoting Members
- 889
- Downvotes Received
- 120
- Posts with Downvotes
- 114
- Downvoting Members
- 56
| |
Re: My favourite Zen proverb: "the grandfather dies, the father dies, the son dies" Sounds very depressing at first sight, but when you think about it you see that it is perfect - anything else is a lot worse. | |
Re: The `Random` class in the standard Java API has all you need. Just Google it. | |
Re: I watch almost everything via a recording, so I can always skip the ads, but I still have to put with "coming after the break " followed by a preview of the best bits to come, and then after the break a complete resume of the segment that just finished. … | |
Re: I used https://apps.apple.com/us/app/photos-duplicate-cleaner/id592704001?mt=12 Worked well for me. | |
Re: > Basically these kind of Apps allow you to access internet even if you don't have data at all I believe you are mistaken about this. VPNs and tunnels still need to transmit your bytes over your internet connection. What makes you think otherwise? | |
Re: It looks like your files are in the wrong place. As used in your code, getResource will look for the files in same folder (or package if you are runnng from a jar) that the current class was loaded from. I don't see any class files in that directory. It … | |
Re: Yes. Just make sure that the new Object is has all its variables in a decent state regardless of which conditional paths are executed. | |
Re: Do you have enough address space for 10 biilion long long ints (at least 80GB)? | |
Re: So if I use Excel to create an interesting spreadsheet Microsoft should be the copyright owner? | |
Re: We may have had our disagreements in the past, but this is one thing I wouldn’t wish on my worst enemy. With all my heart I wish you the strength to endure what must be endured. And, who knows, modern medicine is improving exponentially. There’s always hope. James | |
Re: TCP. UDP messages are sent, but there is no check or guarantee whether they arrive or not. Also if you send multiple UDP packets there's no guarantee that they will arrive in the same order as they were sent. | |
Re: Don’t know if this helps but… If your compiler has `__STDC_NO_VLA__` = 1 then it doesn’t support variable length arrays (C++ 11) | |
Re: > What are the 2 main types of software? Software with known bugs, and software with bugs we don’t know about. | |
Re: Just FYI the “standard” way to code this (saving duplicated reads and tests) is simply while ((String line = br.readLine()) != null) { // process line } | |
Re: > Dissertation helper Does that mean you help people cheat? Shame on you. | |
Re: I’m no Python expert, but my understanding is that __del__ is called when and if the object is deleted by the garbage collecter. This may be some time after the last reference is released by obj = None, definitely *not* “as soon as you do obj = None”. Maybe the … | |
Re: Place the database jar somewhere in your CLASSPATH, and`import` the classes you need in the other projects do you can use them directly. | |
Re: > How can I get this source code? It's a learning assignment. You get the source code by writing it yourself - that's how you learn. If you are trying to write it, and you're stuck, explain what you have done so far and what's blocking you. Someone will help. | |
Re: Did you set the JFrame as the owner of the dialogs when creating them? | |
Re: Some countries including France where I live use a . between thousands and a , before the decimals. Java localisation will automatically default to display numbers in the correct format for the users locale. You can override this by setting an explicit locale in your program if you want to … | |
Re: I think you mean decrypt. 10 seconds with google tells us that rot13 is simply a ceaser cypher that replaces each letter with the letter 13 after it in the alphabet. Very easy in any programming language. | |
Re: Be realistic. Your tutor expects this to take weeks of work for a team of 2. There’s no possibility of doing anything by ‘tomorrow’. Spend your time thinking about plan B. | |
Re: Is it possible that the panel becomes visible before the tile class is fully initialised? | |
Re: I doubt that you will find an off-the-shelf solution, nor will you find an easy one. You need to traverse a tree with nodes for each value x1, x2, x3 etc. Looks like a recursive algorithm. How much do you really want a solution? | |
Re: Just out of curiosity, what are you modelling that needs an accuracy like 1 part in 10^20? | |
Re: You write a Java program as specified in the assignment. Have you even tried to start writing? | |
Re: Ok. You have started, so that’s good. How far did you get and what’s stopping you from progressing further? | |
| Re: > It's not good practice to short circuit the page by calling exit; in the middle of an if-else block. So you call a separate method that calls exit for you? All you have done is make the code more obscure by hiding the exit. try/catch would be much clearer. |