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
最近、社内で Rails 関係のコードを読む会を持ち回りでやっていて、今週は僕が担当だったのだけど、Rack をもうちょっとちゃんと知りたかったので、Rack 対応の軽量サーバーである WEBrick を読んだ。pryで実行しながら読んだのだけど、流れを整理しておく。 TL; DR 具体的には、公式サイトのトップページに書かれた以下がどのように立ち上がりリクエストを処理するかを追った。 require 'rack' app = Proc.new do |env| ['200', {'Content-Type' => 'text/html'}, ['A barebones rack app.']] end Rack::Handler::WEBrick.run app
You can make the warning go away. Skip to the refactoring guide. You are encouraged to set use require 'celluloid/current' right now, rather than require 'celluloid' or require 'celluloid/autostart'. This will expose as much out-of-date code as you can in your Celluloid implementations, as we approach 1.0 and start deprecating old syntax, conventions, and object behaviors. The call for refactoring
We have been plagued with problems related to our scheduler sidetiq. In particular we have had a few major recurring issues related to high CPU https://meta.discourse.org/t/performance-issue-on-digital-ocean-with-discourse-docker/11895 We have been working to address them upstream, however even once addressed there are some design issues that we need fixed as well. Recently, I was debugging errati
本稿の目的は、経済産業研究所が実施した『人的資本形成とワークライフバランスに関する企業・従業員調査』を用い、管理職への昇進がメンタルヘルスに及ぼす影響を分析することである。分析の結果、次の3点が明らかになった。1点目は、管理職への昇進直後の年にメンタルヘルスが悪化するものの、その1年後には逆にメンタルヘルスが改善することがわかった。この結果から、特に昇進直後の労働者に対するサポートがメンタルヘルス悪化を回避する方法として有効だと考えらえる。2点目は、男女別に分析した結果、管理職への昇進によってメンタルヘルスが悪化していたのが主に男性であることがわかった。3点目は、『慶應義塾家計パネル調査』といった別のパネルデータを用いて同様の分析を行い、推計結果の頑健性を確認した結果、やはり昇進直後の年にメンタルヘルスが悪化することがわかった。ただし、昇進1、2、3年後だとメンタルヘルスに変化は見られなか
There has been no shortage of great Flux implementations, such as Flummox, Alt, or Fluxible. Most of them are focused on making Flux easier to use with the server rendering and reducing the boilerplate. They also often provide convenience utilities like higher-order components and asynchronous action helpers. Still, under the hood, many of them are built on top of the original Flux Dispatcher. Red
In June of 2001 musician Peter Gabriel flew to Atlanta to make music with two apes. The jam went surprisingly well. At each session Gabriel, a known dabbler in experimental music and a founding member of the band Genesis, would riff with a small group of musicians. The bonobos — one named Panbanisha, the other Kanzi — were trained to play in response on keyboards and showed a surprising, if rudime
All News IMF News Articles Communiqués Mission Concluding Statements Press Releases Statements at Donor Meetings Transcripts Views & Commentaries See Also: iMFdirect Blog Article IV Consultations Financial Sector Assessment Program (FSAP) Seminars, Conferences, & Other Events For Journalists Press Center The IMF Press Center is a password-protected site for working journalists. Login or Register I
1997年の東アジア金融危機から10年が経ち、同地域ははるかに豊かになると同時に貧困削減が進み、グローバルな役割もかつてないほどに大きくなっています。 国民所得は危機以前の水準をゆうに上回り、中国、ベトナム、カンボジア、ラオス人民民主共和国など一部の国は目覚しい経済成長を遂げています。2000年以降、東アジア全域で1億人以上が最貧困状態を脱し、貧困率はなおも減少を続けています。 同地域は金融危機に立ち向かい、その原因となった経済の脆弱性を克服した後、急速に中所得地域の仲間入りをしつつあります。事実、ベトナムが低所得国から中所得国の仲間入りをすると(2010年にも実現の可能性)、東アジアに暮らす人々の95%以上が中所得国の住人となります。現在の成長率が続けば、2020年には、東アジアの総人口約20億人のうち貧困ラインを下回る人の数は2500万人を割り込むでしょう。 ところが、このめざましい進
Sorry you landed on this error page If you would like to report a broken link , please use the form at the bottom of the Contact us page. Try our A to Z Index to find what you were looking for. Old documents have been removed from the website and archived elsewhere. If the document you were looking for is old, please ask our Archives department for assistance. Désolé que vous soyez tombés sur c
訂正報道をするかしないか、する場合にどのような形でするか。そこにメディアの質、ジャーナリズム観、読者や社会に向き合う姿勢が現れる。昨年の朝日新聞問題の教訓をメディア界は生かしているのか。最近の三つの事例をとりあげて検証してみよう。 東京新聞の丁寧な「おわび」東京新聞は12月11日付読者投稿欄で、「私のイラスト」のコーナーで掲載した作品が実際は投稿者の作品ではなく、「絵はがき」の絵だったとして、15日付朝刊でおわび記事を掲載した。誤って掲載した「絵はがき」の絵は、福島県楢葉町の障害者施設の運営者の作品だった。支援者らが販売し施設の運営に役立てていると説明し、絵はがき購入の問い合わせ先もあわせて紹介。「被災者支援の絵はがきでした」と見出しをつけ、誤掲載した絵を正しい作者名とともに再掲した。 東京新聞2015年12月15日付朝刊5面従来であれば、せいぜい次のような小さな訂正記事が、紙面の片隅に目
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. APIs act as the "front door" for applications to access data, business logic, or functionality from your backend services. Using API Gateway, you can create RESTful APIs and WebSocket APIs that enable real-time two-way communication applications. API
ハロー!プロジェクトのアイドルグループ・アンジュルムの田村芽実(たむら・めいみ、17)が、高校3年になる来年春をもってグループを卒業することが20日、わかった。東京・六本木ミュージアムで行われたファンクラブイベントおよびハロプロの公式サイトで発表された。卒業後はミュージカル女優を目指すとしている。 【写真】その他の写真を見る イベント冒頭の自己紹介後、リーダーの和田彩花から「ここで、めいめい(田村)からお知らせがあります」と促され、「私、田村芽実は、高校3年生になる来年の春をもって、アンジュルム、そしてハロー!プロジェクトを卒業します」と宣言。予期せぬ発表に会場はどよめきに包まれた。 田村はあふれる涙をぬぐいながら「突然の発表で本当にごめんなさい。でも、私自身が前向きに考えて出した結果です」と説明。卒業の理由は「アンジュルムで活動していく中で、たくさんの皆さんに私の歌が好きだと言っていただ
Global news & analysisExpert opinionFT App on Android & iOSFT Edit appFirstFT: the day's biggest stories20+ curated newslettersFollow topics & set alerts with myFTFT Videos & Podcasts20 monthly gift articles to shareLex: FT's flagship investment column15+ Premium newsletters by leading expertsFT Digital Edition: our digitised print editionWeekday Print EditionFT WeekendFT Digital EditionGlobal new
小説は書き出しが命!昭和文学に学ぶ冒頭文の「反則テクニック」5選。 小説の書き出しに注目すると、作家たちが創作に込めた工夫とテクニックが見えてくるもの。「定番ネタ」にひねりを加えた書き出しから、「そんなのアリ !?」と唸ってしまうような反則テクまで、冒頭文の書き方を一挙にご紹介! 2015/12/17 説得力のある文章を書きたいというあなた! 誰かを「そそる」文章を書きたいというあなた! 文章の「書き出し」に工夫をしてみてはいかがですか? 書き出しは、ポップソングでいえば「開始10秒のイントロ」、漫才でいえば「つかみのボケ」、飲み会でいえば「一杯目のビール」。読み手のハートをぐっと捉えて期待感をあおるという、非常に重要な役割を持っています。 他の人が書かないような書き出し、ひとヒネリ加えた書き出しを身に付けたいのなら、文学作品を参考にするのが一番です。 今回は、昭和の文学作品を題材に、思わ
システムエンジニア Advent Calendar 2015 - Qiita 20日目の記事です。 システム開発をしていると、他システムのマスタやトランザクションデータが必要となる場合がよくありますね。 システム間のデータ連携としては、 リソース共有(データベース共有、ディスク共有) アプリケーション連携(RPC、Web API、MOM1) ファイル連携(CSV連携、etc) などの方法がありますが、ここではデータベース共有を実現するためのデータベース連携方式について考えてみたいと思います。 データベース連携方式について 既存システムがレガシーであったり、違うベンダーが構築したサーバーであるなどの理由で、新機能や拡張機能を別のサーバー上で新システムとして構築する場合があります。もちろん、データベースも新たに用意する場合が多いのですが、その場合は既存システムには極力修正をいれない方針でデータ
Mike Trigg氏はHightailのCOOで、マーケティングを管理し、ジェネレーションとeコマース活動をリードしている。Hightail以前には Spitball Entertainment というオンラインのゲーム企業を設立したほかhi5(後にTaggedに売却)でマーケティングと事業開発のバイスプレジデントをしていた。そこで彼は企業のゲームポータル、バーチャル通貨、オリジナルのソーシャルゲーム作品のローンチに関わった。 Above: A view of the Mailbox team pod at Dropbox’s headquarters a year ago (Dec. 2014) Image Credit: Dropbox.com Dropboxによる、同社の最も人気があるアプリMailboxとCarouselを廃止するという驚きの発表は、かなり事務的に報道された。Dr
来年四月に始まる電力の小売り自由化で、電気の購入先を東京電力から新しい電力販売業者に代えようと考えている東京都民が六割に上ることが、本紙と新潟日報の合同世論調査で分かった。料金がより安いところがあれば代えたいという理由が最も多いが、「原発でつくられた電気を使いたくない」を理由に挙げた人は二番目に多かった。また東京、新潟とも七割が将来的には原発をゼロにし、再生可能エネルギーを軸に取り組むべきだとの意思を示した。 (小倉貞俊) 調査は、東電福島第一原発事故から五年を前に、原発に関する意識を調べるために実施。今月十二日から十六日までの五日間、十八歳以上を対象に、東京と新潟でそれぞれ一千人、計二千人から有効回答を得た。
政府・与党は、適切に反論するとともに、丁寧な説明に努めねばならない。 民主党の岡田代表は、約1兆円の財源を要することについて「財政再建の旗を降ろすのか。1兆円のバラマキで参院選を乗り切ろうということだ」と決めつけた。 やや性急で、近視眼的な批判だ。医療などの自己負担額に上限を設ける「総合合算制度」の見送りで4000億円の財源は既に確保された。残りについても、たばこ増税案などが浮上している。 将来の社会保障費の増大を考慮すれば、消費税の再増税は不可避だ。これにも備える軽減税率の導入は財政再建に逆行するまい。 民主党は、消費増税の低所得者対策として「給付付き税額控除」の導入を主張している。所得税の課税対象者に減税し、免除者には給付金を支給する制度だ。 しかし、軽減税率に比べて分かりにくく、消費者の痛税感も緩和されないのではないか。 給付付き税額控除は、所得を正確に捕捉できなければ、不正受給の恐
20日未明、名古屋市の路上を走行中の車が突然前後を2台の車に挟まれて停止させられ、運転していた男性が、2台の車から降りてきた数人の男に暴行を受けて死亡しました。男性には刃物で切られたり、刺されたりしたような傷があるということで、警察は殺人事件として捜査しています。 乗用車を運転していた男性は、前後2台の車から降りてきた数人の男に暴行を受け、病院に運ばれましたが、およそ6時間後に死亡しました。 警察によりますと、男性は30代くらいの外国人とみられ、体には刃物で切られたり刺されたりしたような傷が数か所あったということです。 暴行を加えた男たちは、乗りつけた2台の車を現場に残し、別の車に乗って走り去っていて、警察は殺人事件として、目撃者から話を聞いたり付近の防犯カメラを調べたりして捜査しています。 現場は名古屋駅から南東におよそ2キロ離れた、名古屋高速都心環状線の下を通る片側3車線の道路の路上で
Cyclists navigating the Wiggle, a zigzagging route in San Francisco, this month. A proposed ordinance would make the city the largest to allow bicyclists to roll past stop signs if the path is clear.Credit...Jason Henry for The New York Times SAN FRANCISCO — Hundreds of defiant bicyclists lined up single file here in July to protest, halting car traffic in a one-mile zigzag of streets known as the
Dr. Usha Menon is the a co-author of a Lancet article that says a screening test for ovarian cancer needs more study.Credit...Michael Harding for The New York Times A new version of a screening test for ovarian cancer may reduce deaths from the disease, but it needs more study to determine whether the benefits hold up, researchers reported on Thursday. The findings come from a 14-year study of mor
How a medical device maker kept U.S. hospitals in the dark about deadly infections The spread of deadly superbugs had been traced to a popular scope. The maker contended hospitals were failing to clean it properly -- and kept the device on the market. By Chad Terhune and Melody Petersen Dec. 19, 2015 The hunt for a deadly superbug that sickened 22 patients at a Dutch hospital began just before noo
The BBC has announced that it's piloting "virtual voiceover" technology, which will be used to automatically translate TV reports into Japanese. In early 2016, the broadcaster's Russian service will start using it as well. Creating a way for news editors to produce multi-language reports almost single-handedly, the BBC's technology will take the script for a news package and translate it into the
The story of how data scientists became sexy is mostly the story of the coupling of the mature discipline of statistics with a very young one--computer science. The term “Data Science” has emerged only recently to specifically designate a new profession that is expected to make sense of the vast stores of big data. But making sense of data has a long history and has been discussed by scientists,
While 45% of CIOs identify “innovation” and 44% point to “growth” as their organizations’ most important priorities, only 15% are investing in emerging technologies . Only 16% of IT budgets are allocated to investments in innovation and growth , with the balance spent on running day-to-day operations and incremental change. This gap between aspirations and reality is one of the key findings of the
KHUMJUNG, Nepal (Reuters) - Phurba Tashi Sherpa, the most accomplished high-altitude climber in history, holds a bucket and crowbar as he claws through the rubble of his home seven months after Nepal’s earthquake shattered the country. Despite years of guiding wealthy foreign clients up Mount Everest, something he has done 21 times - a joint record - the 44-year-old has been left penniless. Phurba
既に特権まみれの新聞に、よりによって食品にしか適用されないはずの軽減税率までが適用されることになったことで、これまで新聞が享受してきた数々の特権がかえって明るみに出てしまう「やぶ蛇」状態の様相を呈してきた。 日本の新聞社は再販価格維持制度や新聞社とテレビ局だけが政府情報や行政施設の利用を認められる記者クラブ制度など他の業界では考えられないような優遇を受けてきたほか、先進国の多くが制限をかけている新聞社による放送局への出資(クロスオーナーシップ)なども事実上制限がないなど、とてつもなく多くの特権を享受してきた。 しかも、日本では新聞とテレビの系列化が事実上無制限で認められているため、テレビ局も新聞社が恩恵を受ける再販などの特権の実情に切り込むことは皆無に近い。そのためこれまで新聞社がどれだけ多くの特権を享受し、なおかつそこで得た膨大な利益を全国の放送局への出資し天下り先を確保する一方で、国か
一、 政府機構 Ministry of Foreign Affairs (外交部) http://www.fmprc.gov.cn/eng/default.htm Ministry of Land and Resources (国土資源部) http://www.mlr.gov.cn/GuotuPortal/appmanager/guotu/eversion Ministry of Water Resources (水利部) http://www.mwr.gov.cn/english/index.htm Ministry of Commerce (商務部) http://english.mofcom.gov.cn State Economic & Trade Commission, PRC(国家経済貿易委員会) http://www.setc.gov.cn/english/index_e.
絶対に叶えたい、その願い── 劇場版「selector destructed WIXOSS」2016年2月13日公開! 思いをカードに託し、傷つけ、裏切り、貶める危険な遊戯。 全てを剥き出しに戦う少女達が最後に見たものは…… 2014年にTV放送され、次から次へと驚愕の展開が連続するサスペンス要素溢れる群像劇で話題を集めた「selector infected/spread WIXOSS」が、遂に劇場作品として登場! 今回の劇場版ではTVスタッフが再集結。TVシリーズをベースにしつつもストーリーが進むにつれ、流れが変わっていき最終的には別のストーリーが展開していくという、言うなれば“新解釈版「selector」”として制作。 誰も知らないもう一つの物語の幕が開かれる――― <STAFF> 原作:LRIG(WARNER×TAKARA TOMY×J.C.STAFF) 監督:佐藤卓哉 構成
http://www.videonews.com/ ニュース・コメンタリー (2015年12月19日) 最高裁は選択的夫婦別姓に理解を示している 憲法学者の木村草太氏が「同姓合憲」判決を解説 結婚した夫婦に同じ姓を名乗ることを求めている現行の法律が、憲法が保障する婚姻の自由を侵害しているなどとして、5人の男女が国に損害賠償を求めていた裁判で、最高裁が12月16日、これを合憲とする判断を下したことに対しては、選択的夫婦別姓を求めてきた人たちの間で落胆の声が広がっている。しかし、憲法学者で首都大学東京准教授の木村草太氏は、最高裁の判決は夫婦別姓に対して最高裁が強い理解を示していると見ることができる内容になっていると指摘し、次に期待が持てる判決だったと評価すべきと語る。 民法750条で「夫婦は、婚姻の際に定めるところに従い、夫又は妻の氏を称する」と定められているため、日本では結婚した夫婦
国立国会図書館は2002年,「近代デジタルライブラリー」を公開し,デジタル化した図書のインターネットでの提供を開始した。以後,所蔵資料のデジタル化,デジタル化された他機関所蔵資料の収集等を継続的に実施するとともに,2013年からはインターネットで公開されている「電子書籍・電子雑誌」の収集も行っている。これら多種多様な資料の収集・保存・提供は現在,2011年に公開した「国立国会図書館デジタルコレクション」が担っている。本稿では,「近代デジタルライブラリー」から「国立国会図書館デジタルコレクション」へ至る開発の経緯を述べるとともに,OAIS参照モデルの機能要件の観点から,「国立国会図書館デジタルコレクション」における長期保存の現状および課題について説明する。 国立国会図書館(以下,NDL)では,所蔵する図書・雑誌等をデジタル化した大量のデジタル化資料を保有している。また,2013年からは,イン
[edit] 要約 繰り返しを行なうクラスのための Mix-in。このモジュールのメソッドは全て each を用いて定義されているので、インクルードするクラスには each が定義されていなければなりません。 Array, Hash, Range, Enumerator等のクラスで、 Enumerableモジュールはインクルードされています。ただし、効率化のため、そのクラスでEnumerableと同名・同等の機能を再定義(オーバーライド)しているケースも少なくなく、特にArrayクラスでは同名のメソッドを再定義していることが多いです。 目次 インスタンスメソッド all? any? chain chunk chunk_while collect collect_concat compact count cycle detect drop drop_while each_cons each_
The Sales Engagement Platform built for B2B revenue teams. Create powerful workflows to generate and close more revenue, from outbound to expansion. Mixmax empowers your entire revenue team to do more with less - in days, not months. BUILD MORE PIPELINE Streamline your daily activities to work smarter and get more done. Automatically have high-priority items added to your to-do list in real time.
JSTはこの領域で、材料・電子デバイス・システム最適化の研究を連携・融合することにより、情報処理エネルギー効率の劇的な向上や新機能の実現を可能にする研究開発を進め、真に実用化しイノベーションにつなげる道筋を示していくことを目指しています。上記研究課題では、カイラル磁性体において固有に現れる“巨視的スピン位相秩序”を用い、スピン位相エレクトロニクスの創成に取り組んでおります。 <研究の背景と経緯> 現在の情報処理に使われている電子デバイスでは、磁気メモリーや磁気センサーなどの磁石が使われています。磁石を用いた電子デバイスはデバイス内にある2つの磁石の向き(平行配置と反平行配置)を“0”と“1”の2値化(2進数)された電気信号として情報処理を行います(図1)。今後ますます膨張すると予想されるビッグデータ注3)社会に対応するには、従来の「2値動作注4)」とは異なる革新的な電子デバイスの動作原理の
1.日時 平成27年6月2日(火曜日)15時00分~17時00分 2.場所 文部科学省 3階 特別第2会議室 3.議題 主査代理の指名について 量子ビーム利用推進小委員会の設置等について 我が国における量子科学技術政策の現状と課題について 量子科学技術委員会における当面の検討事項について 注目すべき国際動向等について その他 4.配付資料 資料1-1 科学技術・学術審議会先端研究基盤部会量子科学技術委員会 委員名簿 資料1-2 科学技術・学術審議会先端研究基盤部会量子科学技術委員会 運営規則(案) 資料1-3 科学技術・学術審議会先端研究基盤部会量子科学技術委員会に置く小委員会について(案) 資料1-4 科学技術・学術審議会先端研究基盤部会量子科学技術委員会の会議の公開に関する手続きについて(案) 資料2 我が国における量子科学技術政策の現状と課題について(1/4) (PDF:3927K
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site. The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.
お知らせ ニュースリリース 2015年度一覧 「第9回 製品安全対策優良企業表彰」受賞企業が決定しました~製品安全に対して積極的に取り組む企業を表彰します!~ 経済産業省は、民間企業の製品安全に対する積極的な取り組みを促進し、社会全体として製品安全の価値を定着させることを目的として、「製品安全対策優良企業表彰」を平成19年度より実施しています。 この度、平成27年度「第9回製品安全対策優良企業」として16社・機関が決定しました。 受賞企業の表彰式は、11月12日(木)に東京で開催する「製品安全総点検セミナー」にて実施します。 1.「製品安全対策優良企業表彰」制度の概要 【製品安全対策優良企業表彰】 (1) 応募対象 消費生活用製品の製造事業者・輸入事業者及び小売販売事業者 (2)審査の方法 企業の製品安全に対する取り組みを、学識経験者、消費者団体代表等で構成する審査委員会において審査してい
産業構造審議会環境部会地球環境小委員会政策手法ワーキンググループ 今般、地球温暖化対策基本法案が閣議決定され、今後、我が国の地球温暖化対策の具体的なあり方について、本格的な議論が行われる予定です。このような中、成長戦略策定の議論や、産業の国際競争力、雇用や国民生活への影響といった観点等を踏まえつつ、地球温暖化対策の政策手法について、検討を行う場を、産業構造審議会に設置しました。当面は、基本法の施行後一年以内に成案を得ることとしている国内排出量取引制度の具体化に向け、論点を抽出の上、制度設計上のオプションを提示することを目的としています。 排出量取引制度について(PDF形式:675KB) 排出量取引の国内統合市場の試行的実施や国内クレジットの実績、海外の制度の概要、原単位規制と総量規制の違いなど、排出量取引に関する情報を掲載しています。 排出量取引の国内統合市場の試行的実施(試行排出量取引ス
サプライチェーン排出量に関する国際動向について(グローバル対応分科会中間報告) サプライチェーン排出量の算定ガイドラインの検討状況について(排出量算定分科会中間報告) 今後の予定について 議題1につき事務局及び中野特別委員より、議題2及び議題3につき事務局より、説明が行われた。 議題1についてグローバル対応分科会中間報告及びEC環境フットプリント、サステナビリティ・コンソーシアムに関する意見・情報交換が行われた。 議題2について排出量算定ガイドラインに関する意見・情報交換が行われた。 議題3について今後のスケジュールの説明・確認が行われた。 1.サプライチェーン排出量に関する国際動向について(グローバル対応分科会中間報告) (1)中間報告について 日本での意見としては、削減貢献を主張したいといった意見が多かったようだが、GHGプロトコル側ではScope3の中で検討すべき事項ではないという整
目次 次へ さて、安全な決済のための3項目はあくまでも理想を示したものにすぎません。実際には、例えば、効率性を高める見地から「安全性の観点から見て理想的な決済方法」を採用しないなど、いろいろの事情からそのような決済方法が実現していない場合があるのです。ここでは、3項目と実際の決済との関係について少しだけ触れておくことにします。 コルレス・バンク まず「提供者が倒産しない支払手段を利用する」という項目です。銀行間決済においては、多くの場合、銀行が中央銀行に置く当座預金が利用されています。中央銀行当座預金は言わばおさつを銀行が利用しやすいように変形したものであり、安全確実な決済手段ですから、この項目は満たされています。もっとも、銀行同士の決済が一般の銀行預金を用いて行われることもあります。とくに、「日本のA銀行(米国中央銀行に口座なし)が米国のY銀行(米国中央銀行に口座あり)にドルの決済を行う
A Poster campaign celebrating the influence of TfL transport links on our everyday life. In autumn 2015 Variable was commissioned by MC Saatchi to reimagine everyday objects and animals as if they were made out of TfL transport lines. A cup, a popcorn and a penguin were recreated as underground, bus and light train lines to remind us of the importance of the service TfL is providing and its influe
The advantage in this case is that the Capybara::Poltergeist module exists before those modules are required. Since those modules all extend the Capybara::Poltergeist module, this is just a way to ensure that they aren't loaded before the module is actually available. Placing the require statements after the module definition would have the same effect. Consider the following: # foobar.rb require
【2016-09-23:このページから資料がダウンロードできない不具合の報告を受けています.暫定的に、この「資料公開」コンテンツの別項目としてあらためてアップロードしてあります】 完全性定理の証明(演繹体系は自然演繹)を目標とした大学3年次半期講義向けの講義ノート。2013年度前期に嘉田の授業で使用予定。ツッコミ歓迎。 【訂正】 p.23,l.2 (誤)φ を言語 L の閉論理式で… (正) φ を言語 L の論理式で… p.23,脚注2行目 (誤)tに現れる変数記号が代入後の… (正)sに現れる変数記号が代入後の…
Illustrator ユーザーガイド Illustrator とは Illustrator の概要 Illustrator の新機能 よくある質問 Illustrator の必要システム構成 Apple Silicon での Illustrator の使用 ワークスペース ワークスペースの基本 Illustrator のもっと知るパネルで学習を高速化 ドキュメントの作成 ツールバー デフォルトのショートカットキー ショートカットキーのカスタマイズ アートボード入門 アートボードの管理 ワークスペースのカスタマイズ プロパティパネル 環境設定の指定 タッチワークスペース Illustrator での Microsoft Surface Dial のサポート 編集の取り消しとデザインヒストリーの管理 ビューを回転 定規、グリッド、ガイド Illustrator でのアクセシビリティ セーフモ
Start quickly with beautiful designs Get started with our suggested professionally-designed template and make it your own with a few simple steps. Create a Post Get Started now Transform the look with themes Turn your text and photo into a professional-looking graphic by simply applying your favorite theme. With Spark Post you don't need design experience to create beautiful images. Create a Post
GMOインターネットグループでインターネットリサーチ事業を展開するGMOリサーチ株式会社(代表取締役社長 細川 慎一 以下、GMOリサーチ)は、GMOリサーチが提携する日本、中国のモニターを対象に「日本のイメージ、観光嗜好に関する日中比較調査」を実施いたしました。 ●調査テーマ:日本のイメージ、観光嗜好に関する日中比較調査 ●調査地域:日本・中国 ●調査対象:日本人 466名 中国人 1,355名 計 1,821名 訪日経験なし・予定なし:452人 訪日経験なし・予定あり:458人 訪日経験あり :445人 ●調査期間:2015年8月14日~2015年8月21日 ●調査方法:インターネット調査(クローズド調査) 【調査背景】 現在、日本政府は成長戦略のひとつに観光立国の実現を掲げ、観光立国推進基本計画に沿って訪日外国人旅行者数の拡大に向けた様々な施策を行っています。こうした施
“JavaScript sucks for large apps because it can’t even identify the type of a variable, and it sucks for refactoring.” ~ lots of very confused people When I got into JavaScript, there was only one browser that mattered: NetScape. It dominated completely until Microsoft started shipping IE with the OS. In those days, the argument that JavaScript’s developer tools were weak was actually true. But it
Architects and the semiconductor industry as a whole is faced with a unique challenge of improving performance and reducing power consumption of future microprocessors with almost no gain coming from device scaling. The role of architecture is perhaps more important today than it has ever been. Industry has reacted with a short-term goal of domain or application-specific accelerators which do litt
The potential legal battle comes after Tesco’s admission last September that first-half profits had been artificially inflated by £250m because income from suppliers had been mis-stated. The grocer later raised that figure to £263m and admitted the accountancy problems went back at least two years after an internal investigation led by accountancy firm Deloitte. . The overstatement combined with p
Modern films reimagined as classics of Hollywood's golden era – in pictures When he was studying film at college, Peter Stults used to come up with imaginary movie ideas and turn them into posters. Fifteen years on, the New York-based graphic designer makes modern films look like old classics in his What If series, using a mix of Photoshop and collage. “People assume I don’t like modern movies – I
.gitignore し忘れて他人に見えちゃマズいファイル(パスワードをベタ書きしたファイルや AWS_SECRET_ACCESS_KEY を書いたファイルとか)を git commit しちゃった!そんなときは すればすぐ何もなかったことにできます。 が!そこで気付かずに GitHub へ git push してしまった!こうなると容易に何もなかったことにはできません。 この記事では、こういうときに何もなかったことにする方法を紹介します。 そのデータを無効にする 特に Public Repository の場合はすでにそのデータが他人の目に触れていた…ということも十分ありえます。AWS_SECRET_ACCESS_KEY なんかは取得用のクローラが存在するとも聞きます。ので、まずは不正利用されても影響が出ないように、パスワードの書き換えやトークンの無効化を施しましょう。 (この時点でもう
介護の現場で深刻となっている人手不足を解消しようと、厚生労働省は、育児などでいったん職場を離れた介護職員が施設などに再就職する際、準備金を貸し付け、2年間働けば返済を免除する新たな制度を設けることになりました。 介護の現場で深刻な人手不足が続くなか、厚生労働省は、1年以上介護の仕事をした経験がある人が施設などに再就職する際、準備金として20万円を貸し付け、2年間継続して勤務すれば返済を免除する、新たな制度を設けることになりました。 このほか、介護福祉士の資格の取得を目指す学生に学費などを貸し付け、5年間介護の現場で働けば返済を免除する制度も拡充するとしています。 厚生労働省は、こうした介護人材の確保策とともに施設などの整備を進めて、家族の介護のために仕事をやめる人をなくす「介護離職ゼロ」を実現させたいとしています。
Daisy Ridley and John Boyega.Credit...Kat Irlin for The New York Times; Ryan Pfluger for The New York Times When “Star Wars: The Force Awakens” opens on Dec. 18 and, for the first time in nearly a decade, moviegoers can return to that galaxy of long ago and far, far away, they will find that it contains two new stars. The film, which is directed by J. J. Abrams and continues the interstellar saga
Park Yu-ha, the professor who wrote “Comfort Women of the Empire,” in Seoul, South Korea.Credit...Jean Chung for The New York Times SEOUL, South Korea — WHEN she published her book about Korean “comfort women” in 2013, Park Yu-ha wrote that she felt “a bit fearful” of how it might be received. After all, she said, it challenged “the common knowledge” about the wartime sex slaves. But even she was
Today, with the release of Firefox 43, almost a decade after the idea was first mooted, there is finally an official 64-bit build of Firefox for Windows. To download it, you'll have to head over to the Firefox website and explicitly grab a 64-bit installer; if you just do an in-place upgrade you'll just get the normal 32-bit flavour. 64-bit Firefox for Windows is mostly identical to 32-bit Firefox
Platforms have become an integral part of our daily lives. Social media platforms connect us, e-commerce platforms give us access to goods and services, and enterprise platforms help organisations to interact with us as consumers and process our transactions. The shift towards platforms accelerated during the coronavirus pandemic as businesses switched to delivery and contactless payments to enabl
Platforms have become an integral part of our daily lives. Social media platforms connect us, e-commerce platforms give us access to goods and services, and enterprise platforms help organisations to interact with us as consumers and process our transactions. The shift towards platforms accelerated during the coronavirus pandemic as businesses switched to delivery and contactless payments to enabl
One cognitive scientist thinks the leading approach to machine learning can be improved by ideas gleaned from studying children. Like any proud father, Gary Marcus is only too happy to talk about the latest achievements of his two-year-old son. More unusually, he believes that the way his toddler learns and reasons may hold the key to making machines much more intelligent. Sitting in the boardroom
Internet Engineering Task Force (IETF) A. Petersson Request for Comments: 7239 M. Nilsson Category: Standards Track Opera Software ISSN: 2070-1721 June 2014 Forwarded HTTP Extension Abstract This document defines an HTTP extension header field that allows proxy components to disclose information lost in the proxying process, for example, the originating IP address of a request or IP address of the
kusti8 Posts: 3439 Joined: Sat Dec 21, 2013 5:29 pm Location: USA Here's a quick guide for anyone wanting a updated Chromium with Chrome Web Store support on plain Raspbian. THIS GUIDE IS NOW NOT NEEDED, PREBUNDLED WITH RASPBIAN! YAY! 1. Install and configure Raspbian. There are plenty of guides on how to do this. A more detailed intro to RPi-youtube 2. Add the Chromium repository and install the
aws lambda create-function \ --function-name hello \ --handler hello.core \ --runtime java8 \ --memory 512 \ --timeout 10 \ --role arn:aws:iam::YOUR_AWS_ACCOUNT_ID:role/YOUR_ROLE \ --zip-file filed://./target/hello-0.1.0-SNAPSHOT-standalone.jar これでClojureコードがAWS Lambdaで動かせるようになっているはずです。 API GatewayからLambda Functionを呼び出す APIを作成 API Gatewayコンソールから新しくAPIを作成します。 Resourceの追加 "Create Method"ボタンをクリックすると"
2015/12/18 中小企業の海外進出動向調査 過半数が海外事業を拡大の意向 ~ 3割がTPPに新たな商機を期待 ~ はじめに 人口減などにより、国内市場に大きな伸びを期待するのは難しい。一方、新興国を含め世界の市場は着実に成長している。そのため成長機会を海外に求める中小企業も多い。そのような中、海外進出を行っていると目される中小企業2,760社に対し、海外進出への取り組みについてアンケート調査を行った。 ■【調査方法】 郵送調査(2015年11月6日~20日) ■【調査対象】 帝国データバンクの企業データベース「COSMOS2」収録企業のうち、下記に該当する企業、2,760社 <企業規模> 中小企業法に定める中小企業(※) <組織形態> 株式会社 <そ の 他> 帝国データバンク信用調査報告書の「設備概要欄」「関係会社欄」に海外の国・地域名が含まれる企業 ※<卸売業>…資本金1億円以下
PHP founder Rasmus Lerdorf has left his long-held position at Yahoo, according to his Twitter account. Lerdorf joined Yahoo in 2002 and has worked for the company as an engineer since. Lerdorf is most notable for creating the original PHP engine, and for being a notable open source developer, speaker and author. Lerdorf developed PHP in 1995 after building up a collection of C macros that he was u
PHP Founder Rasmus Lerdorf Joins Group Payments Startup WePay WePay, a startup that’s meant to help take the pain out of managing payments for groups like fraternities and soccer teams, has landed a big new hire: Rasmus Lerdorf, the man who originally created the programming language PHP. Lerdorf, who left Yahoo last November, will be leading development of WePay’s API. The API will begin rolling
Rasmus Lerdorf Rasmus Lerdorf (born on 22 November 1968) is a Danish-Canadian programmer. He created the PHP scripting language, authoring the first two versions of the language and participated in the development of later versions led by a group of developers including Jim Winstead (who later created blo.gs), Stig Bakken, Shane Caraveo, Andi Gutmans, and Zeev Suraski. He continues to contribute t
2010年9月24日・25日に開催された「PHPカンファレンス2010」にあわせて、PHP開発者のRasmus Lerdorf氏が来日されました。日本を訪れるのは2度目という氏に、PHPの現状とその根底にある思想についてお話を聞きました。 現在の仕事について 大垣:昨年 Yahoo! Inc.を退職されましたね。現在はどのような仕事をされているのでしょうか? Rasmus:WePayという起業したばかり小さな会社にいます。WePayはカリフォルニアにある、グループで支払いを行う処理を行うベンチャー会社です。 大垣:グループで支払いを行う、というのは、どういうことですか? Rasmus:グループで何かを買いたいときに、グループとしてお金を管理したいですよね。例えば、大学で学生が集まってプレゼントを買いたいという場合があります。どんなものでも構わないですが、10人が集まって共同でオンラインショ
2010年9月24日・25日に開催された「PHPカンファレンス2010」にあわせて、PHP開発者のRasmus Lerdorf氏が来日されました。日本を訪れるのは2度目という氏に、PHPの現状とその根底にある思想についてお話を聞きました。 現在の仕事について 大垣:昨年 Yahoo! Inc.を退職されましたね。現在はどのような仕事をされているのでしょうか? Rasmus:WePayという起業したばかり小さな会社にいます。WePayはカリフォルニアにある、グループで支払いを行う処理を行うベンチャー会社です。 大垣:グループで支払いを行う、というのは、どういうことですか? Rasmus:グループで何かを買いたいときに、グループとしてお金を管理したいですよね。例えば、大学で学生が集まってプレゼントを買いたいという場合があります。どんなものでも構わないですが、10人が集まって共同でオンラインショ
Join the official community for Google Workspace administrators In the Google Cloud Community, connect with Googlers and other Google Workspace admins like yourself. Participate in product discussions, check out the Community Articles, and learn tips and tricks that will make your work and life easier. Be the first to know what's happening with Google Workspace. ______________ Learn about more Goo
Join the official community for Google Workspace administrators In the Google Cloud Community, connect with Googlers and other Google Workspace admins like yourself. Participate in product discussions, check out the Community Articles, and learn tips and tricks that will make your work and life easier. Be the first to know what's happening with Google Workspace. ______________ Learn about more Goo
Together with your teams, we shape the digital products, teams, processes, and software systems you need to meet diverse customer needs and accelerate your business growth. © 2007-2024, Inviqa UK Ltd. Registered No. 06278367. Registered Office: Havas House, Hermitage Court, Hermitage Lane, Maidstone, ME16 9NT, UK.
働き方改革 長時間労働の是正・残業抑制組織の生産性向上 経営基盤強化・リスク対策 IT資産管理とインフラ強化 業務プロセス改革 業務効率化 売上向上施策 --- S/D Manager Object管理は、IBM i(AS/400)環境における資産管理を支援します。
FuelPHP Advent Calendar 2015 の19日目を担当させていただきます。 よろしくお願いします。 何を書こうか迷いましたが、Wordpressとかでよくあるカスタムフィールドっぽいものを実装する方法を書いてみようかと思います。 EAVコンテナとは EAVコンテナ / FuelPHP 1.7 Documentation 「エンティティ-アトリビュート-バリュー (Entity-attribute-value) モデル (EAV) は、潜在的には大変に多くの属性(プロパティやパラメータ)を記述できることが必要だが、 通常は特定のエンティティに適用される数はさほど多くない場合に適したデータモデルです。 数学ではこのモデルは疎行列として知られています。 EAVはまた、オブジェクト-属性-値モデル、垂直データベースモデル、オープンスキーマなどと呼ばれることもあります。」 出展:
Abstract:As data collections become larger and larger, users are faced with increasing bottlenecks in their data analysis. More data means more time to prepare and to load the data into the database before executing the desired queries. Many applications already avoid using database systems, e.g., scientific data analysis and social networks, due to the complexity and the increased data-to-query t
General admission includes access to the Glass Flowers Gallery. One of Harvard University’s most famous treasures is the internationally acclaimed Ware Collection of Blaschka Glass Models of Plants, better known as the “Glass Flowers." This unique collection was made by Leopold (1822-1895) and Rudolf Blaschka (1857-1939), a father and son team of Czech glass artists. Over fifty years, from 1886 th
CakePHPで継続的インテグレーションやってますかー! こんにちは!あすけんダイエットの方からやってまいりました。@hampomです。 さて、リリース前に聞いていた噂通り、今までのバージョンとはガラリとスタイルが変わったバージョン3系ですが、私も、これまでバージョン1系ばかりで開発していましたが、この秋ぐらいからめでたく業務でバージョン3系を採用!開発を楽しんでおります! タイトルにも書いた「CakePHPで学ぶ継続的インテグレーション」は、CakePHPを使って学ぶ内容となっていますが、まだCakePHP3がリリースされる前に出版された書籍のため、そのままではCakePHP3を用いて動かせないのではないか?ということで、CakePHP3が動く環境を構築してみます。 動作確認環境 Windows 10 ChefDK 0.10.0 VirtualBox 5.0.10 r104061 Vag
社内の方も社外の方もこんばんは。2015年度新卒入社したmekkooです。 Advent Calendarの季節です。街には色があふれていますね。 僕はひたすら画面を見つめているのですが、最近感動したUIがあります。 iTunesに最近搭載された... 美しい。かっこいい! 没頭できる。アルバムアートをちゃんと設定しようという気になる。 PHPで再現して、メディアに取り入れてみたい… PHPでClassを作ってみよう! 画像色抽出どうすればいいか考えた 画像をオブジェクトとして読み込んで phpなら、imagecreatefrom*() 関数 左上から右下へ、ピクセルを走査していく? 大きな画像の場合、10px毎とかでスキップしながらでもいいかも 最終的に、カラーコードの平均を取る? 実際にやってみた <?php class SenseOfColor { private $filepath
2014/11/13 改訂 CONTRIBUTORS.mdが自動生成になった こんにちは、株式会社トップゲートのわかめ(@vvakame)です。 TypeScript 1.0がリリースされ、大変喜ばしい限りです! 安定版がリリースされたので、これから普及にはずみが付くでしょう。 TypeScriptはJavaScriptのスーパーセットです。 そして、TypeScriptは静的型付け言語です。 ところが、JavaScriptは動的型付け言語なんですね。なので、JavaScriptの既存ライブラリをTypeScriptで安全に使うには、型情報を後付で与えなければなりません。 それが、型定義ファイル(言語仕様上はdeclaration source file)と呼ばれるものです。 この型定義ファイルを集積しているサイトが、DefinitelyTypedになります。 DefinitelyType
1. 最初の Node.js プログラム…そして最初の TypeScript プログラム Node.js と TypeScript を使って簡易Webサーバーのプログラムを作って(いじって)みた。text/plain な出力をするサーバーで 80 番のポートでリクエストを受け付ける。以下のコードが最初のプログラムである。英語("Hello World")の出力は問題ない。 import http = require('http'); console.log("program start"); var count: number = 0; http.createServer(function (req, res) { res.writeHead(200, { 'Content-Type': 'text/plain' }); res.end("Hello World"); }).listen(
はじめに こんにちは!TypeScript好きですか!?僕はTypeScript大好きです! RailsはCoffeeScriptが主流ですよね、TypeScript使いたいですよね?使いましょう! Railsのバージョンは4.1です。Rails4で使いたいですよね! ちなみに僕はRailsは初心者です。よくわかっていません。 整えたい環境 Rails v=4.1 TypeScript使いたい とりあえずググってみた とりあえずいろいろググってみたら下記のような参考記事が出てきました。 Rails で TypeScript を動かそうとして失敗した記録 RailsでTypeScript、再び 1年以上前の記事なのでちょっと古いのですが、typescript-rails というgemがあることはわかりました。 とりあえず動いたっぽいということなので参考までに導入してみましょう。 とりあえず
diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index d3e40a2..cf30c7a 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -1467,6 +1467,7 @@ module ts { case SyntaxKind.TildeToken: case SyntaxKind.ExclamationToken: case SyntaxKind.DeleteKeyword: + case SyntaxKind.ShowtypeKeyword: case SyntaxKind.TypeOfKeyword: case SyntaxKind.VoidKeyword: case SyntaxKind.PlusPlusToken
来たる8/23(土)にLL Diverというイベントでmozaic.fm出張版があって、そこで適当にTypeScriptの何かを話す予定なので、ECMAScript 6の予習をしていきます。 司会のJxck先生は知識量豊富なので予習していかないとボコられて恥を晒して死んじゃうからね! あんどうやすしさんは優しいと思うんだけど!! 参考資料 わかめのECMAScript6のはてブ ECMAScript 6のドラフト(ログ) ECMAScript 6で提案されたもの ECMAScript 6 compatibility table es6-shim ECMAScript6をまるっと学ぶ。重要用語とか、仕様策定の進め方とか、新機能とか。 traceur-compiler入門 ECMAScript6をまるっと学ぶ。はすごい参考になったのでぜひ読むべきそうすべき。 この辺りをガシガシ読んでこの記事を
TypeScriptリファレンスお買い上げありがとうございます! Amazon 達人出版会 2014/10/07 TypeScript 1.1.0-1 がリリースされました。ぱちぱち。 コンパイラが書き直されて、大幅な高速化と、わかめが見た感じコードベースのスリム化が行われている気がしなくもない、という感じです。 公式の変更点はChanges between 1.0 and 1.1とList of minor breaking changes from 1.0を見てください。 Playgroundも既に1.1.0-1ベースにアップデートされているようです。 なお、以下の解説はあまり確認せずIssueやサイトに記載の内容を鵜呑みにして記述しております。 言語仕様上の変更 TypeScript 1.0 系の間は、基本的には非互換な変更は導入されないことになっています。Roadmap 非互換な変
TypeScriptリファレンスお買い上げありがとうございます! Amazon 達人出版会 1.0.0の書籍なのですが、基本は変わってないので僕のQiitaの記事をフォローしてもらえればだいたいオッケーです(きり TypeScript1.1.0-1が出て、それの変更点紹介を書いてから1ヶ月強で1.3.0リリースとなりました。早いものです。 昨日夜、Connect();なるイベントがあり、ニコ生で実況もしてたらしいですが、Google信者の僕は酒かっくらってpull requestのレビューして寝てました。不覚。 今度何かMS系イベントがあるときは誰かpingください(小声 公式のブログ記事はこちら。 ありがとうMicrosoftのTypeScriptチーム! TypeScriptチームはコミュニティの意見をよく聞き、柔軟に対応してくれます。 以前はdocxしかなかった仕様も、Markdow
どうもこんにちはわかめです。 この記事はTypeScript Advent Calendarの1日目の記事です。 なお、Advent Calendarはまだ6日ほど空きがあるので皆様よくわからないことを調べてみた!とか日々の生活で発見した小ネタとか読み応えのある超大作とかなんかで参加してください!よろしくお願いします! 初日というところで感動的な記事を書きたいところですが、11月末〆切の冬コミの原稿をガリガリ書いてたらSAN値までガリガリ行っちまって不定の狂気寸前でございます。さくさく書きましょう。 さて、今日は何故TypeScriptをやるべきかを語っていきたいと思います。 世界は型を求めている 今、世界は複雑さに対抗するために機械による検証という支援を多く必要としています。 JSXが、Haxeが、Dartが、AtScriptが、Flowが、TypeScript が型を求めていま
URLYou can post either your article on Qiita or your blog post. About reserved postingIf you register a secret article by the day before the same day, it will be automatically published around 7:00 on the same day. About posting periodOnly articles submitted after November 1 of the year can be registered. (Secret articles can be registered anytime articles are posted.)
この記事はTypeScript Advent Calendarの6日目の記事です。 この記事では、主にTypeScriptの型定義ファイルを作成する時、どのようにジェネリクスを使うと良いのかを、jQuery の型定義を元に考えてみます。 とは言ってもあまりTypeScriptの文法面に詳しいわけではないので、むしろ学習メモですが... 動機 TypeScriptでは DefinitelyTypedコミュニティに、様々なjsライブラリの型定義ファイルが集約されており、普段、自分で型定義ファイルを作成する際に上手い書き方がわからない時など、このサイトで他のライブラリを参考にすることがよくあります。 それらのライブラリで頻繁にジェネリクスが使われているの目にするうち、自分自身では今のところほとんどジェネリクスを使うことがないのですが、「やっぱり一度理解しておかないといけないのでは...」という気
gulpでTypeScriptをコンパイルするプラグインはいくつか種類があるようですが、今のところ自分はgulp-tscとgulp-typescriptの2つを試しながら使っています。 両方使ってみると分かるのですが、利用方法にかなり違いがあるのでお好みに合わせて選ぶと良いのではと思っています。 今回はそんな2つのプラグインの利用方法の違いについて説明します。 と、その前に。 書いている途中で気づいたのですが、今現在のgulp-tscは最新のTypeScriptを利用すると上手く動作しない場合があるようです。 GitHubのIssuesでも報告されていてPull RequestsにPRがたまっているので、これらを参考にしながら自分で修正すれば直るかもしれませんがまだ試せていません。 自分の環境だと/// <reference path="...">の指定がコンパイラに正しく解釈されずにコン
はじめまして、こんにちは、水音ぴねといいます。高知で大学生してます。 今回は、私が TypeScript を使って Google Chrome 拡張機能を作る上で見つけたことを書いていきたいと思います。 少々長くなりすぎた感があります。必要なところを、つまみ食いしてください。 前置き Google Chrome 拡張機能とは ? Google Chrome の機能を拡張するソフトウェアで、Web の技術 (JavaScript / HTML / CSS) 使って作ります。そして、一般的に Chrome 拡張機能と呼ばれるものには、大きく分けて以下の二種類があります。 拡張機能 アプリ (chrome://apps/ に表示されるもの) 「拡張機能」は、ブラウザの UI を拡張したり、ウェブページの内容を書き換えたりするものを指します。「アプリ」は、Chrome の API を使ったアプリケ
declare var exports: Exports; declare class Exports { public handler: Function; } interface Context { done(err: any, value: string): void; invokeid: string; } // S3 Put Event declare class S3PutEvent { Records: Array<S3PutRecord> } declare class S3PutRecord { eventVersion: string; eventSource: string; awsRegion: string; eventTime: string; eventName: string; userIdentity: S3UserIdentity; requestPar
2017/03/19 現在、dtsmは@typesの登場により、(結構前から)tsdと同じくdeprecatedになっています どうも、わかめです。 冬コミ 3日目 西く02aよろしくね! 1月で1人で104Pほど書いて死ぬかと思いました。 しかも仕事がクソ忙しいんですよ!!なんでじゃ!!! 本自体について冬コミに前後して全文を公開する予定ですが、表紙データは配布しないこと、紙版が売れなくて赤字が出ると夏コミなどのやる気に大幅に影響することを鑑みてみなさん買ってくださると嬉しいです!オナシャス! さて、TypeScriptアドベントカレンダー18日目ということでご紹介するのはdtsm(.d.ts manager)です。 TypeScriptには型定義ファイルという、既存のJavaScript資産をTypeScriptで利用するための型のヒントファイルがあります。 その型定義ファイルはDef
TypeScriptリファレンスお買い上げありがとうございます! Amazon 達人出版会 TypeScript in Definitelylandもよろしくオナシャス! TypeScript 1.4.1が出ました! 今回のアップデートはかなり多くの更新を含む、大規模なアップデートであると言えます。 公式のBlogにも書かれているのは以下の通り。 型システムの改善 Union Types Type Aliases Const Enums And more... (Type GuardsとGenericsの改善) ES6構文のサポートの開始 --target es6 の追加 Let/Const Template Strings Looking Ahead (async/awaitやってるらしい) Roadmap上ではExport Language Service public APIと書かれ
はじめに プログラマーなら誰しも、YAML や JSON、XML、Excel ファイル、あるいは独自の DSL などで書いた定義ファイルからコードを自動生成するツールを使用した経験があると思います。 でも、JSON、XML を手で書いていくのはつらい。独自 DSL は覚えるのがつらい。YAML も凝ったことやろうとするとカスタムタグとかいろいろ用意したりしないといけなくて、独自 DSL 化してつらい。Excel ファイルは…… ということで、みんな大好き TypeScript の表現力豊かな記法でそういった定義ファイルが書けて、コードを自動生成できたら幸せなんじゃないだろうかと思い、年末あたりに時間をかけて typhen というツールを作ってみました。 今回はそのご紹介です。 使い方 たとえば、typings/definitions.d.ts に下記のようなインターフェイスがあって、そこか
各ライブラリの特徴 RxJS RxJSはC#発祥のReactive Extensionsのjs移植。基本的に他言語でも統一された仕様に従っている。 RxJS = Observables + Operators + Scheduler ということになっている。 ObservableにはHotとColdという注意すべき特性があり、とくに型で区別している訳でもなく、メソッドで判別しなければいけないので難しい。 Rxからほとんどのメソッドを導入しているので、メソッドが非常に多いが、機能の少ないlite版もある。 Bacon.js Bacon.jsはRxJSが非オープンソースでドキュメントが少ない時代に作られ始めたらしい。(reactive-baconが前身っぽい) 設計思想的にはRxJSより一貫性があるとされる。 RxJSのHot, Coldという特性の違いが気に入らず、Coldを廃したような挙動
TypeScript 1.5.0-alpha TypeScript 1.5.0-alphaがリリースされましたね! TypeScriptの1.5では, ES6対応や, Annotation(Decorator)等の言語の対応だけでなく, TSServerというエディタ向けツールが含まれています. TSServerは, コンパイルやリファクタリングなど、エディタに必要な機能を提供するServerです. 標準入出力を介して, エディタに様々な情報を提供してくれる優れものです. MicroSoftが提供しているSublime TextのPluginも, このTSServerを使って実装されています. TSServerの使い方等については, 別途エントリを起こしたので, よければ参考にしてください. とはいえ、僕はVim使い。残念なことに, MicroSoftはVim向けのPluginまでは作って
はじめに 最近, TypeScript 1.5関連のエントリが少しずつ上がってきてるけど, このエントリはその中で最も誰得?となること間違いなし! 最初に断っておくが、このエントリを読んで得するのは、これから何かしらのエディタ(EclipseとかEmacsとか秀丸とか自分の信じている神に従え)でTypeScript向けのPluginを作ろうと思っている人限定である。 「他人の作ったpluginなんて使う気にすらならないぜ!自分で実装するぜ!」って奴は, こんなもん読まなくても自分で何とかしそうな気がプンプンする. さて, 先日 別のエントリにて記載したが, TypeScript v1.5.0 alpha版公開に合わせて, TSServerを利用したVim plugin tsuquyomiを作成&公開した. このエントリでは, tsuquyomiを作成する上で身についたTSServerの基礎
TypeScriptのASTを操作する方法が、GitHubのWikiに公開されていました。これを使えば,TypeScriptのコードを解析することができます。 準備 TypeScriptのインストール npm install typescriptを実行しTypeScriptを取得します。 tsconfig.jsonを設定する(Atomを利用している場合) ./node_modules/typescript/bin/typescript.d.tsをfilesGlobに追加することで、TypeScriptのASTのAPIのコード補完が可能となります(./node_modules/typescript/bin以下のd.tsファイルを追加すると、Atomが重くなりコード補完は使い物になりません) { "version": "1.4.1", "compilerOptions": { "target"
Buildで発表されたVisualStudio Codeがにわかに盛り上がっているみたいなので、自分のMacbookにインストールしてTypeScriptを試してみた. Install ここから自分のプラットフォームに合わせて選択すべし. 使ってみる .tsファイルのコード補完 適当にTypeScriptのプロジェクトを"Open"でフォルダとして開く. おお、ちゃんと DefinitelyTyped からとってきた.d.ts使って補完が有効化されている。 tsconfig.json tsconfig.jsonに関しても, キーやvalue(module の commonjs 等)が補完されます。これは便利ですねー。 この挙動については, VSCの設定ファイルを開くと, 下記の部分にぶつかる. "json.schema": [ // 中略 { "fileMatch": [ "/tsconf
TypeScript is JavaScript with syntax for types.TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.
TypeScript Language Specification Version 0.8 October 2012 Microsoft is making this Specification available under the Open Web Foundation Final Specification Agreement Version 1.0 (“OWF 1.0”) as of October 1, 2012. The OWF 1.0 is available at http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0. TypeScript is a trademark of Microsoft Corporation. i Table of Contents 1 Introducti
最近は仕事で TypeScript を書いています。この TypeScript は、コンパイルすると JavaScript にできるという特徴をもつ altJS と呼ばれる言語の仲間です。なかでも、推論つきの静的型検査がついていることが最大の特徴でしょう。 さて、話は変わりますが、プログラマは「コンパイル時計算」という言葉が大好きで、とくにうっかりチューリング完全になっちゃったものとかを見つけると、手を叩いて大喜びしたりするわけですね。 TypeScript にもコンパイル時計算があって、コンパイル時の型検査がそのひとつです。今回は、この型検査を利用して、どのレベルの計算機能までを実現できるのか試してみました。 結論からいうと、TypeScript のコンパイル時計算を使って組み合わせ回路を実現できました。 実証コードとして、コンパイル時 4bit 加算器をつくってみました。4bit 加算
TypeScript is JavaScript with syntax for types.TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.
はじめに注意! この記事で扱う内容は現時点(2015-07-19)で実用的でない とりあえず触ってみた、遊んでみたというメモ うごくまでには色々弄る必要があります なにをするの? ES6/ES7をES5/3にトランスパイルするBabelというツールがある Babelのプラグインとしてbabel-plugin-asm-jsというものが最近公開された Flowの型付けがされたES6をEmscriptenを使わずにasm.js化するもの Flowの型はTypeScriptの型と互換性がある …つまりTypeScriptのコードをこのツールにかければasm.jsが簡単に吐き出せるんじゃね? やってみよう インストール TypeScriptのインストール: Type Aliasを使うのでver1.4以降 今回コンパイルはしない 文法や型チェックにつかうだけなので--noEmitオプションを有効にして
TypeScript 1.5.3が出ました! 今回のアップデートはかなり多くの更新を含む、大規模なアップデートであると言えます。 ↑ここまで前回のコピペ まさか、1.4.1から半年待つことになろうとは思いませんでしたね…。 alphaからbetaが1月なのに正式リリースが2ヶ月強ですよ。 '1.4.1': '2015-01-16T17:55:29.237Z', '1.5.0-alpha': '2015-04-02T16:40:27.808Z', '1.5.0-beta': '2015-04-30T17:23:52.442Z', '1.5.3': '2015-07-20T14:47:42.460Z' 変更点は公式Blogにも書かれているが、ざっくりイカの通り。 ES6サポート es6 modules destructuring spread for...of symbols computed
[追記] Gulpプラグインで受け取れるファイルストリームが順不同で、実行するたびにfilesの順序が変わる可能性がある。 ので、atom-typescriptと同じようにfilesGlobを展開するだけのCLIを作ったのでこっちを使って欲しい。 laco0416/tsconfig-cli Globの展開に使ってるのはatom-typescriptの内部でも使われてるTypeStrong/tsconfigなので、割と信用していいはず。少なくともnpmにある他のtsconfig展開系CLIはどれも独自にglob展開しているので使いたくなかった。 tsconfigに設定を集める、タスクランナーに設定を持たないべきという思想のメモという意味でこの記事は残す @laco0416です。gulp.srcのglobパターンからtsconfig.jsonのfilesを更新するプラグインを作りました。 gu
TypeScript 1.6.0-betaが出ました! 今回のアップデートはかなり多くの更新を含む、大規模なアップデートであると言えます。 ↑ここまで前回のコピペ だからlatestタグで -beta を出すんじゃねぇって言ってんだろ(#゚Д゚)ゴルァ!! と思わなくもないですが、出たら出たで嬉しいものです。 追記 @vvakame npm@2.11.2で、pre-release version(= tag付きのversion)をmatchさせるのを止めたようです。docsには元よりそう書いてあったっぽく、patchという認識。 https://t.co/rygKxlYRE7 — Daijiro Wachi ☕ (@watilde) 2015, 9月 5 なので、npm install typescript だと1.5.3が入って、npm install typescript@lates
$ npm install -g typescript@next $ tsc -v message TS6029: Version 1.6.0-dev.20150907 $ npm install -g babel "use strict"; let wait = function(n: number){ return new Promise(done => setTimeout(() => done(n), n)); }; let main = async function(){ await wait(50); console.log('await done'); } // async promise nomally wait(100).then(() => console.log('promise normally done')); main(); "use strict"; var
gulp-typescript で --target es6 から babel に通しつつ Incremental BuildするTypeScriptgulp ivogabe/gulp-typescript 元々typescriptなんてtscを生で叩けばいいじゃん派だったのだが、--target es6 で吐いたのをさらにbabelに通す必要があって、一旦書きだしたものをさらにbabelを通そうとすると、tmpなディレクトリが必要になるし、ファイルIOに負荷がかかるので、gulpのストリームの中で変換したかった。 やりたいこと node / electron で走らせたかったので browserify せずに src -> lib に書き出す。lib は es5 仕様。 ブラウザ用に書き出すときは必要に応じてbrowserifyする。debug中はElectronで走らせることでbrow
Linting Linting is now turned on in the CI build 🎉 Can we make TSLint part of the build? Yes. Make it part of ‘runtests’ Simple reachability checks Done as part of the binder Cheap in terms of perf ~Couple hundred LOC Found two bugs in the compiler Has some checks for e.g. while(true), but nothing extra-fancy Does not include definite assignment Need a faster implementation of Set to do this quic
JavaScriptからTypeScript用型定義ファイル( d.tsファイル )を生成する dtsmake というツールを作った。その過程で型定義ファイルのコツが色々と見えたので紹介込みでまとめてみたい。 型定義ファイルで消耗してませんか? TypeScriptでjsのライブラリなどを使う時に必ず問題になるのが、型定義ファイルの存在。DefinitelyTyped にあれば tsd で取ってくればいいが、問題は無い場合。そもそも非公開ライブラリの場合はあるはずもなく、自分で型定義ファイルを書くことになる。 私のようなノンプログラマの多くがそうであるように、ただライブラリを使いたいだけ、のような場面ではこれはかなりのコストがかかり、TypeScriptで消耗する原因のかなりの割合を占めるのではないかと推測している。 dtsmake について dtsmakeはそういった「 とりあえず使いた
This page outlines specific features and fixes that are scheduled or planned for given releases. The 6-month roadmaps that outlines focus areas of work can be viewed for January to June 2021 (current) January to December 2020 July to December 2019 January to June 2019 Feature already available in typescript@next Future Investigate nominal typing support Flattening declarations Implement ES Decorat
Node.js frameworks 2022 provides one of the most innovative solutions to building web servers. These frameworks speed up your web application development.t Node.js is a JavaScript platform, which is used by web developers in browsers. Node.js frameworks a platform to create scalable applications by using Javascript as its scripting language. Node.js frameworks are useful when it comes to web appli
価格とサイズについては両者に大きな差はない。どちらも安くて小さい事で知られている。しかし両者はその中身に置いて大きく異なる。 CPU速度に関して言えば、Raspberry PiはArduinoの40倍速い。Arduinoにとって分の悪いことに、Raspeberry Piは128,000倍のRAMも積んでいる。Raspberry PiはLinuxが走る独立したコンピュータであり、マルチタスクサポート、二口のUSBポートをもち、インターネットに無線でつながる。つまりMacやWindows PCとまではいかないものの、個人用のPCとしては十分なものなのだ。 ArduinoよりRaspberry Piの方が優れていると思うかも知れないが、それはソフトウェア云々の話の場合に限られる。完全なハードウェア・プロジェクトでは、Arduinoのシンプルさが優位性を発揮する。 ArduinoやRaspberr
こんにちは!フロントエンド闇祓いの Kuniwak です。 この投稿はmixiグループ Advent Calendar 2015の20日目の記事です。 今年の9月に、スマートフォン Web ブラウザ版 mixi「mixi Touch」の巨大 CSS を Less (CSS プリプロセッサー)でビルドする環境へと移行しました。 書き換えた CSS の行数は、なんと 56,725行 です。😵 ということで、今回は弊社の大規模 CSS → Less 移行事例についてお話しします。 背景 スマートフォン版 mixi は、2010年5月に始まりました。 この頃のスマートフォンは、iPhone 端末であれば iPhone 3GS、Android 端末であれば Nexus One という時期です。 また、スマートフォンの世界では、Webkit ベースのブラウザーが席巻していた時代ということになります。
Kurt Masur was musical director of the New York Philharmonic for 11 years Kurt Masur, widely regarded as one of the world's greatest conductors, has died in the US at the age of 88. The German was music director of the New York Philharmonic from 1991-2002 and was credited with reinvigorating the ensemble. Prior to that he led the Leipzig Gewandhaus Orchestra in then-Communist eastern Germany for a
"Only connect." When EM Forster, external urged us to "live in fragments no longer" it was a hope for the future, not a curse. But it is not a bad epitaph for a year when globalisation bit back and the biggest news stories tumbled into each other, growing like a malign crystal. Migration and terror. Borders and bombs. Syria's civil war, external is the cauldron where the turmoil brews, the new pow
The agreement demands that all parties cease attacks against civilians A UN plan for Syria is a "milestone" in the efforts to end the conflict there, says US Secretary of State John Kerry. He said the plan gave Syrians a "real choice... between war and peace". The resolution, passed unanimously by the UN Security Council, sets out a timetable for formal talks and a unity government within six mont
Lord Janner was deemed unfit to stand trial on 22 counts of historical sexual abuse of children Lord Janner, the former Labour peer and MP ruled unfit to stand trial on child sexual abuse charges, has died. He had been suffering from dementia and died peacefully at his home on Saturday aged 87, his family said. The peer had been accused of 22 counts of historical sex offences against boys - allega
Percy Steven and Roger Lockyer, and Whitney Bacon and Megan Evans talk about what their civil partnerships mean to them On 19 December 2005, the UK's first civil partnerships took place. In the 10 years that have followed, nearly 140,000 people have entered into one, while more than 9,000 same-sex couples have since married. Two couples whose lives were changed by civil partnerships describe what
Mr Trudeau pledged to work toward a "full reconciliation" with indigenous peoples Prime Minister Justin Trudeau has pledged "full reconciliation" with Canada's indigenous peoples after a report detailed decades of abuse. Speaking at the release of the Truth and Reconciliation Commission's final report on Tuesday, he said he wants the government to accept responsibility. The report found a school s
The UN security council has unanimously agreed a resolution endorsing an international roadmap for a peace process in Syria, a rare show of unity among major powers on a conflict that has claimed more than 250,000 lives. “This council is sending a clear message to all concerned that the time is now to stop the killing in Syria and lay the groundwork for a government that the long-suffering people
Mast Brothers, the little chocolate company that has made a big claim, to be the best in the world, has been accused of starting off by buying in some of its chocolate ready made, instead of making it all on its own. According to a number of reports, some gourmet experts therefore doubt Rick and Michael Mast’s “bean to bar” philosophy. The Mast brothers, handsome, bearded and quintessentially hips
“It is amazing to think we were a little part of history,” said Gino, who runs a gay wedding planning business in Surrey. “It was an honour to do it that day and it was so fantastic, we had a wedding breakfast and it was a fantastic day.” But the couple also received homophobic threats after their home address was published in the local paper. And Gino believes that despite the legal milestones th
Kurt Masur leading the New York Philharmonic at Avery Fisher Hall in 1998 as it played compositions by George Gershwin, including “An American in Paris.”Credit...Chris Lee Kurt Masur, the music director emeritus of the New York Philharmonic, who was credited with transforming the orchestra from a sullen, lackluster ensemble into one of luminous renown, died on Saturday in Greenwich, Conn. He was 8
The Universe we know and love -- with Einstein's General Relativity as our theory of gravity and quantum field theories of the other three forces -- has a problem that we don't often talk about: it's incomplete, and we know it. Einstein's theory on its own is just fine, describing how matter-and-energy relate to the curvature of space-and-time. Quantum field theories on their own are fine as well,
世界の歴史を振り返った時、空前の繁栄を享受した帝国がほどなく崩壊した背景には、必ずといっていいほど共通した出来事があった。中間層の没落である。古代ギリシャの民主政、ローマ帝国、唐王朝等々、いずれも中間層を没落させたことが衰退、そして滅亡の引き金になった。 経済を理解するためには歴史的視点が重要と語るエコノミストの中原圭介氏は、1980年代以降、アメリカが新自由主義的な政策に傾倒したことで、長らくアメリカの豊かさの象徴だった中間層の没落が始まり、もはやアメリカにはほとんど中間層が残っていないところまで状況は来ているという。そして、今、アメリカには上位1%が富を独占し、99%はほとんど豊かさを享受することができない究極の格差社会が現出している。 翻って日本はどうか。「アベノミクス」と銘打った政策で空前の金融緩和を図り、5割近い円安を実現したが、今のところその果実は大企業のみに集中し、国民の実質
斬新なアドベントカレンダーで毎回楽しみに拝読していましたが、ポッカリと 20 日目だけが空いていることに気づき、何か書こうと思い立って登録しました。しかし、一つ重要なことを見落としていたことに気づきます。 にわかどころか、一般人レベルの知識すら怪しい・・ これまで 30 年以上もろくにさだまさしさんのことを知らないまま生きてきてしまったので、一般人レベルの知識かそれ以下しか持ち合わせていないことに気づきました。 お恥ずかしながら「さだまさしの曲名を 10 挙げてみろ」と言われただけで「もうお手上げです・・」となりかねないという体たらくです。「神田川」がさだまさしではなく南こうせつの曲であることはさすがに存じ上げておりましたが、基本的にはズブの素人といっていいレベルです。 この有り様では、このアドベントカレンダーに参加されている他のさだまさしマニアの方々はもちろんのこと、このアドベントカレン
【ハンズオン資料】StrongLoopのLoopBackを使ってBluemix上のdatabaseをAPIで操作(CRUD)Node.jsMySQLBluemixstrongloop 本記事は、StrongLoopの「LoopBack」を使って、databaseをAPI化させる手順を紹介しています。 ※ 本記事では、「ClearDB MySQL Database」を使いますので、Bluemixの米国リージョンで作業を行ってください。 今回やること 初めにローカルにLoopBackをインストールし、どんな動きをするのか、何ができるのかを試してみます。 そのあと、Bluemix上に「ClearDB MySQL Database」を作成して「StrongLoop MySQL Connector」を使ってローカルで生成した、data sourceやmodelをMySQLと連動して、そのデーターをA
pub struct String { /* private fields */ }Expand description A UTF-8–encoded, growable string. The String type is the most common string type that has ownership over the contents of the string. It has a close relationship with its borrowed counterpart, the primitive str. §Examples You can create a String from a literal string with String::from:
基本的には前回定義したように抽象的なtraitを組み合わせて 汎用的な構造体を構築するのが正道だと思うが、 そうは言っても特定の型へのキャストが必要になるときに困る事がある。 現状のtraitを組み合わせた方法の限界 具体的にはユークリッド距離を返すnormメソッドを想定する。 ユークリッド距離に関しては平方根をとる事になるのでので float系の何かの型へのキャストが必要になる。 impl<T> Point<T> where T:Mul+Copy,<T as Mul>::Output:Add { pub fn norm(self) -> f64 { ((self.x*self.x+self.y*self.y) as f64).sqrt() } }
ファイルの読み込みと編集は std::fs::Fileで行います。ファイルの読み込みと編集の操作方法は、実装トレイトのメソッドを見ればだいたいわかるかと思います。 ドキュメントを見て少々わかりにくいかもしれないのはファイルを開く方法で、二つの方法があります。一つは File のメソッドである open または create メソッドを使う方法です。 open は read-only でファイルを開き、 create は write-only でファイルを開きます。 open はファイルが存在しなければエラー (Result) を返し、 create はファイルが存在しなければ生成します。大抵の場合はこの二つで事足りると思います。 もしファイルの開き方をもっと細かく制御したいなら OpenOptions を使います。ファイルの読み込み、書き込み、生成の条件を指定できます。 File::ope
はじめに これは 【その1】ドリコム Advent Calendar 2015 の19日目の記事です。 18日目はYさんの記事でした。 【その2】ドリコム Advent Calendar 2015の18日目はwasbi01さんの記事でした。 寺社自社で開発/運用している、Elixirを利用した広告配信システムについて紹介したいと思います。 自己紹介 @ohrdev 普段は写経(仏教的な意味で)や仏像彫り、寺社仏閣巡りをしています。 空いた時間はドリコムという会社で広告周りのシステムの開発をしています。 好きなbehaviourはgen_eventです。 Elixirについて ElixirはErlangのVM上で動作する比較的新しいプログラミング言語です。 Erlangで実装されている為、分散、耐障害性、ソフトリアルタイムといった(Erlangの)特徴を兼ね備え、Elixir独自の、マクロ、
お知らせ 【重要なお知らせ】iOSアプリの運用および提供を2024年6月3日(月)を以て終了いたします。詳細は お知らせをご覧ください。 お知らせ connpassではさらなる価値のあるデータを提供するため、イベントサーチAPIの提供方法の見直しを決定しました。2024年5月23日(木)より 「企業・法人」「コミュニティ及び個人」向けの2プランを提供開始いたします。ご利用にあたっては利用申請及び審査がございます。詳細はヘルプページをご確認ください。
Try Gemini 1.5 models, our newest multimodal models in Vertex AI, and see what you can build with a 1M token context window Access advanced vision models via APIs to automate vision tasks, streamline analysis, and unlock actionable insights. Or build custom apps with no-code model training and low cost in a managed environment. New customers get up to $300 in free credits to try Vision AI and othe
front - all - random | gadgets - sports - gaming - pics - worldnews - videos - AskReddit - aww - Music - funny - news - movies - blog - books - history - food - philosophy - television - Jokes - Art - DIY - space - Documentaries - Fitness - askscience - nottheonion - todayilearned - personalfinance - gifs - listentothis - IAmA - announcements - TwoXChromosomes - creepy - nosleep - GetMotivated -
***Sicario***… (2015)… full… movie… stream… is… now… available… to… watch… online… in… DVDRip… quality. Don't… waste… your… time… and… watch…...Sicario … (2015)… full… movie… stream… is… now… available… to… watch… online… in… DVDRip… quality. Don't… waste… your… time… and… watch… Sicario … full… movie… stream… NOW!… › Movie… Rated… PG-13… › Drama… 2015-11-20… - Watch… Sicario … (2015)… Online… Fre
学生が最初に取得するクレジットカードとしておすすめなのが、三井住友VISAデビュープラスカード(学生)です。 当カードは、初めてクレジットカードを申し込む、18歳から25歳までの学生を対象として開発されたクレジットカードです。 国際ブランドは、世界シェアNo.1のVISAブランド。 WEBに親しんでいる若者向けということで利用明細書はWEB明細書限定となっています。キャッシング機能も無いシンプルな商品設計となっています。 学生をターゲットにしたクレジットカードですから、年会費はもちろん無料。実際には初年度無料で、2年目からは1,312円かかるのですが、前年に一度でもカード利用があれば無料となりますから実質無料と考えて大丈夫です。 三井住友カードのポイントプログラムは「ワールドプレゼント」と呼ばれるのですが、三井住友VISAデビュープラスカード(学生)は、このワールドプレゼントのポイントの付
Commenti sul film Italiano Teatro alla Scala di Milano: Giovanna d但rco (2015) Dove vedere Italiano Teatro alla Scala di Milano: Giovanna d但rco (2015) Italiano Teatro alla Scala di Milano: Giovanna d但rco (2015) BDrip BRRip Italiano Teatro alla Scala di Milano: Giovanna d但rco (2015)Streaming vk Teatro alla Scala di Milano: Giovanna d但rco Stream Online Teatro alla Scala di Milano: Giovanna d但rco (201
Пикантные видео, секс, порно и все такое Наш порно сайт предлагает всем любителям клубнички отменные онлайн ролики на абсолютно разные темы, зрелые мамочки долбятся в анальчик или же юные лесбиянки лижутся ранним утром на кроватке с восходом солнца. У нас горы отменного порно на разные вкусы. Грудастые порнозвезды отдаются неграм, у которых между ног болтаются настоящие черные шланги, а вот развра
【追記】 「mixiページ」サービス終了に向けてのスケジュールは、2020年8月31日に全てサービス提供終了としていましたが、以下の日程に変更します。 ・2020年9月7日11時頃 モバイル版mixiページ終了 ・2020年9月14日11時頃 PC版、スマートフォン版mixiページ終了 終了時刻は前後する場合がございます。 ダウンロード機能はPC版スマートフォン版mixiページ終了と同時の2020年9月14日11時頃に終了いたしますので、「mixiページ」データのダウンロードをご希望の方は、お早めにダウンロードをお願いします。 以上、どうぞよろしくお願いいたします。 【追記】 終了予定の「mixiページ」とは、SNSmixi全体の中の一部特定サービスの名称でございます。 SNSmixiの全てが終了するわけではございません。2020年8月31日以降も引き続きSNSmixiはご利用いただけます
TODAY+>Newcastle United vs Aston Villa L.i.v.e. S.t.r.e.a.m.i.n.g Fre = ...Aston Villa v Arsenal: Premier League – as it happened ...The......Aston Villa v Arsenal: Premier League – as it happened ...The Guardian-13 Dec 2015 ...Aston Villa v Arsenal: Premier League – as it happened .... Next for them is a six-pointer against Newcastle United at St ..... They'll both live. ...Arsenal vs Aston Villa
Thank you for visiting. Unfortunately, IDG Answers is no longer operational. You can still find technical advice using these IDG resources: For PC help, please try PCWorld Answer Line. For help with Mac, iOS and related products, take a look at Macworld's Mac 911. For Android assistance, Greenbot's Android Tipbot is available. For connected homes, Internet of Things, TechHive may have your solutio
Пикантные видео, секс, порно и все такое Наш порно сайт предлагает всем любителям клубнички отменные онлайн ролики на абсолютно разные темы, зрелые мамочки долбятся в анальчик или же юные лесбиянки лижутся ранним утром на кроватке с восходом солнца. У нас горы отменного порно на разные вкусы. Грудастые порнозвезды отдаются неграм, у которых между ног болтаются настоящие черные шланги, а вот развра
See related links to what you are looking for.
Newcastle United vs Aston Villa Live Streaming English Premier League online Tv Coverage. Watch Aston Villa vs Newcastle United Live EPL Football...Newcastle United vs Aston Villa Live Streaming English Premier League online Tv Coverage. Watch Aston Villa vs Newcastle United Live EPL Football Fight Date & Start Time.NCAA Football: Aston Villa vs Newcastle United Live EPL Football, Vargas prep for
See related links to what you are looking for.
As of 3rd April 2021, GroupSpaces is now discontinued and will shortly cease operation. Within the next few days: Group websites will no longer be accessible Emails to group mailing lists will be returned to sender as undeliverable After 3rd May: All data will be erased, including all group databases and user accounts Thanks to our customers who have made use of GroupSpaces since the site launched
Other resources Subscribe to the recent news and changelogs in our blog. The quickest way to get an answer is asking a question on our Slack channel. You can find real working samples for various scenarios from other players at GitHub. If you still have any questions or concerns, please feel free to submit a request or reach out to us by email at contact@screeps.com.
Pure. HD.Watch. Star Wars The Force Awakens Online. Movie. Streaming.
=+>MOTO!!WATCH " In the Heart of the Sea" (2015) Full. Movie. STREAM..FREE. 1080p
[Watch] Star Wars The Force Awakens Online. Free. Movie. filenuke.
Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts
Wantedly Advent Calendar 2015 18日目です。 インフラチームインターンの @dtan4 です。 Wantedly では Terraform を用いたインフラのコード化 (Infrastructure as Code) を全面的に取り入れています。インフラリソースの追加や修正は、コードを書くこと・CI 上での自動適用によって行われています。 この記事では、今年5月から半年以上の間 Terraform を運用してきた中での なぜ Terraform でインフラをコード化しようとしたのか どのように Terraform を運用しているのか Terraform 運用にあたって注意すべき点 既存リソースから Terraform コードを生成する Terraforming について ということを紹介したいと思います。 Terraform とは Terraform は、Va
A free Git client for Windows and Mac Sourcetree simplifies how you interact with your Git repositories so you can focus on coding. Visualize and manage your repositories through Sourcetree's simple Git GUI. Simple for beginners Say goodbye to the command line - simplify distributed version control with a Git client and quickly bring everyone up to speed. Powerful for experts Perfect for making ad
Build RAG applications with MongoDB Atlas, now available in Knowledge Bases for Amazon Bedrock Foundational models (FMs) are trained on large volumes of data and use billions of parameters. However, in order to answer customers’ questions related to domain-specific private data, they need to reference an authoritative knowledge base outside of the model’s training data sources. This is commonly ac
Guide to Asking Slow Query Questions In any given week, some 50% of the questions on #postgresql IRC and 75% on pgsql-performance are requests for help with a slow query. However, it is rare for the requester to include complete information about their slow query, frustrating both them and those who try to help. Please post performance related questions to the pgsql-performance mailing list or to
Cluster analysis or clustering is the task of grouping a set of objects in such a way that objects in the same group (called a cluster) are more similar (in some specific sense defined by the analyst) to each other than to those in other groups (clusters). It is a main task of exploratory data analysis, and a common technique for statistical data analysis, used in many fields, including pattern re
VTech's app database for its connected toys was hit in the attack A 21-year-old man has been arrested in Berkshire by police investigating the hacking of electronic toy maker VTech. The man has been held on suspicion of "unauthorised access" to a computer, said the South East Regional Organised Crime Unit (Serocu) in a statement. VTech was hit in mid-November when servers holding its customer info
北京市は18日、深刻な大気汚染が19日から予想されるとして、最も厳しい「赤色警報」を発令した。今月8~10日に続き2度目となる。 北京の気象当局によると、19日から22日にかけて北京は濃いスモッグに覆われる見通し。微小粒子状物質PM2.5の濃度は1立方メートル当たり500マイクログラムに達する予測で、最高で300マイクログラム弱だった前回の「赤色警報」期間中よりも深刻な状態が懸念されている。世界保健機関(WHO)が推奨する上限は、同25マイクログラム。
China has accused the US of “serious military provocation” after a B-52 bomber mistakenly flew within two nautical miles of Chinese-claimed territory in the South China Sea last week. According to a report in the Wall Street Journal, the incident involving the B-52 bomber took place last week near the Cuarteron Reef in the Spratly archipelago, disputed territory claimed by China and several of its
この記事は animateLAB Advent Calendar 2015 19日目の記事です。 こんにちは。ポエムおじさんこと@kariaです。今年のAdvent Calendarもついに19日目となりました。後半に入り歴戦のエンジニアたちが次々と参戦してくれて、主催者としてはありがたい限りです。 今日はポエムデーのはずだったのですが、予定を変更して私の手元の秘伝のタレに少し味付けをして公開することにしました。ということで、LAMP環境で障害対応をすることになった時にどこからアタリを付けてどう調べていくか?という初動対応のお話をします。 そもそもLAMP環境とは OS:Linux Webサーバ:Apache データベース:MySQL アプリケーション:PHP/Perl/Python という組み合わせの、IT用語辞典に項目があるぐらいメジャーな環境構成のことをLAMPと呼びます。最近だとW
The big news about “Star Wars: The Force Awakens” is — spoiler alert — that it’s good! Despite the prerelease hype, it won’t save the world, not even Hollywood, but it seamlessly balances cozy favorites — Harrison Ford, ladies and gentlemen — and new kinetic wows, along with some of the niceties that went missing as the series grew into a phenomenon, most crucially a scale and a sensibility that a
slide.md Node.js 入門 清水俊博(@meso) 株式会社ドワンゴ 技術コミュニケーション室 Node.js 日本ユーザグループ Node.js とは何か Webブラウザ外で動作する、ノンブロッキングI/O環境上に構築されたJavaScriptの実行環境(プラットフォーム) いわゆる"サーバサイドJavaScript"の1つ サーバサイドJavaScript Node.js 以外にも従来からいくつも存在 Netscape Enterprise Server, IIS+JScript, Helma Aptana Jaxer, Narwhal, RingoJS 流行らなかった JavaScriptがしっかりしたプログラミング言語として認められてなかった時代 「別にサーバサイドまでJavaScript使いたいと思わないんだけど」で玉砕 Node.jsの目的は「サーバサイドでJava
“May you live in interesting times” is a popular apocryphal curse attributed to the Chinese. If you work in the IT industry, these are certainly interesting times. The IT infrastructure industry continues to consolidate and restructure, putting familiar names in play. Cloud has emerged as more than just a convenient consumption option; it has become the new blueprint for IT operations. In the spir
Financial analysts peppered Oracle Executive Chairman and CTO Larry Ellison with a number of questions concerning Amazon Web Services during a no-holds-barred Q&A session during Oracle OpenWorld 2015. The questions varied, but they boiled down to a theme: Will Amazon eat Oracle’s lunch in the cloud? Ellison told the analysts that Oracle watches Amazon “very closely.” But he also said he doesn’t co
How Russia does business in the Putin era Comrade Capitalism A Reuters Investigation SWIFT RISE: Kirill Shamalov, son of an old friend of Vladimir Putin, was able to borrow about $1.3 billion via a new company wholly-owned by him. He is pictured here in Moscow on July 29, 2015. REUTERS/Kommersant Photo/Dmitry Dukhanin The story of Kirill Shamalov, the celebration of his wedding to the Russian pres
結婚した夫婦に同じ姓を名乗ることを求めている現行の法律が、憲法が保障する婚姻の自由を侵害しているなどとして、5人の男女が国に損害賠償を求めていた裁判で、最高裁が12月16日、これを合憲とする判断を下したことに対しては、選択的夫婦別姓を求めてきた人たちの間で落胆の声が広がっている。しかし、憲法学者で首都大学東京准教授の木村草太氏は、最高裁の判決は夫婦別姓に対して最高裁が強い理解を示していると見ることができる内容になっていると指摘し、次に期待が持てる判決だったと評価すべきと語る。 民法750条で「夫婦は、婚姻の際に定めるところに従い、夫又は妻の氏を称する」と定められているため、日本では結婚した夫婦はどちらかの姓に統一することが求められる。そして、実際は結婚した夫婦の96%が夫の姓を名乗っていることから、これは女性に多大な犠牲を強いる差別的な制度であるとの批判がある。その一方で、夫婦同姓は夫婦の
README.md DEEPstation DEEPstation version 0.1.0 Browser based GUI deep learning tool. Screenshots Top page Datasets Modes Model detail page Train result View and Edit model Dataset page Requirement DEEPstation is tested on Ubuntu 14.04. We recommend them to use DEEPstation, though it may run on other systems as well. System NVIDIA CUDA Technology GPU and drivers Python 2.7 python-opencv SQLite3 P
PyImageSearch You can master Computer Vision, Deep Learning, and OpenCV - PyImageSearch Well. I’ll just come right out and say it. Today is my 27th birthday. As a kid I was always super excited about my birthday. It was another year closer to being able to drive a car. Go to R rated movies. Or buy alcohol. But now as an adult, I don’t care too much for my birthday — I suppose it’s just another rem
Wearable technologies are today on the rise, becoming more common and broadly available to mainstream users. In fact, wristband and armband devices such as smartwatches and fitness trackers already took an important place in the consumer electronics market and are becoming ubiquitous. By their very nature of being wearable, these devices, however, provide a new pervasive attack surface threatening
この記事は、OpenCVアドベントカレンダー18日目の記事です。 http://qiita.com/advent-calendar/2015/opencv OpenCVで物体検出器を作成するにあたり、手っ取り早いのはopecv_traincascadeという実行ファイルを使用して検出器をトレーニングすることです。 OpenCV2.xからHaar-like特徴以外にもLBPやHOGといった特徴量も選択することができました。 http://d.hatena.ne.jp/takmin/20141008/1412776956 HOGは人物検出などで有効な特徴量のため[1]重宝していたのですが、OpenCV3.0になりいざ検出しようとすると、HOGはだめだよーというAssertionエラーが。。。 トレーニングはできるのになぜ???とググってみたら、以下のような情報が http://code.ope
老司机小区二区三区4区㊙️官人我要㊙️,老司机小区二区三区4区要看就看最好的????娱乐互动平台,老司机小区二区三区4区多样的美女互动、优质的直播内容、极致的互动...
12/18 辺野古ゲート前「一般市民はカメラを回すな」と指揮棒が指示 警視庁・機動隊の「ありのまま」を撮られると困るので 遂に警察が統制か 【撮影http://twitcasting.tv/lovin_nana/】
Spring Frameworkは Rod Johnson 氏の著書 "Expert One-on-One J2EE Design and Development" の中で使用されたコードを元にしたオープンソースの Java/J2EE アプリケーションフレームワークです。 「DIコンテナ」「Dependency Injection」という言葉を、耳にしたことはないでしょうか。Dependency Injection とは、オブジェクト が必要とする情報を、外部から注入することで、コンポーネントの再利用性を高めることを目的としたデザインパターンのひとつです。 ここでは、今後 Java プログラマにとって必須となるであろう Spring Frameworkについて解説していきます。 Spring Framework INDEX Spring Framework 1.1. Spring の概要
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く