SuperFola

joined 1 year ago
[–] [email protected] 10 points 22 hours ago (8 children)

Heck, I sometimes can’t understand my own code. And this AI thing tries to tell me I should move this code over there and do this and that and then poof it doesn’t compile anymore. The thing is even more clueless than me.

[–] [email protected] 31 points 22 hours ago (16 children)

How come the hallucinating ghost in the machine is generating code so bad the production servers hallucinate even harder and crash?

[–] [email protected] 2 points 1 week ago (1 children)

Im watching for the audiovisual too. The universe is great but to me that’s like a parallel one to the real Tolkien one.

 

This past few weeks, Python 3.13 and the possibility to disable the GIL has seen a lot of coverage and that pushed me to dig into my own language, to see how different our approaches are.

So if you’re curious about the rambling of a pldev, that might be for you!

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

Probably too long. That was a philosophy I had at school and iirc the founders never finished school and started MS in a garage.

[–] [email protected] 78 points 2 weeks ago (9 children)

Who needs tests when you have users?

The testing environment is production!

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

I use camel case for methods and functions and snake case for variables. And pascal case for constants. Why? I don’t really know, it makes for a nice distinction I guess.

[–] [email protected] 4 points 2 weeks ago* (last edited 1 week ago)

If you are interested in tiny lisp like languages, this gitlab could be of interest to you.

Full disclaimer, I came across it a few years back as I am the maintainer of arkscript (which will get faster and better in the v4, so that data about it there is accurate as a baseline of « it should be at least this good but can be even better now »).

[–] [email protected] 7 points 3 weeks ago

You could consider markdown extensions that helps you write and visualize!

Like this one: https://github.com/MeanderingProgrammer/render-markdown.nvim

[–] [email protected] 4 points 3 weeks ago

Three dots like this is also an ACAB symbol.

[–] [email protected] 1 points 3 weeks ago

Sorry for being this late to the party, it’s a bug in discord: they ignore focus mode. I shoot them a bug report with video evidence and even how to fix that in their electron config (that’s pretty easy to do), they answered saying that has been noted and all but can’t give an estimate…

Hopefully it will be fixed between them adding two useless new features that nobody want!

[–] [email protected] 18 points 1 month ago (1 children)

People always make it such a huge deal but that has been pretty normal, since Microsoft owns GitHub we have had a t least 2 if not 4 outages per month.

[–] [email protected] 2 points 1 month ago (1 children)

A card grabber disguised as a game to me

 

I had some fun trying to check if a hash (more like a transformation really) was collision free, so I wrote a quick piece code and then iterated on it so that it was usable.

I might add a quick bench and graphs and try to push it even further just for fun, to explore std::future a bit more (though the shared bit set might be a problem unless you put a shared condition variable on it to allow concurrent read but block concurrent writes?)

 

More and more new accounts are posting spam and ads to communities (eg [email protected]), would it be an idea to block new accounts from posting to any p.d community?

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.

 

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?

 

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

 

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

 

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.

view more: next ›