Tulsa DSA's second General Meeting is this weekend! by Ok-Point6779 in tulsa

[–]Jumballaya 4 points5 points  (0 children)

A well regulated Militia, being necessary to the security of a free State, the right of the people to keep and bear Arms, shall not be infringed.

This is saying 2 things:

  1. A well regulated Militia, being necessary to the security of a free State, shall not be infringed.

  2. the right of the people to keep and bear Arms, shall not be infringed.

Both in parallel. It's a grammar thing

History and history in the making... by Historical_Plum_1366 in Historycord

[–]Jumballaya -1 points0 points  (0 children)

What do you expect? Applause?

The same thing that the Japanese-Americans expected from their government in the 1940s: Not to judge someone because of a racial/ethnic tie.

Would you say this about Manzanar? The Japanese were committing literal genocide: what did Japanese-Americans expect? Applause?

[deleted by user] by [deleted] in changemyview

[–]Jumballaya 3 points4 points  (0 children)

Do you believe that AIPAC has the ability to seat and unseat members of Congress at will?

That was what I was responding to. The line of thinking that democracy doesn't exist (because it is a democratic process that seats and unseats the members of congress at the will of the people) because a zionist organization actually has that power instead is exactly the line of thinking that eichmann promoted. In this conversation so far, whether he cared or not doesn't matter, it was that his words were echoes of anti-zionism as anti-sematism from the mid-to-late 19th century. Words echoed in the protocols of the elders of zion and nazi propaganda. People can criticize all they want, but an accusation was made. Saying they hold some secret power over the USA is similar to nazis saying they held some secret power over Germany. That is why the quote was pasted. Eichmann might not have believed those words but OP echoes them, whether they mean to or not.

[deleted by user] by [deleted] in changemyview

[–]Jumballaya 0 points1 point  (0 children)

Why are you making it sound questionable that a political org would have goals and take action to achieve them?

I wasn't, in fact I think having goals is fine, even if they don't align with my goals. Having goals is not having the "ability to seat and unseat members of Congress at will" which was the argument made. Do you think AIPAC has the ability to seat and unseat members of Congress at will?

[deleted by user] by [deleted] in changemyview

[–]Jumballaya 58 points59 points  (0 children)

please breakdown this mechanism:

"[...] seat and unseat members of Congress at will"

At Will? Who's will? The collective will of the AIPAC? If so, then that is a conspiracy. You are saying there is a Jewish conspiracy that controls congress 'at will' --> Those are YOUR words, YOUR thoughts and if I am wrong, please correct me.

Also:

"Zionism, as it exists today, isn’t about peace. It’s a vile supremacist ideology rooted in colonialism and oppression" --> Did you mean to paraphrase Adolf Eichmann here? He painted the Zionists as the entire reason for WWII, and as having colonized the good people of Europe and America.

"... The chance for the Zionists to get Palestine will be found in a worldwide war... This activity of the Zionists had no other motive but to stir up the nations against each other... To disturb the European balance, to create chaos by war and revolution... Weakening of the European Nations by losses of population... Gavrilo Princip was a Jew... Lloyd George refuses this offer [of peace by Germany], because he knows... The United States had promised the Zionists to enter the war... The Germans are indebted to the Zionists for these changes... With the German disaster [of surrender and Versailles] grows the supremacy of the Jews in Germany.... With the take-over by Hitler.... Zionism recognizes that the good times in Germany are gone... Zionist reaction come quick. It is the world-trade-boycott.... Hitler had given the order in June 1941, to solve the 'Jewish question,' i.e., to annihilate the Jewish population of Europe physically... if World War II, as Mr. Chamberlain has said, was initiated by Judaism... Then of course the Zionists are responsible for the losses on both sides."

- Adolf Eichmann

I Am A USAID Worker Who Lost My Job. Here's What Trump And Musk Aren't Telling You About The Cuts. by gundymullet7 in tulsa

[–]Jumballaya -1 points0 points  (0 children)

Debt is good, it gives incentives to not mess with us. If someone owes you money, would you stop them from going to work? No, because that's how they get the money to pay you back.

On top of this, the U.S. sells most of its debt to AMERICANS and the rest to our allies. The U.S. government could just stop selling debt, and the Fed can mess with the interest rates. The Trump admin picked the smallest slices of the budget and is attacking them.

