text:
Manual smart quotes

The file standard-library.md contains a large amount of HTML text which is not processed
by the smarten tool. This text originated in the CLR Standard and mostly has typographic
quotes already, but there were a few omissions and inconsistencies. This fixes those.

@BillWagner: Yes those two were intentional; when I went to fix them I noticed an inconsistency in the original as the ones just above are not quoted so I just deleted them.

On 12/03/2022, at 4:38 am, Bill Wagner @.***> wrote:
@BillWagner approved this pull request.
This LGTM @Nigel-Ecma https://github.com/Nigel-Ecma
I did have one question.
In standard/standard-library.md https://github.com/dotnet/csharpstandard/pull/489#discussion_r824832223:

@@ -529,7 +529,7 @@ property.

f
Fixed-Point Format: Used for strings in the following
 form:
-          "[-]m.dd...d"
+          [-]m.dd...d
Here, you removed the quotes but didn't add smart quotes. Was that intentional?
—
Reply to this email directly, view it on GitHub https://github.com/dotnet/csharpstandard/pull/489#pullrequestreview-907386565, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSYVW6FXSF43J4VEMVX42DU7NSFZANCNFSM5QN7BS5Q.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.

repo: dotnet/csharpstandard


text:
Add architecture diagram to the standalone dashboard page

Here's my beautiful attempt. Each app uses the otlp protocol to send telemetry to the otlp endpoint. The dashboard talks to a resource server over grpc to get information about running resources.

Something like this?

Are we calling these "apps" or are they really "resources"?

source: gharchive/issue

authors: IEvangelist davidfowl

repo: dotnet/docs-aspire

license: MIT

license_type: permissive

license_source: github-api


text:
Update offline books - FY23Q4

Update offline books for .NET:

[ ] .NET API reference
[ ] .NET Architecture Guide
[ ] .NET Framework Guide
[ ] .NET Guide
[ ] Visual C#
[ ] Visual F#
[ ] Visual Basic
[ ] .NET Desktop Guide
[ ] .NET MAUI

Consider also adding books for these TOCs:

https://learn.microsoft.com/en-us/dotnet/core/compatibility/
https://learn.microsoft.com/en-us/dotnet/iot/
https://learn.microsoft.com/en-us/dotnet/azure/
https://learn.microsoft.com/en-us/dotnet/standard/linq/
https://learn.microsoft.com/en-us/dotnet/machine-learning/
https://learn.microsoft.com/en-us/dotnet/standard/data/xml/
https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/
https://learn.microsoft.com/en-us/dotnet/fundamentals/networking/overview
etc.

Closing as dupe of #33486

repo: dotnet/docs


text:
Add POST example

Summary
An example of sending JSON data would be very helpful in this example.

Hi @adegeo ,
I completely agree, and it also crossed my mind when I typed this up, but since POST is creating a resource, the user needs to get add credentials and then this will snowball into a pretty big PR with OTP password on top. In addition running a POST request will create something on their github repo's/profiles. I don't think that would be ideal, although a gist would be ok I guess.
I couldn't find any public APIs that uses POST. Any ideas? Otherwise I'm also OK with just closing this PR again. It really was just meant as a footnote for the next person.
Best,

That's sort of my best effort on this. I understand if it's not up to standard, in which case you can just close this PR again.
Thanks for your hard work on the docs! It really helps people like me who are new to the libs.

@Doerge @adegeo
I like the idea of extending this to cover REST clients in more detail. That would include POST, PUT, and DELETE.
However, I think that would make this article much longer, and would include many more concepts. I'll propose that this should be a separate tutorial that extends the existing tutorial. That would focus on REST. It could assume this tutorial as a pre-requisite so that it wouldn't need to explain the HTTPClient class, and async web requests.
Thoughts?

I (mis)used the tutorial more as a reference to figure out how to correctly use the async methods. It would have been fine for me with just one example of a POST/PUT appended to the current tutorial, but for someone new to REST there might be a different need.

closing as stale. We like the concept, but this has grown out of date.

closing as stale. We like the concept, but this has grown out of date.

source: gharchive/pull-request

authors: BillWagner Doerge


text:
Update linux-ubuntu.md

Changed Link reference on Line 23 to proper Ubuntu version in documentation. Was pointing to 21.10,, therefore causing errors in install.
Summary
Describe your changes here.
Fixes #Issue_Number (if available)

Thanks @BossOfGames. This was later fixed by #29638.

authors: BossOfGames gewarren


text:
Add razor-compiler project to source-build

Once https://github.com/dotnet/aspnetcore/issues/40395 is resolved, a razor-compiler project will need to be added to the source-build repos in order to build the repo.

This is done with https://github.com/dotnet/installer/pull/13652 and https://github.com/dotnet/installer/pull/13844.

authors: MichaelSimons lbussell

repo: dotnet/source-build


text:
Stop making src modifications to every repo's NuGet.config

When building the VMR, there are several checked in files that are being modified. This yields a poor UX as these must be undone before you can build cleanly again. These edits will also become a nuisance in .NET 9 when the VMR can be used to checkin changes.
One type of file being modified is each repo's NuGet.config. The source-build sources are injected as the first feeds.  If building offline, all other feeds are removed.

It appears that we'd need a different set of feeds for online vs offline builds. In a https://github.com/dotnet/source-build/issues/2838 cloaking of repo-specific nuget.config files was suggested as part of the solution.
@MichaelSimons what are the current thoughts on available options, considering that some VMR plans might have changed in the meantime?

Cloaking the repo-specific nuget.config files works when there are no prebuilts.  Even though we have eliminated prebuilts for the most part, there are some scenarios when they still occur.  For example, a developer would like to do some cross cutting feature work in the VMR.  If you remove the nuget.configs it would hurt the VMR UX as the build would stop on the first prebuilt.  I personally see this as a blocker for this approach.  Maybe others have different opinions.
Another approach mentioned in the past is to perform the NuGet.config manipulation during/within the inner clone.  I don't think this is a viable option either given our long term plan of removing the inner clone within the VMR.
An ideal solution to me would permit dynamically modifying/swapping out the nuget configuration.  Are there any msbuild or nuget control that can be utilized for this?

I think what we might need here is the RestoreSources MSBuild property. I've never used it before, but it seems like that's a way to dynamically provide the feed locations we want to use for the build.

An ideal solution to me would permit dynamically modifying/swapping out the nuget configuration. Are there any msbuild or nuget control that can be utilized for this?

This would be the best - I'll investigate what's possible.

I think what we might need here is the RestoreSources MSBuild property. I've never used it before, but it seems like that's a way to dynamically provide the feed locations we want to use for the build.

Thanks - this looks promising. There are few more related properties that could be useful as well.

I think what we might need here is the RestoreSources MSBuild property. I've never used it before, but it seems like that's a way to dynamically provide the feed locations we want to use for the build.

Note that RestoreSources doesn't support authentication but I guess we don't need this here as we just point to a local folder?

I think we should be able to use RestoreConfigFile MSBuild propery. A quick test with a small .NET project showed that this works as expected. I'm going to test it in source-build next.

@MichaelSimons this is the place where we document multiple possible NuGet.config files: https://github.com/dotnet/installer/blob/3479076aac5f65a37f98c860659006ac45495ad1/src/SourceBuild/content/repo-projects/Directory.Build.targets#L59-L62
    <!-- Update the detected or manually specified NuGetConfigFile, but also allow multiple. -->
    <ItemGroup>
      <NuGetConfigFiles Include="$(NuGetConfigFile)" />
    </ItemGroup>

We do process them all in various tasks, in the same target.
I do not see this used in source-build infra. If we got rid of this, it would simplify the changes I'm making, but also simplify existing infra.
The only other place where we reference NuGet.config files is here, and it is only using the single instance: https://github.com/dotnet/installer/blob/3479076aac5f65a37f98c860659006ac45495ad1/src/SourceBuild/content/repo-projects/source-build-reference-packages.proj#L22
      NuGetConfigFile="$(NuGetConfigFile)"

Unfortunately, RestoreConfigFile property cannot work for projects that use different SDKs, i.e. Microsoft.Build.NoTargets or Microsoft.Build.Traversal.
MSBuild needs to restore the SDK before evaluating properties. It uses Microsoft.Buid.NuGetSdkResolver APIs, which only support default nuget.config probing paths. There is an issue tracking support of alternate nuget.config content: https://github.com/NuGet/Home/issues/7855

authors: MichaelSimons NikolaMilosavljevic ViktorHofer mthalman


text:
VMR Stage 2 Builds Failing in Arcade with Obsolete Reference

The latest run of the VMR is failing stage 2 builds with the following error:
/vmr/src/arcade/src/Microsoft.DotNet.SignTool/src/VerifySignatures.cs(104,42): error SYSLIB0057: 'X509Certificate.CreateFromSignedFile(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057) [/vmr/src/arcade/src/Microsoft.DotNet.SignTool/Microsoft.DotNet.SignTool.csproj::TargetFramework=net9.0]
##[error]/vmr/src/arcade/src/Microsoft.DotNet.SignTool/src/VerifySignatures.cs(104,42): error SYSLIB0057: (NETCORE_ENGINEERING_TELEMETRY=Build) 'X509Certificate.CreateFromSignedFile(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)

This error is the result of these changes being brought in by https://github.com/dotnet/sdk/pull/41988.
We need to update the code in arcade/src/Microsoft.DotNet.SignTool/src/VerifySignatures.cs to remove the obsolete reference.

From https://github.com/dotnet/docs/issues/41662:

If you are loading X.509 content, X509CertificateLoader.LoadCertificate and X509CertificateLoader.LoadCertificateFromFile can be used.

Oh nice, the next breaking change. @ellahathaway will you take care of it or should I?

Oh nice, the next breaking change. @ellahathaway will you take care of it or should I?

@ViktorHofer Ikr. I've got this one, but thanks for offering to help :)

authors: ViktorHofer ellahathaway


text:
Add incremental builds by increasing isolation

