Error: ar no such file found

I've been trying to build a vendored C library with cc, but I get this error message:
warning<EMAIL_ADDRESS>ar: '/home/runner/work/test-cc-glib/test-cc-glib/target/debug/build/test-cc-d41d4b076b508ca8/out/libglib.a': No such file

error: failed to run custom build command for `test-cc v0.1.0 (/home/runner/work/test-cc-glib/test-cc-glib)`

Caused by:
  process didn't exit successfully: `/home/runner/work/test-cc-glib/test-cc-glib/target/debug/build/test-cc-2f258154f2fe7cf4/build-script-build` (exit status: 1)
  --- stdout
  TARGET = Some("x86_64-unknown-linux-gnu")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-gnu
  AR_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_gnu
  AR_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_AR
  HOST_AR = None
  cargo:rerun-if-env-changed=AR
  AR = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64-unknown-linux-gnu
  ARFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64_unknown_linux_gnu
  ARFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_ARFLAGS
  HOST_ARFLAGS = None
  cargo:rerun-if-env-changed=ARFLAGS
  ARFLAGS = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:warning=ar: '/home/runner/work/test-cc-glib/test-cc-glib/target/debug/build/test-cc-d41d4b076b508ca8/out/libglib.a': No such file

  --- stderr

  error occurred: Command "ar" "s" "/home/runner/work/test-cc-glib/test-cc-glib/target/debug/build/test-cc-d41d4b076b508ca8/out/libglib.a" with args ar did not execute successfully (status code exit status: 1).

I've been following this guide hoping that "just giving a list of .c files to the cc crate" would be sufficient. I expected the C library to finish compiling successfully, but I guess something fails around the archive step. Maybe I'm missing something unrelated to cc?
I reproduced a minimal example of the repo along with a build action.
build.rs:
fn main() {
    let source_c_files = std::fs::read_dir("vendor/glib")
        .unwrap()
        .filter_map(|entry| {
            let path = &entry.expect("couldn't unwrap entry inside vendor/").path();
            let pathstr = path.to_str().expect("couldn't convert vendored .c path to string");
            match path.is_file()
                & path.ends_with(".c")
            {
                true => Some(String::from(pathstr)),
                false => None
            }
        });

    // this step currently fails: `ar` cannot find libglib.a
    cc::Build::new()
        .files(source_c_files)
        .compile("glib");
}

Any reasons why the ar command would fail here? Thanks for your help.

It seems like the source_c_files is empty?
From the warning message, it seems the source files are empty

🤦♂ yep that's it, thanks.


Correct a language error in reverse proxy doc

Codecov Report

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

@@            Coverage Diff             @@
##           master    #9455      +/-   ##
==========================================
- Coverage   41.46%   41.45%   -0.02%
==========================================
  Files         571      571
  Lines       75250    75250
==========================================
- Hits        31205    31195      -10
- Misses      40172    40183      +11
+ Partials     3873     3872       -1

Impacted Files
Coverage Δ

services/pull/check.go
48.59% <0%> (-5.64%)
:arrow_down:

models/unit.go
62.16% <0%> (-5.41%)
:arrow_down:

services/pull/temp_repo.go
31.62% <0%> (-2.57%)
:arrow_down:

routers/repo/view.go
38.59% <0%> (-0.88%)
:arrow_down:

models/repo_list.go
74.07% <0%> (+0.92%)
:arrow_up:

modules/log/event.go
65.64% <0%> (+1.02%)
:arrow_up:

modules/process/manager.go
78.31% <0%> (+3.61%)
:arrow_up:

Continue to review full report at Codecov.

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


FIX: Switch python with $PYTHON_EXECUTABLE

Use the $PYTHON_EXECUTABLE variable defined earlier in the dockerfile instead of naively using python in the caching mechanism for Hugging Face weights.

Sorry about that. Accidentally committed something meant for a different branch. Should be good now!


Vite JSX multiline class support

Clear and concise description of the problem
for react project with vitejs, i did not encounter this error with .jsx file, however i faced this issues when using official plugin-vue-jsx with vue 3 project.

Message.jsx
  <div
            class="
            fixed                                 <--- multiline class, and its valid jsx syntax
            top-5
            inset-x-0
            z-50
            flex flex-col
            space-y-4
            items-center
            justify-center
            px
          "
          >

error throw by vite
7:13:27 [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
  Plugin: vite:import-analysis
  File: /Users/liho/Desktop/349assistant/src/components/Message.jsx
  86 |        }, {
  87 |          default: () => [_createVNode("div", {
  88 |            "class": "
     |                      ^
  89 |              fixed
  90 |              top-5

Suggested solution
i think the solution is to trim the next line characters when compiling.
Alternative
No response
Additional context
Besides, JSX has an advantages over that vue template file which is allow to write multiline dom as a functional component & variables.
I think better jsx support helped to write a better composition code than vue template file, hope vue template file support multiline dom as variable or functional component.
Validations

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

hello, i have created a pull request to solve this problem.

Hello, i am happy to create a pull request to solve the problem.This is the pr.

The problem here is that the babel JSX plugin doesn't transform newlines in class into spaces, so the output JavaScript contains invalid syntax that Vite fails to parse.
https://github.com/vitejs/vite/pull/5530#discussion_r749805552

minimal reproduction with Vue JSX Explorer

reported to upsteam: https://github.com/vuejs/babel-plugin-jsx/issues/569

Closing as I reported to upstream.


V-79061 - Disable-DbsMixedMode

Set-DbsSpConfigure can likely handle this. Warn that a restart is required

$server = Connect-DbaInstance
$server.Settings.LoginMode = "Integrated"
$server.Alter()

or (but try smo first)

USE [master]
EXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'LoginMode', REG_DWORD, 2
GO

This has been addressed with several commands. I decided against Export and instead included an example with Export-Csv
Get-DbsDbContainedUser -SqlInstance sql2017, sql2016, sql2012 | Export-Csv -Path D:\DISA\contained.csv -NoTypeInformation

GetDbsMixedMode
Disable-DbsMixedMode
Get-DbsDbContainment
Disable-DbsDbContainment
Get-DbsDbContainedUser


Add a reload endpoint

Description
As a first step for soving https://github.com/openshift/autoheal/issues/41 add a /-/reload endpoint
Running
$ curl -X POST http://localhost:9099/-/reload

@nimrodshn @zgalor @moolitayer @elad661 @jhernand . Please review.

/lgtm :+1:

@yaacov I agree with @jhernand, some changes are due.

@yaacov I agree with @jhernand, some changes are due.

:+1:  Thanks, adding wip, re-thinking ...
Current thoughts :-)
a. add a config flag to enable the new endpoint (default off)
b. move the clean + update rulles into the .Load() function ?
@nimrodshn @jhernand  WDYT ?

I'd suggest the following:

The config object remembers the configuration files that it has loaded, and watches them for changes, something similar to what @zgalor did here:

https://github.com/zgalor/prometheus-launcher/blob/bac49db79a5784453a4071716fe8c2611136137c/cmd/launch-n-watch/main.go#L40-L70

The config object also watch for changes to the Kubernetes secrets, using the Kubernetes watch API.

The config object provides a mechanism to register listeners for configuration change events.

package config

type ChangeEvent ...
type ChangeListener func(*ChangeEvent )

func (c *Config) AddChangeListener(listener ChangeListener) {
  ...
}

Other parts of the system register for those events, and perform the required actions:

package whatever

config := ...

// Get the initial value of the parameter:
param := config.Param()

// Get notified when the configuration changes:
config.AddChangeListener(func (*event config.Change) {
  // Update the value of the param:
  param = config.Param()

  // Maybe do other actions, for example, clean and populate
  // again the rules cache:
  ...
})

No explicit reload support is needed in this approach.

@nimrodshn @jhernand  please re-review.
Not sure if the function to reload config does all re-caching / re-freshing needed, please look at onConfigFilesCanged .

The config object remembers the configuration files that it has loaded, and watches them for changes, something similar to what @zgalor did here:

Done.

The config object also watch for changes to the Kubernetes secrets, using the Kubernetes watch API.

Not done, I did not find the relevant code :confused:

The config object provides a mechanism to register listeners for configuration change events.
Other parts of the system register for those events, and perform the required actions:

Done using external library: https://github.com/yaacov/observer

@nimrodshn  @jhernand . Addressed comments, please review.

loadedFiles and configFilesObserver   are now local.
log messages don't end with punctuation
add defer close observer
onConfigFilesCanged is now onConfigChanged

@jhernand ready for ( next :-) ) review

a. Moved the change watcher to config.
b. Loader knows what files to watch, but config does the actual watching.
c. Healer has a listener function that get called by config when change event is triggered.
@nimrodshn @jhernand next review please :-)

Last iteration ? :-)
@nimrodshn @jhernand please review.

@yaacov last iteration minus delta, where delta tends to zero.

bad rebase ... fixing

@jhernand , had a bad rebase, fixed now :tada:
@jhernand @nimrodshn please review.

@yaacov the change in itself looks good, and I am inclined to merge it, but we need to make sure that the dependencies are updated correctly. To do so we need to include in this pull request a commit to update the vendor directory, the result of running dep ensure. That should add to the vendor directory the code of the observer package, at least.

@yaacov very nice.
/lgtm
/approve


Incubating InclusiveRepositoryContentDescriptor.includeGroupAndSubgroups breaks dependency resolution

Current Behavior
When adding an new repository with includeGroupAndSubgroups filtering, the build breaks on basic dependency resolution (even though it does not match anything):
 repositories {
     mavenCentral()
+    exclusiveContent {
+        forRepositories(maven("https://example.org"))
+        filter {
+            includeGroupAndSubgroups("foo.bar")
+        }
+    }
 }

Output of the sample project running ./gradlew build --no-configuration-cache --refresh-dependencies:
> Task :compileKotlin FAILED
1 actionable task: 1 executed

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.0.
     Required by:
         project :

* 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.

BUILD FAILED in 31s

Expected Behavior
This new configuration should not break the build.
Context (optional)
No response
Steps to Reproduce
https://github.com/SimonMarquis/Gradle-26569
Gradle version
8.3
Build scan URL (optional)
No response
Your Environment (optional)
Currently tested on Apple M1 Pro, running Ventura 13.5.2.

Looking at the SimpleSpecMatcher implementation, everything looks normal, and the DefaultRepositoryContentDescriptorTest.groovy as well.
https://github.com/gradle/gradle/blob/dfc6a93731f21f60e333dc96a9e20730449730ec/subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptor.java#L411-L421
The issue might probably come from the repositories management.

