@beejjorgensen@lemmy.sdf.org avatar

beejjorgensen

@beejjorgensen@lemmy.sdf.org

Instructor, author, developer. Creator of Beej’s Guides.

openpgp4fpr:CD99029AAD50ED6AD2023932A165F24CF846C3C8

This profile is from a federated server and may be incomplete. Browse more on the original instance.

50 Years of Text Games - book recommendation

Whether a fan of text adventures or not, Aaron delves not just into the history of these games, but also the development and impact. I was blown away by the degree of creativity and diversity. Games that pushed the boundaries of AI and social issues. I’ll be returning to this book as I explore many of the adventures referred...

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

I’ve been using TB and K9 for about a year now. Not even wanting to look back.

How do y'all deal with programs not supported on Linux?

I’ve been seeing all these posts about Linux lately, and looking at them, I can honestly see the appeal. I’d love having so much autonomy over the OS I use, and customize it however I like, even having so many options to choose from when it comes to distros. The only thing holding me back, however, is incompatibility issues....

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

When I needed Windows for a piece of software, I ran Windows on another computer. Later I got into a position where I didn’t need to use that software. 😁

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

Firefox does something else very important: provide another rendering engine for the web. When that landscape homogenizes, you get IE6 all over again. And we never want to go back there.

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

A shell script can be more concise if you’re doing a lot of shell things. Keeps you from having os.system() all over the place.

Things like “diff the output of two programs” are just more complex in other languages.

I love rust, but replacing my shell scripts with rust is not something I would consider doing any more than I’d consider replacing rust with my shell scripts.

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

Some comedian, I don’t recall who, talking about his “job interview”:

“Are you good with the Microsoft Office suite?”

“I excel at it.”

“…Did you just make an Office pun?”

“Word.”

I’ve been using LibreOffice for ages. It’s been excellent–a most impressive project.

Just realized I can just use "..." to go back two directories! Is this a zsh feature?

I accidentally discovered that both “cd …” and “…” work, and moreover, I can add more dots to go back further! I’m using zsh on iTerm2 on macOS. I’m pretty sure this isn’t a cd feature. Is this specific to zsh or iTerm2? Are there other cool features I just never knew existed??...

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

This is my favorite cd feature by a large margin.

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

It would be excellent if he could get fully funded through Patreon. I chipped in a bit, and I don’t even use it–looks like a cool approach, though. There have to be enough enthusiasts out there to pitch in enough cups of coffee to cover his dev time.

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

Even though librapay doesn’t take a cut, the providers they use do. Someone is taking a cut; I just try to make it smallest with the least-shitty company. :) But it’s tough, as a buyer, to find ways to pay people. I really wish creators would have obvious tip jars, and there was a standard way to tag them in HTML so search engines could find them.

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

It would be nice if people finally reject the idea that X and FB are “The Internet”.

25 years since The Halloween Documents, the Microsoft vs. Linux and Open Source memos (www.catb.org)

“In the last week of October 1998, a confidential Microsoft memorandum on Redmond’s strategy against Linux and Open Source software was leaked to me by a source who shall remain nameless. I annotated this memorandum with explanation and commentary over Halloween Weekend and released it to the national press. Microsoft was...

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

Yup! That “interoperability” Doctorow is rightly on about that all these large monopolistic companies hate.

[Solved] why local user.mail overrides global user.mail in git?

So, I have a GPG key with two noreply email addresses. One for codeberg.org and one email address for github.com. When using the user@noreply.codeberg.org of codeberg as user.mail globally, I can make commits which show up as verified on codeberg.org. But if use the same mail as my git user.mail the commit on github will show up...

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

“The expert has failed more times than the beginner has even tried.” 😊👍

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

As much as I hate ads and hate the concept that I would be forced to view them, these kind of legal wranglings freak me out. It seems quite possible that a ruling in my favor here would be used against me somewhere else. Courts and lawmakers don’t understand technology and don’t realize the effects laws have. And frankly, the rest of us don’t have much idea, either.

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

I love that this project is still going. I rarely use it, but it’s going to be instrumental in preserving tons of Windows abandonware.

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

Holy cow, this sounds like a moderation nightmare–glad I don’t have to do it! There’s no way you’re going to get through it without someone complaining about it.

In my mind, this is definitely something that individuals should address with blocks and filters. If those filters don’t exist, they should be written.

Has anyone checked out marginalia search? (search.marginalia.nu)

This is not an ad BTW, I literally stumbled upon it a few minutes ago. From what I can gather, however, this is a [DIY-ish] search engine that solely searches on text (no other forms of media, such as, … idk hypertext maybe), which allows users to have more control over queries (like including and excluding terms). I suppose...

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

I think it’s just a different beast. He writes:

It’s perhaps not the greatest at finding what you already knew was there. Instead it is designed to help you find some things you didn’t even know you were looking for.

If you are looking for facts you can trust, this is almost certainly the wrong tool. If you are looking for serendipity, you’re on the right track. When was the last time you just stumbled onto something interesting, by the way?

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

“Unless you give us all your money to put in our new bank, we might be facing insolvency issues.”

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

So the page says:

And this does in fact happen - even though some of your data was still waiting to be sent, or had been sent but not acknowledged: the kernel can close the whole connection.

But Stevens says:

By default, close returns immediately, but if there is any data still remaining in the socket send buffer, the system will try to deliver the data to the peer.

The SO_LINGER socket option lets us change this default.

And, referring to the default close behavior:

We assume that when the client’s data arrives, the server is temporarily busy, so the data is added to the socket receive buffer by its TCP. Similarly, the next segment, the client’s FIN, is also added to the socket receive buffer (in whatever manner the implementation records that a FIN has been received on the connection). But by default, the client’s close returns immediately. As we show in this scenario, the client’s close can return before the server reads the remaining data in its socket receive buffer. Therefore, it is possible for the server host to crash before the server application reads this remaining data, and the client application will never know.

Also:

If l_onoff is nonzero and l_linger is zero, TCP aborts the connection when it is closed. That is, TCP discards any data still remaining in the socket send buffer and sends an RST to the peer, not the normal four-packet connection termination sequence.

I’m having trouble reconciling this with the article’s position that data will be discarded by the sender OS with a plain non-SO_LINGER close().

I can see how the sender might be blissfully unaware that the receiver program might have crashed after the data had been sent and the connection had been closed, but before the data had arrived at the receiver program. And that’s where some kind of application ACKing mechanism might be in order.

I can also see that the receiver OS might happily collect the data and shutdown the socket correctly and then the sender app thinks everything is fine, but the receiver app has crashed and will never see the data.

But neither of those conditions result in the receiver app in the example showing less than 1,000,000 bytes received unless there’s an error.

What am I missing?

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

I like this approach for Rust in general when it comes to graphs. But it suffers from many of the same kinds of issues we get with pointers, e.g. dangling pointers, use after free, and so on. Tradeoffs!

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

Might get there. Right now I just have external SSH access (key only) to get to the files. I also need an offsite, so it’s all sent to a remote server with rsync and gocryptfs. I only have about 90 GB of stuff on there right now; I don’t do any media serving.

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

Depends on your definition of “evil”, I guess.

beejjorgensen,
@beejjorgensen@lemmy.sdf.org avatar

For sure–I just don’t tend to watch anything more than once. :) Most of my federated identity and offsites are at SDF, which is a solid place with a mission I respect and certainly don’t mind giving $36/year to. Grayjay for stupid vids (if I could just get it to work with FCast…)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines