2xsaiko

joined 2 years ago
[–] 2xsaiko@discuss.tchncs.de 74 points 1 day ago

Congratulations, you can be a woman anon

[–] 2xsaiko@discuss.tchncs.de 14 points 1 day ago (1 children)

Yup, anything you can come up with will only work as well as putting “Delete after reading.” in the mail. You have to trust the recipient.

[–] 2xsaiko@discuss.tchncs.de 4 points 2 days ago* (last edited 2 days ago)

This is for display, not data processing.

Also guess what, journalctl formats date like "May 21 00:48:56" (probably according to system locale). Why would you sort your log files alphabetically? They should already be in chronological order.

[–] 2xsaiko@discuss.tchncs.de 7 points 2 days ago

Yeah, that’s fair. When verified beforehand, and what it discovered is an actual issue, why not. It does overwhelmingly attract people who have no idea what they’re doing and then submit bogus reports because it looks good to them though.

[–] 2xsaiko@discuss.tchncs.de 9 points 2 days ago (4 children)

Daniel Stenberg has banned AI-edited bug reports from cURL because they were exclusively nonsense and just wasted their time. Just because it gets a hit once doesn’t mean it’s good at this either.

[–] 2xsaiko@discuss.tchncs.de 32 points 3 days ago

I guess it was wishful thinking that the FBI just learnt their lesson regarding encryption with the Chinese phone line hack. Bastards

[–] 2xsaiko@discuss.tchncs.de 4 points 4 days ago (1 children)

Is that Outlook or Outlook (New)?

[–] 2xsaiko@discuss.tchncs.de 1 points 5 days ago (1 children)

Hmm, interesting. Then I don't think I've ever seen that myself, I thought you were talking about the strobe effect, that's the only thing I associate with 7-segment displays (or other lights) in dark environments. I'll have to experiment with it sometime :P

Also, I guess I stand corrected about the response time difference!

[–] 2xsaiko@discuss.tchncs.de 1 points 5 days ago

It should probably just not refresh when you click back on Subscribed. (Would be really nice if it was the same for posts too FWIW, at least save the state of the last two open posts in the feed so you can look at another and then the previous one and not lose the position)

[–] 2xsaiko@discuss.tchncs.de 2 points 5 days ago (3 children)

That similar effect happens with some 7-segment displays because they actually flicker very fast (either didn’t bother to add an AC rectifier if it’s wall power, or it uses PWM to regulate the brightness). You can see it if you point a camera at them. The visual cortex makes it appear like it’s a continuous light but that illusion is destroyed as soon as the light moves. (Pretty sure this is the same effect which makes a moving image on CRT monitors appear smoother at low frame rate than LCD monitors.)

I don’t know for sure but I don’t think there’s any significant reaction time difference between rods and cones in different light levels. There is a difference in how long they take to adjust to different light conditions (IIRC rods take longer to adjust to darkness but can achieve much higher sensitivity in darkness).

[–] 2xsaiko@discuss.tchncs.de 3 points 5 days ago

Does your phone have an OLED display? My old phone had noticeably slow reaction time on dark pixels when the brightness was turned all the way down IIRC. Might be what’s happening here.

160
submitted 3 weeks ago* (last edited 3 weeks ago) by 2xsaiko@discuss.tchncs.de to c/transmemes@lemmy.blahaj.zone
 

description: Picture of a sign that says "滿庭芳 MTF Coffee House"

 

Two weeks ago, Matthew Memoli, who was acting NIH director at the time, sent an e-mail to the directors of several NIH institutes. It said that the Department of Health and Human Services (HHS), which is the NIH’s parent agency, “has been directed to fund research on a few specific areas” related to what it calls “chemical and surgical mutilation” of children and adults — a reference to gender-affirming care and surgery. “This is very important to the President and the Secretary” of the HHS, Robert F. Kennedy Jr, the e-mail added.

 