I think with a few infra changes (borrowing some ideas from the Microsoft build ProdCon infra), we can enable incremental builds in source-build:
1. Use a unique blob feed output directory for each repo build.
This allows us to understand which artifacts came from which repos and easily delete (or ignore) stale assets.
2. Give each repo build its required inputs only.
Do this by either merging the upstream blob feeds into an input blob feed (like ProdCon) or pointing repos to multiple blob feeds.
Providing only the required inputs improves reliability: if repos can only use the artifacts they explicitly depend on via RepositoryReference, we will likely detect and fix any unknown dependencies and end up with a more correct graph.
3. Use an isolated, fresh package cache directory for each repo build.
This lets us clear the cache to consume new packages from upstream repos. Currently, we can't simply delete it because the source-build infra also shares the single package cache.
4. After each build, make cached packages available to downstream builds.
Without this, each submodule would download a fresh copy of every package even if an earlier repo already downloaded it, slowing the build down considerably and increasing the impact of network flakiness.
5. After harvesting a package cache directory, delete it.
The duplicate packages in each isolated cache would take a lot of space, and our build's already too large for some CI infra now.
For diagnosability, when we delete a package cache, we should note which packages were in it. If any changes were made to a specific package in-place (e.g. by BuildTools init), we should leave it alone in case it's important to understand a problem. (There are likely very few instances of this.)
6. Add a semaphore for each repo build completion.
This way, if a build fails, fix it and rerun the default build command to pick up where it left off.
When a repo starts building, all downstream repo semaphores should be removed so the new build's dependencies flow through to the end without question. This will help when making changes to e.g. CoreFX and expecting them show up in the Runtime without fully cleaning the repo first.

Non-goals
I don't think we should try to detect submodule changes and automatically rebuild. A false positive would potentially rebuild a lot and be very frustrating. Deleting the semaphore doesn't seem like a terrible experience. We can provide utility props to invalidate builds if that seems easier than deleting semaphores.
Future benefits
This would help a lot with the source-build CI legs that we plan to add to each official repo: the runs would go much faster by downloading a cache of the upstream dependencies rather than building all upstreams every single time. Blob feed output isolation would let upstreams zip up their source-built outputs and put them somewhere without any fuss, transferring them through BAR/Maestro++/Darc.

@dseefeld - What is the status of this issue?  Why is it in the ArPow epic?

[Triage] #6 - semaphore work, is the only item completed.  The rest of the items become much simpler to implement once ArPow is in place.

authors: MichaelSimons dagood


text:
Add Application.SetHighDpiMode(HighDpiMode.SystemAware); for WinForms Project Upgrade

Describe the bug
Upgraded WinForms projects may not scale as expected after upgrade-assistant.
Solution:
I added Application.SetHighDpiMode(HighDpiMode.SystemAware); to have my app look more or less the same.
[STAThread]
static void Main()
{
    Application.SetHighDpiMode(HighDpiMode.SystemAware);
    Application.EnableVisualStyles();
    Application.SetCompatibleTextRenderingDefault(false);
    Application.Run(new PhotoDateChanger());
}

See https://github.com/dotnet/winforms/issues/4947

One should be using Application.SetHighDpiMode(HighDpiMode.PerMonitorV2);
/cc: @OliaG @dreddy-work

We will watch for how dotnet/winforms-designer#3278 plays out.

We will watch for how dotnet/winforms-designer#3278 plays out.

Showing 404 for me.

This is a non-public repo.

This is addressed by fix for #785 , closing this issue

authors: RussKie myokeeh sunandabalu

repo: dotnet/upgrade-assistant


text:
⚠ Adacta-fintech.com has degraded performance

In d87bef1, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1195 ms

Resolved: Adacta-fintech.com performance has improved in 39ab845.

repo: dotsi/aduptime


text:
Openbsd 6.6 support

With the latest version of OpenBSD, vmctl syntax has changed and Go was updated to the 1.13 version. This series of patches hopefully fixes the whole thing

Still not on 6.6 here - and I think I'll take this, but with an os.version switcher to support more than one certain (compatible) release.

Apparently everybody wants 6.6+ anyway..

authors: double-p mguegan

repo: double-p/packer-builder-openbsd-vmm


text:
[IOS] SwiftAudioEx error

Describe the Bug
After installing react-native-track-player and creating dummy.swift and creating a bridge, I get the following error:
/ios/Pods/SwiftAudioEx/Sources/SwiftAudioEx/QueueManager.swift (in target 'SwiftAudioEx' from project 'Pods')
Steps To Reproduce

Install react-native-track-player
follow docs and create dummy.swift

Environment Info:
System:
  OS: macOS 12.5
  CPU: (8) arm64 Apple M1
  Memory: 110.52 MB / 8.00 GB
  Shell:
    version: 5.8.1
    path: /bin/zsh
Binaries:
  Node:
    version: 20.7.0
    path: /opt/homebrew/bin/node
  Yarn:
    version: 1.22.19
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.1.0
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2023.09.25.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.13.0
    path: /Users/witekmikolajczak/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 21.4
      - iOS 15.5
      - macOS 12.3
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.1 AI-221.6008.13.2211.9619390
  Xcode:
    version: 13.4.1/13F100
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 11.0.21
    path: /opt/homebrew/opt/openjdk@11/bin/javac
  Ruby:
    version: 3.2.2
    path: /Users/witekmikolajczak/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.4
    wanted: 0.72.4
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Simulator Iphone 8

Solution

works fine with react-native-track-player@3.2

@witekmikolajczak could you post the full error? I think there's more missing

I am seeing the same error with react-native-track-player@4.0.1. I'm very new to React Native so I'm not sure how to help further.

I am seeing the same error with react-native-track-player@4.0.1. I'm very new to React Native so I'm not sure how to help further.

A full error message would help a lot!

Logs for a command npm run ios: https://pastebin.com/JZ547efQ. Let me know if I can provide something else :)

Ok looks like the issue is this:
 error: unable to infer complex closure return type; add explicit type to disambiguate
        let result = try synchronizeThrows {
                                           ^
                                             () -> <#Result#> in

This was also reported in here - like this person I see you're also 2 versions behind on Xcode. My guess is their Swift syntax parser was not as advanced then and is throwing issues.

Is updating Xcode versions an option for you?

It is. I'll report back to you when I've upgraded the Xcode.

** BUILD FAILED **

The following build commands failed:
        CompileSwift normal arm64 ios/Pods/SwiftAudioEx/Sources/SwiftAudioEx/QueuedAudioPlayer.swift (in target 'SwiftAudioEx' from project 'Pods')
        CompileSwift normal arm64 ios/Pods/SwiftAudioEx/Sources/SwiftAudioEx/QueueManager.swift (in target 'SwiftAudioEx' from project 'Pods')
        CompileSwift normal arm64 ios/Pods/SwiftAudioEx/Sources/SwiftAudioEx/RemoteCommandController/RemoteCommand.swift (in target 'SwiftAudioEx' from project 'Pods')
        CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftAudioEx' from project 'Pods')
(4 failures)

** BUILD FAILED **

The following build commands failed:
        CompileSwift normal arm64 ios/Pods/SwiftAudioEx/Sources/SwiftAudioEx/QueuedAudioPlayer.swift (in target 'SwiftAudioEx' from project 'Pods')
        CompileSwift normal arm64 ios/Pods/SwiftAudioEx/Sources/SwiftAudioEx/QueueManager.swift (in target 'SwiftAudioEx' from project 'Pods')
        CompileSwift normal arm64 ios/Pods/SwiftAudioEx/Sources/SwiftAudioEx/RemoteCommandController/RemoteCommand.swift (in target 'SwiftAudioEx' from project 'Pods')
        CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftAudioEx' from project 'Pods')
(4 failures)

** BUILD FAILED **

The following build commands failed:
        CompileSwift normal arm64 ios/Pods/SwiftAudioEx/Sources/SwiftAudioEx/QueuedAudioPlayer.swift (in target 'SwiftAudioEx' from project 'Pods')
        CompileSwift normal arm64 ios/Pods/SwiftAudioEx/Sources/SwiftAudioEx/QueueManager.swift (in target 'SwiftAudioEx' from project 'Pods')
        CompileSwift normal arm64 ios/Pods/SwiftAudioEx/Sources/SwiftAudioEx/RemoteCommandController/RemoteCommand.swift (in target 'SwiftAudioEx' from project 'Pods')
        CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftAudioEx' from project 'Pods')
(4 failures)

Any solution?

authors: cappe dcvz linhkiubo98 witekmikolajczak


text:
Promote search results based on full query string and article title

When searching for queries that match article titles like "Network Update Email", the top result should be the article with that exact same title.
Example: https://www.dropbox.com/s/e864w1siem897gs/Screenshot 2017-05-03 09.45.03.png?dl=0

This is working as expected, closing, please re-open if needed.

authors: brupm tmattia

repo: doximity/orientation


text:
chore: add content length for fast stream peer task

Signed-off-by: Jim Ma majinjing3@gmail.com

Description

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[ ] Code compiles correctly.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #1061 (88fecd2) into main (fed4f56) will increase coverage by 0.00%.
The diff coverage is 50.00%.

@@           Coverage Diff           @@
##             main    #1061   +/-   ##
=======================================
  Coverage   45.79%   45.79%
=======================================
  Files         129      129
  Lines        9542     9546    +4
=======================================
+ Hits         4370     4372    +2
- Misses       4679     4680    +1
- Partials      493      494    +1

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
45.79% <50.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

client/daemon/peer/peertask_stream.go
64.28% <50.00%> (-0.43%)
:arrow_down:


text:
fix some issue about the subcommand mount of nydusify

Relevant Issue (if applicable)
this is the solution of issue https://github.com/dragonflyoss/image-service/issues/1306.(#1306)
Details
we fix the bug, the nydusify mount subcommand will not need the --backend-type  and  --backend-config options when  the blobs of target image are all stored in the registry,
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have added tests to cover my changes.

@lihuahua123 Please don't submit a new one on next time, just use git rebase -i $commit^ to edit the commit and then force push by git push -f $branch.

@imeoer ，the code has been refactored, is there some place needed to be modified?

@imeoer ，the code has been refactored, is there some place needed to  be modified?

repo: dragonflyoss/image-service


text:
Normalise data types

Worth going through and checking all usages are valid:
IDs (weapon class, season but not operators) - byte
Actions (Kills, Deaths, Wins, Losses, Barricades, etc.) - uint
Ratios (KD, WL) - float
Also make sure naming conventions are kept:
KD = Kd
WL = Wl
ID = Id
and so on...

Closed by #155


text:
KC3 kai Resource History not working

Same issue as mentioned here: https://github.com/dragonjet/KC3Kai/issues/367
You might want to try resetting your resources graph manually via here

still error after ressting my resources graph

and i got some erorrs from the console

@ATLiV You do need to let it sit for a minimum of one hour for something to appear in the topmost graph.
Also for your dev. console. Um, your API key is apparent. :scream:

yeah, thats why im resseting my api now

btw thanks crazyteitoku

authors: ATLiV Crazyteitoku

license: mit

license_source: bigquery


text:
[Bug] After I remove the table protection in the menu item, I can still select table protection and edit in the mouse mail menu and worksheet list right-click menu.

在您提交此问题之前，您是否检查了以下内容？

[X] 这真的是个问题吗？
[X] 我已经在 Github Issues 中搜索过了，但没有找到类似的问题。

受影响的包和版本
0.5.1
复现链接
https://gitee.com/wkk001/demo/tree/master/
预期行为
当我在菜单项中删除掉表格保护后，在右键菜单以及工作表列表右键菜单也删除表格保护选项
实际行为

当我在菜单项中把表格保护移除之后，在鼠标邮件菜单和工作表列表右键菜单仍然可选择表格保护并编辑。
运行环境
Chrome
系统信息
System:
OS: Windows 11 10.0.22631
CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-1240P
Memory: 800.15 MB / 15.72 GB
Binaries:
Node: 20.13.1 - D:\node\node.EXE
npm: 10.5.2 - D:\node\npm.CMD
pnpm: 9.14.2 - D:\node\pnpm.CMD
Browsers:
Edge: Chromium (129.0.2792.89)
Internet Explorer: 11.0.22621.3527

这个是配置菜单移除保护按钮

You did not hide all related menus

You did not hide all related menus
How should I hide all relevant menus?

You did not hide all related menus

How should I hide all relevant menus?

authors: xiaoshuaikang ybzky

repo: dream-num/univer


text:
Add losing credentials troubleshooting

Added troubleshooting for losing the credentials when updating to a GOLD version.

@alex-504 I don't believe this is a typical error, and isn't anything I've ever encountered. I suggest deleting your commit and instead write about the root admin designation warning described in my email.


text:
WINDOWS 10: subProcess error when dynamically converting crate to ascii

Related to issue #8
When calling usdcat from utils.usdcat with a path that has a space in it, the call errors out with message about number of arguments (seems familiar...)
All works as expected if I wrap the construction of the cmd assembly (line 171ish of utils) in a similar method to fix for__init__ launchUsdView in issue #8
ie
if os.name == 'nt':
cmd = 'usdcat "{}" -o "{}"'.format(inputFile, outputFile)
else:
cmd = "usdcat {} -o {}".format(inputFile, outputFile)

I've updated the code based on your suggestion, and also preemptively updated the unzip logic for USDZ files, since it would likely suffer from the same issue. After a bit of internal testing, I should be able to get this out early next week.

Nice one Mark. I'll keep an eye out.  Have a great weekend.
On 19 Jul 2019, 20:47, at 20:47, Mark Sandell notifications@github.com wrote:

I've updated the code based on your suggestion, and also preemptively
updated the unzip logic for USDZ files, since it would likely suffer
from the same issue. After a bit of internal testing, I should be able
to get this out early next week.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/dreamworksanimation/usdmanager/issues/12#issuecomment-513355094

This is now available in version 0.7.0. This release also has improvements for user preferences and some other minor bug/annoyance fixes. I hope it all works well for you! Please let me know if you run into any issues.

authors: bblackbourn mds-dwa

repo: dreamworksanimation/usdmanager


text:
Refuses to flash zshark firmware

The filename version check fails for the zshark firmware unless it is renamed to ./zshark_conbee2_v1_0.0x0.bin.GCF to contain 0x0. Works just fine after renaming.

Good find, GCFFlasher should only look in the file signature header, filename checks were a silly idea :)

