[-] [email protected] 10 points 22 hours ago

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

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

8
submitted 2 weeks ago by [email protected] to c/[email protected]

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] 74 points 2 weeks ago

Who needs tests when you have users?

The testing environment is production!

1
submitted 2 weeks ago by [email protected] to c/[email protected]

I thought you guys might enjoy it: I have a website that I push to frequently on GitHub, and some GitHub actions that update it periodically by pulling code and generating docs from it. I needed to connect to my vps often and update the website which was cumbersome.

Well a solution is to use webhooks on push events and have a server listening to those events to then update said websites for me.

1
submitted 3 weeks ago by [email protected] to c/[email protected]
1
submitted 1 month ago by [email protected] to c/[email protected]

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

12
submitted 1 month ago by [email protected] to c/[email protected]

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)
submitted 2 months ago by [email protected] to c/[email protected]

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.

45
submitted 2 months ago by [email protected] to c/[email protected]

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?

36
submitted 2 months ago by [email protected] to c/[email protected]

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

[-] [email protected] 42 points 3 months ago

The AltStore: am I a joke to you?

24
submitted 3 months ago by [email protected] to c/[email protected]
9
submitted 4 months ago by [email protected] to c/[email protected]

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

[-] [email protected] 51 points 4 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
submitted 5 months ago by [email protected] to c/[email protected]
58
submitted 5 months ago by [email protected] to c/[email protected]
[-] [email protected] 27 points 11 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).

[-] [email protected] 47 points 11 months ago

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

[-] [email protected] 16 points 1 year ago

Thanks for the info

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

[-] [email protected] 16 points 1 year ago

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

[-] [email protected] 32 points 1 year 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

[-] [email protected] 40 points 1 year ago

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

[-] [email protected] 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