Feature Request: single-post based template metabox

What
Give the possibility to change Fediverse output for every single post, and enrich hashtag/taxonomy choice.
Current behaviour
Activitypub -> settings -> template. You add ap_title ap_excerpt ap_content ap_hashtags ... parameters and this model works for every post you publish. But what if you want to customize single posts with custom content?
Hashtags: the ap_hashtags parameter picks up the "post_tag" taxonomy and there is no way to choose another one if available.
Requested behaviour:
Settings -> activitypub -> template has not to change. That is the standard model.
But, to the post editing window, add one "ActivityPub" dialog box (meta box?) where you can customize the parameters:

hashtags: choose preferred terms taxonomy. if current post does not have tags but "topics", let me choose the "topics" taxonomy to map as hashtags so the ap_hashtags code picks "topics" up.
message: it is pre-compiled with the settings given in the main activitypub settings page, but you could even add a custom text with custom hashtags if you want to, if you want to give a more engaging text in the activitypub message rather than it is in the excerpt.
For example JetPack has it, its metabox gives you a message field where you type what social networks will then see. Including MENTIONS.

Why
Putting hashtags and @-mentions in the excerpt (WordPress default excerpt) is not friendly for search engines and even for screen reader usage, especially if you are reading from a third-party app or from the home page. And as I tested, it does not work, using ap_excerpt activitypub ignores the tags and mentions I place there.
It is not necessary to tag everything for ActivityPub's hashtag reasons.
For example, in a post regarding HIV-related topics I could place the hashtag "#WorldAidsDay" or "#ZeroHivStigmaDay" related to a specific yearly event. It makes no sense to have a WordPress tag, or whatever taxonomy element, for something that goes into a WordPress post published once a year.
So, what I'd like to be able to do is decide for each post to customize what will be posted into federated platforms.
Hope it is clear, otherwise @pfefferle knows how and where to contact me.
How
No response

Thanks for the request @talksina 👋
This feels very much like we did it over the last years with cross-posting. We had to do it, because it was not possible to add real<EMAIL_ADDRESS>so that we had to cheat a bit with templates.
But with ActivityPub it is possible to re-use everything that WordPress-Core supports, so why should we reply on the templates instead of simply add tags (like they are meant to be), @-replies and images and the plugin tries to map it best possible to ActivityPub?!?
I would recommend you to have a look at the "WordPress Post-Format - Maps the WordPress Post-Format to the ActivityPub Object Type." setting? This tries to find the best possible mapping based on WordPress' Post-Format.
The idea with ActivityPub (that's at least my interpretation) is, to have posts as first class citizens of the Fediverse, without the need of templates. I would go even further and plan to remove the templating completely.
I am curious why you want to reply on templates instead of simply add all possible information to the post.

I'm afraid you misunderstood me - I wasn't talking about replies but about posts. I maybe don't understand something in activitypub?  No, I did not mean replying to a fediverse's post but customize the presentation message for each post - btw I'll try what happens with "WordPress format" in the plugin's setting, I didn't use that anyway, because I feared it could be ruined in other fedi platforms eventually.

I also mean posting, not replying :)

With "cross-posting" I meant posting to closed platforms like Twitter, Facebook, ...

Damn, so maybe I didn't really understand what you meant. I was wondering if it was possible to create a post so that the first block of text (I use Gutenberg) is the presentation that fediverse users will read. Generally I publish long stories and I wouldn't like my readers to have all thousands of characters in the post's content. My goal is "title -> presentation -> possible hashtags -> shortlink. Maybe my feature request is useless and I just need to read something into the documentation? But I don't find it -maybe it's in github wiki-?

I totally understand and agree to your needs, I simply think that templates are no longer state of the art and I am searching for alternative ways, that feel more like blogging!
Using WordPress' Post Formats, WordPress automatically uses the Excerpt instead of the Content for Articles, because the plugin assumes that the text might be longer. For Status, Aside, ... it still uses the full Content.
So maybe we need a max-chars value, to decide when to use the Excerpt and when the Content, to not only rely on Post-Formats!?!

I have changed the post format on ActivityPub's setting. But it seems not to work as you described (title -> excerpt -> hashtags -> link). It extracts the first lines of the post. Account<EMAIL_ADDRESS>If I set "note" as activitypub-object-format it seems to get the excerpts and stuff correctly.
I really would like to distribute the best as I can but I maybe have difficulties on understanding how I have to "train" p.lugin and posts.


tables of alarms/commands not needed?

i don't think it's necessary to have the tables. rather move the information to the specific sections describing each alarm/command

Perhaps. Currently I'm not sure how to format this in a good way. The current tables gives a gives a pretty good overview of all the available alarms/status/commands

then maybe have a simpler overview table with just the command code and a short description?

Perhaps we can omit the "Object (Optional)" column since it's not used to traffic signals. But the ObjectType column is still important since it affects which component-id to be used in the json message.

I've removed the "Object (Optional)" column from alarms, status and commands in the latest commit


Chore/linter formater packages

Codecov Report

Merging #262 (adcc4f5) into main (5471469) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #262      +/-   ##
==========================================
- Coverage   76.16%   76.13%   -0.03%
==========================================
  Files          45       45
  Lines        2828     2829       +1
  Branches      312      312
==========================================
  Hits         2154     2154
- Misses        674      675       +1

Impacted Files
Coverage Δ

packages/cli/src/utils/getConfig.ts
100.00% <100.00%> (ø)

packages/cli/src/utils/getPlugins.ts
85.00% <100.00%> (ø)

packages/cli/src/utils/importModule.ts
100.00% <100.00%> (ø)

...kages/core/src/managers/fileManager/FileManager.ts
93.70% <100.00%> (ø)

packages/core/src/managers/fileManager/utils.ts
45.50% <100.00%> (ø)

...s/core/src/managers/pluginManager/PluginManager.ts
90.65% <100.00%> (-0.02%)
:arrow_down:

packages/core/src/utils/read.ts
20.83% <100.00%> (ø)

packages/swagger-ts/src/builders/TypeBuilder.ts
94.38% <100.00%> (ø)

...es/swagger-ts/src/generators/OperationGenerator.ts
61.40% <100.00%> (+0.22%)
:arrow_up:

...ackages/swagger-ts/src/generators/TypeGenerator.ts
65.24% <100.00%> (+0.09%)
:arrow_up:

... and 2 more

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Can you share with us pretrained model ?

Hi,
Have a good day to you. I would like to seek your help for find pretrained model of H3DNet to testing purpose only.
Thank you very much.

Thank you for interested in our work!
Here is a link to scannet and sunrgbd models with corresponding log file.
https://drive.google.com/file/d/1WGAMrG3cyPkFRHPBdHgwhXfuKFLAQSCh/view?usp=sharing

thank you very much for your great work

Hi.
I would like to use the pretrained model of H3DNet too, but the shared link is no longer available.
Could you share it again, please?

@CocoRin5932 @giangdip2410 @yanghtr @GitBoSun @zaiweizhang same problem, can you share it again?


jQuery.noconflict should be removed from tests

choicefieldDirective and dropdownDirective specs contain jQuery noconflict.
This causes weird behavior together with live-dev, as in that case jQuery will be loaded as $. But when running ALL tests, $ is undefined.
So, it should be removed from specific tests, and either be removed entirely, or put in core.ts / base test file which is always run. I'd vote for removal, need to double check that that does not impact current tests, i.e. does jQuery still work without noconflict.

A quick search shows noconflict() is in just those two directive's specs. Assume this is something you'll address with them since they are yours @rolandoldengarm?
If so, fair to bug it & assign to you?

Yes please ):

Already submitted a PR :) https://github.com/ngOfficeUIFabric/ng-officeuifabric/pull/158


Gridcoin Network Traffic bug

Hi,
My gridcoin seems to stop working properly after 5-7 hours of staking.
The debug.log contains this when it's bugging :
10/27/17 04:32:12 UPnP Port Mapping successful.
10/27/17 04:52:14 UPnP Port Mapping successful.
10/27/17 05:12:16 UPnP Port Mapping successful.
10/27/17 05:32:18 UPnP Port Mapping successful.
10/27/17 05:52:20 UPnP Port Mapping successful.
If i have the gridcoin window on top I cannot tell it doesn't work but I won't have anymore reward and if i go in the network traffic i see this :

If I minimize gridcoin in systray after 5-7 hours I cannot right or left clic on the icon and I have to force close the software.
In both case the process seems working and takes around 2.5% of CPU.

I have the same behaviour on 3 different hardware configuration since July. So I have this bug before we were in V8.
Now I have this configuration : Win 10 x64 falls creator, last version of boinc.
debug.log

sounds like the current issues we been working toward fixing. whats your debug2.log say/?

Here's 2 new log files :
I put a new debug.log file and debug2.log
debug2.log
debug.zip

from your debug.log file i can see UPnP calls but i see no other network related activity which makes me come to the conclusion that the network thread deadlocked the UPnP calls could be people trying to connect to you,etc. @denravonska maybe that Potential deadlock fix for network thread is solved by this??

Hi,
Does it mean it's an known issue and you are working on it ?
I still have the issue.
Thanks

@Foggyx420 , the conclusion about network thread being dead-locked is probably right. But UPnP calls do not mean that people are truing to connect to you. UPnP thread (name?) is periodically renewing those UPnP mappings. It is not doing much else, so the network lock-up does not affect it.

So... what does it mean ? Is it a bug ? How can i give more information or what can i test to fix this issue ?


No statistics for attributes like Brine Circulation Pump

When opening the history to show the graph, it does not show history.

I would like to have for all attributes the historical informaiton so it can be shown in diagram as below

Do you receive this information from the actual API if you do a manual call? Otherwise it might be because the Eplucon API isn't working correctly at the moment (see https://github.com/koenhendriks/ha-eplucon/issues/6#issuecomment-2379971716)

Do you receive this information from the actual API if you do a manual call? Otherwise it might be because the Eplucon API isn't working correctly at the moment (see #6 (comment))

I receive it for all the other attributes as part of the integration. And i receive from the API using my multiscape setup

Do you receive this information from the actual API if you do a manual call? Otherwise it might be because the Eplucon API isn't working correctly at the moment (see #6 (comment))

I receive it for all the other attributes as part of the integration. And i receive from the API using my multiscape setup

I double checked it with postman. it returns currently 0.0 which is correct as it is not running at this moment.
 "sg4": "",             "warmwater": 0,             "brine_circulation_pump": "0.0",             "production_circulation_pump": "0.0",             "act_vent_rpm": "0.0",             "alarm_active": false,

