Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Tunnel Master
@tunnelmaster_gitlab
[discord] <dbaer> and yeah theyve got one called charting which looks maybe like what you want
[discord] <Nicd> Lol $129
This message was deleted
[discord] <Nicd> Let's not do that
[discord] <dbaer> its just the video notes lol
[discord] <Nicd> Anyway I'll just use chartjs so I can progress
[discord] <dbaer> Β―_(ツ)_/Β―
[discord] <Nicd> Just need to fix the issues going from 2 to 3
[discord] <Nicd> Since the dataset comes directly from the backend, it works really nicely
[discord] <Nicd> Well chartjs is still shit but at least it's working right now
[discord] <dbaer> @Nicd half of that course is also free btw
[discord] <dbaer> i'm surprised you hadn't heard of it
[discord] <Nicd> I'm not really a course/book person
[discord] <dbaer> fair enough
[discord] <Nicd> Much to my shame I've had Elixir in Action for 2 or 3 years and haven't read a page
Tunnel Master
@tunnelmaster_gitlab
[discord] <dbaer> mmm. i've glanced at the Phoenix book like once. i think i bought it like 5 or 6 years ago now
[discord] <Nicd> I have another book also, both won from the forum for being a good boy. Haven't looked at that either. I should.
[discord] <Nicd> Thanks for the tips though
[discord] <dbaer> indeedly
Tunnel Master
@tunnelmaster_gitlab
[discord] <dbaer> i'm gonna have to go through all this myself converting my graphs to liveview eventually
[discord] <dbaer> it'll probably be my easiest liveview problem though hahahah
[discord] <dbaer> @Nicd i'm still converting my templates to heex
[discord] <Nicd> I left some as liveeex
[discord] <Nicd> Will maybe do them eventually or not
Tunnel Master
@tunnelmaster_gitlab
[discord] <dbaer> i probably should have done that, but its too late now. the first thing i did was a bash for loop to rename everything to heex and i'm well into conversion ;_;
[discord] <Nicd> Oh no
[discord] <Nicd> Good luck, imma sleep now
[discord] <dbaer> o/
Tunnel Master
@tunnelmaster_gitlab
[discord] <Nicd> and there it is, fixed for new chartjs version. it gets the correct languages from the backend
https://cdn.discordapp.com/attachments/510060567298310146/886651674414964756/Screenshot_2021-09-12_at_19.36.31.png
[discord] <Nicd> this also fixes the issue of having to deduce the correct latest day to show since we don't have the user's timezone on the backend
Tunnel Master
@tunnelmaster_gitlab
[discord] <Nicd> the right side axis is for the flow minutes, will add that data next
Tunnel Master
@tunnelmaster_gitlab
[discord] <Nicd> also need to sort the legend based on most XP and group those that overflow into "Others"
Tunnel Master
@tunnelmaster_gitlab
[discord] <Nicd> Nice, black screen of death. Time to end for tonight then :P
Tunnel Master
@tunnelmaster_gitlab
[discord] <> GayCookie.dev ❀🌈> Black? xD
[discord] <> GayCookie.dev ❀🌈> Now I'm curious which OS you run xD
Tunnel Master
@tunnelmaster_gitlab
[discord] <Nicd> macOS
[discord] <Nicd> the kernel panic screen is black
[discord] <dbaer> M1 is great in the regard. i haven't gotten a kernel panic, but i did get a pink screen and forcible reboot
[discord] <Nicd> just finished Bioshock
Tunnel Master
@tunnelmaster_gitlab
[discord] <> GayCookie.dev ❀🌈> Ahh haha, that explains much :giggle:
[discord] <> GayCookie.dev ❀🌈> I mean, mine is black too but not sure how it looks for you with MacOS
Tunnel Master
@tunnelmaster_gitlab
Tunnel Master
@tunnelmaster_gitlab
[discord] <Jonathan Hacklife πŸ› > @Nicd
function saludar(developer) {
    let hoy = Math.round((Date.now() - Date.parse(new Date().getFullYear(), 0, 0)) / 86400000)
    if (hoy == 256) {
        return `‘FELIZ DÍA ${developer.toUpperCase()}!`;
    }
}

saludar("Nicd")
[discord] <Nicd> Hmmmm I don't that'll work on a leap year ;)
[discord] <Nicd> Happy programmers' day :)
Tunnel Master
@tunnelmaster_gitlab
[discord] <Nicd> feels like there's something wrong with the flow calculation though since it says that the last provisional flow was on the 7th but I've been programming enough this evening
Tunnel Master
@tunnelmaster_gitlab
[discord] <> GayCookie.dev ❀🌈> You too! :felix_love:
[discord] <> GayCookie.dev ❀🌈> I keep forgetting thats a thing xD