#systemsProgramming #regex
“.” means “any single character” except newline
“*” zero or more of the preceding match
“+” one or more of the preceding match
“[abc]” any one character of a, b, and c
“(RX1|RX2)” either something that matches RX1 or RX2
“” the start of the line
“$” the end of the line
补一句,这些基本都要和sed 指令一起使用
今天学到的几个git的使用方法:
(1) Create Git Patch for Specific Commit:git format-patch -1 <commit_sha>
and then apply the git patch:git apply <patch file name>
(2) Change previous commit order/merge commits: git rebase -i <commit_sha> <branch name>
(3) Silently commit to the current commit sha:git commit --amend --no-edit
#systemsProgramming #regex
. means “any single character” except newline
#systemsprogramming
how to edit a binary file by vim:
(1) command %!xxd
allows you to view files by vim in hex format.
(2) you can also edit files in hex format by vim.
(3) once you finish editing the file, you can convert the file you edited by %!xxd -r
, and then with w
command to save the file
(4) the check how to use xxd (hex view of a file by vim), you can use the command :h xxd
how to check the machine code of a file:hexdump <exe>
Software architects: Mercedes-Benz previews its operating system MB.OS https://media.mbusa.com/releases/software-architects-mercedes-benz-previews-its-operating-system-mbos #OperatingSystems #SystemsProgramming
#operatingsystems #systemsprogramming
is it just me or does webdev not feel that refreshing anymore with respect to the satisfaction that you get when programming? I don't know if I'm doing the wrong things, but it just doesn't feel interesting anymore. It kind of just feels repetitive and just implementing read/write functions at this point. With low level I feel like you have more chances to interact with different things like networking protocols, drivers, and stuff like that. It could just be me creating boring things but I honestly can't figure out anything that I could make that's interesting to program now.
#webdev #LowLevel #SystemsProgramming
#webdev #LowLevel #systemsprogramming
Low-level is easy http://yosefk.com/blog/low-level-is-easy.html #LowLevel #SystemsProgramming
Merhaba
Funday as we call it. There are two sessions scheduled for the community members.
0900 hrs (UTC+3) morning
C++20 modules deep-dive
https://www.meetup.com/softwarehub/events/288841540/
and
1900 hrs (UTC+3) evening
Linux systems programming (focus on process and files).
https://www.meetup.com/softwarehub/events/288903874/
As both the topics are co-evolving we have them scheduled on the same day.
#Learning #Community #SoftwareHub #Ankara #Dubai #Riyadh #Sana #Cairo #Bahrain #Qatar #CPlusPlus #Linux #SystemsProgramming
#learning #community #SoftwareHub #ankara #dubai #riyadh #sana #cairo #bahrain #qatar #cplusplus #linux #systemsprogramming
Nice to know that you can add support for Nim into VSCodium / VSCode.
#nim #nimprogramming #systemsprogramming
"A fork() In The Road" [2019, PDF], Andrew Baumann, et al (https://www.microsoft.com/en-us/research/publication/a-fork-in-the-road/).
On HN: https://news.ycombinator.com/item?id=19621799
On Lobsters: https://lobste.rs/s/cowy6y/fork_road_2019
#Unix #OS #Windows #Fork #OSDev #OperatingSystem #API #Design #Threads #SystemsProgramming #Paper #Genie
#unix #os #windows #fork #osdev #operatingsystem #API #design #threads #systemsprogramming #paper #genie
I decided to dive into the Nim programming language (https://nim-lang.org) and see what makes it tick and how it compares with Rust and Python.
My Nim code journey will be committed into Codeberg soon.
#nim #programming #newbie #systemsprogramming #codeberg
4 years using and championing the #fediverse full time and I've never written a #introductions toot. Well, or I have and can't find it.
I'm a #blind guy from 🇬🇧 with a passion for #technology and #programming, particularly #lowLevel #systemsProgramming in #C, #C++, #Rust, etc.
I've been a huge #freeSoftware / #openSource advocate for the majority of my life. I run #Linux and I love open, #decentralised technologies like #ActivityPub, #Matrix, #bitTorrent etc.
In my view, technology is built to make our lives easier, and in many ways, it isn't these days. It is truly my opinion that the only way #tech can be sustainable is if it's built using #FOSS, and does not give ultimate control to any 1 entity, individual or corporate. If technology is to help the people, it must be built *for* the people.
Currently working on https://odilia.app, various projects with the rest of the Lower Elements gang at https://lowerelements.club, and a Computing Science BSC at the #University of #stirling
#stirling #university #foss #tech #bittorrent #matrix #activitypub #decentralised #linux #opensource #freesoftware #rust #c #systemsprogramming #lowlevel #programming #technology #blind #introductions #fediverse
Hare is a boring programming language https://harelang.org/blog/2022-11-27-hare-is-boring/ #HareLang #SystemsProgramming
I've been off the birdsite for 10 days and I haven't missed it. I do have to find more network and systems programmers and distributed systems folks on here though. #SystemsProgramming #NetworkProgramming #DistributedSystems
#systemsprogramming #networkprogramming #distributedsystems
While not my first message, this is my #introduction. Hello, everyone. I was a heavy consumner of Twitter as a newsfeed but never a heavy poster. Mastodon feels different and I intend to explore the ways in which that shows up.
I am in #technology, especially #InternetCommerce, having started in #SystemsProgramming. I love #movies and #Books, especially well-written #SciFi, and #HumanCognition. I am curious about people and cultures. Tell me any good story, I promise to listen with attention.
#humancognition #scifi #books #movies #systemsprogramming #internetcommerce #technology #introduction
Meet us at the @euro_rust conference which is taking place in Berlin on October 13-14! Come and discover the latest and greatest about the #rustlang with the European Rust community. Register now on eurorust.eu #systemsprogramming #embeddedsoftware pic.tw https://twitter.com/AdaCoreCompany/status/1569344312797700096 #ada #programming
#rustlang #systemsprogramming #EmbeddedSoftware #ada #programming
Recently I've rediscovered how awesome #blogs are, so does anyone have some good suggestions for blogs that focus on #programming, specifically of the #systemsProgramming variety / lower-level stuff like C, C++, Rust, Go, etc? And yes, I know those languages aren't the lowest of low levels, but you get what I'm driving at, anyway.
I'm already following https://drewdevault.com (of course) and https://fasterthanli.me.
#systemsprogramming #programming #blogs
Interesting. Drivers written in Rust might be accepted into the Linux kernel. Still prelim, but interesting.
https://lwn.net/Articles/797828/
Via Hacker News [ https://news.ycombinator.com/item?id=20833639 ]
#Programming #ProgrammingLanguages #Rust #Linux #LinuxKernel #DeviceDrivers #SystemsProgramming
#programming #programminglanguages #rust #linux #linuxkernel #devicedrivers #systemsprogramming