[Improvement] Support of Oracle as a datasource (Exploratory)

Supporting Oracle as a datasource has been getting some interest. While we want to prioritise this, finding a workaround is an option. We need to check if this is something worth investigating:
https://www.oracle.com/tools/technologies/faq-rest-data-services.html .
Or any other workaround that is easier to provide than to create a new Oracle datasource.

TL;DR:

As of now, there are ways to get data from an Oracle database that do not require a new DataSource (see below) . This option would require a setup and development from users. It is not hard to set up, but requires thoughtful design decisions.

Oracle REST Data Services
Dream Factory
OpenLegacy Oracle API

Working on a plugin (like Twilio) could make it easier for our clients, but since the schema would vary from client to client (they are in control of the API) it would be better to stick to custom API calls.
From my point of view, the potential of ORDS (and the others) lies as a way to meet customers' requirements while a final solution (DataSource) is being developed. No documentation was found on how to use this with Appsmith, blogs and videos could be created to track attention of Oracle users and understand their use cases and to get a better picture of what kind of priority this should be given.

Oracle REST DATA Services + Appsmith API Calls
Description: ORDS is included with the Oracl SQL license. It can be used to easily create REST APIs from Oracle SQL databases.
Pros:

Works on both relational or NoSQL Oracle DBs.
Endpoints protected by privs/roles. OAUTH2 also available
ORDS is included on the Oracle License. No additional
licenses are needed.

Cons:

Requires ORDS setup on the side of the customer. Refer to
[AutoREST][AutoREST] feature for an easy solution to this.

Oracle REST DATA Services + Appsmith Plugin
Description: An Appsmith plugin could make it easier for a customer to get data from an Oracle database once ORDS has been implemented. The feasability of this option requires testing due to how variable the APIs could be.
Pros:

Works on both relational or NoSQL Oracle DBs.
Endpoints protected by privs/roles. OAUTH2 also available
ORDS is included on the Oracle License. No additional licenses are needed.

Cons:

Requires ORDS setup on the side of the customer. Refer to [AutoREST][AutoREST] feature for an easy solution to this.

Oracle DB + DreamFactory + Appsmith API Calls
Description: DreamFactory is a 3rd party service that creates REST APIs from SQL backends (Oracle included). First impressions indicate that it's easier to setup than ORDS.
Pros:

Simplifies the creation of an API based on your SQL database (Oracle included)

Cons:

Requires usage of a 3rd party platform/app.

Oracle DB + OpenLegacy Oracle API + Appsmith API Calls
Description: Another 3rd party service that creates APIs from SQL backends. Feature matching with DreamFactory requires research.
Pros:

Simplifies the creation of an API based on your Oracle SQL database.

Cons:

Requires usage of a 3rd party platform/app.

How-tos
ORDS AutoREST: https://oracle-base.com/articles/misc/oracle-rest-data-services-ords-autorest
Dreamfactory: https://guide.dreamfactory.com/docs/generating-a-database-backed-api/#generating-a-mysql-backed-api
Openlegacy: https://www.openlegacy.com/blog/oracle-api


Send message to a single connected client from the server directly

Is there any way of initiating a message to a connected client as opposed to replying to a message from a client? So far, from the examples, I have got a working program if the client starts the conversation. I need the exchange to start from the server side. How would one go about executing it?

https://github.com/aaugustin/websockets/blob/160dfbec7dd582c12817de5c85e6bf3fbbc34826/example/server.py#L9
Once this function is being called, the channel is open and you can start sending data (instead of receiving on that particular line).

Thanks.
And how can one single out a client from multiple (for eg. 5) clients? and send a message to that one client?
Instead of sending it to all clients?

That is all application logic. You can for example store clients in a dict.


SoundJs no longer playing in stereo

Sound doesn't seem to play in Stereo from Soundjs version 0.6.0 in chrome version 45.0.2454.101 m on widows 8.
HtmlAudioplugin does play in both speakers  but levels seem much lower.

Thats already solved in a newer version of SoundJS, check here: https://github.com/CreateJS/SoundJS/issues/182

Brilliant thanks


I can't get any suggestions at any time,just like the plugin doesn't work.

main.go:
package main

import (
	"fmt"
)

func main() {
	fmt.
}

gocode -f=json --in=main.go autocomplete 52

[]

That's weird, it should work. Probably it can't find your GOROOT and GOPATH. Try running gocode in a separate terminal window: gocode close && gocode -s -debug. Then in another window try doing autocompletion and see what it prints.

As you indicate, the console outputs this information:

*:***>gocode -s -debug
2017/09/17 04:30:34 Go project path: .
2017/09/17 04:30:34 Got autocompletion request for 'D:\warplace\main.go'
2017/09/17 04:30:34 Cursor at: 52
2017/09/17 04:30:34 -------------------------------------------------------
package main
import (
"fmt"
)
func main() {
fmt.#
}
2017/09/17 04:30:34 -------------------------------------------------------
2017/09/17 04:30:34 Import path "fmt" was not resolved
2017/09/17 04:30:34 Gocode's build context is:
2017/09/17 04:30:34  GOROOT: c:\go
2017/09/17 04:30:34  GOPATH: D:\lib\go
2017/09/17 04:30:34  GOOS: windows
2017/09/17 04:30:34  GOARCH: amd64
2017/09/17 04:30:34  BzlProjectRoot: ""
2017/09/17 04:30:34  GBProjectRoot: ""
2017/09/17 04:30:34  lib-path: ""
2017/09/17 04:30:34 Error parsing input file (inner block):
2017/09/17 04:30:34  4:6: expected selector or type assertion, found ';'
2017/09/17 04:30:34 extracted expression tokens: fmt
2017/09/17 04:30:34 Import path "fmt" was not resolved
2017/09/17 04:30:34 Gocode's build context is:
2017/09/17 04:30:34  GOROOT: c:\go
2017/09/17 04:30:34  GOPATH: D:\lib\go
2017/09/17 04:30:34  GOOS: windows
2017/09/17 04:30:34  GOARCH: amd64
2017/09/17 04:30:34  BzlProjectRoot: ""
2017/09/17 04:30:34  GBProjectRoot: ""
2017/09/17 04:30:34  lib-path: ""
2017/09/17 04:30:34 Offset: 0
2017/09/17 04:30:34 Number of candidates found: 0
2017/09/17 04:30:34 Candidates are:
2017/09/17 04:30:34 =======================================================

Well, see what it prints for GOROOT, obviously "fmt" package wasn't resolved and it says that GOROOT is "C:\go".  If you build Go from source code it will set a magic constant GOROOT default to whatever place it was compiled in. If you move the Go compiler suite later to a different location, there will be problems with that kind of approach. As for gocode, it will pass to server whatever environment variables client gets when doing an autocompletion request. Server will use those.

Alright,but how i config this?like GOROOT or other.

Environment variables.

Oh,It's great that you solved my problem.
As you indicated, I added the environment variable, and then I can use it.
Thank you very much.


Touch events ignored when animating

When items are animated in, if you try and touch an item (i.e scroll or tap) its ignored until the animation is completed.
According to this https://github.com/SDWebImage/SDWebImage/pull/2315#event-1609374779 it should be working?

@bakerac4 please :

give informations about the version, platform ... (even though i know it is iOS)
post a simple example project.
Thanks


[GUI] User screens: maintain the same pattern used on other screens

The position of the buttons on the user screens are different from the other screens:

users

templates

devices

groups

Affected Version: 61.1-20190423

Test OK.

Tested on Version: 62.3-20190603


⚠ Bofrost.lu has degraded performance

In afa71c3, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1022 ms

Resolved: Bofrost.lu performance has improved in 848cd84 after 6 minutes.


Retry obtaining artifacts are least a few times

A project I’m attempting to build (openhab), I think utilizes repositories that aren’t 100% reliable. As a result I’m getting errors like

java.lang.RuntimeException: Could not find artifact org.openhab.addons.bundles:org.openhab.binding.zway:pom:3.4.2 in any repository

each time with a different package failing. Would it be possible to try the loop of obtaining an artifact a few times before throwing an exception?
Possibly by placing a plain loop around this snippet https://github.com/fzakaria/mvn2nix/blob/ea21cfe97069feee55fa307ca9b125616c1fa84f/src/main/java/com/fzakaria/mvn2nix/cmd/Maven2nix.java#L81-L93? There may be more elaborate approaches, of course.
Happy to attempt a contribution if this sounds okay to you?

I think the cache approach you have should solve this ?
Maven itself should also retry itself AFAIK when it tries to download.
Can you see looping mvn2nix that way gets you far enough?
I don't want to change too much the code at the moment.

