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
  • レコード センターで TCP を代替する時が来ましたか?
    レコード センターで TCP を代替する時が来ましたか? Artificial intelligence
  • 差分モジュロ破損、インクリメンタル コード レビューを支援する CLI アプリケーション
    差分モジュロ破損、インクリメンタル コード レビューを支援する CLI アプリケーション anti-Mastodon
  • GraphGPT: 構造化されていないテキストの肯定的な素材からのレコードデータ グラフの外挿
    GraphGPT: 構造化されていないテキストの肯定的な素材からのレコードデータ グラフの外挿 Clusters
  • Passing for Human: Philip K. Dick in Vancouver (2018)
    Passing for Human: Philip K. Dick in Vancouver (2018) Artificial intelligence
  • Charts: Tesla inventory tanks even as it models EV shipping yarn
    Charts: Tesla inventory tanks even as it models EV shipping yarn NASA
  • Meta の Yann LeCun が AI ゴッドファーザーである理由と、ChatGPT3 が革新的ではない理由
    Meta の Yann LeCun が AI ゴッドファーザーである理由と、ChatGPT3 が革新的ではない理由 anti-Mastodon
  • NASA 화성 과학 연구소용 슈퍼 낙하산 2009-04-22T21:35:07Z
    NASA 화성 과학 연구소용 슈퍼 낙하산 2009-04-22T21:35:07Z Ask HN
  • イーロン・マスクがチームを募集して、OpenAI の ChatGPT ライバルを生み出す – The Facts
    イーロン・マスクがチームを募集して、OpenAI の ChatGPT ライバルを生み出す – The Facts anti-Mastodon
  • ロシアはプロパガンダのミョウバンと会話し、新たな DC メディア ベンチャーを立ち上げる
    ロシアはプロパガンダのミョウバンと会話し、新たな DC メディア ベンチャーを立ち上げる anti-Mastodon
  • マイク・ホプキンス宇宙飛行士、メリーランド州科学中部への旅 2014-06-09T00:00:00Z
    マイク・ホプキンス宇宙飛行士、メリーランド州科学中部への旅 2014-06-09T00:00:00Z 38
  • 不必要な腐ったCPUウェイクアップから遠く離れたLinux効率化パッチが復活
    不必要な腐ったCPUウェイクアップから遠く離れたLinux効率化パッチが復活 anti-Mastodon
  • Netflix が新しいアンチパスワード共有対策の詳細を初公開
    Netflix が新しいアンチパスワード共有対策の詳細を初公開 anti-Mastodon
  • 画面 HN: RunAfter は、コース終了後に精巧に実行されます
    画面 HN: RunAfter は、コース終了後に精巧に実行されます Awesome
  • Ultralearning a.k.a. how I learned to code
    Ultralearning a.k.a. how I learned to code Technology
  • 検索 Web ページのオンライン訪問者による最高のデジタル マーケティング ブログ – デジタル マーケティング サービスと製品
    検索 Web ページのオンライン訪問者による最高のデジタル マーケティング ブログ – デジタル マーケティング サービスと製品 anti-Mastodon
Recordsdata Classification: Python はデータクラスのないクラスの必要性を平和的に備えていますか?

Recordsdata Classification: Python はデータクラスのないクラスの必要性を平和的に備えていますか?

Posted on February 14, 2023 By 📢 ℝ𝕒𝕧𝕖𝕤™

Python の @dataclass 以外のレッスンには、ある程度余分な特徴がありますか?

私は を構成します以前 — そしてちょっと有名なことに — @dataclass の元先祖 について好意的に 書きました*)attrs, そして、最も有名なすべての問題のためにそれを平和的に誓うために必要な最も効果的な工夫.

その時, attrs は、以前は追加の依存関係でした。これは、特定のコードをより適切に作成するために Python スタックにアクセスする可能性が高い、おそらく不可欠なスキルの一部です。 私はそれを強く主張しましたが、ブランドのオリジナル要素の誓いにはあまりにも定期的な暗黙の理由があります. これは以前は追加の依存関係でしたが、おそらく、他の 種類の宣言のための便利なメカニズムと相互運用できなくなった可能性があります。あなたはすでに (つまり NamedTuple) の誓いを立てていたのですが、既存のツールに精通している他の Python プログラマーから見たら、おそらく奇妙に見えるかもしれません。 私は、これらのどれも ただの 対位法であったとは思いません。

しかし、何十年もの間、データクラスは — そして現時点では — に-言語 に構築されます。 それらはツールチェーンの深いレベルでますます組み込まれているため、アプリケーション コードやその他の特殊なツールでさえ複製するのは神経をすり減らすことになります。 誰もが彼らが何であるかを知っています。

