#DVD OS
1 messages · Page 1 of 1 (latest)
Interesting copyright declaration into the future
i didnt know thats how things worked
i thought its like, teh date you porduced the work on
im sorry but thats not how copyrights work
or something along those lines... yeah
yes
i always have a surge of commits on New Years just tryna update all my copyrights by making tiny changes
You could probably make a script to do so, but might not be worth it
You still need to edit code
You can't just change the year
You need to make a code change
changing the code comment that has the year B)
jk
Read the current year from the os, have it link in a makefile or some shit, and modify every single field in the code to the new year, figure out which ones need it by the year - 1:
for(int i = 0; i <= arrayOfAllYearsInCode; i++) {
if(getCurrentYear != get.arrayOfAllYearsInCode(i) {
replaceAll(getCurrentYear);
}
}
In garbage pseudo-code
That's still not a code change
You need to make a change to source code before you can update your copyright
My linter maintains the license headers for me, I change one file and it does them
(eslint-plugin-license-header for JS projects)
Ahh gotcha
it opensource?
"DVD OS"
ping them, not me
any reason why it isn't?
You know we want our hands on that shit
This OS is more like rwx------
lmaoo
random thought: what if you make a file ---------
after this, to acces file, u need to write OS with fs implamantation where you "locked" file
and change attributes
can't root access it anyway?
on any POSIX system
[user@raptor asjik]$ touch lol
[user@raptor asjik]$ chmod 0000 lol
[user@raptor asjik]$ stat lol
File: lol
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 8,16 Inode: 4013135 Links: 1
Access: (0000/----------) Uid: ( 1000/ user) Gid: ( 1000/ user)
Access: 2023-02-01 06:32:59.486913462 +0100
Modify: 2023-02-01 06:32:59.486913462 +0100
Change: 2023-02-01 06:33:01.746913474 +0100
Birth: 2023-02-01 06:32:59.486913462 +0100
[user@raptor asjik]$ echo x >lol
-bash: lol: Permission denied
[user@raptor asjik]$ cat lol
cat: lol: Permission denied
[user@raptor asjik]$ echo x | sudo tee lol
x
[user@raptor asjik]$ sudo cat lol
x
i guess it can
That's UID 0 for you
Interestingly, POSIX doesn't define UID 0 very strictly
3.20 just says "Appropriate Privileges"
Where doom ||s||
What language?
Just C?
Okay wait my question sucks. Let me repeat it in another way.
Is it going to support scripting/plugins/modules in anything but C?
For some reason after seeing this in their github https://github.com/CyndaneraX/Snowy-Editor/blob/master/xml2ufpt/xml2ufpt/fileStream.cpp#L24 I highly doubt this persons capabilities. And the weird copyright year and the nonexistence of that "Cyndanera LLC." doesn't make me feel any better about it.
The classic "I definitely have a company"
it's called being paid by kloc
its missing a few things
lines of code?
yes
thousands of lines of code
or kiloloc
or kloc
the ultimate measure of performance
according to IBM
#ifdef CONFIG_SUPPORT_FILESTREAM_IS_OPEN
bool
FileStream::isOpen()
{
if (file.is_open()
{
return true;
}
else
{
return false;
}
}
#elif CONFIG_FILESTREAM_IS_OPEN_FALLBACK
bool
FileStream::isOpen()
{
return false;
}
#endif
now i wouldn't say "performance"
and elon musk