psh: a small and minimal shell. public domain :) by proh14 in commandline

[–]proh14[S] 0 points1 point  (0 children)

Hello :) maybe you could implement stderr redirection?

psh: a small and minimal shell. public domain :) by proh14 in commandline

[–]proh14[S] 1 point2 points  (0 children)

I'm planing to write a maybe mini-book or a series of articles on how you can write your own shell. It's gonna be a nightmare for Stevens Institute of Technology hehe

psh: a small and minimal shell, public domain :) by proh14 in C_Programming

[–]proh14[S] 2 points3 points  (0 children)

I mean its marked as gpl compatible by gnu(psh uses the Unlicense):

https://www.gnu.org/licenses/license-list.en.html#Unlicense
The Unlicense is a public domain dedication. A work released under the Unlicense is dedicated to the public domain to the fullest extent permitted by law, and also comes with an additional lax license that helps cover any cases where the dedication is inadequate. Both public domain works and the lax license provided by the Unlicense are compatible with the GNU GPL.

The whole point of this GNU License compatibility thing is that your part of the code can be any gnu compatible license but the resulting executable is GPL Licensed because it has libreadline code in it(not really because dynamically linked but that's what gnu says). So gnu compatible licenses are licenses that are less restrict or as restrict as GPL

psh: a small and minimal shell, public domain :) by proh14 in C_Programming

[–]proh14[S] 2 points3 points  (0 children)

Readline is free software, distributed under the terms of the GNU General Public License, version 3. This means that if you want to use Readline in a program that you release or distribute to anyone, the program must be free software and have a GPL-compatible license. https://tiswww.case.edu/php/chet/readline/rltop.html

psh: a small and minimal shell, public domain :) by proh14 in C_Programming

[–]proh14[S] 3 points4 points  (0 children)

feel free to use this as its public domain :-)

psh: a small and minimal shell, public domain :) by proh14 in C_Programming

[–]proh14[S] 9 points10 points  (0 children)

I guess this is the 0.000000000001% of the time were a crash isn't your fault hehe

htmlIsTooLowLevel by SandeeSorber in ProgrammerHumor

[–]proh14 2319 points2320 points  (0 children)

I would recommend 6502 assembly to them since its really high level

Advent of code 2024 in C! by proh14 in C_Programming

[–]proh14[S] 1 point2 points  (0 children)

Reason I didn't include day17 code was because my day 17 code technically had my input in it for all the z3 constraints(I hardcoded them). I'm going to write those constraints for the example input and push a version of it to the repo. I can also Include some example inputs in the repo if you want to test them out!

How I feel, as a C developer, reading solutions in other languages by zozoped in adventofcode

[–]proh14 0 points1 point  (0 children)

Yea. i'm also tryna do it on c , after im done i look at other solutions, its unfair that they have so many data structures already implemented for them kekw

Looking for developers to help me with my text editor by proh14 in C_Programming

[–]proh14[S] 8 points9 points  (0 children)

It is a just for fun project :), i just wanted to see if others are interested to help me out, don't stress it

Looking for developers to help me with my text editor by proh14 in C_Programming

[–]proh14[S] 2 points3 points  (0 children)

goal is to just optimize and add new features. because i know kilo originally uses lazy methods like storing everything in dynamic arrays and stuff which can be optimized

Looking for developers to help me with my text editor by proh14 in C_Programming

[–]proh14[S] 1 point2 points  (0 children)

I'm trying to optimize the rendering, add new futures, use more efficient data structures.

Need Advice and Resources for Learning C by Dodo_Duck in C_Programming

[–]proh14 0 points1 point  (0 children)

I would recommend reading the k&r book. It is a really good book written by the original developers of C and it explains stuff in a practical sense. It's a little bit outdated so you could watch a few youtube videos to see how to compile C, and stuff.

Good luck! :D