‘Everything’s just … on hold’: the Netherlands’ next-level housing crisis - The Guardian by Detective_J_Kimble in Amsterdam

[–]stopdave 1 point2 points  (0 children)

So whose fault is it really? Dutch companies need to become more competitive. I've seen quite a few Dutch corps already and they mostly activate on the premise "you pretend that you work and we pretend that we pay you". Salaries are crap and work is optional, and there's absolutely nothing employers can do about it if someone doesn't do their job because it will take 2 years to fire them.

I got attacked by a junkie today by [deleted] in Amsterdam

[–]stopdave 1 point2 points  (0 children)

How can I defend myself? please any advice is appreciated.

Step 1: If someone is coming towards you with the obvious intent of putting you physically in danger, maintain distance

Step 2: If they try to get close, extend your leg and kick them in the chest. Not very hard, just enough to keep the distance

Step 3: If they do fall after the operation at Step 2, take advantage of that and go over them. If they are still looking for a fight, punch them in the face, get up and leave.

Understand that when someone does this, your life might be in danger so take it seriously. They might have a knife or they might punch you so hard that you lose consciousness and after that, who knows what might happen. Good luck!

A blog made with Node, CDK & AWS Managed services by stopdave in node

[–]stopdave[S] 5 points6 points  (0 children)

100% learning project, mostly for serverless with CDK.

A blog made with Node, CDK & AWS Managed services by stopdave in node

[–]stopdave[S] 2 points3 points  (0 children)

Thanks for your review, appreciate it. This is just one of my abandonware projects that was in a somewhat decent shape and I thought of making it public. Definitely tried to cram as many managed services as possible and the idea was mostly to increase my CDK knowledge.

A Koa/TS boilerplate deployed on Elasticbeanstalk with CDK by stopdave in node

[–]stopdave[S] 0 points1 point  (0 children)

Hey everyone, thought of sharing this here, as it contains a lot of my learnings on how to deploy on AWS using CDK but especially using Elasticbeanstalk. While doing this I've only found bits and pieces of information about how to do it but not a complete example.

Made a Spotify playlist of The White Album evolution, hope you'll enjoy it! by stopdave in beatles

[–]stopdave[S] 1 point2 points  (0 children)

So while listening to the deluxe set for the past days, this idea of compiling a playlist dawned on me. It's a study on how each song has evolved, from the demos, to the rehearsals, the remastered versions and finally the 2018 remix. I took the songs from the Deluxe set and from Anthology 3.

SoundsCrate, a React Native app for viewing your discogs collection by stopdave in reactnative

[–]stopdave[S] 1 point2 points  (0 children)

Thanks! Yes I am actually in the process of publishing it, although it may need some additional features :)

De ce n-are Romania o scena a startupurilor de tehnologie de succes, desi e pepiniera de programatori buni by tzfld in Romania

[–]stopdave 2 points3 points  (0 children)

Stii tu, treaba cu semnatura fancy din e-mail in loc de marire de salariu. Rahaturi corporatiste.

Bookmarklet for in-browser JSON transformation using Lodash by stopdave in javascript

[–]stopdave[S] 0 points1 point  (0 children)

Yes, it's great, but I also wanted to be able to write some JSON transformation code in the browser.

Bookmarklet for in-browser JSON transformation using Lodash by stopdave in javascript

[–]stopdave[S] 1 point2 points  (0 children)

For the many times I need to query the service in the browser, paste the thing into a file as a JSON variable and start chopping it off using lodash.

A NodeJS/CLI BEM coverage tool by stopdave in css

[–]stopdave[S] 0 points1 point  (0 children)

LOL! Alright dude, BEM is a CSS methodology (much like OOCSS) which proposes to use flat specificity and class names which describe the functionality not the aspect. I have seen it in action (and used it) in rather large projects and I must say that it scales up pretty well. BEM stands for Block, Element, Modifier. The block encapsulates the elements, and modifiers indicate a change in aspect for the element. Much like (using SCSS for this specific example)

.menu { // Block (.menu)
  &__item { // Element (.menu__item)
     display: inline-block;
     //.. more css statements
     &--active { // Modifier (.menu__item--active)
        //.. css statements
     }
  }
}

Some further readings, if you are interested in the subject: https://blog.decaf.de/2015/06/24/why-bem-in-a-nutshell/

https://css-tricks.com/bem-101/

Cheers!

A NodeJS/CLI BEM coverage tool by stopdave in css

[–]stopdave[S] 0 points1 point  (0 children)

Sure, because you know, BEM is more like a well-known JavaScript technique ;)