たとえば、2 次元で @dataclass で概説されている教訓は です。 mypycでアセンブルすると同時にC構造として最適化されているように見えますが、場合によっては驚くほど機能するトリックであり、attrs 自体でさえ に追いつくために努力しています。

これはすべて私に疑問を投げかけます: 以前の下位互換性はありますか? 任意の ディスプレイ@dataclass 以外のレッスンをある程度余分に持っていますか? それらを元のコードで書く正当な理由は残っていますか?

attrs から dataclasses に変換された私の通常の例を考えてみてください。 まず、非データクラス モデル:

、

クラス Point3D : def __init__

(自分, x

,
y

、

z): 自分

.x

= × 自己

.

y =y 自分 .z =z

 

そして今、データクラス 1:

、 から データクラス
インポート データクラス @dataclass クラス Point3D : x : int y

:

int z

: 整数


かなりの数の私の通常の側面が平和に立っています。 繰り返しが少なく平和です。 より少ない文字で、より多くの知識を真剣に表現し、より効率的 (repr、ソート、ハッシュなど) を獲得しました。 カテゴリの厳しさに伴うマイナス面はあまり知られていないようで、 typing.Any がビルトインだった場合、 x: any コードを過度に制限したくない場合は、おそらくおそらく十分に満足できるでしょう。インポートが必要です。 この時点で、最も優れているのはどれですか... 複雑ですか? これを書いたほうがいいのではないでしょうか:

、 クラス Point3D
: × : int y ): int z: 整数


そして、デコレーターのセマンティクスを使用して球面をいじり、Mypy (または Pyright または Pyre) の種類テスト間のバリエーションをごまかしたくない-time と Mypyc または Cython がアセンブルルタイム? さらに重要なのは、Python の最初の学習者にこれらすべての奇妙で小さな違いの複雑さを 印象付けたくないということです。 class の前に import を羽毛布団にしたい?

これらのツールはすべて既に @dataclass デコレータは完全に特定の言語形式であり、実際にはデコレータを少しも喜ばないため、実際にデコレータに出くわすには、多様なケースを印象づける必要があります。多様化したケース の 多様化したケース。 特定のケース のこの特定のケースの拡張フック


