News for hackers. Stuff that matters.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by floatingatoll on Monday August 27, 2018 @10:26AM (#17851669)
If I needed a one-time “use it and lose it” attack vector, this would be an excellent way to provide one. Imagine how many thousands of code repositories I could _successfully_ inject a backdoor into, using only a repackaged “without the telemetry” version of Microsoft’s code. Y’all are far too trusting.

Edit: The point is that we all have a blind spot around risk assessment and threat evaluation when it comes to certain software topics, such as code editors and terminal software.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by TimTheTinker on Monday August 27, 2018 @10:51AM (#17851826)
Never trust a binary more than you trust the person who built it and the channel you downloaded it through.

A better method might be to fork VSCode’s repo and modify the build scripts and/or code to remove telemetry.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by hsribei on Monday August 27, 2018 @11:02AM (#17851898)
The repo has the scripts that are used to compile the binaries. It's not even a fork, it just downloads the code directly from the official repo.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by floatingatoll on Monday August 27, 2018 @11:09AM (#17851940)
Gentoo’s biggest failure to me is in persuading people that building from source is somehow safer than binaries.

Never trust a source code repository more than you trust the people who commit it and the channel you downloaded it through.

Autoupdates from a source repository that you don’t review before accepting updates are no safer than autoupdates from a binary source.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by craftyguy on Monday August 27, 2018 @12:03PM (#17852257)
> Gentoo’s biggest failure to me is in persuading people that building from source is somehow safer than binaries.

I don't think this is a big reason Gentoo users use Gentoo. At least not the knowledgeable ones.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by Zancarius on Monday August 27, 2018 @04:27PM (#17854211)
> I don't think this is a big reason Gentoo users use Gentoo.

Exactly. The two most compelling reasons to use Gentoo are/were: 1) It's a rolling-release distribution and 2) it offers customization by virtue of building from source. I don't think I've seen the argument that it's more secure--not seriously anyway. I used it back then because I wasn't a huge fan of Linux and Gentoo seemed more familiar to me with its ports analog.

Perhaps part of the OP's confusion is the hardened profile (or similar)? I'm not sure considering their wiki currently advertises it as risk mitigation [1], but I haven't used Gentoo in probably 6-7 years (at least not consistently outside a VM) so my memory on this is likely wrong.

[1] https://wiki.gentoo.org/wiki/Hardened_Gentoo

Re:VSCodium: Binary releases of VSCode without MS branding, ... by floatingatoll on Wednesday September 05, 2018 @07:37PM (#17922783)
To clarify: Gentoo did no harm. Many Gentoo users cited the risks of prebuilt binaries in their evangelism of Gentoo. That perceived risk remains an undercurrent in people’s thinking today, even though we’ve generally since realized that prebuilt binaries aren’t the risk we were led to believe they were back then. I blame the Gentoo evangelists of yesterdecade for this persistent “anti-binary” mindset, not Gentoo itself.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by fredch on Monday August 27, 2018 @11:23AM (#17852020)
Shameful FUD
Re:VSCodium: Binary releases of VSCode without MS branding, ... by PascLeRasc on Monday August 27, 2018 @09:05PM (#17855844)
Thanks for doing this. This will be the canary that tells us whether Microsoft is really changed like they claim. Since they call themselves "in love with open source" [1] and letting Github "remain an open platform" [2], I expect them to not remove this project from Github. If they do remove it, whatever reason they give about wanting to provide the best possible VSCode experience is bullshit and Github will no longer be a home for open-source projects.

[1] https://info.microsoft.com/rs/157-GQE-382/images/Microsoft-l... [2] https://open.microsoft.com/2018/06/07/github-acquisition-mic...

Re:VSCodium: Binary releases of VSCode without MS branding, ... by binomialxenon on Monday August 27, 2018 @11:25PM (#17856370)
No way would they risk the backlash of taking this down. It wouldn't come close to taking 1% of VS Code non-libre downloads, and as the source code is free software, there is zero legal reason for MS to take it down.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by nojvek on Monday August 27, 2018 @09:31PM (#17855972)
"You can recover from Microsoft and its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages."

Lol Microsoft! why a random $5 number?

Re:VSCodium: Binary releases of VSCode without MS branding, ... by diaz on Monday August 27, 2018 @09:04AM (#17851203)
Finally. It obviously is something that flies over the heads of most people here at least by reading the comments. This is great.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by josteink on Monday August 27, 2018 @09:52AM (#17851475)
I don’t personally see the need, but the fact that someone can do this should at least once and for all settle how “real” the open-sourceyness of VSCode is.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by jakear on Monday August 27, 2018 @10:09AM (#17851557)
https://code.headmelted.com/ Has already done this but without extension support. Support for extensions requires adding content to the product.json beyond what the MIT licenses version contains. This content is traditionally proprietary, but the author of this repo managed to find an instance where it was mistakenly committed and is using that to justify it being MIT licensed now. Whether you agree with this is up to you I guess. I personally would object to using someone’s mistake to subvert their teams wishes.

And for either of these projects, I wouldn’t use their products without first verifying they are what they say they are. I’d do this by downloading the vscode repo and building directly from source then comparing. But at that point I have two of the same thing (hopefully), so not sure why this is needed in the first place.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by eckza on Monday August 27, 2018 @10:09AM (#17851556)
Some of us want to write code without shipping a bunch of usage data / telemetry / whatever back up to the Mothership.

It's the principle of the thing; and anything that shaves off a few clock cycles is fine by me.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by wvenable on Monday August 27, 2018 @11:16AM (#17851970)
Microsoft is heavy into data-backed development right now. They're making decisions about were to put resources, and even what buttons to keep in toolbars, based on how many users are clicking them.

This seems to have lead to development of products and features that get a lot of excitement here on HN so maybe it's not all bad.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by jakear on Monday August 27, 2018 @10:10AM (#17851560)
VS Code already provides mechanisms to disable all background network activity.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by falcolas on Monday August 27, 2018 @10:22AM (#17851643)
Defaults matter. They matter even more given Microsoft's demonstrated history of quietly adding new telemetry and metrics which are enabled.

I have no skin in this particular game, but I'm glad to see the work being done.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by btinker on Monday August 27, 2018 @03:20PM (#17853660)
Are you sure? This is what MS says about it:

Data Collection. The software may collect information about you and your use of the software, and send that to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may opt-out of many of these scenarios, but not all, as described in the product documentation.

https://code.visualstudio.com/license

Re:VSCodium: Binary releases of VSCode without MS branding, ... by jakear on Monday August 27, 2018 @09:12PM (#17855880)
You may need to wait for next week’s release. But it is made easy in the current insiders.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by umanwizard on Monday August 27, 2018 @10:28AM (#17851678)
Since apparently it’s going over a lot of heads (including mine), can you explain why this is important?
Re:VSCodium: Binary releases of VSCode without MS branding, ... by Waterluvian on Monday August 27, 2018 @09:29AM (#17851365)
I appreciate this effort and am not suggesting it's not necessary. Just curious: are there any known ill-desired effects of the MS binaries? My understanding is that it's just branding and telemetry that can be turned off.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by duckerude on Monday August 27, 2018 @09:41AM (#17851417)
The MS binaries are licensed in such a way that you're not allowed to redistribute them, if I'm interpreting https://code.visualstudio.com/license correctly. There are some other legal restrictions. So those binaries are technically not FOSS, which means a lot of people won't use them out of principle, and it may even be a bad idea to mirror them.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by hegz on Monday August 27, 2018 @09:36AM (#17851397)
They can't be distributed in distro package managers which usually require everything to be foss.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by majewsky on Monday August 27, 2018 @10:08AM (#17851553)
Depends on the distro. For the main Debian repos, it's true. Others like Arch are more lenient, e.g. Arch packages the Steam client.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by ivanfon on Monday August 27, 2018 @11:51PM (#17856455)
It's worth noting that VS Code is only available in the AUR:

[visual-studio-code-bin](https://aur.archlinux.org/packages/visual-studio-code-bin/): Original binary from Microsoft

[code](https://aur.archlinux.org/packages/code/): Build from latest release source code

[code-git](https://aur.archlinux.org/packages/code-git/): Build from latest Git commit

The versions that build from source (`code` and `code-git`, AFAIK have telemetry disabled).

Re:VSCodium: Binary releases of VSCode without MS branding, ... by xfer on Monday August 27, 2018 @03:53PM (#17853944)
Are you sure arch distributes them? Like oracle jre, proprietary packages are downloaded during installation, i think debian non-free works similarly.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by Dinux on Monday August 27, 2018 @08:49AM (#17851117)
I don't see the beneficial element to this project. Visual Studio Code is opensource, free of charge and used by millions at this point, why would anyone want another license just because of the license alone?
Re:VSCodium: Binary releases of VSCode without MS branding, ... by jillesvangurp on Monday August 27, 2018 @09:11AM (#17851242)
The source license and binary distribution license are different. The source code is MIT licensed; nothing wrong with that. Great license for this. The binaries are provided with a different license that also covers components from third parties that may not be in the vs code repo as well as telemetry and other data gathered.

If for whatever reason you don't like this license, you can build from source. This project seems to do that and remove all of the MS branding and telemetry. There are only a handful of commits on the project so it does not look like it is massive change. The big question is whether that adds enough value and whether this project will make enough effort to keep it's fork up to date.

I agree that for the vast majority of users, using the official binaries should be perfectly fine. MS did a fine job with this product. But nothing wrong with having the choice.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by SparkyMcUnicorn on Monday August 27, 2018 @09:29AM (#17851368)
Looking around, this repo is just a few ~10 line shell scripts. Very simple, and it isn't a fork of vscode. It clones the Microsoft repo directly and builds it from that.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by RBO2 on Tuesday August 28, 2018 @02:11AM (#17856869)
How different is this from Chromium and Chrome?
Re:VSCodium: Binary releases of VSCode without MS branding, ... by swongel on Monday August 27, 2018 @08:56AM (#17851154)
For use in FLOSS distributions like Ubunutu or Debian. Like how Firefox got rebranded as [Iceweasel/Icecat](https://en.wikipedia.org/wiki/GNU_IceCat) so their logo/branding didn't have to be distributed by FLOSS distributions.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by rambojazz on Monday August 27, 2018 @08:58AM (#17851169)
Actually I think this would be rather useful to have.

I don't use VS personally, but if I understand correctly their binaries are not free even though users can build their own from a free source code. If this "VSCodium" simplifies the building process, and also removes some anti-features in the process such as telemetry, I think it has value.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by wgerard on Monday August 27, 2018 @09:02AM (#17851194)
? VSCode is definitely free in the "beer" sense.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by rambojazz on Monday August 27, 2018 @09:05AM (#17851207)
Sorry, I mean "free software" I wasn't talking about price.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by wgerard on Monday August 27, 2018 @09:10AM (#17851239)
Ah gotcha! Apologies, then. I probably should've read a little more closely.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by bakoo on Monday August 27, 2018 @08:53AM (#17851142)
For me, it's more about telemetry than licensing.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by carlmr on Monday August 27, 2018 @08:57AM (#17851163)
Doesn't it suffice to set the following in your User Settings?

    "telemetry.enableTelemetry": false
Honestly I'm very happy to give telemetry data. Microsoft is doing so much to improve the experience, they can make it better with some data.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by jolan on Monday August 27, 2018 @09:51AM (#17851473)
If you want to send as little data as possible to Microsoft there are other settings to consider:

        "telemetry.enableCrashReporter": false,
        "code-runner.enableAppInsights": false,
        "update.channel": "none",
        "extensions.autoUpdate": false,
        "extensions.ignoreRecommendations": true,
        "workbench.settings.enableNaturalLanguageSearch": false
Re:VSCodium: Binary releases of VSCode without MS branding, ... by redwards510 on Monday August 27, 2018 @05:12PM (#17854606)
Your list is incomplete. From the most recent VSCode changelog @ https://code.visualstudio.com/updates/v1_26#_offline-mode:

Offline mode

Some users do not want any outgoing network requests from VS Code unless they specifically invoke features that require online access. To support this offline mode, we have added new settings to turn off features such as automatic extension update checking, querying settings for A/B experiments, and fetching of online data for auto-completions.

Below is the complete list of settings to control VS Code features that make network requests:

  update.channel
  update.showReleaseNotes
  extensions.autoupdate
  extensions.autocheckUpdates
  extensions.showRecommendationsOnlyOnDemand
  workbench.settings.enableNaturalLanguageSearch
  workbench.enableExperiments
  telemetry.enableTelemetry
  telemetry.enableCrashReporter
  git.autofetch
  npm.fetchOnlinePackageInfo
Re:VSCodium: Binary releases of VSCode without MS branding, ... by codedokode on Monday August 27, 2018 @11:19AM (#17851996)
What stops Microsoft from adding new settings tomorrow?
Re:VSCodium: Binary releases of VSCode without MS branding, ... by pritambaral on Monday August 27, 2018 @12:17PM (#17852335)
Or from re-enabling disabled settings with an update, like they've done with Windows 10.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by GordonS on Monday August 27, 2018 @01:33PM (#17852908)
They are different products, different teams, different target markets - I've been using VSCode since it was first released, and they haven't done any anything scummy in that time, or given me any reason to distrust them or their motives. All they've done is provide a great product that I love.

The VSCode team is responsive on GitHub, and are driving development based on the feedback and telemetry they receive. I really am a staunch privacy advocate, but I'm not dogmatic about it - telemetry has it's place.

It can also easily be disabled if you don't want to send it.

Honestly, I don't see the point of this 'fork'.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by fredsanford on Monday August 27, 2018 @03:01PM (#17853517)
>> ... Honestly, I don't see the point of this 'fork'.

"Those who cannot remember the past are condemned to repeat it." -- George Santayana

https://bigthink.com/the-proverbial-skeptic/those-who-do-not...

Re:VSCodium: Binary releases of VSCode without MS branding, ... by GordonS on Monday August 27, 2018 @04:23PM (#17854175)
I'm actually old enough to remember Microsoft's past. But I'm not so old I'm cynical enough to think ill of their ongoing OSS efforts.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by lucideer on Monday August 27, 2018 @09:03AM (#17851197)
This doesn't suffice unfortunately. That setting has worked inconsistently, or not at all, and add far as I've seen in my own testing it never disables all telemetry. There have been issues open on GitHub about this for a long time, though it's a few months since I checked there for updates (I stopped bothering and just put it in my firewall rules; I still see blocked connections in thy log today).

I'm a very happy vscode user, but this is one antifeature does continue to bother me.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by lucideer on Monday August 27, 2018 @09:15AM (#17851272)
> @bunderbunder I bet it's still nothing compared to the level of data collection that a typical website does these days.

I'd say the opposite. Consider that (a) you typically visit websites briefly and periodically while most vscode users have it open as long as their computer is on, and (b) Electron provides access to lot more device data than the browser sandbox. The reason websites tend to have such far-reaching and devious user-tracking methods is because they're working in such a restricted environment and have to innovate; native desktop apps have far less restrictions.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by bunderbunder on Monday August 27, 2018 @09:55AM (#17851484)
Another big difference, though, is that VSCode's telemetry is publicly documented.

So, regardless of what they're able to collect, I know what they are collecting, and how personally identifiable it is, and I know that it's pretty tame compared to what I've seen elsewhere.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by lucideer on Monday August 27, 2018 @09:58AM (#17851497)
Ah, that is a fair point. I hadn't looked at what they collect, I was just speculating about what they could collect if desired.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by nathantotten on Monday August 27, 2018 @09:53AM (#17851479)
Are you sure the additional telemetry isn’t from extensions? Our extensions (Salesforce) have our own telemetry setting, but we do also respect the global VSCode setting due to this exact possibility of confusion. However, I know that there are other extensions that dont respect the global setting.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by lucideer on Monday August 27, 2018 @09:57AM (#17851493)
I tested without extensions back when I was following the open GH issues, so that wasn't the case then.

It could be that MS fixed the issue since, and the connections I see in logs now are from extensions, but I also presume this isn't the case as my firewall rules are IP-based rather than purely app based (since the latter would kill the market browsing functionality).

Re:VSCodium: Binary releases of VSCode without MS branding, ... by bunderbunder on Monday August 27, 2018 @09:10AM (#17851236)
It really is annoying that they don't make it opt-in instead. They've got plenty of users; I can't imagine they need to be collecting usage statistics from everyone.

I'm curious what would happen if a moderate-size country (say, Belgium) were to pass a law saying that telemetry must be opt-in. I bet it would convince everyone to just be universal opt-in for simplicity's sake.

That said, I bet it's still nothing compared to the level of data collection that a typical website does these days.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by yuhong on Monday August 27, 2018 @02:56PM (#17853476)
There used to be at least one issue about this, and of course it has been fixed by now: https://github.com/Microsoft/vscode/issues/16131
Re:VSCodium: Binary releases of VSCode without MS branding, ... by nsomaru on Monday August 27, 2018 @09:58AM (#17851496)
Can you share the firewall rules/domains to block to disable telemetry for VSCode?
Re:VSCodium: Binary releases of VSCode without MS branding, ... by lucideer on Monday August 27, 2018 @11:39AM (#17852107)
There's a lot of traffic that comes from VSCode, so it's sometimes hard to tell which is which—e.g. the autoupdate checker, and the "Code Helper" queries to schemastore to get JSON validation configs for the JSON files in your project, and the NPM queries for package.json

I block most of it anyway, with a couple of individual exceptions, but other than those examples mentioned above, there's also:

- dc.services.visualstudio.com (40.114.241.141, 52.169.64.244)

- vortex.data.microsoft.com (40.77.226.250, 65.55.44.109, 51.141.13.164, 51.140.40.236)

- bingsettingssearch.trafficmanager.net (13.95.93.152)

I actually have no clue what the last one there is (Bing)—I must have known at some point, but have long forgotten.

Notable exceptions allowed: marketplace.visualstudio.com (13.107.6.175, 191.238.172.191, 13.85.19.92)

Re:VSCodium: Binary releases of VSCode without MS branding, ... by Iwan-Zotow on Monday August 27, 2018 @02:40PM (#17853331)
> I actually have no clue what the last one there is (Bing)

workbench.settings.enableNaturalLanguageSearch

Re:VSCodium: Binary releases of VSCode without MS branding, ... by ekianjo on Monday August 27, 2018 @10:00AM (#17851510)
Telemetry should not be on by default without express user consent.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by ectospheno on Monday August 27, 2018 @12:19PM (#17852355)
It is only without express user consent for those who enter into contracts without reading them. Assuming you aren't one of those people then you consented.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by scbrg on Monday August 27, 2018 @02:22PM (#17853208)
What do you mean? Just to see what you were talking about, I downloaded VSCode from their official website, installed and started it. At no point was I (to their credit) presented with a "contract".

OTOH, there was (again, to their credit), a notification when I started the software about how to disable telemetry.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by immigrantsheep on Monday August 27, 2018 @08:56AM (#17851158)
AFAIK telemetry can be disabled with "telemetry.enableTelemetry": false
Re:VSCodium: Binary releases of VSCode without MS branding, ... by Zekio on Monday August 27, 2018 @09:03AM (#17851199)
isn't it agains't GDPR having it be like that?
Re:VSCodium: Binary releases of VSCode without MS branding, ... by jonathonf on Monday August 27, 2018 @09:18AM (#17851303)
An opt-in is required under GDPR for personally identifiable information, not "any data ever".

Anonymous/aggregated data collection is allowed under the GDPR, though this data collection should still be made clear to the user (and it is on https://code.visualstudio.com/docs/supporting/FAQ#_gdpr-and-...).

Re:VSCodium: Binary releases of VSCode without MS branding, ... by chii on Monday August 27, 2018 @09:14AM (#17851265)
wouldn't downloading and agreeing to the eula suffice for purposes of this?
Re:VSCodium: Binary releases of VSCode without MS branding, ... by majewsky on Monday August 27, 2018 @10:12AM (#17851569)
No. GDPR requires that users must be able to use the service after opting out of data collection (except if the data collection is required for rendering the service to the user). A EULA, in contrast, must be accepted, otherwise the service may not be used.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by hiccuphippo on Monday August 27, 2018 @09:03AM (#17851200)
If there's people that use Chromium binary builds, there's people that will use this.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by AndrewDavis on Monday August 27, 2018 @10:12AM (#17851570)
Makes sense for inclusion in package repositories.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by xenophonf on Monday August 27, 2018 @09:36AM (#17851398)
The VSCode binary release is not open source and not redistributable but rather "source available", and "free of charge" doesn't confer "freedom to tinker". VSCode does have costs associated with it's use, specifically its users' privacy, which they give up by agreeing to Microsoft's data collection terms. You may not value your freedom to tinker or your right to privacy, but the people who run and use this project do.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by WalterGR on Tuesday August 28, 2018 @01:28AM (#17856733)
You can replace “VSCode” with “Chrome” and “Microsoft” with “Google” in your comment.

I guess that’s why this project is called VSCodium.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by ryanolsonx on Monday August 27, 2018 @10:20AM (#17851621)
F the EULA license. That's what VS Code is licensed under when you download from their site, _not_ the MIT license. That's the heart of why this is excellent.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by thepumpkin1979 on Monday August 27, 2018 @08:54AM (#17851147)
Exactly. I like the idea of having VSCodium as an option but I don’t have an urging need to use this fork since just removing a license and telemetry endpoints doesn’t really add any value compared to the official package.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by hiccuphippo on Monday August 27, 2018 @09:10AM (#17851241)
Removing telemetry adds a lot of value. To each its own, I guess.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by GordonS on Monday August 27, 2018 @01:38PM (#17852942)
It would add value if VSCode didn't allow you to disable it and didn't document what data was sent - but it is documented, and it's trivial to disable it if you choose to do so. I don't see the point of this.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by rambojazz on Monday August 27, 2018 @09:01AM (#17851183)
It doesn't look like a fork to me. It only seems to be a build script for building VS (and possibly remove some anti-features).
Re:VSCodium: Binary releases of VSCode without MS branding, ... by k__ on Monday August 27, 2018 @09:08AM (#17851225)
Nice idea.

With Chromium there is a bit of a problem with protected video codecs, but I think this doesn't apply to VSCodium.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by cube00 on Monday August 27, 2018 @10:04AM (#17851531)
Hopefully they don't start letting plugins show video ads.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by Vinnl on Monday August 27, 2018 @02:39PM (#17853324)
Well, with Firefox people were complaining about the removal of ALSA support, with the reasoning that people who liked that were also likely to have telemetry turned off. So a downside might be that your usage patterns are not taken into account when using this or turning off telemetry in regular VSCode - though I'd claim that that is to be expected and completely reasonable.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by jasonkostempski on Monday August 27, 2018 @10:26AM (#17851666)
To me, that's a feature.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by k__ on Monday August 27, 2018 @10:58AM (#17851869)
Was a bit of a hassle to get popular video platforms running ;/
Re:VSCodium: Binary releases of VSCode without MS branding, ... by ahoka on Monday August 27, 2018 @09:08AM (#17851226)
Re:VSCodium: Binary releases of VSCode without MS branding, ... by codetrotter on Monday August 27, 2018 @10:20AM (#17851624)
Strange way of downloading and executing the installer. Most usually you see either

1. Pipe it to an instance of sh or bash, or

2. Download, mark executable, run.

Instead, what they do is they run wget in a subshell and redirect the output of the subshell as input to the source builtin command.

    . <( wget -O - https://code.headmelted.com/installers/yum.sh )
Don't really see why though.

Speaking of which, the following would have been better:

    curl -sSf https://code.headmelted.com/installers/yum.sh | bash
With these parameters, curl should wait for the whole script to be successfully downloaded, and if it isn't it won't write any of it to stdout. Especially important because the authors of the above mentioned script have NOT wrapped the whole script in a function which is then called at the end of the script.

If the download fails midway and you are using wget -O - or curl without -f then you execute an incomplete script.

Also, executing the script by using the source builtin is annoying because if you answer "no" to the first question asked by this script then it closes your terminal window :<

Re:VSCodium: Binary releases of VSCode without MS branding, ... by ealhad on Monday August 27, 2018 @09:20AM (#17851315)
Nice! I don't use VSCode, but I know a few people who do and I’ll gladly point them to this build.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by temp on Monday August 27, 2018 @09:29AM (#17851364)
Doesn't have the latest build for macOS. :(
Re:VSCodium: Binary releases of VSCode without MS branding, ... by josteink on Monday August 27, 2018 @09:57AM (#17851492)
Disclaimer: general comment. Not affiliated with project, etc.

I don’t know about you, but I don’t typically feel like shelling out $1000 to buy a machine specifically for an OS I don’t use, just to build a binary to non-paying users of free software.

If Apple would provide easily installable ISOs for VBox/VMWare installations (or something equivalent), I might bother setting up a build for it.

Right now it’s out of the question.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by filleduchaos on Monday August 27, 2018 @01:04PM (#17852696)
> but I don’t typically feel like shelling out $1000 to buy a machine specifically for an OS I don’t use

I keep seeing this argument and it honestly just sounds rather lazy when a few seconds of Googling will point you towards build services you can use without having to purchase a Macbook (for instance, TravisCI has an OS X build environment). Or if you're opposed to cloud-hosted build tools for some reason you could ask users/the user requesting a macOS binary would mind working with you to test your build script(s) for compatibility and mention that Mac users will have to build from source in your README. This whole "well I would if Macs weren't so expensive" sounds like "I just don't want to support macOS" because you have options if you actually were interested.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by aikah on Monday August 27, 2018 @03:16PM (#17853637)
> This whole "well I would if Macs weren't so expensive" sounds like "I just don't want to support macOS" because you have options if you actually were interested.

Mac development is a bit more complicated than running MacOS on a CI, especially with GUI apps.

And of course code authors prefer compiling programs themselves on their infrastructure. If you want to volunteer and provide a Mac Build then get the source do it and distribute it. But don't accuse people of being somehow lazy for not supporting mac, that's preposterous.

Apple is responsible for the situation. Don't shift the blame away from them.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by filleduchaos on Monday August 27, 2018 @04:28PM (#17854220)
> Mac development is a bit more complicated than running MacOS on a CI, especially with GUI apps.

And this is a cross-platform project that's not exactly Cocoa-heavy (being based on Electron). The person I responded to did not say anything about creating GUIs either, so I am not sure what your point is.

> And of course code authors prefer compiling programs themselves on their infrastructure.

Which is why Travis, Circle, Appveyor and co have zero users, as we all know.

> If you want to volunteer and provide a Mac Build then get the source do it and distribute it

It's almost as if that was one of the things I suggested - working with the requester to provide a binary

> But don't accuse people of being somehow lazy for not supporting mac, that's preposterous.

I said the argument is lazy, not the people. If for some reason (ideological or whatever) you're not interested in supporting macOS, then say so outright. Don't pretend as though the only obstacle between you and distributing your otherwise cross-platform software for macOS is not having a literal Mac in your hands because there are other easy options, like taking on a contributor or using a build service.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by userbinator on Monday August 27, 2018 @02:19PM (#17853185)
IMHO it's easy enough to find a way if you want to test.

I had to do it a few times in the past and it's surprising how easy it is to run macOS in VirtualBox. Insert ISO, change some configuration, and it boots and installs. Plenty of tutorials and such too.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by josteink on Monday August 27, 2018 @02:24PM (#17853217)
What ISO? And where?

You mean those hacked ISOs from TPB for 3 year old OSX releases?

How can I, or anyone else for that matter, be sure they are safe to use and represents runtime behavior of the latest ever-changing (read: breaking) OSX?

It’s not as easy as you make it out to be.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by userbinator on Monday August 27, 2018 @02:39PM (#17853327)
How can I, or anyone else for that matter, be sure they are safe to use and represents runtime behavior of the latest ever-changing (read: breaking) OSX?

The Hackintosh community has plenty of very knowledgeable individuals who know what they're doing. If someone was trying to pass malware around they would be found out and ostracised very quickly.

You can also find the direct links to Apple's servers if you search. Hint: InstallESD.dmg and swcdn.apple.com .

Re:VSCodium: Binary releases of VSCode without MS branding, ... by josteink on Monday August 27, 2018 @02:50PM (#17853417)
That’s akin to use hacked or pirated Windows ISOs to build and test Windows-software. And nobody in their right mind would suggest that, right?

Why does different rules apply to OSX?

Also: DMG-files can’t be used unless you’ve already purchased that $1000 machine you don’t really want/need. It’s completely unsupported in any meaningful sense outside OSX.

So more roadblocks.

You know how I get a Windows ISO? I download it from Microsoft. Ubuntu? Download it from canonical. Etc etc.

Can we all agree that it is Apple who put up all these roadblocks?

No other OS vendor makes it harder/more expensive to support their platform than Apple does.

And then you can’t really blame developers for not bothering. It’s all on Apple.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by userbinator on Monday August 27, 2018 @06:52PM (#17855184)
You'd be surprised how many developers got started in the 90s and early 2000s with a pirated copy of MSVC6...

...and if you've been around and done enough, you would know that "unsupported" doesn't always mean "can't be done". The ones who know it can will hack around, play and investigate, explore the limits, and ultimately become better developers by developing these skills of critical thinking and problem solving. Contrast this with the cookie-cutter developers who won't think beyond what they're told and give up at the slightest difficulty.

I ain't no Apple fan myself but I can sure test something in macOS if I really need to. Give this a read...

https://www.insanelymac.com/forum/topic/329828-making-a-boot...

Re:VSCodium: Binary releases of VSCode without MS branding, ... by josteink on Tuesday August 28, 2018 @02:12AM (#17856873)
> You'd be surprised how many developers got started in the 90s and early 2000s with a pirated copy of MSVC6...

Sure, but that was the 90s. Now everyone in the world is connected to the same network, and any security flaw can have critical, global consequences.

Basically, having a "wormable" build and deployment pipeline may have been tolerated back then, but it sure isn't now.

> and if you've been around and done enough, you would know that "unsupported" doesn't always mean "can't be done"

Yes, I'm sure it can be done.

> The ones who know it can will hack around, play and investigate, explore the limits, and ultimately become better developers

That's disingenuous. You only have so much time available, and you cannot do everything which is technically possible. You have to prioritize.

My free and underfunded open-source projects are going to invest the efforts I have capacity for into making a better product for the users, not learning all the ins and outs of running a pirated OS on hardware Apple clearly doesn't want it to run on.

Basically: My point was Apple is putting up lots of roadblocks which no other OS-vendor is, and that if they stopped doing that, maybe you'd see more projects bothering to support MacOS as a build-target.

And really... As a user, would you be happy to be told that the software you are asked to install and trust was built on a hacked OSX copy downloaded from the internet which the developer has no way of verifying if is trustworthy or not? I'm going to assume not.

So why are you making the argument that developers should do just that?

Re:VSCodium: Binary releases of VSCode without MS branding, ... by aikah on Monday August 27, 2018 @03:11PM (#17853606)
All Hackintoshs violate MacOS license. You cannot run MacOS on anything else than a Mac or it's just pirating the software.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by userbinator on Monday August 27, 2018 @03:52PM (#17853932)
Enforceability of EULAs depends on where you are.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by PascLeRasc on Monday August 27, 2018 @09:51PM (#17856064)
Thankfully you don't have to do any of that (for any platform), thanks to Travis! https://travis-ci.org/
[dead]
Re:VSCodium: Binary releases of VSCode without MS branding, ... by dang on Monday August 27, 2018 @10:25PM (#17856183)
Please don't do this here.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by rootlocus on Monday August 27, 2018 @09:16AM (#17851285)
According to https://github.com/Microsoft/vscode/issues/60#issuecomment-1...

> The cool thing about all of this is that you have the choice to use the Visual Studio Code branded product under our license or you can build a version of the tool straight from the vscode repository, under the MIT license.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by hiccuphippo on Monday August 27, 2018 @09:15AM (#17851271)
That's the license for Microsoft's binary build. The source code is MIT and this build is from the source code.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by detaro on Monday August 27, 2018 @09:17AM (#17851291)
That's the license for the executable you download there, not the code.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by jakear on Monday August 27, 2018 @09:38AM (#17851408)
The problem is they’ve taken a commit that was obviously made in error, and used that to justify the IP contained within that commit being MIT licensed. Sure, this might be legally sound. But it’s certainly scummy. Especially when you consider it’s acting against the wishes of the team that has been working hard over the past years to make a product loved by so many.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by yebyen on Monday August 27, 2018 @09:43AM (#17851431)
Why assume the commit was made in error? It looks like there has been some discussion and it was done completely on purpose.

You cannot compile the binary from arbitrary commits by yourself and release copies of the compiled work as "Microsoft's VS Code" – that's understandable, unless you work for the VS Code team, why should you be able to do that? There are trademarks. But the source code is MIT licensed and I think you are mistaken about whether that is in dispute or not.

https://github.com/Microsoft/vscode/issues/60#issuecomment-2...

Re:VSCodium: Binary releases of VSCode without MS branding, ... by jakear on Monday August 27, 2018 @09:51AM (#17851470)
Mate that discussion was a year prior to the commit in reference. How can you think it backs up your point?

And I assume the commit was made in error because it was immediately reverted and is no longer present in the source.

And I do not question the legality, my only assertstion was of the ethicality of taking someone’s mistake and using it to subvert their wishes.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by dwild on Monday August 27, 2018 @10:16AM (#17851597)
Re:VSCodium: Binary releases of VSCode without MS branding, ... by jakear on Monday August 27, 2018 @10:55AM (#17851841)
A legal response to my ethical one. When I already granted the legal aspect of the argument.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by yebyen on Monday August 27, 2018 @12:23PM (#17852383)
That's a technical response to your technical question. The license is there, in the master branch. I don't see any reverted commit, the code is simply licensed as MIT as far as we can tell.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by jakear on Monday August 27, 2018 @01:19PM (#17852821)
https://github.com/Microsoft/vscode/commit/f1d0c1d88417f85ec...

This is the revert of the mistakenly committed code. In this repository's readme there is a link to a thread where (presumably the author, I didn't check) says that the public should be able to use the proprietary URLs because a commit was made that contained them (the parent of the above), and thus they are open source. While this may be technically true, and legally sound, I still claim it is ethically ill founded. You don't need to share my ethical framework.

I do not want, for instance, see the extension gallery become encrypted as a result of third party applications breaking the EULA. This is a very distinct possibility, and it could prevent people such as myself who normally compile vscode themselves, and download and install the VSIX packages manually, from doing so.

That being said, a team member has stated that injecting the URL into your own product.json is fine (https://github.com/Microsoft/vscode/issues/1557#issuecomment...). So I could be overreacting here.

But to me the question is purely a moral one, and a question of what kind of president this sets. I don't believe the community should be trying to find legal "gotchas" in order to get around reasonable limitations set in place by a team, else teams will begin to stop using as permissive licenses as they do.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by yebyen on Monday August 27, 2018 @01:43PM (#17852970)
> able to use the proprietary URLs because a commit was made that contained them (the parent of the above), and thus they are open source

You're right about one thing, I don't need to agree with your ethical framework, especially if it means that somehow a URL that I received with no access restrictions or controls, and publicly available data shared behind it, is somehow afforded copyright protections that would restrict me or anyone who received the link from then re-sharing a link to the URL. The courts in US at least have rejected that argument.

> Fortunately, courts generally agree that linking to another website does not infringe the copyrights of that site, nor does it give rise to a likelihood of confusion necessary for a federal trademark infringement claim. [1]

If I took a copy of what was at the URL and redistributed it without receiving a proper license first, then I could be in legal and ethical jeopardy. But simply putting the URL into the product.json file is akin to linking, and the courts seem to have roundly agreed that a Uniform Resource Locator or a Link is a non-infringing form of protected free speech.

At any rate, I hope you see how I may have mis-interpreted what you actually said, as something other than what you've now explained that you meant. It wasn't clear at all.

[1]: http://www.dmlp.org/legal-guide/linking-copyrighted-material...

Re:VSCodium: Binary releases of VSCode without MS branding, ... by yebyen on Monday August 27, 2018 @11:31AM (#17852068)
Maybe you can show me the actual mistake, because no commit was apparently referenced in either the post I replied to or the parent post.
Re:VSCodium: Binary releases of VSCode without MS branding, ... by jakear on Monday August 27, 2018 @01:23PM (#17852841)
The parent of this [1] commit was referenced in a thread linked in this repo's readme. I said this in a different thread, but I'll repeat here: I don't believe the community should be trying to find legal "gotchas" such as this one in order to get around reasonable limitations set in place by a team, else teams will begin to stop using as permissive licenses as they do. This is a matter of ethics for me, as the legal nature of committing to an MIT licensed project is not up for debate. You of course don't need to share the same ethical framework as me.

[1] https://github.com/Microsoft/vscode/commit/f1d0c1d88417f85ec...

Re:VSCodium: Binary releases of VSCode without MS branding, ... by yebyen on Monday August 27, 2018 @02:18PM (#17853183)
If you had linked that comment in your first reply, I would have agreed with you and we probably wouldn't have had any of this to talk about :)

A license granted by accident without consideration in return is not a "no takebacks!" situation. If I paid for that license and then you said, it was granted by mistake, I may have a legal leg to stand on in terms of "no takebacks" claims. But if it's just a URL, I'm pretty sure I actually don't need any license or your permission to copy it.

(If you wanted the data that the URL serves up to be protected, then you should have implemented some kind of actual protection scheme, like a token auth system that restricts access to authorized users only, instead of serving that content up to anyone who knows where it is located on the public internet.)

I don't think that's what they've actually tried to do here, so the issue is really moot. Thanks for clearing up what you meant for me, and have an upvote.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by jakear on Monday August 27, 2018 @04:54PM (#17854448)
My bad. I follow VSCode closely and incorrectly assumed everyone had gone through the same BFS of the the repository as me.

And yes I don’t mind the URL being public as much as the means by which the legal justification was achineved. Reverse engineering is, in some jurisdictions, totally legal, and it wouldn’t be hard at all to simply look at the requests being made by the application. That I’d be fine with. This sort of underhand “got you!” Is what bothers me.

Re:VSCodium: Binary releases of VSCode without MS branding, ... by scolby33 on Monday August 27, 2018 @01:35PM (#17852919)
If this[0] is indeed the inadvertent commit we’re talking about...how is that code? It’s three URLs in a JSON file, one of which even contains the string “public”!

There’s no proprietary algorithm being described and I’m guessing that those URLs respond with 200 OK without any authentication of where the request is coming from, which says to me the host thinks it’s okay to send me that data. (On mobile or I would check.)

Would it still be a problem if it were forked and the JSON key names were changed or some other alternative method of configuring the URLs were used?

I would understand if the entire source file for interacting with the extension gallery were taken here, but just a config setting?! That says to me that I couldn’t write my own web browser with the default homepage set to Google without permission...

[0] https://github.com/Microsoft/vscode/commit/f1d0c1d88417f85ec...

Re:VSCodium: Binary releases of VSCode without MS branding, ... by amanzi on Monday August 27, 2018 @02:56PM (#17853470)
This just creates more problems than it solves. If you don't like Microsoft's approach to VS Code you're better off choosing another editor to use - there are lots to choose from.