Writing an imageboard/textboard page

Joshua Walker
Joshua Walker

First of all, I can program but never did any web developing.
I am trying to set up a small site with functions like a forum or a textboard. Images dont have to be in it.
Has to be without registration. Security is not an issue as it will be used by a small number of people I can trust.

What would the easiest way to implement user generated "threads" (optional) and text (obligatory) be?

Sorry for having no clue at all

Attached: postingonline.png (23.97 KB, 1212x314)

Other urls found in this thread:

8ch.net/create.php
tokio.rs/
github.com/tokio-rs/tokio/tree/master/examples
github.com/rust-lang/rust-www
github.com/rust-lang/crates.io
github.com/rust-lang/book
github.com/rust-lang-nursery/mdBook
github.com/rust-lang/rust-playpen
github.com/rust-lang/cargo/tree/master/src/doc
github.com/rust-lang-nursery/mdBook/blob/master/src/renderer/html_handlebars/hbs_renderer.rs
users.rust-lang.org/t/slow-compile-times/14056
github.com/rust-lang/rust/issues/48257
github.com/rust-lang/rust/issues/47803
github.com/rust-lang/rust/issues/47628
github.com/rust-lang/rust/issues/47267
github.com/rust-lang/rust/issues/46897
github.com/rust-lang/rust/issues/46449
github.com/rust-lang/rust/issues/43787
testdrive-archive.azurewebsites.net/performance/mazesolver/default.html
citizencodeofconduct.org/
blog.burntsushi.net/ripgrep/
secure.php.net/manual/en/language.variables.variable.php

Landon Young
Landon Young

Get out.
Get lost.

Bentley Turner
Bentley Turner

8ch.net/create.php

Isaac Smith
Isaac Smith

I know I can create something like that here.
But I want to learn something new and in this case Id have an actual goal while learning something if I made the things by myself as much as possible.

Aaron Rivera
Aaron Rivera

You'll want to use a server-side framework like node.js or django. Just look up a simple chat client in one of those to get an idea of how web requests work.

Carson Gutierrez
Carson Gutierrez

Write it in Rust using tokio.
Look at the website here: tokio.rs/
Look at some example here: github.com/tokio-rs/tokio/tree/master/examples
Also think about incorporating a blockchain somehow. Shit will be cash.

Attached: steve-klabnik.jpg (384.3 KB, 1400x933)

Blake Martin
Blake Martin

looks really interesting, I didnt know that one.

Looking at these atm and it remembers me of my tries at network games.

James Perry
James Perry

ignore this faggot

Gavin Wood
Gavin Wood

well he is being a faggot what with the rust/blockchain memes but tokio isn't a bad choice tbqh

Alexander Davis
Alexander Davis

ignore this anti Rust shill

shit thread, shit answers tbqh

Juan Jenkins
Juan Jenkins

Not goint to try anything blockchainy but tokio really doesnt seem too bad at first glance.

Elijah Walker
Elijah Walker

if you get sucked into the rust poz your going to end up regretting it. if you just want an image board just use one that already exists. 8ch is open source.

-You can do it in C with a template library for performance.
-You can do it in python/django if you want to get into that whole ecosystem, but performance will suffer
-PHP is higher performance but the code isn't going to be useful outside of the website.
-Rust on the other hand is a meme language that exists for no other reason than mozilla trying to push their poz where it doesn't belong.

Robert Baker
Robert Baker

if you get sucked into the rust poz your going to end up regretting it
goes on and recomends C for webdev
nice try anti Rust shill

Jose Walker
Jose Walker

recommending rust for literally anything
kill yourself rustkike

Lucas Rodriguez
Lucas Rodriguez

no arguments
the anti Rust shill cries out in pain as he strikes you

Cameron Reed
Cameron Reed

reminder the rust website doesn't even use rust
github.com/rust-lang/rust-www
it use's jekyll which is written in ruby

Charles Walker
Charles Walker

rust-lang.org is just a static site. why should they use Rust?
crates.io is written in Rust. github.com/rust-lang/crates.io
dumb anti Rust shill

