Cannot parse schema with type cross-referencing

    let raw_schema = r#"
    {
        "type": "record",
        "name": "test",
        "fields": [
            {"name": "a",
             "type": {
                "name": "mytype",
                "type": "enum",
                "symbols": [
                       "SYMBOL_ONE"
                ]
            }},
            {"name": "b", "type": "mytype"}
        ]
    }
    "#;
    let result = Schema::parse_str(raw_schema);

This panics with ParseSchemaError("Unknown type: mytype").
When I "inline" the type, it works.
If you want I can write a test for it.
Not sure if this related to https://github.com/flavray/avro-rs/issues/92.

Yes, this one is indeed a duplicate of #92. I am going to close this issue as duplicate in order to keep any future discussion on the same thread.


line edits for walkthrough directory files

Signed-off-by: Christine Rose<EMAIL_ADDRESS>

Github lost its track, but this has been merged as part of #351.


Update scalajs-env-nodejs to 1.3.0

Updates org.scala-js:scalajs-env-nodejs from 1.2.1 to 1.3.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-js", artifactId = "scalajs-env-nodejs" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #178.


pretrain_detector

When I run ./scripts/pretrain_detector.sh, I encounter the following error：
Traceback (most recent call last):
File "models/train_detector.py", line 4, in
from dataloaders.mscoco import CocoDetection,CocoDataLoader
ModuleNotFoundError: No module named 'dataloaders'
Do you know how to solve it? Thank you for your answers！

Maybe you need to check whether your PYTHONPATH  is the root path of the repo (your/path/for/neural-motifs) or not.

I tried to set pythonpath, but the same problem still occurred.

Have you solved the error now??? I mat the same error at the same condition.


PHP Fatal error:  Allowed memory size of xx bytes exhausted in GzipEncoderPlugin.php

How do you use Sentry?
Sentry Saas (sentry.io)
Version
3.18.2
Steps to Reproduce
I'm not exactly sure how to reproduce the error.  Why is one of your plugins throwing this error?
PHP message: PHP Fatal error:  Allowed memory size of 471859200 bytes exhausted (tried to allocate 65536 bytes) in /var/www/sites/xx/vendor/sentry/sentry/src/HttpClient/Plugin/GzipEncoderPlugin.php on line 53
Expected Result
No error
Actual Result
PHP message: PHP Fatal error:  Allowed memory size of 471859200 bytes exhausted (tried to allocate 65536 bytes) in /var/www/sites/xx/vendor/sentry/sentry/src/HttpClient/Plugin/GzipEncoderPlugin.php on line 53

This is most likely because either you have a lot of information in the event (huge stacktrace, many breadcrumbs, lot's of context) and you might alreay be memory constraint which results in the application running out of memory when trying to send the event to Sentry.
Part of sending the event to Sentry is gzipping the event data since the Sentry server only accepts payloads below a certain size and the gzipping helps with staying below that limit and speeding up the network transfer too. It can be disabled by setting enable_compression to false in the SDK options, however I would suggest to be careful since that could have uninteded side effects where events might be dropped because they exceed the size accepted by Sentry.
Have you tried to reproduce the event being sent and see what data is contained within and if it might be excessively large?

How do I see what data is in the event?
Also, I tried adding another 25MB to the server but I'm still getting the error.  The frustrating part is that if I disable Sentry, my application runs just fine.  Sentry itself seems to be causing the problem here.

You can use the before_send option to get the Event instance we would transmit to Sentry: https://docs.sentry.io/platforms/php/configuration/filtering/#using-platformidentifier-namebefore-send-
Since you are not using a framework it's a little tricky considering what would be in those events since you implemented them yourself it would be interesting if you can pinpoint the exact problem event to see if there might be some kind of recursive issue or if there is something interesting on the request where the problem is being triggered, like if it is a POST request with a large payload. If it's not a manually triggered event it's most likely a PHP Error like a NOTICE or WARNING (or many of them) being (attempted) to sent to Sentry.


Compose files without a version property do not trigger loading of DockerCompose queries

KICS does not load DockerCompose queries when there is not at least one Compose file somewhere in the scanned project that includes a version property. This property is optional per the Compose specification, and even files missing it should trigger loading of said queries.
When specifically scanning a single Compose file missing the property, the only loaded query type is ansible. Manually specifying --type DockerCompose on the CLI does not appear to fix this; it merely leads to no queries being loaded at all.
Adding at least one Compose file with the version property anywhere in the project results in the queries being loaded and all Compose files being scanned correctly; even those "missing" a version.
Expected Behavior
DockerCompose queries are loaded when any Compose file is encountered, even without the optional version property.
Actual Behavior
Compose files without a version property do not trigger loading of DockerCompose queries.
Steps to Reproduce the Problem

Create a project directory containing the following minimal docker-compose.yml:
services:
  postgres:
    image: 'postgres:15.3-alpine'
    environment:
      POSTGRES_DB: 'test'
      POSTGRES_USER: 'test'
      POSTGRES_PASSWORD: 'hardcoded'

Run a scan using the latest KICS version:
docker run -v ./:/project -t checkmarx/kics:latest scan -v -p "/project"

Only the hardcoded credential is detected, as that is covered by the generic Password and Secrets query. However, no Docker Compose–specific issues ("Healthcheck Not Set", "Security Opt Not Set", etc.) are highlighted.

Next, either add a version property to the file or – alternatively – create a second Compose file containing one. The file(s) should now be analyzed as expected.

Specifications

Version: v1.7.3
Platform: Linux (Docker)
Subsystem: DockerCompose

Hello @BVollmerhaus.
After some review, we noticed that without "version", KICS would have more false positives, therefore it needs it even if is Optional.
Could you flag this issue to Feature Request for further development?
Best Regards


lcc: Add golcc compile

Signed-off-by: chentao.ct<EMAIL_ADDRESS>

 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.chentao.ct seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Stop using global variables

There are several places where global variables are used in libsdformat, which makes it difficult to control behavior when there are multiple paths that parse SDFormat files. As @jwnimmer-tri noted in https://github.com/osrf/sdformat/issues/334#issuecomment-683985626:

parsing should always be done against a parsing context or configuration, so that using-code can pass down customizations to any given request to parse, without having process-wide globals. We could add more argument to LoadSdfString but that gets awkward when there are too many. A parsing object would help consolidate (and reuse) the configuration.

In the long term, the best outcome is that libsdformat posts its messages (calls a function) on some logger interface or infrastructure, so that downstream code can easily capture / prefix / redirect / threshold the messages. That might even be better formulated as a "parsing error" interface, rather than unstructured text logging. A parsing library really has no business just remarking plain text into a console -- if the input text is malformed, then libsdformat should be reporting those errors in a structured way (with input line and column numbers, severity, configuration of strict vs permissive parsing, etc.) so that application code can inform the user in a way consistent with the application's behavior.

Places where global variables are used:

https://github.com/osrf/sdformat/blob/sdformat10_10.0.0-pre2/src/Console.cc#L31-L42
https://github.com/osrf/sdformat/blob/sdformat10_10.0.0-pre2/src/SDF.cc#L43-L47
https://github.com/osrf/sdformat/blob/sdformat10_10.0.0-pre2/src/parser_urdf.cc#L53-L63

@azeey Do you think we should close this out, or keep it open to simplify the number of overloads in the future (via a tick-tock)?

I vote for closing this out and creating a new issue for addressing the number of overloads.

Closed via #439

Here are some globals still found on the head of master.  Maybe I checked the wrong branch?
https://github.com/osrf/sdformat/blob/f59a342469bd9c71bd2dc5b325d777164375b06a/src/SDF.cc#L40
https://github.com/osrf/sdformat/blob/f59a342469bd9c71bd2dc5b325d777164375b06a/src/parser_urdf.cc#L52-L63
https://github.com/osrf/sdformat/blob/f59a342469bd9c71bd2dc5b325d777164375b06a/src/Console.cc#L43

Possibly the "configuration difficulties" issue is resolved, but in general library code should avoid using globals as much as possible, both for the usual style lguide and fiasco reasons, and also in support of multi-threaded applications (avoiding race conditions).
There are rare cases where it's impractical to avoid globals, but the links I posted above are all easily fixable with modern C++.


Flutter Gallery recipe browser transition jank

Steps to Reproduce

Run Flutter Gallery in release mode.
flutter run --release

Open "Pesto - Simple recipe browser"

Observe dropped frames during the transition.

Below is the performance overlay from my Nexus 5X. It only lags the first load. After the first load, it's much faster.

flutter doctor
[✓] Flutter (on Mac OS, channel master)
    • Flutter at /Volumes/MacintoshHD/Users/spierce7/frameworks/flutter
    • Framework revision 05fdc2910b (3 hours ago), 2016-11-17 17:50:47
    • Engine revision cea5ed2b9b
    • Tools Dart version 1.21.0-dev.6.0

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.0)
    • Android SDK at /Volumes/MacintoshHD/Users/spierce7/Android/sdk
    • Platform android-25, build-tools 25.0.0
    • ANDROID_HOME = /Volumes/MacintoshHD/Users/spierce7/Android/sdk
    • Java(TM) SE Runtime Environment (build 1.8.0_77-b03)

[-] iOS toolchain - develop for iOS devices
    x XCode not installed; this is necessary for iOS development.
      Download at https://developer.apple.com/xcode/download/.
    x ideviceinstaller not available; this is used to discover connected iOS devices.
      Install via 'brew install ideviceinstaller'.
    x ios-deploy not available; this is used to deploy to connected iOS devices.
      Install via 'brew install ios-deploy'.

[x] Flutter IDE Support (No supported IDEs installed)
    • IntelliJ - https://www.jetbrains.com/idea/

Possibly helped by @chinmaygarde's in progress raster caching fixes.

Thanks for the report! Probably related/same as https://github.com/flutter/flutter/issues/4991 and https://github.com/flutter/flutter/issues/5045 and https://github.com/flutter/flutter/issues/5626
Many of our loads/transitions miss frames on the first load. Then, they get faster and sustain their performance.

@sethladd Why is that it lags the first load? I was trying to track down the cause in observatory with out much luck.
Is it classes / files being loaded? Images being loaded into memory? I'm trying to understand the cause to understand if this is solvable. My Nexus5X dropped to 3 fps yesterday on an initial pesto transition.

@abarth likes to fix performance problems like this...
The chart suggests there's two problems, the initial build+layout is taking too long and then the first few frames are too expensive on the GPU side. Not clear why either of those would be better the second time though.

To be clear, this isn't specific to this screen. I find that on complex screens created with flutter, their opening animations tend to visibly lag on the first open. It's just easy to point this out in your sample app with Pesto, Shrine, and even Contact Profile (to a much smaller degree). After opening the screen a single time, the second or third screen open is drastically faster.
Again, I'm seeing this on my Nexus 5X.

