Today I was messing around with some code I wrote in #Rust. The code reads in a file line by line as a Vec<u8>. As it progresses, the vector gets converted to a type of string for an if statement.. Something like:
Variable xyz contains a subset of numbers to check for in each line. However, this check fails to check true even if the numbers are present. Did I try to oversimplify the check?
@AvnSgt Don't forget awk. That's another awesome tool. In fact, O'Reilly devoted a whole book to sed and awk as a pair.
Today I wanted to process a htm file that contained a table of information, somewhere around 1300 lines. To my dismay, the creator didn't insert table headers to pair the data in key-value pairs. So, I went to an oldschool solution of copy and paste from the website and used "sed" to strip out all unnecessary junk until I was left with the raw data I wanted. 😎😜 Gotta love old school linux tools.
I have hit a bit of a brick wall and need some help linux community direction. Want to automate the building an ISO for Arch using docker, but there seems to be issues with permissions when mounting block devices. I have been trying to work around the issue, but the solutions I have tried seem to have the same result. I used GitLab's CI automation for the initial testing. The idea is rather simple, new change to repo, trigger iso build. Open to ideas.
Some screen shot goodness from the forums.
This week I have had a lot of issues when I tried to step up the demands on my system. Virtualization still appears to be broken under both the mainline and stable kernels. With hard freeze, after hard freeze, thus making the system unstable and unusable. So, I broke down and reinstalled "that which shall not be named," and will temporarily virtualize some of the environments. Not want I want but, it is my best solution for the time being.
The new mainline kernel is out. I began compiling it about a half hour ago. This time, I am using AC, as I think I have done enough testing currently for power management. Maybe in a few more releases I will check it out again. I did experience some hard freezes on rc2, so I hope that rc3 will fix this and not exacerbate the issue.
@AvnSgt it seems a bit big, and I would have gotten it if it had Wacom tech instead of ntrig for the touchscreen.
OH THE INTEL VERSION WIFI RESTRICTION IS HOOKED TO THE SECURE BOOT NOT SOME WEIRD MYSTERY SWITCH THAT DOESNT EXIST AAAAAAAAAAAAAAAAAAAAAAAAAAA THATS SO GOOD
sorry yall ive just been prodding this laptops hardware for half a week and its the worst, so im very excited by the prospects of a Workable Computer
I am absent of mind, and my vessel vacant. Face forever expressionless, for I am a hollow.
Fosstodon is a Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.