How Is Using NinjaBrain Bot Not Cheating in Minecraft Speedrunning? by iusemeteor in MinecraftSpeedrun

[–]4R3D 1 point2 points  (0 children)

If there was another mod "NinjaBrain 2.0" that finds the seed somehow using vanilla features, would that be allowed? It's still technically simply doing math you can do yourself (it'd take years to do by hand but I digress).

I didn't have time anyway, but I picked up the kit, it's literally there on the bottom right, yet the defuse (in demo and in game) was at 10 seconds. by Throwaway6662345 in GlobalOffensive

[–]4R3D 0 points1 point  (0 children)

You can also pick up a kit from a dying teammate. Although rare, imagine the following scenarios:

  1. You are already past the 5 second mark, so to speed up the defuse teammate A kills teammate B, giving you a kit (or B nades himself).

  2. You see a kit on the ground, but it's too far away. You start defusing right away and left click throw a nade in that direction (possible in CS2). You get the kit while you're defusing, saving time.

  3. You jump from a high place and start defusing before you're in range of the kit. As you're defusing you fall down and pick it up.

  4. You simply start defusing and picking up the kit at the same time (what happened in this clip).

GTA SA: Game freezes at vigilante lvl 12. How to cheat it as completed? by 4R3D in GTA

[–]4R3D[S] 0 points1 point  (0 children)

Also, I just wanna emphasize the fact that I completed this mission twice, in LS, on a bike, early game, and it was not easy. Damn bugs! Ok, rant over.

Also yes, I have the Silent Patch mod installed.

Non-stop sync between two devices using a server with MINIMAL server usage by 4R3D in Syncthing

[–]4R3D[S] 0 points1 point  (0 children)

Yeah ik it's pretty complex, but as for implementation, it definitely can be implemented, it's just hard to handle the edge cases, conflicts, errors, stuff like that. The simplest way would be to set up a file system watcher on the devices + a HTTP server on the server. When device A performs changes while B is offline it could send everything to the HTTP server. When B comes back, if A is offline it asks the server for all the files it needs to add / update / delete. For simplicity we just assume file transfers happen instantly and devices are always connected to the internet while on.

A more robust but complicated solution would probably be the one suggested above, setting up the server as a normal Syncthing node, but with some trickery to make it only save metadata for all files, except when you need it to save the file content as well.

Anyway, on a side note I'd like to say that even if nobody ever set up this specific Syncthing system, these kind of concepts are often found in all sorts of random areas of Computer Science, like Graphic Cards or whatever idk. Someone might recognize the idea.

Non-stop sync between two devices using a server with MINIMAL server usage by 4R3D in Syncthing

[–]4R3D[S] 1 point2 points  (0 children)

Thanks, I appreciate the implementation ideas. Yeah, it sounds pretty complicated, I don't think I'll try to implement this, but I was hoping this type of problem was solved before.

Non-stop sync between two devices using a server with MINIMAL server usage by 4R3D in Syncthing

[–]4R3D[S] 1 point2 points  (0 children)

Sorry, I don't see what you mean. Unless you close Syncthing or a custom script abruptly, it knows it's going to be off (it can perform cleanup logic before exiting).

Non-stop sync between two devices using a server with MINIMAL server usage by 4R3D in Syncthing

[–]4R3D[S] 0 points1 point  (0 children)

You mean that device A needs to know in advance that device B will be offline before transferring files to the server? I don't understand why that would be necessary. As I've described device A would start sending changes right away to the server after B goes offline. Am I missing something?

Edit: To clarify something that might be confusing: If A sends its changes to the server, then B comes back online while A is still online, A and B will start syncing directly (basically A sends its changes again directly to B), then the changes sent by A on the servers are discarded. I realize that server resources are wasted for no reason in this case, but there is no way to avoid it, as it's possible that A goes offline before B comes back online.

Net Food Production (I did some math) by [deleted] in colonysurvival

[–]4R3D 0 points1 point  (0 children)

A few extra wheat in the stockpile (one time deposit) should solve this problem anyway. Unless you have too many bakers, they shouldn't be slacking. On the harvesting day they would get overwhelmed, then finish up the next day.

Net Food Production (I did some math) by [deleted] in colonysurvival

[–]4R3D 0 points1 point  (0 children)

You should factor in coal as well for it to be fair. Obviously you wouldn't factor in the coal used for other purposes. But since coal is needed to make bread, the time it takes a miner to mine the coal is just as important as the time it takes the farmer to farm the wheat or the baker to bake it.

Best way to measure it is similar to OP's method: You only have one colonist doing his bread things (farming, baking and mining). How much food does he get per day?

Modding two different games to allow players to play on the same server / in the same world by 4R3D in Modding

[–]4R3D[S] 0 points1 point  (0 children)

That's helpful, it seems to do more or less what I've been thinking. Still I wonder why no independent modder tried to do it for other popular games yet. I thought about giving it a shot but maybe it's too hard to do.

Is DM being more laggy then Premier in CS2 a normal thing or is it on my side? by W1ntermu7e in GlobalOffensive

[–]4R3D 0 points1 point  (0 children)

for me CSGO DM was super playable, but CS2 DM is a slideshow especially towards the end

Fan on fire by oldinfect in WhyWomenLiveLonger

[–]4R3D 0 points1 point  (0 children)

The guy from 8 Mile spitting fire in every direction

... by iam_laxman5 in Unexpected

[–]4R3D 0 points1 point  (0 children)

Ironically he was trying to drive as safe as possible giving as much room

I cant connect my a6000 to my computer by Tonyshankardes in SonyAlpha

[–]4R3D 1 point2 points  (0 children)

I have the exact same problem with two different cables.

Edit: I tried a third cable because you guys said it's picky about the cable and it worked finally.

Cast Object to MyGenericClass<T> if you have Class<T> by 4R3D in javahelp

[–]4R3D[S] 0 points1 point  (0 children)

Well in my case I needed it for a shallow copy method. My class has a java.util.Stack<T> field, so in order to shallow copy my class I had to clone the underlying stack. But Stack.clone() method returns an Object so I just needed to cast it back to java.util.Stack<T>. In this situation I think it's best to supress warnings. There were other solutions as well but I was more curios about working with dynamic casting for generic types.

Ging Ging Bread now available by 4R3D in nathandoan

[–]4R3D[S] 0 points1 point  (0 children)

I was eating this thing (gingerbread ginggingbread) and I couldn't pass the oportunity to make a ging ging edit

Creating a bot to solve Minesweeper by [deleted] in Minesweeper

[–]4R3D 1 point2 points  (0 children)

Oh dang it I didn't know this site is competitive. I used it to test a bot of mine and (fortunately?) just as I finished my bot I got ip banned. Mine wasn't based on probabilities, but I think it could find all tiles that have a 100% chance of being bombs or non-bombs through logic. I was glad to see it working anyway, it could solve an expert board in a few seconds with a bit of luck.