Better HN
topnewbestaskshowjobs
Log inSign up

michbarsinai

9 karma · joined Jan 4, 2013 (13y ago) · 17 submissions

Father of 3, husband of 1. PhD computer science (software engineering/programming languages/formal methods). Worked a lot with NGOs, academia, societal impact stuff. Currently co-founder and CTO at provengo.tech.
Submissions

comment 2y ago · link · parent

This is an extension that turns VSCode into an IDE for Provengo models. This is not mandatory for working with Provengo - we use regular text files - but for people using VSCode it makes things easier. Feedback welcome!

Relevant links are on the video page.

comment 2y ago · link · parent

Email sent to mail at profile :-)

comment 2y ago · link · parent

Very true. I think the upfront work required is the biggest resistance we get, along with "nah, I'm just gonna let some AI understand this for me" (can't help there, they'll have to find out for themselves :-)).

We alleviate this by allowing users to add details as needed - the underlying model does not require full description of the entire system, only the parts on which the current feature depends. This reduces the upfront work required and allows adding details later, on an "as-needed" basis. But sure, some upfront work has to be done.

Another resistance I sometimes get is that "people just don't think this way" or "I don't have anyone in the team that can understand the product AND the QA side". Did you get these too?

comment 2y ago · link · parent

Yes. The tool does not support all of the BPMN standard yet, but within the supported range it can detect issues such as "process A happens before process B" or the like.

comment 2y ago · link · parent

Hello HN,

This is a specification and testing tool for software systems. It's based on the the Behavioral Programming modeling paradigm (think of it as the next-next generation of UML's State Charts, the next generation of the lesser-known Live Sequence Charts, or a sibling of TLA+). You can use it to model desired system behavior[1], visualize[2] and verify[3] it, and then generate optimized test suites to validate that the implemented application does what it was supposed to do. Test suites can be executed directly (using Selenium, REST apis, CLI integrations...), or exported as code/manual test books.

The model-based approach to specification and testing is very different from current specification and testing approaches, which are quite separate, are prone to ambiguities, and require a lot of manual work (especially test suite generation and test scenario maintenance). Using this approach, test scenarios and suites are derived from the model, so the work on test suite maintenance and composition is drastically reduced, model visualizations help even non-technical people understand what the planned behavior is, and verification ensures that the said behavior does not contain contradictions or violations.

Granted, this has been the promise of model-based software engineering for a long time, but this tool uses a different modeling paradigm and is created by software engineers, not mathematicians (insert evil emoji here).

The tool started as my PhD thesis project, but became useful-ish so we[4] decided to make it into an actually useful tool.

Looking forward to hearing what the HN community thinks of this!

----

[1] Technically, a large state machine/transition system defining desired interactions of the system-to-be with its environment.

[2] Yes, it's Graphviz, but with a lot of styling. Yes, there's a D3js version on the way.

[3] Actual formal verification of the model defined in [1].

[4] My PhD advisor, another professor from the lab, and yours truly

6.

Show HN: I built a tool for (formal) model-based specification and testing(downloads.provengo.tech ↗)

8 points · by michbarsinai · 2y ago · 7 comments

comment 2y ago · link · parent

When developing locally, I'm using it as an endpoint for capturing REST api calls from third-party sites that cannot send data to my laptop (e.g. API calls from on-submit scripts in Google Forms). Works well.

8.

Some Remarks on “The Repeated Deaths of OOP”(mbarsinai.com ↗)

3 points · by michbarsinai · 11y ago · discuss

9.

JavaScript: uninheritance using undefined(mbarsinai.com ↗)

2 points · by michbarsinai · 11y ago · discuss

10.

Playful Eye for the JEE Guy – Presentation about Play done in Play(mbarsinai.com ↗)

2 points · by michbarsinai · 12y ago · discuss

11.

Lessons learned by a frugal hacktivist(mbarsinai.com ↗)

2 points · by michbarsinai · 12y ago · discuss

12.

Fair mobile practices, Apple, and the FTC(ftc.gov ↗)

2 points · by michbarsinai · 12y ago · discuss

13.

Geek Dad #12FFA: Cowsay (mbarsinai.com ↗)

1 points · by michbarsinai · 13y ago · discuss

14.

Run Play2.0 on dotCloud(github.com ↗)

2 points · by michbarsinai · 13y ago · discuss