Thank you for providing a valid report.
The issue is in the backlog of the relevant team, but this area of Gradle is currently not a focus one, so it might take a while before a fix is made.

I think the cause of this is here
Note all other methods do invert logic (exclude...), but includeGroupAndSubgroups does direct call, without inverting it to smth like (excludeGroupAndSubgroups)

Fixed by #27828


please rebuild rerun 0.20.0 docs - failed due to spurious network error

Crate name
rerun
Build failure link
https://docs.rs/crate/rerun/0.20.0/builds/1536551
Additional details
Hi, as far as I can tell, the build of docs for rerun 0.20.0 https://docs.rs/crate/rerun/0.20.0/builds failed due to spurious network errors. Could you please trigger a re-build? Thanks!

A rebuild won't help here.
From what I see, one of the build-scripts tries to run cargo metadata, which needs network access.
And we don't (and never will) allow network access in the build process: https://docs.rs/about/builds
It looks like it's the build-script from re_viewer , which is calling something from re_build_tools, which then calls cargo metadata.

Thanks, I filed a regression with rerun at https://github.com/rerun-io/rerun/issues/8165

perfect, thanks!
feel free to comment / reopen here if I'm wrong.


[v2] Correctly strip line continuations from trailing node formatting

...actually I'm not sure what this is about? I'll leave it open in case I find out later lol

oh no yeah it's broken the test was just disabled


Script for measuring performance and code size

Our goal is continuous integration in terms of build, test, and measure.
As part of that goal, we need to build a framework for measuring and displaying (tabulating) the code size and performance of all of the functions across all of the supported platforms.
The results should be published and readable in markdown in the root directory of PAL.

I'd like to help with this script but I am not sure how I can start.

I think that a good starting point is to compare performance and code size between two commits... The resulting report could display for the whole function/arch pair set the difference in terms of code size and performance between these two commits, which offers to point performance regressions along code development.
What do you think about that ?
This could be easily done with "global software timers" in a first approximation (i.e. wrapping function calls). More accurate measures would probably be done with performance counters in a second step, using statistical techniques (e.g. perf, OProfile... but lighter).

@abdullahyildiz To measure code size, one could use 'size' or 'objdump'. To measure clock cycles one would need to instrument the test functions with some kind of time measurement like 'gettimeofday' or profiler like @jpeeters suggested.

Without modifying the code there are some tools like PIN (Intel) or LLVM that allow to make dynamic instrumentation of binary code. The instrumentation code has the form of a plugin, which could be easy to write and maintain.

For occasional one-off benchmarks I have a Sandy Bridge Xeon along with a GTX 690 I don't mind running tests on.

displaying (tabulating) the code size

As of 5e287126db01bbd2c3b6f18574296475d7b6c527 and fbd11146c0d8f7211379dfcedfa0a28a4384b97b we now have scripts that reports code size and stack usage per function.
make && make reports

Reports are saved in reports/
However, that's not enough: we want to be able to track regressions over time.
I'm thinking csv --> sqlite --> gnuplot --> html reports ?
{ [commit date, commit sha, platform, compilation unit, symbol], size, stack usage, execution time, ??? }


Param passing prototype: Moved updateParams before addNestedModel

Changes include:

Moved updateParams function before addNestedModel is called so that updated contents of includeSDF are correctly copied to _sdf
replaced element identifier name with element_id
added retrieve element when action="add"

Codecov Report

Merging #464 (507e90e) into param_passing_prototype (602ffeb) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@                     Coverage Diff                     @@
##           param_passing_prototype     #464      +/-   ##
===========================================================
+ Coverage                    87.85%   87.89%   +0.03%
===========================================================
  Files                           63       63
  Lines                         9642     9665      +23
===========================================================
+ Hits                          8471     8495      +24
+ Misses                        1171     1170       -1

Impacted Files
Coverage Δ

include/sdf/Error.hh
100.00% <ø> (ø)

src/ParamPassing.cc
100.00% <100.00%> (+1.58%)
:arrow_up:

src/parser.cc
78.79% <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 602ffeb...507e90e. Read the comment docs.


Search is now Transaction Search

In the Azure Portal page for Application Insights the menu item that this page refers to simply as Search has been changed to Transaction Search. This is probably a good thing as it stops it being confused with the search box at the top of the menu. However this page refers to the old name. I expect this may be an issue in a number of the other pages of documentation.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: b7265053-e223-593d-eba7-7dc87c3f9246
Version Independent ID: 1b8daf9a-78f6-2ccf-ec31-85c125edc44b
Content: Explore .NET trace logs in Application Insights - Azure Monitor
Content Source: articles/azure-monitor/app/asp-net-trace-logs.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @AaronMaxwell
Microsoft Alias: aaronmax

@martingbrown
Thanks for your feedback! We will investigate and update as appropriate.


adding members to list doesn't work

perhaps this can be added to the readme. wasted some time trying to use this lib with the lists/members/create endpoint which needs a header oauth, with a POST method, but no body.
Didn't work with this lib, did work with an older clunkier lib.
Hopefully this issue or a small add to the readme can save others some time!
This can be closed if you'd rather not add anything to the readme.
Thanks for the lib regardless!

Thanks for reporting this @alextes , will keep it open.


GPRegressionGrid error

Hi there,
I am trying to set up a GPRegressionGrid:
# simple example from GPy.testing.grid_tests
X = np.array([[0,0,0],[0,0,1],[0,1,0],[0,1,1],[1,0,0],[1,0,1],[1,1,0],[1,1,1]])
Y = np.random.randn(8, 1) * 100
dim = X.shape[1]

kernel = GPy.kern.RBF(input_dim=dim, variance=1, ARD=True)
m = GPy.models.GPRegressionGrid(X, Y, kernel)

but I kept running into the following error:
Traceback (most recent call last):

  File "<ipython-input-87-8c8898850792>", line 6, in <module>
    m = GPy.models.GPRegressionGrid(X, Y, kernel)

  File "/usr/local/lib/python3.5/dist-packages/paramz/parameterized.py", line 54, in __call__
    self.initialize_parameter()

  File "/usr/local/lib/python3.5/dist-packages/paramz/core/parameter_core.py", line 331, in initialize_parameter
    self.trigger_update()

  File "/usr/local/lib/python3.5/dist-packages/paramz/core/updateable.py", line 79, in trigger_update
    self._trigger_params_changed(trigger_parent)

  File "/usr/local/lib/python3.5/dist-packages/paramz/core/parameter_core.py", line 128, in _trigger_params_changed
    self.notify_observers(None, None if trigger_parent else -np.inf)

  File "/usr/local/lib/python3.5/dist-packages/paramz/core/observable.py", line 91, in notify_observers
    [callble(self, which=which) for _, _, callble in self.observers]

  File "/usr/local/lib/python3.5/dist-packages/paramz/core/observable.py", line 91, in <listcomp>
    [callble(self, which=which) for _, _, callble in self.observers]

  File "/usr/local/lib/python3.5/dist-packages/paramz/core/parameter_core.py", line 498, in _parameters_changed_notification
    self.parameters_changed()

  File "/usr/local/lib/python3.5/dist-packages/GPy/core/gp_grid.py", line 61, in parameters_changed
    self.posterior, self._log_marginal_likelihood, self.grad_dict = self.inference_method.inference(self.kern, self.X, self.likelihood, self.Y_normalized, self.Y_metadata)

  File "/usr/local/lib/python3.5/dist-packages/GPy/inference/latent_function_inference/gaussian_grid_inference.py", line 78, in inference
    alpha_kron = self.kron_mvprod(QTs, Y)

  File "/usr/local/lib/python3.5/dist-packages/GPy/inference/latent_function_inference/gaussian_grid_inference.py", line 44, in kron_mvprod
    X = np.reshape(x, (G[d], np.round(N/G[d])), order='F')

  File "/usr/local/lib/python3.5/dist-packages/numpy/core/fromnumeric.py", line 232, in reshape
    return _wrapfunc(a, 'reshape', newshape, order=order)

  File "/usr/local/lib/python3.5/dist-packages/numpy/core/fromnumeric.py", line 67, in _wrapfunc
    return _wrapit(obj, method, *args, **kwds)

  File "/usr/local/lib/python3.5/dist-packages/numpy/core/fromnumeric.py", line 47, in _wrapit
    result = getattr(asarray(obj), method)(*args, **kwds)

TypeError: only integer scalar arrays can be converted to a scalar index

Any suggestions?

Should be fixed with the next version. Thanks for contributing!

Thanks!


vm: fix incorrect stack state after IndCall

Summary

fix the operand stack being in an incorrect state after IndCall
fix the assembler interpreting all numbers as hexadecimal numbers
change the assembler to require a type name for IndCall

Details
For convenience of the VM, the callee operand for IndCall must be on
top of the stack. It has to be popped before entering the procedure, so
that the arguments are on top of the stack, but it wasn't.
There were also two issues/bugs with the assembler that are now fixed:

number parsing tries interpreting numbers as decimal first, so that
numbers aren't always interpreted as hexadecimal (since parseHex
also supports numbers without a prefix)

IndCall parsing required a type ID rather than a type name, which
is inconsistent with all other places expecting a type. A type name
is now expected

Finally, tests for the IndCall operation are added to ensure that it
works correctly.

Notes For Reviewers

this is a bug that was resurfaced by #70

It'd be better if the callee operand comes after the procedure arguments, so that the latter are on top of the stack, but that would require shifting the stack operands to the left by one element, and I want to first do a performance test with skully (which is blocked by the bug this PR fixes) in order to make sure that the impact is acceptable.


Document out dated.  Visual Studio 2019 installer cannot download files.

Trying to install Visual Studio but the installer hangs and then time out claiming no internet connection.  Browser works just fine, obviously as I was able to download the installer.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 228076d1-94bf-c502-c018-08f7c0faf377
Version Independent ID: c64a5cd5-6236-4192-2bfc-923aa20c94da
Content: Create an offline installation - Visual Studio
Content Source: docs/install/create-an-offline-installation-of-visual-studio.md
Product: visual-studio-windows
Technology: vs-installation
GitHub Login: @ornellaalt
Microsoft Alias: ornella

@Straightly -- thank you for your feedback.  Please consider these resources:

Visual Studio on Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@ornellaalt -- please look into this potential documentation issue.

@Straightly -- thank you for your feedback.  Please consider these resources:

Visual Studio on Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@ornellaalt -- please look into this potential documentation issue.


added gre-erspan-vxlan tests for debugging issue 1676

added gre-erspan-vxlan tests for debugging issue 1676
Clearly describe the problem and solution
the greIPs are not visible in the viewer, however they are available in the greIp field of tests.pl output and in the ES db.
Screenshot is available in the issue track.
Please use tests/pcap/gre-erspan-vxlan.pcap in this PR to fix and test this issue in the viewer
Relevant issue number(s) if applicable
1676
Did you run npm run lint from the viewer or parliament directory (whichever you are making changes to) and correct any errors
yes, no errors
Did you Ensure that all tests still pass by navigating to the tests directory and running ./tests.pl --viewer
yes
License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

fixed the issue with the GRE ip's not showing up in the viewer.

thanks


feature/lerna: Optimise Travis startup

Currently the travis configuration waits five minutes for the infrastructure startup to complete.
The infrastructure startup script builds the docker image, seeds the database and starts the web service. The whole process needs to run in the background so the web service runs in parallel with the tests.
Breaking this up into separate steps would allow travis to wait for the build to complete, then launch the service in the background with a minimal delay before starting the tests.

Dropping this as Travis has stopped their free plan for public repos


[ISSUE #4633] Optimize the message body of the Rust SDK's returned reply message

Fixes #4633 .
Motivation
Explain the content here.
Explain why you want to make the changes and what problem you're trying to solve.
Modifications
Optimized the message body of the Rusk SDK's returned reply message
Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@kyooosukedn


⚠ Bofrost.at has degraded performance

In 9deffb7, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1731 ms

Resolved: Bofrost.at performance has improved in 200eba9.


Align keywords with second word of first line: RAISE EXCEPTION with EXPORTING

My RAISE EXCEPTION TYPE statements with MESSAGE are converted from this
        RAISE EXCEPTION TYPE zabc_path_exception
          MESSAGE ID sy-msgid
          NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          EXPORTING
            previous = exception.

to this according to the rule.
        RAISE EXCEPTION TYPE zabc_path_exception
              MESSAGE ID sy-msgid
              NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
              EXPORTING
                previous = exception.

However without the MESSAGE addition the EXPORTING is not aligned with the second word.
        RAISE EXCEPTION TYPE zabc_path_exception
          EXPORTING
            previous = exception.

        RAISE EXCEPTION TYPE zabc_path_exception
          EXPORTING previous = exception.

It seems like another rule applies here "Align parameters and components" and overules the positioning. Is this intended? If I turn that off I get the expected result:
        RAISE EXCEPTION TYPE zabc_path_exception
              EXPORTING
                previous = exception.

Also: Shouldn't the previous = exception line in the first example also get moved directly after the EXPORTING? Like this:
        RAISE EXCEPTION TYPE zabc_path_exception
              MESSAGE ID sy-msgid
              NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
              EXPORTING previous = exception.

Hi Fabian,
looks like you have a sharp eye for inconsistencies :-), that's great!
For some background, the "Align keywords with second word of first line" rule indeed uses the approach "align with second keyword, unless a better, more specific rule applies". The main idea is that in some cases, multi-line commands confuse the eye w.r.t. where the command starts or ends:
  LOOP AT mo_item_manager->get_all_items( )
    ASSIGNING FIELD-SYMBOL(<lo_item>).
    INSERT VALUE #( item_id       = <lo_item>->ms_data-item_id
                    item_category = if_any_interface=>cos_item_type-empty )
      INTO TABLE lth_any_hash_table.
  ENDLOOP.

Looking at this, the first thought that comes to my mind is: "Wait, is there an 'ASSIGNING' command in ABAP?", before I then realize that this line is not a stand-alone command at the beginning of the LOOP body, but rather continues the LOOP command.
So, in some cases, it helps readability to indent the second, third etc. line far enough; and aligning it with the second word of the first line usually looks nice and tidy (the idea is from our team programming guideline).
However, RAISE EXCEPTION is a bit of an in-between case, because in its simple form, it is actually like a method call, passing parameters to the constructor of the exception class (similar to CREATE OBJECT). Preferring functional style, you would usually want to replace …
    RAISE EXCEPTION TYPE zabc_path_exception
          EXPORTING
            previous = exception.

… with …
    RAISE EXCEPTION NEW zabc_path_exception( previous = exception ).

… which is exactly what the "Replace RAISE … TYPE with RAISE … NEW" rule does. However, that is not possible with the MESSAGE addition, and that's why RAISE EXCEPTION is handled a bit inconsistently.
Therefore, you could argue that the inconsistency lies a bit in the RAISE EXCEPTION syntax itself. I do agree, however, that the "Align parameters and components" rule should apply to "RAISE EXCEPTION TYPE … MESSAGE … EXPORTING", too, and will enhance it accordingly!
Kind regards,
Jörg-Michael
P.S.: MESSAGE with all its variants and additions would in itself of course be worth a cleanup rule. It's not like we have already run out of ideas…

Hi Fabian,
with the next release, the cleanup rule "Align parameters and components" will also consider the EXPORTING ... section in "RAISE EXCEPTION … MESSAGE … EXPORTING …" and "RAISE SHORTDUMP … MESSAGE … EXPORTING …" cases:

The position of EXPORTING itself depends on the context, so if MESSAGE is in a different place (e.g. because the rule "Align keywords with second word of first line" is not activated), then EXPORTING will be positioned accordingly:

This does not align the MESSAGE section itself – I guess that would be worth a rule of its own…
Kind regards,
Jörg-Michael

Hi Fabian,
this should now work with version 1.4.0 (released today)!
Kind regards,
Jörg-Michael


AdBlocker Extension

Description
Added AdBlocker Extension
Fixes:  #(issue no.)
Issue #67
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have made this from my own
[ ] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@Sulagna-Dutta-Roy Please add me in assignees as it is important for the leaderboard


First branch

Description of new feature, or changes

Simple change to gitignore for Visual Studio Code
Checklist

[x] Your branch is up-to-date with the base branch
[x] You've included at least one test if this is a new feature
[x] All tests are passing

Related Issues and Discussions

No related issues
People to notify

No mention required

Pull Request Test Coverage Report for Build 310

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.157%

Totals

Change from base Build 309:
0.0%

Covered Lines:
272

Relevant Lines:
289

💛  - Coveralls

Pull Request Test Coverage Report for Build 310

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.157%

Totals

Change from base Build 309:
0.0%

Covered Lines:
272

Relevant Lines:
289

💛  - Coveralls

Pull Request Test Coverage Report for Build 310

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.157%

Totals

Change from base Build 309:
0.0%

Covered Lines:
272

Relevant Lines:
289

💛  - Coveralls

Pull Request Test Coverage Report for Build 310

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.157%

Totals

Change from base Build 309:
0.0%

Covered Lines:
272

Relevant Lines:
289

💛  - Coveralls


Bring back removed code from TestEnvironment for Search

Search uses the method LookupEnvironmentFromBaseUri from the class TestEnvironment in TestFramework. However, in this commit, that method was accidentally removed.
Since we will be bumping all TestFramework versions to 1.4.1-preview for the ADAL upgrade, we need to bring back to the code so there are no breaks for Search.

@markcowl @brjohnstmsft would you mind taking a look and letting me know if this is OK?

@cormacpayne Thanks for catching this!
The change looks good, but what is the plan long-term? Search tests need to be able to tell what environment they are running in, otherwise it isn't possible to construct the correct base URI. Will this functionality eventually go back into TestFramework? I'm surprised no other Azure services with data plane APIs have a dependency on this.

@brjohnstmsft Would you file an issue for the functionality you would like from the test environment?

@markcowl It doesn't matter to me where that code lives, as long as it works. I'm just curious what was the rationale for removing it from the Test Framework in the first place.

@brjohnstmsft I believe it was accidentally removed by @shahabhijeet when he was making changes to the testing environment for .NET SDK


merge from template-esm-only

.github/workflows/update_readme_api.yml

chore: add 18.16.1 (jobs.update_readme_api.steps.with.node-version)

.github/workflows/ci.yml

chore: add 18.16.1 (jobs.release.steps.with.node-version)
chore: add 18.16.1 (jobs.test-browser.steps.with.node-version)

.github/workflows/codeql_analysis.yml

chore: add 18.16.1 (jobs.analyze.steps.with.node-version)

.github/workflows/update_package_lock.yml

chore: add 18.16.1 (jobs.update_package_lock.steps.with.node-version)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.307%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1022

Relevant Lines:
1197

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.307%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1022

Relevant Lines:
1197

💛  - Coveralls


Add monitor to Router model

Purpose
fog-sakuracloud cannot get the network bandwidth statistics of router.
Changes

Implement Fog::Network::SakuraCloud::Router#monitor method.
http://developer.sakura.ad.jp/cloud/api/1.1/internet/#get_internet_internetid_monitor

Any thoughts?

Thanks :smiley:
Can you change name of request ?
monitor_router  feels a little strange to me. e.g. retrieve_monitor, or collect_monitor.

@sawanoboly
That's a cool answer!
I suggest the method name list_router_traffics instead of monitor_router.
Or would you like collect_monitor?

@miyukki
hmm, collect_monitor is better.
Certainly can be provided value is the total traffic amount, but since the name of the API is monitor.

@sawanoboly
There are APIs that monitor the appliance network bandwidth other than router on SakuraCloud API
http://developer.sakura.ad.jp/cloud/api/1.1/appliance/#get_appliance_applianceid_interface_index_monitor
I think the name collect_monitor is conflicting when implement its api.
Thoughts?

@miyukki Ah.. you are correct. It'll not maybe conflict but will confuse users.
Probably I'll create new model when add appliances as loadbarancer or create new name by them's role.
Well then, let's use connect_monitor_router to this request and use connect_monitor in route model.

Well then, let's use connect_monitor_router to this request and use connect_monitor in route model.

@sawanoboly Did you mean collect right?
I rebased and force pushed this request. Please review it.

LGTM. Thanks :+1:

released as v1.5.1.

F.Y.I @miyukki
Because I noticed that the filter can be used a little while ago, I've add it. https://github.com/fog/fog-sakuracloud/commit/f9e7b0ef8208d0aaee1cee3cd185586c5ccb1f9d

@sawanoboly That's so good idea. Thank you. :+1:


Revise Template metadata to only have one version number (Cicero+Ergo)

The plan moving forward is to publish Ergo and Cicero in lock-step with the same version number. This makes the current metadata redundant. The suggestion is to consolidate into a single version field in the accordproject part of the package.json.
So to move from:
  "accordproject": {
    "template": "clause",
    "ergo": "0.9.0",
    "cicero": "^0.13.0",
    "runtime": "ergo"
  }

to:
  "accordproject": {
    "template": "clause",
    "version": "0.20.0",
    "runtime": "ergo"
  }

Note: the runtime component is still important to distinguish between source archive (containing ergo) and compiled archiver (containing javascript or possibly other executable code).

This reads to me like “accord project version” which is not what we want imo. How about ciceroVersion as the attribute?

This reads to me like “accord project version” which is not what we want imo. How about ciceroVersion as the attribute?

How about cicero since that's what we currently use. This definitely makes it easier to implement and easier for user migration!
(Thanks @dselman )

Unless I hear otherwise, I will implement:
  "accordproject": {
    "template": "clause",
    "cicero": "0.20.0",
    "runtime": "ergo"
  }

I suspect this means no code change (I am unclear we use the Ergo version number), but I will remove the ergo version from tests and templates, and add a mention in the migration guide. IMO this will reduce confusion.

Small update on this:

Removed getErgoVersion() API call on Metadata class
Removed ergo version field in all package.json
Now determines wether source or compiled archive through getRuntime() call

Fixed in #468


send request with gzipped body

I am trying to send a request with the gzipped body with supertest. But body-parser middleware return 400. json is valid json array. endpoint works fine when i send request with postman or curl.
test.js
const gzippedBody = zlib.gzipSync(JSON.stringify(json)).toString();
const response = await request(app)
  .post('/signals')
  .set('api_key', createAccessToken(appID, deviceID))
  .set('Content-Type', 'application/json')
  .set('Content-Encoding', 'gzip')
  .send(gzippedBody);

app.js
const app = express();
app.use(
  bodyParser.json({
    limit: '50mb'
  })
);

app.use(
  bodyParser.urlencoded({
    extended: true
  })
);
app.use('/signals', signalsRouter);

@s0ld13r Could you provide a reproduction of your issue?


vpiChandleVar instead of vpiRefObj in ForInitStmt

I think that the proper uhdm tree should be different than we thought here: https://github.com/chipsalliance/Surelog/issues/1449
After the fix #1501 it has the correct type, but it looks like a declaration of different variable with the same name.
When the following file is compiled and run:
package prim_util_pkg;
   function automatic integer _clog2(integer value);
      integer result;

      for (result = 0; value > 1; result++) begin
	 value = value >> 1;
      end
      return result;
   endfunction
endpackage

module top(output integer o);
   assign o = prim_util_pkg::_clog2(15);
endmodule // top

The o variable equals 0, but should be equal 3.
I think that the result variable in vpiForInitStmt should be represented as vpiRefObj.

I created the fix: https://github.com/chipsalliance/Surelog/pull/1507

The chandle has a vpiActual to the object so you know it is not a new definition. the vpiActual points you to the definition.
A chandle with no vpiActual would be a new definition.
You cannot return a ref_obj as it violates a lot of other cases where a chandle (which is a variable type) is needed.
Your fix is incorrect and creates massive failures because the above restriction.
I don't understand your statement:
"The o variable equals 0, but should be equal 3."
Surelog does not evaluate the RHS because it is not required for Elaboration, so the UHDM model contains a symbolic expression with the function call and its argument, no value, certainly not 0. So I don't know who produces 0, it must be some other piece of code downstream.
If you replace the assignment to a net to a parameter assignment on the LHS, you'll see the right value (3) is computed.
Surelog does evaluate in this case as parameters are required to be evaluated during elaboration.
Is there a completely differnent problem (not in Surelog/UHDM) that prevents the downstream flow to perform the function evaluation?

Could you tell why ref_obj shouldn't be used in that case instead of chandle?
I think that chandle type is only for DPI-C and is not intended to be used in such places. Use of ref_obj will give a simpler tree and won't require -elabuhdm option. Since folded model does not contain vpiActual for this chandle, we cannot check that this is the same variable.
I found in standard that operator ++ should not be used on chandle variables:
Chandles are restricted in their usage, with the only legal uses being as
follows:
— Only the following operators are valid on chandle variables:
• Equality (==), inequality (!=) with another chandle or with null
• Case equality (===), case inequality (!==) with another chandle or with null (same semantics
as == and !=)

(from section 6.14 Chandle data type)
Is a chandle type with vpiActual a Surelog convention or is it described in the standard?

I'll create a new var_ref type that inherits from "variables" type.
ref_obj does not inherit from "variables" that is the reason it cannot be used.
You will have to invoke the Elaboration no matter what, either with the -elabuhdm or after loading UHDM using the Elaborator class. There is NO other way to do binding. Please just accept it.

Fixed by #1515.


Context Problem with Database

Hello,
Just facing a strange behaviour. I wrote a class to connect to a secondaire DB with pyodbc. Inside django view, when i push a task to worker, it's works great.
If i use scheduled taks, could not connect to DB.
Any idea to solve this out please ?
Thanks for help.
Regards

Can you include your DB configuration?

closing due to inactivity


Date input field should not be on two lines in Search screen

There should be probably three dots (or cropped content?):

How it works on kiwi.com:

In this case I'll be slightly more for crop , with dots we will lose even more informations.
For me it's better to see at least Thu 23 Ma than Thu 23 ....


Search dropdown issue

I found that when you click other parts of the web page to hide the selections, an additional item will be selected. Take a look at the following gif:

I've created a demo to show the issue:
https://codepen.io/ogrishman/pen/VPXxbV

It's mentioned in the docs.

set forceSelection: false

Example:
$(".ui.dropdown").dropdown({
        on: "click",
        forceSelection: false
    });

Thanks!

Hi all, I see this issue a fair amount repeated and always closed with the explanation use: 'forceSelection: false' , this does not solve the problem, it persists, currently using 2.2.10.


USCPROV-03 thinks "This server does not support Provenance search,read operation(s)" while it does

Subject of the issue
USCPROV-03 reports that "This server does not support Provenance search,read operation(s) according to conformance statement." while there are corresponding entries in the conformance statement.
                {
                    "type": "Provenance",
                    "supportedProfile": ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance"],
                    "interaction": [
                        {
                            "code": "read"
                        },
                        {
                            "code": "search-type"
                        }
                    ],
                    "searchParam": [
                        {
                            "name": "target",
                            "type": "reference"
                        }
                    ]
                }

Your environment

Edition of inferno (Community or Program): Community
Version of inferno: 2.13.0-dev
Which browser and version(s) is the bug present on?: Chrome 91.0.4472.77

Steps to reproduce
Have the above Provenance resource description in your conformance statement, run all tests.
Expected behavior
USCPROV-03 does not short-circuit on "This server does not support Provenance search…"
Actual behavior
It does.

Hello @msklvsk : Are you using the inferno-qa.healthit.gov or your own dev deployment from github?

I’m getting this for both https://inferno.healthit.gov/community (version 2.11.0) and local git revision d5d9b97d16d9a57d1429beefd840f40c9e0d1036 (version 2.13.0-dev).

Can you save the testing session on the community server? There is a "Save" button on the top right corner.

Yet another false alarm from me. I assumed the Run All button would pick up the updated CapabilityStatement (with { "code": "search-type" } for Provenance), however, a clean run was required to make the error disappear.


Bug Report: Email placeholder is overwriting the text entered

Reproduction steps
In the donate book section and the feedback submission form, after entering data in email field, the email placeholder seems to overwrite the data entered.
Expected behavior
The email placeholder should not overwrite the text since it reduces visibility of data entered.
Actual Behavior

As you can see here, currently the text entered is being overwritten by the placeholder email.
Please assign this issue to me.
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

@divya1999ann You can go for it.
For any help, you can reach out to me here: https://sauravmukherjee.bio.link/

I'm a GSSoC contributor ..
I would like to work on this section...
would you please assign me to this task ??


TypeError: 'int' object is not subscriptable , after several iteration

os : windows 10 64bits
python : 3.7
Lib : xgboost , sklearn
I got this error randomly.

I think it is telling you right there...
your get_max_f1_cutoff() function returns an int, and you are treating it's output as an array.


Network error while importing a file

The UI opens but getting a network error while importing a file or performing an action.
Below is the displayed error
localhost: port says
Error: Network error.
kindly help in this

run  ner-annotator/annotator/server.py  in another terminal.


Fix segfault on ^C.  Resolves #87.

Shouldn’t it has changelog?

We can include this in the changelog when cutting a release

@asottile Let me know your PyPI username.  I want to add you as a maintainer of the PyPI release.

I'm asottile on pypi as well

@asottile Done!

@dahlia can we put together a checklist for making a release?  I want to make sure I don't forget anything when I do one :)

@asottile That seems a good idea.  I will add CONTRIBUTING.rst including the checklist.

@asottile I just wrote maintainer’s guide.  How is it?

Looks great!

@asottile Oh, I just added more.  Please reload the page.  :wink:

Added once more — about the docs website.


Update CHANGELOG.asciidoc

What does this PR do?

Checklist

[ ] This is an enhancement of existing features, or a new feature in existing plugins

[ ] I have updated CHANGELOG.asciidoc
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Added an API method or config option? Document in which version this will be introduced
[ ] I have made corresponding changes to the documentation

[ ] This is a bugfix

[ ] I have updated CHANGELOG.asciidoc
[ ] I have added tests that would fail without this fix

[ ] This is a new plugin

[ ] I have updated CHANGELOG.asciidoc
[ ] My code follows the style guidelines of this project
[ ] I have made corresponding changes to the documentation
[ ] 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
[ ] I have updated supported-technologies.asciidoc
[ ] Added an API method or config option? Document in which version this will be introduced
[ ] Added an instrumentation plugin? Describe how you made sure that old, non-supported versions are not instrumented by accident.

[x] This is something else

[x] I have updated CHANGELOG.asciidoc

:grey_exclamation: Build Aborted

The PR is not allowed to run in the CI yet

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #1782 opened

Reason: The PR is not allowed to run in the CI yet

Start Time: 2021-04-23T07:41:49.350+0000

Duration: 3 min 58 sec

Commit: 582dd427514633b55d427454e19f7e09281407c1

Trends :test_tube:

Steps errors
Expand to view the steps failures

Load a resource file from a shared library

Took 0 min 0 sec . View more details on here
Description: approval-list/elastic/apm-agent-java.yml

Error signal

Took 0 min 0 sec . View more details on here
Description: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)

Log output
Expand to view the last 100 lines of log output

[2021-04-23T07:44:17.697Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-23T07:44:17.699Z]  > git fetch --no-tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/heads/*:refs/remotes/origin/* # timeout=100
[2021-04-23T07:44:18.753Z] Pruning obsolete local branches
[2021-04-23T07:44:19.209Z] Merging remotes/origin/1.x commit 247e6744c14f13ea531bb05db4ce08082b0f8ab9 into PR head commit 582dd427514633b55d427454e19f7e09281407c1
[2021-04-23T07:44:19.496Z] Merge succeeded, producing 582dd427514633b55d427454e19f7e09281407c1
[2021-04-23T07:44:19.496Z] Checking out Revision 582dd427514633b55d427454e19f7e09281407c1 (PR-1782)
[2021-04-23T07:44:18.719Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-23T07:44:18.732Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-04-23T07:44:18.748Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-23T07:44:18.759Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-04-23T07:44:18.759Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-23T07:44:18.760Z]  > git fetch --no-tags --progress --prune -- https://github.com/elastic/apm-agent-java.git +refs/pull/1782/head:refs/remotes/origin/PR-1782 +refs/heads/1.x:refs/remotes/origin/1.x # timeout=100
[2021-04-23T07:44:19.216Z]  > git config core.sparsecheckout # timeout=10
[2021-04-23T07:44:19.225Z]  > git checkout -f 582dd427514633b55d427454e19f7e09281407c1 # timeout=100
[2021-04-23T07:44:19.450Z]  > git remote # timeout=10
[2021-04-23T07:44:19.456Z]  > git config --get remote.origin.url # timeout=10
[2021-04-23T07:44:19.461Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-23T07:44:19.463Z]  > git merge 247e6744c14f13ea531bb05db4ce08082b0f8ab9 # timeout=10
[2021-04-23T07:44:19.474Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-04-23T07:44:19.499Z]  > git config core.sparsecheckout # timeout=10
[2021-04-23T07:44:19.523Z]  > git checkout -f 582dd427514633b55d427454e19f7e09281407c1 # timeout=100
[2021-04-23T07:44:23.476Z] Commit message: "Update CHANGELOG.asciidoc"
[2021-04-23T07:44:23.476Z] First time build. Skipping changelog.
[2021-04-23T07:44:23.496Z]  > git --version # timeout=10
[2021-04-23T07:44:23.520Z]  > git --version # 'git version 2.17.1'
[2021-04-23T07:44:23.544Z] fatal: bad object b4aa23e52e63d1c9b07c2ac41042ac29824d10a5
[2021-04-23T07:44:24.327Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2021-04-23T07:44:24.407Z] Timeout set to expire in 1 hr 0 min
[2021-04-23T07:44:24.435Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2021-04-23T07:44:24.853Z] [INFO] Number of builds to be searched 10
[2021-04-23T07:44:25.281Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2021-04-23T07:44:25.305Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1782/src/github.com/elastic/apm-agent-java
[2021-04-23T07:44:25.345Z] [INFO] gitCheckout: Checkout SCM PR-1782 with some customisation.
[2021-04-23T07:44:25.375Z] [INFO] Override default checkout
[2021-04-23T07:44:25.437Z] Sleeping for 10 sec
[2021-04-23T07:44:35.459Z] The recommended git tool is: git
[2021-04-23T07:44:35.573Z] using credential 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
[2021-04-23T07:44:35.580Z] Cloning the remote Git repository
[2021-04-23T07:44:35.592Z] Cloning repository https://github.com/elastic/apm-agent-java.git
[2021-04-23T07:44:35.615Z]  > git init /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1782/src/github.com/elastic/apm-agent-java # timeout=10
[2021-04-23T07:44:35.632Z] Using reference repository: /var/lib/jenkins/.git-references/apm-agent-java.git
[2021-04-23T07:44:35.632Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-04-23T07:44:35.632Z]  > git --version # timeout=10
[2021-04-23T07:44:35.646Z]  > git --version # 'git version 2.17.1'
[2021-04-23T07:44:35.647Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-23T07:44:35.648Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-04-23T07:44:36.238Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-23T07:44:36.241Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-04-23T07:44:36.248Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-04-23T07:44:36.255Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-04-23T07:44:36.255Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-04-23T07:44:36.256Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/pull/1782/head:refs/remotes/origin/PR-1782 +refs/heads/1.x:refs/remotes/origin/1.x # timeout=10
[2021-04-23T07:44:36.705Z] Checking out Revision 582dd427514633b55d427454e19f7e09281407c1 (origin/PR-1782)
[2021-04-23T07:44:36.924Z] Commit message: "Update CHANGELOG.asciidoc"
[2021-04-23T07:44:36.937Z]  > git --version # timeout=10
[2021-04-23T07:44:36.941Z]  > git --version # 'git version 2.17.1'
[2021-04-23T07:44:36.951Z] fatal: bad object b4aa23e52e63d1c9b07c2ac41042ac29824d10a5
[2021-04-23T07:44:36.701Z]  > git rev-parse origin/PR-1782^{commit} # timeout=10
[2021-04-23T07:44:36.708Z]  > git config core.sparsecheckout # timeout=10
[2021-04-23T07:44:36.711Z]  > git checkout -f 582dd427514633b55d427454e19f7e09281407c1 # timeout=10
[2021-04-23T07:44:37.873Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2021-04-23T07:44:38.481Z] + git fetch<EMAIL_ADDRESS>+refs/pull/*/head:refs/remotes/origin/pr/*
[2021-04-23T07:44:39.490Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1782/src/github.com/elastic/apm-agent-java/.git
[2021-04-23T07:44:39.591Z] Archiving artifacts
[2021-04-23T07:44:40.288Z] + git rev-parse HEAD
[2021-04-23T07:44:40.622Z] + git rev-parse HEAD
[2021-04-23T07:44:40.927Z] + git rev-parse origin/pr/1782
[2021-04-23T07:44:40.974Z] [INFO] githubEnv: Found Git Build Cause: pr
[2021-04-23T07:44:41.318Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-04-23T07:44:42.349Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/apm-agent-java/pulls/1782/reviews return 0 elements
[2021-04-23T07:44:42.411Z] [INFO] githubPrCheckApproved: Title: Update CHANGELOG.asciidoc - User: JulienOrain - Author Association: FIRST_TIME_CONTRIBUTOR
[2021-04-23T07:44:42.731Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2021-04-23T07:44:42.731Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2021-04-23T07:44:42.812Z] [INFO] Let's stop build #1. The PR is not allowed to run in the CI yet
[2021-04-23T07:44:42.835Z] Sleeping for 5 sec
[2021-04-23T07:44:43.829Z] Stage "Build" skipped due to earlier failure(s)
[2021-04-23T07:44:44.011Z] Stage "Tests" skipped due to earlier failure(s)
[2021-04-23T07:44:44.187Z] Stage "Unit Tests" skipped due to earlier failure(s)
[2021-04-23T07:44:44.200Z] Stage "Smoke Tests 01" skipped due to earlier failure(s)
[2021-04-23T07:44:44.212Z] Stage "Smoke Tests 02" skipped due to earlier failure(s)
[2021-04-23T07:44:44.224Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-04-23T07:44:44.236Z] Stage "Javadoc" skipped due to earlier failure(s)
[2021-04-23T07:44:44.393Z] Failed in branch Unit Tests
[2021-04-23T07:44:44.402Z] Failed in branch Smoke Tests 01
[2021-04-23T07:44:44.411Z] Failed in branch Smoke Tests 02
[2021-04-23T07:44:44.420Z] Failed in branch Benchmarks
[2021-04-23T07:44:44.428Z] Failed in branch Javadoc
[2021-04-23T07:44:44.667Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-04-23T07:44:44.750Z] Stage "Stable" skipped due to earlier failure(s)
[2021-04-23T07:44:44.830Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-04-23T07:44:44.866Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-04-23T07:44:46.382Z] Running on worker-1225339 in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1782
[2021-04-23T07:44:46.606Z] [INFO] getVaultSecret: Getting secrets
[2021-04-23T07:44:46.651Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-23T07:44:48.736Z] + chmod 755 generate-build-data.sh
[2021-04-23T07:44:48.736Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1782/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1782/runs/1 ABORTED 177995
[2021-04-23T07:44:48.736Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1782/runs/1/steps/?limit=10000 -o steps-info.json
[2021-04-23T07:44:49.432Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1782/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-04-23T07:44:49.432Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-04-23T07:44:50.874Z] Retry 2/3 exited 22, retrying in 2 seconds...


cherrypick edits to README in 4bf830 by @frinkelpi

Hey there,
Finally got some time to play with the repo. I'm starting out by integrating work by @frinkelpi in #59 to clean up the documentation and code. Sending this small PR to tweak the README. Going to follow this up with some enhancements to the code, and then tackle the suggested work in #39.
Details:

Updated markdown to have well formed lists
Updated headers
Integrated edits by @frinkelpi from #59 to reword instructions

I'm planning on breaking out the README into a Wiki, so I'm closing this for now because it's mostly small formatting changes.


drivers: ethernet: xlnx_gem: fix TX path stalling on ZynqMP

This is the (pretty late) resumption of one of the aspects that should have originally been merged with #45556:
With the introduction of the ZynqMP/UltraScale+ SoCs, the GEM Ethernet controller was made 64-bit capable. On the 32-bit Zynq, the registers that point to the RX and TX DMA areas (RXQBASE/TXQBASE) are obviously 32-bit only. For the UltraScale+, a second set of RX/TX DMA pointer registers was added, both with a high and a low register in order to support DMA areas at locations above 4G: RX1QBASE/TX1QBASE. However, these registers do not replace the old 32-bit registers, those were retained for compatibility reasons.
The GEM driver has until now only used the 32-bit RXQBASE/TXQBASE registers, as those are sufficient for use of the GEM in conjunction with the Cortex-R5 cores. The newly added registers remained at their POR values, all 0x0. When using this approach on actual hardware instead of on qemu_cortex_r5, the following can be observed:

RX works
TX doesn't work:
once the Start TX bit is set, the corresponding status register will show that a transmission is in progress. However, the status register never indicates either completion or failure, nor will there ever be an interrupt to indicate either success or failure. The TXQBASE pointer register never increments, which is normally the case once a TX BD entry has been processed.

It appears that the TX DMA state machine stalls completely.
The following attempts were made to get the TX DMA running again:

Use the TX1QBASE-low register to point to the TX DMA area, leave the legacy TXQBASE register at 0x0. Same behaviour as above.
Set both TXQBASE and TX1QBASE to the TX DMA area's address. The TX DMA then works, however, all packets are transmitted twice.
Keep using TXQBASE for the actual DMA area address and have TX1QBASE point to a single, dummy TX buffer descriptor, which has the wrap bit set (so it's effectively a TX BD ring with ring size 1) and always indicates that it's not in use.

The latter approach gets the TX DMA up and running again, and it's this fix that is contained in this commit.
The UltraScale+ TRM (ug-1085) mentions that it is up to the programmer to decide which set of DMA pointer registers shall be used, but that the idle set of registers shall be, quote: "tied off properly" using the approach which was implemented in this commit.

Adding DNM - I've re-worked the code & still have to update my branch. No need to review at this time, update coming soon.


Is it possible to get the stringified DOM?

Hi there,
Thanks for the marvelous library!  One question: I'm looking at a use-case involving SSR of images from d3.js charts.  The design I'd intended was to generate an SVG document via react-faux-dom (or jsdom), then render the svg to PNG/JPG etc...
Is react-faux-dom supposed to generate a full DOM string in innerHTML for all the children?  It doesn't seem to and the code looks like it spits out just the textContent, not the child-hierarchy, though I haven't read deeply.  Is there any way to accomplish this using the library?
Regards,
— Iain

Hey! I hope you're finding it useful :smile:
As far as I know, you will just use RFD to generate a React tree (with .toReact()), then you would use your normal SSR techniques to turn your React tree into HTML. I don't think there's anything super special about it?
Have you tried it and encountered issues then? Or just curious at the moment? I have a feeling it'll Just WorkTM.

Great, that worked.  To recap:
el.innerHTML

Returns an empty string, but
renderToString(el.toReact())

Returns the elements as strings (in my case, an SVG document of a chart created in D3).
Thanks!

Glad it all worked out for you :smile:


#cgo LDFLAGS in vendor package not overridable in gb build command.

A project in vendor/src/... makes use of cgo LDFLAGS.
#cgo linux LDFLAGS: -L../bin -L../../bin -L. -lqtdrv.ui
When I'm running gb build I have a need to pass the linker a -L flag.
gb build -ldflags "-L ./vendor/src/github.com/visualfc/goqt/bin -v" mixlac

However it is ignored, and only the -L flags from the vendor project are honoured.
host link: "gcc" "-m64" "-gdwarf-2" "-o" "/home/mike/mixlac-go/bin/.gb-link170388161" "-rdynamic" "/tmp/go-link-574965935/go.o" "/tmp/go-link-574965935/000000.o" "/tmp/go-link-574965935/000001.o" "-L../bin" "-L../../bin" "-L." "-lqtdrv.ui" "-g" "-O2" "-lpthread"

How should I be doing this? Or is it a bug?
(I've hacked around this temporarily by adding an additional -L flag to the #cgo in the vendor project. But obviously I'd want to avoid that.)

I forgot to mention, that I tried adding
#cgo linux LDFLAGS: -L./vendor/src/github.com/visualfc/goqt/bin
to a file in my project under src.
However that made no difference to the flags passed to the linker.


fix(entities-plugins): update plugin name

Summary

Gateway PR: https://github.com/Kong/kong-ee/pull/9860
KM-389
Resources

Creating a package docs

Fixed in #1537 and #1538


Can't connect to mychannel after setting everything up

Hello
I have started test network by this tutorial. Then created channel with this command:
sudo ./network up
sudo ./network createChannel
sudo ./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go

After that I have created explorer folder and used these commands:
sudo wget https://raw.githubusercontent.com/hyperledger/blockchain- explorer/main/examples/net1/config.json
sudo wget https://raw.githubusercontent.com/hyperledger/blockchain-explorer/main/examples/net1/connection-profile/test-network.json -P connection-profile
sudo wget https://raw.githubusercontent.com/hyperledger/blockchain-explorer/main/docker-compose.yaml
sudo cp -r ../fabric-samples/test-network/organizations/ .

The docker-compose.yaml changed into this:
volumes:
  - ./config.json:/opt/explorer/app/platform/fabric/config.json
  - ./connection-profile:/opt/explorer/app/platform/fabric/connection-profile
  - ./organizations:/tmp/crypto
  - walletstore:/opt/explorer/wallet

Then on test-network.json I have changed these fields into these:
"adminPrivateKey": {
   "path"<EMAIL_ADDRESS>  },
 "peers": ["peer0.org1.example.com"],
 "signedCert": {
   "path": "/tmp/crypto/peerOrganizations/org1.example.com/users/Admin<EMAIL_ADDRESS>  }

I launched it by sudo docker-compose up this error:
[2022-04-21T16:32:34.374] [INFO] FabricConfig - FabricConfig, this.config.channels  mychannel
2022-04-21T16:32:34.630Z - error: [DiscoveryService]: send[mychannel] - Channel:mychannel received discovery error:access denied
[2022-04-21T16:32:34.631] [ERROR] FabricClient - Error: DiscoveryService: mychannel error: access denied
at DiscoveryService.send (/opt/explorer/node_modules/fabric-common/lib/DiscoveryService.js:363:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async NetworkImpl._initializeInternalChannel (/opt/explorer/node_modules/fabric-network/lib/network.js:279:13)
at async NetworkImpl._initialize (/opt/explorer/node_modules/fabric-network/lib/network.js:231:9)
at async Gateway.getNetwork (/opt/explorer/node_modules/fabric-network/lib/gateway.js:330:9)

Why this is happening? I did exactrly as it was instructed.

In test-network.json > instead of priv_sk in adminPrivateKey, enter exact file name in keystore folder. Same for signedCert file name .


Can you please update the document to specify whether File Columns are supported or not

I'm looking to understand if File Columns are supported in PCF controls.  This would be good to have in the documentation.  Thanks

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: b3b2e635-6c60-0efc-d894-e43216dca90e
Version Independent ID: 9828125d-c061-465e-d486-b4ea609190e1
Content: Property Element - Power Apps
Content Source: powerapps-docs/developer/component-framework/manifest-schema-reference/property.md
Service: powerapps
Sub-service: pcf
GitHub Login: @noazarur-microsoft
Microsoft Alias: noazarur

Thanks for your comment, @StevenRasmussen. This issue has been assigned to the doc author for review.

@StevenRasmussen
Thanks for your feedback.
@noazarur-microsoft
In the Remarks for this topic we have a list of of-type properties that are supported.
We also have a table with a list of of-type Value elements that are not supported
But File is not in either list. Neither is Image.
Can you provide information to update these lists?

@kaushikkaul
I added a note saying:

[!NOTE]
At this time File columns are not supported. More information: File columns

But it still doesn't mention image columns.

Thanks for your feedback. We are closing this issue because we are either unable to find relevant information or reproduce this. If you're still experiencing the issue described here, please reopen or create a new issue.


Add DDF validator for json coming back for service plan schemas

https://projects.engineering.redhat.com/browse/SSP-838
Validate the DDF schema when it comes back to use - went off of this:
https://github.com/ManageIQ/topological_inventory-ansible_tower/blob/84b2ae44322bbf28bc8bcf6b39ec3546c05c37ee/lib/topological_inventory/ansible_tower/parser/service_plan.rb
a lot since it maps what will generally be there from a survey and convert it to DDF.
#456 must go first.
# TODO:

[x] request specs

@miq-bot remove_label wip

@mkanoor, @eclarizio could you take a look?

@mkanoor, @eclarizio all feedback applied, can you take another look?


Set version number to 0.22.0rc1 for first release candidate

Summary
For the 0.22.0 release we're going to push release candidates prior to the release to enable testing before we cut the final release. In preparation for tagging the first release candidate this commit updates the version string to indicate it's a release candidate. This commit should be what gets tagged as 0.22.0rc1.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.09%) to 84.447%

Files with Coverage Reduction
New Missed Lines
%

qiskit/extensions/quantum_initializer/squ.py
2
79.78%

qiskit/pulse/library/waveform.py
3
91.49%

Totals

Change from base Build<PHONE_NUMBER>:
0.09%

Covered Lines:
59849

Relevant Lines:
70872

💛  - Coveralls

I'll hold off tagging this automerge until #8849 has actually merged, just in case that fails CI from flaky VMs or something.


LiveBlogPosting

Describe the feature
i looked through source code and the docs but i didnt found on how to use this particular schema. is it even implemented?
Additional information

[ ] Would you be willing to help implement this feature?

You can just use an Article and provide the additional type:
defineArticle({
  '@type': ['LiveBlogPosting'],
  ...
})

You're always welcome to add a custom node as well, see https://unhead.unjs.io/schema-org/recipes/custom-nodes

I see. The problem is that live blog posting and coverage start time arent supported and therefore wont be added to schema org.. ill take a look about custom nodes and see what i can do

I see. The problem is that live blog posting and coverage start time arent supported and therefore wont be added to schema org.. ill take a look about custom nodes and see what i can do

The nodes should support any arbitrary key, they just won't be typed
defineArticle({
  '@type': ['LiveBlogPosting'],
  coverageStartTime: '2022-10-20',
  ...
})

i tried putting coverageStartTime like that and it doesn't appear in the html when inspecting. also i dont get types

using nuxt seo v2 rc4

Working fine for me

Can you provide a reproduction?
useSchemaOrg is not typed, only the define composables

ill try to reproduce tomorrow..

https://stackblitz.com/edit/nuxt-starter-u8ko1u?file=app.vue,nuxt.config.ts,.nuxt%2Ftypes%2Fimports.d.ts
in the .nuxt/types/imports.d.ts useSchemaOrg is of any or unknown and it links to this file node_modules/nuxt-schema-org/dist/runtime/nuxt/imports/useSchemaOrg.d.ts which has this code
import type { useSchemaOrg as _useSchemaOrg } from '@unhead/schema-org/vue';
type Input = Parameters<typeof _useSchemaOrg>[0];
export declare function useSchemaOrg(input: Input): any;
export {};


我们发布了更完整、不是机器翻译的中文数据

https://guanaco-model.github.io/
https://huggingface.co/datasets/JosephusCheung/GuanacoDataset

太棒了！我们下一个版本的模型也用上，谢谢！

我等训练上出模型了再close吧

Let me closed the issue, thank for your data! our 0.3 model seems have a significant improvment than 0.1 one

@Guanaco-Model  thanks again


Unable to scan cluster

My cluster isn't accessible externally, I've tried both the cidr and remote option, but the cluster nevers gets detected. It seems to be because of the use of the azurespeed.com website as part of the scan:
Choose one of the options below:
1. Remote scanning      (scans one or more specific IPs or DNS names)
2. Internal scanning    (scans all network interfaces)
3. Network scanning     (scans a given IP range)
Your choice: 3
CIDR (example - <IP_ADDRESS>/24): <ip>/32
Event <class 'src.core.events.types.common.HuntStarted'> got published with <src.core.events.types.common.HuntStarted object at 0x7f9efcab8810>
Event <class 'src.modules.discovery.hosts.HostScanEvent'> got published with <src.modules.discovery.hosts.HostScanEvent object at 0x7f9ed873a550>
~ Started
~ Discovering Open Kubernetes Services...
Starting new HTTP connection (1): www.azurespeed.com:80
http://www.azurespeed.com:80 "GET /api/region?ipOrUrl=<ip> HTTP/1.1" 200 None
Event <class 'src.core.events.types.common.NewHostEvent'> got published with <IP_ADDRESS>
Event <class 'src.core.events.types.common.HuntFinished'> got published with <src.core.events.types.common.HuntFinished object at 0x7f9ed8709410>

Kube Hunter couldn't find any clusters

----------

Event <class 'src.modules.report.default.TablesPrinted'> got published with <src.modules.report.default.TablesPrinted object at 0x7f9f0167fcd0>
Cleaned Queue

I don't think it's the azurespeed.com check; that gets ignored if there is no information about that IP address. (This tells us whether the cluster is hosted on Azure; if it is, we have some additional tests to see if it's possible to get to the cloud metadata. One day we should add similar tests for other providers).
Given an IP address, kube-hunter will attempt to open a socket to the following ports: 8001, 10250, 10255, 30000, 443
From the machine you're testing on, try
curl <ip address>:<port>

for that set of ports, on the IP address of the master node. Can you get anything other than connection refused for any of those ports? If so, kube-hunter should explore further.
If not, the possibilities include:

the IP address is not reachable from where you're running kube-hunter
the API server is operating on a non-default port (which is interesting, and not something kube-hunter currently tests for, but maybe should have an option to do so)
something else I haven't thought of!

Ah yes, our API server runs on port 6443:
--secure-port=6443

This is the kubeadm default as per here: https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/
--apiserver-bind-port int32     Default: 6443

That's probably the issue

It'd also be worth having some of this issue in the debug logs?

Port 6443 also covered now (and I agree with you on the log info). Does it find the cluster now?

Unfortunately not, it does seem to scan that port now:
Event <class 'src.core.events.types.common.OpenPortEvent'> got published with 6443
Event <class 'src.core.events.types.common.HuntFinished'> got published with <src.core.events.types.common.HuntFinished object at 0x7f3770b5f310>

Kube Hunter couldn't find any clusters

We firewall off all the other ports, what is the bare minimum for a cluster to be discovered?

Ah, figured it out, PR incoming


document release procedure

Simply tagging the change gets release action working, it publishes the release.
Unfortunately, it does not move the version of assets https://github.com/datastax/pulsar-3rdparty-connector/releases/tag/v<IP_ADDRESS>
This should be documented or automated.

https://github.com/datastax/pulsar-3rdparty-connector/blob/master/RELEASE.md


Fixed Api error management:

added ServiceError management to api command
fixed typo

Service Errors are raised when an object parent object does not exist in the api database

Hello @johnfolly do you want a final review ? :)

Ok now for a final review 👍

:rocket:


[FEATURE] Changeable Gravity for Base-GC Dimensions

Feature Request
The ability to change the gravity of a dimension added by base-GC.
What feature or addition are you suggesting?
I am suggesting for the end-user to be able to set a GC dimension's gravity via the config.
Feature request reason
So we can make life easier or harder on other worlds.
Feature request dependencies
N/A

Maybe that's something I could look into PRing since that def is a requested feature.
@ROMVoid95
hopefully not too bad code wise heh

+1


Can't pass entity_synonyms

@Oceania2018 Synonyms should be defined in the rasa ui itself. The UI will create synonyms for each user utterence and put that in training dataset for you. entity_synoyms do the same thing but with in the rasa_nlu server itself. Her eis a screen shot where you define synonyms for an entity.


improve error handling & map stack trace

fixes https://github.com/excalidraw/excalidraw/issues/498

Improves the output of localStorage (gets rid of double escapes).
Tries to map error stack trace using source maps (using https://github.com/stacktracejs/stacktrace.js). No clue if this is going to work in production -- depends whether we deploy source maps. We'll see. looks like it does on preview:

Repro:

load https://excalidraw-git-improveerrorhandling.vjeux.now.sh//?id=5142238724096000
click on the text element

Btw, I've noticed that when multiple errors tend to bubble to the error boundary, but we only log (display in the textarea) the stack trace of the first error.

I've moved from getDerivedStateFromError to componentDidCatch because it seems that returning state from getDerivedStateFromError multiple times does not update state.
WTBS, the docs mention:

In the event of an error, you can render a fallback UI with componentDidCatch() by calling setState, but this will be deprecated in a future release. Use static getDerivedStateFromError() to handle fallback rendering instead.

which is sad, but let's burn that bridge when we come to it (unless someone has a better idea).

Ready for review & merge.

Merging as it's best to get this to production sooner rather than later.


Fix k0s installation in airgap env

Resolves #702
Still need to decide where to put k0s-image

Separate k0s image is created and bundled. It's needed to serve k0s artifacts in the airgapped env via http.
User will be instructed to use it as it pleases (via docker or as k8s deployment) in the docs (Mirantis/project-2a-docs#65)


Add camera position extension functions for camera position

Adds extension functions for move/ease and animate camera.
This avoids the need to make a complete CameraPosition from a Builder.

Thanks for 👀 @LukasPaczos , learned something new!
Should be fixed with https://github.com/mapbox/mapbox-plugins-android/pull/715/commits/1e60381793383c3d33fd79253ffde39ef40d0295.


Backport of PR #89.

Backports PR #89
Predicates implementation.

Added builtin predicates
Added and predicate.
Added missing methods in ObjectDataOutput and ObjectDataInput for read/writeObject and added BetweenPredicate.
EqualPredicate
GreaterLessPredicate
LikePredicate
InPredicate
InstanceOfPredicate
Not and NotEqual
OrPredicate
RegExPredicate
Added Predicate interface, ClientMapTest not compiling due to PagingPredicate.
PagingPredicate
Predicate with EntryListener is added.
Added values with predicate test
testEntrySetWithPredicateTest and testKeySetWithPredicateTest added
RawPointerMap API is corrected.
Changed the DataArray and EntryArray interfaces. Made the PagingPredicate work for primitives.
Fix for setAnchor
Update To map test and raw pointer examples
Added example for builtin predicate queries.
Added entry listener with different predicates tests.

Test FAILed.

verify

Test FAILed.

verify

Test FAILed.

Test FAILed.

verify

Test PASSed.


Update, and add testing for the envoy-filter-example and/or make into a sandbox

Currently we use the envoy-filter-example in CI but i think only as an external workspace to test building from (im guessing that was why it was set that way)
It seems the actual example is not getting tested and possibly doesnt work as expected
We could probably make it into a sandbox and add testing/documentation to ensure it stays working

Adding this https://envoyproxy.slack.com/archives/C78HA81DH/p1690280066893899 so that people can later understand what triggers this idea.

Here is a related issue: https://github.com/envoyproxy/envoy-filter-example/issues/178


RuntimeError: expected scalar type Half but found BFloat16 when executing SamplerCustomAdvanced node

ComfyUI_windows\python_embeded\Lib\site-packages\torch\nn\functional.py", line 2573, in layer_norm
return torch.layer_norm(input, normalized_shape, weight, bias, eps, torch.backends.cudnn.enabled)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: expected scalar type Half but found BFloat16

Hi.

which FLUX.1-dev model did you use ? I mean the dtype (like F8_e4m3fn or F8_e5m2, checkpoint with backed F8 model etc.) If you don't know just paste here the link where you downloaded it.
I need to know the HW (exect graphic card name) that you using (if cloud, then what type of pod you use).

Try to pull the new version (of ComfyUI-PuLID-Flux). It should check for bfloat16 support and set the dtype to float16 if not supported. And let me know if it helped.

RuntimeError: expected scalar type Half but found BFloat16
this is after the update, I am using weight type fp8_e4m3fn, with fp8 t5 and normal clip. I am also using a rx 6600 with zluda on windows.

@patientx sorry, not waiting for you to confirm. Ok, changed the code so it detects what dtype will the original unet model use (manual cast) so If the model can run on the system also the pulid should. It should detect your special case running on ZLUDA.
Let me know if it helped. (here: so I can better understand the needs for all platforms).

I updated to your new version's nodes and it works now, thank you!

Hello! I wonder if the graphics cards of series 20 cannot be used. The prompt is:  Custom sampler (advanced).
expected scalar type Half but found BFloat16 @balazik

I have the same error message. Is there anything you can do @balazik . I'm so close on making it work... :)
## System Information
- **ComfyUI Version:** v0.2.4-6-g5281090
- **Arguments:** ComfyUI\main.py --windows-standalone-build --force-fp16
- **OS:** nt
- **Python Version:** 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
- **Embedded Python:** true
- **PyTorch Version:** 2.3.1+cu121
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 2080 Ti : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:**<PHONE_NUMBER>4
  - **VRAM Free:**<PHONE_NUMBER>
  - **Torch VRAM Total:**<PHONE_NUMBER>
  - **Torch VRAM Free:** 14015936

  2024-10-26 17:58:12,152 - root - INFO - got prompt
2024-10-26 17:58:12,194 - root - INFO - Using pytorch attention in VAE
2024-10-26 17:58:12,195 - root - INFO - Using pytorch attention in VAE
2024-10-26 17:58:12,742 - root - INFO - model weight dtype torch.bfloat16, manual cast: torch.float16
2024-10-26 17:58:12,742 - root - INFO - model_type FLUX
2024-10-26 17:58:17,249 - root - INFO - Requested to load FluxClipModel_
2024-10-26 17:58:17,249 - root - INFO - Loading 1 new model
2024-10-26 17:58:21,688 - root - INFO - loaded completely 0.0 3962.80810546875 True
2024-10-26 17:58:24,062 - root - INFO - Loaded EVA02-CLIP-L-14-336 model config.
2024-10-26 17:58:24,080 - root - INFO - Shape of rope freq: torch.Size([576, 64])
2024-10-26 17:58:28,668 - root - INFO - Loading pretrained EVA02-CLIP-L-14-336 weights (eva_clip).
2024-10-26 17:58:29,444 - root - INFO - incompatible_keys.missing_keys: ['visual.rope.freqs_cos', 'visual.rope.freqs_sin', 'visual.blocks.0.attn.rope.freqs_cos', 'visual.blocks.0.attn.rope.freqs_sin', 'visual.blocks.1.attn.rope.freqs_cos', 'visual.blocks.1.attn.rope.freqs_sin', 'visual.blocks.2.attn.rope.freqs_cos', 'visual.blocks.2.attn.rope.freqs_sin', 'visual.blocks.3.attn.rope.freqs_cos', 'visual.blocks.3.attn.rope.freqs_sin', 'visual.blocks.4.attn.rope.freqs_cos', 'visual.blocks.4.attn.rope.freqs_sin', 'visual.blocks.5.attn.rope.freqs_cos', 'visual.blocks.5.attn.rope.freqs_sin', 'visual.blocks.6.attn.rope.freqs_cos', 'visual.blocks.6.attn.rope.freqs_sin', 'visual.blocks.7.attn.rope.freqs_cos', 'visual.blocks.7.attn.rope.freqs_sin', 'visual.blocks.8.attn.rope.freqs_cos', 'visual.blocks.8.attn.rope.freqs_sin', 'visual.blocks.9.attn.rope.freqs_cos', 'visual.blocks.9.attn.rope.freqs_sin', 'visual.blocks.10.attn.rope.freqs_cos', 'visual.blocks.10.attn.rope.freqs_sin', 'visual.blocks.11.attn.rope.freqs_cos', 'visual.blocks.11.attn.rope.freqs_sin', 'visual.blocks.12.attn.rope.freqs_cos', 'visual.blocks.12.attn.rope.freqs_sin', 'visual.blocks.13.attn.rope.freqs_cos', 'visual.blocks.13.attn.rope.freqs_sin', 'visual.blocks.14.attn.rope.freqs_cos', 'visual.blocks.14.attn.rope.freqs_sin', 'visual.blocks.15.attn.rope.freqs_cos', 'visual.blocks.15.attn.rope.freqs_sin', 'visual.blocks.16.attn.rope.freqs_cos', 'visual.blocks.16.attn.rope.freqs_sin', 'visual.blocks.17.attn.rope.freqs_cos', 'visual.blocks.17.attn.rope.freqs_sin', 'visual.blocks.18.attn.rope.freqs_cos', 'visual.blocks.18.attn.rope.freqs_sin', 'visual.blocks.19.attn.rope.freqs_cos', 'visual.blocks.19.attn.rope.freqs_sin', 'visual.blocks.20.attn.rope.freqs_cos', 'visual.blocks.20.attn.rope.freqs_sin', 'visual.blocks.21.attn.rope.freqs_cos', 'visual.blocks.21.attn.rope.freqs_sin', 'visual.blocks.22.attn.rope.freqs_cos', 'visual.blocks.22.attn.rope.freqs_sin', 'visual.blocks.23.attn.rope.freqs_cos', 'visual.blocks.23.attn.rope.freqs_sin']
2024-10-26 17:58:31,844 - root - INFO - Loading PuLID-Flux model.
2024-10-26 17:58:39,170 - root - INFO - Requested to load Flux
2024-10-26 17:58:39,170 - root - INFO - Loading 1 new model
2024-10-26 17:58:47,553 - root - INFO - loaded completely 0.0 7276.8634033203125 True
2024-10-26 17:58:48,340 - root - ERROR - !!! Exception during processing !!! expected scalar type Half but found BFloat16
2024-10-26 17:58:48,345 - root - ERROR - Traceback (most recent call last):
  File "C:\Program Files\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute

Hello! I wonder if the graphics cards of series 20 cannot be used. The prompt is: Custom sampler (advanced). expected scalar type Half but found BFloat16 @balazik
Did you already found a solution? I get the same error with all updated files. Using a NVIDIA GeForce RTX 2080 Ti.
I don't know what the problem could be but I'm sure there must be only a configuration that can be adapted.


goenv doesn't respect versions set by aliases anymore

Using a previous version of goenv, I was able to install go 1.21.13 aliased as 1.21. This results in a folder under $GOENV_ROOT/versions/1.21
In that prior version (I think I used 2.1.4), goenv version successfully used 1.21 as the version. Now, it can't find it and insists that the version is set to 1.21.13. Under the hood, yes it's 1.21.13, but now none of my shims work. I get the error message
goenv: 'package_name' command not found

The 'package_name' command exists in these Go versions:
1.21

Ok thanks for bringing it up. We will look into it

This is a regression in behavior since 2.2.X after investigating


RuntimeError: can't start new thread

this is happening in the current version, the same rpi3 raspbian lite with nothing else running other than a tmux and system processes. I also tried with a fresh new clone of iot-inspector-client:
commit 4d1fa270151e6b5c1b9aba43d0adba090a9c343b (HEAD -> master, origin/master, origin/HEAD)
Author: Danny Y. Huang<EMAIL_ADDRESS>Date:   Mon Jan 6 10:29:03 2020 -0500

    Fix #48

================================================================================
Time: 2020-01-06 20:51:13.479605
Function: <bound method NetdiscoWrapper._run_netdisco of <netdisco_wrapper.NetdiscoWrapper object at 0x74fa9430>> [] {}
Exception: can't start new thread
Traceback (most recent call last):
  File "/root/princeton-iot-inspector/iot-inspector-client/v2-src/utils.py", line 246, in safe_run
    return func(*args, **kwargs)
  File "/root/princeton-iot-inspector/iot-inspector-client/v2-src/netdisco_wrapper.py", line 57, in _run_netdisco
    netdis.scan()
  File "/usr/local/lib/python3.7/dist-packages/netdisco/discovery.py", line 57, in scan
    self.mdns.start()
  File "/usr/local/lib/python3.7/dist-packages/netdisco/mdns.py", line 27, in start
    self.zeroconf, service.typ, service))
  File "/usr/local/lib/python3.7/dist-packages/zeroconf.py", line 1349, in __init__
    self.start()
  File "/usr/lib/python3.7/threading.py", line 847, in start
    _start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread

if I remove tcpdump, I'm still getting that error:
================================================================================
Time: 2020-01-06 21:00:57.339208
Function: <function sniff at 0x758c77c8> [] {'prn': <bound method PacketProcessor.process_packet of <packet_processor.PacketProcessor object at 0x759377f0>>, 'stop_filter': <function PacketCapture._capture_packets.<locals>.<lambda> at 0x74f5bc90>, 'filter': 'arp or (host not <IP_ADDRESS> and ether host b8:27:eb:4e:74:a1) or (port 67 or port 68)', 'timeout': 30}
Exception: tcpdump is not available. Cannot use filter !
Traceback (most recent call last):
  File "/root/princeton-iot-inspector/iot-inspector-client/v2-src/utils.py", line 246, in safe_run
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/scapy/sendrecv.py", line 972, in sniff
    sniffer._run(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/scapy/sendrecv.py", line 842, in _run
    *arg, **karg)] = iface
  File "/usr/local/lib/python3.7/dist-packages/scapy/arch/linux.py", line 475, in __init__
    attach_filter(self.ins, filter, iface)
  File "/usr/local/lib/python3.7/dist-packages/scapy/arch/linux.py", line 160, in attach_filter
    bp = compile_filter(bpf_filter, iface)
  File "/usr/local/lib/python3.7/dist-packages/scapy/arch/common.py", line 165, in compile_filter
    raise Scapy_Exception("tcpdump is not available. Cannot use filter !")
scapy.error.Scapy_Exception: tcpdump is not available. Cannot use filter !

...

Requirement already satisfied: flask-cors in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 8)) (3.0.8)
Requirement already satisfied: netifaces in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 9)) (0.10.9)
Collecting tcpdump (from -r requirements.txt (line 10))
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/tcpdump/

@kumarde It's a known issue. My guess is that the local Flask instance is not properly closing file descriptors. In the next release of IoT Inspector, I'll remove the local Flask instance. Stay tuned.

Related: https://github.com/noise-lab/iot-inspector-client/issues/45 and https://github.com/noise-lab/iot-inspector-client/issues/50

FYI, I left it running and this morning it was dead with a "too many open files"
packet_capture.py Line 51

Thanks for the report! Will address in #50

Duplicate of #50. Closing this issue for now.


Test create

Based on https://github.com/zchee/docker-machine-driver-xhyve/pull/28

@johanneswuerbach Thakns some PR.
Is this PR a mergeable state?

Not yet,, sorry.

@johanneswuerbach Ok.
I will wait :)

@johanneswuerbach Off topic, I was surprised that Travis is using VMware :hushed:
Possibly, travis you might have a vmrun and vmware-vdiskmanager...?

Looks like travis is still not able to run it: vmx_init: processor not supported by Hypervisor.framework Would you be interested in the non-travis changes, like the improved B2D version parsing?

@johanneswuerbach Oh...
If the travis is really using the vmware, This is the same case as this result.
https://github.com/zchee/docker-machine-driver-xhyve/blob/master/README.md#would-you-do-me-a-favor on In the case of VMWare

Extracted my two enhancements: https://github.com/zchee/docker-machine-driver-xhyve/pull/31 https://github.com/zchee/docker-machine-driver-xhyve/pull/32


Fixing Data Race Conditions caught by TSAN

Updating and reopening #37 :)
cc @benpious @rudro

@LucianoPAlmeida
Hello,
First of all, I'm not a maintainer and contributor. but I'm so interested in this library.
I've tried AtomicInt on this PR's branch. However, I faced a memory issue when running concurrently (Iterating 10000 applying).
It works on master branch.
I have not yet dived deeply. but Do you have any idea?
BTW, I'm also this conversation in Swift Forum.
https://forums.swift.org/t/low-level-atomic-operations/34683
Thanks.

Hi @muukii :)
Thanks for reporting, I'm not really sure what the issues could be (if it is sync issues maybe I know), the only thing I've done was make sure operations were atomic so TSan is happy. Could you shard the snippet you having issues with?
This library seems unmaintained since this PR is opened for a while... but I'll keep this opened for the reference

@LucianoPAlmeida
thanks.
It's a little bit difficult to reproduce that, I'll share with you if I created a simple project that can reproduce it.

This library seems unmaintained since this PR is opened for a while... but I'll keep this opened for the reference

I think so too, but this repo's approach that locking-free technique is so interesting for me.
Maybe Swift stdlib solve it in the future...

It's a little bit difficult to reproduce that, I'll share with you if I created a simple project that can reproduce it.

No problem, I just send a commit reverting a change (involving memory order and synchronization) which I suspect could cause issues, so if you can test it again. Thanks :)

Maybe Swift stdlib solve it in the future...

Let's hope so, SE-0282 seems promising \o/


Add Veraison to app-provisioning example

Add full support for Veraison service and its verification for the app-provisioning example.
Various fixes, cleanups and clarifications in the readme.
Also small 2 commits that cleanup hes and examples/veraison.

This instruction should be followed with realm-manager from this branch (until it's merged):
https://github.com/islet-project/realm-manager/tree/dev/m.szaknis/fix_veraison

I believe that keeping the detailed instruction in the examples folder is the best option. islet/doc is rather a good place for general description and design documents. If it is needed, we could create some distilled version of our design documentation of the application provisioning mechanism and place it here.