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
In computing, a compiler is a computer program that translates computer code written in one programming language (the source language) into another language (the target language). The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a low-level programming language (e.g. assembly language, object code, or machine code) to create an
オンラインカジノは遊雅堂カジノがおすすめ! PHPは世界中で広く利用されているプログラミング言語であり、日本でも活用が広がっています。多くの資料で、PHPはプログラム言語の日本の人気ランキングでJava、C に次いで3位になっています。さらには、PHPエンジニアを対象とした求人広告は前年比で128%増加しています。 日本で、Javaは主に業務系システムに用いられ、C言語はアプリ開発に使用されています。一方、PHPは特にWebサーバの構築に使われます。現在、日本ではWeb開発のプロジェクトが非常に多いため、PHPエンジニアの需要もますます高まっています。 収入に関しては、求人の63.2%が年収400万円以下となっています。日本のプログラマーの平均年収は約400万円ですから、PHPが普及したことで、扱えるエンジニアの数が多くなり、給与を大幅に押し下げる結果となったと考えられます。見方を変えれば
This content has moved; redirecting to the new location.
Welcome to Swift About Swift Swift is a new programming language for iOS and OS X apps that builds on the best of C and Objective-C, without the constraints of C compatibility. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks, is an oppo
A quick cheat sheet and reference guide for Apple's Swift language. This guide intends to cover all the key features of Swift, including Strings, Arrays, Dictionaries and Flow Control. Swift is a new programming language for developing iOS and OS X apps that was introduced by Apple in June 2014. Variables var myInt = 1 var myExplicitInt: Int = 1 // explicit type var x = 1, y = 2, z = 3 // declare
Hacker News Search, millions articles and comments at your fingertips.
Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.
Get from zero to hero in less than a month Write your first 1000 lines of swift code Learn the most loved programming language Get automated feedback from our exercise platform Think about your typical 2-packs-a-day smoker. It’s hard getting them to acknowledge that each of those cigarettes contributes to lung cancer, because “those things only happen to other people”. With software products, each
Chocolate cake sweet pie chocolate bar. Danish tart cookie topping tootsie roll pie tart jujubes donut. Dragee bear claw tootsie roll chocolate cake. Die Beauftragung eines Anwalts kann sich überwältigend anfühlen – vor allem, wenn Sie einen Anwalt brauchen, der Sie in komplizierten Angelegenheiten wie der Gründung eines Unternehmens, der Bewältigung eines Autounfalls oder der Erstellung eines Tes
Code new worlds. Join us for an exhilarating week of technology and community. Be among the first to learn the latest about Apple platforms, technologies, and tools. You’ll also have the opportunity to engage with Apple experts and other developers. All online and at no cost. Experience WWDC here and in the Apple Developer app. Keynote and State of the Union The Apple Worldwide Developers Conferen
3.1.11983 – Apple Independent Software Developers Conference
新しいテクノロジーがわれわれの働き方に計り知れないほど大きな影響を与えています。実際、異なる世代が同じ職場で働く中で、労働力の多様化と就労の長期化が進んでいます。従来のキャリアモデルはもうすぐ過去のものとなり、未来の職務や役職の多くは私たちがこれまで考えたこともないものになるかもしれません。どうすれば新しい時代の人材を惹きつけ、定着させ、動機付けできるでしょうか?その結果、人事はどう変わるのでしょうか? 本調査はPwCとオックスフォード大学サイード・ビジネス・スクールのジェームス・マーチン科学文明研究所との共同調査に基づいています。本報告書では2022年までを展望し、その8年間に起きるさまざまな変化によって形成されることになりそうな3つのワールド・オブ・ワークのシナリオについて紹介し、未来の組織がどのように運営されるのかを検討する際の視点を提供します。
News API Aggregate, understand, and deliver news content at scale.
Facial recognition software at a US airport Automatic ticket gate with face recognition system in Osaka Metro Morinomiya Station A facial recognition system[1] is a technology potentially capable of matching a human face from a digital image or a video frame against a database of faces. Such a system is typically employed to authenticate users through ID verification services, and works by pinpoin
『この法則でゾーンに入れる! ―集中「脳」のつくり方』茂木 健一郎 この法則でゾーンに入れる! ―集中「脳」のつくり方 作者: 茂木健一郎 出版社/メーカー: 朝日出版社 発売日: 2014/09/06 メディア: 単行本 この商品を含むブログを見る この法則でゾーンに入れる! 集中する。 大切ですよね。 本書では、集中して、ゾーンに入るための方法について書かれています。 ▼ ここに注目 ▼ 「集中できない人の意外な盲点は何かというと、それは「本質的なことは何か」についての認識が低いということです。(中略) ただ作業をしていれば集中しているということではなくて、その作業が実質的にどれくらい意味のあることなのか、あるいは今の課題に対して本当にプラスになることなのか、状況をより良い方向に改善させるものなのかどうかということへの見極めや判断が非常に大事だということです。」(p.112) 本質的な
HOME お金の雑学 お金持ち 『1億円が貯まる人の「24の成功ルール」 』の要約 (田口智隆)から学ぶ日本人の50人に1人のミリオネアに仲間入りする方法 「借金500万円でも…10年あれば資産1億円作れる」という自信が持てる一冊 本書は、筆者の田口智隆氏がドン底だった28歳から、ミリオネアとなり経済的独立(ファイナンシャル・インディペンデンス)を達成するまでの38歳までの軌跡を辿った本である。 24の成功のルールは、半分マネーに関すること、半分自己啓発に関することで、 それに付随してマネー本・ビジネス本の紹介がされているので、私は非常に具体的でわかりやすいと思った。 何より本書は『金持ち父さん 貧乏父さん』のようにエピソード形式なので、印象的で記憶に残りやすくて良い。 「成功ルールは目新しいことはなく、どこまで徹底して継続的な実行に移せるかがキモなんでしょう。」 とレビューにあるが、実行
その名の通り東京を東西に貫き、23区東部や千葉県北西部から東京都心への大動脈となっている東京地下鉄(東京メトロ)東西線。大手町など都心部に短時間で直結する利便性の高さから、葛西や浦安など地上区間の各駅を中心に宅地開発が急速に進み、鉄道の混雑率ワーストクラスの常連となっている。今後「日本一の混雑路線」になる可能性も出てきた東西線で、混雑緩和と遅延防止に向けた大改良工事が進められている。 高架線を走る東西線の電車(05系)。都心までの所要時間の短さなど、利便性の高さから沿線開発が進み、ラッシュ時の混雑は日本ワーストクラスだ(写真:小佐野カゲトシ) 2015年以降は「混雑日本一」に? 東西線は全国の地下鉄と大手民鉄16社の中で最も混雑率の高い路線だ。国土交通省の2013年度データによると、木場─門前仲町間の朝ラッシュ時1時間(7時50分~8時50分)の混雑率は199%。どれくらい混雑しているかと
知人男性に違法な高金利で資金を貸し付けていたなどとして、警視庁が出資法違反(高金利)容疑で40代の指定暴力団山口組系組幹部の男を逮捕し、同容疑などで男2人の逮捕状を取ったことが23日、捜査関係者への取材で分かった。逮捕状が出ている男のうち1人は、元「モーニング娘。」でタレント、加護亜依さん(26)の夫の会社役員(47)であることも判明した。 逮捕されたのは、山口組6代目の篠田建市(通称・司忍)組長の出身母体である弘道会(愛知)傘下の小松組(東京)幹部。逮捕状が出ているもう1人の男は、山口組系組員の男。 捜査関係者によると、組幹部の男と会社役員は平成25年9月、都内に住む知人で飲食店勤務の男性に約250万円を貸し付け、法定金利以上の不当な利益を得た疑いが持たれている。 組員の男には男性から別に約250万円を脅し取ったとして、恐喝容疑で逮捕状が出ている。 小松組は弘道会の東京進出の先導役とみら
2. システム概要 homingは、アメーバピグ関連サービスのいずれかにログインしているユーザに対して、各サービスの通知情報を横断的にプッシュ通知します。 システムの構成は以下の通りです。 図2-1. システム概要 2-1. APIサーバ ユーザへの通知要求を受け付けるREST fullなAPIを備えたWebサーバです。 Node.jsのClusterによる、master/worker構成で稼働します。 通知要求はワーカプロセスで処理します。 図2-2. APIサーバ 2-2. Redisサーバ(データストア用) 一時的なデータをストアするためのRedisサーバです。 sentinelプロセスによる、master/slave構成で稼働します。 ストアされたデータはメモリ上のみで管理し、ディスクへの書き込みは行いません。 以下の情報を管理します。 ユーザのオンライン情報 ユーザIDの索
「仕事ができる」というのは、どのような状態を指すのでしょうか。 本記事では、「周囲に評価され、きちんと結果を出している人のこと」と定義し、その特徴を 6 つご紹介したいと思います。 結果=成功だけではありません。別に失敗したってかまわなくて、むしろ失敗の経験がない人はこれから大丈夫かなと心配になります。成功しか知らない人はどこかで破綻しますので。 よくいう、エリートが挫折を味わうのに近いですね。負かされた経験がないので、大人になるほどガツンとやられたときに立ち直れなくなってしまう可能性が大きくなります。 仕事ができる人の特徴6つ #1 時間管理ができており、常に目標を掲げている ものすごくつまらない単調な仕事を与えたときに、大きく2つのグループにわかれます。 自分で目標時間を定め、効率よくさばける方法を考える 時間は関係なく、与えられた仕事をダラダラとこなす 時間制限を課さない場合はなおさ
10月21日、米国務省は、米国民らがイラクやシリアで勢力を広げる過激派組織「イスラム国」に参加しないためのプロパガンダを行っている。写真は6月、シリアでの軍事パレードで車から旗を振るイスラム国の戦闘員(2014年 ロイター) Peter Van Buren [21日 ロイター] - 米国務省は、米国民らがイラクやシリアで勢力を広げる過激派組織「イスラム国」に参加しないためのプロパガンダを行っている。だがそれはお粗末で、時に皮肉的でさえあり、意図した効果は望めそうにない。 それはなぜだろう。そもそも国務省がイスラム国の勧誘方法を理解していないことが原因だと言える。 イスラム国のやり方は、アルコール依存症に苦しむ人々の相互支援団体「アルコホーリクス・アノニマス(AA)」と同じなのだ。 AAは広告でアルコール依存症者を勧誘するのではなく、彼らのためにどのような手助けができるかという点に焦点を当て
Webサイト運営の役割って明確に決まっている?Webサイトの目的と目標は何?Webサイトの現状把握できている?目標が達成できる指標をデータ化している?施策のリストアップと優先順位付けできている?施策の設計図とメッセージはドキュメント化されている?※チェックリストの項目をクリックすると、その解説に飛びます。 やることがたくさんあると何から手をつけていいかわからなくなりますよね。まずは、上記のリストアップした6つのチェックポイントで、自分ができていること、できていないことをチェックしてみよう。また、記事末には、チェックリストをまとめた「Web担当者の心得」を掲載していますので、困ったとき、行き詰まったときのガイドブックとして使ってください。 6つのチェックポイントで「ヒト・モノ・カネ」の投資を獲得できるWeb担当者になろう本連載では、運営しているWebサイトの現状を理解して、戦略と推進する組織
【詳報】長野県内最大イオンモール須坂、テナント構想 「サンクゼール」「ユニクロ」「GU」「アルペン」も【出店が想定される企業・店舗の一覧表付き】
財務省のデータ解釈に異議あり教育界に激震が走った。財務省が、「公立校の35人学級を40人学級に戻すべき」との方針を打ち出したからである。(47NEWS,ハフィントンポスト,TBS News) そしてその記事をみて、私はもう一つの驚きを覚えた。というのも、財務省はその根拠となる「いじめ」などの統計データを誤って理解し、「40人学級に戻すべき」と提案しているからである。私の理解では、財務省が示した数字からは、「35人学級を継続すべき」という結論しか得られない。 「35人学級を40人学級に戻すべき」財務省が、「公立校の35人学級を40人学級に戻すべき」との方針を打ち出した。「少人数学級」は、教育界が長年訴え続けてきた最重要課題の一つである。全学年とまではいっていないものの、2011年度から小学校の1年生で35人学級が実現したばかりであった。 学級規模が小さくなるとき、その増えた学級分については教
KADOKAWA・DWANGOはLINE社のRSSサービス「livedoor Reader」の資産譲受を発表した。 譲受先は子会社であるドワンゴ社。今後はドワンゴにてサービスの維持運営が行われる。 ドワンゴはniconicoでのブロマガやニコニコニュースなど、多数のコンテンツを扱い、livedoor Readerとの親和性も高いとの判断、今件での資産譲受に合意した。 本件責任者であるドワンゴ ネット創作支援部セクションマネージャ 園野淳一氏が編集部の電話取材に対し、 「サービス名は変更する予定だが、使い勝手はこれまで通り維持するので、ユーザーのみなさまは安心して欲しい」とコメントした。 LINE社のlivedoor Readerは10月1日、LINE社よりlivedoor Reader のサービス終了を発表していたが、15日にはサービス終了の撤回が行われていた。 なお週アスPLUSでは、担
山形県と宮城県にまたがる蔵王山について、火山噴火予知連絡会は「地震活動の高まりがみられ、山に近づく際には、火山ガスの噴出などに十分な注意が必要だ」とする検討結果をまとめました。 専門家などで作る火山噴火予知連絡会は23日、気象庁で定例の会合を開き、各地の火山活動について検討しました。 このうち、蔵王山では、ことし8月から今月にかけて、地下のマグマや火山ガスなどの動きを示す「火山性微動」が合わせて9回発生し、8月には火山性地震がやや多い状況になりました。 また、「火山性微動」に伴って、地盤の変動を捉える傾斜計のデータに、山側がわずかに上がる変化が観測されたということです。 また、今月8日と19日には、「御釜」と呼ばれる火口湖の湖面のごく一部が白く濁る現象が、一時確認されました。 こうしたことから、火山噴火予知連絡会は「蔵王山では地震活動の高まりがみられ、突発的に火山ガスや泥が噴出する可能性が
日本経済新聞夕刊の連載「人間発見」に、ジェイアイエヌの田中仁社長が登場しています。均一料金のメガネ「JINS」ブランドを展開していて、注目されている経営者です。 田中さんがサラリーマンを辞め、起業を決意したときのことが興味深いです。高校を卒業して地元信用金庫の支店に勤めていたときのこと。85年12月31日、22歳のときです。 大晦日のこの日、支店の預金が目標金額に達していないことから、支店長は支店の営業職員に「今から全員で訪問営業をしろ」と大号令をかけました。時刻は午後9時過ぎのこと。 NHKテレビでは紅白歌合戦がはじまっている時間です。日ごろ、営業で懇意にしている金持ちの家庭だけが頼りですから、非常識を覚悟で1軒の家庭を訪問したときです。「こんな夜中にカネをせびりにくるとは何だ」とご主人に罵倒されました。このとき田中さんは溢れる涙を拭きながら、勤めていた信金を辞めることと起業を決意しまし
You Should Subscribe Here Now: http://bit.ly/Subscribe-to-Noisey Noel Gallagher is back and Noisey is excited to premiere the video for "In The Heat Of The Moment", the first single from the forthcoming album 'Chasing Yesterday' (the first to be produced as well as written by Noel). Director: Ollie Murray Producer: Jamie Clark Chasing Yesterday is the follow-up to High Flying Birds’ 2011 self-
Panda Bear - "Mr Noah" from 'Panda Bear Meets The Grim Reaper', out now on Domino Record Co. Subscribe to Domino on YouTube: http://smarturl.it/DominoYT ‘Panda Bear Meets The Grim Reaper’: Buy: http://smarturl.it/PBGrimReaperMart Stream & Save: http://smarturl.it/PBGrimReaperStrm Download: http://smarturl.it/PBGrimReaperDL Follow Panda Bear: Website: http://pandabearofficial.com/ Facebook: h
Download “Celebrate (From Penguins of Madagascar)" rom the new album “Globalization” on iTunes: http://smarturl.it/Globalization?IQid=yt Stream “Celebrate (From Penguins of Madagascar)" on Spotify: http://smarturl.it/CelebrateSP?IQid=yt Watch the official movie trailer for Penguins of Madagascar here: http://smarturl.it/PoMTrailer?IQId=yt Music Video by Pitbull performing Celebrate (from the Or
On October 22, 2014 a gunman opened fire at the War Memorial in Ottawa and then had a shootout with police inside Centre Block of Parliament. A Globe and Mail journalist was inside Parliament and captured this footage where an exchange of gunfire can be heard. For broadcast rights, please contact enterprisesales@globeandmail.com Follow The Globe and Mail https://theglobeandmail.com Instagram: ht
- Source: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/141022205044-ac-dnt-kaye-ottawa-parliament-shootings-00031317.jpg?q=x_0,y_0,h_720,w_1280,c_fill/h_540,w_960" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/141022205044-ac-dnt-kaye-ottawa-parliament-shootings-00031317.jpg?q=x_0,y_0,h_720,w_1280,c_fill/h_540,w_960" } }" d
As the official airline of Middle-earth, Air New Zealand has gone all out to celebrate the third and final film in The Hobbit Trilogy - The Hobbit: The Battle of the Five Armies. Starring Elijah Wood and Sir Peter Jackson; we're thrilled to unveil The Most Epic Safety Video Ever Made. #airnzhobbit Special cameos by Sylvester McCoy, Dean O’Gorman and Weta Workshop co-founder Sir Richard Taylor. D
Get your first look at Ultron trying to tear apart Captain America, Iron Man, Thor and the rest of the world in the first official teaser trailer for Marvel's "Avengers: Age of Ultron," in theaters May 1, 2015! Subscribe to Marvel: http://bit.ly/WeO3YJ Keep up with Marvel on: TWITTER: https://twitter.com/marvel FACEBOOK: http://www.facebook.com/Marvel TUMBLR: http://marvelentertainment.tumblr.co
Donald Trump and his family business are set to stand trial in New York on Monday in a civil fraud case that could deal a major blow to the former U.S. president’s real estate empire. New York attorney general's fraud case against Donald TrumpAttacked by Trump, New York judge to weigh ex-president's fraud caseTrump's civil fraud trial in New York explained WorldcategoryKyiv brushes off US, Slovaki
A dispute over aid that threatened the truce was overcome with the help of Qatar and Egypt. It underscored the fragility of the agreement, through which 50 Israeli hostages are to be exchanged for 150 Palestinian prisoners. Palestinian militants in West Bank say two 'collaborators' executedPalestinians in Gaza use truce to pick through rubble of homesTens of thousands join pro-Palestinian march in
The file command is a standard program of Unix and Unix-like operating systems for recognizing the type of data contained in a computer file. History[edit] The original version of file originated in Unix Research Version 4[1] in 1973. System V brought a major update with several important changes, most notably moving the file type information into an external text file rather than compiling it int
How permissions work by default.¶ ↑ By default paperclip sets permissions for all AS3 uploads as :public_read ('public-read' in v5.0+). This means your files are totally wide open (i.e. they can be accessed by anyone simply by pasting the AS3 url into the browser). What if you need to restrict access?¶ ↑ Restricting access can be a bit tricky. It's easy enough to have Paperclip mark your file as p
Amazon’s S3 file hosting service is a scalable, easy place to store files for distribution. You can find out more about it at aws.amazon.com/s3 To use Paperclip with S3, include the aws-sdk-s3 gem in your Gemfile: gem 'aws-sdk-s3' There are a few S3-specific options for has_attached_file: s3_credentials: Takes a path, a File, a Hash or a Proc. The path (or File) must point to a YAML file containin
rails paperclip aws/s3の構成はよくあるパターンだと思います。 gemのpaperclipを画像だけでなくzipファイルやcsvファイルの配置に利用しました。 そこででっかいファイルをダウンロードするには以下の数パターンあります。 x-sendfileでnginx,apacheを利用 s3のurlへredirect s3のファイルをrails経由でstreamで吐き出す。 1,2の参考 http://thewebfellas.com/blog/2009/8/29/protecting-your-paperclip-downloads 2の参考 https://github.com/thoughtbot/paperclip/wiki/Restricting-Access-to-Objects-Stored-on-Amazon-S3 今回は背後にs3が居ることを悟られたくな
Amazon S3のバケット(Bucket)に、アクセス元IPアドレスによるアクセスコントロールをかけられる、ってご存知でしたか? この記事では、AWSやS3のリクエスト認証の概要と、それを踏まえた「アクセス元IPアドレスによるバケットへのアクセスコントロール」の方法、その応用例を紹介します。 バケットに入れるオブジェクトの機密性によっては、デフォルトの 「認証情報をつける」以外の方法でアクセスコントロールができると便利です。 例えば、機密でもなんでもないファイルや静的サイトを、ロケーション的に同じオフィスにいる人にゆるく共有したい、 くらいの用途であれば、アクセス元IPアドレスが使えることがあります。 実際、弊社でも、このエンジニアブログを公開前にテスト・レビューするために、 アクセス元IPによる読み取り制限をかけたバケットにデプロイしています。 なお、情報セキュリティに関わることなので
New Amazon EC2 R7iz Instances are Optimized for High CPU Performance, Memory-Intensive Workloads Today we’re announcing general availability of the Amazon EC2 R7iz instances. R7iz instances are the fastest 4th Generation Intel Xeon Scalable-based (Sapphire Rapids) instances in the cloud with 3.9 GHz sustained all-core turbo frequency. R7iz instances are suitable for workloads where there’s a requi
Amazon S3 or Amazon Simple Storage Service is a service offered by Amazon Web Services (AWS) that provides object storage through a web service interface.[1][2] Amazon S3 uses the same scalable storage infrastructure that Amazon.com uses to run its e-commerce network.[3] Amazon S3 can store any type of object, which allows uses like storage for Internet applications, backups, disaster recovery, da
Soft delete is a commonly-used pattern amongst database-driven business applications. In my experience, however, it usually ends up causing more harm than good. Here’s a few reasons why it can fail in bigger applications, and some less-painful alternatives to consider. Tomato, Tomato I’ve seen a few different implementations of this pattern in action. First is the standard deleted flag to indicate
Assuming good faith (AGF) means assuming that people are not deliberately trying to hurt Wikipedia, even when their actions are harmful. This is a fundamental principle on Wikipedia. Most people try to help the project, not hurt it. If this were untrue, a project like Wikipedia would be doomed from the beginning. When disagreement occurs, try as best you can to explain and resolve the problem, not
Groupthink is a psychological phenomenon that occurs within a group of people in which the desire for harmony or conformity in the group results in an irrational or dysfunctional decision-making outcome. Cohesiveness, or the desire for cohesiveness, in a group may produce a tendency among its members to agree at all costs.[1] This causes the group to minimize conflict and reach a consensus decisio
There are many ways to load Ruby code, and that has lead to confusion over the years. In this article, I will give you the backstory behind several conventions seen in the wild and share some stories about how I use those conventions in my own code. The topic of code loading breaks up naturally into two subtopics: loading code within your own project and loading code from third-party libraries. Pe
04 January 2012 I'm going to assume that you are already familiar with the double ampersand operator in Ruby - the logical AND. This post is going to focus on all uses of the single ampersand operator. & can be quite confusing because it has a different meaning depending on the context in which it's used. In fact, both unary (&object) and binary (object & object) operations have meaning in Ruby. T
What is the best practice if I want to require a relative file in Ruby and I want it to work in both 1.8.x and >=1.9.2? I see a few options: just do $LOAD_PATH << '.' and forget everything do $LOAD_PATH << File.dirname(__FILE__) require './path/to/file' check if RUBY_VERSION < 1.9.2, then define require_relative as require, use require_relative everywhere where it's needed afterwards check if requ
記事タイトルがヘタなので、何言ってるのか伝わらなさそうだけど…。最近、Ruby 1.8.7で作ったWebアプリをRuby 1.9.2に移行させていて、その過程でつまずいて知ったことについて。Ruby 1.9.2からは、ロードパスにカレントディレクトリが含まれなくなったので、それによって起こるエラーを回避するための方法として、requireするパスにカレントディレクトリを示すドットを打つと良さそうという話。 実例 以下は説明用に簡略化した実例。まず、hoge.rbがあるとする。中身はこんな感じ。 puts 'hoge!' 同じディレクトリにapp.rbがあるとする。中身はこんな感じ。 require 'hoge.rb' app.rbを実行すると、Ruby 1.8.7ではこう。期待通り。 $ ruby app.rb hoge! けど、Ruby 1.9.2ではロードパスにカレントディレクトリが含
I am trying to understand the difference between these four methods. I know by default that == calls the method equal? which returns true when both operands refer to exactly the same object. === by default also calls == which calls equal?... okay, so if all these three methods are not overridden, then I guess ===, == and equal? do exactly the same thing? Now comes eql?. What does this do (by defau
equal?(other) -> bool[permalink][rdoc][edit] other が self 自身の時、真を返します。 二つのオブジェクトが同一のものかどうか調べる時に使用します。このメソッドを再定義してはいけません。 お互いのObject#object_idが一致するかどうかを調べます。 [PARAM] other: 比較するオブジェクトです。 p("foo".equal?("bar")) #=> false p("foo".equal?("foo")) #=> false p(4.equal?(4)) #=> true p(4.equal?(4.0)) #=> false p(:foo.equal? :foo) #=> true [SEE_ALSO] Object#object_id,Object#==,Object#eql?,Symbol
A query string is a part of a uniform resource locator (URL) that assigns values to specified parameters. A query string commonly includes fields added to a base URL by a Web browser or other client application, for example as part of an HTML document, choosing the appearance of a page, or jumping to positions in multimedia content.[1] An address bar on Google Chrome showing a URL with the query s
2014年10月11日開催した、PostgreSQL勉強会の資料、UStream動画へのリンクを収めます。 PostgreSQLクエリ実行の基礎知識 ~Explainを読み解こう~ by SUZUKI Hironobu — last modified 2014-10-15 20:01 下雅意 美紀氏 TIS株式会社 資料 PostgreSQLのパラレル化に向けた取り組み by SUZUKI Hironobu — last modified 2014-10-15 20:03 花田氏 メトロシステムズ 資料 Jpug study-jsonb-datatype by SUZUKI Hironobu — last modified 2014-10-15 20:05 nuko_yokohama氏の資料 中継動画へのリンク by SUZUKI Hironobu — last modified 2014
A radically new Ruby web server Phusion Passenger 5 (codename "Raptor") The wait is over Phusion Passenger 5 is a brand new version, faster than ever. Many of you have been waiting for this for a month. We have worked hard to reach this day and we are grateful for all the support and encouragement you've given us so far. Read the release announcement Or visit the Phusion Passenger website Tweet Fo
革命的に速いとされるRuby用の新しいアプリケーション・サーバー「Raptor」のサイトが公開され期待を煽っています(Hacker News)。 公式サイトによると、RaptorはRailsやSinatraなどを動かすための新しいアプリケーション・サーバー。最適化されたHTTPエンジンにより従来のアプリケーションサーバーと比較して高速に動作し、Unicornの最大4倍、PumaとTorqueboxの最大2倍の速度で動作するとのこと。 現在まだ何もダウンロードできるものは公開されたおらず、パブリックベータ版のリリース日は2014年11月25日に設定されています。メールアドレスを登録しておくと、状態が更新されるか、あるいは第三者のレビューが公開されたときなどにメールで連絡してくれるようなので気になった方は登録してみてはいかがでしょうか。 ちなみに誰が開発されているかということに関しても「We
heroku はデフォルトでは naked domain (サブドメインがないドメイン)は使えません。おそらく EC2 の制約?のはず。DNS によっては抜け道があるのですが、route53 では回避ができません。 route53 だと、現状では「naked domain にアクセスしたら www のサブドメインにリダイレクトする」という設定をするのが精一杯です。 僕は基本 route53 を利用していて、そのため heroku で運用しているこのブログも一時 www.willnet.in というドメインにしていました。しかしやっぱり naked domain が使いたいな−。と思ったのでやり方を調べました。 PointDNS 結論として、PointDNS というサービスを使うことにしました。 heroku の addon として提供されていること heroku で naked domai
を押して、Ruby製HubotクローンのRubotyを動かす方法を説明します。 Slackを設定 まず、利用するSlackのチームでXMPP Gatewayを有効化しましょう。この設定はTeam Ownerが設定画面から有効化する必要があります。その後、Ruboty用のSlackアカウントを作成し、利用するSlackチームに招待しましょう。Slackの提供するHubot Integrationではアカウントをつくる必要はありませんでしたが、3rd Party製のBOTをまともに利用する場合にはアカウントが必要になります。Rubotyを管理しそうな人のGmailアドレスに +ruboty とか付けて登録すると良いんじゃないでしょうか。 Herokuにデプロイ 次に、RubotyをHerokuにデプロイしましょう。Herokuアカウントを持っていれば、記事先頭に載せたデプロイボタンを押せば設定
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
Google「パイレーツアップデート」実施、著作権侵害サイト対策を強化 グーグル、DMCAに基づいて著作権侵害が多数認められるサイトが検索上位に表示されにくくするための「パイレーツアップデート」実施を発表。DMCA違反サイトの検索順位を低下させる。 公開日時:2014年10月21日 06:32 米Google は2014年10月17日、インターネット上での著作権侵害サイトへの対策強化を発表した。頻繁に著作権侵害行為を繰り返しているWebサイトの検索順位を下げる「パイレーツアップデート」も2年ぶりに実施する。 著作権侵害サイト対策のパイレーツアップデートとは 「パイレーツアップデート」(Pirate Update)とは著作権侵害件数の多いWebサイトの検索順位を下げるためのアルゴリズム。Google は専用の著作権侵害の報告フォームから DMCA(Digital Millennium Cop
ウェブページの重要度を示す指標の一つとして使われていたGoogleの「PageRank(ページランク)」ですが、どうやら更新が終了していたようです。Google、ツールバーPageRank 更新を終了か 今後の予定なし::SEM R (#SEMR)という記事になっていました。 スイス Google の John Mueller氏はウェブマスターとのオフィスアワー・ハングアウトのセッションの中で、既にGoogleツールバーPageRankは1年以上更新していないが、今後もおそらく更新は行わないと回答した。 かつてはSEO(Search Engine Optimization)の最重要指標くらいの勢いで使われていたGoogleの「PageRank(ページランク)」ですが、ここ1年以上は更新されていなかったようです。 確かに、一般の人には関係のない指標ですし、使っているのはSEO業者ばかりで、し
Gunosyで最近、本当にしつこいくらいよく掲載されているコンテンツがあります。 それが「あなたは住みたい?住みたくない?超絶景だけど怖すぎる海外のクリフハウスたち」というiemoのエントリー。 でも、Gunosyさん、「こういうのは、ある程度フィルターかけて毎回毎回送らないようにしないと・・・」って思わないのかな? 何回来たか数えてみた 下記の記事がGunosy経由で何回紹介されたか調べてみました。 10月06日 朝のニュース 10月11日 朝のニュース 10月14日 朝のニュース 10月16日 朝のニュース 10月19日 朝のニュース 10月22日 朝のニュース と合計6回もGunosyからおすすめ記事という事で来ていました。 他にも、このエントリー これも数回来ていた記憶が・・・・・。 これはPV契約数未達のための再配信? 恐らくですが、これはGunosyとiemoが契約によって、G
理化学研究所の小保方晴子氏は現在、STAP細胞の再現実験に取り組んでいる。期限は11月末に迫っているが、今のところ成果が上がったとの報告はない。 論文の不正問題以降、世間の厳しい批判を浴びてきた小保方氏だが、少し奇妙な現象が起きている。グーグルで語句を検索すると、関連ワードを予測して自動的に表示する「サジェスト機能」が働くが、小保方氏に関してはネガティブな語句が一切出てこないのだ。 「佐村河内守」と入力すると「ゴーストライター」が表示された 「小保方晴子 彼氏」。 「小保方晴子 かわいい」。 「小保方晴子 家族」。 グーグル検索で「小保方晴子」と入力すると、表示される言葉だ。これらの事柄に関心を持つ人はゼロではないだろうが、小保方氏が非難されてきた問題から頭に浮かぶのはもっと別の語句のはずだ。 何よりも「STAP細胞」が関連ワードとして出てこないのが不自然だ。ほかにも、STAP論文で理研に
SEOあるある WEBマーケティングポータルサイト『Ferret [フェレット]』の「苦節1年8カ月の末、Googleの警告解除に成功。行ったすべてのことを公開|Ferret [フェレット]」というエントリーにてGoogleの警告解除を行うに当たり、不自然な外部リンク(相互リンクや有料リンク)の削除依頼の大変さ、労力について書かれていました。 こうした過去の負債の解消・・・その苦労はとてもよく分かります。 (私も以前勤めていた会社で、全く同じことを経験したからです。) 前任が色々とやらかしていた(昔は確かに有効だったが、今は有効どころかペナルティにすらなっている)ことが発覚する。 得てして担当者が変わるタイミングで発覚するものです。 SEOあるあるですね。 10年の間で、外部リンクを購入したSEO会社は複数社関わっており、むしろ何社に委託したのか解らない状況で、担当者さんは、最近ホームペー
前回、「初心者必見!GoogleAnalyticsの使い方!Analyticsアカウントの作成編」では、アナリティクスのアカウント作成をご紹介しました。 トラッキングコードを導入しても、すぐにアクセス解析が見れるわけではありません。 導入してからデータを取得しますので、アクセスを参考にしたい場合は2週間~1カ月まずはおいたほうが参考になるかと思います。 今回は実際に、GoogleAnalyticsを管理画面から見てみましょう。 アナリティクスの管理画面までの行き方 1.Googleアカウントにログインした状態で、アナリティクスにログインします。 Googleアナリティクスログイン画面 2.アカウント名が表示されているのでクリックしましょう。 3.そうすると、WEBサイト名が表示されるのでクリック。 クリックするとフォルダが開いて、「すべてのウェブサイトのデータ」というテキストがでてくるので
この記事は、スタートアップについて何も知らなかった僕が、1冊の本との出会いによって、シリコンバレーに“招待”されるまでの経験を綴ったものだ。《カスタマーデベロップメント》という手法に出遇うことで、単純に顧客の課題や製品について検証をするのみならず、思いがけない素晴らしいご縁やセレンディピティにも恵まれて、シリコンバレーで仕事を始めるためのスタートラインまで導いてもらえた経験について記している。 転身(けれど、何も分からず、アイディアや事例先行で失敗を繰り返す)検証の旅(アドバイザーの一言。長旅の暇つぶし。検証開始。ビルの外に問題と顧客候補があった)セレンディピティと奇跡(思いがけない出遇い、招待、投資) 転身2009年7月、右も左もわかないまま、僕はスタートアップの世界に飛び込んだ。完全にゼロからのスタートだった。コンピュータサイエンスのフィールドにてPhDを取得した直後、僕は大学院での研
「時系列統計データ検索サイト」の稼動に伴い、現在、時系列統計データの形で提供されている日本銀行作成統計のうち、一部統計を除き、この新しい検索サイトに移行しました。これに伴い、以下の記載に拘らず、時系列統計データへのリンクの一部を解除しています。 2008年6月3日 日本銀行調査統計局 「『マネーサプライ統計』の見直しに関する最終方針」(2008年1月30日)でお示ししたとおり、「マネーサプライ統計」については、2008年6月9日公表分(2008年5月速報計数)から、内容の見直しを行うとともに統計名称を「マネーストック統計」に変更します。これに先立ち、「マネーストック統計」の遡及計数(2003年4月〜2008年3月)を公表することとしましたのでお知らせします(公表資料および時系列データについては下記をクリックして下さい)。 公表資料 ——— 時系列データ なお、「マネーストック統計」は、「M
TOKYO (Reuters) - Japan’s new trade minister on Thursday called his support group’s spending at a racy bar “inappropriate,” but declined to sell shares in Tokyo Electric Power, the operator of the destroyed Fukushima nuclear plant his ministry supervises. Japan's newly-appointed Economy, Trade and Industry Minister Yoichi Miyazawa speaks during a news conference at his ministry in Tokyo October 21
10月22日(ブルームバーグ):カナダ銀行(中央銀行)は政策金利を1%で据え置いた。据え置きは市場の予想通り。また声明の政策金利に関するガイダンスから「中立」の文言が削除された。 中銀は、カナダ経済は2016年後半までフル生産に達しないとの見通しを示した。インフレ率については15年4-6月(第2四半期)に平均1.4%に鈍化すると予想。7月時点では同時期に1.7%に鈍化すると見込んでいた。 原題:Canada Keeps Key Interest Rate at 1%, Drops Neutral Phrase(2)(抜粋) 記事に関する記者への問い合わせ先:オタワ Greg Quinn gquinn1@bloomberg.net 記事についてのエディターへの問い合わせ先:Paul Badertscher pbadertscher@bloomberg.netChris Fournie
10月22日(ブルームバーグ):欧州中央銀行(ECB)は資産購入プログラム実施3日目の22日、スペインのカバード債を購入した。事情に詳しい関係者が明らかにした。別の関係者らによれば、前日にはイタリア債とドイツ債を購入していた。 関係者らによれば、20日に開始したプログラムの下でこれまでにフランスとポルトガルのカバード債も購入した。関係者らは匿名を条件に語った。ECBは27日に、購入した額を公表する。 カバード債購入は企業と家計への与信を促進する取り組みの一環。カバード債の後に追加の措置を導入する可能性はあるものの、現時点では社債を購入する具体的な案はないと、政策委員会メンバーのクーン・ベルギー中銀総裁が22日のベルギー紙レコーとのインタビューで述べている。 ノルトLB(ハノーバー)のカバード債アナリスト、トビアス・マイヤー氏は「ECBの購入対象は年限も国も広範にわたっているようだ」と
Footage from the Toronto Globe and Mail show a hail of bullets being fired inside the Canadian parliament building A gunman shot and killed a soldier at a war memorial in Ottawa, before police engaged in a gun battle inside the parliament building. Police confirmed a gunman was shot dead, but Canada's capital remained on alert through much of the day. PM Stephen Harper said the country "would not
Mr Miyazawa was appointed economy, trade and industry minister on Tuesday by PM Shinzo Abe Japan's new trade minister has been forced to defend himself after it emerged that staff from his support group spent office money at a sex club. Yoichi Miyazawa admitted staff had claimed expenses after visiting a sadomasochistic bar in Hiroshima, but emphasised he did not visit the bar. His admission comes
OpinionLeadersLetters to the editorBy InvitationCurrent topicsBritish election 2024Israel and HamasWar in UkraineUS elections 2024The World Ahead 2024Climate changeCoronavirusThe world economyThe Economist explainsArtificial intelligenceCurrent topicsBritish election 2024Israel and HamasWar in UkraineUS elections 2024The World Ahead 2024Climate changeCoronavirusThe world economyThe Economist expla
The China waveChinese management ideas are beginning to get the attention they deserve MANAGEMENT thinkers have paid surprisingly little attention to how Chinese firms are run. They routinely ascribe those firms’ rapid growth in recent years to their copious supply of cheap labour, or to generous financial backing from the state, rather than inventiveness. They have much more time for India, parti
OpinionLeadersLetters to the editorBy InvitationCurrent topicsBritish election 2024Israel and HamasWar in UkraineUS elections 2024The World Ahead 2024Climate changeCoronavirusThe world economyThe Economist explainsArtificial intelligenceCurrent topicsBritish election 2024Israel and HamasWar in UkraineUS elections 2024The World Ahead 2024Climate changeCoronavirusThe world economyThe Economist expla
Losing your immunityAttacks on soldiers in a mainly tranquil land stir talk of global action against terror IT WAS a sombre Stephen Harper who addressed Canadians on October 22nd. A lone gunman had fatally shot a young soldier standing guard at the National War Memorial in the capital, Ottawa, and then entered Canada’s parliament building where he was killed. The prime minister linked the shooting
RubyDoc.info is your source for open source Ruby library documentation, generating fresh docs for Gems and popular Git repositories. This site uses YARD to generate docs on the fly. To make your docs look better, you can check out some of YARD's killer features. We have DISQUS integration! Click the permalink (like this one) on a method to see user comments on a method page. Looking for a GitHub p
May 30, 2013 • on paperclip, performance, rails, and s3 Paperclip is a great gem for handling file uploads in your Rails app, but there are some important steps you need to take to ensure the best performance when serving images. Set Expires Headers I’m using Amazon S3 to serve images, and Paperclip doesn’t tell S3 to set expires headers on uploads by default, which means browsers won’t cache thes
Random code samples and insights from Yuval Kordov @ Little Blimp Update May 11, 2014. An example app is now available on GitHub. Update Oct 14, 2013. In keeping with my practice of only passing primitives to DelayedJob to mitigate serialization errors, I made transfer_and_cleanup a static method that accepts a Document ID, rather than an instance method on Document. The new code has been inserted
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く