Snap! Forums » Computer Science
118 FOLLOWERS
Read discussions on computer science in the category of the forum. Convey exciting insights on algorithms, formulas, and puzzles. Find help with windows.h library, HTML, CSS, and web development.
Snap! Forums » Computer Science
1w ago
As for the historical background: the Enigma machine was a device developed by the German military, and used during the Nazi era. An early version was cracked by the Polish, a later version was famously cracked by the British (led by Alan Turing), eventually the US Forces tried to deal with the most advanced version; each group building on their predecessors' work.
To call Alan Turing the father of the computer, though defendable, is an exaggeration IMAO. The computer has several "fathers" - Blaise Pascal, Charles Babbage, Konrad Zuse, and John von Neumann - just to name a few others; and in t ..read more
Snap! Forums » Computer Science
1w ago
If you dont know, the enigma was a encoder and decoder that was used in the World War II era. It was deemed impossible to crack and was the main struggle for U.S. intelligence to crack. The U.S. had a large collection of many people trying to crack the constantly changing code but most of the time they were unable to do it in the 24 hours they had. This was until Alan Turing (the father of the computer) designed a machine that could decode any message in no time.
Project Enigma - This channel is for my challenge to the community. The idea is for every person that wants to join should make ther ..read more
Snap! Forums » Computer Science
1w ago
Hi, I succeeded in using excite . techlit . org / snap in order to control my micro:bit v1.3B via bluetooth - at least with some specific micro:bit boards. Sadly, there are some micro:bit boards that just won't connect.
I checked, if all the micro:bit boards are running the newest firmware.
I used the same bluetooth connector on all micro:bit boards: MicroBitConnector-Bluetooth-v1.0.1 . hex
I ended the browser session, deleted it's cache and switched bluetooth off. Afterwards, I switched bluetooth on an startet a new browser session.
-> Is there a software feature that I am missing?
-> ..read more
Snap! Forums » Computer Science
2w ago
I like degrees, they're a nice whole number, and they go all the way to 360, perfect for a nice and smooth circle.
I've noticed some graphing calculators (and the python turtle) don't use degrees though, they use radians I searched up 360 degrees in radians to figure out what the maximum angle was, and it is apparently 6.28318531
That is weird, it's small and a fraction, no really smooth circles are alright but despite the six you can't even make a hexagon with them.
I already built scripts for converting to and from radians (import the stage pic) but I just wanna know real applications for ..read more
Snap! Forums » Computer Science
2w ago
Hi, I am trying to connect via bluetooth with a micro:bit. The micro:bit is plugged into a breakout board by which it is connected to a SG90 position servo. How can I control the servo?
Here is what I found out so far:
There is: snap . birdbraintechnologies . com It allows me to control several features of the micro:bit. It does not support the control of a servo which is connected via breakout board. (It is designed for the HummingbirdBit.)
There is: excite . techlit . org / snap I think, I succeeded in connecting a micro:bit via bluetooth a few years ago. Right now, it just won't work. I ..read more
Snap! Forums » Computer Science
1M ago
Я вот подумала, что можно попробовать сделать такое приложение, которое сможет помогать в написании музыки для песен. Это подходит например для тех, кто пишет песни или рэпы, но не умеет играть на инструментах или писать музыку. То есть, в нем нужно просто написать нужную песню, ну или рэп, в словах написать какая должна быть музыка, спеть песню, и потом подберется музыка. Думаю, что-то такое можно было бы сделать... Ну а вам как идея?
2 posts - 2 participants
Read full topic ..read more
Snap! Forums » Computer Science
2M ago
In CreatiCode (a version of Scratch) I constructed this
And asked its built-in chatbot (I think it talks to GPT 3.5) why the sprite says "infinity". Apparently it is expecting the user to ask for how to program something so it responded with no textual explanation but with
It is very confused but it does show some partial understanding.
I asked it how to make a spirograph and again it didn't do very well. Here and some other requests it seems to think that 'glide' will produce circular motion (maybe relying upon trigonometry?).
When I asked how I can get a sprite to chase another sprite I go ..read more
Snap! Forums » Computer Science
2M ago
I opened the Tree Example, saved the script pic, uploaded it to ChatGPT 4 and asked "Can you show me pseudo code for this Snap! program?"
Here is the response:
Certainly! The Snap! program you've uploaded appears to be a script to draw a fractal tree, with interactivity based on mouse clicks and the level of detail that can be adjusted. Below is a pseudo-code representation of the Snap! blocks:
// Initialize when green flag clicked
Clear screen
Lift pen up
Move to starting position (x: 0, y: -150)
Make the pen visible
Set levels to 3
Store current levels in oldLevels
// Draw initial tree
Put ..read more
Snap! Forums » Computer Science
3M ago
This topic is for discussing sorting algorithms, or maybe even making your own.
There would be more information here, but I can't currently think of anything else to say.
4 posts - 4 participants
Read full topic ..read more
Snap! Forums » Computer Science
3M ago
i want to learn javascript for my OS (made in snap) but i dont know where to start
4 posts - 4 participants
Read full topic ..read more