Yeah, the cache approach (I assume this is in reference to https://github.com/fzakaria/mvn2nix/pull/53) works quite well for the purpose of getting to the point of having everything downloaded.


[GETTING-STARTED] Write contributions file

People who want to contribute to this project should have guidelines how to contribute.
As this is a mono repo split into separate repositories this might require some extra assistance.

make them aware about issues
creating new pr's
help with the make file setup

solved by https://github.com/phpDocumentor/guides/pull/300


Bug: error messages coming from server should be translated. i18n

Example of message coming from server.

I would like to contribute. Where can I find the code for this bug?

Hey @eddiep12
https://github.com/joshzcold/Cold-Family-Feud/blob/master/pages%2Fapi%2Fws.js#L541
This file is pretty much all the backend logic.
Any return to the websocket action "error" would be this bug/feature
The "error" action gets returned and the client side immediately shows it either in the console.log or in the UI
You either have to trigger the translation function here or in all places in the frontend.
Thanks for your consideration in contributing ❤
Good luck 👍


[LVA] Support access instructions in DCE.

A simple check for the following pattern:
x = begin_access
end_access x

@swift-ci please smoke test and merge


Adding changelogs for 2.0.0

Adding changelogs for the 2.0.0 release, please review content and modify as required.

Build status:

Linux

Build status:

Linux


Feat/button group

Checklist

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information

Codecov Report

Merging #860 (3988fc4) into dev (a55b279) will increase coverage by 0.05%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##              dev     #860      +/-   ##
==========================================
+ Coverage   95.15%   95.20%   +0.05%
==========================================
  Files         251      268      +17
  Lines        5714     5926     +212
  Branches     1059     1084      +25
==========================================
+ Hits         5437     5642     +205
- Misses        267      273       +6
- Partials       10       11       +1

Impacted Files
Coverage Δ

packages/varlet-ui/src/button/props.ts
100.00% <ø> (ø)

...ackages/varlet-ui/src/button-group/ButtonGroup.vue
100.00% <100.00%> (ø)

packages/varlet-ui/src/button-group/index.ts
100.00% <100.00%> (ø)

packages/varlet-ui/src/button-group/props.ts
100.00% <100.00%> (ø)

packages/varlet-ui/src/button-group/provide.ts
100.00% <100.00%> (ø)

packages/varlet-ui/src/button/Button.vue
95.23% <100.00%> (+1.90%)
:arrow_up:

packages/varlet-ui/src/button/provide.ts
100.00% <100.00%> (ø)

packages/varlet-ui/src/cell/Cell.vue
93.75% <0.00%> (-6.25%)
:arrow_down:

packages/varlet-ui/src/row/Row.vue
95.45% <0.00%> (-4.55%)
:arrow_down:

packages/varlet-ui/src/badge/Badge.vue
96.15% <0.00%> (-3.85%)
:arrow_down:

... and 26 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Devops 7572 query databases

Adding the ability to use mysql args.  Primarily interesting in '-e'.

Sorry for the spam here, PR'd against the wrong target.  cringe
Please feel free to delete.


reformat method list and add information on hockeyapp.checkForUpdate

I reformatted the method list a bit to make it possible to add additional information to to the methods.
Also I used this to add a note about hockeyapp.checkForUpdate that it shouldn't be called in production.
This is my reaction to figuring this out in #14.

Thanks!


Look into building rpms without needing root.

          Look into building rpms without needing root.

Originally posted by @omarhogni in https://github.com/Skaginn3x/framework/pull/30#discussion_r1165226188

Closing, the packaging process is now run in a container. This is really not a problem.


Will you support SSR?

Is it possible to make a support of server-side rendering for Vue?
https://ssr.vuejs.org/en/

Hello @supadrupa
This is not in short-term plans, but it's obviously a useful feature.
Maybe you can contribute to make this happen faster? 😄

@vchaptsev What do you think about introducing Nuxt.js into the project?

Nuxt is not released
https://github.com/nuxt/nuxt.js/releases

@supadrupa I'm sure that there will be a release soon :)

@vchaptsev What do you think about introducing Nuxt.js into the project?
Isn't Nuxt only for Node.js?
Let's wait for the release and then we will think about it.

@vchaptsev on my opinion yes, only with nodejs.
Otherwise, it seems to me, without nodejs it is difficult to achieve SSR
But Nuxt makes it possible to generate static HTML files to be deployed on regular hosting.

This approach can be used
https://gist.github.com/yyx990803/9bdff05e5468a60ced06c29c39114c6b#environment-agnostic-ssr
I think this is a bad practice.
Need a docker container with Node.js,
any server(express, koa).
The project will look like this:
isomorphic application(server side and client side)
ngixn -> node.js(express or koa) -> vue.js
api backend.
nginx -> (uWSGI or gunicorn) -> django(django rest framework)

Having consistent and scalable ssr with django is almost impossible in my experience.
Our approach is to spawn additional node container with the nuxt.


TRIVIAL: Fix backend_type warning message

fixed by https://github.com/gooddata/serverspec-core/pull/50


Support for minValue & maxValue extension for the data type integer

@jingtang10 @joiskash Please review the pr.

@googlebot I signed it!

@googlebot I signed it!

@googlebot I signed it!

Thanks for the PR @kunjan8794. My first comment is that I think the validation logic should not be in the view holders. This is because there migth be multiple view types for the same data type (input box for integer but also slider for integer) but the validation logic for the same data type is always the same (there should be only one validator for integer type).
Can you please create a new validation package under datacapture and add the following interface (or something similar)?
interface Validator {
    fun validate(questionnaireItem: Questionnaire.Item, questionnaireResponseItem: QuestionnaireResponse.Item): ValidationResult
}

and the result class:
data class ValidationResult(val pass: Boolean, val errorMsgs: List<String>)

@jingtang10 sure, I will do the changes as per the suggestion

@jingtang10 Please review it

@jingtang10 please review the PR (hopefully finally :P)

@jingtang10 Hi Jing, please review the recent code changes

@googlebot I consent.

@googlebot I consent.


service types not detected if service not named exactly "postgres" or "mysql"

What
We should detect service types (postgres/mysql) based on other heuristics (such as the connection uri string), and be more flexible about detecting and extracting credentials from the binding data.
Why
Currently we rely on the service name itself being "postgres" or "mysql" and binding credentials being in the same specific format as our rds-broker output.
This is great for us , but there's no reason why this plugin couldn't work for services provided by a different broker with different service names and slightly different binding data.
If we don't do this
The plugin will be less useful for the wider community

Is the current service naming requirement documented? I couldn't find it anywhere.


Fix env var export for unit tests

Fix exporting TT_METAL_SLOW_DISPATCH_MODE environment var in tests/tt_eager/python_api_testing/sweep_tests/common.py to fix issue within unit tests.

https://github.com/tenstorrent-metal/tt-metal/commit/fb92cb3a45809779cac0b1f94a2e068c1971dafb


How to set the android:inputType in xml?

This is customizing EditText, so you are supposed to do it in Java.

Really? Ok.
But that will move aspect settings from the xml to the code.
And then, in each of the forms I need to look in the xml and in the code to understant the basics of how was that edit text designed.
For that, google added the inputType xml option.

Ok.. I'll consider to add it in attributes :)

Uffff. Great!!!

There's another one: android:imeOptions

How so? I tried txtField.getEditText().setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD);          but no luck.

@TheBachelor See android - Set inputType for an EditText? - Stack Overflow.

Woah - Thanks @abc612008

@jrcacd @TheBachelor
I've reconstructed the relationship and separated the EditText from the TextFieldBoxes in release 1.3.0, so you can directly do what you want to the separated ExtendedEditText.
Check out README for usages and more detail :)

Ok, thanks.


[hotfix][docs][connector/pulsar] Fix doc typo of setDeliveryGuarantee

Pulsar Connector has not a setDeliverGuarantee method. It should be setDeliveryGuarantee

@fapaul Please review this, Thanks a lot.


[Toothpick] Disconnect doesn't work on Intel mac

Extension
https://www.raycast.com/VladCuciureanu/toothpick
Description
Toothpick doesn't disconnect the mac from bluetooth devices. Each time clicking on the disconnect button or hit enter, a message shows up saying Device disconnected successfully despite nothing is really disconnected.
Steps To Reproduce
Environment:
MacBook Pro 2017 running macOS 14.0 (23A344) with the help of OpenCore Legacy Patcher 1.1.0.
Note: The disconnect feature also didn't work in the past year before the machine was upgraded to Sonoma (it was running Ventura a year ago).
Steps to reproduce:

Open Raycast and type toothpick, then select Manage Bluetooth Connections.
Find a random connected bluetooth device and either click the Disconnect button or hit enter.
Device isn't disconnected.

Current Behaviour
Toothpick doesn't disconnect the mac from the bluetooth device.
Expected Behaviour
Toothpick closes the connection between the mac and the bluetooth device.

This is part of the flakiness introduced by using MacOS's private AppleScript API. I can only suggest to switch over to the experimental blueutils BlueTooth backend as shown here.

Thanks for response. Solution works perfectly, and no problem is observed for now.


Fix and cleanup GetHashCode and Equals

Prerequisites

[x] I have written a descriptive pull-request title
[x] I have verified that there are no overlapping pull-requests open
[x] I have verified that I am following matches the existing coding patterns and practise as demonstrated in the repository. These follow strict Stylecop rules :cop:.
[x] I have provided test coverage for my change (where applicable)

Description
This fixes some possible NullReferenceExceptions in the Equals implementations and uses ValueTuple to generate the hash codes, as that's a lot easier, cleaner and heavily optimized:

https://stackoverflow.com/a/4630550
https://intellitect.com/overidingobjectusingtuple/
https://montemagno.com/optimizing-c-struct-equality-with-iequatable/

There's a package now for hash code generation.
https://www.nuget.org/packages/Microsoft.Bcl.HashCode

ValueTuple relies on the default comparer for each property to compare equality. Is that enough?

I can confirm using ValueTuple for equality or hash code generation of collections doesn't work correctly indeed. Even the current GetHashCode implementations return different hash codes when the Equals method returns true, because it uses SequenceEqual to compare the collections (and not the default comparer), but the collections hash code:
var a = new List<int> { 1, 2, 3 };
var b = new List<int> { 1, 2, 3 };
a.Equals(b); // False
a.SequenceEqual(b); // True
a.GetHashCode() == b.GetHashCode(); // False, as different instances return different hash codes, even if the items are the same

