Introducing BPjs to the IoT class at BGU, Winter 2018 semester.
Includes short BP intro, BPjs overview, and samples for running and verifying b-programs.
Neotys organized its first Performance Advisory Council in Scotland, the 14th & 15th of November.
With 15 Load Testing experts from several countries (UK, France, New-Zeland, Germany, USA, Australia, IndiaâŚ) we explored several theme around Load Testing such as DevOps, Shift Right, AI etc.
By discussing around their experience, the methods they used, their data analysis and their interpretation, we created a lot of high-value added content that you can use to discover what will be the future of Load Testing.
You want to know more about this event ? https://www.neotys.com/performance-advisory-council
This is a quick summary of interesting talk I visited during Droidcon Online 2020. This year the conference was different - due to covid-19. Nevertheless there were some thing worth mentioning!
APIs can be challenging to understand and consume from the command line, a utility most developers use daily. Tools like cURL facilitate command line API calls, but don't present the API surface. In this session we will look at an approach to generating intuitive command line utilities with Go & Cobra for gRPC APIs.
Introducing BPjs to the IoT class at BGU, Winter 2018 semester.
Includes short BP intro, BPjs overview, and samples for running and verifying b-programs.
Neotys organized its first Performance Advisory Council in Scotland, the 14th & 15th of November.
With 15 Load Testing experts from several countries (UK, France, New-Zeland, Germany, USA, Australia, IndiaâŚ) we explored several theme around Load Testing such as DevOps, Shift Right, AI etc.
By discussing around their experience, the methods they used, their data analysis and their interpretation, we created a lot of high-value added content that you can use to discover what will be the future of Load Testing.
You want to know more about this event ? https://www.neotys.com/performance-advisory-council
This is a quick summary of interesting talk I visited during Droidcon Online 2020. This year the conference was different - due to covid-19. Nevertheless there were some thing worth mentioning!
APIs can be challenging to understand and consume from the command line, a utility most developers use daily. Tools like cURL facilitate command line API calls, but don't present the API surface. In this session we will look at an approach to generating intuitive command line utilities with Go & Cobra for gRPC APIs.
Optimizing web app delivery speed with PRPL pattern. Interactive demo with Webpack and React sample code. Project available with an incremental 7-step process for free on GitHub. Presentation from Split.JS Meetup.
GitHub project: https://github.com/ModusCreateOrg/react-dynamic-route-loading-es6/tree/steps/6-no-helmet-scripttags
Infrastructure-as-Code with Pulumi- Better than all the others (like Ansible)?Jonas Hecht
Â
There's a new Infrastructure-as-Code (IaC) kid on the block: Pulumi is there to frighten the established: Chef, Puppet, Terraform, Cloudformation, Ansible... But is it really the "better" tool and how could they be compared? Is it only hype-driven? We'll find out, incl. lot's of example code. (ContainerConf / Continuous Lifecycle 2019 Talk in Mannheim)
Example GitHub code: https://github.com/jonashackt/pulumi-python-aws-ansible
https://github.com/jonashackt/pulumi-typescript-aws-fargate
JUC Europe 2015: Configuration as Code: The Job DSL PluginCloudBees
Â
By Daniel Spilker, CoreMedia AG
Learn how to practice configuration as code by using the Job DSL plugin for Jenkins. Find out how to organize Job DSL scripts and apply code reuse and refactoring to your Jenkins configuration. This talk will cover advanced techniques for large scale installations and show how to extend the Job DSL for your favorite plugins.
Cutting the Kubernetes Monorepo in pieces â never learnt more about gitStefan Schimanski
Â
Kubernetes uses a monorepo approach for development and testing. For Golang vendoring by 3rdparties we publish subdirectories as separate Github repositories (like k8s.io/client-go, k8s.io/apimachinery, k8s.io/api, etc.) continuously every night, while keeping all history, all Github merge commits and while rewriting commits with Godep-save updates to express dependencies. Sounds easy? It's not! Implementing this was the best learning experience of git and git internals and the topic of this talk.
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...Pantheon
Â
Greg Anderson's slide deck from BADCamp 2016.
Having a fine-tuned continuous integration environment is extremely valuable, even for small projects. Today, there is a wide variety of standalone projects and online Software-As-A-Service offerings that can super-streamline your everyday development tasks that can help you get your projects up and running like a pro. In this session, we'll look at how you can get the most out of:
- GitHub source code repository
- Packagist package manager for Composer
- Travis CI continuous integration service
- Coveralls code coverage service
- Scrutinizer static analysis service
- Box2 phar builder
- PhpDocumentor api documentation generator
- ReadTheDocs online documentation reader service
- Composer scripts and projects for running local tests and builds
Optimizing web app delivery speed with PRPL pattern. Interactive demo with Webpack and React sample code. Project available with an incremental 7-step process for free on GitHub. Presentation from Split.JS Meetup.
GitHub project: https://github.com/ModusCreateOrg/react-dynamic-route-loading-es6/tree/steps/6-no-helmet-scripttags
Infrastructure-as-Code with Pulumi- Better than all the others (like Ansible)?Jonas Hecht
Â
There's a new Infrastructure-as-Code (IaC) kid on the block: Pulumi is there to frighten the established: Chef, Puppet, Terraform, Cloudformation, Ansible... But is it really the "better" tool and how could they be compared? Is it only hype-driven? We'll find out, incl. lot's of example code. (ContainerConf / Continuous Lifecycle 2019 Talk in Mannheim)
Example GitHub code: https://github.com/jonashackt/pulumi-python-aws-ansible
https://github.com/jonashackt/pulumi-typescript-aws-fargate
JUC Europe 2015: Configuration as Code: The Job DSL PluginCloudBees
Â
By Daniel Spilker, CoreMedia AG
Learn how to practice configuration as code by using the Job DSL plugin for Jenkins. Find out how to organize Job DSL scripts and apply code reuse and refactoring to your Jenkins configuration. This talk will cover advanced techniques for large scale installations and show how to extend the Job DSL for your favorite plugins.
Cutting the Kubernetes Monorepo in pieces â never learnt more about gitStefan Schimanski
Â
Kubernetes uses a monorepo approach for development and testing. For Golang vendoring by 3rdparties we publish subdirectories as separate Github repositories (like k8s.io/client-go, k8s.io/apimachinery, k8s.io/api, etc.) continuously every night, while keeping all history, all Github merge commits and while rewriting commits with Godep-save updates to express dependencies. Sounds easy? It's not! Implementing this was the best learning experience of git and git internals and the topic of this talk.
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...Pantheon
Â
Greg Anderson's slide deck from BADCamp 2016.
Having a fine-tuned continuous integration environment is extremely valuable, even for small projects. Today, there is a wide variety of standalone projects and online Software-As-A-Service offerings that can super-streamline your everyday development tasks that can help you get your projects up and running like a pro. In this session, we'll look at how you can get the most out of:
- GitHub source code repository
- Packagist package manager for Composer
- Travis CI continuous integration service
- Coveralls code coverage service
- Scrutinizer static analysis service
- Box2 phar builder
- PhpDocumentor api documentation generator
- ReadTheDocs online documentation reader service
- Composer scripts and projects for running local tests and builds
Did you know your JDK contains visual monitoring tools with features like: Profiler, Visual GC, Heap dump browsing and much more?
VisualVM, BTrace and jhat are just some examples for useful performance diagnostics tools hidden in your JDK.
Join us for this session to see what tools are out there and how you can use them to identify and solve performance related issues.
Bag it Tag It Put it : Project Tracking One Click away Abhishek Bakshi
Â
Entering information in a project programming tracker is one of the menial tasks taking up time which causes hindrance for project leads to get accurate and up to date information of the project. So how about getting it done within a click? This presentation discusses a tool to solve this problem. QCCheck, a macro utility in conjunction with the power of ODS creates a fully automated project tracking spreadsheet to give a single shot view of any project in real time. This utility reduces the dependency on manual data and saves programmerâs precious time with the important features such as QC pass/fail results highlighted, hyperlinks for code/table/dataset and timestamps of QC & batch submit.
Effective C++ (Myers has nothing to do with it :). The C++ ecosystem is still rapidly evolving, which makes this language one of the most effective tools of our time. I'd like to point out three reasons why C++ is so attractive nowadays. The first is the new extensions to the language standard that enable programmers to write effective and efficient code. The second is the maturity of the development tools and acceleration of the code building process. The third is the maturity of the auxiliary tools allowing us to keep control over the code quality and other aspects of the software development life cycle. This talk is an ode to the C++ language!
Great Android apps only include what's needed to achieve the goals of the product, not enhance the resume of the developer. Whatâs more, the more maintainable an application is, the more likely it will have increased user satisfaction and decreased time to market.
PostgreSQL Performance Problems: Monitoring and AlertingGrant Fritchey
Â
PostgreSQL can be difficult to troubleshoot when the pressure is on without the right knowledge and tools. Knowing where to find the information you need to improve performance is central to your ability to act quickly and solve problems. In this training, we'll discuss the various query statistic views and log information that's available in PostgreSQL so that you can solve problems quickly. Along the way, we'll highlight a handful of open-source and paid tools that can help you track data over time and provide better alerting capabilities so that you know about problems before they become critical.
Building Your First App with Shawn Mcarthy MongoDB
Â
This talk will introduce the philosophy and features of MongoDB. Weâll discuss the benefits of the document-based data model that MongoDB offers by walking through how one can build a simple app. Weâll cover inserting, updating, and querying data. This session will jumpstart your knowledge of MongoDB development, providing you with context for the rest of the day's content.
Building A Distributed Build System at Google Scale (StrangeLoop 2016)Aysylu Greenberg
Â
It's hard to imagine a modern developer workflow without a sufficiently advanced build system: Make, Gradle, Maven, Rake, and many others. In this talk, we'll discuss the evolution of build systems that leads to distributed build systems. Then, we'll dive into how we can build a scalable system that is fast and resilient, with examples from Google. We'll conclude with the discussion of general challenges of migrating systems from one architecture to another.
Red Hat JBoss BRMS and BPMS Workbench and Rich Client TechnologyMark Proctor
Â
This is an overview video that shows the scope of work and technology used within the Red Hat JBoss BRMS and BPMS platforms.
The technology presented builds with GWT, Errai and UberFire as the foundation. Over 2015 we'll be working to make it for end users to consume the bits they need, paying for only what they use, so others can make power web platforms like BRMS and BPMS.
How to help your editor love your vue component libraryPiotr Tomiak
Â
For web developers, one of the best things about Vue is its flexibility. Various ways to develop components, powerful mixins, and the freedom to choose a build system are just some of the advantages of Vue.
In this talk I'll look at Vue component libraries from our perspective as IDE developers and discuss some challenges we're facing with such flexibility. How to find all the available components in a library? What types their props have? Where are the docs? These are just some of the questions we have to answer.
Finally, I'll tell the story of how we ended up creating web-types, a format for describing component libraries. I'll demonstrate how it can help editors and documentation generators and how to use it.
Code for Startup MVP (Ruby on Rails) Session 1Henry S
Â
First Session on Learning to Code for Startup MVP's using Ruby on Rails.
This session covers the web architecture, Git/GitHub and makes a real rails app that is deployed to Heroku at the end.
Thanks,
Henry
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
Â
Les Buildpacks existent depuis plus de 10 ans ! Dâabord, ils ĂŠtaient utilisĂŠs pour dĂŠtecter et construire une application avant de la dĂŠployer sur certains PaaS. Ensuite, nous avons pu crĂŠer des images Docker (OCI) avec leur dernière gĂŠnĂŠration, les Cloud Native Buildpacks (CNCF en incubation). Sont-ils une bonne alternative au Dockerfile ? Que sont les buildpacks Paketo ? Quelles communautĂŠs les soutiennent et comment ?
Venez le dĂŠcouvrir lors de cette session ignite
How Recreation Management Software Can Streamline Your Operations.pptxwottaspaceseo
Â
Recreation management software streamlines operations by automating key tasks such as scheduling, registration, and payment processing, reducing manual workload and errors. It provides centralized management of facilities, classes, and events, ensuring efficient resource allocation and facility usage. The software offers user-friendly online portals for easy access to bookings and program information, enhancing customer experience. Real-time reporting and data analytics deliver insights into attendance and preferences, aiding in strategic decision-making. Additionally, effective communication tools keep participants and staff informed with timely updates. Overall, recreation management software enhances efficiency, improves service delivery, and boosts customer satisfaction.
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamtakuyayamamoto1800
Â
In this slide, we show the simulation example and the way to compile this solver.
In this solver, the Helmholtz equation can be solved by helmholtzFoam. Also, the Helmholtz equation with uniformly dispersed bubbles can be simulated by helmholtzBubbleFoam.
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfJay Das
Â
With the advent of artificial intelligence or AI tools, project management processes are undergoing a transformative shift. By using tools like ChatGPT, and Bard organizations can empower their leaders and managers to plan, execute, and monitor projects more effectively.
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
Â
Unlocking Business Potential: Tailored Technology Solutions by Prosigns
Discover how Prosigns, a leading technology solutions provider, partners with businesses to drive innovation and success. Our presentation showcases our comprehensive range of services, including custom software development, web and mobile app development, AI & ML solutions, blockchain integration, DevOps services, and Microsoft Dynamics 365 support.
Custom Software Development: Prosigns specializes in creating bespoke software solutions that cater to your unique business needs. Our team of experts works closely with you to understand your requirements and deliver tailor-made software that enhances efficiency and drives growth.
Web and Mobile App Development: From responsive websites to intuitive mobile applications, Prosigns develops cutting-edge solutions that engage users and deliver seamless experiences across devices.
AI & ML Solutions: Harnessing the power of Artificial Intelligence and Machine Learning, Prosigns provides smart solutions that automate processes, provide valuable insights, and drive informed decision-making.
Blockchain Integration: Prosigns offers comprehensive blockchain solutions, including development, integration, and consulting services, enabling businesses to leverage blockchain technology for enhanced security, transparency, and efficiency.
DevOps Services: Prosigns' DevOps services streamline development and operations processes, ensuring faster and more reliable software delivery through automation and continuous integration.
Microsoft Dynamics 365 Support: Prosigns provides comprehensive support and maintenance services for Microsoft Dynamics 365, ensuring your system is always up-to-date, secure, and running smoothly.
Learn how our collaborative approach and dedication to excellence help businesses achieve their goals and stay ahead in today's digital landscape. From concept to deployment, Prosigns is your trusted partner for transforming ideas into reality and unlocking the full potential of your business.
Join us on a journey of innovation and growth. Let's partner for success with Prosigns.
First Steps with Globus Compute Multi-User EndpointsGlobus
Â
In this presentation we will share our experiences around getting started with the Globus Compute multi-user endpoint. Working with the Pharmacology group at the University of Auckland, we have previously written an application using Globus Compute that can offload computationally expensive steps in the researcher's workflows, which they wish to manage from their familiar Windows environments, onto the NeSI (New Zealand eScience Infrastructure) cluster. Some of the challenges we have encountered were that each researcher had to set up and manage their own single-user globus compute endpoint and that the workloads had varying resource requirements (CPUs, memory and wall time) between different runs. We hope that the multi-user endpoint will help to address these challenges and share an update on our progress here.
Navigating the Metaverse: A Journey into Virtual Evolution"Donna Lenk
Â
Join us for an exploration of the Metaverse's evolution, where innovation meets imagination. Discover new dimensions of virtual events, engage with thought-provoking discussions, and witness the transformative power of digital realms."
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
Enterprise Resource Planning System includes various modules that reduce any business's workload. Additionally, it organizes the workflows, which drives towards enhancing productivity. Here are a detailed explanation of the ERP modules. Going through the points will help you understand how the software is changing the work dynamics.
To know more details here: https://blogs.nyggs.com/nyggs/enterprise-resource-planning-erp-system-modules/
Large Language Models and the End of ProgrammingMatt Welsh
Â
Talk by Matt Welsh at Craft Conference 2024 on the impact that Large Language Models will have on the future of software development. In this talk, I discuss the ways in which LLMs will impact the software industry, from replacing human software developers with AI, to replacing conventional software with models that perform reasoning, computation, and problem-solving.
Listen to the keynote address and hear about the latest developments from Rachana Ananthakrishnan and Ian Foster who review the updates to the Globus Platform and Service, and the relevance of Globus to the scientific community as an automation platform to accelerate scientific discovery.
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
Â
JASMIN is the UKâs high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERCâs long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
Â
CyanicLab, an offshore custom software development company based in Sweden,India, Finland, is your go-to partner for startup development and innovative web design solutions. Our expert team specializes in crafting cutting-edge software tailored to meet the unique needs of startups and established enterprises alike. From conceptualization to execution, we offer comprehensive services including web and mobile app development, UI/UX design, and ongoing software maintenance. Ready to elevate your business? Contact CyanicLab today and let us propel your vision to success with our top-notch IT solutions.
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
Â
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I didn't get rich from it but it did have 63K downloads (powered possible tens of thousands of websites).
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
Â
Games are powerful teaching tools, fostering hands-on engagement and fun. But they require careful consideration to succeed. Join me to explore factors in running and selecting games, ensuring they serve as effective teaching tools. Learn to maintain focus on learning objectives while playing, and how to measure the ROI of gaming in education. Discover strategies for pitching gaming to leadership. This session offers insights, tips, and examples for coaches, team leads, and enterprise leaders seeking to teach from simple to complex concepts.
AI Pilot Review: The Worldâs First Virtual Assistant Marketing SuiteGoogle
Â
AI Pilot Review: The Worldâs First Virtual Assistant Marketing Suite
đđ Click Here To Get More Info đđ
https://sumonreview.com/ai-pilot-review/
AI Pilot Review: Key Features
â Deploy AI expert bots in Any Niche With Just A Click
â With one keyword, generate complete funnels, websites, landing pages, and more.
â More than 85 AI features are included in the AI pilot.
â No setup or configuration; use your voice (like Siri) to do whatever you want.
â You Can Use AI Pilot To Create your version of AI Pilot And Charge People For ItâŚ
â ZERO Manual Work With AI Pilot. Never write, Design, Or Code Again.
â ZERO Limits On Features Or Usages
â Use Our AI-powered Traffic To Get Hundreds Of Customers
â No Complicated Setup: Get Up And Running In 2 Minutes
â 99.99% Up-Time Guaranteed
â 30 Days Money-Back Guarantee
â ZERO Upfront Cost
See My Other Reviews Article:
(1) TubeTrivia AI Review: https://sumonreview.com/tubetrivia-ai-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar
Â
The European Union Agency for Law Enforcement Cooperation (Europol) has suffered an alleged data breach after a notorious threat actor claimed to have exfiltrated data from its systems. Infamous data leaker IntelBroker posted on the even more infamous BreachForums hacking forum, saying that Europol suffered a data breach this month.
The alleged breach affected Europol agencies CCSE, EC3, Europol Platform for Experts, Law Enforcement Forum, and SIRIUS. Infiltration of these entities can disrupt ongoing investigations and compromise sensitive intelligence shared among international law enforcement agencies.
However, this is neither the first nor the last activity of IntekBroker. We have compiled for you what happened in the last few days. To track such hacker activities on dark web sources like hacker forums, private Telegram channels, and other hidden platforms where cyber threats often originate, you can check SOCRadarâs Dark Web News.
Stay Informed on Threat Actorsâ Activity on the Dark Web with SOCRadar!
2. Agenda
⢠Project Vision, Goal, Other much profound issues
⢠The Code Repo
⢠Code
⢠Packages, Main classes
⢠Structure at runtime
⢠Structure at verification?
⢠Sample Usage
3. Project Vision
⢠Create an common infrastructure for BP research
⢠Allow Code reuse
⢠Facilitate Research Community
⢠Be the most boringest part of anyâ¨
BP research
⢠cf. ROS, R, NumPy, iPythonâŚ
BP
AD
LSC
Search
ModelChecking
Robocode
IoT
Satellite
Event
Selection
StrategyYourResearchHere
4. BPjs in Research Setting
1. Standalone (just run BPjs code)
⢠Download BPjs-X.Y.Z.uber.jar from the releases page
⢠$ java -jar BPjs-X.Y.Z.uber.jar src1.js src2.js âŚ
2. Embedded (used as a decision engine for a larger system)
⢠Download above jar and add to project classpath, or add as maven dependency,
or fork the sample project on GitHub
3. Post-process
⢠Pre-processor creates the b-program code and send to BPjs for execution
⢠Either through embedding the library or through piping code to above jarâs stdin
4. 2 and 3 combined
5. Vision â Engineering Aims*
⢠Definition of "done": Coded, unit-tested, documented
⢠Enable rather than dictate: When a few implementations may
make sense, define an interface and allow users to mix and
matchâŚ
⢠Minimal Setup with reasonable defaults: âŚand provide an OK
default implementation
⢠Play well with others: Open source (MIT), Maven, Pure Java
⢠Look Inviting: Code available online, open CI and code coverage,
have positive internet footprint.
* Not saying weâre there yet
9. In the Repo
Mostly Harmless
Git stuff
CI configuration
Project License
maven thingy
NetBeans thingy
main maven thingy
10. Branching
⢠Master: Always stable (âdoneâ).
Normally last version here also
available as a release and in Maven
Central
⢠Develop: Should always compile and
pass tests (under CI). Small changes go
directly here.
⢠Feature Branches: For larger changes
that might require breaking builds.
â For developing BPjs itself. NOT for client code that does not require changes to the BPjs core.
11. Systems and Services
clip art: http://cliparts.co/laptop-pictures-and-images
git
git
git
triggered
triggered
triggered
Manual (release)
triggered
Click system icons visit
them online
14. Classes of Note
⢠BEvent Event in BP. Has name and maybe JS data. Also, a set that contains only itself
⢠BSyncStatement The runtime representation of the parameters passed to bsync.
Contains request, wait-for, block, and interrupt events. Might also contain metadata.
⢠BProgram âClassicâ b-program in the BP sense. Plus, contains event selection
strategy and a queue of external events. Abstract. Cannot run on its own.
⢠StringBProgram A BProgram whose source comes from a string
⢠SingleResourceBProgram A BProgram whose source comes from a .js file
bundled with the code
⢠EventSelectionStrategy Based on a b-program state, produces set of selectable
events (run and verification), and selects a single event (run only). Interface. BPjs
comes with SimpleEventSelectionStrategy, which uses random event
selection.
15. More Classes of Note
⢠BProgramRunner Runs a BProgram, informs listeners.
⢠BProgramListener BPjs comes with
BProgramListenerAdapter,
InMemoryEventLoggingListener,
StreamLoggerListener
⢠BThreadSyncSnapshot Captured status of a b-thread when it
called bsync.
⢠BProgramSyncSnapshot Captured status of a b-program during
a synchronization point. Also contains external event queue.
16. No BThread Class (!)
⢠BThreads are emergent phenomenon of progression between
BThreadSyncSnaphots
BTSS BTSS BTSS BTSSStartBThread ResumeBThread ResumeBThread
ResumeBThread
BTSSBTSSBTSS
BTSS
ResumeBThreadResumeBThreadResumeBThread
Resume
19. How to:
⢠Instantiate a SingleResourceBProgram with the resourceâs name
⢠Pass that to a BProgramRunner
⢠Call BProgramRunner#start()
Run a BP program from a resource file
Client
Code
BProgramRunner SingleResourceBProgram
src.js
reads
creates
20. How to:
⢠Instantiate a StringBProgram, pass the source to the Câtor
⢠Pass the StringBProgram to a BProgramRunner
⢠Call BProgramRunner#start()
Run a BP program from a String
Client
Code
BProgramRunner StringResourceBProgram
- source:String
creates
21. How to:
⢠Instantiate a BProgram
⢠Pass it to a BProgramRunner
⢠Register a new StreamLoggerListenerâ¨
(no-args Câtor defaults to stdout)
⢠Call BProgramRunner#start()
Run a BP program and log events to stdout
Client
Code
BProgramRunner BProgram
creates
EventLoggerListener
- out:OutputStream
22. How to:
⢠Instantiate a BProgram
⢠Pass it to a BProgramRunner
⢠Register a new StreamLoggerListenerâ¨
(no-args Câtor defaults to stdout)
⢠Call BProgramRunner#start()
Run a BP program and log events to stdout
Client
Code
BProgramRunner BProgram
creates
EventLoggerListener
- out:OutputStream
A File
Pass a PrintStream to that file to the Câtor
23. How to:
⢠Create a EventStrategySelection decorator
that performs the needed inspections
⢠Instantiate a BProgram, pass it toâ¨
a BProgramRunner
⢠Set the BProgramâs ESS to aâ¨
decorated instance
⢠BProgramRunner#run
⢠e.g. LoggingEventSelectionStrategyDecorator
Inspect a BProgram's state at Sync point
Client
Code
BProgramRunner BProgram
creates
EventSelectionStrategy
InspectorESS
reports
24. How to:
⢠Before execution starts:â¨
Put values in the programâs global scope.
⢠During Execution:â¨
Enqueue external events.
Pass data TO a BProgram
25. How to:
⢠Read from its global scopeâ¨
getFromGlobalScope(name, class)
⢠Listen to events using a
BProgramEventListener
Get data FROM a BProgram