Coder Social home page Coder Social logo

flightlessmango.com's Introduction

Deploy

  • git clone https://github.com/flightlessmango/flightlessmango.com && cd flightlessmango.com
  • install rvm \curl -sSL https://get.rvm.io | bash
  • install gcc make postgresql yarn python2
  • install ruby rvm install ruby-2.6.4
  • restart the shell to make rvm work as inteded
  • switch to projects ruby version rvm use 2.6.4
  • install the ruby gems bundle
  • some more dependencies yarn
  • add some required folders mkdir -p shared/log shared/pids shared/sockets
  • initialize postgresql and create a user https://wiki.archlinux.org/index.php/PostgreSQL#Initial_configuration
  • load database migrations rake db:setup
  • run the server rails s
  • open rails console rails c
  • create an admin user User.create(email: "[email protected]", username: "admin", admin: true, password: "1234")
  • connect 127.0.0.1:3000

flightlessmango.com's People

Contributors

dependabot[bot] avatar flightlessmango avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zer0nka bagage

flightlessmango.com's Issues

Initial data / data example?

I'm trying to host an instance locally, but yet my database is empty and it seems the app expects some data to be already present (for instance games with source mango).

Is there a way to have a working local copy?

I tried to manually create these data (and probably doing it wrong) without success yet:

User.create(email: "[email protected]", username: "admin", admin: true, password: "1234")
Api.create(name: "api-test")
Game.create(name: "game1", slug:"game1", source:"mango", image_url: "https://github.com/flightlessmango/flightlessmango.com/raw/master/app/assets/images/mangoLogoSmall.png")
Type.create(name: "type1")
Variation.create(name: "var1", type_id: 1)

Also some MANGO/OCAT/HML and game benchmark samples would be great.

Thanks!

Uploads for any non-indexed game seem to be broken

So, I'm user #44 in the history of the website, so needless to say I've been there forever. I have a ton of benchmarks, but it's been a few years since I've posted a benchmark, and I remember it was always somewhat cumbersome, but I definitely remember uploading benchmarks lol.

Well now, I wanted to upload a benchmark for Jedi Survivor, and I literally cannot find a single way to do it. Even using F5 to upload from in-game shows it's uploading:

[2023-05-29 05:34:32.275] [MANGOHUD] [info] [logging.cpp:67] /home/matt/JediSurvivor_2023-05-29_05-33-39_summary.csv
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  256k    0   103  100  256k     47   118k  0:00:02  0:00:02 --:--:--  118k

But there's nothing there (I looked under my username and at the "Latest User Benchmarks."

I know you haven't worked on this site in a long time, but it was INCREDIBLY useful and I used to brag on it constantly. Is this abandoned?

can't update benchmarks

whenever I try to update a benchmark I get redirected to a 422 error page stating

The change you wanted was rejected.
Maybe you tried to change something you didn't have access to.
If you are the application owner check the logs for more information.

error

Not All of a User's Benchmarks are Shown When Visiting Their Profile

I uploaded a benchmark a week or two ago, I wanted to compare Borderlands 3 DXVK and VKD3D-Proton on my 3090 with my Borderlands 3 DXVK and VKD3D-Proton 3090 benchmark from the end of 2020, to do a year-over-year comparison. So anyway, I uploaded the logs, submitted the benchmark, viewed the results, and copied the link to post it on reddit to show the impressive increase in performance of both DXVK and VKD3D-Proton on Nvidia over the last year.

A week or so later, I needed to grab that link again to show someone the benchmark. I went to flightlessmango.com, clicked my profile, and it's not there. Under my username, it says Benchmarks: 18, but there are only 14 benchmarks shown when I click on my profile.

But the thing is, I went and found where I had posted the direct link the week before and clicked it, and sure enough it took me to the benchmark. So the benchmark is there, on the website, but there's no way of finding it unless you have the direct link. It's basically the equivalent of an unlisted video on YouTube.

Even if you go to "User Benchmarks" and find Borderlands 3, it only shows one of my BL3 benchmarks.

Here are all relevant links so you can see what I'm talking about:

My profile on the site: https://flightlessmango.com/users/44

The phantom benchmark: https://flightlessmango.com/games/26483/logs/2428

Borderlands 3 User Benchmarks (you'll see only one of my benchmarks is visible): https://flightlessmango.com/games/3080

I have other games where I've uploaded multiple benchmarks and all of them are find-able, I have 8 Titanfall 2 benchmarks as you can see on my profile.

Also, as I said the website says I have 18 benchmarks but only 15 are there when you go to my profile, but in addition to the Borderlands 3 benchmark missing, Shadow of the Tomb Raider is listed but there's no benchmark there, it's just empty:

Screenshot_20220201_012039

Can't upload big logs

The server throws a 413 Request Entity Too Large when I try to upload a large log file.
I have a 19MB log.

No Way to Upload Multiple Runs on One Benchmark

Hey, I've seen your benchmarks where you have multiple runs all in one graph, but on the website it's not possible for users, at least it doesn't seem like it. After I upload a benchmark for one run, if I click "Edit Benchmark" and upload an additional one, it just replaces the original. There's no way to have more than one. Here are some screenshots, the benchmark has one file, and then I click "Edit Benchmark" and upload a second file, but then it just has the new benchmark and the original is gone.
2020-02-25-014848_3286x1080_scrot

2020-02-25-014626_3286x1080_scrot
2020-02-25-014635_3286x1080_scrot

Mislabeled graph

On user benchmark, the gpu load graph is mislabeled as cpu load, creating confusion. CPU load is actually not shown in the graphs.

Add new ways to login into the website

Greetings.
As I don't want to use Discord and create an account on this platform, there is currently no way for me to login on the website.
Why not support auth from Github or just standalone accounts?

Ruby exception when uploading benchmark

Hello,

I just tried to upload two files of a captured benchmark and got the following exception:

NoMethodError in LogsController#create
undefined method `upload' for nil:NilClass 

    @game = @log.game
    respond_to do |format|
      if @log.save(:validate => false)     <---- this is the error line
        if @log.uploads.any?
          @log.parse_upload
        end

Application Trace:
app/controllers/logs_controller.rb:32:in `block in create'
app/controllers/logs_controller.rb:31:in `create' 

I tried with and without description, and used benchmarks files that worked fine in previous submissions, but the error still persists.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.