Why does it lag on the first load consistently?

Sorry, I don't know. But we'll take a look at it. I can confirm this behavior on a variety of Android devices.

As per @abarth 's request, here are some screen shots of the cpu profile:
First load (slow):

Second load (faster):

Also, with a stubbed out _resolveImage():

What's this like now? The scrolling refactor may have helped.

@Hixie is the scrolling refactor on the latest alpha, or is it only on master?

Just tried it on master on my Nexus 5X. Still not good.

Yes. I built it off of the master branch.
On Feb 28, 2017 11:33 AM, "Seth Ladd"<EMAIL_ADDRESS>wrote:

@ScottPierce https://github.com/ScottPierce did you build your own
Gallery? (the version in the Play Store doesn't have the latest changes yet)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/6920#issuecomment-283090804,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA1LAbxxT_Er9vPIByp-cbeeTTcj5YLYks5rhExUgaJpZM4K2G1y
.

@sethladd I wish this hadn't been de-prioritized. I've been waiting on this bug to get an understanding of whether or not this lag is just inherent to flutter, or if this can be resolved. The moment I talk or show flutter to any other dev, the first question they have is performance, and the moment they see the lag on the first time any screen opens, they dismiss it.

I totally hear you, apologies for the delay here. This issue (and others like it) will come back to the top, but we're in the middle of a big push to enable a few features for our early adopters. Once we get them unblocked, we can take a fresh look at performance again.
FWIW the thought process was: "first, ensure our early adopters can build the UI mocks they were given by their designers and clients. Then, once they are able to make the screens and show progress, we make their screens and apps go faster."
Thanks for your patience here. We appreciate your support and thanks checking in.

I've confirmed this issue is still reproducible on my Nexus 5X, however it does seem to have gotten better. I've noticed the same degree of lag on some other screens as well.

@cbracken You're looking at perf now right?

Out until Jan 2, but yes I am.


Ensure to list unregistered apps whenever the add from git form got shown

What this PR does / why we need it:
With this PR, it actually fetches the unregistered apps whenever you click on the ADD FROM GIT tab.
I confirmed it worked as well as we'd like on the dev cluster.
Which issue(s) this PR fixes:
Fixes https://github.com/pipe-cd/pipe/issues/2898
Does this PR introduce a user-facing change?:

NONE

Nice work
/lgtm

Great!
/approve


string.replace() using regular expression with the escaped symbols "\‘" and "\’" produces unexpected result in production

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
The following code (notice the symbols ‘ and ’):
'‘The year is 2019’'.replace(/[\‘\’]/g, '')

will produce 'The year is 2019' in development mode (expected), but '‘The year is ’' in production mode (unexpected).
The ‘ and ’ are \u2018 and \u2019 so I guess Angular somehow transformed them to plain text in production mode, I think that is the reason.
After migrating my project from Angular 4 to 12, I found this issue, it didn't happen in Angular 4, but not sure it happened since which version.
In the point of view of regular expression, the ‘ and ’ are not special symbols like . or *, so it doesn't need \, it means/[‘’]/g is enough, and when using like that the issue will not happen. But anyway, I think the issue is kind of serious for me, because developers will be surprised when seeing the result in production mode.
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/angular-ivy-zwf1us
It also happens in ng serve --configuration=production, so you can quickly reproduce the issue.
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 12.2.1
Node: 16.6.2 (Unsupported)
Package Manager: npm 7.20.3
OS: darwin arm64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1202.1 (cli-only)
@angular-devkit/core         12.2.1 (cli-only)
@angular-devkit/schematics   12.2.1 (cli-only)
@schematics/angular          12.2.1 (cli-only)

Hi @phuctv95,
This is expected and the reason for this is that for production builds JS is minified and outputted in ASCII only mode. This is also the default behaviour of other other tools such as https://esbuild.github.io/api/#charset.
ASCII has performance benefits for JS parse time. From previous discussions with the Chrome team it was recommended to use ASCII whenever possible as V8 has optimized parse and scanning paths for ASCII scripts and in particular ASCII-only identifiers https://v8.dev/blog/scanner.
Providing an option to disable the ASCI mode is not something that we'd like to add to our API, especially considering that the workaround is trivial and this is the first issue being reported since we started outputting ASCII-only in early 2017.
My suggestion would be to amend the RegExp to:
'‘The year is 2019’'.replace(/[\u2018\u2019]/g, '');

We can re-evaluate our position in the future if we see more users are experiencing issue around this.

ASCII has performance benefits for JS parse time. From previous discussions with the Chrome team it was recommended to use ASCII whenever possible as V8 has optimized parse and scanning paths for ASCII scripts and in particular ASCII-only identifiers https://v8.dev/blog/scanner.

That makes sense, thank you for the explanation and the suggestion too 👍!


fix(plugins): OIDC flow

fixes the logic for fetching a new access token to avoid authentication errors during the download due to an expired token
refactors the configuration of the plugins using OIDCRefreshTokenBase (OIDCAuthorizationCodeFlowAuth and KeycloakOIDCPasswordAuth) to use oidc_config_url instead of realm, auth_uri and token_uri

realm and auth_base_uri removed from config and docs


[2.x] Test lowest versions too.

What does this PR do? :robot:

Adds the prefer-lowest option to the run-tests.yml workflow matrix.

Does this relate to any issue? :link:
Closes #10

It's not worth the hassle, closing.


Is there a method to create an sharp image from a 3D or 2D array

exp, how to create a sharp image from sth. like
[[[123,123,123,100],[255,254,253,100],[1,2,3,4]........],
[[...,...,...,...],[...,...,...,...].......],
.......
[..............]]

or sth like
[[{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4}...],
[{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4}...],
[{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4}...],
......
[{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4},{r:1,g:2,b:3,a:4}...]]

?
btw How to label this as 'question' ?

Hello, a 2D array will need flattening into RGBA order, plus the width and height need to be passed to the sharp constructor, something like (untested):
const data2d = [ [r1, g1, b1, a1], [r2, g2, b2, a2], ... ];
const flat = [].concat.apply(data2d);

const width = ?;
const height = ?;

// assert flat.length === width * height * channels

sharp(flat, { raw: { channels: 4, width, height })...

Hope this answered your question, feel free to re-open if not.

There is a problem when using [].concat.apply
If there are too much pixels, it will result in Maximum call stack size exceeded

@zszszsz Perhaps try a for loop instead to avoid the recursion (untested):
const data2d = [ [r1, g1, b1, a1], [r2, g2, b2, a2], ... ];
const flat = [];

for (let i = 0; i < data2d.length; i++) {
  flat.push(data2d[i][0]);
  flat.push(data2d[i][1]);
  flat.push(data2d[i][2]);
  flat.push(data2d[i][3]);
}


Updated Footer

Issue Number #41
fixes #41
Thanks for giving me this opportunity to work on this project.
Describe the changes you've made
Updated footer year in 3 files.
Now no need to change everytime.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
Additional context (OPTIONAL)
Add any other context or screenshots about the feature request here.
Test plan (OPTIONAL)
A good test plan should give instructions that someone else can easily follow.
How someone can test your code?
Checklist

[ ] I have added my name in the contributors list at the end of README.md file.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] The title of my pull request is a short description of the requested changes.
[ ] Open Source Program names(OPTIONAL: If you participated in any open-source program then please mention the program name here)

Changes look fine.
But resolve conflicts.

Should I remove that part ?
To resolve the conflict

Done please check it.

Done please check it.

Not done,
Why you deleted the footer from home.html and hindihome.html.
Do the changes.

What changes I need to do

What changes I need to do

Review your changes once.
You have deleted the footer in the home.html and hundihome.html, you were supposed to update the footer as you did in index.html not delete them.

Have done it.
Please check it
If anything needs to be done

Is it correct ?

Not correct.
You have deleted the help bar from the footer.
First update your repo completely then make only the necessary changes.

Ok I will make new PR.


Adds serde_derive feature

to allow serialization and deserialization of the Decimal struct.
It only takes effect if the dependency is specified as such:
fpdec = { version = "*", features = ["serde_derive"] }

The reason for this addition is that I would like to be able to rely on serde support in lfest to serialize the BaseCurrency and QuoteCurrency among others.
I would love to see this change get merged and published so a new version of lfest can be published as well.
Thank you for such an amazing crate, I'm glad I found it!

Thx for the PR.
Unfortunately, Decimal is using an i128 integer for the coefficient and serde doesn't seem to support integers larger than 64-bit out of the box.
I'll have to dig into serde to find a solution.

I've created a branch 'serde'.
The feature 'serde_as_str' allows Decimal instances to be serialized to / deserialized from String.
Maybe you want to give it a try.
If so, please let me know what you think about it.

Just tried out your new feature branch and it looks excellent.
Using the From<Decimal> and TryFrom<String> trait implementations through the serde features is a fantastic way, especially from the users perspective (As they should not be bothered to specify the coeff).
Having to enable both serde and serde_as_str features is the right choice as well, as not everyone will want to use String as the intermediate representation.
Integrating the feature is straightforward as well.
I certainly would be happy seeing these changes in a crates.io release.
Gute Arbeit :)

Solved by adding feature 'serde-as-str'. See version 0.6.0.


Getting "No valid image label found in agent specification" despite providing valid agent name in yaml build definition

Description
Build release stages are failing with error No valid image label found in agent specification. We are trying to allocate an agent from pool Release-Pool-Public maintained by IC3 ES Agent Provider Service.
Area for Triage:

Question, Bug, or Feature?:
Bug
Virtual environments affected

[ ] Ubuntu 16.04
[x] Ubuntu 18.04
[x] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
Job is scheduled and allocated appropriate agent from available pool
Actual behavior
Job is canceled with ADO error message No valid image label found in agent specification. Recreating the pipeline with identical settings sometimes temporarily resolves the problem, but this is not a sustainable workaround.

Repro steps

Trigger release pipeline agent job with pool set to Azure Pipelines with Ubuntu 16.04 or Ubuntu 18.04 agent selected
Observe ADO-canceled job due to no image label found.

Hello, @ericcjobes
Could you please provide a minimal yaml file to reproduce the issue?

