python |
Pythonタグが付けられた新着投稿 - Qiita |
ワナビーからKagglerに〜コンペ所感〜 |
https://qiita.com/wokassis/items/b4abf896acc4e5a3dcc0
|
今回チームを組んでくださった皆さんありがとうございましたこの記事を書いていて気が付いたのですが、Disccusionに投稿した質問に銅メダルが付いていました社内コンペは優秀賞動機圧力コンペに参加してから、しばらく燃え尽き症候群になっていました。 |
2021-12-22 00:48:01 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Python でモデル検査 |
https://qiita.com/kueda_cs/items/58d82a5a9fce976985ab
|
安全性・活性として「遮断機が上がっているのに電車が進入するようなことはない」「開かずの踏切ではない」という性質を考えます。 |
2021-12-22 00:37:26 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Flaskチュートリアルを使ったT-DASHチュートリアル |
https://qiita.com/kazu-ojisan/items/f3eec4b0e5b17e51a0ff
|
前節で作成したテストケースの中には、Flaskのチュートリアルでは実装されないため、テストが失敗するケースを意図的に含めています。 |
2021-12-22 00:14:20 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
強化学習の基本を図と数式で理解する② |
https://qiita.com/botany/items/f69320ccb52d7f1dc669
|
手順②確率epsilonでランダムに行動を選択、確率epsilonで状態行動価値関数の推定値hatQpistatが最大となる行動を選択下の図は時刻tにおける例手順③式spadesuit の近似式を用いて、hatQpistatを更新手順④手順②と③を繰り返すと、最終的に状態行動価値関数は例えば下記のようになり、スタートから最大の値を辿っていけばゴールまでつくようになっている。 |
2021-12-22 00:08:50 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
JavaScriptで出来ることを簡単にまとめました |
https://qiita.com/takabablog/items/4158138dfcbf0a2d611e
|
JavaScriptを使用するとそれらの属性を変更することが出来ます。 |
2021-12-22 00:28:34 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
ValueError: not enough values to unpack (expected 2, got 1) |
https://teratail.com/questions/374966?rss=all
|
ValueErrornotenoughvaluestounpackexpectedgot前提・実現したいことディープラーニングで音声分類EFEBnbspこちらのサイトを参考にしています。 |
2021-12-22 00:56:34 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
pタグの文字だけに背景色をつけたい |
https://teratail.com/questions/374965?rss=all
|
pタグの文字だけに背景色をつけたいPタグの文字部分のみに背景色をつけたいです。 |
2021-12-22 00:48:34 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
バックエンドからフロントエンドへの転職について |
https://teratail.com/questions/374964?rss=all
|
バックエンドからフロントエンドへの転職について歳nbsp女nbsp入社年目nbspバックエンドエンジニアです。 |
2021-12-22 00:41:41 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
【CSS】可変するWebページで要素の高さを常に100%にしたい |
https://teratail.com/questions/374963?rss=all
|
【CSS】可変するWebページで要素の高さを常ににしたい前提・実現したいことWebページの内容が増えてスクロールが発生した際に、CSSが途切れてしまうので、スクロールしてもCSSが付いてくるようにしたいです。 |
2021-12-22 00:35:32 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
iOS,地図とサーチバーの併用でピンずれる |
https://teratail.com/questions/374962?rss=all
|
ccffbcccbacpng |
2021-12-22 00:21:52 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
複数条件での検索機能の作成 |
https://teratail.com/questions/374961?rss=all
|
複数条件での検索機能の作成Userを「名前」、「性別」、「年齢層」、「居住地域」で検索する機能を実装したいのですが、エラーが出ており躓いでおります。 |
2021-12-22 00:16:47 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
AWSのApacheのDocumentRootが見つからない |
https://teratail.com/questions/374960?rss=all
|
AWSのApacheのDocumentRootが見つからない環境AWSnbspECnbspamazonlinuxcomposerinstallを終えてApacheにプロジェクトのパスを通す作業を行おうとしています。 |
2021-12-22 00:15:35 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Discordで動くLinuxターミナルを作る |
https://qiita.com/BonyChops/items/2774aa65037edb047111
|
|
2021-12-22 00:38:55 |
golang |
Goタグが付けられた新着投稿 - Qiita |
Go 言語で GitLab Bot の作成 |
https://qiita.com/AbeTetsuya20/items/dd7407e0f7f7b9105ac1
|
Go言語でGitLabBotの作成書き途中ですGitLabのBotをGolangで作成します準備以下のGithubを参考にして、Botを作成します。 |
2021-12-22 00:40:31 |
技術ブログ |
Mercari Engineering Blog |
自作して学ぶKubernetes Scheduler |
https://engineering.mercari.com/blog/entry/20211220-create-your-kube-scheduler/
|
hellip |
2021-12-21 17:00:18 |
海外TECH |
MakeUseOf |
5 Tips for Staying Motivated in the New Year |
https://www.makeuseof.com/tips-stay-motivated-new-year/
|
entire |
2021-12-21 15:30:12 |
海外TECH |
MakeUseOf |
The 7 Best Online FPS Browser Games |
https://www.makeuseof.com/tag/6-awesome-fps-games-for-your-browser-si/
|
games |
2021-12-21 15:30:12 |
海外TECH |
MakeUseOf |
Goals vs. Objectives: What Is the Difference and How Do They Impact Your Career? |
https://www.makeuseof.com/goals-vs-objectives-difference-how-they-impact-career/
|
Goals vs Objectives What Is the Difference and How Do They Impact Your Career Goals and objectives are often used interchangeably but there are differences Here s how they help you at work and build a successful career |
2021-12-21 15:15:22 |
海外TECH |
DEV Community |
Resolving ENS Usernames in React |
https://dev.to/rahat/resolving-ens-usernames-in-react-3ppm
|
Resolving ENS Usernames in ReactAn awesome part of using a dApp is the fact that you can connect your wallet and and be logged in or signed up for the application right away The problem that this may bring is that wallets are this large string of alphanumeric characters and don t make the best usernames See example below xdfedFBceACBddcEw right This isn t the greatest way of displaying a username You could do something like create a form and ask for a preferred username or we could leverage the decentralized web and look at using existing ENS usernames in our applications Let s take a look at how we can do this using React and the Ethers library I started off by scaffolding out a react application using npx create react appThen I installed a dependency I need using yarn You can use npm instead if you prefer yarn add ethersAfterwards I went into App js and got rid of everything inside the div and then imported the ethers library and useState from React to keep track of the username of the signed in person If you want to code along with this blog then here is what my App js looked like import App css import useState from react import ethers from ethers function App const name setName useState return lt div className App gt lt h gt name lt h gt lt div gt export default App Not too much going on just yet Let s add a button inside of our app div and give it a function that can execute on click lt div className App gt lt button className button onClick gt handleWalletConnect gt connect lt button gt lt h gt name lt h gt lt div gt So this handleWalletConnect function is going to accomplish a couple of things We want to make sure we get access to the users wallet as well as their ens username if they have one Here is the function which I ll break down line by line const name setName useState const handleWalletConnect async gt const ethereum window if ethereum const provider new ethers providers WebProvider ethereum await provider send eth requestAccounts const signer provider getSigner const address await signer getAddress const ens await provider lookupAddress address if ens null setName ens else setName address else alert no wallet detected The first thing we re doing is destructuring the Ethereum object from the Window const ethereum windowThis is something that is injected into the window from a wallet like Metamask As long as it exists we will continue on with the rest of our code otherwise we want to alert the user that we aren t detecting any wallets in their browser Next up is creating a provider that will give us access to a lot of methods that makes our life easier const provider new ethers providers WebProvider ethereum A provider is a nice little abstraction of the connection to the Ethereum network We re leveraging the work that the nice folks at Ethers have already done for us instead of reinventing the wheel The first thing we want to do with our provider is ask for permission to connect to the users wallet which is taken care of with this line await provider send eth requestAccounts This sends a request over to the wallet asking the user to allow connection with our dApp Next we want to get information about the user We do this by creating a signer object const signer provider getSigner This gives us access to more methods like this handy one for getting the signer s address const address await signer getAddress Now in theory we have everything we need to start building out our dApp We have the address but we want to make things a little more human readable Our provider has a nice little method of doing a reverse lookup to see if the Ethereum address is linked to an ENS username and that s done in the line below const ens await provider lookupAddress address This will return the ens username if it exists otherwise we will get back null Now we can either set the name to be the username or just fall back to the address if they do not have an ens username Now that we can access our user s decentralized identity we can allow for a greater user experience instead of forcing our users to fill out yet another form on profile details for a new service The final code for this can all be found on this repository You can also watch a quick video of this tutorial below |
2021-12-21 15:38:20 |
海外TECH |
DEV Community |
Media Query (CSS) |
https://dev.to/iftakher_hossen/media-query-css-3akc
|
Media Query CSS What is Media QueryMedia Query is introduced on CSS Media Query is a very useful tool Media Query in CSS is used to make responsive designs for various platforms We use the media rule to include a block of CSS properties only if a particular condition is true You have to mention breakpoint s it defines where certain parts of the design will behave differently Media queries can be used to check many things such as Width and height of the viewportWidth and height of the deviceOrientation Landscape Portrait ResolutionYou can also use media queries to specify that specific styles are only for printed documents or for screen readers media type print screen or speech Media queries can also be used to change the layout of a page depending on the orientation of the browser Structure Demo Meaning of and only amp not And For using two or more media query breakpoints or media types Only For using media query on an Older version of browsers Not For inverting the meaning of an entire media query You can use external CSS for different media to keep CSS file s more clean and organized Typical Device BreakpointsThere are tons of screens and devices of different sizes so it is tough to create an exact breakpoint for each device To keep things simple you could target five groups Browser SupportThe table data define the first version of the browser support the Media Query |
2021-12-21 15:20:29 |
海外TECH |
DEV Community |
TIL: Croc - Securely transfer files via CLI |
https://dev.to/ancs21/til-croc-securely-transfer-files-via-cli-1ihm
|
TIL Croc Securely transfer files via CLI Introductioncroc is a tool that allows any two computers to simply and securely transfer files and folders InstallmacOSbrew install crocUbuntucurl bashWindowscoop install croc UsageSend file or foldercroc send file s or folder Receive the filecroc code from output More feature please visit to |
2021-12-21 15:09:31 |
Apple |
AppleInsider - Frontpage News |
Suppliers start shipping parts for 27-inch iMac with mini LED |
https://appleinsider.com/articles/21/12/21/suppliers-start-shipping-parts-for-27-inch-imac-with-mini-led?utm_medium=rss
|
Suppliers start shipping parts for inch iMac with mini LEDAn updated version of the inch iMac with Apple Silicon and a mini LED display is allegedly getting closer to release with suppliers said to be preparing small shipments of parts for the model Apple is rumored to be working on a larger version of its inch iMac one that would include an M class chip as part of the company s move away from Intel over to Apple Silicon In a Tuesday report it appears that Apple is getting closer to making it a reality According to a paywalled DigiTimes article clipped by Display Supply Chain Consultants CEO Ross Young suppliers are said to start shipments for a inch iMac Read more |
2021-12-21 15:58:36 |
海外TECH |
Engadget |
Researcher hacked an at-home COVID-19 test to give bogus results |
https://www.engadget.com/ellume-covid-19-test-bluetooth-hack-153933652.html?src=rss
|
Researcher hacked an at home COVID test to give bogus resultsAt home COVID tests might not be as trustworthy as you d hope ーnot in the hands of a committed hacker at least As The Vergenotes F Secure researcher Ken Gannon discovered a since patched security flaw in Ellume s Bluetooth connected nasal swab test that let him change the reported results The vulnerability was complicated but still disconcerting Gannon used a rooted Android device to inspect the Bluetooth traffic Ellume s lateral flow tester was sending to the company s mobile app The researcher pinpointed the traffic used to indicate test results and wrote scripts to change the outcome F Secure Marketing Manager Alexandra Rinehimer even managed to fool Azova a company issuing certificates for US entry tests when it supervised her test Ellume has made it harder to study and modify the data and it s not clear iPhone or iPad users could replicate the same feat The company is also building a portal to help officials verify at home tests and has determined that all previous tests were authentic Even so the findings raise concerns about people using other flaws including for other tests to falsify their COVID results Someone with enough know how could flip results negative to re enter the US or a particular workplace while infected Although the effort currently involved makes that fraud unlikely on a large scale it wouldn t take many bogus results to lead to outbreaks |
2021-12-21 15:39:33 |
海外TECH |
Network World |
BrandPost: Security That Goes from Anywhere to Anywhere Else |
https://www.networkworld.com/article/3645451/security-that-goes-from-anywhere-to-anywhere-else.html#tk.rss_all
|
BrandPost Security That Goes from Anywhere to Anywhere Else In networking and security there has been a tendency to equate the term working from anywhere with working from home partly because the need for remote access went mainstream when the pandemic suddenly caused many employees to work from home offices But the two terms are not the same Working from anywhere truly means anywhere with security that s consistent whether someone is working from a data center home office airport hotel room or other remote location Secure access to applications and other resources must be available all the time no matter where someone may be physically located The security policies and solutions need to follow users and data from anywhere to anywhere else Although some organizations were on track to implement work from anywhere strategies in the next few years to meet employee demand the pandemic accelerated the timeline To read this article in full please click here |
2021-12-21 15:30:00 |
海外TECH |
Network World |
Iron Mountain acquires ITRenew in sustainability move |
https://www.networkworld.com/article/3645490/iron-mountain-acquires-itrenew-in-sustainability-move.html#tk.rss_all
|
Iron Mountain acquires ITRenew in sustainability move Iron Mountain has been around for years and it s well known for providing storage and information management services that protect critical business assets and highly sensitive data But it s probably is not the first name that comes to mind when you think of IT hardware That s not for lack of trying Since Iron Mountain has invested more than billion in building and buying data centers It has a total of around the world and those data centers are powered by renewable energy Now it s making inroads into the broader data center supply chain with the acquisition of ITRenew which specializes in IT asset disposal With ITRenew Iron Mountain sees opportunities to enhance the value of its environmental social and governance offerings To read this article in full please click here |
2021-12-21 15:01:00 |
海外科学 |
NYT > Science |
Inside the Campaign to Save an Imperiled Cambodian Rainforest |
https://www.nytimes.com/2021/12/20/travel/cardamom-mountains-wildlife-cambodia.html
|
Inside the Campaign to Save an Imperiled Cambodian RainforestDeep in the Southern Cardamom Mountains former loggers and poachers have assumed new roles as protective rangers and ecotourism guides Can their efforts help preserve a vast stretch of wilderness |
2021-12-21 15:12:48 |
金融 |
金融庁ホームページ |
個人向け緊急小口資金等の特例貸付の実施に伴うお願いについて金融機関に事務連絡を発出しました。 |
https://www.fsa.go.jp/news/r3/ginkou/20211221.html
|
個人向け |
2021-12-21 17:00:00 |
金融 |
金融庁ホームページ |
新型コロナウイルス感染症生活困窮者自立支援金の支給に伴うお願いについて金融機関に事務連絡を発出しました。 |
https://www.fsa.go.jp/news/r3/ginkou/20211221-2.html
|
新型コロナウイルス |
2021-12-21 17:00:00 |
金融 |
金融庁ホームページ |
学生等の学びを継続するための緊急給付金の支給に伴うお願いについて金融機関に事務連絡を発出しました。 |
https://www.fsa.go.jp/news/r3/ginkou/20211221-3.html
|
金融機関 |
2021-12-21 17:00:00 |
金融 |
金融庁ホームページ |
「記述情報の開示の好事例集2021(サステナビリティ情報に関する開示)」について公表しました。 |
https://www.fsa.go.jp/news/r3/singi/20211221.html
|
開示 |
2021-12-21 17:00:00 |
金融 |
金融庁ホームページ |
職員を募集しています。(金融機関の監督事務に従事する職員(課長補佐クラス)【弁護士】) |
https://www.fsa.go.jp/common/recruit/r3/kantoku-09/kantoku-09.html
|
課長補佐 |
2021-12-21 17:00:00 |
金融 |
金融庁ホームページ |
金融審議会「資金決済ワーキング・グループ」(第5回)を開催します。 |
https://www.fsa.go.jp/news/r3/singi/20211221shikinkessai_wg5.html
|
金融審議会 |
2021-12-21 16:59:00 |
金融 |
ニュース - 保険市場TIMES |
あいおいニッセイ同和損保ら、営業型路線バスの」自動運転実証実験に参画 |
https://www.hokende.com/news/blog/entry/2021/12/22/010000
|
|
2021-12-22 01:00:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
ブラジルの貿易振興機関が日本のスタートアップ支援プログラムを開始 |
https://www.jetro.go.jp/biznews/2021/12/7d234ddfcd78d79b.html
|
貿易 |
2021-12-21 15:40:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
第3四半期のGDP成長率はマイナス1.5%、ロックダウンと暴動で低迷 |
https://www.jetro.go.jp/biznews/2021/12/c09e02e75dc7ca0a.html
|
暴動 |
2021-12-21 15:30:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
ホーチミン市とのラウンドテーブル、20周年記念として開催 |
https://www.jetro.go.jp/biznews/2021/12/1ce806f45aaa0e13.html
|
記念 |
2021-12-21 15:20:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
検品大手ケンツー、現地財閥ベキシムコと技術支援契約を締結 |
https://www.jetro.go.jp/biznews/2021/12/16ff9509a364d64c.html
|
財閥 |
2021-12-21 15:10:00 |
ニュース |
BBC News - Home |
Covid: Rishi Sunak announces £1bn fund for businesses |
https://www.bbc.co.uk/news/uk-59742884?at_medium=RSS&at_campaign=KARANGA
|
covid |
2021-12-21 15:28:18 |
ニュース |
BBC News - Home |
Hogmanay events cancelled as Covid rules tightened in Scotland |
https://www.bbc.co.uk/news/uk-scotland-scotland-politics-59745262?at_medium=RSS&at_campaign=KARANGA
|
football |
2021-12-21 15:06:06 |
ニュース |
BBC News - Home |
Hundreds of trains cancelled as Covid hits railways |
https://www.bbc.co.uk/news/business-59743461?at_medium=RSS&at_campaign=KARANGA
|
operators |
2021-12-21 15:20:13 |
ニュース |
BBC News - Home |
Omicron: More Covid rules needed in Wales, minister says |
https://www.bbc.co.uk/news/uk-wales-politics-59729129?at_medium=RSS&at_campaign=KARANGA
|
matches |
2021-12-21 15:19:12 |
ニュース |
BBC News - Home |
Harvey Parker: Police release CCTV images of missing student |
https://www.bbc.co.uk/news/uk-england-london-59740267?at_medium=RSS&at_campaign=KARANGA
|
charing |
2021-12-21 15:28:06 |
ニュース |
BBC News - Home |
Gibbons responsible for fall that left Tylicki paralysed, judge rules |
https://www.bbc.co.uk/sport/horse-racing/59746231?at_medium=RSS&at_campaign=KARANGA
|
Gibbons responsible for fall that left Tylicki paralysed judge rulesFormer jockey Graham Gibbons was responsible for the fall that left fellow jockey Freddy Tylicki paralysed from the waist down a judge has ruled |
2021-12-21 15:36:40 |
ニュース |
BBC News - Home |
Covid: What are the social distancing rules this Christmas? |
https://www.bbc.co.uk/news/uk-51506729?at_medium=RSS&at_campaign=KARANGA
|
christmas |
2021-12-21 15:19:15 |
ニュース |
BBC News - Home |
Omicron: What are the new Covid rules for the UK? |
https://www.bbc.co.uk/news/explainers-52530518?at_medium=RSS&at_campaign=KARANGA
|
omicron |
2021-12-21 15:02:04 |
北海道 |
北海道新聞 |
日本ハム新球場に温泉とサウナ、世界初 左翼席には5階建てタワー |
https://www.hokkaido-np.co.jp/article/625862/
|
北広島市 |
2021-12-22 00:17:11 |
北海道 |
北海道新聞 |
濃厚接触者14日間隔離 首相。変異株対策で表明 |
https://www.hokkaido-np.co.jp/article/625887/
|
記者会見 |
2021-12-22 00:15:19 |
北海道 |
北海道新聞 |
江差高看、保護者に不安の声 パワハラ問題で再発防止策 問題教員の籍残り刷新に疑問符 救済策なお示されず |
https://www.hokkaido-np.co.jp/article/625873/
|
高等看護学院 |
2021-12-22 00:13:12 |
北海道 |
北海道新聞 |
全日本スキー距離、藤ノ木がスプリント3連覇 女子は児玉制す |
https://www.hokkaido-np.co.jp/article/625797/
|
上川管内 |
2021-12-22 00:09:15 |
北海道 |
北海道新聞 |
17歳・葛西春が初表彰台 男子は渡部弘が優勝 ジャンプ名寄ピヤシリ大会 |
https://www.hokkaido-np.co.jp/article/625787/
|
北海道新聞社 |
2021-12-22 00:06:23 |
北海道 |
北海道新聞 |
前沢さんモスクワに到着 訓練センターでリハビリ |
https://www.hokkaido-np.co.jp/article/625895/
|
国際宇宙ステーション |
2021-12-22 00:03:00 |
コメント
コメントを投稿