投稿時間:2022-09-03 02:19:48 RSSフィード2022-09-03 02:00 分まとめ(23件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Database Blog Create an audit trail for an Amazon Aurora PostgreSQL table https://aws.amazon.com/blogs/database/create-an-audit-trail-for-an-amazon-aurora-postgresql-table/ Create an audit trail for an Amazon Aurora PostgreSQL tableMany companies need to maintain an audit trail to track updates to their data For compliance and other reasons they re required to preserve a history of all updates and deletes made to any given record in any given database table For example a foreign exchange transaction between two global banks includes a set of payment … 2022-09-02 16:54:16
AWS AWS Government, Education, and Nonprofits Blog Accelerating innovation in Australia and New Zealand: AWS Summit Canberra keynote recap https://aws.amazon.com/blogs/publicsector/accelerating-innovation-australia-new-zealand-aws-summit-canberra-keynote-recap/ Accelerating innovation in Australia and New Zealand AWS Summit Canberra keynote recapOn Wednesday August Max Peterson vice president of worldwide public sector at AWS delivered the keynote address at the AWS Summit Canberra Max shared regional announcements and local stories of how public sector customers are using the cloud to transform citizen services innovate in healthcare improve sustainability and more Two customer speakers joined the stage to share how AWS helps their organizations support their mission success and reimagine what s possible What d you miss at the AWS Summit Canberra keynote 2022-09-02 16:40:03
js JavaScriptタグが付けられた新着投稿 - Qiita Emscriptenを使ってブラウザでWebAssemblyを動かす https://qiita.com/t_katsumura/items/beeb2c09afdf80a30f37 webassem 2022-09-03 01:38:03
Ruby Rubyタグが付けられた新着投稿 - Qiita returnはつけるの無粋すぎる https://qiita.com/Bee2papa/items/466cc10daba586c84f6f returen 2022-09-03 01:11:56
Ruby Rubyタグが付けられた新着投稿 - Qiita devise_token_authのメール認証済みでないとログインできない機能をRSpecでテストする方法 https://qiita.com/shuhei_m/items/8adbb360cdf7bd9ac38e devisetokenauth 2022-09-03 01:00:36
Ruby Railsタグが付けられた新着投稿 - Qiita returnはつけるの無粋すぎる https://qiita.com/Bee2papa/items/466cc10daba586c84f6f returen 2022-09-03 01:11:56
Ruby Railsタグが付けられた新着投稿 - Qiita devise_token_authのメール認証済みでないとログインできない機能をRSpecでテストする方法 https://qiita.com/shuhei_m/items/8adbb360cdf7bd9ac38e devisetokenauth 2022-09-03 01:00:36
技術ブログ Developers.IO AWS Step Functionsの組み込み関数をフル活用して置換箇所が不特定多数の場合の文字列置換をやってみた(AWS CDK) https://dev.classmethod.jp/articles/string-replacement-when-an-unspecified-number-of-strings-to-be-replaced-are-included-by-making-full-use-of-the-built-in-functions-of-aws-step-functions-aws-cdk/ awscdk 2022-09-02 16:44:48
海外TECH MakeUseOf The 5 Best Chrome Extensions That Promote Mental Health and Productivity https://www.makeuseof.com/best-chrome-extensions-promote-mental-health-productivity/ The Best Chrome Extensions That Promote Mental Health and ProductivityBefore you start feeling overworked these Chrome extensions can help you remember to take a break and pay attention to your mental health 2022-09-02 16:45:14
海外TECH MakeUseOf How to Make the Perfect Thumbnail for a YouTube Video https://www.makeuseof.com/tag/perfect-youtube-video-thumbnail/ video 2022-09-02 16:30:13
海外TECH MakeUseOf How to Restore a Missing Background Apps Permission Option in Windows 11 https://www.makeuseof.com/windows-11-restore-background-apps-permissions/ options 2022-09-02 16:16:13
海外TECH MakeUseOf The Honor 70 Smartphone is a Pixel-Pulverizing, Nothing-Phone-Nuking, Mid-Ranger https://www.makeuseof.com/honor-70-smartphone-review/ The Honor Smartphone is a Pixel Pulverizing Nothing Phone Nuking Mid RangerThe Honor is here and brings with it a heap of features that come as a surprise for a phone in the mid range market 2022-09-02 16:05:17
海外TECH DEV Community Summarize Text from Images Using AI, Python, and Twilio https://dev.to/anthonyjdella/summarize-text-from-images-using-ai-python-and-twilio-2mg1 Summarize Text from Images Using AI Python and TwilioContent content content Are you overwhelmed by the amount of content you re asked to read on a daily basis Don t you wish you could quickly summarize large chunks of text It d be a huge timesaver especially for college students who read a lot of content In this blog post I will teach you how to build an app in Python that performs text recognition on photos summarizes that text and then sends you a summary via SMS Here s a typical use case you see a large wall of text that you don t want to read so you pull out your phone to take a picture of that text then you receive a SMS with a nice summarization Boom time saved PrerequisitesBefore getting started it s important to have the following before moving on Python or higher installed on your machine A Twilio account If you haven t yet sign up for a free Twilio trial A Google Cloud account get started for free An OpenAI account sign up for a free account ngrok installed on your machine ngrok is a useful tool for connecting your local server to a public URL You can sign up for a free account and learn how to install ngrok A phone with a US or Canada phone number Access the CodeIf blog posts aren t your thing and you d prefer to just look at the code it s available in this GitHub repository Table of ContentsFor context this blog post is structured as follows Setup Google Cloud Vision Set up our Google Cloud account and enable the Vision APISetup OpenAI Set up our OpenAI accountSetup Local Environment Set up our local development environmentCloud Vision API Using ML detect words from images using the Google Cloud Vision API OpenAI API Using AI generate a summary of text from the OpenAI APITwilio SMS API Send a text message containing the summary when the application is triggered Setup Google Cloud VisionTo use the Google Cloud Vision API we need to set it up by following the quickstart guide This process does take some time but don t get discouraged Just follow the quickstart guide step by step or continue along here if you don t want to tab out Assuming you already have a Google Cloud account you ll need to create a new project within Google Cloud Give it a Project name of summarize text and click Create Next enable billing for the project we just created But don t worry you won t be charged unless you exceed the Cloud Vision monthly limits Learn how to check if billing is enabled on a project Enable the Vision API for the project we created earlier called summarize text Next set up authentication with a service account Go to Create a service account select our project summarize text in the Service account name field enter a name of summarize text in the Service account description field enter a description of Service account for summarize text Continue and then grant the role of Project gt Owner to your service account After creating a service account create a service account key by clicking on the email address of service account summarize text Click Keys then Create new key After doing this a JSON key file will be downloaded to your computer You ll need to store this file in a location of your choice and then set an environment variable pointing to the path of this JSON file For example on Linux or MacOS in zshrc export GOOGLE APPLICATION CREDENTIALS home user Downloads service account file json For example on Windows with PowerShell env GOOGLE APPLICATION CREDENTIALS C Users username Downloads service account file json Next install the Google Cloud CLI Since this is different for each operating system follow the steps outlined in Google s gcloud CLI installation guide Finally install the Python client library with the following command pip install upgrade google cloud vision Setup OpenAIAssuming you already registered for an account with OpenAI you ll need to create an API key in your user account settings which will allow you to authenticate your application with OpenAI Copy this key and don t share it with anyone We will securely store this API key in the following section Setup Local EnvironmentCreate an empty project directory mkdir summarize text Then change into that directory as that s where our code will be cd summarize textCreate a virtual environment python m venv summarizeActivate our virtual environment source summarize bin activateInstall dependencies to our virtual environment pip install python dotenv twilio Flask requests google cloud vision openaiLet s create a file called env in the project s root directory to store our API keys in environment variables Within that file we ll create an environment variable called OPENAI API KEY Replace PASTE YOUR API KEY HERE with the API key that you copied earlier OPENAI API KEY PASTE YOUR API KEY HEREFor example OPENAI API KEY sk abcdefgSince we ll also be working with our Twilio account we ll need to modify this file even more Log into your Twilio console then scroll down to find your Account SID and Auth Token Add two additional lines to the env file but change the values to equal your unique Account SID and Auth Token TWILIO ACCOUNT SID PASTE YOUR ACCOUNT SID HERETWILIO AUTH TOKEN PASTE YOUR AUTH TOKEN HEREFor example TWILIO ACCOUNT SID ACxxxxxxxxxxxxTWILIO AUTH TOKEN If you re pushing these to a Git repository please make sure to add the env file to your gitignore so that these credentials are secured We ll be working with local images so in your project s root directory create a new directory called resources For now it will be an empty directory but later this is where images will be stored Cloud Vision APISince we set it up already you may be wondering what the Vision API is It s a Google API that offers powerful pre trained machine learning models through REST With the API you can do things like detect faces identify places recognize celebrities and much more For this app we will be using Optical Character Recognition OCR to recognize text in images Create a file called detect py in the project s root directory and copy and paste the following code into the file import ioimport osfrom google cloud import visiondef detect text client vision ImageAnnotatorClient file name os path abspath resources image jpg with io open file name rb as image file content image file read image vision Image content content response client text detection image image texts response text annotations return texts description The detect text function will look at a local file from your computer in this case an image from the resources directory called image jpg Then we will read the content from that image and use the text detection function from the Vision API to detect text Finally we ll return that text If you were to run the detect text function as is it wouldn t work since we are reading an image called image jpg from the resources directory that doesn t currently exist But we ll come back to this later Create a new file called utilities py in the project s root directory and paste the following code into the file import requestsdef save image image url img data requests get image url content with open resources image jpg wb as handler handler write img data The save image function will take an image url and save it as a file called image jpg within the resources directory OpenAI APINow that we ve written the code for interacting with the Cloud Vision API that allows us to perform text recognition on photos we can use the OpenAI API to summarize that text OpenAI is an AI company surprise surprise that applies models on natural language for various tasks You give the API a prompt which is natural language that you input and the AI will generate a response For example if you input a prompt “write a tagline for an ice cream shop you may see a response like “we serve up smiles with every scoop In the project s root directory create a file called summarize py and paste the following code into the file import osimport openaifrom dotenv import load dotenvfrom detect import detect textfrom utilities import save imageload dotenv openai api key os getenv OPENAI API KEY def get text from image url save image url return detect text def generate prompt url return f In one sentence summarize the following text n get text from image url n def summarize prompt url response openai Completion create model text davinci prompt generate prompt url temperature max tokens top p frequency penalty presence penalty print response choices text return response choices text The summarize prompt function uses the OpenAI API create function to respond to a prompt that we give it generate prompt The model we are specifying text davinci is OpenAI s most capable GPT model The max tokens parameter sets an upper bound on how many tokens the API will return or how long our response will be generate prompt will create a prompt that summarizes text in one sentence get text from image will call our previously created functions from the previous section Twilio SMS APINow we ll create the code in our application that will all us to text our Twilio phone number and get back a response This is called sending an Inbound SMS Think of inbound as an inbound SMS to a Twilio phone number triggering your application In this case we will be sending a text to a Twilio phone number our trigger then having it respond by sending a reply containing a summary Create a new file in the same directory called app py Using Flask a Python web framework we will create an app that runs on a local server Paste the following code into app py from flask import Flask requestfrom twilio twiml messaging response import MessagingResponsefrom summarize import summarize promptapp Flask name def respond message response MessagingResponse response message message return str response app route summary methods GET POST def incoming sms user input request form get NumMedia if user input pic url request form get MediaUrl summary summarize prompt pic url return respond f summary else return respond f Please send a picture containing text if name main app run host localhost debug True port Run the application on your local server with this command in your console from the root directory python app pyYour application should be running on http localhost Output will look similar to this Serving Flask app app lazy loading Environment production WARNING This is a development server Do not use it in a production deployment Use a production WSGI server instead Debug mode on Running on http localhost Press CTRL C to quit Restarting with stat Debugger is active Debugger PIN As of now our application is only running on a server within your computer But we need a public facing URL not http localhost to configure a Webhook so Twilio can find it By using a tool called ngrok we will “put localhost on the Internet so we can configure our webhook In another console tab run the command ngrok http This will create a “tunnel from the public Internet into port in our local machine where the Flask app is listening for requests You should see output similar to this Take note of the line that says “Forwarding In the image above it shows gt http localhost This means that our local application is running publicly onWithin the Console enter in the ngrok URL as a Webhook when “A Message Comes In Please be aware that unless you have a paid ngrok account each time you run the ngrok command a new URL will be generated so be sure to make the changes within the Twilio console Since our application and ngrok are running we can send a text message to our Twilio phone number and it will respond back with a summary of text Show Me What You BuildNow if there s a big wall of text that you don t want to read pull out your phone take a picture and then text it to your Twilio number You ll get a response back with a short summary Thanks so much for reading If you found this tutorial helpful have any questions or want to show me what you ve built let me know online And if you want to learn more about me check out my intro blog post Twitter anthonyjdellaLinkedin anthonydellavecchiaGitHub anthonyjdellaMedium anthonyjdellaDev to anthonyjdellaEmail adellavecchia twilio comPersonal Website anthonydellavecchia com 2022-09-02 16:11:22
Apple AppleInsider - Frontpage News Samsung hack in July 2022 led to customer data theft https://appleinsider.com/articles/22/09/02/samsung-hack-in-july-2022-led-to-customer-data-theft?utm_medium=rss Samsung hack in July led to customer data theftSamsung revealed it was hacked in late July and in an email on September it revealed that some customer personal information has been stolen In an email sent to customers and also received by AppleInsider Samsung said a hacker stole customer data in July from some of its systems in the United States Around August Samsung realized that the data had been taken This hack only involved Samsung s own servers Consumer devices and in app control interfaces were not affected Read more 2022-09-02 16:38:11
海外TECH Engadget Samsung says hackers obtained some customer data in newly disclosed breach https://www.engadget.com/samsung-data-breach-customer-personal-information-163502854.html?src=rss Samsung says hackers obtained some customer data in newly disclosed breachSamsung has disclosed another cybersecurity incident While an intrusion earlier this year led to hackers getting their hands on Galaxy source code this time around attackers obtained some customers personal information The company says that Social Security numbers as well as credit and debit card numbers were not accessed However the event quot may have affected information such as name contact and demographic information date of birth and product registration information quot It hasn t revealed how many people may have been affected The company is notifying some customers directly via email Samsung says someone gained unauthorized access to its systems in late July It determined in early August that the attacker had obtained customer data but consumer devices weren t affected The company said it has taken steps to secure its systems and that it brought in a third party cybersecurity firm It s also in communication with law enforcement In an FAQ Samsung said it s not necessary for customers to take immediate action based on what it has learned so far in its investigation Still it suggested that people exercise caution if they receive unsolicited emails and to review their accounts for signs of suspicious activity quot We are committed to protecting the security and privacy of our customers quot Samsung said quot We will continue to work diligently to develop and implement immediate and longer term next steps to further enhance the security across our systems quot 2022-09-02 16:35:02
海外TECH Engadget A collector is selling thousands of game consoles for $1 million https://www.engadget.com/game-console-collection-ebay-million-161542126.html?src=rss A collector is selling thousands of game consoles for millionAn eBay listing popped up this week that likely has game console collectors salivating Someone based in France is selling more than consoles including as many models color variants and special editions as they could get their hands on The asking price for this slice of gaming history € or just a hair under million Per Google Translate the seller who goes by Kaori says the collection covers years of gaming history It includes console variants that were only offered through contests Along with the consoles the listing by way of Kotaku includes a few hundred games some statues and other collectibles Kaori eBayKaori says they started the collection in the early s but sold everything they had acquired a few years later They started snapping up consoles again later that decade and stopped in due to a lack of time and how difficult it was to find rarer pieces After a visit to Japan in they reignited their passion and were able to get back almost everything they sold as well as a bunch more consoles The collector estimates that there are between and items that aren t available anywhere else which makes this a one of a kind collection The listing details many if not all of the Nintendo items in the trove including at least Nintendo variants Still Kaori who has a perfect positive feedback score on eBay promises that the lot has everything including Sega and Neo Geo consoles A glance at photos the seller provided reveals that they re also offering many other devices including PlayStation Xbox and TurboGrafx hardware and even an Ouya Some old videos also offer a closer look at many of the items Kaori is only offering delivery in France So if you re a well off gaming enthusiast living elsewhere and you want to snag this vast collection you ll need to figure out shipping too 2022-09-02 16:15:42
Cisco Cisco Blog Building the Dream Systems Engineering Team https://blogs.cisco.com/learning/building-the-dream-systems-engineering-team Building the Dream Systems Engineering TeamWhen hiring new engineers inserting certifications into job requirements allow hiring managers to consider candidates experience technical competency and validate their skills 2022-09-02 16:50:28
金融 金融庁ホームページ REVOLUT TECHNOLOGIES JAPAN株式会社に対する行政処分について公表しました。 https://www.fsa.go.jp/news/r4/sonota/20220902/20220902.html revoluttechnologiesjapan 2022-09-02 17:00:00
ニュース BBC News - Home Tory leadership: Voting closes in race to decide next PM https://www.bbc.co.uk/news/uk-politics-62769839?at_medium=RSS&at_campaign=KARANGA rishi 2022-09-02 16:21:10
ニュース BBC News - Home Unions call off Scottish school and bin strikes https://www.bbc.co.uk/news/uk-scotland-62766520?at_medium=RSS&at_campaign=KARANGA refuse 2022-09-02 16:38:32
ニュース BBC News - Home The Hundred: Southern Brave's Tahlia McGrath dismisses Trent Rockets' Mignon du Preez with 'no-look' catch https://www.bbc.co.uk/sport/av/cricket/62770199?at_medium=RSS&at_campaign=KARANGA The Hundred Southern Brave x s Tahlia McGrath dismisses Trent Rockets x Mignon du Preez with x no look x catchWatch Southern Brave s Tahlia McGrath take a no look catch off her own delivery to dismiss Trent Rockets Mignon du Preez for one run in their Hundred match at The Ageas Bowl 2022-09-02 16:13:09
北海道 北海道新聞 息子かたる男らに350万円だまし取られる 旭川の80代男性 https://www.hokkaido-np.co.jp/article/725731/ 男性 2022-09-03 01:15:39
北海道 北海道新聞 息子かたる男らに140万円だまし取られる 札幌市厚別区の70代女性 https://www.hokkaido-np.co.jp/article/725729/ 札幌市厚別区 2022-09-03 01:02:06

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)