HNHacker News
TopNewBestAskShowJobs

marijnz0r

19 karma · joined November 14, 2019

submissionscomments
marijnz0r··on UEFI Bindings for JavaScript
I was going to post this as well! A direct link to the video: https://www.destroyallsoftware.com/talks/the-birth-and-death...
marijnz0r··on OpenAI Needs $400B In The Next 12 Months
And The Netherlands
marijnz0r··on Async await: the worst thing to happen to programming?
Although it seems async/await is based on multiple threads, this is not the case. To learn about this, read this blog post: https://blog.stephencleary.com/2013/11/there-is-no-thread.ht... Please let me know what you think.
marijnz0r··on Async await: the worst thing to happen to programming?
Although it seems async/await is based on multithreading, this is not the case. To learn about this, read this blog post: https://blog.stephencleary.com/2013/11/there-is-no-thread.ht... Please let me know what you think.
marijnz0r··on Ask HN: How do you test SQL?
I really like this answer because it tests CTEs in a modular way. One question I have is: how do you test a the CTE with an in.csv and out.csv without altering the original CTE? Currently I have a chain of multiple CTEs in a sequence, so how would I be able to take the middle CTE and "mock" the previous one without altering the CTE actually used in production? I prefer not to maintain a CTE for the live query and the same CTE adapted for tests.
marijnz0r··on Ask HN: Where to buy cheap but good quality glasses in Europe?
https://www.aceandtate.com is an option as well.
marijnz0r··on Ask HN: What makes you optimistic about the future?
A book about this topic: Hans Rosling - Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think

https://www.goodreads.com/book/show/34890015-factfulness

I can highly recommend it.

marijnz0r··on Good times create weak men (2019)
It might be, but the originally linked article is more about tech and not so much about politics on a national or global level.
marijnz0r··on Good times create weak men (2019)
Wow, that's quite a discussion. I'll be sure to make time to read it in its entirety.
marijnz0r··on Ask HN: How to Write Readable Code
Thanks for the recommendation. I've read the book by Eric Evans and I like the first chapters about creating an ubiquitous language. I'm trying to figure out how to create a balance between the spoken language in code and the actual implementation of the code.
marijnz0r··on Ask HN: How to Write Readable Code
Regarding a unit test it looks something like this in pseudocode:

  function test_addition() {
      given_two_integers(2,3);
  
      when_summed_up();
  
      then_the_result_should_be(5);
  }
Whereas I would prefer something like

  function test_addition() {
      int a = 2;
      int b = 3;
  
      int result = new Addition(a, b);
  
      Assert.AreEqual(result.Sum(), 5);
  }
For a non-coder it might seem more intuitive to read the first example, because it only contains natural language. For a coder it seems more intuitive to read the second example, because it prevents "method hopping" (I have to go into the methods from example one to see what's actually happening inside them).
marijnz0r··on Togo made a digital government stimulus system in two weeks
Rutger Bregman https://en.m.wikipedia.org/wiki/Rutger_Bregman
marijnz0r··on Show HN: Free to play old-school browser MMORPG
It seems to work now. I guess it was user error!
marijnz0r··on Show HN: Free to play old-school browser MMORPG
I tried to use it on my phone, but it doesn’t seem to work. OS: Android Browser: Firefox
marijnz0r··on Show HN: Super minimal, simple and inexpensive 24/7 uptime monitoring service
Looks great, will consider it for my domains. I like its simplicity.
marijnz0r··on A directory of handmade webpages
Is it possible to pay with a different method than credit card?
marijnz0r··on [dead]
The correct link (removed the trailing l character): https://www.reemer.com/articles/lessons-learned-going-from-i...