984 research outputs found

    Enhanced coupling design of a detuned damped structure for clic

    Full text link
    The key feature of the improved coupling design in the Damped Detuned Structure (DDS) is focused on the four manifolds. Rectangular geometry slots and rectangular manifolds are used. This results in a significantly stronger coupling to the manifolds compared to the previous design. We describe the new design together with its wakefield damping properties.Comment: 3 pages, 8 figures, submitted to IPAC1

    PyVerDetector: A Chrome Extension Detecting the Python Version of Stack Overflow Code Snippets

    Full text link
    Over the years, Stack Overflow (SO) has accumulated numerous code snippets, with developers going to SO for problem solutions and code references. However, in the case of the Python programming language, Python 3 is not necessarily backward compatible with Python 2. The major implication of this versioning problem is that code written in Python 2 may not be interpreted by Python 3 without modifications. This issue may affect the usability of Python code snippets on SO. We investigate how many Python code snippets on SO suffer from version compatibility issues, and find that about 10% of the snippets exhibit this problem. Moreover, of the code snippets that are interpretable only by Python 2 or Python 3, less than 17% are tagged with the Python version.In this paper, we present a Chrome extension called PyVerDetector. This extension allows the user to select a given version of Python and verifies whether the code snippets on a given SO question are compatible with the user's selected Python version, providing error messages if not. The tool parses snippets and can determine versioning errors due to differences in syntax and also provides the user with a list of Python versions capable of interpreting each code snippet.Yang S., Kanda T., Pizzolotto D., et al. PyVerDetector: A Chrome Extension Detecting the Python Version of Stack Overflow Code Snippets. IEEE International Conference on Program Comprehension 2023-May, 25 (2023); https://doi.org/10.1109/ICPC58990.2023.00013
    • 

    corecore