GithubHelp home page GithubHelp logo

gopl's Introduction

gopl's People

Contributors

budougumi0617 avatar garywu125 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

danyc97 spg7484

gopl's Issues

ch13.ex04 Provide an alternative pure-Go implementation of `bzip.NewWriter`

Exercise 13.4

Depending on C libraries has its drawbacks. Provide an alternative pure-Go implementation of bzip.NewWriter that uses the os/exec package to run /bin/bzip2 as a subprocess.


練習問題 13.4

Cのライブラリに依存することは欠点もあります。/bin/bzip2をサブプロセスとして実行するためにos/execパッケージを使う、純粋なGoによるbzip.NewWriterの別の実装を提供しなさい。

ch13.ex01: Define a deep comparison function that considers numbers

Exercise 13.1

Define a deep comparison function that considers numbers (of any type) equal if they differ by less than one part in a billion.


練習問題 13.1

(どの数値型でも)値が10億分の1よりも小さい違いしかなければ、等しいと見なす深い比較関数を定義しなさい。

ch07.ex16

練習問題 7.16

ウェブベースの電卓プログラムを書きなさい。

ch3.ex08 Implement the same fractal using four different representations of numbers: `complex64`, `complex128`, `big.Float`, and `big.Rat`.

Exercise 3.8

Rendering fractals at high zoom levels demands great arithmetic precision. Implement the same fractal using four different representations of numbers: complex64, complex128, big.Float, and big.Rat. (The latter to types are found in the math/big package. Float uses arbitrary but bounded-precision floating-point; Rat uses unbounded-precision rational numbers.) How do the compare in performance and memory usage? At what zoom levels do rendering artifacts become visible?


練習問題 3.8

高倍率の水準でフラクタルをレンダリングするには高い算術精度が求められます。complex64,complex128,big.Float,big.Ratの四つの異なる数値の表現を使用して同じフラクタル画像を実装しなさい。(最後の2つの型はmath/bigパッケージにあります。Floatは任意精度ですが、有界精度の浮動小数点を使用しています。Ratは非有界精度の有理数を使用しています。)性能とメモリ使用量に関してどのような比較結果になりますか。どの倍率の水準になるとレンダリングの結果が視覚的に分かるようになりますか。

ch07.ex15

練習問題 7.15

標準入力からの単一の式を読み込み、その式内の変数に対する値をユーザーに問い合わせて、それからその結果の環境のもとでその式を評価するプログラムを書きなさい。すべてのエラーをきちんと処理しなさい。

ch12.ex12

練習問題 12.12

パラメータの妥当性の前提条件を表現するためにフィールドタグの表記を拡張しなさい。たとえば、文字列は有効な電子メールのアドレスやクレジットカード番号であるべきかもしれず。整数は有効な米国の郵便番号のコードであるべきかもしれません。このような前提条件を検査するようにUnpackを修正しなさい。

ch07.ex14

練習問題 7.14

Exprインターフェースを満足する新たな具象型を定義し、オペランドの最小値を計算するなどの新たな操作を提供しなさい。Parse関数はその新たな型のインスタンスを生成しないので、それを使用するためには構文ツリーを直接構築する(あるいはパーサを拡張する)必要があります。

ch12.ex08

練習問題 12.8

sexpr.Unmarshal関数は、json.Unmarshalのようにデコードを開始する前にバイトスライスの形で完全な入力を必要とします。json.Decoderのように、io.Readerからデコードされる値の列を許すsexpr.Decoder型を定義しなさい。その新たな型を使うようにsexpr.Unmarshalを変更しなさい。

ch04.ex14

練習問題 4.14

GitHubへの一度の問い合わせで、バグレポート、マイルストーン、ユーザの一覧を閲覧可能にするウェブサービスを作成しなさい。

ch12.ex13

練習問題 12.13

S式のエンコーダ(12.4節)とデコーダ(12.6節)を修正して、encoding/json(4.5節)に似た方法でsexpr:"..."のフィールドタグを処理するようにしなさい。

Getting more done in GitHub with ZenHub

Hola! @budougumi0617 has created a ZenHub account for the budougumi0617 organization. ZenHub is the leading team collaboration and project management solution built for GitHub.


How do I use ZenHub?

To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.

What can ZenHub do?

ZenHub adds a series of enhancements directly inside the GitHub UI:

  • Real-time, customizable task boards for GitHub issues;
  • Burndown charts, estimates, and velocity tracking based on GitHub Milestones;
  • Personal to-do lists and task prioritization;
  • “+1” button for GitHub issues and comments;
  • Drag-and-drop file sharing;
  • Time-saving shortcuts like a quick repo switcher.

Add ZenHub to GitHub

Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @budougumi0617.

ZenHub Board

ch04.ex11

練習問題 4.11

コマンドラインからユーザがGitHubのイシューを作成、読み出し、更新、クローズできるツールを構築しなさい。大量のテキストを入力する必要がある場合には、ユーザの好みのテキストエディタを起動するようにしなさい。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.