發表文章

目前顯示的是 3月 9, 2019的文章

Donghai Bridge Wind Farm

圖片
Donghai Bridge Wind Farm Country People's Republic of China Location next to Donghai Bridge, Shanghai, East China Sea Coordinates 30°46′12″N 121°59′38″E  /  30.770°N 121.994°E  / 30.770; 121.994 Coordinates: 30°46′12″N 121°59′38″E  /  30.770°N 121.994°E  / 30.770; 121.994 Status Operational Construction began July 2008 Commission date July 6, 2010 Owner(s) Shanghai Electric Group Wind farm Type Nearshore Site area 14 km 2 (5 sq mi) [1] Max. water depth 7 m (23 ft) [1] Distance from shore 9 km (6 mi) [1] Hub height 91 m (299 ft) [1] Rotor diameter 90 m (295 ft) [1] Power generation Units operational 34 × 3 MW [1] Make and model Sinovel: SL3000/90 [1] Nameplate capacity 102 MW The Donghai Bridge Wind Farm is a 102 MW offshore wind farm close to the Donghai Bridge, Shanghai and is capable of powering 200,000 households. It started producing and transmitting power to the mainland grid on July 6, 2010. [2] It is the first commercial offshore wind farm in China. [3] See also

How and where to use FBInstant.updateAsync in facebook instant game

圖片
1 I am new in instant games. Please tell me how I can user FBInstant.updateAsync( action: 'CUSTOM', cta: 'Join The Fight', image: base, template: 'play_turn', text: 'Play your turn now', data: myReplayData: '...', id: contextId , strategy: 'IMMEDIATE', notification: 'NO_PUSH', ).then( () => console.log('updateAsync() success!' + JSON.stringify(data)); FBInstant.quit(); , error => console.error('updateAsync() ERROR! ' + JSON.stringify(error)); ); } I have set up my fb config file also. "instant_games": "platform_version": "RICH_GAMEPLAY", "custom_update_templates": "play_turn": "example": "Yolo just invaded village!" How can I get psid of user and how can I send messages to user for re engagement. javascript php facebook html5-canvas facebook-instant-games share | improve this question asked

Using alsa library on Linux

圖片
1 Ubuntu 18.04 I'm very new to sounds programming in Linux and I'm trying to work with ALSA library. I have alsa-library installed on my machine as follows: /dev/snd$ sudo apt-file list libasound2 libasound2: /usr/lib/x86_64-linux-gnu/libasound.so.2 libasound2: /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0 libasound2: /usr/share/doc/libasound2/NEWS.Debian.gz libasound2: /usr/share/doc/libasound2/changelog.Debian.gz libasound2: /usr/share/doc/libasound2/copyright libasound2: /usr/share/doc/libasound2/examples/asoundrc.txt.gz The problem is that my header files ll /usr/include/sound/ total 208 drwxr-xr-x 2 root root 4096 Nov 15 07:06 ./ drwxr-xr-x 41 root root 4096 Nov 11 10:26 ../ -rw-r--r-- 1 root root 21847 Oct 23 17:44 asequencer.h -rw-r--r-- 1 root root 19132 Oct 23 17:44 asoc.h -rw-r--r-- 1 root root 4377 Oct 23 17:44 asound_fm.h -rw-r--r-- 1 root root 45851 Oct 23 17:44 asound.h -rw-r--r-- 1 root root 6743 Oct 23 17:44 compress_offload.h -rw-r--r-- 1 root roo