Skip to content
Advertisement

Why are linux system calls different across architectures

According to this system calls table, linux system calls are different across architecture, but IMO syscalls are higher level encapsulation which do not depent on any specific architechture. Why is it designed this way? In a specific case, riscv64 linux doesn’t have mkdir, instead it has mkdirat, but weirdly it doesn’t have rmdir or rmdirat, how could it implement /bin/rmdir

Konsole not getting the full url when is a port (:) on it (on click)

Normally I use to do something like this when using express applications(Or any other type of application that involves a URL): But when I click on the URL my browser opens https://127.0.0.1 instead of http://127.0.0.1:7070. I remember that this was not the way it used to work, but not entirely sure. I am using Konsole(v22.04.1) over fish(v.3.4.1) (Fish does not

How to convert a directory of XML files in to RRD Files

I need to restore rrd files from my exisiting xml files. So I have used following simple bash script. I could not execute following script due to this error, But I could restore files one by one. Can someone help me to solve this? Answer When you use: You will see that $i equals: /home/dump_xml/a.xml /home/dump_xml/b.xml You see, it contains

Docker filter containers both by image name and age

I am trying to stop / prune docker containers according to 2 conditions: image name time they’ve been running for For instance, I could want to stop all containers from image image-name that have been running for over 24h. By reading the documentation, it seems the –filter option is not consistent at all since docker container prune has the until

I enable WebGPU in Chrome DEV, and it still doesn’t work

So, I have enabled the #enable-unsafe-webgpu flag and I even get a warning when opening Chrome, that “WebGPU is enabled and stability will suffer”. Yet, when trying to access any WebGPU example website, I get an error, stating that my browser doesn’t support WebGPU / WebGPU is not enabled. What can I do? I am using Ubuntu 20.04 and Chrome

How to connect paths in Docker file

I am running a Jenkins job, inside a docker container, this job requires doxygen but im getting an error saying – I have doxygen installed in my Docker image, but the path is – Inside my docker image, I want to connect this old path – /opt/fc4-usr-local/bin/doxygen with new path usr/bin/doxygen So whenever my job looks for doxygen it goes

Sorting a file using fields with specific value

Recently, I had to sort several files according to records’ ID; the catch was that there can be several types of records, and in each of those the field I had to use for sorting is on a different position. The fields, however, are easily identifiable thanks to key=value structure. To show a simple sample of the general structure: I

Advertisement