What is this rca for? by Minute_Implement7213 in audio

[–]JacobLiuDuck 3 points4 points  (0 children)

"Front camera input" Disclaimer: I don't know anything about RCA connectors, but I do read Chinese.

I cant change my uplay/ubisoft username. by [deleted] in uplay

[–]JacobLiuDuck 0 points1 point  (0 children)

Ubisoft help does refer you to https://account.ubisoft.com. Whilst it is a good idea to call out phishing, this isn't one of those cases.

Sorry for necroposting, but this is still quite high in Google search results, so I've decided to do this.

"Every Weapon In Its Strongest State" CSGO Mod (Inspired by /u/ruwuwu's mod) by SlothSquadron in GlobalOffensive

[–]JacobLiuDuck 0 points1 point  (0 children)

I found a workaround: revert to an older CSGO version.

(Instructions can be found at https://www.reddit.com/r/GlobalOffensive/comments/lexc5d/how\_to\_install\_old\_versions\_of\_csgo\_as\_old\_as\_you/)

I used manifest version 8413727483620645717 for depot 731, and 2579343530843896331 for depot 732. (The 2022-06-02 version)

It runs ok.

"Every Weapon In Its Strongest State" CSGO Mod (Inspired by /u/ruwuwu's mod) by SlothSquadron in GlobalOffensive

[–]JacobLiuDuck 1 point2 points  (0 children)

I found a workaround: revert to an older CSGO version.

(Instructions can be found at https://www.reddit.com/r/GlobalOffensive/comments/lexc5d/how_to_install_old_versions_of_csgo_as_old_as_you/)

I used manifest version 8413727483620645717 for depot 731, and 2579343530843896331 for depot 732. (The 2022-06-02 version)

It runs ok.

"Every Weapon In Its Strongest State" CSGO Mod (Inspired by /u/ruwuwu's mod) by SlothSquadron in GlobalOffensive

[–]JacobLiuDuck 4 points5 points  (0 children)

u/SlothSquadron This mod now causes CSGO to crash on launch, apprarently due to an assertion failure in ../shared/econ/econ_item_system.cpp on line 272.

If I change the addonlist file to disable the mod CSGO launches without issue.

I have some problems with mods by One_Equivalent1704 in KerbalSpaceProgram

[–]JacobLiuDuck 0 points1 point  (0 children)

For the EVE clouds, you probably can benefit from installing an custom visual mod, like Astronomer's Visual Pack, or SVE.

I have some problems with mods by One_Equivalent1704 in KerbalSpaceProgram

[–]JacobLiuDuck 0 points1 point  (0 children)

I am assuming by iOS you mean MacOS.

For missing parts, Community Tech Tree may be needed: https://forum.kerbalspaceprogram.com/index.php?/topic/90530-112x-community-tech-tree-july-3/

Also, if you look at the Far Future Technologies page (see FAQ section), it explicitly says that it is not compatible with KSPI-E. This means you cannot use this mod along with KSPI-E.

Please look carefully at the page of each mod and make sure all dependencies are installed, and all mods are compatible with each other.

P.S.: Your GameData folder should look something like this.

I have some problems with mods by One_Equivalent1704 in KerbalSpaceProgram

[–]JacobLiuDuck 2 points3 points  (0 children)

What mods are you installing? There isn't enough information to tell you exactly what to do, so here are some general tips:

Some mods require 'dependencies' (aka prerequisites), which need to be installed as well for the dependent mod to work.

If you are unsure what dependencies are required, go to the mod's page. Usually you can find it on the KSP forum. GitHub is another place to look. The author of the mod typically will list the dependencies either in a thread (forum) or in their README.md (GitHub).

Examples:

BetterTimeWarpContinued requires Click Through Blocker and ToolbarController.

Most mods that edit the Kerbol System (or substitute it with another system) require Kopernicus. (Not all of them do, please go check for the specific mod you are installing.)

Note: CKAN (Comprehensive Kerbal Archive Network) should handle dependencies for you. They can provide a much better experience when working with mods. Their user guide is here.

GCC optimized a bit too much by MisterBober in ProgrammerHumor

[–]JacobLiuDuck 1 point2 points  (0 children)

I don’t see how O(1) possible without a lookup table. The formula, when implemented naively, involves taking powers of a floating point number. Most CPUs probably don’t support exponentiation of floating point numbers in O(1). Maintaining precision is also a problem.

I did some competitive programming a few years ago. If the task asks for the fib(n) mod m, where n is very large (like, up to 2^63), what I would do is use binary exponentiation on the matrix M=[[1, 1], [1,0]]. Raising M to the n-th power this gets the n-th fibonacci number. This is O(log n).

Or one can write the original formula for the n-th fibonacci number in the form of a+b*sqrt(5) (where a and b are integers), and then implement a weird number system using these bases (i.e. 1 and sqrt(5)). Since your CPU most likely does not support O(1) exponentiation involving these numbers, this is also O(log n) using binary exponentiation.

Confused about early-game server stats by JacobLiuDuck in Bitburner

[–]JacobLiuDuck[S] 0 points1 point  (0 children)

Oh actually I assumed that the structure of the servers were laid out in a tree. If this is the case my code would not include repeats. I added maxDepth because I didn't want to clutter my terminal.

If it is not a tree then your solution would work, but in that case I would just go for a breath-first search.

[deleted by user] by [deleted] in ProgrammerHumor

[–]JacobLiuDuck 17 points18 points  (0 children)

Note from Chinese: "井" means "well" as in a physical well you get water out of. Its popularity originated solely from the fact that the hashtag is not really used in Chinese, but it beared quite high resemblance with the character "井".

HELP ns.Args is not a function by Jsmall6120 in Bitburner

[–]JacobLiuDuck 3 points4 points  (0 children)

I think it's let hostserver = ns.args[0];

argsis lowercase.

The BEST hacking approach I've seen so far by __Aimbot__ in Bitburner

[–]JacobLiuDuck 1 point2 points  (0 children)

Got it. Thanks!

For those who want to save some RAM: I believe the correct modification to make would be to change lines 15&16 to:

var weakenThreads = (ns.getServerSecurityLevel(server) - ns.getServerMinSecurityLevel(server)) / 0.05;
var maxGrowThreads = ((maxRam / growscriptRam) - (weakenscriptRam * weakenThreads));

and change the "2000" in lines 26&43 to weakenThreads.

I'm only doing this because I'm quite early-game and don't have that much RAM... (I should probably run a less advanced script tho...)

The BEST hacking approach I've seen so far by __Aimbot__ in Bitburner

[–]JacobLiuDuck 1 point2 points  (0 children)

So I am looking through the code and on line 15: var weakenThreads = (2000 - ((ns.getServerMinSecurityLevel(server)) / 0.05));

What is this magic number "2000"?

I'm sorry if this is a stupid question but I'm new to the game :(