I wonder why all these easy-to-learn languages use indentation to denote scope, not something like curly braces. Isn't it actually harder to explain?
Fifth grade teacher here. Significant whitespace is a major reason I prefer Python for teaching programming. 1. I want kids to indent their code anyway; they may not realize it (or won't admit it), but this makes the code much easier for them to read. Kids will not do this unless they have to. 2. Unbalanced brackets are a major source of mistakes and confusion for my students. Relying purely on indentation resolves t…
Mini Micro Fantasy Computer
81–88 of 88 posts
Re: Mini Micro Fantasy Computer
#82I’d love to see something like this but designed to run on esp32 or raspberry pi 2530. Either can handle basic HDMI and USB. Or a little Easy to think raspberry pi, but with a full Linux you won’t get that intrinsic understanding that you fully control the hardware, you never control the “bare metal” unless you are a much more advanced user. IMHO the feeling of not being in full control of your computing device is no…
Re: Mini Micro Fantasy Computer
#83I’d love to see something like this but designed to run on esp32 or raspberry pi 2530. Either can handle basic HDMI and USB. Or a little Easy to think raspberry pi, but with a full Linux you won’t get that intrinsic understanding that you fully control the hardware, you never control the “bare metal” unless you are a much more advanced user. IMHO the feeling of not being in full control of your computing device is no…
There's PicoMite: https://geoffg.net/picomite.html It's a BASIC interpreter/OS for the RP2040
Re: Mini Micro Fantasy Computer
#84Earlier quoted context omitted.
Fifth grade teacher here. Significant whitespace is a major reason I prefer Python for teaching programming. 1. I want kids to indent their code anyway; they may not realize it (or won't admit it), but this makes the code much easier for them to read. Kids will not do this unless they have to. 2. Unbalanced brackets are a major source of mistakes and confusion for my students. Relying purely on indentation resolves t…
Interesting point. I wonder if "easier for them to read" is too simple. I took "read" as in "read words" or "read a book". But "reading" a program is not I think the same as reading words. Reading words could be this: for i = 0 i But with a more pictorial presentation, it is easier to read the program. for i = 0 i I'm just wondering - if we had a more pictograph based programming language would it be easier to unders…
Re: Mini Micro Fantasy Computer
#85Earlier quoted context omitted.
I have been thinking along those lines myself. I have been playing around with a per scanline generated display on a rp2350 outputting to a tiny LCD. I think there's potential for some pretty fancy stuff on HDMI. A 2350 with PSRAM, HDMI connector plus a MicroSD for bulk filesytem, and USB for input could be quite a fun micro PC. I would be tempted to make somthing that had a second RP2350 with its own PSRAM sitting u…
Check out the Adafruit Fruit Jam, its got pretty much everything you need.
Re: Mini Micro Fantasy Computer
#86The things which slightly rub me the wrong way:
• C++ instead of C. There’s still places where one has a pure C language project.
• cmake instead of Posix-compatible make. This makes the project depend on a non-standardized tool with only one implementation.
I’m curious what advantages MiniScript has over Lua, though—when I had the problem of “let’s use a tiny embedded language” [1], Lua5.1 made the most sense to me:
• No need to worry about a Javascript, Moonscript, Kotlin, or Go language port—people have already made all of those. [2]
• People already made libraries I needed (e.g. a “spawner” library so I could run Stockfish from my Lua script)
• It’s a standard embedded scripting language which people are more likely to already know (e.g. people making Roblox games already know Lua)
• It compiles in a pure C environment.
[1] https://samboy.github.io/MaraDNS/coLunacyDNS/
[2] It would be nice to have a Rust port of Lua
Re: Mini Micro Fantasy Computer
#87I’d love to see something like this but designed to run on esp32 or raspberry pi 2530. Either can handle basic HDMI and USB. Or a little Easy to think raspberry pi, but with a full Linux you won’t get that intrinsic understanding that you fully control the hardware, you never control the “bare metal” unless you are a much more advanced user. IMHO the feeling of not being in full control of your computing device is no…
There’s a wealth of retro machines out there that cater to this. A sample: https://www.olimex.com/Products/Retro-Computers/Neo6502/open... https://www.olimex.com/Products/Retro-Computers/AgonLight2/o... Or with keyboards: https://wildbitscomputing.com/ https://www.kickstarter.com/projects/spectrumnext/zx-spectru... Or you can go mobile: https://www.clockworkpi.com/product-page/picocalc https://andywarburton.co.uk/pos…
Re: Mini Micro Fantasy Computer
#88Earlier quoted context omitted.
> Mini Micro is a neo-retro virtual computer. Learn to code, play some games, and join a friendly, enthusiastic community of hobbyists! Apparently not that friendly on HN :-D
What's unfriendly in questioning the delivery mechanism or design choices? I can think a project is cool or useful without thinking it's perfect. In fact ALL projects I encounter, including mine, are like that, imperfect. I think native is a barrier to entry so IMHO it should only be relied on when it's truly necessary. I'm just stating my opinion and others are welcomed to disagree and explain why they think so.
Similarly, "this kind of projects" sounds derogatory, as you don't specify what kind you're talking about, which implies "the kind of projects where the author didn't think things through thoroughly".
Also "AND", why do you need to capitalize here? Cause you want to show that your idea is a much better one.
I think you know pretty well that you were criticizing the project in a way that was not very friendly, as in: if an actual friend of yours had made the project, you wouldn't have used the same wording.