Doods

@Doods@infosec.pub

This profile is from a federated server and may be incomplete. View on remote instance

Is Privacy Worth It? ( blog.thenewoil.org )

When I announced I would be closing my communities earlier this year, a curious thing happened: a surprising number of regulars replied with some variation of “I think this is my exit.” While some were specifically talking about Matrix, claiming that mine was the only room they were really active in and therefore they saw no...

Doods ,

I think most FOSS zealots simply despise capitalism in general

No, my ideal economic system is capitalist in nature, I just don't trust western powers (the enemy) with my data. I say western powers, but that includes Russia and China and other things.

Doods OP , (edited )

My emotions just stopped, so I can now think straight.

There are really only 2 changes that - in my eyes - should be made:

  • 8 space-long, hard tabs.
  • 80 character limit instead of 100.

I don't think a tool like rustfmt can affect most of the original guidelines, and it's generally compatible with the OG style by default.

Edit: I - surprisingly - never actually used rustfmt, so I will go now and test before I say something stupid.

Edit II: I just found this on their repo:

Rustfmt is designed to be very configurable.

Doods OP , (edited )

The kernel had a consistent style before rust was even an idea! Who do you think has started this inconsistency? (Maybe not, what does someone like me know about the kernel anyway)

Doods OP , (edited )

having five times more work to use tabs for indentations and spaces for alignment and thus having to use visual whitespace of some kind.

Excuse me. What does that mean? (also see my reply to 1rre)

Doods OP , (edited )

It has a long-lasting C coding standard, they call it the standard since it was the only language anyway. Then, they made a newly conceived Rust standards, which ignore everything the original standard stood for. (Note the strong language in the post's first quote, it's from the original standard)

Doods OP ,

Agreed, and upvoted.

Doods OP , (edited )

This one in particular I am against. (it's not like it's possible in rust anyway)

Doods OP , (edited )

wasting 10% of that space for each indentation? What are you smoking?

As I said before, this standard is older than C itself, and the kernel's been using it for decades, I shouldn't have to explain it. Long tabs and short lines boost readability, and restricting indentation to 3 solves the problem. Read my reply to 1rre@discuss.tchncs.de for more context.

Also rustfmt didn't move the string in

println!("a very long string slice with a static lifetime"); to a new line even when it exceeded a 100 columns, I should seek a solution.

Note: The actual string I used was way longer than that.

Doods OP ,

So, why don't people just restrict tabs to pre-text, strictly-sized indentation?

On a side note: I think (not sure) that indenting with 8 or more spaces just to align 2 similar but differently sized lines of code is a bit too much.

Doods OP , (edited )

Well, what I meant was just rustfmt's default with:

  • 80 character line
  • 8-space hard tabs

In addition to naming local variables short names, and soft-limiting functions to 48 lines long & their local variables to 5-10 (you know, normal reasonable things)

The part about switch statements doesn't apply as Rust replaced them with match.*

The part about function brackets on new lines doesn't apply because Rust does have nested functions.

The bad part about bracket-less if statements doesn't apply as Rust doesn't support such anti-features.

The part about editor cruft is probably solved in this day & age.

The rest are either forced by the borrow checker, made obsolete by the great type system, or are just C exclusive issues that are unique to C.

I left out some parts of the standard that I do not understand.

I just skimmed through the Rust style guide, and realized the only real difference between the 2 standards is indentation, and line length. Embarrassing.

*: I experimented with not-indenting the arms of the root match expression, it's surprisingly very good for simple match expressions, and feels very much like a switch, though I am not confident in recommending to people.

Edit: How did I forget?! Indentation is limited to 3, increasing code readability.

Doods OP ,

No, it is not, people have been using 8-space tabs even back when terminals were limited to 80 characters.

Doods ,

A semi-rolling distribution, with access to Ubuntu's many PPA's, and easily removable extensions that reveal the lovely vanilla Gnome experience, it's great!

Also they are making a Rust desktop, which I am currently running, though not daily driving.

Doods , (edited )

I am on Pop!_OS, I ran sudo apt install cosmic*.

Don't worry, you're not missing out on much, running video games, or any OpenGL thing including 2D games and GPU-accelerated terminal emulators is a bad experience, and alt+f4 isn't implemented, and f11 to fullscreen is janky, and theming for buttons and such is clearly alpha.

