AWS |
AWS Compute Blog |
Patterns for building an API to upload files to Amazon S3 |
https://aws.amazon.com/blogs/compute/patterns-for-building-an-api-to-upload-files-to-amazon-s3/
|
Patterns for building an API to upload files to Amazon SThis post explores three different approaches to securely upload content to an Amazon S bucket via HTTPS without the need to build a dedicated API or client application |
2023-05-03 14:00:31 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Rubyメソッドの定義について |
https://qiita.com/Az2Ar/items/e9bdd6bb50a2e1b9ca9d
|
関数 |
2023-05-03 23:30:25 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
【Ruby】irbでLinuxコマンドを使う方法 |
https://qiita.com/shuntaron/items/012d2ef0dcefaf56d361
|
interactiveruby |
2023-05-03 23:29:18 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
rubocopの備忘録① |
https://qiita.com/kajiyai/items/952593849db0e21a9909
|
rubocop |
2023-05-03 23:02:28 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
CloudFormation管理下にあるリソースをたまに削除したり復活したりさせる方法 |
https://qiita.com/TheParkSider/items/2944be959415df53c472
|
cloudformation |
2023-05-03 23:19:49 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Rubyメソッドの定義について |
https://qiita.com/Az2Ar/items/e9bdd6bb50a2e1b9ca9d
|
関数 |
2023-05-03 23:30:25 |
技術ブログ |
Developers.IO |
EC2(Ubuntu 22.04 LTS)に Nextflow の実行環境を構築してみた |
https://dev.classmethod.jp/articles/nextflow-installed-on-ec2/
|
ecubuntults |
2023-05-03 14:32:33 |
技術ブログ |
Developers.IO |
AWS Systems Manager Automation Runbook を CDK で簡単に構築する |
https://dev.classmethod.jp/articles/easily-build-aws-ssm-automation-runbooks-using-cdk/
|
automation |
2023-05-03 14:17:33 |
海外TECH |
MakeUseOf |
How to Make a Template File for Any App on Your Mac |
https://www.makeuseof.com/how-to-make-template-file-mac/
|
macwant |
2023-05-03 14:30:16 |
海外TECH |
MakeUseOf |
How to Detect and Fix a Double NAT Error on Windows |
https://www.makeuseof.com/double-nat-error-windows/
|
windows |
2023-05-03 14:16:16 |
海外TECH |
DEV Community |
Introducing Browser Flashcards |
https://dev.to/callmehongmaybe/introducing-browser-flashcards-2kj1
|
Introducing Browser Flashcards What I builtWhat I built is an automatically generated flashcard repository for language learners that lives in their browsers Category Submission No doubt this is gonna be a Wacky Wildcards submission and possibly Phone Friendly since the app will adapt its layout accordingly to each screen size even though it s not yet qualified as a PWA yet App Link Will change the domain name soon in accordance with the new name ScreenshotsFor your better understanding you can check out the videos below DescriptionBrowser Flashcards formerly Lingohelper is an automatic flashcard generator for language learners designed to live right in your browser You can input a short paragraph or a comma separated list of words and the app will take you to a flashcard editor where you can make edits before saving to your browser storage The project was born out of a desire to provide an efficient vocabulary learning tool that doesn t require a subscription or registration No signup required no ads no cookies no paywall just flashcards For your own benefit Link to Source Code Permissive LicenseThe project s license is Apache Background What made you decide to build this particular app What inspired you Aside from my day job as a dev one of my lesser known side hustle is teaching people languages online By studying their learning experience and preferences I thought it might be cool if there is an app that can help them learn vocabulary efficiently without having to pay for a subscription in Quizlet and without any registration whatsoever How I built it How did you utilize GitHub Actions or GitHub Codespaces Did you learn something new along the way Pick up a new skill I built this project using Next js Tailwind CSS and Dexie js Which is React wrapper for IndexedDB the kind of database that lives in browsers Obviously the project is hosted on Vercel which I m grateful for due to the seamless hosting experience provided without charge One thing I liked about this project is the amount of technical creativity I ve never got to express before in any of my past personal projects through management of mouse events and state management between different components inside the flashcard editor Like when you click a star button the flashcard s gonna turn gold Or when you add a new card the input fields will reset to empty and the deck will be scrolled to the position of the new card I knew sometime before that GitHub Codespace is very similar to Gitpod and I d only need to tell Codespace which repo to host on its cloud Additional Resources InfoThe sortation and categorization of English words comes from a library npm package called natural |
2023-05-03 14:25:57 |
海外TECH |
DEV Community |
Crafting Songs with CHATGPT and Sonic Pi: A Creative Collaboration |
https://dev.to/philipjohnbasile/crafting-songs-with-chatgpt-and-sonic-pi-a-creative-collaboration-4p3d
|
Crafting Songs with CHATGPT and Sonic Pi A Creative CollaborationMusic is a universal language that has the power to evoke emotions communicate stories and connect people With advances in artificial intelligence songwriting is no longer limited to humans alone CHATGPT a powerful language model developed by OpenAI is revolutionizing the way we approach songwriting When combined with Sonic Pi an innovative live coding music synthesizer the possibilities are endless Here we ll explore how you can use CHATGPT and Sonic Pi to craft unique songs that resonate with your creative spirit Getting Started with CHATGPT CHATGPT is an AI model designed to understand and generate human like text based on a given context or prompt It s versatile enough to help you write anything from blog posts to song lyrics To get started you need to have access to the CHATGPT API There are numerous platforms and tools that can help you interact with the model such as OpenAI s website or other third party applications Crafting Lyrics with CHATGPT Once you have access to CHATGPT you can begin generating lyrics by providing it with a prompt or context For example if you want to write a love song you can simply provide a prompt like Write a love song chorus CHATGPT will then generate several lines of lyrics that fit your request You can continue the process to develop verses bridges and other sections of your song Feel free to experiment with different themes styles and genres to create a diverse range of songs Discovering Sonic Pi Sonic Pi is an open source programming environment that allows you to create music through code Designed for both beginners and experienced musicians Sonic Pi provides an accessible platform for composing improvising and performing music To get started download and install Sonic Pi from their official website www sonic pi net Composing Melodies and Harmonies with Sonic Pi Sonic Pi uses the Ruby programming language making it easy to create music by writing simple lines of code Start by exploring the built in samples and synthesizers to create unique sounds You can experiment with different musical elements such as pitch duration and amplitude to craft your melodies and harmonies For example to create a simple melody you can use the play function followed by a note value play sleep play sleep play This code snippet will play three notes C D and E with a one second gap between each note Adding Rhythms and Percussion Sonic Pi makes it easy to add rhythm and percussion to your songs You can either use built in drum samples or create your own percussive sounds using synthesizers Create loops and use various timing functions to control the rhythm and pace of your song For example to create a basic drum beat you can use the following code loop do sample drum heavy kick sleep sample drum snare hard sleep end Integrating CHATGPT Lyrics with Sonic Pi Once you have your lyrics and music it s time to combine them You can do this by using Sonic Pi s text to speech functionality which can convert your CHATGPT generated lyrics into vocal melodies The with synth function allows you to choose a speech synthesizer and the play function can be used to sing the lyrics For example with synth speech do play I can t imagine life without your love release sleep play Every moment spent with you feels like heaven above release sleep play Together we will soar like two birds on the wing release sleep play Forever in each other s arms our hearts will always sing release endThis code snippet will generate synthesized speech for the provided lyrics with a two second duration for each line and a two second pause between them Experiment and Refine The true beauty of using CHATGPT and Sonic Pi lies in the ability to experiment and refine your creations Feel free to play around with different synthesizers samples and code structures to create the perfect song As you become more comfortable with both tools you can even incorporate live coding techniques to improvise and perform your songs in real time Creating a whole song with lyrics and music using CHATGPT and Sonic Pi involves multiple steps Here s a step by step guide to help you craft your masterpiece Step Generate Lyrics with CHATGPTFirst use CHATGPT to create lyrics for your song Provide a prompt with the theme or mood you want to convey For example let s create an uplifting song about resilience Prompt Write an uplifting verse and chorus about resilience Generated Lyrics Verse When the storm arrives and the winds grow strong Remember my friend you re where you belong Through the darkest nights and the heaviest rain You ll find your strength and rise once again Chorus Rise up rise up let your spirit soar Break the chains that hold you let your heart roar No storm can keep you down no wind can blow you away You are resilient and you re here to stay Step Compose Music with Sonic PiNext compose music for your song using Sonic Pi We ll create a simple melody harmony and drum beat Melody define melody do play pattern timed play pattern timed endHarmony define harmony do play chord release sleep play chord release sleep endDrum Beat define drum beat do sample drum heavy kick sleep sample drum snare hard sleep endStep Combine Lyrics and MusicUse Sonic Pi s text to speech functionality to convert your CHATGPT generated lyrics into vocal melodies Verse define verse do with synth speech do play When the storm arrives and the winds grow strong release sleep play Remember my friend you re where you belong release sleep play Through the darkest nights and the heaviest rain release sleep play You ll find your strength and rise once again release endendChorus define chorus do with synth speech do play Rise up rise up let your spirit soar release sleep play Break the chains that hold you let your heart roar release sleep play No storm can keep you down no wind can blow you away release sleep play You are resilient and you re here to stay release endendStep Structure the SongOrganize the different sections to create your song s structure For example let s arrange our song as Verse Chorus Verse Chorus in thread do loop do drum beat endendin thread do loop do harmony endendin thread do loop do melody endendsleep versesleep chorussleep versesleep chorusThis code snippet defines multiple threads using the in thread function to allow the melody harmony and drum beat to play simultaneously The loop function repeats each part indefinitely The sleep function is used to create pauses between sections verse and chorus To hear your creation save the code above in Sonic Pi and press the Run button Remember to adjust the melody harmony drum beat and song structure according to your preferences You can also create additional verses or sections to further develop your song Incorporating AI powered lyric generation with CHATGPT and the live coding capabilities of Sonic Pi opens up a world of creative possibilities for songwriters and musicians Whether you re a seasoned composer or a beginner exploring the world of music this unique collaboration between artificial intelligence and coding can help you craft one of a kind songs that truly express your artistic vision So dive in experiment and let your creativity soar Fly my little birds Fly Let me hear you sing |
2023-05-03 14:25:30 |
Apple |
AppleInsider - Frontpage News |
Rode NT1 fifth-gen microphone review: USB output added to pro-level mic |
https://appleinsider.com/articles/23/05/03/rode-nt1-fifth-gen-microphone-review-usb-output-added-to-pro-level-mic?utm_medium=rss
|
Rode NT fifth gen microphone review USB output added to pro level micThe clever addition of a USB C port broadens the appeal of the fifth generation Rode NT but it is still pro level ーand requires tweaks or additional hardware for the best results The latest edition of the celebrated Rode NT finally adds digital output ーin a clever but slightly awkward way ーwhile preserving everything recording studios and artists love about it For those unfamiliar it s a conventional studio side address cardioid polar pattern microphone with a high quality capsule the traditional three prong XLR connection ーand now USB C The NT was Rode s first microphone in and the fact that it s only on its fifth version in years should speak to its quality and popularity Unlike USB microphones aimed more at home studio or podcasting streaming use previous versions of the NT required a preamp and mixer to adjust things like gain and tone Read more |
2023-05-03 14:42:44 |
海外TECH |
Engadget |
The best smartphones you can buy right now |
https://www.engadget.com/best-smartphones-140004900.html?src=rss
|
The best smartphones you can buy right nowChoosing the best smartphone for your needs can be challenging With so many brands offering similar features at similar prices it can be hard to understand what device actually has the things you want If you ve already determined you only want an iPhone your decision making process is slightly easier And even then Apple s lineup offers more options than ever Those also considering Android will have even more options to choose from and likely more questions Do you want a camera that can zoom into subjects that are extremely far away or do you want intuitive AI that can screen your incoming calls for you Here at Engadget we test smartphones all year round and can help you make sense of what s available and what to look out for And of course we ve included our top picks to help you whittle down your shortlist Android or iOS When you re searching for the best smartphone it becomes clear that each OS has its pros and cons Apple s tight knit ecosystem makes it super easy to share data between iPhones iPads and Macs or seamlessly hand off phone calls or music from one device to another At the same time you re effectively locked in as services like Apple Messages aren t available on other platforms As for Android there s a much wider range of handsets from companies like Google Samsung Sony and more However Android phones don t enjoy that same length of software support and often have lower trade in values In short there s no wrong answer However you will want to consider how your phone will fit in with the rest of your devices So unless you re really fed up with one OS and willing to learn another it probably doesn t make a lot of sense to switch from an iPhone to an Android phone or vice versa especially if everyone else in your household is using the same platform CamerasSince your cell phone often pulls double duty as your primary camera figuring out what kind of photo tools you want is key Nowadays practically every mobile phone can take a great picture in bright light But if you want a long optical zoom you ll probably have to upgrade to a more expensive device Cherlynn Low EngadgetMid range phones often only have two rear cameras a primary wide angle lens and a secondary ultra wide camera and can sometimes struggle in low light situations Each phone maker also has various features that might be a better fit for your style with Apple offering four different color presets on the latest iPhones while Google s Pixel comes with neat tools like dedicated long exposure and action pan modes Will you get G or Wi Fi The good news is that in most phones have at least ac Wi Fi and support for one or more types of G connectivity However if you want the fastest wireless speeds you can get it s going to cost you a bit more For example on certain networks mmWave G offers up to gigabit download speeds less latency and better bandwidth But mmWave G also requires more sophisticated and pricier modems which means support for it is often missing from budget and mid range handsets like the iPhone SE and Pixel a On the bright side mmWave G isn t as widely available as other versions of G so depending on where you live and what network you re on you may not be missing out on much if you buy a phone that doesn t support it It s a similar situation for Wi Fi and Wi Fi e which are available on a number of high end devices but harder to find on less expensive handsets Wi Fi also requires you have to have a compatible router so unless you know you need it or have a specific use case in mind the lack of support for mmWave G or Wi Fi E shouldn t be a dealbreaker when looking for a new phone Other features to considerBecause not everyone agrees on what makes the best phone you should think about any other specs that might be extra important for you Mobile gamers will almost certainly appreciate the Hz refresh rates you get on phones like the Samsung Galaxy S or the Apple iPhone Pro Alternatively if long battery life is important you ll probably want to go with a larger iPhone or an Android phone with a battery that s between and mAh in size Meanwhile if you find yourself juggling a lot of devices it can be really nice to have a phone that supports reverse wireless charging which on Samsung phones even lets you recharge the company s Galaxy Watches Best iOS smartphone iPhone ProThe iPhone Pro features the biggest changes to Apple s flagship line in years With the new Dynamic Island the company is finally sort of ditching the notch and in its place sits a pill shaped cutout to house the front cameras for Face ID In addition to being smaller than before the island also features software tweak that makes notifications media playback and ongoing activities look more cohesive But it s not just the Dynamic Island that makes the iPhone Pro feel like a notable upgrade The new Always On Display manages to help you stay on top of your notifications without overly draining battery while the upcoming Emergency SOS via Satellite lets you explore further with some peace of mind Those who aren t ready to give up physical SIM cards may be reluctant to go for this year s phones since they don t have onboard slots and are fully eSIM But thankfully Apple s setup and conversion process makes switching over painless With excellent performance capable cameras and respectable battery life the iPhone Pro is the best Apple handset money can buy Cherlynn Low Deputy EditorBest Android smartphone Samsung Galaxy S UltraThe Galaxy S Ultra has pretty much everything you could want or need on a super premium flagship phone It features a gorgeous inch AMOLED display with a Hz refresh rate a speedy Snapdragon Gen chip longer battery life and a built in S Pen for all your drawing and notetaking needs New for is a huge MP sensor for the phone s main cam which comes with improved OIS K fps video recording and some additional photography tools in the Expert RAW app The main downsides are that starting at the S Ultra is as expensive as ever and while its advanced photo and video features have a lot of potential you need to put in some extra time and effort to get the most out of them And because the phone s design display and most of its cameras are so similar to previous models anyone who bought an S last year can safely skip upgrading this time around But for people who want a true do everything handset the S Ultra is in a class of its own and is our pick for the best Android phone Sam Rutherford Senior ReporterBest midrange Android smartphone Google Pixel aIf all you want is a simple affordable and easy to use phone without any unnecessary bells and whistles the Pixel a is the best phone to choose Starting at the a features a colorful inch OLED display while Google s excellent photo processing produces pics that match what you get from phones that cost twice as much It particularly excels with nighttime photography thanks in part to Night Sight a feature that brightens up dim environments and brings out more detail overall Google upgraded the Pixel a s design to look more like its flagship phones plus you also get handy IP dust and water resistance too There s also an under display fingerprint reader for another layer of security As far as specs go you re getting Google s Tensor chipset GB of RAM and GB of storage which all translates into excellent performance And unlike a lot of other midrange phones the Pixel a enjoys strong software support with Google promising regular software updates for the next five years S R Best midrange iPhone iPhone SE With an A Bionic chip and iOS the latest Apple iPhone SE is possibly the most powerful phone you can find for under Sure it has a dated design but some folks might actually appreciate the retro look The best thing about the iPhone SE is its home button It s the only new iPhone to have Touch ID And though it only has a single rear camera the SE still takes solid pictures If you can get over the small low res screen the iPhone SE will serve you well It s also really the only sub option for iOS diehards If you re open to considering Android and want to spend less than consider something from Samsung s Galaxy A series or the OnePlus Nord N Those looking to spend even less can check out the Moto G Power just be prepared to compromise on features like display and cameras at lower prices C L Best camera on a smartphone Pixel ProIt s hard for me to leave the house without the Pixel Pro my pick for best camera phone As long as there s a chance I might want to take photos I make sure I ve brought Google s latest flagship The Pixel Pro s triple rear camera system is versatile enough to capture anything from the largest group shots or wide landscapes to faraway animals like that time I thought I spotted a whale when staring at a distant blob from Acadia National Park Google s Night Sight still outperforms the competition when taking pictures in low light too and its computational photography delivers clear vivid photos Of course Samsung and Apple s flagships are closing the gap and these days there is little difference between the photos they deliver Some people might even prefer the warmer tint on Galaxy devices But special features like Google s Magic Eraser and Motion effects make the Pixel Pro the most fun to shoot with Plus I love the additional tools you get on Pixel phones like Call Screening Material You theming and Live Captions among others C L Best foldable for multitasking Samsung Galaxy Z Fold For people who want a big powerful phone that adapts to their needs Samsung s Galaxy Z Fold is in a class of its own On this year s model Samsung has refined the Fold s dimensions adding a sleeker hinge and a slightly wider cover screen that makes it easier to type and use one handed Inside the phone s inch flexible main display is brighter too upwards of nits and thanks to a redesigned taskbar that lives along the bottom of the screen multitasking and launching app pairs is easier than ever Other improvements include a x zoom lens in back and a new MP main sensor And while the MP under display cam hidden beneath its main display isn t good for much more than video calls its new sub pixel matrix helps camouflage its existence even better Unfortunately the Z Fold is still sorta bulky and at it s definitely not cheap But if you ve dreamed about a phone that can transform into a tablet at a moment s notice while also delivering multitasking features unmatched by any other phone this thing is the ultimate choice for mobile productivity ーS R Best foldable for selfies Samsung Galaxy Z Flip While the Z Flip doesn t offer the same kind of screen space as its bigger and more expensive sibling it s way more compact and thanks to its size and hinge it s great at propping itself up on a table for shooting selfies On top of that Samsung has also increased its exterior screen size so that it s easier to frame up pics without opening the phone And with the addition of a new Snapdragon Gen chip this flip phone model offers significantly better battery life than before Meanwhile for gadget lovers that also appreciate a bit of style the Bespoke Edition of the Z Flip lets you customize the color of the phone s exterior panels so you can make sure your foldable phone doesn t look like anyone else s ーS R This article originally appeared on Engadget at |
2023-05-03 14:15:12 |
海外科学 |
NYT > Science |
‘A New Spike’ in Global Temperatures in the Forecast |
https://www.nytimes.com/2023/05/03/climate/el-nino-extreme-weather-2024.html
|
A New Spike in Global Temperatures in the ForecastThe World Meteorological Organization reports increased odds that El Niño the global weather pattern often tied to intense heat will arrive by fall |
2023-05-03 14:15:36 |
ニュース |
BBC News - Home |
Kremlin drone attack: Russia accuses Ukraine of trying to assassinate Putin |
https://www.bbc.co.uk/news/world-europe-65471904?at_medium=RSS&at_campaign=KARANGA
|
moscow |
2023-05-03 14:51:54 |
ニュース |
BBC News - Home |
Stephen Tompkinson trial: Actor 'caused traumatic brain injuries' |
https://www.bbc.co.uk/news/uk-england-tyne-65466493?at_medium=RSS&at_campaign=KARANGA
|
hears |
2023-05-03 14:10:56 |
ニュース |
BBC News - Home |
Russian driver Mazepin begins High Court bid to lift UK sanctions |
https://www.bbc.co.uk/sport/formula1/65472770?at_medium=RSS&at_campaign=KARANGA
|
action |
2023-05-03 14:28:46 |
ニュース |
BBC News - Home |
Tori Bowie: American three-time Olympic medallist and ex-world champion dies aged 32 |
https://www.bbc.co.uk/sport/athletics/65471163?at_medium=RSS&at_campaign=KARANGA
|
champion |
2023-05-03 14:44:20 |
ニュース |
BBC News - Home |
ECB recommends fines and bans for ex-Yorkshire players found to have used racist language |
https://www.bbc.co.uk/sport/cricket/65472292?at_medium=RSS&at_campaign=KARANGA
|
ECB recommends fines and bans for ex Yorkshire players found to have used racist languageThe England and Wales Cricket Board recommend fines and bans for former Yorkshire players found to have used racist language |
2023-05-03 14:24:26 |
ニュース |
BBC News - Home |
Your guide to the King's Coronation weekend |
https://www.bbc.co.uk/news/uk-65254834?at_medium=RSS&at_campaign=KARANGA
|
coronation |
2023-05-03 14:52:47 |
コメント
コメントを投稿