Code Monkey home page Code Monkey logo

Comments (11)

cfergeau avatar cfergeau commented on June 15, 2024 1

If you can give me PR after these, you are more than welcome to do so. Just please wait a while for v3 to be released.

Sorry, I filed PR #60 before seeing your message. You can ignore it until v3 is released!

from vz.

cfergeau avatar cfergeau commented on June 15, 2024 1

Done in #71. I left error_test.go in the commit, but I can remove it.
Thanks for the link on memory management conventions, this is very useful and interesting!

from vz.

Code-Hex avatar Code-Hex commented on June 15, 2024

This problem should fix error handling instead of removing autorelease pool

from vz.

cfergeau avatar cfergeau commented on June 15, 2024

This commit is doing the same as 318c157
I don't know objective C, I don't know autoreleasepools, I cannot easily do more than this.

from vz.

Code-Hex avatar Code-Hex commented on June 15, 2024

@cfergeau So why you send PR? I can't believe

from vz.

cfergeau avatar cfergeau commented on June 15, 2024

I wrote a test case to reproduce the issue. I found commit 318c157 . Your commit is also removing autoreleasepool (but the commit log does not explain why). My commit fixes the test case, and is similar to an existing commit, so it seemed good for sending.

from vz.

cfergeau avatar cfergeau commented on June 15, 2024

I propose a working patch to fix a crash in Code-Hex/vz master with a reproducer. You reject it, which is fine. I am not asking for teaching of objective-c and Go, but I expect feedback I can act on. Then I can provide a PR which will suit you. Your feedback so far in this issue has been too vague and non actionable for me, especially with my lack of familiarity with objective-c.
It is the first time in this issue you mention problems with the test case in this commit and its external dependencies. I can easily fix this, but I cannot guess it is not welcome!

from vz.

Code-Hex avatar Code-Hex commented on June 15, 2024

@cfergeau Test case welcome but no thank you third-party deps.

I think I should fix the my code

from vz.

Code-Hex avatar Code-Hex commented on June 15, 2024

@cfergeau Please stop sending your PR to me. I have a plan to commit to this project.
I have my own priorities for some tasks.
It is annoying to review code one by one and to leave comments, as it disrupts my priorities. If you can give me PR after these, you are more than welcome to do so. Just please wait a while for v3 to be released.

#59

from vz.

Code-Hex avatar Code-Hex commented on June 15, 2024

@cfergeau Not that it matters, but I don't know why my contribution to the repository is your business. It is annoying.
Especially, Your EM comments in particular make me uncomfortable.

from vz.

Code-Hex avatar Code-Hex commented on June 15, 2024

I checked this issue, and the NSString stringWithUTF8String: and NSURL fileURLWithPath: methods do not need to be freed respectively, so I tried to reopen #57 but the commit has been removed by your force-pushed.

If you want to send PR for this issue, I can accept your PR. Actually I want only this changes.

NSString *filePathNSString = [NSString stringWithUTF8String:filePath];
    NSURL *fileURL = [NSURL fileURLWithPath:filePathNSString];
    return [[VZFileSerialPortAttachment alloc]
        initWithURL:fileURL
             append:(BOOL)shouldAppend
              error:(NSError *_Nullable *_Nullable)error];

from vz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.