Viewing profile — mristin
mristin
HN member- Joined
- Sun, Sep 29, 2019, 8:26 PM UTC
- HN karma
- 44
- Public activity
- 17 items
- HN profile
- View on Hacker News ↗
About mristin
No profile information was provided.
Recent public activity
-
comment
Comment #47380308
Have a look at Asset Administration Shells (AAS) -- it is a data exchange format built on top of JSON and XML (and RDF, and OPC UA and Protobuf, etc.). https://industrialdigitaltwi…
-
story
Show HN: Learn English with pictograms, speech and body pose
Hi HN, We are moving abroad, so my kids (7 and 4 yo) will have to attend classes in English, but they don't know any English (yet). I made two fairly simple language games to motiv…
-
comment
Comment #35738123
Just let the kids play games in foreign languages. That's educational enough for me.
-
comment
Comment #35597409
XBox doesn't work outside & in the class room. Now, I wouldn't advocate for playing computer games outside -- but this might be a nice gimmick for children's birthdays when celebra…
-
comment
Comment #35551197
I'll try to package it for Linux this morning. So far nobody asked for it.
-
comment
Comment #27354737
Sorry, I did not express myself clearly. For certain functions you can express all the properties in contracts and have them automatically tested. For other functions, you write so…
-
comment
Comment #27353802
P.S. I think the important bit is not to be religious about contracts and tests. Sometimes it's easy to write the contracts and have the function automatically tested, sometimes un…
-
comment
Comment #27353603
In my anecdotal experience, it takes very little time for juniors to pick up adding contracts to their code. You need to grasp implication, equivalence, exclusive or, and get used …
-
comment
Comment #27350986
Just in case you are looking for an alternative approach: if you write contracts in your code, you might also consider crosshair [1] or icontract-hypothesis [2]. If your function/m…
-
comment
Comment #26023287
You can already do that with a family of predicates if you write preconditions in your Python code (see my previous comment [1]). There is an ongoing discussion how to bring this i…
-
comment
Comment #26018386
If you use Python and want to infer test strategies from contracts, you might want to check out this library of mine: [1]. There are also plugins for IDEs (Pycharm, VS Code and vim…
-
comment
Comment #25423762
Use contracts and propery-based testing. See Hypothesis library in Python (and other laguages). I wrote a library for contracts in Python ( http://github.com/Parquery/icontract , s…
-
comment
Comment #24581597
I find the combination between unit tests, component tests and contracts the best. Contracts allow you to test with tons of data you wouldn't have ever generated manually when enab…
-
comment
Comment #23990022
Switzerland faced similar warfare, terror, murder and bloodshed -- it's only in 1848 that Switzerland came to peace.
-
comment
Comment #22223028
I always wondered where this multiplicative factor of "several times" comes from. In my experience, writing correct software was marginally slower than writing sloppy software as l…
-
comment
Comment #22160153
You can use PEX for Python. At my previous job, we used a python script to rsync files -- very, very simple. I think it would have been much more difficult and error-prone with Doc…
-
comment
Comment #21109425
See also Mapry [0], a code generator we particularly made for JSON. [0] https://github.com/Parquery/mapry