See https://alexbarry.net for projects I’m working on, and contact info.

Also check out github.com/alexbarry

  • 3 Posts
  • 68 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle
  • Grazie mille! Ecco il mio primo tentativo di supporto per le traduzioni. Ho suddiviso le traduzioni italiane generate dalla macchina in un commit separato. Per ora ho tradotto solo l’applicazione web e le stringhe nel gioco Solitaire. Sentiti libero di aggiungere qualsiasi miglioramento, su github o qui o via email/matrix/qualunque cosa ti faccia comodo:

    https://github.com/alexbarry/AlexGames/pull/15/commits/9e8d244998e79831ac1d3d0bcac1b9d19474f8f2

    Le stringhe comuni dell’app web sono in data/strings/it.yaml, questo potrebbe non essere molto importante e ce ne sono molte di più di quanto pensassi. Le stringhe solitaire in src/lua_scripts/games/solitaire/solitaire_strings.lua sono più gestibili e potrebbero probabilmente trarre maggior beneficio dalla revisione umana (perché mancano di contesto perché sono stringhe più corte come “draw type” (“one”, “three”)).

    Potrebbe essere più semplice dare un’occhiata veloce all’applicazione funzionante con le nuove stringhe, l’ho ospitata qui: https://alexbarry.net/dev/games/i18n/it.html

    Probabilmente sarò impegnato per la prossima settimana o forse due, quindi non sentirti obbligato a guardarli tanto presto. Potrei anche unirli al ramo principale, ma non mostrarli automaticamente agli utenti a meno che non accettino, o almeno con un disclaimer che li traduca automaticamente.

    Inglese (Originale)

    Thanks so much! Here is my first attempt at support for translations. I split the machine generated Italian translations into a separate commit. I only translated the web application and the strings in the Solitaire game for now. Feel free to add any improvements, on github or here or email/matrix/whatever is convenient:

    https://github.com/alexbarry/AlexGames/pull/15/commits/9e8d244998e79831ac1d3d0bcac1b9d19474f8f2

    The web app’s common strings are in data/strings/it.yaml, this may not be very important, and there are way more of tham than I realized. The solitaire strings in src/lua_scripts/games/solitaire/solitaire_strings.lua are more manageable, and could probably benefit more from human review (because they lack context due to being shorter strings like “draw type” (“one”, “three”)).

    It might be easier to just skim the working application with the new strings, I hosted it here: https://alexbarry.net/dev/games/i18n/it.html

    I am likely busy over the next week or maybe two, so don’t feel obligated to look at these any time soon. I could even merge these into the main branch, but just not automatically show them to users unless they opt-in, or at least with a disclaimer that they are machine translated.


  • Vorrei anche aggiungere a questa frase:

    I giochi presenti sono diversi e, come detto, è possibile su alcuni è anche giocarci con altre persone all’interno della stessa rete.

    Ciò è vero per la versione Android, in cui stai ospitando una versione websocket sul tuo telefono. (Questa era per lo più una bella funzionalità demo, ma è raramente utile).

    Ma nella versione web, si connette a un server websocket su Internet pubblico. Chiunque abbia accesso a Internet dovrebbe essere in grado di accedervi. Quindi se apri semplicemente l’URL del sito normale, scegli un gioco, dovrebbe generare un ID casuale nel parametro URL. Quindi puoi semplicemente copiare e incollare l’URL per condividerlo con un amico e dovresti essere in grado di giocare insieme. Non devi essere sulla stessa rete. (Mi rendo conto che non è intuitivo e dovrei migliorare l’interfaccia utente, almeno mostrando l’ID multigiocatore).

    E se non vuoi affidarti al mio server websocket (o anche all’HTML statico sulle pagine GitHub), sei libero di ospitarlo tu stesso, ho fornito un’immagine docker, vedi https://github.com/alexbarry/AlexGames per maggiori informazioni. (Mi dispiace che sia solo in inglese, spero che i file Docker siano abbastanza chiari)

    Parte del motivo per cui ho lavorato a questo era per non dover dipendere indefinitamente da un software di hosting di terze parti e non introdurre modifiche che non mi piacciono, quindi ovviamente altri sono benvenuti alla stessa libertà :)

    Inglese (Originale)

    I would also like to add to this sentence:

    The games present are different and, as mentioned, it is possible on some of them to play with other people within the same network.

    That is true for the Android version, where you are hosting a websocket version on your phone. (This was mostly a cool demo feature, but it is rarely useful).

    But on the web version, it connects to a websocket server on the public internet. Anyone with internet access should be able to access it. So if you just open the normal site URL, pick a game, it should generate a random ID in the URL parameter. Then you can just copy and paste the URL to share with a friend, and you should be able to play together. You don’t need to be on the same network. (I realize this is not intuitive and I should improve the UI, at least showing the multiplayer ID).

    And if you do not want to rely on my websocket server (or even the static HTML on GitHub pages), you are free to host it yourself, I provided a docker image, see https://github.com/alexbarry/AlexGames for more information. (Sorry that it’s in English only, hopefully the Docker files are clear enough)

    Part of the reason I worked on this was to not have to rely on some third party hosting software indefinitely and not introducing changes that I don’t like, so of course others are welcome to the same freedom :)


  • (Non parlo molto italiano, quindi sto usando Google Translate. Versione inglese qui sotto se la traduzione non ha senso)

    Ciao, sono lo sviluppatore di questi giochi. Per favore, fatemi sapere se ci sono miglioramenti o nuovi giochi su cui vorreste che lavorassi! Ho provato a creare molti giochi come esempio e ad aggiungere una versione Android, ma non ero sicuro di quali giochi o piattaforme sarebbero stati più interessanti per le persone. Alcuni dei giochi sono incompiuti e potrebbero tutti usare una grafica migliore.

    Inoltre, sarei felice di aggiungere traduzioni in italiano e in altre lingue, se fosse gradito! Almeno per i giochi più popolari, potrei aggiungere un’API per ottenere l’impostazione della lingua del browser e mostrare le stringhe appropriate.

    Grazie anche all’autore per aver pubblicato questo! Non so davvero come condividere i miei progetti software, molti posti su Internet non accolgono con favore l’autopromozione.

    Inglese (Originale)

    Hi, I am the developer of these games. Please let me know if there are any improvements or new games that you would like me to work on! I tried making many games as an example, and adding an Android version, but I wasn’t sure what games or platforms would be most interesting to people. Some of the games are unfinished, and they could all use better graphics.

    Also, I’d be happy to add Italian and other translations if that would be appreciated! At least for whatever games are most popular, I could add an API to get the browser language setting and show the appropriate strings.

    And thanks to the author for publishing this! I don’t really know how to share my software projects, many places on the internet are not welcoming of self promotion.





  • 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?





  • Thanks for posting this (I’m the original author). It’s not clear to me where to share my projects like this, many places on the internet don’t seem to welcome any form of self promotion, even if it is open source / ad free / etc.

    My original post was directed towards the self hosting community, but it should still be completely useable with the github pages version (linked in the post). And stay tuned for an Android app (and maybe iOS some day), most games are great offline. I’d love to add multiplayer over bluetooth, the main time I play games like this on my phone is when I’m on a flight or when physically with someone else.

    I’d love to hear feedback, especially constructive criticism! There are some other features and new games that I’d like to add, but I’d love to hear what people actually want, instead of just what I enjoy working on.





  • Thanks a lot! Usually I’m okay up until I reach near the end … spoiler-ish warning:

    spoilers for nearing the end of the game

    I was doing great up until psychic ships kept crashing. I’d arrange all my colonists in a circle around the ship, and usually they could kill the mechanoids pretty easily. But sometimes one or two of my colonists would die. I tried to keep going after that, but then another ship part crashed within what felt like a few days (maybe it was 7 days), then I lost a few more. I had barely recovered from the last one.

    I may have tried to start building the ship too soon. I think I had assault rifles for several colonists, and marine armour for a few.

    But anyway, for a psychic ship, are you supposed to attack it, run away, and kite them back to your well defended killbox-ish base? Maybe that was really my biggest mistake. I would have just left it way on the other side of the map, but the psychic drone was getting bad. And I think there was a fire or something too?

    (end spoilers)

    It’s also possible that I had tried to challenge myself and set the difficulty to the mid level, but forgot.

    Oh, also I often find myself running out of components, and just barely making it to component manufacturing before I run out. I always buy them all from traders, and try to conserve them. But even with component manufacturing, it feels like it takes forever to make one, even if I have like ~15 colonists, where a few are dedicated crafters. Maybe I just need to stay in this stage for longer, until I can get assault rifles for everyone?

    And I never really read much about strategies, I generally just like to figure it out myself, but I suck at trying new things.

    I guess the main thing is that I love the part where you try to survive against natural disasters and have enough food, but I’ve never gotten too into the combat. Plus it felt like it was always pretty easy up until I got to the kinds of enemies that you encounter regularly at the end of the game.


  • Rimworld is probably one of my favourite games. I highly recommend it to anyone who is interested. This new expansion also seems really cool, I copied two points from the steam description that stood out to me (spoiler warning! Even the steam description has a spoiler warning before these. Hopefully most lemmy clients support spoiler tags):

    spoiler warning

    spoiler warning (I notice connect on Android doesn’t yet support spoiler tags)

    spoiler warning

    some spoilers from the steam description. Note the description says: Warning - Spoilers Below.

    A psychically-invisible hunter of human souls screeches outside your walls, returning every night to capture a new victim. The proximity alarm goes off, but you can’t see the beast. Study samples of the creature to learn to detect it. Then, become the hunters and kill it where it lives.

    A parasite has mind-controlled some of your colonists - but who? They pretend to be human as they work to infest others. Track evidence, imprison, interrogate, and medically test people to find out who is infested before it’s too late.

    (end spoilers)

    That being said, I’ve only played the base game so far, and I think I’ve always played on the difficulty that is just one above peaceful, and I found it really hard near the end. But I’ve never bothered with killboxes, and I keep my colony wealth high I guess, I like to hoard food, silver, and everything. I also build floors (some people skip them to keep their wealth low). Perhaps I should have added: raid strength depends on your colony wealth (I think).

    Does anyone have any tips for actually reaching the end game event? (Please use spoiler tags! I know a bit about it, but I think many people like to be surprised. Put :::spoiler some text that shows before users expand your spoiler before and ::: at the end.)


  • I would totally buy a modern version as long as I could use a browser, some bank and finance apps, and rideshare. And maps. And I’d probably need a touch screen. (Obviously a modem cell radio, and GPS if the original didn’t have it)

    I’m sure the small screen would occasionally be difficult and maybe require custom UIs like how Android/iOS apps do for watches. But I think I could live with it. I want to use my smart phone less anyway.



  • edit: oops I just realized that you seem to be referring to “how can I see the letter on the keyboard”, originally I thought you meant “how can the keyboard know which letter I’m referring to if it’s ambiguous”. For me being able to see, I roughly know where all the letters are out of habit, so it’s more muscle memory than having to look. But also my finger doesn’t tend to cover most of the screen, so maybe I can’t see letters one key away from my thumb, but I can see all the others.

    TL;DR: try to do curves instead of straight lines when swiping, it helps signal that you are avoiding the letters in a straight line between two letters. I think this is essential but I’m not sure if it’s really communicated anymore.

    ah, voice to text also seems really convenient. I tend to prefer being silent, but if I did more hands-free stuff then maybe I’d get more comfortable using voice to text.

    With swiping, you’re right that it can be a bit ambiguous if you just move your finger in a straight line from each letter you need. There are some words that often get mixed up if you do that. What I do is make a curve between letters, especially when they are close together or seem to get mixed up (or there’s a letter in between that could plausibly be added between your two endpoints). So instead of going straight from “F” to “L” on a QWERTY keyboard, I’ll do a half circle almost, curving down to “N” and back up to “L”. This might be a bad example because it doesn’t look like there are a ton of common letter combinations between “F” and “L”, I can’t think of any right now. But when it’s especially ambiguous or close together, I think the curving helps. Also over exaggerating sometimes helps, sometimes if I was swiping to the letter “A” it would use “S” or something a bit closer. I think I was not swiping far enough, and I think there is a lot of prediction at play to figure out what is most likely based on your gestures. Overall this works pretty well, now that I’m used to it, I can’t recall any specific words that are always messed up. Mistakes do happen sometimes but generally I feel like it’s faster than any alternatives (with the possible exception of voice, but I find that I rely a lot on punctuation that isn’t always captured by voice).

    RE the trail, I guess I don’t notice it anymore. It actually works well enough that I don’t need to look at the keyboard very much when doing it, I tend to just look at the output, and only look at the keyboard if it entered the wrong word. (And I do occasionally just press individual keys if I’m entering a word that isn’t in the swipe dictionary). I’d also guess that you might be able to disable the trail, there are usually configurable keyboard settings.

    But then again, it might not be everyone’s thing. I had tried T9 on flip phones and never liked it, but I was used to my small QWERTY flip phone. I certainly hope that they let people swiping it if it gets in the way, I don’t think it should be forced on everyone just because I strongly prefer it.


  • axby@lemmy.catoNostalgia@lemmy.caPhones with actual keyboards
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    7 months ago

    TL;DR: I highly recommend trying and getting comfortable with swiping. I say this as a physical keyboard lover and fast normal keyboard typist. Also as someone who hates having to fix auto corrections that occasionally result from swiping.

    At one point (2011-ish?) I had the droid 2 and it had a physical keyboard which I really liked, but once I tried “swiping” I stopped using the keyboard for the most part. For programming or gaming a physical keyboard on a phone is amazing (I loved playing a mario game with that keyboard, touch screens aren’t good enough for it IMO), but for general messaging, swiping is accurate enough, and super convenient IMO. I don’t think I would message people much without it.

    For longer messages I often just switch to my laptop, but even this comment (which has become much longer than I intended) doesn’t feel overly painful to write via swiping.

    That being said, I would still be interested in a phone with a physical keyboard if a good one exists. I did try the pinephone with a physical keyboard case, and it worked great as a mini laptop for very light terminal usage, but I feel like most of my messages on my phone are quick enough that swiping (and occasionally correcting the resulting mistakes) still feels way faster than two finger touch screen typing, and it feels fast enough to not bother folding out a keyboard.

    (The physical keyboard with the pinephone was just a bit too small to comfortably type with all 5 fingers.)


  • My first phone was this “dual flip” Samsung U740 (I don’t remember the model number, I just looked up “dual flip”). It could be used like a normal phone when talking, but you could also open it sideways to text and use a QWERTY keyboard. I could easily text without looking, I loved it.

    Samsung U740

    After that I had some moto droid with a slide out keyboard, but it was bigger and less comfortable to use.