The Cake pattern is a dependency injection pattern for Scala that uses traits to define components and their dependencies. It allows defining components and their implementations separately. An object extends the necessary component traits to resolve dependencies and provides the application object graph. The graph is constructed at compile time, ensuring type safety. However, the pattern results in boilerplate code and does not provide strong lifecycle management for the components.
Everybody in our team knows how to create stable and scalable software products. But in this case, we are using Docker... and it really helps us to concentrate on development and spend more time on code review & tests instead of troubleshooting issues with servers.
Ever wanted to create a "direct manipulation" program where you select various tools and manipulate stuff on a workspace? These sorts of applications are quite difficult to build due to the many possible combinations of behavior that is needed. Every tool must know what to do with each type of object. How do we manage this sort of complexity? Well the GOF (gang of four) author John Vlissides documented this pattern in this paper
http://www.research.ibm.com/designpatterns/pubs/ph-sep99.pdf
Everybody in our team knows how to create stable and scalable software products. But in this case, we are using Docker... and it really helps us to concentrate on development and spend more time on code review & tests instead of troubleshooting issues with servers.
Ever wanted to create a "direct manipulation" program where you select various tools and manipulate stuff on a workspace? These sorts of applications are quite difficult to build due to the many possible combinations of behavior that is needed. Every tool must know what to do with each type of object. How do we manage this sort of complexity? Well the GOF (gang of four) author John Vlissides documented this pattern in this paper
http://www.research.ibm.com/designpatterns/pubs/ph-sep99.pdf
The structural model of the effects of marketing mix elements on brand equity is defined in line with the existing theoretical findings. Research hypotheses are defined according to the identified structural model. In order to test the defined structural model and research hypotheses empirical research was conducted on the sample of undergraduate students of the Faculty of Economics and Business in Zagreb. Research results indicate that the structural model has an acceptable level of fit to the empirical data. The estimated structural coefficients and indirect effect coefficients indicate the direction and intensity of effects of each analysed element of marketing mix on brand equity. Finally, implications of research results for the theory and practice of brand management are analysed and discussed.
The structural model of the effects of marketing mix elements on brand equity is defined in line with the existing theoretical findings. Research hypotheses are defined according to the identified structural model. In order to test the defined structural model and research hypotheses empirical research was conducted on the sample of undergraduate students of the Faculty of Economics and Business in Zagreb. Research results indicate that the structural model has an acceptable level of fit to the empirical data. The estimated structural coefficients and indirect effect coefficients indicate the direction and intensity of effects of each analysed element of marketing mix on brand equity. Finally, implications of research results for the theory and practice of brand management are analysed and discussed.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
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.
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!
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
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/
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/
8. class ShoppingRobot(listProvider: ShopListProvider, location: GeoLocation) {
def goShopping() = {
val list = listProvider.get
val shop = location.findNearestShop
shop.map(buy(_, list))
}
def buy(shop:Shop, list:List[Item]) = ???
}
class ShopListProvider {
def get:List[Item] = ???
}
class GeoLocation {
def findNearestShop:Maybe[Shop] = ???
}
8
Dependencies
9. object Application extends App {
val shoplistProvider = new ShopListProvider();
val location = new GeoLocation();
val robot = new ShoppingRobot(shopListProvider, location);
robot.goShopping
}
9
InjectionConstructor
15. object FailedRegistry
extends ShoppingRobotComponentImpl
with GeoLocationComponentImpl
error: illegal inheritance;
self-type FailedRegistry.type does not conform to ShoppingRobotComponentImpl's selftype
ShoppingRobotComponentImpl with ShopListProviderComponent with GeoLocationComponent
object FailedRegistry extends ShoppingRobotComponentImpl with
GeoLocationComponentImpl
15
16. object TestRegistry
extends ShoppingRobotComponentImpl
with FakeGeoLocationComponentImpl
with FakeShopListProviderComponentImpl
class Registry2(shop: Shop)
extends ShoppingRobotComponentImpl
with ShopListProviderComponentImpl
with GeoLocationComponent {
val geoLocation: GeoLocation = new GeoLocation {
override def findNearestShop: Maybe[Shop] = Some(shop)
}
}
16
17. Pros and Cons
+ Pure Scala
+ Compile time
validation
17
− Boilerplate
overhead
− Weak lifecycle
control