Cluster with RKE driver always have error in "transitioning" field while provisioning (master, v2.0.8)

Rancher versions:
rancher/rancher: master
rancher/rancher-agent: master
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
OpenStack + RKE
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single node rancher
Steps to Reproduce:
Create cluster with RKE driver and Check "transitioning" value in cluster. You will see error in "transitioning" field always until provisioning finished.

Create Cluster with RKE (I used OpenStack)
Check Cluster Object by calling API  e.g: https://<domain>/v3/clusters/<cluster name>
you will see error in "transitioning" filed

{
 .....
"state": "provisioning",
"transitioning": "error",
"transitioningMessage": "waiting for etcd and controlplane nodes to be registered",
"type": "cluster",
"uuid": "866d6a6c-c665-11e8-aa0c-fa163ef5fb05"
}

When you create cluster with later rancher image than d9ac02168f2ed362cecc8947d5166218acad2fd5
commit (like v2.0.8), your cluster always have "error" transitioning as a initial value as long as driver is RKE.
Starting with Error State always is very weird and bring some confusion to operator.
So we should not report error state  when expected provisioning is proceeding
Reason
There are several reason to cause this problem. Let me describe one by one.

From d9ac02168f2ed362cecc8947d5166218acad2fd5 commit, judging error state logic has been changed to check if condition.reason is Error or not as well as condition value.
ClusterConditionProvisioned.Reason set always Error when provisioning is proceeding because cluster-provisioner will return controller.ForgetError if cluster wait for other installing procedure like https://github.com/rancher/rancher/blob/master/pkg/controllers/management/clusterprovisioner/provisioner.go#L486-L488

	if !etcd || !controlplane {
		return nil, &controller.ForgetError{
			Err: fmt.Errorf("waiting for etcd and controlplane nodes to be registered"),
		}
	}

Norman Condition set Error to ClusterConditionProvisioned.Reason when handler return error even if error is controller.ForgetError.
https://github.com/rancher/rancher/blob/master/vendor/github.com/rancher/norman/condition/condition.go#L163-L168
https://github.com/rancher/rancher/blob/master/vendor/github.com/rancher/norman/condition/condition.go#L86-L96

Above 3 reasons cause the situation that always cluster provisioning start with error state and stick state to error until provisioning finished.
** Propose **

usually controller.ForgetError is used when handler is failed but can be recognized as safe to ignore. so this is not really error. So maybe it's better if this controller.ForgetError struct can have Reason field in the same way as conditionError did in norman/condition
Put other reason than Error to controller.ForgetError.Reason if the error is happened because of expected provisioning process like "waiting for etcd and controlplane nodes to be registered"

All related PRs are merged, so this is hypothetically fixed

Reproduced the issue and tested in master from Dec 19th build

Created a cluster using DO nodes (driver machine).
In provisioning state, the transitioning field is not in error as below:

"state": "provisioning",
"transitioning": "yes",
"transitioningMessage": "[healthcheck] Start Healthcheck on service [kube-apiserver] on host [a.b.c.d]",
"type": "cluster",

@cjellick : In the pending state we still see transitioning:error, shouldn't we be able to remove this error too ?
"state": "pending",
"transitioning": "error",
"transitioningMessage": "waiting for full cluster configuration",
"type": "cluster",

@soumyalj
Could you show me all roles of the node?
Usually pending is happened because of configuration miss like lacking of etcd node, lacking of controller node.
If you saw pending state just few sec after created cluster, it's kind of timing problem to continue until node for this cluster got created.
If you are testing with the rancher deployment which manages x hundreds cluster, nodes, pending state time will be longer than usual because NodeController, ClusterController will be busy.

@ukinau : This happens with any number of nodes in a cluster . There is no role missing as the UI will not let you proceed if any of them is missing.
Ex:

One node with all roles
Two nodes N1 : etcd, control ; N2: worker
3 nodes with all roles in each of them

Tested with master build from Feb 12. Created clusters with DO template.
The following clusters were created:
a. One node with all roles
b. Two nodes N1 : etcd, control ; N2: worker
c. 3 nodes with all roles in each of them
During provisioning, the transitioning field does not show "error".
API snippet below:
"state": "provisioning",
"transitioning": "yes",
"transitioningMessage": "waiting for etcd and controlplane nodes to be registered",
"type": "cluster",
"uuid": "e83c33b5-2f11-11e9-9e3d-0242ac8989"

Also, cluster does not go to pending state right after provisioning.  Cluster goes to "Provisioning" state as expected.


Change signal names in Validate UN topology sample

Description
This PR is to change signal names in Validate Utility Network topology sample
Type of change

[x] Bug fix
[ ] New sample implementation
[ ] Sample viewer enhancement
[ ] Other enhancement

Platforms tested on:

[ ] Windows
[ ] Android
[ ] Linux
[x] macOS
[ ] iOS

I'm not a big fan of abbreviations, like btn instead of button. I think this is not necessary to save 3 chars and this is less explicit.


[tracking] Steps toward the next Solo5 release

Overall goals

Our primary goal is to surface the new features developed since the last formal release done together with MirageOS 3.0. In no particular order, these are:

The ukvm monitor ported to run on FreeBSD.
The Solo5 kernel^Wbase ported to run on ARM64, and the ukvm monitor ported to run Linux/KVM on ARM64.
Support for Muen SK as a monitor.
Support for IncludeOS unikernels as guests.

A secondary but no less important goal is to improve the communication around "what is Solo5?" for this release:

As a minimum, we need to refactor our documentation to clearly point "end users" (i.e. MirageOS and IncludeOS unikernel developers, Muen SK developers) to instructions on how to build Solo5 guests for their respective platforms.

We should also consider #172 (renaming ukvm to a more generic name); the reference to KVM in the name is confusing and no longer reflects the scope of the monitor. However, this will require a bunch of churn in downstream projects (mainly MirageOS) since these are using ukvm as a target name.

Thirdly, we should consider architecture and API changes going forward, and as a minimum either revive or drop/defer #200 (Minimal refresh of Solo5 APIs).

Rough list of tasks to complete
This is an amalgamation of the Solo5 tasks and downstream (currently mainly MirageOS) tasks following from these goals, with dependent issues where these exist. I've sorted these by rough priority.
Must have: (i.e. if it's not done it ain't in the release)