I've checked on the latest release and I can see the history data:

Please update to 1.3.0 and re-open this issue if you still encounter this.


Refactor emulator integration

Closes #242
Description
The extension will now scan for a local emulator to connect to, and will no longer host its own emulator.

For contributor use:

[ ] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[ ] Code follows the standards mentioned here
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

Left comments. Nice work. One more thing: could we remove the "All dependencies are installed" popup, I don't find it useful.

Another nice thing would be to detect running emulator outside the project, that can be detect when the error is returned:
execution error code 1009: [Error Code: 1009] error caused by: 1 error occurred:
	* transaction verification failed: [Error Code: 1006] invalid proposal key: public key 0 on account f8d6e0586b0a20c7 does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 0 on account f8d6e0586b0a20c7 does not have a valid signature: signature is not valid

More specifically this [Error Code: 1006] invalid proposal key: public key 0 on account f8d6e0586b0a20c7 does not have a valid signature almost always means you ran the emulator in the wrong place. Maybe extension can detect this and puts up a info saying something like "it looks like you are running the emulator outside of the project directory"


Resources View

I would like an eyelash to see the resources of my cities like that, that shows in another tab the buildings or the construction queues that are in progress (Or if there is or there is not)
Thank you very much for your attention

This is an issue report, not a suggestion page.


added avatar

👷 Deploy Preview for gladia processing.

Name
Link

🔨 Latest commit
caf52f506cd651c9701ddec27a3f641ca815e8aa

🔍 Latest deploy log
https://app.netlify.com/sites/gladia/deploys/672e44f090513a0008b6c17c


Prevent StackOverflowException caused by excessive 'or' via PatternMatcher

Fixes #10329
Context
Beside this fixes the java.lang.StackOverflowException described in #10329, it is probably also a slight optimization in the "good case" as it needs way less object instances.
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@snazy Could you fix the DCO check by signing off your commit?  We need this to accept the PR.
Could you create a unit test in PatternMatcherFactoryTest that would trigger the Stackoverflow?

Debugging the build that produces the SOE shows that it's triggered by more than 10000 patterns with the stack trace mentioned here.
@big-guy I've added a new unit test to trigger the SOE and also added a kinda-general unit test for org.gradle.api.internal.file.pattern.PatternMatcherFactory#getPatternsMatcher.
The new testNoStackOverflowForManyPatterns fails against vanilla 5.6 and passes with the fix.
Do you have plans for a 5.6.1 release, and could it include this PR?

@big-guy - could you explain why this is not a regression?
We have a project which compiles successfully in 5.4, upon upgrading to 5.6.2, it exhibits this behavior, it fails to compile. Based on my understanding of the issue, this will likely impact large projects, rendering 5.6 unusable.

@big-guy could you please respond here?
I just faced this issue on 5.6.2, dowgraded to 5.5.1 and it's fixed the issue. Indeed I have large project and it will force me to downgrade if fix won't be included in 5.6.x


"Face textures" option doesn't work as intended

When creating a large level in blender, sometimes it is impractical to assign a new Material for each different texture because you use so many different ones throughout the level.
For this case, blender has a material option called "Face Textures": http://www.homeofjones.de/temp/facetextures.png
When enabled, the texture is simply picked up from the UV assigned texture instead, which means that the Material itself has no texture assigned (or that assignment is simply ignored) but it shows up textured anyway as long as you chose a texture during UV mapping.
With this option, it is possible to use just one or a few materials while still having lots of textures which can save a lot of time because you don't need to create & assign a new material each time you want to use a different texture.

When exporting using blender's .OBJ exporter, this exports as intended. The exporter creates a new "sub material" for each different UV texture used together with a specific material, and assigns it the according texture.
However, YABEE doesn't seem to do this. While it doesn't hurt much for smaller models (like humanoids or small items), it is really bugging me for larger levels I create in blender. Any chance that support for this could be added?

I forgot, here is a model demonstrating the issue: http://www.homeofjones.de/temp/apartmentpacked.blend
(it is untextured in some part, but the inner rooms should be textured)
Export to .obj and open the resulting .mtl plain text file to see how it handles the materials and splits them up nicely per texture - that is the behavior that would be awesome to have in YABEE as well (which exports just a fully plain untextured thing as of now).

Oh, I really didn't know about this feature. I think I can add this in the few  nearest hours.

Ok, changes pushed, you can try it.

Wow just tested it, seems to work nicely :-) thanks a lot!


Added a short delay to AccessTokenCache.getToken() to avoid an async-busy-loop when sharing cache

Fixes: #30466, #28364.
Description
Added a short delay to AccessTokenCache.getToken() to avoid an async-busy-loop when the first thread to attempt the retrieval of a new token takes longer than usual and the cache is shared amongst many threads.
For more details follow this link.
All SDK Contribution checklist:

[X] The pull request does not introduce [breaking changes]
[X] CHANGELOG is updated for new features, bug fixes, or other significant changes.
[X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Cargo recompiles many of my crate's deps when my the case for my CWD changes on windows

cargo recompiles many of my crate's deps when I switch between cargo check in sublime and cargo build in cmd.exe, why?
Usually I have cargo watch -x run running in Cmder while coding in sublime and doing cargo check there. Until today, it was working fine, but now it always recompiles many of my crate's dependencies whenever I do cargo check in the editor, because cargo watch -x run has built it in the meantime, also with the deps which don't need to be built: it always recompiles them for both (from the shell and from the editor).
This is very frustrating because it's a huge project which takes a long time to compile, even with incremental compilation.
Btw, I tested it also with a cmd.exe spawned from sublime, and switching between that and the cmd.exe in Cmder. Same behavior. It always rebuilds when I switch shell and cargo build.
Btw, it only rebuilds direct deps that are in the combined Cargo.toml's of this workspace, not indirect deps, those are always still Fresh. Why would it rebuild all direct deps though?
This is with nightly 01-16 btw. It didn't happen before.
In the env I don't see any env vars that could cause cargo to recompile..
Why doesn't cargo build -vvvv print out more info about why it decides to rebuild those crates? (just "Compiling <crate>..")

I've noticed an interplay between RLS and cargo. RLS seems to run on nightly, while cargo was set to stable. Every time I saved a file in VS code, RLS would fire up and recompile my deps. Then I would call cargo run and again the thing compiles away many deps. After switching cargo to nightly (same as RLS) issue seems resolved. I guess they were overwriting each other's results. Could it be related?

@jocutajar there have been some recent bugs in RLS causing problems (see reddit thread, 803, 866, etc.).  Try the latest nightly and/or some of the workarounds listed in those issues.

I just scan read this issue (so apologise in advance), but how different is it to #3501?

I believe the diagnosis in https://github.com/rust-lang/cargo/issues/4961#issuecomment-359822411 is still applicable today and is different from https://github.com/rust-lang/cargo/issues/3501, although I think they're both issues!

Is this still an issue? Looks like the cargo code has changed considerably and been re-organised since this was raised.

I haven't seen this problem in a long while.

I'm not entirely sure from the description if this is the same issue, but I encounter something similar at least. This is with cargo 1.43.0 (2cbe9048e 2020-05-03) for raspberry pi. I have a binary built using both cargo build and cargo build --release. When I change a line of code no dependencies are recompiled. If I run cargo check, however, it starts recompiling all of my dependencies. I assume this is a one time thing, and then it'll be incremental for cargo check also, but since the pi zero runs on a slow single core processor this is quite the time consuming hump to overcome before saving time by not having to run the full compilation process. Why can't it just use the dependencies compiled by cargo build?

@hnrklssn I believe each of the check, build and build --release use different artifacts and can't utilize each other's artifacts.

Is this still an issue? Looks like the cargo code has changed considerably and been re-organised since this was raised.

It definitely still happens to me on multiple codbases when switching between --target=wasm32-unknown-unknown and using the host target.

It definitely still happens to me on multiple codebases when switching between --target=wasm32-unknown-unknown and using the host target.

It also happens to me in those cases, e.g. when switching between trunk serve and cargo check.

@Boscop and anyone else running into this issue when using trunk, could this be due to custom rustflags in your .cargo/config.toml that are only picked up by Cargo?

this is happening to me as well (trunk serve and cargo clippy) and I don't have any .cargo directory or any rustflags.
Any suggestion?

There are many reasons why a rebuild may be happening.  This is focusing on one specific case that was narrowed down to a change in the case for the CWD.
We first need a test for this case.  If it doesn't reproduce, great, let's merge it.  If it does reproduce then we can work on fixing it.  Most of the fingerprinting code lives at https://github.com/rust-lang/cargo/tree/master/src/cargo/core/compiler/fingerprint these days


datree: 0.14.87 -> 0.14.95

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/datreeio/datree/releases.
meta.description for datree is: "CLI tool to ensure K8s manifests and Helm charts follow best practices as well as your organization’s policies"
meta.homepage for datree is: "https://datree.io/"
meta.changelog for datree is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/gs8nw0k0qz5d4swdr3zpkgj41vplrwjv-datree-0.14.95/bin/datree passed the binary check.
1 of 1 passed binary check by having a zero exit code.
1 of 1 passed binary check by having the new version present in output.
found 0.14.95 with grep in /nix/store/gs8nw0k0qz5d4swdr3zpkgj41vplrwjv-datree-0.14.95
found 0.14.95 in filename of file in /nix/store/gs8nw0k0qz5d4swdr3zpkgj41vplrwjv-datree-0.14.95

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
datree
docbookrx

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gs8nw0k0qz5d4swdr3zpkgj41vplrwjv-datree-0.14.95 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A datree https://github.com/r-ryantm/nixpkgs/archive/52188ae1805cbd07ae005fb0a60c34f73d83043d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/gs8nw0k0qz5d4swdr3zpkgj41vplrwjv-datree-0.14.95
ls -la /nix/store/gs8nw0k0qz5d4swdr3zpkgj41vplrwjv-datree-0.14.95/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

datree

Maintainer pings
cc @jceb @kalbasit for testing.

Closing to let the bot resubmit with an updated version.


Unable to open an itms-service URL  using url_launcher with AWS link

Hello everyone! Hope someone has gone thru the same issue and can help me here:
I’m trying open a URL with the scheme itms-service using a AWS link  with manifest.plist link using url_launcher library but I’m getting an error:
Note: This is only iOS app
-canOpenURL: failed for URL: "itms-services://?action=download-manifest&url=https://app.com/build/manifest.plist" - error: "Invalid input URL"

I’ve tried encoding the url string but nothing seems to work: Uri(path: Uri.encodeFull(url));
I've also tried adding itms-service as a UrlScheme. (but honestly this should be a default scheme for iOS)

The point of it is to be able to force update the app if it  is on a lower version, this is currently only under an Enterprise certificate and not in the AppStore
Steps to Reproduce
 final uri = Uri(path: 'itms-services://?action=download-manifest&url=https://app.com/build/manifest.plist');
    if (await canLaunchUrl(uri)) {
      await launchUrl(uri);
    } else {
      throw 'Could not launch $url';
    }

Expected results:
Being able to open the link and download the app
Actual results:
Logs
-canOpenURL: failed for URL: "itms-services://?action=download-manifest&url=https://aws-link.com/build/manifest.plist" - error: "Invalid input URL"

Flutter Analyze
Analyzing opus_playlist_notifier...
No issues found! (ran in 15.5s)

Flutter Doctor
 fvm flutter doctor -v
[✓] Flutter (Channel stable, 3.3.2, on macOS 12.6 21G115 darwin-arm, locale en-CR)
    • Flutter version 3.3.2 on channel stable at /Users/keylinwu/fvm/versions/3.3.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e3c29ec00c (9 weeks ago), 2022-09-14 08:46:55 -0500
    • Engine revision a4ff2c53d8
    • Dart version 2.18.1
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/keylinwu/Library/Android/sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode 14.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.63.2)
    • VS Code at /Users/keylinwu/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.36.0

