Is it possible to reduce size of Bazel dependency?

I know that this must be wrong repository, and still - Bazel is so heavy - I almost finished all my data plan. Why it is downloading Chrome? :) Is it necessary to download 200Mb+ just to test one static page?

And it still doesn't work:
➜  codelab-elements git:(master) bazel test --test_output=all //demo:hello_test
Extracting Bazel installation...
................
WARNING: /home/anatoli/.cache/bazel/_bazel_anatoli/e3403aace5e177707d48307c82a8291c/external/com_google_protobuf_java/WORKSPACE:1: Workspace name in /home/anatoli/.cache/bazel/_bazel_anatoli/e3403aace5e177707d48307c82a8291c/external/com_google_protobuf_java/WORKSPACE (@com_google_protobuf) does not match the name given in the repository's definition (@com_google_protobuf_java); this will cause a build error in future versions
INFO: Analysed target //demo:hello_test_chromium-local (97 packages loaded).
INFO: Found 1 test target...
ERROR: /home/anatoli/.cache/bazel/_bazel_anatoli/e3403aace5e177707d48307c82a8291c/external/com_google_protobuf_java/BUILD:274:1: C++ compilation of rule '@com_google_protobuf_java//:protoc_lib' failed (Exit 1)
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
Target //demo:hello_test_chromium-local failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2612.587s, Critical Path: 0.92s
FAILED: Build did NOT complete successfully

Executed 0 out of 1 test: 1 fails to build.

It is downloading chrome because that's how we run JS tests: all the tests are run using the same browser and its version regardless of what you have installed locally. I would highly recommend avoiding development using any kind of limited data plan.
The error you're getting is coming from an unfortunate protobuf dependency in rules_closure repo. We use rules_closure to compile and optimize javascript and CSS code.
Specifically, you don't seem to have a c++ toolchain installed. It is an unfortunate requirement for using rules_closure repo. I will create an issue in their repo and cross-reference here.

Actually, I think we could just remove protobuf dependency alltogether, at least for now because we're not using it all.

After a bit of researching, turns out ClosureWorker requires protobuf. For instance, build_info.proto.
So, I don't think we'll be able to completely remove protobuf dependency. One thing I could try is to replace compile-from-source protoc with precompiled version fetching from their releases as described in https://github.com/google/protobuf#protocol-compiler-installation.

Actually, I've just realized we're also using SCSS, which is again compiled from source. So, I guess gcc is required.
I'll be making a public servable demo in #25. If you just want to try it out or get the precompiled JS and CSS artifacts, you'll be able to do so without the dev tools we're using.

So how to at least fetch protobuf from releases? This will speed up the build, right?

Yes, this would speed up the build. Both rules_closure and rules_go depend on protobuf:

https://github.com/bazelbuild/rules_closure/blob/f04ee869600de61ca7ab822fa9014fda810b2428/java/io/bazel/rules/closure/worker/BUILD#L32
https://github.com/bazelbuild/rules_closure/search?utf8=✓&q=com_google_protobuf&type=Code
https://github.com/bazelbuild/rules_go/blob/67f44035d84a352cffb9465159e199066ecb814c/proto/compiler.bzl#L132
https://github.com/bazelbuild/rules_go/search?utf8=✓&q=com_google_protobuf&type=Code

So, I believe this would require:

Fetch prebuilt protoc package from releases based on the current OS/arch, though: linux vs macos vs windows.
Stub out @com_google_protobuf//:... with the prebuilt protoc fetched in the prev. step before importing rules_closure and rules_go repositories in the WORKSPACE.
Add omit_com_google_protobuf=True to closure_repositories() in our WORKSPACE.

Tracking in https://github.com/googlecodelabs/tools/issues/129


Colon and Equals aligment

Could a feature like this be added to the Javascript beautifier? It really looks awesome and it would be helpful to have this in one single plugin.
So this:
var a = b;
var ab = c;
var abcd = d;
var ddddd =d;

becomes this:
var a     = b;
var ab    = c;
var abcd  = d;
var ddddd = d;

And the same for colons in JSON objects.

I am not sure if JS Beautify has this, but Pretty Diff does.  So just change your JavaScript beautifier in the Atom Beautify settings.  The Pretty Diff option that regulates this behavior is vertical.


Crash fix cudaMallocAsync usage of TF_CUDA_MALLOC_ASYNC_SUPPORTED_PREALLOC.

Some of the refactoring caused crash when using TF_CUDA_MALLOC_ASYNC_SUPPORTED_PREALLOC.
This PR fix them and add a test to be sure it continue to work.
This PR is on top of https://github.com/tensorflow/tensorflow/pull/50961 as otherwise there would be code conflict.
Now, GpuCudaMallocAsyncAllocator doesn't create its own compute stream. But it use one stream set after construction when GpuCudaMallocAsyncAllocator::SetStream is called. So it is now impossible to preallocate all memory during the object construction.
So this PR postpone the memory preallocation to when the stream is available, in SetStream.
This PR also check that the stream isn't set when SetStream is called.
@sanjoy

Please make the PR description a bit more descriptive (what was the bug?).
CC @hanbinyoon

I updated the description.

@nouiz Can you please check @sanjoy's comments and keep us posted ? Thanks!

I rebased this PR since the dependent PR is merged.
I also did the review comment. So it should be ready to merge now.

Any update?

The CI seems to have failed:
feedback/copybara — Google internal checks FAILED for runs with create time 2021-09-09T07:29:11.802148007Z.

Is this related to this PR?


dependence on execution character set

The README rightly states that only UTF-8 is supported, as it
should be. It notes other libraries’ broken Unicode support and a
focus on correctness in this one. All that seems quite right,
except for one little thing: pdjson depends on the execution
character set being ASCII or the like; e.g., it requires the
constant '{' to have the value 0x7b.
That is a fine choice and works for most cases, but is not
maximally portable. To break pdjson, you can play around with
gcc -fexec-charset.
To fix, the character constants should be replaced by the integer
values (0x7b /* { */). C23 introduces UTF-8 character constants
(u8'{' of type unsigned char), but I suppose you don’t want to
depend on a C23 compiler.

This is true. Considering exactly this, in some programs I've used numeric
literals instead of character literals. However, I've decided it's just
not worth worrying about unusual execution character sets. I draw a
similar line not worrying about machines where bytes aren't octets.
Thanks for pointing out -fexec-charset. I wasn't aware of this option, and
it makes for interesting new tests. Though, trying it out now I quickly
ran into its limitations. It doesn't apply to libc interfaces, and simply
changing locale is insufficient. It's like an ABI change, and libc would
also need to be be compiled in the chosen execution character set.


Update puppeteer and fix types

I updated to puppeteer 16 but the latest is 17 (came out today). We can't update to it yet since @axe-core/puppeteer hasn't updated their peerDep yet.
Puppeteer has a new docs site. They changed their URL structure. I fixed all the links in the README.
Puppeteer changed the way they do types for evaluate and evaluateHandle. I updated our types to work with that (no user-facing changes except if the user is using evaluate/evaluateHandle directly).

For testing, is it sufficient to see that the checks on this PR passed?

For testing, is it sufficient to see that the checks on this PR passed?

Yep! Pleasantest has good tests ✅


Fixed setName was never used

in Register Js
Line 6:18:  'setName' is assigned a value but never used .

correct, merging this in. thanks for the pr!


Add automated intelliJ version bump

Should be done after completing https://github.com/VirtusLab/ide-probe/issues/253 - so that we will not have version hardcoded in Scala code like it is now:
val Latest = release("2021.2.1", "212.5080.55")

IntelliJ version from reference.conf file should be updated automatically. Could be done by using some github bot user and finding newest release from https://www.jetbrains.com/intellij-repository/releases/ - or maybe some other, smarter way.

See https://github.com/VirtusLab/git-machete-intellij-plugin/blob/develop/buildSrc/src/main/kotlin/com/virtuslab/gitmachete/buildsrc/UpdateIntellijVersions.kt for inspiration (if HTML parsing can be called this way) 😅

OK, looks like this was caused by lack of version update for the org.intellij.scala plugin. Remember to update the extensions/scala/tests/src/test/resources/scala.conf file as well when bumping intellij version. Example of correct changes: https://github.com/VirtusLab/ide-probe/pull/278


internal error calling header-str-pairs

$ cat bug.raku
use Email::MIME;

dd Email::MIME.new("foo.eml".IO.slurp).header-str-pairs();

$ raku bug.raku
No such method 'headers' for invocant of type 'Email::MIME::Header'.
Did you mean 'header'?
  in block  at /Users/coke/p6/share/perl6/site/sources/80CA9647BB07D1105F2B17742B95C7D1017DD93F (Email::MIME::Header) line 108
  in block <unit> at bug.raku line 3

Interesting. I think it's trying to access a private variable in Email::Simple::Header (a different module). I'll try and work around that.


Pesach VII (on Shabbat) has no Hebrew translation

Demo:
  name: [object Object] {
    en: "Pesach VII (on Shabbat)",
    he: undefined
  },

The last day is also missing translation

Thanks for the bug report and pull request. I may end up refactoring this and moving these strings and a bunch more from https://github.com/hebcal/hebcal-es6/blob/main/po/he.po to a dedicated he.po file in the hebcal-leyning repo.
That would reduce bundle size a bit for @hebcal/core users who don't also need the leyning, but it won't make a huge difference because @hebcal/core is already gigantic due to the dependencies that Zmanim pulls in...


Any reasons to not create releases folder?

I just run into:
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure releases folder exists] ***
fatal: [hotel]: FAILED! => {"changed": false, "failed": true, "msg": "There was an issue creating /var/www/master/data/www/hotels/releases as requested: [Errno 13] Permission denied: '/var/www/......./releases'", "path": "/var/www/....../releases", "state": "absent"}

Couldn't the role create it for me?

I'm sorry, looks like there was a parmission problem.
Btw, can we chown the current after deploy?


Add validation workflow

[x] Update project.Makefile with target for linkml-run-examples
[ ] Add invalid examples for each class
[ ] Add valid examples for each class
[ ] Add minimal valid examples for each class
[ ] Add workflow for validation

DataTopic, UseCase, and their respective containers validate without issue, but even a minimal version of Organization raises an error:
ValueError: : Unknown CURIE prefix: STANDARDSORGANIZATION

Want to address these:
WARNING:root:No datatype specified for : edam identifier, using plain Literal
WARNING:root:No datatype specified for : ncit identifier, using plain Literal
WARNING:root:No datatype specified for : ror_identifier, using plain Literal
WARNING:root:No datatype specified for : wikidata_identifier, using plain Literal

and then this PR's fully cooked.

Each of those above types are typeof: uriorcurie so it's not like they are actually not specified


chore(nitro-config): adds a json schema for the nitro config file

Adds a json schema for the nitro config file to improve DX.

yo this is awesome!! i didnt know this was a thing.
nice man. is there any way we can test or validate this in CI?


Updates to use THREE.MathUtils, addUpdateRange

... & modern tooling.  Also updates titles & descriptions of example.

Note to myself, after the 1.2.0 release, do again a PR on aframe similar to https://github.com/aframevr/aframe/pull/5567 to update the aframe-particle-system-component version.

Thanks!

Note to myself, after the 1.2.0 release, do again a PR on aframe similar to aframevr/aframe#5567 to update the aframe-particle-system-component version.

Done in https://github.com/aframevr/aframe/pull/5573


P0 [NEARCON] Update Privacy Policy

Update the content @ near.org/privacy to reflect the latest privacy policy

near.org/privacy are showing a content from https://pages.near.org/privacy using IframeResizer component which means I can't really make changes there.
cc @charleslavon

@shelegdmitriy yes, that's right. The intended change is to add a new route into our repo and format content from the linked google doc. So we will no longer need to reference the iframed privacy like we currently do.

At this moment we do have a new infura account and the new file with privacy policy are already there too


Baconian - courtesy of Sir Thomas

This was a fun one!
Under the hood, it uses a simple substitution cipher, mapping alphabetical characters to 5-bit binary equivalents - so 'a' maps to AAAAA, 'b' to AAAAB and so on.
There are two code mappings, traditional that maps 'I' and 'J' to the same value, and 'U' and 'V' to the same. This was due to the fact in Elizabethan England, these were variants of the same character and not distinct, as they are today. I also added a distinct mapping that has a full alphabet mapped to discrete values.
Next, the fun part: hiding the produced substitution ciphertext in a decoy text. I do this by mapping alphabetical characters to italics if the binary is given. I use the mathematical italic utf-8 characters. There maybe other fonts or characters that could be used, if so the code would need to be modularised.
Please have a look at the code and check for newbie Rust issues and feedback for me to fix.

You're a legend for working on this, thanks for all your help. I might not get time to review it this week, but I will get around to it when I can.

Okay, great. In the meantime, I'll have a look at the code too, I think can already spot some improvements.

Thanks @arosspope, I'll look at this and comment / make changes after Easter. Some good thinking.

Had to change .travis.yml:
No longer require nightly to run rustfmt - note that upstream in nightly rustfmt the formatting rules have changed :roll_eyes:  so the current code will have large-scale changes when that is merged into stable.

@arosspope Not sure what editor you prefer, but integrating in rustfmt on save is easy. I'm old (not school, just old) so I still use vim. It was easier than integrating racer that's for sure. :wink:  :wine_glass:

@avastmick Almost ready to merge, just two points that I would like to discuss before that happens. Let me know what you think.

I covered you two changes and raised an issue to improve the usage of the lipsum crate.
I may drop off radar for a bit as I have a heap of work changes coming up.
Cheers, Mick


The header.enricher.headers config prop doesn't work in Spring Cloud Dataflow

I'm unable to use the header.enricher.headers config property to add headers to a message in Spring Cloud Dataflow. Here's a link to a Stackoverflow question that describes the issue I'm seeing:
https://stackoverflow.com/questions/44661301/how-do-i-add-a-header-to-a-message-using-the-header-enricher-spring-cloud-stream

Has been fixed via https://github.com/spring-cloud/spring-cloud-dataflow/pull/1540 and presented in the latest Spring Cloud Data Flow 1.2.3: https://spring.io/blog/2017/07/26/spring-cloud-data-flow-1-2-3-released


[VS Code] An item with the same key has already been added. Key: streamManager

Error:
An item with the same key has already been added. Key: streamManager
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.735

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.27.2

platformName
Linux

platformVersion
4.15.0-32-generic

@robyhuzwandar This shouldn't repro on the current version of the extension. If it does, please reply to this thread and attach your logs (Command palette > "Live Share: Export Logs").


default environment is not loaded even with configurer

Issue description
I am trying to use micronaut-aot with the micronaut application I am developing as part of Micronaut Live.
Steps to reproduce.

Clone the repo: https://github.com/micronaut-advocacy/micronaut-live-newsletter
Checkout the branch aot
Comment out  convertYamlToJava = true
Run postgreSQL via docker and export two environment variables as described here:
Add a configuration file for the default environment:
src/main/resources/application-dev.yml

micronaut:
  security:
    oauth2:
      clients:
        cognito:
          client-id: 'XXX'
          client-secret: 'YYY'
          openid:
            issuer: 'https://cognito-idp.us-east-1.amazonaws.com/us-east-1_4OqDoWVrZ/'
---
email:
  from<EMAIL_ADDRESS>
I added a configurer to Application
package io.micronaut.live;

import io.micronaut.context.ApplicationContextBuilder;
import io.micronaut.context.ApplicationContextConfigurer;
import io.micronaut.context.annotation.ContextConfigurer;
import io.micronaut.context.env.Environment;
import io.micronaut.runtime.Micronaut;
import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Contact;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.info.License;
import jakarta.inject.Singleton;

@OpenAPIDefinition(
        info = @Info(
                title = "Newsletter Subscriber",
                version = "0.1",
                description = "Newsletter Subscriber API",
                license = @License(name = "Apache 2.0"),
                contact = @Contact(url = "https://sergiodelamo.com", name = "Sergio del Amo")
        )
)
public class Application {

    static final String DEFAULT_ENV = Environment.DEVELOPMENT;

    @ContextConfigurer
    public static class DefaultEnvironmentConfigurer implements ApplicationContextConfigurer {
        @Override
        public void configure(ApplicationContextBuilder context) {
            context.defaultEnvironments(DEFAULT_ENV);
        }
    }

    public static void main(String[] args) {
        Micronaut.build(args)
                .mainClass(Application.class)
                .defaultEnvironments(DEFAULT_ENV)
                .start();
    }
}

If I run run, I see:
> Task :run
 __  __ _                                  _
|  \/  (_) ___ _ __ ___  _ __   __ _ _   _| |_
| |\/| | |/ __| '__/ _ \| '_ \ / _` | | | | __|
| |  | | | (__| | | (_) | | | | (_| | |_| | |_
|_|  |_|_|\___|_|  \___/|_| |_|\__,_|\__,_|\__|
  Micronaut (v3.2.1)

17:39:25.929 [main] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [dev]
17:39:26.231 [main] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
17:39:26.305 [main] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
17:39:26.311 [main] INFO  i.m.flyway.AbstractFlywayMigration - Running migrations for database with qualifier [default]
17:39:26.355 [main] INFO  o.f.c.i.license.VersionPrinter - Flyway Community Edition 8.0.2 by Redgate
17:39:26.355 [main] INFO  o.f.c.i.d.base.BaseDatabaseType - Database: jdbc:postgresql://localhost:5432/postgres (PostgreSQL 11.5)
17:39:26.410 [main] INFO  o.f.core.internal.command.DbValidate - Successfully validated 1 migration (execution time 00:00.022s)
17:39:26.425 [main] INFO  o.f.core.internal.command.DbMigrate - Current version of schema "public": 1
17:39:26.427 [main] INFO  o.f.core.internal.command.DbMigrate - Schema "public" is up to date. No migration necessary.
17:39:26.761 [main] DEBUG i.m.s.o.e.e.r.EndSessionEndpointResolver - Resolving the end session endpoint for provider [cognito]. Looking for a bean with the provider name qualifier
17:39:26.761 [main] DEBUG i.m.s.o.e.e.r.EndSessionEndpointResolver - No EndSessionEndpoint bean found with a name qualifier of [cognito]
17:39:26.762 [main] DEBUG i.m.s.o.e.e.r.EndSessionEndpointResolver - Resolved the AwsCognitoEndSessionEndpoint for provider [cognito]
17:39:26.773 [main] DEBUG i.m.s.o.routes.OauthRouteBuilder - Registering login route [GET: /oauth/login/cognito] for oauth configuration [cognito]
17:39:26.774 [main] DEBUG i.m.s.o.routes.OauthRouteBuilder - Registering callback route [GET: /oauth/callback/cognito] for oauth configuration [cognito]
17:39:26.774 [main] DEBUG i.m.s.o.routes.OauthRouteBuilder - Registering callback route [POST: /oauth/callback/cognito] for oauth configuration [cognito]
17:39:26.775 [main] DEBUG i.m.s.o.routes.OauthRouteBuilder - Registering end session route [GET: /oauth/logout]
17:39:26.996 [main] INFO  io.micronaut.runtime.Micronaut - Startup completed in 1235ms. Server Running: http://localhost:8080

see:
 - Resolved the AwsCognitoEndSessionEndpoint for provider [cognito]
17:39:26.773 [main] DEBUG i.m.s.o.routes.OauthRouteBuilder - Registering login route [GET: /oauth/login/cognito] for oauth configuration [cognito]
17:39:26.774 [main] DEBUG i.m.s.o.routes.OauthRouteBuilder - Registering callback route [GET: /oauth/callback/cognito] for oauth configuration [cognito]
17:39:26.774 [main] DEBUG i.m.s.o.routes.OauthRouteBuilder - Registering callback route [POST: /oauth/callback/cognito] for oauth configuration [cognito]
17:39:26.775 [main] DEBUG i.m.s.o.routes.OauthRouteBuilder - Registering end session route [GET: /oauth/logout]

but If I run optimizedRun. I see:

17:41:08.116 [main] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [dev]
17:41:08.340 [main] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
17:41:08.442 [main] INFO  com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
17:41:08.460 [main] INFO  i.m.flyway.AbstractFlywayMigration - Running migrations for database with qualifier [default]
17:41:08.503 [main] INFO  o.f.c.i.license.VersionPrinter - Flyway Community Edition 8.0.2 by Redgate
17:41:08.504 [main] INFO  o.f.c.i.d.base.BaseDatabaseType - Database: jdbc:postgresql://localhost:5432/postgres (PostgreSQL 11.5)
17:41:08.549 [main] INFO  o.f.core.internal.command.DbValidate - Successfully validated 1 migration (execution time 00:00.019s)
17:41:08.562 [main] INFO  o.f.core.internal.command.DbMigrate - Current version of schema "public": 1
17:41:08.564 [main] INFO  o.f.core.internal.command.DbMigrate - Schema "public" is up to date. No migration necessary.
17:41:08.792 [main] DEBUG i.m.s.o.routes.OauthRouteBuilder - No Oauth controllers found. Skipping registration of routes
17:41:08.998 [main] INFO  io.micronaut.runtime.Micronaut - Startup completed in 1007ms. Server Running: http://localhost:8080

see:
17:41:08.792 [main] DEBUG i.m.s.o.routes.OauthRouteBuilder - No Oauth controllers found. Skipping registration of routes

So I can see that we generate a static property source for both application and application-dev.yml.
e.g:
``java
`@Generated
public class Application_devStaticPropertySource extends MapPropertySource {
Application_devStaticPropertySource() {
super("application-dev", new HashMap() {{
put("micronaut.security.oauth2.clients.cognito.client-id", "XXX");
put("micronaut.security.oauth2.clients.cognito.client-secret", "YYY");
put("micronaut.security.oauth2.clients.cognito.openid.issuer", "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_4OqDoWVrZ/");
put("email.from", "sergio.delamo@softamo.com");
}});
}
}

