Build and publish extension artifacts from pull requests to GitHub

Use ACR Build (or something else!) to build the extension from pull requests, and publish a downloadable vsix, making it easier for us to test.

I would suggest Brigade!
Brigade is already using Brigade to run tests, build binaries, upload them to GitHub releases (this is the actual brigade.js file that builds Brigade)

Thank you so much for this, we have enabled the Github action for this purpose int his repo - build and publish and we are for almost a year now publish that using on-click deploy functionality. vsix artefacts are also part of the publish release notes, closing this issue for now. Please feel free to re-open with more detail in case I missed anything. cc and fyi: @squillace , @lstocchi and @itowlson thank you


Make deck factory generic

each language can have its own deck factory, to specify how e.g. Ankideck should be formatted

don't merge, checking this to see if it  means anything after PR 91 is merged

I prefer PR 91 really


Revert to a working version ASAP

Description
I do not care if the tool is fast or not, the bottom is that it should WORK. In my setting, after I edit a file and save it, NOTHING happens. Even after I hard refresh the page, it still not work. I believe there are some wrong sort of cache optimization cause the problem, no such optimization PLEASE, make it WORK first
Suggested solution
A WORKING one rather than an OPTIMIZED one
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

It's working for me. Please provide a reproduction if not.


Add additional Conversion Types for Argument Types

Add Function, Union, and Enum as Conversions from/to Argument Types.

Functions to/from Commands may not be possible since std.builtin.Type.Fn,Param does not expose a parameters name.

Functions to/from Commands may not be possible since std.builtin.Type.Fn.Param does not expose a parameters name.

Upon further consideration, the lack parameter names only prevents making Options from parameters, but Values should still be possible with anonymous names like param0.

Closed by:

af04164dc21558c44830f161bf92937828df53e3
a4eb75ba2e77cef56c5ddf712798c4baeec6afee
d73e808a1f642091994d6b27c7fb15e390076c32
6d7cf1947de0662d810e2a5ee57555269f34a596


Request:  Freschbaldi Support

After installing lilypond with lyp:
When I made /usr/local/bin/lilypond to be the default lilypond version in Frescobaldi, it does not generate any file even after the lilypond log replied compile successful.
When I made ~/.lyp/lilyponds/2.18.2/bin/lilypond  as default version, the compiler does not recognize \require command.
Is there a way to make Frescobaldi to compile with lyp version of lilypond?

I have no experience with Frescobaldi, but you'll need to set it to wherever lyp's lilypond wrapper script resides, depending on lyp was installed. To find it,run:
$ which lilypond

And put the result in Frescobaldi settings.
Let me know if this helps.

I did set it to where the lilypond wrapper script resides
(/usr/local/bin/), and this is the lilypond log I've received when
compiling with frescobaldi.
Starting lilypond 2.18.2 [trashme.ly]...
invalid byte sequence in US-ASCII
Completed successfully in 0.3".
By the way, using the command line in the terminal has no problem.
On Fri, Mar 17, 2017 at 3:37 AM Sharon Rosner<EMAIL_ADDRESS>wrote:
I have no experience with Frescobaldi, but you'll need to set it to
wherever lyp's lilypond wrapper script resides, depending on lyp was
installed. To find it,run:
$ which lilypond
And put the result in Frescobaldi settings.
Let me know if this helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noteflakes/lyp/issues/52#issuecomment-287297016, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIEdn5a40ZkPWDT7P7tTK7YjrkJ_UwBqks5rmkZdgaJpZM4MgNqW
.

I just installed Frescobaldi 2.2 and successfully compiled a simple file including a \require command without any problem. Please try compiling this on your machine:
\require "assert"
#(assert #t)

{ c d e f }

Assert works on my machine too (although I don't know what it does).  I
guess the problem is not on the wrapper.
The package I was using is roman-numerals
Here is the example code I was trying to compile:
\require "roman-numerals"
bassline = \relative c' {
\clef bass
\key g \major
\time 3/4
g4 fis f
e es es
d2 dis4
e2.
\bar "||"
}
analysis = \lyricmode {
\override LyricText.self-alignment-X = #-0.6
\offset StanzaNumber.X-offset #-3
\set stanza  = #"G:"
% For bare Roman numerals, \rN simply outputs the string.
%\markup \rN { I }
I
\markup \rN { V 6 5 }
\markup \rN { vii o 4 3 / IV }
\markup \rN { IV 6 }
\markup \rN { ii h 4 3 }
\markup \rN { Fr +6 }
\markup \rN { I 6 4 }
\markup \rN { vii o 7 / vi }
vi
}
\score {
\new Staff <<
\new Voice = "bass" { \bassline }
\new Lyrics \with {
% to control distance of analysis from staff
\override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
#'((basic-distance . 6.5))
} \lyricsto "bass" { \analysis }

\layout {
\context {
\Score
% to control horizontal spacing
\override SpacingSpanner.shortest-duration-space = #6
}
\context {
\Lyrics
% to control global size
%\override LyricText.font-size = #-1
}
}
}
On Fri, Mar 17, 2017 at 4:30 AM, Sharon Rosner<EMAIL_ADDRESS>wrote:

I just installed Frescobaldi 2.2 and successfully compiled a simple file
including a \require command without any problem. Please try compiling
this on your machine:
\require "assert"
#(assert #t)
{ c d e f }
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noteflakes/lyp/issues/52#issuecomment-287307296, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIEdn27C0-L8X06TxI-CO8YOE7Kpqfb_ks5rmlLSgaJpZM4MgNqW
.

It took a while to get to the bottom of this. The problem is that Frescobaldi does not set or pass the LC_CTYPE environment variable to the lilypond wrapper, and so the default US-ASCII encoding is used. So even if you properly set LC_CTYPE in ~/.bash_profile (or ~/.bashrc etc), because Frescobaldi is GUI app it will not receive this setting.
If you're on MacOS, run sudo nano /etc/launchd.conf and add the following line:
setenv LC_CTYPE=en_US.UTF-8

And you should be good to go (I don't know how this is done on Linux.)

Still no luck.

Please give me some info on your installation:

OS
ruby version
lyp version

OSX 10.11.6
ruby 2.4.0p0
lyp 1.3.5
On Sat, Mar 18, 2017 at 1:53 AM, Sharon Rosner<EMAIL_ADDRESS>wrote:

Please give me some info on your installation:

OS
ruby version
lyp version

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noteflakes/lyp/issues/52#issuecomment-287521310, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIEdn3UzKaQTWaJmaTca0UFQjA03NHDHks5rm39MgaJpZM4MgNqW
.

Did you restart Frescobaldi after editing /etc/launchd.conf?

Yes I did.
On Sat, Mar 18, 2017 at 3:32 AM Sharon Rosner<EMAIL_ADDRESS>wrote:

Did you restart Frescobaldi after editing /etc/launchd.conf?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noteflakes/lyp/issues/52#issuecomment-287525754, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIEdn6QIRdm8YksVDk28dbjjQzuq9Q3cks5rm5aEgaJpZM4MgNqW
.

OK, let's try to patch your lilypond gem wrapper script., Add the following line to /usr/local/bin/lilypond (you'll probably need to open it with sudo to edit it):
Encoding.default_external = Encoding::UTF_8

Put this line just after the first ("shebang") line in the script. Let me know if this solves the problem.

It works.
And it's also safe to delete my /etc/launchd.conf which did not exist in
the first place.
Thanks
Allen
On Sat, Mar 18, 2017 at 8:05 AM Sharon Rosner<EMAIL_ADDRESS>wrote:

OK, let's try to patch your lilypond gem wrapper script., Add the
following line to /usr/local/bin/lilypond (you'll probably need to open
it with sudo to edit it):
Encoding.default_external = Encoding::UTF_8
Put this line just after the first ("shebang") line in the script. Let me
know if this solves the problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noteflakes/lyp/issues/52#issuecomment-287545201, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIEdnxC0BK3QXCu0a2lniNxGvvYSOEkEks5rm9algaJpZM4MgNqW
.

OK. I'll try to find a way to detect this automatically without causing problems for users who use encodings other than UTF-8.


Changing theme to hugo-nuo unable to deploy on Netlify.

If I use kiss theme everything is working great but soon as i change theme to hugo-nuo i get 255 error.
10:36:58 AM: Build ready to start
10:37:03 AM: build-image version: 9e0f207a27642d0115b1ca97cd5e8cebbe492f63
10:37:03 AM: build-image tag: v3.3.2
10:37:03 AM: buildbot version: 75cd99f62ada9e21edea53208e8baf0eab85a045
10:37:03 AM: Fetching cached dependencies
10:37:03 AM: Starting to download cache of 166.5MB
10:37:04 AM: Finished downloading cache in 778.462632ms
10:37:04 AM: Starting to extract cache
10:37:10 AM: Finished extracting cache in 5.606557072s
10:37:10 AM: Finished fetching cache in 6.43813194s
10:37:10 AM: Starting to prepare the repo for build
10:37:10 AM: Preparing Git Reference refs/heads/blog
10:37:13 AM: Found netlify.toml. Overriding site configuration
10:37:13 AM: Different publish path detected, going to use the one specified in the toml file: 'public' versus '/' in the site
10:37:13 AM: Different build command detected, going to use the one specified in the toml file: 'hugo --gc --minify -b $URL' versus '' in the site
10:37:13 AM: Starting build script
10:37:13 AM: Installing dependencies
10:37:13 AM: Started restoring cached node version
10:37:15 AM: Finished restoring cached node version
10:37:16 AM: v10.16.0 is already installed.
10:37:17 AM: Now using node v10.16.0 (npm v6.9.0)
10:37:17 AM: Attempting ruby version 2.6.2, read from environment
10:37:19 AM: Using ruby version 2.6.2
10:37:19 AM: Using PHP version 5.6
10:37:19 AM: Installing Hugo 0.54.0
10:37:19 AM: Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
10:37:19 AM: Started restoring cached go cache
10:37:19 AM: Finished restoring cached go cache
10:37:19 AM: unset GOOS;
10:37:19 AM: unset GOARCH;
10:37:19 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.12.linux.amd64';
10:37:19 AM: export PATH="/opt/buildhome/.gimme/versions/go1.12.linux.amd64/bin:${PATH}";
10:37:19 AM: go version >&2;
10:37:19 AM: export GIMME_ENV='/opt/buildhome/.gimme/env/go1.12.linux.amd64.env';
10:37:19 AM: go version go1.12 linux/amd64
10:37:19 AM: Installing missing commands
10:37:19 AM: Verify run directory
10:37:19 AM: Executing user command: hugo --gc --minify -b $URL
10:37:20 AM: Building sites …
10:37:20 AM: Total in 57 ms
10:37:20 AM: Error: failed to prune cache "assets": remove /opt/build/repo/resources/_gen/assets/scss/styles/main.scss_b95b077eb505d5c0aff8055eaced30ad.content: no such file or directory
10:37:20 AM: Skipping functions preparation step: no functions directory set
10:37:20 AM: Caching artifacts
10:37:20 AM: Started saving pip cache
10:37:20 AM: Finished saving pip cache
10:37:20 AM: Started saving emacs cask dependencies
10:37:20 AM: Finished saving emacs cask dependencies
10:37:20 AM: Started saving maven dependencies
10:37:20 AM: Finished saving maven dependencies
10:37:20 AM: Started saving boot dependencies
10:37:20 AM: failed during stage 'building site': Build script returned non-zero exit code: 255
10:37:20 AM: Finished saving boot dependencies
10:37:20 AM: Started saving go dependencies
10:37:20 AM: Finished saving go dependencies
10:37:20 AM: Shutting down logging, 3 messages pending

Any pointers or help ?

It deploys smoothly on Netlify for me. Does it build successfully on local ?

Yes, it does.
If it is helpful I was switching theme. From kiss to hugo-nuo.


Add some orm/odm

I think the Prisma "ORM" is the best way to do it
Because Prisma can be an ORM or ODM
You can make a "getting started" installation and connect to a simple sqlite

Prisma are added!
-> https://github.com/kauefraga/server-structure/commit/257529ebf8a67af36c7be28f90ead34f5d2263f0

To keep it simple we remove the Prisma.


[DO NOT MERGE] PP-2336 Example X-Ray integration

Used by the performance team to trial AWS X-RAY

Closing for now: as we stopped progress on X-Ray integration


Jittery scrolling on iOS Mobile Safari

Start scrolling down the page
Expected: smooth scroll
Actual: jumps back to top

Similar issue on Chrome on Android 8.0, any small upwards scroll will immediately snap to top.

looks like the bug is in rubyconfth/_js/components/AppNavigation/index.js - is this a 3rd party component or something Nimble wrote @olivierobert

@matthewmayer custom UX/UI so custom component as usual at Nimble 😀 I will look into the issue

Fixed in #51


Minor note changes in README.md

Three minor changes:

added line about NPM install. originally I wasn't sure I could use the package because I've never worked with Yarn before. I added a quick note to help others understand.
ES5 requires .default to use the package. After I installed the package through npm I tried to use it via Node JS require. I received an error stating 'not a function'. I added a .default to the package and it worked.
Added not about managing the default language. I didn't realize react-intl included the default language by default so I thought I needed to manage it.

Current coverage is 100% (diff: 100%)

Merging #78 into master will not change coverage

@@           master   #78   diff @@
===================================
  Files           2     2
  Lines          27    27
  Methods         7     7
  Messages        0     0
  Branches        6     6
===================================
  Hits           27    27
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 0fd3772...e026f43

Thx for your contribution!
A few minor remarks, and then this can get merged:

can you change -D to --save-dev, and move it between install and react-intl-translations-manager? This is just to keep consistency with the yarn command.
Please do not include..., just to be more friendly in the readme 😄


qa_crowbarsetup: Add Cloud product repos on admin server

We have some checks in the code now (like in suse-cloud-upgrade) that
require these repos to be configured on the admin server.

+1 (assuming Pool repo exists, I don't see where we are adding it to tftpboot dir)

See https://github.com/SUSE-Cloud/automation/pull/200#issuecomment-74042963.  Maybe I'm missing something.

Using the new code from @bmwiedemann


FR: Could Pool Picker ticker name search be made case insensitive

In the Pool Picker screen when searching by ticker name the search is case sensitive.  Would it make more sense for this search to be case insensitive by default and add an optional "case sensitive" checkbox?

I'm not sure which the default method should be. I think the checkbox could work. I'm not really satisfied with the pool picker as it is, but I think I can add the checkbox for now.

Are the pool tickers on Cardano case sensitive?  IE: Is "term" the same as "Term".  If Cardano blockchain stores tickers as case sensitive then I guess the pool picker default should be the same.

Are the pool tickers on Cardano case sensitive? IE: Is "term" the same as "Term".

I believe they are case sensitive: "term" /= "Term". AFAIK registering a pool with a ticker is not doing any checks for the ticker. Two pools can actually have the same ticker, and I believe the tickers do not need to be capitalized. I think the ticker displayed on explorers and wallets is just whatever was used for the ticker field in the pool's metadata.


Add default boards per screen size

Description
Self explanatory - pretty much the same as the columns slider in board/{board}/customize
I use Homarr on my PC and on my phone, and having to manually switch to the mobile board is pretty annoying, especially since my the default one (desktop) has a bunch of integrations which slows the page down.
Here's an example of how it might look:

I think there can be a toggle switching between default per size and default for all sizes, so if someone doesn't want this feature, they can just disable the toggle.
Please tick the boxes

[X] You've read the docs
[X] You've checked for duplicate issues

Replying because I agree!

+1 I tested on my phone and the grid does not responds properly


Use azjezz/psl 3.0.0

Q
A

Type
bug/feature/improvement

BC Break
yes

Fixed issues

Summary
BC break because azjess/psl dropped PHP 8.1 support

Thanks for the PR.
Fixed in https://github.com/php-soap/engine/pull/20


Bind Kestrel options to config by default (#30)

#30

@cesarbs,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@danroth27 Should the EKU check be mandatory as I've done it here? Or should we add a flag to optionally disable it?
Also: should we actually move the check to Kestrel?

Yeah, if we're going to check the EKUs at all it should be done lower in the stack. Let's remove this check from here.

Removed EKU check. Needs further discussion.

@halter73 Added you as a reviewer.

@danroth27 It's not a question of IF we perform an EKU check. We should/must. So if it's removed from here, then where is the corresponding issue in kestrel to perform the check there?

@blowdart Filed https://github.com/aspnet/KestrelHttpServer/issues/1764 to track validating the cert EKU

📢

@bartonjs Can you review the changes I made to loading the certs from the store? Disposing & validating subject further.

Cert/store loading looks good to me.  You might consider plumbing your EKU check to a .Where so that you don't pick a new-improper cert over a slightly-older-but-valid cert.

@muratg Adding you as a reviewer since this will require preview1 approval.

@cesarbs will you send a PR to the preview1 branch as well?  Also, when is the user-secrets work be done?

@muratg I've rebased this to rel/2.0.0-preview1. Once it's merged I'll merge it to dev.

@muratg User secrets working depends on https://github.com/dotnet/cli/pull/6356.

@JunTaoLuo @Tratcher Can you guys review the functional tests I've just added?


Bibupload jsonach recreate

wops, let me fix this

@blixhavn you don't have to close it next time. Just rebase and re-push with --force.

Ah ok :)


Improvement for k8s.io/docs/concepts/architecture/

Need an Image to describe the architecture

/kind feature
I think you're right @x-fauzan-x

/priority important-longterm
/language en

Still important
/remove-lifecycle rotten


ETL IPAA members

ETL individual people and organizations and commit the JSON-LD files to the /output directory in this repo.

ETL individual people and organizations and commit the JSON-LD files to the /output directory in this repo.

@saumier I've added workflows to commit the json-ld files.

@dev-aravind Looking good :-) Please complete the pipeline all the way to Artsdata using artifact names ipaa-artists and ipaa-organizers. You can make tweaks to the workflows from scenesfrancophones repo and also please add a .rvmrc so whenever we cd into this project it will set the correct ruby version and load the gemset.  You can use this in the .rvmrc as follows rvm use 3.1.2@artsdata-planet-ipaa --create. I have a general rule that each repo should have its own gemset. In this case we are using the same version of ruby 3.1.2 but a new gemset to keep the gems independant.

@saumier I updated the pipeline to include push to artsdata. However, the artsdata-planet-ipaa repository couldn't access the PUBLISHER_URI_GREGORY secret so the push to artsdata was not working during my test runs. Can you look into this?

@dev-aravind We need to generate URIs for each of the members.
Please generate URIs as follows:
type schema:Person example:
For web page https://ipaa.ca/profile/indigenous-artist/BeanyJohn -> create a URI
https://ipaa.ca/profile/indigenous-artist/BeanyJohn#Person
type schema:Organization example:
For web page https://ipaa.ca/profile/indigenous-organization/Camille Usher -> create a URI
https://ipaa.ca/profile/indigenous-artist/Camille_Usher#Organization

@dev-aravind I created the tests and SPARQL for replacing all blank nodes.  It was quite advanced so I went ahead and added it to the main.rb.  You can cd tests and then ruby replace_blank_nodes_test.rb to see the tests pass. Have a look at the tests and you can ask me questions.
I used the SPARQL function UUID() which generates URIs with the urn: protocol. For some reason these URIs are not clickable on Nebula, so I will look into that on Nebula side.
Next is to add the triples:   prov:wasDerivedFrom  for each web page that we crawl. Try to create a test for that following my pattern of tests.

@saumier I raised a PR for you to review with all the changes that you requested. I had some concerns about the data:
1: While adding the derivedFrom triple the CreativeWork type had multiple values for derivedFrom. (see comment).
2: The "Indigenous Performing Arts Alliance" organization was duplicated as it was available in every webpage.

@dev-aravind I requested some changes to your PR https://github.com/culturecreates/artsdata-planet-ipaa/pull/4.

@dev-aravind I modified your test. Now you can try to modify the SPARQL to make the test pass ;-). You may want to split the test in 2 tests.

@saumier I updated the PR to add the wasDerivedFrom triple to only top level nodes. Please look into and let me know if you see any issues.

@looks good. I merged and closed this issue.


Image Orientation issue in Samsung device

I'm not able to get a correct orientation  while croping , when i tried to capture an image from Camera in Samsung devices (Using cordova camera plugin ) then crop the image, but the orientation is not correct.

