zkfcfbzr

joined 2 years ago
[–] zkfcfbzr@lemmy.world 9 points 1 day ago

I made filters with uBlock Origin that block out from Lemmy (and some other sites) any post containing one of the words "Trump", "Elon", "Musk", "RFK Jr", "maga", or "nazi".

You still stay mostly up-to-date because that shit has a way of filtering through anyways, but you cut out 90% of the redundant fluff. I originally set the filters up in November when I was feeling very similar to how I imagine you felt when you made this post.

[–] zkfcfbzr@lemmy.world 23 points 2 days ago (1 children)

I can't read the whole article because it's paywalled, but the first two paragraphs confirm what everyone already knew: The author purposely led ChatGPT into weird occult topics, then acted scandalized when ChatGPT got weird and occult.

[–] zkfcfbzr@lemmy.world 27 points 3 days ago (3 children)

I thought 4chan shut down permanently like 2 months ago?

[–] zkfcfbzr@lemmy.world 25 points 1 week ago (5 children)

What's your earliest dream you can still remember?

[–] zkfcfbzr@lemmy.world 29 points 1 week ago (1 children)
[–] zkfcfbzr@lemmy.world 9 points 1 week ago (1 children)

I think the screenshot is from their friend's account, to show us what kinds of games they've already played? Wasn't super clear to me either though

[–] zkfcfbzr@lemmy.world 420 points 1 week ago (13 children)

It says you're bound by "opening and using" the product, rather than "opening or using". Have someone else open it for you. Then neither of you have done both.

[–] zkfcfbzr@lemmy.world 1 points 2 weeks ago (1 children)

What's the story with the wiggly green line? Are those the 6 green pixels on the large German flag?

[–] zkfcfbzr@lemmy.world 2 points 2 weeks ago* (last edited 2 weeks ago) (4 children)

I managed to overwrite half of the long German flag near the bottom, plus the original/lower South African flag, the Czech flag, and the Polish flag. I also did like a third of the background to your message and changed the "in" to "on". I didn't join the Matrix/Discord but your message is what motivated me to do all that, so maybe you're better at recruiting than you think 😉

[–] zkfcfbzr@lemmy.world 5 points 2 weeks ago

While there were flags everywhere, I felt like there were a lot fewer than these things usually have, at least.

[–] zkfcfbzr@lemmy.world 7 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

This is one of the better ones I've seen. It looks actually pretty 3D.

Make the image as large as you can on your screen while still having it all visible. I don't recommend a phone - try it on a monitor. Don't try to see the whole image at once - look at one small part. Play with the focus of your eyes until you start to see an edge forming - and when you do, lock onto the edge until you can see it without struggling. Just try to make the edge clearer without bothering with the larger shape yet. Once you do, it should be easier to hold the focus as you look around the image and actually pick out what shapes everything is making.

I recommend focusing on this part of the image as you start - there's a pretty cool sea turtle there. Don't use this version with the red scribble, the red scribble makes it noticeably more difficult.

[–] zkfcfbzr@lemmy.world 23 points 3 weeks ago (11 children)

Do people really use the term "brick" to refer to consoles with permanent online bans? To me they're very different and a brick is much worse.

 

Just curious about how this works out. At scale, would either decision make any sort of impact? I know most people, including me, will end up avoiding heavily tariffed products out of personal financial reasons. But in theory, would US residents buying or not buying tariffed products be the larger anti-tariff statement? I feel like the obvious answer is "only buy tariffed products" which is why I chose this community but I'm not entirely certain.

I would like to stress again that I am asking this hypothetically, and specifically and only in the context of political statements regarding tariffs. I am of course aware that no single person will have any impact on their own, and I am similarly aware that almost everyone will be avoiding highly tariffed products for non-political reasons either way.

 

cross-posted from: https://lemmy.world/post/27601594

cross-posted from: https://lemmy.world/post/27385536

I have a rather large Python script that I use as basically a replacement for autohotkey. It uses pynput for keyboard and mouse control - and at least on Windows, it works exactly how I expect.

I recently started dual-booting with Linux and have been trying to get the script to work here as well. It does work but with mixed results - in particular, I found that pynput has bizarrely wrong output for special characters, in a way that's both consistent and inconsistent.

The simplest possible case I found that reproduces the error is this script:

import time
from pynput import keyboard

# Sleep statement is just to give time to move the mouse cursor to a text input field
time.sleep(2)

my_kb = keyboard.Controller()

text = '🍆' # Eggplant emoji
my_kb.type(text)

time.sleep(1)

text = '𝕥𝕖𝕤𝕥' # blackboard bold test
my_kb.type(text)

time.sleep(1)

text = '𝐭𝐞𝐬𝐭' # bold test
my_kb.type(text)

