Skip to content
ℕ𝔸𝕊𝔸™ℕ𝕒𝕤𝕒𝕣𝕖™𝕊𝕡𝕒𝕔𝕖𝕏™ https://nasa.re/

Nasare™🚀

フレッシュ スペース & テクノロジー NEWS📢

  • About 𝒩𝒶𝓈𝒶𝓇𝑒™
  • SMART Tools
  • SMART AI
    • Kubeshark PCAP Export/Import
    • Coaching engineering managers to employ on organizational issues
    • Zelda: Hyperlink’s Awakening game engine documentation (2021)
    • Commercial Resupply Services-CRS
  • Show HN
    • WINd3x、iPod Bootrom エクスプロイトは 10 年遅かった
    • Just by Notでプログラミングするシステム オブジェクト指向プログラミングの活用
    • 主な BGP 増加をレジデンス Windows デスクトップに追加する
    • ガジェットの複雑さが増し、余分な IP の再利用が促進される
    • 新しい GitHub CLI 拡張インストゥルメント
    • Kubernetes を 7,500 ノードにスケーリング (2021 年)
    • Wander アプリ用の軽量なオンザフリット構成ライブラリ
    • Ask HN
      • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
      • Describe HN: Kandria, an action RPG made in Frequent Voice, is now out
      • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
      • Brand HN: Motion photographs Watchlist Chrome Extension
      • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
      • Level to HN: An initiate source tool to generate Jet Engine compressors
      • Insist HN: Ov – characteristic smartly off terminal pager
      • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
      • Level to HN: A corpulent game of snake encoded in a url
      • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
      • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
      • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
      • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
      • Speak HN: What sub $200 product improved HN readers’ 2022
      • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
      • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
    • Show HN
      • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
      • Android phones will at the moment obtain iPhone-love SOS satellite texting
      • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
      • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
      • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
      • Insist HN: Ov – characteristic smartly off terminal pager
      • Level to HN: An initiate source tool to generate Jet Engine compressors
      • Speak HN: What sub $200 product improved HN readers’ 2022
      • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
      • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
      • Level to HN: A corpulent game of snake encoded in a url
    • Brand HN: Motion photographs Watchlist Chrome Extension
    • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
    • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
    • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
    • Tag HN: Using Key-Value Retail outlets in Serverless Codehooks.io Applications
    • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
    • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
    • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
    • Brand HN: Motion photographs Watchlist Chrome Extension
    • Level to HN: A corpulent game of snake encoded in a url
    • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
    • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
    • Speak HN: What sub $200 product improved HN readers’ 2022
    • Level to HN: An initiate source tool to generate Jet Engine compressors
    • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
    • Insist HN: Ov – characteristic smartly off terminal pager
    • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
    • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
    • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
    • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
  • A Computer virus and a Dilemma
    • OCIS – OwnCloud Countless Scale
    • A Princeton student built an app which is ready to detect if ChatGPT wrote an essay
    • GitHub Is Sued, and We Would possibly perhaps Learn Something About Creative Commons Licensing
    • Adobe’s Command material analysis can be using photos/videos to narrate AI w/o consent
    • Ultralearning a.k.a. how I learned to code
    • Automatic1111 is assist on GitHub after taking away Embedding Links
    • Where Your Sides Came From
    • What Is a Pig Butchering Rip-off?
    • Submit-processing is ruining iPhone photos
    • Clos Topologies and Centralized Retain a watch on in Google’s Datacenter Community
    • Miller Engineering DS-1 House Planetarium
    • Gimel Studio: Non-harmful, 2D image editor
  • Technology
    • Miller Engineering DS-1 House Planetarium
    • Apple Doctors: to construct it as a file it is advisable to electronic mail it to your self
    • The Air India passenger who urinated on a girl has been fired by Wells Fargo
    • The Filesystem Hierarchy Usual Comes to Guix Containers
    • Sooner than it sued Google for copying from Java, Oracle changed into as soon as copying IBM’s SQL (2020)
    • The i3-gaps mission has been merged with i3
    • Making an Alphorn from Scratch
    • Apple: Braille Individual Guides
    • MotherDuck Is a Original Thought
    • The class of CGI and simple make
    • Like a mercurial tour of DragonFly BSD 6.4?
    • computer science
    • AI
    • Artificial intelligence
    • Technology
    • Ai
    • Apple
    • digital
  • TOP HN
    • anti-Mastodon
    • TOP HN
      • Show HN
      • Ask HN
      • coding
      • ガジェットの複雑さが増し、余分な IP の再利用が促進される
      • 新しい GitHub CLI 拡張インストゥルメント
      • Kubernetes を 7,500 ノードにスケーリング (2021 年)
      • Just by Notでプログラミングするシステム オブジェクト指向プログラミングの活用
      • Describe HN: Kandria, an action RPG made in Frequent Voice, is now out
      • WINd3x、iPod Bootrom エクスプロイトは 10 年遅かった
      • Wander アプリ用の軽量なオンザフリット構成ライブラリ
      • Artificial intelligence
      • 主な BGP 増加をレジデンス Windows デスクトップに追加する
      • Technology
      • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
      • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
      • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
      • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
      • Advise HN: Daft Art – an album veil maker powered by AI and curated aesthetics
      • Brand HN: Motion photographs Watchlist Chrome Extension
      • Declare HN: I wrote a WebAssembly Interpreter and Toolkit in C
      • Demonstrate HN: ClickHouse-local – a runt instrument for serverless files analytics
      • Describe HN: Kandria, an action RPG made in Frequent Voice, is now out
      • Existing HN: Connmap – Desktop widget that reveals your TCP company on an international diagram
      • Insist HN: Ov – characteristic smartly off terminal pager
      • Just by Notでプログラミングするシステム オブジェクト指向プログラミングの活用
      • Kubernetes を 7,500 ノードにスケーリング (2021 年)
      • Level to HN: A corpulent game of snake encoded in a url
      • Level to HN: An initiate source tool to generate Jet Engine compressors
      • Level to HN: Graphic-Walker – A special kind of originate-offer different to Tableau
      • Point out HN: Kweb: A a ways away interface to the earn browser’s DOM
      • Present HN: Nanelo DNS – Privacy-Kindly, European Nameservers
      • Reward HN: Vim on-line editor the exercise of WebAssembly, storing files the exercise of IndexedDB
      • Show HN: AREnets – TensorFlow-basically based mostly Relation Extraction equipment for work in Colab
      • Speak HN: What sub $200 product improved HN readers’ 2022
      • Uncover HN: Easy internet app for teenagers to management a single Philips Hue light
      • Wander アプリ用の軽量なオンザフリット構成ライブラリ
      • WINd3x、iPod Bootrom エクスプロイトは 10 年遅かった
      • ガジェットの複雑さが増し、余分な IP の再利用が促進される
      • 主な BGP 増加をレジデンス Windows デスクトップに追加する
      • 新しい GitHub CLI 拡張インストゥルメント
      • ロンドンで*ダウン*を継続的に見つめる: Pavement Oddities
      • 報酬 HN: C の 30 行でスピンロック
      • FAA の NOTAM とは何ですか? 航空専門家が機械の仕組みを説明
      • ナノGPT
      • 1 ビット LCD のグレースケール (2022)
      • The Muse (YC W12) は FP&A のシニア ディレクターを採用しています
      • Zen (YC S21) はグロース エンジニアを採用しています
      • Tall Inquire of (YC W21) が B2B 回顧録の幹部を採用
      • Actiondesk (YC S19) は、プロダクト ドレスメーカーを採用しています (4-6 か月の契約)
      • Oven (YC S19) は、Bun を作成するために C/C++ または Zig エンジニアを採用しています。
      • WInd3x, the iPod Bootrom exploit 10 years too unhurried
      • Sign HN: FASTA recordsdata を操作するための FUSE モジュール
      • HN を指します: Socketify.py: PyPy3 および Python3 用の Http/Https および WebSocket サーバー
      • Wage Development Continues to Gradual in the UK and Euro House
      • Stage Supervisor for the unimpressed: 1 Getting started
      • First public free up of Pushup: a brand unique compiler for making net apps in Trip
      • Fixing Cart-Pole Swingup with a Hierarchical Controller
      • Flight Testing the Touchdown Radar for Mars Science Laboratory 2011-06-21T17:36:36Z
      • Flightcontrol (YC W22) is hiring first Developer Recommend
      • Flying boats and other tech for cleaner shipping
      • Four Finalist Touchdown Location Candidates for Mars Science Laboratory 2008-11-19T16:21:01Z
      • France’s prized nuclear sector stalled in Europe’s hour of want
      • French startup unveils new residential thermo-acoustic warmth pump
      • FTC Cracks Down on Firms That Impose Contaminated Noncompete Restrictions
      • FTX’s Aged Prime Lawyer Aided US Authorities in Bankman-Fried Case
      • FY18 NASA lėšų šnypštimas 2017-05-22T00:00:00Z
      • G-3PO: A protocol droid for Ghidra, or GPT-3 for reverse-engineering
      • Gail.com FAQ
      • Gemini-Titan (GT)-6 – Gemini 6 of 7 – 지역 사진 – 외부 지역 1965-12-15T00:00:00Z
      • Geoffrey Hinton Publishes Original Deep Learning Algorithm
      • Germany warns: AI fingers flee already underway (2021)
      • Gimel Studio: Non-harmful, 2D image editor
      • GitHub Availability File
      • GitHub Is Sued, and We Would possibly perhaps Learn Something About Creative Commons Licensing
      • Google needs RISC-V to be a “tier-1” Android architecture
      • Google researcher, lengthy out of math, cracks devilish dispute about gadgets
      • Google start sourced CDC File Transfer from the ashes of Stadia
      • GRC-2003-C-02097 2004-05-01T00:00:00Z
      • GRC-2013-C-05246 2009-11-26T00:00:00Z
      • Hello world!
      • Highlights of Science Launching on SpaceX CRS-15 2018-06-24T00:00:00Z
      • Hilf Al-Fudul
      • HiOperator (YC S16) Is Hiring VP of Engineering
      • HN を指します: Socketify.py: PyPy3 および Python3 用の Http/Https および WebSocket サーバー
      • How kind I blueprint a pair of buttocks?
      • How will the haj switch as international temperatures upward thrust?
      • Human gene linked to bigger brains turned into as soon as born from apparently pointless DNA
      • Hundreds of scientists publish a paper every 5 days
      • In Favor of Friction and Flexibility
      • Indicate HN: Klotho – Change into straightforward code into cloud native code
      • Indoor farming isn’t exact for the smartly off
      • Iranian assault drone came across to have parts from more than a dozen US companies
      • Israeli researcher experiences leak of 235M Twitter-linked e-mail addresses
      • Jam Stations in Low Earth Orbit
      • Jazz Is Freedom
      • JPL-20171102-TECHf-0001-ドローントリップ 人間vs機械 2017-11-17T00:00:00Z
      • JPL에서 NASA의 MSI 콘도미니엄 액셀러레이터 2022-08-25T00:00:00Z
      • JPSO extinct facial recognition abilities to arrest a man. The tech modified into once defective
      • jsc2017e136097 – 12 月 4 日,俄罗斯联邦地区公司 (Roscosmos) 的远征 54-55 号机组人员 Anton Shkaplerov 在俄罗斯 Principal person City 的加加林宇航员训练中心上向整洁的祝福者挥手致意,当时他登上了前往附近的 Chkalovsky Ai 的公共汽车2017-12-04T00:00:00Z
      • Kemble’s Cascade of Stars
      • Kepler-90 マシン (アーティストの考え) 2017-12-14T00:00:00Z
      • Koichi Wakata SpaceX 코칭 2022-06-27T00:00:00Z
      • KSC and Proud to Be Heart-Wide Diversity Tournament 2019-08-20T00:00:00Z
      • KSC ir „Proud to Be Center“ įvairovės turnyras 2019-08-20T00:00:00Z
      • AI
      • Artificial intelligence
      • Auto-Generate
      • anti-Mastodon
      • Awesome
      • BioSentinel
      • CATEGORIES
      • DC
      • Dione
      • Diversity
      • drone racing
      • drones
      • Dulles
      • education
      • Event
      • filmstock
      • Goddard
      • AI
      • Ask HN
      • autonomous
      • coding
      • computer science
      • Clusters
      • Artificial intelligence
        • Ai
        • Apple
        • Tesla
        • digital
        • MESSENGER
        • Device
        • Charts
        • change
        • Shows
        • fraud
        • Former
        • fucking
        • purge
        • Works
        • entering
        • Databases
        • Review
        • Strangely
        • Instinct
        • staff
        • Salesforce
        • intern
        • Involuntary
        • promise
        • Twilio’s
        • nisv live
        • attack
        • Iranian
        • France’s
        • prized
        • infrastructure
        • Debian-based
        • nisv s02 ep03
        • siduction
        • Awesome
        • Calculate
        • Beautiful
        • Linux
        • Start
        • dollar
        • Messier
        • Daughters
        • ‘Breakthrough’
        • obesity
        • Al-Fudul
        • sixty years
        • PyTorch
        • discloses
        • Ancient
        • Stone
        • Popup
        • design
        • public
        • expanding
        • cloud
        • forest
        • startup
        • French
        • batteries
        • fleas
        • spotted
        • Petals
        • language
        • Habitual
        • checking
        • GitHub
        • Availability
        • layers
        • inconsistencies
        • Affair
        • Quasi-War
        • Sergey
        • Irate
        • bestseller
        • necessarily
        • Scientists
        • Titan
        • twitch
        • FGS/NIRISS – Fine Guidance Sensor/Near InfraRed Imager and Slitless Spectrograph
        • infrared
        • ISIM – Integrated Science Instrument Module
        • JHU – Johns Hopkins University
        • JWST – James Webb Space Telescope
        • JWST – James Webb Space Telescope
        • absolute zero
        • Big Bang
        • Peace
        • Studio
        • Making
        • project
        • -gaps
        • warns
        • Germany
        • Braille
        • MotherDuck
        • prototype
        • Challenges
        • Infinite
        • OwnCloud
        • Novel
        • Before
        • copying
        • California
        • getting
        • States
        • Criminal
        • Brother
        • Released
        • Method
        • owners
        • ‘richsession’
        • email
        • Elements
        • Where
        • passenger
        • Hierarchy
        • Filesystem
        • economic
        • Crew Dragon
        • Bridenstine
        • Scientific
        • Heaviosity
        • Patterns
        • Unexpected
        • minimalist
        • Ecode
        • Alpha
        • Wolfram
        • Tailwind
        • HiOperator
        • Klotho
        • TEAMS
        • ROBOTICS
        • Antelope
        • Sponsors
        • Ellen Gertsen
        • Transform
        • Flightcontrol
        • subscriptions
        • Internet
        • Theory-building
        • you’re
        • looking
        • Transfer
        • error’
        • Tails
        • migrate
        • Building
        • Bitmovin
        • Remote
        • PhotoRoom
        • Company
        • Taking
        • Ribbon
        • BibDesk
        • Android
        • profilers
        • phones
        • modern
        • Mastercard
        • private
        • We’ve
        • reportedly
        • Microsoft
        • Artsy
        • trades
        • skilled
        • Polygon
        • Flying
        • Princeton
        • Codemods
        • Coaching
        • UK’s
        • popping
        • sourced
        • Wikipedia
        • admin
        • Indoor
        • quick
        • Mysterious
        • Spotify
        • Fancy
        • Spotify
        • Weird
        • mail-order
        • Recipients
        • computer
        • optics
        • partnership
        • commercial
        • telemetry
        • Crisis
        • billionaire
        • Party
        • Onelab
        • Faster
        • general
        • Adobe’s
        • database
        • FinanceDatabase
        • Numerical
        • Freedom
        • concrete
        • Stacks
        • computer science
        • NASA
    • Show HN
    • Ask HN
    • Technology
    • computer science
    • coding
    • Clusters
    • AI
    • drones
    • autonomous
    • Auto-Generate
    • Ask HN
    • Show HN
    • The SMART Science™
    • google
  • CRYPTO
    • Blockchain
    • farming
    • Billionaires
    • FTX’s
    • FinanceDatabase: A database of 300.000 symbols (ETFs, Currencies, Crypto)
  • Artificial intelligence
  • Toggle search form
  • GitHub アクションとワークフローの安定性を維持する
    GitHub アクションとワークフローの安定性を維持する anti-Mastodon
  • Meta が AI 言語モデル LLaMA を展開
    Meta が AI 言語モデル LLaMA を展開 Artificial intelligence
  • Yark: Expedient and simple YouTube archiver now accurate
    Yark: Expedient and simple YouTube archiver now accurate Artificial intelligence
  • Cozo 0.5: Datalog を備えた汎用性の高い組み込み可能なグラフ データベースはハーフ デザイン 1.0 です。
    Cozo 0.5: Datalog を備えた汎用性の高い組み込み可能なグラフ データベースはハーフ デザイン 1.0 です。 anti-Mastodon
  • メソッドへの安全な入り口の設計: RUM 予想
    メソッドへの安全な入り口の設計: RUM 予想 Access
  • KSC-04pd-2618 2004-12-15T00:00:00Z
    KSC-04pd-2618 2004-12-15T00:00:00Z Ask HN
  • KSC-04pd-2620 2004-12-15T00:00:00Z
    KSC-04pd-2620 2004-12-15T00:00:00Z Ask HN
  • Wasi-JS: WASI モジュールとやり取りするための JavaScript ライブラリ
    Wasi-JS: WASI モジュールとやり取りするための JavaScript ライブラリ anti-Mastodon
  • BASICを勉強中 ふけるまたはもう1983年ではありません(2018)
    BASICを勉強中 ふけるまたはもう1983年ではありません(2018) anti-Mastodon
  • Show HN: PC Face: CP-437 の 256 個のグリフすべてをレンダリングするためのビットマップ配列
    Show HN: PC Face: CP-437 の 256 個のグリフすべてをレンダリングするためのビットマップ配列 arrays
  • Intelが衰退し続ける中、AMDがCPU市場の30%以上を占める
    Intelが衰退し続ける中、AMDがCPU市場の30%以上を占める Artificial intelligence
  • iPhone、iPad、Mac ですべての年齢層を飽和させるという Apple の信念は機能している
    iPhone、iPad、Mac ですべての年齢層を飽和させるという Apple の信念は機能している anti-Mastodon
  • Google の 20 年間の検索優位性はほぼ完全な状態ですか?
    Google の 20 年間の検索優位性はほぼ完全な状態ですか? -year
  • 英国政府がロンドンでの IPO を嘆願したにもかかわらず、Arm は Nasdaq に飛び立ちました
    英国政府がロンドンでの IPO を嘆願したにもかかわらず、Arm は Nasdaq に飛び立ちました anti-Mastodon
  • 内部文書は、Google が遅れて官僚的になっている理由を説明しています
    内部文書は、Google が遅れて官僚的になっている理由を説明しています Artificial intelligence