authors: leoluk manup

repo: dresden-elektronik/gcfflasher


text:
Document null behavior

This adds documentation for the features added in #39.

Codecov Report

Merging #40 (4768260) into master (5854d4b) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##           master      #40   +/-   ##
=======================================
  Coverage   85.55%   85.55%
=======================================
  Files          16       16
  Lines        1011     1011
  Branches      203      203
=======================================
  Hits          865      865
  Misses        108      108
  Partials       38       38

Files
Coverage Δ

src/tabeline/_record.py
66.66% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter drhagen

repo: drhagen/tabeline


text:
TypeError: Cannot read property 'AssetUrl' of undefined.

After today's Ionic lib update I cannot build the project anymore.
During production build I am getting:
node_modules/@angular/compiler-cli/src/private_import_compiler.js:10
exports.AssetUrl = compiler_1.__compiler_private__.AssetUrl;
TypeError: Cannot read property 'AssetUrl' of undefined
ngc failed
ionic-app-script task: "build"
Error: Error

I am also getting plenty of warnings during ionic serve, however the bundle runs (not minified)
rollup: Conflicting namespaces: node_modules/@angular/compiler/index.js
            re-exports 'TextAst' from both node_modules/@angular/compiler/src/template_parser/template_ast.js
            (will be ignored) and node_modules/@angular/compiler/src/template_parser/template_ast.js.

the same result for Ionic App Scripts Version: 0.0.37 and 0.0.36
Cordova CLI: 6.3.0
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
Node Version: v6.2.1

Hello! Can you make sure that your package.json matches the one here and then remove node_modules and run npm install? Thanks!

Hello, I am going to close this issue as a duplicate of https://github.com/driftyco/ionic-app-scripts/issues/212. Thanks!

repo: driftyco/ionic-app-scripts


text:
localhost 8100 opens same file always while ionic serve command is applied for another file

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
What behavior are you expecting?
Steps to reproduce:
1.
2.
3.
insert any relevant code between the above and below backticks

Which @ionic/app-scripts version are you using?
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Due to inactivity, we're closing this issue.
Thanks,
Dan

authors: danbucholtz skjainlky


text:
ionic Serve not working properly with ionic2 app  in RC0

From @sriteja09 on October 3, 2016 18:21
Issue with ionic2
Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: Not installed
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.5.0
Xcode version: Xcode 7.3 Build version 7D175
this is my system configuration.i am using mac book . In my macbook when i am using ionic serve it works. when i write error in the code then ionic serve working fine in that case after that if i change code and run application its not working.
Copied from original issue: driftyco/ionic#8447

Hello, thanks for opening an issue with us! Would you mind providing some more info please? Could you post the exact errors you are getting? Thanks!

Having the same error:
npm version
3.10.7
node version
v6.7.0
---Ionic Info ---
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: Not installed
OS: Mac OS X El Capitan
Node Version: v6.7.0
Xcode version: Not installed
---Error ---
Running 'serve:before' npm script before serve

reu@ watch /Users/J/Desktop/ITESM_ISC/Semestre7/LDAW : AMSS/Progra/Proyect/reuapp
ionic-app-scripts watch
sh: ionic-app-scripts: command not found
npm
ERR! Darwin 16.0.0
npm ERR!
argv "/usr/local/Cellar/node/6.7.0/bin/node" "/usr/local/bin/npm" "run" "watch"
npm ERR!
node v6.7.0
npm ERR! npm  v3.10.7
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm
ERR! errno ENOENT
npm ERR! syscall
spawn
npm ERR! reu@ watch: ionic-app-scripts watch
npm ERR! spawn ENOENT
npm
ERR!
npm ERR!
Failed at the reu@ watch script 'ionic-app-scripts watch'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm
ERR! If you do, this is most likely a problem with the reu package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!
ionic-app-scripts watch
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!
npm bugs reu
npm ERR! Or if that isn't available, you can get their info via:
"debug.txt" 53L, 1311C

Tried: Deleting node modules and npm install. Deleted repo and made git clone. Reinstailled npm and node. Reinstalled ionic cli.
The same project works on two different OSX computers. Only difference is this one has the latest MacOS (Sierra)
Probably related: https://github.com/driftyco/ionic-cli/issues/1448

Same issue here I think
`
Haydens-MacBook-Pro:testApp haydenbrown$ ionic info
Your system information:
Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.7.0
Xcode version: Xcode 8.0 Build version 8A218a
Haydens-MacBook-Pro:testApp haydenbrown$ ionic serve
Running 'serve:before' npm script before serve

ionic-hello-world@ watch /Users/haydenbrown/Desktop/ionicProject/CabinsUSA/testApp
ionic-app-scripts watch
sh: ionic-app-scripts: command not found

npm
ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "watch"
npm
ERR! node v6.7.0
npm ERR! npm  v3.10.3
npm
ERR! file sh
npm ERR! code ELIFECYCLE
npm
ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! ionic-hello-world@ watch: ionic-app-scripts watch
npm ERR!
spawn ENOENT
npm ERR!
npm
ERR! Failed at the ionic-hello-world@ watch script 'ionic-app-scripts watch'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm
ERR! If you do, this is most likely a problem with the ionic-hello-world package,
npm ERR! not with npm itself.
npm
ERR! Tell the author that this fails on your system:
npm ERR!     ionic-app-scripts watch
npm ERR!
You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ionic-hello-world
npm ERR!
Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ionic-hello-world
npm ERR!
There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/haydenbrown/Desktop/ionicProject/CabinsUSA/testApp/npm-debug.log
Caught exception:
undefined
Mind letting us know? https://github.com/driftyco/ionic-cli/issues
`
I uninstalled npm and node before reinstalling ionic and cordova - still having this issue.
Haydens-MacBook-Pro:testApp haydenbrown$ npm -v
3.10.3
Haydens-MacBook-Pro:testApp haydenbrown$ node -v
v6.7.0
Haydens-MacBook-Pro:testApp haydenbrown$

I'm having the same issue.
Unless I'm mistaken - the first time I saw this issue was after uninstalling and reinstalling node, npm, ionic, and cordova today. I followed the instillation steps and it produced this error.
Here's my system info:
Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.7.0
Xcode version: Xcode 8.0 Build version 8A218a
first few lines of the error are:

