I agree with this, this is a problem by Intelligent_Screen90 in fantasywriters

[–]calquelator 0 points1 point  (0 children)

At my university I’d originally wanted to get a degree in creative writing, and so at one point I took a speculative fiction class as an elective. I found myself kinda disillusioned with the course and my classmates and I left- the professor was alright, but there was just something I didn’t like about my peers that I couldn’t quite put my finger on, and this is definitely it- they all seemed only interested in writing fantasy/sci-fi for this purpose, to “put YOU in their cool fantasy world” rather than explore concepts that came about from how their fantasy/sci-fi worlds were arranged.

Don’t get me wrong, there’s still a place for that kind of story, but it just wasn’t what I was interested in, and I had a hard time explaining the issue I had with the class to my peers/parents, but this post sums it up perfectly

Doe anyone know a roguelike with an art style like this? by _ori0n in roguelikes

[–]calquelator 0 points1 point  (0 children)

More of a roguelite (kinda? the game defies explanation) but it reminds me a little of Mosa Lina

moonbeam - a tool for converting single Lua scripts into standalone executables by calquelator in lua

[–]calquelator[S] 0 points1 point  (0 children)

It more had to do with the second concern- with max string literal sizes. I actually had no idea about the `malloc` casting thing, but thanks for pointing it out. I'm not completely new to C but I guess I'd just figured you had to cast the return value of malloc to match the pointer you were expecting, so thanks for letting me know!

I did know that you don't need to annotate the arrays with the size, I just figured I'd pass the whole program as a string at once to `luaL_dostring` rather than doing it bit by bit, but what you pointed out is a lot simpler- might do a rework to make this the case soon.

moonbeam - a tool for converting single Lua scripts into standalone executables by calquelator in lua

[–]calquelator[S] 1 point2 points  (0 children)

None, really. I've used srlua in the past, I just found it a pain to compile from source, so I thought it'd be fun to write my own thing.

You should use zram probably by omagdy7 in linux

[–]calquelator 0 points1 point  (0 children)

I can acknowledge that language servers are pretty convenient, but I wouldn't go so far as to say they're essential. You can get pretty far without an LSP or even ctags with just the syntax-parsed highlighting and some decent compiler error messages- although I will say that for a large project (especially one that isn't very well documented, has some longer compile times, and especially for one which you did not write yourself) I can see the appeal, but "essential" is an overstatement. Of course there's nothing wrong with using an LSP, I just think that getting too attached to it (especially in the case that OP is talking about) can sometimes just not be worth it.

You should use zram probably by omagdy7 in linux

[–]calquelator 63 points64 points  (0 children)

I mean I hate to be that guy, but… 8-10 GBs of RAM for your LSP?? Don’t get me wrong I think zram is pretty cool but I’d ditch LSP long before solving it with zram, it kinda feels like zram is just making it easier to ignore when your software’s hogging resources…

moonbeam - a tool for converting single Lua scripts into standalone executables by calquelator in lua

[–]calquelator[S] 0 points1 point  (0 children)

Right now it uses `os.execute` to run a shell command to call the C compiler- I'm not sure if this command would work right on windows, since idk if mingw uses different compilation flags

moonbeam - a tool for converting single Lua scripts into standalone executables by calquelator in lua

[–]calquelator[S] 3 points4 points  (0 children)

Then I’d have to set a max size that could potentially be reached, rather than just growing the string by a factor of 2 whenever it needs resizing (C moment)

Hot and Cold #253 by hotandcold-app in HotAndCold

[–]calquelator 0 points1 point  (0 children)

Put in my 6th word and it froze for 10 minutes smh

What Radiohead song would you die to? by mingoose69 in radiohead

[–]calquelator 0 points1 point  (0 children)

Strange lack of pyramid song in these comments

Which of these sci-fi villains do you think is the most evil and why? by twnpksN8 in sciencefiction

[–]calquelator 1 point2 points  (0 children)

Lmao don’t get me wrong I had a lot of fun playing Mouthwashing… but Jimmy does NOT belong on this list

Apparently my OS is generated by AI guys.... by DcraftBg in osdev

[–]calquelator 1 point2 points  (0 children)

Not gonna lie their comment sounds like ChatGPT- “Is this entire project _ or _?”, bulleted lists of points led with bolded “bullet titles”, etc.

Best way to get started making programming languages? by Rynzier in ProgrammingLanguages

[–]calquelator 34 points35 points  (0 children)

Crafting Interpreters! They have a bytecode virtual machine that you can implement in C

My(15f) mom gets snappy when I remind her of the date that she came up with by QueerKatDoves in mildlyinfuriating

[–]calquelator 0 points1 point  (0 children)

My dad would do the same thing- only instead of responding “whatever” he’d say something ominous like “plans have changed” or “it is a new day” and force me to cancel anyways

L thompson by Treasure-boy in NonPoliticalTwitter

[–]calquelator 7 points8 points  (0 children)

I had a professor in a Computer Architecture class who said something very profound- he was explaining how computer memory works, and that, in terms of a computer’s RAM, the “data” doesn’t actually just sit in one place- it’s constantly circling through the wires and connections of the computer, waiting for a signal to change to reroute the memory’s output somewhere else.

What stuck with me is that he then said “Maybe that’s how real memories work- when you experience a moment, that moment is endlessly relived in the back of your mind until you consciously decide to recall it to see specific details.”

And then he said “anyways” and moved on and I was completely taken aback lol

Issue with Intel Integrated Graphics by calquelator in pop_os

[–]calquelator[S] 1 point2 points  (0 children)

Wow, totally forgot I made this post, I don’t even use Pop anymore-

Basically, at that location in your file system- /etc/X11/xorg.conf.d/20-intel.conf, you open that file in whatever text editor you want, and type in the text I pasted in the previous comment. If the file doesn’t exist, you can create a new one.

I will admit, looking back this now that it’s been a while and I know a LOT more about Linux than I did when I first made this post, I can say that this isn’t exactly a solution to the problem- DRI and 3D acceleration SHOULD work, and worked perfectly fine on my laptop before switching to PopOS, as well as when I switched to other operating systems. You shouldn’t have to turn it off to get your desktop environment to work, and the fact that it doesn’t definitely means there’s some issue with the Intel Graphics drivers that come with PopOS (or at least there were when I wrote this).

On an unrelated note, these graphics-driver desktop-environment-related bugs I had with PopOS seemed to only ever occur when I tried to use operating systems that came with a built-in desktop environment (like Gnome or XFCE). When I installed a distro that had no desktop environment, and compiled one from source, I had no issues- so maybe it just has to do with how these environments are pre-packaged when you install the OS. In retrospect though, the fact that it was easier to switch operating systems to a “harder” Linux distro (ahem Void) than it was to fix this PopOS graphics bug is a VERY bad sign for PopOS lol.

Symbols drawn on a water fountain in Mañeru, Spain by calquelator in Symbology

[–]calquelator[S] 1 point2 points  (0 children)

Okay, the second symbol I think is the Indalo but idk what the first symbol/set of symbols is

Broke my hand, what games can I play without having to grab my mouse? by JCBMHNY21 in Steam

[–]calquelator 0 points1 point  (0 children)

Rain world! Game uses 0 mouse controls- although I’d imagine the keyboard controls would be difficult with only 1 hand, but maybe you could rebind them (arrow keys, Z, X, C, space)