You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Ary Borenzweig Brian J. Cardiff Juan Wajnerman +450 more The release of the first major release of Crystal arrives after many years of hard work. With thousands of contributions from people worldwide, it was finally possible to find consensus for what truly mattered for 1.0 and what could wait for future releases. Getting here wasn’t an easy journey, filled with enriching, controversial, delightfu
Crystal 0.27.0 has been released! This release includes changes in public APIs that enable new features, some polishing and important updates for upcoming changes in parallelism, platform support and safety. There were 173 commits since 0.26.1 by 36 contributors. Let’s review some of the most relevant changes in this release. But don’t miss the rest of the release changelog with a lot of valuable
It’s been a while since we wrote Using CircleCI for your Crystal projects. Since then the following things happened: CircleCI 2.0 was announced and 1.0 is deprecated. Crystal build process is partially automated in CircleCI Docker nightly images are pushed as crystallang/crystal:nightly to Docker Hub Shards added a cache to avoid downloading from scratch dependencies It’s time to review how to tak
TL;DR (概要) Crystalのような破壊的変更がアクティブなプログラミング言語の本を作る場合、バージョンアップで本の内容が壊れることが よくある。 この問題に対処するため、技術書典5で頒布する予定の本では、サンプルコードが正しく動作することをCIで確認するようにした。 ソースコードのフォーマット忘れが無いかもチェックするようにした。 ↑のようなことができたのはAsciidoctorのソースコードをincludeする機能の力が大きい。 ついでにRedPenで文章の校正も行なうようにした。 長期間に渡ってメンテナンスする予定の本であればこのような工夫するのは当然だし、そうでなくても本の品質を高める意味でこの工夫には価値があると思う。 はじめに(ポエム) Crystal-JPというプログラミング言語Crystalの日本語ユーザーグループで、Crystalの普及に勤しんでいる、ということに
クロスアビリティ Winmostarサポートチームです。 0. はじめに 結晶系の第一原理計算を実施する場合、事前に対象となる結晶の対称性を把握する必要がある。また、計算セルをPrimitiveセルへと変換しなければならない。しかしながら、比較的に大きなユニットセルを有する結晶においては、空間群を特定してPrimitiveセルを抽出することは容易ではない。少なくとも、手作業ではまず不可能である。本記事では、任意の結晶について、その対称性および空間群に関する処理を遂行するライブラリー"spglib"を紹介する。 1. spglib spglibはBSDライセンスにて、以下のURLからダウンロードできる。 当該ライブラリーのコンパイルおよびインストール方法については、このURLを参照のこと。この記事では、spglibライブラリーの使い方について解説する。C言語、Fortran、Python、R
When trying out Crystal it’s tempting, and very fun, to write small benchmarks to see how the language’s performance compares to other languages. Because of its syntax, comparing with Ruby is usually the simplest thing to do. Many times we can even use the same code. Let’s compare the fibonacci function: # fib.cr def fib(n) if n <= 1 1 else fib(n - 1) + fib(n - 2) end end time = Time.now puts fib(
#!/usr/bin/env crystal #http://nabetani.sakura.ne.jp/hena/orde27ligmir/ #https://qiita.com/Nabetani/items/0b2f459ec128c89948f4 #x,y D={ '.'=>{ [0,-1]=>[0,-1], #N [1,0]=>[1,0], #E [0,1]=>[0,1], #S [-1,0]=>[-1,0], #W }, '1'=>{ [0,-1]=>[1,0], [1,0]=>[0,-1], [0,1]=>[-1,0], [-1,0]=>[0,1], }, '0'=>{ [0,-1]=>[-1,0], [1,0]=>[0,1], [0,1]=>[1,0], [-1,0]=>[0,-1], }, } H=5;W=5 while line=gets m=line.chomp.spl
Crystal 0.26.1 has been released! This release is mainly focused on regression bugs discovered on 0.26.0. There were 39 commits since 0.26.0 by 15 contributors. Although we try to test as much as possible before each release. During 0.26.0 it was more difficult than usual because of some limitation to override nested dependencies. Luckily for this release dependencies are already updated and at th
なんかエモいこと書きたくなったので書きます。 はじめに CrystalというRubyライクなプログラミング言語のコンパイラに、1年間(2016/12/26〜2017/12/25)で150個のPull Requestを出しました。 https://github.com/search?p=1&q=author%3AMakeNowJust+type%3Apr+repo%3Acrystal-lang%2Fcrystal+created%3A2016-12-26..2017-12-25&type=Issues&utf8=✓ 今年は閏年ではなかったので365 / 150 = 2.43333...、というわけで3日に1回以上のペースでPull Requestを出したことになります。 随分とたくさんのPull Requestを出したものです。 また、150個のうちマージされたものは106個でした。 htt
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く