The promise of an Arabic-supporting, Rust based, GPU-accelerated terminal is too attractive, however, as I was teared between multilingual terminal, Wezterm, Alacritty and Kitty for a while.

The first is horrible at everything but supporting languages, the second is really janky, the third doesn't support tabs, the fourth has bad theming and customization.

Doods , (edited )

Inaccurate report,

I just ran Neovim in terminal and was used to Neovide, so I thought it was choppy.

Intel HD 630.

There is, however, a 2D game - which I am not going to disclose the name of - that's pretty broken. (It uses Adobe Flash as an engine)

Also the steam client doesn't maximize properly with tiling but I am sure that's reported.

I have been daily driving Cosmic for a week now; it caused me Arch-syndrome, everyday I run sudo apt update hoping to get some polish to the desktop.

Edit: there's more...

Neovide's transparency is completely broken, and shows a blank, though not a pitch black, color and screenshotting it results in seeing the text with a checkered background. (In the resulting screenshot only) (Running on Proton 8.0-5)

clipboard=unnamed plus, the setting supposed to unify Neovim's clipboard and system's, doesn't work.
clipboard: error : Error: target STRING not available

I also was unable to transfer a file to my phone using Cosmic Files, but Nemo worked, though I read that's fixed in some Blog.

Edit II: I just discovered popdev:master it seems to be a general unstable branch instead of just Cosmic things, but I took the risk and added it, I just have to remember to remove it once 24.04's released

Doods ,

Also, sloppy focus aka focus-follows-mouse

It's one of those features I always wanted to try, but always forget to look up how to actually enable and start using it, so I never actually tried it.

Doods ,

running video games, or any OpenGL thing including 2D games and GPU-accelerated terminal emulators is a bad experience

The thing you replied to; I don't open social media often enough to reply on time, so I sent you a late reply.

Doods ,

Flatpaks never worked for me though, last I tried was 38.

Also didn't something happen in relation to some encoding?

Pop!_OS would be my recommendation, semi-rolling for sweet driver updates, Ubuntu based for easy searching (how to do x on Ubuntu) and Large software support.

I just remembered that Pop!_OS doesn't ship with vanilla gnome, sadly, which degrades its position as a recommendation.

Doods ,

That's what I hear Pop people saying.

Doods ,

The only aid that could actually help is buying Palestinians guns, carried by people who know how to use them.

Doods ,

Ok, I see your point.

How about sending trained soldiers and cooperating with Hamas?

Or more easily, stopping trade with Israel?

Or more easily and more profitably, stopping weapon donations to Israel at the very least?

I am not speaking to you personally, but if people stop talking about things they become forgotten, so here I am speaking.

Doods , (edited )

US defaultism detected on Lemmic soil, lethal force engaged.

I find diplomacy hard when one side has been going for complete annihilation of Palestinians, which is only a logical continuation of a 3/4 century long conflict.

And that one side includes almost every governemnt, including the Palestinian "governemnt".

But sure, diplomacy's great, if they stopped attacking tommorow, retreated, and said they want to negotiate, and somehow had sufficient evidence to prove that it isn't a trick, and that they reflected and regretted half a century of genocide in 1 day, I would advocate for their diplomatic attempt.

Random rant of the day: A few months ago I read an article that said: "after Hamas killed thousands of civilians on the 6th of October"; at the time Israel was doing its thing for at least a week and their 'reported' kill count wasn't even a thousand yet, I hate these liars.

Doods ,

So what should we do then? switch to something else? Host our own email service?

I really don't know.

Doods ,

The KDE Plasma 6 open-source desktop environment

Makes me wonder, are there closed-source desktop environments for Linux?

Doods ,

Regarding internal use, if all the users of a piece of software can access the source code by asking to access it, then it's open source, according to GNU.

Doods , (edited )

The article has a '👀' emoji before important parts, which shortens it somewhat. (I fully read everything)

Doods ,

"updating (the controls) for modern audiences" can be good.

My only experience of that is when they removed grid based movements from New N' Tasty and forced players to use the analog, trying to walk felt horrible.

But something like the first 2 Fallouts on the other hand can really use a controls overhaul.

Doods ,

You press play and it goes off after a while, you have problems with vulkan, you have an old PC.

I had this exact issue before, try tuning an older version of proton, as newer versions require more recent vulkan versions, which your PC most likely doesn't support.

steam auto updates to the latest proton version usually, that's probably why.

Doods ,

1 - Proton experimental is a moving target and is rapidly evolving.

