Marc Bachmann (@mrbrookman) profile picture

Engineering Director at @livingdocsIO. Javascript. Node. Event everything. Apis. Docker. Ex-network-engineer. https://nitter.gq/t.co/tTqKVPwNm7

Zürich, Switzerland
Joined May 2009
Photo by Marc Bachmann (@mrbrookman)Photo by Marc Bachmann (@mrbrookman)Photo by Marc Bachmann (@mrbrookman)Photo by Marc Bachmann (@mrbrookman)Photo by Marc Bachmann (@mrbrookman)Photo by Marc Bachmann (@mrbrookman)Photo by Marc Bachmann (@mrbrookman)Photo by Marc Bachmann (@mrbrookman)Photo by Marc Bachmann (@mrbrookman)Photo by Marc Bachmann (@mrbrookman)
Please never ever use `sinon.useFakeTimers` with Node.js!
2
1
It doesn't return Timeout instances with setTimeout. Therefore it can't clear the timeouts using clearTimeout once the stub is restored.
1
Oh, AWS API Gateway supports JWT Authorizers with jwks. But only with RSA🤦🏻‍♂️ No EdDSA or ECDSA 🤦🏻‍♂️ #aws why?
Interesting redis stats The memory of a Hash is lower than List HSET foo id foo bar baz MEMORY USAGE foo 78 XADD bar * id foo bar baz MEMORY USAGE bar 594 XADD bar * id foo bar baz 614 LPUSH quz id foo bar baz MEMORY USAGE quz 150 LPUSH quz id foo bar baz MEMORY USAGE quz 169
1
@Redisinc it would be interesting to have an immutable stream like structure (key value key value) without the overhead of lists and hashes. A hash currently can't replicate the stream-like structure as keys are deduplicated. But the list has double the initial memory usage.
2
Trying to get prettier stack traces with @nodejs / @v8js ``` class Foo { static hello () { throw new Error('world') } } Foo.hello() > at Function.hello Foo.hello.call(undefined) > at hello Foo.hello.call(new Foo()) > at Foo.hello ```
1
Object.defineProperty(Foo.hello, 'name', {value: 'Foo.hello'}) Foo.hello.call(undefined) > at Foo.hello
🎉 Reduced postgres traffic from 80MB/s to 3MB/s 😲 And that by changing astonishing 16 lines of code.
21
Weird, just went to @docker hub and chrome reported me an invalid certificate (gadev.espmax.com). After a few reloads it worked again. @Cloudflare was that some issue with dns resolution or BGP again?
1
Thanks to all the people who voted for @JoeBiden 🙇‍♂️ This means a lot to all of us. There will be some hard work but the whole world will profit from it. It won't just degrade like in the last few years.
1
Replying to @AppleSupport
@AppleSupport does this update fix this annoying graphics issue?
1
Replying to @Cloudflare
@Cloudflare how is it possible that you advertise 100% uptime SLA in the business pricing, your status page is showing a Minor Outage/Faked All systems operational message and we still get load times of >15 seconds on some requests.
1
3
1
Ooops, I just accidentally deleted a 20 host cluster using terraform because I was in the wrong project directory 😅 Luckily recovering them only took 25 minutes as I still kept the databases and s3 buckets separate.
2
Wow, @RevolutApp now supports apple pay. That wasn't the case some months ago and it was the reason I didn't use it. Now that changes. 👏🙇‍♂️
1
2
5
why do I always only sleep 3 hours before a flight 😩🤣
2
4
@PatrickHeneise great to meet you in Zürich 🤗😁
1
Does somebody who's going to @NodeConfEU already want to meet up in dublin for a pre-conference dinner or drinks?
2
3
4
Replying to @diffcunha
@diffcunha hey Diogo, how are you doing? Will you be in Berlin somewhen in october? I'll visit from the 4th to the 267th.
1
things you get first when you arrive in berlin. a cappuccino and a club mate 😍
1
2
8
I wrote a small module to set some metadata of CI builds on the package.json of my modules. It could make deployments of applications more transparent: github.com/livingdocsIO/set-…
1
now after writing the script, I think I should directly write a semantic-release hook 😁
Thanks @npmjs for the enforced token rotation 😁 – at Zurich, Switzerland