Would it be technically possible to make an imageboard software in C? I ask...

Nathaniel Carter
Nathaniel Carter

Would it be technically possible to make an imageboard software in C? I ask because I was thinking for making a 3ds imageboard just for the keks, and I'm pretty sure you have to write 3ds homebrew and custom applications with C.

Attached: Capture10.PNG (126.88 KB, 441x426)

Other urls found in this thread:

bootstrappable.org/
gitgud.io/zuse/dietchan
github.com/el1372/dietchan

Jonathan Jackson
Jonathan Jackson

There's literally nothing you can't make with C. Everything that seems more advances is effectively just a layer on top of the same basic functionality that C provides.

Austin Baker
Austin Baker

WHYDUBUMPLOCKTHETHREADINEDGOODCONSTRCTIVEANSWERSTOMAKE3DSCHAN!

Dominic Wilson
Dominic Wilson

You'll have to do everything from the ground up, it would be a good exercise.

Nathaniel Evans
Nathaniel Evans

I'm pretty sure you have to write 3ds homebrew and custom applications with C.
If that's the stage you're at - just learn any programming language.
Not the obscure shit though (no lisp or haskell).

Michael King
Michael King

There's literally nothing you can't make with C.
You can't make a safe program, because C isn't memory safe, and the compiler isn't bootstrappable bootstrappable.org/

Chase Turner
Chase Turner

I can't tell the difference between C and machine language

using millions of lines of code is doing everything from the ground up

cringe and bluepilled

Nolan Sanders
Nolan Sanders

Yes. You could make an FTP site that will accept anonymous uploads. Write in an SFTP application to upload images and just include a Qt-webkit browser for viewing shit. That or you can do full autists and make the entire thing a terminal application. I think you could technically do all of this with SSH and BASH scripting when you get down to it. You have SCP to move the image files back and forth and you. I think there are some scripts for SSH bulletin boards and some other applications you can probably modify for images.

I think secure FTP might be an option. The are FTP based chat application that just send a text file back and the application will use cat or for line in file: do print line. Displaying pictures in terminal can be done with applications like FIM.

So yeah all of this stuff could be done in terminal applications that already exist, at least as far as the networking and whatnot is concerned. It's not hard to display an image in a GTK or Qt application.

Start a Github for this OP. Maybe anons will help with code.

I personally hate C so I would probably end up writing the whole thing in Python. But honestly if it's a terminal application I could be done in BASH or any other scripting language. You could probably mock up a TCL/TK GUI easily enough.

IDK. Why C? Every other language is easier to write this in than C?

Hudson Wright
Hudson Wright

Topkek

Austin Cox
Austin Cox

there already is dietchan, available here:
gitgud.io/zuse/dietchan
I translated from german to english here:
github.com/el1372/dietchan

Jack Jones
Jack Jones

It has to be in C for 3ds. I would right in something else if I could.

Ryan Russell
Ryan Russell

Thanks a lot that looks like it might actually work. I'm gonna test how the software is without the 3ds.

Xavier Brown
Xavier Brown

Wait how do you install this thing. I tried translating where it said install instructions but it didn't say anything about it.

Owen Powell
Owen Powell

its a cmake project:
mkdir build && cd build && cmake .. && make && ../dietchan
make sure to have all the deps

Andrew Evans
Andrew Evans

Got this and I do hve Visual Studio, I guess I'll try to change some things,
[code]Microsoft Windows [Version 10.0.17134.648]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\user>cmake -DCMAKE_BUILD_TYPE=Release . && make
CMake Error: The source directory "C:/Users/user" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

C:\Users\user>cmake -DCMAKE_BUILD_TYPE=Release . C://Users make
CMake Error: The source directory "C:/Users/user/make" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

C:\Users\user>cmake -DCMAKE_BUILD_TYPE=Release . C://Users make
CMake Error: The source directory "C:/Users/user/make" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

C:\Users\user>cmake -DCMAKE_BUILD_TYPE=Release . && make
-- Building for: NMake Makefiles
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in CMakeLists.txt:
The CMAKE_C_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error in CMakeLists.txt:
The CMAKE_CXX_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "C:/Users/user/CMakeFiles/CMakeOutput.log".
See also "C:/Users/user/CMakeFiles/CMakeError.log".[code]>>1047005

Kevin Russell
Kevin Russell

Visual Studio
lol
C:\Users\user
cd C:\Users\user\project
mkdir build
cd build
cmake ..

if you cant even compile this then I dont think youd have the ability to make a c project

Levi Kelly
Levi Kelly

I can't tell the difference between C and machine language

Perhaps its you that can't . Absolutely nothing is done with machine language - you would have to be extremely autistic to write machine language yourself.