When I run that script right now, it produces the output "🍆𝕥𝕥𝕤𝕥𝐭𝐭𝐬𝐭". And if I run it again, it'll produce the same output. And if I change the eggplant emoji to something else, like the regular character 'A', it will still produce the same output (specifically "A𝕥𝕥𝕤𝕥𝐭𝐭𝐬𝐭"). But... If I log out and log back in, then the output changes to something else that's still wrong, but differently. For example, when I changed the eggplant to a regular 'A', then relogged, the output became "A𝕥𝕖𝕖𝕥𝐭𝐞𝐞𝐭". And then that wrong output will keep being the same wrong output until I log out and back in again. If the test strings don't change, then the incorrect outputs don't change on relog - but if they do, then they do.

In the larger script, errors seemed to chain together somehow - like if I produced an eggplant emoji, then tried to write blackboard bold test, I would get "🍆𝕖𝕤🍆". This is despite verifying just before running the pynput.keyboard.Controller.type function that what it was about to type was correct. The issue also happens if I type it character-by-character with press and release functions.

I am very new to Linux. I'm on Linux Mint. I'm running this in a python3 venv that just has pynput and two other external libraries installed. ChatGPT thinks the issue might be related to X11. The issue does not occur at all on Windows, using the exact same code. On Linux there seems to be no issues with typing regular text, just special characters.

 

cross-posted from: https://lemmy.world/post/27385536

I have a rather large Python script that I use as basically a replacement for autohotkey. It uses pynput for keyboard and mouse control - and at least on Windows, it works exactly how I expect.

I recently started dual-booting with Linux and have been trying to get the script to work here as well. It does work but with mixed results - in particular, I found that pynput has bizarrely wrong output for special characters, in a way that's both consistent and inconsistent.

The simplest possible case I found that reproduces the error is this script:

import time
from pynput import keyboard

# Sleep statement is just to give time to move the mouse cursor to a text input field
time.sleep(2)

my_kb = keyboard.Controller()

text = '🍆' # Eggplant emoji
my_kb.type(text)

time.sleep(1)

text = '𝕥𝕖𝕤𝕥' # blackboard bold test
my_kb.type(text)

time.sleep(1)

text = '𝐭𝐞𝐬𝐭' # bold test
my_kb.type(text)

When I run that script right now, it produces the output "🍆𝕥𝕥𝕤𝕥𝐭𝐭𝐬𝐭". And if I run it again, it'll produce the same output. And if I change the eggplant emoji to something else, like the regular character 'A', it will still produce the same output (specifically "A𝕥𝕥𝕤𝕥𝐭𝐭𝐬𝐭"). But... If I log out and log back in, then the output changes to something else that's still wrong, but differently. For example, when I changed the eggplant to a regular 'A', then relogged, the output became "A𝕥𝕖𝕖𝕥𝐭𝐞𝐞𝐭". And then that wrong output will keep being the same wrong output until I log out and back in again. If the test strings don't change, then the incorrect outputs don't change on relog - but if they do, then they do.

In the larger script, errors seemed to chain together somehow - like if I produced an eggplant emoji, then tried to write blackboard bold test, I would get "🍆𝕖𝕤🍆". This is despite verifying just before running the pynput.keyboard.Controller.type function that what it was about to type was correct. The issue also happens if I type it character-by-character with press and release functions.

I am very new to Linux. I'm on Linux Mint. I'm running this in a python3 venv that just has pynput and two other external libraries installed. ChatGPT thinks the issue might be related to X11. The issue does not occur at all on Windows, using the exact same code. On Linux there seems to be no issues with typing regular text, just special characters.

 

I have a rather large Python script that I use as basically a replacement for autohotkey. It uses pynput for keyboard and mouse control - and at least on Windows, it works exactly how I expect.

I recently started dual-booting with Linux and have been trying to get the script to work here as well. It does work but with mixed results - in particular, I found that pynput has bizarrely wrong output for special characters, in a way that's both consistent and inconsistent.

The simplest possible case I found that reproduces the error is this script:

import time
from pynput import keyboard

# Sleep statement is just to give time to move the mouse cursor to a text input field
time.sleep(2)

my_kb = keyboard.Controller()

text = '🍆' # Eggplant emoji
my_kb.type(text)

time.sleep(1)

text = '𝕥𝕖𝕤𝕥' # blackboard bold test
my_kb.type(text)

time.sleep(1)

text = '𝐭𝐞𝐬𝐭' # bold test
my_kb.type(text)

When I run that script right now, it produces the output "🍆𝕥𝕥𝕤𝕥𝐭𝐭𝐬𝐭". And if I run it again, it'll produce the same output. And if I change the eggplant emoji to something else, like the regular character 'A', it will still produce the same output (specifically "A𝕥𝕥𝕤𝕥𝐭𝐭𝐬𝐭"). But... If I log out and log back in, then the output changes to something else that's still wrong, but differently. For example, when I changed the eggplant to a regular 'A', then relogged, the output became "A𝕥𝕖𝕖𝕥𝐭𝐞𝐞𝐭". And then that wrong output will keep being the same wrong output until I log out and back in again. If the test strings don't change, then the incorrect outputs don't change on relog - but if they do, then they do.

