Laravel 9.x Shift

This pull request includes the changes for upgrading to Laravel 9.x. Feel free to commit any additional changes to the shift-56946 branch.
Before merging, you need to:

Checkout the shift-56946 branch
Review all pull request comments for additional changes
Run composer update (if the scripts fail, add --no-scripts)
Clear any config, route, or view cache
Thoroughly test your application (no tests?, no CI?)

If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.

:information_source: Laravel 9 moved the resources/lang folder to the top level of the project. While Shift moved and replaced references to this folder, you may have additional references to this folder which need to be updated.

:warning: Laravel 9 transitioned from SwiftMailer to Symfony Mailer. While this transition should be relatively seamless and Shift automates any tedious changes, there are some changes which are not reliably automated.
Dependencies
Some mail providers may require an additional dependency. For example, if you are using Mailgun, then you will need to install the symfony/mailgun-mailer package:
composer require symfony/mailgun-mailer symfony/http-client

For more details on what has changed you may review the Symfony Mailer section of the Upgrade Guide.

:information_source: The public/web.config file has been removed from new Laravel projects. The presence of this file creates a potential security risk for projects not using Microsoft IIS as their web server.
Shift detected this file was modified and did not remove it. Unless you are using Microsoft IIS as your web server, you should remove this file.

:warning: The FILESYSTEM_DRIVER environment variable was renamed to FILESYSTEM_DISK in Laravel 9. Shift attempted to automate this change, but you should review any additional environment configuration and rename this variable.

:warning: Shift upgraded your configuration files by defaulting them and merging your true customizations. These include values which are not changeable through core ENV variables.
You should review this commit for additional customizations or opportunities to use new ENV variables. If you have a lot of customizations, you may undo this commit with git revert 7ecde5ee and make the config file changes manually.

:warning: The token driver for API authentication is no longer available. This driver was not very robust and was removed from the documentation. Laravel now recommends using Sanctum.
If you were using the token driver, you may re-add it within your auth.php configuration file, then migrate to Sanctum at your convenience.

:information_source: Shift updated your dependencies for Laravel 9. While many of the popular packages are reviewed, you may have to update additional packages in order for your application to be compatible with Laravel 9.
Watch dealing with dependencies for tips on handling any additional package incompatibilities.

:information_source: Laravel 9 adopted anonymous migrations. Shift automated this change to align with modern Laravel conventions and avoid naming migrations.

:information_source: The HTTP client has been updated to have a default timeout of 30 seconds. Previously there was no default. The underlying request would wait indefinitely. Now an exception is thrown after 30 seconds.
If you find your requests need longer, you may prefix your request to specify a timeout:
Http::timeout(60)->get("https://laravelshift.com");

:warning: The $loop variable is no longer available when iterating over a LazyCollection. Shift detected the $loop variable being used in the following Blade templates. You should review these instances to ensure they are not iterating over a LazyCollection or track your own loop variables.

[ ] resources/views/components/navbar-menu.blade.php
[ ] resources/views/menu-item/navbar/default/template.blade.php
[ ] resources/views/menu/navbar/default/template.blade.php

:tada: Congratulations, you're now running the latest version of Laravel!
Next, you may optionally run the following Shifts to ensure your application is fully upgraded, adopts the latest Laravel conventions, and easier to maintain in the future:

Upgrade Checker ensures your application is fully upgraded by detecting any outdated code.
Laravel Fixer automatically updates your code to the latest Laravel conventions.
Tests Generator intelligently generates model factories, HTTP Tests, and configuration for your application.
CI Generator intelligently generates CI jobs to lint PHP, check code style, and run tests, including Dusk.

You may also use the Shift Workbench to automate common tasks for maintaining your Laravel and PHP applications.


Add company name and spec version to the conforming application submission email

The current email only include the email and username requiring a visit to the admin page to get the remaining information.

Resolved by PR #204


Replace beta_curriculum with curriculum

GitHub redirects beta_curriculum to curriculum but if this is the final name of the repo having it match sure feels good!
This is based off #898 as we're changing the same link thats edited in that PR once more.

This PR feels like watching a "most satisfying" video compilation.
Great work!


change language name to code (yandex translate)

Capable of entering the Language/Country name and will automatically convert it to the corresponding language code. next steps is to improve the interface of the block

Can one of the admins verify this patch?

Reminder to be careful about using "country" as opposed to "country/region"
== Hal
Hal Abelson
@.***
Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
On Wed, Feb 23, 2022 at 10:59 AM David Young-Jae Kim <
@.***> wrote:

Capable of entering the Language/Country name and will automatically
convert it to the corresponding language code. next steps is to improve the
interface of the block
You can view, comment on, or merge this pull request online at:
https://github.com/mit-cml/appinventor-sources/pull/2644
Commit Summary

6cd46c0
https://github.com/mit-cml/appinventor-sources/pull/2644/commits/6cd46c09c2b6b4347ceb08e412ab824372f0d3b3
change language name to text

File Changes
(1 file https://github.com/mit-cml/appinventor-sources/pull/2644/files)

M
appinventor/components/src/com/google/appinventor/components/runtime/YandexTranslate.java
https://github.com/mit-cml/appinventor-sources/pull/2644/files#diff-f79f5c97b4683ad5d783c31a3c259f0056f9a5e7eb75ac314412fed0d01ca1fc
(44)

Patch Links:

https://github.com/mit-cml/appinventor-sources/pull/2644.patch
https://github.com/mit-cml/appinventor-sources/pull/2644.diff

—
Reply to this email directly, view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/2644, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGAXN7F4SEXN24OPEOXFJ3U4T725ANCNFSM5PEY2MHQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Reminder to be careful about using "country" as opposed to "country/region" == Hal Hal Abelson @.*** Prof. of Comp. Sci. and Eng. MIT Dept. of Elec. Eng. and Comp. Sci.

Got it just changed to language name as of now

Good.  Thanks.
== Hal
Hal Abelson
@.***
Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
On Wed, Feb 23, 2022 at 11:10 AM David Young-Jae Kim <
@.***> wrote:

Reminder to be careful about using "country" as opposed to
"country/region" == Hal Hal Abelson @.*** Prof. of Comp. Sci. and Eng.
MIT Dept. of Elec. Eng. and Comp. Sci.
Got it just changed to language name as of now
—
Reply to this email directly, view it on GitHub
https://github.com/mit-cml/appinventor-sources/pull/2644#issuecomment-1048947458,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGAXN5ZNMEKDKGCSEHYCELU4UBHHANCNFSM5PEY2MHQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

@daki7711 I'm putting this change on hold as we are deprecating YandexTranslate in favor of the new Translate Component (see #2656). This new component uses a translation proxy run at MIT, which currently uses Amazon's translation service. I'm thinking that this mapping can be done in the proxy, so updating it would not require a component release.


Ruleset Error When Running Run-AlCops for Multiple Apps

When running Run-AlCops for multiple apps (we found this running Run-AlValidation for multiple apps) we get a ruleset error:
An error occurred while loading the included rule set file C:\ProgramData\BcContainerHelper\a13d1f4b-1a0a-4109-
a465-5b1f686a9317\ruleset.json - Could not find a part of the path 'C:\ProgramData\BcContainerHelper\9e3b2879-ba9a-42e6-a75c-
128ea394703e\ruleset.json'.
This seems to be due to due to these lines in Run-AlCops.ps1
if ($rulesetFile) {
$ruleset.includedRuleSets += @(@{
"action" = "Default"
"path" = $ruleSetFile
})
}
On the first run the rulesetFile does not exist and is created to include the AppSourceCop ruleset file. For the second app, the ruleset file does exist and the above lines include the ruleset file itself. Causing the above error. Commenting out these lines has allowed us to call Run-AlValidation for multiple apps successfully.

Fix shipped in https://www.powershellgallery.com/packages/BcContainerHelper/1.0.18-preview292

That was quick, thanks! 🚀

Shipped in 1.0.18


Rework the fence future

This PR implements GpuFuture on Arc<FenceSignalFuture>, and reworks the FenceSignalFuture to be cleaner and to fix several problems.
Most notably, this solves a corner case when submitting a present operation would succeed and submitting
a dummy command buffer with just a fence would fail.

The reason why implementing GpuFuture on Arc<FenceSignalFuture> specifically is important is that you may want to write something like this in your main loop:
let mut a_specific_frame_future = None;
let mut previous_frame_finished: Box<GpuFuture> = Box::new(DummyFuture::new()) as Box<_>;

loop {
    // Sends a draw operation after the future passed as parameter.
    let new_frame_finished_future = draw(previous_frame_finished);

    if some_condition {
        let f = Arc::new(new_frame_finished_future);
        a_specific_frame_future = Some(f.clone());
        previous_frame_finished = Box::new(f) as Box<_>;
    } else {
        previous_frame_finished = Box::new(new_frame_finished_future) as Box<_>;
    }
}


Change the initialization value in the Divide Selector Protocol default from Required to Not Required

Change the initialization value in the Divide Selector Protocol default from Required to Not Required
Updating the initialization database is not required

Codecov Report

Merging #1514 (55f3708) into master (1c48831) will decrease coverage by 0.68%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1514      +/-   ##
============================================
- Coverage     64.86%   64.17%   -0.69%
+ Complexity     2089     2080       -9
============================================
  Files           418      418
  Lines          8788     8788
  Branches        881      881
============================================
- Hits           5700     5640      -60
- Misses         2660     2719      +59
- Partials        428      429       +1

Impacted Files
Coverage Δ
Complexity Δ

...enyu/client/tars/TarsServiceBeanPostProcessor.java
29.33% <0.00%> (-61.34%)
5.00% <0.00%> (-9.00%)

...che/shenyu/sync/data/http/HttpSyncDataService.java
63.10% <0.00%> (-8.74%)
12.00% <0.00%> (ø%)

...in/alibaba/dubbo/cache/ApplicationConfigCache.java
75.86% <0.00%> (-4.60%)
20.00% <0.00%> (ø%)

...henyu/plugin/httpclient/NettyHttpClientPlugin.java
57.14% <0.00%> (-2.05%)
10.00% <0.00%> (ø%)

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 1c48831...55f3708. Read the comment docs.


Make export-module and reference maps invertible

Right now, we're enumerating all the entries to find out which keys map
to a corresponding value.  By maintaining a two-way map, we can convert
this linear search into a map lookup and skip allocation of many, many
iterator results.

The code's a bit rough, but I thought I should post something before our discussion.  I'll add perf numbers shortly.

For a small fraction of the original repro
Before:
Duration: 141.75s, Total samples = 138099ms (97.43%)
Showing nodes accounting for 126840ms, 91.85% of 138099ms total
Dropped 2840 nodes (cum <= 690.50ms)
      flat  flat%   sum%        cum   cum%
   28741ms 20.81% 20.81%    28974ms 20.98%  (anonymous) e:\ts_gh\built\local\tsc.js:113326
   26903ms 19.48% 40.29%    97402ms 70.53%  forEachFileAndExportsOfFile e:\ts_gh\built\local\tsc.js:113307
   24543ms 17.77% 58.06%    24550ms 17.78%  (anonymous) e:\ts_gh\built\local\tsc.js:113334
   20966ms 15.18% 73.25%    20966ms 15.18%  (garbage collector)
   16251ms 11.77% 85.01%    95676ms 69.28%  (anonymous) e:\ts_gh\built\local\tsc.js:113318

(The anonymous functions are the lambdas in forEachFileAndExportsOfFile)
After
Duration: 21.43s, Total samples = 20772ms (96.91%)
Showing nodes accounting for 14223ms, 68.47% of 20772ms total
Dropped 2475 nodes (cum <= 103.86ms)
      flat  flat%   sum%        cum   cum%
    1998ms  9.62%  9.62%     1998ms  9.62%  mark perf_hooks.js:391
    1094ms  5.27% 14.89%     1094ms  5.27%  measure perf_hooks.js:397
     969ms  4.66% 19.55%      969ms  4.66%  (garbage collector)
     922ms  4.44% 23.99%      922ms  4.44%  stat
     642ms  3.09% 27.08%     2125ms 10.23%  createUnionOrIntersectionProperty e:\ts_gh\built\local\tsc.js:55535

To validate, I traced the path argument to every forEachFileAndExportsOfFile call and the same calls were made in the same order.

Force push is a rebase.

@typescript-bot perf test this

I'm pretty sure we have no perf suite coverage of the builder, but why not?

I claim the material-ui check time regression is from another change because the builder (which I don't believe runs in that perf test) doesn't count towards check time.

@amcasey, if you want a project that has egregious issues with builder performance, we have one that repros issues fairly regularly (I've seen >30 minutes spent in the stage of determining what files are affected before). I expect it is largely due to the ~2500 files that are in a circular dependency snarl.

@typescript-bot pack this

@dmichon-msft Cool!  Do you mind giving it a spin?  You'll probably want to set "strictOptionalProperties": false for now.

Force push is a rebase.

I've re-verified that a trace of the traversals matches the pre-change version.


Using custom cache adapter cause a fatal error

I'm triyng to use a custom cachePool and i get always the same error :
PHP Fatal error:  Uncaught Exception: Serialization of 'Closure' is not allowed in /var/www/Sites/DiscordPHP-Bot/vendor/cache/filesystem-adapter/FilesystemCachePool.php:127

I have tried with :

Apcu
Memcached
Redis
Filesystem

And i get the same error as mentionned before for all those adapters.
PHP 7.0.12

Thanks, I'll look into it.

I use memcached like this:
$cache = new Memcached();
$cache->addServer('<IP_ADDRESS>', 11211);`
...
$myCacheKey = 'sdfsdf';
$row = $cache->get($myCacheKey);

if (!$row) {
$row = '..';
$cache->set($myCacheKey, $row, 150);
 }
return/echo $row;

Works perfect!

@dyanakiev Yeah but i mean, when i use it as a default cachePool option in the Discord class. Not in my personnal application.

Custom caches will likely be removed. Please just use the default for now.


random location

when i launch the app from home my location is over 20 miles away, and i can not change locations.

You have two options, I think: zoom out on the map and drag it around until you find your house, or use the Config Options section of the login screen to change your starting coordinates.

unable to change location by dragging but will try the cords
thanks
On Mon, Jul 25, 2016 at 6:53 PM, Hawken Rives<EMAIL_ADDRESS>wrote:

You have two options, I think: zoom out on the map and drag it around
until you find your house, or use the Config Options section of the login
screen to change your starting coordinates.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mchristopher/PokemonGo-DesktopMap/issues/252#issuecomment-235131182,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATse7dIA95u1gv92Z3V6k6hcJmxwMz0yks5qZVp9gaJpZM4JUqjF
.


Add release workflow

Adds a release workflow which is triggered every time a tag matching v*.* is pushed.
Documentation matching the commit is built and attached.
Release Notes are empty for now. We need to think about how we want to handle them in the future.
It is always possible to add them manually after the action ran.

Yes v1.0.0 works too. You can see that in my fork.
v*.* just enforces there is at least one ..


trying to get ci + test coverage setup

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Add environmentFile as an option for configuring k3s

Description of changes
Add environmentFile as an option for configuring k3s. This makes it easier to add configurations with secrets, e.g. managing a postgres connection string containing a password with sops
Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[x] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes not needed anymore?

[x] Fits CONTRIBUTING.md.

Specifically for postgres connection strings such as postgres://username:password@host:port/database. k3s supports multiple data stores for it's state and configuring those from the extra options would leak those secrets into the nix store

And thanks, I can never remember when to use its vs it's


NextJs Dynamic Loading Icon cause of reload whole page when clicking

Prerequisites

Version: 0.262.0
Are you running from source/main: no
Are you using a released build: yes
Operating system: Debian 12
Bits: 64 bits

Step to reproduce
Follow the docs: https://lucide.dev/guide/packages/lucide-react, section NextJS Example
Actual behavior
Whole page reload when clicking on any icon
Any message or error
N/A
Resources
N/A
Workaround
Wrap Icon component with memo, or useMemo to wrap the dynamic import
import { memo } from 'react';

import dynamic from 'next/dynamic';

import { LucideProps } from 'lucide-react';
import dynamicIconImports from 'lucide-react/dynamicIconImports';

type IconProps = LucideProps & {
  name: keyof typeof dynamicIconImports;
};

const Icon = memo(({ name, ...props }: IconProps) => {
  const LucideIcon = dynamic(dynamicIconImports[name]);

  return <LucideIcon {...props} />;
});

Icon.displayName = 'Icon';

export default Icon;

@sang-au Thanks for reporting.
I couldn't reproduce this, can you provide a repo with this issue?

Ok, lets me try to move the code to new repository. I will give you link when I complete

I need a reproduction repo. I will reopen this issue if the repo is provided.

I had the same issue. Tried to replicate it on a new repo but it was working fine an did not have the issue, but on my original I kept having this issue. So I finally just slapped Memo on the Dynamic Icon component and called it a day.
import React from "react";
import dynamic from "next/dynamic";
import { LucideProps } from "lucide-react";
import dynamicIconImports from "lucide-react/dynamicIconImports";

interface IconProps extends LucideProps {
  name: keyof typeof dynamicIconImports;
}

const _Icon = ({ name, ...props }: IconProps) => {
  const LucideIcon = dynamic(dynamicIconImports[name]);

  return <LucideIcon {...props} />;
};

// 🩹 Fix for unnecessary re-renders
const Icon = React.memo(_Icon);

export default Icon;


New package: Seewo.EasiCamera version <IP_ADDRESS>23

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.4 schema?

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/110680&drop=dogfoodAlpha

Automatic Validation ended with:

Nope. And I didn't see this Windows Security warning either when I was trying to install it in my two virtual machines.


FR: os.getenv alias

It's not a big deal but I think would fit into product's paradigm just fine.

@randych-gilad - what do you think, have the alias just be getenv, without needing the module prefix?

@myzie I think this would be great if you also add its counterpart as alias in the same fashion.

Hi @randych-gilad, the v0.9.0 release includes getenv, setenv, and unsetenv aliases.
https://github.com/risor-io/risor/releases/tag/v0.9.0
You can get the update via brew upgrade risor or go install -tags aws<EMAIL_ADDRESS>


fix catastrophic backtracking when removing HTML comments

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

The regexp /<!--(.|\s)*?-->/g can experience catastrophic backtracking while matching a string like:
<!--                  --X >
(notice how it does not end with -->).
This means it might take literally years to test the regexp on a string of 100 chars.
Here is a regexp debugger showcasing the catastrophic backtracking.
This is because both . and \s matches the space character, and there is therefore a large number of possible ways for (.|\s)* to match a long sequence of spaces.
The regexp evaluator is greedy, and the problem therefore only exists when the string does not match the regexp, as the regexp evaluator will try every possibility before giving up.
The fix is simply to remove the ambiguity such that there is only one possible way for the regexp to match a sequence of white-space.

Congrats @erik-krogh on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


console: figure out how to trigger event refreshes when events are added

Right now, this is all polling-based. Push > poll/pull

I'm not sure there's much we can do here without pg_notify. But definitely open ideas.
The issue is that events can be created on multiple controllers, but we only connect to a single controller for the console service. So even if we had a channel to trigger when an event was created on a controller, it might get created on a different controller than the console is using.
It seems like the only real option here is to continue to poll the db and perhaps adjust the frequency a bit for different use cases. I recently increased this polling interval to 500ms which def makes the UX better.


[OPPRO-188] Fix scala and java codestyle for backend velox

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Also, I'd suggest creating a file dev/intellij-codestyle.xml to store code style settings of intellij IDE
https://www.jetbrains.com/help/idea/configuring-code-style.html#export-code-style
Anyway it's better to provide a way to automatically format the codes if we enable these checks from CI.

I have added dev/intellij-codestyle.xml
Now in CI, we just check C++ clang format, Not  automatically format.
Maybe we can support scalafmt in the next step, it supports cli and other popular IDEs.

Now in CI, we just check C++ clang format, Not automatically format.

User can use Intellij to perform auto formatting since we provide the style config. That's enough and we don't need to do formatting on CI. CI is for checking.
Thanks.

Is there any thing needs to modify?
Can you help approve? @zhztheplayer


[Bug] pqsql field initialization data type bug

pgsql-data.sql the table t_flink_app build column initialization data type bug
Problem Summary:
What is changed and how it works?
Proposal: xxx
Feel free to ping committers for the review!
Contribution Checklist

Make sure that the pull request corresponds to a GITHUB issue.

Name the pull request in the form "[Feature] [component] Title of the pull request", where Feature can be replaced by Hotfix, Bug, etc.

Minor fixes should be named following this pattern: [hotfix] [docs] Fix typo in README.md doc.

Purpose of this pull request

@wolfboys PTAL


Prepare for BabaSSL 8.3.0 release

Waiting for #182 to be merged in.
Ping @uudiin @dongbeiouba @jinjiu to review the change logs.
Estimated release date of 8.3.0 would probably on next Monday (2.28)

And also https://github.com/BabaSSL/BabaSSL/issues/166 is going to be fixed before 8.3.0 is released.

'hold' is removed. Rebased to master and going to merge...


Docs & figures on how to register external services like cloudant, google maps, etc. in registry

Registry supports a file-based catalog that can be used to register static external services that are not part of a microservice application deployment. For example, hosted data stores, third party services like maps, social integrations, etc.
We need docs on how to get such services registered with the registry and how the application would use the sidecar to communicate with such services. The primary use case for using the sidecar to communicate with external services, instead of direct communication, is for the purposes of resilience testing.

resolved by https://github.com/amalgam8/amalgam8.github.io/pull/66


Remove Error Occurred template + Emoji Strip

FEATURE OVERVIEW
User Story
As a developer, I want to deprecate the Error Occurred template and stop stripping emoji. Rogue is live and should support passing emoji.
This is a shot in the dark but possibly could be a reason why we saw some Notice: Undefined index: why_participated in dosomething_rogue_transform_reportback() errors in the Phoenix logs in our testing yesterday.
Additional Information

#912, #913, #907
https://github.com/DoSomething/gambit-conversations/pull/146#pullrequestreview-66012364

Why This Matters
Removing code we don't need any more = less stuff to break

Fixed by #977


TypeError: Input does not meet YAML 1.2

It appears that this action has evaluation problems when mixed with one that has a default expression. When that is overridden or the retry wrapper removed then the warnings don't appear. The simple workaround is to then to set the value explicitly to avoid this evaluation gotcha, but it would be nice for this action to handle it appropriately.
Original investigation is described in https://github.com/gradle/gradle-build-action/issues/316

Action definition
cache-read-only:
  description: |
    When 'true', existing entries will be read from the cache but no entries will be written.
    By default this value is 'false' for workflows on the GitHub default branch and 'true' for workflows on other branches.
  required: false
  default: ${{ github.ref_name != github.event.repository.default_branch }}

Error details
Warning: Unhandled error in Gradle post-action - job will continue: TypeError: Input does not meet YAML 1.2 "Core Schema" specification: cache-read-only
[8](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:8)
Support boolean input list: `true | True | TRUE | false | False | FALSE`
[9](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:9)
TypeError: Input does not meet YAML 1.2 "Core Schema" specification: cache-read-only
[10](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:10)
Support boolean input list: `true | True | TRUE | false | False | FALSE`
[11](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:11)
    at Object.getBooleanInput (/home/runner/work/_actions/Wandalen/gradle-build-action/dist/webpack:/gradle-build-action/node_modules/@actions/core/lib/core.js:151:1)
[12](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:12)
    at isCacheReadOnly (/home/runner/work/_actions/Wandalen/gradle-build-action/dist/webpack:/gradle-build-action/src/cache-utils.ts:60:1)
[13](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:13)
    at Object.<anonymous> (/home/runner/work/_actions/Wandalen/gradle-build-action/dist/webpack:/gradle-build-action/src/caches.ts:77:1)
[14](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:14)
    at Generator.next (<anonymous>)
[15](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:15)
    at /home/runner/work/_actions/Wandalen/gradle-build-action/dist/webpack:/gradle-build-action/src/caches.ts:31:1
[16](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:16)
    at new Promise (<anonymous>)
[17](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:17)
    at __webpack_modules__.3800.__awaiter (/home/runner/work/_actions/Wandalen/gradle-build-action/dist/webpack:/gradle-build-action/src/caches.ts:27:1)
[18](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:18)
    at Object.save (/home/runner/work/_actions/Wandalen/gradle-build-action/dist/webpack:/gradle-build-action/src/caches.ts:73:1)
[19](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:19)
    at Object.<anonymous> (/home/runner/work/_actions/Wandalen/gradle-build-action/dist/webpack:/gradle-build-action/src/setup-gradle.ts:79:1)
[20](https://github.com/ben-manes/caffeine/runs/6786982478?check_suite_focus=true#step:36:20)
    at Generator.next (<anonymous>)

Hello, @ben-manes
It's is a feature that is not implemented yet.
I know the action cannot read default values that contain some context variables ( the answer to related issue ).
I'll solve the issue as soon as I can.

Thanks @dmvict! It’s not an issue for me and I am simply reporting the warnings upstream. Thanks for the useful action.

Hello, @ben-manes
I've added the feature for resolving inputs from contexts. See pull request #50.
After publishing, the action will resolve inputs from contexts env and github. Maybe, it's enough for the most actions. Or I will work with new issues :)
I hope that the new version will help you.

Thanks! 😁

ello, @ben-manes
The new version was released.
Please, try to use external action with implicit context-based defaults.
Report new problems or confirm that your problem is solved.

It fails 🙁

The requested context "job" does not supported by action.
https://github.com/ben-manes/caffeine/pull/731

Thanks, the matrix context is also required for my usage.

Hello, @ben-manes
I added full support of job context in #57
Basic support implemented in #56.
New release should solve your issue.

Thanks @dmvict,
I'll need support for matrix before I can upgrade (example failure).

Error: The requested context "matrix" does not supported by action.

Hello, @ben-manes
I forgot to inform you about new version of the action.
The action should handle contexts correctly. The non handled context is inputs it is related to the code in the external library:
https://github.com/cschleiden/github-actions-parser/pull/45

Wonderful, thanks!


add lazy loading option

Feature Request:
I have a TW with loads of tiddlers (over 3000) and (especially on Android) it takes quite a while to initially load.  Lazy loading would (I think speed this up quite a bit)

I am running (check any that apply, put an x inside the [ ] to check a box, like this: [x]):

[ ] Windows
[ ] OSX
[x ] Linux
[ ] Other

and using

[ ] The nodejs version
[x ] The single file executable

Before posting I read issue guidelines and:

[x ] I am using the newest version
[x ] The answer to my question isn't listed in the documentation or this isn't
a question
[ x] This is not a duplicate issue
[x ] I have not done anything that required me to set acceptance to
I Will Not Get Tech Support For This

This is not a bad idea but I think that it is going to be low priority.
As a stop-gap until it is implemented you may be able to take advantage of the new features that let you create separate wikis from tiddlers in your existing wiki to split it up by subject area and let you have multiple smaller wikis that load faster.

Actually, i don't know how feasible this is, but couldn't you reuse the features form the create seperate wikis feature and essentially only publish to the user a wiki that contains the tiddlers they have requested? Still provide the metadata necessary to do the built-in searches? may not be worth it, depending on the average size of the tiddlers, I guess.

That is possible now, the problem with that in.this situation is that there isn't cuerrently a mechanism for letting the server know which tiddlers you want without making a new wiki. I think that even if this solves the op I will make a new issue for this.

Lazy loading is implemented in the newest release.


Atom Editor - Vertical Line UI Bug

Description
I have found that upon launching Atom on my Mac with the latest update, a UI glitch presents a vertical line through the main text editor at all times.
Steps to Reproduce
The bug is presented under the following conditions:

Launched in OS X 10.11.6 (beta - 15G7a)
Using latest version of Atom - V 1.7.4

Screenshot

Versions
OS: OS X 10.11.6 (beta - 15G7a)
Atom: 1.7.4
Electron: 0.36.8
Chrome: 47.0.2526.110
Node: 5.1.1
app: 1.9.2
nam: 2.13.3
node: 0.10.40
python: 2.7.10
git: 2.7.4

See https://discuss.atom.io/t/what-is-this-line-on-the-right-in-the-editor-view/18477


add CS3322,EE458,EI328

请确认以下事项

[x] 提交的项目均是自己的原创工作。如果您正在帮助其他人添加项目，请确认已经取得项目所有者的许可。
[x] 项目链接可访问。如果这是一个 GitHub 项目，它有 README(.md) 文件，并且不含受版权保护的材料。
[x] 项目相关课程的作业提交已截止。

Actually we had a database course of the same content before, but I forgot about the course code. Thanks for the work for modifications in the parser!

Thank you for your reminder @skyzh .
I couldn't find the corresponding course for CS3322 in the "Course Comparison Table" section of the academic system.

After seeing your message, I looked through the training plan for the 2016 class and found a course with the same name, course number CS022.

However, in the academic system, it seems that this course has become BIO3513, which is not in the plan for CS students.

Now I am feeling very confused and don't know whether I should mark CS022 as the original course.

That’s weird. Don’t worry about it. Let’s keep it as-is.


Can't swipe back with swipe to slide

After enabling swipe-to-slide property of slick carousel, I can't swipe more then 1 to left, to see last elements as infinite property is enabled. On swiping more then 1 it returns to first element and swipes 0 elements.
http://plnkr.co/edit/X9lFqT1E5MTM9JXHrGeh?p=preview

I have the same issue


[basic-updates] for gem

Change license from Apache to MIT
Add rubocop for development
Add changelog

auto generated by changelog gem

Update Readme

removed comments about deploying

Reorganize gemspec

moved dev and test dependencies to gemfile
kept main dev dependencies but moved around

Not interested in changing the license.  Even if I was it's not as simple as a pull request as other contributors have to agree to re-licensing their code.

Just out of curiosity why are you intent on making it apache?
I'm also not seeing any other contributors at this point? Am i wrong about that?

Yes, there are two others contributors in the repository.

Ok cool - sry for missing that.  Are you interested in more contributions/contributors and would you accept this PR without a license change?


Linux Omnisharp-roslyn LSP mode can't load mono properly

Hi team, I'm running Omnisharp on Linux 20.4 as:
"/home/ianzhang/omnisharp-bin/OmniSharp", "-lsp", "--loglevel", "Debug", "-s", "/home/ianzhang/csharp/test.sln"

From the Omnisharp log, I'm seeing:
2022/05/02 23:20:21 Error: OmniSharp.MSBuild.ProjectLoader: This project targets .NET version that requires reference assemblies that do not ship with OmniSharp out of the box (e.g. .NET Framework). The most common solution is to make sure Mono is installed on your machine (https://mono-project.com/download/) and that OmniSharp is started with that Mono installation (e.g. "omnisharp.useGlobalMono":"always" in C# Extension for VS Code). |

I have configuration at ~/.omnisharp/omnisharp.json as:
{
    "RoslynExtensionsOptions": {
        "documentAnalysisTimeoutMs": 30000,
        "enableDecompilationSupport": true,
        "enableImportCompletion": true,
        "enableAnalyzersSupport": false,
        "diagnosticWorkersThreadCount": 8
    },
    "useModernNet": false,
    "monoPath": "/usr/bin/mono",
    "useGlobalMono": "always"
}

mono version

 mono -V
Mono JIT compiler version <IP_ADDRESS> (tarball Mon Feb 22 17:33:28 UTC 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	Interpreter:   yes
	LLVM:          yes(610)
	Suspend:       hybrid
	GC:            sgen (concurrent by default)

mono path

 $ which mono
/usr/bin/mono

msbuild

2022/05/02 23:19:59 Log: OmniSharp.MSBuild.ProjectSystem: MSBuild environment:
Mode: Standalone
RunningTests: False
RunningInVisualStudio: False
MSBuildToolsDirectory32: /home/ianzhang/.dotnet/sdk/6.0.104
MSBuildToolsDirectory64: /home/ianzhang/.dotnet/sdk/6.0.104
MSBuildSDKsPath: /home/ianzhang/.dotnet/sdk/6.0.104/Sdks
CurrentMSBuildConfigurationFile: /home/ianzhang/.dotnet/sdk/6.0.104/MSBuild.dll.config
CurrentMSBuildExePath: /home/ianzhang/.dotnet/sdk/6.0.104/MSBuild.dll
CurrentMSBuildToolsDirectory: /home/ianzhang/.dotnet/sdk/6.0.104
VisualStudioInstallRootDirectory:
MSBuildExtensionsPath: /home/ianzhang/.dotnet/sdk/6.0.104

Any idea why the mono is not picking up correctly? or am I missing some key configurations?

Have you found a solution?

unfortunately no

In order for OmniSharp to use the MSBuild of global Mono, you have to start it with global Mono e.g. mono OmniSharp.exe. The options such as "monoPath": "/usr/bin/mono" or "useGlobalMono": "always" have no effect in omnisharp.json, those are VS Code extensions settings.


[MDS-18] Convert MDS file to Apache Arrow format file

What is the necessity of this update? What is updated?
For converting MDS file to Apache Arrow format and using it in other programming language.
Added "to_arrow" command to convert the MDS file specified by Tools to Apache Arrow.
In the "setup" command old version if Netty version is not specified.
For this reason, I changed it to specify the version explicitly.
How did you do the test? (Not required for updating documents)
Unit test added.
It converts from MDS file to Apache Arrow format and checks whether the value is correct.

LSTM


perf(site): use dynamic imports

This change: (check at least one)

[ ] Adds a new feature
[x] Fixes a bug
[ ] Improves maintainability
[ ] Improves documentation
[ ] Is a release activity

Is this a breaking change? (check one)

[ ] Yes
[x] No

Is the: (complete all)

[ ] Title of this pull request clear, concise, and indicative of the issue number it addresses, if any?
[ ] Test suite(s) passing?
[ ] Code coverage maximal?
[ ] Changeset added?

What does this change address?
A clear and concise description or a direct link to an issue [e.g. #15]
If adding a feature, a rationale for its addition goes here.
How does this change work?
A clear, detailed description of how this change addresses the issue.
This could be a bullet list if there are several moving parts.
Additional context
Add any other context here.

changes did not have the desired impact on performance


is there a way to avoid repeating pod annotation to attach multiple devices of same type?

What issue would you like to bring attention to?
Following is configuration I am working with
device plugin exposing multiple devices
apiVersion: v1
data:
config.json: |
{
"resourceList": [
{
"resourceName": "mlnx_sriov_rdma",
"resourcePrefix": "intel.com",
"isRdma": true,
"selectors": {
"pfNames": ["enp5s0#0-0", "enp12s0#0-0", "enp132s0#0-0", "enp139s0#0-0"]
}
}
]
}
kind: ConfigMap
Verify kubelet is exposing the devices
Capacity:
cpu:                         80
ephemeral-storage:           459426920Ki
hugepages-1Gi:               0
hugepages-2Mi:               0
intel.com/mlnx_sriov_rdma:   4
memory:                      528264868Ki
pods:                        110
Allocatable:
cpu:                         79900m
ephemeral-storage:<PHONE_NUMBER>71
hugepages-1Gi:               0
hugepages-2Mi:               0
intel.com/mlnx_sriov_rdma:   4
memory:                      527912468Ki
pods:                        110
Add a  NetworkAttachmentDefinition
$ kubectl get network-attachment-definitions -n kube-system sriov-net -o yaml
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
annotations:
k8s.v1.cni.cncf.io/resourceName: intel.com/mlnx_sriov_rdma
name: sriov-net
namespace: kube-system
spec:
config: '{ "type": "sriov", "cniVersion": "0.3.1", "name": "sriov-network", "delegates":
[ { "cniVersion": "0.3.1", "type": "sbr", "name": "sbr" } ] }'
Submit a pod with 2 rdma resources.
apiVersion: v1
kind: Pod
metadata:
annotations:
k8s.v1.cni.cncf.io/networks: kube-system/sriov-net,kube-system/sriov-net
name: test
spec:
containers:

name: "test"
command: [ "/bin/bash", "-c", "sleep 3600" ]
image: ubuntu:latest
resources:
limits:
cpu: "1"
intel.com/mlnx_sriov_rdma: "2"
memory: "42949600"
requests:
cpu: "1"
intel.com/mlnx_sriov_rdma: "2"
memory: "42949600"

Is there a way to avoid repeating the kube-system/sriov-net annotation in pod spec?
What is the impact of this issue?
No impact as such. However it seems the device count is repeated both in annotation and pod resource spec.
Do you have a proposed response or remediation for the issue?
I want to understand if I am doing this correct.

Is there a way to avoid repeating the kube-system/sriov-net annotation in pod spec?

nope afaik.

Do you have a proposed response or remediation for the issue?

network-resources-injector project does automatic injection of resource name into pod spec according to resource name in net-attach-def.

@zshi-redhat  just curious why its not other way around.
Based on the device resources, the Multus can interpret how many devices it needs to attach to pod.
Is this a question to Multus project?

@zshi-redhat just curious why its not other way around.
Based on the device resources, the Multus can interpret how many devices it needs to attach to pod.

This is related to how NPWG(Networking Plumbing Working Group) defines net-attach-def format.
As normally one network(defined in one net-attach-def) is applied to one type of resource, not two or more. If there are multiple resource names available in cluster, user will need to define different net-attach-def even if the only difference in the net-attach-def is resource name annotation.

Is this a question to Multus project?

Yes, this(the use of resource name in net-attach-def) is defined in NPWG spec (not standardized yet), multus is one of the implementationso f NPWG spec.

One might be able to solve an example use case shown here but it might create concerns when you want to create multiple interfaces that belongs to different resource names.
Take an example use case where you would need to attach 5 interface resources: Say 2 resources belonging to resource_A, 1 to resource_B and then 2 belonging to resource_C

Closing as stale


Add missing preservewhitespace option to apacheconfigtool

Also, renamed preserve_whitespace into totally unreadable
preservewhitespace for the sake of consistency.

@sydneyli hey, would you please take a look? Thanks!


Upgrade to jscs 2.0

In case we shall upgrade, we must fix either our coding style or the rules newly applied by jscs. With 2.0 the log is flooded with "Missing comma before closing …".
http://jscs.info/changelog.html

How about this one? To do, or no to do?

Fixed.


Check MaxLength from field

Hi, I added a function to check if field has maxlength and respect the size.
If you like to check is on my fork: https://github.com/neyestrabelli/autoNumeric/commit/224016d4148a0ad389869df6d494fbc3c3ab0afb
This helped me to limit the field.
Sorry my bad english.

Ney,
Thank you - I will try an look over the week end.
Bob
Robert (Bob) Knothe

On May 7, 2015, at 5:46 PM, Ney Estrabelli<EMAIL_ADDRESS>wrote:
Hi, I added a function to check if field has maxlength and respect the size.
If you like to check is on my fork: neyestrabelli@224016d
This helped me to limit the field.
Sorry my bad english.
—
Reply to this email directly or view it on GitHub.

Ney,
Question - theoretically check max length could be less digits than the vMax / vMin settings?
Shouldn't the developer set the input length based on the max number of characters from the min/max settings?
Bob

Hi Bob, I made a mistake.
I don't tried this option and really works.
Thanks for your time.

Glad it worked


[UI] Service Mesh Dashboard: Malformed Open Service Mesh name

Current Behavior

Desired Behavior
Should read "Open Service Mesh"
Environment

Browser: Chrome
Host OS: Mac
Meshery Server Version: stable-v0.5.47

Contributor Guides and Resources

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

Fixed at PR


DisplayHex is not exported?

Unless I am missing something trivial, we forgot to export this?

This is kindof a blocker for rust-miniscript update. So, I would request fixing this in a point release.

We didn't, -private is intentionally private. I think rust-miniscript should be able to depend on it. Unless it's considered separate from other crates. Also we're moving to have a separate hex crate #1242

Relooking at it, the only place where rust-miniscript uses it is to display vectors in hex in error strings. No really needed for some core functionality.
We can use private crate for now while hex crate is being developed.

Sounds good!


Use libraries merged from rust-lib directly

This is one of the post-merge cleanups: libraries that were once split across different repositories are now together, allowing for the direct dependency inclusion.
This will help us greatly in making sure that all code works together.
The paths now look cumbersome, but this should improve when we will rework the crates layout.

Shouldn't we preserve at least one of the Cargo.lock files? You deleted both the root one and the one from ex-ide. Actually there is a third one: gui/src/rust/test/Cargo.lock, but it wasn't touched for the last two years it seems.

@vitvakatu

Shouldn't we preserve at least one of the Cargo.lock files? You deleted both the root one and the one from ex-ide. Actually there is a third one: gui/src/rust/test/Cargo.lock, but it wasn't touched for the last two years it seems.

I don't think I've removed them, they were just regenerated. GitHub by default does not expand such large changes but the files and their contents is there.

@mwu-tow oh, I'm sorry, github UI confused me, I thought they were deleted

@vitvakatu Yeah, this had me UI scared for a moment when I opened list of changed files after reading the comments. :D
Anyway, thank you for raising the question — better safe than sorry!


Multiplayer client freeze tied to water and darksteel boots with flippers enhancement

Issue Description:
Minecraft client freeze in multiplayer tied to darksteel boots with flippers enhancement.
What happens:
On a multiplayer server, if there is a player wearing darksteel boots enhanced with the "flippers" ability, that player jumping in and out of water will randomly trigger a client freeze for anyone who is nearby.  This doesn't produce an actual crash or log message on either the client or the server end.  You have to end task the frozen client and restart it to get that player back in the game.  But if the player wearing the boots continues to jump in and out of water, the freeze will just occur again.
What you expected to happen:
The client shouldn't freeze up on other players.
Steps to reproduce: (Note: all this is done in survival mode)

Have one player wearing darksteel boots enhanced with the "flippers" enhancement.  In my case, I was wearing darksteel boots that were Empowered IV, Jump III, and had the "flippers" enhancement.  The player doing it to me (for testing) was using Empowered III, Jump III, flippers enhanced darksteel boots.
Have the other player pace back and forth nearby on land.
Take a bucket of water and drop down the source block.
Hop in and out of the water.  Jumping in place, hoping in and out, pick up the water and move it slightly letting it push you a bit, hop around some more.  Generally interact with the water in such a way that the game thinks you are constantly entering and exiting water.

Eventually (Only takes a minute or two in my testing) the other players client will visually freeze.  Their music still plays, and the server still thinks they are connected, but graphically the client is frozen and no longer responding such that the player just stands still in the game (and if also in water, will drown) until you forcefully terminate the frozen client.
We are currently working around this issue by stowing away our "flippers" enhanced boots in a chest and using darksteel boots without that enhancement.  So long as the boots don't have "flippers", this freeze can't be triggered in other players any longer.

Affected Versions (Do not use "latest"):

EnderIO: 1.12.2-5.0.29
EnderCore: 1.12.2-0.5.35
Minecraft: 1.12.2
Forge: 1.12.2-<IP_ADDRESS>26

Other mods in use (I had gone through the process of painstakingly removing mods one at a time and retesting trying to pin this one down. Upon finding the crash still ocurred after removing a mod, I'd restore the server files from backup, put back the removed mod and try removing another one.  Freeze ceased after removing EnderIO which allowed me to focus more on it):
AbyssalCraft Integration: 1.12.2-1.6.4
AbyssalCraft: 1.12.2-<IP_ADDRESS>
Applied Energistics 2: rv5-stable-11
Baubles: 1.12-1.5.2
BiblioCraft: v2.4.5 for MC1.12.2
BloodMagic: 1.12.2-2.2.12-97
Bookshelf: 1.12.2-2.3.552 (I have all dictionary changes for this mod disabled in config. It's only needed for the elevator block mod)
Chisel: 1.12.2-<IP_ADDRESS>
Chisels And Bits: 14.17
Code Chicken Lib: 1.12.2-<IP_ADDRESS>4-universal
CoFHCore: 1.12.2-<IP_ADDRESS>
CoFHWorld: 1.12.2-<IP_ADDRESS>
Connected Textures Mod: MC1.12.2-<IP_ADDRESS>
Elevator Block Mod: 1.12.2-1.3.6
Extra Utils 2: 1.12-1.7.6
GalacticraftCore: 1.12.2-<IP_ADDRESS>
GalacticraftPlanets: 1.12.2-<IP_ADDRESS>
GuideAPI: 1.12-2.1.5-60
Improved Backpacks: 1.12.2-<IP_ADDRESS>
IndustrialCraft: 2-2.8.73-ex112
Inventory Pets: 1.12-1.5.2
Iron Chest: 1.12.2-<IP_ADDRESS>4
Just Enough Items: 1.12.2-<IP_ADDRESS>
Mantle: 1.12-<IP_ADDRESS>
MC MultiPart: 2.5.1
Mekanism: 1.12.2-<IP_ADDRESS>9
MicdoodleCore: 1.12.2-<IP_ADDRESS>
Redstone Flux: 1.12-<IP_ADDRESS>-universal
Tinkers Construct: 1.12.2-<IP_ADDRESS>
The Betweenlands: 3.3.10-universal
Thermal Expansion: 1.12.2-<IP_ADDRESS>
Thermal Foundation: 1.12.2-<IP_ADDRESS>
Twilight Forest: 1.12.2-3.7.424-universal
Your most recent log file where the issue was present:
This is a complete client freeze up (graphically anyways).  No log output is generated to give any hints as to a crash.  Process has to be terminated manually.

#4715
but with how to reproduce... Thanks


Improve handling of errors on subscribing to streams and persistent subscriptions.

Improve handling of errors on subscribing to streams and persistent subscrptions.
Currently gRPC excpetions on subscribe do not complete the future which will result in infinite runtime of future. A client waiting for the subscription will block unnecessarily and run into timeout exception instead of the exception thrown by subscribing.
This pull request changes the behavior, that exceptions occuring before the subscription being confirmed will complete the future exceptionally.

@YoEight
I will try. I currently have some issues running the integrations tests locally with the test container. It does not fetch/start the Docker images. I didn't have time to look into it.

Hi @YoEight
I have added a test case for the subscribe to persistent subscription use case.
I failed at applying the same test case for non-persistent subscriptions as I could not invoke an error on subscribe: you can currently subscribe to unknown streams etc. Is there a way to (easily) invoke an error on subscribing for non-persistent subscriptions?

@dpasek-senacor The best you can do in this case is to shutdown the database.

@YoEight

The best you can do in this case is to shutdown the database.

Thanks! Works like a charm... :-)

Looks good @dpasek-senacor, thanks for your contribution 👍
Would you mind rebasing and squash everything into a single commit?

@pvanbuijtene
Sorry, but I have problems squashing/rebasing as I did a merge from trunk (to resolve conflicts) and now scquashing is no longer possible. Any options to avoid squashing on my side. Should it possible for you to merge by squashing?
See: https://docs.github.com/en/github/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request#merging-a-pull-request
Sorry for being new to this "contribution game" and the github worklflows. 😄

No worries, I'll see how I can help to get your changes merged.

@dpasek-senacor I collected some instructions on how to update this pull request to a single commit, we do this for keeping a clean commit history. I hope they help, you can add me pvanbuijtene  as a contributor to your repository if you want me to do it.
Setup remotes:
Before starting it's good to understand how my remotes are setup, I use origin for my own repository and upstream for the EventStore repository. This is how it looks like:
$ git remote -v
origin  git@github.com:pvanbuijtene/EventStoreDB-Client-Java.git (fetch)
origin  git@github.com:pvanbuijtene/EventStoreDB-Client-Java.git (push)
upstream        git@github.com:EventStore/EventStoreDB-Client-Java.git (fetch)
upstream        git@github.com:EventStore/EventStoreDB-Client-Java.git (push)

You can use any name you want, but below I will refer to origin and upstream.
Remove  merge commit and squash:

Configure your preferred text editor, instructions can be found here, and checkout the branch if not the case yet.
Start interactive rebasing of the 4 commits on the branch: git rebase --interactive head~4

Pick the first commit (767d1d2edca51576b3fc9fb161f7c08bd011e8dd) and fixup the 2nd (c896d4292654fd692d5afd3ff37178cb9bd03ede) & 3rd (b590d43e3536b5f39a55362645d832ac960e58fe) commits.
Drop all non-relevant commits.
After this it should look similar like this:

pick 767d1d2 Improve handling...
fixup c896d42 Add test case...
fixup b590d43 Simplify tests...
drop e7a4a6d Add type information...
drop 490e30f Add equals() and...
drop 56fa60a Add equals() hashCode()...
drop ba7f421 Avoid calling...

# ... comments are ignored`

Save your changes and close the file.
This step is not needed, but always nice to have a backup. Force push the changes to your remote branch in case you need to roll back for some reason: git push --force origin head

Rebase latest changes:

Get all latest changes: git fetch --all
Rebase upstream trunk on your local branch: git rebase upstream/trunk
Resolve the conflicts in you editor.
Stage the changes: git add *
Continue the rebasing process: git rebase --continue, this will popup your editor for changing the commit message, change it or keep current and close the file.
Push the new commit to your remote branch: git push --force origin head

If you have any question, please let me know.

@pvanbuijtene Thanks for your help. I think I got it right now. I just created a new local branch from trunk, cherry picked everything (my way of rebasing. ;-) ) , fixing the conflicts, squashed the local branch and force pushed it to the branch origin holding the PR.

Great, thanks for the effort 👍


drivers: spi: nrfx_spim: Add support for device runtime PM

Enable the device runtime power management on the SPIM shim.

This code works incorrectly in the case of  SPI_HOLD_ON_CS or/and  SPI_LOCK_ON.
 Probably idle pin states between the bytes match power down states.
It does not make sense to call pm_device_runtime_put(dev) if SPI lock is not released or if CS hold is requested.
Similarly it does not make sense to call pm_device_runtime_get(dev) if SPI lock or CS is held.
By the way, all zephyr SPI drivers with device runtime support I've seen does not handle this flags. Probably generic solution will be to integrate device runtime calls into spi_context.h.

This code works incorrectly in the case of SPI_HOLD_ON_CS or/and SPI_LOCK_ON.
 Probably idle pin states between the bytes match power down states.
It does not make sense to call pm_device_runtime_put(dev) if SPI lock is not released or if CS hold is requested. Similarly it does not make sense to call pm_device_runtime_get(dev) if SPI lock or CS is held.
By the way, all zephyr SPI drivers with device runtime support I've seen does not handle this flags. Probably generic solution will be to integrate device runtime calls into spi_context.h.

@rda-emcraft Can you rise an issue with this please? That will make easier to implement this.

Hm, maybe issue is not needed as this is PR only.

@rda-emcraft Can you rise an issue with this please? That will make easier to implement this.
@nordic-piks, @adamkondraciuk
I may raise issue for spi_ambiq.c, spi_ll_stm32.c and spi_smartbond.c that already accepted into the tree and has the same deficiency.

I have read more of spi_context.h and now I think you should call pm_device_runtime_get(dev) along with locking ctx->lock and pm_device_runtime_put(dev) when unlocking ctx->lock. Implementing this might require passing device pointer to spi_context_{lock,release,complete,release,unlock_unconditionally}(). Probably will have this implemented later today.
What I'm trying to say is that part of runtime device PM (_get() and put()) for SPI drivers can be implemented in generic SPI context handling code. Driver only need to supply initialization and code to do real PM operations.
Anyway, I'm really new in Zephyr, so any guidance is appreciated.
And I'm sitting on Zephyr 3.5.99 and calling pm_device_runtime_put(dev) from IRQ context is a no go here. I'm replacing it with pm_device_runtime_put_async(dev).

@adamkondraciuk
I've created pull request to your branch implementing proposed changes.


Access to raw web_sys::Event

Is there a way to get access to a raw web_sys::Event?
My concrete need is that I need to work with files in the browser, and the API provided by FileEngine is way too limited.

Not yet, but I'm working on a change that will add this to be released in the next bump of Dioxus.

Duplicate of #93 if it’s helpful to know — always feels good to close two issues at once!

done in https://github.com/DioxusLabs/dioxus/pull/1402


chore(deps): bump ansi-regex to 5.0.1

PR summary
bumps ansi-regex version to 5.0.1 to address a security vulnerability
to produce an updated package-lock.json, I did this in my local sandbox:
rm -fr node_modules package-lock.json
npm install

then I committed the updated package-lock.json
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

:tada: This PR is included in version 0.21.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add support for testing the existance of routines (SP or functions)

Currently the relational databases support tests on schemas, tables and columns. It would be nice to also add routines. Routines = Stored Procedures, Scalar-functions or Table-Value-Functions.

Planned syntax:
<structure>
    <routines perspective="HumanResources"/>
</structure>

and
<structure>
    <routine caption="usgMyName" perspective="HumanResources"/>
</structure>

Preview available at https://ci.appveyor.com/project/CdricLCharlier/nbi/build/<IP_ADDRESS>032


Use one file as entry (instead of a directory)

In a senario like RequireJS, it's more like there's only one entry in the HTML, the optimizer of RequireJS analyses the main file, then all dependencies are figured out, instead of scanning a whole directory to figure out the depencies.
I can't find a parameter for scanning file like that? How about it, can we add that?

:+1:
I'm using https://github.com/substack/node-browserify e.g:
$ browserify main.js > bundle.js

Since my browserify FR got rejected I'd also like to be able to detect circular deps from a single entry point:
$ madge -c main.js

Similarly on the api:
madge('./main.js');

Cheers!

It looks like these options were removed at some point. Is there a way to run against an optimized file in the recent versions? I have 3.0.1 at the moment.


[SPARK-6717][ML] Clear shuffle files after checkpointing in ALS

What changes were proposed in this pull request?
When ALS is run with a checkpoint interval, during the checkpoint materialize the current state and cleanup the previous shuffles (non-blocking).
How was this patch tested?
Existing ALS unit tests, new ALS checkpoint cleanup unit tests added & shuffle files checked after ALS w/checkpointing run.

Test build #53962 has started for PR 11919 at commit 2f19399.

Test build #53962 has finished for PR 11919 at commit 2f19399.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class ALSCleanerSuite extends SparkFunSuite

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53962/
Test FAILed.

jenkins retest this please.

Test build #54100 has started for PR 11919 at commit 2f19399.

Test build #54100 has finished for PR 11919 at commit 2f19399.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class ALSCleanerSuite extends SparkFunSuite

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54100/
Test FAILed.

@mengxr @jkbradley Please advise.

nifty bot, since I'm hear jenkins retest this please

Test build #54709 has started for PR 11919 at commit 2f19399.

Test build #54709 has finished for PR 11919 at commit 2f19399.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class ALSCleanerSuite extends SparkFunSuite

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54709/
Test FAILed.

Test build #55058 has started for PR 11919 at commit ba36127.

Test build #55058 has finished for PR 11919 at commit ba36127.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
    .doc(\"The output committer class used by Parquet. The specified class needs to be a \" +
    .doc(\"A comma separated list of class prefixes that should be loaded using the classloader \" +
    .doc(\"A comma separated list of class prefixes that should explicitly be reloaded for each \" +

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55058/
Test FAILed.

Merged build finished. Test FAILed.

Test build #55103 has started for PR 11919 at commit 84474e1.

Test build #55103 has finished for PR 11919 at commit 84474e1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55103/
Test FAILed.

Merged build finished. Test FAILed.

Test build #55233 has started for PR 11919 at commit c1493a1.

Test build #55233 has finished for PR 11919 at commit c1493a1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55233/
Test FAILed.

Jenkins retest this please.

Test build #55248 has started for PR 11919 at commit c1493a1.

Test build #55248 has finished for PR 11919 at commit c1493a1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55248/
Test FAILed.

Streaming failures seem likely unrelated, jenkins retest this please.

Test build #55295 has started for PR 11919 at commit c1493a1.

Test build #55295 has finished for PR 11919 at commit c1493a1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55295/
Test FAILed.

Merged build finished. Test FAILed.

Test build #55447 has started for PR 11919 at commit 324efc7.

Test build #55447 has finished for PR 11919 at commit 324efc7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55447/
Test PASSed.

Test build #55745 has started for PR 11919 at commit e7b6413.

Test build #55745 has finished for PR 11919 at commit e7b6413.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55745/
Test PASSed.

@holdenk made a few comments above. I think we can simplify to just have a cleanParents method which is called before deletePreviousCheckpointFile. Perhaps we can call it something like cleanShuffleDependencies to be even more clear. In this way, the existing checkpoint flagging and materialization is unchanged.
It would be good to also test that this fixes the issue in SPARK-6334 in actually running an ALS job.

Sounds reasonable, I'll also do some manual testing after the refactor (and or I could add some automatic tests using the entire ALS pipeline instead of just the cleaner component).

Test build #56449 has started for PR 11919 at commit 8c9cc15.

@MLnick As mentioned in the line comments, that approach turns out to not be as simple as planned. checkpointing kills all of the parents information we need to clean up the shuffle files. I could refactor this so that we capture the dependency information needed - but a count() on a cached RDD should be low enough cost I'm not sure it would be worth it. What are your thoughts?

Test build #56449 has finished for PR 11919 at commit 8c9cc15.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56449/
Test FAILed.

Yeah by default the factors RDDs are persisted in memory... or if not at least memory_disk. I guess having that small additional cost and actually cleaning up the shuffle deps and not ultimately eating all the disk space and crashing the program, is the lesser of evils :)

Test build #56584 has started for PR 11919 at commit 58be94b.

I've added a test which does an ALS training run with a checkpoint interval of one and ensures only the most recent shuffle files remain.

Test build #56591 has started for PR 11919 at commit b78d9f6.

Test build #56584 has finished for PR 11919 at commit 58be94b.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class SparkSqlParser(conf: SQLConf) extends AbstractSqlParser
class SparkSqlAstBuilder(conf: SQLConf) extends AstBuilder
   *   [STORED AS file_format | STORED BY storage_handler_class [WITH SERDEPROPERTIES (...)]]
case class AddJar(path: String) extends RunnableCommand
case class AddFile(path: String) extends RunnableCommand
case class CreateTableAsSelectLogicalPlan(
case class CreateViewAsSelectLogicalCommand(
case class HiveSerDe(
class VariableSubstitution(conf: SQLConf)
 implicit class SchemaAttribute(f: CatalogColumn)
class HiveSqlParser(conf: SQLConf) extends AbstractSqlParser
class HiveSqlAstBuilder(conf: SQLConf) extends SparkSqlAstBuilder(conf)

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56584/
Test PASSed.

Test build #56591 has finished for PR 11919 at commit b78d9f6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56591/
Test PASSed.

Merged build finished. Test PASSed.

Test build #56779 has started for PR 11919 at commit dd50130.

Test build #56779 has finished for PR 11919 at commit dd50130.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56779/
Test PASSed.

Merged build finished. Test PASSed.

@holdenk made a few very minor comments, otherwise this LGTM. For good measure I ran the same ALS shuffle clean up test in master (without this PR) and confirmed it failed with a set of shuffle files > 1.
@mengxr (or @jkbradley @srowen) could you take a quick pass?

Test build #56915 has started for PR 11919 at commit e980596.

Test build #56915 has finished for PR 11919 at commit e980596.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56915/
Test PASSed.

Merged build finished. Test PASSed.

Test build #56929 has started for PR 11919 at commit 83a938e.

Test build #56929 has finished for PR 11919 at commit 83a938e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56929/
Test PASSed.

Merged build finished. Test PASSed.

@mengxr @jkbradley @srowen can you take a quick pass please?

Test build #57171 has started for PR 11919 at commit 868977c.

Test build #57171 has finished for PR 11919 at commit 868977c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57171/
Test PASSed.

Merged build finished. Test PASSed.

@holdenk a couple minor nit-picking comments :) I'm happy with this. @mengxr I will leave open for a day or two if you have time for a quick pass.

Test build #57484 has started for PR 11919 at commit 95abf54.

Test build #57484 has finished for PR 11919 at commit 95abf54.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57484/
Test FAILed.

Merged build finished. Test FAILed.

jenkins retest this please

Merged with the latest from master (got out of sync) and made the minor CR changes.

Test build #57493 has started for PR 11919 at commit 95abf54.

Test build #57493 has finished for PR 11919 at commit 95abf54.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57493/
Test PASSed.

Merged build finished. Test PASSed.

I'm making a pass.

Test build #57520 has started for PR 11919 at commit 3a18915.

Test build #57520 has finished for PR 11919 at commit 3a18915.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57520/
Test PASSed.

Test build #57538 has started for PR 11919 at commit 0ed7deb.

Test build #57538 has finished for PR 11919 at commit 0ed7deb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57538/
Test PASSed.

LGTM. Merged into master and branch-2.0. Thanks!


Fixes #28 Possible to extract values from nested json.

Now possible to use JsonPointer as well as fieldname to extract a value
From JSON
{"root":  {
    "next": {
        "leaf" : "Hello"}
    },
 "textfield": "Hello"}

Use this to extract values!
{textfield}            -> "Hello"
{root}                   -> ""
{/root}                  -> ""
{/root/next/leaf}  ->  "Hello"

:+1:
Thanks Johan!


Localization

Added Localization Texts for the Items currently existing on the Map

Added Localization Texts for the Items currently existing on the Map.


Bump containers/image

Bump containers/image to 4fdf9c9b8a1e014705581ff77df6446e67a8318d.

@TomSweeneyRedHat, @rhatdan, PTAL

LGTM and happy green buttons.

@rh-atomic-bot r+


Loaders UI

Pull Request Summary:
🚀 Changes:

Installed svelte-loading-spinners npm package as a development dependency.
Created a loader component for visual feedback during various actions.

📸 Code Changes Preview:

Checklist:

[x] Code follows project conventions.
[x] The loader provides the intended visual feedback during navigation.

Thank you @zablon-oigo! you're the man!
We will be reviewing this in the next day or so.
This PR resolves ticket 46

Thank you @zablon-oigo! you're the man!
We will be reviewing this in the next day or so.
This PR resolves ticket 46

Thank you 😊 @colinwilliams91 for your Kind words.


Activation Rule of Batch Activity can be also empty

If the activation rule of a batch activity is empty, then the batch clusters get immediately enabled.
Nevertheless, each enabled instance of a batch activity is checked whether it can be added to a not started batch cluster.

Has been closed by 618ba50d50bda9feeb1583259fd51a6840713049


Port RotateAboutObjectCenter fix

Overview
RotateAboutGrabPoint now allows you to rotate an object at a distance using one handed far interaction as described in #5957.
This has been fixed on feature/ux_refactor for a few weeks, but we feel like it's worth getting this fix in for 2.2.
Changes

RotateAboutObjectCenter now uses grip pose rotation, rather than pointer rotation.
Fixes: #5957.

/azp run


Published Scopes

How to add application published scopes in the Post request? I try to add them as usual within OAuth2 but i get an error:
{
"error": "invalid_request",
"error_description": "AADB2C90146: The scope 'openid 681ab7b4-2145-4dc9-b457-dcd5ae220b73  offline_access  https://myB2C.onmicrosoft.com/api/sb.read' provided in request specifies more than one resource for an access token, which is not supported.\r\nCorrelation ID: 8d958e72-8db2-41c2-8fbf-78d671dd894e\r\nTimestamp: 2018-06-07 20:33:20Z\r\n"
}
Like the limitation we have on OAuth2 where we can't ask for scopes of differents resources (webapi let's say) in the same token

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c54680bb-ff67-a9e2-4272-1710fe6eb863
Version Independent ID: 6d15d340-f556-6bb0-8b4c-f4535537189b
Content: Configure the resource owner password credentials flow in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/configure-ropc.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@tourili Please follow the document Azure AD B2C: Requesting access tokens to add published scopes in POST request.

@tourili We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

I think there is a clear limitation problem here when asking scope for both the app id and its own scopes:
"The scope '..' provided in request specifies more than one resource for an access token"

@saurabhsensharma any update on the feedback from @tourili ?
We are experiencing the same issue with our B2C tenant...

Finally got this to work! The key is really to NOT MIX scopes in the request.
For ROPC, the app id of the native app used to request the token is not required to be present in the scopes list. But scope list in at least 1 valid application scope in addition of the standard scopes openid and offline_access. Here are some example of scopes:

openid https://myB2C.onmicrosoft.com/api/myScope1 offline_access: valid.
openid 681ab7b9-2145-4dc9-b367-dcd5ab98b73 offline_access: valid... but API audience needs to be configured to handle app id 681ab7b9-2145-4dc9-b367-dcd5ab98b73 too.
openid offline_access: invalid, there is no application scope in order to resolve audience and inject proper value in aud token field.
openid 681ab7b9-2145-4dc9-b367-dcd5ab98b73 https://myB2C.onmicrosoft.com/api/myScope1 offline_access: invalid, there is multiple application scope in order to resolve a single audience value for aud token field.

@saurabhsensharma documentation is not trivial for people not expert in OpenID and JWT tokens...


Pattern inconsistency in dropdowns

All of the dropdown examples have the btn class applied to the buttons they use.

    Dropdown link

The Navbar dropdowns are inconsistent with this pattern and do not have the btn class.

          Dropdown

          Action
          Another action

          Something else here

This is causing a problem for our design system because adding the btn class to these dropdowns causes styling issues like the text centering below.

The only requirements to use our dropdowns it's :

You must have a wrapper with .dropdown class
You must have a button or a link with data-toggle="dropdown" (inside the wrapper)
You must have a div with .dropdown-menu (inside the wrapper under the element which trigger the dropdown)

  <button data-toggle="dropdown">Dropdown</button>

You don't need the .btn on all dropdown toggles—only dropdown toggles that are buttons. When used with navs, only add .dropdown-toggle to the anchor.


Request for more detailed introduction to the gene module inference task

Hi, thank you for your great work! It seems that the gene module inference task is not covered in the released bioRxiv paper. Could you please kindly briefly introduce the motivation and main results of this experiment? Thank you very much in advance.

Hi, the gene module inference is another way to use the gene embedding from the single-cell foundation model. We will update the content in the published version.


Matcher dex extension

Hello. I see TurtleNetwork have dex extensions here: https://github.com/TurtleNetwork/dex
But, inside .jar-file, from latest Release tn-dex-extension-1.2.3.zip
I do not see matcher-extension, there is just grpc-server.
I see only one working matcher, by this url: https://privatematcher.blackturtle.eu
And as I can see here: https://statistics.turtlenetwork.eu/nodes/
no one node have no enabled matcher.
Some nodes in waves-mainnet have enabled matcher, as you can see here: https://dev.pywaves.org/nodes/
So can you fix this, and add matcher? I want to be matcher.
Or TurtleNetwork is not really dex, and dex-extensions really not a dex (Decentralized EXchange)??
What if your url will not working in future, or just will be banned?
All TurtleNetwork will shutdown forever?
Anyway, on real dex, need to be able to raise an althernative matchers, IMHO.

Having multiple matchers is possible. Please use the debian files.
Also there is a second dex already based on TN.
Polarity.exchange

Hello, @BlackTurtle123 ! Thanks for your answer.
I do not understand, what debian-files (.deb-files), need to use, and how to raise matcher. Do you have any guide to do this?
I see here: https://polarity.exchange/ , inside the wallet, in "User logo -> Settings -> Network",
there is specified a matcher address: https://dex.polarity.exchange/matcher
which return, by this url, the public key:
"98s7eAwLK56nCRf1vdJhWyyY9hoWviaCvfJAyj5zyJS6"

Here: https://wallet.turtlenetwork.eu , inside the wallet, in "User logo -> Settings -> Network",
there is specified a matcher address: https://matcher.turtlenetwork.eu/matcher
which return, by this url, the public key:
"65MFhgwcGK3bmXzZNgepHF6jUrUmzNZWXZtZBWokvpDZ"

which is equal of public key, returned by this url: https://privatematcher.blackturtle.eu/matcher
I do not want to make some another new exchanges, based on TurtleNetwork,
but I just want to be able to raise my own matcher,
if the connect by your hardcoded matcher-URLs will be bad,
or in the case, when traffic between clients, and this URLs, will be blocked,
of if this matcher URL's will be unavailable in our country.
I see, inside the both exchanges, in "User logo -> Settings -> Network",
there is possible to change matcher URL, and use this exchange as is, with official blockchain,
but just with another, with an althernative matcher.
Also, I see, there is opened a swagger with matcher-rest-API: https://privatematcher.blackturtle.eu/api-docs/index.html
I just want to try to raise my own matcher on windows, by using some .jar-files in extensions,
like this is possible with waves, by running the node .jar-file, with extensions:
dex-1.0.2.tgz.
There, inside this .zip-archive, you can see com.wavesplatform.dex-1.0.2.jar,
And, if you'lll open this .jar with 7zip, as 7z-archive,
you can see the some matcher-related files there, in the folder:
disk:\\blahblah-my-pathway\dex-1.0.2\lib\com.wavesplatform.dex-1.0.2.jar\com\wavesplatform\dex\.
The same .jar-file, with the matcher extensions, contains inside dex_1.0.2_all.deb, if this .deb-file will be opened as 7z-archive.
You say, there is possible to use .deb-files, but inside tn-dex-extension_1.2.3_all.deb I do not see some .jar-files with matcher dex-extension.
Inside the fat tn-dex_1.2.3_all.deb,
I see some tn-dex_1.2.3_all.deb\.\usr\share\tn-dex\lib\com.wavesplatform.dex-1.2.3.jar
And this seems, like matcher there is contains inside.
But this return some throw exceptions, if just copy and paste this .jar-file,
and how to configure this, I do not know. I do not understand this scala-code at all.
Maybe, you are already have some guide, how to set up matcher,
and maybe, you can fix this for Windows, by using .jar-file with extensions, and some additional strings in .conf-file.

Each matcher is his own dex.
It can use the same wallet, but orderbooks aren't shared.
Also https://github.com/TurtleNetwork/dex the readme from point 6 contains all info.
Regards

@BlackTurtle123, by link, there is no any word, about matcher.
But here, it is: https://github.com/wavesplatform/matcher#-configration-of-matcher-extension
there is described a config, to run grpc-extension, but not a matcher-rest-api (that swagger, on port 6886)
Yes, i know, that orders are not synchronized decentralized, and matcher, are storing this, wihtin 29 days max (then autocancelleration). But all another things, a trading history, marketdata, blockchain, etc, there is working really decentralized,
and this is inside official network. So, I do not think, the another matcher this is a another dex, this is the same dex,
and this can be working, just by changing a matcher-url, inside the wallet.

Matcher or DEX is the same, so like i said from point 6 the instructions are written down.
Just a different name by waves used.
You need all points from 6. The dex needs both a stand alone item and a extension on the node. And yes this works through grpc.


How to configure spring.cloud.nacos.discovery properties to allow http health check?

In using nacos service discovery, when I need http health check, is it a must that we could only configure it on the web ui manually? How could we configure the http health check path in spring.cloud.nacos.discovery properties or any approaches else in spring cloud program?

Http Health Check of Nacos Service discovery? Do you mean to 'Heart Beat'?

No reply for a long time, close first

Http Health Check of Nacos Service discovery? Do you mean to 'Heart Beat'?

Due to encountering OOM and normal heartbeat, the service is still being registered. I would like to add HTTP method to detect the health status of the instance。But I couldn't find the configuration item. Do you have any plans to add new ones in the future


feat: LAI2-10296 check if user has sufficient credits to run an app from the cli

What does this PR do?
can't be released without FE changes https://github.com/gridai/grid/pull/8025
add a flag to show a topup modal if app is running in the cloud and user don't have enough credits to run the app.
current threshold is 1 lightning credit.
if user has 1 or less credits the app will be created in stopped state, and user will have to manually start the app from UI.
limitation:
click.echo("Your Lightning App is starting. This won't take long.")
the above should not be printed when app is not running in cloud.
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

@Borda  this cannot be released before these changes are merged https://github.com/gridai/grid/pull/8025

@Borda this cannot be released before these changes are merged and released to prod gridai/grid#8025

co it means that related integration tests shall not be passing, correct?

co it means that related integration tests shall not be passing, correct?

if the e2e test user has few credits  (>1), all tests will pass, looks like thats the case


Using ingress kubernetes results in an error - UNAVAILABLE

hi
we have configured services to work through kubernetes ingress (nginx), using a SSL connection, when performing a load test, after some time (from several seconds to two minutes), an error occurs - Response message: 14 UNAVAILABLE
I also tried without using ingress, there are no such problems
tell me, please, in which direction to look?

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.


Move cache_dir, cloud_to_local etc out of StorageSettings class

Because this functionality is not specific to particular storage.

Makes sense.

I haven't done it yet

Sorry, I accidentally closed it! 🙈


value error 5d tensor error

im using the docker imagee
13. Issue Details
i have this errror
user@d082b4901cc4:~/workdir/Desktop/quanz/yolov5$ sudo openvino2tensorflow --model_path openvino/exp16.xml  --model_output_path tf_tflite  --output_full_integer_quant_tflite
TensorFlow/Keras model building process starts ======================================
ERROR: Cannot reshape a tensor with 6084 elements to shape [1,3,12,13,36] (16848 elements) for '{{node tf.reshape/Reshape}} = Reshape[T=DT_FLOAT, Tshape=DT_INT64](Placeholder, tf.reshape/Reshape/shape)' with input shapes: [1,13,13,36], [5] and with input tensors computed as partial shapes: input[1] = [1,3,12,13,36].
ERROR: model_path  : openvino/exp16.xml
ERROR: weights_path: openvino/exp16.bin
ERROR: layer_id    : 407
ERROR: input_layer0 layer_id=385: KerasTensor(type_spec=TensorSpec(shape=(1, 13, 13, 36), dtype=tf.float32, name=None), name='tf.math.add_66/Add:0', description="created by layer 'tf.math.add_66'")
ERROR: input_layer1 layer_id=406: tf.Tensor([ 1  3 12 13 36], shape=(5,), dtype=int64)
ERROR: The trace log is below.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/util/dispatch.py", line 206, in wrapper
return target(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/array_ops.py", line 196, in reshape
result = gen_array_ops.reshape(tensor, shape, name)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 8398, in reshape
return reshape_eager_fallback(
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 8419, in reshape_eager_fallback
_attr_T, (tensor,) = _execute.args_to_matching_eager([tensor], ctx, [])
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/eager/execute.py", line 273, in args_to_matching_eager
tensor = ops.convert_to_tensor(
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/profiler/trace.py", line 163, in wrapped
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/ops.py", line 1566, in convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/constant_op.py", line 346, in _constant_tensor_conversion_function
return constant(v, dtype=dtype, name=name)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/constant_op.py", line 271, in constant
return _constant_impl(value, dtype, shape, name, verify_shape=False,
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/constant_op.py", line 283, in _constant_impl
return _constant_eager_impl(ctx, value, dtype, shape, verify_shape)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/constant_op.py", line 308, in _constant_eager_impl
t = convert_to_eager_tensor(value, ctx, dtype)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/constant_op.py", line 106, in convert_to_eager_tensor
return ops.EagerTensor(value, ctx.device_name, dtype)
File "/usr/local/lib/python3.8/dist-packages/keras/engine/keras_tensor.py", line 244, in array
raise TypeError(
TypeError: Cannot convert a symbolic Keras input/output to a numpy array. This error may indicate that you're trying to pass a symbolic value to a NumPy call, which is not supported. Or, you may be trying to pass Keras symbolic inputs/outputs to a TF API that does not register dispatching, preventing Keras from automatically converting the API call to a lambda layer in the Functional Model.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/ops.py", line 1880, in _create_c_op
c_op = pywrap_tf_session.TF_FinishOperation(op_desc)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot reshape a tensor with 6084 elements to shape [1,3,12,13,36] (16848 elements) for '{{node tf.reshape/Reshape}} = Reshape[T=DT_FLOAT, Tshape=DT_INT64](Placeholder, tf.reshape/Reshape/shape)' with input shapes: [1,13,13,36], [5] and with input tensors computed as partial shapes: input[1] = [1,3,12,13,36].
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/openvino2tensorflow", line 1592, in convert
tf_layers_dict[layer_id] = tf.reshape(op1, shape)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/util/dispatch.py", line 210, in wrapper
result = dispatch(wrapper, args, kwargs)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/util/dispatch.py", line 126, in dispatch
result = dispatcher.handle(op, args, kwargs)
File "/usr/local/lib/python3.8/dist-packages/keras/layers/core.py", line 1473, in handle
return TFOpLambda(op)(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/keras/engine/base_layer.py", line 976, in call
return self._functional_construction_call(inputs, args, kwargs,
File "/usr/local/lib/python3.8/dist-packages/keras/engine/base_layer.py", line 1114, in _functional_construction_call
outputs = self._keras_tensor_symbolic_call(
File "/usr/local/lib/python3.8/dist-packages/keras/engine/base_layer.py", line 848, in _keras_tensor_symbolic_call
return self._infer_output_signature(inputs, args, kwargs, input_masks)
File "/usr/local/lib/python3.8/dist-packages/keras/engine/base_layer.py", line 888, in _infer_output_signature
outputs = call_fn(inputs, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/keras/layers/core.py", line 1350, in _call_wrapper
return self._call_wrapper(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/keras/layers/core.py", line 1382, in _call_wrapper
result = self.function(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/util/dispatch.py", line 206, in wrapper
return target(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/array_ops.py", line 196, in reshape
result = gen_array_ops.reshape(tensor, shape, name)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 8403, in reshape
_, _, _op, _outputs = _op_def_library._apply_op_helper(
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/op_def_library.py", line 748, in _apply_op_helper
op = g._create_op_internal(op_type_name, inputs, dtypes=None,
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/func_graph.py", line 599, in _create_op_internal
return super(FuncGraph, self)._create_op_internal(  # pylint: disable=protected-access
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/ops.py", line 3561, in _create_op_internal
ret = Operation(
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/ops.py", line 2041, in init
self._c_op = _create_c_op(self._graph, node_def, inputs,
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/ops.py", line 1883, in _create_c_op
raise ValueError(str(e))
ValueError: Cannot reshape a tensor with 6084 elements to shape [1,3,12,13,36] (16848 elements) for '{{node tf.reshape/Reshape}} = Reshape[T=DT_FLOAT, Tshape=DT_INT64](Placeholder, tf.reshape/Reshape/shape)' with input shapes: [1,13,13,36], [5] and with input tensors computed as partial shapes: input[1] = [1,3,12,13,36].

See.
https://github.com/PINTO0309/openvino2tensorflow#6-7-replace-weights-or-constant-values-in-const-op

See.
https://github.com/PINTO0309/openvino2tensorflow#6-7-replace-weights-or-constant-values-in-const-op

so whats the layer number that have problem, and how my json file written? based on my error

is it the 407?


Remove redundant file and fix nits

The most important thing, which was removing the redundant rollup.rs file, was done in another PR. So, closing this one.