• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28

4 Way Technologies is one of the Leading Smart TV App Development Companies in the USA, UK & Australia which design & develops world-class applications for smart TV, Smart TV App Development, TV App Development etc. Our Smart TV Developer develops apps for Smart TV and also for other platforms including Android TV, Apple TV, LG TV, Roku TV etc applications for the leading clients. You can review some of our exciting work from here and you can also meet us in New Jersey state.

https://4waytechnologies.com/technology/smart-tv-app-development

image1.png

posted by 4waytechnologies 4waytechnologies on Mon 25 Feb 2019 at 07:46 with 0 comments

Get Top Apple TV Development services from 4 Way Technologies which works in the designing and development of Apple TV apps and we have top Apple TV Developer provide cutting edge services in the development of Apple TV applications and also in other development platforms be it TVOS Development, TVOS App Development, Apple TV App Development etc. Connect with us to develop your applications and you can also find us in Maryland state and other countries including the USA, UK & Australia.

https://4waytechnologies.com/technology/smart-tv-app-development/apple

image1.png

posted by 4waytechnologies 4waytechnologies on Mon 18 Feb 2019 at 10:17 with 0 comments

下図のような感じのディスプレイ作ろうとしてる人いないですかね。

FiberSweepDisplay.png

撮像用途では光ファイバスキャナの研究を見かけたのですが。

ディスプレイでも行けそうですよね

posted by genki genki on Tue 21 Mar 2017 at 16:00 with 1 comment

Xの原因だと思っていたものが、実はXの結果であった、という事は結構ありますね。前後即因果の誤謬に近いかな。虚偽の原因の誤謬の一種ですね。

posted by genki genki on Fri 3 Jun 2016 at 14:20 with 0 comments

例えば、String <-> NSAttributedString

ruby>>
@objc(S2ASTransformer) class
S2ASTransformer : NSValueTransformer {

override static	func
transformedValueClass() -> AnyClass {
	return NSAttributedString.self
}
override static	func
allowsReverseTransformation() -> Bool {
	return true
}
override func
transformedValue( p: AnyObject? ) -> AnyObject {
	if let w = p as? String { return NSAttributedString( string: w ) } else { return NSAttributedString() }
}
override func
reverseTransformedValue( p: AnyObject? ) -> AnyObject {
	if let w = p as? NSAttributedString { return w.string } else { return "" }
}

}

<<--

こんなの作ってこうやって登録

ruby>>
func
applicationDidFinishLaunching( p: NSNotification ) {
NSValueTransformer.setValueTransformer( S2ASTransformer(), forName: "S2ASTransformer" )
}

<<--

posted by Saturn Saturn on Sat 26 Mar 2016 at 15:56 with 0 comments

Though currently I am prefer to use CofferScript than Swift, I have thought that the defer of Swift2 is pretty cool. So I wrote a snippet that accomplishes the feature by using yield as like the manner of co is doing.

ruby>>
defer = (g) ->
deferred = []
go = (i) ->
{value,done} = do i.next
unless done
deferred.push value
go i
exit = ->
do f for f in deferred
process.removeListener 'exit', exit
process.on 'exit', exit
try go do g
catch then do exit

foo = (type) -> defer ->
console.log "#{type} 1"
yield -> console.log "#{type} deferred 1!"
yield -> console.log "#{type} deferred 2!"
console.log "#{type} 2"
if type == "exit" then do process.exit
else throw "throw"
console.log "3"

foo "throw"
foo "exit"

RESULTS

throw 1

throw 2

throw deferred 1!

throw deferred 2!

exit 1

exit 2

exit deferred 1!

exit deferred 2!

<<--

posted by genki genki on Sat 10 Oct 2015 at 00:25 with 0 comments

ということで、適当なセカンダリで重複を探して予め削除する必要が。
aggregateで探す例)
ruby>>
aggregate([
{:$group => {_id: {user_id:"$user_id", date:"$date"},
uniqueIds: {:$addToSet => "$_id"}, count:{:$sum => 1}}},
{:$match => {count: {:$gt => 1}}}],
allowDiskUse: true)
<<--

posted by genki genki on Fri 22 May 2015 at 02:26 with 0 comments

WiredTigerが非常に素晴らしいのですが、設定ファイルが

  1. /etc/mongod.conf
  2. /var/lib/mongodb/WiredTiger.basecfg
  3. /var/lib/mongodb/WiredTiger.config

