Skip to content

Instantly share code, notes, and snippets.

View rjyo's full-sized avatar
😁

Rakuraku Jyo rjyo

😁
  • Japan
View GitHub Profile
@rjyo
rjyo / gist:9d5eb4c093a1ea155e600ef35a4a8176
Last active August 16, 2024 02:11
Eric Schmidt Stanford AI Talk Summary

Eric Schmidt Stanford AI Talk Summary

关键点

  1. AI快速进展:AI发展的三大趋势包括更大的上下文窗口、AI代理和文本到行动的能力。这些进展将在未来一两年内对世界产生巨大影响。[^1]

  2. 投资需求:先进AI需要大规模投资,可能高达3000亿美元或更多。这种规模的投资需求可能导致只有少数公司和国家能够在前沿AI领域竞争。[^2]

  3. 美中AI竞争:在可预见的未来,美国和中国将在AI领域展开激烈竞争。美国在芯片制造方面有大约10年的优势,这对AI发展至关重要。[^3]

/**
* 一次挑选的不重复几率
*
* @param n 总种类数
* @param m 第m次挑选
* @param batch 每次选的本数,默认为3
*/
const op = (n: number, m = 0, batch = 3) => {
const s = n - batch * m
return (s / n) * ((s - 1) / (n - 1)) * ((s - 2) / (n - 2))
{
"scope": [
{
"status": "0",
"message": [
{
"message_list": []
}
],
"count": 1,
@rjyo
rjyo / SuperCoinView.sol
Created July 17, 2018 03:19
Super CoinView Token
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SuperCoinViewToken' token contract
//
// Deployed to : 0x37efd6a702e171218380cf6b1f898a07632a7d60
// Symbol : SCV
// Name : Super CoinView Token
// Total supply: 10000000000
// Decimals : 18
@rjyo
rjyo / ToPDF.applescript
Last active March 9, 2018 05:18
Select a keynote and export to PDF using the "Better" quality
on last_offset(the_text, char)
try
set i to 1
set last_occurrence to 0
repeat count of the_text times
if item i of the_text as string = char then
set last_occurrence to i
end if
set i to i + 1
end repeat
@rjyo
rjyo / addr
Created September 4, 2017 04:44
addr
0xDac9Ed569d0aEe9bf9bc68DFD6500159C2a8138f
#!/bin/bash
if [ -n $BITRISE_XCODE_TEST_RESULT ]
then
if [ $BITRISE_XCODE_TEST_RESULT == "succeeded" ]
then
export BITBUCKET_STATUS="SUCCESSFUL"
echo "SUCCESSFUL"
else
export BITBUCKET_STATUS="FAILED"
Pod::Spec.new do |s|
s.name = 'FlurrySDK'
s.version = '4.3.1'
s.license = { :type => 'Commercial', :text => 'Developer\'s use of the SDK is governed by the license in the applicable Flurry Terms of Service. Some components of the SDK are governed by open source software licenses. In the event of any conflict between the license in the applicable Flurry Terms of Service and the applicable open source license, the terms of the open source license shall prevail with respect to those components.' }
s.summary = 'FlurrySDK for analytics reporting.'
s.homepage = 'http://www.flurry.com'
s.author = { 'Flurry' => 'http://www.flurry.com' }
s.source = { :git => 'https://github.com/rktec/Flurry-iOS.git', :tag => '4.3.1' }
s.description = 'FlurrySDK for analytics tracking and reporting.'
s.platform = :ios
Pod::Spec.new do |s|
s.name = 'CPAccelerationTimer'
s.version = '0.0.1'
s.platform = :ios
s.license = 'MIT'
s.summary = 'Calls a block a given number of times, spread out over a given duration, with the between-calls delays determined by a given Bézier curve. Think of it as an NSTimer with custom acceleration.'
s.homepage = 'https://github.com/yangmeyer/CPAccelerationTimer'
s.author = { 'Yang Meyer' => 'https://github.com/yangmeyer' }
s.source = { :git => 'https://github.com/yangmeyer/CPAccelerationTimer.git' }
@rjyo
rjyo / SVHTTPRequest.podspec
Created September 9, 2013 12:19
deployment target set to 6.0 to avoid compile error
Pod::Spec.new do |s|
s.name = 'SVHTTPRequest'
s.version = '0.5'
s.license = 'MIT'
s.summary = 'Simple REST client for iOS and Mac.'
s.homepage = 'http://samvermette.com/310'
s.author = { 'Sam Vermette' => '[email protected]' }
s.source = { :git => 'https://github.com/samvermette/SVHTTPRequest.git', :tag => s.version.to_s }
s.description = 'SVHTTPRequest lets you easily interact with RESTful (GET, POST, DELETE, PUT) web APIs. It is blocked-based, uses NSURLConnection, ARC, as well as NSJSONSerialization to automatically parse JSON responses.'
s.source_files = 'SVHTTPRequest/*.{h,m}'