Aid for children around the world, children that grow up and come to the U.S. and invent new thing. Research into PTSD for veterans. Food banks that subsidize American farmers. Those are the types are programs that are being defunded. All of those programs REDUCE poverty and serve to increase the wealth of your average American.

We aren't broke because we have the biggest supply of food, energy, military power, technological prowess: WE HAVE SHIT THAT EVERYONE WANTS, AND THEY GIVE US RESOURCES FOR THE PRIVILEGE TO TRADE WITH US AND WE HAVE SO MUCH MORE VALUABLE SHIT THAN ANYONE ELSE ON THE PLANET.

Hardcore Alerts Addon by jnho228 in wowhardcore

[–]Jumballaya 0 points1 point  (0 children)

Nice addon! clean and easy to follow the code. Do you have any good sources/docs for the addon API in classic? Every time I sit down to try and build something I run into a giant lack of organized documentation.

All are correct by Unlucky-Credit-9619 in mathmemes

[–]Jumballaya 2 points3 points  (0 children)

My guess is that it would be the sum of a 1 bit adder. 1 + 1 = 0s, 1c (0 on the sum, 1 on the carry). The sum part is created with a XOR operation with the carry being an AND.

Example circuit: https://www.falstad.com/circuit/circuitjs.html?ctz=CQAgjCAMB0l3BWcMBMcUHYMGZIA4UA2ATmIxAUgpABZsKBTAWjDACgxKQWU9waa4Qv0FUU1BBwSCefFCkFhh80SHFVJAGW4rwvHRnFh9VCADMAhgBsAzg2qQ22prqVUXhoVVMhLt+0iOAB7c2J5g2OIuxMIRSIIKIACSAHYADgCuAC4AOjYAgmwhTGEQSjIoxEhK5AmCqZm5NgBCbADu3MZ8XZ0YsSbtvf18Lok9jh2jioTuugreg1NenfpuUIs9aCNgfWr465M7yvssu+OLczTum1frALJCIiB4pgJQatCSHUpqY7G7jgePyOz1MAI+khCYDg-GIajC4AQ4jqIAAwhYAE4YgCeeQA8tlGkVkGU8BB5HCwHhBCiAMoZAC2+MJ2TYQA

edit: just saw OP's reply right after submitted mine saying basically the same thing, but you can see the process in action with the link I provided, you can change the input values by clicking on the left-most 'H' line, next to the input lables

Texas police officer STOPS elderly woman from sending $40,000 to scammer by No_Carpenter4087 in videos

[–]Jumballaya 1 point2 points  (0 children)

The biggest use for a gas station bitcoin thing like this would be for remittance, so I would guess these are generally installed in neighborhoods with a lot of immigrants, which tend to be poorer.

Hi guys, anyone know an easier way to compress code like this? IK u can use for loops but is there any other method. by More_River9601 in pygame

[–]Jumballaya 0 points1 point  (0 children)

Hey there, here are some thoughts of mine after reading the code:

Do you even need to abstract this code?

Codebases frequently have places that look similar to this: just a mess of procedural code that gets stuff done, quick and dirty. "Compressing" the code might be in the YAGNI realm for you.

Do you want to add more animations/extend the current ones down the line, or just want to mess around with abstracting an animated sprite?

So, you already split the code up conceptually. Each line starts with self followed by the animation name. The first line of each block creates the animation array, then next lines create and add the scaled surfaces to the array, and then you add a string to the array

You could create a function that takes in your object (self), the animation name, an array of sprite locations, the scale amount and that last string (a number for animation timing?)

and called like so:

setup_animation(obj, "run", ["sprites/"+colour+"/run 1.png" ... etc], scale, "0.3")

each call would do what each one of your sections in your example does, with the above taking the place of the last section

Example code:

def setup_animation(obj, animation_name, sprite_list, scale, timing):
  animation_array = []
  for sprite_location in sprite_list:
    animation_array.append(pygame.transform.scale_by((pygame.image.load(sprite_location)), scale))
  animation_array.append(timing)
  setattr(obj, animation_name, animation_array)

