python |
Pythonタグが付けられた新着投稿 - Qiita |
ビットコインの日足チャートをPythonとPlotlyでプロットしてみた |
https://qiita.com/tafi_tarutaru2/items/4abb12f009c5b3ae831f
|
移動平均線のプロットついでに移動平均線のプロットもやってみたいと思います。 |
2022-02-03 23:00:13 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Seleniumで複数のウィンドウハンドルを扱うときに現れるout of indexエラーを回避する方法 |
https://qiita.com/tech-life-hacking/items/b3b90b76af2d767513bd
|
|
2022-02-03 22:37:16 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
IBM Cloud Code EngineでGithubのプライベートリポジトリからソースを取得するよ |
https://qiita.com/saboten10/items/a945060b56578be1a18b
|
idrsaidrsapubGithubへの公開鍵の登録方法これはGithubのヘルプにも記載されている手順ですが、Githubのアカウントから設定メニューを開いてSSH公開鍵をペーストします。 |
2022-02-03 22:06:49 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
【Ruby】条件演算子 |
https://qiita.com/itosyo4126/items/bbd38837d14644d61625
|
numの場合一の位桁の整数をで割った際の余りが一の位になります。 |
2022-02-03 22:19:52 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【サーバーレスでGraphQL】AWS AppSyncのSchemaからcodegenする |
https://qiita.com/cohey0727/items/efa5e2f2710573eb33ad
|
ということでこの記事ではAppSyncで作ったAPIから出力されたスキーマを用いてフロントエンドで利用するコードを生成しようと思います。 |
2022-02-03 22:46:38 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWSとAzureの予約アドレスについて |
https://qiita.com/morimaruP/items/8103c70dad13b0a5a6ca
|
AWSとAzureの予約アドレスについて予約アドレスとはAWSやAzure側で利用する為あらかじめ確保されるプライベートアドレスです。 |
2022-02-03 22:17:30 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
AWSとAzureの予約アドレスについて |
https://qiita.com/morimaruP/items/8103c70dad13b0a5a6ca
|
AWSとAzureの予約アドレスについて予約アドレスとはAWSやAzure側で利用する為あらかじめ確保されるプライベートアドレスです。 |
2022-02-03 22:17:30 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Access denied for user 'root'@'localhost'と出た場合の対処法 |
https://qiita.com/Bjp8kHYYPFq8MrI/items/af638ca04c3eca2d785f
|
Accessdeniedforuserxrootxxlocalhostxと出た場合の対処法railssでブラウザを開いたときにエラーが発生。 |
2022-02-03 22:49:44 |
海外TECH |
MakeUseOf |
What Is TIDAL MQA & Why Is It Controversial? |
https://www.makeuseof.com/what-is-tidal-mqa-why-is-it-controversial/
|
audio |
2022-02-03 14:00:12 |
海外TECH |
MakeUseOf |
The 8 Best Ways Digital Marketers Can Use Google Workspace |
https://www.makeuseof.com/best-ways-digital-marketers-use-google-workspace/
|
The Best Ways Digital Marketers Can Use Google WorkspaceGoogle Workspace is an all in one communication collaboration and productivity tool for businesses Here s how you can use it as a digital marketer |
2022-02-03 13:30:12 |
海外TECH |
MakeUseOf |
What NordVPN and SurfShark Merging Means for Users |
https://www.makeuseof.com/nordvpn-surfshark-vpns-merge/
|
cybersecurity |
2022-02-03 13:15:22 |
海外TECH |
MakeUseOf |
How to Find the Exact Date You Created Your Facebook Account |
https://www.makeuseof.com/find-facebook-account-creation-date/
|
facebook |
2022-02-03 13:10:12 |
海外TECH |
DEV Community |
🎬Make a Joke Generator | HTML, CSS & javaScript🙌 |
https://dev.to/robsonmuniz16/make-a-joke-generator-html-css-javascript-1543
|
Make a Joke Generator HTML CSS amp javaScriptMake a Make a Joke Generator HTML CSS amp javaScript step by step from SCRATCH… Source Code HTML lt DOCTYPE html gt lt html lang en gt lt head gt lt meta charset UTF gt lt meta http equiv X UA Compatible content IE edge gt lt meta name viewport content width device width initial scale gt lt title gt Joke Generator lt title gt lt link rel stylesheet href style css gt lt link rel stylesheet href gt lt head gt lt body gt lt div class main container gt lt h gt Try Not To Laugh Challenge lt h gt lt div class joke id ₢ gt Here goes the joke lt div gt lt button class btn id ₢ gt Get Another Joke lt i class fas fa grin squint tears gt lt i gt lt button gt lt div gt lt script src app js gt lt script gt lt body gt lt html gt CSS import url wght amp display swap box sizing border box body background url img bg jpg center center cover no repeat height vh display flex justify content center align items center margin main container background color fff border radius px box shadow px px rgba px px rgba padding px px max width width px text align center h margin letter spacing px opacity joke font size px color d line height px margin px auto max width px btn background color fe border border radius px box shadow px px rgba px px rgba color fff cursor pointer font size px padding px px btn active transform scale fas margin left px |
2022-02-03 13:40:21 |
海外TECH |
DEV Community |
NATS with Kubernetes |
https://dev.to/karanpratapsingh/nats-with-kubernetes-3bmc
|
NATS with KubernetesIn the last article we got started with NATS by trying it locally but the question of running it in production still remains So in this article we ll setup NATS with Kubernetes Note All the code from this article will be available in this repository PrerequisitesTo try out our setup locally we ll use Minikube and Kubectl So let s start our local kubernetes cluster minikube startminikube v on Darwin Using the virtualbox driver based on existing profileStarting control plane node minikube in cluster minikubeUpdating the running virtualbox minikube VM Preparing Kubernetes v on Docker kubelet housekeeping interval mVerifying Kubernetes components Using image gcr io ks minikube storage provisioner vEnabled addons storage provisioner default storageclassDone kubectl is now configured to use minikube cluster and default namespace by default Minimal setupFor our minimal setup we can use a simple deployment and service This can also be used during development or to try NATS with the minimal number of components DeploymentLet s declare our deployement in deployment ymlapiVersion apps vkind Deploymentmetadata name natsspec replicas strategy selector matchLabels app nats template metadata labels app nats spec containers name nats image nats alpine ports containerPort ServiceLet s declare a service in a service yml file and expose our deployment apiVersion vkind Servicemetadata name natsspec selector app nats ports port Finally let s apply our configurations with kubectl kubectl apply f deployment yml kubectl apply f service yml kubectl get deploymentsNAME READY UP TO DATE AVAILABLE AGEnats s kubectl get serviceNAME READY UP TO DATE AVAILABLE AGEnats sCheck our logs kubectl logs service nats INF Starting nats server INF Version INF Git not set INF Name NDNJHKFIBVYIAEVFTDICNBFYQUJGRMIIVMSSEHAPLSJZM INF ID NDNJHKFIBVYIAEVFTDICNBFYQUJGRMIIVMSSEHAPLSJZM INF Using configuration file etc nats nats server conf INF Starting http monitor on INF Listening for client connections on INF Server is ready INF Cluster name is my cluster INF Listening for route connections on CleanupLet s cleanup our resources kubectl delete f service yml f deployment ymlservice nats deleteddeployment apps nats deleted High availability setupIn order to have higher availability we can setup NATS servers to run in a clustering mode Here we will setup a node NATS cluster Note More than one node should be available in your Kubernetes cluster in order for this to work So in case of deploying onto minikube please try the single node installer insteadConfigmapapiVersion vkind ConfigMapmetadata name nats configdata nats conf pid file var run nats nats pid http cluster port routes nats nats nats default svc nats nats nats default svc nats nats nats default svc cluster advertise CLUSTER ADVERTISE connect retries leafnodes port ServiceapiVersion vkind Servicemetadata name nats labels app natsspec selector app nats clusterIP None ports name client port name cluster port name monitor port name metrics port name leafnodes port name gateways port Let s start our resources kubectl apply f configmap yml f service yml f statefulset yamlconfigmap nats config createdservice nats createdstatefulset apps nats createdCheck our logs kubectl logs statefulsets nats INF Starting nats server INF Version INF Git not set INF Name NARIIEZKDOHCLKHVZQEDYLMFVLYOVNDJHOIXRCIOJMM INF ID NARIIEZKDOHCLKHVZQEDYLMFVLYOVNDJHOIXRCIOJMM INF Using configuration file etc nats config nats conf INF Starting http monitor on INF Listening for leafnode connections on INF Listening for client connections on INF Server is ready INF Cluster name is idhpwtcqKRVLniU WRN Cluster name was dynamically generated consider setting one INF Listening for route connections on CleanupLet s cleanup kubectl apply f service ymlconfigmap nats config deletedservice nats deletedstatefulset apps nats deleted HelmGreat we re done with our HA setup But what if we want to deploy another server At some point writing and maintaining multiple configuration files becomes a chore So let s see how we can make use of Helm which helps us define install and upgrade even the most complex Kubernetes applications Adding a helm repoFirst we ll start by adding the official NATS helm repo helm repo add nats nats has been added to your repositories helm repo updateHang tight while we grab the latest from your chart repositories Successfully got an update from the nats chart repositoryUpdate Complete ⎈Happy Helming ⎈ helm repo listNAME URLnats Now that we ve added our helm repo let s give it a try by simply installing our helm chart helm install my app nats natsNAME my appLAST DEPLOYED Wed Feb NAMESPACE defaultSTATUS deployedREVISION NOTES You can find more information about running NATS on Kubernetesin the NATS documentation website NATS Box has been deployed into your cluster you cannow use the NATS tools within the container as follows kubectl exec n default it deployment my app box bin sh l nats box nats sub test amp nats box nats pub test hi nats box nc my nats Thanks for using NATS Awesome Helm just deployed a production ready NATS server with just one command But what resources did it create kubectl get allNAME READY STATUS RESTARTS AGEpod my app Running mspod my app box cdfcd vfgj Running msNAME TYPE CLUSTER IP EXTERNAL IP PORT S AGEservice kubernetes ClusterIP lt none gt TCP hservice my app ClusterIP None lt none gt TCP TCP TCP TCP TCP TCP msNAME READY UP TO DATE AVAILABLE AGEdeployment apps my app box msNAME DESIRED CURRENT READY AGEreplicaset apps my app box cdfcd msNAME READY AGEstatefulset apps my app msAs we can see it created all the required resources like deployments services stateful sets config maps etc for running a highly available NATS server in our Kubernetes cluster Now we should be able to fit this to our needs and upgrade our application by configuring things like limits logging TLS clustering leafnodes etc much easily CleanupLet s do a quick cleanup so we don t leave it running on our machine helm uninstall my natsrelease my nats uninstalledNote If you want more of a managed solution for your NATS server make sure to look into NGS which is an easy to use secure by default global communications system built on NATS io available in all the major cloud providers ConclusionFor more info make sure to visit official documentation at nats io I hope this was helpful |
2022-02-03 13:08:55 |
Apple |
AppleInsider - Frontpage News |
Apple TV+ picks up four Bafta film nominations |
https://appleinsider.com/articles/22/02/03/apple-tv-picks-up-four-bafta-film-nominations?utm_medium=rss
|
Apple TV picks up four Bafta film nominationsThe UK s equivalent of the Oscars has announced four nominations for Apple TV movies including three for CODA Doubling its film nominations Apple TV is now competing in four Bafta categories ranging from writing to casting Bafta has recognized two Apple movies with CODA gaining nominations in the major categories Read more |
2022-02-03 13:33:36 |
Apple |
AppleInsider - Frontpage News |
Apple TV+ announces 'Dear Edward' drama from creator of 'Friday Night Lights' |
https://appleinsider.com/articles/22/02/02/apple-tv-announces-dear-edward-drama-from-creator-of-friday-night-lights?utm_medium=rss
|
Apple TV announces x Dear Edward x drama from creator of x Friday Night Lights x Friday Night Lights creator Jason Katims and star Connie Britton are producing a ten part series for Apple TV based on Ann Napolitano s Dear Edward novel Connie Britton Jason KatimsNapolitano is acting as co executive producer with Jason Katims who is writing the script Apple reports that Dear Edward is the story of Edward Alder a year old boy who survives a devastating commercial plane crash that kills every other passenger including his family Read more |
2022-02-03 13:07:32 |
海外TECH |
Engadget |
Apple's AirPods Pro are on sale for $180 today only |
https://www.engadget.com/apples-airpods-pro-are-on-sale-for-180-today-only-134009421.html?src=rss
|
Apple x s AirPods Pro are on sale for today onlyThe AirPods Pro may not have received the major update that the standard earbuds did last year but they re still the model with the best sound quality Plus they now come with a MagSafe charging case which is a great perk Today only you can grab a pair of AirPods Pro for or percent off their normal price While not the all time low we saw last Black Friday it s still a good deal for this time of year ーand lower than Amazon s current going rate of Buy AirPods Pro at Woot You probably know the deal about AirPods Pro by now but in case you need a refresher these earbuds have a more comfortable design thanks to their interchangeable tips and the sound quality is much better than other Apple earbuds They have a built in amplifier and support Adaptive EQ which automatically tunes frequencies to each user s ear Their active noise cancellation does a good job of blocking out most surrounding noises and you can use Transparency mode to jump in and out of conversations when necessary We also like that audio automatically pauses when you take one of the buds out of your ear so you won t miss a beat And like other Apple earbuds the AirPods Pro have the H chip inside which enables things like hands free Siri access and quick pairing If you use a lot of Apple devices the AirPods Pro will also automatically switch to the gadget you re currently using ーthat means you can take a call from your iPhone and go back to listening to music from your Mac seamlessly You can expect the Pros to last about five hours before needing a recharge and their MagSafe case lets you use magnetic wireless chargers to power them up They may not be as cheap as they were on Black Friday but those deep discounts are hard to come by outside of the holiday shopping season Woot s one day sale is a good one to consider if you ve had your eye on the Pros for a while Just remember to check out the site s return policy as it differs greatly from that of its parent company Amazon Follow EngadgetDeals on Twitter for the latest tech deals and buying advice |
2022-02-03 13:40:09 |
海外TECH |
Engadget |
Amazon workers at second New York location move to unionize |
https://www.engadget.com/amazon-workers-ldj5-unionize-131907351.html?src=rss
|
Amazon workers at second New York location move to unionizeWorkers at LDJ an Amazon warehouse facility on New York s Staten Island have filed a petition to unionize with the National Labor Relations Board It s the second facility Staten Island to make an attempt at forming a union after JFK and it s also seeking to be represented by the Amazon Labor Union an independent group comprised of current and former company employees According to CNBC the ALU filed the petition on Wednesday nbsp The ALU originally filed to form a union last year for JFK and three other nearby facilities but it had to withdraw its petition after it failed to gather enough votes to proceed It refiled its application in December however and focused only on JFK Former Amazon employee and ALU leader Christian Smalls said back then that the group was quot taking a different approach quot and hoping that it has quot more than enough quot support from employees in the facility Smalls led a walkout at JFK over the e commerce giant s handling of COVID safety at the warehouse Amazon said he was fired after quot multiple warnings for violating social distancing guidelines quot In late January the ALU collected enough signatures to proceed with a union election vote at JFK a feat the e commerce giant doubts Reaching the threshold means the ALU was able to secure the support of percent of the warehouse s workforce Amazon told Engadget in a statement when the news broke that it s quot skeptical that there are a sufficient number of legitimate signatures quot and that it s quot seeking to understand how these signatures were verified quot An election has been set for JFK on February th As for LDJ the ALU still will have to collect enough signatures from its workers for an election to be able to proceed We have officially filed a petition for election at a second warehouse LDJ in Staten Island This is an amazing moment in history seeing amazon workers finally taking the brave steps to make their voices heard ️ amazon UnionizeAmazonーAmazon Labor Union amazonlabor February |
2022-02-03 13:19:07 |
Cisco |
Cisco Blog |
Reimagining Hybrid Work: Create, Manage, Collaborate with the Network for the Future |
https://blogs.cisco.com/networking/reimagining-hybrid-work-create-manage-collaborate-with-the-network-for-the-future
|
Reimagining Hybrid Work Create Manage Collaborate with the Network for the FutureCisco is leading the charge in Hybrid Work with networking innovations in Wi Fi E Access Points Silicon One Catalyst Switches and Private G |
2022-02-03 13:00:53 |
Cisco |
Cisco Blog |
Technology and IT Expertise You Need to Digitally Compete and Win |
https://blogs.cisco.com/customerexperience/technology-and-it-expertise-you-need-to-digitally-compete-and-win
|
Technology and IT Expertise You Need to Digitally Compete and WinWelcome to a new year dawning in the age of the pandemic which promises to be filled with new technology demands your organization will need to master Whether it s quickly developing new app experiences to delight customers or creating a more connected hybrid work model fulfilling these digital demands is key to providing superior experiences |
2022-02-03 13:00:47 |
Cisco |
Cisco Blog |
Private 5G Delivered on Your Terms |
https://blogs.cisco.com/sp/private-5g-delivered-on-your-terms
|
unique |
2022-02-03 13:00:36 |
海外科学 |
NYT > Science |
In New York City Sewage, a Mysterious Coronavirus Signal |
https://www.nytimes.com/2022/02/03/health/coronavirus-wastewater-new-york.html
|
wastewater |
2022-02-03 13:44:10 |
海外TECH |
WIRED |
It's Not Your Fault You're a Jerk on Twitter |
https://www.wired.com/story/social-media-harassment-platforms
|
people |
2022-02-03 14:00:00 |
海外TECH |
WIRED |
The Best Smart Bulbs to Light Up Your Room |
https://www.wired.com/gallery/best-smart-bulbs
|
phillips |
2022-02-03 14:00:00 |
ニュース |
BBC News - Home |
Interest rates rise again in bid to cool soaring prices |
https://www.bbc.co.uk/news/business-60197463?at_medium=RSS&at_campaign=KARANGA
|
increases |
2022-02-03 13:47:09 |
ニュース |
BBC News - Home |
Islamic State leader 'taken off battlefield' in Syria raid, US says |
https://www.bbc.co.uk/news/world-middle-east-60246129?at_medium=RSS&at_campaign=KARANGA
|
biden |
2022-02-03 13:30:47 |
ニュース |
BBC News - Home |
Bafta Film Awards 2022: Dune leads nominations with 11 |
https://www.bbc.co.uk/news/entertainment-arts-60213530?at_medium=RSS&at_campaign=KARANGA
|
belfast |
2022-02-03 13:03:42 |
ニュース |
BBC News - Home |
DUP: NI First Minister Paul Givan 'intends to resign' |
https://www.bbc.co.uk/news/uk-60241608?at_medium=RSS&at_campaign=KARANGA
|
ireland |
2022-02-03 13:52:26 |
ニュース |
BBC News - Home |
Gabby Logan's heart screening call for brother Daniel |
https://www.bbc.co.uk/news/uk-wales-60140726?at_medium=RSS&at_campaign=KARANGA
|
appeal |
2022-02-03 13:43:50 |
ニュース |
BBC News - Home |
Curry to captain England with Daly, Isiekwe & Simmonds all starting |
https://www.bbc.co.uk/sport/rugby-union/60243473?at_medium=RSS&at_campaign=KARANGA
|
Curry to captain England with Daly Isiekwe amp Simmonds all startingTom Curry will captain an England side featuring a midfield combination of Henry Slade and Elliot Daly in their Six Nations opener on Saturday |
2022-02-03 13:17:23 |
ニュース |
BBC News - Home |
Gray returns to experienced Scotland team |
https://www.bbc.co.uk/sport/rugby-union/60247488?at_medium=RSS&at_campaign=KARANGA
|
jonny |
2022-02-03 13:20:40 |
ニュース |
BBC News - Home |
Why are gas bills so high and what's the energy price cap? |
https://www.bbc.co.uk/news/business-58090533?at_medium=RSS&at_campaign=KARANGA
|
april |
2022-02-03 13:20:15 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
花王(4452)、33期連続の「増配」を発表し、配当 利回り2.58%に! 年間配当額は33期で20倍に増加、 2022年12月期は前期比4円増の「1株あたり148円」に - 配当【増配・減配】最新ニュース! |
https://diamond.jp/articles/-/295351
|
花王、期連続の「増配」を発表し、配当利回りに年間配当額は期で倍に増加、年月期は前期比円増の「株あたり円」に配当【増配・減配】最新ニュース花王が期連続の「増配」を発表し、配当利回りがに花王は年月期の配当予想を「株あたり円」と発表し、前期比「円」の増配で「期連続増配」の見通しとなった。 |
2022-02-03 22:15:00 |
LifeHuck |
ライフハッカー[日本版] |
生産性が上がる? 今日やるべきことに集中できるトラッキングアプリ【今日のライフハックツール】 |
https://www.lifehacker.jp/article/2201lht_wellwork_ios_app/
|
wellwork |
2022-02-03 13:05:00 |
北海道 |
北海道新聞 |
羽生、動画で「絶対勝ちを取る」 公式ツイッターにメッセージ |
https://www.hokkaido-np.co.jp/article/641591/
|
羽生 |
2022-02-03 22:04:00 |
北海道 |
北海道新聞 |
洞爺湖マラソン、3年ぶり開催へ 運営費用をCFで募集 「大会継続へ協力を」 |
https://www.hokkaido-np.co.jp/article/641590/
|
開催 |
2022-02-03 22:03:00 |
北海道 |
北海道新聞 |
将棋の藤井四冠、順位戦で9勝目 A級昇級へ、単独トップ守る |
https://www.hokkaido-np.co.jp/article/641589/
|
単独トップ |
2022-02-03 22:01:00 |
コメント
コメントを投稿