@al-cheb I have tried reproducing this with minimal release definition (using classic UI editor as we don't use yaml releases yet) and have not created a successful repro. But, I still do have multiple occurrences of this across several pipelines. I will share the pipeline details those use, but I have not noticed any patterns between repros as far as what steps are executed in each job, besides that they all use Azure Pipelines agents.
Sorry for the UI pictures, as there seems to be no way to "view yaml" for classic UI pipelines any more (these have no 'runs' page as far as I can tell)
First repro:
Agent Setup:

Tasks:

Second repro
Same agent pool (Azure Pipelines)
Tasks:

My attempt to repro using Azure Pipelines pool looked like the following:
Agent setup:

Tasks:

I triggered 5 releases each on Ubuntu-16.04 and Ubuntu-18.04 and was not able to repro. But there are still repros coming in from other pipelines, just not often. I think this issue is best diagnosed via added logging/telemetry from your side if possible.

@ericcjobes , I suggest contact Azure DevOps support about this issue and attach links to failed builds. They will be able to retrieve more information for analyze and answer properly.
In this repository, we are trying to manage only issues related content of Hosted images. Your issue looks more like an issue with some ADO backend logic and assigning builds. I feel that ADO support will have more ways to help you with it.

@ericcjobes ,
Please remove all demands from your pipelines for hosted-agents.
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/demands
Demands and capabilities are designed for use with self-hosted agents so that jobs can be matched with an agent that meets the requirements of the job. When using Microsoft-hosted agents, you select an image for the agent that matches the requirements of the job, so although it is possible to add capabilities to a Microsoft-hosted agent, you don't need to use capabilities with Microsoft-hosted agents.

We found a solution to this issue!
Somehow, ADO lets pipelines (or at least specific releases) be saved even when no Agent Specification is set. I missed this in my investigation as I was looking at the latest release definition, and not the release definition used in the repros.
When navigating to the release definition which repros this issue, and going to Agent Job area, it is clear that Agent Specification field is empty, despite owners of this pipeline stating they had previously selected the relevant agent. Here's the view with no edits made on my side (as in, this is the current state of the release as ADO understands it)

We can fix this by reselecting the correct Agent Specification and saving the pipeline and ensuring it has propagated correctly.


Merge JetBrains plugin integration into master

@patflynn @joaoandremartins @aslo
I want to go ahead and merge the integrate-jetbrains branch into master. @patflynn correctly pointed out that if we need to patch production we can always branch off of a release tag.
Note this branch has already been reviewed, but feel free to look again.
For any open pull requests you can either close it and reopen a new one with master as the target referencing the closed pr (I really wish GitHub had the ability to change the target branch of a PR), or just merge into integrate-jetbrains then sync up master afterwards.
Let me know if you see any issues with this.

Also, prior to merging this I'm going to have to temporarily enable merge commits in our github settings so that we get all the history without squashing.

makes sense.
On Thu, Jul 28, 2016 at 1:36 PM, Etan Shaul<EMAIL_ADDRESS>wrote:

Also, prior to merging this I'm going to have to temporarily enable merge
commits in our github settings so that we get all the history without
squashing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-intellij/pull/798#issuecomment-235967847,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HbfKiOnon5-40vl53bKtnoVepImzks5qaOiRgaJpZM4JXcoR
.

Sounds good to me!

SGTM

@loosebazooka thanks for the gradle review. I've pushed the updates.

@loosebazooka was there anything else here or does it look ok to you? I'll go ahead and merge if it looks good.

The gradle stuff looks fine to me, I haven't looked at the other non-gradle files though.


pipenv --site-packages install doesn't work as expected

Issue description
pipenv was supposed to enalbe site packages in the virtualenv, but it doesn't.
This is especially useful for --dev dependencies, where I have a lot of different projects which I develop with the same dev (black, in the example) dependencies and I don't want it to be installed over and over.
Expected result
pipenv installs black in the virtualenv.
Actual result
pipenv should have enabled system black in the virtualenv instead.
Steps to replicate
This is my Pipfile:
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
black = "==19.10b0"

[packages]

[requires]
python_version = "3"

[pipenv]

As you can see, that same version of black is installed in my system:
yajo@yajolap-tecnativa-com:~/D/p/doodba-scaffolding|copier⚡✚*➜✖?
➤ black --version
black, version 19.10b0
yajo@yajolap-tecnativa-com:~/D/p/doodba-scaffolding|copier⚡✚*➜✖?
➤ python --version
Python 3.7.6
yajo@yajolap-tecnativa-com:~/D/p/doodba-scaffolding|copier⚡✚*➜✖?
➤ python -c 'import black;print(black.__file__)'
/usr/lib/python3.7/site-packages/black.py

I removed Pipenv.lock to avoid problems with it.
Now, let's install it and check if it's using the system package or not:
➤ pipenv --site-packages install --dev
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
✔ Success!
Locking [packages] dependencies…
Updated Pipfile.lock (584643)!
Installing dependencies from Pipfile.lock (584643)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 8/8 — 00:00:01
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
yajo@yajolap-tecnativa-com:~/D/p/doodba-scaffolding|copier⚡✚*➜✖?
➤ pipenv run python -c 'import black;print(black.__file__)'
/home/yajo/.local/share/virtualenvs/doodba-scaffolding-0wqBh-O6/lib/python3.7/site-packages/black.py

See? It was installed when I told him to use the system package!
Let's try the same with raw virtualenv:
yajo@yajolap-tecnativa-com:~/D/p/doodba-scaffolding|copier⚡✚*➜✖?
➤ rm -Rf .venv
yajo@yajolap-tecnativa-com:~/D/p/doodba-scaffolding|copier⚡✚*➜✖?
➤ virtualenv --system-site-packages .venv
Using base prefix '/usr'
New python executable in /home/yajo/Documentos/prodevel/doodba-scaffolding/.venv/bin/python3
Also creating executable in /home/yajo/Documentos/prodevel/doodba-scaffolding/.venv/bin/python
Installing setuptools, pip, wheel...
done.
yajo@yajolap-tecnativa-com:~/D/p/doodba-scaffolding|copier⚡✚*➜✖?
➤ source .venv/bin/activate.fish
(.venv) yajo@yajolap-tecnativa-com:~/D/p/doodba-scaffolding|copier⚡✚*➜✖?
➤ pip install black==19.10b0
Requirement already satisfied: black==19.10b0 in /usr/lib/python3.7/site-packages (19.10b0)
Requirement already satisfied: pathspec<1,>=0.6 in /usr/lib/python3.7/site-packages (from black==19.10b0) (0.6.0)
Requirement already satisfied: click>=6.5 in /usr/lib/python3.7/site-packages (from black==19.10b0) (7.0)
Requirement already satisfied: attrs>=18.1.0 in /usr/lib/python3.7/site-packages (from black==19.10b0) (19.1.0)
Requirement already satisfied: appdirs in /usr/lib/python3.7/site-packages (from black==19.10b0) (1.4.3)
Requirement already satisfied: regex in /usr/lib64/python3.7/site-packages (from black==19.10b0) (2019.12.20)
Requirement already satisfied: toml>=0.9.4 in /home/yajo/.local/lib/python3.7/site-packages (from black==19.10b0) (0.10.0)
Requirement already satisfied: typed-ast>=1.4.0 in /usr/lib64/python3.7/site-packages (from black==19.10b0) (1.4.0)
(.venv) yajo@yajolap-tecnativa-com:~/D/p/doodba-scaffolding|copier⚡✚*➜✖?
➤ python -c 'import black;print(black.__file__)'
/usr/lib/python3.7/site-packages/black.py

Virtualenv properly tells me that the dependency is already present and skips its installation. When I checked where it is, it comes from the system. This is what pipenv should have done, or at least that's what I'd expect; maybe I'm missing something... :thinking:

$ pipenv --support
Pipenv version: '2018.11.26'
Pipenv location: '/usr/lib/python3.7/site-packages/pipenv'
Python location: '/usr/bin/python3'
Python installations found:

3.7.6: /usr/bin/python3.7
3.7.6: /usr/bin/python3.7m
2.7.17: /usr/bin/python2.7

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.7.6',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '5.4.12-200.fc31.x86_64',
 'platform_system': 'Linux',
 'platform_version': '#1 SMP Tue Jan 14 20:07:04 UTC 2020',
 'python_full_version': '3.7.6',
 'python_version': '3.7',
 'sys_platform': 'linux'}

System environment variables:

CHROME_DESKTOP
COLORTERM
DBUS_SESSION_BUS_ADDRESS
DESKTOP_SESSION
DISPLAY
EDITOR
GDMSESSION
GDM_LANG
GIO_LAUNCHED_DESKTOP_FILE
GIO_LAUNCHED_DESKTOP_FILE_PID
GJS_DEBUG_OUTPUT
GJS_DEBUG_TOPICS
HOME
INVOCATION_ID
JOURNAL_STREAM
LANG
LOGNAME
MANAGERPID
NO_AT_BRIDGE
PATH
PWD
QT_IM_MODULE
SESSION_MANAGER
SHELL
SHLVL
SSH_AGENT_PID
SSH_AUTH_SOCK
TERM
TERM_PROGRAM
TERM_PROGRAM_VERSION
USER
USERNAME
WINDOWPATH
XAUTHORITY
XDG_CURRENT_DESKTOP
XDG_DATA_DIRS
XDG_MENU_PREFIX
XDG_RUNTIME_DIR
XDG_SESSION_CLASS
XDG_SESSION_DESKTOP
XDG_SESSION_TYPE
XMODIFIERS
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /home/yajo/.local/bin/:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
SHELL: /usr/bin/fish
EDITOR: code --wait
LANG: es_ES.UTF-8
PWD: /home/yajo/Documentos/prodevel/doodba-scaffolding

Contents of Pipfile ('/home/yajo/Documentos/prodevel/doodba-scaffolding/Pipfile'):
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
black = "==19.10b0"

[packages]

[requires]
python_version = "3"

[pipenv]

Can't reproduce it with latest virtualenv installed, can you verify it with the setup?


[AutoPR resources/resource-manager] fixing readmes in resources

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7163

(message created by the CI based on PR content)


Add a sitemap

Adding a sitemap would be great for SEO. However, I'm not sure if we can use the official @astrojs/sitemap integration because of the proxies. Maybe should @choose-tech/astro provide its own sitemap and we create a custom integration that references it?

Adding a sitemap to your website can indeed be beneficial for SEO. If you're using the @choose-tech/astro framework and are concerned about using the official @astrojs/sitemap integration due to proxies, you have a couple of options:

Custom Integration: You can create a custom integration within your @choose-tech/astro project to generate and serve your sitemap. This approach would involve building a custom sitemap generator that generates the sitemap based on your project's routes and content. You can then configure your build process to generate the sitemap and make it accessible on your website. This way, you have full control over the sitemap generation process and can tailor it to fit your specific needs.

Third-Party Sitemap Generator: Alternatively, you can use a third-party sitemap generator tool that works well with @choose-tech/astro. There are various third-party tools available that can crawl your website and generate a sitemap for you. These tools typically provide more advanced features and options compared to a basic sitemap integration. Once you generate the sitemap using the third-party tool, you can include it in your @choose-tech/astro project and configure your website to reference it accordingly.

Both approaches have their own pros and cons. If you prefer more control and customization, building a custom integration might be the better option. On the other hand, using a third-party sitemap generator can save you development time and provide additional functionality.
Consider your specific requirements, available development resources, and the level of control and customization you need to make an informed decision on which approach suits your needs best.


Update model-binding.rst

The action method should be 'Edit' if the URL is '.../edit/2'

Hi @SyniaN, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;


Adding Promise to GA call

Steven -- this isn't directly related to merging this PR, but before I saw that you'd created this, I started working on #39, and ended up with a very different solution. If the way you've done it is correct, then I think the way I did it has to be wrong, but I'm not sure why mine's wrong, and I'm not seeing any difference in requests made to Google Analytics...I'm a bit of a newbie with creating Promises, so my assumption is that I'm misunderstanding something. =
If you get a chance at any point to take a look at my changes, and could tell me why they're incorrect, I'd appreciate it.

Hi Jesse,
there was an issue during testing with my pull-request.
I will decline it.


Fixing errors thrown when using theme with hugo v0.112.x

When running the example site with latest released hugo version 0.112.3, errors are thrown:
Error: error building site: "/home/andreas/hugo-theme-relearn/exampleSite/content/shortcodes/attachments.en.md:8:1": failed to render shortcode "attachments": failed to process shortcode: execute of template failed: template: shortcodes/attachments.html:2:4: executing "shortcodes/attachments.html" at <partial "shortcodes/attachments.html" (dict "context" .Page "color" (.Get "color") "content" .Inner "icon" (.Get "icon") "pattern" (.Get "pattern") "style" (.Get "style") "sort" (.Get "sort") "title" (.Get "title"))>: error calling partial: "/home/andreas/hugo-theme-relearn/layouts/partials/shortcodes/attachments.html:35:44": execute of template failed: template: partials/shortcodes/attachments.html:35:44: executing "partials/shortcodes/attachments.html" at <.Language.ContentDir>: can't evaluate field ContentDir in type *langs.Language

This PR closes #540.

Thanks a lot! Will test that out

Sadly it was a bit more complicated as I also want to provide older Hugo versions.
But nevertheless a big "Thank you" for pointing me in the right direction.


LogSoftmax in the output but not in the description/code (page 532)

Hi Sebastian,
There is an output of created RNN model which includes log softmax as the last layer on the page 532:
(softmax): LogSoftmax(dim=1)

But based on the code of the model and on the following steps we do not need this layer because we use nn.CrossEntropyLoss() where the input is expected to contain raw, unnormalized scores for each class.
Is it correct?
Thank you.

Good catch. I remember seeing it and flagging it in several places. It's unfortunate that one of it slipped through! You are right, CrossEntropyLoss works with logits and the LogSoftmax shouldn't be there. However, it also doesn't break the network:
E.g., consider the example data:
import torch.nn.functional as F

logits = torch.tensor([
    [-1.1, 0.1],
    [-0.4, 2.1],
    [3.1, -1.1]]
)

y_target = torch.tensor([1, 0, 1])

Then
>>> ce = torch.nn.CrossEntropyLoss()
>>> ce(logits, y_target)
tensor(2.3524)

and
>>> log_softmax = torch.log(F.softmax(logits, dim=1))
>>> ce(log_softmax, y_target)
tensor(2.3524)

Because
>>> log_softmax == torch.log(F.softmax(log_softmax, dim=1))
tensor([[True, True],
        [True, True],
        [True, True]])

The LogSoftmax is unnecessary and redundant though. It's basically applied twice, @haydenliu.
PS: Thanks for all the other comments. Please keep posting! I am trying to catch up in the next couple of days.

Oh, now I see. It just shows up in the description/output on the next slide but it's not actually used. Phew 😅

Hi Sebastian,
Yes I mean it is not used anywhere in the code and in the following steps :)
In any case, thank you for a very useful remark about log softmax.

Added it to the errata.


[REQUEST] Unicode Support/Hack

I'm from Asia, currently using mib 2.5 (5NA035045E) , equipped with EU firmware H29.319.75_HIGH2GP_EU
MHI2_ER_VWG13_P4521_1
I discovered that when streaming Chinese songs via Bluetooth. The characters don't show up correctly while the speedometer is able to show it correctly.
By switching to units from china definitely will fix the problem and I heard that even people from Hong Kong faced the same issue where Chinese characters are not showing up in their MIB 2.5
Just wondering this issue can be fixed by the toolbox in the future? or it's easier to flash to CN firmware but I would like to keep the original nav maps?
I did some research, it seems like it involves flashing EEPROM, is it possible via software or requires soldering skills which is too troublesome for sure.
Note : If it's connected via car play or android auto, Chinese characters show up fine.

Hi!
Good question. I know there are some specific linguistic things inside the unit. Maybe it's a font thing. If that's the case, fonts are very easy to replace, but then we would need the right one. I know this is the case with Arabic language setting on the unit, not sure about China. Let's try!
If you have China firmware, you can mount app.img as a qnx6 volume in Debian, and find the fonts inside (somewhere in /net/mmx/mnt/app/eso/hmi/lsd/Resources)

ok, thanks for the tips. let me try to get it later from people in china. 👍

I have gotten the flash version 0841
https://www.dropbox.com/s/wmmwmeocosl5e97/3GD035048_0841软件.rar?dl=0
here's the link but I'm not familiar with Linux so I have trouble mounting it. I will continue to try.
Please help me to take a look (if possible, tell me the commands as well so that i can explore other files)

I have gotten the flash version 0841
https://www.dropbox.com/sh/ca3ctu7qt2b4c7x/AADbFRIw77EOeOQ1UeRaAxX-a?dl=0
here's the link with a song name in unicode I'm not familiar with Linux so I have trouble mounting it. I will continue to try.
Please help me to take a look (if possible, tell me the commands as well so that i can explore other files)

Hi,
I had a look into the system on my Australian Golf 7.5 with 'MIB 2.5 High' and can confirm that the fonts contain no Chinese characters.
I will try to mount app.img while this may need some time as my computer runs Windows and WSL by default doesn't support qnx filesystems.
Will keep you posted.

There are more differences than just fonts. I tried to add Chinese font ZYHei_GB18030_c.ttf and change the Font.properties and there is no observable changes.
I have no plan to touch the binaries but I do want to import the whole skin into my 'MIB2.5High'. The Chinese firmware contains a skin3  and this is not on my device.

There are more differences than just fonts. I added Chinese font ZYHei_GB18030_c.ttf and edited the Font.properties which results in no observable changes. I have no plan to touch the binaries but I do want to import the whole skin into my 'MIB2.5High'. The Chinese firmware contains a skin3 and this is not on my device.

okay. not working.

Closed for inactivity

There are more differences than just fonts. I added Chinese font ZYHei_GB18030_c.ttf and edited the Font.properties which results in no observable changes. I have no plan to touch the binaries but I do want to import the whole skin into my 'MIB2.5High'. The Chinese firmware contains a skin3 and this is not on my device.

okay. not working.

Finally, I got some time and tried again... while I don't understand how the Font.properties works, CJK characters can be displayed by directly replacing the fonts as in the names.
In my unit, replacing the fonts with  ZYHei_GB18030_c.ttf found in your firmware only partially worked as the plan, non-bold numbers are now squares just like the CJK characters old fonts.
In short, it works, and probably in 2 ways:

change the Font.properties
create/find a new font containing all characters...

There are more differences than just fonts. I added Chinese font ZYHei_GB18030_c.ttf and edited the Font.properties which results in no observable changes. I have no plan to touch the binaries but I do want to import the whole skin into my 'MIB2.5High'. The Chinese firmware contains a skin3 and this is not on my device.

okay. not working.

Finally, I got some time and tried again... while I don't understand how the Font.properties works, CJK characters can be displayed by directly replacing the fonts as in the names. In my unit, replacing the fonts with ZYHei_GB18030_c.ttf found in your firmware only partially worked as the plan, non-bold numbers are now squares just like the CJK characters old fonts.
In short, it works, and probably in 2 ways:

change the Font.properties
create/find a new font containing all characters...

BTW, it is /mnt/app/eso/hmi/lsd/Resources/skin**[whatever number]**/Fonts/

I have gotten the flash version 0841
https://www.dropbox.com/sh/ca3ctu7qt2b4c7x/AADbFRIw77EOeOQ1UeRaAxX-a?dl=0
here's the link with a song name in unicode I'm not familiar with Linux so I have trouble mounting it. I will continue to try.
Please help me to take a look (if possible, tell me the commands as well so that i can explore other files)

I tried merging fonts with fontForge. it works now.

There are more differences than just fonts. I added Chinese font ZYHei_GB18030_c.ttf and edited the Font.properties which results in no observable changes. I have no plan to touch the binaries but I do want to import the whole skin into my 'MIB2.5High'. The Chinese firmware contains a skin3 and this is not on my device.

okay. not working.

Finally, I got some time and tried again... while I don't understand how the Font.properties works, CJK characters can be displayed by directly replacing the fonts as in the names. In my unit, replacing the fonts with ZYHei_GB18030_c.ttf found in your firmware only partially worked as the plan, non-bold numbers are now squares just like the CJK characters old fonts.
In short, it works, and probably in 2 ways:

change the Font.properties
create/find a new font containing all characters...

BTW, it is /mnt/app/eso/hmi/lsd/Resources/skin**[whatever number]**/Fonts/

I have gotten the flash version 0841
https://www.dropbox.com/sh/ca3ctu7qt2b4c7x/AADbFRIw77EOeOQ1UeRaAxX-a?dl=0
here's the link with a song name in unicode I'm not familiar with Linux so I have trouble mounting it. I will continue to try.
Please help me to take a look (if possible, tell me the commands as well so that i can explore other files)

I tried merging fonts with fontForge. it works now.

Hi, how does it work? I am trying now, but I am worried about damaging the unit system.


Create an installation variant for the minimum versions of all dependencies

Rush supports the concept of installation variants - we can use this feature to create a variant that installs the minimum version of each dependency, and then run two separate builds nightly - one that uses the variant to test against the low end of our version ranges, and one that runs rush update --full that tests against the high end of our version ranges.

@KarishmaGhiya I assume we are not going to do this based on the approach you are going to tackle https://github.com/azure/azure-sdk-for-js/issues/7050 correct? If so please close this issue.

I think i can give this method a shot on my local nad see how it works. If it gives me the same issue that i was running into before with rush (the builds and tests failing due to internal source references) then i will proceed with whatever i have planned for #7050


export modal and focus context

Closes #3309
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

As mentioned on #3309, we'd like to avoid exposing internal contexts if possible, so I'm going to close this for now. Let's discuss alternatives over there.


[MAINTENANCE]: SSL Certificate renewal

Issue Name
SSL Certificate renewal
Issue Name
The SSL Certificates must be renewed before March.
Issue Discussion
This issue was discussed between the Scripps team and LEIDOS on 2024.02.13
Related WBS task
https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/7

The SSL certificates have been updated on the sites. This ticket will be closed in 1 week, if no further discussions/issues arise.


Zoom to Markers and Clustered Markers

I can't get ngMap -- which is an awesome library! -- to zoom to include markers while also clustering them. Here's the html:

Marker Cluster

<div<EMAIL_ADDRESS>as vm">
    <ng-map zoom-to-include-markers="true" ></ng-map>

}

When the page opens I get a beautiful display of ocean :).
FYI, the calls to @ViewBag... are part of the ASPNET5 MVC6 view in which ngMap runs.
If I leave out the zoom-to-include-markers attribute, and substitute zoom and center attributes, everything works fine.

 Sorry. Closing this issue as out of scope


[SPARK-25946] [BUILD] Upgrade ASM to 7.x to support JDK11

What changes were proposed in this pull request?
Upgrade ASM to 7.x to support JDK11
How was this patch tested?
Existing tests.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4783/
Test PASSed.

Test build #98496 has started for PR 22953 at commit 7b19dc8.

cc @gatorsmile @srowen @HyukjinKwon

ASM6 supports Java 9 while ASM7 supports Java 9, Java 10, and Java 11.

Looks good to me.

Test build #98496 has finished for PR 22953 at commit 7b19dc8.

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

Merged build finished. Test PASSed.

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

Thanks. Merged into master.


Fix DeviceDescriptorCollection always adding a language descriptor

Fix Issue #3 and add test

Good catch-- thanks! ^_^


Error with ipapi.co

We are using this plugin and ipapi.co with a paid plan. Somewhat recently, we've been getting cURL timeout errors, but only when using ipapi.co as the API Source.
cURL error 28: Connection timed out after 5073 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

If I switch to a different API source, things work fine. I was going to maybe contact ipapi.co directly, but their API status shows no issues, and I can curl it directly from the command line and it works fine.
Any thoughts?

@davist11 it looks like the endpoint was incorrectly set to ipapi.com in the last update, when it should be ipapi.co
It has been rectified in the latest release. My apologies!

Haha dang I should have noticed that. Silly TLDs. Thanks!


Godot 3.2.1 bakedlightmap issue

Godot version: 3.2.1 stable win64
OS/device including version: Windows 10 PRO
When I use a small "cell size" value for the bakedlightmap, the size of the scene file grows extremely big.(more than 700MB). This makes every save or runs process takes quite long, and of course the app becomes very big. (even though the generated PNG files are less than 10MB).

Is this behavior normal? is there a work arround for such big scene files?
Thanks

There are known issues with BakedLightmap in 3.2, see #30929. The lightmapper will be rewritten for Godot 4.0.
As for the scene file size issue, try saving the scene as .scn instead of .tscn (which is a text-based format). You may be able to save only the baked lightmap data to a .res file to avoid having to convert the entire scene to a binary format.


PXBLUE-2609 Removed px blue references

Fixes #  PXBLUE-2609

Changes proposed in this Pull Request:

pxblue ==> brightlayer-ui

How is this building for you?
C:/Users/Evan/Documents/git/pxblue/icons/mui/demos/showcase/src/App.tsx
TypeScript error in C:/Users/Evan/Documents/git/pxblue/icons/mui/demos/showcase/src/App.tsx(2,24):
Could not find a declaration file for module '@brightlayer-ui/icons-mui'. <EMAIL_ADDRESS>implicitly has an 'any' ty
pe.
  Try `npm i --save-dev @types/brightlayer-ui__icons-mui` if it exists or add a new declaration (.d.ts) file containing `declare module '@brightlayer-ui/icons-mui';`  TS7016

    1 | import React from 'react';
  > 2 | import * as Icons from '@brightlayer-ui/icons-mui';
      |                        ^
    3 | import { Grid } from '@material-ui/core';
    4 | const meta = require('@brightlayer-ui/icons-mui/index.json');
    5 |

I just did a fresh clone of the repo; ran cd mui && yarn start

@emclaug2 do you want to give this one another go before merging?


dsg

@den99f

@me daf

Hi @den99f . It looks like this PR was a mistake?
I'm going to close this for now; let me know if that's incorrect.


Change nodata value

Change the code so that we set NODATA to 255 as well as flagging it on the data array, so it's written to the output TIF file
Testing that we can re-run the 2019 Eastern crop mask
Re-structure the data used to run the regions.

BEFORE (orange is 0 values):

AFTER (orange is nodata areas):


Build failing with SDL2 issue

I'm hoping to use the monomer package for a new Haskell GUI app.
I struggle a lot with tools (cabal, stack, ghcup, brew, etc), so please make allowances.
I'm on an M1 MacBook Air, and aware this adds complication.
I have got further so far with a x86-64 install of ghcup, in as much as I can "stack build" and "stack exec" a baby console application.
I am so close now to monomer building, but there's this:
Configuring monomer-<IP_ADDRESS>...
monomer> build (lib + exe)
Preprocessing library for monomer-<IP_ADDRESS>..
Building library for monomer-<IP_ADDRESS>..
[  1 of 107] Compiling Monomer.Common.BasicTypes
[  2 of 107] Compiling Monomer.Common
[  3 of 107] Compiling Monomer.Common.Lens
<command line>: dlopen(/Users/peter/.stack/snapshots/x86_64-osx/a96a5ad76d190b44c809567fcba944cd8f4a81d09ae1cf67da7052c4060eac9e/9.2.5/lib/x86_64-osx-ghc-9.2.5/libHSsdl2-<IP_ADDRESS>-6ko4UgbuFKCKc2Pe5S0jk-ghc9.2.5.dylib, 0x0005): symbol not found in flat namespace '_SDL_AddEventWatch'

SDL2 appears to be <IP_ADDRESS> and the docs there say "This function is available since SDL 2.0.0.". Everything else was installed fresh this morning so should be latest.
Is this a flawed SDL2 build, a dependency error, ...?

Hi @peterjamesward!
I'm also using an M1 MacBook, and since GHC 9.2 it works well without using Rosetta. I think the problem you have is that the system-level version of SDL2 is outdated (the <IP_ADDRESS> version is for the Haskell bindings). If you installed SDL2 with Homebrew, based on the docs you can update it with:
brew update
brew upgrade sdl2

Yes, all the tooling I'm using is for arm64. I guess the most important point is that you need to install Stack through ghcup, since the standard Stack installer does not support arm64.
I don't remember having to do something special to install arm64 libraries with Homebrew (I think it's the default).

Happy days. Thank you so much for your response, it was timely and sorely needed.


Try to use with a json file

Hi,
Thanks for this beautiful navigation, i want to use with a json file existing.
i try this but i have error: Warning: Each child in a list should have a unique "key" prop.
Thanks for help.
Code:
import React, { useState, useEffect } from 'react'
import axios from 'axios'
import {Navigation} from 'react-minimal-side-navigation';
import 'react-minimal-side-navigation/lib/ReactMinimalSideNavigation.css';

const Rooms = () => {
    const [rooms, setRooms] = useState([])

    useEffect(()=> {
         axios.get('/api/v1/rooms.json')
         .then( resp => {
             setRooms(resp.data.data)
         } )
         .catch( resp => console.log(resp) )
    }, [rooms.length])

    const grid = rooms.map( item => {
        return { title: item.attributes.name, itemId: 'test/'+item.attributes.name,}
    })

    const MenuItems = [grid]

    return (
        <>
          <Navigation
              activeItemId="/test"
              onSelect={({itemId}) => {
                // maybe push to the route
              }}
              items={[
                {
                  title: 'Rooms avaibles',
                  itemId: '/test',
                  subNav: MenuItems,
                },
              ]}
            />
        </>
      );
}

export default Rooms

I will look into this :smiley:

@Hykox There is a problem with your code
const grid = rooms.map( item => {
    return { title: item.attributes.name, itemId: 'test/'+item.attributes.name,}
})

const MenuItems = [grid]

The subnav property expects array of objects [{title: 'Chandler', itemId: "/test/" + 'Phoebe'}]
You have supplied [][]{} (array of array of objects)
I am not sure what you are trying to establish as the json is not attached herewith.
but please do checkout the documentation & examples to clarify.
Thanks.

@Hykox There is a problem with your code
const grid = rooms.map( item => {
    return { title: item.attributes.name, itemId: 'test/'+item.attributes.name,}
})

const MenuItems = [grid]

The subnav property expects array of objects [{title: 'Chandler', itemId: "/test/" + 'Phoebe'}]
You have supplied [][]{} (array of array of objects)
I am not sure what you are trying to establish as the json is not attached herewith.
but please do checkout the documentation & examples to clarify.
Thanks.

