LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Python as an alternative to C

Posted 03-11-2021 at 05:35 PM by Skaperen

Python is considered a "higher level language" than C (or even C++ and C#). it does have the means to "reach down low" to most kernel syscalls and can work directly with file descriptors. its high level features allow doing human interfacing a lot easier such as making the handling of Unicode as easy as strings while still being able to work with bytes in raw form.

in my several years of coding in Python, i have done mostly system level and network level projects...
Senior Member
Posted in Uncategorized
Views 370 Comments 0 Skaperen is offline
Old

A feature i would like to add to head and tail

Posted 03-10-2021 at 08:39 PM by Skaperen

i would like to add a -m option to both the head and tail commands. it would be a regex match where head will output until it has a line that matches and tail will output from after the last line that matches, to the EOF. an option -M can be an inclusive variant that also outputs the matched line in the proper order. another option might be picked to do non-regex matching.
Senior Member
Posted in Uncategorized
Views 197 Comments 1 Skaperen is offline
Old

A feature i have never liked

Posted 03-09-2021 at 06:07 AM by Skaperen

there is a feature in Linux i have never liked. it's in other Unix/POSIX system's, too, so it's not Linux specific. as far as i recall, it predated Linux. the feature in the "mv" command. if you name a directory as the target of a move, it puts the file (or whatever is being moved) inside that directory. if the target is not a directory, obviously it can't, and that's not my issue with the "mv" command. if there is nothing at the target name, "mv" just move the...
Senior Member
Posted in Uncategorized
Views 169 Comments 2 Skaperen is offline
Old

Unvirtualize Linux

Posted 10-13-2020 at 12:46 PM by Skaperen

i am imagining unvirtualizing Linux. this idea is more about reverse virtualization. i thought about this years ago and maybe someone is even doing it now.

remember the phrase "The network is the computer." this was from Sun Microsystems and scientist John Gage. it came across to describe how we work with all this computer technology with an ever growing number of computers. today there are an ever growing number of clouds.

my thought is about undoing...
Senior Member
Posted in Uncategorized
Views 620 Comments 2 Skaperen is offline
Old

How I would like to enhance iptables

Posted 12-04-2012 at 04:44 PM by Skaperen

There are cases where I want to change the iptables rapdily and reliably. But these cases don't really change any rule order. They only change just the IP addresses of a rule (or gang of rules).

Here's my idea. Designate some IP addresses for this special purpose, such as 0.1.X.Y where X.Y represents 65536 possible address objects. The address objects are stored in the kernel with a means for root or designated users to access them. There would be a /proc entry for this, with...
Senior Member
Posted in Uncategorized
Views 5690 Comments 1 Skaperen is offline

  



All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration