<kazinsal>
more AI bullshit fun: Copilot will happily spit out code from GPLed projects for you, and in the same breath, happily spit out a BSD license header on it
<kazinsal>
making dynamic linking obsolete by using machine learning to just steal source code from libraries as needed
<kazinsal>
it seems to also autogenerate unit tests
<kazinsal>
which I guarantee is going to not work out worth a hot damn on anything more complex than the 500th reimplementation of basename() in node.js that nobody asked for
<geist>
but what happens ifyou start with a comment '// Implement OS'
<moon-child>
;o
<geist>
does it start just pasting the linux kernel?
<kazinsal>
it gives you a C program that prints out and executes a bash script that downloads linux
<kazinsal>
signed up for the technical preview because I want to see how bad it does at kernel dev
<moon-child>
hey, maybe it can do vga textmode hello world!
<kazinsal>
one of the plus sides of the microsoft acquisition of github is that github now has enough money to not need to fleece small devs for ten bucks a month just to get a private repo or two
<kazinsal>
the downside is that they now have enough money to do really hilariously awful things like this
knebulae has joined #osdev
<moon-child>
they never had to fleece anyone for $10 a month
<moon-child>
most of their money came from enterprise
pony has joined #osdev
mahmutov has quit [Ping timeout: 252 seconds]
gog has quit [Ping timeout: 272 seconds]
shikhin is now known as shikhtest
shikhtest is now known as shikhin
sts-q has quit [Ping timeout: 272 seconds]
skipwich has quit [Read error: Connection reset by peer]
jstoker has quit [Remote host closed the connection]
jstoker has joined #osdev
nyah has quit [Ping timeout: 258 seconds]
elastic_dog has quit [Ping timeout: 256 seconds]
elastic_dog has joined #osdev
freakazoid333 has quit [Read error: Connection reset by peer]
gareppa has joined #osdev
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrlemke has joined #osdev
_mrlemke_ has quit [Ping timeout: 272 seconds]
medvid has left #osdev [#osdev]
gareppa has quit [Quit: Leaving]
GeDaMo has joined #osdev
furrymcgee has joined #osdev
gmacd has joined #osdev
gmacd has quit [Ping timeout: 272 seconds]
flx has joined #osdev
gmacd has joined #osdev
asymptotically has joined #osdev
mahmutov has joined #osdev
gmacd has quit [Read error: Connection reset by peer]
gmacd has joined #osdev
Arthuria has joined #osdev
<doug16k>
kazinsal, I wonder what it uses if you ask for an FFT
gmacd has quit [Read error: Connection reset by peer]
ElectronApps has quit [Read error: Connection reset by peer]
sortie has joined #osdev
furrymcgee has quit [Read error: Connection reset by peer]
gmacd has joined #osdev
tacco has joined #osdev
gmacd has quit [Remote host closed the connection]
mathway has joined #osdev
zoey has joined #osdev
<immibis>
TIL paying for a service is "fleecing"
<mathway>
What is compaction when we speak about virtual memory?
<immibis>
mathway: context?
<mathway>
Some computers allow I/O directly to user space. For example, a program could start
<mathway>
up a disk transfer to a buffer inside a user process. Does this cause any problems if
<mathway>
compaction is used to implement the virtual memory? Discuss.
<mathway>
I have seen through the text of chapter, but it does not mention this word again.
<immibis>
I guess it refers to some remapping virtual pages to different physical pages, but I'm not sure.
<immibis>
You might want consecutive virtual pages to be consecutive physical pages, so you can use huge pages for example
<immibis>
I/O DMA usually points to physical memory so if you try to move a page while I/O is happening to it, your I/O will get confused
<immibis>
and write to the wrong pages
<mathway>
Thanks. It was rather easy, i just needed to realize the question
<mathway>
So, the same problem occurs when segments gets rearranged by os to avoid external fragmentation i think
dennis95 has joined #osdev
<mathway>
If linux is concerned, are the read(2) and write(2) syscalls are type of io directly to user space? When you call them, you specify buffer inside your user process
<immibis>
I *think* Linux always uses its own buffers internally. You can map those buffers into your process with mmap
<immibis>
possibly O_DIRECT lets you read directly into your own buffers, I don't know
<immibis>
it does say "File I/O is done directly to/from user-space buffers."
<immibis>
with O_DIRECT
<mathway>
I can't find O_DIRECT flag inside man pages for open(2) or mmap(2)
<mathway>
Where i can read more carefully about that?
<mathway>
can i, sorry
<immibis>
I found it in the man page for open(2)
<mathway>
Strange.
<mathway>
Oops, sorry. I found it... search with o_direct failed but with just direct - success
<mathway>
Thanks a lot for instant help
<mathway>
Also, there's a type of problem occurs generally when I need to ask a question: there a lot of places to ask - irc channels, forums, stackexchange and other stuff, but when i try to choose which better suits for that type of question or another, my brain explodes. Is there any guideline which can help?
<mathway>
It's completely offtopic of os development, but i already started to annoy you with my stupid questions, so why stop? :)
<immibis>
don't think there is. ask whereever there are lots of people and you won't get banned for asking off-topic questions
<immibis>
lots of people who are likely to know the answer*
<GeDaMo>
On IRC you're relying on someone who can answer being connencted at the time you ask
<mathway>
It's true, but the answer to the question is visible only to those who are connected, and to overall public of the internet it is closed. If we touch, for example stackexchange forums, the idea is that questions and accordingly answers to them persist for an infinite amount of time, so that future generations of programmers will google and find useful answers very quickly. That's why, asking irc has
<mathway>
a disadvantage of not being conscious about future novices who may confront the same problems, and it's not good.
<klange>
Well, there are logs.
<klange>
Good public channels tend to be accessibly logged.
<immibis>
klange: have you ever found the answer to a question by searching an IRC log
<immibis>
+?
<klange>
Yes, but usually the question was "what did <person> say on <date>"
mathway has quit [Ping timeout: 268 seconds]
ckie has joined #osdev
tenshi has joined #osdev
<immibis>
you would never find out the answer to "does linux do I/O to user pages?" by searching IRC logs
froggey has quit [Ping timeout: 252 seconds]
gog has joined #osdev
froggey has joined #osdev
Arthuria has quit [Read error: Connection reset by peer]
Arthuria has joined #osdev
mahmutov has quit [Ping timeout: 252 seconds]
mahmutov has joined #osdev
<kingoffrance>
"he idea is that questions and accordingly answers to them persist for an infinite amount of time, so that future generations of programmers" yeah, those were called books :)
<kingoffrance>
they were these weird square-shaped things from a distant land
<gog>
whats?
<immibis>
most of them will be irrelevant soon anyway
<kingoffrance>
s/square/rectangle/
<kingoffrance>
seriously though, i think a combination is best i.e. online with sources
<klange>
Books were even worse because they couldn't be searched, and you had to go and print a new one to fix the answers when they were wrong instead of having someone reply to call you a dumbass within five minutes.
<kingoffrance>
yes, thats why combination is best
<klange>
"the best way to get the right answer on the internet is not to ask a question; it's to post the wrong answer"
<kingoffrance>
i need a source if someone calls me a dumbass
<bslsk05>
'Mr Dumbass commercial!' by CommercialsinUSA (00:00:30)
Brnocrist has quit [Ping timeout: 268 seconds]
<kingoffrance>
depends what you are doing i guess. paraphrase knuth "i dont keep up on email because my job is to get to the botom of things, not stay on top of them"
Brnocrist has joined #osdev
mathway has quit [Quit: WeeChat 2.8]
Arthuria has quit [Read error: Connection reset by peer]
Arthuria has joined #osdev
vdamewood has joined #osdev
Arthuria has quit [Read error: Connection reset by peer]
Arthuria has joined #osdev
nyah has joined #osdev
vdamewood has quit [Ping timeout: 256 seconds]
ElectronApps has joined #osdev
vdamewood has joined #osdev
ElectronApps has quit [Read error: Connection reset by peer]
Arthuria has quit [Ping timeout: 272 seconds]
Arthuria has joined #osdev
tacco has quit []
immibis has quit [Remote host closed the connection]
immibis has joined #osdev
freakazoid333 has joined #osdev
Arthuria has quit [Read error: Connection reset by peer]
Arthuria has joined #osdev
Skyz has joined #osdev
_mrlemke_ has joined #osdev
mrlemke has quit [Ping timeout: 272 seconds]
mrlemke has joined #osdev
_mrlemke_ has quit [Ping timeout: 272 seconds]
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<immibis>
note that this paper is not intended to be a protocol reference. So if you feel like it is missing protocol information, that's because it is
Arthuria has quit [Remote host closed the connection]
Arthuria has joined #osdev
<Skyz>
I feel building a virtual world based on 9p is the way to go
<Skyz>
Virtual reality applications
<Skyz>
Make the world one big server
_mrlemke_ has joined #osdev
<Skyz>
9p + MMORPG
<immibis>
How do you know 9p is the best protocol for that?
mrlemke has quit [Ping timeout: 265 seconds]
<Skyz>
It's a sane distributed filesystem, so it has been thought out by great computer scientists
<immibis>
well, maybe it doesn't matter. the protocol can be changed later
<immibis>
are you sure about that? Don't make the mistake of assuming that everything people did in the past was better
<Skyz>
Nope not sure, I'm just trusting it's done right but yeah it can be changed if needed
<immibis>
maybe think about what you want to achieve and then how to achievei t
<immibis>
"I want to use 9P" is not a requirement... unless you need compatibility with other 9P systems
<immibis>
if you want to make it virtual reality, then presumably, the 3D look of things is going to be really important
<immibis>
and *existing* 9P systems aren't going to have any data about that. Maybe you can say that a particular filename contains the area's 3D model
<immibis>
thus making it compatible with the protocol, but you would still need to figure out how to deal with existing servers that don't have that file
<bslsk05>
en.wikipedia.org: Distributed Interactive Simulation - Wikipedia
<immibis>
is it designed for federation or just for systems under the control of one central group?
<immibis>
i suspect anything the military developed will be full of things that matter for serious warfare but not for a casual interactive environment
<Skyz>
I started with the intention of an OS for world peace
asymptotically has quit [Quit: Leaving]
<Skyz>
So maybe the UN can have something to do with it
<immibis>
careful, veering into delusional territory there, like Terry Davis
<j`ey>
Skyz: that kinda talk is why you got banned before
<immibis>
OSes have nothing to do with world peace
<Skyz>
Well, I'm just saying that's the intention
<immibis>
well, that intention is a meaningless load of garbage
<Skyz>
If it's used by miltaries then it should be
<immibis>
an operating system is a system for operating a computer
<Skyz>
Computers have a lot of data in them
<immibis>
even an MMORPG can't bring world peace
<Skyz>
And people can spy on people
<immibis>
at best you can not put spying in your OS. But linux also doesn't have that so you could also just use linux
<immibis>
don't inflate your own importance too much
<Skyz>
fair enough
mrlemke has joined #osdev
<immibis>
you are not going to sell a single copy of your OS, unless you work for Google, and even then, they probably won't sell many copies unless they force people to use it instead of Android, which they might
<immibis>
if it's a cool idea you might get 50 hobbyists to install it in VMs
<j`ey>
50 is a lot!
<immibis>
yes
<immibis>
sounds like your project isn't really an OS anyway, it's a multiplayer game
<j`ey>
immibis: also Skyz is only just learning to code
<immibis>
i'll point out there is a #gamedev channel for game development
vdamewood has joined #osdev
_mrlemke_ has quit [Ping timeout: 258 seconds]
FreeFull has joined #osdev
<Skyz>
There is an element of gamedev there
Arthuria has quit [Read error: Connection reset by peer]
Arthuria has joined #osdev
isaacwoods has joined #osdev
silverwhitefish has quit [Ping timeout: 272 seconds]
gmacd has joined #osdev
mctpyt has quit [Ping timeout: 252 seconds]
mctpyt has joined #osdev
Arthuria has quit [Remote host closed the connection]
Arthuria has joined #osdev
gmacd has quit [Read error: Connection reset by peer]
gmacd has joined #osdev
gmacd has quit [Read error: Connection reset by peer]
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gmacd has joined #osdev
vdamewood has joined #osdev
Arthuria has quit [Remote host closed the connection]
Arthuria has joined #osdev
freakazoid333 has quit [Read error: Connection reset by peer]
gmacd has quit [Read error: Connection reset by peer]
gmacd has joined #osdev
tacco has joined #osdev
dennis95 has quit [Quit: Leaving]
_mrlemke_ has joined #osdev
mahmutov has quit [Ping timeout: 252 seconds]
mrlemke has quit [Ping timeout: 268 seconds]
mahmutov has joined #osdev
gmacd has quit [Ping timeout: 265 seconds]
knebulae has quit [Quit: Leaving]
Arthuria has quit [Remote host closed the connection]
Arthuria has joined #osdev
mahmutov has quit [Ping timeout: 252 seconds]
CryptoDavid has joined #osdev
Arthuria has quit [Ping timeout: 265 seconds]
gmacd has joined #osdev
Arthuria has joined #osdev
freakazoid333 has joined #osdev
mahmutov has joined #osdev
Arthuria has quit [Ping timeout: 272 seconds]
gmacd has quit [Remote host closed the connection]
shikhin has quit [Quit: brb]
tenshi has quit [Quit: WeeChat 3.2]
GeDaMo has quit [Quit: Leaving.]
* geist
yawns
<geist>
good aftenoon fronds
freakazoid333 has quit [Read error: Connection reset by peer]
mrlemke has joined #osdev
_mrlemke_ has quit [Ping timeout: 272 seconds]
jjuran has quit [Ping timeout: 272 seconds]
mctpyt has quit [Ping timeout: 265 seconds]
mahmutov has quit [Ping timeout: 272 seconds]
ccx has joined #osdev
<moon-child>
afternoon
<geist>
hola
_mrlemke_ has joined #osdev
mrlemke has quit [Ping timeout: 272 seconds]
Arthuria has joined #osdev
sortie has quit [Quit: Leaving]
pony has quit [Quit: WeeChat 2.8]
Arthuria has quit [Read error: Connection reset by peer]
Arthuria has joined #osdev
pony has joined #osdev
pony has quit [Client Quit]
pony has joined #osdev
mctpyt has joined #osdev
FreeFull has quit [Remote host closed the connection]
superleaf1995 has joined #osdev
<superleaf1995>
freenode: makes weird descisions and completely dies
<superleaf1995>
audacity: no way let's do the same
<clever>
superleaf1995: didnt audacity do it first?
<superleaf1995>
i think so
<superleaf1995>
but the issue really just started popping up quite recently after the freenode exodus
Arthuria has quit [Ping timeout: 256 seconds]
<klange>
superleaf1995: The audacity of such a decision...
<superleaf1995>
:D
<geist>
hmm? what is audacity?
<geist>
some other chat thing?
<pony>
think it's an audio thing
<geist>
ah so they did something dumb too with their licensing or whatnot? thought ti was free
<klange>
Audacity is an audio editor, and was for a long while _the_ go-to tool for the job.
<geist>
ooooh, some spyware thing
<geist>
yah i knew of it, i just assumed it was some other context, but loos like they got busted for some spyware thing