Better HN
topnewbestaskshowjobs
Log inSign up

marijnz0r

19 karma · joined Nov 14, 2019 (7y ago) · 24 submissions

Submissions

comment 9mo ago · link · parent

I was going to post this as well! A direct link to the video: https://www.destroyallsoftware.com/talks/the-birth-and-death...

comment 1y ago · link · parent

And The Netherlands

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

https://www.aceandtate.com is an option as well.

comment 4y ago · link · parent

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.

8.

PEMTileMap – Creates SpriteKit game maps from TMX Map files(github.com ↗)

1 points · by marijnz0r · 4y ago · discuss

comment 4y ago · link · parent

It might be, but the originally linked article is more about tech and not so much about politics on a national or global level.

comment 4y ago · link · parent

Wow, that's quite a discussion. I'll be sure to make time to read it in its entirety.

11.

Good times create weak men (2019)(tonsky.me ↗)

2 points · by marijnz0r · 4y ago · 4 comments

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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

14.

Ask HN: How to Write Readable Code

10 points · by marijnz0r · 4y ago · 11 comments

15.

The Dreadvertising Manifesto(p-edge.nl ↗)

7 points · by marijnz0r · 4y ago · 1 comment

comment 5y ago · link · parent

Rutger Bregman https://en.m.wikipedia.org/wiki/Rutger_Bregman

comment 5y ago · link · parent

It seems to work now. I guess it was user error!

comment 5y ago · link · parent

I tried to use it on my phone, but it doesn’t seem to work. OS: Android Browser: Firefox

comment 5y ago · link · parent

Looks great, will consider it for my domains. I like its simplicity.

comment 5y ago · link · parent

Is it possible to pay with a different method than credit card?

21.

It's On Us(industriallogic.com ↗)

1 points · by marijnz0r · 6y ago · discuss

22.

Repeatable Execution(blog.ploeh.dk ↗)

2 points · by marijnz0r · 6y ago · discuss

comment 6y ago · link · parent

The correct link (removed the trailing l character): https://www.reemer.com/articles/lessons-learned-going-from-i...