Discuss Scratch

god286
Scratcher
1000+ posts

Scratchinfo - an epic website

PoIygon wrote:

god286 wrote:

ANOTHER NEW UPDATE!
This time, I've made it so that you can find out the user agent of other people. This is powered by ScratchDB.
You should also make a pie chart like PostPercent for forum posts and you should do another pie chart for follows, likes and favourites
Okay. But how would I display a chart for follows likes and favourites? Each follow is one user, and we can't figure out alternate accounts.

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
god286
Scratcher
1000+ posts

Scratchinfo - an epic website

Actually, my code is so cluttered up but I can't think of a way to fix it without cluttering it any more.. I definitely need tips on clean code lol

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
god286
Scratcher
1000+ posts

Scratchinfo - an epic website

BUG FIX TIME!
I have fixed various bugs relating to ScratchDB not having a user indexed. There is a new error message that pops up when you attempt to access a user with no ScratchDB index.
Special thanks to @JoshAtticus on Scratch for reporting all these bugs.

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
JoshAtticus
Scratcher
100+ posts

Scratchinfo - an epic website

god286 wrote:

-gr wrote:

I love it! UI is simple and basic, but at the same time shows all the information needed. If you add forum post count, then I'd totally use that!
Ok!

Also.. should this be open source or not? I already have it on github as private.
Yes, I think you should make it open source. That also would make it easier for people to help you if you have problems

~~I'm JoshAtticus!~~
I enjoy scratching, playing with tech and online privacy(not google)

Check out the OSMANiC Website!

This account is in an archived state, I don't post projects here, and I might not be very active with comments and forums
I have 2 new accounts: @OSMANiC Team & @OSMANiCBetas



^^Made with Figlet^^










god286
Scratcher
1000+ posts

Scratchinfo - an epic website

JoshAtticus wrote:

god286 wrote:

-gr wrote:

I love it! UI is simple and basic, but at the same time shows all the information needed. If you add forum post count, then I'd totally use that!
Ok!

Also.. should this be open source or not? I already have it on github as private.
Yes, I think you should make it open source. That also would make it easier for people to help you if you have problems
Okay, let me get GitHub public
Edit: Github is here. https://github.com/webdev03/scratchinfo/

Last edited by god286 (Oct. 10, 2021 06:45:16)


Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
ninjaMAR
Scratcher
1000+ posts

Scratchinfo - an epic website



Mast_Scratch
Scratcher
100+ posts

Scratchinfo - an epic website

A bug in it? I typed my name in it and I get something that this user doesn't exist?


_bz
Scratcher
100+ posts

Scratchinfo - an epic website

Yes it is working but it is showing all the records for my name but why it is showing that thing.
The ScratchDB API is down or doesn't have _bz in its records.

I am doing social media and heavy distractions detox
My ArcheoScratchTube Channel
god286
Scratcher
1000+ posts

Scratchinfo - an epic website

Hmm. Let me see.

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
god286
Scratcher
1000+ posts

Scratchinfo - an epic website

_bz wrote:

Yes it is working but it is showing all the records for my name but why it is showing that thing.
The ScratchDB API is down or doesn't have _bz in its records.
_bz it works for me now. Can you show me what 404's in the console when you get the error?

Mast_Scratch wrote:

A bug in it? I typed my name in it and I get something that this user doesn't exist?
It's working for me. I have a feeling that this website hates me and my debugging now.

ninjaMAR wrote:

-snip-

It works now for me for some reason..

For debugging I have one request.
Can you show me what happens in the console when you get the error?



Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
MagicCrayon9342
Scratcher
1000+ posts

Scratchinfo - an epic website

My user agent and other indicators say “Undefined”

god286
Scratcher
1000+ posts

Scratchinfo - an epic website

MagicCrayon9342 wrote:

My user agent and other indicators say “Undefined”
Lots of people are reporting issues, this is the second time I can replicate the issue. I have absolutely no idea what happened.. can you check my source code if you understand Svelte? It's in src/routes/users/{user}.svelte (replace the { with [

Last edited by god286 (Oct. 10, 2021 21:34:59)


Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
god286
Scratcher
1000+ posts

Scratchinfo - an epic website

MagicCrayon9342 wrote:

My user agent and other indicators say “Undefined”
Edit: It was a completely different problem

Last edited by god286 (Oct. 10, 2021 22:03:34)


Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
god286
Scratcher
1000+ posts

Scratchinfo - an epic website

MagicCrayon9342 wrote:

My user agent and other indicators say “Undefined”

ScratchStats also complains, it's because your account for some reason doesn't have statistics returned in ScratchDB.

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
MagicCrayon9342
Scratcher
1000+ posts

Scratchinfo - an epic website

god286 wrote:

MagicCrayon9342 wrote:

My user agent and other indicators say “Undefined”

ScratchStats also complains, it's because your account for some reason doesn't have statistics returned in ScratchDB.
ok

Last edited by MagicCrayon9342 (Oct. 10, 2021 22:06:32)


god286
Scratcher
1000+ posts

Scratchinfo - an epic website

MagicCrayon9342 wrote:

god286 wrote:

MagicCrayon9342 wrote:

My user agent and other indicators say “Undefined”
-snipping my own image:-
ScratchStats also complains, it's because your account for some reason doesn't have statistics returned in ScratchDB.
ok
also i just now figured out how to get javascript to work. now im going crazy and adding loads of features to my website. finally!
Cool, you have your own website working too.

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
god286
Scratcher
1000+ posts

Scratchinfo - an epic website

Also, for inactive accounts, I have no idea how I should do the error handling.

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
hello-smile
Scratcher
91 posts

Scratchinfo - an epic website

god286 wrote:

Also, for inactive accounts, I have no idea how I should do the error handling.
Just do try/catch (don't do anything upon an error) and set a default value before checking. Then, you'll use the default if something happens.
god286
Scratcher
1000+ posts

Scratchinfo - an epic website

hello-smile wrote:

god286 wrote:

Also, for inactive accounts, I have no idea how I should do the error handling.
Just do try/catch (don't do anything upon an error) and set a default value before checking. Then, you'll use the default if something happens.
In the source code I have used some try catch. Good idea, I will add that in the next update.

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
god286
Scratcher
1000+ posts

Scratchinfo - an epic website

BUG FIX TIME!
I randomly got horizontal scroll - I fixed that.
I've also changed the Visit on another site buttons to Bootstrap btn-primary so that's epic.
Try catching and changing undefined to something that makes sense for someone without a coding background will be soon.

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.

Powered by DjangoBB