Roar HN: アドバイスするコード (Chat-GPT)

Roar HN: アドバイスするコード (Chat-GPT)

Posted on March 19, 2023 By 📢𝕊𝕡𝕒𝕔𝕖𝕏™

codetoprompt は、指定されたチェックリストから何百ものファイルを取得し、その内容をチャット GPT の質問に役立つものとして荒廃させることさえできる形式で出力するトロット パッケージ取引です。 パッケージ deal は、ターミナル内で出力を記述するか、ファイルに書き込むことができます。 any)、および除外するディレクトリまたはファイル。 さらに、パッケージ ディールは、オプションで出力内のスムーズ トレースを組み込んだり、除外したりできます。

または、CI パイプラインによって構築されたアーティファクトからプラットフォームにバイナリをダウンロードする必要があるかもしれません。 最新モデルも正直なところここで

-dir 文字列 ファイルをロードするチェックリスト (デフォルトは ".") -exclude 文字列 除外するディレクトリまたはファイルのカンマ区切りのチェックリスト -embody-smooth 内部でスムーズ トレースを具体化するかどうか出力 -out 文字列 結果を出力するファイル

codetoprompt -dir . -out out.txt -slump.mod,slump.sum,.git,LICENSE,.gitignore,README.md,.github を除外

上記の繰り返しは、除外フラグ内に配置されたファイルを除いて、最新のチェックリストからすべてのファイルをロードし、結果を出力しますoutフラグ内に配置されたファイルへ

