Spyke

Replies

Comment on

does anyone have exercises to learn how to program?

Reply in thread

hey, yeah, I'm sorry about that. I'm a fan of obsolete devices, how do you think I get to Symbian in the first place?

I'm aware of how different c + + of c + + symbian is, which I try in most cases only to resort to "apps."

Do you have any advice from that time? I mean, how do you not do this structure that usually leads to crasheos, or use this graphic library, that I know.

Comment on

does anyone have exercises to learn how to program?

Reply in thread

Harvard’s CS50 (Introduction to computer science) is available for free on edx.org. It starts with Scratch and goes on to C the second week. Excellent lectures by David Malan and lots of weekly exercises you can do and submit for review that will give you a solid foundation to build on.

thank you very much, i'll take a look.

Comment on

does anyone have exercises to learn how to program?

Reply in thread

Best I can do is just point to source code written by an old colleague and friend of mine from back in the day: https://sourceforge.net/p/qbubblemp/code/HEAD/tree/

I wrote system apps and UI frameworks and it’s 25 years ago so I don’t want to pretend to remember too much :D

okay, thank you so much, i'll take a look at it and see if i can do anything with it, if the answer is yes, i'll show you what i get.

Comment on

Is a modular, decentralized and usable "smallnet" possible in old hardware?

Reply in thread

Thank you so much for your words!

If I understand a little what you mean.

I've been going around the subject and I think if I forget for the moment the layer of anonymity can become more feasible, the rest of things seem to be more viable. for the moment I will focus on what seems more viable, make a torrent client for symbian (and to future kaios) although they can only download is already of great help, and I suppose a small demon who can grab the page file for the protocol and then can be visualized in the browser.

As for Gopher, I love it, a real shame that I can't find much interesting content in my language. If you know something interesting, although this in English, let me know, learning is always fun, for the moment I have a little more fun in gemini because there are more people in my language, and for the moment I am focusing on the Nex protocol to learn how to create a browser, as nex is the simplest protocol there is (so I understand you just need a tcp client, and something that can represent the text and you already have it all) have also called me a lot of attention to other portos such as fingers, or fidonet, but I have not really found any information about it, but it's funny.

Comment on

does anyone have exercises to learn how to program?

Reply in thread

For pointers in particular, this seems like a good starting point: https://sites.cs.ucsb.edu/~mikec/cs16/misc/ptrtut12/pointers.htm

As for compiling for old C/C++ versions, fortunately most compilers can be set to restrict what standard they will compile for. So you could turn the compiler all the way back to something like C99 and it should work, although you’ll have to avoid using modern syntax.

That said, with regards to compiling for an old platform, be advised that complete and functional toolchains will be harder to come across. They may not even work anymore, if they haven’t been upkept. That’s another complexity that you may have to deal with, and it will no doubt be aggravating, than working with a modern platform but limiting yourself to only older C/C++ standards and graphics libraries.

Basically, the starting effort is quite high for developing for older targets. Be certain that this is the direction you want to start with.

I'll take a look later.

As for the compiler... well, someone has already passed me tools to program in symbian, and they seem to work well, there are more people in symbian than it seems at first. Not too many people, though.

Comment on

does anyone have exercises to learn how to program?

Reply in thread

You should start with C before going into C++. This is because C is the simplest possible language that exposes you to pointers and memory management. That’s the most important foundational skill you need in low level languages like this.

You could learn memory management using C++, but there are a lot of distractions, and the modern features designed to make memory management easier may make it harder/confusing for someone starting at the beginning.

My advice: follow a modern tutorial for C and SDL (on your PC, not that N95), and use it to make a simple game or UI with SDL’s drawing API. Actually aim to finish something (even if it sucks) and you’ll learn a lot.

thank you very much for the advice. The book I use to learn teaches C and C + + at the same time. See what I can do with the pointers.

So, modern sdl doesn't change much of sdl 1.2? Because if that's the case I'm trying to use some sdl 2 tutorial, by proximity, I think there's more of this in my language.

Comment on

does anyone have exercises to learn how to program?

Reply in thread

How far along are you with data structures and algorithms?

That’ll really define the path you need to take, especially if you’re learning a low-level programming language along the way

If I know where you stand, I can give you some pointers

i have read only 84 pages of a programming manual, I know I have made very slow progress, but nothing, I am a perishable. I'm also trying to keep learning the language.

Comment on

does anyone have exercises to learn how to program?

Reply in thread

I’m of the mind that it’s probably better to start out with engines/frameworks to get your footing before you move on to lower-level stuff. Then again, I’m not very far either (and sort of stalled for a few reasons).

Godot might be a good avenue with GDextension (GDnative for 3.X), particularly with C/C++. Nim bindings exist (and this is my language of choice) but if you like C/C++ it will certainly have a lot less friction and with those you probably can get far with just the official docs. For C++, you could probably edit the engine itself especially for older versions.

Raylib is another option (and you will likely do a lot more boilerplate stuff) for pretty much any language. And again, with C/C++ it will likely be even more straightforward.

EDIT: Sorry, I see that you know about Raylib already. To say it more directly, I am saying it is likely better to find quick projects that you want to make on the device you’re already coding on (likely a computer) rather than trying to immediately support a specific device or dream projects. Though other low-cost devices (single-board-computers, microcontrollers) if you can get them (at/below MSRP) might be an easier way to fill that niche as well.

hey, sorry I'm late. Well, yeah, maybe it's convenient to start with something else, even though I have the truth C and above all C + + I like it, it's good for me, so what it takes more is to find graphic bookstores that help me in my goals, raylib I'm interested, I know it, but I don't know or use it, honestly. And well, maybe I can agree with maybe it would be convenient to do quick projects, but what quick projects? What can I do? I have no idea

Comment on

Is a modular, decentralized and usable "smallnet" possible in old hardware?

Reply in thread

I don’t know what brought up the idea that a decentralized system would help here.

In that case, I’d see to get your internet stabilized. A router/firewall with NAT, DHCP, DNS should be possible on the RPi. From there, see that anything that can be connected via Ethernet is so, and only connect really mobile devices over WiFi.

If you need the WiFi spread over a larger area, you might want to use a professional router that supports mesh networks.

i think you don't understand me, the point is that i want to have my own page, my own site either in nex, in spartan, in gopher, etc. but of course, i can't keep a page but i have the server on at all times, and in order not to leave the site down so long, i thought to have a decentralized system.

Comment on

does anyone have exercises to learn how to program?

Reply in thread

I’'ve only ever used sdl 2 and 3, but I’ve encountered 1.2 code in the wild. APIs are going to be different, but big picture stuff is mostly similar. If you learn how to use one version, it shouldn’t be too difficult to switch.

well... i guess it would be nice to look for sdl2 tutorials and see how i adapt to sdl1.2

Comment on

Is a modular, decentralized and usable "smallnet" possible in old hardware?

Reply in thread

For most home server uses, a normal Linux PC is more than enough. Or do you expect thousands of concurrent accesses by hundreds of users?

not exactly... the question is that in my concrete case, i do not have a very stable internet connection, in fact not even fixed internet, i use mobile data that with the help of a raspberry pi i distribute the internet to the rest of my devices, and so (and because sometimes the raspberry pi needs to be reinitiated for some reason) could not guarantee a stable connection to the server, so my idea of something decentralized

Comment on

Is a modular, decentralized and usable "smallnet" possible in old hardware?

Reply in thread

iroh might interest you, an amazing rust p2p library, it punch through NATs and firewalls, allowing devices to communicate directly. Here is some cool tools using it:

if it's written in rust, it's not very useful to me, there are devices i want to include that do not support this language, symbian does not, only serve me programs that work in c or c + +, or languages that compile these languages, and with restrictions, it is necessary to adapt certain things, as well as many thanks, i will take a look at it

You reached the end