IT |
気になる、記になる… |
Apple、より大型の16インチ版iPadを2023年第4四半期に投入?? |
https://taisy0.com/2022/10/27/164224.html
|
theinformation |
2022-10-26 20:34:30 |
IT |
気になる、記になる… |
セガ、「メガドライブミニ2」を本日発売 − 「メガCD」や未発売のタイトルを含む60本を収録 |
https://taisy0.com/2022/10/27/164216.html
|
製品 |
2022-10-26 20:16:10 |
IT |
気になる、記になる… |
Amazon、よりパワフルでWi-Fi 6やHDMI入力に対応した新型「Fire TV Cube」を発売 |
https://taisy0.com/2022/10/27/164211.html
|
amazon |
2022-10-26 20:15:50 |
海外TECH |
MakeUseOf |
How to Create a Spider Web in Adobe Illustrator |
https://www.makeuseof.com/adobe-illustrator-how-to-create-spider-web/
|
design |
2022-10-26 20:45:14 |
海外TECH |
MakeUseOf |
What Is a USB Drop Attack and How Can You Prevent It? |
https://www.makeuseof.com/what-is-a-usb-drop-attack/
|
cybercriminals |
2022-10-26 20:31:14 |
海外TECH |
MakeUseOf |
6 Reasons We Hate the Redesigned iPad (10th Generation) |
https://www.makeuseof.com/reasons-we-hate-10th-gen-ipad/
|
choices |
2022-10-26 20:26:08 |
海外TECH |
MakeUseOf |
Does Apple Music Have Podcasts? |
https://www.makeuseof.com/does-apple-music-have-podcasts/
|
apple |
2022-10-26 20:16:14 |
海外TECH |
MakeUseOf |
How to Reduce Sickness, Headaches, or Eye Strain When Using a Mac |
https://www.makeuseof.com/how-to-reduce-sickness-headaches-mac/
|
changes |
2022-10-26 20:01:15 |
海外TECH |
DEV Community |
Introduction to Execution Machine (EXM) - Permanent Serverless Functions |
https://dev.to/dabit3/introduction-to-execution-machine-exm-permanent-serverless-functions-3fhb
|
Introduction to Execution Machine EXM Permanent Serverless Functions Introduction to Execution Machine EXM The code for this tutorial is located here EXM is a language agnostic serverless environment powered by Arweave and enables developers to create permanent serverless functions on the blockchain EXM eliminates the need to understand smart contracts transactions or blocks to leverage blockchain technology EXM Arweave provide something that most traditional data stores do not permanence Once the data transactions are stored they can be retrieved and consumed forever or as long as the network exists Some interesting use cases might be registries games CMSs permanent data protocols general data processing and possibly even building a permanent NoSQL database Under the hood EXM utilizes SmartWeave Lazy EvaluationThe Smartweave and therefore EXM execution layer is based on what s known as Lazy Evaluation In most blockchains the computation and current state is executed by the blockchain nodes With lazy evaluation the burden of execution is shifted to either the client or a middle layer like EXM that implements a processor and conveyor that essentially re evaluates and caches the latest state of the contract so that the client does not need to process all previous transactions in order to calculate the current state CLI vs SDKYou can interact with EXV either via their CLI or their SDK In this tutorial we ll be interacting with the platform using the JavaScript SDK Hello World tutorialLet s explore how to build deploy and test an EXM app In this example we ll create a basic CMS that will allow a user to create update and delete posts This example will enable us to implement a basic CRUD app which is the basis for most real world applications PrerequisitesTo be successful with this tutorial you must have An EXM API key You can get one hereNode js installed on your machine I recommend installing Node js either via NVM or FNMMocha installed globally if you want to run tests Getting startedTo get started we ll create a new Node js project in an empty directory npm init yNext we ll install the dependencies we ll need for our app npm install execution machine sdk uuid chaiFinally update package json to add this configuration to enable ES Modules type module Basic setupFor a basic EXM app you need these basic components Initial state for the programA handler function to manage state updates This function is the entry point for your EXM function For a write operation to be considered valid as well as able to change the state of the function it needs to return an object with state property in it more on this later A script to deploy the programScripts to read and update the state of the program Configuring EXMTo interact with the platform we ll need some basic configuration that we can set up and reuse First make sure you ve created an EXM API key here Next create and set an environment variable either in your local config file or from your terminal export EXM PK lt your api key gt Now create a new file named exm js and add the following code exm js import Exm from execution machine sdk const APIKEY process env EXM PKexport const exmInstance new Exm token APIKEY Now we ll be able to interact with EXM by importing exmInstance Initial StateAs mentioned previously the app we ll be creating will allow users to create edit and delete posts A post will be an object with the following fields type Post id string title string content string author string To hold the posts we can create some data structure to hold a list of posts I will be using an object but you could also use an array To set up this initial state create a new file named state js and add the following code state js export const state posts Handler functionNow that we have the initial state defined we ll create the handler function Create a new file named handler js and add the following code handler js export async function handle state action const input action if input type createPost input type updatePost state posts input post id input post if input type deletePost delete state posts input postId return state This function will accept three different types of actions createPost Creates a new postupdatePost Updates an existing post with new datadeletePost Deletes a postIf the input type does not match any of these then the state is just returned without any update Deploy scriptNow that we have the state and the handler function defined we can create the deploy script This script will deploy our function to EXM and make it available for us to start using Create a new file named deploy js and add the following code deploy js import ContractType from execution machine sdk import fs from fs import exmInstance from exm js import state from state js const contractSource fs readFileSync handler js const data await exmInstance functions deploy contractSource state ContractType JS console log data after the contract is deployed write the function id to a local file fs writeFileSync functionId js export const functionId data id Creating a new postNext let s look at how to make a state update The first thing we ll want to try to do is to create a new post Create a new file named createPost js and add the following code createPost js import exmInstance from exm js import functionId from functionId js import v as uuid from uuid const id uuid the inputs array defines the data that will be available in the handler function as action input const inputs type createPost post id title Hello world content My first post author Nader Dabit const data await exmInstance functions write functionId inputs console log data As commented in the code above the most important thing to recognize is the structure of the array of inputs and how they correlate to the arguments received in the handler function In createPost js the type will determine the type of state update that is made in the handler and the post is the data used in the state update Reading the current stateNow that we have a way to deploy the function and create a post let s look at how to read the state To do so create a file named read js and add the following code read js import exmInstance from exm js import functionId from functionId js const data await exmInstance functions read functionId console log data JSON stringify data You can also read the state of any function ID by calling or visiting function id gt Trying it outNow that everything is set up let s give it a spin From your terminal run the deploy script node deploy jsOnce the function has been deployed you should see a new file written to the project named functionId js Next read the current state of the program node read jsThe return value of the state should be an empty posts object Now create a new post node createPost jsThen read the state of the app again node read jsThe return value should now include the new post that was just created Reminder that you can also read the state of any function ID by calling or visiting function id gt Updating and deleting postsLet s now create the scripts for updating and deleting posts For deleting a post create a file named deletePost js and add the following code deletePost js import exmInstance from exm js import functionId from functionId js const inputs type deletePost postId process argv await exmInstance functions write functionId inputs This script takes a post ID as input from the user running the script and uses it to call the deletePost input passing in the postId as an argument To update a post create a new file named updatePost js and add the following code updatePost js import exmInstance from exm js import functionId from functionId js const inputs type updatePost post id process argv title Hello world V content My updated post author Nader Dabit const data await exmInstance functions write functionId inputs console log data Now you should be able to update and delete posts by running these two scripts passing in the post ID node deletePost js lt post id gt TestingEXM also comes built in with testing functions in their SDK to facilitate testing in a way that can be readable amp efficient Let s create a test script that will check that all of our action types work as we expect Create a new file named test js and add the following code import fs from fs import TestFunction createWrite FunctionType from execution machine sdk import state from state js import v as uuid from uuid import expect from chai const id uuid const functionSource fs readFileSync handler js const createPost type createPost post id title Hello world content My first post author Nader Dabit const updatePost type updatePost post id title Hello world V content My updated post author Nader Dabit const deletePost type deletePost postId id describe Testing EXM function it Should create a post async function const testAttempt await TestFunction functionSource functionType FunctionType JAVASCRIPT functionInitState state writes createWrite createPost const value testAttempt state posts id expect value id to equal id expect value title to equal Hello world it Should update a post async function const testAttempt await TestFunction functionSource functionType FunctionType JAVASCRIPT functionInitState state writes createWrite createPost createWrite updatePost const value testAttempt state posts id expect value title to equal Hello world V it Should delete a post async function const testAttempt await TestFunction functionSource functionType FunctionType JAVASCRIPT functionInitState state writes createWrite createPost createWrite deletePost const value testAttempt state posts const length Object keys value length expect length to equal To test run the following command mocha test js Next stepsTo learn more about EXM check out the EXM Discord To learn more about the Arweave Developer Ecosystem check out learn arweave dev |
2022-10-26 20:25:25 |
Apple |
AppleInsider - Frontpage News |
Apple's legendary Clarus the dogcow returns in macOS Ventura |
https://appleinsider.com/articles/22/06/14/apples-legendary-clarus-the-dogcow-returns-in-macos-ventura?utm_medium=rss
|
Apple x s legendary Clarus the dogcow returns in macOS VenturaForget Stage Manager forget Live Captions ーfrom now on macOS Ventura will be famous for bringing back Clarus the Dogcow to its rightful place The dogcow is not Susan Kare s finest hour except that possibly it is For across the thousands of superb designs Kare has made for Mac Windows and more there was a Cairo dingbats font with Clarus Called a dogcow because it s so poorly drawn that it s impossible to tell whether it is meant to be a cow or a dog this one symbol rose above its origins You do have to have been a Mac user for a very very long time for it to mean anything to you at all Read more |
2022-10-26 20:01:27 |
Apple |
AppleInsider - Frontpage News |
Gamevice Flex review: Finally, a controller that works with iPhone cases |
https://appleinsider.com/articles/22/10/26/gamevice-flex-review-finally-a-controller-that-works-with-iphone-cases?utm_medium=rss
|
Gamevice Flex review Finally a controller that works with iPhone casesThe Gamevice Flex takes a familiar formula for iPhone connected controllers and enhances it with one simple feature ーthe ability to keep your iPhone case on during use The Gamevice Flex works with your iPhone caseGamevice offered one of the first game controllers that took advantage of Apple s MFi program and attached to the sides of the iPhone or iPad The company has since iterated on that idea with a handful of useful updates Read more |
2022-10-26 20:08:03 |
海外TECH |
Engadget |
Autonomous vehicle startup Argo AI is shutting down |
https://www.engadget.com/autonomous-vehicle-startup-argo-ai-shutting-down-203250200.html?src=rss
|
Autonomous vehicle startup Argo AI is shutting downAutonomous vehicle company Argo AI is shutting down In an earnings report Ford a major investor in Argo AI noted that the company is being wound down and that it will hire engineers from the startup to expand and speed up development of Level and Level autonomous driving systems Ford says that it made a decision to refocus its self driving capital spending from the Level systems Argo was working on where the vehicles handles most driving operations to Level advanced driver assistance and Level conditional automation tech it s developing in house It noted that Argo AI wasn t able to attract new investors and that it was taking a billion non cash pretax impairment on its investment in the company which led to it posting an million net loss for Q According to TechCrunch which first reported on Argo AI s closure Volkswagen and Ford will snap up the company s tech and other assets It s not clear how the automakers which invested at least billion into Argo AI between them are divvying things up nor how many of Argo AI s more than workers they plan to make employment offers to All Argo AI employees will receive bonuses as part of their severance package with those who Ford and VW don t keep on receiving additional payments and health insurance according to the report In coordination with our shareholders the decision has been made that Argo AI will not continue on its mission as a company an Argo AI spokesperson told Engadget in a statement Many of the employees will receive an opportunity to continue work on automated driving technology with either Ford or Volkswagen while employment for others will unfortunately come to an end We are incredibly grateful for the dedication of the Argo AI team and so proud of our achievements together Argo AI co founders CEO Bryan Salesky and president Dr Peter Rander said The team consistently delivered above and beyond and we expect to see success for everyone in whatever comes next including the opportunities presented by Ford and VW to continue their work on automated driving technology In Ford said it would invest billion into Argo AI over five years Two years later VW committed billion in capital and assets toward the startup Around that time Ford and VW said they would work on vehicles that harness Argo AI s autonomous driving tech Between them the automakers held a substantial majority stake in Argo AI Argo AI had been testing its tech on public roads in the US and Germany In May it commenced driverless operations in Austin and Miami without a safety driver at the wheel Lyft was among the companies that were looking at deploying Argo AI powered vehicles Just last month Argo AI announced a number of tools and services designed to support autonomous delivery and robotaxi operations Creating a robust and safe self driving system is not exactly an easy challenge Full Level autonomy is still at least several years away from becoming truly viable for the mass market To that end Ford said in its earnings report that the auto industry s large scale profitable commercialization of Level advanced driver assistance systems will be further out than originally anticipated |
2022-10-26 20:32:50 |
海外TECH |
Engadget |
GM says it's ready to power all its US facilities with renewable energy by 2025 |
https://www.engadget.com/gm-renewable-energy-us-facilities-200043101.html?src=rss
|
GM says it x s ready to power all its US facilities with renewable energy by General Motors is on track to secure percent of the electricity it needs to power all of its US facilities with renewable energy by On Wednesday the automaker announced it recently finalized the sourcing agreements it needs to make that feat a reality The announcement puts GM on track to meet the most recent renewable energy target it set for itself late last year Previously the company had planned to power all of its US facilities with renewables by GM claims its accelerated transition will allow it to avoid producing an estimated million metric tons of carbon emissions between and As of today GM s energy portfolio includes sourcing agreements with renewable energy plants across states The company is also working on increasing the efficiency of its factories and offices as well as building out its on site power generation capabilities “Securing the renewable energy we need to achieve our goal demonstrates tangible progress in reducing our emissions in all aspects of our business ultimately moving us closer to our vision of a future with zero emissions said Kristen Siemen GM s chief sustainability officer While GM is on track toward an impressive feat it s worth taking a moment to contextualize what today s announcement means in the bigger picture Firstly the company operates offices and factories outside of the US Today s announcement doesn t cover those facilities Secondly even when you factor in all of GM s buildings they re only a small part of the company s total carbon footprint According to its most recent sustainability report Scope and emissions account for only two percent of GM s total emissions For those who aren t familiar with the Greenhouse Gas Protocol it s an accounting system many companies use to source and track their emissions The Scope category includes all pollution produced directly by an organization Scope meanwhile encompasses indirect emissions created from the electricity heating and cooling it buys The majority of GM s emissions a whopping percent aren t produced by its facilities Instead they come from the company s supply chain and the consumers using its cars To be fair GM is working on reducing those emissions In the summer of the company announced it would invest a total of billion through toward electric and autonomous vehicle development That said the transition is something that will take time By GM plans for EVs to account for to percent of the cars its sells in the US |
2022-10-26 20:00:43 |
海外TECH |
CodeProject Latest Articles |
Migration - Strategy Game |
https://www.codeproject.com/Articles/564534/Migration-Strategy-Game
|
loops |
2022-10-26 20:08:00 |
海外科学 |
NYT > Science |
Most Hospitalized Monkeypox Patients in the U.S. Were H.I.V.-Positive |
https://www.nytimes.com/2022/10/26/health/monkeypox-hiv.html
|
researcher |
2022-10-26 20:54:59 |
海外TECH |
WIRED |
How Google Alerted Californians to an Earthquake Before It Hit |
https://www.wired.com/story/google-android-earthquake-alert-california/
|
wired |
2022-10-26 20:23:50 |
ニュース |
BBC News - Home |
Rishi Sunak brings back fracking ban in first PMQs |
https://www.bbc.co.uk/news/uk-politics-63402777?at_medium=RSS&at_campaign=KARANGA
|
england |
2022-10-26 20:07:43 |
ニュース |
BBC News - Home |
Ajax 0-3 Liverpool: Jurgen Klopp's side reach Champions League last 16 |
https://www.bbc.co.uk/sport/football/63394507?at_medium=RSS&at_campaign=KARANGA
|
Ajax Liverpool Jurgen Klopp x s side reach Champions League last Liverpool secure their passage into the Champions League knockout stage with a clinical second half display against Ajax in Amsterdam |
2022-10-26 20:53:01 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
なぜ「京大・阪大の推薦入試に強い」のか?サントリー創業者設立の雲雀丘学園校長に聞く - 有料記事限定公開 |
https://diamond.jp/articles/-/311644
|
大阪大学 |
2022-10-27 05:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
慶應OB「寄付金」ランキング【トップ50】1位の大物経営者は2億円、五輪汚職で立件された人物も - 最強学閥「慶應三田会」 人脈・金・序列 |
https://diamond.jp/articles/-/311626
|
|
2022-10-27 05:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
コアCPIは年明けまで3%程度で推移か、日銀の物価「安定的な2%」達成の先 - 政策・マーケットラボ |
https://diamond.jp/articles/-/311885
|
物価目標 |
2022-10-27 05:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
東大、京大、阪大、神戸大への「推薦入試に強い」高校ランキング!難関大推薦に強い関西の高校は? - 超お得!【関西】中高一貫・高校&大学最新序列 |
https://diamond.jp/articles/-/311643
|
|
2022-10-27 05:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
国税庁が「副業節税」いよいよ規制?300万円の“壁”は撤回でもまだ残る落とし穴 - 円安・金利高・インフレに勝つ!最強版 富裕層の節税&資産防衛術 |
https://diamond.jp/articles/-/311271
|
落とし穴 |
2022-10-27 05:05:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
石油業界崩壊の足音…1ドル150円突破の円安より深刻な「疑念」の正体 - ガソリンの三重苦 |
https://diamond.jp/articles/-/311900
|
原油価格 |
2022-10-27 05:02:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
柔道整復業界の幹部逮捕、接骨・鍼灸・マッサージ「大淘汰時代」が前代未聞事件の背景に - Diamond Premiumセレクション |
https://diamond.jp/articles/-/311917
|
diamond |
2022-10-27 05:01:00 |
ビジネス |
電通報 | 広告業界動向とマーケティングのコラム・ニュース |
アドミュージアム東京「walk,walk, 第75回広告電通賞展」11月3〜19日開催 |
https://dentsu-ho.com/articles/8378
|
walkwalk |
2022-10-27 06:00:00 |
ビジネス |
電通報 | 広告業界動向とマーケティングのコラム・ニュース |
カンヌはこれからも必要なのか |
https://dentsu-ho.com/articles/8366
|
世界最大 |
2022-10-27 06:00:00 |
ビジネス |
電通報 | 広告業界動向とマーケティングのコラム・ニュース |
日本近代科学の源流がここに。「島津製作所 創業記念資料館」 |
https://dentsu-ho.com/articles/8341
|
島津製作所 |
2022-10-27 06:00:00 |
北海道 |
北海道新聞 |
火災警報器そっくりケーキ 駄じゃれで設置呼びかけ |
https://www.hokkaido-np.co.jp/article/751478/
|
取り付け |
2022-10-27 05:32:00 |
北海道 |
北海道新聞 |
電話で「入居権」にご用心 「劇場型」特殊詐欺が増加 |
https://www.hokkaido-np.co.jp/article/751477/
|
特殊詐欺 |
2022-10-27 05:32:00 |
北海道 |
北海道新聞 |
<社説>著作権の管理 音楽文化広げる視点を |
https://www.hokkaido-np.co.jp/article/751446/
|
著作権使用料 |
2022-10-27 05:01:00 |
北海道 |
北海道新聞 |
作曲部門で中橋さん2位入賞 ジュネーブ国際コンクール |
https://www.hokkaido-np.co.jp/article/751475/
|
音楽 |
2022-10-27 05:12:00 |
ビジネス |
東洋経済オンライン |
生涯給料が高い「東京都トップ500社」ランキング 平均生涯給料は2億3950万円、3億円超は188社 | 賃金・生涯給料ランキング | 東洋経済オンライン |
https://toyokeizai.net/articles/-/628574?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
東洋経済オンライン |
2022-10-27 06:00:00 |
ビジネス |
東洋経済オンライン |
突如SL復活、インドネシア「製糖工場」の鉄道事情 石油価格高騰で「燃料実質タダ」の機関車活躍 | 海外 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/628236?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
実質タダ |
2022-10-27 05:40:00 |
ビジネス |
東洋経済オンライン |
学生時代より重要!「社会人の学び方」5大注意点 知らないと「成長しない!」あなたは大丈夫? | リーダーシップ・教養・資格・スキル | 東洋経済オンライン |
https://toyokeizai.net/articles/-/626989?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
学生時代 |
2022-10-27 05:20:00 |
コメント
コメントを投稿