[ ] Complete Muen SK support on the MirageOS side (#194).
[ ] Complete IncludeOS support (#212).
[ ] Complete porting MirageOS downstream packages to ARM64 where required.
[ ] "End user" documentation refactoring + document those features which make it into the release.

Nice to have:

[ ] Minimal refresh of Solo5 APIs (#200)
[ ] ARM64 CI for MirageOS. As a minimum, the equivalent of "what Travis does for mirage/mirage-skeleton today" could be implemented fairly straightforwardly with eg. a surf-build setup.

Optional:

[ ] Rename ukvm to a more generic name (#172)

Tagging various folks responsible for the features we want to surface:
@djwillia @ricarkol @hannesm @Kensan @Weichen81
Other interested parties and downstreams:
@perbu @amirmc @avsm @yomimono
Feel free to unsubscribe if you don't want the noise.

I'd like #172 to be handled within this release (and happy to work on the mirage tool&lib for renaming).  I'd also be happy if #200 gets merged before a release (together with upstream changes in mirage-*-solo5).

Updated some checkboxes. Struck out the solo5_exec change, as the consensus in Marrakesh was that we won't do that (/cc @ricarkol). I'll do a more complete update on this issue in due course.

I just tagged v0.3.0, so closing this. Now to gradually publish the OPAM packages for MirageOS.


User roles

This PR add user roles (user and administrator) for future purposes when administering certain features on app.
This include migrations and seeders.

Can this be merged? @rick-astral-cat


Can't autopublish to Chrome webstore : "invalid user"

@tristen, I think my user is not allowed to publish in the name of the "prose" group:

cd build && webstore upload --auto-publish
Response code 400 (Bad Request)
{
"error": "invalid_user"
}

https://www.travis-ci.org/prose/browser-extensions/builds/294925578
Maybe I must be "co-owner" of the group or something like that :-/
(see #12 for reference)

(see #12 for reference)

uh oh! Want to give it another try? I've adjusted your role in the group to owner 👍

Response code 400 (Bad Request)
{
"error": "invalid_grant"
}
Haha, I don't understand how it works! XD

I had redo all steps and... it works! :champagne:
><EMAIL_ADDRESS>release:cws /home/travis/build/prose/browser-extensions
> cd build && webstore upload --auto-publish
Publish Status: OK
><EMAIL_ADDRESS>release:amo /home/travis/build/prose/browser-extensions
> cd build && webext submit
Building web extension from /home/travis/build/prose/browser-extensions/build
Validating add-on [............................................................]
Validation results: https://addons.mozilla.org/en-US/developers/upload/4bc7a1a8256544d2850ea2f1cd346063
Your add-on has been submitted for review. It passed validation but could not be automatically signed because this is a listed add-on.

https://www.travis-ci.org/prose/browser-extensions/builds/294925578

Mozilla Add-ons: Edit in Prose 1.1.1 Approved
The add-on, Edit in Prose 1.1.1, has been approved and is now available for download in our gallery at https://addons.mozilla.org/addon/prose/


Improved Button Usability and Consistency (Issue #378)

This PR addresses two key issues related to button usability and consistency in the application:

Added loading spinner and disabled state to buttons in various parts of the application, including the sign-up/login page, video rendering pages, and home page. This enhancement prevents users from clicking buttons multiple times while waiting for backend API responses, improving the overall user experience.

Standardized the button styles for "Mark as Complete" and "Slides" on the video rendering pages to match the rest of the application's buttons. This ensures a consistent look and feel across all buttons, enhancing the visual appeal and usability of the application.

Changes Made:

Added loading spinner and disabled state to affected buttons.
Standardized button styles for "Mark as Complete" and "Slides" on the video rendering pages.

Affected Areas:

Sign-up/Login Page: Signin Button
Video Rendering Page: Mark as Complete Button, Add Comment Button, Upvote Button, Downvote Button
Home Page: Refresh Database Button

This PR improves the overall usability and consistency of buttons in the application, addressing the issues mentioned in #378.
Button Ui Example-->
Before ->

After ->

Loading Spinner Example -->
Before ->
https://github.com/code100x/cms/assets/112716576/14a78022-2fa9-409f-9a61-4d96ddc98c18
After ->
https://github.com/code100x/cms/assets/112716576/0bcce8f6-2501-44c8-9795-fb171976cfb9

@uddisharma closing this, most these are already implemented, please make new pr for missing ones.


can't support argon2

https://github.com/ranisalt/node-argon2
/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:201473
  throw new Error('No native build was found for ' + target)
  ^

Error: No native build was found for platform=darwin arch=x64 runtime=node abi=72 uv=1 libc=glibc
    at Function.module.exports.load.path (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:201473:9)
    at load (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:201437:30)
    at Object.<anonymous> (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:217784:81)
    at webpack_require (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:22:30)
    at Object.<anonymous> (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:259301:18)
    at webpack_require (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:22:30)
    at Object.<anonymous> (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:411873:10)
    at webpack_require (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:22:30)
    at Object.<anonymous> (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:210789:17)
    at webpack_require (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:22:30)
    at startup (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:39:19)
    at /Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:45:18
    at Object.<anonymous> (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:48:10)
    at Module._compile (internal/modules/cjs/loader.js:774:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
    at Module.load (internal/modules/cjs/loader.js:641:32)

Facing similar issue with Argon Package, on node v12.13.0

Facing similar issue with Argon Package, on node v16


TASK: Add documentation

[x] Explain usage of the main export
[x] Describe caveats for Deno
[x] Add links back to original PouchDB repository and packages, give proper credit
[x] Flesh out IndexedDB Shim pony/polyfill README
[x] Flesh out WebSQL ponyfill README
[x] Add license file (MIT)

Completed README and other docs!


Asynchronously setting images

Environment
{N} Playground
Describe the bug

Setting images asynchronously inside a ListView does not work as expected. Images get mixed up. Initially, I thought it was related to recyclerview, but turns out it's the same without it and happens on iOS as well.
To Reproduce
Preview the playground link on Android or iOS.
Expected behavior
Images should be displayed correctly (the text below should be the same as the text on images) when the source is being set asynchronously.
Sample project
https://play.nativescript.org/?template=play-ng&id=0IKfFp&v=2
Additional context
This is a minimal reproduction for the issue. Images need to be loaded asynchronously because in our project we need to provide additional security headers with these requests.

Hi @nikoTM,
In NativeScript we utilize the native controls that do UI Virtualization and Component Recycling. This means only the UI elements for the items visible inside the ListView will be created. These UI elements will be reused to show the new items that come into view. This reuse of the cells inside the ListView component seems to cause this behaviour inside your project. Regarding that, you can review the blog post here, where it is described, how to manage the components state in the ListView.

Hi @tsonevn,
Thanks for the response. Unfortunately, I am already aware of the information you have provided. With that in mind, I am still unable to get a ListView to behave with async image sources. If it is possible to somehow achieve that, I believe it would have a complex technical implementation (would love to be wrong here), so much so that it's not readable neither easily digestible for the next dev. This leads me to the conclusion that the problem needs to be addressed on the framework level, especially for a use case that, I assume, is quite common.

@tsonevn
Are NativeScript going to do anything to fix this major shortcoming in the framework?
For our application, we are showing a list of user profiles, those profile images are getting jumbled up because of this flaw which is quite serious.
I have observed that visible components (including their state, @Input or otherwise) are overwritten by ‘offscreen’/invisible components and this is a complete NO NO.
I think the fundamental problem here is that the nativescript/angular approach to virtualization it is too eager.  Most devices will only show a very limited number of components, virtualization should start with a bank of components that is at least twice that number before reuse happens, that is, N visible components and N offscreen/invisible components. Visible components are sacred and protected from virtualized recycling while visible, the N others are a bank that can be set and switched if needed.
Virtualization should not overwrite any visible component state with that of a component that is currently not visible. Period.
For example:
-- Onscreen ---
[Component(1)] <--- This components state will be overwritten by...
[Component(2)]
[...]
[Component(N)]
-- Offscreen ---
[Component(N+1)] <-- This components state....
[Component(N+2)]
...
What I have seen and I can add to the above sample, when the view is presented:
[Component(1)] image added OK.
Subsequently...
[InvisibleComponent(N+1)] set to point at [Component(1)] and Component(1) is set to whatever content is in [InvisibleComponent(N)]. This is absolutely not anything to do with the underlying virtualization, rather is within the nativescript handling of that virtualization.
The link you provided contains two very controversial suggestions:
a) you publicise private internal state
OR
b) that your components be stateless (i.e mostly useless) for ‘better architecture’
Outside of the most fundamentally simple applications, application components will not only accept @Input() but may generate and in fact rely on internal state derived from that input for the purpose of performing the task they were designed to do. This state may not be of any use, or indeed should not be visible, outside of the component itself.
And besides, it’s a pretty straight forward and well understood concept of object orientation. A component/object holding internal state is not a design flaw.


How to troubleshooting PPP Link failure

Hi,
I am running into a PPP Link failure using NetXDuo 6.2.0, STM32 hardware with Azure RTOS and ST Cellular middleware. I want to ask how to go start debugging the failure to see if it is PPP layer problem or not.
Here is my application:

NetXDuo release 6.2.0
STM32L4R9 chipset
Cellular modem with UART Interface to STM32 chip (host running NetX PPP stack)
ST x-cube-cellular-v7-0-0 cellular middleware

My application runs with successful PPP sessions using SIM from carrier A.
With SIM from different carrier B the PPP sessions starts but I encounter a PPP Link Down callback (set in nx_ppp_link_down_notify()) about 1 minute (I need to measure the exact time) into the session. From the carrier's website it shows the modem is still connected to the network. From the modem logs, the modem does not have an issue connecting to the network
This problem has occurred with NetXDuo release 6.0.7 and I recently upgraded to release 6.2.0 to retest. The behavior is still the same.
I have also tried the same modem and SIM (Carrier B, same physical location) in a different device (Linux SBC with different cellular middleware and PPP stack) and PPP sessions are successfully made. This tells me the issue is not related to signal strength at my location.  There is no PAP or CHAP authentication on either  Carrier A or Carrier B.
Where do I start to troubleshoot the problem? The link down callback has the NX_PPP variable but what information can I look for in that variable.
Thanks

For those who have the same question see nx_user.h
Enable the following defines:
#define NX_PPP_DEBUG_LOG_ENABLE
#define NX_PPP_DEBUG_LOG_PRINT_ENABLE

THe Issue is stil being observed. 9 out of 10 times the DNS_RESOLVE_FAIL error is caused. Error # 163. SNTP Sync fails as well. Please find the attached file containing ppp logs
DNS RESOLVE FAILED.txt
DNS RESOLVE SUCCESS.txt
SNTP SYNC FAILED.txt


Could not find com.android.tools.build:gradle:2.3.1

Getting the below error since yesterday while generating build at App Center.
But it is not mentioned in my gradle file
Build.gradle
 dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'

Error:
A problem occurred configuring project ':react-native-contacts'.
> Could not resolve all artifacts for configuration ':react-native-contacts:classpath'.
   > Could not find com.android.tools.build:gradle:2.3.1.
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.1/gradle-2.3.1.pom
         https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.1/gradle-2.3.1.jar
     Required by:
         project :react-native-contacts

Please help to resolve the issue.

i am also getting same error .

buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.0.1'
}

}
it will help you.

same issue

I have the same error, any leads ?

found this :
subprojects { project ->
def name = project.name
if (name.contains('react-native-contacts')) {
buildscript {
repositories {
maven { url "https://dl.bintray.com/android/android-tools/"  }
}
}
} }
to add in the build.gradle

From what I have been able to figure, this is happening for a lot of libraries right now.
If you notice on maven.google.com, they seem to have removed gradle jars lower than v3.
I am facing the same issue with react-native-linear gradient and even my project as a whole which is currently on RN 0.52 with gradle v2.2.3.
Right now I am adding maven { url 'http://repo.spring.io/plugins-release' } to all the dependencies which seem to be on older gradle versions. Let's see if this fixes the problem. Will update here.

Same trouble https://github.com/wkh237/react-native-fetch-blob/issues/734

@kashishgrover is there a way to write PR so this is fixed for users of this module? should the readme instruct to add that to gradle?

This issue is resolved now, as the repositories are back now.

@morenoh149 I don't think there can ever be a permanent fix for such things. In this case randomly the repos disappeared from jcenter which should not have happened. Meanwhile as a check I did add the above code to my project. I think leaving that to the user makes more sense.

@kashishgrover I thought it was an issue with google updating the gradle version being used. And thus the older dependency was deleted from the location. We merged this update https://github.com/rt2zz/react-native-contacts/commit/62bafa5dbd181b01f45f9d56b2bbec88218fe8af which may be why things are working now?


MANA and SAND

Need a separate tweet. Use the coingecko API. (/simple/price)
(https://www.coingecko.com/en/api/documentation)

Can i get the issue

SRN: PES2UG20CS136
NAME : HARSHIT JAIN
can i get the issue


Green colored line is seen on send invite page when user A is trying to send invite to User B

Frequency : 100%
Repro on build version: Android Alfajores build V 1.40.0
Repro on device version : Google Pixel 2XL(11.0), Google Pixel 4a(12.0)
Does not Repro on build version : iOS Alfajores build V 1.40.0
Does not Repro on device version : iPhone 12(14.7.1), iPhone 13 mini(15.1.1)
Pre-condition:
1] User A must have downloaded the alfajores build
2] User A must have completed onboarding flow
3] User A must be on homepage
Repro Steps :
1] Tap on send button
2] enter a valid number / select a valid contact (non valora user)
3] it will redirect to enter amount page with loader seen on review page
4] User A will be redirected to send invite page
Bug : Green colored line is seen on send invite page
Expected Behavior : Send invite page should be seen properly as compared with iOS
Investigation:

For Android 12 platform user is able to see Review button on Send invite page when User A is trying to send invite to User B. Android 12.jpg

Attachment : android .jpg
iOS.jpg

@ValoraQA are you able to tap the button and proceed to send the amount to a non Valora user phone number?

Hey @MuckT we have verified the above issue on Latest Android Internal Release build V 1.40.1 and observed that review button is clickable from send invite page
Observation : When user enters amount while loader is seen on send amount page , review button is seen enabled on send invite page and we can complete the flow for invite
Attachment : send invite alfajores.mp4
Device : Google pixel 4a(12.0)
Thanks.!

Hey @MuckT we have provided our comment in PR #2858
thanks,!


Update Lavaplayer to 1.2.64

This resolves an issue regarding WAV formats that have excess bytes

This is not a breaking change. Why not the dev branch?


Progress bar does not work in IE 11

There is an issue with this plugin, the progress bar does not work in IE 11 and keeps returning this error:
SCRIPT5022: IndexSizeError
File: amplitude.js, Line: 5782, Column: 4
I really need this to work in IE11 it works in every other browser what is the problem?
if($('#single-song-player').length){
var trackInfo = $('#track-info');
var trackName = trackInfo.data('name');
var artistName = trackInfo.data('artist');
var url = trackInfo.data('url');
var coverArt = trackInfo.data('cover');
Amplitude.init({
"songs": [
{
"name": trackName ,
"artist": artistName,
"url": url,
"cover_art_url": coverArt
}
]
});
console.log(coverArt);
window.onkeydown = function(e) {
return !(e.keyCode == 32);
};
$('#song-played-progress').on('click', function( e ){
  var div = document.getElementById ('song-played-progress');

  var offset = div.getBoundingClientRect();

  var x = e.pageX - offset.left;
  var percentage = ( x / this.offsetWidth ) * 100;
  Amplitude.setSongPlayedPercentage(percentage);
  console.log(percentage);
});

}

I am closing this issue because it did not follow the bug report template guidelines: https://github.com/521dimensions/amplitudejs/issues/new?template=bug_report.md


template files 404s

Hello,
Please help, mdDataTable seems to be a perfect fit for the project I am working on, I'm having an issue with some 404's
angular.js:12759 GET http://localhost/main/templates/mdtTable.html 404 (Not Found)
The actual path to this file is
http://localhost/node_modules/md-data-table/app/modules/main/templates/mdtTable.html
any idea how I could sort this out?
I had noticed the same behaviour with another module when I started using ui.router.
Thank you.

I've commented it out for now :)
app.run(function($rootScope, $templateCache, $http) {
       $http.defaults.headers.common.Authorization = 'Bearer ' + apiToken;
       $http.defaults.headers.common['Content-Type'] = 'application/json; charset=utf-8';
       // disabling template cache
       /* $rootScope.$on('$viewContentLoaded', function() {
          $templateCache.removeAll();
       }); */
    });


Fix abitrage test failure

About the PR

Title, looks like a change to some materials (shuttle walls) had their github tests run before the new material prices PR was landed.
Requirements

[x] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

no cl

Duplicate #31206

Duplicate #31206

Dang, figured someone might open one first, but didn't see it.


cabal build all with v2023-07-18 tag not working

Just checking...

[X] This is a cardano-wallet bug.
[X] I am using the latest cardano-wallet release.
[X] I am using the correct cardano-node version for that release of cardano-wallet.

Version
on installation
Platform
window 11 wsl2
Installation method
Built from source
Network configuration
testnet
Context
try to build cardano wallet with this documentaion: https://developers.cardano.org/docs/get-started/installing-cardano-wallet
error when execute the command: cabal build all.
fatal: reference is not a tree: c30d0de6875d75edd64d1aac2272886528bc492d
found the reference in cabal.project line 92 https://github.com/paolino/openapi3
i do not find a reference when i search in the paolino/openapi3 repo
workaround with tag 3.2.2 / c5596067ef11618fc2eec74a37a927808e2c9500
Description
Prerequisites:
fresh installaion of all / os / cardano-node / cardano-cli / etc..
Steps to Reproduce

1: go to https://developers.cardano.org/docs/get-started/installing-cardano-wallet
2: execute all steps until : cabal build all
3: get error fatal: reference is not a tree: c30d0de6875d75edd64d1aac2272886528bc492d

Hi, this is unrecoverable, sadly. I made a mistake by rewriting git history in that clone of the biocad original openapi3. The only workaround is to use the f22c31611c295637a3e72b341cd1c56d1d87b993 commit from my clone.
In cabal.project you can substitute the old source repository package section with
source-repository-package
  type: git
  location: https://github.com/paolino/openapi3
  tag: f22c31611c295637a3e72b341cd1c56d1d87b993
  --sha256: 10l7wlaz9rcr3fysi1vwg7qqa826bb7nidkpx9jy1q7ja7ddw47i

OTOH , in the next few days we are releasing a new version of the wallet with that this exact section in the cabal.project


using intero when visiting test files

using stack, the default directory layout is
- app
- src
- test