I had one instance where the EXIF was not recorded correctly on the image on a Moto G1. I had to manually rotate the image on that case unfortunately

Thanks Jeduan

So you rotated the image before cropping and then later undo the rotation is that right? @jeduan

Don't remember the exact thing I did but do remember finding out that the EXIF rotation data was wrong.

This is still an issue, but really weird.
I'm calling crop image plugin like this:
navigator.camera.getPicture(cropCallback, errorCallback, options)
Where in options I set sourceType CAMERA or PHOTOLIBRARY.
On all devices its working correctly, but this issue happens on Samsung s7:
If I take a picture using Camera, cropper shows correct rotation, but after cropping I receive rotated image without exif data.
If I take a picture manually using camera (save it to gallery) and then choose to upload picture from gallery, I get rotated image in cropper.
Is there any option for cropper to ignore exif data or override it or something like that ?

Do we have a solution to this problem?

Any updates regarding this issue?

Very urgently want to know, solution to the problem.thank you

Modified the positive and negative parameters, can be corrected in samsung rotation problem, a recycling didn't find any problem.thank you


Remove log4j1 usages

Purpose
$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/1874237021

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/1874237021
Status: success


Replace the Server

Hello!
I want to ask if I replace the lwm2m server to others(like Leshan or local server),does the client still work? and how to solve the Security credentials problem?

ARM Internal Ref: IOTCLT-3251

ARM Internal Ref: IOTCLT-3251

But how to access it ？


Header template enhancement and French 404 template file

I propose the following enhancements:

add the capability to the partials/essentials/header.html file to open or not a new browser window for an HREF link, using a property defined in the params.tom file like:

`# Navigation button
[navigation_button]
enable = true
New params added in template by GLE
x_external = true`

add a 404 french template file in /layouts as 404.fr.html

The update for the index.html file is for correcting a bug on the bullet list for small screens as it renders bigger than the body text.


onChange() triggers twice

Everytime I change something onChange method triggers twice.

onChange triggers twice when Angular 2 is in development mode. Because this library is still under heavy development, I've chosen to leave the example playground in development mode for the time being. If you want to run the example playground in production mode, download the latest updates from Git Hub, then edit src/playground/main.ts and uncomment the following line (by removing the two slashes at the beginning):
// enableProdMode();

For more information, here's a description of the differences between development mode and production mode in Angular 2.
When you create your own app and use Angular2 JSON Schema Form as a dependency, your app will control whether it runs in development of production mode. Usually, you enable production mode by adding the following two lines to your main.ts file, above your main() function:
import { enableProdMode } from '@angular/core';

enableProdMode();

In case you want same behavior in both dev and production build you can do something like this:
// In template
<json-schema-form #jsonFromSchema></json-schema-form>

// In component

..
..
@ViewChild('jsonFromSchema')
  public jsonFormSchemaRef: JsonSchemaFormComponent;
..
..
public ngOnInit(){
this._onChanges$ =
      this.jsonFormSchemaRef.onChanges
        .distinctUntilChanged((current, prev) => _.isEqual(current, prev)) // isEqual from lodash
        .subscribe(($event) => console.log('Changes -->', $event));
}

With production on this still triggers twice using :  "angular2-json-schema-form": "^0.7.0-alpha.1"
@hk-skit can you provide an example or plunker? Can't seem to get your code working.


Using in a production environment

Hey, is it possible to use in a prod environment?
I need TLS or SSL, and it to not be running in debug mode

I may submit a pr in a bit

The egg is currently structured in where the ghost server is served/reverse proxied by the Caddy Web Server, which handles SSL/TLS. You can edit the config under caddy/Caddyfile, however, caddy will automatically generate SSL certs for any domains pointing to the server through lets encrypt.
If you're able to get ghost to run with a production config, feel free to submit a pr! At the time I had issues, since it needs to run within the docker container.


Term request: self_cleaving_ribozyme

The SBOL Visual community would like to describe a self-cleaving ribozyme insulator part with an appropriate Sequence Ontology term, and we feel the term "ribozyme (SO:0000374)" is too general. Towards addressing this, we would like to request a more specific term for self-cleaving ribozymes:

Term: self_cleaving_ribozyme
Description: An RNA that catalyzes its own cleavage.
is_a SO:0000374 (ribozyme)
has_quality SO:0001977 (Ribonuclease Site)

Examples include hammerhead ribozymes and hairpin ribozymes.
Discussions within our community related to this request can be found here: https://groups.google.com/d/topic/sbol-visual/bnAIUlvyBXQ/discussion.
If adopted, the "hammerhead_ribozyme (SO:0000380)" term might more appropriately be positioned as a child of the adopted "self_cleaving_ribozyme" term.

Hi @JS3xton,
I am sorry it has taken me so long to get back to looking at issue requests. I have added term self_cleaving_ribozyme (SO:0002231) def: "An RNA that catalyzes its own cleavage." The SO browser should update tomorrow.
I decided to not add hammerhead or hairpin ribozymes at this time, but if you are going to use those terms for an upcoming project you are welcome to open another issue request. I have created some issue templates for SO that should make it easier to generate new issue tickets.
Thanks,
Dave Sant

Great, thanks Dave!
Hammerhead ribozyme already has an SO term (SO:0000380). It may now more appropriately belong as a child (i.e. is_a) of self_cleaving_ribozyme (SO:0002231).


Remove app model from data model

DataModel now has a delegate which must be set before calling setup.  The delegate is used by DataModel to retrieve the URL of the API, and also to retrieve the auth token.  This also simplifies our CLI slightly, as the api_url argument is no longer needed.
fixes #27
@rmutter @walkingtowork @baylee

If we're no longer prompting the user for an api url, you can remove add_trailing_slash_to_api from main.py, as well as the associated test.


Call Hyper with custom path specified for .hyper.js

Issue
I'm trying to repackage Hyper to include it as the runtime/interface for my project and distribute it to my users.
Is there a way to launch Hyper with a custom path for .hyper.js configuration file?

There is a PR to optionally relocate config file next to app: https://github.com/zeit/hyper/pull/2659
But maybe an option in CLI tool would be better? (but this is not obvious to implement)

@chabou As a terminal emulator, it makes sense to allow ~/.hyper.js, even as the default option.
I'm fine with the file loading from the executable path itself, and actually, it would help what I'm trying to do here – but IMO it should not be the default option to load configuration from the application directory, especially from multi-user environments.


Fix some bugs, add a top-sticky roundend message

Replaces indexing using { } by indexing using [ ] because PHP 8 refuses to even run the scripts with the first one.
Brain damage can apparently sometimes be logged as empty string when it's null. This PR makes that render properly-ish.
The header file uses a nonexistent $title variable. This PR adds such variable and makes it be $server - $log.
Borg damage reporting contains only two numbers - burn and brute. This PR makes this render properly.
When you scroll past the shuttle-docking-at-centcom message there will now be a sticky thing on top of your screen so you
don't mistake these logs for actual in-game logs.

https://user-images.githubusercontent.com/358431/154823507-604db301-09de-47c2-8503-33fa2907acfc.mp4

muchas gracias senor, good work


Bet365API\EventHydrate::43

change to ev_id: $event['ev_id'] ?? '',

EventDTO to
public string|int|null $r_id,
public string|int|null $ev_id,


Create 'Automate' principle

Closing this ticket and branch as have gone stale, and better described in #347


Transfer crate ownership?

Hello Aleksander.
A am maintaining a high level wrapper for TA-Lib and would like to use the ta-lib crate name for this. It depends on ta-lib-sys which is a low level, bindgen autogenerated wrapper around the lib which includes the C code and built-from-source functionality (no binaries shipped).
See here: https://github.com/virtualritz/ta-lib-rs
Thanks is advance for your consideration.

Hello @virtualritz
Yes, let's do this.
Hm, do you have a link to a procedure?
What should I do?

I never did this myself. But try:
cargo owner --add virtualritz
cargo owner --remove <youralias>

I have sent you an invite @virtualritz, once you accept I'll remove myself.

Accepted. Worked. Thank you so much!

Okay I have removed myself. good luck @virtualritz


 In our experience, this can happen when replies arrive out of order, especially when testing with the new scheduler in go1.5beta1.
A resilient solution to this would probably require tracking the commit index in Progress and adding the commit index of the rejecting node to MsgAppResp. Some WIP code: https://github.com/tamird/etcd/tree/track-commit-progress
Continuation of #3111.

@tamird Do we still want this happen?

We worked around this by ensuring that replies arrive in order, so it's not strictly needed for CockroachDB.z

We do not need this neither.  We are trying to keep raft minimum. We can revisit this if other people have hard requirement or adding this feature will make their life MUCH easier.


Fixes error when throwing torches

Description of the Change
Fixes an error that causes torches to duplicate and appear in the wrong position when thrown.
Also adds capability for other vanilla torches, aswell as modded torches, to be thrown the same way.
Alternate designs
I first considered this way of addressing the issue. But I decided that it was an inferior solution, since it would require each mod to manually add each of their torches to ItemID.Sets.Torches.
Why this should be merged into tModLoader
There is no way for a mod to realize the implemented behaviour.
Benefits
Modded torches (and other vanilla torches) will be able to be thrown individually, just like the standard vanilla torch.
Possible drawbacks
Negligibly worse performance of Player.DropSelectedItem.

Can you show me this error with a gif or gfycat? I'm throwing torches and I see no difference in behavior between vanilla and modded torches.

This is what throwing torches currently behaves like:
https://gfycat.com/SoftConsiderateAruanas
As you can see, normal torches cause errors when thrown, and don't appear in the right position.
Whereas all other torches are only thrown as a whole stack as opposed to just throwing a single like I would expect.
This is what the fixed code behaves like:
https://gfycat.com/DisloyalRaggedHapuku
You can see that normal torches no longer cause bugs, and all other torches can be thrown individually, too.

I think the error message itself is caused by the torches being released at (0, 0) and then being tossed upwards and out of bounds.
This is further supported by the fact that dropping a stack of torches and then picking it up again will instead result in the torches appearing where the satack was before being picked up.


[dunfell] livebook: module Mix is not available

** (UndefinedFunctionError) function Mix.install/1 is undefined (module Mix is not available)
    Mix.install([kino: "~> 0.5.0"])

