python |
Pythonタグが付けられた新着投稿 - Qiita |
AIをフル活用した「名言Bot」 |
https://qiita.com/jw-automation/items/a7b9c0b00e7bb2a47982
|
日常生活 |
2023-07-16 13:08:15 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
MonacaとNCMBで地図メモアプリを作る(その3: マーカー表示と一覧表示) |
https://qiita.com/goofmint/items/314bc03a2c656acebbc4
|
monaca |
2023-07-16 13:39:29 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
MonacaとNCMBで地図メモアプリを作る(その2: 地図の表示とメモの追加) |
https://qiita.com/goofmint/items/038f186f99bdab1aa088
|
monaca |
2023-07-16 13:39:06 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
MonacaとNCMBで地図メモアプリを作る(その1: 画面の仕様とSDKの初期化) |
https://qiita.com/goofmint/items/dd1a6932fb751220da95
|
monaca |
2023-07-16 13:36:22 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
WSLでUbuntuを入れようとしたらエラーコード0×80004002が出た話 |
https://qiita.com/turtleE-code/items/c1887aa78a9551c482f5
|
qiita |
2023-07-16 13:26:18 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
高卒実務未経験状態から正社員就職した時に作成した、ハイレベルなポートフォリオに関して(AWS, Docker, CircleCI,Vue.js, Laravel、Ajax(axios)) |
https://qiita.com/Masanarea_qiita/items/91444688b11f873a4a33
|
ajaxaxios |
2023-07-16 13:13:24 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AIをフル活用した「名言Bot」 |
https://qiita.com/jw-automation/items/a7b9c0b00e7bb2a47982
|
日常生活 |
2023-07-16 13:08:15 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
高卒実務未経験状態から正社員就職した時に作成した、ハイレベルなポートフォリオに関して(AWS, Docker, CircleCI,Vue.js, Laravel、Ajax(axios)) |
https://qiita.com/Masanarea_qiita/items/91444688b11f873a4a33
|
ajaxaxios |
2023-07-16 13:13:24 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Go × PostgreSQL × SQLBoiler (ORM) × golang-migrate (マイグレーション) の開発環境を構築する |
https://qiita.com/takengineer1216/items/2695cb885eee97052557
|
docker |
2023-07-16 13:01:21 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Go × PostgreSQL × SQLBoiler (ORM) × golang-migrate (マイグレーション) の開発環境を構築する |
https://qiita.com/takengineer1216/items/2695cb885eee97052557
|
docker |
2023-07-16 13:01:21 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
aka.ms/commandsとcmd.ms |
https://qiita.com/ishiayaya/items/d344590dde30cb43b9a0
|
akamscommands |
2023-07-16 13:33:34 |
海外TECH |
DEV Community |
Building Trust in a Trustless World: Decentralized Applications Unveiled |
https://dev.to/sahil_4555/building-trust-in-a-trustless-world-decentralized-applications-unveiled-52nk
|
Building Trust in a Trustless World Decentralized Applications UnveiledIn this chapter we ll explore decentralized applications or DApps They were born from Ethereum s vision of reinventing the web and creating a new world of DApps called web DApps go beyond smart contracts and aim to decentralize all aspects of an application like storage messaging and naming So what are DApps in simple terms They are applications that don t rely on a single authority but operate in a decentralized way Instead of one company controlling everything DApps use technologies like smart contracts and peer to peer networks to give users more control over their data and interactions on the internet Think of it like this with DApps you can store your data in a decentralized manner communicate securely without intermediaries and have your unique identity in the network It s all about breaking free from centralized control and giving power back to individuals In the next sections we ll dig deeper into how DApps work their reliance on smart contracts and peer to peer technologies and the amazing possibilities they bring to the digital world Get ready to discover the exciting transformation happening in the realm of decentralized applications What is DApp A DApp is an application that is mostly or completely decentralized This means that different parts of the application such as the backend software frontend software data storage message communications and name resolution can be decentralized to varying degrees Creating a DApp offers several advantages that a typical centralized application cannot provide Resiliency A DApp s backend is controlled by a smart contract and operates on a blockchain platform This distribution ensures that the DApp remains available without any downtime as long as the platform is functioning Transparency The on chain nature of a DApp allows anyone to inspect its code promoting trust and certainty about its functionality Additionally all interactions with the DApp are permanently recorded on the blockchain Censorship resistance Users can interact with a DApp without interference from centralized control as long as they have access to an Ethereum node Once a smart contract is deployed on the network neither the service provider nor the contract owner can modify the code Currently most DApps in the Ethereum ecosystem still rely on some centralized services and servers However in the future we anticipate the possibility of operating every part of a DApp in a fully decentralized manner Backend Smart Contract In a DApp smart contracts are used to store the program code and state of the application They replace the traditional server side component in a regular application However there are some important differences to consider Computation in smart contracts can be costly so it s crucial to keep it minimal It s also essential to identify which parts of the application require a trusted and decentralized execution platform With Ethereum smart contracts you can create architectures where multiple smart contracts interact with each other exchanging data and updating their own variables The complexity is limited only by the block gas limit Once you deploy your smart contract other developers may use your business logic in the future There are two key considerations when designing smart contract architecture First once a smart contract is deployed its code cannot be changed except for complete removal if programmed with a specific opcode It can be deleted if it is programmed with an accessible SELFDESTRUCT opcode but other than complete removal the code cannot be changed in any way Second the size of the smart contract matters Large monolithic contracts can be expensive to deploy and use so some DApps choose to offload computation and use external data sources However relying on external data means users must trust those sources In summary smart contracts are integral to DApps but it s important to keep them efficient plan for immutability and carefully consider the use of external data sources for optimal DApp design Frontend Web User Interface In a DApp the part that users interact with can be built using normal web technologies like HTML CSS and JavaScript This means that developers who are used to building websites can work on the user interface of a DApp without needing to learn new programming languages When it comes to communicating with Ethereum like signing messages or making transactions these actions can be done through a web browser using an extension called MetaMask It helps in connecting the DApp with the Ethereum network Although it s possible to create DApps for mobile devices there aren t many resources available to help developers build the user interface for mobile DApps This is because there are limited mobile applications that can handle the specific requirements of DApps To connect the user interface with Ethereum developers usually use a JavaScript library called web js This library is included in the DApp s code and sent to the user s browser when they access the DApp In summary building the user interface of a DApp is similar to creating a regular website using common web technologies Interacting with Ethereum is facilitated through a browser extension like MetaMask While mobile DApps are possible there are fewer resources available for building their user interfaces The web js library is commonly used to connect the DApp with Ethereum Data StorageSmart contracts are not efficient for storing or processing large amounts of data due to high gas costs and the current low block gas limit As a result most DApps use off chain data storage services This means that instead of storing the data directly on the Ethereum blockchain it is stored on a separate data storage platform There are two types of data storage platforms centralized and decentralized In centralized storage data is stored on a typical cloud database which is managed by a centralized entity On the other hand in decentralized storage data is stored on a peer to peer PP platform like IPFS InterPlanetary File System or Ethereum s own Swarm platform Decentralized PP storage is particularly suitable for storing and distributing large static assets such as images videos and the resources used in the frontend of the DApp HTML CSS JavaScript etc These assets can be efficiently stored and accessed through decentralized storage platforms In the next sections we will explore some of the options available for decentralized storage and how they can enhance the functionality and performance of DApps IPFSIPFS which stands for Inter Planetary File System is a decentralized storage system where files are distributed among peers in a peer to peer PP network It operates on a content addressable model meaning that each file is given a unique hash that serves as its identifier By using this hash you can retrieve any file from any IPFS node in the network The goal of IPFS is to replace HTTP the current protocol used for delivering web applications Instead of storing a web application on a single server IPFS allows the files to be stored across the network This means that any IPFS node can serve the files making the application more resilient and accessible In simpler terms IPFS is like a giant distributed storage system where files are identified by unique codes You can retrieve any file by using its code and the files are spread across many computers in a way that makes accessing them faster and more reliable This technology aims to improve how web applications are delivered and make them more decentralized SwarmSwarm is a content addressable peer to peer PP storage system that works similarly to IPFS It was developed by the Ethereum Foundation as part of the Go Ethereum suite of tools With Swarm you can store files that are then spread and replicated across various Swarm nodes in the network Just like with IPFS each file is identified by a unique hash which allows you to access any specific file within Swarm The main purpose of Swarm is to enable decentralized and PP access to websites and their associated files Instead of relying on a central web server to host a website Swarm allows you to access the website and its files through a decentralized network of nodes This means that the website s content is distributed across multiple nodes making it more resilient and ensuring that the website can be accessed even if some nodes are offline In simpler terms Swarm is a technology that lets you store and access files in a decentralized way It was created specifically to provide decentralized access to websites so you don t have to rely on a single server The files are spread across many nodes ensuring better availability and reliability of the websites you visit Decentralized Message Communications ProtocolsTo communicate between different parts of an application or between users we usually rely on a central server However there are decentralized alternatives that use peer to peer networks for messaging One popular messaging protocol for decentralized applications is Whisper developed by the Ethereum Foundation Another aspect that can be decentralized is name resolution This means translating human readable names like domain names into specific addresses on the internet Efforts are being made to develop decentralized systems for name resolution so we don t have to rely on a single central authority In simple terms decentralized applications can communicate using peer to peer messaging protocols like Whisper and there are ongoing developments to create decentralized systems for name resolution These decentralized approaches offer alternatives to traditional centralized communication and naming systems The Ethereum Name Service ENS When it comes to smart contracts having a good interface for users is crucial Just like the traditional internet uses the Domain Name System DNS to provide human readable names for websites the Ethereum blockchain has its own decentralized naming system called the Ethereum Naming System ENS ENS solves the problem of translating human readable names into specific addresses or identifiers on the Ethereum blockchain For example the Ethereum Foundation donation address xfBcadfbBCecEEaccd can be represented as ethereum eth in a wallet that supports ENS ENS is more than just a smart contract It s a fully functional decentralized application DApp that provides a decentralized name service It is supported by various DApps that handle registration management and auctions of registered names ENS demonstrates how DApps can work together serving other DApps and being embedded within them In this section we will explore how ENS works We ll learn how to set up your own name and associate it with a wallet or Ethereum address We ll also discover how ENS can be integrated into other DApps and how it can be used to provide easier access to resources within a DApp In simple terms ENS is like a decentralized phonebook for Ethereum allowing users to associate human readable names with addresses on the blockchain It s a powerful tool that enhances the usability and accessibility of DApps History of Ethereum Name ServicesBlockchain based name registration was initially introduced by Namecoin which was the first non currency application of blockchains The Ethereum White Paper also mentioned a similar name registration system as one of its example applications In the early versions of Geth and the C Ethereum client there was a built in contract for name registration although it s no longer used Several proposals and Ethereum Request for Comments ERC were made regarding name services However it was only when Nick Johnson joined the Ethereum Foundation in that serious work on a registrar for name services began The Ethereum Naming System ENS was officially launched on May which is also celebrated as Star Wars Day Initially there was an attempt to launch it on Pi Day which falls on March but it was unsuccessful The ENS SpecificationENS is defined by three Ethereum Improvement Proposals EIPs EIP outlines the core functionalities of ENS EIP describes the auction system for the eth root domain and EIP specifies reverse resolution of addresses The design philosophy behind ENS follows a sandwich approach At the bottom there is a simple layer that provides basic functionality Above that there are layers of more complex code that can be replaced if needed Finally there is a simple top layer that keeps all the funds in separate accounts Bottom Layer Name Owners and ResolversIn the Ethereum Naming System ENS instead of directly working with human readable names the system operates on nodes To convert a human readable name to a node the Namehash algorithm is used At the base layer of ENS there is a contract defined by ERC which is incredibly simple consisting of less than lines of code This contract allows only the owners of nodes to manage information about their names and create subnodes which are similar to subdomains in the traditional Domain Name System DNS The core functions in the base layer of ENS are designed to enable node owners to set information about their nodes such as the resolver which specifies the address of the contract that handles the node s functionality time to live the duration for which the information is valid and ownership transfer Additionally node owners can create new subnodes and specify their owners The Namehash AlgorithmNamehash is a recursive algorithm that can convert any name into a hash that identifies the name Recursive means that we solve the problem by solving a subproblem that is a smaller problem of the same type and then use the solution to the subproblem to solve the original problem Namehash recursively hashes the components of a name to create a fixed length string or node that represents the name Namehash recursively hashes components of the name producing a unique fixed length string or “node for any valid input domain For example the Namehash node of subdomain example eth is keccak lt example eth gt node keccak lt subdomain gt The subproblem we must solve is to compute the node for example eth which is keccak lt eth gt node keccak lt example gt To begin we must compute the node for eth which is keccak lt root node gt keccak lt eth gt The root node is what we call the base case of our recursion and we obviously can t define it recursively or the algorithm will never terminate The root node is defined as x zero bytes Putting this all together the node of subdomain example eth is therefore keccak keccak keccak x keccak eth keccak example keccak subdomain Thus mastering ethereum eth will be processed as follows namehash mastering ethereum eth ⇒sha namehash eth sha mastering ethereum ⇒sha sha namehash sha eth sha mastering ethereum ⇒sha sha sha eth sha mastering ethereum ConclusionDecentralized applications are the ultimate goal of Ethereum s creators since the beginning Nowadays many applications claim to be decentralized but most of them are not fully decentralized However it is already possible to create applications that are almost completely decentralized As technology progresses more and more of our applications can become decentralized resulting in a stronger more resistant to censorship and liberated internet |
2023-07-16 04:43:45 |
海外ニュース |
Japan Times latest articles |
Heavy rains and flooding leave at least 33 dead in South Korea |
https://www.japantimes.co.jp/news/2023/07/16/asia-pacific/south-korea-flooding-toll/
|
downpours |
2023-07-16 13:08:37 |
ニュース |
BBC News - Home |
South Korea flood: Seven bodies recovered from flooded S Korea tunnel |
https://www.bbc.co.uk/news/world-asia-66209578?at_medium=RSS&at_campaign=KARANGA
|
korea |
2023-07-16 04:23:15 |
ニュース |
Newsweek |
「これが現代の戦争だ」 数千ドルのドローンが、ロシア「最新型」戦車を破壊する映像...ウクライナが公開 |
https://www.newsweekjapan.jp/stories/world/2023/07/post-102197.php
|
「これが現代の戦争だ」数千ドルのドローンが、ロシア「最新型」戦車を破壊する映像ウクライナが公開ウクライナ政府は、ウクライナ軍のドローンがロシア軍の最新戦車Tを攻撃し、さらにロシア軍による戦車の回収も阻止したと発表した。 |
2023-07-16 13:10:00 |
海外TECH |
reddit |
[Post Game Thread] Light That Baby Up! Angels defeat Astros! |
https://www.reddit.com/r/angelsbaseball/comments/150wtef/post_game_thread_light_that_baby_up_angels_defeat/
|
Post Game Thread Light That Baby Up Angels defeat Astros Astros Angels First Pitch PM at Angel Stadium Team Starter TV Radio Astros Framber Valdez ERA ATTH KBME TUDN KLAT ES Angels Reid Detmers ERA BSW KLAA Game Preview r angelsbaseball Discord Reddit Stream for this post Line Score Game Over R H E LOB HOU LAA Box Score LAA AB R H RBI BB SO BA SS Neto DH Ohtani LF Ward CF Moniak B Velazquez A B Escobar Edu B Moustakas RF Renfroe C Thaiss B Rengifo CF Cabbage LAA IP H R ER BB SO P S ERA Detmers Devenski Weiss Moore Davidson Estévez HOU AB R H RBI BB SO BA B Dubón SS Peña SS Kessinger RF Tucker B Bregman B Abreu J LF Julks C Diaz Y CF McCormick C Maldonado M PR Meyers P Maton P HOU IP H R ER BB SO P S ERA Valdez F Stanek Abreu B Neris Pressly Maton P Scoring Plays Inning Event Score B Umpire reviewed home run call on the field was overturned Luis Rengifo homers on a fly ball to right center field Hunter Renfroe scores Matt Thaiss scores T Kyle Tucker singles on a sharp ground ball to center fielder Mickey Moniak Chas McCormick scores Mauricio Dubon scores T Martin Maldonado doubles on a line drive to left fielder Taylor Ward Yainer Diaz scores Chas McCormick scores T Mauricio Dubon singles on a sharp ground ball to right fielder Hunter Renfroe Chas McCormick scores Martin Maldonado to rd T Kyle Tucker out on a sacrifice fly to center fielder Mickey Moniak Martin Maldonado scores T Jose Abreu homers on a fly ball to center field Mauricio Dubon scores Alex Bregman scores B Zach Neto homers on a fly ball to left center field Luis Rengifo scores B Eduardo Escobar singles on a line drive to right fielder Kyle Tucker Taylor Ward scores Mickey Moniak to nd B Mike Moustakas homers on a fly ball to right center field Mickey Moniak scores Eduardo Escobar scores T Chas McCormick homers on a fly ball to right field Yainer Diaz scores T Yainer Diaz singles on a sharp ground ball to left fielder Taylor Ward Jose Abreu scores B Shohei Ohtani homers on a fly ball to center field B Mike Moustakas grounds out second baseman Mauricio Dubon to first baseman Jose Abreu B Hunter Renfroe singles on a line drive to center fielder Chas McCormick Andrew Velazquez scores Eduardo Escobar to rd B Taylor Ward grounds into a force out second baseman Mauricio Dubon to shortstop Grae Kessinger Trey Cabbage scores Shohei Ohtani out at nd Taylor Ward to st Throwing error by shortstop Grae Kessinger Highlights Description Length Video Bullpen availability for Houston July vs Angels Video Bullpen availability for Los Angeles July vs Astros Video Fielding alignment for Houston July vs Angels Video Fielding alignment for Los Angeles July vs Astros Video Starting lineups for Astros at Angels July Video Breaking down JoséAbreu s home run Video Breaking down Zach Neto s home run Video Breaking down Mike Moustakas s home run Video Breaking down Luis Rengifo s home run Video Breaking down Chas McCormick s home run Video Breaking down Reid Detmers s pitches Video Reid Detmers s outing against the Astros Video Breaking down Framber Valdez s pitches Video Framber Valdez s outing against the Angels Video The distance behind Shohei Ohtani s home run Video Matt Thaiss throws out Mauricio Dubón at second Video Luis Rengifo swats a three run homer to left field Video Kyle Tucker drives in two with a single up the middle Video Luis Rengifo hits a three run homer after a review Video Martin Maldonado hits a two run double to left field Video McCormick and Dubón make the relay to get Escobar out Video Mauricio Dubón slaps an RBI single to right center Video Kyle Tucker hits a sac fly to center scoring a run Video JoséAbreu swats a three run homer to center field Video Zach Neto swats a two run homer to left center field Video Mickey Moniak makes a sensational catch in center Video Eduardo Escobar bloops an RBI single to right field Video Mike Moustakas hits a three run homer to right center Video Chas McCormick swats a two run homer to right field Video Framber Valdez fans Angels over innings Video Yainer Diaz hits a ground ball RBI single to left Video Reid Detmers strikes out six Astros in six innings Video Shohei Ohtani crushes a solo homer to center field Video Framber Valdez departs the game with an injury Video Taylor Ward scores on a passed ball in the th Video Hunter Renfroe lines an RBI single to center field Video Trey Cabbage flies out to center fielder Chas McCormick Video Estévez gets Bregman out to end the top of the th Video Phil Maton In play run s to Taylor Ward Video Decisions Winning Pitcher Losing Pitcher Save Estévez ERA Maton P ERA Game ended at PM submitted by u angelsbaseball to r angelsbaseball link comments |
2023-07-16 04:44:48 |
海外TECH |
reddit |
Error 404: Shohei Ohtani has gone yard for the 33rd time this season! |
https://www.reddit.com/r/baseball/comments/150wbor/error_404_shohei_ohtani_has_gone_yard_for_the/
|
Error Shohei Ohtani has gone yard for the rd time this season submitted by u HelpMeWithMyHWpls to r baseball link comments |
2023-07-16 04:18:15 |
コメント
コメントを投稿