のように沢山あって結構ややこしいです。

基本的には 1. はmongodbの初回起動時だけ有効で、3. が次回以降の再起動で反映されるものになります。
さらに、mongodbを動かしたままWiredTigerの設定だけ変更したい場合は、
mongoのコンソールから

js>>
db.adminCommand({setParameter:1, wiredTigerEngineRuntimeConfig:"c
ache_size=8G"})
<<--

のように修正できるようです。パラメータ名は 2. のファイルの中身が参考になります。
これによって内部的にはWT_CONNECTION::reconfigureが実行される模様。

修正したら、次回来起動した場合に備えて 3. も書き換えておくと良いでしょう。

posted by genki genki on Wed 13 May 2015 at 03:33 with 0 comments

たびたび見失ってGoogleで探すのに苦労するので道標的に。

posted by genki genki on Fri 8 May 2015 at 21:38 with 0 comments

二人前の分量です。

  • スペルト小麦(farro)80g セミペルラート(半精麦)
  • にんにく一片
  • 鶏もも肉150g (皮、脂肪を除いた重さ)
  • 白ワイン(辛口)100cc
  • オリーブオイル 25g (エクストラバージン)
  • ローリエの葉1枚
  • 固形ブイヨン1/2
  • 厚切りベーコン50g
  • パルミジャーノチーズ 10g
  • バター 10g
  • タイム一振り
  • エシャロット 1本
  • 人参1/3ぐらい
  • 塩コショウ 適量

手順

  1. スペルト小麦を冷たい水に浸して30分放置し、ザルなどで水を切って流水で洗う。鍋に1リットルの水を入れ、スペルト小麦、にんにく、ローリエを入れて沸騰させ、とろ火にして45分ほど煮込む。

  2. 鶏もも肉の皮と脂肪を取り除き、人参とともに1cm角ほどのサイコロ状に切る。エシャロットはみじん切りにする。

  3. 煮込み終わったスペルト小麦をザルなどで水切りし、ボールに移してオリーブオイルを加えて混ぜ、冷ます。

  4. ベーコンを棒状に切り、フライパンで油が出るまで過熱し、鶏肉、人参、エシャロットを加えて4分間ほど中火で過熱する(人参にしっかり火を通す)

  5. 白ワインを加えて沸騰させ、ブイヨン、塩、スペルト小麦を加えて手早くかき混ぜる。

  6. フライパンに蓋をしてとろ火で5〜10分ほど煮詰める。

  7. バター、パルミジャーノチーズを削り入れ、リゾット状になるように混ぜる

  8. タイムを一振り、塩、胡椒で味を整える。

  9. 皿に盛りつけて完成

posted by genki genki on Sun 26 Apr 2015 at 02:42 with 0 comments
Contents rssrss
Leading Smart TV App Development Companies | USA | 4 Way Technologies
Apple TV Developer | TVOS Development | USA | 4 Way Technologies
光ファイバーを二次元振動させて走査するAR用ディスプレイ
因果の取り違え
Value Transformer
Swift2's defer for CoffeeScript
mongodb-3.0からcreateIndexのdropDupsが無くなったらしい
mongodb-3.0以降のWiredTigerの設定を動的に変更する方法
一般楕円の高速生成アルゴリズムへの道標
farro mantecatoのレシピ
Tags
AppdevelopmentDevelopment,TVapplecoffeescriptCompanies,deferDeveloper,nodenodejsSmartsoftware
Comments rssrss
瀧内元気 瀧内元気: テスト 04/06 10:43
https://stosastudio.ru/catalog/kuhni-lounge/ https://stosastudio.ru/catalog/kuhni-lounge/: Фабрика Tessarolo https://stosastudio.ru/vybiraem-... 04/06 08:14
瀧内元気 瀧内元気: MacOS版は以下にあります * [genki/ViMouse](https://github.c... 01/16 05:40
KingofSmack KingofSmack: Here also good reads for this mobile application d... 05/10 18:02
Spencer Spencer: You don't have to re-compile it, this version work... 04/08 07:15
staiano staiano: Any chance we can get a recompile for 10.9? 01/10 01:47
dsjf dsjf: https://gist.github.com/6bf1bf2c3cbb5eb6e7a7 これでも出... 01/08 23:23
yoku0825 yoku0825: nkfの方が使いやすいですが、glibcに含まれているiconvの方が 確実にどの環境にも入っている... 06/11 07:03
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