IT |
ITmedia 総合記事一覧 |
[ITmedia News] 「Amazonプライムデー」スタート 「AirPods Pro」現行モデルなどApple製品も特価に 最大39%オフ |
https://www.itmedia.co.jp/news/articles/2307/11/news074.html
|
airpodspro |
2023-07-11 02:30:00 |
AWS |
AWS News Blog |
AWS Week in Review – AWS Glue Crawlers Now Supports Apache Iceberg, Amazon RDS Updates, and More – July 10, 2023 |
https://aws.amazon.com/blogs/aws/aws-week-in-review-aws-glue-crawlers-now-supports-apache-iceberg-amazon-rds-updates-and-more-july-10-2023/
|
AWS Week in Review AWS Glue Crawlers Now Supports Apache Iceberg Amazon RDS Updates and More July The US celebrated Independence Day last week on July with fireworks and barbecues across the country But fireworks weren t the only thing that launched last week Let s have a look Last Week s Launches Here are some launches that got my attention AWS Glue AWS Glue Crawlers now supports Apache Iceberg tables Apache Iceberg … |
2023-07-10 17:48:47 |
AWS |
AWS Media Blog |
Generating input preview thumbnails using AWS Elemental MediaLive |
https://aws.amazon.com/blogs/media/generating-input-preview-thumbnails-using-aws-elemental-medialive/
|
Generating input preview thumbnails using AWS Elemental MediaLiveWithin the media and broadcast industry there is an incumbent need for broadcast operators to maintain visibility of video workflow health and performance AWS Elemental MediaLive is a broadcast grade live video processing service nbsp that creates high quality streams for delivery to broadcast TVs and internet connected devices nbsp MediaLive has a rich set of alerts Amazon CloudWatch Events and … |
2023-07-10 17:23:11 |
golang |
Goタグが付けられた新着投稿 - Qiita |
gocsvで読み込んだデータに手を加えて構造体に入れたい |
https://qiita.com/lapis2411/items/237c5afe663df39cfd98
|
gocsv |
2023-07-11 02:45:44 |
海外TECH |
Ars Technica |
Windows 95, 98, and other decrepit versions can grab online updates again |
https://arstechnica.com/?p=1952418
|
againretro |
2023-07-10 17:33:58 |
海外TECH |
Ars Technica |
These are the oldest stone tools ever found in the United States |
https://arstechnica.com/?p=1952361
|
americas |
2023-07-10 17:25:07 |
海外TECH |
DEV Community |
How to build a Telegram Bot with ChatGPT integration. |
https://dev.to/xamhans/how-to-build-a-telegram-bot-with-chatgpt-integration-5elp
|
How to build a Telegram Bot with ChatGPT integration This tutorial explains step by step how to build a custom Telegram chatbot that can interact with OpenAI ChatGPT The tutorial is written in Python and uses the python telegram bot and openai packages Create Telegram ChatbotOpen your IDE and create a file named telegram bot py We are going to use this package that will help us to create the telegram bot Make sure to install it withpip install python telegram botAfter installing paste in this code to your telegram bot py file import loggingimport osfrom telegram import Updatefrom telegram ext import ApplicationBuilder CommandHandler ContextTypes MessageHandler filters logging basicConfig format asctime s name s levelname s message s level logging INFO TELEGRAM API TOKEN os getenv TELEGRAM API TOKEN async def start update Update context ContextTypes DEFAULT TYPE await context bot send message chat id update effective chat id text I m a bot please talk to me async def echo update Update context ContextTypes DEFAULT TYPE await context bot send message chat id update effective chat id text update message text if name main application ApplicationBuilder token TELEGRAM API TOKEN build start handler CommandHandler start start echo handler MessageHandler filters TEXT amp filters COMMAND echo application add handler start handler application add handler echo handler application run polling We are defining two handlers one command helper so if you type start in telegram and one message handler The message handler funcion echo for testing purposes only gives back what the user typed So let s try out our bot But before we can do this we need to register our bot at telegram in order to get the API KEY Register our bot at telegramHead over to and log in with your smartphone Use the search bar to search for “BotFather Start the registration with the start command It lists all possible commands we go further with newbot to register a new bot Now try to find a good name for your bot I had some struggles After successful registration you will get a message from BotFather that your bot is registered where you can find it and the token to access it Copy this token Create a env file in the same directory as the telegram bot py file and add the following line to it TELEGRAM API TOKEN lt your telegram api token gt Replace lt your telegram api token gt with your actual Telegram API token provided by BotFather We can now test your telegram bot In your IDE open a terminal and in the path where you script is start the bot withpython telegram bot py Open the link where you can find your bot or use the search bar on telegram to find it Click the start button and lets write something Sweet We have successfully achieved part What we now need to do is to connect our bot with ChatGPT The idea is simple the bot is taking the users input We will query ChatGPT with this input and redirect the answer from ChatGPT back to our user Lets go Create the CHAT GPT ClientLet s create a new python file that will handle all the ChatGPT Stuff I will call it“chatgpt client py We are going to use the official openai python package to query chatgpt api lets install the openai python package with pip install openaiCopy this code to the new created file import osimport openaiopenai api key os getenv OPENAI API KEY def request chat gpt user message try completion openai ChatCompletion create model gpt turbo messages role user content user message return comletion choices message content except Exception as e print f An error occurred e return Return an empty string or handle the error appropriatelyNow move to the openAI website and get your token Place the API key in the env file add the following line OPENAI API KEY lt your openai api key gt Replace lt your openai api key gt with your actual OpenAI API key To use the openai integration in the echo handler we can replace the line await context bot send message chat id update effective chat id text update message text with the following response request chat gpt update message text await context bot send message chat id update effective chat id text response Of course don t forget to import the functionfrom chatgpt client import request chat gptThis will send the user s input to the request chat gpt function which will use the OpenAI API to generate a response The response will then be sent back to the user via the echo handler Thats all Hope you enjoyed this one Next time we are going to build a AirBnB Chatbot that can respond to guests with custom knowledge like Wifi Passwort or Checkout Times sounds cool right If you don t want to miss this article go to my site and subscribe the Newsletter I would really appreciate this ️ |
2023-07-10 17:37:15 |
海外TECH |
DEV Community |
In the Footsteps of Poul Gernes — Making an Interactive Art Poster |
https://dev.to/madsstoumann/in-the-footsteps-of-poul-gernes-making-an-interactive-art-poster-5580
|
In the Footsteps of Poul Gernes ーMaking an Interactive Art PosterPoul Gernes was a very colorful danish artist furniture designer and founder of an art school He caused quite a stir back in where he turned a famous white washed cinema in Copenhagen The Palace into something very colorful It was not to everybody s taste ーbut now more than years after it s a national treasure And while the owner wants to renew it many people think the building should be protected In years after Gernes passed away a retrospectve exhibition was held at the famous danish art museum Louisiana I had completely forgotten about Gernes dot paintings ーso when I saw this poster the other day I just had to re create it It s so simple yet hypnotic and beautiful Let s code an interactive version of it Coding GernesThe poster is a simple column grid within a container using cqi values so it s responsive The size of the dots require a little bit of math The black frame around the poster is cqi the padding within is cqi and the gap between the cells is also cqi That s × × × ーa total of cqi Since the container is cqi that leaves cqi for the dots ーso each dot is sz calc cqi Making it interactiveWouldn t it be great if you could click on each color and change it We can do that with lt input type color gt ーstyled a bit of course input sz calc cqi background transparent border border radius height var sz padding width var sz amp webkit color swatch amp webkit color swatch wrapper border border radius inherit padding Next the grey lines crossing the middle of the painting For these we ll use two linear gradients fieldset background image linear gradient deg transparent var line DFDFD calc px transparent calc px linear gradient deg transparent var line DFDFD calc px transparent calc px I think the main font on the poster is Gotham by Hoefler amp Co Gotham is similar to Paul Renner s Futura so I searched for a free font resembling Futura and ended up with Jost The font size was also specified with cqi units and ーvoilàーwe have an interactive Gernes poster When clicking on a dot you ll see your browser s built in color picker While prepearing for this article I googled Gernes and found another variant of the dot painting above With a small JavaScript snippet we can easily update the existing poster by iterating all the lt input type color gt and set a new value from an array of colors const dots F DD AF A BA DB F B BD FD FFCC FCF DC EBD FB D BF DDD AA A EDFD DE BF FD C BEE ACE C And then simply dots forEach dot index gt app elements index value dot Let s also update the background and lines app style cssText bg FE line and we get DemoHere s a Codepen You can click on the toggler below the poster to toggle between the two versions we ve created in this tutorial And you can click on each dot to change it s color I hope you ll have fun creating your own take on a Gernes dot poster |
2023-07-10 17:19:12 |
Apple |
AppleInsider - Frontpage News |
CarPlay can now control a Porsche's air conditioning & more |
https://appleinsider.com/articles/23/07/10/carplay-can-now-control-a-porsches-air-conditioning-more?utm_medium=rss
|
CarPlay can now control a Porsche x s air conditioning amp morePorsche has updated a companion app for its cars that makes it easier for drivers to manage various functions of the vehicle from within the CarPlay interface Porsche controls within CarPlayAnnounced as an update on Monday the My Porsche app provides access to a number of elements of the vehicle including the level of charge in the battery setting navigation system destinations and to adjust the air conditioning In an update to the app these functions are now accessible within CarPlay Read more |
2023-07-10 17:20:07 |
Apple |
AppleInsider - Frontpage News |
Apple rolls out fifth developer betas for watchOS 9.6 & tvOS 16.6 |
https://appleinsider.com/articles/23/07/10/apple-rolls-out-fifth-developer-betas-for-watchos-96-tvos-166?utm_medium=rss
|
Apple rolls out fifth developer betas for watchOS amp tvOS Apple has released the fifth developer betas for watchOS and tvOS bringing unspecified changes and fixes Apple Watch UltraDevelopers in the beta program can access the newest versions via Apple Developer Center or update their device in Settings Public beta participants can usually get the latest versions soon after the developer releases them through the Apple Beta Software Program Read more |
2023-07-10 17:18:26 |
Apple |
AppleInsider - Frontpage News |
Apple releases fifth developer beta for iOS 16.6 and iPadOS 16.6 |
https://appleinsider.com/articles/23/07/10/apple-releases-fifth-developer-beta-for-ios-166-and-ipados-166?utm_medium=rss
|
Apple releases fifth developer beta for iOS and iPadOS Apple has rolled out the latest update to the beta program for iOS and iPadOS Developers can now access the fifth beta version for testing purposes New beta of iOS now availableDevelopers in the program can obtain the latest builds by visiting the Apple Developer Center or updating their iPhone or iPad through the Settings app Following that public beta versions are usually released shortly after the developer versions giving users the chance to participate through the Apple Beta Software Program Read more |
2023-07-10 17:26:29 |
Apple |
AppleInsider - Frontpage News |
Apple seeds fifth developer beta for macOS 13.5 Ventura |
https://appleinsider.com/articles/23/07/10/apple-seeds-fifth-developer-beta-for-macos-135-ventura?utm_medium=rss
|
Apple seeds fifth developer beta for macOS VenturaApple has rolled out the latest update to the beta program for macOS Ventura and developers can now access the fifth beta version for testing purposes The newest macOS Ventura beta is now availableDevelopers in the program can obtain the latest builds by visiting the Apple Developer Center or updating their Mac through the Settings app Following that public beta versions are usually released shortly after the developer versions giving users the chance to participate through the Apple Beta Software Program Read more |
2023-07-10 17:14:49 |
Apple |
AppleInsider - Frontpage News |
Deals: Apple Pencil 2 $89, AirPods $75, $100 off 15-inch MacBook Air, OWC Thunderbolt Go Dock $279, more |
https://appleinsider.com/articles/23/07/10/deals-apple-pencil-89-airpods-75-100-off-15-inch-macbook-air-owc-thunderbolt-go-dock-279-more?utm_medium=rss
|
Deals Apple Pencil AirPods off inch MacBook Air OWC Thunderbolt Go Dock moreToday s hottest deals include off a Ring Spotlight Cam Plus off an Echo Show off an Arlo p HD security camera off an OWC Thunderbolt Go dock and more Save on a inch MacBook AirThe AppleInsider team combs the web for unbeatable bargains at online retailers to create a list of top notch deals on popular tech products including discounts on Apple products TVs accessories and other gadgets We share the best deals to help you save money Read more |
2023-07-10 17:06:52 |
海外TECH |
Engadget |
Sarah Silverman sues OpenAI and Meta over copyright infringement |
https://www.engadget.com/sarah-silverman-sues-openai-and-meta-over-copyright-infringement-175322447.html?src=rss
|
Sarah Silverman sues OpenAI and Meta over copyright infringementSarah Silverman is suing OpenAI On Friday the comedian and author alongside novelists Christopher Golden and Richard Kadrey filed a pair of complaints against OpenAI and Meta via Gizmodo The group alleges the firms trained their large language models on copyrighted materials including works they published without obtaining consent The complaints center around the datasets OpenAI and Meta allegedly used to train ChatGPT and LLaMA In the case of OpenAI while it s quot Books quot dataset conforms approximately to the size of Project Gutenberg ーa well known copyright free book repository ーlawyers for the plaintiffs argue that the “Books datasets is too large to have derived from anywhere other than so called quot shadow libraries quot of illegally available copyrighted material such as Library Genesis and Sci Hub Everyday pirates can access these materials through direct downloads but perhaps more usefully for those generating large language models many shadow libraries also make written material available in bulk torrent packages One exhibit from Silverman s lawsuit involves an exchange between the comedian s lawyers and ChatGPT Silverman s legal team asked the chatbot to summarize The Bedwetter a memoir she published in The chatbot was not only able to outline entire parts of the book but some passages it relayed appear to have been reproduced verbatim Silverman Golden and Kadrey aren t the first authors to sue OpenAI over copyright infringement In fact the firm faces a host of legal challenges over how it went about training ChatGPT In June alone the company was served with two separate complaints One is a sweeping class action suit that alleges OpenAI violated federal and state privacy laws by scraping data to train the large language models behind ChatGPT and DALL E This article originally appeared on Engadget at |
2023-07-10 17:53:22 |
海外TECH |
Engadget |
This EV is basically an RC car hit with a growth ray |
https://www.engadget.com/this-ev-is-basically-an-rc-car-hit-with-a-growth-ray-170737868.html?src=rss
|
This EV is basically an RC car hit with a growth rayIf you ve ever wanted to point that ole growth ray at your childhood toys UK based The Little Car Company has got you covered The organization has built an adult sized version of the Tamiya Wild One RC car that took the kid world by storm back in the s as reported by Car and Driver This is a fully electric vehicle with eight swappable battery packs that add up to an advertised miles of range The Wild One Max has got plenty of get up and go with a top speed of mph However the main draw is just how closely this full size vehicle resembles its fun size cousin Just look at this thing Even cooler The EV makes its public debut next weekend at the Goodwood Festival of Speed in West Sussex England which is where many manufacturers unveil wacky automobile concept designs This is more than just a concept car though as it s going to be street legal and available for purchase with an estimated cost of around You won t be able to cruise the hills of Virginia with this beast however as it s only launching in the UK due to US based federal vehicle standards The Tamiya Wild One Max was originally announced back in but the design has changed significantly since then It s bigger more powerful and of course more expensive as the original design was set to cost around The new design also features a revised front suspension system an interior that fits two occupants and an overall weight of pounds Interestingly manufacturer The Little Car Company is better known for shrinking classic cars into smaller sized collectibles and not the other way around It looks like the company has gone from Honey I Shrunk the Kids to Honey I Blew Up the Kid More power to em If you re in Europe with cash to burn you can purchase an optional Road Pack along with the EV that includes a windscreen a pair of tiny wipers mirrors mudguards and detachable lights Though this vehicle qualifies as a quadricycle in Europe thus allowing it to be registered for road use you won t be able to take this thing on highways This article originally appeared on Engadget at |
2023-07-10 17:07:37 |
ニュース |
BBC News - Home |
Claims about BBC star 'rubbish' - young person's lawyer |
https://www.bbc.co.uk/news/entertainment-arts-66159357?at_medium=RSS&at_campaign=KARANGA
|
claims |
2023-07-10 17:28:30 |
ニュース |
BBC News - Home |
Tewkesbury school stabbing: Boy arrested in attempted murder inquiry |
https://www.bbc.co.uk/news/uk-england-gloucestershire-66157339?at_medium=RSS&at_campaign=KARANGA
|
firearms |
2023-07-10 17:06:09 |
ニュース |
BBC News - Home |
Bangkok elevated highway under construction collapses |
https://www.bbc.co.uk/news/world-asia-66159448?at_medium=RSS&at_campaign=KARANGA
|
bangkok |
2023-07-10 17:22:03 |
ニュース |
BBC News - Home |
No 10 warned Israel boycotts bill enables Russia |
https://www.bbc.co.uk/news/uk-politics-66155179?at_medium=RSS&at_campaign=KARANGA
|
boycotts |
2023-07-10 17:14:42 |
ニュース |
BBC News - Home |
Spain coast guard rescues 86 people during search for missing migrant boat |
https://www.bbc.co.uk/news/world-europe-66150788?at_medium=RSS&at_campaign=KARANGA
|
senegal |
2023-07-10 17:37:13 |
ニュース |
BBC News - Home |
Wimbledon 2023: British women's doubles team reach last eight |
https://www.bbc.co.uk/sport/tennis/66156317?at_medium=RSS&at_campaign=KARANGA
|
Wimbledon British women x s doubles team reach last eightBritain will have a women s doubles pair in the quarter finals of Wimbledon for the first time since after Naiktha Bains and Maia Lumsden secured their place on Monday |
2023-07-10 17:22:01 |
ニュース |
BBC News - Home |
Wimbledon 2023: Elena Rybakina and Ons Jabeur through to quarter-finals |
https://www.bbc.co.uk/sport/tennis/66156311?at_medium=RSS&at_campaign=KARANGA
|
Wimbledon Elena Rybakina and Ons Jabeur through to quarter finalsOns Jabeur sweeps past a below par Petra Kvitova to reach the Wimbledon quarter finals and set up a repeat of last year s final against Elena Rybakina |
2023-07-10 17:25:01 |
ビジネス |
不景気.com |
テーオーの23年5月期は4億円の最終赤字へ、資材・物価影響 - 不景気com |
https://www.fukeiki.com/2023/07/to-hd-2023-loss.html
|
最終赤字 |
2023-07-10 17:15:40 |
コメント
コメントを投稿