axby

joined 1 year ago
[–] axby@lemmy.ca 3 points 1 month ago (2 children)

I’ve never been into tablets, are Surfaces as easy to install Linux on as a PC? Is there any bootloader unlocking or anything like on a phone, or is it more like secure boot on a PC?

I had installed Linux on an old Chromebook and it would always offer to wipe the hard drive on every boot, so now I’ve assumed that some hardware isn’t as Linux friendly as others. I think a lot has changed since I got my desktop and the last laptop that I installed Linux on.

And are the Linux touch screen interfaces any good? I tried a Fairphone that was running something Linux and the touch interface was lacking. (It was a great tiny laptop for using a terminal though).

And last random thought… I loved the 10” netbook form factor back in 2009 or so. I think tablets are a similar size, but the weight is in the “monitor” part, I preferred the bottom heavy laptop form factor. Are the Surfaces okay for that, or top heavy enough that they can fall over and can’t have the angle adjusted finely like a laptop?

[–] axby@lemmy.ca 6 points 1 month ago (2 children)

My problem may be related: how do you find people to follow? I wish I could just follow communities like on Lemmy. I’ve tried following hastags I’m interested in, but it seems like they aren’t always used.

I’ve instead searched for topics that I’m interested in, followed a bunch of people, then unfollowed the ones that post too much stuff I’m not interested in. But this seems like a pain.

I also don’t necessarily want to see everything that a single person posts.

[–] axby@lemmy.ca 1 points 5 months ago (1 children)

Cool, thanks! This is what I was looking for. I've briefly tried playing with Nextcloud before, but this seems like another good option.

[–] axby@lemmy.ca 1 points 5 months ago

This is what I do for my own notes now, but could it work for students writing essays and that sort of thing? I suppose there must be some markdown to HTML/PDF/etc converters (also probably ODT or DOCX or whatever).

[–] axby@lemmy.ca 1 points 5 months ago* (last edited 5 months ago)

This is actually what I did when I was in school, and overall it was quite pleasant. There was some WYSIWYG LaTeX program too that I shared with some colleagues when we were working on a document together, I remember it working okay.

But I don't see the average student, especially studying non technical stuff, to pick up LaTeX just for normal sort of essays. Even I am fairly rusty now. And honestly I don't even know if I could have managed it during high school, where I had to write English essays and stuff with specific formatting for references. (I am grateful that my engineering education was less strict about that sort of thing).

I was hoping that someone would suggest a self hosted web document suite, I think "Nextcloud" is a popular one. Then it should work on any OS, and you don't have to worry about syncing files. Even if you can pay to have someone else host an instance (not sure if this exists), and ideally a program that can keep a local backup synced to your PCs would be a big step in the right direction. Syncthing seems pretty great, though I haven't used it much, and on iOS it doesn't seem to be able to run in the background.