byte } func parseFlags() { flag.StringVar(&dir, "dir", "", "ファイルをロードするルート ディレクトリ") flag.StringVar(&outputPath, "out", "", "ファイル パスへのパス出力ファイル。指定しない場合、出力はターミナルに表示されます") flag.StringVar(&exclude, "exclude", "", "ディレクトリまたはファイルを出力ファイルから除外する") flag.BoolVar(&excludeBlankLines, " blanklines", true, "出力ファイルに空白行を含める") flag.Parse() } func Run() error { parseFlags() if err :=validateFlagsInput(); err !=nil { if !errors.Is(err, errOutputFileAlreadyExists) { return fmt.Errorf("エラー検証フラグ: %w", err) } if !overwriteFile(outputPath) { fmt.Println("中止中..." ) os.Exit(0) } } ignoreList :=strings.Split(exclude, ",") if outputPath !="" { // 出力ファイルを無視リストに追加して、それ自体への書き込みを回避する ignoreList=append(ignoreList , outputPath) } files, err :=loadFiles(dir, ignoreList) if err !=nil { return fmt.Errorf("error loading files: %w", err) } if outputPath !="" { fmt.Println("ファイルを出力ファイルに書き込んでいます...") outputFile, err :=createFile(outputPath) if err !=nil { return fmt.Errorf("出力ファイルの作成エラー: %w", err) } if err :=writeFiles(files 、outputFile、excludeBlankLines); err !=nil { return fmt.Errorf("ファイルの書き込みエラー: %w", err) } os.Exit(0) } for _, file :=range files { fmt.Println("ファイル名: ", file.name ) fmt.Println(string(file.content)) fmt.Println("---") } return nil } func validateFlagsInput() error { if dir=="" { return errors.New("ルートパスが提供されていません" ) } if outputPath !="" { alreadyExists, err :=fileAlreadyExists(outputPath) if err !=nil { return fmt.Errorf("出力ファイルが存在するかどうかのエラー チェック: %w", err) } if alreadyExists { return errOutputFileAlreadyExists } } return nil } func fileAlreadyExists(filePath string) (bool, error) { if _, err :=os.Stat(filePath); err !=nil { if os.IsNotExist(err) { return false, nil } return false, fmt.Errorf("ファイルが存在するかどうかのチェックエラー: %w", err) } return true, nil } func overwriteFile(filePath string) bool { if _, err :=os.Stat(filePath); err==nil { var 入力文字列 fmt.Println(fileOverwritePrompt) fmt.Scanln(&input) スイッチ文字列.ToLower(input) { case "y", "yes": true を返す } } return false } func loadFiles(rootPath 文字列,リストを無視する弦) (ファイル、エラー) { var ファイル file if err :=filepath.Walk(rootPath, func(path string, info os.FileInfo, err error) error { if err !=nil { return fmt.Errorf("パス %q にアクセスできませんでした: %v", path , err) } if info.IsDir() { for _, item :=range ignoreList { if info.Name()==item { return filepath.SkipDir } } } if !info.IsDir() { for _, item :=range ignoreList { if info.Name()==item { return nil } } content, err :=os.ReadFile(path) if err !=nil { return fmt.Errorf("ファイル %q を読み取れませんでした: %v ", path, err) } files=append(files, file{ name: info.Name(), path: path, content: content, }) } return nil }); err !=nil { return nil, fmt.Errorf("パス %q をたどることができませんでした: %v", rootPath, err) } return files, nil } func createFile(outputPath string) (*os.File, error) { file, err :=os.Create(outputPath) if err !=nil { return nil, fmt.Errorf("ファイルを作成できませんでした: %w", err) } return file, nil } func writeFiles(filesfile, output io.WriteCloser, includeBlanklines bool) error { defer output.Close() if _, err :=output.Write( byte("---n")); err !=nil { return fmt.Errorf("ファイルの開始コード区切り文字を書き込めませんでした: %w", err) } for _, file :=range files { var strBulider strings.Builder strBulider.WriteString("Filename: ") strBulider.WriteString(file.name) strBulider.WriteString("nn") if includeBlanklines { for _, line :=range strings.Split(string(file.content), "n") { if line=="" { 続行 } strBulider.WriteString(line) strBulider.WriteString("n") } } else { strBulider.WriteString(string(file.content)) } strBulider.WriteString("---n") if _ 、エラー:=output.Write( byte(strBulider.String())); err !=nil { return fmt.Errorf("ファイル %q を書き込めませんでした: %v", file.name, err) } } return nil } --- ファイル名: main.go パッケージ main import ( "log" "github .com/alesr/codetoprompt/internal/codetoprompt" ) func main() { エラーの場合 :=codetorompt.Run(); err !=nil { log.Fatalln(err) } } ---">

--- ファイル名: codetorompt.slump パッケージ 取引 codetoprompt インポート ( "errors" "flag" "fmt" "io" "os" "route/filepath" "strings" ) const ( fileOverwritePrompt string="出力ファイルは既に存在します。上書きするかどうかを決定するように制定しますか? (y/n )" ) var ( dir string outputPath string exclude string excludeBlankLines bool errOutputFileAlreadyExists=errors.Recent("出力ファイルは既に存在します") ) kind file struct { title string route string whisper material byte } func parseFlags() { flag.StringVar(&dir, "dir", "", "ファイルのロード元を決定する Muse チェックリスト") flag.StringVar(&outputPath, "out", "", "the出力ファイルへのファイルパス。指定されていない場合、出力はターミナル内に表示されます") flag.StringVar(&exclude, "exclude", "", "チェックリストまたはファイルを出力ファイルから除外する") flag.BoolVar (&excludeBlankLines, "blanklines", grand, "出力ファイル内で滑らかなトレースを具体化する") flag.Parse() } func Flee() error { parseFlags() if err :=validateFlagsInput();  err !=nil { if !errors.Is(err, errOutputFileAlreadyExists) { return fmt.Errorf("エラー検証フラグ: %w", err) } if !overwriteFile(outputPath) { fmt.Println("中止中..." ) os.Exit(0) } } ignoreList :=strings.Damage up(exclude, ",") if outputPath !="" { // 出力ファイルを無視チェックリストに含めて、それ自体に書き込まれないようにする ignoreList=append(ignoreList, outputPath) } files, err :=loadFiles(dir, ignoreList) if err !=nil { return fmt.Errorf("error loading files: %w", err) } if outputPath !="" { fmt .Println("ファイルを出力ファイルに書き込んでいます...") outputFile, err :=createFile(outputPath) if err !=nil { return fmt.Errorf("エラー発生出力ファイル: %w", err) } if err :=writeFiles(ファイル、outputFile、excludeBlankLines);  err !=nil { return fmt.Errorf("ファイルの書き込みエラー: %w", err) } os.Exit(0) } for _, file :=range files { fmt.Println("ファイル名: ", file.title ) fmt.Println(string(file.whisper material)) fmt.Println("---") } return nil } func validateFlagsInput() error { if dir=="" { return errors.Recent("root route now not提供された") } if outputPath !="" { alreadyExists, err :=fileAlreadyExists(outputPath) if err !=nil { return fmt.Errorf("出力ファイルが存在するかどうかのエラー チェック: %w", err) } if alreadyExists { return errOutputFileAlreadyExists } } return nil } func fileAlreadyExists(filePath 文字列) (bool, error) { if _, err :=os.Stat(filePath);  err !=nil { if os.IsNotExist(err) { return counterfeit, nil } return counterfeit, fmt.Errorf("ファイルが存在するかどうかのエラー チェック: %w", err) } return grand, nil } func overwriteFile(filePath string) bool { if _, err :=os.Stat(filePath);  err==nil { var enter string fmt.Println(fileOverwritePrompt) fmt.Scanln(&enter) swap strings.ToLower(enter) { case "y", "certain": return grandment } } return counterfeit } func loadFiles(rootPath string,リストを無視する弦) (ファイル、エラー) { var ファイル file if err :=filepath.Stroll(rootPath, func(route string, data os.FileInfo, err error) error { if err !=nil { return fmt.Errorf("おそらく、ルート %q へのエントリを収集できない可能性もあります: %v", route, err) } if data.IsDir() { for _, item :=range ignoreList { if data.Name()==item { return filepath.SkipDir } } } if !data.IsDir() { for _, item :=range ignoreList { if data.Name()==item { return nil } } ウィスパー マテリアル, err :=os.ReadFile(route) if err !=nil { return fmt.Errorf("おそらくファイル %q: %v", route, err) を読み取れません } files=append(files, file{ title: data.Name(), route: route, whisper material: whisper material, }) } return nil });  err !=nil { return nil, fmt.Errorf("ルート %q: %v をいじることもできないかもしれません", rootPath, err) } return files, nil } func createFile(outputPath string) (*os.File, error) { file, err :=os.Accomplish(outputPath) if err !=nil { return nil, fmt.Errorf("おそらくファイルをアセンブルできない: %w", err) } return file, nil } func writeFiles (ファイルfile, output io.WriteCloser, includeBlanklines bool) error { defer output.Shut() if _, err :=output.Write( byte("---n"));  err !=nil { return fmt.Errorf("ファイルの開始コード区切りを書き込めない可能性があります: %w", err) } for _, file :=range files { var strBulider strings.Builder strBulider.WriteString("Filename : ") strBulider.WriteString(file.title) strBulider.WriteString("nn") if includeBlanklines { for _, line :=range strings.Damage up(string(file.whisper material), "n") { if line=="" { 続行 } strBulider.WriteString(line) strBulider.WriteString("n") } } else { strBulider.WriteString(string(file.whisper material)) } strBulider.WriteString("--- n") if _, err :=output.Write( byte(strBulider.String()));  err !=nil { return fmt.Errorf("ファイル %q を書き込めない可能性もあります: %v", file.title, err) } } return nil } --- ファイル名: basic.slump パッケージ ディール ファンダメンタル インポート ( " log" "github.com/alesr/codetoprompt/interior/codetoprompt" ) func 基本() {エラーの場合:=codetorompt.Flee();  err !=nil { log.Fatalln(err) } } --- 

プルリクエストは大歓迎です。 根本的な変更については、最初にベンチャーを開始して、おそらく交換する選択をするために何が必要かについて話してください.

必要に応じて評価を更新するために決心して組み立ててください.

𝚆𝚊𝚝𝚌𝚑 𝙽𝙾𝚆 📺

anti-Mastodon, Ask HN, Auto-Generate, Billionaires, Blockchain, Chat-GPT, coding, computer science, CRYPTO, Prompt, Show HN, Technology, TOP HN Tags:Blockchain, Chat-GPT, Prompt

Post navigation

Previous Post: 利用 – プロット – 損失のレビュー(2020)
Next Post: HustleGPT Instruct Tracker

Related Posts

  • WhatsApp Handiest が 9 億人のユーザーのために 50 人のエンジニアを必要とする理由
    WhatsApp Handiest が 9 億人のユーザーのために 50 人のエンジニアを必要とする理由 anti-Mastodon
  • Tablesaw: Java データフレームと視覚化ライブラリ
    Tablesaw: Java データフレームと視覚化ライブラリ anti-Mastodon
  • DigitalOcean 進行中のインシデント
    DigitalOcean 進行中のインシデント anti-Mastodon
  • DNS-over-QUIC が従来の提案になる: なぜそれがあなたのプライバシーにとってニュースに過ぎないのか
    DNS-over-QUIC が従来の提案になる: なぜそれがあなたのプライバシーにとってニュースに過ぎないのか anti-Mastodon
  • WebAssembly 言語ランタイム 3 月の代替: バッテリー統合モデル
    WebAssembly 言語ランタイム 3 月の代替: バッテリー統合モデル anti-Mastodon
  • ChatGPT、および検索と Web エコシステムを転送するデバイス
    ChatGPT、および検索と Web エコシステムを転送するデバイス anti-Mastodon
  • Show HN: Xc – マークダウンで定義された割り当てランナー
    Show HN: Xc – マークダウンで定義された割り当てランナー anti-Mastodon
  • Shimano の 3 プーリー リア ディレイラーは、ドライブトレインの発明に革命をもたらす可能性があります。
    Shimano の 3 プーリー リア ディレイラーは、ドライブトレインの発明に革命をもたらす可能性があります。 anti-Mastodon
  • MinIO を使用した Kubernetes 上の SQL Server 2022 コンテナー
    MinIO を使用した Kubernetes 上の SQL Server 2022 コンテナー anti-Mastodon
  • Fb フィードの欠陥のあるデータを裏切るための簡単な提案 – CNN Commerce
    Fb フィードの欠陥のあるデータを裏切るための簡単な提案 – CNN Commerce anti-Mastodon

Recent Posts

  • サイコロの写真からゲームボーイのROMを取り出す
  • Uncover HN: コモディティ GPU で LLaMA-7B を微調整して、ホールド テキスト エクスプレス マテリアルを消費します
  • 独自の Python ボイラープレート
  • Nvidia は、H800 として中国に輸出するためのフラグシップ H100 チップを微調整します
  • GOOD Meat は、培養肉について FDA から不慣れなライトを取得します

Recent Comments

  1. robga on Excessive Avenue コーヒーのカフェイン ステージはさまざまで、テストでは
  2. Loic on 行方不明の放射性タブレットは、必死の捜索の後、WA奥地で偶然見つけました
  3. minihat on メタは、標準的な VR e スポーツ Echo Area をシャットダウンします
  4. dafelst on フレーム ポインターの巻き戻しによる Move 実行トレーサーのオーバーヘッドの削減
  5. cloudking on GraphGPT: 構造化されていないテキストの肯定的な素材からのレコードデータ グラフの外挿
  • Human gene linked to bigger brains turned into as soon as born from apparently pointless DNA
    Human gene linked to bigger brains turned into as soon as born from apparently pointless DNA NASA
  • 楽しんでいる小売業者を構築し、SaaS の価格を設定するのは大変です
    楽しんでいる小売業者を構築し、SaaS の価格を設定するのは大変です anti-Mastodon
  • Cample.js – 仮想 DOM を使用しないリアクティブ
    Cample.js – 仮想 DOM を使用しないリアクティブ anti-Mastodon
  • ほとんどの 8 ビット BASIC 実装では、インタプリタのどのような影響がありましたか?
    ほとんどの 8 ビット BASIC 実装では、インタプリタのどのような影響がありましたか? anti-Mastodon
  • C で Ruby の提案を呼び出す: メモリ リークを明らかにする
    C で Ruby の提案を呼び出す: メモリ リークを明らかにする Artificial intelligence
  • TCP ポートの量子コマンド
    TCP ポートの量子コマンド anti-Mastodon
  • AI が、あなたが不適切な作家ではなく、より賢明な思想家であることを発見したとしたらどうでしょうか?
    AI が、あなたが不適切な作家ではなく、より賢明な思想家であることを発見したとしたらどうでしょうか? Artificial intelligence
  • Show cloak HN: ChatGPT 基本はPRレビュアー&サマライザーベース
    Show cloak HN: ChatGPT 基本はPRレビュアー&サマライザーベース Awesome
MAILANON
2100 MAIL
SEO
METAVERSE
BioLINK
CRYPTO MINING
CASINO
DEFI-TRACKER
StartApp Network
RAVES-MONSTER-GAME
RAVES EXCHANGE
RAVES NFT
KVANTA TV

Copyright © 2023 Nasare™🚀.

Powered by PressBook News Dark theme