[-] [email protected] 8 points 10 months ago

I've thought about a similar idea before in the more minor context of stuff like note-taking apps -- when you're taking notes in a paper notebook, you can take notes in whatever format you want, you can add little pictures or diagrams or whatever, arranged however you want. Heck, you can write sheet music notation. When you're taking notes in an app, you can basically just write paragraphs of text, or bullet points, and maybe add pictures in some limited predefined locations if you're lucky.

Obviously you get some advantages in exchange for the restrictive format (you can sync/back up things to the internet! you can search through your notes! etc) but it's by no means a strict upgrade, it's more of a tradeoff with advantages and disadvantages. I think we tend to frame technological solutions like this as though they were strict upgrades, and often we aren't so willing to look at what is being lost in the tradeoff.

[-] [email protected] 7 points 1 year ago

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

[-] [email protected] 8 points 1 year ago

Wow, I guess humans and LLMs aren't so different after all!

[-] [email protected] 7 points 1 year ago

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

[-] [email protected] 8 points 1 year ago* (last edited 1 year ago)

is this trying to say "discrimination against racists is the real racism"? ... Would that be "racismism"?

[-] [email protected] 7 points 1 year ago

it made so few changes to the source material it’s plagiarizing that a bunch of folks were able to find the original video clips

Wait, for real? I missed this, do you have a source? I want to hear more about this lol

[-] [email protected] 7 points 1 year ago

When people say stuff like this it always makes me wonder "what pace, exactly?" Truthfully, I feel like hearing someone say "well, generative AI is such a fast-moving field" at this point is enough on its own to ping my BS detector.

Maybe it was forgivable to say it in May 2023, but at this point it definitely feels like progress has slowed down/leveled off. AI doesn't really seem to me to be significantly more capable than it was a year ago -- I guess OpenAI can generate videos now, but it's been almost a year since "will smith eating spaghetti," so...

[-] [email protected] 7 points 1 year ago* (last edited 1 year ago)

I'm so sorry to inform you...

(10,959 words... I don't think I hate myself enough to read this one all the way through.)

[-] [email protected] 8 points 2 years ago* (last edited 2 years ago)

we simply don't know how the world will look if there are a trillion or a quadrillion superhumanly smart AIs demanding rights

I feel like this scenario depends on a lot of assumptions about the processing speed and energy/resource usage of AIs. A trillion is a big number. Notably there's currently only about 0.8% this number of humans, who are much more energy efficient than AIs.

[-] [email protected] 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

view more: ‹ prev next ›

200fifty

0 post score
0 comment score
joined 2 years ago