[✓] Connected device (3 available)
    • Keylin’s iPhone (mobile) • 00008110-001E4D293E86801E • ios            • iOS 16.1.1 20B101
    • macOS (desktop)          • macos                     • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)             • chrome                    • web-javascript • Google Chrome 107.0.5304.110
    ! Error: Keylin’s Apple Watch needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked. (code 1)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Please see https://pub.dev/packages/url_launcher#checking-supported-schemes for discussion of the platform limitations of canLaunchUrl. In your code sample it's not serving a useful purpose, and can simply be removed.
Your Uri construction is also not correct; a path is only part of a Uri. If you were trying to convert a single string to a Uri, the parse factory method is likely what you want to use.
Closing as this isn't a bug in the plugin.

Thank you so much! The parse was what was actually wrong :)


Clean up a couple places to replace verbose switch statements

These changes make the code slightly simpler, cleaner. Some other places in the code in this package use simple conditionals the way I wrote it here.

The central concern here is that this alters the model/pattern used for Format, as it is typically expected that while testing s.Flag, a fmt.Formater will test a number of different flags, and Go tends to prefer switch { case cond1: … ; case cond2: … ; default: … } (switch statements) over using if cond1 { … } else if cond2 { … } else { … } (if-else cascades).
And it is because s.Flag() can be checked for more flags than just '+'  that the switch is more appropriate here. c.f. https://golang.org/src/math/big/ftoa.go#L444
So, this is a “weird” corner-case where there is a confluence of a) Go prefers switch statements over if-else cascades, and b) despite only having at the moment one or two branches, the conditions being checked are actually if-else cascades, not just simple binary behavior.
“Simpler” and “cleaner” is not always shorter, one must also consider the semantics of the code when choosing the “best” syntax.

Agree with @puellanivis 100%. If the code looked like the if-else patterns I might suggest changing it to a switch actually.

Thank you but I prefer the code as is.


Replace flag name dashes with underscores

Similar semantics to kong.JSON.

That's done in the JSON package because it's idiomatic JSON. I don't think that's true for YAML, and this would be a backwards incompatible change.
(also apologies for the delay, I somehow missed this PR)

That's done in the JSON package because it's idiomatic JSON. I don't think that's true for YAML, and this would be a backwards incompatible change.
(also apologies for the delay, I somehow missed this PR)


Implicit conversion of $edit:command-duration to a string can be surprising

I was modifying my local framework for running Elvish unit tests on my primary system and VMs to include $edit:command-duration in the prompt. The cd command took ~27 ms but the comment took ~87 us which was rendered in an unexpected exponential notation:
0.00035112 elvish> cd ~/projects/3rd-party/elvish
0.026737887 elvish>
0.026737887 elvish>
0.026737887 elvish>
0.026737887 elvish> # ========================================
8.7326e-05 elvish>

Yes, I can modify my prompt to use printf to force a particular fixed floating point format (I've already made that change). This issue is to discuss whether the default representation should be a fixed format with nanosecond resolution. That is, the final value above would be printed  as 0.000087326. Similarly, the first value would include a trailing zero: 0.000351120. It seems to me that using the equivalent of printf '%.9f' when implicitly converting the duration to a string would be less confusing and more useful.

Obviously, my proposal assumes that sub-nanosecond durations will not become common. I think that is a) safe to assume, and b) even if such resolution does become commonplace its use in the string representation of $edit:command-duration is not going to be useful. Which leads me to suggest that the default string representation should have micro, or even millisecond, resolution rather than nanosecond resolution. I can't imagine a scenario where it is meaningful for an interactive prompt to display a command duration with more than millisecond (let alone microsecond) resolution without explicit formatting.

Meh. Closing since I've looked at how this might be implemented and don't think the added complexity is worth it. Better to keep the implementation simple. If the user, like me, wants something other than the default float64 string representation they can use printf.


Remove the VT52 cursor movement operations

Summary of the Pull Request
This removes support for the the VT52 cursor movement operations, in preparation for PR #3271, since the cursor back operation conflicts with the VT100 IND sequence, which we're planning to add. Eventually these ops will be brought back as part of a proper VT52 implementation, when appropriately activated by the DECANM mode.
References
#976 #3271
PR Checklist

[ ] Closes #xxx
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #3271

Detailed Description of the Pull Request / Additional comments
The operations were removed from the OutputStateMachineEngine, and their associated test cases were removed from StateMachineExternalTest. There is no real loss of functionality here, since these sequences were never valid as implemented.
Validation Steps Performed
I've just tested manually to confirm that the sequences no longer work.

:tada: Once again, thanks for the contribution!
This pull request was included in a set of conhost changes that was just
released with Windows Insider Build 19603.


feat(modeling): input array structure

This PR contains my suggestions for JSCAD v3 handling of input arrays. Some of these are breaking changes from V2. I tried to follow a couple principles:

Avoid throws unless the operation would be clearly invalid
Preserve input structure when possible, don't flatten unless we need to. This is nice for grouping objects, and also preserves information when composing operations.
Accept nested arrays anywhere a single geometry is accepted. So anywhere a user could pass a geometry, should also accept nested arrays of geometries.
Make choices that give users more control. If there's two choices for how we define an API, but one way gives users more flexibility, then do that. See align below.

Before this PR:

returns
Input arrays
Mix 2d 3d
Empty input
null/undefined
Invalid geom

Booleans, extrusions, hulls, offsets
Geometry
flatten
throw
[]
filtered
throw*

modifiers
Geometry[]
flatten
apply to each
[]
throw
throw*

transforms
Geometry[]
flatten
apply to each
return input
copy to output
throw*

*throws for obviously incorrect geometries, but will incorrectly flatten and return some things like [[1,2],[3,4]]
After this PR:

returns
Input arrays
Mix 2d 3d
Empty input
null/undefined
Invalid geom

Booleans, extrusions, hulls, offsets
Geometry
flatten
throw
[]
filtered
throw

modifiers
RecursiveArray
Preserve input structure
apply to each
return input
copy to output
throw

transforms
RecursiveArray
Preserve input structure
apply to each
return input
copy to output
throw

Nested Arrays as Groups
I suggest that we preserve nested arrays where it makes sense to do so. This information can be treated like “groups” in svg and other file formats. For operations which return a single geometry, like the booleans, we should still flatten before we apply the operation, but if it makes sense to do so, I propose that we preserve the recursive structure as much as possible.
null/undefined
I suggest that we filter out null-ish values when we do a flatten operation for booleans, and most operations. To make working with nested arrays easier, I added a new util function coalesce which combines flatten and filtering out nullish values.
export function coalesce<T>(arr: RecursiveArray<T>): Array<T>

Empty arrays
What if a user calls a boolean operation with an empty array, or an array which is empty when flattened? We have three options 1) throw error, but I would prefer not to do this 2) return geom2.create() or geom3.create(), but the problem is that we don’t actually know if it’s intended to be 2D or 3D. I propose that in this case we return undefined, which can be filtered out by other operations using coalesce.
Mix 2D/3D
If you call a boolean between a 2D and 3D geometry, it’s not clear what to return in that case, so we should throw if not all types are the same. However for transforms, and modifiers, it’s okay to mix 2D and 3D. I propose that we apply functions where it makes sense. If an object is nullish, or not a geometry, I suggest we simply map the object to itself and return it in the output. This makes the operation robust against unexpected inputs.
Alignment
One other suggestion is that I believe that align and center operations should respect groupings, and use them when aligning objects rather than flattening. See suggestion from @hjfreyer in #1249. The reason I like this change is that it gives more flexibility to users. In V2, inputs will be flattened regardless of the user's intent. Whereas with this change, users can align groups of objects. The previous behavior can be accessed by setting options.grouped = true.
Examples
const g3 = h3 = cube()
const g2 = h2 = square()

generalize({}, g3) => out3
generalize({}, g2, g3) => [out2, out3]
generalize({}, [[g2], g3]) => [[out2], out3]
generalize({}, []) => []

offset({}, g3) => out3
offset({}, g2, g3) => [out2, out3]
offset({}, [[g2], g3]) => [[out2], out3]
offset({}, []) => []

union(g3) => g3
union(g2) => g2
union(g2, null) => g2
union(g2, undefined) => g2
union([g2, undefined, null]) => g2
union(g3, h3) => out3
union(g2, h2) => out2
union([[g2], h2]) => out2
union(g2, g3) => throw “union arguments must be the same geometry type”
union([]) => undefined

scission(g3, h3) => [[g3a, g3b], h3]

All Submissions:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Does your submission pass tests?

@platypii sorry for the lack of a review. hopefully, i can play with the new style this weekend.

Just to add a bit more justification for this PR:
One of my goals is to improve things like SVG serialize/deserialize. I want to be able to convert SVG groups into nested sub-arrays of geometries. And then it would be really nice if information was not lost along the way. So for example: 1) Load geometry from SVG, 2) Apply transform, or extrude, or offset, or align, etc to the nested geometry, 3) Re-export to SVG while still preserving the nested group structure.
Currently that information is lost when any operation is applied to a design because arrays get flattened. This PR attempts to preserve that structure where possible.

@z3dev updated PR based on feedback, and added a few more tests to try and make things clearer. Thanks!