Equal items should return the same hash code (although the reverse isn't always true because of hash collisions), which isn't always the case in the current codebase.
Microsoft has added a HashCode helper class in .NET Standard 2.1 (.NET Core 3) and released a NuGet package for .NET Standard 2.0 (.NET Framework 4.6.1) to make this a lot easier, but upgrading the target framework from .NET Framework 4.5.2 to 4.6.1 for this isn't justified.
A quick fix would be to ensure equality is checked individually per property (with support for null values and collections) and just skip the collections in GetHashCode (using the ValueTuple construct).

Microsoft has added a HashCode helper class in .NET Standard 2.1 (.NET Core 3) and released a NuGet package for .NET Standard 2.0 (.NET Framework 4.6.1) to make this a lot easier, but upgrading the target framework from .NET Framework 4.5.2 to 4.6.1 for this isn't justified.

We copied the source for HashCode into the the SixLabors codebase for unsupported frameworks and use type forwarding to avoid conflict. Perhaps we can simply do the same here.
https://github.com/SixLabors/SharedInfrastructure/blob/master/src/SharedInfrastructure/HashCode.cs

I've updated the test to handle the fixed ColorMatrix comparison, as the equality was previously ensured by reusing the same instance (from the ColorMatrixes helper class). I'm not sure what the performance difference will be, but the matrices can now also be initialized within the matrix filters themselves.
@JimBobSquarePants If you can review whether the unresolved comments are okay, I think this is ready to get merged!

Note that merging this after PR #796 will result in a conflict on ResizeLayer: make sure this is resolved with the new Equals and GetHashCode methods and that both use the new Center property:
public bool Equals(ResizeLayer other) => other != null
    && this.Size == other.Size
    && this.MaxSize == other.MaxSize
    && (this.RestrictedSizes == null || other.RestrictedSizes == null ? this.RestrictedSizes == other.RestrictedSizes : this.RestrictedSizes.SequenceEqual(other.RestrictedSizes))
    && this.ResizeMode == other.ResizeMode
    && this.AnchorPosition == other.AnchorPosition
    && this.Upscale == other.Upscale
    && this.Center == other.Center
    && this.AnchorPoint == other.AnchorPoint;

public override int GetHashCode() => (this.Size, this.MaxSize, this.ResizeMode, this.AnchorPosition, this.Upscale, this.Center, this.AnchorPoint).GetHashCode();


Cast around lora adapters

Should speed up inference with adapters. Since adapters are in fp32 we would up cast at the first LoRA layer and then never downcast which slows things down a lot.
I will report some training runs to be sure there is minimal change there.

Using this command:
python -m mlx_lm.lora \
  --train \
  --model mlx-community/NeuralBeagle14-7B-4bit-mlx \
  --data ../lora/data \
  --batch-size 2 \
  --lora-layers 16 \
  --iters 500 \
--val-batches 20
Loading pretraine

Post:
Iter 400: Saved adapter weights to checkpoints/400_adapters.npz.
Iter 410: Train loss 0.960, Learning Rate 1.000e-05, It/sec 2.174, Tokens/sec 455.455, Trained Tokens 79934, Peak mem 6.093 GB
Iter 420: Train loss 0.901, Learning Rate 1.000e-05, It/sec 2.197, Tokens/sec 433.484, Trained Tokens 81907, Peak mem 6.093 GB
Iter 430: Train loss 0.773, Learning Rate 1.000e-05, It/sec 2.139, Tokens/sec 431.276, Trained Tokens 83923, Peak mem 6.093 GB
Iter 440: Train loss 0.891, Learning Rate 1.000e-05, It/sec 2.297, Tokens/sec 437.612, Trained Tokens 85828, Peak mem 6.093 GB
Iter 450: Train loss 0.820, Learning Rate 1.000e-05, It/sec 2.359, Tokens/sec 421.491, Trained Tokens 87615, Peak mem 6.093 GB
Iter 460: Train loss 0.944, Learning Rate 1.000e-05, It/sec 1.981, Tokens/sec 439.873, Trained Tokens 89835, Peak mem 6.093 GB
Iter 470: Train loss 0.731, Learning Rate 1.000e-05, It/sec 2.149, Tokens/sec 449.510, Trained Tokens 91927, Peak mem 6.093 GB
Iter 480: Train loss 0.807, Learning Rate 1.000e-05, It/sec 2.250, Tokens/sec 443.495, Trained Tokens 93898, Peak mem 6.093 GB
Iter 490: Train loss 0.830, Learning Rate 1.000e-05, It/sec 2.099, Tokens/sec 423.010, Trained Tokens 95913, Peak mem 6.093 GB
Iter 500: Train loss 0.849, Learning Rate 1.000e-05, It/sec 2.344, Tokens/sec 418.906, Trained Tokens 97700, Peak mem 6.093 GB
Iter 500: Val loss 1.007, Val took 5.658s

Pre:

Yes it works! Thanks @awni 🚀


JdbcConnectionRepository is package private which can lead to cglib error

Summary
I have a project that uses spring cloud + a few dependencies and spring-social. When I try to use the JdbcUsersConnectionRepository I get an internal server error:
There was an unexpected error (type=Internal Server Error, status=500).
Error creating bean with name 'scopedTarget.connectionRepository' defined in class path resource [org/springframework/social/config/annotation/SocialConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class org.springframework.social.connect.jdbc.JdbcConnectionRepository]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null

Actual Behavior
JdbcConnectionRepository is package private, which leads to the error above, I don't know exactly what triggers this error in my case and not for others.
You can solve this in two ways:

copy the JdbcConnectionRepository and JdbcUsersConnectionRepository and make JdbcConnectionRepository public.
add these two property settings:

spring:
  aop.proxy-target-class: false
  cloud.netflix.metrics.enabled: false

has the drawback that I have to change the global aop settings which lead to other funny problems, so I had to disable the netflix metrics.

Expected Behavior
No CGLib Exception ;-)
Maybe just make the JdbcConnectionRepository public so CGLib can do it's thing or refactor the JdbcUsersConnectionRepository so that the JdbcConnectionRepository is not used or in another way more CGLib friendly.
Configuration
Version
spring boot 1.5.3, Spring cloud dalston.sr1
<spring-social.version>1.1.4.RELEASE</spring-social.version>
<spring-social-facebook.version>2.0.3.RELEASE</spring-social-facebook.version>
Sample
I tried to create a sample but ran into other problems, maybe I can provide one later.

Confirmed. Seeing the same thing.


Any thoughts on testing?

I'm a bit concerned about testability of Cycle. It seems mocking DataFlowNodes isn't so hard, but this still requires some boilerplate code. Don't you think that make testing nice and easy should be one of the most important thing in any framework? I can't find any tests in example apps linked on Cycle GitHub page, so I have no idea, if it was considered at all. I don't propose anything for now, just draw an attention. I'm going to create unit tests for couple of Web Components created with Cycle (https://github.com/erykpiast/autocompleted-select is one of them), and after that I'll be able to elaborate the topic more.

Yes there should be example tests (and actually, there should be more examples). This is important, but it's not top priority (which is API design).
Mocking DataFlowNodes is essentially about mocking the observables it exports, and the tool for that is already in RxJS: TestScheduler, Rx.ReactiveTest, etc. See an example here: https://github.com/Reactive-Extensions/RxJS/blob/master/tests/observable/debounce.js


Add possibility to specify custom erlangHome path

Problem:
It is not possible to select different Erlang runtime than system's default.
It is possible in autocomplete-elixir so I believe it wasn't (back?)ported here.
Solution:
Backport changes from autocomplete-elixir.
Best to be implemented together with: wende/autocomplete-elixir/pull/56

@wende Bump ;)

Merged and released! Thank you 😄


Use custom derive instead of macros

Now that Rust-1.5 is out, custom derives are stable: https://blog.rust-lang.org/2017/02/02/Rust-1.15.html
We could produce nicer code and improve the ergonomics by using the custom derives instead of macros. There are problems on the way (e.g. how to pass the init value/name), so this issue is about exploring the opportunity and figuring out our possible courses of evolution.

Not relevant for gfx-hal


[CORE-10680] Downplay the etcd datastore driver.

Product Version(s):

Calico OS all recent versions
Calico Ent/Cloud are KDD-only already.
Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

Markups done, should be good to merge.

LGTM! Thanks


GitHub Integration: better handling of not having the GitHub plugin enabled or connected.

It would be nice if the user would get some kind of message saying the AI could be better if they added the GitHub plugin or connected their account. Particularly if the plugin is installed. Maybe some kind of detection of GitHub links and prompt engineering?

Hey, Mattermost AI community! :wave:
We're looking for help on this one. :eyes: In this issue, we want to better handle scenarios where the Mattermost GitHub plugin is missing and/or not connected. For context, the AI plugin can use the GitHub plugin for additional functionality such as reading and summarizing issues. For this to work, the GitHub plugin must be installed and enabled, and the user needs to have connected their account. Once this is done, this plugin can use its GitHub-related features.
For those interested in tackling this, here are some starting points:

Understand how this plugin utilizes the GitHub plugin.
Consider how this could scale to other plugins. Imagine any plugin could be used by this one. What's the ideal experience for facilitating this?

Dive in and let us know if you need any guidance along the way. :thumbsup:
Happy contributing! :sparkles:

Related: https://github.com/mattermost/mattermost-plugin-ai/issues/142


QSOL-XXXX - Improve error messages for any_satisfied

https://github.com/AstraZeneca/qscheck/issues/91

I am forced to reject this one because it's a bigger problem than expected. The PR highlights this problem, and I'll have to come up with a decent solution, but it requires a lot more effort than expected.


Add support for highlight selection and onAction to TableView and ListView

Closes #1638. Closes #1905. Closes #2013. Closes #2018. Relates to: #2266. Relates to: #789.
This implements two features across all collection components (currently TableView and ListView):

Highlight selection – this allows checkboxes to be hidden, and a highlight style to be applied to the row to indicate selection instead. It also changes the selection behavior, so that clicking an item replaces the entire selection with that item rather than toggling it. Multiple items can be selected using modifier keys like Ctrl/Cmd and Shift. On touch, highlight selection behaves like toggle because there are no modifiers available. This can be enabled using the selectionBehavior="replace" prop (TBD).
onAction – this prop allows a separate action to be defined for rows in addition to selection. For mouse, this is double click. For keyboard, it's the Enter key. On touch, the action becomes the primary tap interaction, and a long press enters into selection mode. Deselecting all items exits selection mode. The useLongPress hook has been added to @react-aria/interactions to implement this.

This also required moving the usePress call into useSelectableItem rather than calling it from each usage site, so there are many changes related to that.
To do:

[ ] Talk to a11y about iOS Safari not announcing aria-describedby on grid rows/cells. Possible put the long press description on the grid instead.
[ ] Determine if we want both onRowAction and onCellAction for tables.
[ ] Decide on API for enabling highlight selection in Spectrum (e.g. selectionStyle="highlight" vs selectionBehavior="replace"`).

@devongovett

We need to have a keyboard and screen reader accessible way to select multiple non-contiguous rows when using selectionBehavior="replace". We seem to be able to move row focus without changing the selection using Control+Alt+ArrowUp/Down.  This matches the behavior for non-contiguous selection in Windows Explorer.  However, unlike in Windows Explorer Control+Alt+Space does not toggle selection of the focused row.
Depending on the AT, and this applied to the other selectionBehaviors as well, it can be very difficult to distinguish a selected row from a not selected row, and when the selected state changes. This is true for TableView and ListView.

VoiceOver seems to operate under the assumption that a row that has focus is also selected, so it doesn't announce the selected state when a row receives focus.
JAWS also seems to operate under the assumption that a row that has focus is also selected and does not announce the selected state when the row receiving focus is selected.
VoiceOver and JAWS do not announce selection change at all following a selection event. NVDA will announce when focus is on the row itself, but not if focus is on a cell.

Should Esc still deselect all rows with selectionBehavior="replace".
In ListView, with selectionMode="none" and onAction, the onAction event does not fire for Enter or Space, but fires onPress.
I'm concerned that on there is be no way to notify a user that a row can be selected or deselected, particularly on mobile.
Related to Grid keyboard navigation when there are focusable interactive elements within the ListView item or TableView:  NVDA switches from forms mode back to browse mode when focus moves to an item that does not require forms mode, like a link or a button in this example. This means that arrow key navigation between the buttons in the item and up/down to navigate between items in the ListView will no longer work. Also, because we set tabIndex="-1" on both the row and the containing grid when focus is within the grid, it's difficult to to get back to the containing row to get NVDA back into forms mode. I have discovered that if you press Enter with NVDA browse mode focused on static content within the item, like "row 1 description for row 1", NVDA will switch back into forms mode and focus the row, but this behavior is a somewhat flaky.

However, unlike in Windows Explorer Control+Alt+Space does not toggle selection of the focused row.

hmm, are you sure? It does for me...

VoiceOver and JAWS do not announce selection change at all following a selection event

Yeah, we have live region announcements for this in the previous selectionBehavior, but I turned it off for selectionBehavior=replace because it was live announcing every time you moved focus (because selection follows focus). Was going to ask what we should do about that...

Should Esc still deselect all rows with selectionBehavior="replace".

It does I believe. Do you think it shouldn't? If so, then how would you deselect all rows?

In ListView, with selectionMode="none" and onAction, the onAction event does not fire for Enter or Space, but fires onPress.

Seems to be a bug. This works in TableView.

However, unlike in Windows Explorer Control+Alt+Space does not toggle selection of the focused row.

hmm, are you sure? It does for me...

I'm pretty sure Ctrl+Alt+Space does not toggle selection in this example: https://reactspectrum.blob.core.windows.net/reactspectrum/cf68261f866424efa393715b888482231512e526/storybook-17/index.html?path=/story/listview--selectionbehavior-replace

VoiceOver and JAWS do not announce selection change at all following a selection event

Yeah, we have live region announcements for this in the previous selectionBehavior, but I turned it off for selectionBehavior=replace because it was live announcing every time you moved focus (because selection follows focus). Was going to ask what we should do about that...

Perhaps with selectionBehavior="replace", we should only announce when multiple selection changes, as with Shift+Arrow or Ctrl+Alt+Space.

Should Esc still deselect all rows with selectionBehavior="replace".

It does I believe. Do you think it shouldn't? If so, then how would you deselect all rows?

I think it's ok, just a bit odd with the forced selection on focus, to be able to have no selection.

In ListView, with selectionMode="none" and onAction, the onAction event does not fire for Enter or Space, but fires onPress.

Seems to be a bug. This works in TableView.

I'm pretty sure Ctrl+Alt+Space does not toggle selection in this example

hmm weird it does for me in Chrome and Safari at least. What browser or AT are you using?

No AT, just testing using keyboard. With VoiceOver for macOS, Ctrl+Alt+Space will toggle selection, because VoiceOver handles the event and triggers a click at the center of the element focused with the VoiceOver cursor.

Related to my comment #6 above, action buttons and links within and item should be accessible using the Tab key for when focus is on or within the item containing the buttons or links. The left-right arrow key navigation to access these interactive controls is unexpected for keyboard users and with NVDA will switch the user out of forms mode, breaking arrow key navigation of the ListView, TableView or GridView. cc  @jnurthen

Replying to your issues:

Fixed. Ended up making this different depending on the platform. On Mac, it's Alt + ArrowUp/ArrowDown/Space. On Windows, it's Ctrl instead. Windows Explorer uses Ctrl (Alt is not necessary) so we match there. In addition, on Mac, Ctrl + ArrowUp/ArrowDown has a system wide binding, as does Ctrl + Alt + Space. On Windows, Alt + Space has a system wide binding (so does Ubuntu Linux). So the only way is to make it specific to the platform.
This doesn't seem specific to this PR. We do add aria-selected="false" on selectable but not currently selected rows, so AT could technically read this. Not sure how else we would indicate that a row is selectable. We do have the live region announcements on selection changes though.
I think Escape is useful as a way to remove the entire selection?
Fixed.
Same as 2? On mobile it will be even harder though. VO on iOS does not announce aria-labelledby or aria-describedby on grid cells, and you cannot navigate to rows at all.
Insert + Space toggles forms mode in NVDA, and I noticed that once you do that it works. Not really sure what we could do about this. Arrow key navigation between cells in a grid seems like a desired feature. Again, doesn't seem related to the changes in this PR.
Fixed.
This doesn't really have to do with multiple focusable elements within a cell at all though. The same NVDA issue also happens when there is only a single focusable element per cell.

For ListView, we seem to be missing the blue border-left .is-focused style that is present for ListBox and TableView. We need it to be able to distinguish between .is-selected and .is-selected.is-focused.

Just a fyi for others reviewing the PR.
@majornista with regard to the focused + selected style, was doing some debugging locally and just realized that this didn't have the ListView focus ring changes from main. This is what it looks like now:

There will probably need to be some updates to the focus ring styles vs the selected styles to get rid of the extra stacking top/bottom border + something broke with the selection background color (note the gray and the blue for the same kind of selected row):

Some follow up tickets will be added for this.


iostream file not found

I get this error trying to correct my libft from my personal computer

I get this error trying to correct my libft from my personal computer

did u manage to fix it somehow since the rep is apparently abandoned?


Make a nft smart contract and the asset is lost

Hello, i put one nft on sale buy smart contract on CNFT and now i don't know where is my asset. it is not in my wallet on pool.pm and it is not listed on cnft

Please ask the CNFT.io support, this doesn't look like a Nami issue.

Please ask the CNFT.io support, this doesn't look like a Nami issue.


Error related to Sveltekit's new link prefetch options

Describe the bug
I updated to the latest SvelteKit in prod about 3 hours ago and already have 60 errors in Sentry thrown from line 50 of this file:
https://github.com/sveltejs/kit/blob/master/packages/kit/src/runtime/client/utils.js
function link_option(element, name) {
	const value = /** @type {ValidLinkOptions<T> | null} */ (
		element.getAttribute(`data-sveltekit-${name}`)
	);

	if (__SVELTEKIT_DEV__) validate_link_option(element, name, value);

	return value;
}

So the element.getAttribute throws an error because element is null.

Reproduction
Not sure how to reproduce, just seeing this in Sentry but not on my own machine.
Logs
No response
System Info
Latest versions of everything.

Severity
blocking an upgrade
Additional Information
No response

Duplicate and already fixed #7913


A resource that requires license agreement before downloading will not download

Try downloading content from this resource that has the user accept agreement before downloading. I reproduced this issue.
https://www.hydroshare.org/resource/732493def7a24b5596203401a3f23706/

This issue and https://github.com/hydroshare/hydroshare/issues/3243 are high priority user facing issues with core functionality.
@ndebuhr Can you add this to your automated testing functions?

Just a clarification, this is for download a file or folder, not the bag.

i found that both do not work with this condition of require rights pop up

Looks like @Maurier is on it already with a commit.

@sblack-usu - Yes, I have added this PR (https://github.com/hydroshare/hydroshare/pull/3252) addressing the issue.

@Maurier @sblack-usu Awesome, thank you!


Fast permutation one-way anova

This PR is to address extending f_oneway via permutation tests as addressed in https://github.com/scipy/scipy/issues/4399
This algorithm is similar to the t-test found in https://github.com/scipy/scipy/pull/4440

Not sure what happened in the last run.  It doesn't look like the tests were completed.

I've restarted the build

Thanks!

Sorry, I don't have any comments at the moment.
It requires too much thinking, and I am currently not in this neighborhood of statistics.
(similar applies to the related features in statsmodels which also stalled.)

Closed by gh-13899.


fix(label): label 可以配置 是否支持捕获

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.06%) to 91.285%

Files with Coverage Reduction
New Missed Lines
%

src/chart/controller/gesture.ts
7
82.14%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
11827

Relevant Lines:
12463

💛  - Coveralls


Leonidl/theming/slider - split Slider CSS and added default & Wix themes

@tyv fixed, please re-check

tests are red

fixing tests


fix(css): var in image-set

Description
fix #7874

Additional context
the case in #7874
input:
background-image: image-set(var(--hero--image-webp) 1x, var(--hero--image-jpg) 1x);
output:
background-image: image-set(url(var(--hero--image-webp) ) 1x, var(--hero--image-jpg) 1x);
step:

cssImageSetRE match the image-set(var(--hero--image-webp) (note: there only one ))
replace var(--hero--image-webp to url(var(--hero--image-webp)

it means that if the css is:
.some-class {  --some-var: './a.png';  background-image: -webkit-image-set(var(--some-var) 1x, './b.png' 2x)
The cssImageSetRE will only match image-set(var(--some-var) and do not handle './b.png'.
But I think this is OK, because of the demo metioned in #7874. Url like './b.png' in image-set is invalid, only url('./b.png') is valid.

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Read the Pull Request Guidelines and follow the Commit Convention.
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

I think it would be better to do a review of the current flow. In MDN, there is an example without using url(), https://developer.mozilla.org/en-US/docs/Web/CSS/image/image-set
  background-image: image-set(
    "large-balloons.avif" type("image/avif"),
    "large-balloons.jpg" type("image/jpeg"));

Maybe the regex could be extended like: (?<=image-set\()(?:var\([^\)]*\)|[^)])*(?=\)) (and also including url(), type(), etc. And the order in https://github.com/vitejs/vite/pull/7921/files#diff-2cfbd4f4d8c32727cd8e1a561cffbde0b384a3ce0789340440e144f9d64c10f6R993 could be reversed:
const rewriterToUse = isCssUrl ? rewriteCssUrls : rewriteCssImageSet

to
const rewriterToUse = isCssUrl ? rewriteCssImageSet : rewriteCssUrls

So we stop processing image sets that have url() inside with the rewriteCssUrls util, and instead augment rewriteCssImageSet to properly handle url() when used.

@patak-dev @poyoho The fail test seems not related, could you plz rerun it?

Thanks again @Bigfish8!

Thanks for the work 👍


How can i apply Material design to Search Textbox

How to apply Material 2 design styles to my ng2-completer textbox

check out material design demo


release prep

Codecov Report

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

@@           Coverage Diff           @@
##           master     #266   +/-   ##
=======================================
  Coverage   89.23%   89.23%
=======================================
  Files          26       26
  Lines        1672     1672
=======================================
  Hits         1492     1492
  Misses        180      180

Impacted Files
Coverage Δ

src/mbed_cloud/_version.py
85% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


How to get the publicRuntimeConfig in outside function/hooks?

Is your feature request related to a problem? Please describe.
I don't know where to get PublicRuntimeConfig in  no nuxt instances,  as if  function/hooks，help PublicRuntimeConfig be the global config，

Describe the solution you'd like
example set axios-baseURL
import runtime from './client/static/runtime-args.json'
export default {
  publicRuntimeConfig: {
    apiBase: runtime.NUXT_ENV_HTTP_API || '/',
  },
  ...

axios.js:
axios.defaults.baseURL = nuxt.$config.NUXT_ENV_HTTP_API || '/'

Describe alternatives you've considered

Additional context

@liaoliaojun The ideal place to do this would be in a plugin. So for example:
~/plugins/myplugin.js
import axios from 'axios'

export default ({ $config }) => {
  axios.defaults.baseURL = $config.NUXT_ENV_HTTP_API || '/'
}

You can find out more in the plugins documentation.


Trimmed down and made compatible with node --harmony

So, beforehand it appears that the package required babel to build, which was quite a problem because bable was ( I believe) failing to transpile exports default into module.exports and as such the package was unusable by non bable-users.
The package was also very heavy due to the various configurations for relatively unnecessary tooling considering its just a 100 line long script...
I removed a good part of the building dependencies from the package.json (see, all of them except phantom, the thread pool and the test runner if people wish to run tests).
I also fixed the README by making the example work and adding the command that runs it.
Hopefully this is fine with you, I understand that some tools may be used internally by your company and respect that, but this is a public facing package and its a real shame to have to struggle with a module that does such a simple job.

Hoping this can get merged soon!

Any update on this ?

Tests appear to be failing.

Yes, because I removed the Travis file as being clutter. If you really need it I can add it back... Though it seems fragile to depend on a 3rd party to run your tests.

@George3d6 Hi George, I don't think I will merge this pull request. There are too many changes and comments like "Though it seems fragile to depend on a 3rd party to run your tests." don't inspire me confidence. If you want feel free to maintain a separate fork, it's open source after all.

Well, currently your version is not actually working. The readme code is not vlaid is code and the npm package is not working... I will keep a separate frok, but people will still be lead by the main repo to this one and wonder why it fails.

I think there are two different things being changed here: 1) clear errors in documentation, and 2) major refactoring of dependencies and removal of automated testing. The errors in 1) would be easy to address in a PR without the rest.
FWIW, I have had no problems using the npm package, and I don't use babel.

I read the code and this was actually the main reason I didn't merge the pull request. I've updated the README example and added the add-module-exports transform for babel: https://github.com/binded/phantom-pool/commit/67e77494e3cf5439e8965e0d4f5d009744ada6ba
That being said, this module requires Node v6+ as stated in the README and I'm not interested in supporting older versions of Node.

It seems that you fixed the npm package as well, so that's all well and good. I've already done my fork and I'm satisfied with it. I just didn't want people who were lead here by https://github.com/amir20/phantomjs-node to find a broken npm package as I did.
My changes weren't meant to support v < 6, they were meant to remove the train of dependencies and need for compilation that presumably lead to you guys mistakenly harboring a broken package on npm to begin with. I don't agree with how its written but obviously you don't agree with how I'd write it and that is subjective.
As long as this one here if fixed and people can use it without bothering themselves with fixing it or compiling it themselves I am happy.


I want to add a hamburger menu on navigation bar

[Pls assign these issues to me so that i can make ch
anges in the project]**
This is how it look after change

There is no navigation bar in project till now and it is mobile application so make according to that


Issue 15669 - Wrong line number in error message

Member expressions of TupleDeclaration have different loc than the TupleExp in its ctor. It should be fixed.

Auto-merge toggled on


Update LLVM in linux builders

Filling for tracking since I forgot about it.
See reasoning at https://github.com/servo/servo/pull/14584.
We need at least LLVM 3.3+ I believe, which should be available pretty much everywhere.

PR is open at #582.

Fixed there


[steam deck] Out of home network NEVER gets remote play working

Hi,
On v2.0.0-beta7 if i'm on home network with xbox and steam deck on it I can see the xbox on the list and remote play, but if I'm out of home and trying to connect from other network I can see the xbox listed but if I try to connect to remote play this connection is never done.
It stops on "Connecting to console...".
I have tested that I can connect from out of home network to xbox with iOS app.
Also I have tested to power on the xbox from iOS app and then try to remote play from green light steam deck app, but it doesn't gets to connect.
Many thanks!

I have the same problem.

Why didn't I think of VPN?
Lucky me I have VPN at home. I tested it and it's working perfect.
Many thanks!

Has any progress been made since this comment to implement this feature?


Upgrade to HAPI 4.2.0

This change is required before we can move to HAPI 4.2.0:  hapifhir/org.hl7.fhir.core#170


Arduino Uno with DWS1000 v0.3 library anchor-tag problem

Step 1: What do you want?

Report an issue.
Improve code (and need help).

Step 2: Describe your environment

Arduino IDE version or Toolchain: 1.8.13
dw1000ng Library version: 0.3
Arduino device: Uno
Used adapter board: DWS1000

Step 3: Describe the problem
Although the BasicReceiver and BasicSender are working fine, and my two devices are able to communicate successfully, it seems that the TwoWayRangingResponder - Initiator programs are not working although they seem to be initialized correctly.
Steps to reproduce (for bugs only):

Import the arduino-dw100-ng master branch or latest version into Arduino IDE.
Load the examples TwoWayRangingResponder, and initiator into two different Unos that have the DWS1000 shield attached
Open Putty or Serial Monitor to monitor output from both devices

Observed Results:
Although both devices initialize properly, they don't seem to be communicating with each other as there is no other output message other than the configuration details of the devices.

Expected Results:
I expected to get a distance estimation between the tag and the anchor. If these are not the correct programs, What action should I take to just prepare a simple demo?

Hi @ImBerkayKaplan,
Sorry for the response delay.
In your first screenshot (ranging-anchor) there are some visible problems, fields didn't set up.

Hi @ImBerkayKaplan, adding to Sonic comment:
From my experience, one of the possible problem with UNO is its working voltage.
DW1000 works with 3.3V, but UNO GPIO is 5V.
So, when UNO GPIO sends low signal (0)  to DW1000, DW1000 may still read it as high signal (1). And vice versa.
That makes the connection becomes unreliable and prone to weird results.


How do we initialize a "placeholder" vds which will be written to?

Hello, thank you for this great package, I was following the example provided
I am trying to create a VDS file from a very large on disk zarr array. It does not fit into memory, so in the example it looks like we have to initialize a np volume with zeros. But I would like to not have to do that. I am fairly new to the openvds API and I am not sure if I am missing something obvious.
How would we go about creating a placeholder vds without having to initialize the empty array?

At this moment lib does not support that. Historically decision to always initialize values was caused by the unstable behavior of openvds.
I started to code a solution that does not force value initialization but it still fails on tests.
You are welcome to contribute if you want or use openvds directly

@gavargas22 I was able to fix that here is an example that will be working after the new release. Just let me know if that what was you looking for
from ovds_utils.vds import VDS
import numpy as np

import os
from tempfile import TemporaryDirectory

import numpy as np

from ovds_utils.metadata import MetadataTypes, MetadataValue
from ovds_utils.ovds.enums import BrickSizes, Formats
from ovds_utils.vds import VDS, Axis, Channel, Components, InitValue, AccessModes
from itertools import product

if __name__ == "__main__":
    shape = (251, 51, 126)
    dtype = np.float64
    data = np.random.rand(*shape).astype(dtype)
    metadata = {
        "example": MetadataValue(value="value", category="category#1", type=MetadataTypes.String)
    }
    data = np.random.rand(*shape).astype(dtype)
    names = ["Sample", "Crossline", "Inline"]
    axes = [
        Axis(
            samples=s,
            name=names[i],
            unit="unitless",
            coordinate_max=1000.0,
            coordinate_min=-1000.0
        )
        for i, s in enumerate(shape)
    ]
    with TemporaryDirectory() as dir:
        with VDS(
            os.path.join(dir, "example.vds"),
            metadata_dict=metadata,
            axes=axes,
            init_value=InitValue.omit_init,
            databrick_size=BrickSizes._64,
            channels=[
                Channel(
                    name="Channel0",
                    format=Formats.R64,
                    unit="unitless",
                    value_range_min=0.0,
                    value_range_max=1000.0,
                    components=Components._1
                )
            ],
            access_mode=AccessModes.Create
        ) as vds:
            print("1st init empty")

        with VDS(
            os.path.join(dir, "example.vds"),
            access_mode=AccessModes.ReadWrite
        ) as vds:
            print("2nd writing")
            for i, chunk in enumerate(vds.channel(0).chunks()):
                print("chunk ", i, chunk.slices)
                chunk[:, :, :] = data[chunk.slices]
                chunk.release()
            vds.channel(0).commit()

        with VDS(
            os.path.join(dir, "example.vds"),
            access_mode=AccessModes.ReadWrite
        ) as vds:

            print("3rd reading")
            assert vds[:, :, :].shape == vds.shape == shape

            for i, j in product(range(shape[0]), range(shape[1])):
                _ok = all(data[i, j, :] == vds[i, j, :])
                if not _ok:
                    raise Exception(i, j)

Yes this works quite well, thank you so much for the additions!


update sparse ndarray api

moved https://github.com/apache/incubator-mxnet/pull/7251  to here

@anirudh2290 I am adding mx.nd.empty and mx.nd.array interface for sparse ndarray. After this is merged, you can update the scipy comparison wiki


console display is misaligned

I referred to the example in the README and added the following code to rootCmd:
rootCmd.SetUsageFunc(b.UsageFunc)
rootCmd.SetHelpFunc(b.HelpFunc)

However, in both the cmder window and the cmd window, the display of the borders seems disordered.

Thanks for opening - can you share some info on your env ?
go version
os
terminal
etc..
This has come up in the past when there is a zoom on the terminal - but I will see what I can find.


[DOCS] Navigation2D

I have noticed that the API Reference had documentation for Navigation, but not Navigation2D. So I tried to use the former to add a class description and some method documentation to the latter. I hope everything is factually correct, especially the description of what the optimize parameter of get_simple_path() does.

@cbscribe Thank you for the thorough review! I agree with pretty much everything you said. I based my docs on the ones of Navigation which seems to validate several of the guidelines you gave here; I guess that needs some updating as well. 🙂
I'll tweak the PR anddo a new push.

Yeah, you have to be careful about using existing docs if they haven't been updated yet either.
If you're up for it, you can move your new descriptions over to Navigation as well. :)

@cbscribe Done. Looking forward to your feedback. :)

Looks great! Are you going to update navigation too? If so, you can add it to this PR. Otherwise this is ready to merge.

Sure, I can do that!

Cherry picked into 3.0.3


Improve layout of playground

Reason/Context
It's starting to get a bit tight when it comes to how the playground layout is and I think it can be improved.
I think can focus on these two areas:

With more and more options, it's taking up a lot of space.

You can never fully see the generated models nor the input making it a weird experience.

hi @jonaslagoni, I'm interested in this issue but have some questions before I can try it. Would it look good for 1 to create collapsing headers for the options that way we can save up the space once the user has configured their required options?
For the 2nd part will have to think of some ideas or just can we shift 2nd column to make it a tab switching just above the editor?

Would it look good for 1 to create collapsing headers for the options that way we can save up the space once the user has configured their required options?

Might be 🤔 Just remember you quite often change between options and looking for the result i.e. how the options changed the outcome.
Not sure if this hinders the user experience?

For the 2nd part will have to think of some ideas or just can we shift 2nd column to make it a tab switching just above the editor?

Not sure i entirely get your suggestion 🤔 Can you clarify a bit more?

Might be 🤔 Just remember you quite often change between options and looking for the result i.e. how the options changed the outcome.

Hmm yea, that is there but somewhat similar to this where the user can if needed open the options if not this will have to think about it

Not sure i entirely get your suggestion 🤔 Can you clarify a bit more?

When using VSCode we have different files in tabs, likewise rather than the option can we configure such a thing?

Screencast from 02-06-23 02:36:01 PM IST.webm
@jonaslagoni for the lower section we can have it like this

@sambhavgupta0705 I dont think this improves the layout 🤔
My problems with this solution is that, 1) I can no longer edit the input and directly see the output, 2) it's hard to change the options and easily see the output.
I think we have to keep the input + output side by side, however in full-screen mode instead (mobile it's gonna suck regardless). Options might need to be a popup in someway, that you can open and close on the output model side 🤔 Not sure whats best here.
Any ideas?

I think we have to keep the input + output side by side, however in full-screen mode instead (mobile it's gonna suck regardless). Options might need to be a popup in someway, that you can open and close on the output model side 🤔 Not sure whats best here.

Maybe just a simple modal just above the Generated Models title with a button? and lowering the font size on the editors also disabling mini map as it's (in my opinion) not needed because if needed to scroll would use just the mouse or the slider

Sure, would like to work on this!

@jonaslagoni ,we can implement something like this

Sure, would like to work on this! How should we start?

Like any other contribution tbh 😄 Nothing special about this one.

@sambhavgupta0705 that unfortunately does not solve the layout problem with input and output not being next to each other.

I would 100% focus on that change first, and then we can figure out how to place the options

@jonaslagoni I think I am missing something here.
Can you please specify what's the input here??
\

@sambhavgupta0705 the input is what you see now in the playground on the left hand side. Where you can edit what is used to generate models

we can do something to use the whole screen,the white left and right space also??

Thought of the same but would lose the consistency of the website right? Of the left right spacing

To me it does not matter about consistency as the playground should be seen as an app in similar fashion as studio is.

okay @jonaslagoni so I think we should implement it as asyncapi.studio.com

okay @jonaslagoni so I think we should implement it as asyncapi.studio.com

yea was also thinking something similar to Leetcode's layout. Having a Split view and adjusting the width along with it should do the job

@codingmickey more or less yea 😅

@jonaslagoni I asked the maintainers of the main website about how can we redesign it and it seems that we need to make a lot of changes in the layout as it has been fixed by a css file that it cannot go beyond the star on github button.

I think it's a oneliner fix @sambhavgupta0705 https://github.com/asyncapi/modelina/blob/c0e0268996126ca65caeaa6d4c3d4fbcef1767bc/modelina-website/src/pages/playground.tsx#L9
By passing full

I think it's a oneliner fix @sambhavgupta0705
https://github.com/asyncapi/modelina/blob/c0e0268996126ca65caeaa6d4c3d4fbcef1767bc/modelina-website/src/pages/playground.tsx#L9
By passing full

ohhh yess it worked 😅

@jonaslagoni

@jonaslagoni what about this type of design ,the input and output side by side and the generate model option above them !

I was thinking something exactly same like the studio.. which has the options on the side to adjust the options and can show/hide the layouts.
Shall we work on this together? @sambhavgupta0705

@sambhavgupta0705 yep thats look like the right direction

Thanks Jonas

Shall we work on this together? @sambhavgupta0705

Yes we can

@jonaslagoni ,for the design proposed by me we need to import the models to render function https://github.com/asyncapi/modelina/blob/05210ba88b933baa67340ea11c57cd1a6a4be960/modelina-website/src/components/playground/GeneratedModels.tsx#L113
to Playground.tsx  file.
for which I need your suggestion that we should do this or not?

Other than that we can have this layout  where generated models will be a dropdown menu

@jonaslagoni

Looks fine yea

@jonaslagoni does this look good??

@sambhavgupta0705 I think it's time that we force the full screen editor completely, and remove the options and stretch the editor on the left and models on the right all the way to the top navbar, i.e. we get something close to studio layout.
The options I think should be something that is hidden/shown from something like a sidebar? Maybe?

So far I have understand that we should replicate something like studio.asyncapi.com
Have a sidebar which has items -> option,editor and more???

@jonaslagoni 😄

That would be nice yea, or at least options to start with 😄

Still relevant

Hi, Can I also help in this issue?

Definitely @devilkiller-ag 👍

Thanks @jonaslagoni, I read the above thread. What's the current status of the work? And from where should I start?

Have not seen any code yet, so I would assume that you are starting from scratch 🙂
Where you should start? Depends on how you like to work I guess 😄 The way I would do it was to copy the current playground and then make changes in that file by slowly introducing a new layout before changing the logic 🙂

Thanks @jonaslagoni. The plan seems great I will share a design wireframe and open a draft PR soon.

One more question, should we keep the layout similar to Async Api Studio (https://studio.asyncapi.com/)

As described above, https://studio.asyncapi.com/ would probably be a better layout for showing models, input and options yea 😄

Great, now I am ready to start 😁

Hi @jonaslagoni, this is the rough wireframe that I have created for Modelina Studio, after studying the components of Modelina Playground and AsyncAPI Studio.

The Options and Output Navigation will be in the same position which the user can switch using the buttons on the side panel. What's your opinion on this?

I think you can skip the outline completely, the input is only there for you to copy/paste an example to see the output fast. Not to edit inputs as Studio offers 🙂

Okay, I will start coding now.

While I run npm run dev to run the modelina-website locally. I got this error:
./src/pages/api/functions/CSharpGenerator.ts:2:0
Module not found: Can't resolve '../../../../../'
  1 | /* eslint-disable @typescript-eslint/no-unused-vars */
> 2 | import { CSharpGenerator, CSharpOptions, csharpDefaultEnumKeyConstraints, csharpDefaultModelNameConstraints, csharpDefaultPropertyKeyConstraints, CSHARP_COMMON_PRESET, CSHARP_JSON_SERIALIZER_PRESET, CSHARP_NEWTONSOFT_SERIALIZER_PRESET } from '../../../../../';
  3 | import { applyGeneralOptions, convertModelsToProps } from './Helpers';
  4 | import { ModelinaCSharpOptions, ModelProps } from '../../../types';
  5 | import { DeepPartial } from '../../../../../lib/types/utils';

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./src/pages/api/generate.ts

The error suggest that it can't find import { CSharpGenerator, CSharpOptions, csharpDefaultEnumKeyConstraints, csharpDefaultModelNameConstraints, csharpDefaultPropertyKeyConstraints, CSHARP_COMMON_PRESET, CSHARP_JSON_SERIALIZER_PRESET, CSHARP_NEWTONSOFT_SERIALIZER_PRESET } from '../../../../../';  The same error is for all the files in the modelina-website/src/api/functions folder.
Do I need to generate or get these files from somewhere else?
Also I can't findthe "lib" containing tpyes folder for import { DeepPartial } from '../../../../../lib/types/utils';

@devilkiller-ag You have to build the library itself as well, before the website 🙂

Hi @jonaslagoni, I am sorry, I am having a little trouble setting up this. I installed all packages for the library and website using 'npm i'. Did you mean building the library with the docker file with npm run docker:build? I did that too. Still facing the same issue. ( I followed all the steps mentioned in the doc here.)
I searched for the same error on Slack but didn't find it.
Can you kindly guide me elaborately on where I am making mistakes and how I can build the library? Again sorry for asking silly questions.

Hey @devilkiller-ag did you read this https://github.com/asyncapi/modelina/tree/master/modelina-website#how-to-run-it before starting? run npm run build:modelina before running npm run dev to build the actual library which is powering the website.
My one advice would be to please go through any README.md in the project scope you're trying to contribute next time :)
(Also apologies @jonaslagoni, I wasn't able to help on this issue before.. as I caught up with some other work..)

Thanks @codingmickey Now It's running successfully. Somehow I missed that command. I'll be sure to keep your suggestions in mind.

I have created the draft PR and will start working on it now.


Something isn't working right after midnight UTC

Right after 4 pm PST (midnight UTC) we sometimes fail to load a forecast for a region.
Today (Sunday 1/22/23 4:30 PM PST | Monday 1/23/23 12:30 AM UTC) I'm not getting a forecast for East Slopes South.

Ok, now I understand why this is happening!

Load the app at Monday 2023-01-23 4:01 PM PST, which is Tuesday 2023-01-24 00:01 UTC
App startup looks at the clock and says our defaultDate is Tuesday 2023-01-24, based on UTC time
useAvalancheForecastFragments tried to get forecasts in a 1-day window around the current date, so it looks at https://api.avalanche.org/v2/public/products?avalanche_center_id=NWAC&date_start=2023-01-23&date_end=2023-01-25
In that query, no forecasts were found for the East Slopes South zone! It turns out that the most recent forecast was created just before UTC midnight on the 22nd ("created_at": "2023-01-22T23:34:23+00:00"), even though it wasn't published until a few hours later ("published_time": "2023-01-23T02:00:00+00:00"). date_start was excluding this forecast, seemingly because it's filtering on created_at. But if we could have gotten that forecast in our query, we would have accepted it, because it didn't expire until later on the 24th.
The workaround, then, is to expand our lookback window by 1 day in useAvalancheForecastFragments


Problem with Mother 1 side

When patching this to a already patched rom with the mother 1 translation it sets back to japanese

The patches were not made to be compatible.
Closing, as it's not a real issue.

patch the M1 side AFTER


Implement veto flow

Under this flow, a subDAO makes a proposal to a parent DAO. The proposal will pass optimistically unless the parent DAO vetos it.
This can be done very simply as a proposal module which allows a designated address to create a proposal. Proposals in this module may not be voted on and after a configured amount of time become executable. Anytime before that proposal passes, the parent DAO may executed a Veto { proposal_id: u64 } message on the module to veto a proposal. Veto'd proposals do not have their deposits refunded. All deposit logic can be handled by sticking a pre-propose module in front of this one.
To enable vetoing, a DAO will then register this module via a vote of their regular proposal module. To veto a proposal, the DAO will vote on a proposal which executes the veto message on the new proposal module.

should vetoed proposals never return their deposits, or should we allow the dao to configure this option?

should vetoed proposals never return their deposits, or should we allow the dao to configure this option?

We should allow the DAO to configure this.

Removing from V2, can come shortly afterwards.

Closing in favor of #736


Creating a user from console under a primary or secondory US navigates to the admin users edit page after click Finish and undefined in URL

Describe the issue:

Get Pack https://drive.google.com/file/d/1N2ymB2zv0cKlZ6j9ZMY5tHR61H3qlvyR/view?usp=sharing
Register a secondory Userstore (mysql)
Create a workflow for user add operation in the system  >> (mandotory)
Create a user under primary or secondory Userstore
After click Finish button in user creation from console it navigates for the edit page of the admin user and not for the created users edit page

Browser URL shows as undefined
https://user-images.githubusercontent.com/31848014/183667635-a4e5be3e-f96b-4a2e-a808-c0d321f8dacc.mp4

Got the same behavior,
when there is WorkFlows Engagements with Operation name = Add user

Then, after creating a new user (console) it will navigate to the Console Admin profile

ATM, from inside the Console, there's no way to figure out if a workflow is engaged.
cc:/ @AnuradhaSK

Fixed with: https://github.com/wso2/identity-apps/pull/3927


SceneBuilder 2 doesn't support importing of jar files any more

Tried to follow your installation instruction with Scenebuilder 2, but Import Jar/FXML has been renamed to Import Fxml and doesn't allow to import jar-files. Any idea how to solve that?


Reorganise API docs

This is by no means complete but is a start towards a more sensible organization of the api docs

I think this is ready now.

There is a .rst file per python file (module) that we document
These are  kept in a folder structure that matches the code
We only document the relevant modules. (Apart from utils etc where we document everything)
The individual python files are documented with a automodule clause. This means that everything is
included for a module. We could get better results by going more fine grained and chose the specific classes to document but I think this is the best trade off between maintainability and granularity)

Is it possible and is it preferred to go from
qcodes.dataset.database_extract_runs.extract_runs_into_db(source_db_path: str, target_db_path: str, *run_ids, upgrade_source_db: bool = False, upgrade_target_db: bool = False) → None

to
extract_runs_into_db(source_db_path: str, target_db_path: str, *run_ids, upgrade_source_db: bool = False, upgrade_target_db: bool = False) → None

when generating docs?

Is it possible and is it preferred to go from
qcodes.dataset.database_extract_runs.extract_runs_into_db(source_db_path: str, target_db_path: str, *run_ids, upgrade_source_db: bool = False, upgrade_target_db: bool = False) → None

to
extract_runs_into_db(source_db_path: str, target_db_path: str, *run_ids, upgrade_source_db: bool = False, upgrade_target_db: bool = False) → None

when generating docs?

I would mostly be against that. Explicit is better than implicit and all that

I'm just going to throw them here since i've found them, but it's up to the author to decide what to do with them.
Have problems with formatting:

class qcodes.utils.validators.Validator
qcodes.utils.plotting.Number has a docstring which does not correspond to it
qcodes.utils.plotting.auto_range_iqr - interesting "return type" entry, i don't know how it should be actually, maybe it's ok and just confusing for me
qcodes.utils.helpers.NumpyJSONEncoder - list of supported conversions in "default" method is badly formatted. Also, the docstring includes the base class docstring which i think is irrelevant here.
station.remove_component has an extra bullet point for "raises" section
field_vector, set_component method: extra bullet point in the "parameters" section
qcodes.logger.log_analysis - some of the "returns" sections are not formatted correctly (they look like quotes instead)
qcodes.logger.instrument_logger.InstrumentLoggerAdapter docstring can be improved to have code/examples/plain text distinguished
qcodes.instrument.group_parameter.GroupParameter - it's a bit bad than the doc is polluted with the methods of the parent class
qcodes.instrument.parameter module has a nice module-level doc but cool stull like ParameterWithSetpoints is not mentioned there while ArrayParameter is
qcodes.instrument.channel.AutoLoadableChannelList - the bullet-point list in the docstring is not renderred as such

@astafan8 I was going to suggest that we should split up all the modules and each do a pr per module to bring the docs up to spec for that module.

That would be fix the issues that you have seen
Add missing module level docstrings
Add other missing docstrings

I really just wanted this to be about a sane overall layout

we should split up all the modules and each do a pr per module to bring the docs up to spec for that module

Perfect! Let's do that soon.

I will do the contributing guild updates in a new pr now


Build specific platform, builds all, returns on specific

PhoneGap CLI, node & npm versions

PhoneGap CLI 8
Node: 8.12
Npm: 6.4.1

Expected Behaviour
Build specific platform
Actual Behaviour
Builds all platforms
Steps to Reproduce
Just build a specific platform
Reasoning
When you request to build a specific platform, it also starts building other platforms. This is not intended behaviour. What's the problem with it? Well, the server returns when the requested platform was done. Suppose you want to download both files (e.g. IPA and APK), then that is not possible because the other is still building.

If this would not work because of backward compatibility maybe add something like --disable-autobuild-trigger, with a corresponding parameter in the developer api.


fix link from Chinese README to the English one

The link of English README now lead to README_CN.md, it should be README.md.

Codecov Report

Merging #624 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #624   +/-   ##
=========================================
  Coverage     80.16%   80.16%
  Complexity      205      205
=========================================
  Files            39       39
  Lines           620      620
  Branches         59       59
=========================================
  Hits            497      497
  Misses           99       99
  Partials         24       24

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 2b66783...1725f65. Read the comment docs.


Access remote hostname during local task

Q
A

Issue Type
Feature Request

Deployer Version
5

Local Machine OS
osx

Remote Machine OS
linux

Description
If you're reporting a bug, please include following information
Steps to reproduce
I would like to do the following
Content of deploy.php
desc('Perform a deploy locally for upload to server.');
task('localbuild', function () {
	set('deploy_path', '~/.mydeploys/{{hostname}}');
       // ...
})->local();

However, 'hostname' is set to 'localhost'

This is correct behavior. You mark task as ->local();.

@antonmedv - yes I understand, but say you want to reference the hostname that you are going to release your local deploy to? See my example.

What output should be here?
host('prod_a');
host('prod_b');

task('localbuild', function () {
	writeln('~/.mydeploys/{{hostname}}');
})->local();

prod_a or prod_b?

Thats a good point.
Is there a way to set a global variable from another task that isn't local?

You can use env for it:
set('branch', function () {
    return getenv('BRANCH');
});
task('localbuild', function () {
	writeln(getenv('BRANCH'));
})->local();

BRANCH=feature-branch dep deploy


add CMK support for Synapse module

Resolves #32
Adding CMK support for Synapse workspace module so there's the option to enable double encryption at rest at the time of the workspace creation. More info: https://learn.microsoft.com/en-us/azure/synapse-analytics/security/workspaces-encryption#encryption-of-data-at-rest
Implementation follows the azurerm Terraform example: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/synapse_workspace#example-usage---creating-a-workspace-with-customer-managed-key-and-azure-ad-admin

@microsoft-github-policy-service agree

Hi @murggu. One of the checks failed and it seems to me that failed installing tfsec (somehow it got a 404 when accessing the tfsec repo) or at least that's my understanding of the error. Did you experience this problem before? How could I rerun that check? Thank you.

@josejfb the issue could be related to how GH_TOKEN is set up on .yml files. Could you please change GH_TOKEN: ${{ secrets.GH_TOKEN }} by  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} on your synapse-workspace.yml file?
A quick note on secrets.GITHUB_TOKEN - this is created automatically for you when you start using Actions.

Hi @murggu. The previous error is now solved (thanks for the hint) and I got now another one. Somehow the test is not running az login so the Terraform backend initialization is failing.
TestModule 2022-12-14T08:29:14Z logger.go:66: Initializing the backend...
TestModule 2022-12-14T08:29:18Z logger.go:66: ╷
TestModule 2022-12-14T08:29:18Z logger.go:66: │ Error: Error building ARM Config: obtain subscription() from Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.

Reviewing the code I see that the test sets the environment ARM variables from GitHub secrets but it seems that either they are not set or maybe because of my user permissions those secrets can't be read so the code tries to get the credentials from the Azure CLI credentials that are obviously not present.
Could you please take a look at this? Thank you very much.

@josejfb this seems related to secrets access. Let me have a look and get back to you. By the way, would you mind changing AzureRm version to 3.36.0 in providers.tf? This is the version included in upcoming v1.2.0.

Closing this PR after 2-3 months.


the information of the member

the information of the member, like the tag and the result of the test, would it be better to save user user/userID rather than eventname/member/userID, as I think that the information may commonly use in all the event

I think the result of ability quiz is better to store under user/userID/ability/ability_name


Errors in the console of web wallet, Asset Exception

 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
app.js:44 RPC Server Error: Assert Exception (10)
_chain_db->get_statistics_enabled():

Changed default value from false to true in this commit:
https://github.com/bitsuperlab/bitshares_play/commit/c3c45d894fb8dd61dce6e60621eadd946d218f8c

https://github.com/bitsuperlab/bitshares_play/commit/adb966e


IGNITE-12918 Fix Travis config: separate Java jobs

@Mmuzaf sorry, I screwed up the branch for #7710, this is a new PR

Wrong branch, closing


Miner resources in p2p & hare

This PR is for setting compute resources to p2p tests different from mining tests

replaced by https://github.com/spacemeshos/go-spacemesh/pull/1115


SpaceToBatchND / BatchToSpaceND Documentation Error

I think there is an error in the documentation for SpaceToBatchND and BatchToSpaceND.  (The op itself seems to be working fine.)
In example (3) from SpaceToBatchND:

(3) For the following input of shape [1, 4, 4, 1], block_shape = [2, 2], and paddings = [[0, 0], [0, 0]]:
prettyprint x = [[[[1], [2], [3], [4]], [[5], [6], [7], [8]], [[9], [10], [11], [12]], [[13], [14], [15], [16]]]]
The output tensor has shape [4, 2, 2, 1] and value:
prettyprint x = [[[[1], [3]], [[5], [7]]], [[[2], [4]], [[10], [12]]], [[[5], [7]], [[13], [15]]], [[[6], [8]], [[14], [16]]]]

Note how [[5],[7]] appears twice in the result and [[9],[11]] is missing.
The example (3) in BatchToSpaceND has the same problem in reverse.
If I actually try this op in TensorFlow, I get results that differ from the documentation but make sense to me:

>>> bshape = [2,2]
>>> paddings = [[0,0],[0,0]]
>>> x  = [[[[1], [2], [3], [4]], [[5], [6], [7], [8]], [[9], [10], [11], [12]], [[13], [14], [15], [16]]]]
>>> s2btest = tf.space_to_batch_nd(x,bshape,paddings)
>>> sess.run(s2btest)
array([[[[ 1],
         [ 3]],

        [[ 9],
         [11]]],

       [[[ 2],
         [ 4]],

        [[10],
         [12]]],

       [[[ 5],
         [ 7]],

        [[13],
         [15]]],

       [[[ 6],
         [ 8]],

        [[14],
         [16]]]], dtype=int32)

Example tried with TensorFlow from source / Linux Ubuntu Xenial / v1.1.0-rc1-168-g0054c39 1.1.0-rc1
.
Documentation from https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/batch-to-space-n-d and https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/space-to-batch-n-d
Looking at the doc string this may be fixed in master (d1ba01f8) and just not updated on the 1.0 branch web docs yet.

Thanks for pointing this out. As you found out, this was fixed in #7080 and will be reflected in the next release (you can preview the docs for 1.1 that show this fix at https://www.tensorflow.org/versions/r1.1/api_docs/cc/class/tensorflow/ops/space-to-batch-n-d)
Closing this out, since this has been fixed - just not reflected to the website yet, which will be soon.


Update CHANGELOG.md

Motivation
Several changes listed as part of the 1.3.0 release have already been released in prior versions.
Changes

Updated CHANGELOG to list changes at the correct versions
renamed 1.3.0 back to UNRELEASED, since more changes might be added before it is officially released

Test Plan

n/a

TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed
[x] Update changelog as needed

bors merge


TextureRegionEditor Fix not updating on editing region with autoslice cached

If texture's autoslicing was already cached neither the region's rect was updated nor redrawing was triggered.
Fixes #49233.
Cherry-pickable 3.x, 3.3.

@kleonc Can you see if this also fixes #26814 as suggested by @KoBeWi in #49233?

@kleonc Can you see if this also fixes #26814 as suggested by @KoBeWi in #49233?

It doesn't, these are separate issues.

Thanks!

Cherry-picked for 3.4.

Cherry-picked for 3.3.3.


Publish single file

I tried to publish my project with the single file option enabled and the executable is created with the separate www folder. Is there a way, without having to resort to third-party programs, to have everything embedded in an .exe?
Thanks.

@josago97 We honestly don't know. We haven't any experience with creating single file outputs. Maybe someone in the community can chime in?

If you are using blazor, thats not how it works, create an executale or bat file and use the dotned command to start your app. I dont think blazor apps can be compiled to single executable, but i cant swear to that.

I am using Blazor, which, when publishing, generates a www folder separate from the .exe file. In Electron it has the same behavior by default, it generates some folders separate from the executable. However, there appears to be an Electron plugin that allows you to publish to a single file as a portable application (https://github.com/rabbit-hole-syndrome/electron-forge-maker-portable). I don't know how it will work inside, but it would be nice to have some option, if possible, to achieve the same effect in Photino since having everything in a single .exe is very convenient.

to embed wwwroot all you need is:
csproj:
<ItemGroup>
	<EmbeddedResource Include="wwwroot\**" />
</ItemGroup>

<ItemGroup>
	<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="8.0.0" /> <-- ADD THIS
	<PackageReference Include="Microsoft.AspNetCore.Components.WebView" Version="8.0.0" />
</ItemGroup>

<PropertyGroup>
...
        <GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
</PropertyGroup>

program.cs:
...
var appBuilder = PhotinoBlazorAppBuilder.CreateDefault(args);
appBuilder.Services
    .AddLogging()
    .AddSingleton<IFileProvider>(_ =>
        new ManifestEmbeddedFileProvider(
            typeof(Program).Assembly,
            "wwwroot"));
...

then in your publish folder just delete the wwwroot folder and it will work.

The html works but the styles are not applied.

that could be because you are using generated css that is not included in the wwwroot. you might be able to follow this post to embed the generated css file: https://stackoverflow.com/questions/69366052/how-to-embed-the-scoped-css-bundle-file-generated-by-razor-class-library

@josago97 Does this solve your issue?

What user ivanjx has been talking about is to make a single file application that works well with CSS files that are inside the wwwroot. However, the css files that Blazor automatically generates are not caught by Blazor. The stackoverflow forum discussion explains how to fix it via a patch. That patch consists of creating a Razor library and putting the logic there, linking it with the main project and then including everything in the executable. Honestly, it is not the solution I was looking for at first, it would be better if it could be done without the need for patches or external projects.

@philippjbauer is planning on creating some documentation around distribution strategies on all 3 platforms. One approach is using .NET's publish to single file capability where you can include these runtime files in the single file executable. It would be very helpful if you could create a simple example and share the github repo so we can test with your example.

while using .net's single file publish is good for most, it would be great to also incorporate the idea around native aot single file publishing (by leveraging native static library). not only it will reduce the size greatly, it will also perform better.

Closing this since https://github.com/tryphotino/photino.Blazor/issues/94#issuecomment-1858811885 solves the issue. The AOT capability is tracked in #106


Open in cloud shell - hardcoded to fmichaelobrien fork not canada-ca main - I'll PR shortly

https://github.com/canada-ca/accelerators_accelerateurs-gcp/pull/36

already fixed in https://github.com/canada-ca/accelerators_accelerateurs-gcp/tree/main/deployment-templates/Terraform/guardrails
fix also in https://github.com/canada-ca/accelerators_accelerateurs-gcp/tree/main


How to generate training/validation list.

Hi， It's a great work， Could you tell me how to generate training/validation list since the rec2ims.py didn't generate these list files.

@meanmee You can randomly split 5% or 10% as validation set and keep the rest data as the training set, since there is no strict protocol to split the dataset.


Add fullFieldPath in frontend getColumn API return

From WhereHows DB, full path = parentPath.fieldName

Coverage remained the same at 0.0% when pulling 207dd417bf31eaef160f8e01d08f4c8c59f319c7 on alyiwang:linkedin into cdfa5c7e4aa146dbbd8bcf41114da4ece965cd46 on linkedin:linkedin.


Multiple SLURM jobs are being submitted to the same Compute node.

Hello Team,
I am trying to use AWS parallel cluster 3 with nextflow.
I have been able to successfully set it up and get it to work.
But there seems to be an issue with how compute EC2 instances are assigned to slurm jobs.
I have been assuming that every single slurm job submitted runs on a different compute node (EC2 instance), but that does not seem to be the case.
Below you can see a snippet of 8 slurm jobs running but all on the same EC2 instance (This is htop output on that instance):

This obviously causes memory issues and all the jobs die.

Hi @mohammedmsk ,

I have been assuming that every single slurm job submitted runs on a different compute node (EC2 instance), but that does not seem to be the case.

That is possible, but not the default; to give each job its own node, add --exclusive to the sbatch command/script you use - you can read more about this and other related settings here.

Ok. That should resolve the issue. Where is the slurm config file located if I want to add this option as a default to my cluster?

I figured it out. Thanks a lot for help.

@mohammedmsk, Out of curiosity, how did you change the configuration to make it work?

@joehellmersNOAA , So I did not change the slurm configuration as such. I simple updated my nextflow config to include the key word "--exclusive" for all slurm jobs. Hope that helps.
Here is the snipped of nextflow config:
process {
  executor = 'slurm'
  withName: '.*' {
    clusterOptions = {"--exclusive"}
  }
}


App crashes on launch only on iOS 9 or 10 but not 11.

Hey guys I am getting this when I run the app on iOS 9 and 10 but it works perfectly on iOS 11. I see my LaunchScreen but that is it and it stays on the LaunchScreen. Is anyone else having this issue or am I just an idiot? I'm very new to coding and still learning. Thanks

Hi @mannyd209, thanks for the feedback!
I tested the app on 10.3.3 (iPhone 7+) and 9.3.5 (iPad 2) and everything is working fine, could you share more infos about the iOS version and the devices you used so we can do more testing? Thanks

I think I might of just figured it out. I had a YouTube Player pod installed in the project that I wasn’t using anymore but hadn’t uninstalled it yet. After I uninstalled it and updated my onesignal notifications pod it now is working on my iOS 9.3 simulator. I’ll try it on an actual physical device once I get to work in an hour from now. I’ll report back then. Thanks for your quick response @fethica
Sent with GitHawk

Yup that was the issue. Something to do with the unused YouTube Player Pod. I will now close this issue. Thanks again @fethica
Sent with GitHawk


Faq

@karlitschek your input pls on answering the question:

Can I modify ownCloud and run it on my website for others to use/access?

ownCloud Server is available under the AGPLv3. In laymen terms (this is NOT legal advice!) the AGPL license grants you the right to run the ownCloud code wherever and however you want, make modifications and additions and share these with anybody you like. The only limitation is that if you give others access to your ownCloud (by giving them a user account or sharing files with them), you must also give them access to the source code; and the whole source (including your modifications) has to be under the AGPLv3 license.
How to comply
If you have made no modifications to the ownCloud code, the easiest way to comply with the AGPL is to have a small link to owncloud.org and note that users can find the code there. If you have made modifications, contributing these to ownCloud is sufficient from our point of view. If you don't want or can't do that, you have to provide a way for users to download the modifications you made to ownCloud, including any apps you wrote or integrated. A link to a tarball, zip file or github repository is enough. Make sure they contain the copyright notice; the code has to be under the AGPLv3 or a compatible license like the MIT license.
Artwork is exempt from these restrictions: you can have a branded ownCloud installation which links to owncloud.org in a subtle (but visible!) way. You do NOT have to release your artwork under the AGPLv3.
Contact a lawyer if you are unsure about any of this - the above is not legal advice and we can not provide such.

This is correct.
But a link to download the source is not necessary. It is enough to provide the source on request. Which would be in case of an unmodified ownCloud just he pointer to owncloud.org.
The rest is fine.


Special-case Prop-valued fields in simps

simps does not consider whether a field of a structure is Prop-valued or not. This means the lemmas it generates don't follow the convention in three ways:

The name use UpperCamelCase instead of lowerCamelCase.
The lemma is stated using =, not ↔.
The lemma is stated with two many explicit arguments.

In the following example, simps handles bar correctly but not Baz.
import Mathlib.Tactic.Simps.Basic

structure Foo where
  bar : Nat
  Baz : Prop

@[simps]
def myFoo (n : Nat) : Foo where
  bar := n
  Baz := False

#check myFoo_bar
-- myFoo_Bar (n : Nat) : (myFoo n).Bar = n
#check myFoo_Baz
-- myFoo_Baz (n : Nat) : (myFoo n).Baz = False
-- We instead want:
-- myFoo_baz {n : Nat} : (myFoo n).Baz ↔ False

It's possibly related to the issue that the projection generated by Lean is def, not theorem:
@[reducible] def Foo.Baz : Foo → Prop :=
fun self ↦ self.2


Removed CRNA from Get Started list

Removed Create-React-Native-App from the Get Started list, since it has been merged with Expo.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


[enhancement]: Node Editor - Drag and drop generated image to auto generate nodes setup

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
I think this feature will boost up workflow much more faster.
Imagine that I will get the node setup of a generated image by just "drag + drop" the image (from file explorer or invoke gallery) into the node editor (even the image was not generated from node editor UI).
Of course, the images must be generated by InvokeAI or compatible with InvokeAI
Alternatives
No response
Aditional Content
No response

This will be available in v1 of nodes


NIFI-2622: Added support for complex types in SelectHiveQL

Looks good, verified this work with array and map columns, will merge to master.