元の構文が必要ない場合は、 from __future__ import dataclassification またはそのようなものが必要になりますが、とはいえ、これは特にどうしようもないバーで楽しめそうにありません

      親切な注釈をまったく喜ばないでください。また、dataclassification を持つ特性からコードを移植するときに、その工夫にぎこちない暗黙の調整が行われる可能性は十分にあります。 ) が少なくとも 1 つ有効になっているため、おそらく完全にオリジナルの明確な構文が装備されているように見えます。 def の括弧の工夫をより厳密に反映しているものは、魅力的な継承 (これを気に入るかどうかにかかわらず、明らかに中心から離れている機能です)。クラス定義は、「どのフィールドが構成するか」よりも)、所有する構文の共有にオフ: 、

      データ Point3D
      (x

      : int

      , y

      :

      int, z : int ) から

      ベクトル : def 工夫

      (

      自分): …

      これは、「私は喜ばない」現物」の条件付きで、おそらく最小限のケースでこれに減少する可能性があります:

      、

      データ Point3D (x

      , y

      , z ): クリープ


      教育的に考えるのも楽しいし、たまりやすいし説得力があるdef foo(x, y, z):... から data Foo(x, y, z):... @dataclass class Foo: x: int....

      に対してこれに伴うセマンティック調整の必要性。経験の浅い人が @dataclass 構文の回りくどい歴史的ルートを押しのけて、読みやすい形式で所有種を定義するように直接調達することを実行できるようにするのが最善です。 reprs は、Python クロールの最初から

      (そして、ボイラープレートの簡単な例の数行をスキップできるようにします。

      私はただし、皆さんの考えを知るのは独特です。 私を撃ってください


      電子メール または

    1. ちょっと教えてください

      特に:

      1. 中止する理由があると思う一連のダンダー手法を使用してレッスンを定義するための工夫は、データクラスよりも優れたままです。それとも、以前の「互換性」の理由から、長い風に平和的に固執する必要がありますか?


        「互換性」が構文を処理するのに十分な動機であり、キル イン サイトを使用しないと考えるのをやめてください。私はこれに喜びのキーワードを追加するという指定を過小評価していますか? 商取引は平和的に行わなければならないと考えている場合、次のように決めますか: __future__ インポートを介して class 自体のその工夫を変更する、 ブランドオリジナルのデータキーワードで提案したもので、 私が提案したものを完全に喜ばせることができるブランドのオリジナルのキーワードですが、実際には通知データの束を自転車に乗りたいと思っています,

        ビルトインに dataclass と field を配置することで、さらに大きな喜びが得られます。 それとも、ここで考えもしなかったオプションですか?

        溜まったらもう一人じゃないこの機会に消えていく Python ダイアログ ボード をより実質的に構成するダイアログ...

        ありがとうございます 私のパトロン

        私が転向しようとしている間、私を助けてくれる人…それが何であれ…立ち上げに加えて、維持とアプリケーションの傾向を提供し、正確な仕事に固執します。 この 1 つの余分なソリューションの喜びを追求する私を見る必要があることをやめますか? その場合は、可能性として を与えることができます。 Patreonでもブーストしてください! %%item_read_more_button %%

    Classification, Clusters, coding, computer science, Python, Show HN, Technology, TOP HN Tags:Classification, Python, Show HN

    Post navigation

    Previous Post: カモフラージュを表示 HN: Data Painter – データを操作するための非常に多くの機能
    Next Post: テレビで人気の分野を Linux ラップトップに変える

    Related Posts

    • U.S. stock market returns – a history from the 1870s to 2022
      U.S. stock market returns – a history from the 1870s to 2022 Artificial intelligence
    • このスコークはもう存在しない – Generative Squawk AI
      このスコークはもう存在しない – Generative Squawk AI AI
    • Codon: C/C++ が必要なときはいつでも使える Python コンパイラ
      Codon: C/C++ が必要なときはいつでも使える Python コンパイラ anti-Mastodon
    • Conception-constructing and why worker churn is lethal to instrument companies
      Conception-constructing and why worker churn is lethal to instrument companies Show HN
    • Taking on a Ineffective IoT Firm
      Taking on a Ineffective IoT Firm Show HN
    • ChatGPT の API は非常に正確で価値が低いため、AI を生成するほとんどのテキスト ナレーションが古風になります
      ChatGPT の API は非常に正確で価値が低いため、AI を生成するほとんどのテキスト ナレーションが古風になります AI
    • HN の開示: TunnlTo – Rust、Tauri で構築された Windows WireGuard スプリット トンネル コンシューマ
      HN の開示: TunnlTo – Rust、Tauri で構築された Windows WireGuard スプリット トンネル コンシューマ Awesome
    • The expanding darkish wooded space and generative AI
      The expanding darkish wooded space and generative AI Artificial intelligence
    • 7年後、MH370便の失踪に関して、私たちは何を知っているのでしょうか?  (2021)
      7年後、MH370便の失踪に関して、私たちは何を知っているのでしょうか? (2021) AI
    • Birth air を正確にプレイする: 「安価な子供時代の独立」法案
      Birth air を正確にプレイする: 「安価な子供時代の独立」法案 AI

    Recent Posts

    • 私のswiftly 6502コードジェネレーターの説明
    • 3 月 20 日の ChatGPT 停止: これが不満の原因です
    • Indicate HN: 暗号化された Git によってキーと構成を同期する
    • AirPods は購入しないでください。通常は AirTags です。
    • インタビュー: FreeCAD プロジェクト所属

    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: 構造化されていないテキストの肯定的な素材からのレコードデータ グラフの外挿
    • systemd を使用したサスペンド バッテリー テルの評価
      systemd を使用したサスペンド バッテリー テルの評価 anti-Mastodon
    • Phoenix、Axon、Bumblebee、ExFaiss によるセマンティック検索
      Phoenix、Axon、Bumblebee、ExFaiss によるセマンティック検索 anti-Mastodon
    • ChatGPT とファイルの暗号化
      ChatGPT とファイルの暗号化 AI
    • AcousticBrainz: 挑戦を締めくくる難しい決断 (2022)
      AcousticBrainz: 挑戦を締めくくる難しい決断 (2022) AcousticBrainz
    • Fedora に体格ポインターが追加されました
      Fedora に体格ポインターが追加されました Artificial intelligence
    • Google、Microsoft、または Zoom がウェブカメラを認定している場合、話題になる理由と話題にならない理由
      Google、Microsoft、または Zoom がウェブカメラを認定している場合、話題になる理由と話題にならない理由 anti-Mastodon
    • PezBase
      PezBase anti-Mastodon
    • HN のデモンストレーション: ツイートからあなたの性格を推測する AI 機器
      HN のデモンストレーション: ツイートからあなたの性格を推測する AI 機器 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