News for hackers. Stuff that matters.
Re:Show HN: A simple GUI Notepad using C++ natively made in ... by cpach on Monday June 15, 2020 @02:30AM (#23524391)
Instead of displaying disgust, why not try to say something uplifting instead? Constraints like using a limited environment can do wonders for people’s creativity.
Re:Show HN: A simple GUI Notepad using C++ natively made in ... by jcelerier on Monday June 15, 2020 @03:28AM (#23524743)
> Constraints like using a limited environment can do wonders for people’s creativity

The problem is that the teachers (and the students by extension) don't know that they are learning helpessly outdated things. Nothing would be lost if they were instead learning today's coding styles & paradigms and they could be actually much more creative by using modern practices where the compiler can infer a lot instead of trying to fight with older compilers and doing that: https://github.com/vibhoothiiaanand/CNotepad/blob/dlevel/CNo...

How many security issues will be caused because that student hasn't been taught about global variable issues, std::string, etc... ? I'm not hopeful.

If you want to be "creative", you can do the same thing than this: https://github.com/vibhoothiiaanand/CNotepad/blob/dlevel/CNo... but in much prettier, portable, useful and much less lines of code with e.g. OpenFrameworks: https://openframeworks.cc/ofBook/chapters/lines.html - and at least the tutorial gives you an idea of non-one-letter variable names.

Dear student: please send that to your teachers please : https://github.com/jcelerier/cpp-teaching-manifesto

Re:Show HN: A simple GUI Notepad using C++ natively made in ... by mindfreeze on Monday June 15, 2020 @03:43AM (#23524855)
I agree with what you have said,

Open framework surely looks promising, so do the manifesto,

At that point, I think I was mostly self-driven with the goal of making "it works" with little to no knowledge of security aspects of things. If I am doing the same thing now I would be knowing how to do, how to "Google", and also the right place to ask, but at that time I think I wasn't aware, I do also think this or even worse is the situation of school students at least here because there is no exposure to things and the bright side of the Internet.

Also, for this to solve, one thing we can do is start FOSS and cybersecurity Clubs and build a culture among them through various ways like competitions, workshops, code-sprints, hackathons, CTFs and lot more which can be solved. Keeping that in mind, from our uni we have Started CTF competitions and bootstrapping them through workshops,

https://junior.inctf.in/

So last year(2019), we did try to have workshops and courses, classes online and offline for school students which did help them.

So the primary problem here I faced was lack of understanding of how really things work and how to explore in a better way.

Re:Show HN: A simple GUI Notepad using C++ natively made in ... by jcelerier on Monday June 15, 2020 @05:14AM (#23525391)
> At that point, I think I was mostly self-driven with the goal of making "it works" with little to no knowledge of security aspects of things. If I am doing the same thing now I would be knowing how to do, how to "Google", and also the right place to ask, but at that time I think I wasn't aware, I do also think this or even worse is the situation of school students at least here because there is no exposure to things and the bright side of the Internet.

exactly, and that's not your fault at all, this is what teachers ought to teach you if they had any ethics and any level of pride in their work

> Also, for this to solve, one thing we can do is start FOSS and cybersecurity Clubs and build a culture among them through various ways like competitions, workshops, code-sprints, hackathons, CTFs and lot more which can be solved. Keeping that in mind, from our uni we have Started CTF competitions and bootstrapping them through workshops,

super nice, but also super sad that things are so bad that students have to take the place of their teachers :) as it's the teachers who get paid

Re:Show HN: A simple GUI Notepad using C++ natively made in ... by entha_saava on Monday June 15, 2020 @04:00AM (#23524949)
Well, teachers aren't interested in all these. They just teach in some rote learning fashion. But at least having CS as subject helps to create interest in students about programming. That's it.

Even in Engineering courses, some teachers don't even properly indent code and can't even write themselves a recursive algorithm for eg: printing a number in binary. This is not an issue limited to CS/programming, but manifests more because it is a practical subject and a fast growing fields.

But some students get interested in programming earlier rather than rote learning other choices of subjects (eg: biology). That's the benefit of having CompSci/Programming in curriculum.

Source: learned programming in turbo C++ in India during my HS (called +2 or Pre-university here).

Re:Show HN: A simple GUI Notepad using C++ natively made in ... by fortran77 on Monday June 15, 2020 @03:07AM (#23524616)
My high school taught BASIC PLUS on a DEC PDP-11. Granted this was in 1977.
Re:Show HN: A simple GUI Notepad using C++ natively made in ... by noobermin on Monday June 15, 2020 @03:30AM (#23524755)
How wide spread was this then? It seems like in the late 70s and 80s a lot of children (as in less than 15) learned programming young but this has dropped off in the 00s with the general rise of helicopter parenting and infantilization[0], and even with things like arduinos and such it seems like kids pick it up in class but then move on to other things. You certainly don't have young people actually end up developing actual things apart from the exceptions.

[0] this is my hypothesis around this in general tbh.

Re:Show HN: A simple GUI Notepad using C++ natively made in ... by fortran77 on Monday June 15, 2020 @12:39PM (#23529310)
They teach "programming" but it's really making a simple web page.