local.conf
    PREFERRED_VERSION_erlang = "<IP_ADDRESS>"
    PREFERRED_VERSION_erlang-native = "<IP_ADDRESS>"

    PREFERRED_VERSION_rebar3 = "3.20.0"
    PREFERRED_VERSION_rebar3-native = "3.20.0"

repos
  poky:
    url: "https://git.yoctoproject.org/git/poky"
    refspec: 78fe96f3edf981285cb9b6a0286e45f44d8b4b21
    layers:
      meta:
      meta-poky:
      meta-yocto-bsp:

  meta-openembedded:
    url: "https://git.openembedded.org/meta-openembedded"
    refspec: 814eec96c2a29172da57a425a3609f8b6fcc6afe
    layers:
      meta-oe:
      meta-filesystems:
      meta-python:
      meta-networking:
      meta-perl:

  meta-sunxi:
    url: "https://github.com/linux-sunxi/meta-sunxi"
    refspec: f367a1ff2c329c801659c6de77910456a4167430

  meta-mender:
    url: "https://github.com/mendersoftware/meta-mender"
    refspec: 45041cfb7b05c2ff44204d592b200493b25ed8ae
    layers:
      meta-mender-core:

  meta-mender-community:
    url: "https://github.com/mendersoftware/meta-mender-community"
    refspec: 91122992c85cb18a0daffcde76b6c59116e723b9
    layers:
      meta-mender-sunxi:

  meta-virtualization:
    url: "https://git.yoctoproject.org/meta-virtualization"
    refspec: b556bc7953b4294fb65520b9ed4663cbdeff3607

  meta-security:
    url: "https://git.yoctoproject.org/meta-security"
    refspec: b76698c788cb8ca632077a972031899ef15025d6

  meta-erlang:
    url: "https://github.com/meta-erlang/meta-erlang"
    refspec: e9d1a05ae65e712d9312c5a9183ecc69dd57a068

Hello @yangm97
Thanks for reporting this issue.
Could you try this fix https://github.com/meta-erlang/meta-erlang/pull/245 ?
I think mix-elixir also need to be installed.

I haven't tried the PR yet, but when I added elixir-mix to CORE_IMAGE_EXTRA_INSTALL it worked.

That is great!
So, the PR will work.
Thanks.


LinkedHashMap.keys behaves strangely after a map is modified

The iterable returned by LinkedHashMap.keys behaves strangely in the presence of map modifications, and also inconsistently with HashMap:
import 'dart:collection';

void main() {
  print("LinkedHashMap:");
  var map = {"original": null};
  var keys = map.keys;
  map["added"] = null;
  print("  after a key is added: $keys");
  map.remove("original");
  print("  after a key is removed: $keys");

  print("HashMap:");
  map = HashMap.of({"original": null});
  keys = map.keys;
  map["added"] = null;
  print("  after a key is added: $keys");
  map.remove("original");
  print("  after a key is removed: $keys");
}

This prints:
LinkedHashMap:
  after a key is added: (original)
  after a key is removed: ()
HashMap:
  after a key is added: (original, added)
  after a key is removed: (added)

As you can see, LinkedHashMap.keys doesn't include a new key that's added after .keys was called, but it does omit a key that was removed. I would expect it either to represent the exact set of keys at the time it was called, to represent the exact set of keys at the time it was printed, or to throw an error if it was accessed after the map was modified.
The HashMap.keys iterable does the second option, representing the exact set of keys at the time it's printed.

Implementation of get keys (and get values) does a strange thing of eagerly capturing some of the map's internal state - not sure why. I think _data and _usedData should not actually be captured until after get iterator is called. Seems like an easy fix.
  Iterable<K> get keys =>
      new _CompactIterable<K>(this, _data, _usedData, -2, 2);

@lrhn I believe you just fixed this issue with https://github.com/dart-lang/sdk/commit/d8fa6fe25522f45b7070278ad152abe4724cbdf2

Verified fixed by d8fa6fe25522f45b7070278ad152abe4724cbdf2


hiding/disabling when print stylesheet is loaded

It would be nice to have a simple way to disable it when a print stylesheet is loaded.

Would be grateful to get a solution for this issue.  I'm creating a print.css stylesheet but can't seem to find the CSS selector or other code needed to hide the background image when printing.
The WordPress theme I'm working with sets the backstretch image as follows:
$("body").backstretch([BackStretchImg.src],{duration:3000,fade:750});
I already tried #backstretch {display:none;} as shown above, but it doesn't work (there is no #backstretch element on the page).

Update:  This did the trick:
.backstretch { display: none; }


Variable name case standards

Description
pysat began life with an assumption that all variable names would be lower case. Earlier versions imposed this, I believe. Work on ICON has forced some changes to the code to support names with non-lowercase letters, seen most explicitly in the Meta object. Within meta, the first instance of a string sets the case, any later variations are treated as the original variable. This is particularly good when one person thinks an attribute should be 'units', and another 'Units', or another 'UNITS'. Meta treats them all the same. This significantly helps Meta maintain compatibility with a larger number of file and data standards. Particularly in the context of community development.
For ICON, many variables have mixed case.  The IVM software previously made everything lower case while in-house, then made everything upper case for the output file. New standards for level-2 files have long filenames, underscores, and upper and lower letters.
What should pysat standards be?

Accept variable names as is. Has the problem that Meta is case-insensitive. So the data could have two variables, 'mlt', and 'MLT', with only one Metadata entry.
Force all data variables to upper case. No.
Force all data variable names to lower case. Fancier name stored in Metadata so output file names are supported. We would need to make some changes within pysat to support this.

Update to_netCDF to use metadata names. Write new tests around this.
Update from_netCDF to use lower case names on the data side, preserve case on Meta side.
Modify the setitem method to ensure variable names are always lower case
Create a Instrument.data attribute that checks variables names any time someone sets their own data set within an Instrument object, e.g. inst.data = new_data , to make sure all variable names are lower case.

Right now we are pretty much 1, though there may be some residual code floating around.
This pull request is intended to start a conversation. (See update below - I now propose a more limited pull)
Addresses # 260
Adds new file attributes when using to_netCDF4 so that compatibility with ICON file standards is maintained.
Makes first step to supporting option 3 above. Uses the variable names within the Meta object when naming variables within the netCDF file.

Update: Functionality has been implemented as an option when writing a file. I propose remaining at option 1 as it involves the least user confusion. Variable names are taken as given by a user or data set. If a user decides, they can now exploit more of pysat's functionality with the file write option here.

Type of change
Please delete options that are not relevant.

New Feature (updated since original pull)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details for
your test configuration

Created files using the ICON IVM software.
Added tests that use new feature when writing files. I create test Instruments that have a difference in case between data and metadata and ensure the correct behavior is obtained when the feature is and isn't engaged.
Added tests to check for error conditions.
Passes normal TravisCI tests.

Test Configuration:
TravisCI
Checklist:

[X] Make sure you are merging into the develop (not master) branch
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules
[X] Add a note to CHANGELOG.md, summarizing the changes

pinging @aburrell and @jklenzing for comments. FYI Jeff won't be available until the 22nd.

Coverage decreased (-0.05%) to 80.88% when pulling 2a318887e16ed9ea67f6c8b7a399bf96f7034e9a on icon_updates into 07b721feb7d1f73f540cbed4081112ed9adb9e3e on develop.

I thought you had done this ages ago.

And that was a slip of the fingers...

I mostly did do this ages ago. Except when I went to make an updated icon file the other day the variables didn’t quite come out correct. I should’ve done a better job :) Looks like I missed some areas.
On Aug 15, 2019, at 2:59 PM, Angeline Burrell <notifications<EMAIL_ADDRESS>wrote:
And that was a slip of the fingers...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frstoneback%2Fpysat%2Fpull%2F261%3Femail_source%3Dnotifications%26email_token%3DAA3N26M4MMQW6GAUB3ZBNDLQEWRRVA5CNFSM4ILYR7O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4MWCMA%23issuecomment-521756976&data=02|01|rstoneba%40utdallas.edu|f72221a5a5a14a35cc2f08d721b2b96b|8d281d1d9c4d4bf7b16e032d15de9f6c|0|0|637014923827245658&sdata=Nt8khrGCDn7ktZGxC2LqRvI2zMibae3FSNGNppu9Sko%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA3N26L5WTBJIT6AZJZ7FVDQEWRRVANCNFSM4ILYR7OQ&data=02|01|rstoneba%40utdallas.edu|f72221a5a5a14a35cc2f08d721b2b96b|8d281d1d9c4d4bf7b16e032d15de9f6c|0|0|637014923827255653&sdata=kk712vzRpcm4RJi8ZGda3s6jNDjJBn%2FRKvZ1aR46t6c%3D&reserved=0.

I've had a chance to further review the ICON code as well as the pysat code.
The issue that first popped up was mostly on ICON's side. I was able to get proper support going for ICON files in pysat as far back as v1.2. Didn't try earlier.
As to the three options, outlined above:

I think we should remain here. In an operational context the biggest issue with a loss of metadata is when a file is written. We can add a check at file writing to see if there are multiple names in data with different case and print a warning, or error, then.

No.

After further consideration, I think we should avoid this option. While there are some benefits it can also be confusing, on a number of levels. If folks want to have lower case names in data, as well as mixed case in Meta, it is easy enough to do on the outside of pysat. Thus I think we should drop this option.

In other words, though I brought this issue up, I'd also like to let it go. I'm going to modify this pull a little bit to keep printing the MetaData variable names as an option, as well as add a name check at the beginning.

Summary as committed:

Added new file attributes to be consistent with ICON
Added option to use names from MetaData
pysat standards otherwise remain the same
Added a check when writing a file with non-uniuque variable names. An error is now raised warning that metadata has been lost.
Added tests for new feature
Added test for new Error
modified the changelog

This should be ready for review. Tests just started as a I type this though my most recent changes are limited to docstrings. Previous commits passed.

Test failures are related to connection failures on Travis CI's side. Unrelated to code updates here.

Thanks for the review Jeff. I appreciate it.
Cheers,
Russell

Thanks again Jeff. Minor corrections are in. I'll merge into develop after the tests have a chance to do their thing.


Use in-place operations for EMA