Special keywords are being highlighted after upgrading to nvm v0.10.0

So I have been using the theme flawlessly until I upgraded my nvim to v0.10.0. Now some of the special keywords are being highlighted. Did some investigation and came up with that could be related to the color scheme, could you help me on this case?
here is my snipped config;

and ss from the issue in the mention.

here is my init.lua file content;
vim.cmd("let g:netrw_liststyle = 3")

local opt = vim.opt

opt.swapfile = false
opt.backup = false
opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
opt.undofile = true
-- opt.termguicolors = true

-- Syntax highlighting on
vim.cmd("syntax on")

-- Set language
vim.cmd("language en_US")

-- Set terminal color support to 256 colors
-- vim.opt.t_Co = 256

-- Set encoding to UTF-8
vim.opt.encoding = "utf-8"

-- Disable error bells
vim.opt.errorbells = false

-- Show line numbers
vim.opt.number = true

-- Show relative line numbers
vim.opt.relativenumber = true

-- Enable auto-indentation
vim.opt.autoindent = true

-- Always show status line
vim.opt.laststatus = 2

-- Enable system clipboard integration
vim.opt.clipboard:append("unnamedplus")

-- Set tabstop, shiftwidth, and softtabstop
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.softtabstop = 4

-- Disable displaying invisible characters
vim.opt.list = false

-- Set fold level and method using treesitter
vim.opt.foldlevel = 20
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"

-- Enable copying indent from previous line
vim.opt.copyindent = true

-- Set diff options for vertical splits
vim.opt.diffopt:append("vertical")

-- Highlight column 80
vim.opt.colorcolumn = "80"

-- Show sign column
vim.opt.signcolumn = "yes"

-- Reduce command-line height
vim.opt.cmdheight = 1

-- Set leader key to Space
vim.g.mapleader = " "

-- Uncomment below to set highlight color
vim.cmd("highlight Search guibg=peru guifg=wheat")
vim.cmd("highlight CursorColumn guibg=#CCCCCC")

-- Uncomment below to define custom functions
-- Define the Rawecho function
function _G.Rawecho(str)
	local f = io.open("/dev/fd/2", "wb")
	if f then
		f:write(str)
		f:close()
	end
end

-- Define the OpenMarkdownPreview function
function _G.OpenMarkdownPreview(url)
	vim.fn.jobstart({ "firefox", "--new-window", url }, { detach = true })
end

-- Set the mkdp_browserfunc global variable to use the OpenMarkdownPreview function
vim.g.mkdp_browserfunc = "v:lua.OpenMarkdownPreview"

Thanks ❤

it looks like a terminal rendering issue, perhaps related to italicized text

While I don't use italic text from the terminal itself, also this is not the issue with other colorschemes.. still checking.

Seems like it was the italics in the code (while I am not even using it). Applying the workaround https://github.com/rebelot/kanagawa.nvim/issues/216#issue-2177944395 worked for me. Closing this.


How to move bookmarks?

If I have saved a bookmark, how can I move it to another folder later?

moving or copying links to folders isn't possible yet

I would also be interested in this feature. I just installed it, and if we can’t move or copy a link to another folder, I find that really unfortunate.

@franco27 it will be added soon :)

This has been implemented in the latest release v0.9.0: https://github.com/sakethpathike/Linkora/releases/tag/release-v0.9.0


Add "peg burn" layer to the print combinations

I can't reproduce this. It looks like all the print combinations have the peg burn layer.


Max length of string fields in influxdb

What is the maximum length of a string field in influxdb 0.11?

Hello @Madhu94,
We try to reserve GitHub Issues for actionable bug reports or feature requests. Please send general questions to the<EMAIL_ADDRESS>mailing list.
Thank you.


can't find the files under sherlock2.0

The singularity works under our sherlock1 system. However if we login to sherlock2.0, we can find the folder /oak and /scratch, but no file under these two folder.

I also tested this and got the same problem as Hongli.

okay so you are just missing the path to the image itself? Not the software? @preese has there been any change to the location of the image file?

The docs might not be up to date with where the final resting place of the container turned out to be. From @preese email:

A new version of the Relion Singularity container is ready for you to try out. It was loaded into Yiorgo's OAK space, as sbgrid_stanford-skiniotis--relion_20171026.img Vanessa updated the docs for how to use: https://github.com/singularityhub/sbgrid-singularity/tree/master/relion This has all the versions of Relion that the SBgrid distribution has.  Vanessa's docs list all of the other tools loaded.

Are you looking in "Yiorgio's Oak Space?"

Hi,
First, and sorry to add a level of complexity, for these type of
permission problems, it is better to send reports to the standard
address<EMAIL_ADDRESS>If you have problems with the Singularity image itself, then the github
process is the way to go to report problems.
Second, be sure everyone is using the correct path to the Singularity image:
/oak/stanford/groups/yiorgo/lana/Yan/sbgrid_stanford-skiniotis--relion_20171026.img
If the full path doesn't solve the problem, then it is likely that the
user isn't in Yiorogo's group and therefore can't go through the main
directory to get to the image.  Yiorgo can send a note to
<EMAIL_ADDRESS>requesting that a student be
added to his group and that should solve that issue.
Phil

We can find the omg file in
-rwxrwxrwx+ 1 xtyzhang yiorgo 13G Oct 30 17:25 /oak/stanford/groups/yiorgo/sbgrid_stanford-skiniotis--relion_20171026.img
Our problem is in sherlock2.0, after we get in the container, we will be under the folder /oak
and it's empty. We can't see any files under /oak. The same with folder /scratch.

We can find the img file in:
-rwxrwxrwx+ 1 xtyzhang yiorgo 13G Oct 30 17:25 /oak/stanford/groups/yiorgo/sbgrid_stanford-skiniotis--relion_20171026.img
Our problem is in sherlock2.0, after we get in the container, we will be under the folder /oak
and it's empty. We can't see any files under /oak. The same happens with folder /scratch.
In sherlock1, we do not have this issue.
Hongli
On 10/31/17, 3:11 PM, "Phil Reese"<EMAIL_ADDRESS>wrote:
Hi,

First, and sorry to add a level of complexity, for these type of
permission problems, it is better to send reports to the standard
address<EMAIL_ADDRESS>
If you have problems with the Singularity image itself, then the github
process is the way to go to report problems.

Second, be sure everyone is using the correct path to the Singularity image:
/oak/stanford/groups/yiorgo/lana/Yan/sbgrid_stanford-skiniotis--relion_20171026.img

If the full path doesn't solve the problem, then it is likely that the
user isn't in Yiorogo's group and therefore can't go through the main
directory to get to the image.  Yiorgo can send a note to
<EMAIL_ADDRESS>requesting that a student be
added to his group and that should solve that issue.

Phil

It looks like Phil's message got a little tangled in the reply from the email - I'll highlight in case you didn't see:

If the full path doesn't solve the problem, then it is likely that the
user isn't in Yiorogo's group and therefore can't go through the main
directory to get to the image.  Yiorgo can send a note to
<EMAIL_ADDRESS>requesting that a student be
added to his group and that should solve that issue.

Phil mentioned the path as
/oak/stanford/groups/yiorgo/lana/Yan/sbgrid_stanford-skiniotis--relion_20171026.img.
This path is under Yan's folder so Yan only can see it.
We found this image also under
/oak/stanford/groups/yiorgo/sbgrid_stanford-skiniotis--relion_20171026.img
I believe the problem is not about the person not being in Yiorgo's group, since I and Hongli are in Yiorgo's group and we cannot reach the files under /oak when we use Sherlock2 only after getting into singularity. We can reach the files under /oak when we are on Sherlock1 and we get into singularity. I believe somehow the permissions change when we use singularity in Sherlock2 but not in Sherlock1.

I'm not sure I can be of much help here - I think Phil will see the email and be able to respond. Thanks for your patience and sorry for the trouble!

hey @alburse @hhongli ! We had to fuss around with a few config settings, but you should be able to see /oak and /scratch when you use singularity 2.4 on sherlock 2. Could you give it another try?
$ module load singularity/2.4
$ which singularity
/share/software/user/open/singularity/2.4/bin/singularity
$ singularity --version
2.4-dist

$ singularity shell vsoch-hello-world-master.img
Singularity: Invoking an interactive shell within container...

Singularity vsoch-hello-world-master.img:~> ls /
bin   etc   lib64	media  net  proc     run      share	   sys	var
boot  home  lost+found	misc   oak  rawr.sh  sbin     singularity  tmp
dev   lib   lscratch	mnt    opt  root     scratch  srv	   usr

we have scratch and oak!

Hi @vsoch
Yes, I can see the files and folders under /oak and /scratch. Thanks

Great! Closing  issue.


DartAnalyzer stops working from time to time / autocompletion in IntelliJ fails

I know the subject sound weird but thats how it is. The IDEA Team is really helpful but I'm almost sure this is not their fault but it's a "Analyzer Server problem" https://youtrack.jetbrains.com/issue/WEB-18020
THIS REALLY DRIVES ME CRAZY
I know my project is big and has quite a few modules but Dart is almost 4 years old, I'm working with one of the best IDEs and at the moment it's like working with Notepad+syntax highlighting.
It costs me about one hour per day restarting the IDE, waiting for DartAnalyzer, restarting again, writing ISSUE-reports and so on. It's like being in a Beta-Program...

As you can see - no problem for cmdline dartanalyzer but the IDE is not even able to resolve the path!
It would be a workaround if Dart-Analysis-Server would start to rescan the current file but it does nothing. And there is no way to trigger the analysis!!!

Another point is that Analysis-Server doesn't cache anything - it always starts from zero. In my case it takes about 30 to 40mins until it has scanned my project.

I took the "turn it off / turn it on" approach and restarted the IDE. After a while autocompletion works again. Maybe I ran into this problem: https://youtrack.jetbrains.com/issue/WEB-18833 - don't know but as said - it's very frustrating at the moment to work with Dart/IntelliJ

According to the screenshot semantic highlighting works in the file on the right side. It means that you didn't have WEB-18833 problem, otherwise you'd have nothing at all working for the whole project (and no 'Dart Analysis' progress on startup).

@MikeMitterer What version of Dart are you on? 1.13 dev, right? Would you please include the full output of dart --version.
We've made some BIG fixes in the last couple of dev releases – 1.13.0-dev.7.5 and 1.13.0-dev.7.6

Dart VM version: 1.13.0-dev.7.6 (Fri Oct 30 15:14:38 2015) on "macos_x64"

