AWS |
AWS Big Data Blog |
Amazon EMR on EKS gets up to 19% performance boost running on AWS Graviton3 Processors vs. Graviton2 |
https://aws.amazon.com/blogs/big-data/amazon-emr-on-eks-gets-up-to-19-performance-boost-running-on-aws-graviton3-processors-vs-graviton2/
|
Amazon EMR on EKS gets up to performance boost running on AWS Graviton Processors vs GravitonAmazon EMR on EKS is a deployment option that enables you to run Spark workloads on Amazon Elastic Kubernetes Service Amazon EKS easily It allows you to innovate faster with the latest Apache Spark on Kubernetes architecture while benefiting from the performance optimized Spark runtime powered by Amazon EMR This deployment option elects Amazon EKS as … |
2022-08-12 18:39:20 |
AWS |
AWS Media Blog |
Watch now: PAOK TV streams football matches and more on AWS |
https://aws.amazon.com/blogs/media/watch-now-paok-tv-streams-football-matches-and-more-on-aws/
|
Watch now PAOK TV streams football matches and more on AWSOne of the top football clubs in Greece PAOK FC has a storied legacy with an ardent fanbase topping more than million In addition to winning on the pitch the club also creates and delivers original content to its fan community via PAOK TV which is widely available across digital platforms and devices By … |
2022-08-12 18:27:12 |
海外TECH |
Ars Technica |
How to upgrade to Windows 11, whether your PC is supported or not |
https://arstechnica.com/?p=1800798
|
windows |
2022-08-12 18:00:31 |
海外TECH |
DEV Community |
How I update my Twitter profile automatically using Python. |
https://dev.to/viniciusenari/how-i-update-my-twitter-profile-automatically-using-python-5d57
|
How I update my Twitter profile automatically using Python IntroductionI find automating tasks one of the coolest things about programming Lately I ve been thinking about ways to utilize APIs to automatize some things and I came up with the idea of making my Twitter profile banner image change automatically from time to time It would be like having access to a Twitter feature that no one has the capability of having a slideshow as a banner instead of a single image I will use NASA s Astronomy Picture of the Day API to obtain the images I will use This API provides a different image daily making it appropriate for this specific purpose Also by using this API I know that my Twitter banner will repeat no pictures You can use images from other APIs or your own Obtaining access to the APIsBefore starting you ll need access to the Twitter API and the NASA API Twitter APITo access the Twitter API you must go to Twitter s developers portal Make sure to log into the portal with the same account you want your banner to change automatically I ll not cover step by step what you need to do to obtain access to the Twitter API but here is guide You ll need to apply for Elevated Access to the API step four because the request to update one s profile is part of the v endpoints It is not difficult to obtain elevated access You ll have to explain how you will use the API so they know you are following their terms of conduct NASA s APINext you will need access to NASA Open APIs NASA s APIs are free to use It is possible to utilize the API without your API Key by utilizing DEMO KEY as the key For example The only limitation is that with the demo key you can only make requests per hour and requests per day per IP address while with your API key you can make up to requests per hour The demo key provides enough requests for this project to work since I m only making one request per day But I decided to utilize my API key anyway because I would make multiple requests per hour while writing and testing the code Also it is easy to obtain To obtain access to the NASA API Go to api nasa gov Scroll the page down until you find a form called Generate API Key Fill in your personal information and click on signup You should receive an API key right after Implementation PrerequisitesThe are three libraries that you will need Tweepy for more easily use of the Twitter API requests to obtain the information from the NASA API through an HTTP request python dotenv which I used to store and access my private keys without exposing them publicly You can manually install these libraries or if you cloned my Github repository install through the requirements txt file pip install tweepypip install requestspip install python dotenvpip install requirements txtIf you are using python dotenv you must create a env file and write your API keys and access token Example TWITTER API KEY YOUR TWITTER API KEY TWITTER API KEY SECRET YOUR TWITTER API KEY SECRET TWITTER ACCESS TOKEN YOUR TWITTER ACCESS TOKEN TWITTER ACCESS TOKEN SECRET YOUR TWITTER ACCESS TOKEN SECRET NASA API KEY YOUR NASA API KEY Getting the content from NASA s APIimport requestsfrom dotenv import load dotenvimport osload dotenv api key os getenv NASA API KEY json requests get f api key json if json media type image title json title imageURL json hdurl content Content title imageURL In the code above I send an HTTP request and obtain a JSON containing information about today s astronomy picture of the day Here is an example of what today s JSON looks like using the demo key From this I get the image s title and URL There are two URLs The difference is that hdurl is in a higher resolution I m checking if the value of media type is image because sometimes the API returns a video instead of an image In that case I ll skip that day and not update the banner Download the imageimg data requests get url contentif not os path exists tmp os makedirs tmp with open tmp banner jpg wb as handler handler write img data If it does not exist I create a folder called tmp in the main directory where I will save the banner image I get the image from the URL I obtained from the NASA API Auth on Twitter APIimport tweepyfrom dotenv import load dotenvimport osload dotenv api key os getenv TWITTER API KEY api key secret os getenv TWITTER API KEY SECRET access token os getenv TWITTER ACCESS TOKEN access token secret os getenv TWITTER ACCESS TOKEN SECRET auth tweepy OAuthHandler api key api key secret auth set access token access token access token secret api tweepy API auth Using Tweepy to handle the authentication I pass my API key and secret to Tweepy s OAuthHandler object set my access token and then create an API instance Updating profiletext f Banner photo content title nfrom api update profile banner filename tmp banner jpg api update profile description text Now that I have created an API instance using Tweepy obtained the content from the NASA API and downloaded the image all I have to do is update the banner I m also updating my bio to display the title of the picture Deploying and setting a schedulerBy running this code your profile banner and bio will be updated You ll have to run it daily so your profile is updated daily I deployed the code on Heroku and used a scheduler to run the main script every day Heroku allows you to have up to free projects so I did not have to pay to use this alternative First create a new app On your app s deploy tab choose how you want to deploy your project I linked my app to the Github repository Still you can also use the Heroku CLI to deploy your project if it is not on Github Under the settings tabs there is a field to add your config vars You must add your API keys access tokens and secrets there These variables will then become accessible as if they were in a env file You can open the console on the top right and run the main script of your project to test if it applies the changes to your Twitter profile by running it on Heroku python main pyNext you ll have to go to the Addons page and look for an addon called Heroku scheduler Open the scheduler page and click on install You ll have to select the project you want to use this addon To use any addon on Heroku you need to have added your credit card info to your account billing settings Still it will not charge you since this addon is free unless you run the application many times a month Finally go back to your app overview tab You should see the Heroku scheduler under the installed addons Open it and click on create a new job You will then have to fill in what command you want to run and at what interval it will run ConclusionThank you for reading Let me know in the comments if you have any questions or suggestions Here is the GitHub repository |
2022-08-12 18:25:28 |
Apple |
AppleInsider - Frontpage News |
Apple, Facebook said to have discussed 'revenue-sharing agreements' years ago |
https://appleinsider.com/articles/22/08/12/apple-facebook-said-to-have-discussed-revenue-sharing-agreements-years-ago?utm_medium=rss
|
Apple Facebook said to have discussed x revenue sharing agreements x years agoBefore Apple s privacy feud with Facebook the two companies reportedly discussed revenue sharing agreements such as an ad free subscription based version of the social media platform Facebook appThe talks between Apple and Facebook reportedly occurred between and according to a new report from The Wall Street Journal The report claims that Apple was in talks about various deals that would give it a slice of Facebook s revenue Read more |
2022-08-12 18:11:21 |
Apple |
AppleInsider - Frontpage News |
Deal alert: Apple Watch Series 7 is on sale for $299 ($100 off) at Amazon |
https://appleinsider.com/articles/22/08/12/deal-alert-apple-watch-series-7-is-on-sale-for-299-100-off-at-amazon?utm_medium=rss
|
Deal alert Apple Watch Series is on sale for off at AmazonApple Watch deals are in effect at Amazon heading into the weekend with the Series now off The ProductRed Apple Watch Series is discounted to at Amazon The price is valid on the mm Apple Watch Series with a RED aluminum case and RED Sport Band Read more |
2022-08-12 18:34:48 |
海外TECH |
Engadget |
'Hogwarts Legacy' is delayed until February 10th, 2023 |
https://www.engadget.com/hogwarts-legacy-release-date-delay-185247236.html?src=rss
|
x Hogwarts Legacy x is delayed until February th Try as it might Hogwarts Legacy developer Avalanche Software can t magically make its creation arrive any sooner In fact Warner Bros Interactive Entertainment has once again delayed the game which at least now has a firm release date It will hit PC PlayStation PS Xbox One and Xbox Series X S on February th The Switch release date will be announced sometime soon indicating that version faces a further delay quot The team is excited for you to play but we need a little more time to deliver the best possible game experience quot a tweet on the Hogwarts Legacy Twitter account reads The game was announced at the tail end of with a release expected the following year Warner Bros pushed back Hogwarts Legacy to and later said it would arrive sometime this holiday season However it has delayed the game once more Hogwarts Legacy will launch on February for PlayStation Xbox and PC The Nintendo Switch launch date will be revealed soon The team is excited for you to play but we need a little more time to deliver the best possible game experience pic twitter com zhEsOvDbーHogwarts Legacy HogwartsLegacy August Hogwarts Legacy is an action RPG that takes place in the Harry Potter universe though it s set long before The Boy Who Lived well lived As a student at Hogwarts School of Witchcraft and Wizardry you ll craft potions learn spells tame wild creatures and ugh attend classes Shockingly enough you ll need to take what you learned and use it to fend off your enemies |
2022-08-12 18:52:47 |
海外TECH |
Engadget |
Google is testing a way to start streaming games from search results |
https://www.engadget.com/google-search-cloud-gaming-stadia-xbox-geforce-now-amazon-luna-181525049.html?src=rss
|
Google is testing a way to start streaming games from search resultsOne thing that will help bolster adoption of cloud gaming is by making it as easy as possible to fire up a game To that end Google is testing a way to start playing something with a single click from search results even if it s not on the company s own Stadia platform The test which was spotted by Bryant Chappel of The Nerf Report not only enables folks to directly launch a game on Stadia but it works with Xbox Cloud Gaming NVIDIA GeForce Now and Amazon Luna as well If you re enrolled in the test and search for a game on one of those platforms such as Destiny or Halo Infinite you may see a Play button in the information panel Clicking that will either start up the game or take you to a landing page on the respective streaming platform The Verge and to Google saw the feature in action too The latter noted the search results can show if a game has a timed trial on Stadia or if it s available for free or as part of a premium subscription It s not incredibly surprising to see Google testing out such functionality For several years it has shown folks where they can stream movies and TV shows in search results For instance if you have a Netflix subscription and search for Stranger Things on Google you ll be able to start watching the show with a single click nbsp In hindsight it s a little odd that Google hasn t offered this feature for Stadia from the jump in order to promote its cloud gaming service On the other hand Stadia s store didn t have a search function for a year and a half which offered further evidence that the platform isn t exactly one of Google s highest priorities However Stadia is not shutting down and Google is slowly adding more features to it |
2022-08-12 18:15:25 |
Cisco |
Cisco Blog |
First Code… Then Infrastructure as Code… Now Notes as Code! |
https://blogs.cisco.com/developer/notesascode01
|
First Code…Then Infrastructure as Code…Now Notes as Code When we put that developer hat on as part of our DevOps SRE or AppDev roles it s optimal when we can combine our code development environment IDE with a tool we take notes in Take a look at how the Dendron extension to VS Code allows for hierarchical documentation and note taking |
2022-08-12 18:52:14 |
海外TECH |
CodeProject Latest Articles |
Git – Push from GUI Client Returns "Authentication Failed" |
https://www.codeproject.com/Tips/5339591/Git-Push-from-GUI-Client-Returns-Authentication-Fa
|
authentication |
2022-08-12 18:46:00 |
海外TECH |
CodeProject Latest Articles |
Git – Error: Refusing to Merge Unrelated Histories |
https://www.codeproject.com/Tips/5339590/Git-Error-Refusing-to-Merge-Unrelated-Histories
|
error |
2022-08-12 18:38:00 |
海外科学 |
NYT > Science |
What Happens If Shelling Continues at Zaporizhzhia Nuclear Plant? |
https://www.nytimes.com/2022/08/12/world/ukraine-zaporizhzhia-nuclear-plant.html
|
accident |
2022-08-12 18:04:46 |
ニュース |
BBC News - Home |
Salman Rushdie: Man arrested after author attacked on stage |
https://www.bbc.co.uk/news/world-us-canada-62524922?at_medium=RSS&at_campaign=KARANGA
|
satanic |
2022-08-12 18:18:30 |
ニュース |
BBC News - Home |
UK Heatwave: Official drought declared across large parts of England |
https://www.bbc.co.uk/news/uk-62508521?at_medium=RSS&at_campaign=KARANGA
|
water |
2022-08-12 18:21:13 |
ニュース |
BBC News - Home |
Montenegro shooting: Gunman kills at least 10 |
https://www.bbc.co.uk/news/world-europe-62524986?at_medium=RSS&at_campaign=KARANGA
|
cetinje |
2022-08-12 18:39:51 |
ニュース |
BBC News - Home |
Chicken Galore: Hundreds queue for Orkney cruise liner food |
https://www.bbc.co.uk/news/uk-scotland-north-east-orkney-shetland-62522402?at_medium=RSS&at_campaign=KARANGA
|
weather |
2022-08-12 18:01:45 |
ニュース |
BBC News - Home |
Women's Ballon d'Or: England's Millie Bright, Beth Mead and Lucy Bronze nominated for 2022 prize |
https://www.bbc.co.uk/sport/football/62524512?at_medium=RSS&at_campaign=KARANGA
|
Women x s Ballon d x Or England x s Millie Bright Beth Mead and Lucy Bronze nominated for prizeEngland Euro winners Millie Bright Beth Mead and Lucy Bronze are nominated for the women s Ballon d Or |
2022-08-12 18:32:38 |
ニュース |
BBC News - Home |
European Championships: Non Stanford wins triathlon gold for Great Britain |
https://www.bbc.co.uk/sport/av/triathlon/62526544?at_medium=RSS&at_campaign=KARANGA
|
European Championships Non Stanford wins triathlon gold for Great BritainWatch Non Stanford win triathlon gold for Great Britain at the European Championships in the final international appearance of her career |
2022-08-12 18:48:17 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【マンガ】1万人を接客した美容部員がやってみた!「ガチで落ちないマスカラ」大検証 - メイクがなんとなく変なので友達の美容部員にコツを全部聞いてみた |
https://diamond.jp/articles/-/307428
|
【マンガ】万人を接客した美容部員がやってみた「ガチで落ちないマスカラ」大検証メイクがなんとなく変なので友達の美容部員にコツを全部聞いてみたマンガ家の吉川景都さんと、小学校からの幼なじみで現役美容部員のBAパンダさんの共著『メイクがなんとなく変なので友達の美容部員にコツを全部聞いてみた』。 |
2022-08-13 03:55:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【出口学長・日本人が最も苦手とする哲学と宗教特別講義】 9割の日本人が知らない! イスラーム教の男女平等思想とは? - 哲学と宗教全史 |
https://diamond.jp/articles/-/307036
|
|
2022-08-13 03:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【人気No.1風水師の教え】 家のなかで運がたまる場所とは? - どんな運も、思いのまま! 李家幽竹の風水大全 |
https://diamond.jp/articles/-/306977
|
【人気No風水師の教え】家のなかで運がたまる場所とはどんな運も、思いのまま李家幽竹の風水大全「どんな人でも運がよくなれる」、それが風水の持つ力です。 |
2022-08-13 03:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「生意気な部下」を”オトナ”に育てるたったひとつの方法 - 課長2.0 |
https://diamond.jp/articles/-/305337
|
「生意気な部下」をオトナに育てるたったひとつの方法課長管理職は「自分の力」ではなく、「メンバーの力」で結果を出すのが仕事。 |
2022-08-13 03:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【TVで話題沸騰!とんでもないチカラ】 ご神仏に守られる人に共通する、たった1つの習慣 - 1日1分見るだけで願いが叶う!ふくふく開運絵馬 |
https://diamond.jp/articles/-/306135
|
【TVで話題沸騰とんでもないチカラ】ご神仏に守られる人に共通する、たったつの習慣日分見るだけで願いが叶うふくふく開運絵馬フジテレビ「FNNLiveNewsイット」で話題沸騰見るだけで「癒された」「ホッとした」「本当にいいことが起こった」と話題沸騰刷Amazon・楽天位。 |
2022-08-13 03:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
最新脳科学でついに決着!「左利きは天才」なのか?【書籍オンライン編集部セレクション】 - すごい左利き |
https://diamond.jp/articles/-/306600
|
なぜそう言われるのか、実際はどうなのか、これまで明確な答えはありませんでした。 |
2022-08-13 03:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「貯金をたくさんする人」ほど幸せになれる。その納得の理由 - サイコロジー・オブ・マネー |
https://diamond.jp/articles/-/307922
|
貯金 |
2022-08-13 03:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【身体と脳】人間の感情と思考の根本的すぎる2つの問い - ダマシオ教授の教養としての「意識」 |
https://diamond.jp/articles/-/307719
|
身体 |
2022-08-13 03:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【漫画家・弘兼憲史が教える】 死んだら“葬式も戒名もいらない”と断言するワケ - 死ぬまで上機嫌。 |
https://diamond.jp/articles/-/307101
|
弘兼氏のさまざまな経験・知見をもとに、死ぬまで上機嫌に人生を謳歌するコツを説いている。 |
2022-08-13 03:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
極端に高い運用管理費用率は、「百害あって一利なし」 - 最新版つみたてNISAはこの9本から選びなさい |
https://diamond.jp/articles/-/307900
|
|
2022-08-13 03:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
コミュ力の高い人は「何かおもしろいことやって」と振られたときにどう返す? - おもろい話し方 |
https://diamond.jp/articles/-/307315
|
高い |
2022-08-13 03:05:00 |
コメント
コメントを投稿