Yes but it's not hooked up to cable or the internet. I just use it for the Switch, or I'll occasionally hook it up as an alternate second monitor to my PC and play a movie on it. It hasn't been turned on in a few weeks and the last time was to be used as a temporary monitor to set up a new headless PC.
Adding on to the reasons others posted: Put yourself in his shoes for a moment. If you take off a year for him, that puts an immense amount of pressure on him. Pressure to go to the same school as you, pressure to go to school at all, even pressure to stay in the relationship.
It's always gonna be "They made this gigantic life decision to their detriment for me, so if I change my mind about anything and want to do things differently, like by going to a different school, or not going to a school, or wanting to break up, then I'm a huge ungrateful jerk."
Putting that kind of pressure on someone isn't really cool, especially if they're actively discouraging you from doing so.
Given the specific names on that list, I took it as an awkward attempt to list the people they think are standing up, rather than a list of people they were admonishing for not standing up
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.
Others have covered that there were internal supports, so they were supporting nothing at all. But let's assume they weren't.
I'm going for an intentional underestimate - so let's say there are 10 people in your layer (I think 8 is more likely), then 24 above them, 18 above them, 18 above them, 25 above them, 14 above them, and 2 above them. I think most people would agree those are underestimates for each ring.
That's 101 people being supported by 10 people. If we take another underestimate that each of those people weighs 100 pounds (45.36 kg) then that's 10,100 pounds (4581.28 kg) - or 1010 pounds (458.13 kg) supported by each of the 10 people in your ring, completely ignoring the weight of the metal rings visible in the picture. So I think it's safe to say it was mostly the internal supports at work.
tl;dr is that it's basically just a gray wolf with 14 edited genes, most of which are from natural gray wolf populations rather than dire wolf genomes. The result is a gray wolf that's visually similar to a dire wolf, not a dire wolf.
Honestly the worst thing about this equation isn't the fact that they had poor typesetting, it was that they used decorative constants. The ε and φ values they chose just cancel out. The equation is equivalent to (xᵢ - mᵢ) / mᵢ.
Asterisks for multiplication are fine and normal and common in typed text. Where it's unusual is in text that's been typeset, where using things like asterisks for multiplication defeat the point of typesetting, It would be like going through all the effort to typeset an equation, but still saying sqrt(x) instead of using the square root symbol.
Do you follow the reasoning for why they set it up this way? The comments in this function from _xorg in keyboard make it seem like it expects K1 K2 K3 K4.
python
#: Finds a keycode and index by looking at already used keycodes
def reuse():
for _, (keycode, _, _) in self._borrows.items():
keycodes = mapping[kc2i(keycode)]
# Only the first four items are addressable by X
for index in range(4):
if not keycodes[index]:
return keycode, index
I assume that second comment is the reason the person who wrote your function likes the number 4.
Which way is right/wrong here? It would seem at least part of the issue to me is that they don't make the list be K1 K2 K1 K2 as they say, since the function I quoted above often receives a list formatted like K1 K2 K1 NoSymbol.
Also, if I modify the function you quoted from to remove the duplications, I'm still finding that the first element is always duplicated to the third element anyways - it must be happening elsewhere as well. Actually, even if I modify the entire function to just be something nonsensical and predictable like this:
python
def keysym_normalize(keysym):
# Remove trailing NoSymbol
stripped = list(reversed(list(
itertools.dropwhile(
lambda n: n == Xlib.XK.NoSymbol,
reversed(keysym)))))
if not stripped:
return
else:
return (keysym_group(stripped[0], stripped[0]), keysym_group(stripped[0], stripped[0]))
then the behavior of the output doesn't change at all from how it behaves when this function is how it normally is... It still messes up every third special character, duplicating the previously encountered special character
Later edit: After further investigation, the duplication of the first entry to the third entry seems to happen in the Xlib library, installed with pynput, in the display.py file, in the change_keyboard_mapping function, which only has a single line. Inspecting the output of the get_keyboard_mapping() function both before and after the change_keyboard_mapping function does its thing shows that it jumps right from [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] to [keysym, 0, keysym, 0, 0, 0, 0, 0, 0, 0]. It's still unclear to me if this is truly intended or a bug.
Gonna make some notes since I made some progress tonight (so far).
Within pynput's keyboard's _xorg.py file, in the Controller class, self._keyboard_mapping maps from each key's unique keysym value, which is an integer, to a 2-tuple of integers. The actual keysym for each key in the mapping appears to be correct, but occasionally the 2-tuple duplicates that of another entry in self._keyboard_mapping - and these duplicates correspond precisely to the errors I see in pynput's outputs.
For example, '𝕥' has keysym = 16897381 and '𝕖' has keysym = 16897366, but both 16897381 and 16897366 map, in self._keyboard_mapping, to the 2-tuple (8, 1) - and '𝕖' is indeed printed as '𝕥' by pynput. (𝕥's keysym appears first in self._keyboard_mapping). (The 2-tuple keysyms map to are not unique or consistent, they vary based on the order they were encountered and reset when X resets)
Through testing, I found that this type of error happens precisely every third time a new keysym is added to self._keyboard_mapping, and that every third such mapping always duplicates the 2-tuple of the previous successful mapping.
From that register function I mentioned, the correct 2-tuple should be, I believe, (keycode, index). This is not happening correctly every 3rd registration, but I'm not yet sure why.
However, I did find a bit more than that: register() gets its keycode and index from one of the three functions above it, reuse() borrow() or overwrite(). The problematic keys always get their keycode and index from reuse - and reuse finds the first unused index 0-3 for a given keycode, then returns that. What I found here is that, for the array keycodes, the first element is always duplicated to the third position as well, so indexes 0 and 2 are identical. As an example, here are two values of keycodes from my testing:
With this in mind, I was actually able to fix the bug by changing the line for index in range(4): in reuse() to for index in range(2):. With that change my script no longer produces any incorrect characters.
However, based on the comments in the function, I believe range(4) is the intended behavior and I'm just avoiding the problem instead of fixing it. I have a rather shallow understanding of what these functions or values are trying to accomplish. I don't know why the first element of the array is duplicated to the third element. There's also a different issue I noticed where even when this function returns an index of 3, that index of 3 is never used in self._keyboard_mapping - it uses 1 instead. I'm thinking these may be two separate bugs. Either way, these two behaviors combined explain why it's every third time a new keysym is added to self._keyboard_mapping that the issue happens: While they in theory support an index of 0 1 2 or 3 for each keycode, in practice only indices 0 1 and 3 work since 2 always copies 0 - and whenever 3 is picked it's improperly saved as 1 somewhere.
I may keep investigating the issues in search of a true fix instead of a cover-my-eyes fix.
I agree and appreciate it. I've been trying to figure it out myself but feel a bit out of my element.
What I've found is that in pynput's keyboard's _xorg.py file, the Controller class's self._keyboard_mapping seems to map some different keycodes to the same value, and that seems to correlate exactly with the errors I'm seeing. I haven't figured out why yet. I got to thinking it had something to do with the register function in the _resolve_borrowing function but I forget why and I'm too tired to continue for now. I'll continue tomorrow though.
Hey! Sorry for the very late reply. I've been checking the thread regularly and I swear just a few hours ago (when I made the cross-posts) it was still at 0 replies. I'm gonna blame federation issues.
The command you provided does indicate I'm on pynput 1.8.1, so I can confirm v1.8.1 has the issue.
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:
python
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)
te
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:
python
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 = '𝐭𝐞𝐬𝐭' #
Is there confirmation that he actually specifically wanted that image off reddit? Or is this just someone making assumptions after the recent story about him interfering with moderation at reddit?
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:
python
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 "🍆𝕥𝕥𝕤𝕥𝐭𝐭𝐬
For anyone who didn't click through to the article, here are pictures of the two posters in question. She wasn't asked to remove anything else. The article made clear this wasn't a situation where the school backed down after pushback, and that even after prolonged meetings and discussions with legal counsel, they're still threatening her with repercussions if the posters aren't removed by the end of the school year.
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:
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:
I read this article and still walked away feeling like I didn't understand the situation that well.
Is it $56 billion that he's already been paid, and he needs to return it? $56 billion he's partially been paid, and he can keep what he has, but won't get the rest? Something more complicated?
I want to run two different autohotkey scripts. I want to trigger a hotstring in the first script, the output of which ends up being part of the hotstring trigger for the second script. Is this possible?
Here's a simplified version of my intended workflow.
Script 1:
undefined
#Hotstring EndChars \
#Hotstring o
#Hotstring ?
::iv::ǐ
::av::ǎ
Script 2:
undefined
#Hotstring EndChars \
#Hotstring o
#Hotstring ?
::nǐ::你
::hǎo::好
So the idea is that I can type niv\ and the first script will convert it to nǐ - then I can immediately type \ and the second script will convert it to 你. So I type niv\ and my text goes from niv to nǐ to 你. I can then type hav\o\ and have my text go: h, ha, hav, hǎ, hǎo, 好. So I can do niv\ hav\o and get nǐ hǎo, or I can do niv\ hav\o\ and get 你 好. Both writing systems in a reasonably simple format.
There are reasons I want to set it up like this. The first script has dozens of functions beyond writ
Those photos were taken under extreme magnification and bright light - the actual size is about the size of an uncooked grain of rice. Maybe smaller. This one was killed by freezing to preserve its form.
In the last few days I've started to see a lot of these - I can find one crawling across my desk every 5 or 10 minutes if I remember to look (Though I can't find where they're coming from at all). They don't move all that fast - they're frankly pretty easy to capture or squash.
In person I don't think they look very much like ants but in the closeup I think they kind of do. Also hoping they aren't termites.
For example - if a popular TV show is about to have its season or series finale, or a sport league is about to have its championship game. Are there any websites that track these, without all the noise of less important shows or games, to keep track of?
ESPN.com does seem to track upcoming sporting events pretty well, but it's not that easy to tell which upcoming games are "big" for the league in question or not.
It seems like every shower has its own unique way of controlling water temperature and pressure. Of all the showers I've ever used, no two of which have ever been alike, I like my controls the least. Plus the faucet has started dripping lately.
Is this likely to be something I can replace on my own, without a plumber? To me, that means: Can I likely do this without damaging the wall, without having to mess with pipes, and without needing to do anything involving words like "hacksaw", "weld", or "plumbing torch"?
Basically I believe in my ability to buy a faucet and control thingie from Home Depot; to use screwdrivers, allen wrenches, pliers, and regular wrenches; to use things like plumbing tape, lubricants, and caulk; and to remember to turn the water off to the house.
Would a project like this likely require anything more complex than that? I tend to prefer shower controls that have separate knobs for hot and cold, but I figure going from a one-knob setup to a two-knob
I'm mostly thinking about insurance here. I've been told conflicting information. I live in Florida.
I live with someone who has a driver's license and a car, but I don't have either. I've avoided getting one because I have no interest in car ownership, and I feel like if I started driving regularly I'd probably die - I have driven before but I really don't think it's something I'd ever get good at.
It's undeniable that having one would be convenient though - for rare occasions like emergencies at a minimum but also other scenarios.
I know almost nothing about how this stuff works. If I get a license, am I required to acquire and pay for insurance, even if I don't own a car or regularly drive? Or will the person I live with have to pay more for their insurance? Are there any other costs or downsides associated with it that I might not be thinking of?
What kind of cat is this? It was taken behind a Chinese food restaurant in southwest Florida.
The person who took the picture said it's a Bobcat, but other people who've seen it have said it doesn't really look like one, and is probably something non-native. Anyone know for certain?
Hollow Knight is an incredibly competent game on pretty much all fronts. In my opinion, Hollow Knight is a masterpiece and we will discuss all the things that make it so great in detail in this Hollow Knight retrospective. However - the one thing that I find most fascinating about Hollow Knight is an aspect of the game that is seldom discussed.
The most fascinating aspect of Hollow Knight is that it exists in the first place - because to put it mildly - Hollow Knight’s existence should not be possible.
Hollow Knight was developed by only three people, in roughly three years.
Three people managed to produce a game that looks this beautiful, features a combat system with a skill ceiling this high, crafted a beautiful world this big, wrote lore that deep, and crafted gameplay this fluid.
Three people did a job that puts most teams of 60 people that work for half a decade on a game to shame.
How did three pull this off?
In this Hollow Knight retrospective, we are going to investigate thi
Rumors are flying of confirmation, but the situation is still frustratingly vague.
Link Actions
In late July, a couple of startling papers appeared on the arXiv, a repository of pre-peer-review manuscripts on topics in physics and astronomy. The papers claim to describe the synthesis of a material that is not only able to superconduct above room temperature, but also above the boiling point of water. And it does so at normal atmospheric pressures.
Instead of having to build upon years of work with exotic materials that only work under extreme conditions, the papers seem to describe a material that could be made via some relatively straightforward chemistry and would work if you set it on your desk. It was like finding a shortcut to a material that would revolutionize society.
The perfect time to write an article on those results would be when they've been confirmed by multiple labs. But these are not perfect times. Instead, rumors seem to be flying daily about possible confirmation, confusing and contradictory results, and informed discussions of why this material either should
I'm very much awaiting a time when users can block specific instances. I still don't want to check the option to hide NSFW content, because I do want to see NSFW content that may show up on non-porn communities. Just not really interested in seeing so much porn in All.
You can check on your settings page, btw, in the Blocks tab - count quickly with Ctrl+F.
About two weeks ago I believe there was some sort of update that let posts that are just youtube links open in-line on the lemmy feed as embeds, by clicking the post thumbnail. This was pretty great.
It seems to be back to the old behavior now, where you can't do that anymore. Why? What happened?
I know I can link communities in other instances by typing, for example, [email protected] instead of https://lemmy.world/c/[email protected] , and the link will open in the correct instance for anyone, even people not using lemmy.world.
Is there a way to do the same with posts? For example, this post has a URL of https://lemmy.world/post/1421688, but is there a way to format this so it would link to the correct post for someone on any instance, and not just lemmy.world?