Jackson Phillips
Jackson Phillips

if it's a static site why should they use a site generator written in ruby instead of rust?
stupid rust kike.

Camden Gray
Camden Gray

because they have better things to do than writing a static site generator in Rust. what would the benefits of a rust rewrite be over the ruby version???
also why did you ignore that crates.io is written in Rust?
learn to argument retarded anti Rust shill

Daniel Rivera
Daniel Rivera

Rust is a replacement for Ruby
wrong

Ian Bailey
Ian Bailey

what would the benefits of a rust rewrite be over the ruby version?
that's a good question, one anyone should ask themselves before ever considering rust.
also why did you ignore that crates.io is written in Rust?
why are you trying to change the point? the rust flagship site is written in ruby.

Carson White
Carson White

Rust is a replacement for anything
wrong

Jaxson Barnes
Jaxson Barnes

that's a good question, one anyone should ask themselves before ever considering rust.
memory safety, thread safety
why are you trying to change the point? the rust flagship site is written in ruby.
flagship site
it's a fucking blog, m8
nice damage control btw, anti Rust shill

Jayden Sullivan
Jayden Sullivan

forgot to sage fuggggg :DDDDDD

Leo Lopez
Leo Lopez

sjw faggots are too stupid to write C in a memory safe way so they created rust.

Brandon Turner
Brandon Turner

muh SJW
look here: github.com/rust-lang/book
written in Rust: github.com/rust-lang-nursery/mdBook
kill yourself, anti Rust shill

Aiden Foster
Aiden Foster

tfw you started an argument again by asking simple questions

Attached: toad.gif (701.93 KB, 320x240)

Blake Nguyen
Blake Nguyen

also written in Rust: github.com/rust-lang/rust-playpen
single braincell anti Rust shill

Nathan Richardson
Nathan Richardson

fucking anti Rust shills
also kill yourself OP. your thread sucks
go back to /g/

Jonathan Wright
Jonathan Wright

look at this random shit that isn't the first thing someone lands on when checking out rust as an excuse for why they can't write their static blog using rust tools and instead use ruby
oy vey it's a waste of time
that doesn't stop the 3 mozilla paid kike's the claim everything should be rewritten in rust, except their homepage site generator i guess, that has to be somewhat reliable.

Nolan Powell
Nolan Powell

3 mozilla paid kike's the claim everything should be rewritten in rust
proof?
muh static site generator
look here: github.com/rust-lang/cargo/tree/master/src/doc
the documentation is also generated by Rust code
it's time to stop, anto Rust shill

Austin Allen
Austin Allen

continues linking to irrelevant garbage
rust homepage remains written in ruby

Hudson Cooper
Hudson Cooper

irrelevant garbage
play.rust-lang.org, doc.rust-lang.org and crates.io are all irrelevant because I say so
ok anti Rust shill

David Brooks
David Brooks

claims website in OP should be written in rust
rust homepage written in ruby

Jeremiah Perez
Jeremiah Perez

someone mentioned Rust?
better shit the thread up with anti Rust garbage
good job, anti Rust shill

Angel Ross
Angel Ross

suggest rust be used for a website backend of all things
continue shitting up thread with further rust shilling
reminder the rust compiler was written in ocaml which was written in C.

Luis Mitchell
Luis Mitchell

hurr durr muh Rust sucks
great argument, anti Rust shill
reminder the rust compiler was rewritten in Rust

Michael Young
Michael Young

hurr muh Rust is great for everything you should all use rust
great argument rust kike
reminder if they loose the rust compiler they're going to have to rewrite it in C again.

Eli Parker
Eli Parker

loose

Julian Johnson
Julian Johnson

spelling in C is less relevant because the vast majority of the code text isn't for the bloated standard library or the disgusting language itself.

Logan Hernandez
Logan Hernandez

standard library
LOL

Blake Wright
Blake Wright

mdBook
github.com/rust-lang-nursery/mdBook/blob/master/src/renderer/html_handlebars/hbs_renderer.rs

