[-] PrettyFlyForAFatGuy@feddit.uk 6 points 2 days ago* (last edited 2 days ago)

i made a joke like that yesterday. my partner and i were arriving at our camp site and my gf said "mind those kids" and i said "but they're extra points"

it's just dark humor

The number of children i have intentionally run over is... minimal

[-] PrettyFlyForAFatGuy@feddit.uk 5 points 3 days ago

Those books were such a huge part of my childhood.

She turned out to be a real disappointment

[-] PrettyFlyForAFatGuy@feddit.uk 62 points 1 month ago

i know it isnt but this has got that uncanny ai slop feel

9
submitted 2 months ago* (last edited 2 months ago) by PrettyFlyForAFatGuy@feddit.uk to c/webdev@programming.dev

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

<!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-18 23:59:52,23.381
2025-02-19 23:58:29,22.427
2025-02-19 23:58:42,22.433
2025-02-19 23:58:55,22.744
2025-02-19 23:59:08,22.538
2025-02-19 23:59:21,22.073
2025-02-19 23:59:34,22.527
2025-02-19 23:59:47,22.563
2025-02-20 23:58:26,22.615
2025-02-20 23:58:39,22.954
2025-02-20 23:58:52,22.570
2025-02-20 23:59:05,60.804
2025-02-20 23:59:18,22.928
2025-02-20 23:59:31,24.429
2025-02-20 23:59:44,23.066
2025-02-20 23:59:58,22.273
2025-02-21 13:44:19,81.440
2025-02-21 13:44:32,48.237
2025-02-21 13:44:45,47.153
2025-02-21 13:44:58,70.316
2025-02-21 13:45:11,58.714
2025-02-21 13:45:24,57.107
2025-02-21 13:45:37,39.298`

function lineToXY(line){
    const lineArr = line.split(',')
    return {
        x: new Date(lineArr[0]),
        y: Number(lineArr[1])
    }
}
const parsedData = rawData.split('\n').map(line => lineToXY(line))

window.onload = async function () {
    const distinctDays = [...new Set(parsedData.map( o => o.x.toISOString().split('T')[0]))]
    const body = document.querySelector('body')
    const charts = []

    for(const distinctDay of distinctDays){
        const chartName = `chartContainer${distinctDay.replace(/-/g, '')}`
        const data = [{
            type: 'line',
            dataPoints: parsedData.filter( o => o.x.toISOString().includes(distinctDay))
        }]

        body.innerHTML += `<div id="${chartName}" style="height: 370px; width: 100%;">`

        charts.push(new CanvasJS.Chart(chartName, {
            animationEnabled: true,
            zoomEnabled: true,
            title:{
                text: `average ping times for ${distinctDay}`
            },
            data: data
        }));
    }


    charts.forEach(ch => ch.render())


}

</script>
<script type="text/javascript" src="https://cdn.canvasjs.com/canvasjs.min.js"></script></head>
<body>

</div>
</body>
</html>

[-] PrettyFlyForAFatGuy@feddit.uk 63 points 2 months ago* (last edited 2 months ago)

Even in the UK they have put Gulf of America.

The UK Government doesn't recognize that name and have officially stated they wont (at least in the short term)

-11
submitted 3 months ago* (last edited 3 months ago) by PrettyFlyForAFatGuy@feddit.uk to c/linux@lemmy.ml

In b4 "You wont make a profit"... i know, i want to use my computer to heat my apartment. i figure that even if i'm making a "loss" each month on the mining it's still cheaper than running my apartments electric heaters when you account for the sold (or not) bitcoin.

I've been doing well keeping things warm by Folding at home on the CPU but apparently AMD GPUs aren't supported for that and i want to put my GPU to work too.

I briefly mined some litecoin in like 2013/14 when BTC was just about popping off. other than that i have no mining experience (and i would have been using windows back then)

Need to sort something soon, Jan and Feb are probs the coldest months in the UK and i have gotten this far this year without using the heaters

26

inb4 "if it's legal it's not a crime"

[-] PrettyFlyForAFatGuy@feddit.uk 131 points 8 months ago

i used to work in remote tech support. one time i disabled the network adapter on the customers computer that i was remoting into

[-] PrettyFlyForAFatGuy@feddit.uk 62 points 9 months ago

Fuck installing any game that comes with a fucking rootkit

9
/mnt/myname/steam/SteamLibrary/steamapps/common/7 Days To Die/EasyAntiCheat/EasyAntiCheat_Setup.exe: Win.Malware.Generic-9828888-0 FOUND
/mnt/myname/steam/SteamLibrary/steamapps/common/Far Cry 3/bin/pb/pbcls.dll: Win.Virus.Ramnit-9837718-0 FOUND
/mnt/myname/steam/SteamLibrary/steamapps/common/Far Cry 3/bin/pb/dll/wc002312.dll: Win.Virus.Ramnit-9837718-0 FOUND
/mnt/myname/steam/SteamLibrary/steamapps/common/Far Cry 3/bin/pb/pbcl.dll: Win.Virus.Ramnit-9837718-0 FOUND
/mnt/myname/steam/SteamLibrary/steamapps/common/SteamVR/tools/bin/win32/Qt5WebKit.dll: Win.Trojan.Ramnit-5881 FOUND

These, as far as i'm aware, have come straight from steam. I've searched for these online but haven't found anyone else getting the same error.

results from clamscan

[-] PrettyFlyForAFatGuy@feddit.uk 53 points 10 months ago* (last edited 10 months ago)

Russian civilians weren't targeted, the missile was intercepted by russian air defense on its way to a military target. The shrapnel happened to fall on that beach.

Edit: If you're thinking of holidaying in an active warzone, perhaps reconsider.

[-] PrettyFlyForAFatGuy@feddit.uk 92 points 10 months ago

Fallout 5 is going to suck

[-] PrettyFlyForAFatGuy@feddit.uk 54 points 10 months ago

I moved from .ml because of this. Haven't had a ban since and can still interact with .ml communities

134
20
[-] PrettyFlyForAFatGuy@feddit.uk 48 points 11 months ago

Remember when people balked at Trump being president back in 2014/2015 and then were very surprised come 2016 when he won?

Don't underestimate Trump

Don't be complacent... complacency is what put him in the white house the first time

Peoples memories are short, the republican propaganda machine is huge, and trump didn't lose decisively enough to reflect the damage he did to the country

[-] PrettyFlyForAFatGuy@feddit.uk 70 points 1 year ago

Yeah, Afghanistan was pretty embarrasing for the USSR

[-] PrettyFlyForAFatGuy@feddit.uk 65 points 1 year ago* (last edited 1 year ago)

I didn't see them pinching the pennies when they were trying to build pointless their 2000 mile border wall

31
submitted 1 year ago* (last edited 1 year ago) by PrettyFlyForAFatGuy@feddit.uk to c/linux@lemmy.ml

I want to display a symbol at the top right of one or both of my screens, similar to the lightning bolt symbol raspberry pi OS uses to indicate lack of power, when certain conditions are met.

I'm pretty sure i could cobble a bash script together to decide when to do it, but it's the actual displaying of the symbol i'm not sure where to start on. It would need to appear on top of anything else that may be on the screen at the time

Everything i have tried googling returns irrelevant results

view more: next ›

PrettyFlyForAFatGuy

joined 1 year ago