In the larger script, errors seemed to chain together somehow - like if I produced an eggplant emoji, then tried to write blackboard bold test, I would get "🍆𝕖𝕤🍆". This is despite verifying just before running the pynput.keyboard.Controller.type function that what it was about to type was correct. The issue also happens if I type it character-by-character with press and release functions.

I am very new to Linux. I'm on Linux Mint. I'm running this in a python3 venv that just has pynput and two other external libraries installed. ChatGPT thinks the issue might be related to X11. The issue does not occur at all on Windows, using the exact same code. On Linux there seems to be no issues with typing regular text, just special characters.

 

Does the GDPR define what the default behavior should be when the user refuses to specify? Does it vary by site? Is it like clicking either "Accept all" or "Reject all"?

 

Why YSK: Certain topics are stressful and tend to spread all over the site, including to unrelated communities. Blocking communities can be overkill and ineffective, and likewise for blocking individual users.

To do so, open up the uBlock Origin dashboard, go to the 'My filters' tab, and add this filter:

lemmy.world##article.row:has-text(/word1|word2|word3|word4/i)

For example:

lemmy.world##article.row:has-text(/Trump|Elon|Musk|nazi/i)

Then apply the changes and reload any open tabs, and all posts which contain any of your filtered words will simply not show up.

You'll have to change "lemmy.world" at the start to whatever your actual instance is. You can filter as many or as few words as you want, just keep the / at the start, the /i at the end, and separate words with | pipes. What's actually being filtered is a case-insensitive regex, if you want to get fancy with it.

Here are equivalent filters for reddit and Ars Technica:

reddit.com##div.thing[data-context="listing"]:has-text(/word1|word2|word3|word4/i)
arstechnica.com##:not(:not(head>title:has-text(/^Ars Technica/))) article:has-text(/word1|word2|word3|word4/i)

As a disclaimer, I made these myself, and I'm not particularly familiar with creating uBlock Origin filters. There may be better ways to do this. Also the reddit one is specific to old.reddit.com, and the lemmy filter is made to work with the default lemmy.world web UI and may not work on other UIs without tinkering.

Yes, I know I'm just hiding my head in the sand.

17
Coin-flipping game (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by zkfcfbzr@lemmy.world to c/dailymaths@lemmy.world
 

We're playing a game. I flip a coin. If it lands on Tails, I flip it again. If it lands on Heads, the game ends.

You win if the game ends on an even turn, and lose otherwise.

Define the following events:

A: You win the game

B: The game goes on for at least 4 turns

C: The game goes on for at least 5 turns

What are P(A), P(B), and P(C)? Are A and B independent? How about A and C?

17
Bounding a function (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by zkfcfbzr@lemmy.world to c/dailymaths@lemmy.world
 

Consider the function defined by y = x^(sin(x)^sin(x)). Observe its graph. Find an increasing function which passes through each of its local maximums, and another increasing function which passes through each of its local minimums.

Extra credit: You'll notice the graph isn't drawn for x-values which make sin(x) negative. This is because most of those values make the function undefined - though it is defined for infinitely many points in those intervals, it just also has infinitely many holes. Since it lacks continuity here, it has no true local maxes or local mins, and doesn't impact the original problem. We can nonetheless cheat and fill in the holes by expanding the function to these regions with y = x^|sin(x)|^sin(x) (Using x^-|sin(x)|^sin(x) should also be technically valid, but is being ignored because it's discontinuous with the rest of the graph and not as pretty, but will be mentioned in my solution). Doing so adds more local maxes and local mins. The new local mins should line up with your function that finds the local maxes for the original function - but, find a new function which hits all of the new local maxes.

 

(x/5)^log_b(5) - (x/6)^log_b(6) = 0

11
submitted 1 year ago* (last edited 1 year ago) by zkfcfbzr@lemmy.world to c/dailymaths@lemmy.world
 
Index of my unnamed series of posted problems
Date Post
2024-05-07 Find a+b
2024-05-09 What is the area of the shaded region?
2024-05-15 Solve for x
2024-05-17 Bounding a function
2024-05-22 Coin-flipping game
 

An 8x5 rectangle. If the bottom left corner is considered (0, 0), then two lines are drawn within the rectangle, from (0, 4) to (8, 1) and from (1, 5) to (7, 0). The smaller two regions of the four these lines cut the rectangle into are shaded. What is their combined area?

19
Find a+b (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by zkfcfbzr@lemmy.world to c/dailymaths@lemmy.world
 

The image is of a large unit square with five smaller disjoint shaded squares contained entirely within it. The five smaller squares are congruent. Four of them are at each corner of the large square. The fifth is in the center, rotated diagonally, so the center of each of its sides is touched by the vertex from one of the other four squares. You are given that the common length for the five smaller congruent squares is (a-sqrt(2)) / b, where a and b are positive integers. What is the value of a + b?

view more: next ›