Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
Wslのubuntuでsudoコマンドが使えなくなった |
https://qiita.com/kaerun/items/4a727c963130b3663027
|
wsllで起動できるディストリビューションを確認。 |
2022-01-12 23:09:28 |
技術ブログ |
Developers.IO |
Google OptimizeでWebサイトのパーソナライズを試してみた |
https://dev.classmethod.jp/articles/trying-personalize-with-google-optimize/
|
googleoptimize |
2022-01-12 14:56:33 |
技術ブログ |
Developers.IO |
第4世代 Echo Dotの超音波を利用した在室感知アクションを試してみた |
https://dev.classmethod.jp/articles/alexa-home-sensing-echo-dot-4gen/
|
alexa |
2022-01-12 14:39:12 |
海外TECH |
MakeUseOf |
SleepHub Review: Can You Really Reprogram Your Brain With Sound? |
https://www.makeuseof.com/sleephub-review/
|
SleepHub Review Can You Really Reprogram Your Brain With Sound The SleepHub uses a combination of soothing soundscapes and tonal beats to help push your brain into a natural sleeping pattern And it works |
2022-01-12 14:55:11 |
海外TECH |
MakeUseOf |
How to Use the Pomodoro Technique to Get Ahead at Work |
https://www.makeuseof.com/how-to-use-pomodoro-technique-work/
|
How to Use the Pomodoro Technique to Get Ahead at WorkPomodoro Technique is one of the most popular ways to overcome procrastination and improve productivity Here s how to use it to get ahead at work |
2022-01-12 14:45:12 |
海外TECH |
MakeUseOf |
How to Remove an Image Background in CorelDRAW |
https://www.makeuseof.com/remove-image-background-coreldraw-how-to/
|
coreldraw |
2022-01-12 14:30:12 |
海外TECH |
MakeUseOf |
Meditating With Calm: How to Use the App to Improve Your Mindfulness |
https://www.makeuseof.com/meditating-calm-app-improve-mindfulness/
|
Meditating With Calm How to Use the App to Improve Your MindfulnessCalm is one of the most popular mindfulness apps for a reason Here s how its range of meditation features can help boost your mental health journey |
2022-01-12 14:30:11 |
海外TECH |
MakeUseOf |
How to Read Emails Aloud in Microsoft Outlook |
https://www.makeuseof.com/how-to-read-emails-aloud-outlook/
|
aloud |
2022-01-12 14:15:11 |
海外TECH |
DEV Community |
Beyond a JPEG: NFT as a Primary Key |
https://dev.to/focusedlabs/beyond-a-jpeg-nft-as-a-primary-key-1nfo
|
Beyond a JPEG NFT as a Primary KeyThese days we most often see NFTs used to record the ownership information of artwork There are the pie in the sky folks who think NFTs will become a new standard for ownership for everything from houses to music to in game items only time will tell NFTs are powerful but they get a bad rap I don t have strong opinions about the disruptive nature of NFTs or how they affect art games or anything else I do see that the Non Fungible attribute of an NFT has some remarkable properties that allow smart contract developers to store state in a permissionless manner and enable that state to be transferred or sold Ok I admit that s rather abstract and confusing Since this is a dev blog let s build an app that uses an NFT contract and holds information specific to a user Before we dive in this is not revolutionary Several projects already do this The QiDAO uses NFTs to manage loan ownership and Uniswap V uses NFTs to manage a Liquidity Position Before the release of V Uniswap recorded Liquidity by issuing the liquidity provider an LP Token These tokens are an ERC token and ERC s are fungible Fungibility means that one token is the same as another Think if someone hands you a €note That note is the same as the other € s in your wallet The ERC s are transferable farmable and sellable but they cannot store any secondary information about a Liquidity Position NFTs allow for encapsulation and transfer and sale of metadata in a permissionless mannerUniswap V enables the addition of metadata to a liquidity position Instead of issuing an ERC token to represent a liquidity position they issue an ERC NFT With that ERC Uniswap can now add unique features like impermanent loss protection to each liquidity position How cool is that But how does it work Let s build it Without giving too much background at Focused Labs we offer a blog bounty and a bonus for blogging streaks The more frequently the company blogs the larger the blog bounty becomes I want to move this bounty from a spreadsheet to the blockchain and use an NFT to identify wallets contributing a blog to the streak We will need an ERC contract Let s use OpenZeppelin to enforce the correct interface for our NFT contracts FocusedBlogPost sol SPDX License Identifier MITpragma solidity import openzeppelin contracts token ERC ERC sol import openzeppelin contracts utils Counters sol contract FocusedBlogPost is ERC using Counters for Counters Counter Counters Counter private tokenIds const constructor ERC FocusedBlogPost FCSD function publishBlog address blogger public returns uint tokenIds increment uint newItemId tokenIds current mint blogger newItemId return newItemId Whenever we call publishBlog with an address we will mint and transfer an NFT to the blogger A new blog must be published every two weeks to earn a streak Each week at least one new blog post goes out our streak counter increases This streak counter is a multiple on our Blog Bounty Now let s set up our contract to add logic around a streak Let s start by tracking when new posts are published contract FocusedBlogPost is ERC struct BlogPost string postUri uint publishedAt address originalAuthor two weeks in seconds uint constant twoWeeks map of NFT ids to Blog Posts mapping uint gt BlogPost public blogPosts function publishBlog address blogger string memory postUri public returns uint mint player newPostId blogPosts newPostId BlogPost postUri postUri publishedAt block timestamp originalAuthor blogger Now every time a new blog post is published we not only create an NFT for the post but we record when it was published and keep track of the original author We still don t track a streak though so let s add a new method to our token contract contract FocusedBlogPost is ERCEnumerable using SafeMath for uint function getCurrentStreak public view returns uint uint streak if totalSupply totalSupply return streak for uint i totalSupply sub i gt i BlogPost memory currentBlog blogPosts tokenByIndex i BlogPost memory previousBlog blogPosts tokenByIndex i sub if currentBlog publishedAt previousBlog publishedAt gt twoWeeks break streak return streak We use OpenZeppelin s ERCEnumerable this gives us a few new methods to loop through each NFT we have minted Then we can check the timestamp of each BlogPosts publishedAt Pretty easy right In a future part of this series we will continue to add features to the NFT allowing for payouts to streak contributors and adding validations like only increasing a streak if the author isn t in the current streak Although this example is a bit contrived honestly why would someone want to transfer their streak I think the practical applications are straightforward The NFT can act as a unique identifier recording metadata about an event or individual actions A dApp can then use that NFT to make decisions like providing access to a secret website or paying a dividend for contributing a blogpost Source code is available on GitHub where there is a complete example with passing tests |
2022-01-12 14:17:10 |
Apple |
AppleInsider - Frontpage News |
Best deals Jan. 12: refurbished iPhone 11 Pro Max, $220 off robot vacuum & mop, more! |
https://appleinsider.com/articles/22/01/12/best-deals-jan-12-refurbished-iphone-11-pro-max-220-off-robot-vacuum-mop-more?utm_medium=rss
|
Best deals Jan refurbished iPhone Pro Max off robot vacuum amp mop more Wednesday s best deals include more refurbished Apple devices like Apple Watch Series and iPhone SE off a Panasonic LUMIX digital camera and a Logitech HD webcam for Best deals January To help you get through the continuing January sale chaos we ve collected some of the best deals we could find on Apple products tech accessories and other items for the AppleInsider audience Read more |
2022-01-12 14:40:26 |
Apple |
AppleInsider - Frontpage News |
Apple surveying South Korean suppliers for Apple Car parts |
https://appleinsider.com/articles/22/01/12/apple-surveying-south-korean-suppliers-for-apple-car-parts?utm_medium=rss
|
Apple surveying South Korean suppliers for Apple Car partsThe main manufacturer of the forthcoming Apple Car is expected to be chosen by the end of and firms in South Korea are vying to provide parts Backing up a recent claim by Wedbush a new industry report claims that Apple will select its chief partner for the Apple Car by the end of the year The Wedbush claim said that Apple will announce the partnership in but the new report says only that selection will be completed According to Korea IT News though the selection will be followed by the start of full scale development Reportedly Apple executives visited South Korean car firms on December marking the second time they have been in talks with local companies Read more |
2022-01-12 14:24:38 |
Apple |
AppleInsider - Frontpage News |
RiotPWR ESL gaming controller review: great iPhone gaming in a not-so-great package |
https://appleinsider.com/articles/22/01/12/riotpwr-esl-gaming-controller-review-great-iphone-gaming-in-a-not-so-great-package?utm_medium=rss
|
RiotPWR ESL gaming controller review great iPhone gaming in a not so great packageThe RiotPWR ESL gaming controller is a great way to play iPhone games but the bulk and color scheme leaves a lot to be desired The RiotPWR ESL gaming controller for iPhoneRiotPWR partnered with ESL formerly the Electronic Sports League to create a custom gaming controller The RiotPWR ESL controller has a standard Xbox layout with a detachable iPhone mount Read more |
2022-01-12 14:39:16 |
海外TECH |
Engadget |
Jack Dorsey proposes a legal defense fund for Bitcoin developers |
https://www.engadget.com/jack-dorsey-bitcoin-legal-defense-fund-142546580.html?src=rss
|
Jack Dorsey proposes a legal defense fund for Bitcoin developersLawsuits are weighing heavily on the Bitcoin ecosystem and former Twitter chief Jack Dorsey thinks he can help fend them off Coindeskreports Dorsey Chaincode s Alex Morcos and academic Martin White have proposed a nonprofit legal defense fund for Bitcoin developers to protect them against lawsuits and similar quot legal pressure quot The fund s board currently Dorsey Morcos and White would choose cases to support with part time and volunteer lawyers providing the initial defense counsel for free The fund will initially take over coordination for the defense against the Tulip Trading lawsuit targeting developers over alleged breaches of fiduciary duty relating to the long dead Mt Gox Bitcoin exchange Dorsey didn t say how much money the fund had to start but noted it wasn t looking for additional money quot at this time quot Dorsey has direct incentives to establish a legal defense fund of course His company Block is heavily involved in Bitcoin other cryptocurrencies and the blockchain and the flurry of lawsuits could tarnish his business as much as anyone else s However Dorsey noted that many Bitcoin developers are independents that have little choice but to give up when facing lawsuits they don t have the resources to fight The nonprofit might prove vital if it strengthens the Bitcoin community as a whole whether or not Dorsey directly benefits from its actions |
2022-01-12 14:25:46 |
海外TECH |
Engadget |
NVIDIA begins rolling out Android 11 update to all Shield TV models |
https://www.engadget.com/nvidia-update-shield-tv-android-11-140040282.html?src=rss
|
NVIDIA begins rolling out Android update to all Shield TV modelsNVIDIA has started rolling out Software Experience Upgrade for Shield TV devices and it will upgrade their operating system to Android The company says Experience will bring the new OS to all Shield TVs including the original models and it will also include the September Android security patch that fixes a vulnerability allowing remote attackers to cause a permanent denial of service In addition the upgrade adds access to a new Google Keyboard with support for voice searches Users will now be able to look for movies and shows to watch by issuing voice commands through Google Assistant Those who have aptX compatible Bluetooth headsets will be able to start using it with their streaming box as well nbsp Other updates including the option to automatically disconnect Bluetooth devices on sleep in order to save battery an Energy saver setting for additional power customization and Stadia button support for Xbox Playstation and Shield controllers For GeForce Now members the update adds support for additional Bluetooth keyboards and mice Plus Twitch has been updated to be able to simultaneously support high quality streaming and gaming for them Finally those living in the US can get six months of Peacock Premium for free when they get a new Shield TV Peacock is NBCUniversal s streaming service that serves as home to NBC shows like The Office It has a free ad supported version with a limited catalogue and a Premium ad free one with more content that costs a month nbsp |
2022-01-12 14:00:40 |
海外科学 |
NYT > Science |
Don’t Just Watch: Team Behind ‘Don’t Look Up’ Urges Climate Action |
https://www.nytimes.com/2022/01/11/climate/dont-look-up-climate.html
|
Don t Just Watch Team Behind Don t Look Up Urges Climate ActionThe satirical film about a comet hurtling toward Earth is a metaphor for climate change that has broken a Netflix record Its director hopes it will mobilize the public |
2022-01-12 14:17:08 |
金融 |
ニュース - 保険市場TIMES |
太陽生命、株式会社三井住友銀行でMy介護Bestプラスの販売開始 |
https://www.hokende.com/news/blog/entry/2022/01/13/000000
|
太陽生命、株式会社三井住友銀行でMy介護Bestプラスの販売開始高齢者のニーズに対応太陽生命保険株式会社は月日、同社が販売する無配当終身認知症・生活介護年金保険「My介護Bestプラス」を株式会社三井住友銀行にて販売開始すると発表した。 |
2022-01-13 00:00:00 |
ニュース |
BBC News - Home |
Prince Andrew to face civil sex assault case after US ruling |
https://www.bbc.co.uk/news/uk-59871514?at_medium=RSS&at_campaign=KARANGA
|
judge |
2022-01-12 14:44:28 |
ニュース |
BBC News - Home |
Boris Johnson faces calls to quit after lockdown party apology |
https://www.bbc.co.uk/news/uk-politics-59967930?at_medium=RSS&at_campaign=KARANGA
|
downing |
2022-01-12 14:43:39 |
ニュース |
BBC News - Home |
Novak Djokovic admits breaking isolation while Covid positive |
https://www.bbc.co.uk/news/world-australia-59935127?at_medium=RSS&at_campaign=KARANGA
|
australia |
2022-01-12 14:12:34 |
ニュース |
BBC News - Home |
Covid: Government's PPE 'VIP lane' unlawful, court rules |
https://www.bbc.co.uk/news/uk-59968037?at_medium=RSS&at_campaign=KARANGA
|
companies |
2022-01-12 14:30:29 |
ニュース |
BBC News - Home |
Nottingham student tells MPs of 'sadistic' nightclub spiking |
https://www.bbc.co.uk/news/uk-england-nottinghamshire-59959694?at_medium=RSS&at_campaign=KARANGA
|
nightclub |
2022-01-12 14:43:48 |
ニュース |
BBC News - Home |
Downing Street party 'brings back pain' for bereaved mother |
https://www.bbc.co.uk/news/uk-england-merseyside-59959220?at_medium=RSS&at_campaign=KARANGA
|
drinks |
2022-01-12 14:40:40 |
ニュース |
BBC News - Home |
Downing Street party: What Covid rules were broken? |
https://www.bbc.co.uk/news/uk-politics-59577129?at_medium=RSS&at_campaign=KARANGA
|
drinks |
2022-01-12 14:00:56 |
ニュース |
BBC News - Home |
England rugby international arrested on suspicion of rape |
https://www.bbc.co.uk/sport/rugby-union/59967847?at_medium=RSS&at_campaign=KARANGA
|
england |
2022-01-12 14:43:50 |
ニュース |
BBC News - Home |
‘We haven’t got a blank cheque’ – how Newcastle avoid the ‘nightmare’ of January transfer window |
https://www.bbc.co.uk/sport/football/59969251?at_medium=RSS&at_campaign=KARANGA
|
We haven t got a blank cheque how Newcastle avoid the nightmare of January transfer windowNewcastle have made a decent start to the January transfer window but still need a centre back at a time when deals can be tricky and dangers await |
2022-01-12 14:44:38 |
ニュース |
BBC News - Home |
Andy Murray into Sydney Tennis Classic last eight with victory over Nikoloz Basilashvili |
https://www.bbc.co.uk/sport/tennis/59963071?at_medium=RSS&at_campaign=KARANGA
|
Andy Murray into Sydney Tennis Classic last eight with victory over Nikoloz BasilashviliBritish former world number Andy Murray overcomes world number Nikoloz Basilashvili in three hard fought sets to make the last eight of the Sydney Tennis Classic |
2022-01-12 14:07:28 |
ニュース |
BBC News - Home |
What are the Covid rules in schools and will they stay open this term? |
https://www.bbc.co.uk/news/education-51643556?at_medium=RSS&at_campaign=KARANGA
|
covid |
2022-01-12 14:02:08 |
北海道 |
北海道新聞 |
暴風雪、生活を直撃 JR運休、停電の発生も 東胆振・日高 |
https://www.hokkaido-np.co.jp/article/632685/
|
風雪 |
2022-01-12 23:18:29 |
北海道 |
北海道新聞 |
ロシア主導部隊、13日撤退開始 カザフ大統領が謝意 |
https://www.hokkaido-np.co.jp/article/632724/
|
中央アジア |
2022-01-12 23:18:00 |
北海道 |
北海道新聞 |
韓国、文氏出席検討せず 北京五輪、代表団は派遣 |
https://www.hokkaido-np.co.jp/article/632722/
|
北京冬季五輪 |
2022-01-12 23:15:00 |
北海道 |
北海道新聞 |
70代男性、110万円詐欺被害 札幌白石署 |
https://www.hokkaido-np.co.jp/article/632720/
|
札幌市白石区 |
2022-01-12 23:15:00 |
北海道 |
北海道新聞 |
米消費者物価39年ぶり伸び 12月、7%上昇 |
https://www.hokkaido-np.co.jp/article/632718/
|
発表 |
2022-01-12 23:07:00 |
北海道 |
北海道新聞 |
ダンサーの勅使川原さんに功労賞 ベネチア・ビエンナーレ |
https://www.hokkaido-np.co.jp/article/632716/
|
勅使川原 |
2022-01-12 23:04:00 |
北海道 |
北海道新聞 |
道内暴風雪 運休、欠航だらけ…「いつ帰れるのか」 道民生活直撃 |
https://www.hokkaido-np.co.jp/article/632697/
|
道民 |
2022-01-12 23:03:41 |
仮想通貨 |
BITPRESS(ビットプレス) |
[日経] ミャンマー民主派、仮想通貨で抵抗 「テザー」の国内流通後押し、通貨発行権握る国軍に挑戦状 |
https://bitpress.jp/count2/3_9_12985
|
通貨発行権 |
2022-01-12 23:57:05 |
仮想通貨 |
BITPRESS(ビットプレス) |
コインチェック、2/11まで「Coincheckつみたての新規登録で1,000円相当のBTCをプレゼント」実施 |
https://bitpress.jp/count2/3_14_12984
|
coincheck |
2022-01-12 23:51:24 |
仮想通貨 |
BITPRESS(ビットプレス) |
Payward Asia(クラーケン・ジャパン)、1/12より仮想通貨OMG・LINK・BATの取扱開始 |
https://bitpress.jp/count2/3_10_12983
|
paywardasia |
2022-01-12 23:45:53 |
仮想通貨 |
BITPRESS(ビットプレス) |
[日経クロストレンド] NFTバブルは本物か(全7回) |
https://bitpress.jp/count2/3_9_12982
|
本物 |
2022-01-12 23:43:50 |
仮想通貨 |
BITPRESS(ビットプレス) |
JCBA・JBA、2/17にWEBで「SDGs・ESG × ブロックチェーン・暗号資産が切り拓く2020年代」開催 |
https://bitpress.jp/count2/3_15_12981
|
資産 |
2022-01-12 23:38:07 |
仮想通貨 |
BITPRESS(ビットプレス) |
[NHK] 暗号資産悪用で資金洗浄か IP電話会社役員ら再逮捕 |
https://bitpress.jp/count2/3_9_12980
|
資金洗浄 |
2022-01-12 23:34:42 |
コメント
コメントを投稿