Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
LifeLynx
Feb 27, 2001

Dang so this is like looking over his shoulder in real-time
Grimey Drawer
I've been wanting an excuse to use this one day because I like the idea of how it works: https://deckofcardsapi.com

Adbot
ADBOT LOVES YOU

Empress Brosephine
Mar 31, 2012

by Jeffrey of YOSPOS
Lmao that rules.

Just-In-Timeberlake
Aug 18, 2003
about 20 years ago I made a 5 card stud game like you see at casinos

Scanned in a deck of cards, got some sound effects that sounded like cards being dealt, created the game screen in Photoshop, figured out how to calculate the hand, etc.

I did all this in loving Visual Basic, for which I should have had my head examined.

Empress Brosephine
Mar 31, 2012

by Jeffrey of YOSPOS
In my search I found this interesting framework which I'll probably check out

https://boardgame.io/

Dominoes
Sep 20, 2007

Dudes. I'm going through and updating a takeoff-and-landing-data calculator I built a few years ago. Wouldn't build, probably due to dependency updates.

I can't express how cathartic it is ripping out the webpack, react, typscript, and npm bloat, and turning it into an HTML file, 2 JS files, and a stylesheet.

marumaru
May 20, 2013



Right tool for the job and all that. As a bloatmaxx JS hell enthusiast, I rarely actually use any of that stuff for my small fun projects.

Boba Pearl
Dec 27, 2019

by Athanatos
I'm hosting with FeralHosting, which does seedbox stuff, and website stuff which is cool for me. I don't know if there's anything else I should do, Dreamweaver recommends also keeping it up to date with github which I'm down to do. I had to figure out how to set up my DNS, SSL, and everything else. I found out after setting a bunch of stuff up it also supports mysql.This website hosts an archive of my stories, and I am planning to point social media at it to get it on tiktok and twitter to try and grab more content. If after a year, I get one more reader then it would be worth it. bobapearlessence.com, I'm taking design suggestions, and this website isn't finished by any means, and is acting as a glorified image host, I have a few questions that I would love to pick your brain on, but also feel free to say "This is not something you teach yourself, this is something you pay someone to make for you."

Things I want to do that would be cool

Embed a Google Form, a vote counter based on responses that is on every page, and someway to discourage multiple posts.

A comments section.

A footer that links to my tiktok and twitter.

A footer that links to the next page when there is one, and is blanked out when there is not.

People to be able to click my images to shrink them, but I don't know how to do that, or if that feature is even useful, since the images auto-resize to the width of the device you're using.

A button they can hit where it'll save their page, and then if they reconnect on the same device, can go to last read.

Technical things I have questions about

How do I make it so that my folder titles / webpages don't have to be lower or uppercase to go to the link? Or is that a thing?

Right now I'm hosting content here: https://bobapearlessence.com/ (The only buttons that work are Timeline, Races, and everything in Lab 619 and Marie and the adventurer's league,) but when people just type in bobapearlessence.com into their web browser it takes them to the [url]http://[/url] page, but not the [url]https://[/url] I don't know how much that matter, but I'd like to fix that.



Design Questions

I feel like it looks like babbies first website, and I was wondering how to do certain things.

What makes a website look good? I don't like the searing white, and wanted to do dark backgrounds with light words, but is that good on the eyes? When reading a story would you want a background image seen through an opaque background or just a box? Is there a GUI for setting up CSS? What options are available to me?

Bootstrapper carries a lot of weight in what I'm doing.

I really like Pink, Cyans, and Greens so if I do do a re-design of how it looks I'd want to use those colors. Are those bad colors for a website, or can it be done if they're subtle?

I'm so worried this is going to end up looking like a 1990s geocites webpage, and I don't know where to go to get simple design tips.

Closing Thoughts

I know almost no-one is ever going to visit their website, I have maybe 30 people who even read my stories, and of those only 10 of them actually participate regulalry, but I want to be an IT guy, I want to teach myself this stuff, and I think I could have a lot of fun setting this up if no-one uses it.

Boba Pearl fucked around with this message at 06:46 on May 11, 2021

Impotence
Nov 8, 2010
Lipstick Apathy

quote:

How do I make it so that my folder titles / webpages don't have to be lower or uppercase to go to the link? Or is that a thing?

Generally non-Windows is case sensitive.

quote:

I really like Pink, Cyans, and Greens so if I do do a re-design of how it looks I'd want to use those colors. Are those bad colors for a website, or can it be done if they're subtle?

Take a look at https://flatuicolors.com/ and https://color.adobe.com/explore for some colour schemes

quote:

I'm so worried this is going to end up looking like a 1990s geocites webpage, and I don't know where to go to get simple design tips.

This is currently the "in" aesthetic


