投稿時間:2022-11-28 00:17:13 RSSフィード2022-11-28 00:00 分まとめ(20件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS lambdaタグが付けられた新着投稿 - Qiita 自己学習記録:TypeScript を Lambda で使う為には https://qiita.com/baku2san/items/f88eb6e2e0429f63dc25 serve 2022-11-27 23:48:17
python Pythonタグが付けられた新着投稿 - Qiita 競走馬の強さの数値化に挑戦する https://qiita.com/daifukusan/items/8d3913755704554a71c9 daifukusan 2022-11-27 23:02:23
Ruby Rubyタグが付けられた新着投稿 - Qiita MacにてRubyのアップデート方法 https://qiita.com/Showaa-06/items/abf5c0177e6246ac9627 cocoapods 2022-11-27 23:33:35
Linux Ubuntuタグが付けられた新着投稿 - Qiita f13: xserver vps + ubuntu + ssh + python https://qiita.com/cxfgp/items/ce1055522c0ec3c0bceb 一般ユーザー 2022-11-27 23:34:54
AWS AWSタグが付けられた新着投稿 - Qiita 自己学習記録:TypeScript を Lambda で使う為には https://qiita.com/baku2san/items/f88eb6e2e0429f63dc25 serve 2022-11-27 23:48:17
Docker dockerタグが付けられた新着投稿 - Qiita 【Docker】failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0・・・ https://qiita.com/Co-0/items/db8d36d31b1480b92d64 docker 2022-11-27 23:08:42
golang Goタグが付けられた新着投稿 - Qiita 個人開発しました https://qiita.com/chihiro-yabuta/items/c4e9b541051397b81c4e 開発 2022-11-27 23:41:35
golang Goタグが付けられた新着投稿 - Qiita go-gorm/genの挙動を追いかけてみた https://qiita.com/youtangai/items/15c26d848361c36b492e ameba 2022-11-27 23:25:18
海外TECH DEV Community CDK Typescript Pipeline Workshop https://dev.to/aws-builders/cdk-typescript-pipeline-workshop-4j64 CDK Typescript Pipeline Workshop AbstractAWS CDK Cloud Development Kit is an open source framework which gives great depth to the concept of Infrastructure as CodeSo Why CDK Pipelines We need the automation way to deploy our infrastructure as code for development staging and production stages CDK pipeline with AWS Codepipeline brings to the table a feature called self mutation or self updation This means whenever changes are pushed from a CDK project configured with CDK Pipelines it first checks for any changes made to the pipeline itself If there are no changes to the pipeline it goes ahead and deploys the actual infrastructure stack In this blog I reference to cdk pipeline typescript workshop to provide the full flow and source code as a cdk pipeline project Table Of ContentsPre requisiteCreate repository and pipeline on AWS codecommitAdd pipeline stages to deploy CDK stacksPush code to test pipelinesTest webappCleanupConclusion Pre requisite Install typescript node and aws as well as projen optional which is a tool of managing project configuration as code Getting started with aws cdk Create repository and pipeline on AWS codecommit We create infrastruture as code and build pipeline for it so we need to create repository and then define the pipeline So we create them manually using cdk deployFollowing source code creates a repository and a pipeline function to create pipeline base on input branch import Stack StackProps from aws cdk lib import Repository from aws cdk lib aws codecommit import CodeBuildStep CodePipeline CodePipelineSource from aws cdk lib pipelines import Construct from constructs import DEV REGION PROD REGION from constants import WorkshopPipelineStage from pipeline stage export class CdkPipelineTest extends Stack constructor scope Construct id string props StackProps super scope id props const repo new Repository this workshop cdk pipeline repo description Test CDK pipeline repositoryName cdk pipeline test const genPipeline function scope Construct branch string const pipeline new CodePipeline scope workshop cdk pipeline branch pipelineName workshop cdk pipeline branch synth new CodeBuildStep SynthStep input CodePipelineSource codeCommit repo branch installCommands npm install g aws cdk commands yarn install frozen lockfile npx projen build npx projen synth return pipeline Run cdk deploy to create reposity Add pipeline stages to deploy CDK stacks We create pipeline for master and develop branches master branch represent for product environment which is deployed on region ap southeast and develop branch represents for development test environment which is deployed on region ap south And note that we use Dev test environment to host the codecommit and pipeline it s up to you to decide this const developPipeline genPipeline this HitCounterHandler evelop const masterPipeline genPipeline this master From the pipeline we add stages which is our application stacks developPipeline addStage new WorkshopPipelineStage this Deploy env account this account region DEV REGION masterPipeline addStage new WorkshopPipelineStage this DeploySin env account this account region PROD REGION The application stacks here is the CDK Workshop which includesAPI GW REST API to handle api request with lambda integration The lambda function HitCounterHandler counts the API hits and stores them in dynamoDB and then call the HelloHandler lambda function to return output which is string text Run cdk deploy again to add the pipelines Push code to test pipelines We now already have repository and pipeline next steps we add git remote origin as our codecommit repo and then push code to master develop branch in order to let the pipeline deploy the CDK application stacks Add remote origin git remote add origin ssh git codecommit ap southeast amazonaws com v repos cdk pipeline test git add A git push origin masterCheck source code repo and pipelineCloudformation check stacksCreate develop branch and then push to deploy dev test environment git checkout b develop origin master git push origin develop Test webapp Go to API GW stages and get the invoke urlUse curl to call API request curl Hello CDK You ve hit curl Hello CDK You ve hit helloCheck DynamoDB for hit counter Cleanup To clean up the stacks from this workshop navigate to the Cloudformation Console select your stacks and hit “Delete This may take some time Conclusion Teams now can use CDK to create update infrastructure through cdk pipeline without caring about the permission to run cdk deployReferences Vu Dao Follow AWSome Devops AWS Community Builder AWS SA ️CloudOpz ️ vumdao vumdao 2022-11-27 14:54:42
海外TECH DEV Community First P2E game on tableland (1) https://dev.to/ponyjackal/first-p2e-game-on-tableland-1-2p8p First PE game on tableland We say that blockchain is a distributed ledger as we think of it as a decentralized database And there are many decentralized apps on top of it And we all know that it is not always easy to query data from the blockchain and that s where many database layer services like The Graph come into play But there are still inefficiencies in terms of performance and latency And that s why we sometimes in the need of own indexer for nft collections Today I d like to introudce Tableland Network a decentralized web protocol for structured relational data starting with Ethereum EVM and EVM compatible Ls The first time I checked their doc I was so excited about this one since it will just make developers lives way easier Simply they have their own relational database and then mint NFTs representing privileges to the tables And again its accessible from both on chain and off chain You can check the first nft collection storing metadata on tableland tables Of all the advantages Tableland will bring I think the fact that it lets us build dynamic metadata would be the one we have to consider first Okay I know that you can walk through all the technical details and some approaches yourself from the doc above So I will remain lots of things on you and skip to the PE game I built on top of the tableland pretty assume that this will attract you since it s the very first approach yet What I was trying to build for KittyKart NFT collections Kart Assets There are NFT collections Kart and Asset Kart is the automotive in the game which you will use to race others and assets are the part of Kart You can replace any assets you want in your kart for the better performance of the kart FYI assets can hold several traits for example you can think of an asset engine v color violet Autobody shopIt s the place where users can apply various assets to the Kart Technically once one asset is applied to the kart the metadata of the kart will be updated accordingly First and foremost we have to design the tables for nft collections and create tables on smart contracts FYI table creator will have admin privilege of that table in our case smart contracts Here are the code piece for creating tables dev create table in TableLand param registry The registry address function createMetadataTable address registry external payable onlyOwner returns uint registry if the address of the Tableland registry You can always find those here currently supported chains tableland ITablelandTables registry metadataTableId tableland createTable address this CREATE TABLE prefix chainId int id string name string description string image string background color string external url string animation url string owner string concat CREATE TABLE tablePrefix StringsUpgradeable toString block chainid id int name text description text image text background color text external url text animation url text owner text metadataTable string concat tablePrefix StringsUpgradeable toString block chainid StringsUpgradeable toString metadataTableId emit CreateMetadataTable metadataTable metadataTableId return metadataTableId Now it s time to build tokenURI for public access to metadata again tableland tables are accessible by public off chain dev tokenURI is an example of how to turn a row in your table back into erc compliant metadata JSON Here we do a simple SELECT statement with function that converts the result into json function tokenURI uint tokenId public view virtual override returns string memory require exists tokenId KittyKartGoKart URI query for nonexistent token string memory base baseURI return string concat base SELECT json object id id name name description description image image background color background color external url external url animation url animation url attributes json group array json object display type display type trait type trait type value value FROM metadataTable LEFT JOIN assetAttributeTable ON metadataTable id assetAttributeTable kart id AND assetAttributeTable in use WHERE id StringsUpgradeable toString tokenId GROUP BY id amp mode list This is the basic example of token URI id id name name description description image image external url external url animation url animation url attributes json group array json object display type display type trait type trait type value value FROM kitty kart test LEFT JOIN kitty asset test attribute ON kitty kart test id kitty asset test attribute kart id AND kitty asset test attribute in use WHERE id GROUP BY id amp mode listYou will ask how to mint NFT and insert metadata into the tableland tables No worries I have this to show you dev Its free mint for test param quantity The quantity value to mint function publicMint uint quantity external nonContract nonReentrant uint tokenId nextTokenId for uint i i lt quantity i tableland runSQL address this metadataTableId string concat INSERT INTO metadataTable id name description image external url animation url VALUES StringsUpgradeable toString tokenId i StringsUpgradeable toString tokenId i description defaultImage externalURL defaultAnimationURL mint msg sender quantity emit Mint msg sender quantity Now you will be clear about how to play with tableland tables and yes it is almost the same as normal interaction with relational databases with SQL queries One exception here is tableland can t accept sub queries which is a barrier of tabeland adaption in cases but this shouldn t be a blocker time to move on to autobody shop You will have a basic idea of it since you are very familiar with database manipulations and you are right it is all about updating existing kart metadata on the tableland but how Am going to leave you alone to think about this heading to Khalifa International Stadium for Canada vs Croatia match See you next time 2022-11-27 14:04:39
Apple AppleInsider - Frontpage News How iPads, iPhones, Macs are used in the special education classroom https://appleinsider.com/articles/22/11/27/how-ipads-iphones-macs-are-used-in-the-special-education-classroom?utm_medium=rss How iPads iPhones Macs are used in the special education classroomUsing iOS and iPadOS in the classroom opens up little to no cost options for students and teachers alike after the initial investment Let a special education teacher tell you what can be done with Apple gear in education Creativity is thy name Savings is thy game For teachers saving time and money are paramount These are trailed shortly of course by the safeguarding of any and all classroom and closet space Indeed the ability to harness the power of Apple s devices and software is certain to come in handy when attempting such preservation Read more 2022-11-27 14:52:47
海外TECH WIRED 59 Best Cyber Monday Deals Under $50 (2022): Electric Toothbrushes, Games, and More https://www.wired.com/story/best-cyber-monday-deals-under-50-2022/ wired 2022-11-27 14:43:00
海外TECH WIRED 23 Best Cyber Monday Soundbar and TV Deals (2022): Samsung, Vizio, LG, and More https://www.wired.com/story/best-cyber-monday-tv-soundbar-deals-2022/ theater 2022-11-27 14:36:00
ニュース BBC News - Home China Covid: Protesters openly urge Xi to resign over China Covid curbs https://www.bbc.co.uk/news/world-asia-63771109?at_medium=RSS&at_campaign=KARANGA communist 2022-11-27 14:46:25
ニュース BBC News - Home Fatal stabbings of two 16-year-old boys in London linked - police https://www.bbc.co.uk/news/uk-63770727?at_medium=RSS&at_campaign=KARANGA bartolo 2022-11-27 14:17:16
ニュース BBC News - Home Italy landslide: Rescuers search for missing people on Ischia island https://www.bbc.co.uk/news/world-europe-63773421?at_medium=RSS&at_campaign=KARANGA ischia 2022-11-27 14:31:09
ニュース BBC News - Home Rail reform needed before workers' pay increases, says Transport Secretary https://www.bbc.co.uk/news/uk-politics-63773083?at_medium=RSS&at_campaign=KARANGA network 2022-11-27 14:00:48
ニュース BBC News - Home Man arrested after Sheffield double murder inquiry launched https://www.bbc.co.uk/news/uk-england-south-yorkshire-63774388?at_medium=RSS&at_campaign=KARANGA sheffield 2022-11-27 14:32:21
ニュース BBC News - Home World Cup 2022: Thibaut Courtois blunder gifts Abdelhamid Sabiri goal for Morocco against Belgium https://www.bbc.co.uk/sport/av/football/63774950?at_medium=RSS&at_campaign=KARANGA World Cup Thibaut Courtois blunder gifts Abdelhamid Sabiri goal for Morocco against BelgiumWatch the moment Belgium s Thibaut Courtois lets an Abdelhamid Sabiri evade his grasp to put Morocco up in their Group F match at the World Cup 2022-11-27 14:51:28
海外TECH reddit 拆路牌了 https://www.reddit.com/r/real_China_irl/comments/z61zwe/拆路牌了/ rrealchinairllinkcomments 2022-11-27 14:04:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)