Removed Prefixed APIs

Swift should use static dispatch for methods, properties and functions that use features not available in objc, instead for categories of objc types and methods that are @objc (will use dynamic dispatch) we can use @objc(snp_method) func method() to make sure we don't override private APIs
Would you consider this Breaking change? It looks like useless to use prefixes in swift extension except  some cases where @objc(prefix_name) can be used

@MP0w I wonder if I can somehow build this into a subspec and compiler flag. I worry about removing the snp_ prefixes for some of the variables like snp_height as height may be a common extension?
Otherwise this looks pretty good, helps clean up the library a lot.

I did some tests and tried to understand all the edge cases. Looks like we don't need any prefix to prevent private APIs collision.
Scenarios:

Swift extension of non-objc type -> No prefix needed, static dispatch is used so can't override private APIs
Swift extension of objc type with method available to objc (doesn't use swift only features) -> Use dynamic dispatch so has to be prefixed. But using @objc(sip_methodName) the method will be prefixed in objc and you can safely use it without prefix in swift without private APIs collision (namespace inferred and other modules could use the same name)
Swift extension of objc type with method unavailable to objc (most common in SnapKit) -> Use static dispatch, not exposed to objc and won't interfere with private APIs

I tried adding an objc category that defines height in a separate dynamic framework (to simulate UIKit?)
    @objc(snp_height) var height: String { return "swift extension" } // needs @objc(rt_height) because is exposed to objc
    var width: SomeStruct { return SomeStruct() } // no need for @objc() because struct can't be used anyway and the API is not exposed to objc

From swift we only see height and width (and if we import the category in the bridging header the compiler complains, that would be what happens if the SDK add a public API with the same name, same problem would happen for subclasses)
From objc we see:
NSLog(@"%@", @(self.view.height)); // print the view's height
NSLog(@"%@", self.view.snp_height); // print "swift extension"
// width can't be used at all.

@MP0w there is potentially high collision risk with someone that has this in their apps code base isn't there?
// Existing
extension UIView {
  var height: CGFloat { return self.frame.size.height }
}

I'll need to just double check that use case and see what Xcode does.

@robertjpayne true, I just checked and:
extension UIView {
    @nonobjc var test: Int { return 1 }
    @nonobjc var test: String { return "" }
}

is an invalid redeclaration. Instead:
extension UIView {
    @nonobjc func test() -> Int { return 1 }
    @nonobjc func test() -> String { return "" }
}

Is valid.

I will ask clarifications in the swift evolution, I'm not understanding why two methods with the same name are non ambiguous but 2 properties or 1 method and 1 property are ambiguous.
extension Array {
    var test: Int { return 1 }

    func test() -> String { return "" }
}

I'm also wondering if then it would be cleaner to move the risky-properties somewhere else and keep what we can un-prefixed, like:
view.snp.height

@MP0w Yea it's tricky, I'm not keen to split the API into half prefixed and half unprefixed. My work in the feature/0.30.0 branch is already moving to .snp. rather than .snp_ prefixing on all variables and methods.

#191 looks cool. Will close this PR

@MP0w still have a bit of work to do on 0.30.0! But yea argh it would be so nice to get rid of the prefixes!


Change scrollbar colors

I need to personalise the scrollbar track and thumb colors, but  I do not found a way to do that.
Maybe You folks can help me with that?
Is there a way to do it with the currently version or this is a feature that maybe need to be implemented?
I could do that only changing in the app core theme for the entire project.

It needs to be implemented.
Currently, You can wrap DropdownButton2 with Theme to make changes to its theme without affecting the entire project.

@AhmedLSayed9 So based on the implementation I see here the color properties of the scrollbar theme data have no effect?

@AhmedLSayed9 So based on the implementation I see here the color properties of the scrollbar theme data have no effect?

It works fine at my side. Can you open an issue with a minimal sample that produces the issue?


Accept input to jk validate on stdin

It'd be handy to be able to pipe things into jk validate (et al?).

This would probably need to default to YAMLStream, and take a flag which forces it to a particular format.
curl -L https://raw.github.com/some/random/kubernetes.yaml | jk validate --format yamls ./ok.js -


[Wiki] Recent change to how to article

Not sure how else to do this, as I can't seem to comment on the change to the wiki :cry:
@glennsarti I am trying to understand why you made a change to the chocolatey wiki to change all the ='s to :'s.
https://github.com/chocolatey/chocolatey/wiki/How-To-Parse-PackageParameters-Argument/_compare/23d1b8c7d00d79674b1bb0ba7368f88c0ccb900d...e1a7dc741a5fbd11fd8f47d27d626a997bbb580f
Is this a personal preference, or for a valid technical reason?
This wiki article was modeled on the work that @mwrock did for the Visual Studio packages, and the method illustrated works as documented, so I don't really see a reason to change it.
Can you let me know you reasons for making this change, so I can decide whether to back out the changes or not.
Thanks

Definitely should stay with equals if possible.

Definitely should stay with equals if possible.

This is my opinion as well, but wanted to understand the thought process that @glennsarti had before rolling back.

Sure.  I changed it because the regular expression that is used expects a colon, not an equals sign  ...+):([`.... The code in the article didn't work.  Also the documentation was inconsistent.  Sometimes it used equals, and sometimes it used colon which made me really confused when I was using it.
If you'd prefer equals, I guess just need to change the regex to ...+)=([`.... and then test it.  If it works, change all the references in documentation from colon to equals.

Thanks for getting back to me.
I was almost convinced that I tested the code that I used before I posted it into the wiki, but sounds like there is an issue there.  Let me look at this again, and make sure it is correct.
Thanks for bringing to it our attention!

No problem.  Also, should I be allowed to make changes to wiki like that, or should I be raising an issue first?

Hmm, looking again, look like Matt is using a : as the separator within his packages:
https://chocolatey.org/packages/VisualStudio2013Ultimate
I must have tried to change this to = and messed up the article.
I will correct his.

No problem. Also, should I be allowed to make changes to wiki like that, or should I be raising an issue first?

That would be for @ferventcoder to comment on for the official answer :smile_cat:
In my mind, editing the wiki should be allowed, crowd sourcing documentation has a lot of merit.  However, perhaps we might want to use a Pull Request model for this, rather than allowing editing directly, to ensure the changes are actually required/desired.

perhaps. How does on PR wiki docs?

perhaps. How does on PR wiki docs?

Boo! I thought since the wiki is just a git repo under the hood that this would be possible, but looks like you have to fudge it!
http://fusiongrokker.com/post/how-you-can-contribute-to-taffy-documentation

Can this be closed?

I'm happy for it to be closed


Preparing 0.18 release

@bubba when this is accepted, can you deal with the matching release process for lsp-test?


Define locations for file storage in a configuration file, instead of using python's file path

Currently, there are about 17 lines spread among different files in the openpilot codebase where something similar to the following occurs:
SOME_DIR = os.path.dirname(os.path.abspath(__file__))

which is merely a definition of a path, probably for storing files or reading previously stored ones. The benefit of this is probably being able to define paths dynamically, without breaking the system if something is moved from one place to another.
There is however a cleaner way to do this, which is defining these locations in a configuration file instead, like an INI file or a YAML file. Then all the algorithms which need access to these paths will be able to get them by reading the configuration file. There are plenty of lightweight configuration-file-reading libraries out there which could be used to accomplish this.
I'm interested in hearing thoughts on this enhancement request.

This doesn't sound cleaner, but maybe I'm misunderstanding what you mean. Open a PR with an example if you'd like to discuss further.

Well yes, I guess "cleaner" is also a matter of opinion. I have created a very rough PR to better illustrate what I propose. Let me know what you think.


First stab at UBI dashboards

Description
Dashboards to visualize UBI query events
Issues Resolved
https://github.com/orgs/o19s/projects/4/views/1?pane=issue&itemId=82044054
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Notes for reviewer/contributor
The ticket above should be converted to an issue (I wanted to do so, but different organizations o19s vs opensearch-project).
There are remaining issues in this first iteration of Dashboards:

In the panes for Searches by day of week and hour of day, there can be missing entries if searches do not happen in specific days of hours.
In the same panes as above, the ordering is not satisfactory, currently days are ordered by decreasing number of queries, this is also the case for hours. For hours one could use alphanumeric ordering if hours would be strings of hours formatted as double digits.

Approaches that didn't work:

Use the formatting facility in the scripted fields page (in index patterns). First, left padding zeroes doesn't work: https://github.com/elastic/kibana/issues/18625
It's not clear formatting would help, as I don't know if Dashboards would sort on the numerical value or on the string representation (perhaps the latter, but it doesn't work).
I think I tried to use datw formatting, but that didn't work: https://discuss.elastic.co/t/how-can-i-zero-pad-a-string-in-painless/101914
Manually creating strings with 0 left-padding. This probably can still be fixed. I used the following query to test the idea in the Dev pane:

GET ubi_queries/_search
{
  "query": { "match_all": {} },
  "script_fields": {
    "hour": {
      "script": {
        "lang": "painless",
        "source": "String.valueOf(doc['timestamp'].value.getHour()).padLeft(2, '0')"
      }
    }
  }
}

Update
Working with filter aggregations works and does the trick for the mentioned issues:

In the panes for Searches by day of week and hour of day, there can be missing entries if searches do not happen in specific days of hours.
In the same panes as above, the ordering is not satisfactory, currently days are ordered by decreasing number of queries, this is also the case for hours. For hours one could use alphanumeric ordering if hours would be strings of hours formatted as double digits.

Change the field names in the visualization for Top Searches Without Results and Most common queries to match the mappings and the actually existing fields when ubi_queries is properly set up:

user_query.keyword --> user_query
query_response_object_ids.keyword--> query_response_hit_ids

The visualization with the most frequently returned documents currently has the challenge that there is an inconsistency between the mapping we apply for the ubi_queries index and the implementation how the ubi query event is being built.
The mappings say the field is called query_response_hit_ids (see https://github.com/opensearch-project/user-behavior-insights/blob/main/src/main/resources/queries-mapping.json#L8) while the implementation stores the ids in the field query_response_object_ids (see https://github.com/opensearch-project/user-behavior-insights/blob/main/src/main/java/org/opensearch/ubi/UbiActionFilter.java#L238). Opened an issue for that in the UBI project: https://github.com/opensearch-project/user-behavior-insights/issues/68
I suggest we exclude that visualization from the Dashboard for now until the bug is fixed and include that afterwards in the next iteration.

With #68 fixed we can update the visualization for the most frequently returned docs.
@alexeyrodriguez  I can't push to this branch so I sent you an updated dashboards file for your review. If that looks alright from your perspective you can update this PR and remove the "draft" state from it and we can get moving again.
Thanks!


replace non-standard quotation marks fixes #79

I added a regular expression that replaces non-escaped opening and closing quotation marks (” and “) with regular quotation marks (").

Don't replace the actual message's content, it may be used later by a user.
Replace somewhere before parsing, but leave the actual message untouched


Use java_executable_runfiles_path if available

This is a workaround for the issue described here. Instead of waiting for bazel 0.11 to be generally available (see discussion), this change checks whether the new java_executable_runfiles_path method is available and uses it now if it is. Otherwise the logic is the same as what it was previously.

Okay, signed CLA from travisbrown-stripe, commenting to trigger check.

stripe signed the CLA as a company. It's a pain this system never sees that, but I can override, so just an annoyance.
👍
when the checks all go green.

Thanks @johnynek (I've signed the CLA with my @travisbrown account and know that works—not sure what's up with @travisbrown-stripe).

Ugh, I'll rebase to change the author.

As @travisbrown-stripe I'm okay with my commits being contributed to this project.

don't worry about the bot. I can just ignore.

the intellij test failed on OSX.
Still running: "test_intellij_aspect ci master"
Log:
Cloning into 'intellij'...
Already on 'master'
Your branch is up-to-date with 'origin/master'.
................
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Analyzing: 13 targets (7 packages loaded)
Analyzing: 13 targets (7 packages loaded)
Analyzing: 13 targets (25 packages loaded)
Analyzing: 13 targets (30 packages loaded)
Analyzing: 13 targets (40 packages loaded)
WARNING: /private/var/tmp/_bazel_travis/a3a16f885d4328ea95ecbe968a77f7d2/external/com_google_protobuf_java/WORKSPACE:1: Workspace name in /private/var/tmp/_bazel_travis/a3a16f885d4328ea95ecbe968a77f7d2/external/com_google_protobuf_java/WORKSPACE (@com_google_protobuf) does not match the name given in the repository's definition (@com_google_protobuf_java); this will cause a build error in future versions
Analyzing: 13 targets (42 packages loaded)
Analyzing: 13 targets (43 packages loaded)
Analyzing: 13 targets (43 packages loaded)
Analyzing: 13 targets (43 packages loaded)
Analyzing: 13 targets (43 packages loaded)
Analyzing: 13 targets (43 packages loaded)
Analyzing: 13 targets (43 packages loaded)
Analyzing: 13 targets (43 packages loaded)
Analyzing: 13 targets (43 packages loaded)
INFO: Analysed 13 targets (46 packages loaded).
INFO: Found 8 targets and 5 test targets...
[0 / 2] [-----] BazelWorkspaceStatusAction stable-status.txt
[15 / 48] Compiling external/com_google_protobuf_java/src/google/protobuf/io/printer.cc [for host]; 0s darwin-sandbox
[32 / 65] Compiling external/com_google_protobuf_java/src/google/protobuf/util/field_mask_util.cc [for host]; 0s darwin-sandbox
[50 / 83] Compiling external/com_google_protobuf_java/src/google/protobuf/util/internal/datapiece.cc [for host]; 0s darwin-sandbox
INFO: From Linking external/com_google_protobuf_java/libprotobuf.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/com_google_protobuf_java/libprotobuf.a(gzip_stream.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: bazel-out/host/bin/external/com_google_protobuf_java/libprotobuf.a(error_listener.o) has no symbols
[67 / 92] Compiling external/com_google_protobuf_java/src/google/protobuf/message_lite.cc [for host]; 0s darwin-sandbox
ERROR: /private/var/tmp/_bazel_travis/a3a16f885d4328ea95ecbe968a77f7d2/external/com_google_protobuf_java/BUILD:77:1: C++ compilation of rule '@com_google_protobuf_java//:protobuf_lite' failed (Exit 1)
external/com_google_protobuf_java/src/google/protobuf/stubs/once.cc:66:32: error: no matching function for call to 'Acquire_Load'
  internal::AtomicWord state = internal::Acquire_Load(once);
                               ^~~~~~~~~~~~~~~~~~~~~~
external/com_google_protobuf_java/src/google/protobuf/stubs/atomicops_internals_x86_gcc.h:163:17: note: candidate function not viable: no known conversion from 'ProtobufOnceType *' (aka 'std::__1::once_flag *') to 'const volatile Atomic32 *' (aka 'const volatile int *') for 1st argument
inline Atomic32 Acquire_Load(volatile const Atomic32* ptr) {
                ^
external/com_google_protobuf_java/src/google/protobuf/stubs/atomicops_internals_x86_gcc.h:256:17: note: candidate function not viable: no known conversion from 'ProtobufOnceType *' (aka 'std::__1::once_flag *') to 'const volatile Atomic64 *' (aka 'const volatile long *') for 1st argument
inline Atomic64 Acquire_Load(volatile const Atomic64* ptr) {
                ^
external/com_google_protobuf_java/src/google/protobuf/stubs/once.cc:68:16: error: use of undeclared identifier 'ONCE_STATE_DONE'
  if (state == ONCE_STATE_DONE) {
               ^
external/com_google_protobuf_java/src/google/protobuf/stubs/once.cc:79:13: error: use of undeclared identifier 'ONCE_STATE_UNINITIALIZED'
      once, ONCE_STATE_UNINITIALIZED, ONCE_STATE_EXECUTING_CLOSURE);
            ^
external/com_google_protobuf_java/src/google/protobuf/stubs/once.cc:79:39: error: use of undeclared identifier 'ONCE_STATE_EXECUTING_CLOSURE'
      once, ONCE_STATE_UNINITIALIZED, ONCE_STATE_EXECUTING_CLOSURE);
                                      ^
external/com_google_protobuf_java/src/google/protobuf/stubs/once.cc:80:16: error: use of undeclared identifier 'ONCE_STATE_UNINITIALIZED'
  if (state == ONCE_STATE_UNINITIALIZED) {
               ^
external/com_google_protobuf_java/src/google/protobuf/stubs/once.cc:84:35: error: use of undeclared identifier 'ONCE_STATE_DONE'
    internal::Release_Store(once, ONCE_STATE_DONE);
                                  ^
external/com_google_protobuf_java/src/google/protobuf/stubs/once.cc:88:21: error: use of undeclared identifier 'ONCE_STATE_EXECUTING_CLOSURE'
    while (state == ONCE_STATE_EXECUTING_CLOSURE) {
                    ^
external/com_google_protobuf_java/src/google/protobuf/stubs/once.cc:91:15: error: no matching function for call to 'Acquire_Load'
      state = internal::Acquire_Load(once);
              ^~~~~~~~~~~~~~~~~~~~~~
external/com_google_protobuf_java/src/google/protobuf/stubs/atomicops_internals_x86_gcc.h:163:17: note: candidate function not viable: no known conversion from 'ProtobufOnceType *' (aka 'std::__1::once_flag *') to 'const volatile Atomic32 *' (aka 'const volatile int *') for 1st argument
inline Atomic32 Acquire_Load(volatile const Atomic32* ptr) {
                ^
external/com_google_protobuf_java/src/google/protobuf/stubs/atomicops_internals_x86_gcc.h:256:17: note: candidate function not viable: no known conversion from 'ProtobufOnceType *' (aka 'std::__1::once_flag *') to 'const volatile Atomic64 *' (aka 'const volatile long *') for 1st argument
inline Atomic64 Acquire_Load(volatile const Atomic64* ptr) {
                ^
8 errors generated.
INFO: Elapsed time: 139.636s, Critical Path: 9.71s
FAILED: Build did NOT complete successfully
//aspect/testing/tests/src/com/google/idea/blaze/aspect/scala/scalabinary:ScalaBinaryTest NO STATUS
//aspect/testing/tests/src/com/google/idea/blaze/aspect/scala/scalalibrary:ScalaLibraryTest NO STATUS
//aspect/testing/tests/src/com/google/idea/blaze/aspect/scala/scalamacrolibrary:ScalaMacroLibraryTest NO STATUS
//aspect/testing/tests/src/com/google/idea/blaze/aspect/scala/scalatest:FooTest NO STATUS
//aspect/testing/tests/src/com/google/idea/blaze/aspect/scala/scalatest:ScalaTestTest NO STATUS
Executed 0 out of 5 tests: 5 were skipped.
Test "test_intellij_aspect ci master" failed  (143 sec)
The command "bash $TEST_SCRIPT ci" exited with 1.

rerunning to make sure it isn't transient.

looks like the intellij failure is legit... not sure if the test is broken or not... it seems like this is failing before it ever gets to your code.

Travis,
Why did you need to add another layer of if/else? Why doesn’t the current code solve it?
@chaoren any chance you can help take a look at why the IntelliJ test is failing?
It’s not known to be flaky so I’d really rather not ignore it

@ittaiz I wish I knew! There's an explanation of the issue I'm seeing here, but the short version is that executable._java.short_path and java_executable_runfiles_path return the same thing, while java_executable_exec_path gives a path with the external directory in it.

For what it's worth the IntelliJ test fails for me locally with the same errors (on both OS X and Linux).

Can you check what happens locally on master for the IntelliJ test?
On Wed, 21 Mar 2018 at 17:52 Travis Brown<EMAIL_ADDRESS>wrote:

For what it's worth the IntelliJ test fails for me locally with the same
errors (on both OS X and Linux).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/446#issuecomment-374988934,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF7rnhIy4loSwa1zAApRYYGb5q9fIks5tgnchgaJpZM4SyyhT
.

@ittaiz Sorry, yes, that's what I meant—./test_intellij_aspect.sh fails locally on master for me on both OS X and Linux.

Yep. Can confirm it's broken without your change. I'll investigate.

@chaoren thanks!
Travis,
The thing I’m somewhat bothered by is that we have no test to protect us from a regression and we have no understanding as to why this is happening...
@dslomov do you happen to know why we need to do this or know who might know?

@ittaiz Yeah, sorry, we thought our github repo was covered by CI, but it turns out aspect tests haven't been running since the migration to buildkite.

I think we should merge. What do you think @ittaiz ?

@ittaiz Understood. My reasoning is that all this does is put in place the longer-term java_executable_runfiles_path solution indicated in the TODO from #409 when it's available, and doesn't change current behavior for the cases where it's not.

Ok, now I understand :)
Thank you for reiterating three times...
I now understand.
Definitely merge.
On Wed, 21 Mar 2018 at 19:33 Travis Brown<EMAIL_ADDRESS>wrote:

@ittaiz https://github.com/ittaiz Understood. My reasoning is that all
this does is put in place the longer-term java_executable_runfiles_path
solution indicated in the TODO from #409
https://github.com/bazelbuild/rules_scala/pull/409 when it's available,
and doesn't change current behavior for the cases where it's not.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/446#issuecomment-375030312,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF-dGLrx2NE0jgvgNGlIfHulQ7tK_ks5tgo7ugaJpZM4SyyhT
.


Restore Domain Events feature

Keep Domain Events and Application Events separate.
Domain Events are added to the Domain Entities and raised from ApplicationDbContext when changes are saved. The domain events are handled using the MediatR INotificationHandler
Application Events can be raised from within the Application Commands/Queries using mediator.Publish() and are also handled using the MediatR INotificationHandler
This does mean that we will need to pay the price of depending on MediatR in our Domain Layer - but it is a small price to pay.

#36


Purge block synchronizer every time we transition out of CatchUp

The chain of events that lead to the error is:

Node restart for the emergency upgrade, chain is rewind to block 22 (switch block of Era 2)
Immediate switch block 23 is created, storage marks it complete
Node switches to CatchUp - and the sync identifier is SyncedBlockIdentifier(block 22)
MetaBlock marks the block 23 complete

Thanks to the added purge, it is expected that catch_up_process() realizes that sync progress is Idle and will set-up sync leap with BlockIdentifier or LocalTip, instead of SyncedBlockIdentifier(block 22) as above.
Closes #4043

bors try


Stage size jumps to full when saving a component

If the stage is reduced in size in Gardenjs and then a component is saved, the stage jumps back to its maximum size.
The behavior should be such that the selected stage size remains saved after the code of components is saved.

Error can no longer be reproduced.


Update ui_shortcuts.py

GSOC2024 ZEROTHLAW0095 UPDATES
Purpose of PR?:
Fixes #
Does this PR introduce a breaking change?
If the changes in this PR are manually verified, list down the scenarios covered::
Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Does this PR results in some Documentation changes?
If yes, include the list of Documentation changes
Checklist:

[x] Bug fix. Fixes #
[x] New feature (Non-API breaking changes that adds functionality)
[x] PR Title follows the convention of  <type>: <subject>
[x] Commit has unit tests

If possible please check this proposal

Please can you link the issue. What does this solve?
And we need also the ui file.

This can enhance the UI while viewing the UI in a different modes.

2)More media queries have been added and better z transform visibility
Please let me know if further clarifications are needed


Update sharepoint-pnp-cmdlets.md

SharePoint 2019 version was missing.

Docs Build status updates of commit 3324780:
:clock10: Full build: the average full build time is 18 min(s) 9 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 3324780:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/docs-conceptual/sharepoint-pnp/sharepoint-pnp-cmdlets.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Translations update from Hosted Weblate

Translations update from Hosted Weblate for Moox/Jobs.
Current translation status:

Not wanted translation, Moox should not be in Breadcrumb


Handle imports relative to project root

I'm curious about moving to use solid-register for testing, but I have a lot of code that uses imports relative to the project root, like: src/components/Thing.ts. In jest, which I'm using currently and allows the imports relative to root., the config takes a moduleDirectories property, like: moduleDirectories: ["node_modules", "."]. Is there any chance of this being added to the solid-register config?

At the moment, you can handcraft an alias from src to /src, but there's no custom resolver that would support multiple module directories as of now. I'm currently not sure if that's within the scope of this project, so I'll leave the issue open for now while I ponder it for a bit.

Maybe I don't understand the way the aliases are supposed to work. I tried:
module.exports = {
  aliases: {
    filenames: {
      src: __dirname + "/src",
    },
  },
};

...but without success. I'm still getting
Error: Cannot find module 'src/lib/dispatch'

...when I run
uvu . \\.*test.ts$ -r solid-register

...or
uvu src \\.*test.ts$ -r solid-register

Is there a way to get this to work at present? Or not so much

Sorry, you don't need __dirname; this is already being taken care of. Only relative paths did not work yet, but I have a fix in the pipeline.

Please check with version 0.2.0; aliases should now work.


CUDA-Team: ensure sustainable maintenance

Ensure sustainable maintenance
This issue tracks the epic-level work to ensure sustainable maintenance of CUDA-related software in Nixpkgs.

[ ] https://github.com/NixOS/nixpkgs/issues/232436
[ ] https://github.com/NixOS/nixpkgs/issues/232435
[ ] https://github.com/NixOS/nixpkgs/issues/232432
[ ] https://github.com/NixOS/nixpkgs/issues/232433

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/cuda-team-roadmap-and-call-for-sponsors/29495/1

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/cuda-team-roadmap-update-2023-08-29/32379/1


Add docs infra

Fixes #209
After thinking about it jupyter-book made the most sense as we use it on other projects and it is there if the docs grow.
I think pages in the site could link here rather than trying to fit docs in the app itself.
Any image URL in the markdown that looks like tsbrowse:file.tsbrowse:page_name gets rendered automatically. In this way screenshots in the docs are kept up to date. Filed #214 for completion of content.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.288%

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
753

Relevant Lines:
834

💛  - Coveralls


fixes for chefstyle bump

result of automation
https://github.com/chef/chefstyle/pull/72

If you move the chefstyle.yml to .rubocop.yml and try to run it you get these:
Error: The `Style/TrailingCommaInLiteral` cop no longer exists. Please use `Style/TrailingCommaInArrayLiteral` and/or `Style/TrailingCommaInHashLiteral` instead.
(obsolete configuration found in .rubocop.yml, please update it)
The `Lint/InvalidCharacterLiteral` cop has been removed since it was never being actually triggered.
(obsolete configuration found in .rubocop.yml, please update it)
The `Layout/IndentHash` cop has been renamed to `Layout/IndentFirstHashElement`.
(obsolete configuration found in .rubocop.yml, please update it)
The `Style/OpMethod` cop has been renamed and moved to `Naming/BinaryOperatorParameterName`.
(obsolete configuration found in .rubocop.yml, please update it)


Can't start the application

Solution builds fine. However, when you start it, the following exception is thrown:

Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in ...\Captura-master\Captura-master\bin\Debug\Captura.vshost.exe'.
Additional information: The runtime has encountered a fatal error. The address of the error was at 0x4ed03c73, on thread 0xdf0. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.

This also happened with me a while ago.

Try the release build


Fix issue #71

Add the line break & back to the subroutine regex.
Symbols are now working correctly when subroutine have: no arguments, one line arguments and more than one line arguments.
Below is the screenshot that proves it:

Thus fixing issue #71.
This change, along with PR #69 need to be released as 1.2.1 so other users can have their highlights corrected and their editor stop freezing.

Could you add a couple of unit tests for this?

Sure thing, can i edit the sample.f90 file and checks?

No need for that. Just test the regex again some text and verify that is not broken, gives false positives, etc

Oh, you mean, like:

commented subroutines
a variable named subroutineE

What else?

Here:

Found one false positive at possible matrix variables. Not caused by this commit.
subroutineA(:,13,2) = Bsubroutine(:)

Found another thing ... newer fortran subroutine declarations like pure subroutine or elemental subroutine aren't gathered by symbols. The subroutineRegEx in  variable states that sentence must start with the subroutine word ^\s*subroutine\s*. Also not caused by this commit.
Will look at it and make a new commit fixing those

Done solving the found false positives and the new fortran feature.
This is what it looked like, the matrix subroutineA(:,13,2) was marked as symbol, and elemental subroutine Elemental_sub was not.

This is how it looks now:

If you see anything else that is not tested let me know :+1:

By tests I meant something like this
https://github.com/krvajal/vscode-fortran-support/blob/985cd8b5192939c865f3eac125ba29d1aaca1c55/test/tokenizer.test.ts#L9

Oh, I don't know how to use that ... could you give me a brief explanation?

heir editor stop freezing.
What do you mean about their editors freezing? Is there any performance issue I am not aware of?

In the latest version release, if you copy and paste the code i provided in the issue, than ask for a symbol list (Ctrl+Shift+O), the regex for subroutine will fail and the editor wont let you type anymore.

It will freeze and stat using 100% CPU

Adding a test is pretty simple. You need to create another ts file inside the test directory and add something like this
// The module 'assert' provides assertion methods from node
import * as assert from "assert";
suite("your test suite name here", () => {
  test("your test name here", () => {
	var expectedResult = ???
	var actualResult = ??? // do some computation here

    assert.equal(expectedResult, actualResult);
  });

Let's merge this and make a new release.


Wine can't load OpenGL if its called from /nix/store

Describe the bug
Wine fails to load OpenGL when ran from /nix/store path
Steps To Reproduce
Fails
/nix/store/bha9n5s9jgsf624j8c5wb9cgmplb715j-wine-wow-8.5-staging/bin/wine ./Celeste.exe: logs
Expected behavior
Runs successfully
wine ./Celeste.exe: logs
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

@avnik @7c6f434c @bendlas @jmc-figueira @reckenrode
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.60, NixOS, 23.11 (Tapir), 23.11.20231102.fa804ed`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.1`
 - channels(root): `"nixos-23.05"`
 - channels(user): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

What's the result of whereis wine?

What's the result of whereis wine?

$ whereis wine
wine: /nix/store/mfzx380brvpi0zmkd8iyc1q3bjyn2pal-user-environment/bin/wine

I noticed that I'm using a stable channel to build this package. How can I use nixpkgs from my flake inputs?
Looks like { nix.registry.nixpkgs.flake = inputs.nixpkgs; } doesn't work for me.

{
  nix.registry.nixpkgs.flake = inputs.nixpkgs;
  environment.etc."nix/inputs/nixpkgs".source = inputs.nixpkgs;
  nix.nixPath = [ "/etc/nix/inputs" ];
}

Thank you @eclairevoyant


What the solution

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2020.03.24
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

C:\Users\C:\youtube-dl.exe -F https://www.youtube.com/watch?v=qJ5yvOmGQuI
[youtube] qJ5yvOmGQuI: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 11004] getaddrinfo fail
ed> (caused by URLError(gaierror(11004, 'getaddrinfo failed'),))

Fix your DNS.

probleme resolved by adding --proxy:
C:\Users\C:\youtube-dl.exe --proxy "" https://www.youtube.com/watch?v=qJ5yvOmGQuI
thanks


Update information about Automattic company

[x] This PR contains housekeeping (URL edits, copy changes etc)
[x] I am an employee of the company mentioned and confirm all details are correct

Nice one, cheers @gziolo !


ARROW-3969: [Rust] Format using stable rustfmt

Codecov Report

Merging #3138 into master will increase coverage by 0.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3138      +/-   ##
==========================================
+ Coverage   86.87%   87.08%   +0.21%
==========================================
  Files         492      492
  Lines       69148    69160      +12
==========================================
+ Hits        60070    60231     +161
+ Misses       8977     8832     -145
+ Partials      101       97       -4

Impacted Files
Coverage Δ

go/arrow/math/uint64_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/float64_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/memory/memory_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/int64_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

python/pyarrow/lib.pxd
0% <0%> (ø)
:arrow_up:

go/arrow/math/float64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/int64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/uint64_amd64.go
33.33% <0%> (ø)
:arrow_up:

cpp/src/arrow/python/common.h
100% <0%> (ø)
:arrow_up:

python/pyarrow/parquet.py
93.89% <0%> (+0.19%)
:arrow_up:

... and 26 more

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 5704d8d...99b6256. Read the comment docs.


Add function to convert Option into Iterator

I've run into a situation where I could use a function that takes an Option<T> where T: IntoIterator and return a struct that implements the Iterator trait. The behavior would be the same as the contained iterator, or std::iter::Empty if there is no contained iterator.
First of all, is there any way to do this without defining a new struct? If not, would this function be a useful addition to itertools? I'm willing to do the implementation, I just wanted to get the go-ahead first.

.into_iter().flat_map(|x| x)  (flat map with the identity function) will do this for you.

Yep, that's perfect. Thanks!


Newsletter-266: Translate in French

@Copinmalin is this still a work in progress or ready for review?

Hi @bitschmidty , I'm waiting a proofreading from @Jluc-bitcoinfr

Hi @bitschmidty : we are ready :-)


Represent streamly version constraint in a more succinct way

On further consideration, I like the way it was represented earlier.


create activity for each component

when we have an activity for each component(page) and override methods of onCreate() and  onPause() and ... . we can handle to what should first happen if user pressed home button [user pressed this button in page A: hey app do job A before going  home --- user pressed this button in page B hey app do job B befor going home ] , backButton [user pressed this button in page A: hey app do job A before going  back --- user pressed this button in page B hey app do job B befor going back ]  and ... .
but when we have just one activity com.tns.NativeScriptActivity  we can put just one logic for whole app not for each page.
I don't know, maybe there is a better way than creating activity for each component but I think it would be really good if we could have these methods [onStop,onDestroy, onBackPressed,...] for each page.

UPDATE:
using     application.android.off();
and      application.android.on()
will not help
look at the this project https://github.com/kazemihabib/sample-tns-
I added activityBackPressedEvent listener to the login page and list page.
run it and in the login page and press back button it will log in the console **nativescript back event fired in login page**  in this time open the app login and in the list page press back button it will log
**nativescript back event fired in list page** and it will go to login page now press back button again
it will log nativescript back event fired in list page but I want to log **nativescript back event fired in login page**  when some one press back in login page.
thats why I say they will not help.

There are some specifics when using page-navigation in NativeScript. The component you are navigating from is not destroyed and so when you navigate back to it is not created anew. There is more detailed explanation in this article, but probably this is the reason for the behavior you are seeing with the on/off methods.
That said, in you scenario it looks like it is more appropriate to use route guards to hook into the navigation events. You can also attach to the Router.events observable.
Note, the master version of the groceries app is already using auth.guard to redirect the initial navigation based on the login state - you might find it interesting.

Thanks to this  post http://fluentreports.com/blog/?p=261
I found  a solution :
application.android.off();
application.android.on()
should be used in loaded and unloaded events.


Refactor text conditions

Proposed changes

Move common text conditions logic to base class

save/cache actual value/text that is used for compassing and for debug purpose in case of failure
simplify TextCondition extension

Refactor unit test related to text conditions

Checklist

[ ] Checkstyle and unit tests are passed locally with my changes by running gradlew check chrome_headless firefox_headless command
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

@fokinp Please fix the tests

But there is a problem with storing actual value in Condition: it's not thread-safe. People can store a single Condition instance, say, to a static variable, and use it in multiple tests, and even in multiple parallel threads.

@asolntsev that is very strange way to use conditions, but I got the point anyway :).
In this case I see two ways:

do not cache actual value and just call getText second time for actualValue
or use ThreadLocal storage for actual value per thread

If we go with 1st option:

potentially can be a case when value/text be changed after apply call (e.g. https://github.com/selenide/selenide/issues/217) and this behavior can confuse someone who will read/analyze test run
we unnecessary do an additional browser interaction (very minor issue)
we need do refactoring of: SelectedText

And small additional point: will be nice do not check comparing logic in condition tests (like we currently do) and cover this in HtmlTest and check only that we call correct method from Html class and pass correct values to it. What do you think?

@fokinp Yes, #1 is not good (at least because of https://github.com/selenide/selenide/issues/217). Currently I don't see any other solutions except #2 (ThreadLocal ). Let's do it.

because of merge conflicts, the work continues in a new PR https://github.com/selenide/selenide/pull/1566
@fokinp Thank you for the PR and sorry for so long delay. :(


RTVS in VS 2019?

Hello,
So I'd really like to use Visual Studio 2019, but there's apparently no support for RTVS.
And what's worse is that I can't find any information. They mention python and the new goodies with it, but there's 0 mention of R, not even to say that the support for it is discontinued or not
So, my question is, will R (RTVS) be supported in Visual Studio 2019 eventually?

Correct, R is not available in VS 2019. Pleasee see https://docs.microsoft.com/en-us/visualstudio/porting/port-migrate-upgrade-visual-studio-projects-2019?view=vs-2017.
"R Tools for Visual Studio | R Tools for Visual Studio was removed from the Data Science Workload in Visual Studio 2019 Preview.You can continue using Visual Studio 2017 or alternatives like RStudio."

That is indeed incredibly sad :(
Thank your very much for the information; I wasn't able to find it in google and didn't know where to search for it.
I really wish an RTVS extension can be made for VS2019, like there was one for VS before 2017.
I programme in both .NET + R at the same project (where R is called via R.NET) so having everything in one IDE has been amazing.

I have to ask (then duck for cover) but have you tried it in VSCode? I'll be honest that I have not put all of the extensions in to give it a try, but it has something that has been on my list for a while. So if you want to work ahead and take one for the team, I would really appreciate it. :)

@MikhailArkhipov thanks for this important update. May I ask you a question from a SQL Server and ML Server customers’ perspective? Does the abandonment of RTVS mean Microsoft is fully behind RStudio and no longer planning to develop its own IDE/RMarkdown tool for R anymore? Any further pointers would be welcome. Thank you.

I have to ask (then duck for cover) but have you tried it in VSCode? I'll be honest that I have not put all of the extensions in to give it a try, but it has something that has been on my list for a while. So if you want to work ahead and take one for the team, I would really appreciate it. :)

Hehe :P
Well, my project is VB.NET + R, and I don't think that VS Code supports VB.NET.
To be honest, I haven't used VS Code that much; It was amazing for when I wanted to learn React, but I don't think of it as an IDE so much as I think of it as a supercharged text editor.. hence, for now at least, I wouldn't want to use it for this kind of project.
I could easily see it replacing RStudio for R development if it supports showing the Variables, the Plots and the R Help though. I gave it a try now but the R plugin cannot find any of my R installations and I'll have to find out how to show it where R is; but that's for another day.

I already published R extension to VS Code which is based on RTVS. But it is a personal project not officially supported. It is smaller subset of features, mostly around editor.
https://marketplace.visualstudio.com/items?itemName=Mikhail-Arkhipov.r

Yeah, this is the extension I used. Open load I get the error "Unable to find R interpreter".
I'm not sure if the problem is that I've changed R's installation folder to "C:\Progs\R", but I do have it on registry
Both "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R64" and "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\R-core\R" are populated with the "Current Version" and "InstallPath"
Perhaps if I reinstall R it will find it - maybe some cleaning programme did some damage.

@N1h1l1sT - open a bug at https://github.com/MikhailArkhipov/vscode-r/issues and post content or a screenshot of keys under the SOFTWARE\R-core\R. Thanks.

R Tools for Visual Studio | R Tools for Visual Studio was removed from the Data Science Workload in Visual Studio 2019 Preview.You can continue using Visual Studio 2017 or alternatives like RStudio.

That's insane! RTVS is an excellent toolkit and seems light years ahead of the VS Python tools. I adopted RTVS over Rstudio on Windows machines and have never looked back, I really appreciated the feature set. I guess I'll be moving over to VS Code...

I think using RTVS in vs2017 is much more comfortable than Rstudio, but in vscode it doesn't behave as good as in vs2017

https://marketplace.visualstudio.com/items?itemName=MikhailArkhipov007.RTVS2019

https://marketplace.visualstudio.com/items?itemName=MikhailArkhipov007.RTVS2019

We're sorry, the page you requested cannot be found!

:(

Apparently there is a separate step to make extension public. Fixed.

Blimey! RTVS for VS2019 !! Colour me excited!
I downloaded it the second I saw the link.
Unfortunately when I'm trying to open R Solution files (.sln), VS2019 (latest version) open but it hungs on opening the solution; nothing ever loads for me.
Now I do have lots of other extensions installed so I'll need to test further, but for now, I'm just so happy to see RTVS for VS2019 can be a thing after all :D

There were some changes in project system APIs in 2019. Try open projects separately and if it works, try making new solution and add existing projects to it.

Unfortunately I am not able to get this working. Trying to create a new R project returns an error box "one or more errors occurred" and trying to open an existing R project causes VS2019 to hang indefinitely.

What happens if you try and create new project? I don't have many old solutions handy, but one I have from 2017 seems to work. VS should also save error log in either
Users\USER\AppData\Local\Microsoft\VisualStudio\16.0_* or in similar path in AppData\Roaming\...

VS should also save error log in either Users\USER\AppData\Local\Microsoft\VisualStudio\16.0_* or in similar path in AppData\Roaming\...

I checked both locations but didn't find any error logs. I installed both the .NET Core and the .Net desktop development (C#) workloads but I am still unable to create new R projects or load old ones.

Any update on this? I have tried uninstalling and reinstalling the extension and installing other features including .NET desktop development, .NET Core cross-platform development and Visual Studio extension development. It seems that others have been successful using the 2019 extension. I am still unable to create new R projects or load existing 2017 projects (which I understand may never work, that's fine). Can you advise on other things to try?

Still trying to figure it out... thinking about the fact that this issue occurs on multiple computers, I wondered if it had something to do with my VS account. My account get automatically logged in each time i reinstalled VS 2019. I tried clearing my settings and got this error:
Your settings were reset, but there were some errors.

Error 1:  Projects and Solutions: Unable to import property 'ProjectItemTemplatesLocation' because it contains invalid data '%vsspv_visualstudio_dir%\Templates\ItemTemplates'.
Error 2:  Projects and Solutions: Unable to import property 'ProjectTemplatesLocation' because it contains invalid data '%vsspv_visualstudio_dir%\Templates\ProjectTemplates'.
Error 3:  Startup: Unable to import property 'StartPageRSSUrl' because it contains invalid data ''.
Error 4:  Startup: Unable to import property 'StartPageRefreshDownloadedContent' because it contains invalid data 'true'.
Error 5:  Startup: Unable to import property 'StartPageRefreshInterval' because it contains invalid data '60'.

Looking at a blank solution, it appears that all of the RTVS functionality is installed and working---the R console is there, the menus are there, etc. I'm wondering now if the failure is just in creating the R project file itself. Perhaps these settings issues are preventing VS2019 from opening or displaying R projects. Do you have any recommendations on how to proceed? I have no idea how to fix the issue, or why it is occurring. It looks like others have experienced this issue as well, but not with RTVS specifically.

Possibly. One option is to delete all 16* folders in C:\Users[USER]\AppData\Local\Microsoft\VisualStudio, that's where VS caches stuff. It is safe, VS will rebuild it.

This did not resolve the issue unfortunately.

Are you able to create an empty R project?

No I am not able to create new R projects. I have tried creating a new solution and R project together (either with a solution-level directory or both the R project and Solution in the same directory) and also tried creating a blank solution, and then creating a new R project in that solution. I have tried these approaches on two separate machines (both Win10 x64) but in both cases I get a generic "One or more errors occurred" message.
Opening existing VS2017 R projects does not work either, but I wouldn't expect it to.

@MikhailArkhipov Is there any chance you could paste your VS2019 configurations/installed components info here? I just downloaded the latest updated and confirmed that R 4.0 interpreter is working, but I still cannot create new R projects or add existing VS 2017 R projects to blank solutions. I still haven't figured out which dependencies are missing. I'd rather not install every possible component but I will if I have to!

Microsoft Visual Studio Enterprise 2019 Preview
Version 16.6.0 Preview 2.1
VisualStudio.16.Preview/16.6.0-pre.2.1+30001.183
Microsoft .NET Framework
Version 4.8.03752
Installed Version: Enterprise
Visual C++ 2019   00435-60000-00000-AA047
Microsoft Visual C++ 2019
ASP.NET and Web Tools 2019   16.6.741.31162
ASP.NET and Web Tools 2019
ASP.NET Core Razor Language Services   <IP_ADDRESS>6803+11ed2a5ba094b51dbf240b074e708f314fdaba89
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2019   16.6.741.31162
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   16.6.741.31162
Azure App Service Tools v3.0.0
Azure Functions and Web Jobs Tools   16.6.741.31162
Azure Functions and Web Jobs Tools
C# Tools   3.6.0-2.20173.3+2242fa4fb945b97680bdd49eb5dd58285e4abb1c
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
IntelliCode Extension   1.0
IntelliCode Visual Studio Extension Detailed Info
JetBrains ReSharper Ultimate 2019.2.2   Build 192.0.20190828.114715
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2020 JetBrains, Inc.
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.30212.1
Microsoft Continuous Delivery Tools for Visual Studio   0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager   2.1.25+gdacdb9b7a1
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package
NuGet Package Manager   5.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
R Tools for Visual Studio   1.5.60428.2343
Provides project system, R Interactive window, plotting, and more for the R programming language.
Snapshot Debugging Extension   1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Data Tools   16.0.62003.20160
Microsoft SQL Server Data Tools
Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools   16.0.20323.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   3.6.0-2.20173.3+2242fa4fb945b97680bdd49eb5dd58285e4abb1c
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools <IP_ADDRESS> for F# 4.7   16.6.0-beta.20127.4+82031cd23887368b786e02c6b84fd7c49c5c2e79
Microsoft Visual F# Tools <IP_ADDRESS> for F# 4.7
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Container Tools Extensions (Preview)   1.0
View, manage, and diagnose containers within Visual Studio.
Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake
Visual Studio Tools for Containers   1.0
Visual Studio Tools for Containers

Basically .NET Cross Platform, C# Desktop, C++, Web tools, VS Extension development. Have Python now, but that shouldn't matter as I didn't have it earlier.

I'll try installing min Community later this week and try there.

Thanks @MikhailArkhipov  that would be much appreciated. I am going through a diff of your configuration info against mine but haven't seen anything obvious yet (other than a few minor version difference in C# Tools, C++ Tools and Visual Basic Tools).

I installed bare 2019 16.5.4 , then R Tools. Obviously, nothing worked. Then I added C# Desktop  - still didn't work. Adding .NET Core Cross platform development made it work.

@MikhailArkhipov I fully uninstalled VS 2017 and 2019 and followed your procedure. I am still unable to create new R projects or open existing VS 2017 R projects (same error as above). Note that I have tried installing RTVS 2019 multiple times since it was released, on 3 separate Win10 computers (including before and after reimaging one of them).
Can you provide any further troubleshooting steps? Perhaps you could export your working VS 2019 community edition configuration, and I can import it for a fresh install of VS 2019?

@MikhailArkhipov with further testing I realize that everything works except for creating the actual R project. If I create an empty solution and add R/Rmd files (by adding a text file and changing the extension) I am able to use the full functionality of R Host, syntax checking, variable viewer, plot window, etc.

@MikhailArkhipov researching the error message shows a lot of results mentioning gacutils. I'm wondering if perhaps you have an assembly registered in your global assembly cache that is required by RTVS but not a common or default setting for VS Community edition, and would not have been overwritten when you installed Bare 2019. I am not at all familiar with gacutils but I can provide a listing of my GAC if it helps.

VS does not use GAC, all VS installations are side by side since 2017. I think the only GAC-registered pieces that might remain are msbuild related.

OK thanks @MikhailArkhipov, I'm running out of ideas for why R project creation with RTVS 2019 consistently fails for me on multiple computers. The error message does suggest missing critical imports or SDKs but I'm not sure where to look, and it seems to be specifically related to the creation/reading of .rproj and .rxproj files.
I do see references to MSBuildUserExtensionsPath in my VS 2017.rxproj file, so maybe it is related to msbuild. Do you have any more ideas? Would it be possible to make the error messages in RTVS more verbose to help trace the issue?
Some example references in the .rxproj file:
  <Import Project="$(MSBuildUserExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\RTVS\Rules\rtvs.rules.props" Condition="Exists('$(MSBuildUserExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\RTVS\Rules\rtvs.rules.props')" />
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\RTVS\Rules\rtvs.rules.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\RTVS\Rules\rtvs.rules.props') And !Exists('$(MSBuildUserExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\RTVS\Rules\rtvs.rules.props')" />
  <Import Project="$(MSBuildUserExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\RTVS\Targets\Microsoft.R.targets" Condition="Exists('$(MSBuildUserExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\RTVS\Targets\Microsoft.R.targets')" />
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\RTVS\Targets\Microsoft.R.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\RTVS\Targets\Microsoft.R.targets') And !Exists('$(MSBuildUserExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\RTVS\Targets\Microsoft.R.targets')" />

Further exploration of msbuild: it looks like the rxproj files look for files in $(MSBuildUserExtensionsPath) which according to this documentation is %LOCALAPPDATA%\Microsoft\MSBuild. However, I don't have that folder at all on my system.
I also see this warning in the doc:

Using these extension mechanisms makes it harder to get repeatable builds across machines. Try to use a configuration that can be checked into your source control system and shared among all developers of your codebase.

@MikhailArkhipov Could this be the culprit?

Can confirm the same issue with the project loading/creation in Community version.
Interpreter & other things are working fine, including support for R 4.0 (at least basic functionality). The error message is the same as @mkoohafkan has reported before. I am unable to open pre-existing VS2017 R-projects (solution loads, but not the project), and unable to create new R-projects from within VS2019 (it is listed as a newly available project type, but fails with a message box error about missing SDKs).
@MikhailArkhipov, thank you so much for your efforts. RTVS is the only reason I keep a side by side installation of VS2017 and I was not able to switch from RTVS to other editors since RTVS was discontinued.

Any updates on having RTVS 2019? Does Microsoft have any plans for it or it's just abandoned?

AFAIK there won't be any. As it says in readme, RTVS was removed from 2019. I no longer work for Microsoft though.


Change the theme of the initial giphies shown

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Am not entirely sure if this exists or not,
but we would like to have a functionality where we can specify which initial giphies would be shown when the GiphyDialog is first opened.
We plan to make our own giphy channel with some cool gifs that are focused on a concrete theme, and would like to do something a long of the lines of:
<GiphyDialog defaultSearchQuery="@myChannelID"

which uses the giphy search query to show giphies from specific channel
Motivation 🔦
No response

Hi @chr4ss12
Thanks for your feedback! Unfortunately, it's not currently possible to change the initial content from the GIPHY trending feed if your integration relies on the pre-designed GIPHY Template UIs. I've passed your request to my team for future consideration.
The grid-only solution provides more flexibility as to how the grid is populated. However, it's worth considering how GIPHY invests significant effort in ensuring the trending feed consists of engaging content relevant to a broad variety of use cases.
Sorry we couldn't be of more help here. Thanks for using the GIPHY SDK.


Incorrect manufacturer detected for Bluetooth Apple Magic Keyboard

I have a Bluetooth Magic Keyboard, full size. bluetoothDevices() gives me the following:
[
  {
    device: '0x800020 < HID ACL >',
    name: 'FirstName LastName’s Keyboard',
    manufacturer: 'FirstName',
    macDevice: 'd4:dc:cd:83:d2:XX',
    macHost: '3c:06:30:3f:24:YY',
    batteryPercent: null,
    type: 'Keyboard',
    connected: true
  }
]

When I run system_profiler SPBluetoothDataType -json, I get:
{
  "SPBluetoothDataType" : [
    {
      "controller_properties" : {
        "controller_address" : "3C:06:30:3F:24:YY",
        "controller_chipset" : "BCM_4378",
        "controller_discoverable" : "attrib_off",
        "controller_firmwareVersion" : "20.1.500.3160",
        "controller_productID" : "0x4A01",
        "controller_state" : "attrib_on",
        "controller_supportedServices" : "0x382039 < HFP AVRCP A2DP HID Braille AACP GATT SerialPort >",
        "controller_transport" : "PCIe",
        "controller_vendorID" : "0x004C (Apple)"
      },
      "device_connected" : [
        {
          "FirstName LastName’s Keyboard" : {
            "device_address" : "D4:DC:CD:83:D2:XX",
            "device_batteryLevelMain" : "100%",
            "device_firmwareVersion" : "1.6.0",
            "device_minorType" : "Keyboard",
            "device_productID" : "0x026C",
            "device_rssi" : "-55",
            "device_services" : "0x800020 < HID ACL >",
            "device_vendorID" : "0x004C"
          }
        }
      ]
    }
  ]
}

I am on macOS Ventura 13.2.1. On versions < 5.12, I get no bluetooth devices. On version >= 5.12, I get my name as the manufacturer.

The issue is that if device_manufacturer is missing, it parses the manufacturer from the device_name. Instead, it should be parsing it from device_vendorID, e.g., as listed here.

@schontz … will provide a fix for that. Thank you for your investigation.

I have a POC that uses that table. I'll submit a PR, and if it's useful you can merge it.


Print NSData as text

I often get NSData representing UTF-8-encoded strings back from APIs. What I want essentially comes down to a shortcut for:
po [[NSString alloc] initWithData:(NSData *)self.mutableData encoding:NSUTF8StringEncoding

But it would need to coexist with the existing feature to print NSData representing an image. It might also be nice to have an option to copy the resulting text to the clipboard, or open it in $EDITOR or maybe even a configurable app (e.g. TextMate or CocoaJSONEditor).
Posting this here to get feedback on what kind of features/options people would want. Would you want other encodings besides UTF-8? How would the interface for that work? If there is interest and some consensus on the interface, I can probably submit a PR.

I would stick to UTF-8, IMO the other encoding don't really matter.
I like the idea of copying to clipboard, opening in editor, etc. but maybe have that as a separate command, so you could chain them like:

pstr dataVariable
$12 = @"..."
copy $12
<$12 is now on the clipboard>
editor $12
<open $EDITOR with $12>

We have a pdata added by @bartoszj in #83.

Cool, that looks like exactly what I was hoping for.

Thanks for submitting ideas! Keep em coming :sparkler:


uk_ua.lang

Thank you so much!
I'll make sure to review it when I have time.

If you guys do not mind, I’ll review that on CrowdIn, since I could see the original line. I’ll make pull request after that

@VladOliinyk Thanks for helping. I don't know if I want to have multiple PRs for the same translation though. Could just be a better idea to suggest changes in this PR and we can discuss them.

@VladOliinyk Thanks for helping. I don't know if I want to have multiple PRs for the same translation though, if that's what you mean. Could just be a better idea to suggest changes in this PR and we can discuss them.

Got ya. Ok them, since I know the authors of translation (we are from the same community tbh), I’ll just give him the translation and he’ll commit changes to his PR 👌🏻

@VladOliinyk Sounds good!

@ttrafford7 Thanks for the contribution!
To test, you can use a .lang to .json converter online. I think this works: https://www.tterrag.com/lang2json/

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

thexaero, I have updated the translation. Please check it out.
Changelog:

Corrections have been made to the translation.
Edited text for correct display in the game.

This is the final version of the translation. Unfortunately, we do not know how to translate some lines correctly. So, there are two solutions:

You can just leave the lines you don't like untranslated.
Leave the translation as it is, and if someone will find an inconsistency in the translation on confusion, they can just suggest their own versions.

In any case, I will make a post about the completion of this translation after you approve it. If users don't like the translation of a particular phrase/word and suggest a more correct translation, the changes will be made and you will be notified.

Alright, thank you so much! Can you please sign the CLA with the CLAassistant?
The vast majority of it seems great now. I'll do like you suggested. Here are the lines that still don't seem correct to me after the changes, so I'll remove their translations:
gui.xaero_make_multi_automatic_msg2
gui.xaero_make_automatic_msg2
gui.xaero_box_pushbox_boss_health
gui.xaero_box_pushbox_potion_effects
gui.xaero_keep_enlarged_minimap_unlocked
gui.xaero_box_category_include_list2
gui.xaero_enlarged_minimap_a_toggle
gui.xaero_switch_to_auto_on_death
gui.xaero_infodisplay_highlights
gui.xaero_switch_to_auto_on_death
gui.xaero_box_switch_to_auto_on_death
gui.xaero_infodisplay_custom_sub_world

Once again, thank you so much for your contribution everyone!

I already signed it) Okay, if any of the players suggest a correct translation, I'll let you know.
Thank you for this wonderful mod!)

Great, you can probably expect this translation to appear in the mod in the near future :)


feat: automatic termination criterion

Implements the automatic termination criterion proposed by Makarova et al.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Some folks using Syne Tune cannot afford BOTorch dependencies, they will not be able to use this. Maybe, one should consider re-implementing this so that internal BO code of Syne Tune is being used.


Hello, what does it do?

Sorry, but that's not a question.

Okay: where can I read about what it does?

https://github.com/SETNAHQ/Reika/blob/master/Reika.rb

Have you natural language readme or something?

No.
Honestly: where on earth did you find this repo itself? You shouldn't be asking "what does this repo do?" kind of questions to every single repo, you know. What are you actually trying to achieve in this repo, really?

Mm, why not?
I came from google by "discord bot steam workshop" and wonder what i find.

Usually I don’t need to ask what it does, because there is a readme explane what it does.

What you're saying right now is essentially equal to: "You (@saki7) must write README for your repo"
That is not usually a good way to obtain some help from the repo author.


Schedule Editor

Tool of creating AMS Schedule

[ ] Implement the server at node

[ ] Add Route Code Editor

[ ] Add Schedule List

[ ] Add 'Add Schedule'  Button


chore(deps): bump resty-events from 0.2.0 to 0.2.1

Summary
This fixes possible deadlock issue when broker the worker is connected to is killed in middle of an event execution that also acquires locks or mutexes (and then never releases them).
Checklist

[ ] ~The Pull Request has tests~
[x] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] ~There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE~

Issue reference

KAG-4480
KAG-4586

@kikito / @AndyZhang0707, can you share some light where this should be back-ported if anywhere?


Focus url bar

Here's some WIP on #342.  @bgrins, over to you.

Changes Unknown when pulling b73b0245231fe98b948967d7cca7ca26801d2dd5 on ncalexan:focus-url-bar into ** on mozilla:master**.

This landed


Patch 2:chs language update

Chs language updated:
1)Translation for "Simple" mode of "Expression detection" description had been made more clear about the functionality.
2)"Surprised"/"Surprise" in texts had been uniformed to "Surprised".
Note:
1)Updating localized description of the "Simple" mode since I found that it's easy to confuse about the feature.As in some types of models there are blendshape clips named "brows up"/"brows down" and in VSeeFace "Fun" and "Joy" are used for describing expressions but no "Smile" text is used.So it's hard to tell when "Simple" mode is enabled whether the "brows up"/"brows down" blendshape clips are used for "surprised"/"angry" expressions or they mean making yourself brows-up/brows-down to trigger the latter expressions.And smiling actually triggers "Fun" expression.
So I made the translation more clear:
"微笑"来触发"fun(有趣状态)";
"眉毛向上"来触发"surprised(惊讶状态)";
"眉毛向下"来触发"angry(生气状态)"。
In English:
Smile to trigger Fun expression;
Brows up to trigger Surprised expression;
Brows down to trigger Angry expression.
Which,though,I think it would be better if the original description of the feature also gets an update.
2)As a side result of above updating,I found both "Surprise" and "Surprised" naming conventions are valid for same expression,while in VSeeFace official website it says "Surprised" blendshape clip is used. And the texts currently beeing used in VSeeFace are not uniformed,so I set all "Surprise"/"Surprised" texts to "Surprised" in chs language (because for certain translations,I do some English label aside for annotation).

Hi, thank you for the update!
Regarding 1): I will look into rephrasing the simple expression detection decription to be more clear. I'm not quite happy with the current English description anyways.
Regarding 2): It is true that both "Surprise" and "Surprised" are treated as equivalent, but that is mostly to handle people mistyping the expression, which happens sometimes. Officially, only "Surprised" should be mentioned, so having this everywhere is good.

Thank you for the elaboration. :D


Decode basic type (int, uint) and add basic testing

Still not working properly:

I have trouble on formatting the storage given by the VM state manager. But I think that will be fine.
At some point the vm return<PHONE_NUMBER>000000000000000000000000 for the slot 0.
I don't get where come 9
The contract is:

contract intStorage {
    uint8 ui8;
    uint16 ui16;
    uint32 ui32;
    uint64 ui64;
    uint128 ui128;
    uint256 ui256;
    uint ui;
    int8 i8;
    int16 i16;
    int32 i32;
    int64 i64;
    int128 i128;
    int256 i256;
    int i;

    function intStorage () {
      ui8 = 0;
      ui16 = 0;
      ui32 = 0;
      ui64 = 0;
      ui128 = 2;
      ui256 = 0;
      ui = 0;
      i8 = 0;
      i16 = 0;
      i32 = 0;
      i64 = 0;
      i128 = 0;
      i256 = 0;
      i = 0;
    }
  }

finally I don't use the JavaScript VM for testing for now, just keep a mapping contractcode -> storage


HOSTEDCP-1234: Add KMS support on Azure clusters using Azure Key Vault

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #HOSTEDCP-1234
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/test verify

/approve


Improve access to governance contract on front end

Description
@filipvvv: it's very hard to find the address of the governance contract. I had to look at event logs on Etherscan. It would be cool to have a contract addresses list somewhere in tools/settings.
Proposal
A description of the change you'd like to see.
Screenshots
If applicable, add screenshots to help explain your problem.

FWIW: I think there are links to these in the docs. Maybe we need a better way to access that link


Rebase onto the latest master

I rebased the patch branch on the latest upstream master branch & added one commit to fix the build (https://github.com/Abestanis/FlutterToast/commit/a5ab337bf39473964c629297049173dda3d12763)
This was necessary to update Flutter.
Not sure how to proceed here. Ideally we would get this merged into upstream. Do you want me to try and do that?
In the mean time, do we want to replace the patch branch with this one so we can update Sweyer, or should we just point it to my branch?

I created https://github.com/ponnamkarthik/FlutterToast/pull/519 to hopefully land the font asset changes upstream.
In the meantime, we should decide if we want to switch Sweyer in https://github.com/nt4f04uNd/sweyer/pull/130 to this branch in my fork, or if you want to merge this into your branch.

This is no longer needed now that https://github.com/ponnamkarthik/FlutterToast/pull/519 got merged and a new version got released! 🎉

It's a bit amusing I never even noticed this PR 💀
Sorry!
The amount and quality of your contributions is far beyond of what I can process these times

The amount and quality of your contributions is far beyond of what I can process these times

Thank you @nt4f04uNd, that means a lot!
I also appreciate the time you take to review all of these, I know that that's not easy and I am more than happy to wait for a review, so please don't feel rushed.


fix(releaser): --debug has been deprecated in favor of --verbose

Thank you for contributing to log!
Please add a summary of your change
Does your change fix a particular issue?
Fixes #(issue)
Check list:

[ ] Mark if documentation changes are required.
[ ] Mark if tests were added or updated to cover the changes.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.23%. Comparing base (8a7c594) to head (0dea7ea).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   58.23%   58.23%
=======================================
  Files           4        4
  Lines         340      340
=======================================
  Hits          198      198
  Misses        138      138
  Partials        4        4

Flag
Coverage Δ

unittests
58.23% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add gulp-tslint back in. It now supports tslint v4

I simply added the latest version of gulp-tslint back into package.json and reverted the gulp task for tslint back to its former state. npm install and test both run and pass. tslint task was able to find issues when manually introduced into the code.
PR where dependency was removed: https://github.com/mgechev/angular-seed/pull/1681

Hi @nmelv170, do these changes from here need to be reverted too? https://github.com/mgechev/angular-seed/commit/57c655a1a81e29a307bd6b01329d2ad9153fe25b

@TheDonDope, I don't think so. Either way the linting will be done. this just gets it back into the gulp builds where the task was disabled.

@nmelv170 seems right that the package.json script need to be updated. I'll fix this in a separate PR.

Fixed package.json. .vscode/tasks.json seems fine.


How many hours of Chinese data are there?

How many hours of Chinese data are there? I tested and found that the reconstruction quality of some Chinese audio is significantly poor.
model: WavTokenizer-medium-speech.

How many hours of Chinese data are there? I tested and found that the reconstruction quality of some Chinese audio is significantly poor. model: WavTokenizer-medium-speech.

From the entire CommonVoice 17 dataset, we randomly selected 500,000 samples, resulting in only about 15 hours of Chinese data. If you require better performance in Chinese, please wait for the large version. Based on my experience with training LanguageCodec, the performance in Chinese improves significantly with larger data volumes. Therefore, you might consider using LanguageCodec for chinese purpose now.


Error Prompting for Types Library Installation in Version 1.2.4

I've installed version 1.2.4, and it's prompting me to install a types library for which I don't have the necessary access to install. This seems to be causing an issue.

It looks like something went wrong when the package was built & published. Previous published version (1.2.2) has all required files in dist, whereas 1.2.4 only ships index.cjs
Hope that helps!

When fix

Thanks for reporting this. This issue has been reported in several other threads. Let's keep the track here: #32


would you please give some checkpoint?

Do you have any plans to provide the checkpoint you have trained?

nope sorry