ZIO is a library for asynchronous and concurrent programming that provides a simpler alternative to Scala's Future and Promise. It allows for composable asynchronous and concurrent code through pure functions. Some key advantages of ZIO over Future include improved error handling, cancellation support, and referential transparency. The document discusses various features of ZIO and provides examples of how it can be used for real-world asynchronous tasks like retrying requests, running periodic processes, and coordinating distributed queries.
ZIO: Powerful and Principled Functional Programming in ScalaWiem Zine Elabidine
This is an introduction of purely functional programming type safe abstractions that provide a variety of features for building asynchronous and concurrent applications data structures built on ZIO.
You'll learn by examples about the power of functional programming to solve the hard problems of software development in a principled, without compromises.
ZIO: Powerful and Principled Functional Programming in ScalaWiem Zine Elabidine
This is an introduction of purely functional programming type safe abstractions that provide a variety of features for building asynchronous and concurrent applications data structures built on ZIO.
You'll learn by examples about the power of functional programming to solve the hard problems of software development in a principled, without compromises.
Asynchronous web apps with the Play Framework 2.0Oscar Renalias
Brief introduction to the asynchronous and reactive IO capabilities available in Play 2.0.
Source code of the demos available here: https://github.com/oscarrenalias/wjax-2012-play-async-apps
Building complex async applications is really hard. Whether you use callbacks, Promises, or EventEmitters, Error objects should have a place in your utility belt. They are indispensable when it comes to managing work flows in a highly asynchronous environment.
This talk covers patterns for using JavaScript Error (with a capital E) objects to build resilient applications, and introduce some modules that can be used to build errors with an elegant history of stack traces even through multiple asynchronous operations. Try/catch, callbacks, and other error handling mechanisms will be examined, revealing some potential deficiencies in the JavaScript language for dealing with errors.
Video: https://www.youtube.com/watch?v=PyCHbi_EqPs
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Welocme to ViralQR, your best QR code generator.ViralQR
Welcome to ViralQR, your best QR code generator available on the market!
At ViralQR, we design static and dynamic QR codes. Our mission is to make business operations easier and customer engagement more powerful through the use of QR technology. Be it a small-scale business or a huge enterprise, our easy-to-use platform provides multiple choices that can be tailored according to your company's branding and marketing strategies.
Our Vision
We are here to make the process of creating QR codes easy and smooth, thus enhancing customer interaction and making business more fluid. We very strongly believe in the ability of QR codes to change the world for businesses in their interaction with customers and are set on making that technology accessible and usable far and wide.
Our Achievements
Ever since its inception, we have successfully served many clients by offering QR codes in their marketing, service delivery, and collection of feedback across various industries. Our platform has been recognized for its ease of use and amazing features, which helped a business to make QR codes.
Our Services
At ViralQR, here is a comprehensive suite of services that caters to your very needs:
Static QR Codes: Create free static QR codes. These QR codes are able to store significant information such as URLs, vCards, plain text, emails and SMS, Wi-Fi credentials, and Bitcoin addresses.
Dynamic QR codes: These also have all the advanced features but are subscription-based. They can directly link to PDF files, images, micro-landing pages, social accounts, review forms, business pages, and applications. In addition, they can be branded with CTAs, frames, patterns, colors, and logos to enhance your branding.
Pricing and Packages
Additionally, there is a 14-day free offer to ViralQR, which is an exceptional opportunity for new users to take a feel of this platform. One can easily subscribe from there and experience the full dynamic of using QR codes. The subscription plans are not only meant for business; they are priced very flexibly so that literally every business could afford to benefit from our service.
Why choose us?
ViralQR will provide services for marketing, advertising, catering, retail, and the like. The QR codes can be posted on fliers, packaging, merchandise, and banners, as well as to substitute for cash and cards in a restaurant or coffee shop. With QR codes integrated into your business, improve customer engagement and streamline operations.
Comprehensive Analytics
Subscribers of ViralQR receive detailed analytics and tracking tools in light of having a view of the core values of QR code performance. Our analytics dashboard shows aggregate views and unique views, as well as detailed information about each impression, including time, device, browser, and estimated location by city and country.
So, thank you for choosing ViralQR; we have an offer of nothing but the best in terms of QR code services to meet business diversity!
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
7. 操作
Connection.query("select name from user")
.map(rows => rows.distinct)
getConnection
.flatMap(_.query(“select * from table"))
Connection.query("select * from user") zip
Connection.query("select * from member")
Connection.query("select name from user")
.map(rows => rows.distinct)
getConnection
.flatMap(_.query(“select * from table"))
Connection.query("select * from user") zip
Connection.query("select * from member")
7
21. 实
际
场
景
1
request()
.timeoutFail("fail")(3.seconds)
.retryN(10)
INFO meetup.compare.zio.request$ - request start, Estimated waiting time 9s
INFO meetup.compare.zio.request$ - processing
INFO meetup.compare.zio.request$ - processing
INFO meetup.compare.zio.request$ - processing
INFO meetup.compare.zio.request$ - cancelled
INFO meetup.compare.zio.request$ - request start, Estimated waiting time 1s
INFO meetup.compare.zio.request$ - processing
INFO meetup.compare.zio.request$ - processing
INFO meetup.compare.zio.request$ - success
21
👍
功能+1
操控+1
22. 实
际
场
景
2
val io = for {
_ <- start
_ <- process.repeat(Schedule.spaced(10.seconds)).delay(3.seconds)
} yield ()
INFO meetup.compare.zio.Scheduler$ - start at 21:34:24.589
INFO meetup.compare.zio.Scheduler$ - run at 21:34:27.733
INFO meetup.compare.zio.Scheduler$ - run at 21:34:37.809
INFO meetup.compare.zio.Scheduler$ - run at 21:34:47.813
INFO meetup.compare.zio.Scheduler$ - run at 21:34:57.817
INFO meetup.compare.zio.Scheduler$ - run at 21:35:07.833
22
👍
功能+1
操控+1
23. 实
际
场
景
3
def readQuorum() = for {
p <- Promise.make[Nothing, String]
result <- shardInit
fiber <- ZIO.foreachPar(shards) { n =>
for {
v <- readShard(n)
_ <- STM.atomically(result.update(n, _ => Some(v)))
reach <- count(result, p)
_ <- reach match {
case Some(r) => p.succeed(r)
case None => ZIO.unit
}
} yield ()
}
.fork
value <- p.await
_ <- fiber.interrupt
} yield {
value
}
Amazon Aurora under the hood: quorums and correlated failure
Amazon Aurora as an Alternative to Oracle RAC
23
👍
功能+1
操控+1
24. Future 的错误栈
Exception in thread "main" java.lang.ArithmeticException: / by zero
at meetup.compare.legacy.ErrorStack$.$anonfun$div0$1(ErrorStack.scala:18)
at scala.runtime.java8.JFunction0$mcI$sp.apply(JFunction0$mcI$sp.scala:17)
at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:671)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:430)
at scala.concurrent.BatchingExecutor$AbstractBatch.runN(BatchingExecutor.scala:134)
at scala.concurrent.BatchingExecutor$AsyncBatch.apply(BatchingExecutor.scala:163)
at scala.concurrent.BatchingExecutor$AsyncBatch.apply(BatchingExecutor.scala:146)
at scala.concurrent.BlockContext$.usingBlockContext(BlockContext.scala:107)
at scala.concurrent.BatchingExecutor$AsyncBatch.run(BatchingExecutor.scala:154)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1429)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
val f = for {
a1 <- plus8(1)
a2 <- mul5(a1)
a3 <- pow3(a2)
res <- div0(a3)
} yield res
println(Await.result(f, 1.seconds))
24
25. ZIO 的错误栈
val io = for {
a1 <- plus8(1)
a2 <- mul5(a1)
a3 <- pow3(a2)
res <- div0(a3)
} yield res
java.lang.ArithmeticException: / by zero
at meetup.compare.zio.ErrorStack$.$anonfun$div0$1(ErrorStack.scala:13)
at scala.runtime.java8.JFunction0$mcI$sp.apply(JFunction0$mcI$sp.scala:17)
at zio.internal.FiberContext.evaluateNow(FiberContext.scala:360)
at zio.internal.FiberContext.$anonfun$fork$15(FiberContext.scala:770)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
Fiber:Id(1599056060739,1) was supposed to continue to:
a future continuation at meetup.compare.zio.ErrorStack$.run(ErrorStack.scala:22)
a future continuation at zio.ZIO.exitCode(ZIO.scala:543)
Fiber:Id(1599056060739,1) execution trace:
at meetup.compare.zio.ErrorStack$.div0(ErrorStack.scala:13)
at meetup.compare.zio.ErrorStack$.run(ErrorStack.scala:20)
at meetup.compare.zio.ErrorStack$.pow3(ErrorStack.scala:11)
at meetup.compare.zio.ErrorStack$.run(ErrorStack.scala:19)
at meetup.compare.zio.ErrorStack$.mul5(ErrorStack.scala:9)
at meetup.compare.zio.ErrorStack$.run(ErrorStack.scala:18)
at meetup.compare.zio.ErrorStack$.plus8(ErrorStack.scala:7)
25
👍
功能+1
内在
对纯函数式的认同
纸上得来终觉浅,绝知此事要躬行(想要通过博客、教程来精通一门技术是不现实的)
In other words, the only path to understanding monads is to read the fine source, fire up GHC, and write some code. Analogies and metaphors will not lead to understanding.
不要读monad教程
不要写用类比的方式讲解Monad的教程。
外部
天时(在合适的时间启动合适的项目)(一个独立的、新兴的、实验性的项目)
地利(合适的公司、合适的团队、文化)(公司、团队文化不反对你的试错行为)
人和(支持你的领导,愿意一起踩坑的同事)(放手去干吧,搞坏了换 Java)
为什么不建议旧项目:要么不上,要么全上
孟子曰:天时不如地利,地利不如人和。
三里之城,七里之郭,环而攻之而不胜;夫环而攻之,必有得天时者矣; 然而不胜者,是天时不如地利也。
城非不高也,池非不深也,兵革非不坚利也,米粟非不多也; 委而去之,是地利不如人和也。
故曰:域民不以封疆之界。固国不以山溪之险,威天下不以兵革之利;得道者多助,失道者寡助;寡助之至,亲戚畔之;多助之至,天下顺之。 以天下之所顺,攻亲戚之所畔。故君子有不战,战必胜矣。