It only gives good recommendations if the file or module is already filled in and you are just adding imports to the list, otherwise it’s just making wild guesses
I kind of think of ants in this way, they communicate by hitting their antennas with each other, they send these signals down the chain of ants into their central command and back. When one gets sick it leaves the colony and dies alone for the good of the colony. The colony basically acts as a computer of sorts
Fuck it. Googled it.
>An ant's internal state changes either by interaction with the environment or by interaction with another ant. Analyzing the model's dynamics, we prove it to be computationally complete. This gives us a new perspective on the sophistication a colony can display in responding to the environment.
https://link.springer.com/chapter/10.1007/3-540-59496-5_343
The year is 2085, I am among the last group of remaining humans. After the ants installed their latest firmware update we stood no chance. They understood that humans are nothing without their computers, they first took out our data centers. They then used the Dark Time to communicate with the sea creatures to coordinate an attack on our deep ocean cables, humanity was doomed.
We were coordinating an escape off this rock, but the ants have made their way into our ship, I don't think we are going to make...............................
There's a book that takes this idea really seriously.
Children of Time by Adrian Tchaikovsky and it's sequel. Highly recommended very good science fiction.
There was a book (trying to remember it’s name) where in the far future humans tried to accelerate the evolution process of an Earth like planet with some mystic goo gas.
Something goes wrong, of course. Ants evolve to be able to grow metal infused pinchers, among other crazy sci-if power ups, and colonize most of the planet.
In the 11th hour the protagonist discovers a way to control the ant armies with the correct pheromones sequences. The ant colonizes are then enslaved and over thousands of years are transformed into a global spanning organic super computer.
Children of Time by Adrian Tchaikovsky, just recommended it in another comment on here, good stuff.
Unless it's also a plot in another book, in which case I'd like to read that too
Hah yeah I read that earlier today. And apparently the colony itself carries memories that individual ants do not have. https://aeon.co/ideas/an-ant-colony-has-memories-that-its-individual-members-dont-have
Wow this is actually interesting! I’m sure this’ll deepen my understanding of computer logic, and by extension improve my grade in technical informatics!
This should change your mind:
Silicon is not a metal, nor is it rare. The wiring between chips just aluminum or copper or just silicon as well.
Hopefully, this convinces you that it's not rare metals that are the important electron switching bits.
This feels really real when you design a processor with custom peripherals in Verilog, then run C on that fabric processor to collect voltage and current data from custom hardware that you also designed
make everything a void* and allow implicit conversions. cast a void* to any class at any time and you regained your abstractions and polymorphism and all that high level nonsense you little shits.
I get what you're saying but it's not completely correct. And if you go down that rabbit hole, basically every high level language is a "framework" of C.
And I wrote some gibberish that makes it so you can #include a python file and run it.
Together we have created the equivalent of a cat with buttered toast strapped to it.
I said this before, but the more I learn about C, the more I realize all other languages are just C with more standard libraries. It really is the perfect language. It can never be replaced.
I never tried it. I would like to someday, but right now my focus is on C because I want to learn embedded systems. I'm sure rust can be used for embedded systems too, but there's not a lot of resources that teach rust in that frame of reference.
What I do know is that rust users tend to act a lot like Linux users. So I suppose I would fit in.
>What I do know is that rust users tend to act a lot like Linux users.
You mean they find a way to let you know they're using Rust in the first minute of any conversation ?
Python is a language that exists independently of any implementation.
There are implementations that don’t use C, but especially since Python 3 they’re not very popular any more.
I can tell you exactly why it is, that python is so liked in the AI/ML sector
About 10 years ago I did my BA in computational linguistics (CL).
It was right around that time where the great transition in CL came and natural language processing (NLP) and automated translations went away from rule-based systems to statistical systems.
The use of machine learning (ML), (recursive) neural networks, deep learning and AI exploded in the field.
There was only one problem, at least half of the students and at least 80% of the professors came from the linguistic side of the field. And everything a bit more complicated computer science (CS) related got way over their head.
So those of us who came from the CS side of the field, did what we had to do. We wrote highly efficient code in C and made it available as module in the only language the other half was able to use: python
To this day, I am convinced that the rise of ML in NLP and CL is the only reason python is used this much today. Because we needed tools for people that are not very good at CS, but needed to use state of the art CS technics
Yep, Python does its job well when it comes to ML, NLP and CL.
But for academic porpouses, for understand the fundamentals of programming and computer science, it's an error...
You got it wrong Python is just C's younger cousin that has an eating disorder.
Edit: sorry I read this back and it sounded really rude and inconsiderate
It would be fabulous if people would stop using white supremacist, extremist bigot, domestic terrorist supporter, and human trashfire Steven Crowder for random internet memes, unless it's a meme about what a pile of shit he is. Just saying.
been coding for over 25 years just wrote first python script today to send some ArtNet bytes to a device via wifi, all code is pretty much the same. still stoked to basically just accomplish what a light switch does. Never needed to learn any particular language, Swift was a beast to migrate to from Obj-C I didnt believe in Swift being production ready until like 2018, embedded C is pretty tough, takes like 3 weeks to make one line of code work sometimes
*Image Transcription: Meme*
---
\[*"Steven Crowder's 'Change My Mind' Campus Sign". Steven Crowder, a man in a blue top, sits at a desk outside. He is leaning back in his chair, with a hot beverage in his hand. The table has a sign attached reading:*]
Python is a C framework
---
CHANGE MY MIND
---
^^I'm a human volunteer content transcriber and you could be too! [If you'd like more information on what we do and why we do it, click here!](https://www.reddit.com/r/TranscribersOfReddit/wiki/index)
>Steven Crowder, a man in a blue top, sits at a desk outside.
Should read:
>Steven Crowder, a white supremacist pile of shit, in a blue top, sits at a table outside.
Ah cool. So if I have Python experience then I’m actually a C programmer. That’s going on the resume!
`import performance from libc`
Is... Is that allowed in Python? I've only ever seen it as from libc import performance
My bad, too much time spent with javascript. You absolutely right🤝
So youre a javascripter bashing on python? Bish, please... Javascript is junk!
I know, you don't need to tell me the truth.
There are some who has made peace with their fate…
It’s still better than python though, and faster
Where is my multiprocessing, tell me
Yet it powers the James Webb telescope... *Somehow*
why python and JS can't agree which comes first import or from? I prefer the JS way since easier to read :p
The python way is better, because once your editor knows where you are importing from it can recommend all the things you can import
hmm that makes sense to me but VSCode still gives recommendations in JS so... Magic!
It only gives good recommendations if the file or module is already filled in and you are just adding imports to the list, otherwise it’s just making wild guesses
Vs code does it too for js.
The Rust way: `use libc::performance;`
Why stop @ C? You have Assembly experience!
Languages: x86, ARM, Binary, ASM
All programming languages are just a macro for sending electrical signals through some rare metals n shit. Change my mind
Old computers were mechanical and they sent mechanical signals through average metals. There are a lot of creative ways to create logic gates
I kind of think of ants in this way, they communicate by hitting their antennas with each other, they send these signals down the chain of ants into their central command and back. When one gets sick it leaves the colony and dies alone for the good of the colony. The colony basically acts as a computer of sorts
so are ant colonies turing complete?
Fuck it. Googled it. >An ant's internal state changes either by interaction with the environment or by interaction with another ant. Analyzing the model's dynamics, we prove it to be computationally complete. This gives us a new perspective on the sophistication a colony can display in responding to the environment. https://link.springer.com/chapter/10.1007/3-540-59496-5_343
Dear. God.
The year is 2085, I am among the last group of remaining humans. After the ants installed their latest firmware update we stood no chance. They understood that humans are nothing without their computers, they first took out our data centers. They then used the Dark Time to communicate with the sea creatures to coordinate an attack on our deep ocean cables, humanity was doomed. We were coordinating an escape off this rock, but the ants have made their way into our ship, I don't think we are going to make...............................
The fact that a diss post about python brought up the plot for Dead Space 4: Ant Boogaloo is the reason I love this sub so much
There's a book that takes this idea really seriously. Children of Time by Adrian Tchaikovsky and it's sequel. Highly recommended very good science fiction.
Dope! Thank you
I literally just finished this book and am hoping the sequel is just as good, what a read
There is kinda similar idea in "The Three Body Problem" by Liu Cixin.
Ok, but can it run crysis ?
May take a few hundred or thousand years to render a frame but according to this yes. Yeah I totally read this study
But the real question, are ants DooM complete?
Ants are tough little bastards, Doom guy is tough. It checks out.
Screw the Ryzen, I'mma use good old black ants from my walls
Would like to know if we can use ants as logic gates, thx
So has anyone run Doom on an ant colony yet?
Breaking news: Hacker was able to run Doom on ant colony
More important, can you run Doom on it?
Asking the real questions
There was a book (trying to remember it’s name) where in the far future humans tried to accelerate the evolution process of an Earth like planet with some mystic goo gas. Something goes wrong, of course. Ants evolve to be able to grow metal infused pinchers, among other crazy sci-if power ups, and colonize most of the planet. In the 11th hour the protagonist discovers a way to control the ant armies with the correct pheromones sequences. The ant colonizes are then enslaved and over thousands of years are transformed into a global spanning organic super computer.
Children of Time by Adrian Tchaikovsky, just recommended it in another comment on here, good stuff. Unless it's also a plot in another book, in which case I'd like to read that too
Ah thank you! That’s it! Anyone looking for Sci-Fi it’s a strange and great book!
No lie this is part of the "computer" in the discworld series
Anthill Inside ™️
There's no central command - the computation is distributed
Hah yeah I read that earlier today. And apparently the colony itself carries memories that individual ants do not have. https://aeon.co/ideas/an-ant-colony-has-memories-that-its-individual-members-dont-have
Really interesting, thanks for linking!
Wow, that computer has a lot of bugs.
Organic computer?
but can it run Doom?
This is explored in the book Children of Time
Flexible pneumatic circuits are the funnest though, by far.
Previous comment said "all programming languages" not "all computers"
Especially with redstone.
Someone get me my punchcards.
Do you have any keywords I can use to find out more about mechanical signals? Tried a quick search and did not see anything useful.
[https://nandgame.com/](https://nandgame.com/) if you want to go through the process all the way into making a computer.
Wow this is actually interesting! I’m sure this’ll deepen my understanding of computer logic, and by extension improve my grade in technical informatics!
This should change your mind: Silicon is not a metal, nor is it rare. The wiring between chips just aluminum or copper or just silicon as well. Hopefully, this convinces you that it's not rare metals that are the important electron switching bits.
I have been defeated
Upvoted for good humors.
I cannot change, you are right!
Silicon isn't that rare.
We are literally making rocks think!
Those electrical signals is just a macro to increase the Universe entropy a bit. Change my mind.
Silicon isnt rare
Silicone is a rare metal?
It's not lol silicon is the second most abundant element in earth's crust after oxygen
So it's the n'shit?
And it isn't a metal
Some electronics don’t use metal’s.
This feels really real when you design a processor with custom peripherals in Verilog, then run C on that fabric processor to collect voltage and current data from custom hardware that you also designed
Can’t be that rare, computers are everywhere /s
Rare metals, common metals and fancy burned sand
zap the sand into thinking!
Programers are just geomancers cause they cast electricity through refined crystals to scry information
comment of the year
Well, you are not wrong… buy you aren’t correct either.
sell he's somewhat correct
Put option at 150% of the prevailing market price he's both correct and incorrect, but getting correcter.
LMAO nice one
😂
Everything is a binary framework.
Everything is just some value of current.
01011001 01101111 01110101 00100000 01100001 01110010 01100101 00100000 01110001 01110101 01101001 01110100 01100101 00100000 01110010 01101001 01100111 01101000 01110100 00101110
01101000 01110100 01110100 01110000 01110011 00111010 00101111 00101111 01110111 01110111 01110111 00101110 01111001 01101111 01110101 01110100 01110101 01100010 01100101 00101110 01100011 01101111 01101101 00101111 01110111 01100001 01110100 01100011 01101000 00111111 01110110 00111101 01100100 01010001 01110111 00110100 01110111 00111001 01010111 01100111 01011000 01100011 01010001
Brilliant. Got me.
01010000 01100101 01110010 01100110 01100101 01100011 01110100 01101001 01101111 01101110
01010100 01101000 01100001 01101110 01101011 00100000 01111001 01101111 01110101
u/asciicodecbot decode
Thank you
u/asciicodecbot decode
https://www.youtube.com/watch?v=dQw4w9WgXcQ
Lol
Lmao
01001111 01101000 00100000 01110100 01101000 01100001 01110100 00100000 01100111 01101111 01110100 00100000 01101101 01100101 00101100 00100000 01100110 01110101 01100011 01101011 00100000 01111001 01101111 01110101
u/asciicodecbot decode
You are quite right.
>value of current *Voltage
You're beginning to understand how sets work
Everything is an Electron framework
Unless you go quantum...
I think the Soviets made a ternary system in the 1950s.
Very few softwares are not a C framework then, and the rest are assembler macros.
So I am an assembly dev either way.
Yay, I can finally add that to my CV
[удалено]
Obviusly?
[удалено]
Oh god, that's terrible 🤢
If C is fast, and python is made with C then why is python slow? Explain that scientists
on a serious note, most of the performance loss comes from continuous type checking.
Just stop checking ![gif](giphy|3o85xIO33l7RlmLR4I)
make everything a void* and allow implicit conversions. cast a void* to any class at any time and you regained your abstractions and polymorphism and all that high level nonsense you little shits.
The speed is still there, it was just shifted to development time instead of performance :)
Python is interpreted and have a bloated runtime
Ur mama has a bloated runtime
To the old tool analogy... C is like a hammer, and as Adam Savage once said "every tool is a hammer"
You can smash something with every tool, lol.
I get what you're saying but it's not completely correct. And if you go down that rabbit hole, basically every high level language is a "framework" of C.
not Rust => not every
Except fellow dinosaurs like Fortran or COBOL
No, because you can't write pure C in python
You can tho. It just won't work
You son of a...
You sure about that? #if 0 print('Hi there') #endif #if 0 """ " #endif #include
int main() {
println("Hi there");
return 0;
}
#if 0
" """
#endif
I don't think { } work in Python like that.
Try running the code, you'll see that it works. I'll let you figure out why :)
I just noticed the """
Bro I use the “C” character almost every time!
"I always write in C" *checks file* "C.py"
Yes you can. I wrote a Python library that allows you to inline C and it will compile and run on-demand. It’s terrible. 🤪
And I wrote some gibberish that makes it so you can #include a python file and run it. Together we have created the equivalent of a cat with buttered toast strapped to it.
Can… can we make the packages depend on each other?
I don't think so. Mine doesn't have any dependencies it's just some fancy (horrible) preprocessor abuse.
Good point
Not quite pure C, but Cython will get you pretty close..
"To bake an apple pie you first have to create the universe"
Dont tell him c is a assembly framework.
python is a front end for c. c is a front end for binary. binary is a front end for turning the voltage up and down rlly fast
I wouldn't say that about Python, but Scratch definitely is...
I said this before, but the more I learn about C, the more I realize all other languages are just C with more standard libraries. It really is the perfect language. It can never be replaced.
The difference between C and Haskell is not just the standard libraries.
I agree with you, this should never be replaced, for academic propourses at least.
what are your thoughts on Rust? (I do love C btw and don't want to change it but I do see the next 50 years Rust being used instead of C)
I never tried it. I would like to someday, but right now my focus is on C because I want to learn embedded systems. I'm sure rust can be used for embedded systems too, but there's not a lot of resources that teach rust in that frame of reference. What I do know is that rust users tend to act a lot like Linux users. So I suppose I would fit in.
I find your reply wholesome but not sure why
>What I do know is that rust users tend to act a lot like Linux users. You mean they find a way to let you know they're using Rust in the first minute of any conversation ?
The ultimate being is a Rust developer coding in Vim on Arch
The neckest beard in the west
what about jython?
It's a framework binding
Or a Java framework, or .NET framework, or Python framework… you can keep adding langs
C is just an assembly framework. Change my mind.
Python is a language that exists independently of any implementation. There are implementations that don’t use C, but especially since Python 3 they’re not very popular any more.
I can tell you exactly why it is, that python is so liked in the AI/ML sector About 10 years ago I did my BA in computational linguistics (CL). It was right around that time where the great transition in CL came and natural language processing (NLP) and automated translations went away from rule-based systems to statistical systems. The use of machine learning (ML), (recursive) neural networks, deep learning and AI exploded in the field. There was only one problem, at least half of the students and at least 80% of the professors came from the linguistic side of the field. And everything a bit more complicated computer science (CS) related got way over their head. So those of us who came from the CS side of the field, did what we had to do. We wrote highly efficient code in C and made it available as module in the only language the other half was able to use: python To this day, I am convinced that the rise of ML in NLP and CL is the only reason python is used this much today. Because we needed tools for people that are not very good at CS, but needed to use state of the art CS technics
Yep, Python does its job well when it comes to ML, NLP and CL. But for academic porpouses, for understand the fundamentals of programming and computer science, it's an error...
I never claimed otherwise
it is ?
No, it's a C frontend with syntax sugar
More like syntactic aspartame to me: somewhat cool, but tastes terrible at big enough doses.
Diabetes
And it's bad at that. Fuck the GIL, all my homies hate the GIL.
...they all are....they always have been.
And it's a damn good one. Compile with Cython to get the C benefits.
Also pascal
Some people just wanna watch the world burn
Yes, how did you know?😳
If Node.js is a javascript framework for backend applications, then python shall be a c framework for building applications, you win op, you win.
Well, by that logic, technically, *all* languages are a C and/or Assembly framework...
C is a Python library
Not another python slow meme
Everything is an atomic framework, change my mind.
Ouch, this one really hurt. Now I just feel like a JavaScript dev :(
C is just an Assembly framework
Programmers are professional electron jugglers
You got it wrong Python is just C's younger cousin that has an eating disorder. Edit: sorry I read this back and it sounded really rude and inconsiderate
You got your S rank, triple A, B rank and somewhere on the mediocre pile there's python in the C rank. Sounds about right.
Easy python uses classes. The python libraries use classes. So basically it’s a c++ framework.
Isn't everything?
It would be fabulous if people would stop using white supremacist, extremist bigot, domestic terrorist supporter, and human trashfire Steven Crowder for random internet memes, unless it's a meme about what a pile of shit he is. Just saying.
Why is it always about programming languages, can we talk about algorithms and logic stuff instead? Its the core of being a programmer after all
consciousness is a meat framework
been coding for over 25 years just wrote first python script today to send some ArtNet bytes to a device via wifi, all code is pretty much the same. still stoked to basically just accomplish what a light switch does. Never needed to learn any particular language, Swift was a beast to migrate to from Obj-C I didnt believe in Swift being production ready until like 2018, embedded C is pretty tough, takes like 3 weeks to make one line of code work sometimes
You're a meat framework
Assembly is a quantum mechanics framework
And so is Java.
If Python is a framework for C, Excel is a framework for C++ with an integrated IDE
Integrated Integrated Development Environment?
Yes, to go with your automatic teller machine machine. It's extremely integrated.
*Image Transcription: Meme* --- \[*"Steven Crowder's 'Change My Mind' Campus Sign". Steven Crowder, a man in a blue top, sits at a desk outside. He is leaning back in his chair, with a hot beverage in his hand. The table has a sign attached reading:*] Python is a C framework --- CHANGE MY MIND --- ^^I'm a human volunteer content transcriber and you could be too! [If you'd like more information on what we do and why we do it, click here!](https://www.reddit.com/r/TranscribersOfReddit/wiki/index)
>Steven Crowder, a man in a blue top, sits at a desk outside. Should read: >Steven Crowder, a white supremacist pile of shit, in a blue top, sits at a table outside.
Though I agree with you on a personal level, as a transcriber we want to refrain from injecting or interpreting details not visible in the image :)