Crack The Code And Open The Box

0 views
Skip to first unread message

Hyun Orth

unread,
Aug 4, 2024, 9:51:30 PM8/4/24
to sayhiomeli
Whenyou choose to publish with PLOS, your research makes an impact. Make your work accessible to all, without restrictions, and accelerate scientific discovery with options like preprints and published peer review that make your work more Open.

Just over a year ago, PLOS Computational Biology introduced a new journal policy requiring authors to make public any code directly related to the results of their article upon publication of the work. We look forward to sharing...


Listen as Nikola Stikov of University of Montreal and Jean-Baptiste Poline of McGill University explore subjects relating to Open Code practice, the role of data and code in communicating reproducible research, and what the future may hold.


The VSCode command line (code) is able to open both folders and files depending on the path you provide. If you provide multiple paths, it will open all of them. If a path does not exist, it will create a new file for you at that location.


SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways.


Is it appropriate (within the norms of the open source community) for Microsoft to brand their proprietary-licensed binary as "Open Source" since it is based on a fully-buildable open source code base?


Why does Visual Studio Code have a different license than the vscode GitHub repository?To learn why Visual Studio Code, the product, has a different license than vscode, the open source GitHub repository, see issue #60 for a detailed explanation.


When we set out to open source our code base, we looked for common practices to emulate for our scenario. We wanted to deliver a Microsoft branded product, built on top of an open source code base that the community could explore and contribute to.


When we build Visual Studio Code, we do exactly this. We clone the vscode repository, we lay down a customized product.json that has Microsoft specific functionality (telemetry, gallery, logo, etc.), and then produce a build that we release under our license.


When you clone and build from the vscode repo, none of these endpoints are configured in the default product.json. Therefore, you generate a "clean" build, without the Microsoft customizations, which is by default licensed under the MIT license [...]


"Our offering of Visual Studio Code is built using an publicly-available code base that is licensed under an open source license. With the exception of branding and configuration values, this open source base is identical to the built software product we offer."


The only changes they make when building the binary (according to their claims above, anyway) is to utilize existing configuration options to add Microsoft branding and have network-based components within the editor use Microsoft network endpoints.


The binaries distributed by Microsoft are non-free. The source code, being released under the MIT license, is free software (or "open-source") as poorly called. If you downloaded and compiled the source code from GitHub, the resulting binary would be free. The binary's license doesn't matter so long as the source code carries the fundamental freedoms and provided that you can compile it to a binary with all the same functionality as the one that is being distributed.


A separate license for the binaries and source code is a common way for free software projects to make money: they release the source code under a free license and charge access for the binaries or prohibit their commercial use. GeoGebra, for example, publishes its source code under the GPL but forbids commercial use of its binaries unless you pay a fee. Debian and Ubuntu users (at least) receive a copy of it compiled from that GPL source, and they may use it for commercial use without paying a fee. However, this practice is pointless in the case of VSCode, because they're giving it away anyway.


Open source comes with a license. You can change it as you please by definition. If you release that version to other people as a compiled work then you have to release your source as well. You are free to provide your code back to the original author as well.


First, pardon my ignorance as I am very new to Survey123 and GIS in general. I began exploring a few months ago so if I have the incorrect lingo/terminology I apologize in advance or if this has been addressed already, please point me in the right direction.


Here is what I am looking to accomplish: I would like to establish QR codes through QR code generator or similar service for all my assets, let's label them 1, 2 and 3. When you scan the bar code, it will open my survey and populate my asset field with a 1, 2 or 3 depending on the QR code scanned.


I have created my survey in Connect already. However, I would like my Survey to be activated utilizing a QR Code pre-loaded with data on it already. I know that Survey123 provides a QR Code to the survey, but that link cannot be used in a QR Code generator, or at least I am doing it wrong, because the http is "incomplete".


Additionally, I would like to know how to have the same QR Code be scanned by two different people, separately at different times. For example, for asset 1, once the bar code is scanned, person 1 can complete delivery information part of the survey and save a draft. Then the barcode is provided to person 2, who completes receiving information part of the survey.


The first suggestion/consideration is decide if you want your QR code to link to the Survey123 web app, the Survey123 field app, or let the user decide. This is because the URL to use is slightly different for each workflow.


Good places to start are the Survey123 Tricks of the Trade: Web form URL parameters and Understanding Survey123's custom URL Scheme Esri Community blogs. Depending on if you are planning to use the web app or field app the Integrate with other apps documentation has really nice tables that show what URL parameters are supported for both workflows.


Since you are want to use a QR code if you want to open the Survey123 field app the custom URL scheme isn't going to work, but Survey123 links will ( ) although both use the exact same parameters so the information in the custom URL scheme blog also applies if you are using the Survey123 link


As for the same QR code being scanned by two different people, saving a survey to a draft is only local to person 1's device. Person 2 on their own device would not be able to access a draft survey that's on person 1's device. The workflow I would suggest to answer the second question assumes you already have the assets in your GIS infrastructure (meaning you already have a feature service with the asset locations and asset ID in the attribute table) and you only need to edit the data as opposed to collect new records.


In this scenario I would suggest using URL parameters to edit the existing record so that when person 1 scans the QR code they are brought to the record and can fill out the delivery information. They will need to submit the survey, then person 2 can scan the QR code again, the same record will be opened and they will be able to complete the receiving information.


Hi Zach. Do you think this is something you would be able to do for me? I haven't been able to begin the undertaking and would be able to pay to have this completed. Please let me know and we can have an offline discussion.


I would like to see if a similar workflow would exist where we scan QR Codes to open a Survey123 in the field app. We want to have large scale plots and print out QR Codes to attach to flags (hundreds of them), and when you scan the flag four features associated with that flag (Flag Number etc.) autopopulate in a survey. I am not sure where to start, if I want to use a QR code generator but the only consistent information between flags would be obviously the form's Item ID so it opens the form correctly.... Is this possible with hundreds of flags (points).


I'm used to PyCharm but I've been migrating to VS Code. I'm used to creating Word document files (.docx) and double-clicking them in the file explorer on the left side sub-window to launch Word and see what the document looks like. This works in PyCharm, but in VS Code it tries to open the file as a binary and claims it has no editor. Even if it did had an editor, I wanted it to open in my second monitor (or at least to be able to move it to my second monitor). For the time being, I'm opening a file explorer window and double clicking the file there, which has been less than optimal.


To open any file, click on it to focus it in a tab (which sets the $file defined in tasks.json) and use the assigned hotkey. (As a side note, opening files that have vscode as their default program will open it in the same instance, so it makes it seem like the task isn't doing anything)


One thing that really irritates me, however, is the fact that after installing Cursor, when I run the "code . " command in the terminal, instead of launching my default VSC editor, Cursor is launched.


I'm working on a calendar project, on my own. In this project I've to use Swiss Ephemeris. It is licensed under GPLv2 and commercial. With commercial version of license, developers entitled to distribute the software, as his/her wish. But as this is my personal project, I've to use the GPLv2 license.


By using the library and data file, I'm generating data for calendars. In future I shall publish these calendars in a website, freely. In this process obviously I've to modify the library, write some of my own code and other chores. Will I've to make my final source code open.


Edit: From the detailed answer from @apsillers & others, it is clear to me that, I'll not have to make my software GPL or even give source code to the visitors to the website. Though I've to make my displayed data GPL by the clause, as the Swiss Ephemeris data, licensed under GPLv2 or later and commercial:

3a8082e126
Reply all
Reply to author
Forward
0 new messages