Not solved a problem :(, i go check documentation

array.map returns an array which makes grid an arrya of objects, which canbe directly fed into the subnav object

array.map returns an array which makes grid an arrya of objects, which canbe directly fed into the subnav object

But I need to implements name and itemId, not include directly the data ?

Tab A
   SubTab A
   SubTab B
   SubTab C
Tab B
   SubNav Z

Your approach should get you something like this if you provide two objects in array with another set of array as subNav item


Please provide a way to mount a Spring Cloud Config Server as a Kubernetes ConfigMap

Is your feature request related to a problem? Please describe.
No problem - quite the contrary: Spring Cloud Config Server works so well I'm trying to extend its reach!
Describe the solution you'd like
I'd love for some way - a controller or operator or CRD or something - for Kubernetes to be able to "see" a Spring Cloud Config Server instance as a ConfigMap so I don't have to read values from ConfigServer during CI build, then create a ConfigMap, then connect the app to the ConfigMap out of that. I want to cut out the middle process.
Describe alternatives you've considered
It's not impossible to get values from the Config Server to my Kubernetes apps, obviously. It's just less natural. And, also the easiest path right now only works for Spring Boot. With this approach, any app of any type (Python, Go, .NET, etc) would be able to see the configuration.
Additional context

@ryanjbaxter @spencergibb Is there any plan for this feature? In case, I'm available to help.

@ThomasVitale thanks for the offer.  Internally we have some work being done in this space and want to see how that shakes out

@ryanjbaxter ok, thanks!


Some symlinks need sudo

Some of the symlinks need to be executed with sudo. These includes everything in the etc folder:
/etc/inputrc
/etc/locale.gen
/etc/locale.conf
/etc/vconsole.conf
Currently, I simply have put sudo in when calling them, but this is considered bad style. Maybe there's a better solution?

These links should probably not modified automatically by my scripts.
Therefore, I close this issue.


Orchestrator: Start containers with agents and shut them down when everything is done

Containers from images built in #14
'Everything is done' == there are no tests left in DB, all agents have IDLE status in DB and send corresponding heartbeats

Also, agent ids should be equal to container id, because they are inseparable from each other and it can reduce additional entity

Should be using DockerService.buildAndCreatecontainer, which is now in PR #81


proposal: sync.Map: generic sync.Map version

Proposal Details
I've tried to implement generic version of sync.Map and tests shows significant performance improvements
The test are passed. I'm not sure,  could such a boost be caused only by generic approach without changing the underlying logic?
https://github.com/Gaudeamus/syncMapGeneric
                                                          │   classic     │                generic                │
                                                          │   sync.Map    │                syncMap                │
------------------------------------------------------------------------------------------------------------------│
                                                          │    sec/op     │    sec/op      vs base                │
LoadMostlyHits/*syncmap.SyncMap[int,int]-10                  3.460n ±  6%    1.025n ± 16%  -70.38% (p=0.000 n=10)
LoadMostlyMisses/*syncmap.SyncMap[int,int]-10                2.264n ±  3%    1.228n ± 11%  -45.77% (p=0.000 n=10)
LoadOrStoreBalanced/*syncmap.SyncMap[int,int]-10             310.1n ±  2%    206.5n ± 29%  -33.40% (p=0.000 n=10)
LoadOrStoreUnique/*syncmap.SyncMap[int,int]-10               562.4n ±  7%    412.5n ±  6%  -26.66% (p=0.000 n=10)
LoadOrStoreCollision/*syncmap.SyncMap[int,int]-10           2.9290n ± 34%   0.7798n ± 22%  -73.38% (p=0.000 n=10)
LoadAndDeleteBalanced/*syncmap.SyncMap[int,int]-10           4.242n ± 35%    1.468n ±  5%  -65.38% (p=0.000 n=10)
LoadAndDeleteUnique/*syncmap.SyncMap[int,int]-10            1.8440n ± 41%   0.5278n ±  1%  -71.37% (p=0.000 n=10)
LoadAndDeleteCollision/*syncmap.SyncMap[int,int]-10          3.856n ± 26%    1.060n ± 13%  -72.51% (p=0.000 n=10)
Range/*syncmap.SyncMap[int,int]-10                           1.331µ ± 23%    1.280µ ±  9%   -3.83% (p=0.025 n=10)
AdversarialAlloc/*syncmap.SyncMap[int,int]-10                199.2n ±  8%    156.9n ±  9%  -21.23% (p=0.001 n=10)
AdversarialDelete/*syncmap.SyncMap[int,int]-10               38.56n ±  9%    34.69n ± 10%  -10.05% (p=0.004 n=10)
DeleteCollision/*syncmap.SyncMap[int,int]-10                1.4440n ± 41%   0.5640n ±  8%  -60.94% (p=0.000 n=10)
SwapCollision/*syncmap.SyncMap[int,int]-10                   165.7n ±  2%    121.8n ±  2%  -26.50% (p=0.000 n=10)
SwapMostlyHits/*syncmap.SyncMap[int,int]-10                  28.73n ± 33%    13.44n ±  7%  -53.24% (p=0.000 n=10)
SwapMostlyMisses/*syncmap.SyncMap[int,int]-10                601.4n ±  7%    520.1n ±  3%  -13.52% (p=0.000 n=10)
CompareAndSwapCollision/*syncmap.SyncMap[int,int]-10        13.885n ± 21%    6.327n ± 10%  -54.43% (p=0.000 n=10)
CompareAndSwapNoExistingKey/*syncmap.SyncMap[int,int]-10    2.3880n ±  3%   0.5291n ±  1%  -77.84% (p=0.000 n=10)
CompareAndSwapValueNotEqual/*syncmap.SyncMap[int,int]-10    3.1185n ± 32%   0.9878n ± 16%  -68.32% (p=0.000 n=10)
CompareAndSwapMostlyHits/*syncmap.SyncMap[int,int]-10        20.18n ±  7%    10.39n ± 14%  -48.51% (p=0.000 n=10)
CompareAndSwapMostlyMisses/*syncmap.SyncMap[int,int]-10      6.510n ± 47%    1.131n ± 27%  -82.62% (p=0.000 n=10)
CompareAndDeleteCollision/*syncmap.SyncMap[int,int]-10      12.320n ± 17%    5.797n ± 10%  -52.95% (p=0.000 n=10)
CompareAndDeleteMostlyHits/*syncmap.SyncMap[int,int]-10      28.18n ± 15%    10.50n ± 18%  -62.73% (p=0.000 n=10)
CompareAndDeleteMostlyMisses/*syncmap.SyncMap[int,int]-10    2.272n ± 39%    1.389n ±  5%  -38.90% (p=0.007 n=10)
geomean                                                      17.76n          8.085n        -54.47%

I don't see a proposal here.  Are you asking a question?  Questions and discussions in general are better handled in a forum such as golang-dev.  See https://go.dev/wiki/Questions.  Thanks.
Yes, the generic approach can be faster in some cases, because it can reduce the overhead required for interface boxing and interface method calls.
I'm going to close this issue.  Please comment if you disagree.

I understand benefits of generic Vs interface. Question arises only
because, I don't understand why not  implement it if it gives such boost
without drawbacks
On Fri, Aug 23, 2024, 01:22 Frederik Zipp @.***> wrote:

Also, duplicate of #47657 https://github.com/golang/go/issues/47657
—
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/69027#issuecomment-2305848082, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZCUDGQ34MDUYYXSY2ALXLZSZQBLAVCNFSM6AAAAABM66JSXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBVHA2DQMBYGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Because simply changing the code would not be backward compatible, and would break existing users.  See issues #47657 and #48287.

Ok, sorry I made you think it's proposal to "simply change code"
On Fri, Aug 23, 2024, 01:41 Ian Lance Taylor @.***>
wrote:

Because simply changing the code would not be backward compatible, and
would break existing users. See issues #47657
https://github.com/golang/go/issues/47657 and #48287
https://github.com/golang/go/discussions/48287.
—
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/69027#issuecomment-2305867427, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZCUDEF6SMQDQ65ESA4223ZSZSJPAVCNFSM6AAAAABM66JSXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBVHA3DONBSG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Apologies if I'm misunderstanding.  In any case, as I said above, discussions should take place on a forum.  Thanks.


Dependency on RFMIX Output Format

HI! I have been looking at Tractor for usage in a new project. The program for Local Ancestry that we are likely to use in this project is Flare. This program outputs predicted ancestry in VCF format with AN1 & AN2 as fields. The program predicts ancestry only for the variants at which the input file has GT data.
Given that Tractor seems to require input in RFMIX format, there are some concerns with attempting to use the program. Is there anything in development to support other LA programs such as Flare?
Any help would be appreciated, thanks!

Hi @kscott-1, Thank you for your interest in Tractor.
We've just updated our scripts, ensuring compatibility with FLARE in the extracting tracts script. Feel free to explore the latest version and reach out if you have any questions or feedback. Kindly note that the Tractor code has also been modified, so please pull the latest changes before your runs.

Awesome, thanks for your work! I will be testing it out.


Android 14 Permission Issue

Hi
Does this plugin work on Android 14 with change in the way permissions are handled?
I can't bypass the requestPermission call. I tried following comment from @cordovarduino project issues but no Luck!
https://github.com/xseignard/cordovarduino/issues/31#issuecomment-93310108
how to solve this?
Thanks

I had the same issue so I did some digging around and came up with this fix and it seems to be holding up on everything I've tested so far.
repo: https://github.com/zemrys/cordova-plugin-usb-serial
changes: https://github.com/okhiroyuki/cordova-plugin-usb-serial/compare/main...zemrys:cordova-plugin-usb-serial:main

hi @zemrys
Thanks for the repo.
One more problem i am facing.
How to persist the permission after reboot?
At the moment every time the device reboot, it asks for permission.
I am bit novice with java and tried to add following code in the UsbBroadcastReceiver.java file of the plugin;
`/**
* Handle permission answer
* @param context
* @param intent
* @see android.content.BroadcastReceiver#onReceive(android.content.Context, android.content.Intent)
*/
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (USB_PERMISSION.equals(action)) {
synchronized (this) {
	**UsbManager manager = (UsbManager) context.getSystemService(Context.USB_SERVICE);
	PendingIntent permissionIntent = PendingIntent.getBroadcast(context, 0, new Intent(USB_PERMISSION), 0);
	for (UsbDevice usbDevice : manager.getDeviceList().values())
	{
		if (usbDevice.getVendorId() == 6790 && usbDevice.getProductId() == 7523)
		{
			manager.requestPermission(usbDevice, permissionIntent);
		}
	}**

    Log.d(TAG, "Permission to connect to the device was accepted!");
    callbackContext.success("Permission to connect to the device was accepted!");

    // unregister the broadcast receiver since it's no longer needed
    activity.unregisterReceiver(this);
  }
	}
}`

Added following in AndroidManifest.xml;

<activity android:directBootAware="true" .....
//under activity node

Then added device_filter.xml in the res folder.
I followed below article;
https://emteria.com/blog/remember-android-usb-permissions
Still the permission dialog pops up.
Any idea or pointer how to resolve this?
Thanks
R


[bug] Setting resizable(false) when using WebviewWindow::builder on macOS causes the application to consume excessive CPU, ultimately leading to the program freezing and becoming unresponsive.

Describe the bug
Setting resizable(false) when using WebviewWindow::builder on macOS causes the application to consume excessive CPU, ultimately leading to the program freezing and becoming unresponsive.
code:
let window = WebviewWindow::builder(app, "main", tauri::WebviewUrl::App("/".into()))
        .title("ChatGPT")
        .inner_size(800.0, 600.0)
        .fullscreen(false)
        .resizable(false)
        .transparent(true);

Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Mac OS 15.0.1 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.17.0
    - pnpm: 9.11.0
    - npm: 10.8.2

[-] Packages
    - tauri 🦀: 2.0.2
    - tauri-build 🦀: 2.0.1
    - wry 🦀: 0.44.1
    - tao 🦀: 0.30.3
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli : 2.0.2

Stack trace
No response
Additional context
No response

Cannot reproduce here. However, the symptom is very similar to https://github.com/tauri-apps/plugins-workspace/issues/1918. Maybe you have plugin-window-state installed?

Cannot reproduce here. However, the symptom is very similar to tauri-apps/plugins-workspace#1918. Maybe you have plugin-window-state installed?

yes,I use plugin-window-state,but It seems to be working now in version 2.0.4.


Feedback & suggestions

Hi @gopaldhola99, really nice plugin. Great work! I've been having a play with it in my app and made a couple of tweaks in my own fork and got a few suggestions too:
Minor tweaks:

I've added child parameter to the StickerView this seems pretty essential for likely the most common use case of this plugin being sticking an image
I got rid of ImageQuality enum and simply replaced it with a pixelRatio parameter. This again is pretty important so you can output images at necessary & exact sizes /
I standardised the UI code for _ResizePoint and _FloatingActionIcon
I've added an aspectRatio optional parameter to the Sticker
I've moved the _initialStickerScale in to the individual stickers

Things I'd like to add:

Ability to have granular control over if a sticker can be moved, scaled, edited, deleted - this would work nicely for something like a watermark
A way of setting the initial position of stickers. Possibly updating their position programatically too as it is possible to move a sticker out of view, and then you have no way of getting back.
A way of reordering the Z value of the stickers programatically. So the app could have a layers UI
buttonStyle & primary color for retheming

Feedback & discussion

I think it would be a huge improvement to be able to see the sticker outline & action buttons overflowing outside of the StickerView. Sometimes when placing images you will often need to position them in a place that hides the controls. I've had a play looking at OverflowBox but not had any success. Not sure if you have ideas for this?
Panning and zooming the whole StickerView would be nice, I had a very quick play with InteractiveViewer but didn't have any luck with it. This would really elevate the plugin and make it a very handy tool for precision stickering! ;)
Changing StickerView box size (eg: due to device orientation change) does not translate the stickers scale & position accordingly. Again something that would be a very worthwhile addition. Probably wouldn't be too much work
There a little issue when you start rotating a sticker, it seems to rotate really quickly at first. I had a little look at the code but couldn't wrap my head around the maths
Not sure why isText is required, if a Sticker is just a widget, and there are edit button callbacks, then leave the text edit UI etc to the app creator. Stickers can just be treated equally. Or perhaps a TextSticker class could exist which hold the String. Even in this case isText shouldn't be necessary

I'm happy to send a pull request with any changes I make but I thought I should check that you are open for PRs atm. I know the plugin is in early stages and a few todo's dotted around the code so there is a good chance you have a plan for some of the above!
Thanks,
Jimmy

Hey @gopaldhola99 I've added StickerController to my fork, currently it only allows the parent of StickerView to fire the SelectNone action which is useful for saving the image. At the moment it uses enums but I don't think they be sufficient for more advanced interactions such as reordering layers etc. Perhaps we would need it to use classes. Let me know your thoughts regarding the inclusion of a controller class.
I've noticed the code is 5 months old, I actually came across the package whilst in transit and failed to not ice that. Do you you plan to continue working on Stickerview or should I continue with my own fork?
Thanks

@jimmyff can you send me your forked project?

Hey @jeeldev9, I actually ended up creating something entirely bespoke for my project so I could achieve all of my feedback points above. At the moment it's tied quite specifically to my application so would requite some work to publish but I may do that further down the line

Hey @jimmyff  Did you work on a new package ?

@jimmyff Please update this...


diybiosphere-tng

@sjamesparsonsjr @jasonbobe some random notes re passing torch /  collaborating on new better sphere site, esp contribution features (will be updated)
resources

old script that dynamically generates website from google sheet content: https://github.com/100ideas/impossiblelabs-reports
review biosummit crew priority list link

first goals?
-v1:  streamline content submission / editint

google form -> google sheet -> script updates github md content?
james gets diybio.org gmail addr
we have shared gsuite form + sheet

todo verify we all have write access to form etc

2020-01-26 tasks

[ ] @sjamesparsonsjr: communicate excitement to collab back to biosummet crew
[ ] @100ideas: review biosummitcrew feature/priority list, research possible new site frameworks

[ ] netlify's git-backed plugin looks interesting https://cms-demo.netlify.com/#/workflow

Awesome! I am excited to go boldy into developing the website further. I updated your post @100ideas with the link to the priority list. It's still pretty rough but this google form feature is number one on the list!

Heya @100ideas This week we talked about analytics for the entries on the site. We were thinking about a list of all the entries that we could look through for patterns to potentially find ill-formated entries, get a sense for where there are gaps in entries and other sorts of understandings about the whole corpus of entries.
We figured we could write a python script to go through all the entries since all the entries are easily accessible md files in the repo, but I had a thought that the algolia search index might already be the list we need. Does that make sense to you?

[ ] Could you get me access to the algolia dashboard?

And while I have your attention:

[ ] How do I view the staging site build?


[Module Builder] Dynamic Section 'Box'

Notion ticket link

Dynamic Section 'Box'

Implementation description

Select from dropdown, render different module builder component depending on state change
Need to revisit once other components (StaticContent, etc.) are complete!

Steps to test

In pages\index.tsx, use < ModuleSectionSelect /> and pass sectionNumber to it
Ex. < ModuleSectionSelect sectionNumber={2} />

What should reviewers focus on?

Works as intended
Styling

Checklist

[x] My PR name is descriptive and in imperative tense
[x] My commit messages are descriptive and in imperative tense. My commits are atomic and trivial commits are squashed or fixup'd into non-trivial commits
[x] I have run the appropriate linter(s)
[x] I have requested a review from the PL, as well as other devs who have background knowledge on this PR or who will be building on top of this PR

Works as intended 👍


issue when intersected pattern

hi i noticed that when you make a pattern like (3564) which mean that the draw line will get intersected with a circle that had been touched before.. it never match on confirm
so i've added some code you may want to added it to your code :)
change - (NSNumber *)patternToUniqueId method to

(NSNumber *)patternToUniqueId
{
NSArray *copy = [self.cellsInOrder copy];
NSInteger index = [copy count] - 1;
for (id object in [copy reverseObjectEnumerator]) {
if ([self.cellsInOrder indexOfObject:object inRange:NSMakeRange(0, index)] != NSNotFound) {
[self.cellsInOrder removeObjectAtIndex:index];
}
index--;
}
long finalNumber = 0;
long thisNum;
for(int i = self.cellsInOrder.count - 1 ; i >= 0 ; i--){
thisNum = ([[self.cellsInOrder objectAtIndex:i] integerValue] + 1) * pow(10, (self.cellsInOrder.count - i - 1));
finalNumber = finalNumber + thisNum;
}
return @(finalNumber);
}

Best regards

Hi Emadhegab,
First of all thanks for trying it out, and pointing issues in it. BTW, I've revamped the project and added a lot of customisable features.
Could you have a look at the latest version, and if you find issues, please feel free to send pull requests for merge.
Cheers,
Suraj


nodeip-configuration.service can't start. http: server gave HTTP response to HTTPS client

Hi all!
After configuring my cluster 4.9.0-0.okd-2022-02-12-140851 for private registry i have an error for starting nodeip-configuration.service.
level=warning msg="failed, retrying in 1s ... (2/3). Error: initializing source docker://quay.io/openshift/okd-content@sha256:f19112d58ddca7b801e14bbeeca4dc708bab27922680a23a70dda2c9a2db5bb8: (Mirrors also failed: [nexus.mycompany.ru:60001/okd-mirror/okd@sha256:f19112d58ddca7b801e14bbeeca4dc708
bab27922680a23a70dda2c9a2db5bb8: pinging container registry nexus.mycompany.ru:60001: Get \"https://nexus.mycompany.ru:60001/v2/\": http: server gave HTTP response to HTTPS client]):

I understand an error and found the bug https://github.com/containers/podman/pull/12064 which is fixed in podman version >= v3.4.3
Can i update the podman version manualy may be or should I wait for okd automatic update only? Also I can't find any version or patch for okd where this should be fixed.

All host content is controlled by OKD's machine-os-content image. You may make changes via enabling Fedora repos and running rpm-ostree install/update - but this might break future upgrades

Ok, so I have a choice of

Manual package update for node
Configure https protocol for my registry (prefered)
Do you plan to add this bug to any update?


Render referenced assets as standalone files but minified and hash-stamped

HTTP/2 is coming to IIS on Windows Server too (soon) and a feature that will immediately become useful if not essential is being able to render referenced assets not as a bundle but standalone, just minifying them and hash-stamping the file names.
That would aid in many standalone, easily cacheable files, which HTTP/2 prefers.
@AlexCuse what are your thoughts on this?

I think this is a good thing to look into - 1.0 is currently delayed as I'm trying to revamp the configuration mechanism but that would be a good spot to do it I think.
Would .AsIndividualFiles() make sense as the name for the method on bundle?

My guess is it would.


Can't connect to SFTP when using keyfile

If use a keyfile to connect to a SFTP server, I get always a error message "Operation not permitted". I have tried RSA format, since for some reason ed22519 seems to be not supported.

#674 Here talks a little about


widget result appears after plot

The result returned as a widget attribute (widget.result) shows up after the plot, so when the sliders are adjusted the text output makes for messy animation. How can this np.array text be removed?

This happens in the Lorenz example notebook

If the function that interact is called on returns a value, that value will be displayed in addition to any other things that are explicitly displayed.  Try removing the return statement from the function.

Thanks


devDeps<EMAIL_ADDRESS>

Bump appium to latest.
Blocked by

[x] #27

[x] #26

@SocketSecurity ignore<EMAIL_ADDRESS>
shell access, install scripts ok

@SocketSecurity ignore<EMAIL_ADDRESS>@SocketSecurity ignore<EMAIL_ADDRESS>
shell access ok

@SocketSecurity ignore<EMAIL_ADDRESS>
network access ok

@SocketSecurity ignore npm/<EMAIL_ADDRESS>
network access ok

@SocketSecurity ignore<EMAIL_ADDRESS>
install scripts ok


Opensource?

Hi @qilee-work, thanks for your attention, I will release the code by this week.

Hi @qilee-work , I have updated the repo


undo/redo for polygon on progress?

tried it myself but i can't and seem there's no sample around for an on progress object to undo, in my case, polygon.

@gpbaculio
#162
I will fix bug.
Thanks

@gpbaculio
Please check issue #162. It is fixed.


add basic opam switch support

fix #3

Is there anything required on my side to get this PR merged? No pressure, just that I've not contributed to zed's extensions before so I'm not sure of the process.


Chrome support

Hi! I'm the creator of https://github.com/cpiber/NebulaEnhance, and recently I've received a request to basically provide the functionality you do, since you don't have Chrome support (https://github.com/cpiber/NebulaEnhance/discussions/7).
In light of this I first wanted to ask if you plan on adding support. My extension is available in both browsers, so simply implementing it would mean stealing your extension's content.

Hey @cpiber I appreciate that you checked in first -- go right ahead!
This code supports the mozilla-chrome polyfill if you need it. As I'm sure you've noticed the current state of the code is a bit outdated now, I originally intended to keep up with Nebula updates and improve the extension but alas life got in the way ;)
Have fun out there. I'll edit my readme to point to NebulaEnhance

Thank you, this is very kind of you.
I can always offer you maintainer access to NebulaEnhance, I'd be happy to see you there!


replace eumd:DateTimeStamp with standard datatype, remove eu:URI

Header-AP-Voc-RDFS2020.ttl defines non-standard datatypes:
eu:URI  rdf:type rdfs:Class ; cims:stereotype "European" , "Primitive" .
eumd:DateTimeStamp  rdf:type rdfs:Class ; cims:stereotype  "eumd" , "Primitive" .

This is similar to https://github.com/Sveino/Inst4CIM-KG/issues/27, but unlike profcim these Primitives are used:
md:Model.modelingAuthoritySet cims:dataType eu:URI ;
md:Model.profile cims:dataType eu:URI ;
dcat:startDate cims:dataType eumd:DateTimeStamp

It's better to replace with standard prop classes and datatypes:
md:Model.modelingAuthoritySet a owl:ObjectProperty.
md:Model.profile a owl:ObjectProperty.
dcat:startDate a owl:DatatypeProperty; rdfs:range xsd:dateTimeStamp.

I prefer to represent URLs as real URLs (object props without range) not literals.
If you prefer literals, use this (but the only benefit of xsd:anyURI is that it allows URLs with invalid chars):
md:Model.modelingAuthoritySet a owl:DatatypeProperty; rdfs:range xsd:anyURI.
md:Model.profile a owl:DatatypeProperty; rdfs:range xsd:anyURI.
dcat:startDate a owl:DatatypeProperty; rdfs:range xsd:dateTimeStamp.

Yes, we should definitely remove eumd:DataTimeStamp and eu.URI. I also prefer the use of  owl:DatatypeProperty;

We will need to see what we add in CIM on this - in the domain

fix02-datatypes-74.ru


Questions on strategy settings

Hi,
I'm a bit new to the trading/strategy params.  Is there any docs on breaking down the following to help understand the strategy the bot will take.  Thanks!
Strategy parameters
GapSec=3.0
SpreadEntry=0.0020
SpreadTarget=0.0050
PriceDeltaLimit=0.10
TrailingSpreadLim=0.0008
TrailingSpreadCount=1
OrderBookFactor=3.0
UseVolatility=false
VolatilityPeriod=600

I've recently updated the README file with the details of each parameter (link here)

Thank you.. just curious The SpreadEntry should always be greater then SpreadTarget?  Is there any cases, like above, where you'd want the Entry lower then the target?
cheers

Got it.  Just another question,  can you break down the exit strategy on this trade:  I'm having difficulty figuring out when blackbird will automatically exit for the profit(not sure with the amounts).
Thanks!
[ 06/02/2016 19:09:27 IN MARKET: Long OKCoin / Short Bitfinex ]
Bitfinex: 	542.48 / 542.64
OKCoin: 	540.09 / 540.39
Kraken: 	538.48 / 539.20
OKCoin/Bitfinex:	 0.47% [target -0.46%, min  0.21%, max  0.67%]

The exit will be triggered when the OKCoin/Bitfinex spread will reach -0.46%, as defined by the target. Note that Blackbird won't exit at -0.46% but will try to wait a little longer to see if the spread continues to decrease. If that's the case the profit of the trade will increase.


x/tools/go/types: line number out of range

Gc rejects to compile the following program:
package a //line :1000000000

saying:
line number out of range

gotype compiles it successfully.
Compilers should agree on whether it is a valid Go program or not.
on commit af817890aa7b628234075a6cb01a3a435fb8317d

The spec doesn't mention the interpretation of //line comments - this is a tool (compiler)-specific feature. I think there are 2 issues here:

The compiler should probably ignore //line comments that don't start at the beginning of the line.
The compiler should do something sensible when the //line comment is incorrect (as in this case).

FWIW, go/types simply ignores incorrect //line comments or //line comments with out-of-range (64bit int) line numbers.
Leaving to rsc.

I understand that this is implementation-specific, but there seems to be no point in having different behavior in different compilers here. This makes side-by-side comparison of compilers difficult.

I believe cmd/compile (gc) should accept this program. The //line comment doesn't start on the beginning of a line and should be ignored. Making this a gc bug.

Fixed in go1.8 by d390283ff42c44230ac25800efca231b952fd3ed.


Does parquetjs run under VS2017/node_v8.11.4 ?

Hi there,
I have installed - with some difficulty - parquetjs under node v8.11.4 in win10/VisualStudio2017. The ultimate destination is a Lambda function under AWS. However, there are some errors during the load phase (fs.opensync(config.json) - which does not exist at the path provided). I am wondering if parquetjs can be used in this environment ... ?
parquetjs_install.txt

Parquetjs works well on AWS Lambda.  However since lambda runs on linux you might have to build parquetjs (which include thrift c++ modules that have to be compiled) in a linux docker or vm.

If you go with Docker: amazonlinux:2017.03 matches the Lambda execution environment.

thanks, I'll give it a try - may have to reconsider since win10 is only the development platform for an AWS application

Thanks @vweevers yes this is how I build stuff that has to be compiled.   @christian2345  Visual Studio (Windows) has plugin to publish to aws lambda, but that is not the only delivery mechanism.   You can go directly to aws lambda and upload a zip file or use the aws-cli:
aws lambda update-function-code --function-name my-function --zip-file fileb://mycode.zip

@ZJONSSON Are there any additional steps you have to take in order to make it work on Lambda? I have a Docker container running amazon linux with node 8.10, running npm install on my project which includes parquetjs. After zipping and uploading, my Lambda still gives me an error like before:
"errorMessage": "/var/lang/lib/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by /var/task/node_modules/lzo/build/Release/node_lzo.node)",`
Is there anything I have to do like moving .so files to a /lib folder?

@aconanlai Amazon Linux 1 or Amazon Linux 2? You may need to install or update some packages in order to build native modules:
sudo yum install gcc gcc-c++ libgcc make

Sorry, I misread, didn't see you already successfully ran npm install.

@vweevers thanks for the response. this is what i'm doing:
FROM amazonlinux:latest

add my files, etc

RUN yum install gcc44 gcc-c++ libgcc44 cmake wget tar zip gzip make -y

install node, etc

npm install

zip, upload, etc

@aconanlai, are you copying node_modules to docker image? Try adding node_modules to .dockerignore file?

@anton-yurchenko i'm only copying my lambda code and the package.json.

i solved this by using images from here rather than the amazonlinux image:
https://github.com/lambci/docker-lambda


Refactor CA Logic

The way this was done was a little half-baked, everything was separate except the self-signed issuer, which would lead to really confusing logic to enable it based on both whether it was required by the client CA or server CA, compounded by the fact the server CA needed to generate it in different circumstanes whether or not the CA was provided from an external source.  This separates concerns, so the logic is vastly simplified, and makes client CA stuff un-conditional, as they are all internal anyway and not accessed by a browser.

Yeah, looks goo on existing clusters too, nothing blew up!


build: Bump 3rd party container versions

PR Checklist
Please check if your PR fulfills the following requirements:

[X] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[X] I have fully tested (add details below) this the new feature or bug fix (if not, why?)  Smoke tested; needs a regression run.
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

recheck


Encounter PythonNotInstalled error when running Burn book example

I encountered a PythonNotInstalled error when trying to run the Burn book example. I faced a similar issue with the project example. Do I need to install the Python runtime to resolve this?

@an1217, thanks for reporting it. Yes, you will need Python to be installed. We use HuggingFace python library to download datasets for training MNIST. It's only required for this step and any other parts are pure Rust based execution.
CCIng @louisfd. Probably we should also update the getting started Book section to tell Python is required too.

，感谢您的举报。是的，您需要安装 Python。我们使用HuggingFace python库下载数据集以训练MNIST。它只是此步骤所必需的，任何其他部分都是纯粹基于 Rust 的执行。
CCIng .可能我们还应该更新入门书籍部分，以告诉 Python 也是必需的。

Thanks for your reply, after I installed python, I could not get huggingface raise ConnectionError(f"Couldn't reach '{path}' on the Hub ({type(e).name})"), Ask which one is used I may need to download the address and copy it to local myself

Hello, @antimora !
In China, Hugging Face service is not availabele., bus it is only supported dataset source, so burn-dataset-0.10.0\src\source\huggingface\mnist.rs will panic with "Couldn't reach '{path}' on the Hub" for Chinese user.
I'm not sure the exact reason. Someone said, " in China Generative AI service must  use real-name management, but obviously  Hugging Face does not".
And as a possible solution, I know pytorch torchvision dataset lib download MNIST data  from AmasonAWS, which is available in China. Like bellowing :
    mirrors = [
        "http://yann.lecun.com/exdb/mnist/",
        "https://ossci-datasets.s3.amazonaws.com/mnist/",
    ]

Hello, @antimora ! In China, Hugging Face service is not availabele., bus it is only supported dataset source for Burn, so burn-dataset-0.10.0\src\source\huggingface\mnist.rs will panic with "Couldn't reach '{path}' on the Hub" for Chinese user.
I'm not sure the exact reason. Someone said, " in China Generative AI service must use real-name management, but obviously Hugging Face does not".
And as a possible solution, I know pytorch torchvision dataset lib download MNIST data from AmasonAWS, which is available in China. Like bellowing :
    mirrors = [
        "http://yann.lecun.com/exdb/mnist/",
        "https://ossci-datasets.s3.amazonaws.com/mnist/",
    ]

Yeah, unfortunately the logic for the sites are in HuggingFace datasets lib. The best thing that I can recommend is to use a proxy that allows access to huggingface. See, https://discuss.huggingface.co/t/huggingface-not-accessible-to-china/55482

Yeah, unfortunately the logic for the sites are in HuggingFace datasets lib. The best thing that I can recommend is to use a proxy that allows access to huggingface. See, https://discuss.huggingface.co/t/huggingface-not-accessible-to-china/55482

This link, in fact *.huggingface.co, is not available from  China.

Ok. Here is the text from the site:

you should add proxy on your machine

Hugging face is a major site that stores all metadata for the data sources. It is like cargo.io that we rely on to build crates. Duplicating the raw data is not. The pre-processing logic and code is hosted. It is unfortunate for you and I hope you can find a proxy that allows connection.