let mut data = serde_json::Map::new();
data.insert("language".to_owned(), json!("en"));
data.insert("book_title".to_owned(), json!(config.book.title.clone().unwrap_or_default()));
data.insert("description".to_owned(), json!(config.book.description.clone().unwrap_or_default()));
data.insert("favicon".to_owned(), json!("favicon.png"));
if let Some(ref livereload) = html_config.livereload_url {
data.insert("livereload".to_owned(), json!(livereload));
}

what a beautiful language this is

Juan Cook
Juan Cook

muh syntax
can't you anti Rust shills come up with some new shit? this meme is at least a year old now.

Adrian Kelly
Adrian Kelly

muh bloat
<oy vey stop talking about how bloated my language is

Alexander Rivera
Alexander Rivera

explain how Rust is bloated
imby dynamically linked hello world in C is smaller than statically linked hello world in Rust
ebin

Kayden Myers
Kayden Myers

explain how it's not bloated when your compiler is 1000% slower compiling rust code than the equivalent C code with gcc
users.rust-lang.org/t/slow-compile-times/14056

Nathaniel Ward
Nathaniel Ward

says rust is bloated
muh compile times
Nov '17
???

Julian Fisher
Julian Fisher

muh outdated 3 month old information
github.com/rust-lang/rust/issues/48257
github.com/rust-lang/rust/issues/47803
github.com/rust-lang/rust/issues/47628
github.com/rust-lang/rust/issues/47267
github.com/rust-lang/rust/issues/46897
github.com/rust-lang/rust/issues/46449
github.com/rust-lang/rust/issues/43787
(36 others not shown)

Robert Foster
Robert Foster

wow who would have thought that incremental compilation adds a little overhead to a clean compile in favor of massive speedups for non-clean compiles?
also most of these issues use the nightly compiler.

Jayden Lewis
Jayden Lewis

testdrive-archive.azurewebsites.net/performance/mazesolver/default.html

Attached: performance.png (204.6 KB, 2038x810)

Brody Sanders
Brody Sanders

.to_owned()
.to_owned()
.to_owned()
.to_owned()
.to_owned()
.unwrap_or_default()

Attached: a245a32ca0d86580cb5842bf716b10ed3211d5cb9ddf2e31e517d0e5b5617635.png (323.04 KB, 670x650)

Oliver Garcia
Oliver Garcia

firefox quantum v60.0b5: 19s
microsoft edge: 32s

EBIN!

Charles Peterson
Charles Peterson

compares quantum to edge performance to counter terrible quantum to chromium performance

Nolan Sanders
Nolan Sanders


I have a ~8,000 line Rust project that, on my little laptop, takes about a minute to compile on 1.22.1, and 3-4 minutes to compile on nightly. Incremental compilation may take that down 10% or so.

If I compile a C project of similar functionality and ~14,000 lines of code, it compiles in 6 seconds. And, most significantly, if I just touch a single file and recompile the project, it compiles in less than half a second.
...
Which C compiler are you using?
...
That was with gcc. I actually just tried with clang, and it’s about twice as fast at 3 seconds.

massive speedups

Christian Reyes
Christian Reyes

firefox quantum v60.0b5: 19s
microsoft edge: 32s
google chrome v65.0.3325.181: 22s

pre incremental compilation
c doesn't have generics
hmmmmmmmmmmmmmmm...

Jose Johnson
Jose Johnson

Just going off of heuristics, it seems that The Rust shill, Mr. No argument and the guy who shit up the Hawking thread are the same person. Interesting.

Jaxon Gonzalez
Jaxon Gonzalez

you lie

Josiah Long
Josiah Long

c doesn't have bloat
hmmmmmmmmmmmmmmm...

Ian Morales
Ian Morales

no. the benchmark is just shit.

Grayson Martinez
Grayson Martinez

everything except the bare minimum is bloat
you didn't mention botnet. 2/10

Ian Diaz
Ian Diaz