ionic-hello-world@ watch /Users/haydenbrown/Desktop/ionicProject/CabinsUSA/test
ionic-app-scripts watch
sh: ionic-app-scripts: command not found
npm
ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "watch"
npm

Heads up, we solved it by doing a global install of npm @ionic/app-scripts. Seems this was not installed when we did the global ionic install.

Awesome - running
npm install -g @ionic/app-scripts
Got the app to build. It seems tslint isn't working still though:
[17:14:19]  lint failed:  Unable to find "tslint" command: null
[17:14:19]  Error: Unable to find "tslint" command: null
at /usr/local/lib/node_modules/@ionic/app-scripts/dist/lint.js:38:20
at runTsLint (/usr/local/lib/node_modules/@ionic/app-scripts/dist/lint.js:35:12)
at /usr/local/lib/node_modules/@ionic/app-scripts/dist/lint.js:22:13
at FSReqWrap.oncomplete (fs.js:123:15)

Nevermind - I was able to get rid of the app scripts not found error and cannot find typescript, and tslint problems by uninstalling, ionic, cordova, npm, and node then deleting node_modules folder in usr/lib and deleting .cordova, .npm, .ionic.
I then went through the installation process, ionic asked for sudo installs. Brew doctor told me I was missing xcode clt. Then Ionic info mentioned that I needed ios-deploy. I'm not sure which of these steps fixed my problem, but cleaning my machine of node, npm, cordova, and ionic and checking instillation steps seemed to do the trick.

Hello all! @sriteja09 are you still having this issue?

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

Having same issue while release command
--Ionic Info--
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS:
Node Version: v4.4.0
--Error--
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files (x86)\nodejs\node.exe',
1 verbose cli   'C:\Users\Pankaj\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using npm@3.10.9
3 info using node@v4.4.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle softwareforcleaners3@~prebuild: softwareforcleaners3@
6 silly lifecycle softwareforcleaners3@~prebuild: no script for prebuild, continuing
7 info lifecycle softwareforcleaners3@~build: softwareforcleaners3@
8 verbose lifecycle softwareforcleaners3@~build: unsafe-perm in lifecycle true
9 verbose lifecycle softwareforcleaners3@~build: PATH: C:\Users\Pankaj\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\Users\Pankaj\Documents\GitHub\softwareforcleaners3\node_modules.bin;F:\cmder\bin;C:\Program Files\Git\bin;C:\Program Files\Git\share\vim\vim74;F:\cmder\vendor\conemu-maximus5\ConEmu\Scripts;F:\cmder\vendor\conemu-maximus5;F:\cmder\vendor\conemu-maximus5\ConEmu;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;F:\Server\PHP;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\QuickTime\QTSystem;C:\ProgramData\ComposerSetup\bin;C:\PHPUnit;C:\Program Files (x86)\Skype\Phone;C:\Users\Pankaj\AppData\Roaming\Composer\vendor\bin;C:\Program Files (x86)\nodejs;C:\WINDOWS\system32\config\systemprofile.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files\Git\cmd;C:\Ruby22-x64\bin;C:\Users\Pankaj\AppData\Roaming\npm;C:\Program Files\Java\jdk1.7.0_79\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;F:\cmder
10 verbose lifecycle softwareforcleaners3@~build: CWD: C:\Users\Pankaj\Documents\GitHub\softwareforcleaners3
11 silly lifecycle softwareforcleaners3@~build: Args: [ '/d /s /c', 'ionic-app-scripts build' ]
12 silly lifecycle softwareforcleaners3@~build: Returned: code: 1  signal: null
13 info lifecycle softwareforcleaners3@~build: Failed to exec build script
14 verbose stack Error: softwareforcleaners3@ build: ionic-app-scripts build
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter. (C:\Users\Pankaj\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:87:13)
14 verbose stack     at EventEmitter.emit (events.js:172:7)
14 verbose stack     at ChildProcess. (C:\Users\Pankaj\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:87:13)
14 verbose stack     at ChildProcess.emit (events.js:172:7)
14 verbose stack     at maybeClose (internal/child_process.js:827:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid softwareforcleaners3@
16 verbose cwd C:\Users\Pankaj\Documents\GitHub\softwareforcleaners3
17 error Windows_NT 10.0.14393
18 error argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Users\Pankaj\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "build"
19 error node v4.4.0
20 error npm  v3.10.9
21 error code ELIFECYCLE
22 error softwareforcleaners3@ build: ionic-app-scripts build
22 error Exit status 1
23 error Failed at the softwareforcleaners3@ build script 'ionic-app-scripts build'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the softwareforcleaners3 package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     ionic-app-scripts build
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs softwareforcleaners3
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls softwareforcleaners3
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]


text:
Error Initializing app: There was an error with the spawned command: npminstall

When trying to start a blank project, I receive a "Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall" error. I've searched the forums, updated git, reinstalled git, and updated node.
E:\Projects\PCVApp\sandbox\map1>ionic start ionic-maps blank
Creating Ionic app in folder E:\Projects\PCVApp\sandbox\map1\ionic-maps based on
 blank project
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================]  100%  0.0s
Downloading: https://github.com/driftyco/ionic-starter-blank/archive/master.zip
[=============================]  100%  0.0s
Installing npm packages...
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall
Caught exception:
 undefined

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

E:\Projects\PCVApp\sandbox\map1>ionic info

Your system information:

Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Windows 7 SP1
Node Version: v4.5.0

I have the same issue
Ionic Info
Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Windows 7 SP1
Node Version: v6.7.0

Same issue.
System Information:
Cordova CLI: 6.3.1
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Windows 7 SP1
Node Version: v6.7.0

I have the same issue!
Cordova CLI: 6.3.1
Ionic CLI Version: 2.1.0-beta.3
Ionic App Lib Version: 2.1.0-beta.1
OS: Windows 7 SP1
Node Version: v5.8.0
Npm Version: 3.7.3
Already uninstalled, installed again, run the command "npm cache clear" and "clean cache", manually deleted the "npm-cache" directory and still got the same error.
Can someone help me?

Hello all! I am going to close this one as a duplicate of https://github.com/driftyco/ionic-cli/issues/1491.

repo: driftyco/ionic-cli


text:
can not find module 'colors'

ionic serve
Caught exception:
Error: Cannot find module 'colors'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/usr/local/lib/node_modules/ionic/lib/cli.js:1:63)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)

I have a same issue when I tried this at Mac OS.
ionic start MyIonic2Project tutorial --v2

But when I reinstalled ionic and cordova after uninstalling both, it works.

@starkdigitalmediaservices Could you try installing the latest ionic CLI release.
npm install -g ionic@latest


text:
Ionic 2 Apps not working Earlier than Android 5.0

A whitescreen is shown, tried on Andyroid Emulator and Galaxy Tab (both 4.2.2).
Some recommended to install Crosswalk, but that's not possible on Ionic v2.
It installs normally, but on build to android it shows this error.
`FelipeS@Felipe486 MINGW64 /c/xampp/htdocs/test (master)
$ ionic build android
WARN: ionic.config.js has been deprecated, you can remove it.
Running 'build:before' gulp task before build
[19:17:19] Starting 'clean'...
[19:17:19] Finished 'clean' after 49 ms
[19:17:19] Starting 'build'...
[19:17:19] Starting 'sass'...
[19:17:19] Starting 'html'...
[19:17:19] Starting 'fonts'...
[19:17:19] Starting 'scripts'...
[19:17:20] Finished 'scripts' after 382 ms
[19:17:20] Finished 'html' after 579 ms
[19:17:21] Finished 'fonts' after 1.31 s
[19:17:24] Finished 'sass' after 4.66 s
[19:17:47] Finished 'build' after 27 s
[19:17:47] Starting 'build:before'...
[19:17:47] Finished 'build:before' after 9.68 μs
Running command: "C:\Program Files\nodejs\node.exe" C:\xampp\htdocs\test\hooks\after_prepare\010_add_platform_class.js C:/xampp/htdocs/test
add to body class: platform-android
ANDROID_HOME=C:\Users\FelipeS\AppData\Local\Android\android-sdk
JAVA_HOME=C:\Program Files\java\jdk1.8.0_73
null
embedded
org.xwalk:xwalk_core_library:17+
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'android'.

Could not resolve all dependencies for configuration ':_armv7DebugCompile'.
Could not find any version that matches com.android.support:support-v4:[13.0.0,).
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metadata.xml
https://repo1.maven.org/maven2/com/android/support/support-v4/
https://download.01.org/crosswalk/releases/crosswalk/android/maven2/com/android/support/support-v4/maven-metadata.xml
https://download.01.org/crosswalk/releases/crosswalk/android/maven2/com/android/support/support-v4/
Required by:
:android:unspecified > org.xwalk:xwalk_core_library:17.46.448.10

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 11.564 secs
ERROR building one of the platforms: Error code 1 for command: cmd with args: /s,/c,"C:\xampp\htdocs\test\platforms\android\gradlew cdvBuildDebug -b C:\xampp\htdocs\test\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
You may not have the required environment or OS to build this project
Error: Error code 1 for command: cmd with args: /s,/c,"C:\xampp\htdocs\test\platforms\android\gradlew cdvBuildDebug -b C:\xampp\htdocs\test\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"`

@felsf You have to install the required dependencies:

Open the SDK manager (from the command line, type android).
Under Extras, download and install the following items:

Android Support Repository
Google Repository
Local Maven repository for Support Libraries

Hello! Since it has been a while since there was any activity on this issue i will be closing it for now. @iignatov is correct that you most likely do not have the required deps. Thanks for using Ionic!

Hello! Since it has been a while since there was any activity on this issue i will be closing it for now. @iignatov is correct that you most likely do not have the required deps. Thanks for using Ionic!

authors: felsf iignatov jgw96


text:
Problem changed between two views