2 - What exactly is your GPU, and maybe tell us your pc specs (even if it's just through the info tab in the settings menu) (also put it in your post for others)

3 - that sometimes happens to me when using gnome-software (which Ubuntu uses? or something really similar?), I usually just surrender and use the terminal, not like I install more than 1 thing in a normal month anyway.

4 - if the issue is with proton, then other games wouldn't work. (try running a very light, single player game to test proton, many F2P games under 20 mbs exist on Steam)

realcaseyrollins , to Gaming

HP's Omen Transcend 14 weighs just 3.5 pounds while packing up to an RTX 4070 GPU.

https://www.engadget.com/hp-unveiled-the-lightest-14-inch-gaming-laptop-in-the-world-at-ces-2024-130024558.html

Doods ,

The lightest, this makes makes me think, what actually constitutes a gaming laptop, I have an old Intel 530 laptop, I can play Abe's Oddysee on it, and probably fallout, which makes it a gaming laptop, why do gamers chase the latest hardware when for mere cents they can get a good experience, an experience which was a dream to many.

Doods ,

I am going to finish the first fallout tommorow, even though I missed “the best dialogue in the entire game” according to someone on NMA.

Doods ,

Flatpaks never worked properly on Fedora for me.

[Thread, post or comment was deleted by the author]

  • Loading...
  • Doods OP ,

    I can not elaborate on that as I am unqualified - remember, I have never played newer titles.

    Doods OP ,

    I don’t think higher graphics requirements hurt creativity, you can have an unrealistic looking game that is very GPU-intensive, I was mainly concerned about the costs and wasted money/efforts.

    But lowering the graphics budget - and the budget in general - can make creativity/risk-taking a more appealing option for AAA studios.

    Edit : I just noticed both sentences kind of contradict each other but you get the point.

    Doods OP ,

    I didn’t mean we should stop improving, what I meant is we should focus more on the efficiency and less on the raw power.

    Doods OP ,

    I agree that I shouldn’t have set the arbitrary 50 watt thing, I just saw my GPU and bigger ones and came out with that number.

    Doods OP ,

    There are 2 different ways in which I managed to interpret this, care to elaborate further?

    Doods OP ,

    It’s actually a Powercolor low profile one that I “overclocked” to a normal 550’s frequency, never passed 70C° though.

    Doods OP ,

    As someone who has pirated many games, and who lives in a 3rd world country that barely cares about most minor physical crimes, I am not worried in the slightest.

    everything after this point is closer to a rant and unrelated.

    minor includes, but isn’t limited to: corruption, driving opposite side, hitting someone with your car as long as they don’t get seriously hurt (It happened in front of me once and it was kinda funny to be honest, the man got hit and kinda slept on the hood), damaging public property, blocking the sidewalks with your shop, Using a drill to draw a heart on the middle of the street to celebrate your marriage, blasting music hearable 3 blocks away several hours a day, and 12-year-olds driving cars

    Piracy is 100% unpunishable where I live. (also atleast 90% of the population doesn’t know that software - aside of no-body-uses Google play apps - costs money, including Windows 7 and office 2010*)

    *This is why I cannot share .odt Libre Office files.

    Doods OP ,

    This is believeable as tomb raider only went from 12 to 20 something, and FFXIII changes cutscenes so mouths match spoken language, even though there’s only Japanese and English.

    Doods OP ,

    All 4 games that I have installed, and they used to work fine but then I switched from Debian 11 to Fedora 38 and this issue started.

    Somewhere along the loading process a “wineboot.exe” blank windows appears depending on the wine version (Happens with Proton) and stays for a while. (I will add this to the post)

    Doods OP ,

    I’ve seen lots of issues mentioned with F38 and gaming

    As a TF2 player, I agree.

    Doods OP ,

    I am using Debian 12, which uses Gnome 43, now you might be wondering why Debian, well, let me tell you.

    Until recently (less than a month ago) I was forced into using Debian 11, as my desktop’s GPU - The Quadro 600 - had a very old driver, incompitable with any modern distro, But I have since upgraded to an Intel HD 630 IGPU (putting an IGPU after “upgraded to” feels very weird), and stuck to Debian out of habit.

    I am looking to download Fedora (it mainly a gaming machine after all) once my data plan’s usage stabilizes a bit, now you might be asking: “Why did he tell me all of this?”, I honestly do not know, I just wanted to share my story.

    They do not seem to have added it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines