HSIEO-5803: Util to Enable IPM system-wide

Use this new branch (Stable-IPM) for future development work. Closing the main PR in isc/zpm repo.

Enabling zpm command in namespaces that currently do not have IPM installed.
Pending question: Do we want to install zpm-perforce and zpm-studio-ui together with IPM? I think we should install them separately (presumably in HS-specific use cases). But open to discussion.

@isc-kiyer  Have updated the review with your requirements addressed mostly. One different opinion I have is that I think we should still enable IPM via zpm command directly issued in any namespace that does not yet have IPM. But it can have less customization comparing to the "enable" shell command. We can discuss that in detail if needed.
I've put some small concerns in "TODO" in this PR. Changes in this PR are aligned with what I've discussed with Michelle including the /Mgr/IPM/ file dir to store local artifact.
Please provide some feedback, and I will test it out meanwhile. Thank you!

@isc-kiyer  Have addressed most of the comments; I put a thumb-up to all the resolved ones.
For upgrade IPM, I think might be cleaner to do them separately from this command (right now I feel like it is doing too much already); any thoughts?
Also have put a comment for prompting user for remote versions above.


Swappable camera tents

Modify the case so that the camera 'tent' can be swapped to different (i.e., longer/shorted)..
This means the camera and ring light are attached to the camera body

Peg system has been incorporated into the model by @jacobstasiewicz . Additionally the tent system has screws attaching tot eh body, just in case the pegs do not work. @jacobstasiewicz , please close this when the new tent and new polycase CNC files are uploaded.

All files are uploaded


ci: update bulwark-gosec.yaml

Codecov Report

Merging #120 (18c3a71) into main (efb33fe) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 18c3a71 differs from pull request most recent head ee87199. Consider uploading reports for the commit ee87199 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #120   +/-   ##
=======================================
  Coverage   81.15%   81.15%
=======================================
  Files           4        4
  Lines         382      382
=======================================
  Hits          310      310
  Misses         65       65
  Partials        7        7

Continue to review full report in Codecov by Sentry.

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


Running without cuda

Those running without cuda:
predictor = build_sam2_video_predictor(model_cfg, checkpoint, device="cpu")

Could you provide more details about your question? Are you inquiring about support for CPU inference?

SAMURAI is based on SAM2. Maybe you can check this  https://github.com/facebookresearch/sam2/issues/71.

 First, install SAM2 with the SAM2_BUILD_CUDA=0 environment variable as mentioned in the SAM2 documentation here.
Then you need to edit this line from device="cuda:0" to device="cpu":
https://github.com/yangchris11/samurai/blob/d1359707f0c7f0ab56e061cc8c3a6447c446b01f/scripts/demo.py#L44
I also tried changing the device_type to cpu for the torch.autocast on L72, but this caused a bunch of cascading errors for me. I ended it up leaving it as cuda, and PyTorch complained, but everything still ran.

Well, actually I was putting for those who might get an error due to cuda.

Well, actually I was putting for those who might get an error due to cuda.

Yes, I think your OP was interpreted as a question rather than advice, and since I had just happened to do the same thing, I expanded for clarity.


[GLUTEN-3598][CH] Support to config the hash algorithm for the ch shuffle hash partitioner

What changes were proposed in this pull request?
Now the hash algorithm of the ch shuffle hash partitioner is cityHash64, which is different from vanilla spark, when there is one side shuffle of the join fallbacking, the hash id are different between the ch and vanilla spark, so add a configuration to control the hash algorithm for the ch shuffle hash partitioner.
Close #3598.
(Fixes: #3598)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

LGTM

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3604_time.csv
log/native_master_11_02_2023_78104be3e_time.csv
difference
percentage

q1
35.24
34.98
-0.264
99.25%

q2
24.57
24.86
0.287
101.17%

q3
40.02
38.38
-1.641
95.90%

q4
35.17
37.54
2.368
106.73%

q5
71.58
71.16
-0.426
99.40%

q6
8.46
7.29
-1.172
86.15%

q7
87.93
88.90
0.978
101.11%

q8
86.73
87.43
0.701
100.81%

q9
117.18
120.87
3.687
103.15%

q10
52.82
51.83
-0.994
98.12%

q11
20.51
19.61
-0.897
95.63%

q12
25.31
26.28
0.975
103.85%

q13
48.85
48.19
-0.662
98.64%

q14
19.51
18.42
-1.091
94.41%

q15
34.77
32.90
-1.875
94.61%

q16
16.24
15.99
-0.254
98.43%

q17
101.80
101.55
-0.245
99.76%

q18
146.94
147.25
0.301
100.21%

q19
16.90
17.00
0.093
100.55%

q20
31.22
31.82
0.609
101.95%

q21
226.75
226.44
-0.314
99.86%

q22
13.40
13.39
-0.003
99.98%

total
1261.91
1262.07
0.159
100.01%


Installation

Hi everyone,
I tried to install everything via the file gazelle-setup.sh on debian 9 but also on ubuntu manually, following all the steps correctly.
In the end, when it has to restart all the services, it gives me error in PHP and in FASTCGI.
I tried not to make him copy the php.ini file but the probelma persists.
Can someone help me?
Thank you
alby696

Some details about the errors....

Hi,
the error that I generate php7.0 is this.
Thanks

You need to edit
nano /etc/php/7.0/fpm/pool.d/www.conf
Change:
user = vagrant
group = vagrant
With:
user = www-data
group = www-data
And start php again
service php7.0-fpm start


HTML

#HTML
##User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that i can easily find and read information
##Acceptance Criteria
GIVEN a Prework Study Guide webstie
WHEN I visit the website in my browser
THEN I see four boxes tilteld HMTL, CSS, Git, JavaScript with assocated notes list

learned about the HTML strucutre and body


Best way to decide which promises to call

Hello! Could you provide any idea of how to decide which promises should I use according to local data?
For example: I have to register user this is promise No.1, also I have promise No.2 for sending his Push notifications token to server. The problem is how to call fulfilling promises No.1 & No.2 if I have enough data for promise No.2 and how to call just No.1 when I haven't data for promise No.2?
Should I use nested closures such as:
promise1()
.done {
  promise2()
  .done {
  }
}

Big Thanks!

Your question is not clear enough for me I’m afraid.

I'll try to describe:
I have number of API calls which are already return Promise and I try to understand which is the right way to use promises in situation when: I receive some data from first API call and then I should decide to call next promise or not according to previous response

This is not a promise question, is an architecture question.

It is not clear to me still, one does not “call” a promise.
Try reading our documentation.


React componentDidCatch not able to handle exceptions in Server Side Rendering

When using componentDidCatch and the ErrorBoundary pattern, I would expect to be able to handle JS exceptions in JS. However, these seem to bubble up to React.Net and throw in C# no matter what I do.
"Error while rendering "CommentsBox" to "react_NcDXGhXrkmj56hcuuqRug": TypeError: Unable to get property 'one' of undefined or null reference at render (Script Document:257:13) at resolve (React.Core.Resources.react.generated.js:4273:6) at render (React.Core.Resources.react.generated.js:4373:8) at read (React.Core.Resources.react.generated.js:4349:8) at renderToString (React.Core.Resources.react.generated.js:4607:4) at Global code (Script Document [3]:1:1) Line: 257 Column:13"
Using the exact sample from React.NET/src/React.Sample.CoreMvc/wwwroot/js/Sample.jsx
With the following in my .cshtml
@React.Web.Mvc.HtmlHelperExtensions.React(Html, "CommentsBox", new { throwRenderError = true });

When running the same code in a browser the ErrorBoundary catches exceptions correctly.
Is there a recommended way of handling exceptions that I am missing?

Released in 3.3. Sample use is here


Support tags set names with comma and double quotes, and projects without a tag set

The "Open CSV in Blender..." command now no longer crashes if the tagset contains, commas, double quotes etc...
The main change is that strings in the exported CSV files (for tagset names and spot labels) are now correctly encoded, with double quotes.

You failed to reproduce the problem because you put the comma into the tag name and not the tag set name.


Mobile ion species not being applied to EP calculations

When doing electrostatic potential calculations on a PDB file in the browser APBS server, after introducing data in the mg-auto Options --> "MOBILE ION SPECIES PRESENT IN THE SYSTEM (OPTIONAL)" option, the ions don't seem to be taken into account in the final input file*.
Find attached an image of the values introduced.

*The input file generated is:
read
mol pqr gzmio8olo5.pqr
end
elec
mg-auto
dime 97 129 129
cglen 59.9641 66.6927 67.3489
fglen 55.273 59.231 59.617
cgcent mol 1
fgcent mol 1
mol 1
lpbe
bcfl sdh
pdie 2.0
sdie 78.54
srfm smol
chgm spl2
sdens 10.0
srad 1.4
swin 0.3
temp 298.15
calcenergy total
calcforce no
write pot dx gzmio8olo5-pot
end
quit

@Eo300 Can you please look into this?

@Eo300 I noticed you moved this bug to apbs-aws.  Is this repo still active?

@sobolevnrm Yep, the code handling the backend services live here. When reproducing this issue, I found that the logic for handling the form fields above to write the ion lines weren't properly implemented.


Sh empty folder

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #223
Type of change
Please delete options that are not relevant.

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

Tested on?

[x] Windows
[ ] Linux Ubuntu
[ ] Centos
[ ] Mac
[ ] Others  (State here -> xxx )

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged

Fixes the import empty folder problem. Once user import empty folder, the screen will back to labelling tool screen. Nothing new image will add and wont have message pop up. Able work on my laptop.

Advise changing in ImageHandler.java L 258
if(filesCollection.isEmpty())
        {
            loader.reset(FileSystemStatus.WINDOW_CLOSE_DATABASE_NOT_UPDATED);
            return;
        }

okay, noted.

I just moved the code from toolfolderselector file to imagehandle file


Unable to find devices inside docker

I'm not sure if that's expected to work. Is it?
Is it possible to access the host audio devices from a docker image?

is there any update on this?
how can I use microphone from inside docker container?


[Docs]: Update DynamoDB docs; primary key/partition key

Primary / Partition Key
There was some confusion regarding how to use the primary key for DynamoDB. In our docs, we refer to it only as "Primary Key" -- in the DynamoDB docs, they also use terms Partition Key, Sort Key, Composite Primary Key; it can all be a bit confusing.
It may helpful in our docs to either include a brief description of what these keys are, or at least add a hint block that links to the appropriate AWS docs where it describes these terms.
From AWS:

What is a partition key?
DynamoDB supports two types of primary keys:

Partition key: A simple primary key, composed of one attribute known as the partition key. Attributes in DynamoDB are similar in many ways to fields or columns in other database systems.
Partition key and sort key: Referred to as a composite primary key, this type of key is composed of two attributes. The first attribute is the partition key, and the second attribute is the sort key. All data under a partition key is sorted by the sort key value. The following is an example.

Operations
Lastly, a user had asked about retrieving multiple items from the DB; there are operations to do this (like a SCAN), which we have not documented on our end. It doesn't seem worthwhile to document all of the possible DynamoDB operations in our docs, since there are so many of them and they don't require any special configuration from the Appsmith platform.
I'm not sure if any action should be taken about the last part, but I included it for consideration.

Technical review completed by @sumitsum. Doc published.


Default to DEBUG log level when in Rerun workspace

We want the DEBUG level to be useful yet not too spammy. This is one way to enforce that.


Rename tasks

Completed rename tasks in src folder
Signed-off-by: indranilm256<EMAIL_ADDRESS>

Thanks, @indranilm256! Did you do a test install after making these changes to make sure everything is still working as expected?

Yes. I have done a fresh install and it's working fine.


Add option to hide the sidebar menu when you need.

Proposed changes
Sometimes you just want a simple editor without so many options, this PR allows you to hide the sidebar menu.
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Closing issues
Fixes #836

perfect!

@matheusrocha89 can you rename the commit message to:
feat: Add option to hide the sidebar menu when you don't need it
the feat: part is important, because that will trigger the version bump and the automatic release

Sure, no problem.

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

v0.30.0
GitHub release

Your semantic-release bot :package::rocket:


Module compiled with Swift 5.1 cannot be imported by Swift 5.1.2 compiler

!!! MANDATORY TO FILL OUT !!!
Goals
Compile a project with a static Realm Framework
Expected Results
to compile
Actual Results
Compilation error:  Module compiled with Swift 5.1 cannot be imported by Swift 5.1.2 compiler
Steps to Reproduce
Add Realm 3.20 framework to a project and try to compile
Code Sample

Version of Realm and Tooling
Realm framework version: 3.20
Xcode version: 11.2
Maybe is a matter of just compiling the framework with flag:
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;

I have same error and now can't run project !!!

It seems that according to the WWDC videos, the flag you mention is the correct flag to add: https://stackoverflow.com/questions/58654714/module-compiled-with-swift-5-1-cannot-be-imported-by-the-swift-5-1-2-compiler
Let me explore whether or not we need to add that flag on the Realm library itself.

After looking into this, I am unable to reproduce. Are you able to send a sample project that contains this error?

As with every time that a new version of Xcode comes out, you will need wait for us to release a new version with a library built for that version of Xcode if you want to use prebuilt libraries.

I'm running into the same issue, but am actually unable to reproduce the issue when I create a new project. Still attempting to get into this state.

As with every time that a new version of Xcode comes out, you will need wait for us to release a new version with a library built for that version of Xcode if you want to use prebuilt libraries.

Out of curiosity, what's the reason for this despite the module stability supposedly added with Swift 5.1?

 Some I were able to find workaround for, but I couldn't figure out how to get Object class autodiscovery to work, so you have to always explicitly set objectTypes on the Configuration. I filed radars for all of the issues I ran into so maybe one day they'll get fixed.

As with every time that a new version of Xcode comes out, you will need wait for us to release a new version with a library built for that version of Xcode if you want to use prebuilt libraries.

When will it be available ? Still can't compile for months now, always get "Module compiled with Swift 5.0 cannot be imported by the Swift 5.1.3 compiler" whatever I try reading all possible solutions on the net :(

Prebuilt binaries for Xcode 11.2 were added in 3.21.0, released 2019-11-04. Make sure you are importing the library built for the version of Xcode you are using.

So if we want to distribute a forwards compatible binary framework to our clients (e.g. 5.2+), which depends on RealmSwift, is there a way to do that?


[ListItemText] Add a way to limit number of lines in secondary text

In mui 0.x, I could limit the number of secondary text lines in a <ListItem>. With <ListItemText>, I can't do that anymore.
As a consequence, the following design, which was supported by mui 0.9, isn't possible with 1.0.

Besides, limiting lines in CSS is notably difficult.
Is adding back the max lines support in the plan, or is it definitely out of the API, and I have to find another solution?

Tech
Version

Material-UI
next

React
16

browser
Chrome

This is a dupe of #9205, but I'll close the other, as you've provided a little more context.

Hi @mbrookes
It is not duplicate; apologies if i am mistaken. At this moment there is no way of showing only 2 rows. If the content is more than 2 rows it will keep displaying the content till the whole content is displayed. Can you please suggest how to mitigate this issue.


Failed to run HTML5 project that was config with gdx-setup.jar v1.12.1

Issue details
When I try to run HTML5 project with gradlew html:dist I have the next BUILD FAILED (see the log below). The temporary solution is to use gdx-liftoff.jar (releases) instead. But gdx-liftoff.jar requires to use the next commands:

HTML5: gradlew html:dist
Desktop: gradlew lwjgl3:run and gradlew lwjgl3:jar (to build a standalone executable file)
Android: gradlew android:installDebug (to install on real device connected with USB-cable or on running Android emulator (gradlew android:assembleDebug (to create a debug APK), gradlew android:assembleRelease (to create a release APK))

Instead of:

HTML5: gradlew html:dist
Desktop: gradlew desktop:run and gradlew desktop:jar (to build a standalone executable file)
Android: gradlew android:installDebug (gradlew android:assembleDebug, gradlew android:assembleRelease)

At least gdx-liftoff v<IP_ADDRESS> works for HTML5.
Reproduction steps/code

Download gdx-setup.jar here (direct link: https://libgdx-nightlies.s3.amazonaws.com/libgdx-runnables/gdx-setup.jar)
Select the "HTML" check box and press the "Generate" button:

Go to the created folder, open CMD in this folder and pasta this command: gradlew html:dist
You will see a log below

Version of libGDX and/or relevant dependencies

gdx-setup.jar v1.12.1
Windows 10
Chrome 120.0.6099.217 (Official Build) (64-bit)

Log
E:\_Projects\libGDX\My GDX Game>gradlew html:dist
Starting a Gradle Daemon (subsequent builds will be faster)

> Task :html:compileGwt
Compiling module com.mygdx.game.GdxDefinition
   [WARN] Warnings in 'jar:file:/C:/Users/8Observer8/.gradle/caches/modules-2/files-2.1/com.google.gwt/gwt-user/2.8.2/a2b9be2c996a658c4e009ba652a9c6a81c88a797/gwt-user-2.8.2.jar!/com/google/gwt/user/client/ui/impl/RichTextAreaImplIE8toIE10.java'
      [WARN] Line 45: Referencing deprecated class 'com.google.gwt.user.client.ui.impl.RichTextAreaImplStandard'
      [WARN] Line 47: Referencing deprecated class 'com.google.gwt.user.client.ui.impl.RichTextAreaImplStandard'
      [WARN] Line 68: Referencing deprecated class 'com.google.gwt.user.client.ui.impl.RichTextAreaImplStandard'
   Tracing compile failure path for type 'javaemul.internal.StringHashCache'
      [ERROR] Errors in 'jar:file:/C:/Users/8Observer8/.gradle/caches/modules-2/files-2.1/com.google.gwt/gwt-user/2.8.2/a2b9be2c996a658c4e009ba652a9c6a81c88a797/gwt-user-2.8.2.jar!/com/google/gwt/emul/javaemul/internal/StringHashCache.java'
         [ERROR] Line 57: The method setProperty(Object, String, double) is undefined for the type JsUtils
   [ERROR] Aborting compile due to errors in some input files
[ERROR] Error saving compilation unit to cache file: E:\_Projects\libGDX\My GDX Game\html\build\gwt\cache\gwt-unitCache\gwt-unitCache-7b9fbb59f8661539c34f46974ce5fb573aac79fc-C90BB3B791D3293DB8D5BA1AB0A974D4-0000018D2192A685
java.io.IOException: Stream Closed
        at java.base/java.io.RandomAccessFile.readBytes(Native Method)
        at java.base/java.io.RandomAccessFile.read(RandomAccessFile.java:405)
        at com.google.gwt.dev.util.DiskCache.transferToStream(DiskCache.java:170)
        at com.google.gwt.dev.util.DiskCacheToken.writeObject(DiskCacheToken.java:73)
        at jdk.internal.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1074)
        at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1526)
        at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1448)
        at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1191)
        at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1582)
        at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1539)
        at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1448)
        at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1191)
        at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)
        at java.base/java.util.ArrayList.writeObject(ArrayList.java:866)
        at java.base/jdk.internal.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1074)
        at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1526)
        at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1448)
        at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1191)
        at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)
        at com.google.gwt.dev.javac.CachedCompilationUnit.writeObject(CachedCompilationUnit.java:231)
        at jdk.internal.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1074)
        at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1526)
        at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1448)
        at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1191)
        at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)
        at com.google.gwt.dev.javac.PersistentUnitCacheDir$OpenFile.writeUnit(PersistentUnitCacheDir.java:373)
        at com.google.gwt.dev.javac.PersistentUnitCacheDir.writeUnit(PersistentUnitCacheDir.java:194)
        at com.google.gwt.dev.javac.PersistentUnitCache$BackgroundService$6.run(PersistentUnitCache.java:444)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:842)

> Task :html:compileGwt FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':html:compileGwt'.
> Process 'command 'E:\Program Files\Java\jdk-17\bin\java.exe'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1m 31s
5 actionable tasks: 5 executed

Please select the affected platforms

[ ] Android
[ ] iOS
[x] HTML/GWT
[ ] Windows
[ ] Linux
[ ] macOS

Duplicate of #7283. Setting gdxVersion to 1.12.2-SNAPSHOT looks like a workaround, but really I don't think #7250 should have been merged so long before a release if breaking the current stable version was necessary.

Thank you very much! Yes, this works:
build.gradle
allprojects {
    apply plugin: "eclipse"

    version = '1.0'
    ext {
        appName = "My GDX Game"
        gdxVersion = '1.12.2-SNAPSHOT'

I closed it and subscribed on https://github.com/libgdx/libgdx/issues/7283.

Duplicate of #7283. Setting gdxVersion to 1.12.2-SNAPSHOT looks like a workaround, but really I don't think #7250 should have been merged so long before a release if breaking the current stable version was necessary.

As I have been saying for literally 3 years, if gdx-setup just versioned releases instead of posting a nightly build willy-nilly, this wouldn't be an issue. No one has listened to me, or at least done something. So, I did something, and made gdx-liftoff, which uses versioned releases. If gdx-setup makes projects that expect things from the nightly build of libGDX, it should just depend on the nightly build of libGDX, which would break constantly and that should be expected of the bleeding edge. OR, for projects that actually value stability, gdx-setup should have an identifiable version and use a specific stable version of libGDX, potentially with past downloads of gdx-setup still available. Like gdx-liftoff does.


Version Conflict when trying to run tox tests #37

If you clone the repository, setup the needed environment and then run
tox, it fails with a version conflict error.
This happens because the dependencies in setup.py are best resolved by
dropping down to and installing requests 2.12.5. However, that version
of requests in turn explicitly states that it requires Babel==2.3.4 and
not the version Babel==2.4.0 that has already been installed.
Instant end of run :(
This commit makes the version of Babel explicit

I've changed just one file: setup.py. When I run tox under python 3.5.1 in a virtualenv on my development machine against the nectar cloud, I get 2 failures, and 4 errors: all due to the tests not expecting the underlying nectar infrastructure ("Bad router request: Incompatible network.", "publicURL endpoint for compute service in Tasmania region not found" and "Newly created floating IP address should not be in use."). These are totally different failures to the one the build is reporting. I'm guessing that the test environment here has some other sort of issue?

@MartinPaulo Thanks for fixing this. I think it's ok if the tests don't pass agains NeCTAR because they are related to known networking issues. So I'll merge and close.

Codecov Report

Merging #38 into master will decrease coverage by 19.07%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master      #38       +/-   ##
===========================================
- Coverage   86.67%   67.59%   -19.08%
===========================================
  Files          16       16
  Lines        2521     2521
  Branches      275      275
===========================================
- Hits         2185     1704      -481
- Misses        243      769      +526
+ Partials       93       48       -45

Impacted Files
Coverage Δ

cloudbridge/cloud/providers/openstack/helpers.py
30.76% <0%> (-69.24%)
:arrow_down:

cloudbridge/cloud/providers/openstack/provider.py
31.53% <0%> (-55.86%)
:arrow_down:

cloudbridge/cloud/providers/openstack/resources.py
40.9% <0%> (-47.11%)
:arrow_down:

cloudbridge/cloud/providers/openstack/services.py
34.29% <0%> (-45.55%)
:arrow_down:

cloudbridge/cloud/base/provider.py
77.41% <0%> (-3.23%)
:arrow_down:

cloudbridge/cloud/base/resources.py
96.2% <0%> (-1.9%)
:arrow_down:

Continue to review full report at Codecov.

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

Coverage decreased (-20.9%) to 69.496% when pulling e48dbf015c392f7ef120a783885a119be0c34863 on MartinPaulo:issue_37 into 736f31c2b4a473ea5a62351841a72a6a578e13e8 on gvlproject:master.


adding podLabels spec

This PR fixes #
Checklist

[X] I have signed the CLA
[X] I have updated/added any relevant documentation

Description
What's the goal of this PR?

adds podLabels spec

What changes did you make?
What alternative solution should we consider, if any?

Will wait for release to merge this


SmtpClient throws NullReferenceException on Dispose()

I'm using:
netcoreapp2.0
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.0" PrivateAssets="All" />

The next code throws an exception:
        using (var client = new SmtpClient("smtp.mail.ru", 465))
        {
            client.UseDefaultCredentials = false;
            client.Credentials = new NetworkCredential(Options.EmailSenderUser, Options.EmailSenderPassword);
            client.SendAsync(emailMessage, new object());
        }//throws an exception here!!!

NullReferenceException: Object reference not set to an instance of an object.
System.Net.Mail.SmtpConnection.ReleaseConnection()
System.Net.Mail.SmtpClient.Dispose(bool disposing)
System.Net.Mail.SmtpClient.Dispose()

@Priya91, can you copy this over to corefx and maybe take a look?

Is there any update on this issue? I am facing the same.

+1, I have the same problem. OS CentOS 7, .NET Core 2.0

Issue moved to dotnet/corefx #24485 via ZenHub


lwana - Don't save the entire band to OIMS

The full band is a lot of data:
476G	60343_030000_15.312MHz_88.717MHz.oims
476G	60343_040000_15.312MHz_88.717MHz.oims
476G	60343_050000_15.312MHz_88.717MHz.oims
476G	60343_060000_15.312MHz_88.717MHz.oims

That's about 12 TB per day.

That's better:
130G    60345_160000_30.051MHz_49.957MHz.oims
130G    60345_170000_30.051MHz_49.957MHz.oims

It might make more sense to only image what we are going to save.

We aren't saving the full band now.


No @extern file for google closure compiler

Please supply us with an externs file for google closure compiler.
https://github.com/google/closure-compiler/tree/master/contrib/externs
thanks

I gently hand this one over to someone with knowledge about how to write such...

It's basically a file that contains the full reference of your project. Google closure compiler is a compiler that compiles code, so when I have a piece of code that wants to use your library I'm stuck because I cannot compile my code as it keeps crying about not knowing about your variables. Also, re-compiling your code as part of my code is not a wise idea. I tried to write my own, but I lost track after couple minutes trying to follow all the methods.
Since your src is all in es6, I might go through myself and generate an extern for you, was hoping you would have one ;)

https://www.npmjs.com/package/typescript-closure-compiler could be handy with https://github.com/dfahlander/Dexie.js/blob/master/src/Dexie.d.ts

Checkout tsickle it's built by the angular team

Hey guys!
Has anybody generated it successfully? Please give us the link, if any.
Thanks.


Add a · (center dot) between timestamp and comment count in subreddit view

There's a · symbol between the points and timestamp that changes to a triangle if you up/downvote. It'd be nice if there was also a · between the timestamp and the comment count, just for a little visual consistency and separation. It probably wouldn't ever have to change to anything.

This is what it looks like on my machine. I think it looks alright for things that haven't been voted on, but looks a bit asymmetric when only the left one changes when you vote.

Hmm, I guess this will always depend on the font in use. It will surely be symmetrical when the story is voted on, but depending on the triangle shapes in the font, it will look different. My triangles are a lot bigger than yours:

I think that if they were static bullets then it would look good having them both there. However, 5225225 raises a good point about the asymmetry. The first bullet represents a "neutral" vote while the second bullet is just a separator. I don't like that there is nothing to visually distinguish between the two bullets.

Instead of using U+2022 (•), perhaps U+25E6 could be used (◦) for the separator. Or even U+2023 for the neutral vote (‣), to match the other triangles.

Yeah, 2023 looks fine for a neutral vote. Also works in ASCII as >.
I'll write that and see how good it looks.


Use open type for error_msg result

This makes it easy to combine with other errors. e.g.
if cancelled then Error `Cancelled
else Fmt.error_msg "Failed"

Thanks ! Your patch is in as https://github.com/dbuenzli/fmt/commit/7bb3caf2f6f326774058fc97d779a47ab84b466c


MKL path is hard cored "/opt/mklml/"

compile error
exec] /opt/binutils/bin/ld: cannot find -lmklml_intel
[exec] collect2: error: ld returned 1 exit status
[exec] make: *** [target/classes/libjdnn.so] Error 1

http://<IP_ADDRESS>:18889/view/BigDL-Release/job/BigDL-Core-Release-CORE/8/console

need to download mkl dnn


[key reuse]: handle remat

The challenge here is that under autodiff, remat involves explicitly repeating past computations, so in that context key reuse would be expected. For example:
import jax

@jax.checkpoint
def f(x, key):
  return x * jax.random.bits(key)

x = jax.numpy.float32(1)
key = jax.random.key(0)
print(jax.make_jaxpr(f)(x, key))
# { lambda ; a:f32[] b:key<fry>[]. let
#     c:f32[] = remat2[
#       differentiated=False
#       jaxpr={ lambda ; d:f32[] e:key<fry>[]. let
#           f:u32[] = random_bits[bit_width=32 shape=()] e
#           g:f32[] = convert_element_type[new_dtype=float32 weak_type=False] f
#           h:f32[] = mul d g
#         in (h,) }
#       policy=None
#       prevent_cse=True
#     ] a b
#   in (c,) }

print(jax.make_jaxpr(jax.grad(f))(x, key))
# { lambda ; a:f32[] b:key<fry>[]. let
#     c:u32[] = random_bits[bit_width=32 shape=()] b
#     d:f32[] = convert_element_type[new_dtype=float32 weak_type=False] c
#     _:f32[] = mul a d
#     e:f32[] = remat2[
#       differentiated=True
#       jaxpr={ lambda ; f:key<fry>[] g:f32[]. let
#           h:u32[] = random_bits[bit_width=32 shape=()] f
#           i:f32[] = convert_element_type[new_dtype=float32 weak_type=False] h
#           j:f32[] = mul g i
#         in (j,) }
#       policy=None
#       prevent_cse=True
#     ] b 1.0
#   in (e,) }

Notice in the first version, the random_bits call appears only once. In the second, the random_bits call appears twice, one outside the remat2 primitive, and once inside. However, this key reuse should not be considered problematic because remat2 is explicit about re=computing previous values.
To address this, this PR skips the key reuse checks for the remat2 jaxpr when differentiated=True.

Could you explain the idea in the PR message?

IIUC the idea with no forwarding (i.e. the "simple" system) is something like:

the non-'differentiated' instances of remat should be checked just like a call primitive
the 'differentiated' instances of remat should be allowed to re-consume any keys, because they're just replaying parts of the non-'differentiated' computation (which we checked to be safe, per above) and because remat is all about redoing things intentionally

Can you give an example of the "but forwards are still relevant" case? I don't think there is an example in the tests.

Could you explain the idea in the PR message?

Done

Can you give an example of the "but forwards are still relevant" case? I don't think there is an example in the tests.

I don't have any example, but I thought it was prudent to cover this case: e.g. when the remat primitive returns a forwarded value, we want that relationship to be recognized in the outer scope.


DVC-8630 [feat]: add dvc identity update command

add command to update identity used for self-targeting functionality

Current dependencies on/for this PR:

main

PR #268   👈

This comment was auto-generated by Graphite.


how would I support the following auth, headers, and body?

curl -v
-X POST
-u admin:password
-H 'Content-Type: application/json'
-H 'X-Killbill-CreatedBy: admin'
-d '{"apiKey": "bob", "apiSecret": "lazar"}'
"http://<IP_ADDRESS>:8080/1.0/kb/tenants"

headers = {
  "Content-Type" => "application/json",
  "X-Killbill-CreatedBy" => "admin"
}

body = '{"apiKey": "bob", "apiSecret": "lazar"}'

HTTP.follow.with(headers).post(url, :body => body)

On 13 Jan 2015 02:11, "angelacode"<EMAIL_ADDRESS>wrote:

curl -v
-X POST
-u admin:password
-H 'Content-Type: application/json'
-H 'X-Killbill-CreatedBy: admin'
-d '{"apiKey": "bob", "apiSecret": "lazar"}'
"http://<IP_ADDRESS>:8080/1.0/kb/tenants"
—
Reply to this email directly or view it on GitHub
https://github.com/httprb/http.rb/issues/174.

where is the 'u' added?  just in the URL?

answers I go:
headers = {
"Content-Type" => "application/json",
"X-Killbill-CreatedBy" => "admin"
}

body = '{"apiKey": "bob", "apiSecret": "lazar"}'

HTTP.follow.with(headers).post(url, :body => body)

headers = {
  "Content-Type" => "application/json",
  "X-Killbill-CreatedBy" => "admin"
}

url  = "http://admin:password@<IP_ADDRESS>:8080/1.0/kb/tenants"
body = '{"apiKey": "bob", "apiSecret": "lazar"}'

HTTP.follow.with(headers).post(url, :body => body)

Sorry - first replied from mobile, then saw how it looks - and got to laptop to fix it... :D

I'm not sure what -u of curl means. If it's Basic auth, then instead of putting it into URL, you can call #basic_auth on client:
HTTP.basic_auth(:user => user, :pass => pass)

I get an error: HTTP::RequestError: invalid transfer encoding

@angelacode in the future, would you mind asking these sorts of questions on the Google Group?
https://groups.google.com/forum/#!forum/httprb
We like to keep the issue tracker reserved specifically for bugs.

@angelacode Are you passing body as a String? Or is it a Hash? If it's a Hash you need to encode it with JSON:
body = JSON.dump { "apiKey" => "bob", "apiSecret" => "lazar" }

Hi, thanks would .to_json be fine, as well?

@angelacode Sure. Anything that will return string actually ;))


Match the version of Chef Infra Client for habitat with the version omnibus_overrides.

Signed-off-by: Prajakta Purohit<EMAIL_ADDRESS>Description
Should fix hab builds broken after updating chef-infra-client to 15.5
Issues Resolved
[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussions that are relevant]
Check List

[ ] New functionality includes tests
[ ] All buildkite tests pass
[ ] Full omnibus build and tests in buildkite pass
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco
[ ] PR title is a worthy inclusion in the CHANGELOG

https://buildkite.com/chef/chef-chef-server-master-habitat-build/builds/111


Changes expression evaluation so that static property functions can be used in transformation

As discussed on this issue:
https://github.com/Microsoft/msbuild/issues/3163
Based on having run into the same problem described on this StackOverflow:
https://stackoverflow.com/questions/5103026/in-msbuild-can-i-use-the-string-replace-function-on-a-metadata-item?lq=1
According to the discussion there, this worked before MSBuild 12.0.

The failures on windows say:
"20:37:40 [xUnit] [INFO] - [xUnit.Net-v2 (default)] - No test report file(s) were found with the pattern 'artifacts/**/TestResults/*.xml' relative to 'D:\j\w\innerloop_Win---325d1729' for the testing framework 'xUnit.Net-v2 (default)'.  Did you enter a pattern relative to the correct directory?  Did you generate the result report(s) for 'xUnit.Net-v2 (default)'?"
Is this an infrastructure problem?

Modified PR so that it made no changes to source, the same checks still failed, suggesting that this is an infrastructure problem.

@cclauson Other PRs and CI on the master branch are happily passing, so I do suspect this change. I suspect that the changes cause a difference in evaluation that causes our tests to not be built/run correctly.
Do all tests pass on your machine? I tried building your changes with build -bootstraponly (which uses MSBuild from PATH to build and directly tests the output, bypassing any possible evaluation changes for our own repo) and I see many failed tests that look related to this change.

@rainersigwald Thanks for the response!  I was having trouble getting tests to run locally before, I will take another pass at this and try to identify the problem.

Yup, not an example of great follow through on my part here.  Was eventually able to repro broken tests but didn't find the time to debug them.


Add Volvo Cars as Adopters

Hey, I just made a Pull Request!
Add Volvo Cars to ADOPTERS file
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@freben I screwed up here in signing a commit that was not signed 🙈 Probably just close this PR and I'll send a new one with only my changes and signed commits?

Closing faulty PR


Document current database schema somewhere

It would be better than having to either sift through all the migrations or look in the database itself

This could involve an ER diagram perhaps, but not required. Our schema changes frequently and updating the diagram every time may be a bit annoying.

Okay. Sounds fine


Update the memory limits for the powervm-rmc pods.

This PR has the updated limits for the powervm-rmc pod which prevents encountering the OOMKilled and subsequent CrashLoopBackOff errors on large compute nodes for the same.
The change was tested on a node of size 64 Cores and 256GB of memory and the desired behaviour of the powervm-rmc pod was observed.

The change was tested on a node of size 64 Cores and 256GB of memory and the desired behaviour of the powervm-rmc pod was observed.

@kishen-v did we test this out with a smaller configuration as well?

The change was tested on a node of size 64 Cores and 256GB of memory and the desired behaviour of the powervm-rmc pod was observed.

@kishen-v did we test this out with a smaller configuration as well?

Hi @yussufsh, yes. We had initially loaded these limits for the powervm-rmc pod on a node of small compute capacity - (0.5C/32GB), which was then resized to 64C/256GB of memory. OOMKilled error was not observed.

/approve


Clarify licensing of external code

From Alan Gates

On the code in the vendors folder, do we know where that came from?  If it
was not contributed to Superset we need to

check that it's ok to have it at all (ie, we have the author's blessing)
figure out what license the author released it under
put the license and copyright information in the LICENSE and NOTICE files.

Same questions apply for code in the visualizations folder.  With just a
quick look through there I didn't see any licenses, notices, copyright
statements, etc.

Resolved by #6738


HHH-10191 Fixed exceptions when a functional index exists.

Here it is. My CLA has already been approved on Feb 6, 2013.

Merged. Thanks for the pull request!


Rename lists/items

Keep pressed in order to open a menu:

Rename (item or list)
Delete (item or list)

Thanks for suggesting this, I am getting started on implementing this now.

@airon90 this has been finished, if you would like to test the newest update, check the releases page for the latest APK, otherwise it should become available within the F-Droid client within the next few days. Thanks again for suggesting this feature!


Proposal for Subclasses of Agent

The subclasses of Agent need to be changed:
Current:

Proposal:

Classes Cast, Crew und Staff to be renamed to CastMember, CrewMember and StaffMember (as they are already named in their labels)
Classes Party and Affiliation to be completely removed, as they express an object property of a Contract or a Transaction. A Property like "isPartyIn" or "isAffiliated" for the Contract or the Transaction could replace it. Maybe even the property "isAgentIn" is already sufficient fot that purpose.

Hello,
A few random thoughts on some details that might not be logically correct
(or is it just me):

CrewMember is a (subclass of) Agent:

How many times is a CrewMember not a person? (Should it be a subclass for
Person?)
Is a ”being a Crew Member” a permanent status of the object (e.g. a
person) or is it something that comes and goes? If it comes and goes, then
probably it is a role, not a class?

CastMember - see above.

Is Affiliation a kind of Organisation or… a relation that connects a
person to some organisation? E.g. John Doe’s affiliation is (Organisation)
EBU.

FictionalOrganisation is a (subclass of) organisation … is that
logically true since by definition fiction does not exist for real? So one
could say that a FictionalOrganisation is not a ”proper” ”real”
Organisation?

Party … probably a kind of an Organisation? Should it be a subclass of
Organisation?

Character … typically characters are fictional. Is a fictional character
logically a (real) Person (class)?

Staff - probably a role, not a permanent status of a Person?

Team … should that be a subclass for Organisation?

Regards,
Kim
pe 12.8.2022 klo 16.10 JuergenGrupp @.***> kirjoitti:

The subclasses of Agent need to be changed:
Current:
[image: image]
https://user-images.githubusercontent.com/80782611/184358601-913e97ef-f375-4f50-95f3-000a53b2a1d4.png
Proposal:
[image: image]
https://user-images.githubusercontent.com/80782611/184360422-3290cc55-cd58-478a-9382-d3e2781b3df1.png

Classes Cast, Crew und Staff to be renamed to CastMember, CrewMember
and StaffMember (as they are already named in their labels)
Classes Party and Affiliation to be completely removed, as they
express an object property of a Contract or a Transaction. A Property like
"isPartyIn" or "isAffiliated" for the Contract or the Transaction could
replace it. Maybe even the property "isAgentIn" is already sufficient fot
that purpose.

—
Reply to this email directly, view it on GitHub
https://github.com/ebu/ccdm/issues/168, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD6KSFFH2HNACAT2W3WNTPDVYZEMNANCNFSM56LUFKMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Kim Viljanen
Metadata Expert / Yle Areena
The Finnish Broadcasting Company Yle
+358 40 5414 654 (mobile)
@.***

Affiliation: A complex relation, hence: :Affiliation dcterms:description "An Organisation to which a Contact is affiliated (with period of validity)."@en
So if we put the affiliation class as a seperate class, with a time start/end and a relation to an organisation, it will do. It is certanly not a subclass of the organisation.

Is a ”being a Crew Member” a permanent status of the object (e.g. a
person) or is it something that comes and goes? If it comes and goes, then
probably it is a role, not a class?

It is a kind of role, and it comes and goes.
We can model it like this:
"SomeProgramme" - hasCrewmember-> "Some Sound Engineer inst of crew" -isAgent-> "Tormod, an Agent"
In this way we can have a shorter graph in the planning, before the actual crew is known, like:
"SomeProgramme" - hasCrewmember-> "Some Sound Engineer inst of crew"
I agree that all crew, even journalists are people.

FictionalPerson, I do not see the use of this class. Character will cover anything that are played by an actor.
Perhaps we instead need something like Alias or Pseudonym. Lex Prince, he loved to appear on the same record with different names for each role.
"Sting" -isAgent-> "Gordon Matthew Thomas Sumner"


/docs/getting-started/Ch-GettingStartedSDK needs refresh/update

documentation here:  https://docs.edgexfoundry.org/Ch-GettingStartedSDK.html needs to be updated to reflect new SDKs (probably simplified too).

fixed with #858


⚠ Bofrost.com has degraded performance

In 8561f81, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 519 ms

Resolved: Bofrost.com performance has improved in 85f3d73 after 8 minutes.


@ngtools/webpack build do not wait until AngularCompilerPlugin._make finish like in angular-cli

🚀 Feature request

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
We have big Angular application which is building based on webpack and @ngtools/webpack.  Build takes a lot of time. During some research I found that before starting actually build of files @ngtools/webpack run the following steps
AngularCompilerPlugin._setupOptions: 656.320ms
AngularCompilerPlugin._createOrUpdateProgram.ts.createProgram: 25064.073ms
AngularCompilerPlugin._make.resolveEntryModuleFromMain: 17.954ms
AngularCompilerPlugin._listLazyRoutesFromProgram.createProgram: 1.900ms
AngularCompilerPlugin._listLazyRoutesFromProgram.listLazyRoutes: 7292.047ms
AngularCompilerPlugin._emit.ts.getOptionsDiagnostics: 0.349ms
AngularCompilerPlugin._emit.ts.gatherDiagnostics.ts.getSyntacticDiagnostics: 4.739ms
AngularCompilerPlugin._emit.ts.gatherDiagnostics.ts.getSemanticDiagnostics: 18770.113ms
AngularCompilerPlugin._emit: 34101.066ms
AngularCompilerPlugin._update._emit: 34101.871ms
AngularCompilerPlugin._update: 67271.220ms
AngularCompilerPlugin._make: 67271.619ms

ngcLoader+main.ts+.ngcLoader.AngularCompilerPlugin: 15.984ms
ngcLoader+main.ts+: 45.086ms
running other build files

As you see it takes more than one minutes to start building and it wait to finish the command AngularCompilerPlugin._make
I tried to run other project using Angular-CLI and the picture is the following
AngularCompilerPlugin._setupOptions: 21.142ms
 10% building modules 3/3 modules 0 activeAngularCompilerPlugin._createOrUpdateProgram.ts.createProgram: 4751.113ms
AngularCompilerPlugin._make.resolveEntryModuleFromMain: 7.353ms
AngularCompilerPlugin._getLazyRoutesFromNgtools: 392.109ms
AngularCompilerPlugin._emit.ts.getOptionsDiagnostics: 0.327ms
AngularCompilerPlugin._emit.ts.gatherDiagnostics.ts.getSyntacticDiagnostics: 0.527ms
AngularCompilerPlugin._emit.ts.gatherDiagnostics.ts.getSemanticDiagnostics: 4462.985ms
AngularCompilerPlugin._emit.ts+environment.ts+.emit: 29.307ms
AngularCompilerPlugin._emit.ts+main.ts+.emit: 12.554ms
...... some other files emit
AngularCompilerPlugin._emit: 6090.988ms
AngularCompilerPlugin._update._emit: 6091.611ms
AngularCompilerPlugin._update: 11278.420ms
AngularCompilerPlugin._make: 11298.618ms
ngcLoader+main.ts+: 10.050ms

As you can see in Angular-CLI after command AngularCompilerPlugin._emit.ts.gatherDiagnostics.ts.getSemanticDiagnostics  it shows me all emit files and time which is taking for this operation. In @ngtools/webpack is it still emit all files or just blocked? If it is emitting is it possible to see all files?
I think it takes a lot of time for the step
AngularCompilerPlugin._make: 67271.619ms.
Do you have any idea how can we improve this time?
Is it possible to add more logs to see what actually consuming AngularCompilerPlugin?
Describe the solution you'd like
Add more logs for AngularCompilerPlugin initial step to find which task takes more time.

The AngularCompilerPlugin is an integral part of the Angular CLI and performs Angular's Ahead-of-Time (AOT) compilation as well as transpiling the TypeScript code into JavaScript.  The TypeScript aspect also involves full type-checking with accompanying diagnostic reporting (getSemanticDiagnostics).
For a large project this will take time and is expected to do so.  If using Angular 8.x or earlier, AOT mode is not recommended for development purposes but rather production builds.  Angular 9.0+ (currently in RC) provides a new AOT compiler that will be the default for both production and development scenarios; and is also integrated into the AngularCompilerPlugin.
It is also recommended to use the Angular CLI to create and build an Angular project whenever possible.  The CLI handles the complexities of the Webpack and TypeScript configuration as well as automatically adjusting the configurations at build-time based on the needs of the project and managing the versions of critical dependencies.  The AngularCompilerPlugin is also only one part of the CLI which provides numerous additional features such as differential loading, localization, and Angular specific optimizations.
Unfortunately, custom Webpack configuration development and troubleshooting is not officially supported by the Angular CLI.  However, please consider asking for assistance in these areas on a site such as StackOverflow.


Allow table aliases in JOIN queries

SQL::Abstract::Pg version: 1.0
Perl version: v5.34
Operating system: Ubuntu Linux 21.04

It's not possible to create table aliases in generated SQL queries. This would be useful for generating queries where a table is JOINed to itself. Especially useful if someone wants to create an ORM based on Mojo::Pg.
A suggestion would be to allow the following syntax:
$abstract->select(
    [
        \'"a" as "t1"',
        [ \'"a" as "t2"', '"t2"."parent_id"' => '"t1"."id"' ],
    ],
);

And you're sure this shouldn't be a regular SQL::Abstract feature?

It already is a regular SQL::Abstract feature if you enable the ExtraClauses plugin on version 2.
See https://p3rl.org/SQL::Abstract::Plugin::ExtraClauses#join

@kraih Yes, to a reasonable degree, because the processing of the array syntax of JOIN happens in SQL::Abstract::Pg.

It appears passing more stuff down to SQLA to get access to part of the SQLA2 handling effectively for free is a one-line change that I don't think will cause any regressions in SQLA1 using deployments.
mallet2=; git diff
diff --git a/lib/SQL/Abstract/Pg.pm b/lib/SQL/Abstract/Pg.pm
index 7b8b851..d4f10d7 100644
--- a/lib/SQL/Abstract/Pg.pm
+++ b/lib/SQL/Abstract/Pg.pm
@@ -172,7 +172,7 @@ sub _table {
     my ($type, $name, $fk, $pk, @morekeys) = @$join % 2 == 0 ? @$join : ('', @$join);
     $table
       .= $self->_sqlcase($type =~ /^-(.+)$/ ? " $1 join " : ' join ')
-      . $self->_quote($name)
+      . $self->_table($name)
       . $self->_sqlcase(' on ') . '(';
     do {
       $table

is sufficient to make this work:
mallet2=; plx -Mnew=SQL::Abstract::Pg -E '
    $O->plugin("SQL::Abstract::Plugin::ExtraClauses");
    warn scalar $O->select([{ not_actually_a => { -as => "a" }},["b","a_id","id"]]);
'
SELECT * FROM not_actually_a AS a JOIN b ON (b.a_id = HASH(0x56126be9ebb0).id) at -e line 1.
mallet2=;

For Mojo::Pg I'd expect
$pg->abstract->plugin("SQL::Abstract::Plugin::ExtraClauses");

to do the trick to enable it


VScode not opening on MAC OS

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version: Mac OS Big Sur 11.6.5

Steps to Reproduce:

Attached Dump file *dmp
crash_reports.zip

Sorry couldn't add VS code version since i can't able to launch it through terminal and directly

Dupe of https://github.com/microsoft/vscode/issues/219893

UPDATE
Just now degraded it to v1.90.2 it’s working fine.
Yesterday it was updated to  v1.91

On Big Sur 11.7.10 the version 1.90 is crashing also.
Downgrade to version 1.89.1 and it works ok.

/duplicate

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


🎁 Adding IiifPrint::DerivativeRodeoService

As written, this is a draft commit.  Its purpose is to share the implementation details and how we might incorporate the DerivativeRodeo into the derivative generation.
This draft will break the build as it does not include adding the DerivativeRodeo as a dependency.  An ongoing challenge is that Valkyrie and ActiveFedora's Faraday requirements conflict with the DerivativeRodeo.
I put this code forward with lots of comments and the beginnings of tests to ensure that we're on the right path.
Related to:

https://github.com/scientist-softserv/iiif_print/issues/219
https://github.com/scientist-softserv/iiif_print/pull/243

As written, this is a draft commit.

Please update the initial text since it's no longer a draft commit.


Out-of-cycle funding request: Astropy workshops at Hawaiian observatories

This funding request is for a series of Astropy workshops/code-along sessions at some of the large observatories in Hawaii in Feb 2024. The project team include @pllim, @ejeschke and @wtgee.
We envision a two-step process for approving/implementing this: If the proposal is given initial approval then we will survey the observatories listed in the proposal and update it with a detailed schedule.

Hi @mwcraig — thanks for this!
We reviewed this in the Finance Committee, and would like to ask for a couple of clarifications:

What discussions have already taken place between the proposal team and the observatories in question? Have they already expressed interest in workshops of this sort, or are you waiting to approach them after this request has been approved? Do you know if the observatories will be able to provide e.g. meeting facilities?
Are the observatories able to cover some or all of the costs?

What discussions have already taken place between the proposal team and the observatories in question? Have they already expressed interest in workshops of this sort, or are you waiting to approach them after this request has been approved? Do you know if the observatories will be able to provide e.g. meeting facilities?

Two of the project personnel are at Subaru and have indicated the type of space we need (a modest-sized conference room) will be easy to schedule. We also spoke with someone at Gemini while at SciPy who expressed enough interest for us to submit the proposal. Some of the observatories are still fairly strict about external meetings because of COVID, which was part of the reason for proposing several small visits instead of one large visit.
We were waiting to approach them until we have some sort of preliminary approval of this request. We suggest, as a next step, sending an email to the observatories listed along the lines of: "We have applied for funding from Astropy for a one-day Astropy workshop/coding session at your observatory. Are you interested in participating? If yes, can you provide appropriate meeting space and is your observatory able to contribute to some of the travel expenses for the presenters?"
If this is OK with the Finance Committee we will approach observatories and report back on interest and support.

Yes, ok. Please proceed.  (This approval is tentative pending formal approval of our modified travel budget from NASA...which we expect will get approved in the next month or so.).

@jdswinbank -- we have (at last!) update this. The main changes are:

Change in project team
Indicated level of interest from observatories and revised plan for number of workshops

@jplolo @ejeschke @pllim

@jdswinbank @kelle -- any updates on this?

Hi Matt — the NASA budget revision took longer than expected. Kelle has finally got things moving (she is a hero) and is now close to finalizing things with NumFOCUS. I will check in with them to see how things look.

Are these still happening this month?

No; we left the timeline up in the air with the observatories a bit. February had been the original goal because it is slightly less expensive than other times of year. A couple of circumstances have changed so if this moves forward the project team will need to visit to talk through dates.

Hi Matt, sorry for the delay. This is approved as budgeted. Please submit submit claims for reimbursement to the Astropy NASA grant (here).

Wonderful, thanks for the news! We will start making conrete plans.

Update: we are tentatively planning to do the workshops the first week of December. @jdswinbank @kelle -- can you please confirm that these dates are ok with the NASA grant timeline and your expectations?

I think that works 👍

Dates are set and I started a meeting page at https://github.com/astropy/astropy/wiki/ALOHA-2024 . We will fill out more info soon. Thanks!

Thanks @pllim !
Given that the workshop materials are available at https://github.com/astropy/astropy-workshop/tree/ALOHA-2024 and the agenda is at https://github.com/astropy/astropy/wiki/ALOHA-2024, I don't think an extensive written report is necessary. Maybe just a brief note indicating how many people participated and any thoughts about how well it all went and whether there are lessons learned for the future.

Re: https://github.com/astropy/astropy-project/pull/352#issuecomment-2535514067
Workshop Brief Report/Summary
Astropy Learning at Observatories of HAwaii (ALOHA) was held from Dec 2-6, 2024 at Subaru Telescope (Hilo) and Keck Observatory (Waimea).
In-person participation was roughly between 10-20 people per day at each location, with slightly better turnout at Keck. Virtual participation was one person each day but it was a different person.
We added an outreach component by having one of the workshop presenters talk at an Astronomy on Tap event on Dec 6. Roughly 100 people attended that event.
Overall, it went well. There were always at least a couple of people actively participating. Based on the discussions, we opened follow-up issues and PRs, where appropriate; e.g., list of issues in astropy, astropy/photutils#1970, astropy/specutils#1201, astropy/astroplan#605, and new example notebooks. Long-term return-of-investment (e.g., new collaboration or contributors) remains to be seen.
Lessons learned from @jplolo (one of the LOC members):

Make it clear in the reminder emails that you don’t need to have initially filled out the interest form to join the workshop.
Make it clear in advance that the workshop isn’t cumulative and one can show up, or tune in, on the days/times they’re available.
Make it clearer that the group dinner (before Astronomy on Tap) is for everyone and their family/friends of all ages. It's not just for the organizers.
Start the participant group in Slack and send invites to it earlier.


[type:fix] fix any

Codecov Report

Merging #22 (5bd640a) into main (fbf6dfb) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #22   +/-   ##
=======================================
  Coverage   61.29%   61.29%
=======================================
  Files           1        1
  Lines          31       31
=======================================
  Hits           19       19
  Misses          8        8
  Partials        4        4

Impacted Files
Coverage Δ

internal/core/dictionary/dictionary.go
61.29% <100.00%> (ø)

Continue to review full report at Codecov.

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


50 move draw

It is to my understanding that the 50 move draw does not occur when 100 half moves have been played. I was taking a look at Chess.inDraw and I noticed that it checks if 100 half moves have been played in total. I'm pretty sure the game should not end after 50 moves. Has the 50 move draw been implemented correctly, or am I just reading it wrong?

Hey, see https://github.com/lubert/chess.ts/blob/master/src/state.ts#L1121-L1128 for how this properties is updated after each move.


[styles] ESLint plugin to catch unused styles

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

For react-with-styles, there's an ESLint plugin to find unused styles and warn. That CSS-in-JS module has a pretty similar syntax to mui makeStyles, however, the plugin doesn't work out of the box with mui makeStyles because it is specific to react-with-styles.
I might try my hand at forking that plugin to adapt it to mui styles, but I understand that we're also looking at switching it up entirely (#22342) so I'm opening this issue to see what's the best route forward.
Examples 🌈

Motivation 🔦

This would be useful in development when the interface is changing quickly, to catch stuff that is missed, since an unused style doesn't get caught the same way that ESLint can catch unused variables.

Did you see #23473?

I missed that in my search. It seems promising but how can I test a version of a module in a pull request and help out?

An iteration on this eslint plugin can be found at https://github.com/jens-ox/eslint-plugin-material-ui-unused-classes.


Endpoint and App ID URI are different

Per a change in Azure AD in October 2021, "*.azurewebsites.net" urls cannot be set as the App ID URI for an AD app. Because of this, the App ID URI and the Endpoint can differ as mentioned in https://github.com/FBoucher/AzUrlShortener/issues/306
More info about the AD change: https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-breaking-changes#appid-uri-in-single-tenant-applications-will-require-use-of-default-scheme-or-verified-domains

Close for now since v3.
@mark-szabo feel free to open a new one with the new structure. Thanks


outdated release branch information?

as of the change announced here
the information on the native code development page
is outdated, no? @anatolid: the email text looks pretty good.

Hi @fippo! What information specifically on that page is outdated, in your opinion?
Not sure I understand your comment about 'email text'...


Fatal error when creating a chart from a saved_query via API call

Bug description
This is a repeat of #23189. I am unable to create a chart using saved_query following the superset API. It responds with Fatal error instead. (superset version 4.0.2 using docker compose)
How to reproduce the bug

Create a saved_query (query is based on my setup with valid db_id 2 and a table named car)

curl --location 'http://localhost:8088/api/v1/saved_query/' \
--header 'Authorization: Bearer eyJ...' \
--header 'X-CSRFToken: ImQ...' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Cookie: .eJ...' \
--data '{
  "db_id": 2,
  "label": "saved_query",
  "schema": "public",
  "sql": "SELECT * from car"
}
'

This gives back
{
    "id": 11,
    "result": {
        "db_id": 2,
        "description": null,
        "label": "saved_query",
        "schema": "public",
        "sql": "SELECT * from car",
        "template_parameters": null
    }
}

Create the chart

curl --location 'http://localhost:8088/api/v1/chart/' \
--header 'Authorization: Bearer eyJ...' \
--header 'X-CSRFToken: ImQ...' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Cookie: .eJ...' \
--data '{
    "datasource_id": 11,
    "datasource_type": "saved_query",
    "slice_name": "some_name",
    "viz_type": "table"
}
'

This gives back
{
    "message": "Fatal error"
}

Expected results
Curl command to complete successfully with the creation of the chart from the saved query.
Actual results
Curl result is {"message" : "Fatal error"}
superset app stacktrace:
superset_app          | 2024-07-25 06:15:09,186:DEBUG:superset.stats_logger:[stats_logger] (incr) SavedQueryRestApi.post.success
superset_app          | 2024-07-25 06:15:09,186:DEBUG:superset.stats_logger:[stats_logger] (timing) SavedQueryRestApi.post.time | 21.099509991472587
superset_app          | <IP_ADDRESS> - - [25/Jul/2024:06:15:09 +0000] "POST /api/v1/saved_query/ HTTP/1.1" 201 191 "-" "PostmanRuntime/7.40.0"
superset_app          | 2024-07-25 06:15:32,776:DEBUG:superset.stats_logger:[stats_logger] (incr) health
superset_app          | <IP_ADDRESS> - - [25/Jul/2024:06:15:32 +0000] "GET /health HTTP/1.1" 200 2 "-" "curl/7.88.1"
superset_app          | 2024-07-25 06:15:47,916:DEBUG:superset.stats_logger:[stats_logger] (incr) ChartRestApi.post.error
superset_app          | 2024-07-25 06:15:47,917:ERROR:flask_appbuilder.api:'SavedQuery' object has no attribute 'name'
superset_app          | Traceback (most recent call last):
superset_app          |   File "/usr/local/lib/python3.10/site-packages/flask_appbuilder/api/__init__.py", line 110, in wraps
superset_app          |     return f(self, *args, **kwargs)
superset_app          |   File "/app/superset/views/base_api.py", line 127, in wraps
superset_app          |     raise ex
superset_app          |   File "/app/superset/views/base_api.py", line 121, in wraps
superset_app          |     duration, response = time_function(f, self, *args, **kwargs)
superset_app          |   File "/app/superset/utils/core.py", line 1470, in time_function
superset_app          |     response = func(*args, **kwargs)
superset_app          |   File "/app/superset/utils/log.py", line 255, in wrapper
superset_app          |     value = f(*args, **kwargs)
superset_app          |   File "/app/superset/views/base_api.py", line 93, in wraps
superset_app          |     return f(self, *args, **kwargs)
superset_app          |   File "/app/superset/charts/api.py", line 329, in post
superset_app          |     new_model = CreateChartCommand(item).run()
superset_app          |   File "/app/superset/commands/chart/create.py", line 46, in run
superset_app          |     self.validate()
superset_app          |   File "/app/superset/commands/chart/create.py", line 65, in validate
superset_app          |     self._properties["datasource_name"] = datasource.name
superset_app          | AttributeError: 'SavedQuery' object has no attribute 'name'
superset_app          | <IP_ADDRESS> - - [25/Jul/2024:06:15:47 +0000] "POST /api/v1/chart/ HTTP/1.1" 500 31 "-" "PostmanRuntime/7.40.0"

Also note that in #23189 the answer by ShaliniIruvuru (answer) mentions query instead of saved_query in the chart creation JSON (which should be a different object).
Screenshots/recordings
No response
Superset version
4.0.2
Python version
I don't know
Node version
I don't know
Browser
Chrome
Additional context
Used the following command to create superset container:
export TAG=4.0.2 && docker compose -f docker-compose-image-tag.yml up

Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

@dosu As mentioned in my original post, I am using 4.0.2 which is more recent than 4.0.0 suggested by you. Also, the issue you referenced has 4.0.2 label as well.

@dosu
The data-source table should have completely different IDs than data-source saved_queries.
However, I tried your suggestion, and the chart was created with an entirely different set of columns (which compliments what I wrote above).

This did not work. I am getting the same error.


[x] Make sure you are making a pull request against the develop branch (left side). Also make sure to start your branch off our develop.
[x] If this PR produces a visible change, please provide screenshots showing these changes.
[ ] Confirm that your pull request will pass our linting and unit tests.
[ ] Make sure your code is properly tested, so that the code coverage is not decreasing.

Issue

Please provide the #123 of the issue you created in advance, that describes the bug/proposed change.
Finalizes #124

❤Thank you!

Currently blocked, because the Gaia package is not installable without errors on Ubuntu.

ATTENTION: Please squash merge this one. There are so many back and forth commits...


Moles Calculator

Enter calculator name -
Moles Calculator
Describe calculator functionality -
The Moles Calculator takes the mass of the substance in some units which could be either a multiple or a sub-multiple of the SI unit and also the formula/molecular weight of the mentioned material/compound.
The inputs and outputs are inter-connected, if the user tries to change one of them, the other two values maintain the correct dependency and change along with it.
In case you face a problem in calculating the molecular weight, you can simply refer to the Molecular Weight Calculator in the repository.
Under which category you wish to place it -

[ ] Computer Science
[ ] Mathematics
[ ] Physics
[x] Chemistry
[ ] Biology
[ ] Art
[ ] Finance
[ ] Scientific
[ ] Health
[ ] Sports
[x] Let project owner decide
[ ] Suggest a new category - (Answer here)

@SarthakKeshari, I would love to work on this issue.  Please assign me this issue.

Hey @Ayush-Vish,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\chemistry\molesCalc
Issue completion deadline - 30th Oct 9:00:00 am IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant

I apologize for the delay in my response, and I appreciate your understanding.


Remove CNAME

Removes CNAME so that we can preview the GH pages site as we build it.

It will still save.


The gRPC template spits out a debug log by default

Describe the bug
Make a new preview4 grpc template.
To Reproduce
Steps to reproduce the behavior:

Run it.
See the debug log coming from the GrpcServiceBinder

Expected behavior
No debug logs get printed.
Screenshots

This is happening because by default the templates turn on debug logs for everythnig except Microsoft and System, the GRPC template needs to add one for GRPC as well.
{
  "Logging": {
    "LogLevel": {
      "Default": "Debug",
      "System": "Information",
      "Microsoft": "Information"
    }
  }
}

cc @JamesNK @JunTaoLuo @shirhatti

IT'S FIXED @Eilon


tagObject Revision for Existing Files in HashStore

If tagObject is called to tag a pid and cid that is already tagged appropriately, instead of logging a warning - throw an exception (ex. FileAlreadyExistsInHashStoreException) - otherwise we could be accessing files unnecessarily and create confusion for clients who may not think that an action went through or not.

This has been completed via Feature-74: tagObject Refs File Already Exists


Navigation history widget

Right now, we can only go back and forth one step in the navigation stack. However, there are multiple situations that would benefit from the ability to see the full navigation history. For example, I sometimes wish to go back to a certain function I stumbled across previously. It can be achieved by repeatedly pressing ESC, but one can get lost easily (especially they wish to get back to the current location afterwards).
This can be done as a sidebar. Alternatively, we can add a drop-down menu to the back/forward button. and clicking it will show a list of history locations

This also helps people understand which functions have been worked on. It's useful when one gets back to a database after a long time, or receives a new database through collaboration.

Related to #2070. These two combined would drastically improve the awareness when a user navigates a database.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1246

Questions ?
Please refer to the Backport tool documentation


devicetree: deprecate DT_CLOCKS_LABEL APIs

Mark all variants of the DT_CLOCKS_LABEL APIs:

DT_CLOCKS_LABEL_BY_IDX
DT_CLOCKS_LABEL_BY_NAME
DT_CLOCKS_LABEL
DT_INST_CLOCKS_LABEL_BY_IDX
DT_INST_CLOCKS_LABEL_BY_NAME
DT_INST_CLOCKS_LABEL

As deprecated in favor of utilizing:

DT_CLOCKS_CTLR_BY_IDX
DT_CLOCKS_CTLR_BY_NAME
DT_CLOCKS_CTLR
DT_INST_CLOCKS_CTLR_BY_IDX
DT_INST_CLOCKS_CTLR_BY_NAME
DT_INST_CLOCKS_CTLR

Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

I still think we should test them, even though they're deprecated.

That creates a chicken/egg issue with twister as we'll get warnings that will be treated as errors.

That creates a chicken/egg issue with twister as we'll get warnings that will be treated as errors.

There must be a way to pass --disable-warnings-as-errors to twister from a particular testcase.yaml, right?
The tests could be broken out into their own sample if so.

There must be a way to pass --disable-warnings-as-errors to twister from a particular testcase.yaml, right?
The tests could be broken out into their own sample if so.

I'm not aware of any cases or ability in twister to do that on a per test basis.

I'm not aware of any cases or ability in twister to do that on a per test basis.

@mbolivar-nordic handling it by 'redefining' __DEPRECATED_MACRO in the test.

There must be a way to pass --disable-warnings-as-errors to twister from a particular testcase.yaml, right?
The tests could be broken out into their own sample if so.

I'm not aware of any cases or ability in twister to do that on a per test basis.

How are we going to maintain tests for deprecated macros in general then? Always just redefine in the test code?

Did you forget to push? The tests are still gone.

looks that way.  Should be fixed now.


Adding Two Graph Algorithm Problems

Pull Request Template
What have you Changed(must)
Added two problems based on two algorithms namely Bipartite graph and Counting the connected Components
Issue no.(must) -
No file was there in Graph-Algorithms directory.
So added two good problems.
Pr will be closed and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will marked as spam.
[x] My file is in proper folder.
[x] I am following clean code and Documentation.
[x] I have added title and what program will do first in the file.

README - How to Contribute

Mention the issue else PR will be closed.

added issue number

Issue added
On Sun, 11 Oct 2020, 5:42 pm Divyanshu Bargali<EMAIL_ADDRESS>wrote:

Mention the issue else PR will be closed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/div-bargali/Data-Structures-and-Algorithms/pull/243#issuecomment-706695698,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APSCTJLR5MVAZN22AW2XAADSKGOLLANCNFSM4SK2WUYQ
.


Support Pub/Sub Emulator

Use the PUBSUB_EMULATOR_HOST environment variable to indicate the target service API is running an insecure emulator.
Add documentation for installing the emulator, and for configuring gcloud-ruby to use the emulator.
[closes #491]

This is the simplest implementation I could come up with. I've tested it against the current Google Cloud SDK Pub/Sub Emulator. The conversion to GRPC made this significantly easier to implement, even though I did my best to make it as complicated as possible initially. 😄
The only caveat is that the current version of the Google Cloud SDK Pub/Sub Emulator doesn't support the IAM calls. But the ruby code should work if/when the emulator supports them.

@blowmage Thank you for pushing this to the front of the queue!


[2.0-wip] Fix mustache glob when building

Changes index.js to only build files that end in ".mustache".
This keeps it from processing (and erroring on) files like the invisible ".swp" files that vim adds to the directory.

got it - thanks


is the config file you provide the optimal parameter??

Thanks for reading my question!
is the config file you provide the optimal parameter?? I run a experiment on the dataset FB15K-237 with the default config file your provide . the results seems a lot different from the result in your paper?This is my result:
INFO:root:Hits@1:  0.1069
04/29/2018 12:23:52 AM: [ Hits@1:  0.1069 ]
INFO:root:Hits@3:  0.1904
04/29/2018 12:23:52 AM: [ Hits@3:  0.1904 ]
INFO:root:Hits@5:  0.2314
04/29/2018 12:23:52 AM: [ Hits@5:  0.2314 ]
INFO:root:Hits@10:  0.2864
04/29/2018 12:23:52 AM: [ Hits@10:  0.2864 ]
INFO:root:Hits@20:  0.3413
04/29/2018 12:23:52 AM: [ Hits@20:  0.3413 ]
INFO:root:auc:  0.1655
04/29/2018 12:23:52 AM: [ auc:  0.1655 ]
Could you help me to reproduce the result of your paper??

Hey, thanks for pointing this out. Let me check and get back to you!
-S

Thanks for your timely reply. I am looking forward to your check result and it will help a lot to me, another question. What dose the dummy relation mean in your code. I am confused about the code where the 'dummy, dummy_scores' appeared ,i.e what the code(agent.py)  below used to do??
```
comparison_tensor = tf.ones_like(next_relations, dtype=tf.int32) * self.rPAD  # matrix to compare
mask = tf.equal(next_relations, comparison_tensor)  # The mask
dummy_scores = tf.ones_like(prelim_scores) * -99999.0  # the base matrix to choose from if dummy relation
scores = tf.where(mask, dummy_scores, prelim_scores)  # [B, MAX_NUM_ACTIONS]
Thanks very much for helping me!!!

Thanks for your timely reply. I am looking forward to your check result and it will help a lot to me, another question. What dose the dummy relation mean in your code. I am confused about the code where the 'dummy, dummy_scores' appeared ,i.e what the code(agent.py) below used to do??
comparison_tensor = tf.ones_like(next_relations, dtype=tf.int32) * self.rPAD    // matrix to compare
mask = tf.equal(next_relations, comparison_tensor)             //The mask
dummy_scores = tf.ones_like(prelim_scores) * -99999.0     //the base matrix to choose from if dummy relation
scores = tf.where(mask, dummy_scores, prelim_scores)

Thanks very much for helping me!!!

Hey,
The dummy scores are just scores assigned for PAD actions/edges as we do not want our agent to take those actions.
I am able to reproduce the scores at my end for FB15k-237. I just realized that the code was printing some extraneous results due to some debug code which I forgot to remove before pushing.  Could you share the log file generated?

Thanks a lot for your reply,I have reproduced the result for FB15k-237 with your help  ! Thanks again for your timely reply and kindly help, great job!

Hi @Lee-zix, is there anything fixes to reproduce the results?


Font awesome fixed width icons

The icons in dropdown menus have different widths which messes the text alignment up. A simple fix would be to add the fa-fw class to these icons. I wouldn't mind applying this and creating a pullrequest myself if there is not a specific reason not to apply fixed witdth on these icons

I added the fa-fw class in the master branch.
Let me know if you see other glitch like that.


Collect non-reddit links from wiki?

The collector seems to mostly work fine, however if a series happens to mix reddit posts with external links like the Deathworlders Essential Reading Order (where the "main series" posts are on an external site until chapter 37 "Grounded") then those external links are just skipped

Sorry for the delayed reply. Missed the notification.
I don't think collection from sites other than reddit is something that is feasible to implement in this project. hfy2epub is heavily constrained by the fact that it has to work inside of a users browser with no server component. It works for reddit because the parts of the API it uses happen to allow cross-origin access.
A native application or browser extensions would not be constrained by the same origin policy. Even then it would not be easy to reliably extract the right content out of the target site without adding special knowledge about the site to the code (e.g. about their pagination, chapterization etc.). The HFY wiki and posts more or less follow a set of conventions that can be captured reasonably well with simple heuristics. Out in the web it's the wild west ;)
There might be a place for a browser extension that tries to help you to build an EPUB from arbitrary web-content (e.g. do some Firefox reader mode like extraction + some site specific extensions and pagination heuristics) but this is not a direction I am planning to go with hfy2epub.


Add Policy ID to Error Message for Non-Compliant Product Versions

When registering a new product version that does not comply with the registration policy, the registry returns an error message similar to this one:

It would be useful if the error message also included the ID of the policy that was violated.
Currently, to determine which policy is causing the error, we have to check the logs of different images. Including the policy ID in the error message would simplify this process, allowing us to easily perform a GET request on the specific policy and quickly identify the issue.

Thank you for your suggestion, @alessandrarota. We agree that including the ID of the violated policy in the error message would greatly improve usability by simplifying issue identification.
This enhancement has been added to our development pipeline under ticket code BDMD-3625. The expected delivery date for this update is 24 December 2024.
We’ll update this issue once the feature is implemented and released.


download image Issue

like this url "http://img2.imgtn.bdimg.com/it/u=2129909692,4186700444&fm=27&gp=0.jpg"
can't download image,because this url has ","  ~ XD~

The URL you provide is OK on our demo project(Simply change the URL in MasterViewController.m and run). In fact, SD use NSURL to constuct from the NSString. Please check the issue again, thanks.


Improve API of cosign module.

Introduction
I think the cosign API could be improved at a number of places.
I already gave some feedback on the cosign API in #274:

Toggle for previous feedback.

I feel like some parts of the Cosign API are too "low level" and unclear about what is being verified.
trusted_signature_layers: I think this function could be removed from the public API, because it is somewhat confusing and it is not obvious what it does.
verify_constraints: I think this function could be moved into the the CosignCapabilities trait and replace trusted_signature_layers as part of the public API. The parameters could be a mixture of both. The name could be changed to something similar to the verify_blob* methods.
Is it the user's/OCI client's task to verify that image data and signature are consistent? The way I understand it, I can only assume the actual image data is authentic, if I'm fetching it with a reference that contains the digest and the OCI client ensures image data is consistent with the manifest.
Blob verification

I think the verify_blob* methods could use a variant that supports Fulcio based certificates + verification constraints.
Does it make sense to have verify_blob* methods for both bundle and raw signatures?
Does it make to use an enum for the 'verification key source' for public key, certs and Fulcio, instead of having functions for each?

Changes
I hope the following can provide more details on what I had in mind.
Change 1: consolidate trusted_signature_layers and verify_constraints into a single method that is part of the CosignCapabilities trait. I think this current setup is somewhat confusing.
Currently we have the following signature:
// sigstore::cosign::CosignCapabilities
pub trait CosignCapabilities {
// ...
    async fn trusted_signature_layers(
        &mut self,
        auth: &Auth,
        source_image_digest: &str,
        cosign_image: &OciReference,
    ) -> Result<Vec<SignatureLayer>>;
}

// sigstore::cosign::verify_constraints
pub fn verify_constraints<'a, 'b, I>(
    signature_layers: &'a [SignatureLayer],
    constraints: I,
) -> std::result::Result<(), SigstoreVerifyConstraintsError<'b>>
where
    I: Iterator<Item = &'b Box<dyn VerificationConstraint>>

I personally think having an API similar to this would be better:
// sigstore::cosign::CosignCapabilities
pub trait CosignCapabilities {
// ...
    async fn verify_image<I>(
        &mut self,
        auth: &Auth,
        source_image_digest: &str,
        cosign_image: &OciReference,
        constraints: I,
    ) -> Result<_> // unsure about the return type
    where
      I: Iterator<Item = &'b Box<dyn VerificationConstraint>>;
}

Notes:

I'm not sure what the return type should be.
I think this change can be made without breaking changes if the previous methods are only deprecated for now.

Change 2:  standardize container image and blob verification APIs
Methods for blob verification verify_blob and verify_blob_with_public_key have a very different API from how container images are verified. I think both should be more similar to improve the DX of users. So my idea is to have functions that are part of the CosignCapabilities trait that are similar to this:

verify_image(): see above
verify_blob(): this already exists along with verify_blob_with_public_key()
I personally would also add constraint verification to the blob verification method.

Change 3: improve verify_blob API
I think  verify_blob and verify_blob_with_public_key have an inconsistent naming scheme.
I personally would either change verify_blob to verify_blob_with_certificate or unify them into a single function named verify_blob.
One option would be to use an enum for the key type:
enum VerificationKeySource {
  Sigstore, // analogous to how container images are verified
  Certificate(...),
  PublicKey(...),
}

pub trait CosignCapabilities {
  // ...
  fn verify_blob<I>(
      &self, // add this to get access to keys the client already stores
      key_source: &VerificationKeySource,
      bundle: &CosignBundle,  // use a bundle instead of a raw signature
      blob: &[u8],
      constraints: I, // add constraints to enforce signer subjects, etc.
   ) -> Result<()>
   where
      I: Iterator<Item = &'b Box<dyn VerificationConstraint>>;
}

Notes:

This approach makes it possible to verify blobs with Fulcio-issued certificates.
This requires users to build a cosign client first.
We do not use raw signatures anymore, is it necessary to support them?

Summary
I think these changes could help to unify the cosign API and make it easier to use. I most definitely did not consider all implications these changes would have, so I think this likely requires some changes.

I came searching for how to verify image signatures.
@vembacher, would you open a PR, or are you happy for anyone to implement your ideas above and raise a PR?


Snapshot tests are not always failing from errors

Errors encountered in the threads are not always propagating and causing the tests to fail.
The error I consistently repro (every time) was an op handling error (attach message was throwing because of some bad code). The output would include the error details, because the logger was printing them, but the test itself wasn't failing.

More detailed discussion in the PR, but I went with just re-throwing all errors in the replay-tool logger.  This could potentially cause problems depending on the expectations of the replay-tool (e.g. if some failures are expected), so I can revisit if that's the case (once replay-tool is working again)


bigwig-studio2: 2.4.3->2.5

Update to newever version
Motivation for this change
Update to newer version of bitwig-studio
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Thanks!


Mpc

Sorry, didn't mean to PR

Hi, I'm not sure if it's possible for me to delete a PR altogether (at least I don't see such an option) but happy to keep it closed :-)


Microbatching TcpReaderWriter

There are some timeout related features that the clients cancel the tasks if the server doesn't reply in timely manner. It will be beneficial if we can test timeout with the updated code before doing more cleanup etc., we can also have a feeling of how much improvement we do performance wise.

Alright, perf tests show that this is very promising. Running the Thrift benchmarks shows a near 2x increase in QPS. Math below; numbers are the QPS of the benchmark with neither, both, or either/or client/server using the new batching TcpReaderWriter.
both = 1131412.6363636365
neither =<PHONE_NUMBER>333334
only_client =<PHONE_NUMBER>195402
only_server =<PHONE_NUMBER>5

both/neither => 1.9225728209
only_client/neither => 1.0130645259
only_server/neither => 1.4895806753

Closing until the transport layer story for RSocket stabilizes.


The build fails when building echo_server with nrf52840_pca10056

Steps to reproduce:
git checkout 967d8b5b59f6107af43a9979b34998b60f97f0ec
cmake -Bb -Hsamples/net/echo_server -DCONF_FILE=prj_nrf5.conf -DBOARD=nrf52840_pca10056
make -C b

Does not affect nrf51_pca10028 ...

The build fails because it is missing an include path.
The include path is missing because it is enabled by the disabled CONFIG_HAS_NORDIC_DRIVERS.
I have no idea why drivers is disabled and am unable to enable it.
Adding it to prj_nrf5.conf has no effect.


Update README.md

Added Codecov Badge to README.md

Codecov Report
Patch and project coverage have no change.

Comparison is base (02a60f7) 96.34% compared to head (c95e2f6) 96.34%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##           master       #3   +/-   ##
=======================================
  Coverage   96.34%   96.34%
=======================================
  Files           6        6
  Lines         246      246
=======================================
  Hits          237      237
  Misses          9        9

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


storage-manage-find-blobs.md - added missing word

Added a missing word.

@rick-brown-slalom : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks for this update @rick-brown-slalom.


Forcing https to use TLS1.2 or higher

OS and version used: Ubuntu 16.04

Python runtime used: 3

SDK version used: Lts 01-2018

Description of the issue:

Is there a way when using the file upload functionality to the IOT Hub, to use TLS 1.2 only (disable 1.1/1.0)?
Code sample exhibiting the issue:

Console log of the issue:

@adw555
Yes, you have to use the set_option API with "tls_version" option name and "2" as a value.
Use:
0 -> TLS VERSION_1_0
1 -> TLS VERSION_1_1
2 -> TLS VERSION_1_2
Best Regards,
Zoltan

Many thanks Zoltan.
On 17 Apr 2018, at 21:25, Zoltan Varga <notifications<EMAIL_ADDRESS>wrote:
@adw555https://github.com/adw555
Yes, you have to use the set_option API with "tls_version" option name and "2" as a value.
Use:
0 -> TLS VERSION_1_0
1 -> TLS VERSION_1_1
2 -> TLS VERSION_1_2
Best Regards,
Zoltan
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-iot-sdk-python/issues/133#issuecomment-382130173, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AfPy59JwKZLJgObyq5U0XPgvDUd5lP0lks5tpk-igaJpZM4TXFhk.

Closing as answered

The SDK version that this question refers to is very old and no longer supported, but according to my reading of the code, the correct values to pass are 10 for TLS 1.0, 11 for TLS 1.1, and 12 for TLS 1.2. The default, at least for the Linux version of this library, is TLS 1.2.