Ionic version:  (check one with "x")
[ X] 1.x
[ ] 2.x
[ ] 3.x
I'm submitting a ...  (check one with "x")
[X ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
I have changed from one view to another. When I do this, the app generated a horizontal scroll with two views, previous and new.
Expected behavior:
Show only the new view.
Steps to reproduce:
Nothing special. Only passed between two views.
Related code:
First view:
.state('private.dashboard', {
                url : '/dashboard',
                views : {
                   'private' : {
                        templateUrl : 'private/dashboard/dashboard.html'
                    }
                }
            })

Second view:
.state('public.login', {
                url : '/login',
                views : {
                    'public' : {
                        templateUrl : 'public/login/login.html'
                    }
                }
            })

Hello, thanks for opening an issue with us. Could you share a repo we can use to reproduce this issue?

In this moment I'm working in a project for a client, the repo is private and I'm unauthorized to shared it.
I know this is a problem, but I reported this issue to know if an other person  had the same problem and could solved.
I would be very grateful if anyone could help me.

Hello @hernangiraldo89. You do not have to share the actual repo, in fact it would be more ideal if you could share a minimal reproducible example repo that does not include all the code in your app, but only the minimal amount of code required to reproduce the issue. Sorry i was not more clear with this earlier.

Hello! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

repo: driftyco/ionic


text:
bug: “active” class does not work in

Type: bug
Platform: all
Please check the code:
http://codepen.io/anon/pen/PwOQwR
<ion-item class="item-dark active" nav-clear ng-click="login()">
 Login
</ion-item>
<ion-item class="item-dark active" nav-clear href="#">
Browse
</ion-item>

active class works when the <ion-item> does not have href attribute.
When <ion-item> has the href attribute, it will add <a> inside ion-item and <a>'s background color will override active background color with:
.item-complex.item-dark > .item-content {
  border-color: #111;
  background-color: #444;
  color: #fff;
}

To workaround this issue, I have to add the following css style to override <a> background color again:
.item-complex.item-dark.active > .item-content {
    border-color: #000;
    background-color: #262626;
}

Greetings @sgon00!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

I believe this is related to the same issue I was seeing.  In beta 14, line 3100 of ionic.js, the ionic.activator.start is supposed to be checking for elements with .item class when it walks up parents, but eleToActive will ALWAYS be undefined in this condition so the check will never pass...
Therefore to get the activated class added to your item, your ion-item will have to have an ng-click which would pass the third condition.

@sgon00 it does work, it may just be a bug with the colored items (positive, calm, dark)
http://codepen.io/mhartington/pen/bNMXbZ
Notice that a normal item accepts the active class without any issues.
Will look into this more.

Fixed in 9c378633e257ac77cbb2dc7723bfb22e35bf39bc


text:
bug: Ionic2  android issue

Type: bug
Ionic Version: 2.x
Platform: android 5.1
browser
app

<ion-content class="has-header">
    <ion-searchbar [(ngModel)]="searchQuery" (input)="getItems($event)"></ion-searchbar>
    <ion-list no-lines>
      <ion-checkbox primary checked="true" *ngFor="#item of items">
        <ion-item>
          <ion-avatar item-left>

          </ion-avatar>

{{ item }}

123 456 789

        </ion-item>
      </ion-checkbox>
    </ion-list>
  </ion-content>

Greetings @uiktiomasfeliz!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

With the new ion-item updates we are making this won't be an issue anymore. Once this issue is complete & released the markup will change to something like this (with your own data):
  <ion-list no-lines>
    <ion-list-header>
      List With Checkboxes No Lines
    </ion-list-header>

    <ion-item>
      <ion-checkbox item-left></ion-checkbox>
      <ion-avatar item-left>

      </ion-avatar>
      <ion-label>Wifi</ion-label>
    </ion-item>

    <ion-item>
      <ion-checkbox item-left></ion-checkbox>
      <ion-avatar item-left>

      </ion-avatar>
      <ion-label>Affection</ion-label>
    </ion-item>

    <ion-item>
      <ion-checkbox item-left></ion-checkbox>
      <ion-avatar item-left>

      </ion-avatar>
      <ion-label>Home</ion-label>
    </ion-item>
  </ion-list>

And this will no longer be an issue, so please keep an eye on that issue! Thank you for reporting this! :)

Thank you brandy. Whaiting for that update!

Sorry it looks like we never closed it. These changes were added in alpha.53 - https://github.com/driftyco/ionic/blob/2.0/CHANGELOG.md#200-alpha53-2016-01-28

work's verry well with alpha.53+

authors: Ionitron brandyscarney uiktiomasfeliz


text:
statusTap investigation

There are reports of the statusTap event not triggering a scroll to the top in V1.
This is a v1 issue.
The person from *removed* says this statusTap scroll wasn’t working for them
https://github.com/driftyco/ionic/blob/e2727d2e8f0815c3418e1fc29c92e2180e513408/js/angular/service/platform.js#L175

https://github.com/driftyco/ionic/commit/cfa80420cbf0e11f39f2e87783ca61847f3a8335#diff-c0173cf073cf21378fc2149621d94bfb
https://github.com/driftyco/ionic/pull/4466
might be worth exposing that as a config flag, like native scrolling

I have reached out to the person for more info, and we have moved the handler to start listening after the cordova ready event fires


text:
What .net or assemblies does this target/require?

I have a WPF .net 4.5.2 project and I get errors when trying to add this package:

Could not install package 'ColorPickerWPF 1.0.6'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Hi,
This actually targets .NET 4.6.1 unfortunately.
I might have a look and see if I can drop the version number back to 4.5.2.
Cheers,
David
On 18/03/2017 11:41 PM, Wobbles wrote:

I have a WPF .net 4.5.2 project and I get errors when trying to add
this package:
Could not install package 'ColorPickerWPF 1.0.6'. You are trying
to install this package into a project that targets
'.NETFramework,Version=v4.5.2', but the package does not contain
any assembly references or content files that are compatible with
that framework. For more information, contact the package author.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/drogoganor/ColorPickerWPF/issues/1, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABkFAdcPL1PBF9G-XV7LNYXd6Uoub5_Sks5rm9D-gaJpZM4MhZ6h.

Hi,
I've released a new version on github and on Nuget that targets .NET 4.5.2. Give that a shot and let me know how it goes.

authors: JoshWobbles drogoganor

repo: drogoganor/ColorPickerWPF


text:
divide插件 配置疑问

