Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Matthias Braun
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Question | — |
Set transform of SVG element I'm trying to set the `transform` attribute of a group within an SVG. Specifically, I'd like to set `translate`'s value to `0 0`. I tried using the `set` element for this but that didn't have an observable effect: rect { cursor: pointer; fill: papa... (more) |
— | 7 months ago |
Question | — |
Name for host + path (parts of a URL) Among other things, a URL consists of a host and a path: URL syntax diagram I was wondering (and couldn't find anything) if there's a name for the combination of host and path. Is there a name for these: example.com/path/to/file example.com/file.html en.wikipedia.org/wiki/URL ... (more) |
— | 8 months ago |
Answer | — |
A: Read all data from TCP stream in Rust One way to do this, is: 1. Set a read timeout on the `TcpStream` using `setreadtimeout`. This avoids a hanging client in case the server has stopped sending but left the connection open. 2. Read from the stream in a loop, using a `BufReader`, and aggregate the read bytes. 3. Break out of t... (more) |
— | 12 months ago |
Question | — |
Read all data from TCP stream in Rust I'd like to write a TCP client in Rust that can receive the entire message sent by a server, but I have no information about the length of a message. I'm aware that TCP doesn't preserve message boundaries. Still, what's the best I can do to read the entire message from the `TcpStream`? In th... (more) |
— | 12 months ago |
Question | — |
Create encrypted zip archive with bsdtar I'm trying to create an encrypted¹ zip archive using bsdtar. Here's where I got stuck: bsdtar -c --options='zip:encryption' --passphrase "secret" -f test.zip test This is the error I get: >bsdtar: Unknown module name: `zip' How do I get around this error to create an encrypted zip a... (more) |
— | over 3 years ago |