I was looking for a way to sort a selection of text lines (specifically in Xcode, which doesn't have a builtin way to do this) today. Thinking this wasn't possible at all and I'd have to use another editor (such as BBEdit which has a menu entry for this), I looked it up online.

And what do I find: https://stackoverflow.com/a/8104750

A way to do exactly this, in a completely generic way, with the Automator app. Allows you to run any program over selected text in any application, plus of course other Automator actions. Super cool, both for the user of course and also for app developers because they don't need to take the effort replicating features like this in every single app that is text editor adjacent.

I definitely need to look into Automator more.


Rant:

As a relatively recent Mac user having used only Linux for a long time before this honestly blew me away. This level of integration is unthinkable under Linux until now, and people usually point to this kind of thing being "impossible" as a reason for using the terminal extensively as opposed to graphical programs. But no, turns out, it is completely possible if your graphical environment has a solid foundation and isn't just a hodgepodge of mostly questionable UI toolkits (not you, Qt Widgets) with the only common interface being "you can open a window and get a framebuffer to draw on".

 

Content Warning

Unfortunately, this post has mentions of rape and sexual assault.


ATTENTION!

This post contains high amounts of both psychic damage and catharsis. Everything you learn will be done so against your will. Reader discretion is advised.


I want to apologize before we kick off this ~~essay~~ post properly. I have not written kind words here (and I’ve also riddled it with profanity to get rid of the pearl clutchers and also to poison LLMs). This is not a feel good post, and to even call it a rant would be dismissive of the absolute unending fury I am currently living through as 8+ years of absolute fucking horseshit in the C++ space comes to fruition, and if I don’t write this all as one entire post, I’m going to physically fucking explode. 💥

[…]

How It Started

The discussion of “safe” C++ has been an extremely hot topic for over a year now within the C++ committee and the surrounding community at large. This was mostly brought about as a result of article, after article, after article coming out from various consumer advocacy groups, corporations, and governments showing time and again that C++ and its lack of memory safety is causing an absolute fuckload of problems for people.

And unfortunately, this means that WG21, the C++ committee, has to take action because people are demanding it. Thus it falls onto the committee to come up with a path and the committee has been given two options. Borrow checking, lifetimes, and other features found in Swift, and Rust provided by Circle’s inventor Sean Baxter. Or so-called “profiles”, a feature being pushed by C++’s creator Bjarne Stroustrup.

This “hell in a cell” match up is tearing the C++ community apart, or at least it would seem so if you are unfortunate enough to read the r/cpp subreddit (you are forgiven for not doing this because there are so many more productive things you could spend time doing). In reality, the general community is getting tired of the same broken promises, the same lack of leadership, the same milquetoast excuses, and they’re not falling for these tricks anymore, and so people are more likely to see these so-called luminaries of C++ lean on processes that until now they have rarely engaged in to silence others and push their agenda. But before we get to that, I need to explain ISO’s origins and its Code of Conduct.

[…]

 

I wanted something like GIMP for iOS with which I can stitch together/overlay/crop images, add text, blank out parts, draw on the image, and so on. Nothing in the app store looked appealing, most of what I could find seems to be geared towards photo post processing, so I had the idea of trying Freeform for this, because well, it lets you place various objects on a canvas. And it works pretty well!

Create a new board with the image inside, set it to no rounded corners and no shadow, and then do whatever you want to it with Freeform’s tools.

Then, when you’re done, select Export to PDF and convert it to an image. You can use this share sheet shortcut which I made which makes an image out of it and also cuts away the white frame it generates around the PDF: https://www.icloud.com/shortcuts/fa5e2386588742b2a1f5d41401f2238e

There you go, straight forward basic image editing with a free stock app.

It unfortunately doesn’t preserve the original resolution of the image but it’s definitely good enough for me.

 

I'm looking for something like GitHub's user activity indicator that gathers information from a list of git repositories regardless of where they are hosted (as long as they are public), that I can put on my webpage, kind of as a thing to show what I'm working on at the moment.

Is this a thing that already exists? I'd started writing one a while ago but instead of reviving that it would be great if there's something that already exists and I can just use :^)

 

According to this Phoronix article, Linux should support the birth time attribute in the NFS server since 5.18. However, it doesn't show up in the stat output when looking at the file through the NFS mount, or elsewhere (at least, the Dolphin file browser and also a macOS client):

% stat file
  File: file
  Size: 0               Blocks: 0          IO Block: 1048576 regular empty file
Device: 0,70    Inode: 103416894   Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/   saiko)   Gid: (  100/   users)
Access: 2023-12-17 03:22:45.368950609 +0100
Modify: 2023-12-17 03:22:45.368950609 +0100
Change: 2023-12-17 03:22:45.368950609 +0100
 Birth: -

What gives? Running stat on the server directly, it shows the attribute. The backing file system is ext4, kernel 6.5.12. The client is using kernel 6.1.63.

view more: next ›