Joshua Minter

Greenhorn
+ Follow
since Jan 10, 2016
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Joshua Minter



(This isnt my computer as I don't have access to it at the moment. This is just a picture from the internet)

See down the bottom right of the screen? I'm pretty sure this is on all computers even desktops.
8 years ago
To get to it from the lock screen. Select the power button in the bottom right corner (where you would usually go to shut down, restart, etc.) then select restart while holding down shift. It should say "Please Wait..." if you did it correctly and switch to troubleshooting. From there you can have a look around.

Sorry for not being specific enough.
8 years ago
Im putting this in "Meaningless Drivel" because there didn't seem to be a windows section. If there is, and I missed it, can you please inform me and move the post.

On Windows 8/8.1/10 there are these troubleshooting settings which you can get too by the lockscreen but holding down shift and selecting restart (I'm also pretty sure there are other ways to get to it but this is the easiest as no pass is required). From here you can do things like boot UEFI, boot from another disk or even wipe the computer clean. I password locked UEFI, pretty sure my friends wouldn't go to the extent that they would install a whole new operating system, and was pretty sure the wipe computer option would be locked.

But recently, my friends were joking around with my laptop and went into that option, pretty sure (like me) that it would be locked since they accessed it from the lock screen without a password.
Turns out we were all wrong.

Luckily I was able to stop it while it was still "Preparing" and nothing seemed to be affected. But I have lots of code (that I should backup) that I don't want to lose. This seems like a very huge and simple security risk so there must be some option somewhere to password lock it but after searching about it I couldn't find anything. So thats why I'm here.

Thanks in advance.
8 years ago
Does anyone have anything to say?
8 years ago
This is just a quick question which ive seen many discussions of before.
But the general answer is "dynamic libraries as if someone has a new version of the library it will use the newest version."
But most of the libraries I'm using like GLFW, GLEW and the MinGW libraries (libgcc and libstdc++) won't be on most computers.

So in that case, where that previous argument is invalid, which one is better and why?
8 years ago
I was able to simplify it down more:


But still:


Isn't that code as simple as it gets? I have no idea what is going wrong. Can someone please help me?
Thanks in advance.
So, there hasn't been any replies, and I know I kind of just gave you a bunch of code and told you to fix it for me, so I did a bit of testing.
This code here does not work:


It gives the error:


Which narrows it down to the two classes:
com.redmintie.game.util.net.Client and
com.redmintie.game.util.net.Server

I will see what else I can find and reply to this topic with anything I find.
Thanks in advance.
Hello! I am completely new to JavaRanch? (or is it CodeRanch? or Big Moose Saloon?) and I am also new to NIO.

I am programming this card playing game and I decided to use NIO for the sole reason that I didn't want hundreds of threads.
I ended up making it single threaded (using selectNow, is this a bad thing) for 2 reasons:
- multithreading is a pain
- I'm using LWJGL which most of the methods only work on the main thread

But I am getting this error when I run the program twice, one hosting and the other one connecting to my IP:


My code is hosted on Github at https://github.com/matanui159/Card-Player/tree/no-engine.

Some more information:
- I have googled it and apparently it happens either when the port Isn't used or the "backlog queue" is full, which happens when alot of clients are connecting, but only one client is connecting and both the client and the server share a common port (at NetConstants.PORT = 22737)
- It still works when I use the loopback address (127.0.0.1)
- when I try to connect from another computer (on LAN still) I get a timeout error instead

Can someone please help me. If there is any information I forgot or I'm breaking one of the rules, let me know, and I will fix.
Thanks in advance.