Watch on SkipVid platform, alternative to YouTube client watching YouTube videos indirectly, but without ads: https://skipvids.com/?v=-cTsFt-j7rk
I just found this creator who is super excited about the new Bash version. He goes through some aspects of the new changes and features. There is something funny about a guy getting so excited about a new Bash version, that I wanted to share it because of that. :D
Also its nice to see the changes in action and have an explanation from someone who (seemingly) knows what he is doing.
$ whoami
Yo what's up everyone my name's dave and you suck at programming! Connect with me on my socials below and if you're reading this you're legally required to subscribe to my channel.
$ cat source-code
The source code for my YSAP series (or related videos) is available for free under the MIT License on GitHub:
Source Code → github.com/bahamas10/ysap
I buy and play games on sales most of the time. So its not the newest hot shit I get. Especially cool with Steam sales. There are even "blockbuster" titles I would never buy for fullprice as a 75% sale in example. Suddenly those titles come in range of an indie price and that's affordable to me. And yes I buy and play indie games too. They do not have an issue with pricing usually and often they are even self contained games without micro transactions, at least most of them.
It should cost "enough". What do I mean by that? It depends. Literally. Also the (money-) cost of after purchasing a game is important too, with DLCs and micro transactions as well. And if you just "rent" a game as service (multi player only in example) or if its a single player game that you can keep and is not dependent on servers. Besides downloading the game off course.
That's why I don't like generalizations at all. This is a bit more complex to answer than it seems. I genuinely think there are games or may come out in the future, which might be worse the 80 Dollars or Euros. Others not so much. A game should cost as much as it is worth it. And that upper limit is only defined by the game itself (and whats available otherwise too off course, that is not simple).
The quoted image does not say so, they do not say the native packaging from your distribution is borderline unusable. That judgement was added by YOU. The devs just state the package on Archlinux is not officially supported, without making a judgement (at least in the quoted image).
As for the Fedora issue, that is a completely different thing. That is also Flatpak, so its not the package format itself the issue. Fedora did package the application in Flatpak their own way and presented it as the official product. That is a complete different issue! That has nothing to do with Archlinux packaging their own native format. Archlinux never said or presented it as the official package either and it does not look like the official Flatpak version.
So where does the developers say that anything that is not their official Flatpak package is "borderline unusable"?
And then there is software like OBS, which is known for being borderline unusable when not using the only officially supported way to use it on Linux outside of Ubuntu – which is Flatpak.
But why is that? I mean just because it is packaged by someone else does not mean its unusable. So its not the package formats issue, but your distribution packaging it wrong. Right? In installed the Flatpak version, because they developers recommended it to me. I'm not sure why the Archlinux package should be unusable (and I don't want to mess around with it, because I don't know what part is unusable).
Those mystical average people would probably stay on Windows, if they don't care or cannot learn basics of other systems. Its really not hard to explain and understand, even for "average person" that there is an universal source for applications and there are packages designed and managed by your operating system. I think its important for people to learn basics and we should teach them, not dumb them down like on Windows. Soon people won't be able to eat themselves anymore...
Flatpak have their own set of issues. One thing is, that Flatpak applications do not integrate that easily and perfect like a native package. Either rights are to given, you need to know what rights are needed and how to set it up. Theming can be an issue, because it uses its own libraries in the Flatpak eco system instead your current distributions theme and desktop environment.
But on the other hand, they have actually a permission system and are a little bit sandbox compared to normal applications. Packages often are distributed quickly and are up to date directly from the developers, and usually are not installed with root rights.
I'm pretty much a CLI guy as well and prefer native packages (Arch based, plus the AUR). But I also use Flatpaks for various reasons, alongside with AppImages.
I think before this happens, a company would purchase Oracle, because all the tech they have. Oracle has a lot of enterprise and database stuff that I'm not familiar with. The only thing that counts to me is Java. So which companies has the money and knowledge and interest to buy Java rights?
I'm not sure if this would be a good idea, but I can see Google to buy Java. The Android system is based on Java and they need the stability of the rights to not get in conflict with Oracle or any other company again. Also this would give Java some better development I guess.
Beyond raw horsepower, 7-Zip quietly tightens its handling of several legacy formats. Support for ZIP, CcPIO, and FAT archives has been refined, smoothing edge-case extractions that previously required third-party tools.
Over the years there was a few .zip archives that 7z could not handle for whatever reason. For these cases I had to use another application, but don't know the reason. And my bad to not keeping copies of these files for future testing.
You mean alignment of arguments or multiline strings in example? If they are not on their own line, then it does not matter to me. If they start on their own line, then mixing spaces and tabs isn't a good idea to me. In example for function calls with a bit more complex calls and multiple arguments, I put them in their own line each. They are indented and therefore indentation level plays. If they are on the same line, I never align them and if I would, it would be spaces. In general:
BTW, my personal note about the tabstops for indentation is, I wish everyone would use it over spaces. Because it would make it much easier to display the file differently without changing it. Also parsing it would make it easier too probably. But since spaces are the standard, I exclusively use space for indentation.
Its again one of those times when I lost 100% on Steam. I already own the game, so cannot make savings by getting it free, therefore I lost the money that I would have saved. If this keeps happening I am broke very soon.
Just a clarification in case someone sees this comment after the time expired: The game is free to keep if you get it before 10th July. It's just a typo in this postings title.
RIP for those who was still playing this. I tried the game a few years back on Game Pass (or was it a different service?) where I could try it without paying extra. Played 1 or 2 hours or so. It was an okay experience for a disaster game, but got bored quickly. The controls are actually really good and is the reason why this game can be played at all.
That's not entirely true. Because even if you buy a strong PC, you have to make choices, depending on the game. It's just the fps and settings we are talking about are higher floor. In example on PC people can enable RayTracing, which tanks the fps a lot. Do you go for 120 fps or 60 or maybe lower fps with higher fidelity and RayTracing in example.
So the question to answer is still the same, its just on PC we have a bit more individual choices to make.
Edit (added): Most people don't have the strongest PC anyway. Look at the Steam hardware survery, most have common graphics cards like the 4060 in example. Or look at handheld PCs and laptops, with fixed hardware. And as said, even in high end with lots of money people need to make cuts in fidelity or performance; just on a higher level in that case. So your question applies to PC as well.
I think this question also applies to PC. Why? Because we are limited too. I try to reach 120 fps and consider it performance mode when dialing back quality settings, and enabling upscaling to reach that. If not, 90 fps is also pretty good. For certain games, 60 fps feels like what you describe of 30, but that does not apply to all games. There are single player rpgs played with a gamepad, that I would even consider playing at 30 fps if there is no other option. The problem is, games are not designed to be played with that low fps, as the input latency increases.
I'll compare this to the Switch, playing Zelda (emulated with Yuzu). Breath of the Wild on original Switch is designed to be played at 30 fps. Playing it on my PC like that felt like a slideshow, but one can get used to it. If I didn't had the 60 fps patch, it would still be fine at 30. The next game in the series, Tiers of the Kingdom, was not stable at 60, so I was "forced" to play at 30. And after some time playing it felt pretty good and not upsetting like in the first few minutes.
What I mean by that is, performance mode if possible, I would sacrifice quality. But not too much, because at some point the image looks really bad.
Hi all. I just wanted to share a way to handle a so called advanced help menu, where additional options are listed that are otherwise hidden with regular help. Hidden options should still function. This is just to have less clutter in normal view.
I've researched the web to see how people does it, and this is the way I like most so far. If you think this is problematic, please share your thoughts. This is for a commandline terminal application, that could also be automated through a script.
How it works on a high level
Before the ArgumentParser() is called, we check the sys.argv for the trigger option --advanced-help. Depending on this we set a variable to true or false. Then with the setup of the parser after the ArgumenParser() call, we add the --advanced-help option to the list of regular help.
python
advanced_help = False
for arg in sys.argv:
if arg == "--":
break
Inside your smartphone, there are billions of transistors, but have you ever wondered how they actually work and how they can be combined to perform tasks like multiplying two numbers together? One rather interesting thing is that transistors are a lot like Lego Bricks assembled together to build a massive Lego set, which we’ll explore further. In this video, we dive into the nanoscopic world of transistors. First, we'll see how an individual transistor works, then we’ll see how they are connected together and organized into logic gates such as an inverter or an AND gate. Finally, we’ll see how logic gates are connected together into large Macrocells capable of performing arithmetic.
Table of Contents:
undefined
00:00 - Inside your Desktop Computer
00:26 - Transistors are like Lego Pieces
01:09 - Leg
I desperately need some Python help. In short, i want to use multiple keys at once for sorting a dictionary. I have a list of keys and don't know how to convert it to the required list.
This is a single key. The self.items is a list of dictionaries, where d[key] is resolved to the actual key name such as "core_name", that the list is then sorted as. This works as expected for single sort, but not for multiple.
But need it programmatically to assign a list of keys. The following does not work (obviously). I don't know how to convert this into the required form:
undefined
# Not working!
keys = ["core_name", "label"]
self.it
Regular call to fzf, but output the index number of the selected entry, instead the text itself. It's a pretty niche use case, but there was a few times in the past when I needed it. You can use options for fzf just normally too.
I always forget how to do this manually, so I made this simple function for Bash. Just copy this like an alias into your .bashrc and use it like any other command in a pipe.
It only works with the first command in the recorded history, not with any sub shells or chained commands.
undefined
#!/usr/bin/env bash
# 1. history and $HISTFILE do not work in scripts. Therefore cat with a direct
# path is needed.
# 2. awk gets the first part of the command name.
# 3. List is then sorted and duplicate entries are removed.
# 4. type -P will expand command names to paths, similar to which. But it will
# also expand aliases and functions.
# 5. Final output is then sorted again.
type -P $(cat ~/.bash_history | awk '{print $1}' | sort | uniq) | sort
After reading a blog post, I had this script in mind to see if its possible. This is just for fun and I don't have an actual use for it. Maybe some parts of it might inspire you to do something too. So have fun.
Edit 1:
After some suggestions from the comments, here is a little shorter version. sort | uniq can be replaced by sort -u, as the output of them should be identical in this case (in certain circumstanc
In the name of open science, the multinational scientific collaboration COSMOS on Thursday has released the data behind the largest map of the universe. Called the COSMOS-Web field, the project, with data collected by the James Webb Space Telescope (JWST), consists of all the imaging and a catalog of nearly 800,000 galaxies spanning nearly all of cosmic time. And it’s been challenging existing notions of the infant universe.
“Our goal was to construct this deep field of space on a physical scale that far exceeded anything that had been done before,” said UC Santa Barbara physics professor Caitlin Casey, who co-leads the COSMOS collaboration with Jeyhan Kartaltepe of the Rochester Institute of Technology. “If you had a printout of the Hubble Ultra Deep Field on a standard piece of
I like listening to oldschool videogame music. Recently I listened to some music of games I never played and one song in particular blew my mind. Its wonderful and since it lives rent free in my head, coming back to it over and over again. I'm loving it.
To me this track has this Breath of the Wild or Tears of the Kingdom vibes to it. Because I did not play the actual Mario & Luigi games, I always interpret this as a Zelda song now. Its name does contribute to this factor too! Do you also have sometimes game music that captur
- Purchases have been restored & the system is working - If you're still missing items contact Support ( support.splitgate.com ) - XP is now active (we've also turned on Double XP) - Sometimes XP is delayed but it is still going through - The Beta now supports players on Linux thru Proton - We're wo...
2 days ago I made a post that the game would not run on a Linux desktop PC (but it would on the Steam Deck). 10 hours ago they released an update that resolves this issue and makes the game run through Proton on a Linux desktop PC.
The Beta now supports players on Linux thru Proton
I can confirm it does run and I just did the short tutorial. I still have to play more, but wanted to inform anyone who is interested into the game.
- Purchases have been restored & the system is working - If you're still missing items contact Support ( support.splitgate.com ) - XP is now active (we've also turned on Double XP) - Sometimes XP is delayed but it is still going through - The Beta now supports players on Linux thru Proton - We're wo...
Link Actions
2 days ago I made a post that the game would not run on a Linux desktop PC (but it would on the Steam Deck). 10 hours ago they released an update that resolves this issue and makes the game run through Proton on a Linux desktop PC.
The Beta now supports players on Linux thru Proton
I can confirm it does run and I just did the short tutorial. I still have to play more, but wanted to inform anyone who is interested into the game.
I want to share some thoughts that I had recently about YouTube spam comments. We all know these early bots in the YouTube comment section, with those "misleading" profile pictures and obvious bot like comments. Those comments are often either random about any topic or copied from other users.
OK, why am I telling you that? Well, I think these bots are there to be recognized as bots. Their job is to be seen as a bot and be deleted and ignored. In that case everyone feels safe, thinking all bots are now deleted. But in reality there are more sophisticated bots under us. So the easy bots job is to get delete and basically mislead us, so we don't think that any is left, because they are deleted.
What do you think? Sounds plausible, doesn't it? Or do I have paranoia? :D
Splitgate 2 is the only free-to-play shooter with portals, delivering next-level gunplay, fluid movement, and a constantly evolving experience, featuring a new Battle Royale where you can portal between unique worlds. Welcome to the future of sport.
Link Actions
Splitgate 2 opened the public beta since today or yesterday. Unfortunately the game does not run on desktop PC with a Linux operating system. Others have the same problem.
But whats weird is, people claim it works on Steam Deck and even the official blog post from the devs says they support the Steam Deck. There is no word about general Linux desktops.
So does the developers treat the Steam Deck like a console and make their games not playable on general purpose Linux desktops? Its weird, because otherwise it is playable on a general desktop with Windows too. Even the previous game Splitgate 1 (which they shut off) worked on desktop Linux. It makes no sense!
I'm totally disappointed right now. Because I was excited for this game. It got some hero abilities (I like that) and even a map creator.
Technical explanation of why almost all Nintendo 64 games looked so blurry. Kaze Emanuar is an expert in this field and does lot of Romhacks and Mods and creates his own Super Mario 64 games with it. So he is quiet knowledgeable.
Note: I recommend watching the video at 1.4x speed, or at the very minimum at 1.25x speed.
In this video, we'll talk about NVIDIA's last several months of pressure to talk about DLSS more frequently in reviews, plus MFG 4X pressure from the company. NVIDIA has repeatedly made comments to GN that interviews, technical discussion, and access to engineers unrelated to MFG 4X and DLSS are made possible by talking about MFG 4X and DLSS. NVIDIA has explicitly stated that this type of content is made "possible" by benchmarking MFG 4X in reviews specifically, despite us separately and independently covering it in other videos, and has made repeated attempts to get multiplied framerate numbers into its benchmark charts. We will not play those games. In the time since, NVIDIA has offered certain unqualified media outlets access to drivers which actual qualified reviewers do not have access to, but allegedly only under the premise of publishing "previews" of the RTX 5060 in advance of its launch. Some outlets were given access to drivers specifically to publish
I just downloaded Tor browser (which is a configured Firefox browser BTW) using the torbrowser-launcher that automatically downloads and manages the browser. And I thought for funs sake, checking and comparing some tests from browseraudit against my current personal Firefox setup. And to my surprise I got more warnings with Tor Browser v14.5 (based on Mozilla Firefox 128.9.0esr) vs My personal setup of Firefox Browser v137.0.2 (custom configurations and plugins installed). Both at the most up to date version in their official version.
I just found this interesting and wanted to share with you.
Previously I used a Bash script to filter out the checksum from 7z output. That felt always a bit hacky and the output was not very flexible. Plus the Python script does not rely on any external module or program too. Also the underlying 7z program call would automatically search for all files in sub directories recursively when a directory was given as input. This would require some additional rework, but I decided it is a better idea to start from scratch in a programming language. So I finally wrote this, to have a bit better control. My previous Bash script can be found here, in case you are curious: https://gist.github.com/thingsiplay/5f07e82ec4138581c6802907c74d4759
BTW, believe it or not, the Bash script running multiple commands starts and
Previously I used a Bash script to filter out the checksum from 7z output. That felt always a bit hacky and the output was not very flexible. Plus the Python script does not rely on any external module or program too. Also the underlying 7z program call would automatically search for all files in sub directories recursively when a directory was given as input. This would require some additional rework, but I decided it is a better idea to start from scratch in a programming language. So I finally wrote this, to have a bit better control. My previous Bash script can be found here, in case you are curious: https://gist.github.com/thingsiplay/5f07e82ec4138581c6802907c74d4759
BTW, believe it or not, the Bash script running multiple commands starts and executes faster than the Python instance. But the difference is negligible, an
crc32sum - Calculate CRC32 for each file (Bash using 7z) - crc32sum
Link Actions
Hi all. This is an update on my script extracting CRC32 checksum from the 7z commandline tool. The output should be similar to how the md5sum tool outputs, the checksum and the file name/path.
The initial version of this script was actually broken. It would not output all files if a directory was included (wrong counting of files through argument number). Also filenames that contained a space would only output the first part until the space character. All of this rookie mistakes are solved. Plus there is a progress bar showing what files are processed at the moment, instead showing a blank screen until command is finished. This is useful if there are a lot of files or some big files to process.
Yes, I'm aware there are other ways to accomplish this task. I would be happy to see your solution too. And if you encounter a problem, please report.
Marathon looks like an Ai agent would create. Art style, gameplay and story wise.
This is the next game from the Destiny creator Bungie. A multiplayer extraction shooter. It has nothing to do with the original Marathon game its based on, an old single player game. Those who could hands on the game describe it as a Destiny like controls and animation, but as an extraction shooter mode.
As for me, I would probably even check the game out, if it was free to play (its full price game, like Concord) and if it would be playable on Linux. Bungie is anti Linux, so not for me anyway.
This is the first time I am uploading patched Roms, unlike previously where I uploaded only the patch files. My personal collection of Super Nintendo Romhacks in ready to play patched Roms in .sfc and .smc formats, complete with a descriptive text document. Most, if not all, files are patched by myself, but I did not test every game yet. Some old Romhacks do not work in accurate emulators.
Please share this everywhere where Rom files are allowed to be shared. I am only sharing here at the moment.
This collection comes in two variants: flat structure, and sub structure.
"flat" just means all Roms and documents are saved in one single directory.
"sub" means, every game got its own d