cacheson

joined 2 years ago
[–] cacheson@kbin.social 15 points 8 months ago (1 children)

Fellas, is it woke for YouTube to funnel viewers towards pro-fascist videos?

[–] cacheson@kbin.social 13 points 9 months ago

Unfortunately:

However, her veto is only symbolic as the prime minister's Georgian Dream party has enough members in parliament to override it by holding another vote.

[–] cacheson@kbin.social 6 points 9 months ago (1 children)

Personally, I’ve yet to see a single American successfully use guns to protect any other constitutional right from government infringement.

The Battle of Athens is probably the most uniquely clear-cut example of what you're asking for, unless we count the American Revolutionary War itself.

Other successful examples mostly involve activists using non-violent protest to push for change, while using firearms to protect themselves from violent reactionaries that would otherwise murder them. Notably, the civil rights movement of the 1950s and 60s. For a modern example, there's various "John Brown Gun Clubs" and other community defense organizations providing security at LGBTQ events against fascist groups that seek to terrorize event-goers.

It's also worth noting that resistance is often worthwhile even if it doesn't result in unqualified victory. For example, the Black Panthers' armed cop-watching activities saved a lot of Black folks from brutal beatings at the hands of the police, even if the organization was eventually crushed by the federal government.

I have seen lots of examples like Waco and Ruby Ridge, where the government should have tried harder to deescalate, but in the end, everyone died. The closest example I can think of where the government did backoff was the Bundy standoff and all those guys were “defending” was their ability to let their cattle graze illegally on federal land because they didn’t want to pay for access like everyone else.

It sounds like you might be in a bit of a filter-bubble. I don't mean any offense by this, it's a normal thing that tends to happen to people. If the news sources you read and the people you talk to don't mention these things because it doesn't mesh with their worldview, how would you hear about them?

[–] cacheson@kbin.social 6 points 9 months ago (6 children)

Strong gun control requires a police state, and it's advocates are okay with this. Some of them (mostly suburbanites and the like) just imagine that that police state will never be directed against them.

Others are capitalists that actively want to inflict a police state on the rest of us, for their own benefit. It's a lot easier to break strikes and enforce "work discipline" when the working class is disarmed.

[–] cacheson@kbin.social 1 points 9 months ago

Food Courts Martial

[–] cacheson@kbin.social 2 points 10 months ago (1 children)

Are there any physical obstructions between the controller and the antenna? That'd reduce the effective range.

[–] cacheson@kbin.social 20 points 1 year ago

Ancaps: Government is bad because tyranny, we should get rid of it.

Also Ancaps: Here's how we can still enforce copyright, abortion bans, and racial segregation without a government! 🥰

[–] cacheson@kbin.social 1 points 1 year ago (1 children)

Nim

Part 1 was just a simple search. Part 2 looked like it just needed a trivial modification, but with the removal of the one-way tiles, the result I was getting was getting for the example was too large. I switched to a different method of determining the path length, but didn't yet figure out what what I had been doing wrong. Since the search space was now significantly larger, my part 2 code took almost an hour to come up with the answer.

I rewrote part 2 to simplify the maze into a graph with a node for each intersection and for the start and goal tiles, with edge costs equal to the path length between each. This resulted in significantly faster iteration (17 seconds instead of 52 minutes), but didn't actually reduce the search space. I'm assuming there's some clever optimization that can be done here, but I'm not sure what it is.

The rewrite was still getting the wrong answer, though. I eventually figured out that it was including paths that didn't actually reach the goal, as long as they didn't revisit any nodes. I changed my recursive search function to return a large negative result at dead ends, which fixed the issue.

[–] cacheson@kbin.social 1 points 1 year ago

Nim

I sorted the bricks by their lower Z coordinate, then tried to move each of them downward, doing collision checks against all the others along the way. Once a level with collisions was found, I recorded each colliding brick as a supporter of the falling brick.

For part 1, I made another table of which other bricks each brick was supporting. Any bricks that weren't the sole support for any other bricks were counted as safe to disintegrate.

For part 2, I sorted the bricks again after applying gravity. For each brick, I included it in a set of bricks that would fall if it were removed, then checked the others further down the list to see if they had any non-falling supporters. Those that didn't would be added to the falling set.

Initially I was getting an answer for part 2 that was too high. I turned out that I was counting bricks that were on the ground as being unsupported, so some of them were getting included in the falling sets for their neighbors. Adding a z-level check fixed this.

Both of these have room for optimization, but non-debug builds run 0.5s and 1.0s respectively, so I didn't feel the need to write an octree implementation or anything.

[–] cacheson@kbin.social 1 points 1 year ago* (last edited 1 year ago)

Nim

My part 2 solution assumes the input has an unimpeded shortest path from the center of each garden section to its corner, and to the center of its neighbor. The possible destinations will form a diamond pattern, with "radius" equal to the number of steps. I broke down the possible section permutations:

  • Sections that are completely within the interior of the diamond

    • Even number of sections away from the starting section
    • Odd number of sections away from the starting section
  • Sections containing the points of the diamond

  • Depending on the number of steps, there may be sections adjacent to the point sections, that have two corners outside of the diamond

  • Edge sections. These will form a zig-zag pattern to cover the diamond boundary.

    • "Near" edge sections. These are the parts of the zig-zag nearer to the center of the diamond.
    • "Far" edge sections. These won't occur if the edge of the diamond passes perfectly through the corners of the near edge sections.

I determined how many of each of these should be present based on the number of steps, used my code from part 1 to get a destination count for each type, and then added them all up.

[–] cacheson@kbin.social 2 points 1 year ago* (last edited 1 year ago)

Nim

Another least common multiple problem. I kinda don't like these, as it's not practical to solve them purely with code that operates on arbitrary inputs.

 

The recent doxing of a Proud Boy school board candidate by the Midwest Youth Liberation Front highlights the work being done by teenage antifascists.

Article is from 2021, but I'd never heard of the "Youth Liberation Front" before.

 

Those of you that have your account on lemmy.ml may want to consider moving to another instance if you still want to be able to access ani.social.

239
Rule but unironically (media.kbin.social)
submitted 1 year ago* (last edited 1 year ago) by cacheson@kbin.social to c/196@lemmy.blahaj.zone
 

Liberated from some sarcastic tankie

 
 

I'd been vaguely aware of campaigns by tax-prep companies to stop the IRS from offering its own tax-prep software. I was going over some of my old tax info today, and started to wonder if there were any open source tax-prep programs.

What I found was Open Tax Solver. I get the impression that it's more clunky that using commercial tax-prep. Does anyone here have firsthand experience with it?

 
 

I'm not a beginner anymore, but I'm much less interested in technical tinkering for its own sake than I used to be. These days I just want my computer to work properly without too much intervention from me.

I've been using Kubuntu for a number of years, but I'm also hearing increasing complaints about how Canonical is running things. I don't think I'm ready to switch to a new distro yet, but it wouldn't hurt to know what's out there.

Is Kubuntu still a good choice for an "it just works" KDE-based distro, or has it been surpassed?

 

linux4noobs is a community dedicated to offering assistance with Linux installation, configuration, and utilization. While its primary goal is to provide and receive support, this community also serves as a hub for sharing and discussing all things Linux among like-minded enthusiasts. By fostering a community where more individuals understand and use Linux, we contribute to its continuous improvement and advancement. The golden rule: - Maintain respectful and amiable discussions. This is a safe space where individuals may freely inquire, exchange thoughts, express viewpoints, and extend help without encountering belittlement. We have all been a noob at one point.

113
me_ir ule (media.kbin.social)
 
 

This got created on programming.dev about 2 weeks ago, but hasn't had much activity yet. Not too surprising as Nim is a relatively new language. It's super cool and you should check it out, though. It's a compiled language with performance similar to C/C++, but is much more pleasant to work in. Some tend to liken it to working with Python.

view more: next ›