Live data from Hacker News

Viewing profile — mristin

mristin

HN member
Joined
Sun, Sep 29, 2019, 8:26 PM UTC
HN karma
44
Public activity
17 items

About mristin

No profile information was provided.

Recent public activity

  1. 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…

  2. 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…

  3. comment
    Comment #35738123

    Just let the kids play games in foreign languages. That's educational enough for me.

  4. 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…

  5. comment
    Comment #35551197

    I'll try to package it for Linux this morning. So far nobody asked for it.

  6. 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…

  7. 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…

  8. 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 …

  9. 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…

  10. 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…

  11. 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…

  12. 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…

  13. 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…

  14. comment
    Comment #23990022

    Switzerland faced similar warfare, terror, murder and bloodshed -- it's only in 1848 that Switzerland came to peace.

  15. 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…

  16. 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…

  17. comment
    Comment #21109425

    See also Mapry [0], a code generator we particularly made for JSON. [0] https://github.com/Parquery/mapry