klimi
guys
olli
https://github.com/NodeOS/NodeOS But there are actually Operating Systems that are also written in JS
Mat
https://github.com/NodeOS/NodeOS But there are actually Operating Systems that are also written in JS
It's not the complete OS, though... I see it running on top of your system
olli
It's not the complete OS, though... I see it running on top of your system
sure, i haven't said it's completely written in js still crazy to have most of your user space written in js
Mihail
SG 19: Machine Learning
That's nice tho
Ибраги́м
Nooooooooooooooooooooo!
Mihail
Why?
Ибраги́м
Why?
Why not?
Roxifλsz 🇱🇹
https://github.com/NodeOS/NodeOS But there are actually Operating Systems that are also written in JS
Seems like a meme, with no actual usecase though. And it's kernel is Linux, which is C, anyway
Mat
It's linux (probably GNU/linux that is the real OS) starting a JS instance
Mat
Not a JS OS in my opinion
Mat
why?
What?
BinaryByter
WHY WOULD ANYBODY WANT TO COMMIT THIS ATROCITY?
BinaryByter
js is... ewww
Mat
Oh.. 😂😂😂
Mat
I heard TS is kinda good, but that's ot
BinaryByter
mumble
olli
Of course it's running on a Linux Kernel. But an OS is more than the kernel only. Well in JS you probably won't leak memory, won't have issues regarding concurrency, and so on 😁
BinaryByter
i hate js
Roxifλsz 🇱🇹
Of course it's running on a Linux Kernel. But an OS is more than the kernel only. Well in JS you probably won't leak memory, won't have issues regarding concurrency, and so on 😁
Sure, but the linux kernel in this case is the thing that provides nearly everything that even lets this be called an OS, and actually run on real hardware, not in a vm
⠠⠍⠥⠓⠁⠍⠍⠁⠙⠽⠥⠎⠥⠋
#ot
Thespartann
Wadu hek is dis
Thespartann
I hope you don't teach js there
Thespartann
Thespartann
Need to do something like this
Thespartann
But with "No JS"
Prometheus
Anyone ever have a float print out as "-inf"?
olli
why?
Prometheus
I don't know why it is doing it but I didn't know if anyone else has ever had that happen. It's the first time I have.
Prometheus
I don't know what it means and google has been no help.
Justin
Anyone ever have a float print out as "-inf"?
Is that supposed to say "minus infinity?" Like, maybe an imaginary number error? I got nothing....
Prometheus
I have no idea. Here's a quote from the output copied from terminal "Current values are: -inf, -inf, -inf Current guesses are: -inf, -inf, -inf"
Prometheus
Changing them to doubles to see if that helps.
olli
inf basically represents an overflow (or can be a float division by zero)
Prometheus
Must be an overflow then. It scrolls by so fast but I happened to catch numbers show up very quickly before it switched to that. Even with doubles it does it.
olli
what are you trying to do? the smallest normalized value is like 1.175494351 × 10^(−38)
Prometheus
Been working on trying to write a perceptron for the first time. Idk why the values are getting so small. I'm sure I just screwed up somewhere in my code and am not seeing it.
Ara
#ask .
Prometheus
/spam
Ara
How to calculate the area of circle and volume of cone,and silinder with language c with function circle() ? Help me plz
BinaryByter
/warn alright, so you seriously piss me off. Did you not know, that i am a future soldier of the american nation?
BinaryByter
/warn RESPECTZVZ MEEEEE!!!?
BinaryByter
/warn please take a sock and make a puppet out of it
BinaryByter
^s?
BinaryByter
Yea
Ara
I know .but ,if i choose menu silinder . i call function area_circle() too. What should i do?
Anonymous
Any tutorial on memory management
Anonymous
In depth like malloc and other stuff
Anonymous
hey woman, I will help you
😂😂😂Savage
olli
In depth like malloc and other stuff
http://gee.cs.oswego.edu/dl/html/malloc.html Might be a good read then. Written by an author of malloc used on numerous systems
olli
You can find the source code here ftp://g.oswego.edu/pub/misc/malloc.c
Anonymous
Okay
Anonymous
free doesn't take a size argument
"When you malloc a block, it actually allocates a bit more memory than you asked for. This extra memory is used to store information such as the size of the allocated block, and a link to the next free/used block in a chain of blocks, and sometimes some "guard data" that helps the system to detect if you write past the end of your allocated block. Also, most allocators will round up the total size and/or the start of your part of the memory to a multiple of bytes (e.g. on a 64-bit system it may align the data to a multiple of 64 bits (8 bytes) as accessing data from non-aligned addresses can be more difficult and inefficient for the processor/bus), so you may also end up with some "padding" (unused bytes). When you free your pointer, it uses that address to find the special information it added to the beginning (usually) of your allocated block."
Anonymous
Hi
Anonymous
I want to learn programming can someone guide me from where to begin?
Mat
I want to learn programming can someone guide me from where to begin?
Start from what a language is and basic stuff like that
Anonymous
Okay, sorry for disturbing
BinaryByter
no it was a genuine tip
Mark
there was a project
Mat
#goodgoogling
Mark
utilizing kernel mostly written in rust and supporting wasm-based modules
Mark
so uh
Mark
can't you compile js to wasm?
BinaryByter
you can compile everything to wasm
Mark
you can compile C/C++ to js and wasm
Mark
🤔
Mark
that's different
BinaryByter
wat?
Mark
emscripten
Mark
you can compile C/C++ to js and wasm
http://kripken.github.io/misc-js-benchmarks/banana/index.html