[-] 200fifty@awful.systems 7 points 1 year ago

Psh, I only use the Flushvalve Pro Vowel Pack. You can't beat them in terms of value for your money.

[-] 200fifty@awful.systems 7 points 1 year ago

God, that would be the dream, huh? Absolutely crossing my fingers it all shakes out this way.

[-] 200fifty@awful.systems 7 points 1 year ago

posts you can hear

[-] 200fifty@awful.systems 6 points 1 year ago* (last edited 1 year ago)

Haha, sounds like we might have to agree to disagree on this one.

Copyright is much older than 1904, though! It dates back to the printing press, when it became necessary because the new technology made it possible to benefit off writers' work without compensating them, which made it hard to be a writer as a profession, even though we want people to be able to do that as a society. Hey, wait a minute...

[-] 200fifty@awful.systems 7 points 1 year ago

Yeah but this presumes "the best way to beat 'em is to join 'em," right? Like, when all the operating systems or databases are proprietary, that's bad because those things are really useful and help you do things better and faster than you would otherwise.

But this argument applied here is like, oh no, what if large entertainment companies start making all their movies out of AI garbage, and everyone else can't do that because they can't get the content licensed? Well... what if they do? Does that mean they're going to be making stuff that's better? Wouldn't the best way to compete with that be not to use the technology because you'll get a higher-quality product? Or are we just giving up on the idea of producing good art at all and conceding that yes we actually only value cheapness and quantity?

Also, just on a personal level, for me as a J. Random Person who uploads creative work to the internet (some of which is in common crawl), but who doesn't work for a major entertainment corporation that has rights to my work, I would really prefer to have a way to say "sorry no, you can't use my stuff for this." I don't really find "well you see, we need to be able to compete with large entertainment companies in spam content generation, so we need to be able to use your uncompensated labor for our benefit without your permission and without crediting you" particularly compelling.

[-] 200fifty@awful.systems 7 points 1 year ago

hold on, when did the "first generation" of generative ai start?

[-] 200fifty@awful.systems 7 points 2 years ago

Psst, check the usernames of the people in this thread!

[-] 200fifty@awful.systems 7 points 2 years ago

I appreciate that he specifies that the dumpster fire is, in fact, metaphorical.

[-] 200fifty@awful.systems 7 points 2 years ago* (last edited 2 years ago)

day 1

part 1

perl

#!/usr/bin/env perl

use strict;
use warnings;
use 5.010;

my $total = 0;

for my $line (<>) {
    my @nums = ($line =~ /\d/g);
    $total += $nums[0] * 10 + $nums[-1];
}

say $total;

part 2

perl

#!/usr/bin/env perl

use strict;
use warnings;
use v5.010;

my %nums = (one => 1, two => 2, three => 3, four => 4, five => 5, six => 6, seven => 7, eight => 8, nine => 9);
$nums{$_} = $_ for 1..9;

my $regex = join "|", keys %nums;

my $total = 0;

for my $line (<>) {
    $line =~ /($regex)/;
    my $first_num = $nums{$1};

    my $window = 1;
    my $sub = substr $line, -1;
    while ($sub !~ /($regex)/) {
        $window ++;
        $sub = substr $line, -$window;
    }

    $sub =~ /($regex)/;
    my $second_num = $nums{$1};

    $total += $first_num * 10 + $second_num;
}

say $total;

Part 2 gave me a surprising amount of trouble. I resolved it by looking at longer and longer substrings from the end of the line in order to find the very last word even if it overlapped, which you can't do with normal regex split. I doubt this is the most efficient possible solution.

Also Lemmy is eating my < characters inside code blocks, which seems wrong. Pretend the "&lt;>" part says "<>", lol

[-] 200fifty@awful.systems 7 points 2 years ago

Oh I wasn't commenting to criticize you -- just adding more insane context for people who didn't feel like reading the full article lol

[-] 200fifty@awful.systems 7 points 2 years ago

Exman tells PopSci that, even with ChatGPT’s deficiencies, administrators believe the tool remains the simplest way to legally comply with new legislation.

I mean it's certainly simpler to do things incorrectly. Can't argue with this logic

view more: ‹ prev next ›

200fifty

joined 2 years ago