The vast majority of this is almost certainly going to be a lot easier if you go with an actual hosting provider with a hosting panel instead of a seedbox/torrent provider.

Tea Bone
Feb 18, 2011

I'm going for gasps.

Boba Pearl posted:

I'm hosting with FeralHosting, which does seedbox stuff, and website stuff which is cool for me. I don't know if there's anything else I should do, Dreamweaver recommends also keeping it up to date with github which I'm down to do. I had to figure out how to set up my DNS, SSL, and everything else. I found out after setting a bunch of stuff up it also supports mysql.This website hosts an archive of my stories, and I am planning to point social media at it to get it on tiktok and twitter to try and grab more content. If after a year, I get one more reader then it would be worth it. bobapearlessence.com, I'm taking design suggestions, and this website isn't finished by any means, and is acting as a glorified image host, I have a few questions that I would love to pick your brain on, but also feel free to say "This is not something you teach yourself, this is something you pay someone to make for you."

Things I want to do that would be cool

Embed a Google Form, a vote counter based on responses that is on every page, and someway to discourage multiple posts.

A comments section.

A footer that links to my tiktok and twitter.

A footer that links to the next page when there is one, and is blanked out when there is not.

People to be able to click my images to shrink them, but I don't know how to do that, or if that feature is even useful, since the images auto-resize to the width of the device you're using.

A button they can hit where it'll save their page, and then if they reconnect on the same device, can go to last read.



Do you want to do everything yourself because it's cheaper that way? Or because you want to learn how to do it?

If it's the former you'll save yourself a lot of time by installing WordPress or something similar, rather than learning at minimum a backend language, frontend language and CSS framework.
If it's the latter, what's your motivation for wanting to learn? Is it just for fun or are you looking to work in this field down the line?

If you want to eventually get paid for this then you need to focus on learning frameworks and best practices.

If it's just for the fun of it, none of this looks particularly ambitious, and you'll be fine cobbling things together in whatever way works for you as you figure them out, then refactoring as your skill improves. I'd recommend learning some basic PHP and JavaScript and you should be able to work out most of these answers yourself fairly quickly.

Boba Pearl
Dec 27, 2019

by Athanatos
So all of this would be pretty easy with WordPress? I'll do some research into what that is, and how to use it.

I want to learn, but not if it's too difficult if that makes sense, like I don't want to put in the time you'd need to learn an instrument or something, but if I can cobble it together in like 20 hours over the course of a month that's different.

fsif
Jul 18, 2003

Yeah if you're talking 20 hours that's not enough time to learn anything substantial. Set up a WordPress site and see if you can find a pre-existing theme you like.

Boba Pearl
Dec 27, 2019

by Athanatos
If it's gonna take more then 20 hours, then yeah, I'm going to set up wordpress, I'll probably just drop the $10-$15 someone on Fiverr is asking to make me a template. Then I don't have to do any work.

e: Or instead of paying slave-wages to some guy on fiverr, I could hire a goon. What's an appropriate amount to offer someone that isn't an insult? $20? $30? $200? $300?

Boba Pearl fucked around with this message at 08:48 on May 12, 2021

busalover
Sep 12, 2020
I have trouble figuring out rewrite rules for a subdomain and subfolders, not sure if this is the right thread for it.

Basically, I went to the admin panel of my provider and added a new subdomain, test.domain.com. I had to specify a folder, so I set the folder for test.domain.com to point to /test.

So now comes the tricky part. I want http://test.domain.com/de to point to /de in the base folder, the same base that contains /test. All the solutions I've found with folder redirects involved the same domain, so I'm not sure how to accomplish this. Also, where do I put the htaccess-file that redirects? In the root folder, in /test, in /test/de? No clue.

Empress Brosephine
Mar 31, 2012

by Jeffrey of YOSPOS

Boba Pearl posted:

If it's gonna take more then 20 hours, then yeah, I'm going to set up wordpress, I'll probably just drop the $10-$15 someone on Fiverr is asking to make me a template. Then I don't have to do any work.

e: Or instead of paying slave-wages to some guy on fiverr, I could hire a goon. What's an appropriate amount to offer someone that isn't an insult? $20? $30? $200? $300?

Honestly just go here and see if there's anything you like.

https://themeforest.net/category/wordpress?sort=sales


There's also several page builders for wordpress which you might like also which allow you to drag and drop design. So stuff like elementor

Boba Pearl
Dec 27, 2019

by Athanatos
Yeah I'm gonna go with Elementor which seems to do everything I want.

That being said, I want to work on, and test the changes wordpress would make to my site, without messing it up, would I have to buy a second domain name to do that? Or could I just access it via ftp? I have everything so far how I like it, and I know I can just back up the whole thing and nuke it if something breaks, but I actually had someone visit it and tell me they liked it recently, so I wanted to keep it up while messing with it. Advice?