What specifically does not work?
Code completion?
Can you name one more feature that suddenly stops working?
We need to have more information.
Dart Analysis Server has so named "instrumentation".
Let's see if it can provide any hints for us.
You can enable it in IDEA by following these steps:

Add  --instrumentation-log-file=/Users/scheglov/tmp/das_log.txt to the end.
Restart.

NB the file is really huge.
NB the file will include complete contents of all the file you edit. If you edit any source you don't want to make public do not attach the file to the issue. Send it directly to<EMAIL_ADDRESS>(me).

As I am aware of it's "just" code completion. Here it's almost 11pm. I'll send the log tomorrow. Thanks so far!

Mail is on the way to you - please keep me informed what you found out.

Unfortunately the logs are all after restart on IDEA, so we don't see the reason WHY it was started.
There must be an exception in DAS.
Could you please check the IDEA's Event Log?

I also noticed that DAS uses a lot of heap.
Unfortunately until the VM team (@johnmccutchan @iposva-google @rmacnak-google) fixes https://github.com/dart-lang/sdk/issues/24749 we're basically blind and cannot analyze heap problems we don't see on our computers.

OK, I've added #com.jetbrains.lang.dart.analyzer  to Help | Configure Debug Log Settings and restarted the IDE...

According to Mike's screenshot code completion is not the only thing that doesn't work for the file on the left side. Navigation to declaration doesn't work as well. I guess for each file either all or none DAS-driven features work.

@MikeMitterer Hey, I've got this issue as well. It used to drive me crazy as well. But now instead of restarting intellij, if you have the latest version of the plugin, you can click on the "Reanalyze sources" button in the analyzer tab. This will get your autocompletion + analyzing stuff to work again.
Hope this helps you

Tagging as an 1.13 candidate.

@MikeMitterer sent the log that shows the following exceptions.
DAS stops sending navigation and completion information after these exceptions.
Exceptions
Unexpected exception while performing ComputeConstantValueTask for element dynamic _BYTES_PER_WORD in
source /Users/mikemitterer/.pub-cache/hosted/pub.dartlang.org/crypto-0.9.0/lib/src/hash_utils.dart
#0 AnalysisTask._safelyPerform (package:analyzer/task/model.dart:320)
#1 AnalysisTask.perform (package:analyzer/task/model.dart:210)
#2 AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:271)
#3 AnalysisDriver.performAnalysisTask (package:analyzer/src/task/driver.dart:246)
#4 AnalysisContextImpl.performAnalysisTask. (package:analyzer/src/context/context.dart:1098)
#5 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:170)
#6 AnalysisContextImpl.performAnalysisTask (package:analyzer/src/context/context.dart:1096)
#7 PerformAnalysisOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:366)
#8 AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:793)
#9 Future.Future. (dart:async/future.dart:118)
#10 _rootRun (dart:async/zone.dart:903)
#11 _CustomZone.run (dart:async/zone.dart:802)
#12 _CustomZone.runGuarded (dart:async/zone.dart:708)
#13 _CustomZone.bindCallback. (dart:async/zone.dart:733)
#14 _rootRun (dart:async/zone.dart:907)
#15 _CustomZone.run (dart:async/zone.dart:802)
#16 _CustomZone.runGuarded (dart:async/zone.dart:708)
#17 _CustomZone.bindCallback. (dart:async/zone.dart:733)
#18 Timer._createTimer. (dart:async-patch/timer_patch.dart:16)
#19 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:385)
#20 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:150)
Caused by The null object does not have a getter 'declaredVariables'. NoSuchMethodError: method not found:
'declaredVariables' Receiver: null Arguments: []
#0 Object._noSuchMethod (dart:core-patch/object_patch.dart:42)
#1 Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#2 ComputeConstantValueTask.internalPerform (package:analyzer/src/task/dart.dart:1705)
#3 AnalysisTask._safelyPerform (package:analyzer/task/model.dart:310)
#4 AnalysisTask.perform (package:analyzer/task/model.dart:210)
#5 AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:271)
#6 AnalysisDriver.performAnalysisTask (package:analyzer/src/task/driver.dart:246)
#7 AnalysisContextImpl.performAnalysisTask. (package:analyzer/src/context/context.dart:1098)
#8 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:170)
#9 AnalysisContextImpl.performAnalysisTask (package:analyzer/src/context/context.dart:1096)
#10 PerformAnalysisOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:366)
#11 AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:793)
#12 Future.Future. (dart:async/future.dart:118)
#13 _rootRun (dart:async/zone.dart:903)
#14 _CustomZone.run (dart:async/zone.dart:802)
#15 _CustomZone.runGuarded (dart:async/zone.dart:708)
#16 _CustomZone.bindCallback. (dart:async/zone.dart:733)
#17 _rootRun (dart:async/zone.dart:907)
#18 _CustomZone.run (dart:async/zone.dart:802)
#19 _CustomZone.runGuarded (dart:async/zone.dart:708)
#20 _CustomZone.bindCallback. (dart:async/zone.dart:733)
#21 Timer._createTimer. (dart:async-patch/timer_patch.dart:16)
#22 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:385)
#23 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:150)

Unexpected exception while performing VerifyUnitTask for source /Users/mikemitterer/.pub-
cache/hosted/pub.dartlang.org/intl-0.11.12/lib/src/intl/bidi_formatter.dart
#0 AnalysisTask._safelyPerform (package:analyzer/task/model.dart:320)
#1 AnalysisTask.perform (package:analyzer/task/model.dart:210)
#2 AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:271)
#3 AnalysisDriver.performAnalysisTask (package:analyzer/src/task/driver.dart:246)
#4 AnalysisContextImpl.performAnalysisTask. (package:analyzer/src/context/context.dart:1098)
#5 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:170)
#6 AnalysisContextImpl.performAnalysisTask (package:analyzer/src/context/context.dart:1096)
#7 PerformAnalysisOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:366)
#8 AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:793)
#9 Future.Future. (dart:async/future.dart:118)
#10 _rootRun (dart:async/zone.dart:903)
#11 _CustomZone.run (dart:async/zone.dart:802)
#12 _CustomZone.runGuarded (dart:async/zone.dart:708)
#13 _CustomZone.bindCallback. (dart:async/zone.dart:733)
#14 _rootRun (dart:async/zone.dart:907)
#15 _CustomZone.run (dart:async/zone.dart:802)
#16 _CustomZone.runGuarded (dart:async/zone.dart:708)
#17 _CustomZone.bindCallback. (dart:async/zone.dart:733)
#18 Timer._createTimer. (dart:async-patch/timer_patch.dart:16)
#19 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:385)
#20 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:150)
Caused by The null object does not have a getter 'context'. NoSuchMethodError: method not found: 'context'
Receiver: null Arguments: []
#0 Object._noSuchMethod (dart:core-patch/object_patch.dart:42)
#1 Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#2 ConstantVerifier.ConstantVerifier (package:analyzer/src/generated/resolver.dart:896)
#3 VerifyUnitTask.internalPerform (package:analyzer/src/task/dart.dart:4603)
#4 AnalysisTask._safelyPerform (package:analyzer/task/model.dart:310)
#5 AnalysisTask.perform (package:analyzer/task/model.dart:210)
#6 AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:271)
#7 AnalysisDriver.performAnalysisTask (package:analyzer/src/task/driver.dart:246)
#8 AnalysisContextImpl.performAnalysisTask. (package:analyzer/src/context/context.dart:1098)
#9 _PerformanceTagImpl.makeCurrentWhile (package:analyzer/src/generated/utilities_general.dart:170)
#10 AnalysisContextImpl.performAnalysisTask (package:analyzer/src/context/context.dart:1096)
#11 PerformAnalysisOperation.perform (package:analysis_server/src/operation/operation_analysis.dart:366)
#12 AnalysisServer.performOperation (package:analysis_server/src/analysis_server.dart:793)
#13 Future.Future. (dart:async/future.dart:118)
#14 _rootRun (dart:async/zone.dart:903)
#15 _CustomZone.run (dart:async/zone.dart:802)
#16 _CustomZone.runGuarded (dart:async/zone.dart:708)
#17 _CustomZone.bindCallback. (dart:async/zone.dart:733)
#18 _rootRun (dart:async/zone.dart:907)
#19 _CustomZone.run (dart:async/zone.dart:802)
#20 _CustomZone.runGuarded (dart:async/zone.dart:708)
#21 _CustomZone.bindCallback. (dart:async/zone.dart:733)
#22 Timer._createTimer. (dart:async-patch/timer_patch.dart:16)
#23 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:385)
#24 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:150)

It seems that it both cases we have a CompilationUnitElement which is not attached to its LibraryElement.
We attempt to create a new instance of ConstantVerifier at https://github.com/dart-lang/sdk/blob/4db460ec48bfd82c370d99d9d816b2b45181c943/pkg/analyzer/lib/src/task/dart.dart#L4603 and pass in null as libraryElement. So unitElement.library is null. So, this UnitElement does not have an enclosing LibraryElement.

Is this a blocking issue for releasing 1.13 stable?  Do we have an estimate on a fix for this?  Until we hear otherwise,  we can't release 1.13.

Any updates on this issue?

We have not been able to reproduce the exceptions, but we did find one problem that might account for part of the slowness being reported by our users.
@MikeMitterer a couple of questions. Have you re-run pub so that there are .packages files and/or is server still running pub list-package-dirs? Also, do you have large numbers of HTML files in the doc directory (such as are produced by running dartdoc)?

Almost all of my projects have packages AND .packages. Most of my doc-folders are empty.

https://codereview.chromium.org/1441013003

We have fixed the problem that caused @MikeMitterer exceptions in https://github.com/dart-lang/sdk/commit/a21e3a5a7f954649434c1edfa6cba5c0e99f8bc9.
This may or may not be the only problem causing losing completion and navigation.
This requires more testing with this fix applied.

@MikeMitterer - we have a new build of the SDK available (it hasn't been promoted to dev channel yet, but hopefully you can try it and give us feedback):
https://storage.googleapis.com/dart-archive/channels/dev/raw/1.13.0-dev.7.11/sdk/dartsdk-{macos,linux,windows}-x64-release.zip
We're really hoping to get feedback ASAP from you on this - thanks so much for your help.

@dgrove Your link does not work... I've just sent the logs from yesterday to @scheglov

...sorry - got it. (https://storage.googleapis.com/dart-archive/channels/dev/raw/1.13.0-dev.7.11/sdk/dartsdk-macos-x64-release.zip)

It became worse. While preparing a sample for another bug I made the attached SS
cmdline analyzer is right (it is always right btw.!!!!) To me, the DA-Server-Version is always confused about where the project-root (the dir with pubspec.yaml) is. I'm sure it works great for single module, single project, projects but it fails for bigger, more complex projects.  Every sample has it's own pubspec.yaml, its own lib aso.

Project-Structure:

Did you ever try what happens if DA is working and git changes the dir structure? (I was working within the IDE but changed the branch on the cmdline)
I was just working in a branch "jsCompileBug" committed my changes and went back to the master branch - during this time DA was analyzing... a few secs after changing back to "master" DA immediately stopped... For sure - could also be coincidence...
Here are the last few lines from the log:
1447414502672:Task:/Volumes/Daten/DevLocal/DevDart/SiteGen:ParseHtmlTask for source /Volumes/Daten/DevLocal/DevDart/MaterialDesignLite/samples/mdl_button/.sitegen/html/_content/index.html
1447414502673:Task:/Volumes/Daten/DevLocal/DevDart/SiteGen:DartScriptsTask for source /Volumes/Daten/DevLocal/DevDart/MaterialDesignLite/samples/mdl_button/.sitegen/html/_content/index.html
1447414502673:Task:/Volumes/Daten/DevLocal/DevDart/SiteGen:HtmlErrorsTask for source /Volumes/Daten/DevLocal/DevDart/MaterialDesignLite/samples/mdl_button/.sitegen/html/_content/index.html
1447414502690:Task:/Volumes/Daten/DevLocal/DevDart/WskAngular/example/wsk_icon_toggle:GetContentTask for source /Volumes/Daten/DevLocal/DevDart/MaterialDesignLite/samples/mdl_button/.sitegen/html/_content/index.html
1447414502690:Task:/Volumes/Daten/DevLocal/DevDart/WskAngular/example/wsk_icon_toggle:ParseHtmlTask for source /Volumes/Daten/DevLocal/DevDart/MaterialDesignLite/samples/mdl_button/.sitegen/html/_content/index.html
1447414502692:Task:/Volumes/Daten/DevLocal/DevDart/WskAngular/example/wsk_icon_toggle:DartScriptsTask for source /Volumes/Daten/DevLocal/DevDart/MaterialDesignLite/samples/mdl_button/.sitegen/html/_content/index.html
1447414502692:Task:/Volumes/Daten/DevLocal/DevDart/WskAngular/example/wsk_icon_toggle:HtmlErrorsTask for source /Volumes/Daten/DevLocal/DevDart/MaterialDesignLite/samples/mdl_button/.sitegen/html/_content/index.html
1447414502714:Noti:{"event"::"server.status","params"::{"analysis"::{"isAnalyzing"::false}}}

We're working hard on this - in the meantime, if you are having issues with the analyzer, here's a document to help you help us by gathering as much info as possible:
https://docs.google.com/document/d/1s4PTof1x7RyxXYX1yO31ByvZsQoDMM7edFIW1SKP25U/edit?pli=1

As Dan mentioned, we’re working hard on resolving these issues. One of the things we’ve discovered is that there can be a significant performance improvement if packages folders are removed (these folders contain a lot of symlinks which can sometimes cause performance problems).  We would appreciate it if you could send us the results of running these two commands (from the root of your repository):
ls -lR | wc -l
ls -LlR | wc -l

The first counts the number of files reachable from your root directory without following symlinks, the second counts the number of files reachable from your root directory by following symlinks.
Then, you can remove all of the packages folders by running the following script:
find . -name pubspec.yaml -execdir pwd \; -execdir pub get --no-package-symlinks \;

Please let us know whether running the second script improves server’s performance for you.

@MikeMitterer

Did you ever try what happens if DA is working and git changes the dir structure?

Yes. We run analysis server all the time as we're developing it, and we regularly (multiple times per day) switch branches, pull in changes from others, perform rebases, etc. We don't change the directory structure every day, but we do change it periodically. I don't know when the last significant directory structure change was, though, so it's possible there's been some kind of regression.

ls -lR | wc -l
ls -LlR | wc -l

9773
247843

My "project" consists of several modules (this is how IJ organizes a project)
So e.g. MaterialDesignLite for Dart:
ls -lR | wc -l 82692
ls -LlR | wc -l 860835

I haven't worked too much yet, but after deleting the packages directories I didn't experience slowdowns.

@MikeMitterer , could you try this build http://gsdview.appspot.com/dart-archive/channels/dev/raw/1.13.0-dev.7.12/sdk/. It should fix the issues you were seeing with the -dev.7.11 sdk.

@MikeMitterer Did you try deleting the packages directories? If so, was there any change in performance?

@keertip Thanks I'll give it a try tomorrow!
@bwilkerson I can't delete all the packages. I thought you gonna come up with a final solution for the package problem - removing all of them is not the best one... what, and in my case that's the case, if one package referenz assets from another package? Then you need at least one package-folder in web or in project-root...
To be more precise:
Something like this:
sample.scss in dart-application X:
@import "packages/mdl/assets/styles/animation/animation";

Sorry, I guess I was unclear. The pub command currently produces a packages directory unless you explicitly ask it not to (using the --no-package-symlinks argument). It also creates a .packages file. We are moving toward getting rid of the packages directory altogether and using the file in its place. So, if you delete the directory we will still be able to resolve your package: URI's. The concept of packages is not going away, we're just changing how we implement it.

Oh, I just re-read you question and I think I understand better what you were asking. The VM also understands .package files, and I would guess that it will be able to load assets by using the files rather than the directories.
@munificent Can you confirm this?

The sass transformer calls out to the sass command line tool which doesn't know about Dart and the .packages file. If the files aren't actually there it fails.

The sass transformer ...

That's a problem. My understanding is that both the directory and the file are produced by default in 1.13. In 1.14 and later only the file will be produced by default. In 1.14 you'll still be able to explicitly ask pub to produce the directory, but as of 1.15 even that won't be possible.
I think the transformer will need to be updated to follow the package spec DEP (https://github.com/lrhn/dep-pkgspec).

I created an issue for the transformer (https://github.com/EvidentSolutions/dart-sass/issues/1) in case they were not aware of the changes that are coming.

You can update the transformers, but that won't happen for non-Dart related 3rd party tools like the sass tool called by the transformer. That's a known problem. I haven't seen any discussions how to deal with such tools yet though.

It is possible for the SASS transformer to loop back to barback when it wants to load and resolve @import directives using a custom importer. Ideally, that's what the SASS transformer should be doing.
Otherwise, yes, when the "packages" directory goes away, tools that presume it's there will not be in a happy place. We don't anticipate getting rid of that directory for a while, though, so there should be time to move tools off of it.

I tried the new version with latest IJ Dart plugin and it's really much faster now - Cool! But there are still a few issues:

It takes about 4 minutes or so until DA starts to analyze (check my mp4)
I crashed the Analyzer by enabling a module while it was analyzing ~ 07:46 in mp4 or 14:50 (error message lower right corner!) It shows the server-version 12 - is this correct?

Here you can see the whole process:
http://www.mikemitterer.at/fileadmin/_temp_/dart_analyzer.mp4
@scheglov I've sent you the log via mail...

@MikeMitterer Excellent! I'm glad we're starting to make progress. We'll take a look at the log files and see what we can learn.

There are two reasons why in your video it too 4 minutes:

Dart Plugin for IntelliJ (DPI) does not start DAS until you open a Dart file.
DAS spends 2.5 minutes doing pub list-package-dirs.

Usually DAS uses .packages files, so avoids calling pub list-package-dirs, so works much faster.
But I suspect that many of pubspec.yaml files are in templates, so they have invalid name: and in this case .packages file cannot be generated. Unfortunately unless we validate pubspec.yaml files in DAS, we don't know whether the file is valid or not. And Pub generates pubspec.lock anyway, so we cannot use its absence as an indicator, that the package should not be analyzed.
The easy solution would be to exclude these templates from analysis.
We will talk to the Pub authors to see if something can be done to optimize.
analyzer:
  exclude:
    - 'samples/**'
    - 'lib/_templates/**'

The crash (actually not a crash - just a non-fatal exception) must be easy to fix.

The fix for the exception.
https://codereview.chromium.org/1445283003/

Sorry - but I have another one.
I few days ago I've moved all the MDL/Dart samples to https://goo.gl/UM9hsN
As you can see in the SS DA ist not able to resolve an Object defined in it's own lib LoginDialog
And again - it's DA-Server. The cmdline-version works.

Sorry - but I have another one.

We're not. You're being extremely helpful, and we're grateful.
What was the error message associated with those two uses of the class name?
Which library defines LoginDialog?

@MikeMitterer, you see the error because your samples folder is excluded from analysis by the .analysis_options file in the root of the dart-material-design-lite-site project.
analyzer:
  exclude:
    - 'samples/**'

This mean that when you open a Dart file, it is analyzed as an independent file, not a part of the template_spa package, just because there are no such analysis context from the DAS point of view. Note, that if you open the template_spa separately, it also works in DAS, just like it works with dartanalyzer.

Why is it analyzed at all, when it is excluded?

Good point, @zoechi.
We will fix it.

@zoechi, @scheglov, I would like to move the tracking of that .analysis_options problem to a new github issue. We are getting ready to ship 1.13, and it does not sound like that new issue is a blocker.
Let me know if that is OK. Thanks!

Yes, a separate issue for exclude handling in .analysis_options would be nice.

I worked quite some time and can confirm that without the packages folders it works quite well. I would see #24910 as blocker. Otherwise I'm fine.

Closing this bug as 1.13 was promoted to stable.
@zoechi, we will follow up on #24910 in that issue.

@scheglov It's to bad but there is still somewhere a bug in how IJ or DA handles analysis / reanalyzing.
I've added to files mdlanimation.dart and animation.dart and as you can see here www.mikemitterer.at/fileadmin/temp/da_bug.mp4 I had no chance to reanimate DA. I clicked around tried several thing - nothing happened! The weird this is that when I stopped the recording of the screencast, maybe because the app focus changed, DA started to analyze...
I've sent you the log via mail
@mit-mit I think this is still open
Here the SS after I stopped recording - (DA is still analyzing...)

@MikeMitterer, can you please open a new issue(s) to track any remaining problems? I'd like to close this one out so that we can easier tell what was resolved, and what is still not working.

@MikeMitterer It might be the same problem as before - we spend about 150 seconds doing pub list-package-dirs. Until it's done, DAS cannot respond to the client.
This is something we can optimize in DAS after Pub fixes its issue.
https://github.com/dart-lang/pub/issues/1361


feat: add pruning e2e-test

Description
Created two new e2e-tests for checking if pruning labels are set / not set correctly. Added new pkg image.go with common functions for working with images
Issue ticket number and link
STONEBLD-1210
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Tested locally with ./bin/e2e-appstudio --ginkgo.label-filter="github-webhook" --ginkgo.v
Checklist:

[X] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

/test all

/hold

/retest

Waiting for https://github.com/redhat-appstudio/infra-deployments/pull/1895 to get merged

/retest

/retest

@tnevrlka @psturc With this change merged, does that mean images generated by pipeline run  and push to quay.io/redhat-appstudio-qe have a default expiration of 6h?

@tnevrlka @psturc With this change merged, does that mean for each opened and repoened pull-request, images generated by pipeline run and pushed to quay.io/redhat-appstudio-qe have a default expiration of 6h?

Outside of e2e-tests, the expiration should stay at default 5d. The idea behind this change in e2e-tests is to test if the default value can be changed and if everything works properly after.
6h was chosen because I feel like it is still much longer than needed for e2e-tests and uses hours instead of days, but I am open to changes

/retest


[Task] Validation of array from props

Improve validation and do it only once at initial loading.

Closed in #109 and #110


Set up the profile page layout

@Dzl666 https://github.com/sopra-fs23-group-32/SoPra23_Client/commit/7d671b8b51827c8d11609373eb07daf0e43e35a8, @leyixu21 https://github.com/sopra-fs23-group-32/SoPra23_Client/commit/4329e4ef37fb26e7574fba21c8ba8eddd717b385


[REVIEW] FIX Reproduce symlinks to ccache before source builds

Fixes the problems with builds losing access to compilers. It seems like installing new packages activates the deactivate.sh script from rapids-scout-local which removes symlinks to ccache which source builds rely on for finding compilers.
Tested locally with a full docker build, succeeded. Changes are OS/CUDA/Python agnostic so it should work across all of our supported software.

also seeing other gcc related errors in the conda base environment

Closing this as the changes made in rapids-scout-local package should resolve the build problem: https://github.com/rapidsai/scout/pull/4


[BUG] - Last mod missing in /server-info command

Describe the bug
The last mod is not included in the /server-info command output
Reported by "maccanz"
To Reproduce
Use the command with active mods
Expected behavior
The last mod is included
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Version [e.g. 22]

Additional context
-mod=@PVEZ Reloaded;@Holding2Discord;@SQUAD MSF-C;@Survivor name changer;@sGunplay_SNAFU;@SNAFU Weapons;@Gilza Project Zombie bosses;@dbo_surfaces;@dbo_grip;@Tarkov_Medical;@BoomLay's Things;@NEDPS_VehiclePack;@LightObjects;@Umbrella Clothing;@DNA Keycards;@Zen's Zombie Door Bangers;@ItemSize;@FlipTransport;@KOTH;@MMG Base Storage NoCodeLock;@RaG_Vehicle_Pack;@MMG - Mightys Military Gear;@Easy Signs [by Cl0ud];@BaseBuildingPlus;@ZebskiAmmoStacks;@sGunplay_EDO;@EDO_WEAPONS;@AmmunitionExpansion;@sGunplay;@sFramework;@CodeLock to ExpansionCodeLock Bridge;@DayZ-Expansion-Bundle;@DayZ-Expansion-Licensed;@Community-Online-Tools;@Dabs Framework;@CF"

I personally don't think this is an issue on our side - as it's simple chunk indexing and there really isn't room for error in the code regarding this after reviewing

@PVEZ Reloaded; is the last mod and its running on a windows 10 PC
https://i.imgur.com/YqRZyE5.png

after playing around and testing with the raw output of the API call to cf i found the bot is grabbing the mods correctly but
cf is not parsing the mod list properly it ignores the first mod completely
i will write a bug report to cf about this problem

Closing this as this is confirmed to be an external issue, and not something we are in control of


Simple Edge Discovery ressources names are not descriptive

I have noticed that within the resources, some of the resource names do not adhere to the naming conventions defined in the API Design Guidelines. Specifically, I'd like to address the resource names Ern and Provider.
To maintain code consistency and improve clarity, I propose that we consider renaming these resources to edgeResourceName and provider. They should be made more descriptive and updated to follow the lower camel case convention.
I believe that making these changes will enhance the overall maintainability and readability of the API.

Thanks @leochely  -
For Ern, I agree the name is not descriptive and I will change it to edgeResourceName
Do you have a suggestion for Provider? I think 'cloudProvider` as the goal is to let the developer known which cloud provider they need to interact with following this API response.

...or edgeCloudProvider to better match the API family name :)

Yes I think the edgeCloudProvider name would be the best


Why not support for Edge

Why not support for Edge

Edge is already supported, but it essentially requires Obsidian 1.7 which is in early access. In the meantime you can install the Chrome extension on Edge, see readme. Once Obsidian 1.7 is available publicly, we will add it to the Edge adding store.

Web Clipper is now on the Edge store:
https://microsoftedge.microsoft.com/addons/detail/obsidian-web-clipper/eigdjhmgnaaeaonimdklocfekkaanfme


Mark  as threadsafe to remove maven warnings

maven 3.5 making noise when running under multiple threads

hello, can we this PR reviewed?

How we need a new release :-)

@dantran I don't have the permission to push new releases. Only @kongchen can do that.


Make subject line more concise

Minor nitpick. The subject lines are pretty long on these emails and I often can't see the relevant information (such as release version) on my laptop screen in list view without clicking through to the email.
I suggest leaving out the words "which are" from the subject lines.  "Bugs which are tracked" can simply be "Bugs tracked"

Agreed. Also, "[Using ML]" and "[autofix]", for the scripts for which they apply, can go to the end.

Agree too


[Algorithm] Fixed-Epsilon Greedy Bandit

@henleo
Each arm is a list of <component, failure> tuples. Each tuple has an associated reward (utility_increase), but the total reward of the list of tuples is a weighted sum of the utility_increase of each <component,failure> tuple.  The weight of each tuple is a function of the position of the tuple in the list. Components that are repaired later have lower weight than components that were repaired earlier.
The total reward of an action (an arm) is a Monte Carlo estimate of all individual rewards obtained in the various rounds.
At each round K, choose an arm to pull.
How to choose which arm to pull?

Probability ϵ that we take a random action
Probability (1-ϵ) that we take the best action (action with the current highest average total reward)

Stopping rule: when the root mean-squared error (RMSE) of total reward of  the best arm is below 5%. For that, you will need to know the true mean of the best arm.
Visualization:

Linechart of the the RMSE of each arm reward by at each round
Scatter plot of the mean and variance of each arm reward at each round

RMSE = is the root square of error averaged over all the data points that composed the mean. For instance, afte calling an arm twice, you will have two values for its total rewards R1 and R2. You take the difference from R_true (which is the ground truth for that arm), square it and take the square root. Add up all of these and divide by the number of data points, in this case, 2.


docs(*): update contributing guide

@Ehesp Can you run prettier? that will fix the build.

@googlebot I consent.


Multicolor Loader

I want to integrate ball scale Indicator view with 2 color.
if animation starts, the color of big ball is differ from other. How i can achieve this?

Sorry, animations are preset and only a couple of properties (size, color, padding) is customizable. You can, however, fork this repo and change setUpAnimation of animation as your needs.


POD file issue

[!] The dependency SlateVideo360 is not used in any concrete target.
I get this when i do the pod install in the state directory.

target "your target name" do
pod 'SlateVideo360'
end


Include VPM in "How to install"

When I was searching for install ways, took me going to Issues and wanting to create new issue to find VPM link :D Probably good idea to add it to ReadMe

Also you might need to rebuild your VPM listing, it shows latest version as 0.0.6 😓

Added the VPM link to ReadMe!
I changed the link to the correct one (I have a listing just for VRRA and that one is updated properly)


Uncaught TypeError: Cannot read property 'contains' of undefined

A strange error appears. Everything works, but the error still appears.

I will make a clarification. Error occurs when a component is destroyed

Thanks for the info and for using the component. Will be fixed soon.

The error is fixed in version 1.5.4. Thanks again for the information about it! Happy holidays!


[Audio Streaming] BlackHole Has Been 404'd Everywhere

Self explanatory title. Seems to have vanished from Github, F-Droid and their own website.

What happened? I'm just getting accustomed to it for a while.


Prevent deferring implicits to a tactic when calling trefl

The issue arose when applying trefl on a goal such as ?u1 == f ?u2, if ?u2 is tagged with a defer_to_implicit attribute.
trefl runs the unifier, and adds the remaining unresolved implicits to the current proofstate. In this example, it would see ?u2 as tagged and try to solve it instead with the associated tactic in a new proofstate, that would not contain constraints on the original ?u2
This fix prevents deferral to tactics when calling trefl. We are already in a tactic context, implicits generated should be added to the current proofstate instead.

Looks good to me. Just a comment on the title of the PR ... the intention of this patch is for it to apply to all calls to the unifier from the tactic engine, not just trefl. The rationale is that when calling the unifier from the tactic engine, you shouldn't defer any problems that come up to yet another tactic that may be in scope.
@mtzguido, can you confirm that do_unify is the right place for this patch?

This will definitely catch trefl, and all other existing calls into the unifier as far as I could tell, but I think it's better to set this flag for all tactic environments from the beginning. Namely in FStar.Tactics.Basic.tac_env.

Thanks both for the comments, I pushed modifications accordingly


fluxctl buries the lede on locked services

I went to roll out a service, but was surprised to find that fluxctl thought there were no updates to do. e.g.
$ fluxctl release --all --update-image=quay.io/weaveworks/fluxsvc:master-e34d245
Submitting release job...
Release job submitted, ID 7f602f96-5b02-9d36-6396-69d255530f38
Status: Complete.

Here's what happened:
 1) Queued.
 2) Calculating updates for release.
 3) Cloning git repository.
 4) Finding defined services.
 5) Skipping service fluxy/fluxsvc as it is locked
 6) Found service kube-system/kubernetes-dashboard
 7) Found service kube-system/scope
 8) Found service kube-system/kube-dns
 9) Found service billing/aggregator
 10) Found service billing/billing-api
 11) Found service billing/uploader
 12) Found service billing/billing-ui
 13) Found service billing/billing-db-exporter
 14) Found service cortex/ingester
 15) Found service cortex/configs-db-exporter
 16) Found service cortex/alertmanager
 17) Found service cortex/consul
 18) Found service cortex/memcached
 19) Found service cortex/ruler
 20) Found service cortex/distributor
 21) Found service cortex/querier
 22) Found service cortex/configs
 23) Found service default/proxy
 24) Found service default/users-db-exporter
 25) Found service default/frontend
 26) Found service default/users
 27) Found service default/authfe
 28) Found service default/ui-server
 29) Found service default/authfe-nodeport
 30) Found service fluxy/nats
 31) Found service fluxy/fluxy-db-exporter
 32) Found service fluxy/memcached
 33) Found service fluxy/fluxd
 34) Found service fluxy/prose
 35) Found service monitoring/kube-api-exporter
 36) Found service monitoring/alertmanager
 37) Found service monitoring/metrics
 38) Found service monitoring/dev-grafana
 39) Found service monitoring/grafana
 40) Found service monitoring/terradiff
 41) Found service monitoring/ui-metrics
 42) Found service monitoring/kubediff
 43) Found service monitoring/ansiblediff
 44) Found service monitoring/prod-grafana
 45) Found service monitoring/prometheus
 46) Found service scope/consul
 47) Found service scope/query
 48) Found service scope/memcached
 49) Found service scope/collection
 50) Found service scope/control
 51) Found service scope/pipe
 52) Found service scope/nats
 53) Found service extra/launch-generator
 54) Found service extra/demo
 55) Found 49 services.
 56) Looking up images.
 57) Ignoring service kube-system/kubernetes-dashboard, does not use image(s) in question
 58) Ignoring service kube-system/scope, does not use image(s) in question
 59) Ignoring service kube-system/kube-dns, does not use image(s) in question
 60) Ignoring service billing/aggregator, does not use image(s) in question
 61) Ignoring service billing/billing-api, does not use image(s) in question
 62) Ignoring service billing/uploader, does not use image(s) in question
 63) Ignoring service billing/billing-ui, does not use image(s) in question
 64) Ignoring service billing/billing-db-exporter, does not use image(s) in question
 65) Ignoring service cortex/ingester, does not use image(s) in question
 66) Ignoring service cortex/configs-db-exporter, does not use image(s) in question
 67) Ignoring service cortex/alertmanager, does not use image(s) in question
 68) Ignoring service cortex/consul, does not use image(s) in question
 69) Ignoring service cortex/memcached, does not use image(s) in question
 70) Ignoring service cortex/ruler, does not use image(s) in question
 71) Ignoring service cortex/distributor, does not use image(s) in question
 72) Ignoring service cortex/querier, does not use image(s) in question
 73) Ignoring service cortex/configs, does not use image(s) in question
 74) Ignoring service default/proxy, does not use image(s) in question
 75) Ignoring service default/users-db-exporter, does not use image(s) in question
 76) Ignoring service default/frontend, does not use image(s) in question
 77) Ignoring service default/users, does not use image(s) in question
 78) Ignoring service default/authfe, does not use image(s) in question
 79) Ignoring service default/ui-server, does not use image(s) in question
 80) Ignoring service default/authfe-nodeport, does not use image(s) in question
 81) Ignoring service fluxy/nats, does not use image(s) in question
 82) Ignoring service fluxy/fluxy-db-exporter, does not use image(s) in question
 83) Ignoring service fluxy/memcached, does not use image(s) in question
 84) Ignoring service fluxy/fluxd, does not use image(s) in question
 85) Ignoring service fluxy/prose, does not use image(s) in question
 86) Ignoring service monitoring/kube-api-exporter, does not use image(s) in question
 87) Ignoring service monitoring/alertmanager, does not use image(s) in question
 88) Ignoring service monitoring/metrics, does not use image(s) in question
 89) Ignoring service monitoring/dev-grafana, does not use image(s) in question
 90) Ignoring service monitoring/grafana, does not use image(s) in question
 91) Ignoring service monitoring/terradiff, does not use image(s) in question
 92) Ignoring service monitoring/ui-metrics, does not use image(s) in question
 93) Ignoring service monitoring/kubediff, does not use image(s) in question
 94) Ignoring service monitoring/ansiblediff, does not use image(s) in question
 95) Ignoring service monitoring/prod-grafana, does not use image(s) in question
 96) Ignoring service monitoring/prometheus, does not use image(s) in question
 97) Ignoring service scope/consul, does not use image(s) in question
 98) Ignoring service scope/query, does not use image(s) in question
 99) Ignoring service scope/memcached, does not use image(s) in question
 100) Ignoring service scope/collection, does not use image(s) in question
 101) Ignoring service scope/control, does not use image(s) in question
 102) Ignoring service scope/pipe, does not use image(s) in question
 103) Ignoring service scope/nats, does not use image(s) in question
 104) Ignoring service extra/launch-generator, does not use image(s) in question
 105) Ignoring service extra/demo, does not use image(s) in question
 106) No updates to do, finishing.
