Desprit

Results 32 comments of Desprit

Yeah, rate limiting would be great. As an alternative, does anyone have an example of how to intercept log events? I could have some simple function to check the last...

Not just spaces. It also removes blank line. In my docker-compose file I have all services separated by 1 line to make reading easier. After initializing a project in DockStation...

@sgrunt91 Hi! Check this section: https://github.com/gliderlabs/logspout#mixed-json--generic You can do something like that: ``` environment: - RAW_FORMAT={"container":"{{.Container.Name}}","message":{{toJSON .Data}}}\n ``` If you are using `logstash` don't forget to use `json` codec: ```...

Didn't work for me. I have `node: { fs: 'empty' }` but still get that error.

I'm using cornerstone with storybooks. And this is mainly storybooks that's causing problem. Long story short: https://stackoverflow.com/a/64246289/3459479

@swederik `cornerstoneWebImageLoader` doesn't set it to auto: https://github.com/cornerstonejs/cornerstoneWebImageLoader/blob/master/config/webpack/webpack-base.js `cornerstoneTools` doesn't set it too: https://github.com/cornerstonejs/cornerstoneTools/blob/master/config/webpack/webpack-base.js It's currently failing for me with Jest, Cypress and Vitest.

@Zaid-Safadi Thank you, I was able to do that in "vitest" in "jsdom" environment with the following: ``` const script = global.document.createElement("script"); script.setAttribute("src", "/"); Object.defineProperty(global.document, "currentScript", { value: script });...

@eronenergy > but my serial port does not break connection You mean it doesn't exit the `for c in ser.readline():` loop? p.s. please, fix the formatting of the code block...

@eronenergy Try to change the write command to this: ``` ser.write(b'\reeprom\r\n') ``` And fix the formatting, please. "edit" your message and wrap the whole code block into ```

@eronenergy https://pyserial.readthedocs.io/en/latest/shortintro.html#readline > Be careful when using readline(). Do specify a timeout when opening the serial port otherwise it could block forever if no newline character is received. Also note...