question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

  • g++ / clang++ 両方対応させる
    • これは必須
  • キャッシュさせたい
  • 誤差ジャッジ
  • include を展開して提出したい
    • hoge.hpp みたいなファイルを置いて #include "hoge.hpp" としたいが、これをすると提出が面倒
    • #pragma once を見ながら #include "..." を再帰的にすべて展開するコードを書けばよい
  • https://judge.yosupo.jp から testlib.h 形式のジャッジプログラムを拾ってきて自動で利用してほしい
    • oj にそれ用の機能が入ってから
    • 内部的には実はすべて special judge 扱いになってて常に checker.cpp が実行されてるぽい? あとで @yosupo06 に確認
  • 名前はこれでいいのか
    • とりあえず内容に即した説明的な感じのを付けてるが「そもそも CI って何ですか?」ってなるので library-verify-helper とかの方がよいかも
    • kmyk/... よりも beet-aizu/... の方がよくないか?
  • (要検討) VS Code 向けの snippet を吐く
    • 望まれていそうだが、本当に用意すべきは include + 展開だったりしないか
    • ついでに Vim と Emacs と Atom と CLion にも対応してください! って言われて大変になりそう
  • (要検討) HTML を吐く
  • (要検討) C++ 以外も対応
    • いつかすることにはなるだろうけど C++専用 + その他全て向け汎用のもの に留めたい
    • じゃあ Python だけ…… って言って対応すると D と Rust と Java と C# も対応したくなってコードが爆発しそう
  • (要検討) GitHub Actions 以外の CI も対応
    • 自前で .travis.yml とかを書けば動くし、必要ないのでは?
  • (要検討) 有名フレームワークとの協調
    • Google C++ Testing Framework など
    • ちゃんとしたやつの枠組みに乗せておくと後々困らないが、 覚えることが多くなってつらそうだしなしでよさそう?
  • GitHub Actions にして Marketplace に公開
  • PyPI に登録
    • しばらくは GitHub の URL 指定で十分そう
  • ドキュメントを書く
    • はい
    • 各人のライブラリ repo の URL を入力させて GitHub Actions を追加するやつのページに自動で飛ばすとつよそう → とりあえずこれはやった
  • refactoring
    • 特に test.sh を Python で再実装する

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:54 (39 by maintainers)

github_iconTop GitHub Comments

2reactions
kmykcommented, Nov 29, 2019

リアクティブについて言えば、oj はすでにリアクティブに対応していて CI からそれを呼び出すのは比較的楽です

1reaction
kmykcommented, Dec 11, 2019

web installer が微妙に間違ってたやつの、ごめんなさいのプルリクをした https://github.com/takata-daiki/algorithms/pull/1 https://github.com/rsm9/cplib-cpp/pull/1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft ToDo
Microsoft To Do.
Read more >
Microsoft To Do
Microsoft To Do. To Do gives you focus, from work to play. Get started · Learn more. Download To Do. Terms of use...
Read more >
Todo Cloud by Appigo - The Original To-do List App & Task ...
Todo helps you organize your tasks and projects and power through your to-do list like a champion. From grocery shopping to completing work...
Read more >
Todoist | A To-Do List to Organize Your Work & Life
Trusted by 30 million people and teams. Todoist is the world's favorite task manager and to-do list app. Finally become focused, organized and...
Read more >
todo - Wiktionary
full exertion of one's strength, voice, shout, run, etc. (gambling) act of betting all one's money in a single game.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found