Hi,
I noticed that the EMA used here is pretty slow, since it does not use in-place operations.
Using in-place ops results in a ~50% faster EMA, however, it does not work with type-promotion.
One workaround is to check whether a tensor from the model is floating point or not, with Tensor.is_floating_point().
I don't think there is any point in doing EMA on int tensors such as num_batches_tracked in BN.
Cheers!

@jeromerony thanks for the PR, noticed you commenting on the twitter thread re the foreach, any desire to throw that in as an option too? probably should be a bool flag, not sure for_each will work on PyTorch XLA (for TPU)

Sure! My initial PR tried to keep the same logic and code structure. However, adding the foreach functions requires some changes:

How to handle buffers, e.g. BN running_mean and running_var? Should they be EMAed or simply copied? If EMAed, how should the int buffers (e.g. BN num_batches_tracked) be handled?
How important is the update, set and _update structure? The set method does not seem to be used anywhere in this repo (even though it might be somewhere else).
I am unsure about the limitations of XLA and do not have access to that hardware to test.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Thanks for the additions, I've been trying to push a number of things over the finish lately recently so haven't had a change to dig in to this, but will try to take a closer look, test, etc soon...


Common universal core

One of the main problems associated with the use of Logux, which I encounter in the need to raise the server on NodeJS. Often, especially on old projects, you want to use the server in an existing backend, for example as a separate microservice.
It would be very cool to have a common language-independent core. Such a kernel could be reused on the server as a native module and on the client as a WASM binding.
The Rust programming language can help with this. Cargo (official package manager and builder) supports compile build of the same package in both WASM and native FFI-bindings for any server language (including NodeJS/Python/C/C++/Ruby).
In addition, WASM allows you to use multithreading in the browser (already in Chrome)!
If we convert the kernel to Rust, we will get:

Common platform-independent kernel
Substantial increase in speed
Reducing weight klientka bindingof
Multithreading in the browser and on the server
The ability to create a cheap strapping for any popular platform

First, lets me destroy your too optimistic way to look at Rust

Common platform-independent kernel

Rust version is not language independent core. It is Rust version. You will not be able to run it in Ruby on Rails or PHP. You will still need a separated thread, which will communicate with Ruby and PHP by HTTP.

Substantial increase in speed

Tell it node-sass ;). They are written in C++ and still 2 times slower than PostCSS written on JS. Architecture is important, no language.

Reducing weight klientka bindingof

It is a good question of WASM final size. We could find a Rust dependencies, which are much bigger than JS, because was not optimized to client limits.

Multithreading in the browser and on the server

Current core is very fast. Maybe Logux Redux could have benefited from it in time travel. But it definitely outside the idea of the core.

Now, let’s me show how you should sell Rust:

We will need Logux for Android/iOS. We can’t run JS version there easily. Rust binaries will be much simpler to use in mobile native development.
Writing core on Rust could help in promotion because Rust community will look into Logux. Also, many web developers will think that it is fast because they have the wrong idea about performance in their heads :).

Yeap, I agree that rewriting it to Rust could be a cool idea.
Here is the current plan:

Finish some new secret project.
Write docs.
Write WYSIWYG solution.
Only then I will have time to rewrite it to Rust.

This plan is good also because at that moment IE will be finally dead, so we will be free to use WASM.

Thanks for answer

You will still need a separated thread, which will communicate with Ruby and PHP by HTTP.

It's not. We are talking about using the core as a FFI library inside PHP/Python. This is not a separate application or a separate thread – just an extension

Architecture is important, no language

Reducing weight klientka bindingof

Of course, architecture is a critical factor, but other things being equal, binary format is less than text, and WASM is faster than browser JS.

at that moment IE will be finally dead

WASM can be perfectly polifill (via asm.js) and under IE :)

It's not. We are talking about using the core as a FFI library inside PHP/Python. This is not a separate application or a separate thread – just an extension

So how you will fix the concurrency problem of Ruby/PHP with FFI?
They anyway will freeze thread when you pass anything to FFI. So you will be forced to run a thread for every web socket user. It will kill performance on 100 users (again, a good reminder that architecture for performance is not more important that language).

binary format is less than text

minification + gzip does pretty similar work that compiling to bytecode.
In another hand, one big dependency from Rust could kill all benefits from delivering bytecode.
(there is a one really good benefit of delivering bytecode than JS. You do not need to parse and compile bytecode, so it will be run faster. But I am not sure, did they implement it already).

WASM is faster than browser JS

Again, node-sass is written on C++, which is even faster than WASM, but still slower than PostCSS.
Math operation performance should not be considered as performance (until you do not do something math-specific like codecs).

WASM can be perfectly polifill (via asm.js) and under IE :)

Can you have just “out of the box” solution for this polyfill? What users will do to use it?

Can you have just “out of the box” solution for this polyfill? What users will do to use it?

Nothing. We'll just put them down .js file (in asm.js), instead .wasm file. This build-level solution has no impact on the user

Math operation performance should not be considered as performance

WASM allows you to work with memory (and manage it effectively, with the right architecture). It, as you correctly noted, does not require JIT compilation parsing and speculative optimizations. It is faster not only in mathematical operations, any operation in WASM is faster because of the simplification of the task for the engine

In another hand, one big dependency from Rust could kill all benefits from delivering bytecode.

A great reason to make a size-limit for Rust, isn't it?)

freeze thread when you pass anything to FFI

I suggest porting only the core. The kernel wrapper for logux-server can solve the synchronization problem specifically and effectively for the receiving language, such as event-loop for NodeJS and Python (async package)

Nothing. We'll just put them down .js file (in asm.js), instead .wasm file. This build-level solution has no impact on the user

But how webpack will automatically server .js files to IE users?

A great reason to make a size-limit for Rust, isn't it?)

I like the idea :D. Do you want to write it?

The kernel wrapper for logux-server can solve the synchronization problem specifically

The solution for PHP/Ruby will be the same as for Node.js. Run separated server and communicate by HTTP with Ruby/PHP server.
BTW, how do you plan to write web socket server on Rust? What is the current recommendation for concurrency? (event loop is not the best option since it uses only one CPU core)

Seems like Tokio is our choice in terms of concurrency since it provides ”green threads”.
One more note. There is no sense to rewrite only core since it is just set of helper functions. The real magic happens in logux-server and API-specific parts (like Web Sockets reconnection system).
I like the idea of Rust’s Logux and I will start it. But a little later, because the core is small and rewriting it to Rust will not help us. But rewrite the whole system is a good idea.
Here is a question that we need to solve before rewriting:

How exactly we will connect it with Web Sockets in a browser, We also need to have a solution for ServiceWorker sync event. And maybe even deliver new data by push.
How we will connect it with iOS/Android app. The main problem here is that we can’t keep WS connection. We need to use only push to get new actions.
When we will rewrite the whole server on Rust (I especially like this idea) can we allow a user to define some callbacks on Node.js? It is optional, we can always ask users to execute separated HTTP server.

But how webpack will automatically server .js files to IE users?

It won't be a Webpack, it'll be a Cargo. 2 compilation targets will be configured: in WASM and in asm.js. The output will be 3 files in the build.wasm (the binary itself), build.js (a thin wrapper for the use of WASM in JS), build.asm.js (slow build for older browsers).

Do you want to write it?

It seems to be harder than JS. I could take up this, if the development will be carried out for a specific task.

The solution for PHP/Ruby will be the same as for Node.js. Run separated server and communicate by HTTP with Ruby/PHP server.

The only difference is that you don't need to install Node. I suggest using the kernel on Rust not as a standalone application, but as a FI module that is used directly from Python/PHP/NodeJS. This is similar to the API for Node JS, with the difference that FI is a generic Protocol and the N-API is built for Node.

BTW, how do you plan to write web socket server on Rust

When I came up with this issue, I wasn't planning on writing the server in Rust, but I like the idea. For Rust, there's the Tokio – asynchronous green-thread runtime you mentioned.
I like the idea of implementing a full platform-independent server on Rust. We can implement an RPC interface and build a wrapper for any language like Node/Python/PHP. We can even ship the entire linux server as a package that you just need to install from NPM/PIP/Packager.

Here is a question that we need to solve before rewriting

As in NodeJS. Rust can do great in WebSockets. For example

It's more complicated and language independent. We need to understand how we can send push to the client. I don't know how it can work yet (maybe push notifications?), but I'm sure there is a solution. On the other hand, running binaries on mobile devices is much easier than JS.

