stiuna (Juan Gregorio)
- Login: stiuna
- Email: cart4for1@mail.com
- Registered on: 10/21/2019
- Last sign in: 04/26/2021
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 1 | 4 | 5 |
Activity
03/27/2021
- 11:36 AM Ruby master Misc #17751: Do these instructions (<<,+,[0..n]) modify the original string without creating copies?
- I was looking for a FAQ on the site to see if it was allowed to open topics not related to bugs or improvements but I...
- 08:45 AM Ruby master Misc #17751: Do these instructions (<<,+,[0..n]) modify the original string without creating copies?
- @xtkoba
Hey thanks, your code gave me a great idea, with some modifications I can do what I needed. Very helpful.
*... - 07:45 AM Ruby master Misc #17751: Do these instructions (<<,+,[0..n]) modify the original string without creating copies?
- xtkoba (Tee KOBAYASHI) wrote in #note-3:
> I would not even concatenate any strings and would `push` them to an arra...
03/26/2021
- 10:34 PM Ruby master Misc #17751: Do these instructions (<<,+,[0..n]) modify the original string without creating copies?
- @xtkoba
But use this:
``` ruby
# [header, str]
data = ["", ""]
data[1] << "some data"
```
Or this:
``` ruby
d... - 09:22 AM Ruby master Misc #17751 (Closed): Do these instructions (<<,+,[0..n]) modify the original string without creating copies?
- In my program a string increases considerably in size inside a loop, at the end of that loop a header is created that...
03/06/2021
- 12:04 AM Ruby master Bug #17673: sysseek(0) and '1A' in header return "EOFError (end of file reached)"
- Right, that solved it, the Ruby documentation should specify that. Ok, thanks.
03/05/2021
- 11:39 PM Ruby master Bug #17673: sysseek(0) and '1A' in header return "EOFError (end of file reached)"
- Aaah! I don't know if it matters but I use Windows, did you run it on Linux all of a sudden?
- 11:28 PM Ruby master Bug #17673: sysseek(0) and '1A' in header return "EOFError (end of file reached)"
- Can you try on a different machine to check if this is a local problem?
Unfortunately I don't have another compute... - 11:03 PM Ruby master Bug #17673 (Closed): sysseek(0) and '1A' in header return "EOFError (end of file reached)"
The first byte of my file starts with the value **'1A'** .
Then:
``` ruby
descriptor = IO.sysopen(filePath)
...
12/09/2019
- 06:55 AM Ruby master Misc #16396: What is the reason for this behaviour of Find.find?
- > pp Dir['/tmp/**/**/']
Hello, I loved your alternative, from now on I'll use Dir.
Regarding the "bug" of ...
Also available in: Atom