Or actually...

I think I was able to access it before I got a domain name, so I could probably just create a second folder on my webhost, and then just transfer the files over once it's done, I think? Or wait, would that break all the naming stuff because it'd have a different domain? I want to figure this out before I buy anything.

Tea Bone
Feb 18, 2011

I'm going for gasps.

Boba Pearl posted:

Yeah I'm gonna go with Elementor which seems to do everything I want.

That being said, I want to work on, and test the changes wordpress would make to my site, without messing it up, would I have to buy a second domain name to do that? Or could I just access it via ftp? I have everything so far how I like it, and I know I can just back up the whole thing and nuke it if something breaks, but I actually had someone visit it and tell me they liked it recently, so I wanted to keep it up while messing with it. Advice?

Or actually...

I think I was able to access it before I got a domain name, so I could probably just create a second folder on my webhost, and then just transfer the files over once it's done, I think? Or wait, would that break all the naming stuff because it'd have a different domain? I want to figure this out before I buy anything.

I don't know if Wordpress itself has preview functionality (although I imagine it does?). But you can set up a server on your local machine and make any changes you want there. Once you're happy with everything ftp or git push it up to your web server. Look into WAMP if you're on Windows or MAMP if you're on Mac.

edit: If you don't want to go through the headache of setting up a local server, you still probably don't need a second domain. Do you have access to the Apache/Nginx config from your provider? If so clone your site into another directory which you will use for testing changes, then set up a subdomain in Apache/Nginx (something like preview.bobapearlessence.com) which points to your new test directory.

Tea Bone fucked around with this message at 10:09 on May 13, 2021

kedo
Nov 27, 2007

Use Pantheon or Kinsta or some equivalent WP host. They offer dev/staging servers as a package deal with your production server and tools that allow you to easily move files/the database between them. So you can test changes in one spot and then either replicate them elsewhere, or literally just press a few buttons and move those changes to your live site.

fuf
Sep 12, 2004

haha
Did Google change their algorithm to care more about page speed recently or something?

I have a few hosting clients suddenly obsessed with their Google PageSpeed Insights score that never used to care.

It's annoying because I tell them that their site is objectively very fast but they only care about this one number that Google is giving them, along with Google's weird suggestions.

The Merkinman
Apr 22, 2007

I sell only quality merkins. What is a merkin you ask? Why, it's a wig for your genitals!

fuf posted:

Did Google change their algorithm to care more about page speed recently or something?

Yes, they're called Core Web Vitals

MikeJF
Dec 20, 2003




Oh my god how did I not know about svg paint-order: stroke fill WELL THAT MAKES THINGS A LOT EASIER

Tom Tucker
Jul 19, 2003

I want to warn you fellers
And tell you one by one
What makes a gallows rope to swing
A woman and a gun

Here's a super dumb question from a non-coder.

I've had this idea kicking around for a website for a while, basically think Fantasy Football but for something like commuter trains. You could log in and pick trains and get points depending on how late they were - fantasy but for some nonsense topic.

How hard would it be to design a website that could do this? Obviously I'd need to hire someone to do it. If it's not prohibitively expensive I may try to do it.

Ideally it would have the same functionality you'd get from a fantasy football site. Things like signing up, providing historical stats, picking a team, then pulling a large quantity of public data from other locations and then calculating scores, presenting scores, etc. Future iterations could do things like add drafting, deeper stats, leagues, etc.

I honestly have zero idea how hard this would be to implement and whether it's something I could hire someone to do as a hobby or something I'd have to actually have a big nest egg to go with.

Please redirect me if I'm in the completely wrong place.

Empress Brosephine
Mar 31, 2012

by Jeffrey of YOSPOS
I think difficulty depends on if there's a existing API for train arrivals and departures ajywheres on the web

Just-In-Timeberlake
Aug 18, 2003

Empress Brosephine posted:

I think difficulty depends on if there's a existing API for train arrivals and departures ajywheres on the web

https://new.mta.info/developers

fletcher
Jun 27, 2003

ken park is my favorite movie

Cybernetic Crumb
Certainly possible to build it yourself, you are likely looking at a project that would take a few hundred hours though just to give you a sense of effort involved, and that would be without all the bells and whistles. Depends on how badly you want to learn that stuff (which could of course lead to a career doing it). Paying somebody to build it would be expensive, I think in the tens of thousands potentially.

First thing it made me think of was that episode of Seinfeld where Kramer is betting with the cowboy on airport arrivals

Data Graham
Dec 28, 2009

📈📊🍪😋



Yeah, a lot of train systems use GTFS as the schema for encapsulating their schedules so app developers can integrate all their systems the same way. I made an app a few years ago for NJT that I've never really had the wherewithal to finish off, and it too uses GTFS. I think it's a Google standard.

