7
An online playground for ArkScript (playground.arkscript-lang.dev)

I wanted people to be able to try out my language online, and it’s now possible with a vscode like interface, sending code to a docker image running the interpreter!

It was easier than I thought to implement, and yes, security was a concern, but I have been able to harden the docker container as well as implement restrictions on the websocket server to avoid having users escaping the docker image and getting access to the VM it’s running on.

46

I currently have a server, a Dell T310 with an SSD in it and 12Gig of ram (weird config, I know I messed up but it works fine so I can’t be bothered to change that for now), with all my dockers running in it.

It runs mostly fine, with Debian 11, a VPN so that I can block public ssh and allow it only on the VPN network, an nginx proxy to have services like a forgejo and a music library (ampache).

However it can’t run a Minecraft server with more than a single person on it without stuttering ; so I was considering changing it maybe next year, after more than 3 years of services, for something beefier but also consuming less W/h (current consumption is 80W), and since I already have a Mac for work I was wondering how suitable a Mac Mini M1/M2 would be for a homelab?

Does anyone have such a configuration and how does it work for you? Any hurdle that you should be aware of?

38

I’ve been thinking about it for a while now, and just realized how weird it is, after trying to explain it out loud to a friend who’s also neurodivergent.

I’m curious to know if it’s a common experience with other neurodivergent individuals.

My mind has three different depths:

  • a very conscious one, capable of conjuring images and sounds from the void, capable of manipulating at will said images, morph them, move them… I can think « words » and have them be real in my mind
  • a conscious but closed one: I can put words in it but without acting on them, only watching them. This one is the weirdest of all. There is a difference for me when I think about « dog » and just « look at the idea of a dog ». There are some things I don’t want to consciously think about (like things that makes me sad or depressed) so instead of thinking about them I’ll put them in this zone. They exist but it’s very different from having the words out loud in my mind, as if I was thinking inside my own mind. It’s like I’m in a museum watching thoughts behind plexiglass
  • the dark zone, where I put things I don’t want to think about at all, things I want to forget. It’s literally a foggy dark place made of some kind of fluid darkness with no thoughts shining in it, I have to consciously want and try to pull things from it

A while ago, I read somewhere that the mere thing of being able to conjure images was « rare », like only 25% of people on earth can do it. Somehow I linked this idea to people being neurodivergent but I have no proof or source and I may just have made things up in my sleep or under the shower.

TL;DR: how does your mind works? Mine is weird

[-] SuperFola@programming.dev 42 points 1 month ago

The AltStore: am I a joke to you?

24
[-] SuperFola@programming.dev 16 points 1 month ago

Joke on them, I don’t read ads!

67

I’ve finally picked up an iPhone about a month ago, and have been loving the experience.

However I’m now thrown into an ad-full world again (I used to have a browser blocking many if not most ads on the android), so I’m wondering, what adblockers do you use (may it be safari extension or entirely new browser for my fellow Europeans)?

[-] SuperFola@programming.dev 51 points 2 months ago

I'm getting fed up about all those articles "rust x something: the future?", "I rewrote in rust it's now memory safe". I get the rust safeties and all, but that doesn't automatically make everything great, right ? You can still write shit code in any language that can RM -rf all your disk, or let security gaps here and there without intending to.

23
58
16

Hello!

I've been working on this language for the past 5 years, ArkScript, which is:

  • as small as I could (language wise, 10 keywords, nothing I deemed too specific/useless)
  • running on a VM, compile once run anywhere, just ship your bytecode
  • can be used as a scripting language on its own, like python (though it's not its strength)
  • easy to embed, made in c++ 17 with simplicity in mind

I'm currently working on the v4 (I screwed up with the semver), redoing the imports syntax, and currently cleaning the code and rewriting all the unit tests using boosr-ext/ut.

I'm open to criticism, suggestions, discussions on how to enhance it, or just questions on that weird project.

58

I played BotW a lot, and really loved it. I feel like the beginning of the game was relatively easy compared to TotK, I died a few times trying out things, discovering the game and possibilities ; in TotK I died a lot and still do even with good gear and armour (1*-2* armors, 30-40+ damage weapons). You could say it's skill issues and I would agree with you as I am not a pro player and play games once a week maybe, however I feel like the difficulty curve is far greater in TotK. That has affected how I view the game to the point that sometimes I think I dislike it (even though the new powers are the best thing they could have added, with the verticality of the world) ; that might also have to do with the much darker ambiance of the game, which can feel frightening (to me) to the point going underground is hard.

Is it just me? Should I just "git gud"?

[-] SuperFola@programming.dev 27 points 9 months ago

There is still the journal you could use to recover the old state of your database. I assume you commited after your update query, thus you would need to copy first the journal, remove the updates from it, and reconstruct the db from the altered journal.

This might be harder than what I'm saying and heavily depends on which db you used, but if it was a transactional one it has to have a journal (not sure about nosql ones).

[-] SuperFola@programming.dev 47 points 9 months ago

Ask yourself: do you really need a performance boost or are you just chasing the numbers to avoid a non-existant problem?

211

New clear black shell to fit the IPS screen v3 from funny playing (no soldering needed! This is awesome, I can control the screen with just a touch on the GBA logo). I also added a rechargeable usb c battery, so far it is already lasting 2x longer thanks when I used AA (6 hours in, with a single charge, and medium brightness + sound).

Next steps would probably be:

  • cleanAmp, because I noticed some kind of white noise with my headphones plugged in
  • GBA accelerator to replace the stock clock (and make grinding in Pokémon Ruby faster probably)
96
submitted 9 months ago* (last edited 9 months ago) by SuperFola@programming.dev to c/ergomechkeyboards@lemmy.world

I wanted to experiment with a better pinky column, as for me using the bottom row with the pinky felt awkward and sometimes painful. Thus I created an alt version of my arkenswoop (swoop based), and named it the altenswoop because my brain thinks it is very original and funny. It will take some getting used to, and I'll need to get batteries for this prototype too!

Is there a proper name for this kind of pinky formation? I've seen this elsewhere too, and I'm calling it pinky cluster in reference to the thumb cluster but it doesn't feel right

Edit: I forgot to add a link to the PCB files: https://github.com/SuperFola/arkenswoop (under pcbs/3x5_nw_pinky_cluster)

[-] SuperFola@programming.dev 16 points 11 months ago

Thanks for the info

Definitely looks like a place you don't want to interact with

[-] SuperFola@programming.dev 17 points 11 months ago

For those not aware of any drama, could you spill the beans?

51
[-] SuperFola@programming.dev 32 points 11 months ago

Damn, I had to watch the video to compare with the review (I'm very skeptical of anything AI), and this is right on point

[-] SuperFola@programming.dev 14 points 11 months ago

Because it's opensource too. Works very well, vault is password protected and AES encrypted. Easy to configure, very lightweight.

[-] SuperFola@programming.dev 41 points 11 months ago

People prefer having something generating shitty code and not checking it, instead of asking or searching on internet for a substantially better solution

[-] SuperFola@programming.dev 18 points 1 year ago

Fyi the devs aren't reading this (and probably won't be before long, since they are busy just coding a lot of features). Best place to ask for this is on the issue tracker (first check if it hasn't been asked before), even better implement it yourself if you can!

view more: next ›

SuperFola

joined 1 year ago