edit: I just read another comment that recommended OnlyOffice, this seems like another good option (source: this reply: https://lemmy.ca/comment/9415293). Aside: is there a proper way to link to a comment on lemmy that will go through your own homeserver?

[–] axby@lemmy.ca 7 points 6 months ago (13 children)

What do you recommend? I love LibreOffice on Windows and Linux, and it still works well on macOS but the GUI seems weird on it, the buttons are really large. I still use it but my partner is put off by it.

[–] axby@lemmy.ca 16 points 7 months ago

I already basically get that half the time I boot into windows after an update. They say “let’s finish setting up your PC” and try to get you to pay for one drive, office, even game pass.

I’m so glad gaming on Linux has gotten to such a good state. I barely ever boot into windows now. (The “ad” on boot up is probably only once every few months, but that’s about as often as I boot into windows).

[–] axby@lemmy.ca 3 points 7 months ago

Message me on matrix in #alexgames:matrix.org if anyone wants to try playing a multiplayer game together :)

(I'm not actually very good at chess or go)

 

TL;DR: try my Lua web games here, see github for self-hosting instructions: https://alexbarry.github.io/AlexGames

Hi all, here's a hobby project I've been working on: I wrote a bunch of simple Lua games, compiled the Lua interpreter to web assembly, and defined a simple API to draw on a canvas and handle input. It all builds to static HTML/JS/WASM, except a few hundred lines of python for a websocket server for multiplayer. I recently added some dockerfiles so I think it should be easy to self host.

Here is the web version on github pages: https://alexbarry.github.io/AlexGames/ , and the source on github (self-hosting instructions in the README).

I'll list some of the games:

  • local/network multiplayer: chess, go, checkers, backgammon, gomoku
  • single player or network multiplayer: minesweeper
  • single player only: solitaire, "word mastermind"[1], "endless runner", "fluid mix", "spider swing", "thrust"

[1]: it may not technically be multiplayer, but my partner and I enjoy picking our own hidden word and sharing the puzzle state as a URL or just passing a phone to each other.

Part of my motivation is to avoid ads on mobile games, and to be able to play different multiplayer web games with friends without having to get them to make an account and all that (just share the generated URL, it contains a multiplayer session ID). I also like the idea of having my own private web games server, and not having to be reliant on some service that might eventually get enshittified.

I figure that if I can throw together a similar game in a few hundred lines of Lua, then no one should have to deal with full screen ads or pay ~$10 to play them. Especially since most mobile games that I like are simple and I only play them for a few minutes at a time, maybe only a few times per week.

Self hosting isn't necessary to try it out, but without SSL it should just be a simple one-line command to host the HTTP and websocket server with docker compose. For SSL support it is a few more steps, I added steps to the README: one command to build the static HTML (so you can copy it to your web hosting server, which should already take care of SSL), and another to host the websocket server, which can have your SSL certs passed as parameters. But you don't strictly need the websocket server, it should just fail to connect after a few seconds and then you can play the games without network multiplayer. You can even use my websocket server and your own static HTML, just add &ws_server=wss://alexbarry.net:55433 as a URL parameter to your own URL. I haven't self hosted much on my public server, so I'd love to hear feedback on how to better handle SSL certs. Ideally you could just choose to not use SSL for your websocket server, but firefox at least prevents you from connecting to a websocket server without SSL if you're using SSL to visit the page itself on the same server. (On a local network without SSL it's fine, though)

Some features that I'm proud of:

  • the network multiplayer works pretty well, I'm pleased with websockets (previously I was hoping to get WebRTC working but I didn't have much luck). On the wxWidgets and Android prototypes I had a normal socket server working too, but I've focused on the web version since it's good enough
  • an English dictionary for word puzzle games. (aside: loading ~220k English words as javascript strings and a javascript array took like 12 MB of browser memory or more, but I got it down to ~6 MB by moving the dictionary to C managed memory)
  • state sharing via URL: for most games I serialize the state and then you can export it as a base 64 string in a URL. This is useful to keep playing on a different device, send a puzzle that you liked to a friend, or for "word mastermind", to choose your own word and get your friend to guess it.
  • built in autosave, undo/redo, and browsing previous saved states. I used the same code to render state previews that I wrote to render the games for normal play, so all a game has to do is implement state serialization, implement a few APIs to get that state, and call "save_state" whenever the player makes a useful move. Then games can simply call a few lines to add an "undo" and "redo" button, and those can call a one line function to fetch the previous or next state. (I'd like to add a full history tree at some point, but for now if you undo many times and make a new move, you lose the moves that you un-did ("undo-ed"?))
  • playing arbitrary games as zips of Lua files. While the self hosting community might not need this much (since they can just add their own games to the source and rebuild), I figured many people might be interested in writing a game without having to build and host my project. So I added support for unzipping bundles of Lua source files and storing them in the built in emscripten filesystem in the browser. I added an example game and an API reference, see the "Options" menu and the "Upload Game Bundle" section.

Let me know what you think! I'd love to hear feedback, or get new game contributions or bug fixes / features.

[–] axby@lemmy.ca 1 points 9 months ago* (last edited 9 months ago)

You may know this, but my understanding is that they randomly stop either to do another delivery on a different app, or to get gas/etc. (edit: I don’t think this justifies it to the customer, hence why I’ve stopped using these apps. I do have some sympathy for the driver, I have heard that the companies incentivize them to maintain a streak and take fewer breaks between drives, and somehow it seems like long unnecessary pauses aren’t penalized (perhaps because they’re hard to distinguish from traffic))

I haven’t used delivery apps in a while due to cold food and outrageous prices.

[–] axby@lemmy.ca 5 points 9 months ago (1 children)

Ah, the comparison to Epic helps me understand a bit... maybe. Are they simply worried about PS5 "winning" and Xbox disappearing? I don't worry that Steam will ever disappear because of Epic and don't care if they get games (in fact I have an epic account just to claim the free games, but I don't really play them because they don't support Linux). But if Steam did disappear in favour of Epic, I would be pissed. I wouldn't care if there's a merger or rebranding as long as Linux support and my existing library is maintained.

Even still... worst case, they buy a PS5, and get all the same games and more? A friend of mine switched from Xbox to PS and thought it was pretty good. I do prefer the Xbox thumbstick placement over PS5, though. I guess they'd also lose their Xbox friends/following/achievements/etc. Though surely it would, at worst, be merged into PS.

But still, even if you're worried about this backfiring and Xbox disappearing... it seems worth the risk, to me. Presumably there are some good PS exclusives that could come to Xbox?

I'm really trying hard to figure out how this isn't just fanboy whining and I'm coming up short. I'm interested in other ideas!

[–] axby@lemmy.ca 29 points 9 months ago (8 children)

I couldn’t understand why this would be anything besides good news, but I guess they’re worried that the hardware won’t get as much focus?

(I’m out of the loop, I play PC games now and haven’t bought a console since the Xbox 360 back in… 2008 or so? I forget)

“It’s so easy to see Xbox is killing its hardware and putting a stake in the heart of it by doing this,” he said. “And there’s no going back… it’s dead.”

He later tweeted: “Xbox could have killed Game Pass, say buy our exclusives and focus on our hardware and that’s 100 percent the better idea [than to] SAY LETS KILL EXCLUSIVES AND put Halo on PS5. The outrage would be half of this and guess what you might be back to having a healthy business.”

It still seems like an over reaction to me. Exclusives have always seemed bad. I’m just glad games are getting released on PC, though I haven’t played many AAA games in a while.

[–] axby@lemmy.ca 1 points 1 year ago* (last edited 1 year ago)

I may have missed it, but does he (or anyone else) have recommendations for options to simply pay for content and get high quality DRM free files (edit: I mean legally)?

And how much of a pain in the ass is it to buy DVD box sets and rip them? Presumably that’s legal for personal use? Is that the only way? :(

I have some additional frustrations with Netflix:

  • they have removed some shows that I like
  • if you travel to another country, you can’t always watch the same shows— even if you downloaded them within the app
  • they completely remove some episodes: the episode of community where they play Dungeons and Dragons, and (other streaming services) remove the Michael Jackson Simpsons episode.
  • extremely user hostile way to browse content. They always move your list around and show the same show in multiple places
  • I absolutely hate how all these streaming services auto play to the next episode. You can often change this behaviour. But my partner sometimes casts it to our TV and the damn app (Disney+ in this case, I think) changes the interface just as you get to the credits. I want to sit in peace and let the credits play, and discuss the episode. But it tries to shove another one down your throat, presumably to “maximize engagement”. (I get it for content that you’re binging or are re watching. But this is horrible if you’re just watching an episode during dinner and don’t want to have to scramble to stop the autoplay as soon as it ends)
view more: next ›