The public transit systems themselves don't provide actual "APIs" per se, but rather regular dumps of their GTFS data which developers are supposed to ingest within a contracted time of it being posted (I think it's like 30 minutes, and NJT as an example puts out a new dump maybe once every 2-3 weeks, basically whenever they have a schedule change).

It's basically just a collection of table schemas that you can build a database around. Kind of a fun exercise.

https://transitfeeds.com/

Roadie
Jun 30, 2013
A rough idea of the pieces you'd need for a project like that:

- A database to keep all your data
- A service running 24/7 to monitor and log train activity to the database
- One or more services to handle user authentication, to verify and save user selections, to generate points totals (depending on if you want this last one to happen on the fly and then cache the result, or have it as a scheduled operation the rest is built around), and to supply data to the frontend
- A frontend website with the actual UI for this stuff, connecting to that service or services

Depending on the frameworks you use, you can and probably will want to combine some of these. For example, Rails, Nest.js, and Django are all different frameworks (in different languages) that take various approaches to smoothly handling both frontend UI and backend service functionality in the same project.

The least painful way to start on this kind of thing would be to use a service like Heroku that totally abstracts away most of the management stuff around your services. It's much more expensive at the high end than using a "proper" enterprise setup, but if you ever actually hit that point, you're already dealing with enough money that you can hire a guy to migrate your thing to AWS/GCS for you anyway.

Roadie fucked around with this message at 01:10 on May 28, 2021

Empress Brosephine
Mar 31, 2012

by Jeffrey of YOSPOS
This actually reminds me, a goon in here posted their project a few months back iirc, it was like a salty bet type of game website but fantasy based. Every few days I wonder how that was made.

Empress Brosephine
Mar 31, 2012

by Jeffrey of YOSPOS
https://goblin.bet/

This was the websitw

Tom Tucker
Jul 19, 2003

I want to warn you fellers
And tell you one by one
What makes a gallows rope to swing
A woman and a gun

This was all super helpful folks, thanks! I think I'll mostly keep it on the back burner until I A) become super rich (lol) or B) make it into a time-consuming hobby with all my spare time (lol)

prom candy
Dec 16, 2005

Only I may dance
I love the idea regardless

The Dave
Sep 9, 2003

The dark option is find a designer in college or something and see if they will become a “partner” and do work for little or free. Then write up the most detailed documentation on how it should work and pay an off shore contractor and hope to hell it works. You’ll be completely boned the first time a big surfaces.

Data Graham
Dec 28, 2009

📈📊🍪😋



Ah yes, "pay it forward"

kedo
Nov 27, 2007

The Dave posted:

The dark option is find a designer in college or something and see if they will become a “partner” and do work for little or free.

Don’t do this.

The Dave
Sep 9, 2003

That's why it's the dark option hah -- I'm a creative director. That strategy has merit if you give serious ownership percentage and you both believe in what you're building. In the context of my post it's merely a joke.

prom candy
Dec 16, 2005

Only I may dance
You're providing a service by teaching a young creative a very valuable lesson about working with "business people" for equity!

Tom Tucker
Jul 19, 2003

I want to warn you fellers
And tell you one by one
What makes a gallows rope to swing
A woman and a gun

I mean my web idea is going to be huge. They’ll be lining up to do it for free just to be on this rocket to the moon

Exposure and adding it to your resume are basically the same as equity when you think about it

Analytic Engine
May 18, 2009

not the analytical engine
Anyone have a recommendation for courses in React/Redux/performant JS/frontend/??? My boss wants to spend up to around $1000 on training but I haven't found anything popular that's more than the cost of a few books. Money is no object and I don't know how to leverage that

Boba Pearl
Dec 27, 2019

by Athanatos
I will never finish my website at this pace, I think I need to just do a wordpress or squarespace or whatever the hot new free site builder is called.

Analytic Engine
May 18, 2009

not the analytical engine

Analytic Engine posted:

Anyone have a recommendation for courses in React/Redux/performant JS/frontend/??? My boss wants to spend up to around $1000 on training but I haven't found anything popular that's more than the cost of a few books. Money is no object and I don't know how to leverage that

To clarify: I already know frontend and am mediocre at React, it's more about reaching an expert level in something

Adbot
ADBOT LOVES YOU

Anony Mouse
Jan 30, 2005

A name means nothing on the battlefield. After a week, no one has a name.
Lipstick Apathy

Analytic Engine posted:

Anyone have a recommendation for courses in React/Redux/performant JS/frontend/??? My boss wants to spend up to around $1000 on training but I haven't found anything popular that's more than the cost of a few books. Money is no object and I don't know how to leverage that

Frontend Masters has some good higher-level content.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply