JackbyDev

joined 1 year ago
MODERATOR OF
[–] [email protected] 2 points 9 hours ago

Right single quote (’) in UTF-8 (https://www.compart.com/en/unicode/U+2019) has the same bytes as ’ in cp1252 (which is more or less "ASCII" if we're doing ELI5). https://en.wikipedia.org/wiki/Windows-1252

Sometimes your keyboard or program's settings will use right single quote for apostrophes instead of a normal apostrophe. ' you might notice how this one is straight and not bent a certain way. This setting is often called smart quotes.

[–] [email protected] 0 points 9 hours ago (1 children)
[–] [email protected] 5 points 9 hours ago (1 children)

You'd need to put ’ (specifically) in place of a quotation mark. That is the cp1252 encoding of right single quote in utf 8.

"Wonder if it’ll work?"

[–] [email protected] 4 points 20 hours ago

Very excited for this. They were added to chrome around the time I stopped using it. The tab group extensions are all a bad fit for my needs. Excited for it natively.

[–] [email protected] 1 points 1 day ago

You're thinking of CVEs.

[–] [email protected] 2 points 1 day ago

Also, Effective Java specifically says to use streams judiciously and prefer traditional for loops in general.

[–] [email protected] 2 points 1 day ago

Looks like something out of Andor!

[–] [email protected] 1 points 1 day ago

Stewart Hicks (architect and YouTuber) made a video on Brutalism that's pretty funny. I felt a little called out.

My favorite architect is John Portman. Though his work wasn't really considered brutalist but there's some overlap in the styles.

[–] [email protected] 1 points 1 day ago (1 children)

I can tell it's not the US because of the textured paths for the sight impaired. We have the dotted ones on street corners and stuff but I've never seen the straight ones anywhere. (I'm tempted to call it a braille path but I don't think that's it lol.)

[–] [email protected] 2 points 1 day ago

Need a new ENT doc?

[–] [email protected] 1 points 1 day ago

It's still useful though because you might hit it from a search engine while searching other stuff and you can also provide links to it when answering questions for people.

 

Seeing that Uncle Bob is making a new version of Clean Code I decided to try and find this article about the original.

82
Barbie (programming.dev)
 

If you'd told me five years ago that there would be a Barbie movie that somehow was not only just not a cash grab or nostalgia bait but also a genuinely amazing piece of cinema with an amazing message to boot I'd never believe you.

 

Opening your router to the Internet is risky. Are there any guides for the basics to keep things secure? Things like setting up fail2ban? My concern is that I'll forget something obvious.

Edit: I haven't had much of a chance to read through everything yet, but I really appreciate all these long, detailed responses. ❤️ Thanks folks!

 

This part of this blog post has always made me happy and I come back it from time to time. This is regarding the scene in Tron Legacy when one of the characters stops another from hacking. If you'd like to see the scene for context here it is. The time code is when the particular portion is. https://youtu.be/Qeh3E67brBs&t=231

In addition to visual effects, I was asked to record myself using a unix terminal doing technologically feasible things. I took extra care in babysitting the elements through to final composite to ensure that the content would not be artistically altered beyond that feasibility. I take representing digital culture in film very seriously in lieu of having grown up in a world of very badly researched user interface greeble. I cringed during the part in Hackers (1995) when a screen saver with extruded "equations" is used to signify that the hacker has reached some sort of neural flow or ambiguous destination. I cringed for Swordfish and Jurassic Park as well. I cheered when Trinity in The Matrix used nmap and ssh (and so did you). Then I cringed again when I saw that inevitably, Hollywood had decided that nmap was the thing to use for all its hacker scenes (see Bourne Ultimatum, Die Hard 4, Girl with Dragon Tattoo, The Listening, 13: Game of Death, Battle Royale, Broken Saints, and on and on). In Tron, the hacker was not supposed to be snooping around on a network; he was supposed to kill a process. So we went with posix kill and also had him pipe ps into grep. I also ended up using emacs eshell to make the terminal more l33t. The team was delighted to see my emacs performance -- splitting the editor into nested panes and running different modes. I was tickled that I got emacs into a block buster movie. I actually do use emacs irl, and although I do not subscribe to alt.religion.emacs, I think that's all incredibly relevant to the world of Tron.

592
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

Literally. I open up my terminal and try to cd Desktop only to be told that no such file exists. I thought for sure everyone this was happening to was just not reading something correctly and were foolish. Nope! It literally began deleting my files.

Edit 2: Even once it's done and you have them locally and not "on demand", the Desktop is in ~/OneDrive/Desktop instead of ~/Desktop. See this helpful comment.

It looks like there might be a way to sort of disable Files on Demand but it looks like it won't let me do it until it's done uploading? I'll post updates.

Not to be dramatic, but I'm really going through it. My mouse logitech mouse is suddenly chattering really bad and double clicking everything. Also while Steam refuses to let me disable auto updates for all games in any sort of easy way. And DDG seems intent on only showing me results related to launching games without updating (as opposed to merely disabling auto updates until I launch). The chatter fixer I found for my mouse does not work and the other requires some logitech program to even try to use. (The repo doesn't mention the name.) This is awful. When it rains it pours, I guess. Literally can't even high light this text to wrap it in a spoiler. This is fucking stupid.

Context: My parents have a family plan for Microsoft 365 they added me too and it has 1 TB of storage I can use. I wouldn't have turned it on otherwise.


Edit: My desktop background has literally vanished and turned solid black.

DO NOT ENABLE ONE DRIVE.

270
Which one??? (programming.dev)
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

Fuck it, .zshrc it is.

Image transcription:

  • Top text: I STILL DON'T KNOW WHAT SHOULD GO IN .*RC VERSUS .*PROFILE
  • Bottom text: AND AT THIS POINT I'M AFRAID TO ASK
 

I've been seeing comments about mailing lists. They usually want plaint text emails like these.

 

Someone mentioned they don't know how to use email with git. I remembered this cool website.

29
Sun Clock (sunclock.net)
 

(I did not make this project.)

I love this website. It helps me visualize time with regards to the sun very well. If I could get my FitBit to display this as a clock face I definitely would. It's such a beautifully simple site.

I'm sharing it in honor of the solstice today. It's (roughly) solar noon on the east coast. I think I found this site on Reddit prior to the Lemmy Exodus, so I'd like to share it here for everyone to enjoy. Happy solstice. Happy summer (or winter for our friends in the southern hemisphere).

Also, based on the community info panel I believe this is on topic here, but if there is a better community for "cool site I found" let me know. ❤️☀️

 

I don't get a very detailed error message but it fails and tells me to try reinserting it. I've tried a few times. It fails at different percentages sometimes. Any thoughts or ways to get a more detailed error message? I have Mac and Linux too.

 

I failed the strength check despite being a paladin and using inspiration. I never saw him again even after getting through nearly all of act 2. I've asked this before, maybe even in this community, but no one gave a concrete answer, likely because the game was still new.

view more: next ›