This property source should be loaded like the `application` one:

```java
  private static void preparePropertySources() {
    // Generates pre-computed Micronaut property sources from known configuration files
    List<PropertySource> propertySources = new ArrayList<PropertySource>();
    propertySources.add(new ApplicationStaticPropertySource());
    propertySources.add(new Application_devStaticPropertySource());
    StaticOptimizations.set(new ConstantPropertySources(propertySources));
  }

So I am not quite sure why the 2d one seems to be ignored :/


Add X-Pack to Enterprise Log

https://www.elastic.co/products/x-pack
https://www.elastic.co/downloads/x-pack

Xpack was removed because it's payd.


Add an option to install either jenkins or tekton when installing the ks-devops chart

Expected Use cases
# install tekton-pipeline chart as the pipeline backend
helm install ks-ctl . -n kubesphere-devops-system --create-namespace --set pipeline-backend=tekton
# install jenkins chart as the pipeline backend
helm install ks-ctl . -n kubesphere-devops-system --create-namespace --set pipeline-backend=jenkins

Some details should be added to the above use cases:

pipeline-backend flag should be provided to choose pipeline backend chart installation.
The default value of pipeline-backend is jenkins.
This flag chooses only one pipeline backend chart to install.

Current design

Now, we provided charts.tekton.enabled and charts.jenkins.enabled fields in the values.yaml, and these two fields are included in Chart.yaml file to controll the installation of tekton and jenkins sub-chart.

By default, the field charts.tekton.enabled is set as false and the field charts.jenkins.enabled is set to be true.

Given the above settings, we can install jenkins and only jenkins by default. However, if we want to choose tekton as our pipeline backend, and only install tekton chart, we have to set tekton enabled and disable jenkins according to these two field when using helm install.
Is there a way to give a field pipeline-backend to controll the installation of sub-chart not using the complex command line?

Code base

The above design is at the branch tekton-support.

/label ospp-2021
/help

/label ospp-2021


[CSL-785] Refactor WorkMode

CI fails on https://github.com/input-output-hk/cardano-sl/pull/320, so @domenkozar told me it might be a cache issue, and as a work-around to open another PR.

Nah, not a cache issue, apparently...


Change unit ergonomics

I'd probably prefer Vec<Length> over Vec2::Length. Alternatively, could also be Vec2Length

For now, I went with VecLength or Vec2Length
In order to get Vec<Length> to properly work, we need to define a custom struct Vec. Since I'd like to use glam for the underlying vectors (for performance reasons and reduction of code duplication), the only way I see to do this is by adding a PhantomData<Q> to the Vec struct and then re-implementing all the operators for it. I assume PhantomData is optimized away, but am not entirely sure. A performance test would probably be a good idea before doing this.


Charset problem in keycloak user form for initial user creation in keycloak

First identification will show a user form with first/last name showing utf-8 character sequence for swedish characters åäö.

Problem is already manifesting itself in the rest response from bankid. After adding a lot of log.debug I can see this returned in SimpleBankidClient.sendCollect()
name=S├╢lve Dahlstr├╢m, givenName=S├╢lve, surname=Dahlstr├╢m
I am running the keycloak server on windoze and that implicitly means iso1252 aka cp850 charset.
I don't know how keycloak SimpleHttp works but it is using the wrong charset for jackson.

I do not hava a windows machine to use for reproducing this right now. However could you please try adding   -Dfile.encoding=UTF-8 to JAVA_OPTS in standalone.confand see if this solved the problem.
The complete line should be something like this.
#
# Specify options to pass to the Java VM.
#
if [ "x$JAVA_OPTS" = "x" ]; then
   JAVA_OPTS="-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true"
   JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true"
else
   echo "JAVA_OPTS already set in environment; overriding default settings with values: $JAVA_OPTS"
fi

# Add this line
JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8

Nope, does not solve the problem :
> 14:10:29,600 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: Keycloak 9.0.3 (WildFly Core 10.0.3.Final) starting
> 14:10:29,601 DEBUG [org.jboss.as.config] (MSC service thread 1-2) Configured system properties:
>         awt.toolkit = sun.awt.windows.WToolkit

From the debugger

Hi,
Sorry I gave you the wrong instructions, since you are on Windows the change should go into standalone.conf.bat provided you start keycloak using the standalone.bat script.
Find the rows where the JAVA_OPTS are set and add -Dfile.encoding=UTF-8

rem # JVM memory allocation pool parameters - modify as appropriate.
set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m"

rem # Prefer IPv4
set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true"

rem # Make Byteman classes visible in all module loaders
rem # This is necessary to inject Byteman rules into AS7 deployments
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman"

rem # Add this to solve character encoding problems
set "JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF-8"

@isrjo We should add this to the README.md installation notes.

Changing this is not the way to go since it will affect the whole operation for all filehandling in the server.
Without knowing all the methods of SimpleHttpClient I do know that when jacson has control over the returned inputstream it will handle the respone correctly.

Well I would argue that using UTF-8 as file.encoding is preferred when running Java applications. But I agree for a already running keycloak instance this could potentially be a problem.
Looking a bit deeper into the problem it looks like you are correct the assumption that it is the SimpleHttp library that is part of the  problem.
https://github.com/keycloak/keycloak/blob/9.0.3/server-spi-private/src/main/java/org/keycloak/broker/provider/util/SimpleHttp.java#L270-L307
Looks like when reading the response body, it tries to use the content-type header from the response. Possibly this is not set by BankID which would then fallback to the system default.
Simplest solution to this would be to switch to use the Apache HTTP Client library directly (same as SimpleHttp uses) and then hardcode to handle the response as UTF-8.
Contributions are welcomed.

Fixed upstream in https://github.com/keycloak/keycloak/commit/acd4f5f793fb4c9eeaf135b57317fa29bce632f1


Deprecate: flattenImages  causes aesthetic issues on CMS

Hi the following line needs to be replaced:
$img = $img->flattenImages();
with
$img->setImageAlphaChannel(11);
$img->mergeImageLayers(imagick::LAYERMETHOD_FLATTEN);
Would be nice if you can change it as I use your module on my projects and I use composer to update it. Good job on the module btw.

Done.
fixed in 1.1.0
thx


the IE problem

Version
2.3.3
Reproduction link
http://dev.oss.yunsom.cn:801/yunsom/industrial-search.git
Steps to reproduce
1.npm run build
2.running in IE11
What is expected?
running normally
What is actually happening?
IE11 prompt error：

"Promise"未定义
对象不支持“n”属性或方法

1.The previous version is 2.2.2, everything is normal
2.Now updated to the latest version 2.3.3, compiled after running in IE11 browser suggested 'Promise' not defined
3.Project with vue-resource, replaced axios also reported the same mistake

Can't open the repro link, please provide a github repo instead.

https://github.com/cephiroth/search.git
can u open this?

That could a problem related to the latest version of Webpack (2.6.0): https://github.com/webpack/webpack/issues/4916

Closing because I believe there's nothing in Vue itself between 2.2 and 2.3 that would lead to this error. Please make sure to provide a repro that shows this error is caused by upgrading Vue only.


D::Light plugin

A lighting software available for Windows, Mac and Linux. Some fixture personalities can be downloaded, but it is a binary format. All the help pages are in French, but I understand enough to see there's also a fixture editor available.

Hi,
DL personality are indeed in a binary format, but I can add a json parser to D::Light so there's no need a special plugin :)
++

That's a great solution as it gives you the opportunity to support more fixtures and us to improve the popularity of OFL.
If you have any questions regarding our fixture formats, please let us know. For example, we use different modes for one device (e.g. 3ch RGB or 6ch Intens/RGBW/Strobe) and you probably have to handle it like different devices.

the way you export mode is ok.
we have to discuss more about exported data though...
++

Result of our IRC talk:

fixtures are saved encrypted in D::light, one decrypted XML file can be viewed here: https://pastebin.com/BGmwK1Tw
we export to this XML format instead of letting D::light handle our JSON format (this also makes compatibility managing easier)
Nicolas told me all the characteristics about the XML format so exporting doesn't seem very difficult anymore

@sl1200mk2 Could you please also post the XML data of a fixture that uses focus channels in this order: Pan / Tilt / Pan fine / Tilt fine? (like Phantom 50)

https://pastebin.com/QCRa86Xr
here's a minimal export of the phantom 50.
minimal in the way I didn't fill all definitions
++

So the parameterName of a fine channel is addressIndex+1 of its coarse channel?

yep, that's right
++

I've played with the Personality editor and wrote down possible channel types (attributes) with their possible respective names (parameters). The combination of attribute and parameter name must be unique.

INTENSITY

DIMMER

COLOUR

anything (*)
RED
GREEN
BLUE
CYAN
MAGENTA
YELLOW
AMBER
WHITE
INDIGO
ORANGE
CTO
CTB
COLOUR WHEEL
COLOUR MACRO

FOCUS

PAN
TILT

BEAM

anything (*)
FOCUS
AUTO_FOCUS
ZOOM
FROST
IRIS

BLADE

Blade_1a
Blade_1b
Blade_2a
Blade_2b
Blade_3a
Blade_3b
Blade_4a
Blade_4b
ROTATION

EFFECT

anything (*)
PRISM
STROBE
SHUTTER
GOBO
GOBO_2
ROTATING_GOBO
ROTATION
SPEED
MACRO

CONTROL

LAMP
RESET
FUNCTION

EXTRA

anything (*)
EXTRA

FINE

offset of coarse channel (index+1)

https://getdlight.com/forum/d-light-and-devices/6205-coders-wanted
this is a call...


Mockingjay stub method overwriting Cuckoo stub method

We are using a Swift mocking library called Cuckoo that allows for easier unit tests. The recent inclusion of Mockingjay has created a problem with all of the other tests using Cuckoo as Cuckoo defines a method called stub as well but in the global scope. The XCTest extension takes president in all of the tests and creates a compile time error. All of the Cuckoo stub methods could be replaced with Cuckoo.stub, but this is not an ideal solution as Mockingjay.stub would be much better as Mockingjay is used much less and would also not be necessary if the stub method was only defined in the file it was imported in, but swift extensions propagate everywhere.
What can be done to either rename the stub method or import only in one file? Any other suggestions would be great. Thanks in advance.

@benniebotha If you depend just on the core (excluding https://github.com/kylef/Mockingjay/blob/978253ce130410a677f132e87736c7a149bf5889/Mockingjay.podspec#L15). The stub method on XCTest won't exist, you can use Mockingjay.addStub instead (or create your own alias for it).
MockingjayProtocol.addStub(matcher: matcher, delay: delay, builder: builder)

https://github.com/kylef/Mockingjay/blob/978253ce130410a677f132e87736c7a149bf5889/Sources/Mockingjay/XCTest.swift
The XCTest also adds a tearDown hook to remove stubs so you want to implement similiar.

Thanks for the advice, that should work.


bbox in common data library is wrong

steps to reproduce:

the query for bbox filtering (dark square) return datasets for "US Counties" (light square)

https://common-data.cartodb.com/api/v1/viz?tag_name=&q=&page=2&type=table&exclude_shared=false&per_page=12&order=updated_at&tags=&source=&bbox=51.99929%2C16.642778%2C59.811386%2C24.979382

It looks like is a problem with the dateline (thx @iriberri). I've been using this query to get the bbox:
SELECT ST_Transform(ST_Envelope('SRID=4326;POLYGON((minx miny, minx maxy, maxx maxy, maxx miny, minx miny))'::geometry), 3857) AS the_geom_webmercator
And the result in that example is

I'm very noob with the GIS thing so, I'm going to need help here @javisantana @pramsey

This is the Convex hull for the dataset:

that would still return "US counties" for many Europe countries, can we approach this differently or are we really contrained by the dateline?

Yes, you're quite constrained by it. You have to figure out how you want to get around it. It depends a lot on how you're building query shapes and so on.
The 'geography' type will work across the dateline, but it depends on being fed edges of < 180 degrees in length, so it can know what direction around the world lines travel. (Any two points on a sphere can be joined by two lines, depending on which direction they travel over the great circle connecting the points.)
The 'geometry' type is easier to reason about, but you'll need to watch for crossings and chop query shapes into two shapes at the dateline. See the recent airplanes blog post for example.

This is worth reading: http://gis.stackexchange.com/questions/102425/find-out-whether-geography-point-lies-within-geography-bounds
We can come up with something, but as Paul says in the issue and as it happens always, how to handle the dateline is something in our end totally. We could try to split the data but I'm thinking how to differentiate this specific US case with a case in which there's data in all the world. :/
We can do ugly tricks like using only a part of the data if "there's no data in the rest of the world except for a couple degrees in the dateline (that queue of islands", but I can just think about "ugly" things.

Oh, Paul just commented  too :D

Tomorrow I'll start trying to improve the way we calculate the bbox for the visualizations. At first I'll try to do it only for the "common-data" user so we can have a more realistic bounding box to filter.
I only hope that I found a "generalist" way to do this for all the visualizations.
// @rafatower

@ethervoid ping me if you need some help with this. I'll try to think about it to see if I can come out with something useful.

What I was thinking is on adding/subtracting 180 degrees and picking the smaller bbox in surface to cover the points. Does it make sense?

I'm checking how to reshape the bounding box using what @pramsey said. I'll try to fix this one and try to apply to all the datasets we have. Wish me luck hahaha

I've been working on it and I come to the following possible solution:
 WITH filter AS (
     SELECT *
     FROM #{table_name}
     WHERE ST_XMin(the_geom) + ST_XMax(the_geom) <= 0
   )
   SELECT
     ST_XMin(ST_Extent(the_geom)) AS minx,
     ST_YMin(ST_Extent(the_geom)) AS miny,
     ST_XMax(ST_Extent(the_geom)) AS maxx,
     ST_YMax(ST_Extent(the_geom)) AS maxy
   FROM filter

this query only get the parts to "nosplit" so I'm going to need a union with the other part of the bounding box but this is idea. What do you think @pramsey ?

 If you're just splitting a single rectangle you can dispense with all that and move on to the main course.
Once you've split your rectangle, it's important to use it as two separate query rectangles, not as a single multi-polygon, since the multipolygon will have no index selectivity (not that it matters for world-spanning rectangles, but for smaller dateline crossers it can be important).

Due the time spent we are leaving this for now. We have an approximation for the split and calculation that we are going to move forward in time so we could work on it in the future when is really needed.

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Why are there so few response data?

Describe the bug
Hello, i just made a test ,it really works, thanks for your contribution！
but Why are there so few response data ?
my demo is look like this, Ask chatGPT questions: "Talk about the future development trend and write a report"
the response is :
[001] completion
{ID:cmpl-6hyt1VmcDZXMiALC1NPtwO6WOOd6R Object:text_completion Created:1675940171 Model:text-davinci-003 Choices:[{Text:
The world is ever-changing, and as technology redefines our lives Index:0 LogProbs:0 FinishReason:length}] Usage:{PromptTokens:10 CompletionTokens:16 TotalTokens:26}}
There are too few response data, What's wrong?
To Reproduce
cd openaigo
OPENAI_API_KEY=YourAPIKey go run ./testapp/main.go
Code snippets
var scenarios = []Scenario{
	{
		Name: "completion",
		Run: func() (any, error) {
			client := openaigo.NewClient(OPENAI_API_KEY)
			request := openaigo.CompletionRequestBody{
				Model:  "text-davinci-003",
				Prompt: []string{"Talk about the future development trend and write a report"},
			}
			return client.Completion(nil, request)
		},
	}
}

func main() {
	match := flag.Arg(0)
	total := 0
	var dur time.Duration = 0
	errors := []error{}
	for i, scenario := range scenarios {
		fmt.Printf("\033[1;34m[%03d] %s\033[0m\n", i+1, scenario.Name)
		if match != "" && !strings.Contains(scenario.Name, match) {
			fmt.Printf("====> Skip\n\n")
			continue
		}
		begin := time.Now()
		res, err := scenario.Run()
		elapsed := time.Since(begin)
		if err != nil {
			fmt.Printf("\033[31mError:\033[0m %v\nTime: ", err)
			errors = append(errors, err)
		} else {
			fmt.Printf("%+v\n\033[32mTime:\033[0m ", res)
		}
		fmt.Printf("%v\n\n", elapsed)
		dur += elapsed
		total++
	}
	fmt.Println("===============================================")
	fmt.Printf("Total %d scenario executed in %v.\n", total, dur)
	if len(errors) > 0 {
		os.Exit(1)
	}
}

OS
linux amd64
Go version
Go 1.20
Library version
your open-ai  current version

sorry, this not bug ,i know the answer.


Directory option for resolve.mainFiles

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
For resolve.mainFiles config option we currently may set only static string value.
If the current behavior is a bug, please provide the steps to reproduce.
Not a bug.
What is the expected behavior?
May be it would be useful if we could use something like '[directory]' as a value. So it would be possible to resolve files such as /path/to/foo/foo.js like import '/path/to/foo'.
If this is a feature request, what is motivation or use case for changing the behavior?
I just think it could be useful.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
MacOS
Node 8.5.0
Webpack 3.5.5
P.S. Thank you for your priceless work on webpack!

This could be accomplished through a custom Resolver Plugin. This behavior may already exist commonly used by React Developers. (Although I can't remember the plugin name!)
Also see this thread for more information. https://github.com/webpack/webpack.js.org/issues/1458

https://www.npmjs.com/package/directory-named-webpack-plugin


Set -Dio.grpc.ManagedChannel.enableAllocationTracking=true to enable it

Describe the bug(Please use English)
A clear and concise description of what the bug is.
Environment :

Flink version :  1.14.4
Flink CDC version: 2.2.1
Database and version: tidb 6.1

To Reproduce
Steps to reproduce the behavior:

Thes test data :
The test code :
The error :ManagedChannel allocation site

Additional Description
If applicable, add screenshots to help explain your problem.

Closing this issue because it was created before version 2.3.0 (2022-11-10). Please try the latest version of Flink CDC to see if the issue has been resolved. If the issue is still valid, kindly report it on Apache Jira under project Flink with component tag Flink CDC. Thank you!


Scaling to thousands of adapters

I'm working on a personalisation problem that involves fine-tuning a model for each individual user. I'm experimenting with adapters, creating a unique adapter for every user.
I noticed that subsequent calls to add_adapter get increasingly slow and it practically halts after a few hundred iterations (Bert, various adapter types). I understand this might not be the intended usage, but are there any workarounds to allow scaling the number of adapters to thousands/millions?
Many thanks!

I realized a better way would be to have a single adapter and do save/load adapter for each user.


Standardise "NaN" or "null" results to be consistent in json outputs

Standardise NaN or null results to be consistent in json files (numpy quirks are leading to nan values creeping in - this will need to be systematically tested as the numpy version is incremented.
@jservonnat is there anything else relevant that needs noting in this issue?

there are actually 2 totally different animals NaN is "Not A number" i.e something went bad. null is None means no result, which usually means either an error occured or the metrics has not been run. I think it's an important difference.

@doutriaux1 is there anything to do here, or you closing? I think NaN or even null results highlight problems in the processing pipeline.. And therefore we should create a dedicated issue if these appear again, thoughts?

hum... you're probably right, it could also be due to model input errors. Plus I stand by my previous comment, "NaN" means something went bad, whereas null usually means no result. Let's close


hydra: fix build with gcc7, incl. libpqxx update

It builds, but it's otherwise untested.
I'm only concerned about the libpqxx update: it fixes the language issues rejected by gcc7, but it's a larger update, so there's some chance there was a semantic change that didn't break the build.  Therefore I'm not merging this until it gets some testing or someone knowing the Hydra's source verifies it's OK.  /cc maintainer @edolstra.

Failure on aarch64-linux (full log)
Partial log (click to expand)
Package ‘darcs-2.12.5’ in /var/lib/gc-of-borg/nix-test-rs-1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-1/pkgs/development/haskell-modules/hackage-packages.nix:55257 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘hydra-2017-11-21’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/build-support/release/nix-build.nix:151 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/kc1syk4pg656038lbaij2cs77pmnind1-hydra-2017-11-21
shrinking /nix/store/kc1syk4pg656038lbaij2cs77pmnind1-hydra-2017-11-21/bin/hydra-evaluator
shrinking /nix/store/kc1syk4pg656038lbaij2cs77pmnind1-hydra-2017-11-21/bin/hydra-eval-jobs
shrinking /nix/store/kc1syk4pg656038lbaij2cs77pmnind1-hydra-2017-11-21/bin/hydra-queue-runner
patching script interpreter paths in /nix/store/kc1syk4pg656038lbaij2cs77pmnind1-hydra-2017-11-21
checking for references to /build in /nix/store/kc1syk4pg656038lbaij2cs77pmnind1-hydra-2017-11-21...
finalPhase
build time elapsed:  0m0.494s 0m0.397s 1m17.650s 0m7.217s

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘hydra-2017-11-21’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/build-support/release/nix-build.nix:151 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Failure on aarch64-linux (full log)
Partial log (click to expand)
Package ‘darcs-2.12.5’ in /var/lib/gc-of-borg/nix-test-rs-3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-3/pkgs/development/haskell-modules/hackage-packages.nix:55308 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Failure on x86_64-linux (full log)
Partial log (click to expand)
cannot build derivation ‘/nix/store/lpby0y9rq47dmnlgrza7mwqdnr5wivw5-cryptonite-0.24.drv’: 4 dependencies couldn't be built
cannot build derivation ‘/nix/store/znl5vi8jfvvhvldjpm49qhksx543xnfs-graphviz-29<IP_ADDRESS>.drv’: 12 dependencies couldn't be built
cannot build derivation ‘/nix/store/i2vxpachhildwqagfn2a1dd1a7z509n4-sandi-0.4.1.drv’: 10 dependencies couldn't be built
cannot build derivation ‘/nix/store/sxf37zkj5ah736gl69ddmfcxfsmdnwdp-scientific-<IP_ADDRESS>.drv’: 13 dependencies couldn't be built
cannot build derivation ‘/nix/store/knxnf090yanryq2h9j6ry4bqk85aifc5-zip-archive-<IP_ADDRESS>.drv’: 9 dependencies couldn't be built
cannot build derivation ‘/nix/store/dsflvx7yy62kx619babssblrya6mh5a3-attoparsec-<IP_ADDRESS>.drv’: 4 dependencies couldn't be built
cannot build derivation ‘/nix/store/czvsk0zjh20nhb31nqwxwm2ymmh371zm-cryptohash-0.11.9.drv’: 10 dependencies couldn't be built
cannot build derivation ‘/nix/store/1xgdk2bxaaj13nhillimqsrwsja91mpx-darcs-2.12.5.drv’: 29 dependencies couldn't be built
cannot build derivation ‘/nix/store/478hasq84pqlc5n4brc6ypzb3p61czgw-hydra-2017-11-21.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/478hasq84pqlc5n4brc6ypzb3p61czgw-hydra-2017-11-21.drv’ failed

Found myself needing this in my setup, seeing errors like this:
/nix/store/r8zhwq9xylxw8a823kpvqy0kfqq4g52f-nix-2.0pre5968_a6c0b773/lib/libnixstore.so: undefined reference to<EMAIL_ADDRESS>/nix/store/r8zhwq9xylxw8a823kpvqy0kfqq4g52f-nix-2.0pre5968_a6c0b773/lib/libnixstore.so: undefined reference to<EMAIL_ADDRESS>
Since hydra's release.nix has it building with gcc6, but nix was built w/gcc7 (according to this those are symbol versions corresponding to 7.1, 7.2 and 8.0 -- presumably 7.3.0 as well).
I can't vet libpqxx's changelog but I'll give this a whirl and let you know if anything explodes :).

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘hydra-2017-11-21’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/build-support/release/nix-build.nix:151 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Failure on aarch64-linux (full log)
Partial log (click to expand)
Package ‘darcs-2.12.5’ in /var/lib/gc-of-borg/nix-test-rs-1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-1/pkgs/development/haskell-modules/hackage-packages.nix:55308 is not supported on ‘aarch64-linux’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.


highlighting doesn't work for .html files & CDATA not respected in md

i just noticed that if i store my posts as foo.html, then  {{< highlight bash >}}... bash code...{{< /highlight >}} is ignored.
if i rename to foo.md, then pygmentize is correctly invoked and runs syntax highlighting.
a related problem is that after switching to foo.md naming, <![CDATA[ and ]]> markers are literally included.
in html, you can use CDATA to mean "literal data" without having to encode entities etc. i use this liberally for code (which needs syntax highlighting). the markers themselves however should not be rendered.
not sure what's the best approach here?

make pygmentize work for .html content?
respect CDATA markers in markdown (is markdown supposed to accept anything html accepts?)

thanks

Your main topic is a duplicate of #674.
Create a new issue for the second one. An issue report that mingles totally unrelated issues into one is impossible to handle.


Update content for user management changes

What problem does this pull request solve?
It updates content on the 'Get started' page and changes the call to action on the homepage, ready for user management changes.
Trello card: (https://trello.com/c/AfUfDHkk/1594-update-product-site-content-for-new-journey-to-try-out-and-start-using-govuk-forms-public-beta)
Things to consider when reviewing
I've changed a lot of content on the Get started page and it's the first time I've used github in ages!

Does it look like I broke anything?
Are there any typos?
Are there any straight quotes?

The tests arn't passing (because one of them is looking for text that has changed) - I think you'll need to change this line in  spec/views/pages/get_started.html.erb_spec.rb to 'Create an account' to get it passing


Path parameter extract breaks if it's the final parameter

I'm testing an API which uses UUIDs in the URL, which I'm replacing. However, if the URL ends with a parameter without a trailing /, the request gets corrupted. For example:
Original request:
GET /api/account/52983d28-c02c-4e93-9930-d099bc35e795/goal/44c74981-77b3-4bb6-bb3d-183917c6b21d HTTP/1.1
Host: ...

Using Auth Analyzer to replace the account and goal parameters generates this request:
GET /api/account/219e18eb-782b-4d9c-b820-c2e9d385e86b/goal/4763ae23-8c4c-4313-9ed1-2040755d27b6/1.1
Host: ...

It is splitting the parameter up to the / in HTTP/1.1, instead of breaking at the preceding space.

oh, just seen this is a duplicate of #12.


Update load tests with new URL structure

The URL structure was changed to hide the specific date of birth, relationship and benefit values. The load tests are still using the old URLs and so are failing.
Env: local
E.g.
- get:
          url: '/apply/first-time/new-eligibility/1983-08-08/child'

Working on local env now


Support bloom filter in hybrid storage format

Describe This Problem
Hybrid storage compresses multi-record batches into one record batch, so bloom filter is wrong in hybrid storage.
Proposal
Support bloom filter in hybrid storage format.
Additional Context
No response

I am reading code in this part, how about let me try it?


run_batch() RuntimeError: Trying to create tensor with negative dimension

Hello, team!
Thanks for the excellent work.
When working batch inference, sometimes encountering server-side error that completely interrupts the process:
new fill batch. #seq: 7. #cached_token: 1541. #new_token: 4. #remaining_req: 0. #running_req: 0
Exception in ModelRpcClient:
Traceback (most recent call last):
  File "/opt/conda/envs/env/lib/python3.11/site-packages/sglang/srt/managers/router/model_rpc.py", line 130, in exposed_step
    self.forward_step()
  File "/opt/conda/envs/env/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/env/lib/python3.11/site-packages/sglang/srt/managers/router/model_rpc.py", line 145, in forward_step
    self.forward_fill_batch(new_batch)
  File "/opt/conda/envs/env/lib/python3.11/site-packages/sglang/srt/managers/router/model_rpc.py", line 328, in forward_fill_batch
    logits, normalized_logprobs = self.model_runner.forward(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/env/lib/python3.11/site-packages/sglang/srt/managers/router/model_runner.py", line 453, in forward
    return self.forward_extend(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/env/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/env/lib/python3.11/site-packages/sglang/srt/managers/router/model_runner.py", line 359, in forward_extend
    return self.model.forward(input_ids, input_metadata.positions, input_metadata)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/env/lib/python3.11/site-packages/sglang/srt/models/llama2.py", line 270, in forward
    return self.logits_processor(
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/env/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/env/lib/python3.11/site-packages/sglang/srt/layers/logits_processor.py", line 55, in forward
    normalized_logprobs = compute_normalized_logprobs(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/env/lib/python3.11/site-packages/sglang/srt/layers/logits_processor.py", line 67, in compute_normalized_logprobs
    logprobs = torch.zeros(
               ^^^^^^^^^^^^
RuntimeError: Trying to create tensor with negative dimension -3: [-3]

It never happened to me with small batch sizes (1-10), but constantly face it with bigger ones.
The code to run batch inference fwiw:
@sgl.function
def answer(s, question):
    s += question + '\n'
    s += sgl.gen("answer", choices=['Y', 'N'], temperature=0)

def driver_batching(questions):
    states = answer.run_batch(
        [{'question': q} for q in questions]
    )
    return [state['answer'] for state in states]

sgl.set_default_backend(sgl.RuntimeEndpoint(MY_URL))

from tqdm import tqdm
output = []
batch_size = 50
for i in tqdm(range(0, len(prompts), batch_size)):
  output.extend(driver_batching(prompts[i:i+batch_size]))

Thanks for reporting this bug. We will look into it soon.
In the meantime, you can probably try
sgl.gen("answer", regex=r"(True|False)", temperature=0)

which is more robust and can work well for a few short choices.

This bug is fixed by #67
You can try the latest main branch or sglang[all]>=1.6.0


Incorrect conversion of Timex.now/1 to DateTime.utc_now/1

Versions

Elixir: 1.15.2 (compiled with Erlang/OTP 26)
Styler: 0.8.3

Example Input
Timex.now("Europe/London")

Stacktrace / Current Behaviour
Styler converts Timex.now/1 to DateTime.utc_now/1, which expects a calendar or unit (not a timezone). This is the formatted code:
DateTime.utc_now("Europe/London")

I believe the correct conversion should be:
DateTime.now!("Europe/London")

:O thanks for the bug report! will have that fixed in a jiffy

fixed on main, will publish a release at the end of the workday =) thanks again for the report (and even moreso for telling me what it should be!)

Thanks for the quick fix!

released v0.8.4, hope this works better across the pond now :)

Hello! I noticed that this issue is still happening when using the pipe operator:
"Europe/London" |> Timex.now() |> dbg()
# becomes
"Europe/London" |> DateTime.utc_now() |> dbg()

The fix is happening on the node (apparent arity 0), but doesn't account for the effective arity of the call due to the pipe (arity 1).

ahh thank you sabiwara, and apologies for missing that. will get a fix up

published 0.9.5 with fix for the pipes problem. cheers

Thanks Matt for the fix and for the awesome project! Cheers 💜


Implement classical optimization solver using SCIP open-source framework

This PR is proposing to adopt an alternative (classical) optimization problem solver based on the SCIP open-source framework and its Python API PySCIPOpt. This implementation could potentially replace the current approach based on the commercial licensed Gurobi solver (see issue #21).

The current (maybe naive) implementation using SCIP (integer model with linear objective and non-linear constraints introduced here) is working fine but it seems dramatically slower that the Gurobi optimizer. Here is a basic yet informative comparison between the two solvers: gurobi_vs_scip_benchmark.ipynb.


Some suggestions on the features on the onetab group

I would like to suggest few things:

Make title of each link editable and has the ability to reset the title to original title.
Able to label or add note to each link. Maybe add the "note" icon beside the quick button beside the link, when hover the cursor on the note button will let user to preview/edit the note. In addition, this note can be called out in each website, where user could highlight the text in website and annotate.
As some of the title of the bookmark is very long and only partially could be seen in horizontal layout, maybe there is a text box with smaller text font that will show full title when the cursor is hover on the bookmark.
It would be great if the left panel can be minimized to the left and it only show up when the cursor is on the leftmost, User can choose to pin the left panel when they wish.

These are my personal point of view which i think will help others to better organize the tabs, especially they are dealing with many important tabs in different areas. I am very greatful with this extension currently. Appreciate the hardwork of the developers for creating this.

Thank you for recognizing One Tab Group Extension.
We value your opinions and suggestions, and we will carefully consider them.


Add Silence S01 vehicle support

Fix https://github.com/evcc-io/evcc/issues/2895

@andig it doesn t work the template for the seat mo ... it use a different app/server as compared to silence.

Do we know which so we can fix it? Or remove the mo?


Bindings are not complete when PathObserver path changes

Should we expect all the two-way bindings to be complete in the callback of the observe path callback?
observe: {
  'myObj': function(oldData, newData) {
    // Would expect all the two-way bindings to be complete
    //  textfields were not bound
  }
}

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


Explicitly document union function ordering when working with arrays of objects in Bicep/ARM

The documentation of the union function remarks

For arrays, the function iterates through each element in the first parameter and adds it to the result if it isn't already present. Then, it repeats the process for the second parameter and any additional parameters. If a value is already present, it's earlier placement in the array is preserved.

For objects, property names and values from the first parameter are added to the result. For later parameters, any new names are added to the result. If a later parameter has a property with the same name, that value overwrites the existing value. The order of the properties isn't guaranteed.

However, there is no documentation over the ordering of arrays of objects.
I expected that the order would follow the array ordering logic, however it does not appear to be the case. I have found that union-ing two arrays of objects appears to order by name (or perhaps adds the smallest array's objects first, I haven't tested for this).
For example, given the following object arrays;
  {
    name: 'snet-01'
    properties: {
      ...
    }
  }
  {
    name: 'snet-02'
    properties: {
      ...
    }
  }
  {
    name: 'snet-03'
    properties: {
      ...
    }
  }
  {
    name: 'snet-04'
    properties: {
      ...
    }
  }
]

var subnets = [
  {
    // The Virtual Network Gateway Subnet must be named GatewaySubnet
    name: 'GatewaySubnet'
    properties: {
      ...
    }
  }
]

var allSubnets = union(subnetsRequiringStorageAccess, subnets)
// or var allSubnets = union(subnets, subnetsRequiringStorageAccess)

The output order is;
[GatewaySubnet, snet-01, snet-02, snet-03, snet-04]
Could the correct behavior be documented?

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

It appears that this is now behaving as expected of a union in CLI version 2.32.0.

@AdamRiddick - thank you for your comments.  I will add supported version information to the functions.


MySQL Session Bug With Stale Sessions

Setup session pool to recycle old sessions
2015-06-12 09:00:09,669 ERROR: (OperationalError) (2006, 'MySQL server has gone away') 'SELECT `Capture`.id AS `Capture_id`, `Capture`.url AS `Capture_url`, `Capture`.job_status AS `Capture_job_status`, `Capture`.capture_status AS `Capture_capture_status`, `Capture`.created_at AS `Capture_created_at`, `Capture`.modified_at AS `Capture_modified_at`, `Capture`.sketch_url AS `Capture_sketch_url`, `Capture`.scrape_url AS `Capture_scrape_url`, `Capture`.html_url AS `Capture_html_url`, `Capture`.status_only AS `Capture_status_only`, `Capture`.callback AS `Capture_callback`, `Capture`.retry AS `Capture_retry`, `Capture`.url_response_code AS `Capture_url_response_code` \nFROM `Capture` \nWHERE `Capture`.id = %s \n LIMIT %s' (53921L, 1) [in sketchy/__init__.py:67]
2015-06-12 09:11:23,165 ERROR:  [in sketchy/controllers/tasks.py:353]

Haven't been able to reproduce, closing.


[Common] Move Elevated Apps Warning and Add Warning for AlwaysOnTop

Summary of the Pull Request

WarnIfElevationIsRequired and IsProcessOfWindowElevated are moved to Common.
A new warning is added to EVENT_SYSTEM_FOREGROUND event of AlwaysOnTop

PR Checklist

[ ] Closes: #4673
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Applications were run elevated. Then the AlwaysOnTop warning was observed. When window dragged FancyZones warning was observed.

Warning for AoT is shown as soon as elevated window is opened. It would be better to show when trying to actually pin the window on top

Can we make a ignore setting for FZ and AoT in PT settings. This is annoying and on updates the toast suspend state resets.

Can we make a ignore setting for FZ and AoT in PT settings. This is annoying and on updates the toast suspend state resets.

Not a bad idea. Let's do it in a follow-up PR


Fix math in BN_bn2dec comment.

The bound on log(2)/3 on the second line is incorrect and has an extra
zero compared to the divisions in the third line. log(2)/3 = 0.10034...
which is bounded by 0.101 and not 0.1001. The divisions actually
correspond to 0.101 which is fine. The third line also dropped a factor
of three.
The actual code appears to be fine. Just the comments are wrong.

+1, ping @mattcaswell to merge since it's just a comment.

+1

Merged


The footer styling is inconsistent across different pages when viewed on mobile devices.

Has this bug been raised before?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Where did you find this bug?
live website
Version of website/mobile (for example "v1.2.3")
v0.0.1
Description
The footer styling is inconsistent across different pages when viewed on mobile devices. Some pages have different margins, padding, font sizes, or alignment in the footer compared to others. This inconsistency affects the user experience, as the footer does not maintain a uniform appearance throughout the application.
Steps to Reproduce
Page: Different pages (Mobile view).
Action: Viewed the footer in mobile view.
Problem: Footer styling varies across pages, causing inconsistency in alignment, padding, or font size.
This is a bug affecting the design consistency on mobile devices.
Screenshots

Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this
I will check for the same styling for all pages

Yep you can fix this :) @manthanmk66


fixed typos

"but kep here for posterit" I'm unsure of on how to fix or if it needs fixing. Might be a joke.

duplicated in another commit

duplicated in another commit


Make modulestate optional in limited API

It doesn't actually make a huge performance difference, but it already works with and without it, so no reason to stop users configuring it.

This is pretty simple so I'll merge it fairly quickly assuming everything passes and there aren't any objections


[Question] Validator for custom action

So I would like to add some custom acrtions for a resource, and would like to apply the validation that the package uses to keep the responses as consistent as possible. Is there any way to do so? Or I need to create a new resource type in order to enforce this kinf of validation?
Thanks for the work on the package :), loving it.

Ah thanks for the feedback!
You could resolve the request class for the similar JSON API request you want out of the service container, by type-hinting it in the controller action method.
The classes are here:
https://github.com/cloudcreativity/laravel-json-api/tree/develop/src/Http/Requests
Note sure if that's what you're after, let me know if it is/isn't!

Worth saying I'm not entirely sure if that will exactly work. I'm quite uncomfortable with custom action stuff because it's a nightmare to maintain when I have no idea what people will try to do with them. The package is trying to support the spec, so it's not really within the scope of the package to support stuff outside of the spec... if that makes sense!

Makes sense, thx for the quick response. Will take a look and see if I can hack it around. :)

Makes sense, thx for the quick response. Will take a look and see if I can hack it around. :)

Did you find a workaround ? I'm facing the same problem

@lindyhopchris hello! Would you mind provide an example of custom controller action with validation? I cannot quite understand how it can be done. I want to create custom action recognize, I can create new Request class for this, but abstract validator have only standard methods like update, create etc. However, I cannot use standard validation method at this route because it's already in use and validation differs dramatically with custom action route. It'll be very nice of you if you point me how to do it at least or add that example to an example repository. Thanks!

@myfbone sorry for slow reply.
if the validation differs drastically from any of the normal JSON API validation put in place by this package, you're probably best using standard Laravel validation. This package is only really designed to do validation if you're following the JSON API spec... if you have a custom action that deviates from the spec, it's not really possible to use this package - but Laravel gives you plenty of options on how to do validation.

@lindyhopchris is there a neat way to return laravel validation errors as JsonApi validation errors?

Yeah, there's a way... it's not neat or documented at the moment, but it works.
Resolve the Validation\ErrorTranslator class out of the service container, then call either the failedValidator or failedValidatorException method. The former creates JSON API error objects, the latter creates a JSON API validation exception that has the error objects in it.
(That class was meant as an internal-only class, I could probably do with adding a documented class to make it easier to do.)

See #486 for error building

@lindyhopchris sounds not too complicated, but a wrapper would be appreciated, too. Thanks anyway for your fast response!


Update docs regarding keep_common modifier.

@fabxc

Actually, I'll reopen this into a non-master branch targeted for the next release.


This build was never aapproved..

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version:
Python version:
Installed using virtualenv? pip? conda?:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the problem
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@hackedaccount2017 ,
In order to expedite the trouble-shooting process, could you please provide the following information
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version:
Python version:
Installed using virtualenv? pip? conda?:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
and the exact sequence of commands / steps that you executed before running into the problem.Thanks!

Please take a look at this link which helps to install the tensorflow.Thanks!


if conditions needs before related code block

When exluding a rule like 1.1.2, because I haven't a separate /tmp Partition, the Audit Playbook can't parse output, because "/tmp" mount is not found on system.
mount:
  /tmp:
  {{ if .Vars.rhel7cis_rule_1_1_2 }}

Solution: Move condition before command or code block:
mount:
  {{ if .Vars.rhel7cis_rule_1_1_2 }}
  /tmp:

multiple files are affected.

hi @ihotz
Thank you for highlighting these improvements to the audit tasks.
As you may have seen there has been a few other PR's pulled in or slightly changed meaning that this one which was linked from your previous PR's may require to be rebased and updated.
We appreciate the work that you have done and if you would like to rebase and update the PR that would be excellent. We are also happy to pick this up along with other improvement plans we have if that works also.
Many thanks once again
uk-bolly

Hi @ihotz
Thank you once again for highlighting the issues and improvements that can be made. We have hopefully now addressed all the issues raised and the related PR's were pulled in a while ago.
To let you know we are also getting ready to release the latest cis benchmarks for rh7 and rh8.
Best regards and thanks once again
uk-bolly


howto: can not see stream on the web page

Hi, I setup the three compents on one PC and I succeeded to push the stream to the ingest(connected log) from the OBS.
ws ip is changed to the LAN ip of this PC in src/wsUrl.js.
But when I refresh the 80 web(by access the PC LAN IP), nothing happens.

Do you see the website?

Do you see the website?

Yes. It's OK.

Yes. It's OK.

I've fought to get everything set up for a couple hours and I'm now in this same situation.

I've fought to get everything set up for a couple hours and I'm now in this same situation.

I've fought to get everything set up for a couple hours and I'm now in this same situation. Had to run the React component as root to bind to port 80. None of the consoles have any output except for the ingest saying that it's connected.

Ingest and WebRTC are the only services which should output to the console. Ingest should say "Listening on port 8084" and webrtc should say "waiting for RTP packets" and then once you visit the site it should say "connections: 1"

I've fought to get everything set up for a couple hours and I'm now in this same situation. Had to run the React component as root to bind to port 80. None of the consoles have any output except for the ingest saying that it's connected.

Ingest and WebRTC are the only services which should output to the console. Ingest should say "Listening on port 8084" and webrtc should say "waiting for RTP packets" and then once you visit the site it should say "connections: 1"

I had it setup in like 15 minutes with droplet creation and all. What exactly is not working for you guys?

I had it setup in like 15 minutes with droplet creation and all. What exactly is not working for you guys?

Lightspeed React communicates via websocket with Lightspeed WebRTC.
can not see this connection.

Lightspeed React communicates via websocket with Lightspeed WebRTC.
can not see this connection.

OK. It's solved.
should change the wsurl in config.json and then npm run build.

OK. It's solved.
should change the wsurl in config.json and then npm run build.

I set the webrtc bind port to <IP_ADDRESS> instead of the machine local ip at the behest of a friend of mine and it works now.  Not sure if I was skirting around another issue of populating the react build/config.json file with the local ip getting reset by git pulling.

I set the webrtc bind port to <IP_ADDRESS> instead of the machine local ip at the behest of a friend of mine and it works now.  Not sure if I was skirting around another issue of populating the react build/config.json file with the local ip getting reset by git pulling.

I am having the same issue as well. OBS can reach Ingest without issue, and I can see the React web page just fine. I can start WebRTC, but it just says "Waiting for RTP packets" and nothing else happens. I've tried setting the WebRTC port to both <IP_ADDRESS> and my local IP, and I've tried setting the React config to both <IP_ADDRESS> and my local IP as well (and I rebuilt after each change), but no matter which combination I use WebRTC never responds. I also just cloned the repositories about an hour ago, so I should be on the latest version of everything.

I am having the same issue as well. OBS can reach Ingest without issue, and I can see the React web page just fine. I can start WebRTC, but it just says "Waiting for RTP packets" and nothing else happens. I've tried setting the WebRTC port to both <IP_ADDRESS> and my local IP, and I've tried setting the React config to both <IP_ADDRESS> and my local IP as well (and I rebuilt after each change), but no matter which combination I use WebRTC never responds. I also just cloned the repositories about an hour ago, so I should be on the latest version of everything.

I am having the same issue as well. OBS can reach Ingest without issue, and I can see the React web page just fine. I can start WebRTC, but it just says "Waiting for RTP packets" and nothing else happens. I've tried setting the WebRTC port to both <IP_ADDRESS> and my local IP, and I've tried setting the React config to both <IP_ADDRESS> and my local IP as well (and I rebuilt after each change), but no matter which combination I use WebRTC never responds. I also just cloned the repositories about an hour ago, so I should be on the latest version of everything.

What does your browser console say?

I am having the same issue as well. OBS can reach Ingest without issue, and I can see the React web page just fine. I can start WebRTC, but it just says "Waiting for RTP packets" and nothing else happens. I've tried setting the WebRTC port to both <IP_ADDRESS> and my local IP, and I've tried setting the React config to both <IP_ADDRESS> and my local IP as well (and I rebuilt after each change), but no matter which combination I use WebRTC never responds. I also just cloned the repositories about an hour ago, so I should be on the latest version of everything.

What does your browser console say?

@colonelpanic762 also make sure you have your wsURL set correctly in the react app! If you didn't do that it could be an issue.

@colonelpanic762 also make sure you have your wsURL set correctly in the react app! If you didn't do that it could be an issue.

Ok, I shut down my test VM to go eat dinner and when I came back and started it all back up, the React config.json had been reset. I put it back on my local IP. I am also now getting a connection through WebRTC, even though I haven't changed anything. I am still not seeing the stream on React, the only error I see is WebRTC: ICE failed, add a STUN server and see about:webrtc for more details

Ok, I shut down my test VM to go eat dinner and when I came back and started it all back up, the React config.json had been reset. I put it back on my local IP. I am also now getting a connection through WebRTC, even though I haven't changed anything. I am still not seeing the stream on React, the only error I see is WebRTC: ICE failed, add a STUN server and see about:webrtc for more details


Refactored the algorithm.py to a separate subpackage

Split the algorithm.py to:

sort.py
string_algorithms.py
matrices.py
No need to create an object to apply the algorithms.
Separate module for matrices related algorithm [which was clubbed with string algorithms before]

@all-contributors please add @sramsubbu  for code


ARROW-11138: [Rust] Add ltrim, rtrim to built-in functions

Hello!
Thanks

These were not added previously as technically they are not in the ANSI SQL standards. Hopefully this can drive a decision on what dialect to support.

These were not added previously as technically they are not in the ANSI SQL standards. Hopefully this can drive a decision on what dialect to support.

Codecov Report

Merging #9108 (22e09cc) into master (fdf5e88) will decrease coverage by 0.00%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master    #9108      +/-   ##
==========================================
- Coverage   82.57%   82.57%   -0.01%
==========================================
  Files         204      204
  Lines       50327    50349      +22
==========================================
+ Hits        41560    41574      +14
- Misses       8767     8775       +8

Impacted Files
Coverage Δ

rust/datafusion/src/logical_plan/expr.rs
76.90% <ø> (ø)

...datafusion/src/physical_plan/string_expressions.rs
87.50% <ø> (ø)

rust/datafusion/tests/sql.rs
99.82% <ø> (ø)

rust/datafusion/src/physical_plan/functions.rs
78.51% <63.63%> (-1.49%)
:arrow_down:

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 fdf5e88...30465a8. Read the comment docs.

Codecov Report

Merging #9108 (22e09cc) into master (fdf5e88) will decrease coverage by 0.00%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master    #9108      +/-   ##
==========================================
- Coverage   82.57%   82.57%   -0.01%
==========================================
  Files         204      204
  Lines       50327    50349      +22
==========================================
+ Hits        41560    41574      +14
- Misses       8767     8775       +8

Impacted Files
Coverage Δ

rust/datafusion/src/logical_plan/expr.rs
76.90% <ø> (ø)

...datafusion/src/physical_plan/string_expressions.rs
87.50% <ø> (ø)

rust/datafusion/tests/sql.rs
99.82% <ø> (ø)

rust/datafusion/src/physical_plan/functions.rs
78.51% <63.63%> (-1.49%)
:arrow_down:

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 fdf5e88...30465a8. Read the comment docs.

@seddonm1

Hopefully this can drive a decision on what dialect to support.

Should I create an issue to discuss it or mailing list? Is there any channel for communications like slack?
@jorgecarleitao
Thanks. Done ✅

@seddonm1

Hopefully this can drive a decision on what dialect to support.

Should I create an issue to discuss it or mailing list? Is there any channel for communications like slack?
@jorgecarleitao
Thanks. Done ✅

@andygrove @alamb , opinions?
My (weak) opinion is that as long as we do not conflict with ANSI SQL (in that we offer a conflicting or incomplete spec), I do not see any problem.

@andygrove @alamb , opinions?
My (weak) opinion is that as long as we do not conflict with ANSI SQL (in that we offer a conflicting or incomplete spec), I do not see any problem.

Thanks @jorgecarleitao and @ovr
My view would be to elect an initial dialect (my preference being Postgres - https://www.postgresql.org/docs/13/functions-string.html which supports ANSI + what appear to be sensible additions), document that in the readme and assess any function PRs against that. The secondary benefit is that we can point to the Postgres (or other) docs for usage instructions.
The risk of not making the decision early risks what happened with Spark SQL where functions were added seemingly ad-hoc making their usage very difficult and no clear feature matrix available.
I am happy to volunteer to update documentation if we can reach the consensus on dialect.

Thanks @jorgecarleitao and @ovr
My view would be to elect an initial dialect (my preference being Postgres - https://www.postgresql.org/docs/13/functions-string.html which supports ANSI + what appear to be sensible additions), document that in the readme and assess any function PRs against that. The secondary benefit is that we can point to the Postgres (or other) docs for usage instructions.
The risk of not making the decision early risks what happened with Spark SQL where functions were added seemingly ad-hoc making their usage very difficult and no clear feature matrix available.
I am happy to volunteer to update documentation if we can reach the consensus on dialect.

I agree with @seddonm1  that ideally we would follow Postgres when possible so we can just re-use all their documentation and semantics and so we don't end up inadvertently creating yet another SQL dialect like spark.
Specifically in this case, it looks like the relevant postgres function is called TRIM. A screen shot from https://www.postgresql.org/docs/9.1/functions-string.html

I agree with @seddonm1  that ideally we would follow Postgres when possible so we can just re-use all their documentation and semantics and so we don't end up inadvertently creating yet another SQL dialect like spark.
Specifically in this case, it looks like the relevant postgres function is called TRIM. A screen shot from https://www.postgresql.org/docs/9.1/functions-string.html

I am also +1 for choosing Postgres dialect as the default.

I am also +1 for choosing Postgres dialect as the default.

I agree with @seddonm1 that ideally we would follow Postgres when possible so we can just re-use all their documentation and semantics and so we don't end up inadvertently creating yet another SQL dialect like spark.
Specifically in this case, it looks like the relevant postgres function is called TRIM. A screen shot from https://www.postgresql.org/docs/9.1/functions-string.html

FYI (because I had to work this out) the way to read the Postgres documentation the first table (Table 9-6. SQL String Functions and Operators) is the ANSI SQL and the second table (Table 9-7. Other String Functions) are Postgres dialect specific implementations. This pattern is standardised for other Postgres documentation.
You can see that ltrim comes from the Table 9-7. Other String Functions section.

I agree with @seddonm1 that ideally we would follow Postgres when possible so we can just re-use all their documentation and semantics and so we don't end up inadvertently creating yet another SQL dialect like spark.
Specifically in this case, it looks like the relevant postgres function is called TRIM. A screen shot from https://www.postgresql.org/docs/9.1/functions-string.html

FYI (because I had to work this out) the way to read the Postgres documentation the first table (Table 9-6. SQL String Functions and Operators) is the ANSI SQL and the second table (Table 9-7. Other String Functions) are Postgres dialect specific implementations. This pattern is standardised for other Postgres documentation.
You can see that ltrim comes from the Table 9-7. Other String Functions section.

Filed https://issues.apache.org/jira/browse/ARROW-11164 for the optional second argument
Filed https://issues.apache.org/jira/browse/ARROW-11165 to document the desired dialect -- I'll try and create a proposal and send a note to the mailing list

Filed https://issues.apache.org/jira/browse/ARROW-11164 for the optional second argument
Filed https://issues.apache.org/jira/browse/ARROW-11165 to document the desired dialect -- I'll try and create a proposal and send a note to the mailing list


Upgrade to istanbuljs

istanbul is deprecated and does not support nodejs 8+ (more specifically async await)
https://github.com/gotwarlost/istanbul/issues/733#issuecomment-310846820.
Would it be possible to upgrade to new  istanbuljs?

+1

you mean istanbuljs/nyc?

Yes

Good

+1


Google Analytics

/botio build

From: MushinBot (botio-academy.horizen.global)

Received
Command cmd_build from @tuanhvdev received. Current queue size: 0
Live output at: https://botio-academy.horizen.global/4613534b100426b/output.txt

From: MushinBot (botio-academy.horizen.global)

Success
Full output at https://botio-academy.horizen.global/4613534b100426b/output.txt
Total script time: 1.54 mins
You can download the generated site at: https://botio-academy.horizen.global/latest.tar.gz
Or view a preview at https://devweb-academy.horizen.global


A component to add formatted section to link out to Prisma resources

We have a goal to increase the linking from the Data Guide back to the Prisma Docs where it makes sense to try to direct some traffic to our tools.  So for instance, in our guide about data types, we could link back to the Prisma docs for type definitions here: https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-schema/data-model#type-definitions or where ever else makes most sense.
It would be great to have a component to link out to the related Prisma docs at the end of an article.  We would manually provide the links and potentially some copy about the relationship, but the formatting would help it to stand out and be standardized across articles.

Design is here: https://www.notion.so/prismaio/Data-Guide-component-for-links-out-to-Prisma-resources-3eebccdf913b40978b46e1e499519a92

Actually, it looks like maybe this is the intended design: https://www.notion.so/prismaio/Data-guide-Prisma-io-outlinks-a8e85075de9d4b2db41b17b9c9b26362?d=1e2f6edc-45f5-4307-903c-cedab2be943f
It'd probably be worthwhile to verify with Matej.

Hey @nilubava, I was just wondering if the suggestions from the merge commit comments were going to be making their way into this as well: https://github.com/prisma/dataguide/pull/80


[PT Run] [Program] FileSystemWatcher Crash

Summary of the Pull Request
What is this about:
Program plugin fail to load if a FileSystemWatcher is initialized for a directory that does not exist or isn't accessible.
Unfortunately the previous PR didn't fully fix the issue: https://github.com/microsoft/PowerToys/pull/14649
What is included in the PR:

Initialize FileSystemWatcher only for valid directories.
Log as warning invalid directories.

How does someone test / validate:

Validate the code
Already tested with an anofficial build: https://github.com/microsoft/PowerToys/issues/11511#issuecomment-1009275679

Quality Checklist

[x] Linked issue: #11511
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[x] Binaries: Any new files are added to WXS / YML

[x] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

Good Idea, let's catch Exception!


Video support?

I was kinda dissapointed when I saw this as the successor to the Remix API only to find it didn't have a feature that I wanted to try out. So far, importing an mp4 works and everything, all up until the export process. I'd love to see this feature implemented.

Hello!  This is something that we'll probably get to eventually, but not soon.
(Remix did this by installing ffmpeg, which is not something that I want to do, as it makes the install process lousy.)

Evan: can you put a step in your pipeline for youtube-dl ? It's what I did
with the old EN api.
On Wed, Sep 6, 2017 at 7:03 PM Thor<EMAIL_ADDRESS>wrote:

Hello! This is something that we'll probably get to eventually, but not
soon.
(Remix did this by installing ffmpeg, which is not something that I want
to do, as it makes the install process lousy.)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/algorithmic-music-exploration/amen/issues/100#issuecomment-327634163,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPg3wx8Ceo1_VOI_9GaxEgxSez_U74gks5sfyLrgaJpZM4PMYCj
.

(Assuming you want an isolated audio track, which youtube-dl can provide)
On Wed, Sep 6, 2017 at 7:37 PM Tom Swisher<EMAIL_ADDRESS>wrote:

Evan: can you put a step in your pipeline for youtube-dl ? It's what I did
with the old EN api.
On Wed, Sep 6, 2017 at 7:03 PM Thor<EMAIL_ADDRESS>wrote:

Hello! This is something that we'll probably get to eventually, but
not soon.
(Remix did this by installing ffmpeg, which is not something that I want
to do, as it makes the install process lousy.)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/algorithmic-music-exploration/amen/issues/100#issuecomment-327634163,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPg3wx8Ceo1_VOI_9GaxEgxSez_U74gks5sfyLrgaJpZM4PMYCj
.

Tomswisher: I know how to download an isolated youtube-dl audio track. I just wanted a nice video support feature to make video remixes, like how Remix did it.
tkell: Alright, thank you!


Expose nativeXrContext and nativeXrContextType for ARKit/ARCore xr flavors

Some mixed reality services need access to the native xr session and xr frame (Azure Spatial Anchors, etc.). We should expose these resources in a similar manner to how we expose the OpenXR xr context today.

[ ] ARCore support
[ ] ARKit support

Azure Spatial Anchors Android requirements:

we need some mechanism for obtaining the arcore_c_api.h header used by the xr component in BabylonNative to build custom react-native arcore android native modules
AzureSpatialAnchors cloud session needs access to the ArCore session and ArFrame
AzureSpatialAnchors needs access to the ArCore anchor to create azure spatial anchors.

Azure Spatial Anchors iOS requirements:

AzureSpatialAnchors cloud session needs access to the ARKit session and frame
AzureSpatialAnchors needs access to the ARKit anchor to create azure spatial anchors. (tracking here: #668)


[Dynamic Regions] max_prefill_count conflicts with large purge-threshhold

Bug Report

What version of TiKV are you using?

v7.0
What operating system and CPU are you using?

x86
Steps to reproduce

3pd(8c) + 3tidb(32c) + 3tikv(32c)
What did you expect?
multiRocksDB out performance baseline
What did happened?
multiRocksDB query P99 18ms
baseline query P99 ~10ms
raft-engine.purge-threshold 200GB conflicts with prefill, because max_prefill_count = 96, this is why the first 5 minutes is good performance, when the file count grows over 96, recycling log does not take effects and performance degrades by around 4x.

This root cause of this issue is that the max size of raft-engine.prefill-for-recycle is 12GB by default. This makes the max capacity of prefilled recycled files is 12 GB / 128MB(target-file-size) = 96.
In this test case, the purge-threshold is set to be 200GB (expect at least 200GB / 128MB = 1600 files for making log recycling effective), massively exceeding the expectation of prefill-for-recycle function.

/severity critical

/type bug

/may-affects-master


[Service Bus] v1 changelog

Since we release hotfixes for v1 Service Bus from hotfix branches, the changelog entries never made it back to the master branch. This PR fixes this problem by copying over contents from the changelog for 1.1.10 update

Should the changes for V7 come after v1?
Or should we order based on the dates?

Its usually recommended to go in chronological order, so thats what I have done


Added alias for "push", "run" and "call".

Fix #477

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


React public url set to plugin domain url

This pull request solves the "Setup react public URL as plugin domain #123" issue.
shelljs was used to setup the public URL, a build-plugin.js file was added which contains the URL setup function which runs right before the "run build" command is run (which creates an optimized version of the app)
Slack username: Mikaelson
Test link: https://sales.zuri.chat

Unclear what this ticket is about


File function

Hi:
I read your paper recently. I thought it great. I have two questions.

What are the function of four optuna_.py files?
How to make  new edge_probabilities files by GAE mentioned ih paper?  There are only two files provied in folder.
Thanks.

Same questions here. @GAugAuthors Can you guys provide the code of generating M? Should I use a well trained GAE or just use a 2-layer GCN and do the forward process?

Sry for the late reply.

The optuna_.py files are for hyperparameter search with the optuna package.
I used VGAE (https://github.com/DaehanKim/vgae_pytorch) for generating the edge_probabilities for GAugM.

I just added the VGAE implementation I used in this repo. Closing this issue.


Use a proper class and fix version rendering

Closes: #175

@RileyApeldoorn and @alter2000 can either of you please review?
Thanks again for helping me troubleshoot this.  Much appreciated.  :smile:

@alter2000 Thanks for the review!
@OpsBotPrime merge!

Pull request approved for merge by @rudymatela, waiting for rebase behind one pull request.

Speculatively rebased as 8caf09a8fd4f88b029bdc1e9fd558367d9683f92 behind #174, waiting for CI …

CI job :yellow_circle: started.


[Feature request] Formatter for notepad

Is your feature request related to a problem? Please describe.
I understand it's not a code editor but it'd be nice if notepad could format texts just prettier for vscode (It might not be as complex as prettier)

How about providing more details of your working situation and purpose? I wonder what the formattor should do for text files, or according to another issue by you, Markdown files?

So basically when I use other text editors like microsoft notepad, it'll get to a time when i'll feel tired of manually arranging texts and also since notepad supports markdown, it will be more productive to have a native formatter.