Second, what your probably thinking of is the set of mnemonics that constitute are isomorphic to machine language called "assembly language". Virtually nothing is done with assembly except small segments of kernel, critical path routines in performant code (usually in embedded machines), and highly specific driver code.

Virtually everything is done in C, and most libraries are available in C, then exposed as bindings to interpreted languages. Almost certainly, every major web app platform probably makes extensive use of C libraries.

There is nothing that forbids cutting out the middle man and writing your web app in C. There are already people who write web apps in lisp, there are practical reasons why you may not want to do either, but you definitely can, and people have.

One reason you might not want to write a webapp in C, is that it will be exposed to untrusted and hostile input, and its easy to make mistakes in C.

Also, writing your web app in C will not overcome the limitations of the client, so you might mean making a client and server app, which is totally fine, if you want more open ended functionality - except, I will never download and run a proprietary executable client on muh linux, specially not from a random user - so a server + webgl in browser might be your best bet.

Hunter Wilson
Hunter Wilson

no, it's you who can't tell the difference between C and machine language
I know you also can't tell the difference between machine language and assembly language because I'm psychic
the computer literally runs C without a compiler
C is cutting out the middle man
this one's going in my cringe compilation

Liam Gutierrez
Liam Gutierrez

HAPAS ARE SUPERIOR TO WHITES

Charles Nguyen
Charles Nguyen

HAPAS ARE SUPERIOR TO WHITES

Anthony Cooper
Anthony Cooper

HAPAS ARE SUPERIOR TO WHITES

Ryder Brooks
Ryder Brooks

HAPAS ARE SUPERIOR TO WHITES

Ethan Rivera
Ethan Rivera

HAPAS ARE SUPERIOR TO WHITES

David Wright
David Wright

HAPAS ARE SUPERIOR TO WHITES

Oliver Rogers
Oliver Rogers

HAPAS ARE SUPERIOR TO WHITES

Charles Garcia
Charles Garcia

HAPAS ARE SUPERIOR TO WHITES

Alexander Lewis
Alexander Lewis

HAPAS ARE SUPERIOR TO WHITES

Dominic Nguyen
Dominic Nguyen

HAPAS ARE SUPERIOR TO WHITES

David Evans
David Evans

HAPAS ARE SUPERIOR TO WHITES

Nolan Long
Nolan Long

HAPAS ARE SUPERIOR TO WHITES

Landon Reed
Landon Reed

HAPAS ARE SUPERIOR TO WHITES

Jeremiah Edwards
Jeremiah Edwards

HAPAS ARE SUPERIOR TO WHITES

Charles Adams
Charles Adams

HAPAS ARE SUPERIOR TO WHITES

Gavin Powell
Gavin Powell

HAPAS ARE SUPERIOR TO WHITES

Aaron Collins
Aaron Collins

HAPAS ARE SUPERIOR TO WHITES

Jack Young
Jack Young

HAPAS ARE SUPERIOR TO WHITES

Logan Williams
Logan Williams

HAPAS ARE SUPERIOR TO WHITES

Daniel Allen
Daniel Allen

HAPAS ARE SUPERIOR TO WHITES

Matthew Gonzalez
Matthew Gonzalez

HAPAS ARE SUPERIOR TO WHITES

Grayson Hill
Grayson Hill

HAPAS ARE SUPERIOR TO WHITES

Cooper White
Cooper White

HAPAS ARE SUPERIOR TO WHITES

Jonathan Brown
Jonathan Brown

HAPAS ARE SUPERIOR TO WHITES

Eli Butler
Eli Butler

HAPAS ARE SUPERIOR TO WHITES

Luis Baker
Luis Baker

HAPAS ARE SUPERIOR TO WHITES

Michael Young
Michael Young

HAPAS ARE SUPERIOR TO WHITES

Ethan Murphy
Ethan Murphy

HAPAS ARE SUPERIOR TO WHITES

Lincoln Thompson
Lincoln Thompson

HAPAS ARE SUPERIOR TO WHITES

Andrew Flores
Andrew Flores

HAPAS ARE SUPERIOR TO WHITES

Wyatt Morgan
Wyatt Morgan

HAPAS ARE SUPERIOR TO WHITES

Joseph Butler
Joseph Butler

HAPAS ARE SUPERIOR TO WHITES

John Hughes
John Hughes

HAPAS ARE SUPERIOR TO WHITES

Chase Sanchez
Chase Sanchez

HAPAS ARE SUPERIOR TO WHITES

Jaxon Young
Jaxon Young

HAPAS ARE SUPERIOR TO WHITES

Liam Mitchell
Liam Mitchell

HAPAS ARE SUPERIOR TO WHITES

Anthony Myers
Anthony Myers

Mods are kikes. Why are they deleting my posts?

William Thomas
William Thomas

I smell rats.

Josiah Clark
Josiah Clark

Judensheim pls go