python |
Pythonタグが付けられた新着投稿 - Qiita |
アメフトデータ活用 huaweiスマートウォッチから位置情報を抽出する |
https://qiita.com/KentaroTokami/items/96002901ee2d18fdad89
|
秒ごとに位置情報を取得できるデバイスもあるようなので現実活用を目指すにはそちらが必要そうです。 |
2021-04-27 00:38:44 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【Python × Excel】ブックやシートをまたいで複数列のコピペをする方法 |
https://qiita.com/djyokochan/items/154be2cf8e908c77eb28
|
ワークブックが複数ある場合は、上記コードのように変数名を変えて同じようにpxloadworkbookで読み込んでいきます。 |
2021-04-27 00:18:48 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
mglearn.plots.plot_nmf_facesで動作が止まってエラーかな?と思った件について |
https://qiita.com/Sicut_study/items/4ef27f07525c4b6c7203
|
datasetを取得しているのでしょうかなかなか動かなかったので焦りましたが無事動きました。 |
2021-04-27 00:15:23 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Anaconda環境構築で ll load failed: 指定されたモジュールが見つかりません。(import numpyas np file....) のエラーを解決した件について |
https://qiita.com/Sicut_study/items/9c6d2791321d1a45998f
|
Anaconda環境構築でllloadfailed指定されたモジュールが見つかりません。 |
2021-04-27 00:11:20 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pythonでモンテカルロ法によりBitcoin価格をシミュレーションする |
https://qiita.com/tkodaii/items/62698b553fbd44cdea9e
|
TrainとPredictが存在する区間がValidationですが、この区間は近い値になっているものの、Testでは大きく違っています。 |
2021-04-27 00:04:45 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Pythonでヒューリスティック型競プロに入門してみました |
https://qiita.com/mui_nyan/items/141082158ee85bf1b842
|
trymaxscoreanssolvesysxset結果が返ってきた場合はこれを出力するprintjoinansexceptTLEError途中で打ち切りになった場合は、その時点の暫定の最適解を出力するprintjoinzansこれで、時間ギリギリまでいろんな経路を探索して、暫定で最も良い経路を出力することができるようになりました。 |
2021-04-27 00:02:59 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
MQL4でOrderModifyできるようになりたいです。 |
https://teratail.com/questions/335330?rss=all
|
MQL で OrderModify できる よう に なり たい です 。 |
2021-04-27 00:56:02 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
div floatパズルの組み立て方がわからない |
https://teratail.com/questions/335329?rss=all
|
divfloatパズルの組み立て方がわからないこちらの→DIVパズルを組み立てており、答えは下つのコードになるそうなのですが、答えを見てもイマイチ仕組みが理解できません。 |
2021-04-27 00:32:17 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Q&Aを実装したい(Jquery) |
https://teratail.com/questions/335328?rss=all
|
どうしてなのかわからないので、教えて頂けるとありがたいです。 |
2021-04-27 00:16:59 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
[SWIFT]画像データが入っているUITextViewをRealmに保存する処理と出す処理 |
https://teratail.com/questions/335327?rss=all
|
SWIFT画像データが入っているUITextViewをRealmに保存する処理と出す処理現在メモアプリを開発しているところでして、画像をUITextViewに貼り付ける処理まではできたのですが、そのデータを保存するところで詰まってしまいました。 |
2021-04-27 00:07:27 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
サポートベクターマシンにおいてcsvの特徴をどのように割り当てればよいかわかりません |
https://teratail.com/questions/335326?rss=all
|
サポートベクターマシンにおいてcsvの特徴をどのように割り当てればよいかわかりませんこちらのサイトにある以下のコードにおいて、エクセルのデータをどのように対応させればよいかわからなく困っています。 |
2021-04-27 00:06:06 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
環境変数簡単に管理することができるgem dotenv-rails まとめ |
https://qiita.com/tech_hack_Rich/items/c76d27b3e78d71570420
|
ターミナルにてアプリケーションのディレクトリでtouchenvと記述して作成する。 |
2021-04-27 00:53:21 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
Dockerとvagrantを一緒に使ってVagrant upができなくなった件について |
https://qiita.com/Sicut_study/items/dd2e2be2b648ef6274d2
|
二つ利用したい場合は、Vagrantの上にDockerを載せて二つを利用するのが良いかもしれません。 |
2021-04-27 00:20:14 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
環境変数簡単に管理することができるgem dotenv-rails まとめ |
https://qiita.com/tech_hack_Rich/items/c76d27b3e78d71570420
|
ターミナルにてアプリケーションのディレクトリでtouchenvと記述して作成する。 |
2021-04-27 00:53:21 |
海外TECH |
DEV Community |
Beautiful Chase RGB Glow Effect CSS |
https://dev.to/mysticza/beautiful-chase-rgb-glow-effect-css-1h2p
|
Beautiful Chase RGB Glow Effect CSSAs an extension to Nikhil s Amazing button hover with CSS Nikhil Bobade・Apr ・ min read html css webdev beginners I have created a full ° chase effect using an altered version of the original design With text effect Without text effect better visual accessibility Please be sure to check out Nikhil s original post Comments welcome |
2021-04-26 15:36:34 |
海外TECH |
DEV Community |
Best Tool To Design Graphics Instantly |
https://dev.to/goonlinetools/best-tool-to-design-graphics-instantly-2g3c
|
Best Tool To Design Graphics InstantlyHi Today in this post I will introduce the best graphic designing tools for beginners When I have started designing for Social Media amp Website experts suggest me tools like Coral Photoshop etcBut my suggestion for people who want to start graphic designing amp learn everything easily without some expertise then starts Graphic Designing using these online tools CanvaCanva is a graphic design platform used to create social media graphics presentations posters documents videos and other visual content The app includes templates for users to use The platform is free to use and offers paid subscriptions like Canva Pro and Canva for Enterprise for additional functionality Canva offers days of free pro access for new users If you haven t used canva before then click here to try VismeVisme is an all in one visual content platform that allows everyone including non designers to create beautiful presentations infographics reports and social media images in minutes CrelloCrello is a video and graphic design tool for everyone it will help you create visuals for social media in just a few minutes be it a post video Story or an ad design a business card or a flyer create marketing collateral for print social and blogs as well as create long form content like presentations and more I recommend Canva because in terms of features and simplicity Which tool you are using now for graphics designing Let me know in comment |
2021-04-26 15:33:21 |
海外TECH |
DEV Community |
How Strapi triggers Nuxt static site generation for S3 bucket |
https://dev.to/jacobliu/how-strapi-triggers-nuxt-static-site-generation-for-s3-bucket-1fg6
|
How Strapi triggers Nuxt static site generation for S bucketI have been working on ecommerce website we just suppose to build the website as operational I choose Strapi and Nuxt Algolia for search engineStrapi is headless CMS open source provides the large scale of APIs without hard coding Nuxt is SSR vue js based framework useful for pre rendered pages for ecommerce Algolia is client side search engine very impressive tool to make high traffic in business The infrastructure I useSource repositories on GithubStrapi on AWS EC instanceNuxt on AWS S bucket The things I needThe static website should be generated again when The developer commit the code updates The author upload own product How did I tweak the problemsI solved all problems with GitHub Actions it is the great tool for CI CD gt SSG The developer commit the code updates It involves several steps Specify when the github action should be triggerConfigure AWS CredentialsCreate ENV filesCache PackagesInstall PackagesGenerate Static PagesDeploy website on S bucketCloudfront Invalidation gt SSG The author upload own product This is the tricky I was stuck on this for couple of days There should be something to trigger S updates from Strapi I had researched the solutions and found that Netlify is the best solution because it provides build hook for CI CD However I wanted to take the challenge and decided not to use Netlify How can I achieve the same behavior without Netlify keep S bucket Make the custom node app for webhookAfter a while I noticed that Github has REST APIs to control resources I can dispatches APIs to certain repository ORG NAME REPO NAME dispatchesThis is the key In this node app we just set headers to call github APIs I named the event as ssg const postData Buffer from JSON stringify event type ssg headers Authorization token Accept application vnd github everest preview json Content Type application json Content Length Buffer byteLength postData User Agent nodejs request Finally upload nodejs app on EC instance Here is the completed code Configure CI CD scriptConfigure script to listen dispatch events from node app Github action listens the nodejs app request and regenerate the static website deploy updates on S name CI CDon repository dispatch types ssg push branches main pull request branches main Register webhook in Strapi dashboardRegister webhook on EC in Strapi dashboardThat s all long journey Thanks for joining me |
2021-04-26 15:10:56 |
海外TECH |
DEV Community |
Soft UI Dashboard - Free Jinja Template |
https://dev.to/sm0ke/soft-ui-dashboard-free-jinja-template-3b7k
|
Soft UI Dashboard Free Jinja TemplateHello Coders This article presents an open source Jinja Template crafted on top of a modern Bootstrap design Soft UI Dashboard The project might help beginners to code simple presentation websites on top of the existing codebase OR migrate the production ready UI to a legacy Python based project compatible with Jinja Template Engine Flask Django Bottle of FastAPI Thanks for reading Soft UI Dashboard Jinja LIVE DemoSoft UI Dashboard Jinja Source Code MIT License More Jinja Templates a curated indexThe design is the latest and most innovative crafted by the Creative Tim agency Made of hundred of elements designed blocks and fully coded pages Soft UI Dashboard is ready to help you create stunning websites and webapps Fully Coded Elements Soft UI Dashboard is built with over frontend individual elements like buttons inputs navbars navtabs cards or alerts giving you the freedom of choosing and combining All components can take variations in colour that you can easily modify using SASS files and classes Example Pages If you want to get inspiration or just show something directly to your clients you can jump start your development with our pre built example pages You will be able to quickly set up the basic structure for your web project Soft UI Dashboard UI TablesSoft UI Dashboard User Profile PageTo compile the project locally Python and GIT should be installed and accessible via the terminal Once we have this minimum tool chain we need to follow a simple setup as presented in the README file saved on Github Step Clone the sources Clone the sources git clone cd jinja soft ui dashboardStep Install Dependencies virtualenv env source env bin activate Install requirements pip install r requirements txtStep Start the App Set the FLASK APP environment variable export FLASK ENV development flask runIf all goes well we should see the Soft UI Dashboard running in the browser Thanks for reading For more resources please access More starters styled with Soft UI Design SystemMore Free Admin Dashboards provided by AppSeed |
2021-04-26 15:03:24 |
海外TECH |
DEV Community |
5 Ideas to set your portfolio apart |
https://dev.to/paulasantamaria/5-ideas-to-set-your-portfolio-apart-170c
|
Ideas to set your portfolio apartTired of building TO DO lists and e commerce sites One of these Chrome extension ideas could help you set your portfolio apart All you need to know to build your first Chrome Extension is the basics of HTML JavaScript and CSS These are a few fun ideas I came up with that can be created using only those technologies If you re having doubts check out my video Creating a simple Chrome Extension in minutes Dark mode for your favorite websiteDo you regularly use a website that you love but doesn t have dark mode With Chrome extensions you can create your own CSS stylesheet that overrides some styles in a particular website This allows you to apply dark mode styles over the website when your extension is enabled To achieve that you should use Content Scripts Tip Set run at document end in the content scripts object in the manifest json so your styles override the site s For this project you ll need to learn about Content Scripts Weather AppYou could create an extension that shows the current weather for a particular location on your browser You ll need to call an API to retrieve the weather info OpenWeatherMap API is a good option They have a free plan Get the latest weather updates every few minutes in the background using an alarm from the chrome alarms API handled by a Service Worker Store the results using the chrome storage API and display them in your extension s Action Popup To call the API you can use fetch and you ll need to add something like the following to your manifest json host permissions For this project you ll need to learn about chrome storage APIchrome alarms APIchrome action APIService Workers Show today s calendar You could get easy access to your Calendar events for the day showing them in your Browser through an Extension As with the previous idea you ll need to get the data from an external API Google Calendar s or your favorite calendar API every few minutes in the background using an alarm from the chrome alarms API and a Service Worker You ll also need to store the results of the API request using chrome storage Remember that Service Workers can be unloaded when the extension goes idle so you can t just store the calendar events in a variable declared in your Service Worker Display the events with their title time guests etc in your extension s Action Popup You can also use chrome notifications API to show a message to the user a few minutes before the event For this project you ll need to learn about chrome storage APIchrome alarms APIchrome action APIchrome notifications APIService Workers Daily coffeeShow the user a random coffee recipe to try every day In this case you don t need to call an external API at least at first You could just store a list of your favorite recipes in a JSON array in your extension and use a Math random to get a random item from the array every day Display the coffee recipe with a nice picture in the Action Popup To make it more robust you could use chrome storage to store the last coffee recipe shown and the date to make sure of two things A single coffee recipe is shown every day We don t get the same recipe two days in a row For this project you ll need to learn about chrome action APIchrome storage API optional E Commerce wishlistAllow users to add products from Amazon eBay etc to their wishlist When a user finds a product they re interested in they add it to their wishlist using a keyboard shortcut or from the Action popup The Action popup also shows the previously added items and allows the user to remove them The user should also be able to navigate to each product page in case they want to buy it For this you should use chrome tabs create You ll need to store links name and price for each product using chrome storage API For this project you ll need to learn about chrome action APIchrome storage API chrome tabs API Particularly the create methodI hope this post was helpful and inspires you to work on your next project If you re interested in learning about Chrome extensions check out my series about it where I create a simple chrome extension and gradually improve it At the same time I explore most of the chrome APIs and concepts required to build the ideas mentioned in this post You can also check out my video Creating a simple Chrome Extension in minutes to get a grasp of the process Icons by Smashicons amp Freepik on Flaticon com |
2021-04-26 15:01:17 |
Apple |
AppleInsider - Frontpage News |
Blowout iPad Pro sale knocks up to $250 off, prices from $679 |
https://appleinsider.com/articles/21/04/26/blowout-ipad-pro-sale-knocks-up-to-250-off-prices-from-679?utm_medium=rss
|
Blowout iPad Pro sale knocks up to off prices from With the M iPad Pro available for pre order later this week Apple resellers are making room for new inventory by blowing out iPad Pro models Save up to instantly with prices starting at just Month end iPad Pro saleThe closeout iPad Pro deals are courtesy of Apple resellers Expercom Adorama and Amazon with markdowns of up to off models Read more |
2021-04-26 15:29:16 |
Cisco |
Cisco Blog |
The positive impact of Cisco solutions |
https://blogs.cisco.com/csr/a-closer-look-at-ciscos-it-solutions
|
The positive impact of Cisco solutionsFind out how Cisco s technology is used to make a positive impact Country digital acceleration future of work and connectivity in critical settings are just a few examples |
2021-04-26 15:00:58 |
海外TECH |
CodeProject Latest Articles |
Unexpected Side Effect from 'async' |
https://www.codeproject.com/Tips/5300785/Unexpected-Side-Effect-from-async
|
effect |
2021-04-26 15:45:00 |
海外TECH |
CodeProject Latest Articles |
C# 9 Record: Compiler created ToString() code can lead to stack overflow and worse |
https://www.codeproject.com/Articles/5300961/Csharp-9-Record-Compiler-created-ToString-code-can
|
overflow |
2021-04-26 15:32:00 |
海外科学 |
NYT > Science |
A New Bird Flu Jumps to Humans. So Far, It's Not a Problem |
https://www.nytimes.com/2021/04/21/science/bird-flu-pandemic.html
|
viruses |
2021-04-26 15:54:08 |
金融 |
金融庁ホームページ |
「貸金業法施行規則の一部を改正する内閣府令(案)」について公表しました。 |
https://www.fsa.go.jp/news/r2/kashikin/20210426/20210426.html
|
内閣府令 |
2021-04-26 17:00:00 |
金融 |
金融庁ホームページ |
金融庁・金融情報システムセンター(FISC)の意見交換会について公表しました。 |
https://www.fsa.go.jp/news/r2/20210414/20210414.html
|
意見交換 |
2021-04-26 16:00:00 |
金融 |
金融庁ホームページ |
「新型コロナウイルス感染症関連情報」特設ページを更新しました。 |
https://www.fsa.go.jp/ordinary/coronavirus202001/press.html
|
新型コロナウイルス |
2021-04-26 15:36:00 |
金融 |
金融庁ホームページ |
新型コロナウイルス感染症に関連する有価証券報告書等の提出期限について公表しました。 |
https://www.fsa.go.jp/news/r2/sonota/20210426.html
|
新型コロナウイルス |
2021-04-26 15:35:00 |
海外ニュース |
Japan Times latest articles |
They know the drill: Dentists tapped to speed up Japan’s slow vaccine rollout |
https://www.japantimes.co.jp/news/2021/04/26/national/japan-dentists-vaccinations/
|
They know the drill Dentists tapped to speed up Japan s slow vaccine rolloutTheir involvement will be contingent upon municipalities not being able to secure enough doctors and nurses to go ahead with mass vaccinations at public facilities |
2021-04-27 01:25:49 |
海外ニュース |
Japan Times latest articles |
Shohei Ohtani helps lift Angels to win with eighth-inning home run |
https://www.japantimes.co.jp/sports/2021/04/26/baseball/mlb/shohei-ohtani/
|
Shohei Ohtani helps lift Angels to win with eighth inning home runShohei Ohtani delivered a clutch eighth inning home run on Sunday to spur the Los Angeles Angels to a win over the Houston Astros The two way |
2021-04-27 01:10:02 |
海外ニュース |
Japan Times latest articles |
Terunofuji returns to ozeki for Summer Basho |
https://www.japantimes.co.jp/sports/2021/04/26/sumo/terunofuji-returns-to-ozeki/
|
march |
2021-04-27 00:26:19 |
海外ニュース |
Japan Times latest articles |
The myth of America’s Anglo-Saxon political traditions |
https://www.japantimes.co.jp/opinion/2021/04/26/commentary/world-commentary/u-s-england-elections-ango-saxons-history-constitution/
|
america |
2021-04-27 02:00:40 |
海外ニュース |
Japan Times latest articles |
The pandemic will be more deadly this year — particularly for India |
https://www.japantimes.co.jp/opinion/2021/04/26/commentary/world-commentary/india-narendra-modi-covid-19-health-medicine-vaccinations/
|
The pandemic will be more deadly this year ーparticularly for IndiaThe more people infected in emerging countries the more opportunities COVID will have to develop into fresh strains and prolong this death and misery |
2021-04-27 02:00:20 |
海外ニュース |
Japan Times latest articles |
Five key lessons for energy transition in the age of COVID-19 |
https://www.japantimes.co.jp/opinion/2021/04/26/commentary/japan-commentary/climate-change-environment-emissions-carbon/
|
Five key lessons for energy transition in the age of COVID The World Economic Forum s Energy Transition Index indicates that only of the countries analyzed maintained a steady upward trajectory toward energy transition |
2021-04-27 02:00:04 |
ニュース |
BBC News - Home |
Boris Johnson's flat: Top official to review funding of revamp |
https://www.bbc.co.uk/news/uk-politics-56883078
|
elections |
2021-04-26 15:23:03 |
ニュース |
BBC News - Home |
Coronavirus: EU sues AstraZeneca over vaccine delivery delays |
https://www.bbc.co.uk/news/world-europe-56891326
|
action |
2021-04-26 15:46:19 |
ニュース |
BBC News - Home |
Boris Johnson said bodies 'could pile high' during lockdown discussion |
https://www.bbc.co.uk/news/uk-politics-56890714
|
bodies |
2021-04-26 15:14:49 |
ニュース |
BBC News - Home |
Crawley College: Two hurt as shots reported near college |
https://www.bbc.co.uk/news/uk-england-sussex-56892589
|
sussex |
2021-04-26 15:46:07 |
ニュース |
BBC News - Home |
Ex-Serco bosses cleared after fraud case collapses |
https://www.bbc.co.uk/news/uk-england-56890662
|
drops |
2021-04-26 15:55:34 |
ニュース |
BBC News - Home |
England's record appearance holder Williams to retire at end of season |
https://www.bbc.co.uk/sport/football/56893890
|
williams |
2021-04-26 15:49:50 |
ニュース |
BBC News - Home |
Covid: What is the rule of six and what are the social distancing rules? |
https://www.bbc.co.uk/news/uk-51506729
|
covid |
2021-04-26 15:23:44 |
ニュース |
BBC News - Home |
Lockdown rules: What are the restrictions in your area? |
https://www.bbc.co.uk/news/uk-54373904
|
coronavirus |
2021-04-26 15:30:14 |
北海道 |
北海道新聞 |
太平洋セメント工場爆発か 埼玉県日高市 |
https://www.hokkaido-np.co.jp/article/537789/
|
埼玉県日高市 |
2021-04-27 00:15:00 |
北海道 |
北海道新聞 |
非現住建造物等放火未遂で男逮捕 旭川東署 |
https://www.hokkaido-np.co.jp/article/537788/
|
逮捕 |
2021-04-27 00:14:00 |
コメント
コメントを投稿