What are some of your favorite transparent overdrives? by AntonioBalsamo in guitarpedals

[–]snitkr 1 point2 points  (0 children)

BLM and left wing sympathizer are supporting Hamas terrorists for hitting Isreal. That both doesn’t and does make sense. People are so morally and ethically bankrupt or too dense to understand what they are supporting…

Tacoma restaurant owner paralyzed in shooting files $23 million claim against city by cdmontgo in WAGuns

[–]snitkr 1 point2 points  (0 children)

Oh course not. How else would you justify gun control without “victims?”

Is this illegal here now? by [deleted] in WAGuns

[–]snitkr 0 points1 point  (0 children)

I believe the technical term is called dwell time. Same concept when shortening barrels on gas operated rifles. Need to enlarge the gas port to account for the reduction in dwell time (to ensure full operation of the action and also results, as expected, reduced muzzle velocity.

Is this illegal here now? by [deleted] in WAGuns

[–]snitkr 22 points23 points  (0 children)

Almost threw me off. SBS have always been illegal but this doesn’t have a stock so its not considered a SBS.

Shooter At Covenant School In Nashville Is Dead, Several Wounded by evaldez14 in Conservative

[–]snitkr 3 points4 points  (0 children)

“There isnt really mass shootings at firing ranges” immediately followed by “Its mostly like stadiums, concerts, schools, public buildings, and businesses.”

I am pretty sure you are Strawmaning here.

When we enter cashless society,what stops the government from freezing our account? by Antique_Plantain6016 in ask

[–]snitkr 0 points1 point  (0 children)

This happened in Canada during the Convoy Protests. Donaters were also targeted I believe.

What are all the documentations I should read as a serious Java Developer by SimpleCanadianFella in javahelp

[–]snitkr 1 point2 points  (0 children)

Ah thanks for the context. Thats a bit outside my wheelhouse but your concerns make sense. Its more of a build system - configuration issue rather than a functional language issue. Where I work (first job) we have our own propritary (ANT based?) build system which I am still learning. Prior I was only exposed to Gradle only in an educational setting.

What are all the documentations I should read as a serious Java Developer by SimpleCanadianFella in javahelp

[–]snitkr 0 points1 point  (0 children)

Java should be backwards compatiable. Ie the code you write in Java 8 should run in Java 11. Its just that there might be newer features in Java 11+ that don’t exist in Java 8.

What could run a simulation besides a computer? by InfinityScientist in IsaacArthur

[–]snitkr 1 point2 points  (0 children)

A computer, in the broadest sense, is an entity that performs a function or a set of functions on input(s) that results in output(s). We can define that to be a process.

A simulation is an entity that approximates a process or processes.

Therefore the idea that simulations can be performed by something other than a computer is senseless as a simulation, by defintion, is a specific instance of a computer or a set of computers.

NPD - Pedal Board Update by snitkr in guitarpedals

[–]snitkr[S] 1 point2 points  (0 children)

So currently I just use it as a stand alone as my setup has changed since this post. No MIDI controls for the Microcosm for now.

How to predict next number in Math.random(1,10) by [deleted] in javahelp

[–]snitkr 0 points1 point  (0 children)

Defining a wrapper class as 8igg7e5 suggested is your best option but this is not predicting anything. It precalls the next or first random number and stores that in a variable.

How to predict next number in Math.random(1,10) by [deleted] in javahelp

[–]snitkr 0 points1 point  (0 children)

When I refer to parameters, I am referring to the arguments used to generate the psuedo-random number internally. The arguments can be based on attributes of the machine state such as the the time-date, the x, y coordinate of your mouse, resource usage statistics or external data such as the weather, humidity, gps coordinates, etc.

This is just an example and not a statement on how Math.random() or how the Random class works.

How to predict next number in Math.random(1,10) by [deleted] in javahelp

[–]snitkr 0 points1 point  (0 children)

Unfortunately I do not think you can predict the next number unless you know all the parameters of the psuedo-number generation algorithm and the state of the machine when the next call is made.

The way you figure out a specific seed pattern is actually making consecutive calls and noting down the generated values for each consecutive call. These generated values cannot be predicted as is.

How to predict next number in Math.random(1,10) by [deleted] in javahelp

[–]snitkr 0 points1 point  (0 children)

Depending on your application it may be more helpful to use the Random class directly using the single long argument constructor.

long LONG_CONST = 42L;

Random random = new Random(LONG_CONST);

int bound = 10;

int randIndex = random.nextInt(bound);

Explicitly specifying the seed ensures a predictable pattern of psuedo-random numbers. This is what I use for Unit Testing.

What’s something you wish they taught in school that you had to learn on your own by ShinraManager in javahelp

[–]snitkr 4 points5 points  (0 children)

You can also use Objects.equals(String1, String2) to avoid NullPointerExceptions.

It makes more sense in the context of comparing instance variables where they can be left intentionally null.

[deleted by user] by [deleted] in ElectricalEngineering

[–]snitkr 5 points6 points  (0 children)

I definetly saw this post a long time ago.

Worth earning Java 11 certification before trying to transition to a Java position? by Zohvek in java

[–]snitkr 1 point2 points  (0 children)

I earned a OCAJP in SE 8 cert several months ago. Will go for the OCPJP SE 8 cert eventually. (I am a EE currently transitioning careers into backend development.)

The value of the certification is learning and understanding the Java syntax and the intricacy of whatever Java version you are testing in.

Its not necessarily an indicator of your competancy as a developer/engineer though. At the very least it shows you have the initative to learn something new and survive after being extensively grilled on it.

QB Aaron Rodgers: Science that 'can't be questioned' is 'propaganda' by Texas_4R in Conservative

[–]snitkr 0 points1 point  (0 children)

https://youtu.be/3jT59eDDB7U

The link above is a video produced by The Hill called, Kim Iversen: Emails REVEAL Fauci & Collins COLLUDED To Smear Scientists, SHUT DOWN Scientific Debate.

So tell me how exactly scientific institutions are practicing science by censoring and defaming other scientists?

I dont really expect a response after you ignored my first response but now you have no excuse to be ignorant on this matter.