HNHacker News
TopNewBestAskShowJobs

mjepronk

43 karma · joined July 4, 2016

https://GitHub.com/mjepronk/
submissionscomments
mjepronk··on Tell HN: Postman update removes all your stuff if you refuse to create account
Httpyac, to install the VS Code extension, just do:

ext install anweber.vscode-httpyac

mjepronk··on Browsers, JSON, and FormData
Personally, I don't like the use of indexing to determine the JSON structure (like this `<input name="foo[0][1]">`). I think it's way more powerful to derive the JSON structure from the DOM tree. That's why I wrote some code to do exactly that: https://gist.github.com/mjepronk/5b33eaa90ecf11a5c2c47935a2c...

The use of `<fieldset>` and `<section>` may not be the best choice. You could use `data-` attributes on arbitrary tags for instance.

mjepronk··on World’s largest vertical strawberry farm opens in Jersey City
Netting mostly. Only downside is that these do not last forever and are made of plastics (PE, PEHD, PA, ...).
mjepronk··on Ask HN: How did you learn good program design?
I like the book Domain Driven Design by Eric Evans.

Also, pure functional programming and immutability have greatly influenced my design even in languages other than Haskell (my main language is Python).

Eric Evans also stresses the importance of immutability of what he calls Value Objects.

mjepronk··on Equipping backbone networks with DNS resolution infrastructures
It's a DNS resolver, not an authoritative DNS server. So it's similiar to Google's 8.8.8.8, Cloudflare's DNS resolver, or the DNS resolver that is provided to you by your ISP.
mjepronk··on Show HN: Open-Source Auth for NextJS / React
Thank you for your answers!

The project for which I'm most interested in a solution like Ory Kratos is a multi-tenant SAAS, with a few hundred organizations. The organizations in general already have other systems that they use to keep track of employees, and so they want to be able to interface with our system to create and deactivate (or delete) users.

So it would suffice if we could host all organizations in one instance, and that we would still be able to directly expose Ory Kratos API's to our clients without them being able to see users in other organizations.

mjepronk··on Show HN: Open-Source Auth for NextJS / React
Thank you for working on this interesting open source product.

I have some questions:

- Is it possible to have multiple organizations in one single instance? Can I have some superusers that have access to all organizations?

- Can I delegate authentication for a subset of users (in my case this will always be an entire organization) to another authentication provider (say Microsoft ADFS)?

- Do you support SAML 2.0 clients?

- Do you have a REST API which can be used to create / deactivate users?

mjepronk··on Show HN: Offline-First Personal Kanban
You could have a look at EteBase [1], which was recently featured on HN. I haven't tried it myself, but I'm looking to build my applications in a similiar style.

[1] https://www.etebase.com/

mjepronk··on Mozilla Common Voice Dataset: More data, more languages
Well there is Librivox...
mjepronk··on Why is Idris 2 so much faster than Idris 1?
It compiles to Chez Scheme. It's written in Idris 2 (self-hosted).
mjepronk··on Why I’m Leaving Elm
Do you think it is harder to learn than Ocaml/ReasonML though?

I think there is a good free introductory book [1], a welcoming community [2], the language and ecosystem are quite stable nowadays and there's good tooling (now that there's the Spago package manager).

[1] https://leanpub.com/purescript/read [2] https://discourse.purescript.org/

mjepronk··on Prototype: Puppeteer for Firefox
It's good, however it's not possible to use the remote debugging protocol for printing to PDF yet.
mjepronk··on PSA: Firefox Nightly now with experimental Wayland support
Hmm, a few weeks ago Ctrl-C Ctrl-V didn't even work on Fedora 29. With the latest Nightly everything seems to work fine on Wayland, even dragging a URL to GNOME Terminal.

Also, without XWayland I have no artifacts when scrolling fast in long documents. Very nice :-)

mjepronk··on PSA: Firefox Nightly now with experimental Wayland support
Did you have any problems with copy-paste? For me copy-paste was completely broken.
mjepronk··on An Engineer’s Guide to the Docuverse
Yes, for example the Dhall (non-Turing complete) programming language does this: https://github.com/dhall-lang/dhall-lang
mjepronk··on Whole House Fan and Evaporative Cooler
> Aside: that LTM article made me think of a complaint of a friend of mine on that the solar panels on his house are almost never at optimal efficiency due to temperature. At which point I asked him if active cooling of solar panels using heat transport + a heat buffer underneath the house + re-using said heat in winter might be a win-win solution for that - he thought it was a good idea but also too ambitious a project for him to undertake.

Yes, this idea has occured to other people. They are called PVT Solar Panels (PVT=Photovoltaic + Thermal).

https://green.blogs.nytimes.com//2008/09/29/waste-not-want-n...

mjepronk··on Moving efficiently in the CLI
You can keep your hands in typing position on the keyboard while performing these operations. Using the arrow keys or backspace means you need to move to another part of the keyboard which interrupts your flow.
mjepronk··on Cryptsetup 2.0.0 introduces new on-disk LUKS2 format
Plausible deniability. For example, from the trimmed sector you can inference that the disk is being used.