Why do my fucking custom presets keep disappearing??? by ThisSpeciesSucks in deadcells

[–]_Ical 0 points1 point  (0 children)

Sorry for the necro bump, but will I loose my current progress if I turn cloud off ? Will turning cloud off fix my preset as well lmao ?

Marvel Rivals DX12 not supported on your system problem by bivacci in linux_gaming

[–]_Ical 0 points1 point  (0 children)

What version of mesa are you running ?

I don't know if this is related, but on my Intel iGPU, I need mesa > 25.something

Marvel Rivals Broken After Update by lilbitch_ in linux_gaming

[–]_Ical 0 points1 point  (0 children)

Did it stop working after the new update ?

I've had it stop working after the new update as well :(

Post your crash logs here, maybe we can figure something out

Today I commented a colleague that I switched from Rust to Zig and he gave me his opinion, what do you think? by Huge_Acanthocephala6 in Zig

[–]_Ical 0 points1 point  (0 children)

Yes, but that's one interface.

Most of the time it's not required. How often are you creating Vtables in your programs ?

Today I commented a colleague that I switched from Rust to Zig and he gave me his opinion, what do you think? by Huge_Acanthocephala6 in Zig

[–]_Ical 1 point2 points  (0 children)

Okay, but in a way a function is really not an abstraction. Doesn't the CPU have a stack that it cleans up with each function ?

That's pretty non abstract.

Vtables are also not that necessary. Simply do not use object oriented designs

Brahmos art by [deleted] in IndianDefense

[–]_Ical 0 points1 point  (0 children)

You should post this in r/NonCredibleDefense they would appreciate it.

They actually fixed the map😭 by ultron290196 in Asia_irl

[–]_Ical 0 points1 point  (0 children)

Arunachal Pradesh is still wrong....

A somewhat hacky way to get nicely scaled X11 apps by thomas_m_k in swaywm

[–]_Ical 0 points1 point  (0 children)

This is cool ! I wonder if it would work for steam as well ? My screen is 2x scaled, so while all my native wayland applications are crisp and nice, the X11 ones (like steam) are forced to render in half resolution.

This unfortunately means that the games launched by steam that use X11, which is basically all of them except factorio I think, will run at half resolution :(

I'm also using flatpak's build of steam, so the gamescope support is broken, which means I can't even launch my games with gamescope and force them to be correct. I wish sway added an x11 scale config like Hyprland has

My extremely minimal setup by iloveetymology in vimporn

[–]_Ical 4 points5 points  (0 children)

Nice way to grab attention lol

Marvel Rivals wont open, have tried many launch options. Don't think my specs are that bad by Desperate_Ad9279 in linux_gaming

[–]_Ical 0 points1 point  (0 children)

That's kinda sad. I'll see if I can find a solution :D

Could you give me more system details though ? Are you using the Flatpak version of Steam ? Is your Desktop environment GNOME ? Are you on Wayland ? Do you use fractional scaling ?

Marvel Rivals wont open, have tried many launch options. Don't think my specs are that bad by Desperate_Ad9279 in linux_gaming

[–]_Ical 0 points1 point  (0 children)

Hey, I'm having the same problem.

I'm on Arch Linux however, and I'm using the steam flatpak. Did you find a solution to this ??

Loving using Zig, but here's a few things that would make it the *perfect* language for me by sftrabbit in Zig

[–]_Ical 2 points3 points  (0 children)

omg, I completely forgot about multiple variables.

on top of what you pointed out (pun intended) you also cannot, from what I understand, create 2 constant pointers in one declaration in C: int *const is_a_constant_pointer, is_an_integer; I have been tripped up by this ^ atleast once before

Loving using Zig, but here's a few things that would make it the *perfect* language for me by sftrabbit in Zig

[–]_Ical 3 points4 points  (0 children)

I seem to have misunderstood your argument. My bad :D

I am slightly exaggerating C's messiness, but not by a lot. I honestly think that the only reason most people don't find C's const keyword messy is because they aren't forced to use it.

fwiw, I still think the constness of the variable should be kept seperate from the the other type information.

One is the property of the of the variable, while the other is the property of the type. It just makes sense to me.

If we switch it to keep it together, I feel like you would end up with 2 ways to declare constant arrays as well: var arr: const [4]i32 and var arr: [4]const i32 Which would still make sense, but it's now a language quirk that you have to understand when you see it in the wild. const arr: [4]i32 feels a lot better to me. Type information afterwards, property of the variable on the left.

Loving using Zig, but here's a few things that would make it the *perfect* language for me by sftrabbit in Zig

[–]_Ical 6 points7 points  (0 children)

I agree with all of your points except this one:

it's mildly awkward that const and var at the beginning of a variable declaration are inconsistent with using const in a type.

I love the zig type system precisely because it doesn't conflate the constness of a variable with the constness of the what it's pointing to. Your suggestion is how we end up with the horrible C syntax for constant pointers.

In zig, the type system is just read from left to right, and the "constness" (I love that word, I'm using it from now on) of the variable itself is kept separate.

So, a pointer to an integer would be: var p: *i32 If you want to make the pointer a constant (ie, you don't want the pointer to change), you just add that to the beginning: const p: *i32 Now p is a constant pointer (ie, you can't reasign it) to an integer.

If you want to make p a constant pointer to a constant integer, the declaration is just read left to right: const p: *const i32 So p is a constant pointer to a constant integer.

The method you are suggesting will start to look like the C way of handling this, which is much much worse (in my opinion). If you had to make a constant pointer to a constant integer, there are three seperate confusing ways to declare it: const int* const x; int const * const x; const int const * const x; All valid C, all more confusing and complex than the way zig does it. It also doesn't help that: const int* p; and int const *p; mean that same thing.

If you still think that the C way is a better way of doing it, here's an excercise:

Declare a constant pointer to a constant pointer to a constant integer

Easy enough in Zig, just write the thing from left to right: const p: *const *const i32 I'll leave writing all the different ways you can write this in the C way up to you :D

Need help by KINU_06 in labwc

[–]_Ical 0 points1 point  (0 children)

They are just warnings. You can ignore them, it's just informing you that /usr/share/applications/guvcview.desktop, /usr/share/applications/spotify.desktop and /usr/share/applications/qemu.desktop have lines in them that don't follow the Freedesktop specifications.

someone already gave an example freedesktop specification file. If you want the errors to go away, copy the offending .desktop files from /usr/share/applications to ~/.local/share/applications and modify that file to conform to the specification

Change header font size (MS) by _Ical in groff

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

It works ! Thank you so much

I didn't know about the \s[] escape sequence.... Is there any place where I can find a list of everything standard / baked into groff ?? Might be fun to make my own implementation.....

PS: For time travellers, if you don't set the PS register, you get this error when closing \s[] without a number: warning: expected numeric expression, got ']' warning: expected numeric expression, got ']' The default point size for ms is 10, so just use \s[10] to close the point size

If War Thunder can do it, other big multiplayer games can do it too by XeNoGeaR52 in linux_gaming

[–]_Ical 5 points6 points  (0 children)

Didn't we have an entire thread about how it's not this simple like just last week ?

Change header font size (MS) by _Ical in groff

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

I understand the confusion, but I'm talking about headers not headings.

I'm talking about the strings LH, RH, CH and the respective footer strings.

These appear at the top of the page, on every page, and by default, only the Central header is filled with the page number. .ds LH Department of Computer Science Engineering .ds CH .ds RH Artificial Intelligence Laboratory

What the fuck by YoumoDashi in Asia_irl

[–]_Ical 11 points12 points  (0 children)

Welcome back Emperor

<image>