AWS |
AWS The Internet of Things Blog |
Deploying and managing an IoT workload on AWS |
https://aws.amazon.com/blogs/iot/deploying-and-managing-an-iot-workload-on-aws/
|
Deploying and managing an IoT workload on AWSIntroduction When implementing an Internet of Things IoT workload companies are faced with multiple options when it comes to choosing a platform From building it entirely from scratch including your own device hardware all the way to purchasing preconfigured hardware and just connecting to a completely Software as a service SaaS IoT platform The goal … |
2023-04-14 14:11:58 |
AWS |
AWS Japan Blog |
AWS で生成系 AI を使用した構築のための新ツールを発表 |
https://aws.amazon.com/jp/blogs/news/announcing-new-tools-for-building-with-generative-ai-on-aws/
|
AWSで生成系AIを使用した構築のための新ツールを発表本日AWSはAmazonBedrockを発表しました。 |
2023-04-14 14:01:28 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
文学部卒社会人が大学院で人工知能研究に挑戦〜4日目〜 |
https://qiita.com/kawauma/items/c8983d303db66e18f15c
|
人工知能 |
2023-04-14 23:58:37 |
技術ブログ |
Developers.IO |
従業員エンゲージメントを支える10個の要素 – 4. 承認・称賛 |
https://dev.classmethod.jp/articles/engagement-acknowledgement-and-approval/
|
employeeengagement |
2023-04-14 14:49:33 |
海外TECH |
Ars Technica |
Europe successfully launches spacecraft toward the moons of Jupiter [Updated] |
https://arstechnica.com/?p=1931278
|
habitats |
2023-04-14 14:00:46 |
海外TECH |
MakeUseOf |
How to Run ADB Commands on Android Without a Computer |
https://www.makeuseof.com/run-adb-android-without-computer/
|
android |
2023-04-14 14:30:17 |
海外TECH |
MakeUseOf |
How to Write a Good Query Letter With Reedsy's Help |
https://www.makeuseof.com/write-query-letter-reedsy/
|
reedsy |
2023-04-14 14:22:19 |
海外TECH |
MakeUseOf |
Grab the Best Portable Bluetooth Speaker Deals and Start the Party |
https://www.makeuseof.com/best-portable-bluetooth-speaker-deals/
|
bluetooth |
2023-04-14 14:19:48 |
海外TECH |
MakeUseOf |
5 Ways to Fix a Windows Device That's Stuck in Dark Mode |
https://www.makeuseof.com/windows-device-stuck-dark-mode/
|
windows |
2023-04-14 14:15:16 |
海外TECH |
MakeUseOf |
8 Touch-Friendly Linux Apps for Your Steam Deck |
https://www.makeuseof.com/touch-friendly-linux-apps-for-steam-deck/
|
steam |
2023-04-14 14:01:16 |
海外TECH |
DEV Community |
Benchmarking Rust for Serverless |
https://dev.to/aws-builders/benchmarking-rust-for-serverless-36ck
|
Benchmarking Rust for ServerlessLet s start with two very important questions Why should I care to benchmark Rust since it s already super fast That s the question we ll try to answer in this post Will there be a demo Of course you know that I m a true lover What s so special about Serverless Benchmarking is not specific to serverless But in serverless components such as AWS Lambda functions performance really matters for two main reasons Cold start duration good news Rust is really performant as you can see in my daily updated benchmark Runtime duration as AWS is billing per millisecond Let s see how we can measure and improve this runtime duration using benchmarks What are we going to benchmark Let s take a very simple example a function which returns the pizza of the day I told you We will compare two different implementations one with HashMap std collections HashMapone with Vec std vec Vec if you don t know much about Rust you might wish to take a look at some basic Rust code before we start like the Rust book or my Rust Youtube channel First let s define our PizzaStore trait pub trait PizzaStore fn get pizza of the day amp self day index i gt amp str And our first implementation with HashMap let s make sure we don t initialize a new HashMap each timepub struct PizzaHashMap lt a gt cache HashMap lt i amp a str gt impl lt a gt PizzaHashMap lt a gt pub fn new gt Self PizzaHashMap cache HashMap from margherita deluxe veggie mushrooms bacon four cheese pepperoni what s your favorite impl lt a gt PizzaStore for PizzaHashMap lt a gt let s get the pizza of the day from the cache HashMap fn get pizza of the day amp self day index i gt amp str match self cache get amp day index Some amp pizza gt pizza None gt panic could not find the pizza Writing our first benchmarkThere are quite some crates to create benchmarks but we ll use criterion here Let s start by creating a benches folder containing a benchmark rs file and add our first criterion fn criterion hashmap c amp mut Criterion let mut rng rand thread rng we create the cache outside of the bench function so only one HashMap will be created let pizza store hashmap PizzaHashMap new we call get pizza of the day with a random day index c bench function with hashmap b b iter pizza store hashmap get pizza of the day rng gen range We also need a bench group as we will add more criterion later criterion group benches criterion hashmap criterion main benches That s it Let s run it with cargo benchBy default it runs our function for about seconds that s about M iterations Running benches benchmark rs target release deps benchmark fccc with hashmap time ns ns ns Left and right values are lower and upper bounds The number in the middle is the best estimation on how long each iteration is likely to take Note that those numbers are extremely alike This won t be the case if you re depending on networking for instance Second implementation with VecLet s create a different implementation using Vec instead of using HashMap using the following code pub struct PizzaVec lt a gt cache Vec lt amp a str gt impl lt a gt PizzaVec lt a gt pub fn new gt Self PizzaVec cache vec margherita deluxe veggie mushrooms bacon four cheese pepperoni impl lt a gt PizzaStore for PizzaVec lt a gt fn get pizza of the day amp self day index i gt amp str match self cache get day index as usize Some amp pizza gt pizza None gt panic could not find the pizza Let s create a new criterion so we can compare that s the goal of benchmarks Back in benchmark rs we can addfn criterion vec c amp mut Criterion let mut rng rand thread rng let pizza store vec PizzaVec new c bench function with vector b b iter pizza store vec get pizza of the day rng gen range and update our group to include this new criterion criterion group benches criterion hashmap criterion vec so we can re run our benchmarks with cargo benchand check the result with hashmap time ns ns ns with vector time ns ns ns By replacing our HashMap with a Vec our program is now running almost twice as fast This is a great reminder on how the data structure choice is really important depending on the use case Ok great but how does it translate to Serverless Two AWS Lambda Functions have been deployed embedding each one of the implementations Each lambda function calls times get pizza of the day In us east with MB here are the results ImplementationRuntime durationHashMap msVec ms That s it Of course this was a simple example but I hope I ve convinced you to use benchmarks to optimize your code Bonus question where does this overhead come from Stay tuned for the next blog post about Rust profiling ️️️Did you like this content ️️️Follow me on LinkedIn amp TwitterCheck my Rust Youtube channelShare with your friends lt |
2023-04-14 14:35:19 |
海外TECH |
DEV Community |
What you learning about this weekend? |
https://dev.to/codenewbieteam/what-you-learning-about-this-weekend-566h
|
What you learning about this weekend Heyo newbies I m curious what y all are learning about this weekend Whether you re sharpening your JS skills making PRs to your OSS repo of choice sprucing up your portfolio or writing a new post here on DEV we d like to hear about it And hey don t work too hard now it s nearly the weekend |
2023-04-14 14:25:13 |
海外TECH |
DEV Community |
Must do pattern questions :Part-2 [ Javascript] |
https://dev.to/jagroop2000/must-do-pattern-questions-part-2-javascript-4gg5
|
Must do pattern questions Part Javascript After learning how to build some basic pattern in Javascript I come with with part with more complex patterns If you directly come to this second blog then please checkout my first blog of Must do Pattern Questions Part Javascript So today In this part I am sharing patterns where we have to think a bit more than previous patterns that is available in Part of the blog and we will solve this in JavaScript const pattern n gt let patternCapturer let counter for let i i lt n i for let j j lt i j counter patternCapturer counter patternCapturer n console log patternCapturer pattern A AB ABC ABCD ABCDEconst alphabetPattern n gt let patternCapturer for let i i lt n i let alphabetIndex for let j j lt i j patternCapturer String fromCharCode alphabetIndex alphabetIndex patternCapturer n console log patternCapturer alphabetPattern ABCDE ABCD ABC AB Aconst alphabetPatternReverse n gt let patternCapturer for let i i lt n i let alphabetIndex for let j n j gt i j patternCapturer String fromCharCode alphabetIndex alphabetIndex patternCapturer n console log patternCapturer alphabetPatternReverse A BB CCC DDDD EEEEEconst alphabetPatternIdentical n gt let patternCapturer let alphabetIndex for let i i lt n i for let j j lt i j patternCapturer String fromCharCode alphabetIndex alphabetIndex patternCapturer n console log patternCapturer alphabetPatternIdentical const hollowSquarePattern n gt let patternCapturer for let i i lt n i if i i n for let j j lt n j patternCapturer else for let j j lt n j if j j n patternCapturer else patternCapturer patternCapturer n console log patternCapturer hollowSquarePattern Github Link |
2023-04-14 14:15:49 |
海外TECH |
DEV Community |
Vue vs React: Which Technology to Choose? |
https://dev.to/anilsingh/vue-vs-react-which-technology-to-choose-5hgf
|
Vue vs React Which Technology to Choose React is an open source JavaScript library developed by Facebook in It has quickly gained popularity among developers due to its ability to create efficient and scalable web applications with a strong emphasis on user experience For more detail |
2023-04-14 14:08:42 |
海外TECH |
DEV Community |
Beyond Logic: The Unique Human Qualities That AI Can't Replicate |
https://dev.to/dhanushnehru/beyond-logic-the-unique-human-qualities-that-ai-cant-replicate-41m8
|
Beyond Logic The Unique Human Qualities That AI Can x t ReplicateAs technology continues to evolve at an unprecedented pace the fear of machines replacing human labor and intellect has become a common concern However it is important to understand that while AI may perform certain tasks more efficiently than humans it cannot replace us entirely In this blog we will explore the reasons why AI cannot replace humans and why the uniquely human qualities of intuition creativity emotional intelligence adaptability and ethical moral judgment will always be necessary for certain fields From creative fields like music and art to complex areas like law and medicine human intuition plays a vital role in decision making Similarly creativity emotional intelligence adaptability and ethical moral judgment are uniquely human traits that cannot be taught or replicated by machines While AI can perform certain tasks more efficiently than humans it cannot replace the human touch which is essential in many fields Moreover the blog will delve deeper into each of these areas exploring how human intuition creativity emotional intelligence adaptability and ethical moral judgment are essential in fields ranging from counseling to leadership We will also discuss how machines lack these qualities and are limited by their programming highlighting the importance of human input and imagination in creative fields By the end of this blog the reader will gain a better understanding of why AI cannot replace humans entirely and how the uniquely human qualities of intuition creativity emotional intelligence adaptability and ethical moral judgment will always be necessary for certain fields Whether you are a technophile or a skeptic this blog is sure to challenge your preconceived notions about the role of AI in our lives and why the human touch will always be essential in certain areas Artificial Intelligence AI has made remarkable advancements in recent years leading to the creation of smart machines that can perform tasks that were once exclusive to humans and also with the evolution of ChatGPT and OpenAI However the belief that AI will replace humans in every aspect of life is unfounded Here are a few reasons why Human Intuition Humans can perceive understand and interpret information beyond the realm of logic and reasoning Our intuition is a powerful tool that helps us make decisions that are not always based on data Machines on the other hand lack this human quality and rely solely on programmed algorithms Creativity AI is programmed to follow a set of rules and algorithms to reach a specific outcome However creativity cannot be taught and machines cannot replicate the human ability to create something unique and original Creative fields like music art and writing will always require human input and imagination Emotional Intelligence Machines lack emotional intelligence a key human trait that enables us to empathize connect and communicate effectively with others Emotional intelligence plays a vital role in fields like counseling teaching and leadership where understanding and empathy are essential Adaptability Humans are adaptable creatures and can easily adjust to changing situations and environments Machines however are limited by their programming and cannot adapt to new circumstances without being reprogrammed Ethics and Morals Machines cannot make ethical and moral judgments Humans on the other hand have a conscience that guides their decisions and actions Fields like law medicine and politics require ethical and moral considerations that machines cannot provide In conclusion AI will continue to advance and become more prevalent in our lives but it cannot replace humans completely In certain fields the unique human qualities of intuition creativity emotional intelligence adaptability and ethical moral judgment will always be necessary AI will work alongside humans to enhance and improve our lives but it cannot replace us Thank you so much if you have read it so far If you found this post helpful don t forget to follow me on Twitter Instagram Github and subscribe to my YouTube channel ️ |
2023-04-14 14:04:57 |
Apple |
AppleInsider - Frontpage News |
Daily Deals: iPhone 12 & 13 from $280, $250 off iPhone 14 Pro Max, 14" MacBooks from $1,390, more |
https://appleinsider.com/articles/23/04/14/daily-deals-iphone-12-13-from-280-250-off-iphone-14-pro-max-14-macbooks-from-1390-more?utm_medium=rss
|
Daily Deals iPhone amp from off iPhone Pro Max quot MacBooks from moreToday s top deals include off a Amazon Fire HD tablet off an Anker USB outlet extender off an ASUS mid tower computer case off Beats Fit Pro earbuds and off an MSI Creator M laptop Get iPhone and Models from The AppleInsider staff scours the web for top notch deals at online retailers to create a list of unbeatable bargains on trending tech items including discounts on Apple products TVs accessories and other gadgets We share the top deals to help put more money in your pocket Read more |
2023-04-14 14:08:05 |
海外TECH |
CodeProject Latest Articles |
BookCars - Car Rental Platform with Mobile App |
https://www.codeproject.com/Articles/5346604/BookCars-Car-Rental-Platform-with-Mobile-App
|
mobile |
2023-04-14 14:45:00 |
海外TECH |
CodeProject Latest Articles |
Wexstream - Video Conferencing Platform with Node.js, React and Jitsi |
https://www.codeproject.com/Articles/5353196/Wexstream-Video-Conferencing-Platform-with-Node-js
|
jitsi |
2023-04-14 14:30:00 |
海外科学 |
NYT > Science |
Biden Administration Asks Supreme Court to Restore Broad Availability of Abortion Pill |
https://www.nytimes.com/2023/04/14/us/politics/supreme-court-abortion-pill.html
|
Biden Administration Asks Supreme Court to Restore Broad Availability of Abortion PillIn an emergency application lawyers for the government asked the justices to stay all of a Texas judge s ruling suspending a commonly used abortion medication |
2023-04-14 14:25:21 |
金融 |
金融庁ホームページ |
適格機関投資家等特例業務届出者に対する行政処分について公表しました。 |
https://www.fsa.go.jp/news/r4/shouken/20230414.html
|
行政処分 |
2023-04-14 16:00:00 |
金融 |
金融庁ホームページ |
職員を募集しています。(保険会社等の監督事務に従事する職員) |
https://www.fsa.go.jp/common/recruit/r5/kantoku-01/kantoku-01.html
|
保険会社 |
2023-04-14 16:00:00 |
金融 |
金融庁ホームページ |
職員を募集しています。(金融機関のサイバーセキュリティ管理態勢に関するモニタリング業務に従事する職員) |
https://www.fsa.go.jp/common/recruit/r4/souri-26/souri-26.html
|
金融機関 |
2023-04-14 14:50:00 |
ニュース |
@日本経済新聞 電子版 |
NYダウ、一進一退で始まる JPモルガンが大幅高
https://t.co/sTTqeQAm4a |
https://twitter.com/nikkei/statuses/1646880224750223362
|
一進一退 |
2023-04-14 14:16:57 |
ニュース |
BBC News - Home |
Parents murdered baby weeks after he returned to their care |
https://www.bbc.co.uk/news/uk-england-derbyshire-65188675?at_medium=RSS&at_campaign=KARANGA
|
court |
2023-04-14 14:54:15 |
ニュース |
BBC News - Home |
Joe Biden in Ireland: President arrives in County Mayo for final leg of visit |
https://www.bbc.co.uk/news/world-europe-65270569?at_medium=RSS&at_campaign=KARANGA
|
president |
2023-04-14 14:56:42 |
ニュース |
BBC News - Home |
Two Met officers sacked over Katie Price son messages |
https://www.bbc.co.uk/news/uk-england-london-65274794?at_medium=RSS&at_campaign=KARANGA
|
harvey |
2023-04-14 14:40:30 |
ニュース |
BBC News - Home |
Civil servants strike action widens over pay offer |
https://www.bbc.co.uk/news/uk-politics-65276431?at_medium=RSS&at_campaign=KARANGA
|
increases |
2023-04-14 14:19:15 |
ニュース |
BBC News - Home |
Sarah Beeny: TV presenter given all-clear following breast cancer treatment |
https://www.bbc.co.uk/news/entertainment-arts-65276548?at_medium=RSS&at_campaign=KARANGA
|
months |
2023-04-14 14:15:59 |
ニュース |
BBC News - Home |
Joe Joyce much lighter than Zhilei Zhang before heavyweight fight on Saturday |
https://www.bbc.co.uk/sport/boxing/65278510?at_medium=RSS&at_campaign=KARANGA
|
Joe Joyce much lighter than Zhilei Zhang before heavyweight fight on SaturdayEnglish heavyweight Joe Joyce was much the lighter man as he tipped the scales for his fight against Zhilei Zhang on Saturday |
2023-04-14 14:40:03 |
ニュース |
BBC News - Home |
How the files appeared online, then began to vanish |
https://www.bbc.co.uk/news/65240603?at_medium=RSS&at_campaign=KARANGA
|
ukraine |
2023-04-14 14:33:05 |
仮想通貨 |
BITPRESS(ビットプレス) |
金融庁、金融活動作業部会(FATF) 暗号資産コンタクト・グループ会合の東京開催について |
https://bitpress.jp/count2/3_17_13598
|
金融活動作業部会 |
2023-04-14 23:18:15 |
コメント
コメントを投稿