divide配置规则 uri match  /cnf/sline/admin/**  路由到后端端口的时候，不会像gateway一样去掉了/cnf/sline/admin/
前缀，只会去掉第一个前缀 /cnf。对于多前缀的转发配置不方便

contextPath 写成你需要去掉的

contextPath 写成你需要去掉的

divide插件没有配contextPath的地方，需要在自己的代码里面配？

contextPath

我看了下官网说明文档，我的理解是配contextPath是对有注解或者元数据的路由，如果实现对全部接口的路由，用divide不行吗？

repo: dromara/soul


text:
create test cases for SwaggerConfiguration(#508)

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #542 (9c9fe14) into master (5c035c1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #542   +/-   ##
=========================================
  Coverage     16.10%   16.10%
  Complexity      334      334
=========================================
  Files           251      251
  Lines          5177     5177
  Branches        488      488
=========================================
  Hits            834      834
  Misses         4253     4253
  Partials         90       90

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c035c1...9c9fe14. Read the comment docs.

ok have a try

reset


text:
add --sha commandline param to drone exec

So you can test pipelines that use the DRONE_COMMIT_SHA env var

@bradrydzewski isn't the sha sum part of another flag?

authors: eaceaser tboerger

repo: drone/drone-cli


text:
drone.io Go build is out of date

Go 1.6.2 or 1.7 is preferred, current drone.io only has 1.4.

the open source codebase is powered by docker containers, allowing you to use any image from the registry for your build environment, including the latest go:1.7rc1 image.
this feature is not yet available in drone.io, which is a separate legacy codebase. There are plans to upgrade drone.io to use this open source codebase once we reach a stable release.

@anacrolix also forgot to add, if you want beta access to the new version of drone let me know. It is unlikely the legacy version will get updated in the short term as we focus instead on the complete upgrade. But I'm happy to get you setup on the new version.

That would be appreciated @bradrydzewski , I'll give it a try.

authors: anacrolix bradrydzewski

repo: drone/drone


text:
How to know some object returned from C++ is nullptr? In swift, it's "Some" and not nil

We are using swift to call objective c interface generated by djiini.
Some object returned in C++ are nullptr and it's correct.
But how can Swift know it's nullptr? It's actually "some" and raw point to some wrong address.
If I use "if object != nil" , it's always true.
How to resolve this issue?

I don't know enough swift to help, but Djinni should generate objective C headers with the correct nullable or nonnull annotations, which should allow them to be bridged to Swift smoothly.  If you're getting the wrong behavior, it may be a result of the bridging header.

authors: artwyman jacobjiangwei

repo: dropbox/djinni


text:
Update mypy typeshed of generated google/protobuf protos in python w/ mypy-protobuf output

Example file to update. There are several within the google/protobuf directory
https://github.com/python/typeshed/blob/master/third_party/2and3/google/protobuf/compiler/plugin_pb2.pyi
Currently, it's a smorgasbord of handwritten files and autogenerated-by-a-very-old-version-of-mypy-protobuf files
Ideally, we can check in a script which takes a version of protoc and a version of mypy-protobuf as input and will autogenerate all the necessary files - making this process repeatable.

This is done! See https://github.com/python/typeshed/pull/4850 and friends. Typeshed has a script which pulls in a version of protoc and a version of mypy-protobuf

repo: dropbox/mypy-protobuf


text:
feat: HTML src img

Copy the image specified by the src property in a img HTML tag:

In markdown files, this occurs frequently.
Thanks 🥳

I'm not sure about how frequently there is a html img tag in a markdown file and I need to mention it that is not really recommended to use it, there is markdown image links ![foo](bar.baz) as an option.
But who am I to disagree and it was an easy addition so with version 1.0.11, you can now set the option copyHtmlImgTag to true and copy and change the paths.
For more finer control addition options was added see use in the readme file.
Full supported example can be seen in tests\typedoc-plugins-example\src\module-1\README.md, see readme file debug part how to run it.

@droppedcode
Wonderful!
You quickly modified it!
Thanks!
It's standard practice to use  rather than [...](path/o/image) if you want to align or set the width and height:

align: https://gist.github.com/DavidWells/7d2e0e1bc78f4ac59a123ddf8b74932d
width and height: https://github.com/MichalLytek/type-graphql

authors: carlocorradini droppedcode

repo: droppedcode/typedoc-plugin-copy-assets


text:
Add imports in the example code blocks of the documentation

As a developer I would like to explicit be able to see the imports of the code example, often I need to search for the package of a specific class that is in the example.
What do you think about it?

That sounds great, would you mind submitting a pull request on the pages that need clarifying?

The time has passed and I already don't remember exactly in which page was the issue, so I am closing the issue.
Thanks, in the next one I will also doc which exactly is the page in order to remember and submit the fix

authors: jplock vitorreis

repo: dropwizard/dropwizard


text:
Update jackson.version to 2.9.10 to address CVE-2019-14540 & CVE-2019-16335

Update jackson.version in dropwizard-bom from 2.9.9.20190807 to 2.9.10
This addresses two CVE, both with CVSS v3.1 score of 9.8

CVE-2019-14540
CVE-2019-16335

The update should be done for both release/1.3.x branch and for master (2.0.x)

Thanks!

Any idea how long it'll be before a release would go out with this?
Our CI builds break (debatable whether they should) because of the CVE severity score of this one.

@jplock. any idea of a release date for 1.3.15?

@richmidwinter @msymons We're currently blocked by some flakey behavior of Sonatype OSS when trying to deploy artifacts. Once these issues have been resolved, we'll publish Dropwizard 1.3.15.

@richmidwinter @msymons Dropwizard 1.3.15 should hit Maven Central within the hour.

authors: joschi jplock msymons richmidwinter


text:
Added null check to prevent NullPointerException when connecting to rabb...

I have added a null check in the connect() method of com.codahale.metrics.graphite.GraphiteRabbitMQ.java which prevents the method to fail with NullPointerException

Have you experienced a null pointer exception? If so, could you send me the stack trace?

Hi Ryan, please ignore my pull request.  My mistake, I've had this fix in mind for a while but I forgot that I already fixed this long ago! I just didn't noticed that the null check had been moved in isConnected() method.
Sorry for my wrong pull request

No problem!

authors: massimo-parente ryantenney

repo: dropwizard/metrics


text:
Add xz support to import-db, import-files, maybe export-db

Is your feature request related to a problem? Please describe.
xz is a very good compressor, which is being used more and more everyday. The linux kernel project releases in xz, by default, for example.
Describe the solution you'd like
Include support of xz compressed files for the commands 'import-db' and 'import-files'.
Describe alternatives you've considered
Currently gzip and tar are supported, so these can be used.
Additional context
So ideally I could import-db files compressed with xz (*.sql.xz) and import-files also compressed with xz (tar.xz).

For mysql, you should know that the mysq,, export-db and import-db commands accept stdin/stdout, so it's super easy to do the traditional thing:
xz -dc file.sql.xz | ddev mysql db
xz -dc file.sql.xz | ddev import-db
ddev export-db --gzip=false | xz >db.sql.xz
ddev exec mysqldump db | xz >db.sql.xz

However, I can see how this would be really great for import-db, if you use xz for compression and get the tarball down. Just recognizing .xz out of the box would be really nice.

I imagine we can do this someday, but in a year of the issue being open there hasn't been a "me too" added here. Happy to reopen in the future.

authors: agviu rfay

repo: drud/ddev


text:
Subdomain, Local DNS support: Don't require hosts file manipulation

This is a stub.

Here some links how we do it at amazee.io:
Basically we create a dnsmasq container that listens on port 53 on the host that just returns 127.0.0.1 for any request with the domain *.docker.amazee.io:
https://github.com/amazeeio/cachalot/blob/master/cli/amazeeio_cachalot/dnsmasq.rb
OS X has resolv.conf settings per domain, so we just set one for docker.amazee.io that then defines a nameserver to be 127.0.0.0:53:
https://github.com/amazeeio/cachalot/blob/master/cli/amazeeio_cachalot/resolver.rb
Linux has no nameservers per domain, so we just add ourselves to the /etc/resolv.conf, our nameserver will not return any requests other than docker.amazee.io so the system will just use the next nameserver in line, which is the one defined via DHCP
https://github.com/amazeeio/pygmy/blob/master/lib/pygmy/resolv.rb#L46
on the haproxy side, we have not a full matching to the incoming domain, but match also subdomains:
https://github.com/amazeeio/docker-haproxy/blob/master/haproxy.tmpl#L40
so far this works very well, sometimes it's a bit tricky on Linux as other systems also change the /etc/resolv.conf but restarting pygmy and with that checking the resolv.conf contents usually fixes that.

The problem with dnsmasq and all similar solutions is that it requires intervention with the workstation of the user, and in fact reconfigures their system. Most users don't appreciate things that do that, and there are almost always unanticipated consequences, and support issues we don't want or need.
I strongly recommend that we move to a legitimate domain name (like local.drud.com ?) and use wildcard DNS there.  That would make it so that any user connected to the internet would immediately have a working DNS lookup and no hosts file manipulation would be required. This approach is outlined in https://github.com/drud/ddev/issues/175. When users did not have DNS (traveling or otherwise disconnected) the traditional hosts file manipulation could be done.

I strongly recommend that we move to a legitimate resolvable domain name (like local.drud.com ?) and use wildcard DNS there.
and how do you know the IP that should be resolved to? Just assume that it is localhost always?

Yes, it would resolve to 127.0.0.1, so in the example, *.local.drud.com would resolve to 127.0.0.1

then I would suggest to use nip.io and not invent something new :)

the only problem: what if the docker host is not running on localhost?

I love the idea of nip.io (and never ever knew about it, thanks!), but

it's complex for people, it has great wildcard mapping, but you have to understand what an IP address is to use it.
It's under somebody else's control and maintenance, so could go away in a moment (or malfunction) and we'd have absolutely no recourse.

As far as docker host not running on localhost: We only support (currently) docker-for-mac and docker-for-windows, which are innately on the same machine. Linux could conceivably bite us, but we really don't have any plans to do anything more exotic than a local docker server. (I did originally test older docker versions for Windows, and was able to make them work, but we didn't ever see a need to support docker-machine and friends.)

but you have to understand what an IP address is to use it.

why? we assume it's 127.0.0.1 anyway always?

It's under somebody else's control and maintenance, so could go away in a moment (or malfunction) and we'd have absolutely no recourse.

correct, but do you feel ready to create a DNS infrastructure that can handle *.local.drud.com, what do you do if other people decide to use that? Running DNS is not thaaat easy.
the best would probably be https://tools.ietf.org/html/draft-west-let-localhost-be-localhost-06 but this will take a bit.

zip.io only returns 127.0.0.1 if you use *.127.0.0.1.zip.io, as I read it. That means people need to use a long hostname, and it has funny numbers in it.
I was just talking about creating a wildcard record on our DNS for drud.com (or another domain). Not setting any infrastructure up.

Responding to "let localhost be localhost", thanks for that link. AFAICT, that's about the localhost names (localhost, .localhost, etc).  We're not using those anywhere or in any way, just the reserved address 127.0.0.1.  Maybe I misunderstood your intent with that.

I was just talking about creating a wildcard record on our DNS for drud.com (or another domain).

I think a wildcard itself will not be enough, you would need an ORIGIN directive so foo.bar.local.drud.com will also be resolved.

Not setting any infrastructure up.

Just saying, having thousand of users all over the world using .local.drud.com will put a tiny bit load on your DNS servers :), that's for example the problem with xip.io which struggled over time quite hard with too many requests and with that made people very sad because suddenly their local development environment did not work anymore.

Along with https://github.com/drud/ddev/issues/415, I think we may need to get on a call with all 3 of us because this doesn't feel like we're in sync and this might just be a quicker item to resolve with additional clarity.

@rickmanelius see doodle.com/schnitzel and send me a meeting request, I'm in Austin (central time) currently.

We met and now have a clear and agreed upon path to actionability. Summarizing:

The default behavior will be a valid, wildcard domain (i.e. *.ddev.site, which we just purchased) that is powered by a scalable nameserver (i.e. Route 53) that effectively points back to 127.0.0.1.
The fallback behavior (when access to the internet is disabled or prohibited) will be a prompting the end-user for the permission to modify /etc/hosts.

We're now using the official Drupal 8 release here https://github.com/drud/ddev/pull/503. We probably want to start doing the same for WordPress and Drupal 7.

An additional need for this:

[ ] Properly configure *.ddev.site with the appropriate records on Route 53.

Updated issue summary and acceptance criteria.

As discussed at stand-up today. @tannerjfco feel free to reach out to @cyberswat if you don't already have access to the credentials for the domain registrar and also feel free to use the nameservers that are provided if there isn't a stated max cap of lookups/month.

Confirmed that the DNS records are set up. See https://www.ultratools.com/tools/dnsLookupResult and test for ddev.site.

The fallback behavior (when access to the internet is disabled or prohibited) will be a prompting the end-user for the permission to modify /etc/hosts.

Giving this a bit of thought, I don't think this will be sufficient fallback behavior. Catching this on start would only allow a newly started site to work offline. We would then have that hosts entry persisting unless we did further checks for connectivity and removed if found. Sites already running would not get a hosts entry unless the user took action, either adding to hosts or re-running start.
What I think we should do instead is provide an explicit offline mode. The behavior I'm thinking of would be:

ddev offline enable sets a file for determining offline mode, and prompts to add domains of any running sites to hosts
any ddev start commands would perform the necessary hosts file modifications as is done currently
ddev offline disable prompts to clean up all ddev.site urls from hosts file, and removes the file for determining offline mode.

I think this makes for a better way to handle offline, as the user can explicitly tell ddev when it shouldn't bother with a connection, and when they're back in the clear. It also has the added benefit of keeping the hosts-file approach available for those that prefer it over the remote DNS.

I think this is a valuable line of thinking.
I don't think we need to remove hosts file entries, might as well leave them there.
How about ddev offline enable just auditing the hosts file for missing entries of running sites and adding, and setting a toggle that says ddev start should create entries?

There was a significant conversation in slack, with @beeradb expressing significant concerns with this. It started with Brad's concern and went on for a longer conversation

Anyway, did not mean to ignore the replies to my previous comment for so long. Perhaps supporting both methods would be acceptable. I’m not sure. I still feel like that is missing a step though. Right now we’re opening PRs to significantly change existing behavior in ddev, and if a problem statement for what is wrong with the existing behavior exists, I haven’t seen it. I get that there seems to be some momentum for changing this due to outside forces, but it’s a bit of a point of frustration for me that despite repeatedly asking, no one has made the case for what exactly the problems with the existing system are, and how the state of things will be improved by moving to the system we apparently are moving to.

First of all, sorry for letting my frustration be shown there. I shouldn’t have. Secondly, on the actual issue…

What I do understand is that it doesn’t work well on windows.

Are those problems insurmountable? Both goodhosts (what we’re using) and other similar packages for golang claim windows support.

As a followup, does it make sense to change this behavior across the board, when it’s working fine on other platforms? The online/offline command seems a bit weird to me. If it’s just not possible to make windows work, it would seem like maybe we should leave the behavior as-is but also add the DNS related lookup as a fallback, and then just document that working offline on windows will require host file manipulation?

and 3. have we considered implications here for upgrade paths? Particularly in wordpress where I believe we write a settings file with the URL?

@rickmanelius I think it's important for you to know about these reservations and didn't want you to miss this conversation.
I personally am pretty sure that name resolution via DNS is still better for most average users, and have always been uncomfortable with making major changes to the user's system (/etc/hosts), especially changes that require admin privs. But Brad's reservations should be explored a bit more, and as he points out, a clearer problem statement should be made in the OP here.

Hey @rfay. Thanks for capturing/memorializing this. I'll have to digest/respond Monday or Tuesday when I'm back in the office.

Hi @Schnitzel. One question that appeared in my earlier notes and that I wanted to make sure we captured from both a motivation as well as testing perspective was situations where a user was connected to a VPN. While I realize this may be a naive question, I'm curious how a public DNS record at *.ddev.site pointing back to 127.0.0.1 would support that use case. Any information you can provide would be helpful.

Issue background and internal discussions
As @rfay pointed out, I did have some significant concerns about this feature as currently proposed. We discussed these concerns internally today, and I'll attempt to summarize that conversation here.
First, let's start with motivations for making a change to this components.

The current hosts file modification does not work on Windows. We aren't currently aware of a method for privilege escalation that reliably works on Windows. There was full consensus that first class Windows support is a significant priority, and this needs to be resolved. Regardless of whether we move to external DNS or not, we're still talking about keeping the hosts file modification we currently have in place to support "offline" mode. As such, we've opened #511 to look into options for supporting this method on windows.
The desire to support alternative workflows. This includes avoiding local modifications such as /etc/hosts & supporting multiple domains.

My biggest concern with the changes described here, is that for the 95% of our user base that is on OSX or Linux the change would make things less reliable. So much so that we're discussing adding additional commands (ddev offline enable & ddev offline enable) to work around the instability. We’re turning a mostly offline tool into a completely online tool. At present, the only time you ever need connectivity in ddev is to download containers. This tends is done the very first time you start a ddev site and then never again (unless we update ddev or you change container versions, a relatively rare event). I feel this change would negatively effect people who regularly work away from home on planes, at conferences, on public transit, or even coffee shops. All of those are places where network connectivity can be sporadic or non-existent. Although fixing Windows and adding support for alternative workflows is a great goal, I feel strongly that we should not do so at the expense of the majority of users for which the current hosts modification works without issue.
That's a long-winded explanation of our thought process here, but I think it's important to capture to understand where our discussions have been on this issue and provide some background on the suggested fix.
Suggested Fix

Leave the default behavior alone. This behavior has been stable for the majority of our userbase, and although there are some valid concerns about privilege escalation, the one-time prompt for hosts file modification is worth the extra stability of not requiring a network connection.

Add a user-configurable "hostname" field to site configuration. For the sake of simplicity, this won't be exposed in the interactive config prompts but will be available as a key in config.yaml. This field will be a complete hostname including TLD and should allow for multiple values to support domain access or other use-cases that might require multiple hostnames.

We add a user-configurable "modifyhosts" field to site configuration which defaults to true. This won't be exposed in the interactive config prompts. If set to false, when starting a ddev site we will not attempt to modify the systems hosts file.

The combination of bullet points #2 and #3 will allow power users or people with alternative workflows to use alternative domains (such as *.docker.amazee.io, or *.127.0.0.1.xip.io) while maintaining the simplicity and stability of the current hosts file method for the majority of our users.

Leave the default behavior alone.

I can live with this, but I'm not excited for the default behavior to still be something awkward for Windows users. I also have to wonder if we're overplaying the offline concern. Personally, I've had little to no success working fully offline. There's always something to look up, download, etc that simply makes it difficult to work offline. ddev should definitely be able to work without a network connection, but is it so critical that it be the default behavior?

Add a user-configurable "hostname" field to site configuration.

I think this is a great idea. I actually think we should prompt for it though. Prompting, we can suggest the default sitename.ddev.local, and establish early an expectation for the user what the site URL will be. There are probably cases where you want a hostname totally different from the checkout name or configured site name, so it'd be great for that too. If we don't prompt for hostname, we have to document the configuration value somewhere and people have to discover it in docs in order to use it. I don't think that's really a simpler path than prompting, at least for this case.

We add a user-configurable "modifyhosts" field to site configuration which defaults to true.

I'm on board with the idea, but I'm not sure on the execution. It seems likely to me that a user's preference on this is going to be pretty consistent, which makes me think this should be a global configuration. Perhaps a flag is another option to consider, or perhaps both - a global config that can be set and then overridden as needed by flag. It just seems weird to expect this to be configured per-site in shareable configuration.

@rickmanelius This is important and we've dropped it and lost the PR because it got old. We need to get it prioritized again.

Related: https://github.com/drud/ddev/issues/565

One thing not to forget is that @cweagans pointed out (somewhere) that it's not totally legit to have a non-routable IP address in a DNS lookup, so some systems will refuse to resolve.

All the more reason the default to local while requiring users to consciously opt for public. This will also reduce support requests for these edge cases.

@rickmanelius I'd disagree with your assertion "default to local while requiring users to consciously opt for public"; I'm pretty sure we can work around that problem successfully.

@rfay. On the last comment, I may not have all the information or I may not be interpreting it correctly (only human and certainly willing to admit mistakes!). Either way, I’m confident we will make headway when we connect on Monday and we can unblock this while addressing work arounds/options.

Thanks, again, for everyone's patience on this one. We've had a few additional conversations to discuss the pros and cons of the different approaches we can take. Ultimately, I think it's important that we address the use cases brought about by this request because it keeps coming up. Practically, a public wildcard DNS entry is a much more elegant solution than adding an arbitrary number of entries on the fly to /etc/host.
Important to note, nothing about what we are discussing permanently locks us in. Therefore, I would like to take a pragmatic approach in enabling this feature without over architecting this until we see what feedback we get.
Finally, I fully appreciate the need to still make offline mode (with an entry in /etc/host) a workable solution. There are situations where defaulting to public DNS can result in frustration if internet access drops without an /etc/host entry. To that end, we need to properly detect and add host entries when a connection times out. Note that once an entry has been added, the ability to toggle via a flag is irrelevant unless we had an easy way to remove it. And the constant read/writes with sudo prompts would be obnoxious.
To that end, let's default to a public DNS entry for *.ddev.site as we had in our prvious PR. However, let's modify the behavior to not require a project or global configuration toggle. Instead, let's perform a timeboxed DNS lookup (say 5 seconds)? If that doesn't resolve, then we trigger a sudo request for an /etc/host modification. We can perform that check at ddev start.
We'll get the AC on this issue updated and then we'll consider this actionable. Thanks!

is there any workaround for now? because for us it is necessary to have this feature.

@beathorst to help us prioritize, can you please say why it is necessary for you to have the DNS vs /etc/hosts feature?  For most people it's just an annoyance that it requires /etc/hosts to be manipulated.

@rfay thanx for your fast answer.
well it is necessary because for us it is a showstopper to use ddev for the hole company.
I would like to use it and get ride of our vagrant boxes but we have a lot of TYPO3 projects with lots of sites in one installation. Every site needs its own (sub)domain. Otherwise it is only possible to reach one of the sites inside the typo3 installation

sorry you are right it is #620 what helps me

I suspect we're going to never do this. We're all used to the /etc/hosts manipulation, and people like it working offline. The only think we really have to do is provide a tool that will make it easier for Windows users.

We're all used to the /etc/hosts manipulation

and to handle subdomains we tell people to just create the subdomains in config.yml?

You can already do subdomains easily (they're simulated subdomains, but work fine). See the docs about additional_hostnames which gives exactly this example (subdomains for multiple languages).  You can go to any level in the dotted hostnames there; they're certainly not DNS subdomains, but they behave the same from a name resolution perspective.

So I think there is now a bit confusion, there is
@rfay saying:

I suspect we're going to never do this.

and @rickmanelius saying:

To that end, let's default to a public DNS entry for *.ddev.site as we had in our prvious PR.

Can we get some clarity on this?
From my side, I'm fine with not having a publich DNS and relying on /etc/hosts if:

it is completely transparent to the developer and they don't need to enter their sudo password all the time
ddev allows that/etc/hosts can still be managed by other tools like GasMask on OSX side-by-side what ddev does
we allow for subdomains to work as well (was already confirmed by https://github.com/drud/ddev/issues/416#issuecomment-381697466)

@wizonesolutions points out this article on not using .local - https://miketelahun.wordpress.com/2012/09/16/stop-using-local-as-the-top-level-domain-for-your-lan/

May I suggest an alternative approach, which I used for the drupaltrainingday event (in dutch, sorry):

Serve a proxy auto configuration file from the ddev router
Populate it like this so it configures the browser to use the ddev router ip and port for all ddev managed domains.
Provide per browser instruction on how to configure this (3 steps max). (permanent)
OR: start a Chrome/Chromium browser with the --proxy-pac-url commandline option (one time)

This will avoid hostfile mods, doesn't require any elevated permissions and would allow the use of any domain without adding any services or overhead.

While we didn't quite get to a public DNS lookup first before modifying /etc/hosts, we do have FQDN support, which allows both the change of naming convention as well as the ability to use public DNS records that point back. To that end, I'm suggesting we close this thread. Conversations regarding switching the default TLD pattern was discussed here and can be re-opened. The desire to default to public DNS with /etc/hosts as a fallback is still on the table, but I'm wondering if the FQDN support already makes enough inroads towards this.

Actually, in re-reading my notes I think I vote to keep this open because we still want to address the change from *.ddev.local to *.ddev.site, which would be a prerequisite to switching out the default behavior if we proceed.

From https://letsencrypt.org/docs/certificates-for-localhost/

You might be tempted to work around these limitations by setting up a domain name in the global DNS that happens to resolve to 127.0.0.1 (for instance, localhost.example.com), getting a certificate for that domain name, shipping that certificate and corresponding private key with your native app, and telling your web app to communicate with https://localhost.example.com:8000/ instead of http://127.0.0.1:8000/. Don’t do this. It will put your users at risk, and your certificate may get revoked.

Now that we have mkcert for trusted local https, it's not important to have a "real" certificate. That means we have plenty of flexibility here.
A simple option is to

Make the ddev domain configurable (use ddev.site instead of ddev.local, allow transition on this)
CNAME *.ddev.site to a name like "ddev.hostsfile".
ddev.hostsfile is in local /etc/hosts, placed there by ddev, pointing to 127.0.0.1 (or correct IP on docker toolbox)
Look up name before acting on the /etc/hosts. If it resolves, go with it.

authors: Schnitzel SqyD beathorst beeradb cweagans rfay rickmanelius tannerjfco


text:
segmentMetadata query: add flag to indicate dimension or metric

Talked with @fjy over IRC and open an issue below:
Currently segmentMetadata query returns all dimension and metrics at the same time, it would be good to able to distinguish which is dimension and which is metric, adding a flag would help. Adding the flag to the query parameter is even better.
Like:
"signin": { "type" : "STRING", "size" : 100000, "cardinality" : 1944, flag: "dimension"},
"count": { "type" : "STRING", "size" : 100000, "cardinality" : 1944, flag: "metric"}

It does not have to be named "flag".

Not necessarily. Sometime fields like size, length etc are treated as dimensions, depending on the use case.
@fjy I am starting up with druid. I would like to take this up as my first piece.

@akshaygoyal Cool! Did you already have some ideas about how it could be done or did you want some guidance?

Following is what i am planning to do
1: Enum ColumnType {
DIMENSION,
METRIC
}
parallel to enum ValueType.
2: Identifying column type using availableDimensions and availableMetrics collections in storageAdaptor.
3: getColumnType() as new capability in ColumnCapabilities
4: Required changes around ColumnAnalysis, SegmentAnalyzer and SegmentMetadataQueryRunnerFactory
The final response json would look like
"signin": { "type" : "STRING", "size" : 100000, "cardinality" : 1944, columnType: "dimension"},
"count": { "type" : "STRING", "size" : 100000, "cardinality" : 1944, columnType: "metric"}
@fjy let me know if this seems right or if I missed something or if there is a better way of doing it.
Thanks in advance for your guidance.

StorageAdapter already has an api with name getColumnTypeName() for the 'type' field.
Need to think of some other name for it instead of ColumnType. 'FieldType' or 'ColumnCategory' maybe.

authors: akshaygoyal fjy realfun

repo: druid-io/druid


text:
Infinite loop re-opening auth tabs after failure.

Describe the bug
Suddenly my browser started opening tabs in a loop, trying to authenticate with spotify. It kept doing this until I killed explorer.exe. Then when restarting, it kept doing it, so I disabled spotify as a source and it stopped.
Nothing has nor had changed about my API key, and after a few days I've enabled it again, and it opened up a tab quickly and authenticated, that's it.
To Reproduce
Not sure how to repro, it seems that if the spotify auth service is down, it will get stuck in a loop.
Expected behavior
A limited amount of tries to authenticate. An awareness of the app of recent auth attempts?
At least it should not infinitely retry, or assume spotify api is up 100%.
I was at about 60 new open tabs I think, Imagine what would've happened if I were gone for the day, or just an hour of shopping... 10000 tabs :D
Version Info

Windows version 10
AudioBand Version 0.9.4

Possibly the fact this is calling Authorize which itself can possibly call RefreshAccessToken again (I think?), not sure, but the loop seems to be in there.

I have now also hit this issue.
Extract from log;
2020-05-13 12:00:20.6921|DEBUG|AudioSource(Spotify)|Getting new access token
2020-05-13 12:00:20.8010|DEBUG|AudioSource(Spotify)|Received new access token. Expires in: 01:00:00 (At 13/05/2020 1:00:20 PM)
2020-05-13 13:00:21.5849|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired
2020-05-13 13:00:21.5849|DEBUG|AudioSource(Spotify)|Getting new access token
2020-05-13 13:00:21.6987|DEBUG|AudioSource(Spotify)|Received new access token. Expires in: 01:00:00 (At 13/05/2020 2:00:21 PM)
2020-05-13 14:00:23.0858|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired
2020-05-13 14:00:23.0858|DEBUG|AudioSource(Spotify)|Getting new access token
2020-05-13 14:00:23.1879|WARN|AudioSource(Spotify)|Error getting new token. Requesting new refresh token. Error: server_error|
2020-05-13 14:00:23.2109|DEBUG|AudioBand.UI.AudioSourceSettingKeyValue|Starting edit
2020-05-13 14:00:23.2197|DEBUG|AudioBand.UI.AudioSourceSettingsCollectionViewModel|Starting edit
2020-05-13 14:00:23.2417|DEBUG|AudioSource(Spotify)|Connecting to spotify
2020-05-13 14:00:24.1026|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired
2020-05-13 14:00:24.1026|DEBUG|AudioSource(Spotify)|Getting new access token
2020-05-13 14:00:24.1597|WARN|AudioSource(Spotify)|Error getting new token. Requesting new refresh token. Error: invalid_request|refresh_token must be supplied
2020-05-13 14:00:24.1597|DEBUG|AudioSource(Spotify)|Connecting to spotify
2020-05-13 14:00:25.4317|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired
2020-05-13 14:00:25.4317|DEBUG|AudioSource(Spotify)|Getting new access token
2020-05-13 14:00:25.5079|WARN|AudioSource(Spotify)|Error getting new token. Requesting new refresh token. Error: invalid_request|refresh_token must be supplied
2020-05-13 14:00:25.5079|DEBUG|AudioSource(Spotify)|Connecting to spotify
2020-05-13 14:00:26.9776|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired

This caused around 200 tabs to open while troubleshooting the potential cause. For someone with only one monitor this could be near impossible to troubleshoot as the opening of the new tab brings the internet browser to the foreground.
This check appeared to have no minimal retry timer.

Same setup and issue here.  If I wasn't connected to an external monitor, it would have been absolutely impossible to deal with.
Had to kill explorer.exe to get things back.
To resolve, I manually restored a single tab from firefox, logged into spotify, and then restarted the audioband toolbar.  It immediately opened up a new auth tab but automatically logged in and didn't open new ones.

Same here, it appears from time to time.
Yesterday I was not in front of my computer, it opens 2000+ tabs on my browser... I disabled AudioBand on my two computers since.
It seems to be not maintained anymore...

Wow this is really a brutal one, good thing I scrolled through the issues here while i was first installing it, i would've never survived this browser tab 'attack' without this thread. Going to look for another little program that does the same thing cause this is way too unpredictable.

@sibebleuze what about https://github.com/evilpro/Taskplay?

@sibebleuze what about https://github.com/evilpro/Taskplay?

@sibebleuze what about https://github.com/evilpro/Taskplay?

I was looking for something simple like this. Thanks @sibebleuze.

@sibebleuze what about https://github.com/evilpro/Taskplay?

I was looking for something simple like this. Thanks @sibebleuze.

@AlexByte it's simple, but maybe a little too simple, because those three buttons are built in to my keyboard already, thanks for the suggestion anyway, if you know something that displays song title and maybe even progress through the song, then let me know cause that's what i'm looking for

@AlexByte it's simple, but maybe a little too simple, because those three buttons are built in to my keyboard already, thanks for the suggestion anyway, if you know something that displays song title and maybe even progress through the song, then let me know cause that's what i'm looking for

what about making the taskbar transparent through the classic shell and putting the player behind?

what about making the taskbar transparent through the classic shell and putting the player behind?

I just had this issue randomly last night. I couldn't get the tabs to stop opening and had to restart my computer. Now it's not connecting to Spotify. I've tried resetting everything and it's just not working -- I must be missing something.. Which sucks because I really love having the mini player to see the song titles without having to open the spotify window back up..

I just had this issue randomly last night. I couldn't get the tabs to stop opening and had to restart my computer. Now it's not connecting to Spotify. I've tried resetting everything and it's just not working -- I must be missing something.. Which sucks because I really love having the mini player to see the song titles without having to open the spotify window back up..

Can you post your logs? To help pinpoint your issue.

Ok, i have been able to reproduce this issue.
This seems to happen when the refresh token becomes invalid. Either because it has expired or the user has revoked access.
The issue happens because the flows for authorization and refreshing is the same when they should really be separate.
More information on Spotifys page for developers if you are interested here: https://developer.spotify.com/documentation/general/guides/authorization-guide/
If i get time i will see if i can separate the flows, but i cant promise anything. I have implemented a safeguard for myself that limits the authorization requests to 5 for now, to make it easier to debug and work with. it's really crude for now and still fills the logfile until you disable Spotify as a Source, the true fix would be to separate the flows as mentioned above.

@kodbulten Do you have a code snippet for it, or a PR so we can see? So I can implement it for myself in the meantime.
It's probably around here? https://github.com/dsafa/audio-band/blob/master/src/SpotifyAudioSource/SpotifyAudioSource.cs#L657

This should fix the issue and add some nice retries to boot :)

authors: AlexByte BenDavidson90 Persnickitty RobBridgeman TrySpace brazan90 digitalentropy eltoncezar kodbulten sibebleuze

repo: dsafa/audio-band