link to a single benchmark that shows pozjew is faster than chromium

Luis Robinson
Luis Robinson

why though? i'm a Rust shill. not a firefox shill.

Elijah Garcia
Elijah Garcia

quantum is fast because of (((rust)))
what notable projects use rust? Quantum! isn't it awesome how fast it is now!
<oy vey I don't want to talk about browser performance anymore

Dylan Cruz
Dylan Cruz

We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristic.

On IRC, please avoid using overtly sexual nicknames or other nicknames that might detract from a friendly, safe and welcoming environment for all.

Please be kind and courteous. There’s no need to be mean or rude.

Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a right answer.

Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works.

We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behavior. We interpret the term “harassment” as including the definition in the Citizen Code of Conduct; if you have any lack of clarity about what might be included in that concept, please read their definition. In particular, we don’t tolerate behavior that excludes people in socially marginalized groups.

Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please contact one of the channel ops or any of the Rust moderation team immediately. Whether you’re a regular contributor or a newcomer, we care about making this community a safe place for you and we’ve got your back.

Likewise any spamming, trolling, flaming, baiting or other attention-stealing behavior is not welcome.

citizencodeofconduct.org/

The following behaviors are considered harassment and are unacceptable within our community:

Violence, threats of violence or violent language directed against another person.

Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.

Posting or displaying sexually explicit or violent material.

Posting or threatening to post other people’s personally identifying information ("doxing").

Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.

Inappropriate photography or recording.

Inappropriate physical contact. You should have someone’s consent before touching them.

Unwelcome sexual attention. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.

Deliberate intimidation, stalking or following (online or in person).

Advocating for, or encouraging, any of the above behavior.

Sustained disruption of community events, including talks and presentations.

Forbidden hugs when ?

Brody King
Brody King

what notable projects use rust?
https://en.wikipedia.org/wiki/Rust_(programming_language)#Projects_using_Rust
blog.burntsushi.net/ripgrep/

muh coc

Nathan Hill
Nathan Hill

what notable projects use rust?
<literally nothing of note except pozjew

Henry Gray
Henry Gray

lying
anti Rust shill detected

Henry Murphy
Henry Murphy

literally just learn PHP. its a good skill to have (unfortunately)

Easton Perry
Easton Perry

Variable variables
secure.php.net/manual/en/language.variables.variable.php

Adam Jones
Adam Jones

a cool and useful feature for anyone who has ever grokked data-oriented programming

Josiah Garcia
Josiah Garcia

php has always seemed like a useless middleground, like perl or ruby. either do it in python or do it in C.

Juan Russell
Juan Russell

a cool and useful feature
fucking LOL

Jackson Myers
Jackson Myers

the feature nears the idea of macros.

php is *the* web development language. yeah its horribly designed but there are some good things about it.

Brody Phillips
Brody Phillips

i know php is way faster than python but if you want to be lazy python has the massive standard library and even more massive selection of 3rd party libraries due to being used in everything. i guess you could always call something else from php. really don't like using django, it's a bloated mess.

Kayden Murphy
Kayden Murphy

php is *the* web development language

Javascript fucked PHP's mother and then made PHP clean it's dick.

Nicholas Morales
Nicholas Morales

That's because PHP runs on your web server and puts all load onto it (apart from rendering the prepared page), while with Javascript you can offload all kinds of shit away from your server to the user's computer where the scripts run. That's indirecltly why web 1.0 era computers are too slow for today's JS-infested web.

Leo Cruz
Leo Cruz

PHP runs on your web server
Lol no it doesn't node.js does.

Justin Carter
Justin Carter

There is no way someone this dumb can survive long enough to learn how to use a computer. This has to be bait.

James Ross
James Ross

PHP isn't webscale. Node.js is. GTFO retarded refu/g/.
btw this thread is fucking autistic. Goob job pro/anti rust fags.

Samuel Perez
Samuel Perez

>>888095 >>888033 wanting to use PHP or nodejs for websites
this better be bait

Attached: lq.jpg (3.21 KB, 200x200)