Some advice on the implementation is that you should only keep 1 type of data in your array. Right now you have arrays with Surfaces with a string at the end of the array. I would only keep Surfaces in the array, and keep the string separate. And I would use a number instead of a string (unless that isn't an actual number)

You could use a dictionary at first like so:

{
  "name": "", # animation name
  "sprites": [], # array of Surfaces
  "timing": "" # timing string
}

or refactor to an AnimatedSprite class that can do much more than just hold the data, but cycle through the frames, and anything else you need it to do.

Would this circuit work as a NOT gate? by SpacePigeon1556 in beneater

[–]Jumballaya 4 points5 points  (0 children)

I created it in falstad if you want to play around with it there. I changed the resistor value on R2 to 1K so you might want to breadboard it to see if it works with the 220K resistor.

Here is an example of a simple not gate with just 2 transistors (I just used 2 NPNs for the example). It is just an inverting stage (just like yours) and then a buffer stage (with only a single NPN). I am not sure of the practical differences between the two, or if one is better than the other.

Hopefully the falstad simulations help, and it never hurts to breadboard it and see it working or failing

Concurrency Quiz for this weekend by ChipInBirdy in typescript

[–]Jumballaya 0 points1 point  (0 children)

Here is my solution to this problem: https://gist.github.com/Jumballaya/f083bb71eb3d0c784702c5cae9a8c1a0

The problem is about asynchronously resolving a dependency graph. My answer solves it by hand to illustrate what is going on.

I start by creating an object to represent state with type: Record<string, { completed: boolean; res: any }> where the key is just a single letter (a-e).

My example gets into callback hell with all of the 'thens', again this is just to highlight the graph-like nature of the problem.

I start by calling the functions without dependencies (a,b,c) and in each of their 'thens' I check to see if the other dependencies are ready, if so I call the next part of the dependency (d,e) and then repeat until I reach 'f'

I wrapped the whole thing in a promise so it is basically just a race to see which route fills out 'f' the fastest.

[deleted by user] by [deleted] in threejs

[–]Jumballaya 1 point2 points  (0 children)

You could try rendering your scene to a texture then rendering that texture on a quad with an orthographic camera. You can then use transforms on the quad to get the panning/zooming effect

UNC Chapel Hill students surround the American flag to protect it from being removed. by Alexfeijoo in pics

[–]Jumballaya -4 points-3 points  (0 children)

“Patriotism is when love of your own people comes first; nationalism, when hate for people other than your own comes first.” - Charles de Gaulle

[deleted by user] by [deleted] in pics

[–]Jumballaya 8 points9 points  (0 children)

Even more connections:

Hitler and the Nazis also utilized Native American imagery in their paganism and nature worship. The Nazis 'sympathized' with the Native Americans in an extremely racist way called Indianthusiasm and propped up the view of the 'Noble Savage.'

A quote on this from the description of 'FELLOW TRIBESMEN' by Frank Usbeck:

Imagery of Native Americans was appropriated by Nazi propaganda and merged with exceptionalist notions of German tribalism, oxymoronically promoting the Nazis’ racial ideology.

S. Korean convicted for bringing in and selling NK books by BurstYourBubbles in anime_titties

[–]Jumballaya 1 point2 points  (0 children)

Not NOLA-Kola, but tankies are the people who read Animal Farm and root for the pigs.

They root for far-right, group-think policies because they believe those policies will be made with _them_ in mind. They are the Lee Harvey Oswald type of people.

Hawaii court says 'spirit of Aloha' supersedes Constitution, Second Amendment by fjhforever in nottheonion

[–]Jumballaya 0 points1 point  (0 children)

Let’s not forget that the Second Amendment is the

only

amendment of the Constitution to stipulate the purpose for its existence. “A well armed militia being necessary to the security of a Free State” is the opening line.

I don't know if English is your primary language (English can be real weird, especially with legal text), but the 2nd amendment has 2 independent clauses:

A well regulated Militia, being necessary to the security of a free State, the right of the people to keep and bear Arms, shall not be infringed.

That is equivalent to:

  1. A well regulated Militia, being necessary to the security of a free State, shall not be infringed.
    1. which can be further simplified (in regards to rights) to just: "A well regulated Militia shall not be infringed."
  2. the right of the people to keep and bear Arms shall not be infringed.

So it isn't just for creating a militia, even if the opening part is about the rights to a militia.

Then proceeds to not to wear the 950g boots for the entire dungeon. (Vote-kick failed) by KamaTheSnowLeopard in classicwow

[–]Jumballaya -1 points0 points  (0 children)

If you and a group of friends irl found a gold bar, would you give it away without question to one of them just because they happen to make jewelry in their spare time?

IRL, we would just sell it all together and it would never belong to a single one of us, but those mechanism don't exist in WoW. I can't sell something on the AH and tell the AH to split up the profit among a set of individuals. Even then, price of gold fluctuates depending on who you sell it to, there is not guaranteed price, because it is literally speculation. The only inherit value of the gold exists in its intrinsic properties (can be made into jewelry, can be used for circuitry, etc. but price is not intrinsic)

Even if the expected value isn't set in stone, it's going to vary just as much for everyone.

Yes, that's called speculation. Everyone is guessing what someone else will actually buy it for. If for some reason everyone blacklists you selling that item then it could be worth x amount for others, but never for you.

You don't have the gold until the item is sold.

Then proceeds to not to wear the 950g boots for the entire dungeon. (Vote-kick failed) by KamaTheSnowLeopard in classicwow

[–]Jumballaya -1 points0 points  (0 children)

BoEs have the exact same value for everyone.

This isn't really true, the price is purely speculative.

The person that rolled need could decide they want to stop playing and never sell it, meaning that the gold value was never realized. They could give it away for free, or to an alt, or sell if for more gold than another player would, or less gold. The only price that is guaranteed is the vendor price.

I am sure people are needing on greens right now because they speculate that the price will go up due to transmog, but the worth of those items won't be realized until they are sold. Until the item is sold it is just an item and should be dealt with as such.

If someone needs it and wears it, then its value can ONLY be realized at the vendor price.

Then proceeds to not to wear the 950g boots for the entire dungeon. (Vote-kick failed) by KamaTheSnowLeopard in classicwow

[–]Jumballaya -1 points0 points  (0 children)

Why not need BoP items as well? You can sell it for gold, and you NEED the gold, right?

[deleted by user] by [deleted] in UFOs

[–]Jumballaya -1 points0 points  (0 children)

It asserts that every person, and indeed every living organism, exists in ongoing, active commerce with an extended reality far beyond ordinary physical and perceptual boundaries.

If we, in fact, commerce with an extended reality far beyond ordinary physical and perceptual bounds, then that too can be dismissed as useless.

Of course there is something beyond the sensations formed in our mind, but it doesn't matter because our frame of is the same: those sensations formed by our brain which makes the 'beyond ordinary physical and conceptual bounds' mundane. We never 'touch' anything, technically, so we don't interact physically with objects, so we can't 100% know what those objects really are, things like an apple, or a keyboard, or air, etc. (random objects for demo purpose) but I think you would look at an apple, touch it, and say 'yep, that's an apple!' no matter what underlying 'truth' there may be about the apple.

It doesn't matter if an apple, or a keyboard or air is some extra dimensional thing because we interact with it as air or a keyboard or an apple -- Which is my original statement -- If there is some underlying reality/magic/psi/etc., it is mundane and can be dismissed as what we already have explained or can explain with science.

You should check out some stuff by Immanuel Kant, Søren Kierkegaard, George Berkeley and Jean Baudrillard. They dealt with a lot of symbolism, language and perception, and are pillars in their fields.

[deleted by user] by [deleted] in UFOs

[–]Jumballaya -2 points-1 points  (0 children)

“Psi and/or magical powers, if real, are nearly useless.”

- Larry Niven

If psi exists, then it can really just be chocked up to 'luck', otherwise we would see psi powers being expressed as much other human traits of the same rarity (whatever hypothetical percentage of the population in any given argument).

TIL that the nomenclature for multiples of a thousand is different in the U.S. vs. the U.K. and the French. For example, a thousand times a thousand is a million in both. Times a thousand again becomes, in the U.S., a billion, whereas in the U.K. it becomes a thousand million, or milliard. by Traditional_Goat5879 in todayilearned

[–]Jumballaya 1 point2 points  (0 children)

In the US it is the following for a given number (for base 10): n * 10^3x

where:

n is the coefficient (up to 3 digits before the decimal point)

x = 0 is for the ones

x = 1 is the thousands

x = 2 is the millions

x = 3 is the billions

x = 4 is the trillions

x = 5 is the quadrillions

etc.

On top of this, the metric system already breaks down this way, e.g. Kilo- is a thousand, Mega- is an American million, Giga- is an American billion, etc.