Before the big AI boom, I actually did a project where I used inferkit to generate text for the comedy factor because the unhinged nightmare garbage it spit out was extremely entertaining. I just can't imagine using chat gpt in the same way, it's so boring
The copyright clause in the US constitution (1789) also frames it in terms of granting rights to authors to "promote the progress of ... useful arts". Strictly speaking author protection is not the origin of copyright but also I was snarkily responding to a person who was arguing in favor of AI-training-as-fair-use and implying copyright was 120 years old, not trying to do a detailed explication of the origins of copyright law
this made me laugh out loud thank you
Oh man, I won't be able to unsee this, lol
The economic incentive is coming from the popularity of stir-fry.
day 2
perl
#!/usr/bin/env perl
use strict;
use warnings;
use v5.010;
use List::Util qw/ max /;
# Parse the input
my %games = ();
for my $line (<>) {
$line =~ /Game (\d+): (.+)/;
my $game_id = $1;
my $game_str = $2;
my @segments = split '; ', $game_str;
my @game = ();
for my $segment (@segments) {
my @counts = split ', ', $segment;
my %colors = (red => 0, blue => 0, green => 0);
for my $count (@counts) {
$count =~ /(\d+) (\w+)/;
$colors{$2} = $1;
}
push @game, { %colors };
}
$games{$game_id} = [ @game ];
}
# Part 1
my $part1 = 0;
game: for my $game_id (keys %games) {
for my $segment (@{$games{$game_id}}) {
next game if $segment->{red} > 12 || $segment->{green} > 13 || $segment->{blue} > 14;
}
$part1 += $game_id;
}
say "Part 1: $part1";
# Part 2
my $part2 = 0;
for my $game (values %games) {
my ($red, $green, $blue) = (0, 0, 0);
for my $segment (@$game) {
$red = max $segment->{red}, $red;
$green = max $segment->{green}, $green;
$blue = max $segment->{blue}, $blue;
}
$part2 += $red * $green * $blue;
}
say "Part 2: $part2";
Found this much easier than day 1 honestly...
I... think (hope??) the "*" is representing filled in squares in the crossword and that he has a grid of characters. But in that case the problem is super easy, you just need to print out HTML table tags between each character and color the table cell black when the character is "*". It takes like 10 minutes to solve without chatgpt already. :/
Ars technica comments consistently seem to have the worst takes on ai art I've ever seen, it's nuts
No worries!
oh hey, i love awesomewm! i'm much less amenable to fiddling with annoying linux config than I used to be, but the lua-scriptability is just appealing enough that I don't mind messing with it a bit to do silly things
I just use xfce4-terminal though lol
sidenote, I went to edit this post and accidentally deleted it instead. Would it be so hard for lemmy to use words instead of a million cryptic icons....
This is why I love Perl. Larry Wall has a linguistics background and created the only programming language where you can conjugate variables.
(I know it sounds like I'm making fun of perl here, and I am, but I also legitimately do love perl)