This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.polysfactory.treetraversal; | |
import java.util.Stack; | |
/** | |
* Implementation for tree traversal | |
* | |
* @author horikawa | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.polysfactory.gcj2013; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Scanner; | |
import java.util.Set; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.polysfactory.gcj2013; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
public class Aerobics { | |
static class Entry implements Comparable<Entry> { | |
int r; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D/CallNotifier( 593): RINGING... (new) | |
D/CallNotifier( 593): onNewRingingConnection(): state = RINGING, conn = { incoming: true state: INCOMING post dial state: NOT_STARTED } | |
D/IncomingBroadcastReceiver( 5656): state:RINGING | |
D/CallNotifier( 593): SignalInfoTonePlayer.run(toneId = 98)... | |
W/ActivityManager( 377): Unable to start service Intent { act=show_view cmp=com.anprosit.drivemode/.phone.service.LayerService (has extras) } U=0: not found | |
D/dalvikvm( 377): GC_EXPLICIT freed 1829K, 19% free 21509K/26500K, paused 14ms+9ms, total 136ms | |
D/PhoneStatusBar( 463): disable: < expand icons ALERTS* ticker system_info back home recent clock search > | |
D/AccelerometerListener( 593): enable(false) | |
E/HeadsetStateMachine( 879): terminateScoUsingVirtualVoiceCall:No present call to terminate | |
D/PhoneUtils( 593): answerCall(INCOMING)... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D/HeadGestureDetector( 3078): 4:MPL Gyroscope:Invensense:1000:34.90656 | |
D/HeadGestureDetector( 3078): 1:MPL Accelerometer:Invensense:1000:19.6133 | |
D/HeadGestureDetector( 3078): 2:MPL Magnetic Field:Invensense:10000:9830.0 | |
D/HeadGestureDetector( 3078): 3:MPL Orientation:Invensense:5000:360.0 | |
D/HeadGestureDetector( 3078): 11:MPL Rotation Vector:Invensense:5000:1.0 | |
D/HeadGestureDetector( 3078): 10:MPL Linear Acceleration:Invensense:5000:19.6133 | |
D/HeadGestureDetector( 3078): 9:MPL Gravity:Invensense:5000:9.81 | |
D/HeadGestureDetector( 3078): 5:LTR-506ALS Light sensor:LiteOn:0:64000.0 | |
D/HeadGestureDetector( 3078): 11:Rotation Vector Sensor:Google Inc.:1000:1.0 | |
D/HeadGestureDetector( 3078): 9:Gravity Sensor:Google Inc.:1000:19.6133 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Horizontal FoV: 54.8 | |
Vertical FoV: 42.5 | |
>>> math.tan(math.radians(27.4)) | |
0.5183507658105608 | |
>>> math.tan(math.radians(21.25)) | |
0.3888787318529897 | |
focal_x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
堀川 隆弘 (ほりかわ たかひろ) | |
東京大学理学部数学科卒。大手SIer・モバイルコンテンツ会社勤務を経て2012年に渡米。 | |
aeria games, 米Yahooでモバイルアプリ開発に従事し、帰国後にcuriosityを創業。テクノロジーを活用した未来のエンターテインメント創出に取り組んでいる。 | |
過去に個人開発したソフトウェアに、携帯シミュレーター「FireMobileSimulator」や、Google Glassで映画予告編を見るアプリ「Preview for Glass」などがある。 | |
個人Twitter: https://twitter.com/thorikawa | |
curiosity, inc.: https://www.curiosity-inc.jp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
06-27 23:55:34.683 1479-1479/com.polysfactory.secondwear D/TEST﹕ android.hardware.bluetooth | |
06-27 23:55:34.683 1479-1479/com.polysfactory.secondwear D/TEST﹕ android.hardware.bluetooth_le | |
06-27 23:55:34.683 1479-1479/com.polysfactory.secondwear D/TEST﹕ android.hardware.faketouch | |
06-27 23:55:34.693 1479-1479/com.polysfactory.secondwear D/TEST﹕ android.hardware.location | |
06-27 23:55:34.693 1479-1479/com.polysfactory.secondwear D/TEST﹕ android.hardware.microphone | |
06-27 23:55:34.693 1479-1479/com.polysfactory.secondwear D/TEST﹕ android.hardware.screen.portrait | |
06-27 23:55:34.693 1479-1479/com.polysfactory.secondwear D/TEST﹕ android.hardware.sensor.accelerometer | |
06-27 23:55:34.693 1479-1479/com.polysfactory.secondwear D/TEST﹕ android.hardware.sensor.compass | |
06-27 23:55:34.693 1479-1479/com.polysfactory.secondwear D/TEST﹕ android.hardware.sensor.gyroscope | |
06-27 23:55:34.693 1479-1479/com.polysfactory.secondwear D/TEST﹕ android.hardware.sensor.heartrate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 20 | |
buildToolsVersion "20.0.0" | |
defaultConfig { | |
applicationId "com.example.wearapp" | |
minSdkVersion 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math, time | |
class MyClass(GeneratedClass): | |
def __init__(self): | |
GeneratedClass.__init__(self) | |
def onLoad(self): | |
#put initialization code here | |
self.memory = ALProxy('ALMemory') | |
self.video = ALProxy('ALVideoDevice') |