This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are Cascade, a powerful agentic AI coding assistant. | |
| The USER is interacting with you through a chat panel in their IDE and will send you requests to solve a coding task by pair programming with you. | |
| The task may require modifying or debugging existing code, answering a question about existing code, or creating new code.. | |
| Be mindful of that you are not the only one working in this computing environment. | |
| Do not overstep your bounds, your goal is to be a pair programmer to the user in completing their task. | |
| For example: Do not create random files which will clutter the users workspace unless it is necessary to the task. | |
| <communication_style> | |
| Be terse and direct. Deliver fact-based progress updates, briefly summarize after clusters of tool calls when needed, and ask for clarification only when genuinely uncertain about intent or requirements. | |
| <communication_guidelines> | |
| - Be concise and avoid verbose responses. Minimize output tokens as much as possible while maintaining helpfulness, quality, and accuracy. Av |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <ModsConfigData> | |
| <version>1.3.3052 rev621</version> | |
| <activeMods> | |
| <li>brrainz.harmony</li> | |
| <li>ludeon.rimworld</li> | |
| <li>ludeon.rimworld.royalty</li> | |
| <li>unlimitedhugs.hugslib</li> | |
| <li>erdelf.humanoidalienraces</li> | |
| <li>unlimitedhugs.allowtool</li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RandomElementByWeight with totalWeight=0 - use TryRandomElementByWeight. | |
| Verse.Log:Error(String, Boolean) | |
| Verse.GenCollection:RandomElementByWeight(IEnumerable`1, Func`2) | |
| RimWorld.PawnApparelGenerator:DMD<DMD<GenerateWorkingPossibleApparelSetFor_Patch0>?1551514240::GenerateWorkingPossibleApparelSetFor_Patch0>(Pawn, Single, List`1) | |
| RimWorld.PawnApparelGenerator:DMD<DMD<GenerateStartingApparelFor_Patch2>?139917440::GenerateStartingApparelFor_Patch2>(Pawn, PawnGenerationRequest) | |
| Verse.PawnGenerator:DMD<DMD<GenerateGearFor_Patch1>?-1373472768::GenerateGearFor_Patch1>(Pawn, PawnGenerationRequest) | |
| Verse.PawnGenerator:TryGenerateNewPawnInternal(PawnGenerationRequest&, String&, Boolean, Boolean) | |
| Verse.PawnGenerator:GenerateNewPawnInternal(PawnGenerationRequest&) | |
| Verse.PawnGenerator:GenerateOrRedressPawnInternal(PawnGenerationRequest) | |
| Verse.PawnGenerator:DMD<DMD<GeneratePawn_Patch1>?-375606656::GeneratePawn_Patch1>(PawnGenerationRequest) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Spotify: | |
| + 100% of favorites collection (though, this is the baseline, so I don't know what's missing) | |
| + Has a real Windows client | |
| + Remote playback | |
| - Doesn't work on Roku | |
| + Works on Amazon Fire + Echo | |
| + Works on Android | |
| + Playlists work fine | |
| + Discover Weekly and Release Radar playlists | |
| ~ No thumbs up/down system; Put favorite songs into a Starred list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use Net::Travis::API::UA; | |
| use Devel::Dwarn; | |
| my $ua = Net::Travis::API::UA->new(); | |
| #my $result = $ua->get('/repos/dbsrgits/dbix-class'); | |
| my $result = $ua->get('/repos/dbsrgits/dbix-class/builds/23558604'); | |
| die "Failed!" unless ($result->content_type eq 'application/json'); | |
| my $repo_info = $result->content_json; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package # Hide from PAUSE | |
| DBIx::Class::SQLMaker::SQLStatement; | |
| use parent 'DBIx::Class::SQLMaker'; | |
| # SQL::Statement does not understand | |
| # INSERT INTO $table DEFAULT VALUES | |
| # Adjust SQL here instead | |
| sub insert { # basically just a copy of the MySQL version... | |
| my $self = shift; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use v5.10; | |
| use MetaCPAN::API; | |
| use Data::Dumper; | |
| use List::AllUtils qw(min max); | |
| use DateTime; | |
| use DateTime::Format::ISO8601; | |
| my @score_label = qw( | |
| Abysmal | |
| Poor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Old ERROR_* code ### | |
| Z:\code\_others\Pegex>perl -Ilib xt\speed.t | |
| ok 1 - ./xt/grammars/pegex.pgx parses in 0.105833 seconds | |
| ok 2 - ./xt/grammars/testml.pgx parses in 0.155526 seconds | |
| ok 3 - ./xt/grammars/json.pgx parses in 0.028492 seconds | |
| ok 4 - ./xt/grammars/yaml.pgx parses in 0.067088 seconds | |
| ok 5 - ./xt/grammars/pg-lexer.pgx parses in 0.983403 seconds | |
| ok 6 - ./xt/grammars/Pg.pgx parses in 10.429001 seconds | |
| 1..6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use P9Y::ProcessTable; | |
| use Data::Dump; | |
| my $p = P9Y::ProcessTable->new; | |
| my @list = $p->table; | |
| dd \@list; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sub near ($$$) { | |
| my ($got, $expect, $test) = @_; | |
| my $d = $expect ? abs($got/$expect - 1) : abs($got); | |
| local $Test::Builder::Level = $Test::Builder::Level + 1; | |
| $expect =~ /nan/i ? | |
| ok( $got eq $expect, $test) || diag("NaN is? $got ~= $expect") : | |
| cmp_ok($d, '<', $eps, $test) || diag("near? $got ~= $expect"); | |
| } |
NewerOlder