Skip Navigation

Search

Web Development @programming.dev
PrettyFlyForAFatGuy @feddit.uk

Why wont these charts render

i'm not serving this anywhere. it's just in a html file i'm opening locally, and it uses ChartJS. I'm trying to create charts for each day of a given csv of data so i can complain to my ISP about their DOGSHIT service. for some reason only the last chart is rendering and i can't figure out why, there's nothing in the console. I'm not a frontend guy so could be something very obvious.

I have 4 days of data so there should be 4 charts. The actual amount of data is much much larger than the subset i have posted below; over 6000 datapoints per day

 undefined
    
<!DOCTYPE HTML>
<html>
<head>  
<script>
const rawData = `2025-02-18 23:56:50,23.228
2025-02-18 23:57:03,23.076
2025-02-18 23:57:16,23.560
2025-02-18 23:57:29,23.492
2025-02-18 23:57:42,23.383
2025-02-18 23:57:55,23.189
2025-02-18 23:58:08,23.389
2025-02-18 23:58:21,23.202
2025-02-18 23:58:34,23.518
2025-02-18 23:58:47,23.678
2025-02-18 23:59:00,23.547
2025-02-18 23:59:13,23.515
2025-02-18 23:59:26,29.981
2025-02-18 23:59:39,23.165
2025-02
  
Web Development @programming.dev
DanskjÀvel esq. @aggregatet.org

Having trouble with Jekyll on a new laptop: Help a casual web dev dum-dum out!

Since I moved to a new laptop, my Jekyll setup seems to have become unusable. It appears the gems required by my site aren't found, or properly configured, even after a bundle install command that updated a bunch of them.

Error messages on bundle exec jekyll serve: https://pastebin.com/gyg8YpMx

Result of bundle install: https://pastebin.com/LKSstmJt

I'm by no means a Jekyll or Ruby expert (barely a user), but I used to have a tolerably functional environment to update my site. Any help on getting that up and running again is much appreciated!

Update 1:

I managed to solve the SASS issue that @[email protected] pointed out. Now the bundler asks about a possible typo in a gallery plugin 😰

See new error messages on bundle exec jekyll serve: https://pastebin.com/kk6HHv7Y I hope not every line in there is an error I have to fix...

Update 2 (solved)

Edited the RB plugin file acco

Web Development @programming.dev
Rick_C137 @programming.dev

nginx, Default server do not works !

Hi,

You might be aware that if a DNS request point your nginx server.

and this later do not have a server rule for it , nginx will server anyway the first server found in your config file, WTF !

So I've found https://stackoverflow.com/a/23281442

 nginx
    
server {
  listen       80 default_server;
  server_name  everythingelse;

  error_page 404 /404.html;

  # Everything is a 404
  location / {
    return 404; #return the code 404
  }

  # link the code to the file
  location = /404.html {
    #EDIT this line to make it match the folder where there is your errors page
    #Dont forget to create 404.html in this folder
    root  /var/www/nginx/errors/;
  }
}

  

But this is not working !

I made one of my domain pointing to this nginx server, and he still server another site aka server For httpS for http nothing appear..

Thanks.