Intero works great with files in the src directory.
In files in test I want to be able to jump to definitions that exist in src files.  Is that possible (it doesn't work for me)?

Never mind.  I must have been in a wedged state.  It works.


Implement new simplified syntax

Instead of
test_testCase :: Assertion
test_testCase "a test" = do
  ...

just do
test = testCase "a test" $ do
  ...

Reduces the amount of magic and avoids repeating test_testCase (now there's hardly any reason to explicitly provide a type signature). Also includes a special hardcoded implementation for QuickCheck/SmallCheck:
test_prop :: [Int] -> Property
test_prop "a test" xs = xs === xs

This is nice because the normal
test = testProperty "a test" $ \xs -> xs === xs

makes it hard to specify the types of the argument in the lambda (although you can still do it this way for complete manual control).

Codecov Report

Merging #18 (9ffe612) into main (e31a47f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #18   +/-   ##
=======================================
  Coverage   78.08%   78.08%
=======================================
  Files           5        5
  Lines          73       73
  Branches        4        4
=======================================
  Hits           57       57
  Misses         15       15
  Partials        1        1

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 e31a47f...9ffe612. Read the comment docs.


Add check the existing of EguiContext Resource

It makes hard to work with bevy_console when there are other plugins which uses bevy_egui
That could fix it well
        // init egui         if !app.world.contains_resource::<EguiContext>() {             app.add_plugin(EguiPlugin);         }

Fixed by #29


How to test my own pictures?

Hello, I'm new of ML.Thank for your project I try to learn.
I have trained the model, and evaluated random pictures in AADB. However, if I offer some new pictures in a new folder, for the code as follow:
dataset = AADB(         image_dir=cfg.data.image_dir,         labels_dir=cfg.data.labels_dir,         split="test",         transforms=load_transforms(input_shape=cfg.data.input_shape)     )
what I should do is that just replace cfg.dataimage_dir with my new folder?
Besides, how to rank the pictures in order?
Waiting for your reply~

If you want to use your own images in a folder you can simply create a simple custom dataset. The AADB dataset class is only setup to support the AADB structure.
Something like the following should work:
import os
import glob

from PIL import Image
from torch.utils.data import Dataset

class CustomDataset(Dataset):
   def __init__(self, root, transforms):
      self.transforms = transforms
      self.files = glob.glob(os.path.join(root, "*"))

    def __getitem__(self, idx):
        x = Image.open(self.files[idx]).convert("RGB")
        x = self.transforms(x)
        return x


Android low fps

Hello! Thanks for the wonderful library! On Android the timer mode is blocking my js and I can't do anything 😢 with my custom countDown that uses useState fps being around 52-55 fps but I have multiple timers of around 10 on the page so I tried this library. Works fine but js is blocked :(

From version 1.3.0 onwards, you can use the intervalMs prop to decrease the frequency at which the interval fires to update the timer, in combination with trailingZeros.
Looking at your screenshot, probably a good configuration could be:
intervalMs = 100
trailingZeros = 1


require bignumber.js gives import error

I have tried to build app and it is giving me error as below
[1] ERROR in ./app/utils/executeContractFunction.js [1] Module not found: Error: Can't resolve 'bignumber.js' in '/home/jarvis/project/Vyper-Contract-GUI/app/utils' [1]  @ ./app/utils/executeContractFunction.js 4:18-41 [1]  @ ./app/utils/index.js [1]  @ ./app/sagas/settings.js [1]  @ ./app/sagas/index.js [1]  @ ./app/store/configureStore.dev.js [1]  @ ./app/store/configureStore.js [1]  @ ./app/index.js [1] Child mini-css-extract-plugin node_modules/css-loader/index.js??ref--5-1!app/app.global.css:

I found that bignumber.js is not in the package.json file

I just pushed a fixed: https://github.com/ssteiger/Vyper-Contract-GUI/commit/d35b9efd159a9ec0af7dafc06e1fa13b6c8a37cf
Let me know if it worked :-)

It worked.


spec: un-conflate variables and values.

The notions of variable and value, although meaningfully distinct, are often conflated in the spec. Some examples:

Dynamic types are defined as a property of interface variables, but are properly a property of interface values. The definition of static type also treats elements of structs, arrays, and slices as variables (see next point).
There is a definition of structured type that provides that elements of slices, arrays, and structs and like variables. Putting aside the question of whether slices have elements or not, this is not true in any case of unaddressable arrays.
Pointers are defined as pointing to variables, not addressable values.
Variables of interface type are capable of storing values of any compatible type, but no mention is made of interface values.
"In other words, the switch expression is treated as if it were used to declare and initialize a temporary variable t without explicit type; it is that value of t against which each case expression x is tested for equality." does not seem like it actually clarifies anything to me; rather, it is just gymnastics to work around the possibility that values don't have a properly defined existence.

This is probably all of them, but I'm not sure.

Found one more: the definition of pointer equality says that things point to the same variable, but as currently defined, slice elements count as variable. Thus, arguably, a := [1]int{1}; &a[0] == &(a[:])[0] could be false because the slice element is a distinct variable from the array element.
It's of note that formally defining this to always be true provides a defined way to compare slices of non-zero-size element type.

Dynamic types are defined as a property of interface variables, but are properly a property of interface values.

Agreed this is an issue: dynamic type should be a property of interface values, not interface variables.

The definition of static type also treats elements of structs, arrays, and slices as variables (see next point).
There is a definition of structured type that provides that elements of slices, arrays, and structs and like variables. Putting aside the question of whether slices have elements or not, this is not true in any case of unaddressable arrays.

Not sure I follow the issue. Is the problem that we say "Structured variables of array, slice, and struct types have elements" when zero-length arrays and empty structs do not?

Pointers are defined as pointing to variables, not addressable values.

I believe this is correct. Values are not addressable, but when they're stored in memory (which is always termed a "variable") they are.

Variables of interface type are capable of storing values of any compatible type, but no mention is made of interface values.

Agreed this seems to be worth clarifying (unless @griesemer or someone else can point out wording I'm overlooking). We define that the dynamic type must be a "concrete" type, which I believe is intended to mean a non-interface type, but we don't define that.
I at least think "A variable of interface type can store a value of any type with a method set that is any superset of the interface." needs to be clarified to something like "A value of interface type can store a value of any concrete type with ...".

does not seem like it actually clarifies anything to me

I believe it's meant to explain that
switch e {
case c1, c2: ...
case c3, c4: ...
}

means the same as:
if t := e; t == c1 || t == c2 {
    ...
} else if t == c3 || t == c4 {
    ...
}

See 2d9378c for the ambiguities this wording was introduced to address.

Found one more: the definition of pointer equality says that things point to the same variable, but as currently defined, slice elements count as variable. Thus, arguably, a := [1]int{1}; &a[0] == &(a[:])[0] could be false because the slice element is a distinct variable from the array element.

Slice types are defined to reference the storage of an underlying array:

A slice, once initialized, is always associated with an underlying array that holds its elements. A slice therefore shares storage with its array and with other slices of the same array

And slice expressions are defined to access these:

Otherwise, the result shares its underlying array with the operand.

Because &a[0] and &a[:][0] always refer to the same storage location (i.e., variable), they're equal pointer values.
/cc @griesemer @ianlancetaylor

Not sure I follow the issue. Is the problem that we say "Structured variables of array, slice, and struct types have elements" when zero-length arrays and empty structs do not?

No, the issue is that this definition says that elements of arrays are treated like variables. But this is not true of unaddressable arrays. The same goes for elements of unaddressable structs.

I believe this is correct. Values are not addressable, but when they're stored in memory (which is always termed a "variable") they are.

The spec defines an addressable value as "either a variable, pointer indirection, or slice indexing operation; or a field selector of an addressable struct operand; or an array indexing operation of an addressable array." and refers to this on several occasions. I think this is a much better approach then trying to refer to them as variables, because it is more comprehensive. The "act like variables" language when discussing structured variables is unclear whether that is normative text saying "they count as variables for the purposes of the spec" or merely informative implying "they are addressable and thus can be used in many of the same contexts as variables". A cleaner way to write this, perhaps, is to say that an addressable value has an address, and then say that two addressable values have the same address if (not counting zero-size objects):

They are both the same variable; or
They are both the same element of an array or struct with the same address.

If an operand is the address of a pointer indirection operation, then its address is the address stored in the pointer. If an operand is a slice index operation, its address is the address of the corresponding element of the underlying array.

I believe it's meant to explain that...

Ah, thanks. Sounds good.

Slice types are defined to reference the storage of an underlying array:

And slice expressions are defined to access these:

Because &a[0] and &a[:][0] always refer to the same storage location (i.e., variable), they're equal pointer values (assuming len(a) > 0).

I agree in all but the definition of the space. The issue with spec as written is that defines pointer equality as being equality of variables:

Pointer values are comparable. Two pointer values are equal if they point to the same variable or if both have value nil. Pointers to distinct zero-size variables may or may not be equal.

The spec also says, in the text I quoted earlier about structured types, that slice elements and array elements are variables. It is unclear at best about whether or not the identity of *a[0] as a variable is the same as &a[:][0] as a variable. I think the argument that they are the same is fairly strong, perhaps based on:

A slice...  provides access to a numbered sequence of elements from that array.

However, the way this works is, in my opinion, needlessly complicated by the lack of an explicit statement.

No, the issue is that this definition says that elements of arrays are treated like variables.

Okay, that's intentional though and the convention chosen for the Go spec: "variable" is the term used to refer to any memory storage location where a value can be stored and that can be addressed. Variables can contain other variables. Some variables are explicitly declared with var declarations, but many others are implicitly allocated and do not have names (e.g., the new builtin or taking the address of a composite literal both allocate anonymous variables).

But this is not true of unaddressable arrays. The same goes for elements of unaddressable structs.

The elements of array and struct values (as opposed to variables) are not addressable, so they're not variables.

The spec defines an addressable value as "either a variable, pointer indirection, or slice indexing operation; or a field selector of an addressable struct operand; or an array indexing operation of an addressable array." and refers to this on several occasions.

I see. Perhaps we should rephrase that to "addressable expression". In all cases, the expression identifies a variable / memory location.


set up github actions

[ ] testing

[ ] placeholders for docker

[ ] placeholders for pypi

https://medium.com/swlh/automate-python-testing-with-github-actions-7926b5d8a865


[cmd] PUSH - view progress on remote peers

From @joehand on January 4, 2017 16:32
Show remote progress bars when connected to peers.
We could start this as a basic dat push that runs until all peers are updated, then exits.
Copied from original issue: joehand/dat-next#62

I am trying to sync many dat files to a hypercored instance. I listed hashes I care about in its feeds file, but now I have to run dat sync for as long that the dat file gets synced there. But the issue is that I would like to automatize this process. Ideally, it would sync only for one peer and after that peer would get the whole dat, it would exit. So that I can then do this for the next dat repo.
@mitar

Via https://github.com/datproject/dat/issues/936

This would be great:
dat push --to example.com:3200 \
         --to <IP_ADDRESS>:451 && \
    echo "Dat pushed successfully and quit."

Yeah, in order to get this, I think we'd need the following:

[ ] Docs on how to look at peer health
[ ] A high level module to deal with peer health
[ ] Attempt to connect to the IPs specified in to
[ ] Monitor changes in content on the peer until it's up to date

@joehand You mentioned before that the Dat CLI did something similar already. Would you mind giving a summary of how that works?

https://github.com/joehand/dat-push/

We could put this in as an extension probably...


[WIP] Connection adapters

Added connection adapters to connect to a host:

LocalConnectionAdapter
SSHConnectionAdapter

It seems that the PECL SSH2 extension has some memory leak issues, besides some other issues:

Not being able to disconnect / close a resource.
The OO extension wrapper doesn't have functionality to connect / authenticate before actually requesting a 'subsystem'.

I'm going to try-out the phpseclib/phpseclib package, which doesn't require the PECL SSH2 extension.

You might want to check out http://flysystem.thephpleague.com/ too, the one API talks to all approach looks interesting.

Will do.


Diagnostics: Add nested scopes and operation name

Pull Request Template
Description
This also adds an operation name to make it clear what operation the diagnostics belongs to.

Adds nesting support for scope.
Scope now has an end object that is added to the list when it is disposed. Anything between the scope and scope end is considered a nested object. This avoids each scope needing to contain a list and maintaining a stack of which is the current scope.
Add operation name to the context to make it easier to determine what property is being used.
Add start and elapsed time to all scope operations to make it clear when it starts and ends.
Scope now uses the context timer to avoid needing to create and maintain it's own timer.

Type of change
Please delete options that are not relevant.

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

{
    "DiagnosticVersion": "2",
    "Summary": {
        "OperationName": "CreateItemAsync",
        "StartUtc": "2020-05-16T20:29:52.7056411Z",
        "TotalElapsedTimeInMs": 185.8436,
        "UserAgent": "cosmos-netstandard-sdk/3.8.0|3.9.0|37169|X64|Microsoft Windows 10.0.18363 |.NET Core 4.6.28619.01|",
        "TotalRequestCount": 1,
        "FailedRequestCount": 0
    },
    "Context": [
        {
            "Id": "ItemSerialize",
            "StartTimeInMs": 0.0012000000000000001,
            "ElapsedTimeInMs": 0.0702,
            "Inner": []
        },
        {
            "Id": "ExtractPkValue",
            "StartTimeInMs": 0.0724,
            "ElapsedTimeInMs": 58.656400000000005,
            "Inner": []
        },
        {
            "Id": "AggregatedClientSideRequestStatistics",
            "ContactedReplicas": [
                {
                    "Count": 12,
                    "Uri": "rntbd://<IP_ADDRESS>:10253/apps/DocDbApp/services/DocDbServer5/partitions/a4cb4951-38c8-11e6-8106-8cdcd42c33be/replicas/1p/"
                }
            ],
            "RegionsContacted": [
                "https://<IP_ADDRESS>:8081/"
            ],
            "FailedReplicas": []
        },
        {
            "Id": "Microsoft.Azure.Cosmos.Handlers.RetryHandler",
            "StartTimeInMs": 58.775800000000004,
            "ElapsedTimeInMs": 126.9783,
            "Inner": [
                {
                    "Id": "Microsoft.Azure.Cosmos.Handlers.RouterHandler",
                    "StartTimeInMs": 58.7806,
                    "ElapsedTimeInMs": 126.9629,
                    "Inner": [
                        {
                            "Id": "Microsoft.Azure.Cosmos.Handlers.TransportHandler",
                            "StartTimeInMs": 58.7821,
                            "ElapsedTimeInMs":<PHONE_NUMBER>0000001,
                            "Inner": [
                                {
                                    "Id": "Microsoft.Azure.Documents.ServerStoreModel",
                                    "StartTimeInMs": 58.818400000000004,
                                    "ElapsedTimeInMs":<PHONE_NUMBER>0000001,
                                    "Inner": [
                                        {
                                            "Id": "AddressResolutionStatistics",
                                            "StartTimeUtc": "2020-05-16T20:29:52.8301545Z",
                                            "EndTimeUtc": "2020-05-16T20:29:52.8579920Z",
                                            "ElapsedTimeInMs": 27.837500000000002,
                                            "TargetEndpoint": "https://<IP_ADDRESS>:8081//addresses/?$resolveFor=dbs%2fp7FoAA%3d%3d%2fcolls%2fp7FoANKf4uk%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0"
                                        },
                                        {
                                            "Id": "StoreResponseStatistics",
                                            "StartTimeUtc": "2020-05-16T20:29:52.7644656Z",
                                            "ResponseTimeUtc": "2020-05-16T20:29:52.8908514Z",
                                            "ElapsedTimeInMs": 126.3858,
                                            "ResourceType": "Document",
                                            "OperationType": "Create",
                                            "LocationEndpoint": "https://<IP_ADDRESS>:8081/",
                                            "StoreResult": "StorePhysicalAddress: rntbd://<IP_ADDRESS>:10253/apps/DocDbApp/services/DocDbServer5/partitions/a4cb4951-38c8-11e6-8106-8cdcd42c33be/replicas/1p/, LSN: 38, GlobalCommittedLsn: -1, PartitionKeyRangeId: 0, IsValid: True, StatusCode: 201, SubStatusCode: 0, RequestCharge: 11.05, ItemLSN: -1, SessionToken: -1#38, UsingLocalLSN: False, TransportException: null"
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

What does HandlerElapsedTimeInMs measure? The time it ran on the current handler? Or the time until the chain (calling all the handlers down the line) completed?

Closing since there has been no update for over 30 days. Please re-open if necessary.

Closing since there has been no update for over 30 days. Please re-open if necessary.


[Frontend] Integration of userprofile.js with backend completely

look at inlfuncer data base and integrate all fields with userprofile.

instead of pricing spot services rename them as instagram youtube facebook
for instagram
replace basic with followers
replace standard with price per post
replace premium with avg likes
replace product post with total collaborations done
replace story post with total interests received
replace reel with city contributing max viewers
and  add category
add membersReachability
add avgage  data
add avg comments  data
for youtube
replace basic with subscribercount
replace standard with price per video
replace premium with viewscount
replace product post with total collaborations done
replace story post with total interests received
replace reel with videocount
for facebook
replace basic with followers
replace standard with price per video
replace premium with likes
replace product post with total collaborations done
replace story post with total interests received
all these things are in db foe each platform

@RohitGupta1237  can you please assign this to me.


Upgrade to elements 3

(first off, sorry for the chunky PR)
This updates to GOV.UK Elements 3.0.1 (changelog) and GOV.UK Frontend Toolkit 5.2.1 (changelog). There are a couple of minor accessibility improvements but the big changes are the removal of the JavaScript requirement for radio buttons and checkboxes, and the change in the class applied to form groups and controls that are invalid.
This change has necessitated reworking the markup for radios and checkboxes (along with the error class changes). Along the way I noticed a few places where common markup could be refactored so there are a couple of commits to address that. Hopefully the commits should be fairly readable in order, but if there are any questions then I’m happy to answer.

test this please


Add CSI helper deployment options

Adds a new attribute HelperDeployment to StorageOSClusterCSI for
setting the kind of deployment, keeping the default to StatefulSet.
Combines the existing StatefulSet deployment with new Deployment into CSIHelper group of methods.
Updates all the unit tests to test for CSI helper deployments.
Updates all the OLM related manifest files for CSI helper deployment support.

Need to update the operator e2e tests to include CSI helper deployment case.

The deployment manifest files update is done using the helper scripts from #120 . Seems to work great.
Updated deploy/storageos-operators.configmap.yaml with all the CRD and OLM changes and ran make metadata-update to automatically update all the other files https://github.com/storageos/cluster-operator/pull/124/commits/62a1929cecb1cd2d8a9b3c0b7c197c6292f48789 .

It probably needs a README change for the new param?  Will also need a docs change.
cc @actionbuddha @avestuk @Arau

This will increase the CI test time for both operator-sdk e2e tests and OLM e2e tests because of running an extra set of tests for CSI helpers as Deployment.
Renamed csi.helperDeployment to csi.deploymentStrategy.


IP address change monitoring

Would it be possible to use any kind of standard for commits related to IP changes to allow an automated monitoring of changes?
Concrete need:
We have to whitelist IP addresses used for availability web tests.
We subscribed to the commit feed and we receive all changes.
Currently, we are obliged to read almost every single message because ther is no way to figure out a commit contains a change to the IP addresses used for availability web tests or not.
If we had some tags, we could implement a rule to detect them (#ip_avalability, #ip_telemetry, ...).
Could it be possible to include such a tag?
Thanks a lot

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

ID: 3942b937-b212-3ceb-d356-450b7f598f68
Version Independent ID: 8b015b42-cf02-3942-3cc3-6e0f977d191a
Content: IP addresses used by Application Insights and Log Analytics - Azure Monitor
Content Source: articles/azure-monitor/app/ip-addresses.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @lgayhardt
Microsoft Alias: lagayhar

@marcstern Thank you for reaching out. Since this channel is for driving improvements towards MS Docs, could you provide the URL of the specific documentation that your feedback is applicable to? That way, we are able to make sure your feedback is addressed by the right team.

articles/azure-monitor/app/ip-addresses.md

@marcstern Thanks for your comment. For your scenario, you can take advantage of azure service tags (learn more ) which encompasses  group of IP address prefixes from a given Azure service. In your case, you can use "ApplicationInsightsAvailability" service Tag.
Also , here is a tip on how to quickly check if there is change in IP addresses of a given Azure service.

Thanks for this very useful info.
On top of the azure service tags, we'll like to receive easily notifications. This feed seems the best way for us, nothing to install, just to register the feed.
Furthermore, we are inetresting in all locations because we mainatin some data for mutliple customers. Azure service tags are linked to our own subscription.

@marcstern Kindly note by default, service tags reflect the ranges for the entire cloud, its not limited to single subscription and "ApplicationInsightsAvailability" can  not be limited to specific region.
If you need further information, kindly elaborate your requirement so that I can advise you accordingly.

As I explained, I don't want to discover addresses, just be notified about changes.
And I don't want to build my own parser to detect changes, as we have an easy mechanism for that: RSS.
Just by adding some tags (#ip_avalability, #ip_telemetry, ...) in the commit description, it would allow an easy use of this info.
Please check if this easy thing could be done.
Thanks

@marcstern Thanks for the explanation. I will reach out to the contributors of the document and inform them to review your feedback.
As there is no further documentation changes to the document, we will close the issue for now. If there are further questions , please revert and we will be glad to assist you.
@lgayhardt -FYI.


Pin Dask to >=0.17.1

Until Dask 0.17.1 there was a bug where computing scalar arrays could result in errors (dask/dask#2823). We had a workaround (https://github.com/SciTools/iris/pull/2878) which we took out after a fixed version of Dask was released. We should have also updated the minimum version of Dask at that point.

@djkirkham LGTM, thanks :+1:
We just need to fix the tests outside this PR, then I'll merge

Closes #2961

We'd need to rebase this and target v2.0.x for this to go into v2.0.1.
There are one or two other commits that we could cherry-pick onto v2.0.x, or we simply move forwards and cut a v2.1.0. I have no particular preference. Anybody else?


Please report it at https://forums.oracle.com/ords/apexds/domain/dev-community/category/oracle-database-free

          Please report it at https://forums.oracle.com/ords/apexds/domain/dev-community/category/oracle-database-free

Originally posted by @cjbj in https://github.com/oracle/docker-images/issues/2654#issuecomment-1612725978

Please open an issue at https://forums.oracle.com/ords/apexds/domain/dev-community/category/oracle-database-free


Incomplete escaping of {} in execute action

In execute action, fzf replaces {} to the double-quoted string of the current line. However, it seems that there are cases where we need to escape other shell expressions as well.
echo 'foo `bar`' | fzf --bind 'space:execute(echo {}; sleep 1)'
# /bin/bash: bar: command not found
# foo

echo 'foo ${bar:-baz}' | fzf --bind 'space:execute(echo {}; sleep 1)'
# foo baz

But the escaping rule depends on the current $SHELL
echo 'foo `bar`' | SHELL=fish fzf --bind 'space:execute(echo {}; sleep 1)'
# foo `bar`

Using single-quoted string fixes the issue:
func quoteEntry(entry string) string {
	return "'" + strings.Replace(entry, "'", "'\"'\"'", -1) + "'"
}

The problem with the change is that it breaks the following case.
echo 'foo `bar`' | fzf --bind "space:execute(echo 'echo {}'; sleep 1)"

It can be fixed by not quoting {}
echo 'foo `bar`' | fzf --bind "space:execute(echo 'echo '{}; sleep 1)"


Manual File Transfer

document the manual process of moving the python scripts to the required directories.

completed README with installation instructions.


chore(clerk-js): Reorganize cookies code and fix TokenUpdate event

Description
Re-organize cookie codebase into a central place, fix TokenUpdate event to be triggered on sign-out and drop duplicate event on refreshing token.
Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[x] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[x] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

@BRKalow Could you take a look at the following commits (PR comments are addressed):

Rename SessionCookieService to AuthCookieService for clarity
Add JSDoc for auth services and cookies

@nikosdouvlis We removed the return statement because we didn't use it and it would make the CookieHandler method signatures used in clerk-js return values the same as the shared/cookie cookieHandler which will allow us in the future to merge them if less changes.
We can drop that change if you think it's gonna cause issues or if it does not give us enough value to change it.
ref: https://github.com/clerk/javascript/pull/3362#discussion_r1599821034


how to load static columns and data to jQuery-bootgrid

I need to load jQuery-bootgrid with static data.
I build Json data string to bind data to grid,but I am not sure how to bind data  to grid.
I am not able to find any method to bind data and this should happen only after I click on "Add Button" and remove that row from grid when I click on "Cancel" button.
Initially the grid should be hidden and visible only when click on Add button.
Please let me know which method to use to add data to Jquery-bootgrid.

I have created JSON object and used the following method to add rows to Jquery Bootgrid
("#grid-filterFields").bootgrid("append", jsonData);


VS Code extension and long text in toolbar causes dev spaces to disappear

Dev spaces has quite long text in toolbar when connected:

Unfortunately this means that if you zoom even a bit in VS Code your dev spaces functionality disappears:

This means that you cannot access easily "Go to ..." functionality:

This is quite confusing for end user so maybe better option would be clip that in case it doesn't fit in long text mode (believe me I was confused when given demo and couldn't find the button I was looking for :laughing:).

Thank you Janne for reporting this issue!
The text displayed in the status bar is indeed quite long in this case.
I'm having a look at this and will update this issue once we have a fix.

We decided to keep only "Dev Spaces: Connected" in the status bar, so that it is shorter.
This will be available with the next release of the extension, at the beginning of January.
I'll close this issue once the fix is available.
Thanks again @JanneMattila for reporting this issue!


az aks update-credentials failed

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks update-credentials
Errors:
400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 654, in execute
    raise ex
cli/core/commands/__init__.py, ln 718, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
...
python3.6/site-packages/requests/models.py, ln 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks update-credentials --resource-group {} --name {} --reset-service-principal --service-principal {} --client-secret {}

Expected Behavior
Environment Summary
Linux-4.15.0-1091-azure-x86_64-with-debian-stretch-sid (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.9.0

Additional Context

aks

hi @zsolt-bognar did you meet the issue in Cloudshell? Could you pls try workaround with az login? This is a known Cloudshell issue #11749 .

@zsolt-bognar
When you see this error "400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token",  can you try "az login --identity" and paste the response here? Please also share the time that this error shows, so we can dig into our logs. Thank you.

Ping on @zsolt-bognar  for @BellaLi 's request

Can we close this as a dupe of: https://github.com/Azure/azure-cli/issues/11749


The terminal process failed to launch of vscode

Error:The terminal process failed to launch: Starting directory (cwd) "D:\vs code\march long 2020" does not exist.
Json file:
{
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"C_Cpp.updateChannel": "Insiders",
"files.autoSave": "afterDelay",
"java.saveActions.organizeImports": true,
"window.zoomLevel": 0,
"terminal.integrated.shell.windows": "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe",
"terminal.integrated.windowsEnableConpty": false,
"json.schemas": [
]

}
whenever compiling a code terminal does not launch and gives the above mention error.

error pic link:[https://stackoverflow.com/posts/63027440/revisions]

The screenshot failed to open. Make sure that directory does actually exist, that message should only ever display when it does not.

i updated the issue with similar error pic with different error message.

How do you launch the terminal? Do you have extensions installed?

yes everything is installed.I think problem arised when i deleted some files in my computer to make it clean and now i can't recover the files also.

Run code --list-extensions and paste in the output and please show a gif of the problem.

i wrote code then compiled and got error msg.

Your anti-virus says threats detected so it probably blocked the native call, whitelist these files: https://code.visualstudio.com/docs/supporting/troubleshoot-terminal-launch#_error-connectnamedpipe-failed-windows-error-232


Hide CDS hero video

Hide CDS landing hero video

:tada: This has been pushed live to https://developers.google.com/web/


Add support for GO-e charger

See https://github.com/cathiele/homeassistant-goecharger

I did some work on making the card customizable, please see #19
It would be great if you could test my proposal and see if it fulfills your requests. For sure there are some bugs, kindly let me know or contribute if you feel for it.

Nothing heard, so closing issue.


ECI's Polling Stations locations website doesn't allow to copy and distribute

Hi,
Thanks for your effort and the amazing work!
I have been thru the DataMeet Google Groups thread (link) and it seems ECI's Polling Station Locations website doesn't allow to copy and distribute data on that website!

Disclaimer : You may not use this website or the information on it for commercial purposes. You may not copy or distribute any information that you get from this website.

Did DataMeet obtain permission/license from ECI regarding the same? Can you point me to it?
DataMeet's India - District Boundaries states, along with #6:

The District Boundaries of India, Scraped from ECI's Poling Station Locations Website.

Thanks!

I just stumbled upon this thread in DataMeet Google Groups - Government Open Data Licence – India (GODL) has been gazette notified on February 13, 2017.
Does it allow the ECI's data to be in the open?

I'm not a lawyer, but you should note that when we scraped the data, at that time this notice was not present.

Thanks for the info!


Added draft 1 of jhm

https://github.com/DozerMapper/dozer/issues/94

This PR provides the foundations for using JHM. Further tests need to be defined, currently, i think the following should be added:

Different type mapping
Deep mapping
Collection mapping
Mappings without XML

@orange-buffalo @buzdin ; ideas for other tests to add?

Comments:

Mappings with annotations, API and XML should not differ, because everything is processed in one core. No point on making a special test case imo.
Generic collections is a special case.
Polymorphic mapping based on interface has special treatment and might be slow.
Array mapping
Deeply nested objects, say 7 levels of properties.

I am going to merge this, as it gives the foundation, which needs to be expanded upon. Further PRs need to be raised as per:

https://github.com/DozerMapper/dozer/pull/431#issuecomment-308235977


GZipOutputStream is the destination and not the source

Changed the variable names to make it clear and assign the correct stream order to the Copy function.
Fixed typo in StreamUtils class name

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.
Wow!! what's with all the legalese =(

Wow!! what's with all the legalese =(

It's because ICSharpCode is a (non-profit) organization that may need to actually deal with legal stuff :(

History - see issue #103 (plus my comment here https://github.com/icsharpcode/SharpZipLib/pull/101#issuecomment-205837920). That little snippet ensures that the entire code base is properly MIT-licensed for everyone.


delay

What type of PR is this?

[ ] API-change
[ ] BUG
[ ] Improvement
[ ] Documentation
[ ] Feature
[ ] Test and CI
[ ] Code Refactoring

Which issue(s) this PR fixes:
issue #
What this PR does / why we need it:

https://github.com/matrixorigin/ci-test/actions/runs/11930657028

https://github.com/matrixorigin/mo-auto-test/actions/runs/11984583355


Two users in production not being created

Reported that a user wasn't being assigned his proper shift. Upon investigation, He was never given a worker SID. need to investigate the why, and how to prevent it.

Uncertain as to how we got to this state, but a user was created without updating airtable.
I deleted the user in Twilio, and it resolved the issue


Don't use own build of osvr_json_to_c if cross-compiling

We can still build it, but we should search for an existing (host) version to use in plugin building instead.

Solved in the android-2 branch, currently being used for OSVR-Android-Build.


Investigate memory leak

Pretty sure we are leaking memory today, although I haven't checked super recently. This is expected in dartium but not dart2js. This could be coming from polymer js itself, so the best first step is probably to build a quick test to see if it can be duplicated there, and if so then file a bug on that repo.

Do you have any more info on it? I remember finding a huge memory leak in non-chrome browsers, https://github.com/Polymer/ShadowDOM/pull/512. I had a potentially automated test for that particular issue I passed onto the Polymer team.

I haven't had any time to investigate it yet - I think it happens regardless of the polyfills though.

looks like we are fine actually


Latest release breaks select

I don't have a plunker for it yet, but the latest release has broken select for me. Here is a quick video example:
http://quick.as/r2zvin2lb

I suspect that the bug is related to this commit:
https://github.com/angular-ui/ui-select/commit/f6b6d819dbcd019b2b752c60cd3a947188744106
activeIndex is no longer being set on mouseover, but appears to be being used.

I found the bug, I'll release a patch today with other fix too

I cannot reproduce it, I tried the multi select demo but when pressing a choice it works correctly, can you setup a plunker or confirm how to reproduce it?

I'll see if I can get it on a plunkr tomorrow, if I have time.

For now, here is the code for the select that doesn't work:
https://gist.github.com/karptonite/3f72ec9e0f8c0d912d57

Can you confirm if force-options-down is a private directive you did or where this comes from?

Force options down is something I did before the position attribute was added (it was equivalent to position="down"). I'm pretty certain it is unrelated to this bug, but I don't have the code in front of me.

This seeminly also broke the styling for the bootstrap theme, previously the hover effect was a blue background, now it's gray.

@dimirc Actually, as @realityking says, you can even see in you multiselect demo that the bootstrap styles are broken in the current release. I suspect if you track down that bug, the bug I see in functionality (but have yet reproduced in a plunker) may be fixed.

@realityking @karptonite maybe the confusion here is that with https://github.com/angular-ui/ui-select/pull/1211 we removed the ability to set activeIndex on hover and actually only change the background (with css) on hover to give some visual feedback. To change the activeIndex was causing a useless performance hit on hover since the activeIndex was change (and a full $digest). I see more sense on having the current activeIndex change only by the UP/DOWN keys and only a hover effect when mouse over.

@dimirc I'm sure that caused the problem, but I'd argue that until it works as before, the performance hit wasn't useless. :) unfortunately, I still haven't had time to reproduce the functional bug I showed in the video, but the problem with the bootstrap theme is out there on the current release, and reproducible in the plunker.

@karptonite but what is the problems that is reproducible? Please explain me clearly what is expected and what is now showing so I can fix it if it's actually broken

@dimirc OK, while I wasn't able to reproduce the exact problem, what I found is this:
http://plnkr.co/edit/6rLzCvmyNKorQo3CuyhA?p=preview
The new version breaks specifically when tagging is being used, and tagging-label="false".
Selecting any of the existing options in this code with a mouse is impossible (it adds an empty user instead). This code works fine on version 12.1.

Hello, any update on this? this is still not working
Anyone has a workaround for now?

Honestly, my workaround was just not to use tagging-label="false" in my code. That was possible for me because tagging-label="false" was actually a workaround for a previous bug (I don't remember what) that was no longer an issue, as far I  could tell. Sorry, not too helpful, but it may work for you, depending on your use case.

I only reverted back 2 pieces of code (check f6b6d81 for the whole changelist that produced the issue):
I reverted:
.attr('ng-mouseenter', '$select.setActiveItem('+$select.parserResult.itemName +')')
and
ctrl.setActiveItem = function(item) {
ctrl.activeIndex = ctrl.items.indexOf(item);
};
Now tagging-label='false' tagging="myAddTagFunction"
works like a charm while before: either you can only select (mouse click) a predefined value and add new tag (using keyboard for selecting was actually working)
or if you remove only the tagging-label attribute, you can no longer add new tag due to init failure that prevent from having the default "(new)" working and predefined value could be again mouse selected as normal.
The demo plunker is showing the issue when the select.js is from the master branch
The demo plunker when using the doc link, is going to a plunker with 0.11 version on. So no bug

Can the Plunker be updated with the latest release?

I updated the plunker with the latest release, here:
http://plnkr.co/edit/VWvSsKqz4NvRJs1ZHfBK?p=preview
It seems to show the same problem behavior as the previous plunker, however, I didn't look at it to carefully.

I'm having this same issue with single select. Both of the single select demos on the official examples page exhibit the issue:
http://angular-ui.github.io/ui-select/demo-tagging.html
(Last two examples. In the example Tagging in Single Select mode you can select existing options but it's impossible to create new options. In the example Tagging in Single select mode, with simple strings there are no existing options and so nothing can be selected.)

A minimal plnkr for this:
http://plnkr.co/edit/oVra6eBaFaLVo1PvM6JL?p=preview
First one tagging and selection works. Second one only tagging works. Mouse click no longer does anything.
The issue seems to be when tagging-label="false", the tagging function is called (with an empty string). The function is not called if tagging-label is not set.
This behaviour still exists in 1.17.1.

Is there any fix/workaround that'll allow for single select tagging? I've tried to look through the issues here, but I feel like I keep running into a scenario where people only show multiple select tagging working or I run into a dead end where some fix didn't actually fix the problem.

The issue still persists when tagging and tagging-label="false" are set. Matching items are not highlighted.

modifying uiSelectChoicesDirective.js on line 65 solved the issue.
        scope.$watch('$select.search', function(newValue) {           if(newValue && !$select.open && $select.multiple) $select.activate(false, true);           $select.activeIndex = 0; // <-- $select.tagging.isActivated ? -1 : 0;           if (!attrs.minimumInputLength || $select.search.length >= attrs.minimumInputLength) {             $select.refresh(attrs.refresh);           } else {             $select.items = [];           }         });


Feature/dssm chain

For #128 , remove base_processor_unit, add pipeline.

Codecov Report

Merging #231 into 2.0 will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff         @@
##            2.0   #231   +/-   ##
===================================
  Coverage   100%   100%
===================================
  Files        19     19
  Lines       425    445   +20
===================================
+ Hits        425    445   +20

Impacted Files
Coverage Δ

matchzoo/preprocessor/process_units.py
100% <ø> (ø)
:arrow_up:

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

matchzoo/engine/pipeline.py
100% <100%> (ø)

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

matchzoo/engine/base_preprocessor.py

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 cd5c968...dc4359f. Read the comment docs.


Update the macos running image to version 14.

Version 11 is being deprecated: https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/

Godot itself is using macos-latest, and we just updated godot-cpp to use it too. Why not use macos-latest here too?

Godot itself is using macos-latest, and we just updated godot-cpp to use it too. Why not use macos-latest here too?

Done!


Path must be string recieved null

VSCode Version: insider
OS Version: os x

Steps to Reproduce:

Start debugging some node code
Click on an internal module, notice error in console

@jrieken dup of the one from yesterday.


plex: use buildFHSUserEnvBubblewrap

Description of changes
After merging #132963 and #187161 the plex service somtimes didn't start anymore with the message that it is already running. I think I was able to pin it down to the PID namespace and plex always starting with PID two. I assume it's detection mechanism found another process with this PID and refused starting. Disabling PID namespace fixes the issue.
So this MR does the following:
Switch the plex server to use buildFHSUserEnvBubblewrap.
Still requires shared PID namespace as plex refuses to start otherwise,
it thinks it's already running.
Things done

I tested with several reboots and service restarts and I was not able reproduce the issue.
Verified that plex is now running with a global PID again.

Built on platform(s)

[x] x86_64-linux
[ ] 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/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

/cc @jonringer @K900

For info the diagnose seems correct Plex seems to leave a file called plexmediaserver.pid in its data directory and this contains a 2 when this happens, Deleting it fixes the problem. We could delete it after exiting plex in the FHSenv script. But sharing the PID namespace seems more correct :thumbsup:


PlusCoin

Token Address
e.g: https://scan.tomochain.com/address/0x
Token Symbol
e.g: TOMO, KNC
Token Name
e.g: TomoChain, Kyber
Token Logo
PNG 256px by 256px
Token Description
A clear and concise description of the token.
Website
Link to the website that will use the token.
Social links
e.g Github, telegram, twitter

PlusCoin

No have token info


Usage with multi_log

I am trying to use egui_logger with multi_log (which seems pretty dead as a project, but anyhow). I think all that should be done to make this possible (and probably to allow integrating with other similar crates) is to make the EguiLogger struct public. From what I've observed using this, it seems to work ok. I can open a PR if needed.

A PR would be awesome! Could you maybe add an example

Sure! Shouldn't be too complicated, I'll have it done by tomorrow or so.


MiqSmartProxyWorker not running in Podified

SmartState jobs aren't getting started on podified, no MiqSmartProxyWorker is running so the start signal never gets run.

Jansa backport details:
$ git log -1
commit ff39526599465a2f815d95f582ff0f245b9cc0bd
Author: Jason Frey<EMAIL_ADDRESS>Date:   Mon Aug 31 09:34:51 2020 -0400

    Merge pull request #20497 from agrare/smart_proxy_worker_not_running_in_podified

    MiqSmartProxyWorker not running in Podified

    (cherry picked from commit ff7f15bccf2c2c08843bc206bc2a63b5de06b96d)


Method not found exception: get_CacheFolder

Tried to build my solution on a new PC (with updated nuget packages).
Old version: 1.0.172
Installed version 2.0.48
Severity	Code	Description	Project	File	Line	Suppression State
Error		The "Microsoft.Web.LibraryManager.Build.RestoreTask" task failed unexpectedly.
System.AggregateException: One or more errors occurred. ---> System.MissingMethodException: Method not found: 'System.String Microsoft.Web.LibraryManager.CacheService.get_CacheFolder()'.
   at Microsoft.Web.LibraryManager.Build.HostInteraction.get_CacheDirectory()
   at Microsoft.Web.LibraryManager.Providers.Cdnjs.CdnjsProvider.get_CacheFolder()
   at Microsoft.Web.LibraryManager.Providers.Cdnjs.CdnjsCatalog..ctor(CdnjsProvider provider)
   at Microsoft.Web.LibraryManager.Providers.Cdnjs.CdnjsProvider.GetCatalog()
   at Microsoft.Web.LibraryManager.Extensions.<IsValidAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.LibraryManager.Extensions.<IsValidAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.LibraryManager.LibrariesValidator.<ValidatePropertiesAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.LibraryManager.LibrariesValidator.<GetLibrariesErrorsAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.LibraryManager.LibrariesValidator.<GetManifestErrorsAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.LibraryManager.Manifest.<GetValidationResultsAsync>d__31.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at Microsoft.Web.LibraryManager.Build.RestoreTask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
---> (Inner Exception #0) System.MissingMethodException: Method not found: 'System.String Microsoft.Web.LibraryManager.CacheService.get_CacheFolder()'.
   at Microsoft.Web.LibraryManager.Build.HostInteraction.get_CacheDirectory()
   at Microsoft.Web.LibraryManager.Providers.Cdnjs.CdnjsProvider.get_CacheFolder()
   at Microsoft.Web.LibraryManager.Providers.Cdnjs.CdnjsCatalog..ctor(CdnjsProvider provider)
   at Microsoft.Web.LibraryManager.Providers.Cdnjs.CdnjsProvider.GetCatalog()
   at Microsoft.Web.LibraryManager.Extensions.<IsValidAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.LibraryManager.Extensions.<IsValidAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.LibraryManager.LibrariesValidator.<ValidatePropertiesAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.LibraryManager.LibrariesValidator.<GetLibrariesErrorsAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.LibraryManager.LibrariesValidator.<GetManifestErrorsAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Web.LibraryManager.Manifest.<GetValidationResultsAsync>d__31.MoveNext()<---	Maranics.Checklist.Management.Web		0

Clear solution and rebuild fixes the issue.

Didn't fix it in my case. I got the same System.MissingMethodException: Method not found: 'System.String Microsoft.Web.LibraryManager.CacheService.get_CacheFolder()'.

Yes, I also still have it. But it only occurs when I deploy to Azure via "WebDeploy". Building locally or deploying via FTP works.

Closing this as a duplicate of #481, since that one has more details about the cause.


WebSocket.SendAync ignores offset of byte array

See Also

https://forums.bridge.net/forum/bridge-net-pro/bugs/3900-websocket-sendasync-not-implemented-correctly

Hi @Dia6lo – Can you take a look at this issue and proposed fix from @DierkDroth in Pull Request #2533.
https://github.com/bridgedotnet/Bridge/blob/7fc1ed274d44d017c453b0b33f7ff57fc8779f73/Bridge/Resources/ClientWebSocket.js#L95-L131

I've played around with .NETs ClientWebSocket and yes, there is definetly a problem with offsets in Bridge's SendAsync. More than that, ReceiveAsync uses ArraySegment as well, so it has pretty much the same problem as with offset and count. @geoffreymcgill, please create new issue about it or change this one, I'll propose a fix shortly.
Also, big thanks to @DierkDroth for uncovering such class of problems 👍

Once the fix gets closer to being fully resolved, we'll set the milestone.
The goal is to fix asap and include the fix into the *master branch before the Bridge 16.0 release.

Understand, thanks


Remove semester type from database

Summary

This pull request cleans up the semesters collection by removing the type property. Should be merged and run on prod after #604 is deployed to prod.
Test Plan

npm run ts-node -- src/requirements/admin/semester-season-migration <user email> to dry-run on a single user.
npm run ts-node -- src/requirements/admin/semester-season-migration --run-on-db to run on the entire database.

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


Include parsed Query String parameters from a GET request (part in the URL after question mark) in q.args

Is your feature request related to a problem? Please describe

Ability to provide a unique link (get request, QR code etc) to users, so they arrive directly on a personalised page
Didn't really check this, but it seems wave does not recognise the semantic meaning of the ? in a URL

Describe the solution you'd like
Have access in the app to either a parsed list of URL parameters or the complete location/URL as a whole, so it can be parsed in the app itself.
Describe alternatives you've considered
Currently the only way seems to be to either:

use a # with a unique id
(ab)use the # by also adding a ? in the URL, grab the # arg and parse it, which I assume messes with waves "standard" hash routing

@dirkdevriendt Correct. Currently the only way is to use #foo/bar/etc. Doing this does not affect/break anything in Wave - the framework doesn't do anything special with the '#' slugs other than hand it over to the app using q.args['#'], if available.
That said, we can add the ability for the front-end to pass query string params as well - that would definitely be useful like you indicated - thanks for the suggestion!

@dirkdevriendt Correct. Currently the only way is to use #foo/bar/etc. Doing this does not affect/break anything in Wave - the framework doesn't do anything special with the '#' slugs other than hand it over to the app using q.args['#'], if available.
That said, we can add the ability for the front-end to pass query string params as well - that would definitely be useful like you indicated - thanks for the suggestion!


If the footnotes are collapsed, the footnotes will not be loaded. "undefined"

[Problem] If it is collapsed, the DOM cannot be retrieved.

Add an option to expand the parent blocks

If it can't do

Add it to the description

I might also make a pull request. Thank you for creating this plugin. Looks good as a workflow.

This is indeed a problem. I've been a bit busy these days, but I'll think about how to implement it in a couple of days. If you can submit the code, it would be my pleasure. In any case, thank you very much.

I'll start working on it now.


Velocity Control on Startup without Encoder Offset Calibration

Is there a way to avoid encoder offset calibration after startup if there is no index pulse? I am able to run the motor after offset calibration but want to eliminate that. I have HW version 3.6 (variant=56) and FW version 0.4 (revision=10). I tried many combinations including the following final form but the settings produce INVALID_STATE error regardless until offset calibration after every startup. Any help would be much appreciated.
drive = odrive.find_any()
drive.erase_configuration()
# First, a bunch of settings
drive.axis0.motor.config.pole_pairs = 15
drive.axis0.motor.config.current_lim = 10.0
drive.axis0.motor.config.resistance_calib_max_voltage = 4
drive.axis0.motor.config.requested_current_range = 25
drive.axis0.motor.config.current_control_bandwidth = 1000
drive.config.brake_resistance = 2.0
drive.axis0.encoder.config.mode = ENCODER_MODE_INCREMENTAL
drive.axis0.encoder.config.cpr = 3200
drive.axis0.encoder.config.bandwidth = 1000
drive.axis0.controller.config.pos_gain = 1
drive.axis0.controller.config.vel_gain = 0.001
drive.axis0.controller.config.vel_integrator_gain = 0.05
drive.axis0.motor.config.phase_resistance = 0.85
drive.axis0.controller.config.vel_limit = 5000
drive.axis0.motor.config.motor_type = MOTOR_TYPE_GIMBAL
# This is where the sequence of operations matters I guess
drive.axis0.controller.config.control_mode = CTRL_MODE_VELOCITY_CONTROL
drive.axis0.encoder.config.use_index = False
drive.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE
while self.drive.axis0.current_state != AXIS_STATE_IDLE:
>time.sleep(0.1)
self.drive.axis0.requested_state = AXIS_STATE_ENCODER_OFFSET_CALIBRATION
while self.drive.axis0.current_state != AXIS_STATE_IDLE:
>time.sleep(0.1)
drive.axis0.motor.config.pre_calibrated = True
drive.axis0.encoder.config.pre_calibrated = True
drive.axis0.config.startup_encoder_index_search = False
drive.axis0.config.startup_closed_loop_control = True
drive.save_configuration()
drive.reboot()
time.sleep(10)
drive = odrive.find_any()
# The following shows INVALID_STATE error
drive.axis0.error
drive.axis0.error = False
# The following attribute is already True
drive.axis0.motor.config.pre_calibrated = True
# The following attribute cannot be set to True, this just won't take effect
drive.axis0.encoder.config.pre_calibrated = True
# The following won't change state
drive.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL
# The following will resolve the problem
drive.axis0.requested_state = AXIS_STATE_ENCODER_OFFSET_CALIBRATION
# Now, I can change the state to closed loop control
drive.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL
# It all works fine now
drive.axis0.controller.vel_setpoint = 200

Is there a way to avoid encoder offset calibration after startup if there is no index pulse?
No, you need to have correct offset to do any type of control. This is because this is needed to commutate the motor.


Concatenation of two strings is failing when used with latest EntityFramework Core

We've faced an issue while using Interpreter with a latest (5.0.6) EF Core.
Parser is using String.Concat(Object, Object) method to concatenate two objects as strings. Unfortunately it could not be translated to SQL by EF Core and since version 3.1 it will throw an exception as Linq queries are no longer evaluated on client.
Instead of using  String.Concat(Object, Object) it would be better to use String.Concat(String, String) explicitly.
First of all, it will make things made in #58  work, and additionally it will be able to use generated expression with Linq to Entities as EF Core can correctly translate String.Concat(String, String) to SQL

Hello @davideicardi!
Any updates on this issue?

@Rebel028 Sorry, quite busy in these days. I answered now with some considerations.
Unfortunately the change seems small but is is potentially dangerous. So i want to be sure that everything works.
If you need it now consider that you can easily create a local package and use that instead of the official one for now, or otherwise I can consider creating an unstable version for you.


refactor: remove runtime unsound codes

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

Closes #196

2. What is the scope of this PR (e.g. component or file name):

kclvm/runtime/src/**

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2293

Relevant Lines:
2612

💛  - Coveralls


Document the process

Include all 3rd party accounts required.
Combine all the python requirements text to a top level requirements.txt for python dependencies.
Document what else needs to be done.

batch env file for windows:
set TWITCH_AUTH_CLIENTID=<redacted>
set TWITCH_AUTH_SECRET=<redacted>
set TWITCH_AUTH_DEVICECODE=<redacted>
set TWITCH_AUTH_SCOPES="channel:bot channel:moderate chat:edit chat:read user:bot user:read:chat whispers:read whispers:edit"
set OPENAI_API_KEY=<redacted>

Using Twitch's Device Code Grant Flow for true serverless authentication. https://dev.twitch.tv/docs/authentication/getting-tokens-oauth/#device-code-grant-flow. (Implicit Grant Flow claims serverless, but good luck having Twitch report to a URL without running some server to catch that URL).

requirements.txt
openai==1.6.1
requests==2.31.0
websocket-client==1.7.0
obsws-python==1.6.2
numpy==1.26.1
speechrecognition==3.10.1
openai-whisper==20231117
pyaudio==0.2.14
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==2.0.1+cu117