Took 17.147661s

Which of these 100+ lines is the one telling me what's going on?
 5) Skipping service fluxy/fluxsvc as it is locked

Which is not visible on my terminal at the same time as the "error" message (i.e. 106) No updates to do, finishing.), and can only be found by reading through the output line by line.
Please make messages about skipping locked services more prominent.
Suggestions:

Delete the "Ignoring service... does not use image(s) in question" lines from output entirely
Delete the "Found service" lines from output entirely
Remove output lines 1), 2), 3), and 4)
Do not prefix the "No updates to do" line with a number
Do not prefix the "Skipping service... as it is locked" line with a number
Prefix the "Skipping service" line with "WARNING"

The output would thus become:
Submitting release job...
Release job submitted, ID 7f602f96-5b02-9d36-6396-69d255530f38
Status: Complete.

WARNING: Skipping service fluxy/fluxsvc as it is locked

Found 49 services.
No updates to do, finishing.
Took 17.147661s

This would be better than current output, but still has some problems.

"Found 49 services" — does that include the skipped service?
What's the connection between services and images?

So perhaps the output could be rephrased entirely as:
Submitting release job...
Release job submitted, ID 7f602f96-5b02-9d36-6396-69d255530f38
Status: Complete.

Services with quay.io/weaveworks/fluxsvc:
* fluxy/fluxsvc [LOCKED]