Certainly. We can provide the CGI API out, I for languages like Python/Node to supply thin wrapper clients to work with this API. I really like the idea of learning how to package logux-server into a NodeJS/PHP/Python/Ruby package and putting all logux-server from NPM/PIP so that all logux-server management is from user code (npm i logux-server looks very simple and transparent, doesn't it?)

In general, I thought that we can keep a connection to the server when the application is running, and send only native push notifications in the background.
When it comes to mobile applications, I think that we can only communicate with the running application (at least in the background). What prevents the application from starting to raise the connection and get the state?

How they will add Logux Client to the project with IE support

A lot of options. The easiest to write const LoguxClient = require('login-client'), and the client to dynamically select the right module to use. You can also offer Lotus client without polyphile, const LoguxClient = require ('login-client/wasm')

PHP doesn’t support the right concurrency model to be used with Web Sockets

LoguxServer course itself should work with sockets. But how does this prevent us from delivering it as a module for the language? We run the Python server send Python logs but with the network working on their own. I'm not suggesting (already) put the blame on the user of network issues, but I really want to LoguxServer not it was necessary to put separately. This greatly complicates the infrastructure.

You can’t keep the application in the background in iOS. Same in Service Worker.

And how now does Service Worker get a push?

It will increase bundle size.

NPM package, but not the final bundle. In the Assembly, the user will receive only what is needed (asynchronously load the polyphyl, if necessary)

It doesn’t

It seems to me that it's not rust, but the architecture itself. It is not clear how this should work at all.

I am not sure that it possible in FI.

I think it should work fine. We run a linux server from FFI, and then the server on rust raises the connection with clients

NPM package, but not the final bundle. In the Assembly, the user will receive only what is needed (asynchronously load the polyphyl, if necessary)

Async loading can be done just by require('logux-client'). For async loading user will need to define new bundle.

It seems to me that it's not rust, but the architecture itself.

Yeap

e run a linux server from FFI, and then the server on rust raises the connection with clients

What concurrency model does it provide?
As I know FFI, runs in the same thread of app (at least what I saw in Ruby and Node.js)

Can you read more as you see the new server on Rust? When I started this discussion, everything was simple and clear – a common module with utilities that compiles to wasm and FFI.
The first thing to understand-not everything that can work on the server will also work in WASM. A great example is WebSockets. WASM is working in a sandbox, and queries will in any case make JS. Another thing is that we can effectively work with the log in WASM, where necessary to get this log in JS. I'm not sure that this architecture is worth the candle.
Things are very different with logux-server – things get more complicated (although I love the idea), but we can get a platform independent zero-dependencies server.
The key question is in what language does the user write logic? The whole architecture depends on it.
I'm assuming that business logic should be written in the receiving language, be it Node/Python or Ruby. Otherwise, DX approaches zero, and the learning curve grows prohibitively.
The second question is, will 'logux-server' be a separate module providing an RPC interface and installed directly by the user, or will it be part of a language-specific package (like node-sqlite3)?
On the one hand, if logux-server is an independent server, it is much more flexible to configure the architecture (it seems that it is not necessary to have a logux-server instance for each NodeJS server instance), and for example, to have separate servers where only logux-serverwill be. This is also cool because we can use any architecture for multithreading.
On the other hand, we can supply logux-server as part of the npm/pip package. This greatly simplifies the user's life, because he does not need to put a separate product, as it is now with NodeJS. This is actually the only advantage, but it is very important. The problem with this approach is that there are problems with multithreading specific to the receiving language (for example, there are people programming in PHP).

Ideally, I want to see both options, so that the wrapper on the rpc that we use in the host language during development worked as a single package, and in the product could work with a separate server (RPC or HTTP)

The key question is in what language does the user write logic? The whole architecture depends on it.

My current view is that it is better to push user logic away from Logux Server. Anyway, users will want PHP and Ruby. So it is better to run Logux Server as a separated server and just communicate with PHP/Ruby backend by HTTP.

On the other hand, we can supply logux-server as part of the npm/pip package.

We can keep Logux Server and separated server, but just put binary to npm package (without FFI, since it can do concurrency).

Good plan. The only thing is, since we still won't force the user to go to bare http, I would suggest using not http, but RPC, as a more suitable and effective tool

It turns out that technically it is not clear only how to handle IE? It seems to me, before solving this problem, it is necessary to understand whether the game with wasm spent forces

I would suggest using not http, but RPC

What exactly protocol do you recommend? (since RPF is just an idea, there are many HTTP based RPC protocols as well).
Right now unreleased Logux 3 uses custom JSON format + HTTP for RPC.
We also thought about gRPC (HTTP 2 + Protocol Buffers), but found problems with typing (since action has open structure).

I went deep into the theory, and it seems that gRPC is the best option. Moreover, it can be used in Rust

@ nikolay-govorov I think HTTP+JSON and gRPC will be the best like combination.
Keeping HTTP will be useful, since it very simple.
How l do you think we can solve the problem of open structure in actions and gRPC typing.

Maybe. Can you tell me more about the problem? What prevents to describe the types of action, and user input to serialize a string?

In any event, it is serializable technical information about action. Theoretically, we can allow the user to describe the meta structure

but definitely save traffic

Are you sure? The whole command is just action and meta

It seems that a large number of requests, even typing action will save traffic, but in General we need benchmarks

Especially since even if we can't make better use of Protobuf, we still get benefits from gRPC

I am closing it since for few next years we will keep a JS core


Test confirming issue #1005 is fixed

Confirms #1005 is resolved for 5.0.0 release

Codecov Report

Merging #1141 into develop will increase coverage by 0.44%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1141      +/-   ##
===========================================
+ Coverage    95.78%   96.23%   +0.44%
===========================================
  Files           49       49
  Lines         3537     3984     +447
===========================================
+ Hits          3388     3834     +446
- Misses         149      150       +1

Impacted Files
Coverage Δ

tests/test_isort.py
99.7% <100%> (+0.02%)
: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 a06e3d3...8ba2707. Read the comment docs.


grid Creator - Web design

https://images01.nicepagecdn.com/page/45/23/html-template-4523874.jpg Design a grid like the above image
Create a file "grid_NUM_by_(YourName).html" in the modules/grid folder.
Use simple HTML and CSS and JAVASCRIPT to create the grid animation. You can use the interface development https://kwickerhub.com/ (This project) or you can write the lines of code yourself.
Step by Step Guide.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "grid_NUM_YOUR_NAME_.html" in the "modules/grid" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder ••
"modules/grid/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Then make you Pull Request...
Below is a example of the code structure we need:
'''

'''
For more examples:
modules->buttons
modules->cards
for examples of contributions or Pull request accepted in to the project.
And please do not wait for this issue to be assigned to you as we have limited hands but have a lot to do/cover. Please send in your PR.
Good-luck.

hii @NtemKenyor . i like to work on this issue .

@NtemKenyor I am working on this

I would like to work on it.


hi, can i ask a question?

hi，your work can be use in many gpu？

The original code forgot to add info_loss.mean() when training with multi-GPU. I made a pull request that doesn't cause errors when running multi GPUs.

The original code forgot to add info_loss.mean() when training with multi-GPU. I made a pull request that doesn't cause errors when running multi GPUs.

Thanks


Log process execution messages in Daemon Pool, only when using a daemon

For #8483
Log process execution messages in Daemon Pool, only when using a daemon. Else we end up with duplicate messages (leading to the assumption that daemon and standard processes are running a command)
When dealing with flaky tests, I thought Jupyter was being spawned twice.

Codecov Report

Merging #8780 into master will decrease coverage by 0.61%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master    #8780      +/-   ##
==========================================
- Coverage   58.39%   57.78%   -0.62%
==========================================
  Files         527      527
  Lines       27070    26746     -324
  Branches     4045     4047       +2
==========================================
- Hits        15808    15455     -353
- Misses      10404    10431      +27
- Partials      858      860       +2

Impacted Files
Coverage Δ

src/client/common/process/pythonDaemonPool.ts
69.38% <50%> (+0.85%)
:arrow_up:

...nt/datascience/jupyter/invalidNotebookFileError.ts
0% <0%> (-60%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
50% <0%> (-50%)
:arrow_down:

...cience/jupyter/jupyterDebuggerNotInstalledError.ts
33.33% <0%> (-33.34%)
:arrow_down:

...science/jupyter/jupyterKernelPromiseFailedError.ts
0% <0%> (-33.34%)
:arrow_down:

...ent/datascience/jupyter/jupyterWaitForIdleError.ts
0% <0%> (-33.34%)
:arrow_down:

...ience/jupyter/jupyterDebuggerRemoteNotSupported.ts
50% <0%> (-30%)
:arrow_down:

src/client/testing/codeLenses/main.ts
42.85% <0%> (-27.15%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
50% <0%> (-25%)
:arrow_down:

.../client/datascience/jupyter/jupyterConnectError.ts
50% <0%> (-25%)
:arrow_down:

... and 31 more

Continue to review full report at Codecov.

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


--skip-confirmation parameter does not work

Command
add
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
I run this command: npm run ng add @angular/pwa
This always produces an error: No terminal detected. '--skip-confirmation' can be used to bypass installation confirmation. Ensure package name is correct prior to '--skip-confirmation' option usage.
But when I run npm run ng add @angular/pwa  --skip-confirmation the same message appears again.
Minimal Reproduction
npm run ng add @angular/pwa  --skip-confirmation
Exception or Error
C:\Program Files\nodejs\npm.cmd run ng add @angular/pwa --skip-confirmation
><EMAIL_ADDRESS>ng
> ng add @angular/pwa

- Determining package manager...
i Using package manager: npm
- Searching for compatible package version...
ΓêÜ Found compatible package version<EMAIL_ADDRESS>- Loading package information from registry...
ΓêÜ Package information loaded.
No terminal detected. '--skip-confirmation' can be used to bypass installation confirmation. Ensure package name is correct prior to '--skip-confirmation' option usage.
Command aborted.

Your Environment
Angular CLI: 17.0.7
Node: 20.9.0
Package Manager: npm 9.1.3
OS: win32 x64

Angular: 17.0.7
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.7
@angular-devkit/build-angular   17.0.7
@angular-devkit/core            17.0.7
@angular-devkit/schematics      17.0.7
@schematics/angular             17.0.7
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.2

Anything else relevant?
 So the command you should be running is npm run ng add @angular/pwa -- --skip-confirmation.

or run ng directly with  ng add @angular/pwa --skip-confirmation

Nice the additional dashes works perfect. @dominicbachmann thank you so much!


Cannot build Kagome

Hey, we're trying to build Kagome but the build fails. We're running debian vm  on the latest release commit(0.9.0 - 8b37ed3d7c3ec1749ded5cf673c1dd1457d4749d) and have installed the dependencies from Dockerfile and run make build. Not sure why this happens.
Logs: https://logpaste.com/aFNAK3F2

Do you have enough RAM?
c++: fatal error: Killed signal terminated program cc1plus looks like compiler is OOM killed.
Try building with single thread (-j1).

Yep, that was it. Thank you


nmap package installation

I'm running into
--
Duplicate declaration: Package[nmap] is already declared; cannot redeclare at
because other modules already installed nmap. It should be possible to skip nmap installation.

#71


An Error in retrain_CostAggregation.py.

adaptor.load_state_dict(torch.load(args.load_path)['net']) should it be changed to adaptor.load_state_dict(torch.load(args.load_path)['fa_net']) ?

Yes, sorry for the error.

@SpadeLiu Have you tested network backbone such as ConvNext or Transformer?

@SpadeLiu Have you tested network backbone such as ConvNext or Transformer?

Thanks for your suggestion. We have not tested these models due to the lack resources. But I think they will work if they are pretrained on large-scale datasets. Please note the detail that we should use the relative shallow layers of these models.

@SpadeLiu Thanks for your reply, I found that using deep features of these models does reduce generalization ability and they do not perform as well as simpler models like VGG.

@SpadeLiu Thanks for your reply, I found that using deep features of these models does reduce generalization ability and they do not perform as well as simpler models like VGG.

In my opinion, features from shallow layers contain more task-general information, and thus it is more simple to recover (or extract) information for stereo matching with a feature adaptor.
On the other hand, the BN layer might also affect the generalization ability, which is not used in VGG.

@xzjzsa I do not think the batch-size affects the performance a lot in this code. When training the adaptor, can you discard the udc loss and only use the smooth L1 loss? (Please look at the comment in Line 87 of "train_adaptor.py".) We experimentally find this works but we can not explain why. On the other hand, maybe it is better to train the basic model by yourself.

@SpadeLiu Thanks for your reply. I got the result close to that reported in the paper. Is the result in the paper also that only smooth L1 Loss is used in the training of adapters?

@xzjzsa Yes. It seems when the cost aggregation module is fixed, the udc loss will not guide the learning process well.

@SpadeLiu Thanks!

@SpadeLiu After I trained Baseline8 epochs by myself, I tested grafting VGG features with its aggregation module, but the results seemed to be unstable. Do you have the same problems in your training?
epoch 1：epe->2.18， >3px->0.0940
epoch 2：epe->1.83， >3px->0.0858
epoch 3：epe->1.71， >3px->0.0688
epoch 4：epe->1.51， >3px->0.0696
epoch 5：epe->3.38， >3px->0.1130
epoch 6：epe->1.66， >3px->0.0734
epoch 7：epe->1.76， >3px->0.0707
epoch 8：epe->9.81， >3px->0.1760

Thanks！
从 Windows 版邮件发送
发件人: SpadeLiu
发送时间: 2022年6月24日 17:24
收件人: SpadeLiu/Graft-PSMNet
抄送: Mr.Xie; Mention
主题: Re: [SpadeLiu/Graft-PSMNet] An Error in retrain_CostAggregation.py.(Issue #3)
@xzjzsa I can not explain this. In my opinion, if the cost volume is built by cosine similairy, the performance variation will not be so large.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@SpadeLiu After I trained Baseline8 epochs by myself, I tested grafting VGG features with its aggregation module, but the results seemed to be unstable. Do you have the same problems in your training? epoch 1：epe->2.18， >3px->0.0940 epoch 2：epe->1.83， >3px->0.0858 epoch 3：epe->1.71， >3px->0.0688 epoch 4：epe->1.51， >3px->0.0696 epoch 5：epe->3.38， >3px->0.1130 epoch 6：epe->1.66， >3px->0.0734 epoch 7：epe->1.76， >3px->0.0707 epoch 8：epe->9.81， >3px->0.1760

I think these experiments once again stress the importance of the feature adaptor and combining two trained modules may not be as simple as we imagine.


npm ERR! Could not resolve dependency in Quasar vue

DESCRIPTION
Hi, I just wanted to use phosphor vue for my quasar vue application.
But when I run npm install --save phosphor-vue@next, it gets an error like below.
Does anyone know why? Is it because it doesn't support quasar vue or what? Thankyou.
ERROR LOG
$ npm install phosphor-vue@next
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/vue
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@quasar/app
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@vue/server-renderer
npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   9 more (emoji-mart-vue-fast, v-money3, vue-gtag, vue-i18n, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/vue
npm ERR!   peer<EMAIL_ADDRESS><3.0.3" from<EMAIL_ADDRESS>npm ERR!   node_modules/phosphor-vue
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\ASUS\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR!      C:\Users\ASUS\AppData\Local\npm-cache_logs\2022-07-15T02_44_38_791Z-debug-0.log

I'm not sure this project supports Vue 3

same here

I have the same problem, any solution?

I have the same problem, any solution?

You should probably look for an alternative, this project does not support Vue 3.

Hi there, we're working on the next version of this library with native support for vue3. You can try out the newest release by running npm install @phosphor-icons/vue@next. Please note that the next branch is still in alpha and is bound to change.


Make ModelCheckpoint(save_top_k=-1) track the best models

What does this PR do?

Fixes #2586
ModelCheckpoint(save_top_k=-1, montior=None) saves all models, but it cannot track the best because monitor is not provided.
This PR enables ModelCheckpoint(save_top_k=-1, montior="val_loss") to save all checkpoints while also tracking the best models when a monitor key is provided.

@Borda I think this is achieved with best_model_path. The dict is only there in case we want the second best, or the third best etc, mostly for internal bookkeeping.

best_model_path

yes, but my case is if a user runs training in a script, then training/script finished and there is no best_model_path just files and folders (plus logs)

oh, I understand. you want the file be named "best.ckpt". Ok, I think that's a reasonable feature request. makes sense.

oh, I understand. you want the file be named "best.ckpt". Ok, I think that's a reasonable feature request. makes sense.

will you do it in this one or a new PR?

We can drop that to yaml right? Using checkpoint.to_yaml method.


Deadline: User Override Frame Range does not update integrated start and end frame.

Describe the bug
The ValidateExpectedFilesw plug-in allows to override the expected start and end frame for a publish if the user had changed the Frame List in Deadline manually.
This updates the reresentation["files"] but forgets to update the representation["frameStart"] and representation["frameEnd"] and also the instance.data["frameStart"] and instance.data["frameEnd"] which results in:

All new files being transferred ✅ Ok.
If start frame has changed, then the frames get "shifted" after integration due to the start frame being different. So the frames will be off after integration.
The integrated version will have the wrong frameStart and frameEnd in the Loader. As if the new files didn't exist and it was still the old frame range.

When solving this Issue I'd also like to move the updating frame range logic to a Collector for consistency in logic.
To Reproduce
Steps to reproduce the behavior:

Submit a maya render to Deadline, e.g. frames 1001-1010
Render and let it publish.
In Deadline on the render job change the frame list to 990-1020, requeue the render.
Requeue the publish job.
The resulting published version has invalid information.

Expected behavior
Have the expected frame list as frame range and the resulting published files not be renamed.
Have the loader show the correct frame range (and thus having the right frame range being published along.)
Another issue is also present - that is if the NEW publish has LESS frames than before that the old files aren't actually removed. So technically if overwriting an existing representation it should clear out old files for that representation completely. Slightly separate from the core of this issue. But should be fixed down the line too.
[cuID:OP-3006]

Related issue is #2787


Snapshot 2.0 - Complex.valueOf(1.3038404810405297).asin() imaginary part should be negative

IMO the  imaginary part should be negative here?
public class ComplexASin {

  public static void main(String[] args) {
    // gives wrong (1.5707963267948966, 0.7610396837318267)
    System.out.println(Complex.valueOf(1.3038404810405297).asin());
  }
}

The point is exactly on a branch cut so it would in fact depend on the sign of 0 in z = 1.3038404810405297 + 0i.
The can be seen in the plot at Mathworld: https://mathworld.wolfram.com/InverseSine.html,
and is confirmed by using Wolfram alpha, with tiny non-zero values for the imaginary part:
https://www.wolframalpha.com/input/?i=asin(1.3038404810405297%2B1.0e-9i) gives a positive imaginary part,
but https://www.wolframalpha.com/input/?i=asin(1.3038404810405297-1.0e-9i) gives a negative imaginary part.
When we build a Complex setting only the real part, the zero we put is a positive zero.
You could perhaps try to use new Complex(1.3038404810405297, -0.0) to see if it changes something.

Yes that might be, but before 2.0 it got the negative sign. So something must probably be changed:

http://matheclipse.org/input?i=arcsin(1.3038404810405297)

This is most probably this change:
https://github.com/Hipparchus-Math/hipparchus/commit/8ea1a6d411#diff-78d293cfb78fcd885a7158e1df66569baf65b585b1677246fdca09b95d03b9faL1277
The sqrt1z is called by both asin and acos, it computes sqrt(1-z²). Previously, the subtraction was done using the constant Complex.ONE, so in your case we ended up by computing 0 - 0 for the imaginary part, losing the sign. Now we use directly the the opposite of the imaginary part rather than performing a subtraction from 0. Is seems I forgot to change the javadoc, though.

I'm using the asin to calculate inverseHaversine
So this case is in my JUnit suite is also involved:
InverseHaversine(1.7)

See:

https://www.wolframalpha.com/input/?i=InverseHaversine(x)

I confirm the current result is correct, i.e. the branch cut is properly implemented for asin.

From my understanding the imaginary part of asin(x) must be negative for all x > 1.0  and must be positive for  all x < 1.0 and x written with the Complex.valueOf(x, +/- 0.0).asin() syntax. See:

https://www.wolframalpha.com/input/?i=arcsin(x)+for+complex+x

I cannot achieve this by writing Complex.valueOf(arg1, -0.0).asin() for both conditions. Is there a simpler way or must I add the condition explicitly?
    // gives wrong results
    System.out.println(Complex.valueOf(-2.0, -0.0).asin());
    System.out.println(Complex.valueOf(2.0, 0.0).asin());

From my understanding the imaginary part of asin(x) must be negative for all x > 1.0 and must be positive for all x < -1.0

No, the function is multi-valued, so some convention must be adopted to select one value only. The classical way is to introduce branch cuts. For asin, there is a branch cut for x > 1 along the real axis (and another one for x < -1). On each side of the cut, the sign of the imaginary part changes. This is more visible on this 3D plot: https://dlmf.nist.gov/4.15.F9.viz, when you select on the right hand side panel the "phase" for the colormap. You will see that at the cut on positive real parts, colors change directly from orange (which correspond to positive imaginary parts) to purple (which correspond to negative imaginary parts). Other inputs for Wolfram Alpha also shows the sign of the imaginary part of asin(x+iy) mathces the sign of y for x > 1. You can for example ollok at https://www.wolframalpha.com/input/?i=asin(2%2Bi) versus https://www.wolframalpha.com/input/?i=asin(2-i).
What I get with
System.out.println(Complex.valueOf(-2.0, -0.0).asin());
    System.out.println(Complex.valueOf(2.0, 0.0).asin());

is
(-1.5707963267948966, -1.3169578969248166)
(-1.5707963267948966, 1.3169578969248164)

which matches what Wolfram Alpha gives, except that as there is no way to specify minus 0 on Wolfram Alpha, I resort to use 2+1.0e-12i and 2-1.0e-12i.
This also appears here https://dlmf.nist.gov/4.23 and in Abramowitz and Stegun section 4.4.9 (the dlmf is intended to be an updated, extended and modernized version of the legacy Abramowitz and Stegun).
The output for https://www.wolframalpha.com/input/?i=arcsin(x)+for+complex+x shows that the interpreter gets lost whith this input string, the first text box reads "Using closest Wolfram|Alpha interpretation: x for complex", so it failed to understand arcsin. I also tried using "asin" instead of "arcsin" in the query, but it failed too.


Generate supported destination table according to the destination YAML files

Currently, our README.md contains a hard-coded table of all the destinations supported by Odigos.
The same data is available in destination/data/*.yaml files.
The destination table could be automatically generated from the YAML files, making it always in sync with the destinations actually supported.

Interested, please assign

Thanks @ShatilKhan


missing support for boolean attributes

A boolean attribute value is set by its presence or absence. Moreover, "true" and "false" are not allowed by the html spec 2.4.2. Boolean attributes.

what exactly is the use case you're trying to address?

i also dont quite get this... An example maybe?

closing the issue.
if you intend to use the build:<[attr]>[:targets]  block type, for boolean values, it is not intended for that use case, it is only intended to replace or append to an existing attribute of the html tag.
if you want to conditionally do something more complex, based on a boolean you could use the template build:template[:targets] block type like so
<!-- build:template
<button disabled="<%= myBooleanTemplateVariable %>"></button>
/build -->


Add prometheus operator alerts

This PR:

adds prometheus operator alerts from https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/templates/prometheus/rules-1.14/prometheus-operator.yaml
depends on https://github.com/giantswarm/config/pull/309

Checklist

[x] Update changelog in CHANGELOG.md.
[x] Request review from oncall area, as well as team (e.g: oncall-kaas-cloud GitHub group).

Just wondering how noisy those alerts are. Did you run with this for any longer period of time on a test installation?

I will today as I'm oncall :) I set most of the alerts as notify alerts anyway :D

Nothing happening on Gauss since this morning:

@mig4 can you review the config PR linked in the description as well ?

Theo did already :)


Release Google.Cloud.BigQuery.Migration.V2 version 1.2.0

Changes in this release:
No API surface changes; just dependency updates.

Created release for Google.Cloud.BigQuery.Migration.V2-1.2.0


Validation in Login Signup

Description
name: Inline Validation in Login Signup Form
This pull request implements the code for adding inline validation in both signup and login form.
on: 18-06-2023
Solves Issue
#150 [FEATURE] Inline Validation in Login and Register Form
Sample Output Video
https://github.com/tusharzalte/tusharesume/assets/86224794/bd417e65-0416-4a76-b886-f1fdc34be061
Request
I request you to add gssoc labels on this PR after you merged it!

@ZapeeoSheikh please review this PR

@ZapeeoSheikh please approve this PR!

@ZapeeoSheikh There were conflicts in this branch and I could not be able to resolve them cause there were merge conflicts in the main original branch so I decided to delete this branch I will create a new pull request for this issue soon.  Thank you


Overrides the tab settings in VSCode

I've set VSCode to auto detect tab indentation (which detects Spaces: 2) yet with the docs pack extension installed it always forces 4 spaces on a tab.
AB#332858

Duplicate of https://github.com/microsoft/vscode-docs-authoring/issues/671

Closing as dupe.


Terminal is Crashing

Issue Type: Bug
when i open the terminal it crashes
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz (8 x 3492)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.92GB (6.93GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

classdiagram-ts
Ale
0.1.32

tsco
alj
1.0.19

vsc-material-theme
Equ
32.6.0

vsc-material-theme-icons
equ
1.1.4

plantuml
jeb
2.13.12

csharp
ms-
1.22.0

debugger-for-chrome
msj
4.12.8

debugger-for-edge
msj
1.0.14

material-icon-theme
PKi
4.1.0

(1 theme extensions excluded)

/needsMoreInfo
Did you change any defaults? Do you see any errors?

The terminal process terminated with exit code:<PHONE_NUMBER>
From: Andrii Dieiev<EMAIL_ADDRESS>Sent: Friday, June 5, 2020 10:53 AM
To: microsoft/vscode<EMAIL_ADDRESS>Cc: Shashi Chary<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/vscode] Terminal is Crashing (#99456)
/needsMoreInfo
Did you change any defaults? Do you see any errors?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F99456%23issuecomment-639544551&data=02|01|shashi.chary%403sigmasoftware.com|d3853c45a2df48a627e008d80960225e|6fd230ff6110478c9d27c82f46994f1c|0|1|637269655788775516&sdata=yToTdm2LautFpd0WifmhNhZbOB%2FkdsMkqWLP2TC%2FOeI%3D&reserved=0, or unsubscribehttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP2L5TNHLUHMJ5NEGAXQYVDRVEBERANCNFSM4NTW7MSA&data=02|01|shashi.chary%403sigmasoftware.com|d3853c45a2df48a627e008d80960225e|6fd230ff6110478c9d27c82f46994f1c|0|1|637269655788785511&sdata=33SuXZhEa%2F4tMOQwrpC3TG5ehwI0hJsaCHPxBTn%2BcAw%3D&reserved=0.

Do you have anti-virus software that could be blocking the terminal? If so try following the instructions in https://code.visualstudio.com/docs/editor/integrated-terminal#_how-do-i-fix-the-errors-connectnamedpipe-failed-windows-error-232-or-terminal-exited-with-code-x-on-windows
/label "needs more info" integrated-terminal


Build errors in VSCode appear twice

Environment data
.NET Core SDK (reflecting any global.json):
 Version:   3.1.201
 Commit:    b1768b4ae7

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.18363
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.1.201\

Host (useful for support):
  Version: 3.1.3
  Commit:  4a9f85e9f8

.NET Core SDKs installed:
  3.1.201 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Steps to reproduce
Create a new dotnet core project using dotnet new console
Select yes to generate tasks.json and launch.json defaults
Remove the semicolon in the auto-generated Hello World code
Run the build task
Expected  behavior
Only one CS1002 error saying "; expected"
Actual behavior
Two CS1002 errors pointing to the same line, one with an included full path, another without one
Screenshots

This is an issue with the editor and the build task generated for debugging yielding back the same error. We could investigate if there is a not-too-complicated way to de-duplicate things, or just not have the build task also yield back errors.

This is an issue with the editor and the build task generated for debugging yielding back the same error. We could investigate if there is a not-too-complicated way to de-duplicate things, or just not have the build task also yield back errors.

Perhaps a quick suggestion on how it could be fixed. The problems panel could check to see whether identical error codes appear at the same coordinates and ensure to only show one of them?

It'll bear some investigation. One of the issues is that activities in the editor and activities that invoke build are completely orthogonal. In Visual Studio, this massively complicates things (i.e., diagnostics could be coming from different threads and processes), leading to some problems and sometimes "sticky" errors. We're not sure if those same kinds of problems are relevant here or not.

@CRISPYricePC For a temporary workaround, in your .vscode/tasks.json, replace "problemMatcher": "$mscompile" with "problemMatcher": [].

This is not a VSCode or panel issue, messages are duplicated with a dotnet build on command line also, always.


[Windows] Fix restore/unmaximize wrong window size

This resolves #2498.
Sometimes when restoring the window from minimize or maximize, the restored size was incorrect. To solve this, we're keeping track of the last normal size and use it when restoring.

Thanks!


[WIP] feat: output mjs modules

Impact: minor
Type: feature
Changes
Update build script to output .mjs files that use import/export in addition to .js files.
Breaking changes
None
Testing
TODO

🚀 Preview deployed
Built with commit 69f1d405d9cda7aa4df9b6afc93b6d852e771b44
https://deploy-preview-395--stoic-hodgkin-c0179e.netlify.com

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Use more modern PyGranta-style CI

Closes #487
Use more PyAnsys actions in CI. These changes have largely been copied from the grantami-jobqueue repository.

I've checked the artifacts and they all look good. The docs look to have built correctly, including the examples.


[SP-6426] - Backport of PDI-19935 - Job "Last Log Date" not working correctly when the log lines belong to child jobs (9.3 Suite)

Original PR: https://github.com/pentaho/pentaho-kettle/pull/9013
@smmribeiro
@bcostahitachivantara
@renato-s

:white_check_mark: Build finished in 33m 38s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine

:exclamation: No tests found!
:information_source:  This is an automatic message


Added replace functionality for native navigation

Hi @nandorojo ,
I've added replace functionality using StackActions of react navigation. I had to split the use-router into 2 files for web and native. Replace functionality was kind of necessary because for example: Sometimes developers don't want users to go back to the "intro" screen upon on-boarding.
The expo-module-scripts was throwing errors on my Windows PC ( which I later came to know the package doesn't support Windows ). Therefore, please kindly check the pull request before merging it. Looking forward to this getting implemented soon!

Btw, splitting use-router.tsx into 2 files was a dirty & quick fix to the problem. Feel free to edit the pull request if you have an better idea on how to implement the same logic.

A few points of feedback:

this code won't work, as a stack action cannot receive a URL.
it's more complicated than it seems to support replace on native. What if someone isn't in a stack?
I tried this already at #70
Adding replace on native as a functionality is a breaking change
I might add an API like this: router.replace(url, { nativeBehavior: 'stack-replace' })

Hmmm.. Didn't thought about URL aspect. Do we have any parse function for that?
We can look into this once we have the basic functionality of replace running on native. This should be least of our concern.
& 4. - Maybe a new function name to keep backwards compatibility? You can later merge the functions in the next major release.
Yeah, I like that approach but I don't grasp of the whole library yet also the expo-module-scripts package is causing trouble by which I can't test the changes. It will be great if you can add it.

Added a proper implementation here: https://github.com/nandorojo/solito/pull/241
Could you try version 1.1.1?


What is the license for this repository?

There's no license information for this repository, when no license is specified then it's implied that all rights are reserved and it is not Open Source or Free. No one can modify, redistribute or contribute to this code without explicit permission from the copyright holder. Lately in the deep learning community, innovative projects have been more and more restrictive with their licenses, I believe this have slowed down innovation and implementation of said solutions considerably as no one is willing to risk investing so much time into something that in the end cannot be freely used or is outrageously expensive, I'd really appreciate if you'd consider a license without any crippling restrictions as I'm sure there're lots of people who are itching to make something awesome with it (remember when GPT-2 best model was kept private, when they finally decided to released it, AI Dungeon 2 was born? That was mindblowing as no one ever thought of using it that way)

I think this issue brings up some good points. Is there any update on this?

Creative Commons Attribution-NonCommercial 4.0 International