AWS |
AWS - Webinar Channel |
Best Practices to Migrate Oracle Database to Amazon RDS - AWS Online Tech Talks |
https://www.youtube.com/watch?v=pE_YuMgfZQc
|
Best Practices to Migrate Oracle Database to Amazon RDS AWS Online Tech TalksIn this Online Tech Talk hear from Nathan Fuzi Oracle Database Solutions Architect for AWS as he details best practices for migrating your on prem Oracle database to Amazon RDS In this session you will get an overview of the business value of migrating to AWS an introduction to AWS database migration tools programs and partners as well as a deep dive into a framework for repeatable migration success Learning Objectives Objective Attendees will gain an understanding of the various migration tools programs and partners AWS offers to help with an Oracle database migration Objective Attendees will gain an understanding of a proven framework to assess mobilize and execute a successful migration Objective Attendees will learn about AWS RDS Custom a new RDS engine designed for applications that require operating system and database customization ideal for custom or Oracle applications To learn more about the services featured in this talk please visit |
2022-04-26 18:46:35 |
海外TECH |
MakeUseOf |
This Easy Trick Makes Windows 10 Start Up Faster |
https://www.makeuseof.com/tag/easy-trick-windows-10-start-faster/
|
This Easy Trick Makes Windows Start Up FasterThere are plenty of ways you can fix slow boot times on a Windows computer but one of the simplest things you can do only takes a few minutes of your time |
2022-04-26 18:15:14 |
海外TECH |
DEV Community |
Using KotlinJS and NPM to create a Discord Bot - Discord Bot Series (Part 2) |
https://dev.to/kevinschildhorn/using-kotlinjs-and-npm-to-create-a-discord-bot-discord-bot-series-part-2-1n6e
|
Using KotlinJS and NPM to create a Discord Bot Discord Bot Series Part Discord is a great platform for keeping in touch with friends and adding a bot can enrich that experience A bot can respond to messages perform an action based on a command or even add music to a voice chat In this series we ll be going over how to create a small example bot by using the NPM module for DiscordJS in a KotlinJS project Note This is the second post in a series of three posts about how to use KotlinJS and NPM modules to create a full fledged project in this case a Discord Bot You can find the first post here PreviouslyIn my last post we went over how to import node modules into our KotlinJS project and created a simple project to test our imports In this post we ll go over how to add DiscordJS to our project and start creating our bot Let s get started As a refresher in this series we re going to create a small discord bot that responds to a specific message with its computer name Registering a Discord BotBefore digging into code make sure you register a bot Choose New Application add a name and click create You can find more documentation on this process here After you create your bot you should see this screen Click on the Bot tab on the left and in the Build a bot section click add bot Once you ve done this you ll have created a bot Be sure to keep the token from this screen for use in the project Also be sure to register your bot to your Channel using this guide Initializing DiscordJSFor our KotlinJS project we ll be using DiscordJs which is a well documented and widely used node module for discord So first we ll add the dependency to the build gradle file like before dependencies implementation npm discord js Then we can reference the Creating the main file documents to find out how to launch the bot We can see that the client is initialized then it listens for messages then finally calls to login This is in Javascript but the kotlin implementation will look mostly the same First we need to define the Client class So we ll go to the documentation for the client and see what we need to define We can see that Client takes in ClientOptions to init Client inherits from EventEmitter which is how once is calledClient login function takes in a string token and returns a string promise InitBefore we go defining ClientOptions and potentially going down the rabbit hole we can see that it s defined as an object In this case we can just pass a Json object in the constructor JsModule discord js external class Client config Json const val GUILDS lt lt val client Client json Pair intents arrayOf GUILDS The client takes in intents which is an array of just Intents FLAGS GUILDS If we follow the documentation from DiscordJS to the intents we can find their definition here We see that Intents FLAGS GUILDS is lt lt or so we ll pass that OnceThis function we can figure out by the simple call This is just to let us know the client is ready so we ll just print out a confirmation JsModule discord js external class Client config Json fun once event String cb Unit gt Unit client once ready println Hello From computerName We can tell that it takes in a string and returns a block Since there s no input or output we can just use Unit which acts as void LoginBased on what we learned we can define this easily The token we will pass in comes from your created bot on the discord site This was the token that was grabbed from the beginning of this post JsModule discord js external class Client config Json fun login token String Promise lt String gt Main ktclient login YOUR TOKEN In this case we can tell the function returns a Promise from the DiscordJS documentation Running your botAt this point all the calls should be in your Main kt should look something like this const val GUILDS lt lt val client Client json Pair intents arrayOf GUILDS client once ready println Hello From computerName client login token If you run it you should be able to see your computer name in the terminal and your bot should be online Responding to MessagesThis is great that the bot is running however right now it s not doing anything So let s get the bot to respond to a message Note intentIn order for the bot to get messages the client needs to register another intent GUILDS MESSAGES const val GUILDS lt lt const val GUILDS MESSAGES lt lt val client Client json Pair intents arrayOf GUILDS GUILDS MESSAGES Defining MessagesSo first we ll quickly define a message as that s what s passed in From the docs we can see a message contains a content string the author and the channel it was sent in we re going to use the channel to send the reply to and use the author to create a personalized message To make things quicker I ve defined what we need from the documentation below external class Message val author User val channel TextChannel val content String external class User val avatar String val username String external class TextChannel fun send content Any Promise lt Message gt Listening for MessagesWith that being set we can then go to the Client definition and add a listener for the message external class Client config Json fun on event String cb item Message gt Unit So now we can listen for message events or rather messageCreate events defined in the migration guide client on messageCreate message gt print message content To go even further let s implement our desired code We ll check to see if someone says hello and if they do respond with their name and the bots computer name client on messageCreate message gt if message content hello message channel send Hello message author username From computerName Now build and run the bot and say hello You should see a response like so ConclusionCongrats You ve made a working Discord Bot You now have the basics to expand your bot to respond to lots of different messages in many ways After playing around with the bot you may realize that there are some uncaught issues for example the bot won t respond if there s a space in the message or if Hello is capitalized In the next post of this series we ll go over how we can write tests to catch these issues and make sure our bot works the way we expect Thanks for reading Let me know in the comments if you have questions Also you can reach out to me at kevinschildhorn on Twitter |
2022-04-26 18:37:31 |
Apple |
AppleInsider - Frontpage News |
Apple updates AirTag firmware to version 1.0.301 for 1% of devices |
https://appleinsider.com/articles/22/04/26/apple-updates-airtag-firmware-to-version-10301-for-1-of-devices?utm_medium=rss
|
Apple updates AirTag firmware to version for of devicesApple has released an update for AirTags refreshing the firmware of the compact tracker and bringing it up to version Released alongside other betas on Tuesday the AirTag firmware update is build number A replacing the previous build A It is unclear exactly what has been updated in the firmware as Apple has yet to release notes about the update itself While users normally have ways to update the firmware of devices manually there is no such option for AirTag and instead users have to wait for it to occur on its own Read more |
2022-04-26 18:59:06 |
Apple |
AppleInsider - Frontpage News |
Studio Display update 15.5 with webcam fix now available for beta testers |
https://appleinsider.com/articles/22/04/26/studio-display-update-155-with-webcam-fix-now-available-for-beta-testers?utm_medium=rss
|
Studio Display update with webcam fix now available for beta testersTesters running the third developer beta of macOS Monterey can update their Studio Display to Firmware Update and Apple confirms this update aims to fix webcam quality issues Studio Display Firmware Update available to macOS beta testersApple calls the update Studio Display Firmware Update but previous sleuthing revealed the Studio Display runs a version of iOS The new update aims to provide a fix for the webcam quality issues reported by users Read more |
2022-04-26 18:10:55 |
海外TECH |
Engadget |
Ableton's updated Learning Synths website can record and export your musical doodles |
https://www.engadget.com/ableton-learning-synths-update-185544128.html?src=rss
|
Ableton x s updated Learning Synths website can record and export your musical doodlesSince Ableton s Learning Synths website has been a fun and free way to learn all the cool things you can do with synthesizers If you don t know what oscillators filters and envelopes do the company will teach you Best of all you don t need anything other than a modern web browser to start And if you want another excuse to check it out Ableton just rolled out a new update The latest version of the website allows you to export whatever you create with the included Playground soft synth to Ableton Live It s now also possible to capture up to seconds of audio allowing you to record the synth as you experiment with it On the interface front Ableton has added an “Open in Playground button that enables you to jump directly to the soft synth from a lesson Additionally the synth includes a new configurable XY pad adding to the amount of experimentation possible Oh and there s a dark mode now too and the addition of Turkish Finnish and Portuguese language support All of that should make the tool accessible to even more people |
2022-04-26 18:55:44 |
海外TECH |
Engadget |
Ford starts production of its F-150 Lightning electric pickup |
https://www.engadget.com/ford-starts-f-150-lightning-production-182232321.html?src=rss
|
Ford starts production of its F Lightning electric pickupThe electric pickup truck market is now truly competitive Ford has started quot full quot production of the F Lightning at its Rouge Electric Vehicle Center in Dearborn Michigan roughly four months after it stopped taking reservations The company will start shipping the base Pro model in the quot coming days quot Ford said at an event below It s not certain how many Lightnings will reach customers this year but Ford expected output to scale to trucks per year in The automaker capped reservations at and has stopped taking orders for the model year About three quarters of these potential adopters don t currently drive Ford vehicles the company said The firm added that quot many quot are first time EV or truck buyers but didn t provide figures The electric F promises usual EV benefits like acceleration MPH in seconds with an extended battery and strong near instant torque lb ft with up to a mile range However it also has a few uncommon perks The front trunk is unusually cavernous at over cubic feet and owners can power their homes work tools and eventually the electrical grid FordThe main allure however remains the price While the base Pro model won t satisfy some you ll have to pay to get an XLT with the extended battery that makes it the most affordable electric pickup available and within reach of many conventional F buyers Rivian s RT starts at Tesla originally quoted a entry point for the Cybertruck but it stopped listing prices Chevy doesn t deliver its starter Silverado EV until This isn t the first electric pickup in the US Rivian began production in September As Ford is keen to point out though the F is still the best selling passenger vehicle in the US While the Lightning is unlikely to outsell its conventional sibling in the near future its familiar name could draw in EV newcomers who were wary of smaller brands or even the Mustang Mach E At the least it puts pressure on Chevy Rivian and others hoping to challenge Ford s cargo hauler |
2022-04-26 18:22:32 |
海外TECH |
Engadget |
The latest macOS beta includes a fix for the Studio Display webcam |
https://www.engadget.com/apple-studio-display-webcam-fix-macos-monterey-181307080.html?src=rss
|
The latest macOS beta includes a fix for the Studio Display webcamWhen we got our hands on Apple s Studio Display last month one issue soon became apparent the webcam offered pretty subpar image quality Apple said it was working on a fix and now that software update is starting to make its way into the wild as part of the latest macOS Monterey beta Here s Apple s comment on today s Studio Display beta update fixFull text in the ALT description pic twitter com jmYeBeaーRene Ritchie reneritchie April quot An update to the Studio Display firmware is now available with today s beta release of macOS Monterey quot Apple said quot This beta update has refinements to the Studio Display camera tuning including improved noise reduction contrast and framing quot In his review of the Studio Display Senior Editor Devindra Hardawar wrote that the webcam was quot surprisingly grimy quot and images captured with it appeared as though they were quot covered in a layer of Vaseline quot That s despite the Studio Display having a megapixel sensor and an A chip to help with image processing Apple doesn t typically take long between rolling out a beta and reading a new version of an OS publicly so this update will likely be available to all Studio Display owners soon Once you ve installed the latest macOS Monterey beta or the upcoming public build on your Mac you can update your connected Studio Display by going to System Preferences then selecting Software Update |
2022-04-26 18:13:07 |
海外科学 |
NYT > Science |
Get Ready For the New, Improved Second |
https://www.nytimes.com/2022/04/25/science/time-second-measurement.html
|
Get Ready For the New Improved SecondScientists are preparing to redefine the fundamental unit of time It won t get any longer or shorter but it will be more precise ーand a whole lot more powerful |
2022-04-26 18:52:11 |
ニュース |
BBC News - Home |
Cost of living crisis: Changes to childcare and MOT rules considered to help budgets |
https://www.bbc.co.uk/news/uk-politics-61227622?at_medium=RSS&at_campaign=KARANGA
|
cabinet |
2022-04-26 18:12:23 |
ニュース |
BBC News - Home |
Ukraine war: Russia accuses UK of provoking attacks on its territory |
https://www.bbc.co.uk/news/uk-61235301?at_medium=RSS&at_campaign=KARANGA
|
weapons |
2022-04-26 18:15:13 |
ニュース |
BBC News - Home |
Russia to suspend gas supplies to Poland |
https://www.bbc.co.uk/news/business-61237519?at_medium=RSS&at_campaign=KARANGA
|
gazprom |
2022-04-26 18:51:37 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ウクライナ難民でパンク寸前、ポーランドの学校 - WSJ PickUp |
https://diamond.jp/articles/-/302420
|
wsjpickup |
2022-04-27 03:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
日本電産・永守重信が20年前に語った権限移譲「売上高1兆円までは僕がやる」 - The Legend Interview不朽 |
https://diamond.jp/articles/-/302327
|
thelegendinterview |
2022-04-27 03:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
値上げ後も好調、コカ・コーラの強さ - WSJ PickUp |
https://diamond.jp/articles/-/302421
|
wsjpickup |
2022-04-27 03:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ツイッター広告事業、マスク氏の借金返済に必要 - WSJ PickUp |
https://diamond.jp/articles/-/302422
|
wsjpickup |
2022-04-27 03:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
倒産寸前の中小企業、「社長の伝え方」を変えたらV字回復できた一部始終 - ニュース3面鏡 |
https://diamond.jp/articles/-/302358
|
|
2022-04-27 03:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
コロナ流行中に「メタボ脂肪肝」が増加、宅飲み・1食抜きが影響か - カラダご医見番 |
https://diamond.jp/articles/-/302004
|
covid |
2022-04-27 03:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
多文化保育施設「はじめのいっぽ保育園」で、子どもたちが笑っている - Oriijin(オリイジン) |
https://diamond.jp/articles/-/302075
|
多文化保育施設「はじめのいっぽ保育園」で、子どもたちが笑っているOriijinオリイジン日本の学校に通う外国人の児童生徒が増えている。 |
2022-04-27 03:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ひろゆきが語る「淘汰されたほうがいい企業」そのワケとは? - 1%の努力 |
https://diamond.jp/articles/-/302066
|
youtube |
2022-04-27 03:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
上司や先輩に反対されたとき「うまく進める」ためのコツ - 起業家の思考法 |
https://diamond.jp/articles/-/302122
|
|
2022-04-27 03:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
私が伝えているのは……。 単なるハウツーではなく、 焼け野原に立っても、翌日から、 紙とペンだけで、立ち上がる力だ! - コピーライティング技術大全 |
https://diamond.jp/articles/-/300974
|
私が伝えているのは……。 |
2022-04-27 03:05:00 |
コメント
コメントを投稿