+ 49 other services without.

No updates to do, finishing.
Took 17.147661s

or
Submitting release job...
Release job submitted, ID 7f602f96-5b02-9d36-6396-69d255530f38
Status: Complete.

No unlocked services with quay.io/weaveworks/fluxsvc.

Following services use quay.io/weaveworks/fluxsvc but are locked
* fluxy/fluxsvc

49 other services on cluster.

No updates to do, finishing.
Took 17.147661s

Guiding principles:

reduce the amount of text
highlight the unusual circumstance (something being locked)
point me to how I can proceed from here (e.g. show the annotation message from #501)
don't expose implementation details (that you "skip" some services and "ignore" others is one such)

fluxctl 0.2.0 is much better.
$ fluxctl release --all --update-image=quay.io/weaveworks/fluxsvc:master-e34d245
Submitting release job...
Release job submitted, ID 4cbcf51f-f4d4-06dc-c582-0fc9a56e4846
Status: Complete.

Here's what happened:
SERVICE        STATUS   UPDATES
fluxy/fluxsvc  skipped  locked
Took 16.531468s

The output for older fluxctls is ridiculously verbose isn't it :(
Thanks for taking the time to make these suggestions.


Firefox time#duration issue

Hi there!
When I'm loading the demo-site "custom-html5-video.surge.sh" using Mozilla Firefox v87 (on Windows x64) the first time,
everything works fine.
When I'm reloading the page, the script is unable to read the video duration (see attachment).
The console doesn't output any related warnings or errors.
This also occures using other mp4 video sources independent from the server. I tried the code on my server as well.
https://user-images.githubusercontent.com/44983792/114618497-b4b37d00-9ca9-11eb-9fb9-482b6f96a66c.mp4
I tried adding a default max-attribute to #seek and a lot of other things including changing the method to access the "max"-attribute to element.max instead of element.getAttribute('max') but I can't get it to work. 🤷🏻♂
Greetz, nichtsooft

Thanks for opening this issue. I can reproduce it on Firefox 88 also on Windows. Will investigate and update this issue soon if I find a solution

This is still an issue with modern Firefox.

Add initializeVideo() at the end of the JS file.


Gradle: Add support for properties set as defaults

Extract properties set as defaults, supports both the findProperty and hasProperty syntax styles:
findPropertyVersion = project.findProperty('findPropertyVersion') ?: '1.0.0'
hasPropertyVersion = project.hasProperty('hasPropertyVersion') ? project.getProperty('hasPropertyVersion') :'1.0.0'

If you do accept it, i'd consider squashing the commit as a lot of the changes are me battling with a CI of a language that i'm not familiar with.

Overall this looks like a great improvement @mcwarman, thanks! I'm just a bit worried about the complexity of the regexes, would we awesome if we can figure out a way to make those easier to understand.

@jurre I've broken up the regex, hopefully its better.
In hindsight it should always looked like this.

Thanks @mcwarman, really appreciate this fix 🎉


Getting 10/20/30 approved katas does not update beta kata approval status

Related to #1088.
As we all know, you get a discount on required number of upvotes/rankings needed to approve your beta katas once you have 10/20/30 published kata.
However, just like #1088, it requires someone to update the vote/ranking to update the status.

Same here my translation was approved but:

I don't appear as collaborator
kumite was approved (who nows by who) but it doesn't shows in the dropdown list
author can't do anything about it

@javatlacati This seems to happen rarely, if you refork your work and have the author approve it the translation should appear.


Add Contributing documentation to README.md

I'll work with you directly to get this done - should include:
#### Contributing

Set up SSH keys on your local computer

Fork `rcos/observatory-server`

Clone your fork of the repository:
`git clone git@github.com:yourusername/observatory-server.git`

`git clone git@github.com:rcos/observatory-server.git`
`cd observatory-server`
`git remote show`
`git remote show origin`
`git remote add upstream git@github.com:rcos/observatory-server.git`
`git remote show`
`git remote show upstream`
`git checkout -b dev`
`git reset --hard upstream/dev`

### Now you can start developing features!

Resolved by #751


Update version

What? and Why?

What does this pull request change/fix? Why was it nessessary? Update version

Checklist

[ ] CHANGELOG.md updated? (if required) Y

Codecov Report

Merging #34 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #34   +/-   ##
=======================================
  Coverage   82.85%   82.85%
=======================================
  Files          14       14
  Lines        1044     1044
=======================================
  Hits          865      865
  Misses        179      179

Impacted Files
Coverage Δ

transform/__init__.py
100% <100%> (ø)
:arrow_up:

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 b81de3e...20e0418. Read the comment docs.