Update apparmor error message

Apparmor was missing on my machine, so this error appeared. Then, it failed to install apparmor (maybe because of failed to fetch packages?), so it failed to download docker which it left me confused why docker wasn't installed.

- What I did
- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-1" git@github.com:decoursin/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Thanks @decoursin! Could you sign-off your commit using the instructions that @GordonTheTurtle gave above?

You're welcome, and thanks for your work on Docker and the helpful directions.

LGTM

LGTM


Unification of injected constructors

There is a missing unification case for constructors injected from different sorts:
\inj{Sub1, Super}(Ctor1()) ∧ \inj{Sub2, Super}(Ctor2()) = \bottom

See also: #1269

@ttuegel : it turns that you were right with this one, of course :-)
This condition is handled in the implementation of unifyInj ( https://github.com/kframework/kore/blob/master/kore/src/Kore/Step/Simplification/InjSimplifier.hs#L196 ).
      -- If the child patterns are simplifiable, then they could eventually be
      -- simplified to produce matching sort injections, but if they are
      -- non-simplifiable, then they will never match.
      | hasConstructorLikeTop (injChild inj1) = Left Distinct
      | hasConstructorLikeTop (injChild inj2) = Left Distinct

Hence, the PR I opened for this is not needed. I'll close it and move to the next issue.


apml: Revise mailbox sequence for TURIN CPU

Description:
It was polling SwAlertSts as mailbox completion. However, ADDC also utilizing SwAlertSts. If we clear the SwAlertSts when mailbox completion, it might also deassert APML_ALERT.
Motivation:
As suggest by AMD, we should revise sequence, so the APML_ALERT won't be clear accidentally.
Test Plan:
Build code - Pass
Test on yv4 system - Pass

@BonnieLo @PeterHo-wiwynn Please resolve merge conflicts.


When will be available the next release ?

Hello,
I would like to know when the next release with all latest updates (since June 1st) will be pushed on NPM/Bower ?
I would like to use this project with Webpack and Angular2, but for now it's not possible because of some errors corrected after the 1.3.0 like this commit :

https://github.com/puikinsh/gentelella/commit/c3fb2b45621c35fd8a700b23d4fe03c6ab64b1e7#diff-d37f597de7a8588e980ffe960c706466

Thanks :)

Related to #247

@Lith I had the same issue. The way I worked around it was to npm uninstall the gentelella package, manually add the entry "gentelella" : "git@github.com:puikinsh/gentelella.git" to package.json and then npm install again. This way it pulls from the repo, where the errors do not exist.

Please, what install for application java, please?, help me!


Cannot be installed in an environment with Python 3.9

Python cannot be installed on a conda environment with Python 3.9
What steps will reproduce the problem?

Download Conda (Anaconda/Miniconda)
Create a python 3.9(.2) environment and activate it
Run conda install spyder-terminal -c spyder-ide

What is the expected output? What do you see instead?
I expect spyder-terminal to successfully install. I instead see the following error:
Specifications:

  - spyder-terminal -> python[version='3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0']

Your python: python=3.9

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to.

Versions and main components

Terminal Version: Conda 4.9.2
Spyder Version: Spyder 4.2.5
Python Version: Python 3.9.2
Operating system: Windows 10

Hi @DragonEggBedrockBreaking,
This error pops out in a new and clean environment or did you installed something before in it?

Hi @DragonEggBedrockBreaking,
This error pops out in a new and clean environment or did you installed something before in it?

I think it was clean, but I don’t remember. I will test tomorrow (on python 3.9.4) on a new clean environment.

Let me know :)

I installed miniconda (python 3.9), created a fresh environment, followed the commands in the releases page:
conda update conda
conda install spyder
conda install spyder-terminal -c spyder-ide

and still got this error after running the third command (first two were successful):
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - spyder-terminal -> python[version='3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0']

Your python: python=3.9

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

Conda 4.10.1
Spyder 5.0.0
Python 3.9.4
Windows 10

This error is happening because you are installing Spyder 5.0.0. Right now spyder-terminal doesn't support the new API so it is not working as expected. Please try to install Spyder 4 in the new environment and everything should work fine. I have the update of this plugin in my priority list, so I hope to be working in the migration soon.
Please let me know if Spyder 4 is back to live :)

How do I install Spyder 4? What command do I need?

If you are using conda please create a new environment and pin Spyder version,
conda create -n test python=3.9
conda install spyder=4.2.5
conda install spyder-terminal
spyder

That should install you the last release of Spyder 4 with Spyder-terminal and it should be working.

I ran successfully:
conda create -n test python=3.9
conda activate test
conda install spyder=4.2.5

I then ran the command conda install spyder-terminal and I got an error:
(test) C:\Users\user>conda install spyder-terminal
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - spyder-terminal

Current channels:

  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

I also ran a different command which is the command stated on the releases page - conda install spyder-terminal -c spyder-ide, and I got a different error:
(test) C:\Users\user>conda install spyder-terminal -c spyder-ide
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - spyder-terminal -> python[version='3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0']

Your python: python=3.9

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

(this second error is the same error as I was getting before with Spyder 5.0.0)

It seems we don't have Spyder-terminal packages for Python 3.9, but that will be fixed in our next version, to be released early next month.

Hi @DragonEggBedrockBreaking,
We just released spyder-terminal 1.0.0 available for Python 3.9 in pip and in conda-forge channel. Please take into account that you need to install Spyder 5.0.5 to use it.
Thanks for reporting!


Appinsgiht Version to be updated

[Enter feedback here]
Into the doc is shared the version 1.1.1, wpudl be better to update with the last one, or at least mention that into maven repo is possible download further versions.
https://mvnrepository.com/artifact/com.microsoft.azure/applicationinsights-spring-boot-starter

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

ID: 1bfc159f-ed51-705e-26f5-0ee7696076be
Version Independent ID: 647a83b1-b733-c83c-35a3-9aee375645bc
Content: Configure Initializer app for Spring Boot Starter - Azure Monitor
Content Source: articles/java/spring-framework/configure-spring-boot-java-applicationinsights.md
Service: azure-monitor
GitHub Login: @dhaval24
Microsoft Alias: dhdoshi

@vimorra thanks for the feedback! This topic has been deprecated and removed. For the current recommended approach, see https://docs.microsoft.com/en-us/azure/azure-monitor/app/java-in-process-agent.


Searching new maintainer

This project searches for a new maintainer. Please volunteer.

Are you looking to step back altogether or for someone to share responsibilities with?
There's also the recently released symfony/lock, which offers similar features but also allows you to extend the lock from within the lock.

Are you looking to step back altogether or for someone to share responsibilities with?

I'm looking for someone or more who would own this project. Step back it is.

There's also the recently released symfony/lock, which offers similar features but also allows you to extend the lock from within the lock.

It's about the users of this library. I don't want to create pain for them, so I hope to find someone who will be there for them. Otherwise yes, they will have to look for an alternative.

+1 for deprecating this completely and pointing to symfony/lock.
As for pain of transition — it is possible to write adapter, that will accept symfony lock factory as implementation.

+1 for deprecating this completely and pointing to symfony/lock.

That's something a new maintainer can be responsible for. Currently symfony/lock offers less implementations. Some people might get unhappy about that.

I'll take it on @malkusch.

I wanted to transfer it to you, but you have already a repository called "lock".

I have renamed my lock repository.

I still can't transfer ownership:

willemstuursma already has a repository in the malkusch/lock network

I guess renaming doesn't work as it keeps a redirect from your old repository. I suggest the best would be you just delete your repository. You can then push your commits from your local copy back. Also I will need your packagist username.

To make it easier, I transfered this project into a new organization. Now it's yours. Thank you.

Cheers.


Migration empty - no code generated

Hi guys, I'm adding new migrations, but the code of migration is not generated

What do your DbContext and ModelSnapshot derived classes look like?

Hi, this bug happens because I did not put the entity in dbSet :/


getUniqueId generates unsigned longs which overflow in java

Currently, the getUniqueId function generates too large longs that overflow in java ( which doesn't have support for unsigned longs up until java 8)
From your example in issue #27
> i = randomInt64()
[Int64 value:-Infinity octets:94 54 bb a7 f2 56 dc db]
> i.buffer
<Buffer 94 54 bb a7 f2 56 dc db>
> i.toOctetString()
'9454bba7f256dcdb'

Consider this example in scala :
scala> java.lang.Long.parseLong("9454bba7f256dcdb", 16)
java.lang.NumberFormatException: For input string: "9454bba7f256dcdb"
  at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
  at java.lang.Long.parseLong(Long.java:444)
  ... 33 elided
scala> val bi = new java.math.BigInteger("9454bba7f256dcdb", 16)
bi: java.math.BigInteger =<PHONE_NUMBER>5656741083

scala> bi.longValue
res11: Long = -7758369928052810533

You can see that the number is too large to fit into a long which causes the overflow.
Can we change the getUniqueId function so that it uses a lower upper bound for generating the 2 halves of the number ?
PR : https://github.com/tryfer/node-tryfer/pull/33

@fr0stbyte I understand that there seems to an issue with 64 bit numbers.
In what way does this impact the functionality of zipkin?

My understanding is that as Zipkin runs on Scala and that generally runs on java7, that this should cause issues. Maybe @fr0stbyte can speak more to the exact issues he's seeing or if they're Zipkin related.

@suryatech
I guess it is a problem if one needs to access the long representation of ID, which in our case we do as some of the tracing libraries would log the traceid in its long representation.
Since java < 8 cannot support unsigned ints, I was thinking that it would be great if all the logging will play nice.

@suryatech @dustyburwell
Just learned that postgresql also doesn't support unsigned longs

Seems like a reasonable change. @suryatech do you see any reason not to merge #33 ?

@fr0stbyte Makes sense to have the upper bound. Doesn't hurt to lose some of the trace ids at the top end of the spectrum.
@dustyburwell Nope, maybe @cyli can confirm before merging it.
I don't seem to find the travis-ci report for the commits in #33. Am I missing something ?

@suryatech Apologies, I forgot to authorize travis-ci for this organization when it got moved.  A build has run for that PR now, and is green.
I have no objections to this change.  :)  Thanks for checking!  Just out of curiosity (and wanted to make sure), do either of you have merge powers?

@suryatech @cyli @dustyburwell
Looks like we're all in agreement. Can we get this PR merged in please ?

Bumped version to 0.2.12 and pushed to NPM.


Ft githooks

So for clang-format, it is a dependency which must be install separately. This installation can be tricky to implement through a setup.sh script. I suggest we use ESLint because its just a node module which can be install easily with npm install. They offer the same support, syntax checking, and auto fixes when we choose the same style guides.
As for using git hooks it might be more beneficial to just use Husky, as it does the pre-commit execution for us rather than having to write a git hooks. Again, helps us avoid the setup script.
This guide might be useful
https://www.orangejellyfish.com/blog/code-consistency-with-eslint-and-husky/


Patch 1

We are upgraded the grammar, It seems that these changes are no longer relevant.
See https://github.com/JetBrains/kotlin-spec/tree/master/grammar/src/main/antlr.


x/net/http2: support proxying udp in HTTP

Go version
go version go1.21.1 darwin/amd64
Output of go env in your module/workspace:
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/Users/nmaharja/Library/Caches/go-build'
GOENV='/Users/nmaharja/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS='-buildvcs=false'
GOHOSTARCH='amd64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/nmaharja/go/pkg/mod'
GONOPROXY='github.office.opendns.com'
GONOSUMDB='github.office.opendns.com'
GOOS='darwin'
GOPATH='/Users/nmaharja/go'
GOPRIVATE='github.office.opendns.com'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/darwin_amd64'
GOVCS=''
GOVERSION='go1.21.1'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/Users/nmaharja/projects/clean/ProxyConnectTools/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/fv/c8jghnc95_vgn57t5w9hvvlh0000gn/T/go-build1530722529=/tmp/go-build -gno-record-gcc-switches -fno-common'

What did you do?
I tried to create a UDP connection through HTTP2 protocol. For HTTP2 connection, the RFC suggests to use CONNECT method with following headers
 HEADERS
   :method = CONNECT
   :protocol = connect-udp
   :scheme = https
   :path = /.well-known/masque/udp/<IP_ADDRESS>/443/
   :authority = example.org

I do not see see protocol, scheme and path header being set.  The encodeHeaders method only sets scheme and path, when non CONNECT method is being used.
RFC doc link: https://datatracker.ietf.org/doc/rfc9298/
What did you see happen?
The server decided to use TCP protocol instead of UDP.
What did you expect to see?
I expected to see UDP connection.

An update, turns out if i use any other method besides "CONNECT", i can have a UDP connection with just the headers
:scheme = https
:path = /.well-known/masque/udp/<IP_ADDRESS>/443/

But this might just work for my particular case.

CC @neild

I'm sorry, but I don't understand what the specific request is here. Are you implementing RFC 9298, or are you hoping for some part of net/http to support it directly?
An obstacle to implementing RFC 9298 over HTTP/2 using net/http is that we currently lack support for Extended CONNECT (RFC 8441). There's an accepted proposal to add Extended CONNECT support (#53208), but it has not yet been implemented.

Similar Issues

https://github.com/golang/go/issues/26479
https://github.com/golang/go/issues/33452
https://github.com/golang/go/issues/61391
https://github.com/golang/go/issues/25793
https://github.com/golang/go/issues/55076

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

I'm sorry, but I don't understand what the specific request is here. Are you implementing RFC 9298, or are you hoping for some part of net/http to support it directly?
An obstacle to implementing RFC 9298 over HTTP/2 using net/http is that we currently lack support for Extended CONNECT (RFC 8441). There's an accepted proposal to add Extended CONNECT support (#53208), but it has not yet been implemented.

Yeah, I was expecting RFC 9298 to be supported here.  I understand different implementations for HTTP2 UDP tunneling seems to follow different standards. For my use case, I used "CONNECT-UDP",  that added the  required two header, ":scheme" and ":path", and  the proxy server decided to use UDP tunneling for now. RFC 9298 expected me to use "CONNECT", this was my confusion.


[help] cannot read sent data when you use connectedDevice.read() or connectedDevice.onDataReceived()

Mobile Device Environment
Provide a list of operating systems on which this issue is relevant.

Device: Samsung Galaxy A30S, Infinix SMART 7HD
OS:  ANDROID 11 (Samsung Galaxy A30S). ANDROID 12 (Infinix SMART 7HD)

Application Environment
Provide information about your development environment:

React Native version: 0.74.3
RN Bluetooth Classic version: ^1.73.0-rc.12

Describe the bug
Hi there, I have an offline-first mobile app that should be able to share api  response data from one mobile device to another device that has no access to internet.
I have managed to connect devices through the app with the device.connect() but when I send data ( stringified json ) it is never received. Data is always null

A sample of the data I am sending to the other device :
{
  "gps":{
     "lat":-1.3729792,
     "lng":36.9360896
   },
  "survey_id":"9c74c0be-e671-466b-ab9d-725c9003cbe3",
  "question1":false,
  "question2":true
}

Expected behavior
A clear and concise description of what you expected to happen.

When I run connectedDevice.write(data); it should read the data

Additional context

Maybe the issue could be the delimiter? Maybe I am passing the wrong delimitter?

useBluetooth hook ( some functions )
function useBluetooth(){

	const scanForDevices = async () => {
		try {
			const devices = await RNBluetoothClassic.startDiscovery();
			console.log(devices);
			setAllDevices(devices);

			const paired = await RNBluetoothClassic.getBondedDevices();
			console.log(paired);
			setPairedDevices(paired);
		} catch (error) {
			console.error("Failed to scan for devices:", error);
		}
	};

	const connectToDevice = async (device: BluetoothDevice) => {
		try {
			const connected = await device.connect({ delimiter: '\n',DEVICE_CHARSET: Platform.OS === "ios" ? 1536 : "utf-8",READ_SIZE: 800000});
			if (connected) {
				setConnectedDevice(device);
			}
		} catch (error) {
			console.error("Failed to connect to device:", error);
		}
	};

	const acceptConnections = async () => {
		try {
			const device = await RNBluetoothClassic.accept({});
			if (device) {
				setConnectedDevice(device);
			}
		} catch (error) {
			console.error("Failed to connect to device:", error);
		}
	};

	const sendData = async (data: string) => {
        //console.log(data)
		if (connectedDevice) {
			try {
				const senddata= await connectedDevice.write(data);
                console.log("send data",senddata)
			} catch (error) {
				console.error("Failed to send data:", error);
			}
		} else {
			console.log("No device connected to send data");
		}
	};
}

export default useBLE;

How I detect data change on imports screen

This useEffect logs null

Maybe the issue could be the delimiter? Maybe I am passing the wrong delimitter?

I have same issue.

I have same issue.

Could you try to share your implementation we see whether we can compare notes?

Chances are this is a delimiter setting, for example:

on connection you're using \n
on accept, you're not setting delimiter so it's using the default, which may be \r\n?

I forget to be honest.  This should be a fairly straight forward thing to debug in the connection and parsing of data on the native side.  I suggest you debug through Android Studio and check out:

whether the data is being received
whether the data is being chopped into messages based on delimiter

This will give you the best path to finding out what's wrong.
If you're using the manualmethod of device.read() you should probably be using the device.available() to see whether there are messages available.

Again, you need to debug it yourself to see what's going on, I can't debug your application and the Bluetooth functionality is very specific to your devices.  I'm always happy to help, but just posting code (that usually looks good to the eye) doesn't help me much.

Again, you need to debug it yourself to see what's going on, I can't debug your application and the Bluetooth functionality is very specific to your devices. I'm always happy to help, but just posting code (that usually looks good to the eye) doesn't help me much.

Hi, Thank you, I was able to solve this issue. Adding CONNECTION_TYPE = 'delimited' and using encoding='hex' while calling writeToDevice helped.
I get the value now, but it is some unicode string.
My data is supposed to be in Hex (using HC-05 fyi).
I tried changing the receivedData function (as mentioned in doc and #50 ), but it led to the function not returning any value whatsoever.  Any help?

Again, you need to debug it yourself to see what's going on, I can't debug your application and the Bluetooth functionality is very specific to your devices. I'm always happy to help, but just posting code (that usually looks good to the eye) doesn't help me much.

Hi, Thank you, I was able to solve this issue. Adding CONNECTION_TYPE = 'delimited' and using encoding='hex' while calling writeToDevice helped.
I get the value now, but it is some unicode string. My data is supposed to be in Hex (using HC-05 fyi). I tried changing the receivedData function (as mentioned in doc and #50 ), but it led to the function not returning any value whatsoever. Any help?

Wow Could you share small code snippet on how you did yours? where do I add the CONNECTION_TYPE = 'delimited' and using encoding='hex' ? It may help with mine

If you're using hex/binary data, you may want to look at the following:

https://kenjdavidson.com/react-native-bluetooth-classic/guides/hex-encoding-decoding/
https://kenjdavidson.com/react-native-bluetooth-classic/android/device-connection/#bytearraydeviceconnectionimpl

They may assist in the data conversion or reading.

Chances are this is a delimiter setting, for example:

on connection you're using \n
on accept, you're not setting delimiter so it's using the default, which may be \r\n?

I forget to be honest. This should be a fairly straight forward thing to debug in the connection and parsing of data on the native side. I suggest you debug through Android Studio and check out:

whether the data is being received
whether the data is being chopped into messages based on delimiter

This will give you the best path to finding out what's wrong.
If you're using the manualmethod of device.read() you should probably be using the device.available() to see whether there are messages available.

It finally worked!
I set delimiter on accept.
here

But I must mention @kenjdavidson , the docs doesn't mention about adding connector options on accept

I think this is something that has to be made clear?

Glad it's working.
With regards to your comment, I hear what you're saying, but if you look at the documentation (at least htis was my logic):

connector
accepter
connection

Delimiter is a connection parameter and is documented on that page https://kenjdavidson.com/react-native-bluetooth-classic/android/device-connection/
I guess it's only cause I'm used to it that I know that the connection arguments are passed through the connector or accepter.
Feel free to write up whatever you think makes more sense and open a PR.

With regards to your comment, I hear what you're saying, but if you look at the documentation (at least htis was my logic):

connector
accepter
connection

Okay, finally its resolved.
Just changed CONNECTION_TYPE to binary and converted the output into buffer object.
receivedData = Buffer.from(event.data, 'base64');
/* this line in case you need a hex string
const hexString = receivedData.toString('hex'); */

Thanks @kenjdavidson for this amazing library and the links as well.


Endpoint to bulk scan hosts

I would like to see an endpoint like /api/worker/rhp/scan that can bulk scan all hosts or just ones deemed unusable as a manual trigger.
Ive had to write a bash script to parse out the hosts endpoint and manually trigger host scans to do this.

Closing this since writing a for-loop doesn't seem to be a sufficient hinderance to add a full endpoint.


[LIVY-572] Avoid usage of spark classes in ColumnBuffer

What changes were proposed in this pull request?
The ColumnBuffers can be created both inside spark jobs and in the Livy server. The latter case happens when operation logs are returned and  fails before this patch because we are using Spark classes in this code after the refactor in LIVY-503. Unfortunately, we do not have test coverage for operation logs retrieval and this is the reason why this wasn't spot out earlier.
Since operation logs are retrieved by beeline for each query, this means that every query run through beeline fails, unless livy.server.thrift.logging.operation.enabled is set to false.
How was this patch tested?
manual tests using beeline

Codecov Report

Merging #162 into master will increase coverage by 0.21%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master    #162      +/-   ##
===========================================
+ Coverage     68.59%   68.8%   +0.21%
  Complexity      905     905
===========================================
  Files           100     100
  Lines          5662    5662
  Branches        848     848
===========================================
+ Hits           3884    3896      +12
+ Misses         1225    1213      -12
  Partials        553     553

Impacted Files
Coverage Δ
Complexity Δ

...c/main/scala/org/apache/livy/repl/ReplDriver.scala
33.33% <0%> (+2.56%)
7% <0%> (ø)
:arrow_down:

.../scala/org/apache/livy/sessions/SessionState.scala
61.11% <0%> (+2.77%)
2% <0%> (ø)
:arrow_down:

...cala/org/apache/livy/scalaapi/ScalaJobHandle.scala
55.88% <0%> (+2.94%)
7% <0%> (ø)
:arrow_down:

...ain/scala/org/apache/livy/utils/SparkYarnApp.scala
79.57% <0%> (+6.33%)
33% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Merging to master.

Thanks @vanzin! What about backporting to 0.6?

If there's a need for another RC I'll do it, but we have never released a .z release before, I'd rather just do 0.7 instead.


DI-534 Handle DoS DB Failures

Task Branch Pull Request
https://nhsd-jira.digital.nhs.uk/browse/DI-534
Description of Changes
This PR re-implements the health check but now checks both the DoS DB and Replica so that DI automatically closes when either DB is broken
Type of change

New feature (non-breaking change which adds functionality)

Development Checklist

[x] I have performed a self-review of my own code
[x] I have run the code formatting checks
[x] I have run the code quality checks
[x] New code meets standards agreed by the team
[ ] Tests have added that prove my fix is effective or that my feature works (Integration tests)
[x] I have updated Dependabot to include my changes (if applicable)

Code Reviewer Checklist

[ ] I can confirm the changes have been tested or approved by a tester
[ ] I have checked any ignore commands for code linting tools and I agree that the code is safe

Integration tests have passed


Filter out account level params

Test Plan

[ ] acceptance tests

References

Hi I am trying to fix the issue documented in https://github.com/chanzuckerberg/terraform-provider-snowflake/issues/474. by filtering out account level params. My first attempt was using env variables, https://github.com/chanzuckerberg/terraform-provider-snowflake/pull/486

Usage
terraform plan
Output:
  # snowflake_task.retention_task will be updated in-place
  ~ resource "snowflake_task" "retention_task" {
        comment            = "deletes tables"
        database           = "IDB"
        enabled            = false
        id                 = "IDB|UTIL|RETENTION_TASK"
        name               = "RETENTION_TASK"
        schedule           = "USING CRON 0 23 * * * Europe/London"
        schema             = "UTIL"
      ~ session_parameters = {
          - "QUOTED_IDENTIFIERS_IGNORE_CASE" = "true" -> null
        }
        sql_statement      = "CALL retention(false)"
        warehouse          = "DEMO_XS_WH"
    }
Plan: 0 to add, 1 to change, 0 to destroy.

To eliminate the constant recreation of task we can filter out account level params.
terraform plan
Output:
Plan: 0 to add, 0 to change, 0 to destroy.

@alldoami please review

/ok-to-test sha=a2d42a5

Have the same issue but with SYSTEM level parameters:

Maybe extend the condition to include system-level parameters


Is this the "official" issue tracker for Scriptella?

Hi,
Is this the "official" issue tracker for Scriptella now?

Yes, it's the official issue tracker now.


refactor: [nuxt3] - fa icons

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[x] Refactoring

Context

[x] Related #7034
[x] set fasr (fa-sharp regular) as default icon instead of fas (fa-classic solid)
[x] use fass (fa-sharp solid) instead of fas (fa-classic solid)
[x] since we are using fa-kit to set fa, we don't need to specify some icon first in plugins/icons.ts

Copilot Summary

🤖 Generated by Copilot at 7305b9e
This pull request updates various components to use the custom fass icon pack for better visual consistency and clarity. It also removes unnecessary icon pack attributes that are redundant or conflict with the default icon pack. These changes simplify the code and improve the appearance of the icons.

🤖 Generated by Copilot at 7305b9e

We're sailing with the fass icon pack
It makes our icons sharper and sleek
So pull on the rope and don't look back
We'll update all the components this week

Context
* [x]  Related [Nuxt3 merging strategy #7034](https://github.com/kodadot/nft-gallery/issues/7034)

* [x]  set fasr (fa-sharp regular) as default icon instead of fas (fa-classic solid)

* [x]  use fass (fa-sharp solid) instead of fas (fa-classic solid)

* [x]  since we are using fa-kit to set fa, we don't need to specify some icon first in `plugins/icons.ts`

⚠ remind me later

since we are using fa-kit to set fa, we don't need to specify some icon first in plugins/icons.ts

🤔 so we'll be downloading the whole library?

let go btw 🏎

🤔 so we'll be downloading the whole library?

nope, based on this https://fontawesome.com/docs/web/setup/use-kit#what-s-a-kit
"Serves only the icons you use so your pages load lightning-fast"


Broken CSS after build

we are facing broken CSS after build. However, at development version, our project is functioning properly.

css break issue fixed


Crash in v3.0.4754

Brief description of your issue
Crash, happens rarely. Seems to happen at random or when clicking "System information" in top toolbar.
I have set up some mitigation policies for ProcessHacker.exe (in windows exploit protection) since some time, maybe they're the culprit?
ProcessHacker reports itself with these due to my settings:
DEP (permanent);
ASLR (high entropy);
Dynamic code prohibited;
Extension points disabled;
CF Guard;
Signatures restricted (Microsoft only);
Non-system fonts disabled;
Prefer system32 images;
Stack protection

Dump:
ProcessHacker_HXGCCGMNKWONDDS_DumpFile.zip
Steps to reproduce (optional)
No response
Expected behavior (optional)
No response
Actual behavior (optional)
No response
Environment (optional)
Process Hacker
Version: 3.0.4754 (3cd4b4a)

Windows 10, AMD Zen 3 Processor

Duplicate of #1163


Cannot get embedded etcd to work with multiple networks

Environmental Info:
K3s Version:

k3s version v1.23.6+k3s1 (418c3fa8)
go version go1.17.5

Node(s) CPU architecture, OS, and Version:

Server 1:
Linux toshiba 5.4.0-110-generic #124-Ubuntu SMP Thu Apr 14 19:46:19 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Server 2:
Linux node-1 5.13.0-1018-oracle #22~20.04.1-Ubuntu SMP Wed Feb 16 09:28:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Server 3:
Linux node-2 5.13.0-1018-oracle #22~20.04.1-Ubuntu SMP Wed Feb 16 09:28:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Cluster Configuration:

3 serves, 7 agents
Describe the bug:

Getting a networking error when trying to connect a second and third server to first server:
E0524 00:49:25.965438 3891564 kubelet.go:2461] "Error getting node" err="node \"node2\" not found"
{"level":"warn","ts":"2022-05-24T00:49:26.044Z","caller":"etcdserver/cluster_util.go:79","msg":"failed to get cluster response","address":"https://<IP_ADDRESS>:2380/members","error":"Get \"https://<IP_ADDRESS>:2380/members\": dial tcp <IP_ADDRESS>:2380: i/o timeout"}
{"level":"info","ts":"2022-05-24T00:49:26.045Z","caller":"embed/etcd.go:368","msg":"closing etcd server","name":"node-1-fd1ac7e1","data-dir":"/var/lib/rancher/k3s/server/db/etcd","advertise-peer-urls":["http://localhost:2380"],"advertise-client-urls":["https://<IP_ADDRESS>:2379"]}
{"level":"info","ts":"2022-05-24T00:49:26.045Z","caller":"embed/etcd.go:370","msg":"closed etcd server","name":"node-1-fd1ac7e1","data-dir":"/var/lib/rancher/k3s/server/db/etcd","advertise-peer-urls":["http://localhost:2380"],"advertise-client-urls":["https://<IP_ADDRESS>:2379"]}
FATA[0030] ETCD join failed: cannot fetch cluster info from peer urls: could not retrieve cluster information from the given URLs

It appears to be trying to access the nodes local IP <IP_ADDRESS> instead of the hostname or WAN IP.
Steps To Reproduce:

Installed K3s:
Ran on server 1:

curl -sfL https://get.k3s.io | INSTALL_K3S_SKIP_START=true sh -
 K3S_TOKEN=plm951rew sudo k3s server --cluster-init --tls-san 9maclaren.cloud  --advertise-address [[ WAN_IP ]] --node-external-ip [[ WAN_IP ]]

Ran on server 2

curl -sfL https://get.k3s.io | INSTALL_K3S_SKIP_START=true sh -
sudo k3s server --server https://9maclaren.cloud:6443 --token K101f9c46da245583f4cf9e7fae25e942ebe82909e95379544a7b197f7e5a677631::server:180f63bebc3f6110f4d5f7d5897e1a5c --node-name node2

Ran on server 3

curl -sfL https://get.k3s.io | INSTALL_K3S_SKIP_START=true sh -
sudo k3s server --server https://9maclaren.cloud:6443 --token K101f9c46da245583f4cf9e7fae25e942ebe82909e95379544a7b197f7e5a677631::server:180f63bebc3f6110f4d5f7d5897e1a5c --node-name node2

Expected behavior:

It resolves and connects
Actual behavior:

It can't resolve and fails
Additional context / logs:

Backporting

[ ] Needs backporting to older releases

Are all three servers on the same network? Embedded etcd does expect that all servers are on the same LAN; etcd is not designed to be run over the internet.

@brandond they are not! One is in oracle cloud and the others are on a home network.
In this case, what's my best option: SQLLite or PostGres?

Also @brandond, I’d recommend updating the high availability with electd dock to highlight the same network in the first few paragraphs!

I would probably avoid splitting your servers across providers entire. Even with a SQL-backed cluster, the latency and throughput will be poor. Keep al your servers in one location, and add remote agents. Assuming you're using a CNI backend that is functional over the internet (wireguard, or an existing site to site VPN).

@brandond that makes perfect sense, thank you!

@brandond now I get:
FATA[0024] ETCD join failed: initial cluster stage-0f65f025=https://<IP_ADDRESS>:2380,stage-a9249197=https://<IP_ADDRESS>:2380 has duplicate url

Do you have multiple nodes with the same private IP? That appears to be what etcd is complaining about...


feat: String add starts_with and ends_with interface

Your cla-check failed.
See CONTRIBUTING.md and sign the Individual Contributor License Agreement First.

签署之后，我好像无法再次运行github actions @Lampese

签署之后，我好像无法再次运行github actions @Lampese

帮你重启了一下，cla-check 现在过了，info 检查没过，你根目录跑一下 moon info 来 patch 一下。
I helped you restart it. The cla check has passed and the info check has not been passed. Please run moon info from the root directory to patch it.

@Lampese  谢谢


Add Neo4j Cypher data set

Description

Development notes

Checklist

[x] Read the contributing guidelines
[x] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Updated the documentation to reflect the code changes
[ ] Added a description of this change and added my name to the list of supporting contributions in the RELEASE.md file
[ ] Added tests to cover my changes

Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

Hi @deepyaman , can you provide some more context to what help is required to finish this PR? That way either the Kedro team or another open source user can jump in 🙂

Hi @deepyaman , can you provide some more context to what help is required to finish this PR? That way either the Kedro team or another open source user can jump in 🙂

Hi @MerelTheisenQB! Sorry, I missed your message here. I've just shared the Neo4j dataset we used as a possible start/solution to https://github.com/quantumblacklabs/kedro/issues/756. If people are happy with this approach, I can try to find some time to create tests, but equally happy if somebody else wants to complete the PR.


fix: failed to start local test in contest

When using leetgo test -L -l python b104/1 for local testing, it will raise Case 1: Failed to start error.
The reason is that python.exe and .py files would return relative paths prefixed with contest/, and after cmd.Dir = genResult.OutDir , the file path would change to an error file prefixed with contest/contest/ path. I think returning the absolute path will solve this problem.
Tested in Windows 10.

Thanks a lot!


[WFCORE-5255] / [WFCORE-5169] Migrate all tests to use Apache DS AM26 and org.apache.directory.api 2.0.0

https://issues.redhat.com/browse/WFCORE-5255
https://issues.redhat.com/browse/WFCORE-5169

@darranl This one I'll leave to you. It LGTM and passes CI but you call out various points in the JIRA description that I don't know enough about to see if they are covered.  Thanks for this @SoniaZaldana

@darranl This one I'll leave to you. It LGTM and passes CI but you call out various points in the JIRA description that I don't know enough about to see if they are covered.  Thanks for this @SoniaZaldana

/retest

/retest

@SoniaZaldana we have a merge conflict in the pom, if you can please correct that I think we can get this through.

Sorry for the delay @darranl. I resolved the conflict.


RO-1092 - [BE] add API to get coupon data by coupon code

Coverage increased (+0.2%) to 89.558% when pulling 523f657ddb5d0ff7d2df787db765d93bd06f8877 on feature/RO-1092 into f9efd0cd148c90f267fde8b8172f861df68ba38c on feature/coupons.

Coverage increased (+0.2%) to 89.558% when pulling 523f657ddb5d0ff7d2df787db765d93bd06f8877 on feature/RO-1092 into f9efd0cd148c90f267fde8b8172f861df68ba38c on feature/coupons.

Coverage increased (+0.2%) to 89.558% when pulling d495efcfbe9a888f25b9f53892e27bc955edb67a on feature/RO-1092 into f9efd0cd148c90f267fde8b8172f861df68ba38c on feature/coupons.

Coverage increased (+0.2%) to 89.558% when pulling 065757cc3d51aafc46a5bb1fcf3b13626a17c2d0 on feature/RO-1092 into f9efd0cd148c90f267fde8b8172f861df68ba38c on feature/coupons.

Coverage increased (+0.2%) to 89.558% when pulling 065757cc3d51aafc46a5bb1fcf3b13626a17c2d0 on feature/RO-1092 into f9efd0cd148c90f267fde8b8172f861df68ba38c on feature/coupons.


"There was a problem running VMAF"

Tried to compare two H.264 MKV files. Got this error.

This can happen if the video files are different lengths, framerates or maybe resolutions. Could you share this information for both files?

Also, does this occur if you choose a different vmaf model?

@seacat17 Okay, I should be able to hammer out a release soon that should give us more insight to what's happening to either ffmpeg or vmaf under the hood. While it won't fix the problem itself, it should let us know what's going on and allow us to investigate further

@seacat17 I just put out release 2.1.2 which should provide us more insight into what's going wrong under the hood. Kindly download the latest release, then tell me what errors show up

I just put out release 2.1.3, That should resolve this issue


event_listener Web socket error

IBC relayer event monitor, subscribed to Block and Tx events on gaia node, sees this error every ~27sec. It is issued from https://github.com/informalsystems/tendermint-rs/blob/bcef28b55a83dc3917aeedc8acf6429108aead5c/tendermint/src/rpc/event_listener.rs#L105
[/Users/ancaz/rust/tendermint-rs/tendermint/src/rpc/event_listener.rs:96] "We did not receive a valid JSONRPC wrapped ResultEvent!" = "We did not receive a valid JSONRPC wrapped ResultEvent!"
Jun 09 12:48:20.007 DEBUG relayer::event_monitor: Web socket error: Error (code: 0): received neither event nor generic string message (code: -1)`

Which tendermint version does this use?

Now that #516 is merged when we update ibc to use latest tendermint we should check that this is fixed. I expect it should be.

Now that #516 is merged when we update ibc to use latest tendermint we should check that this is fixed. I expect it should be.

I am currently doing this as part of https://github.com/informalsystems/ibc-rs/issues/90 and https://github.com/informalsystems/ibc-rs/issues/243

Note that the new websocket is only on master, its not in v0.16. Not sure if you're gunning for master all at once or doing an intermediary through v0.16

I have to get some changes into tendermint-rs as part of this work, so I guess I am going to go for master directly.

@ancazamfir Is this still an issue?

Looks like it's fixed, I don't see this anymore. Thanks!


Implement HTTP→gRPC status code mapping

As defined in grpc/grpc#4955. Please wait until PR is in before merging the code changes, although the PR has received general agreement ("but it's not official until it's official").
This is important to return useful gRPC status codes when proxies generate errors.

This issue is fixed by #4955 since that is now merged.


Mongo is Mongodb.com is a database

Join our server


How do I write a RasterStack object to a GeoTIFF file using the Rasters package?

I want to create a GeoTIFF file with a screenshot of the 'rasstack' variable. Can someone assist with this?

Is there a reason to use RasterStack specifically here? This is easier using RasterSeries as what you have is a series of rasters of identical size and type along a time dimension.
Something like this should work:
using Rasters, ArchGDAL
# a RasterSeries can be created from the list of files
series = RasterSeries(tif_filenames, Band(basename.(tiff_filenames))
# combine turns the slices of a RasterSeries into a single Raster we can write as one file.=
raster = Rasters.combine(series, Band)
# Now we can write the geotiff
write("output_filename.tif", raster)

Although I can test it without a MWE.

Closed due to lack of reply from Op, not clear what to add here.


tests: individual table driven test for migration methods

Closes: #4977
What is the purpose of the change
We ended up splitting up the locked migration logic into three separate routes:

Migration of superfluid delegated
Migration of superfluid undelegating
Migration of normal locked/unlocking

These three routes each had their own function calls, but was routed through a single router function. This PR introduces individual table driven tests for each of these functions, as well as the ValidateSharesToMigrateUnlockAndExitBalancerPool helper function.
Brief Changelog

Renamed MigrateLockedPositionFromBalancerToConcentrated to RouteLockedBalancerToConcentratedMigration
Added general test for the router function
Added three separate tests for each function the router routes to
Added test for validation helper function

Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? (yes / no)
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? (yes / no)
How is the feature or change documented? (not applicable   /   specification (x/<module>/spec/)  /  Osmosis docs repo   /   not documented)

Merging this PR as the changes are only bounded to tests + this PR being potential blocker for https://github.com/osmosis-labs/osmosis/issues/4959


3DTraits permission error

Error from log file:
'/usr/bin/sh: 1: /opt/code/shim.sh: Permission denied'
PlantIt output
'Created task f0ce4ca1-5315-49ae-afb7-0959e273ff1e on Puma Prepared environment Scheduled jobs 5835025 (inbound transfer), 5835026 (user workflow), 5835027 (outbound transfer), 5835028 (report completion) User abucksch's task f0ce4ca1-5315-49ae-afb7-0959e273ff1e completed successfully Found 1 results for task f0ce4ca1-5315-49ae-afb7-0959e273ff1e, missing 6: *.xlsx, *.stl, *.png, *.csv, *.jpg, *.txt'

Seems like an execute permission issue on the shim script in the 3D traits container image definition. May need to run e.g. chmod +x /opt/code/shim.sh as part of the dockerfile.


Add option to not send currently loaded modules

Can we make this –modules payload optional?

Why would you like to do that in the first place? It's very useful information.

The main issue was with hitting the payload size limit (HTTP 413).
Also, in a big project the module list is rather large and, in my opinion, unnecessary when dependencies are locked.

How many modules are you sending?

The largest project currently sends 340+ modules.

Hm, yeah, that's problematic. I think a better solution is that we internally cap it internally at 100 or something (people shouldn't have to debug this / enable this config option on their own, it should just work).
I assume we're also sending every submodule ... I wonder if there's a clever way of determining what's a top-level module (e.g. parsing package.json on startup?).

I think a better solution is that we internally cap it internally at 100 or something

Why not just make it a flag, and default to enabled?
Personally I believe the feature would lose its usefulness if it was displaying just 100 dependencies.

@nunofgs because the more flags/options we add, the more we have to support in the future.
Your usecase is already achievable by using dataCallback
dataCallback (data) {
  delete data.modules
  return data
}

Why not just make it a flag, and default to enabled?

Raven/Sentry should try to be as useful as possible, out of the box. If we can find a way to pass modules when it's safe to do so, we should. I still think attempting to separate top-level modules from subdependencies is the way to go; I seriously doubt you have declared 340 packages in package.json.

I will use the following diff, it looks good. Let's save some ressource. Sending the modules is pointless when there are locked and versioned.
   if (SENTRY_DSN) {
-    Raven.config(SENTRY_DSN).install();
+    Raven.config(SENTRY_DSN, {
+        environment: process.env.NODE_ENV || 'development',
+        dataCallback(data) {
+            delete data.modules;
+            return data;
+        }
+    }).install();
     app.use(Raven.requestHandler());
   }


Rotate selected area?

Sometime I get lost in the dungeon: misdraw, teleport, etc.
So I'm going to temporarily draw an area of where I'm currently in.
When I found a way out, I already messed up the dimension. Is there anyway to "rotate" this?

Is there anyway to "rotate" this?

Not yet, but I will add the feature in the next version.


compute nodes not sharing their version with the orcehstrator

for example:
Connection: CONNECTED
Info:
  BacalhauVersion:
    BuildDate: "0001-01-01T00:00:00Z"
    GOARCH: ""
    GOOS: ""
    GitCommit: ""
    GitVersion: ""
  ComputeNodeInfo:
    AvailableCapacity:
      CPU: 5.6
      Disk:<PHONE_NUMBER>2
      Memory:<PHONE_NUMBER>8
    EnqueuedExecutions: 0
    ExecutionEngines:
    - docker
    - wasm
    MaxCapacity:
      CPU: 5.6
      Disk:<PHONE_NUMBER>2
      Memory:<PHONE_NUMBER>8
    MaxJobRequirements:
      CPU: 5.6
      Disk:<PHONE_NUMBER>2
      Memory:<PHONE_NUMBER>8
    Publishers:
    - noop
    - s3
    - local
    QueueCapacity: {}
    RunningExecutions: 0
    StorageSources:
    - s3
    - urldownload
    - inline
  Labels:
    Architecture: arm64
    Operating-System: darwin
    name: mycompute
  NodeID: n-6bfe40a1-eeaa-49a7-8002-06da2a12bafa
  NodeType: Compute

I am not able to reproduce this issue.

@wdbaruni  Can you please add any steps which you followed that caused. Mainly would be on how you built it ?

No worries found it. It is not a problem when you build from main branch rather an issue when you download pre-release version.

Tried with 1.5.0 binary too

here it works because you are describing the local node (orchestrator). Try joining another compute node and that won't work. It seems we have an issue with how compute nodes share their version through nats


[Tooling] Bump golang to 1.20

Description
After the discussion about WASM and Go 1.21, I thought we should upgrade to 1.20 first to make sure the 1.19 -> 1.20 upgrade can be done without issues, for easier upgrade to 1.21 later.
We have a ticket #588 that touches on that, but it also recommends another change that can be taken care of in another PR later.

Summary generated by Reviewpad on 18 Jul 23 17:46 UTC
This pull request includes two patches. The first patch updates the golang version to 1.20 in various files including workflows, Dockerfiles, and configuration files. The second patch updates the golang version from 1.18 to 1.20 in the build.mk file, README.md file, and go.mod file.

#508
Fixes #<issue_number>
Type of change
Please mark the relevant option(s):

[ ] New feature, functionality or library
[ ] Bug fix
[ ] Code health or cleanup
[ ] Major breaking change
[ ] Documentation
[x] Compiler version change

List of changes

Bumped Go to 1.20

Testing

[x] make develop_test; if any code changes were made
[x] make test_e2e on k8s LocalNet; if any code changes were made
[x] e2e-devnet-test passes tests on DevNet; if any code was changed
[ ] Docker Compose LocalNet; if any major functionality was changed or introduced
[x] k8s LocalNet; if any infrastructure or configuration changes were made

Required Checklist

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added, or updated, godoc format comments on touched members (see: tip.golang.org/doc/comment)
[ ] I have tested my changes using the available tooling
[ ] I have updated the corresponding CHANGELOG

If Applicable Checklist

[ ] I have updated the corresponding README(s); local and/or global
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added, or updated, mermaid.js diagrams in the corresponding README(s)
[ ] I have added, or updated, documentation and mermaid.js diagrams in shared/docs/* if I updated shared/*README(s)

One more I found: docs/development/README.md references go 1.18 in a comment, I think that should be updated, too.

memory arenas?

LGTM ✅ I was able to boot LocalNet, get a local shell, and run make test_e2e with passing on this so I think we're good to go. I'm going to approve this, let's get up to 1.21 soon ✨ I also put together a small guide for updating Go versions in Pocket since we will likely be doing this sort of upgrade with some regularity.

Discussed offline but posting here for posterity - let's move the guide (and link this as an example PR) in the source code.
Make sure to also message the whole team with an announcement (e.g. golang upgrade) and instructions (e.g. wipe docker containers) once it's merged.

Thank you, @dylanlott, for that document, I've moved it to this repo.
@Olshansk I also changed the Go version in the main README, seems like the new shields had 1.10 mentioned 🦕


SpoiledReferenceStrategizer not deleting documents after grace period

I am currently having an issue with the SpoiledReferenceStrategizer behaviour. The default behaviour for BAD_STATUS is to GRACE_ONCE. My config file does not have this explicitly set in the file. Would that be an issue? I was assuming that we dont need to have the spoiled setting explicitly in the config file.
However, to test, i did include this:
<spoiledReferenceStrategizer class="com.norconex.collector.core.spoil.impl.GenericSpoiledReferenceStrategizer"
	                  fallbackStrategy="DELETE">
			          <mapping state="NOT_FOUND"  strategy="DELETE" />
				   <mapping state="BAD_STATUS" strategy="GRACE_ONCE" />
			           <mapping state="ERROR"      strategy="GRACE_ONCE" />
</spoiledReferenceStrategizer>

To give some background, the norconex is run once a day, ie, it will start and stop after the . crawl.
On Day 1 It finds and adds the url.
Later on this url is unpublished.
One Day 2 - It finds the url with now a BAD_STATUS and prints this message:
DEBUG (AbstractCrawler.java:692) - website: this spoiled reference is being graced once (will be deleted next time if still spoiled): https://test.com/test
Day 3 - Nothing happens. It just detects that it is a bad status but does not get deleted
2019-08-29 14:42:42,092 [pool-1-thread-1] INFO  (CrawlerEventManager.java:67) -       REJECTED_BAD_STATUS: https://test.com/test (HttpFetchResponse [crawlState=BAD_STATUS, statusCode=403, reasonPhrase=Forbidden])
2019-08-29 14:42:42,093 [pool-1-thread-1] DEBUG (Pipeline.java:93) - Pipeline execution stopped at stage: com.norconex.collector.http.pipeline.importer.DocumentFetcherStage@1906ff3f
2019-08-29 14:42:42,097 [pool-1-thread-1] DEBUG (FileJobStatusStore.java:174) - Writing status file: workdir/progress/latest/status/website.job
2019-08-29 14:42:42,118 [pool-1-thread-1] DEBUG (FileJobStatusStore.java:174) - Writing status file: workdir/progress/latest/status/website.job
2019-08-29 14:42:42,124 [pool-1-thread-1] DEBUG (AbstractCrawler.java:423) - website: 00:00:01.124 to process: https://test.com/test
2019-08-29 14:42:42,125 [pool-1-thread-1] INFO  (AbstractCrawler.java:400) - website: Maximum documents reached: 1
2019-08-29 14:42:42,126 [website] INFO  (AbstractCrawler.java:351) - website: Deleting orphan references (if any)...
2019-08-29 14:42:42,127 [website] INFO  (AbstractCrawler.java:364) - website: Deleted 0 orphan references...
2019-08-29 14:42:42,127 [website] INFO  (AbstractCrawler.java:271) - website: Crawler finishing: committing documents.
2019-08-29 14:42:42,128 [website] INFO  (AbstractCrawler.java:277) - website: 1 reference(s) processed.
2019-08-29 14:42:42,128 [website] DEBUG (AbstractCrawler.java:279) - website: Removing empty directories
2019-08-29 14:42:42,129 [website] INFO  (CrawlerEventManager.java:67) -          CRAWLER_FINISHED

Can you please provide some info on how to correctly ensure the GRACE_ONCE is honored and the delete is issued after that?
Thanks

If I understand you right, you want a formely "good" URL now returning a BAD_STATUS to be deleted right away?  If so, you should be able to use the XML config you tried, but changing the BAD_STATUS line to DELETE:
<mapping state="BAD_STATUS" strategy="DELETE" />

Hi Pascal,
No , I want it to be deleted after the grace once has occurred. But it is
not happening as you can see from the logs.
Thanks
On Aug 31, 2019, at 7:11 PM, Pascal Essiembre<EMAIL_ADDRESS>wrote:
If I understand you right, you want a formely "good" URL now returning a
BAD_STATUS to be deleted right away? If so, you should be able to use the
XML config you tried, but changing the BAD_STATUS line to DELETE:

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Norconex/collector-http/issues/635?email_source=notifications&email_token=ACWAT2HIOEOUEVJPFNO55ULQHL3D5A5CNFSM4ISDS3SKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5TW35I#issuecomment-526872053,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWAT2A43TQARCMXWFN2U33QHL3D5ANCNFSM4ISDS3SA
.

I was able to reproduce.  A new snapshot release has been made with the fix.  Please try and confirm.  Make sure you do not have different versions of the same jars in your lib folder if you install over (a fresh install is recommended).

Hi Pascal,
The fix works great!! Thanks for a fast response - really appreciate that!!


bugfix: unify the peer port type to int32

Signed-off-by: Starnop<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #491 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #491   +/-   ##
=======================================
  Coverage   55.86%   55.86%
=======================================
  Files          80       80
  Lines        3938     3938
=======================================
  Hits         2200     2200
  Misses       1593     1593
  Partials      145      145

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 1731891...aeeacf5. Read the comment docs.

lgtm


wrong font colour

Description
while the background is gray, the font colour is black, making the text unreadable
(Optional:) Please add any files, screenshots, or other information here.
No response
(Required) What is this issue most closely related to? Select one.
Formula
Internal issue ID
acaf2e33-4c1a-492c-a0e1-f688a1c719ea
Paper URL
https://arxiv.org/html/2307.07421v2
Browser
Chrome/<IP_ADDRESS>
Device Type
Desktop

Thank you for the report!
This will take some conceptual design work on latexml's end, for existing documents. I will write some first thoughts here to seed discussion/issues in other repositories.

We were recently discussing with @brucemiller this general problem of applying color themes over documents based on xcolor.sty, which are usually authored by specifying absolute color values. The color macros almost always have insufficient information to theme them well, as with \color{BrickRed} - we don't know what the underlying intention behind the color choice.
The source reported here is one of the better examples, as it provides a named color definition and uses it. That gives us a good abstract category to theme, seemingly releated to a rebuttal period in the submission process:
\definecolor{rebuttal}{HTML}{000000}
\textcolor{rebuttal}{Recent works pointed out that ...}

A simple first step could be to add a level of indirection, with latexml emitting a custom class (or 2):
Recent works...

and emitting a CSS rule
.ltx_color.ltx_color_rebuttal {
 color: #000000;
}

At a minimum, this would allow to entirely disable the custom color directives in themes, say:
[data-theme="dark"] .ltx_color {
  color:inherit !important;
}

And further, some semi-automated process could later adapt the more common color cases to different values in different themes. Currently this is difficult to do in practice, due to the inline style attributes deposited by latexml.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update spring-boot version to 2.5.7

Thanks @DanielFran

I'm launching the release of jhipster-bom


[🐞] lib mode do not respect custom lib.entry in vite config

Which component is affected?
Qwik Rollup / Vite plugin
Describe the bug
When you try to overwrite the entrypoints in vite.config.ts file in lib mode, the optimizer just replace your specified entrypoint for the default, disrespecting the one you specified. I take a look to the optimizer.js file and the error occurs in here line 1870:

Reproduction
https://github.com/diecodev/qwik-date/blob/main/vite.config.ts
Steps to reproduce

create a qwik component library project
edit vite config file and add a custom lib.entry object or array ~ you can do this in vite, is in the docs ~ (only if you pass a custom string as entry point this is gonna be the entry, otherwise always is gonna be replaced by 'src/index.ts'

System Info
System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M2
    Memory: 67.77 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.12.2 - ~/Library/Caches/fnm_multishells/28998_1714366621848/bin/node
    Yarn: 1.22.21 - ~/Library/Caches/fnm_multishells/28998_1714366621848/bin/yarn
    npm: 10.5.0 - ~/Library/Caches/fnm_multishells/28998_1714366621848/bin/npm
    pnpm: 9.0.6 - ~/Library/Caches/fnm_multishells/28998_1714366621848/bin/pnpm
    bun: 1.1.6 - ~/.bun/bin/bun
  Browsers:
    Chrome: 124.0.6367.91
    Safari: 17.4.1
  npmPackages:
    @builder.io/qwik: 1.5.2 => 1.5.2
    undici: * => 6.14.1
    vite: ^5.1.6 => 5.2.10

Additional Information
Fix this is very easy, you only need to check when the lib mode is activate if the inputOpts.input parameter in the normalizeOptions function is type Object or Array and make the proper handling for each case.

fixed by https://github.com/QwikDev/qwik/pull/6178

I just forgot to closr this issue. Thank you.


unable to launch test

when i launch test using the vscode testing tool i get:
  You're calling functions (e.g. "When") on an instance of Cucumber that isn't running (status: PENDING).
          This means you may have an invalid installation, potentially due to:
          - Cucumber being installed globally
          - A project structure where your support code is depending on a different instance of Cucumber
          Either way, you'll need to address this in order for Cucumber to work.
          See https://github.com/cucumber/cucumber-js/blob/main/docs/installation.md#invalid-installations

when i run cucumber through the package.json it's working fine:
{
  "name": "*****",
  "version": "1.0.0",
  "description": "******",
  "main": "index.js",
  "scripts": {
    "test": "cucumber-js"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "@cucumber/cucumber": "^10.5.1",
    "@playwright/test": "^1.42.1",
    "@types/node": "^20.11.23"
  },
  "dependencies": {
    "@cucumber/pretty-formatter": "^1.0.1",
    "dotenv": "^16.4.5",
    "jsonpath": "^1.1.1",
    "node-ssh": "^13.1.0",
    "playwright": "^1.43.1",
    "tunnel-ssh": "^5.1.2"
  }
}

@ArthurGlacetAdeo
It seems to work if you have the following set
"@cucumber/cucumber": "^9.5.1",
But doesn't work if you set it to this.
"@cucumber/cucumber": "^10.5.1",

Thank you! it's know working !!!
other question: do you know if i can set the world parameter of the run ?
i used to launch my campaign with : cucumber-js --world-parameters "{"context":"fr-uat"}"

I don't use the world-parameters but could you try this?
My cucumber.js file looks like this for profiles.
Could you add in Worldparameters as part of the default as below?
const common = {
parallel: 2,
retry: 0,
format: ['./teamcity-cucumber-formatter',
'html:cucumber-report.html',
'json:reports/report.json',
],
require: ['features/support/*.js'],
};
module.exports = {
default: {
...common,
worldParameters: {
appUrl: 'http://localhost:3000/',
},
},
cli: {
...common,
paths: ['journeys///*.feature'],
},
};

@Balrog994
It would appear that moving from Cucumber 9 to Cucumber 10 does not cause the tests to run.
The function chunksToLinesAsync in Cucumber 9 returns values but in Cucumber 10 it does not.
I suspect the cucumberProcess.stdout and cucumberProcess.stderr do not return the data in the same format so no longer works between the versions.

@ArthurGlacetAdeo  is @cucumber/pretty-formatter needed for production or development, the same for playwright


Use Ruby 2.6 endless Range syntax

I find array[n..] more readable than array[n..-1] and thought that would not be difficult to applied here.
https://blog.bigbinary.com/2018/07/04/ruby-2-6-adds-endless-range.html

Thanks @007lva

Just as a note, this breaks anyone who might use this library with 2.5 (i.e. license_scout)


Stack Monitoring

Is there any plan to include StackMonitoring into the Opensearch and Opensearch dashboards,
something similar to what Kibana has?
It is very useful for monitoring and tuning Opensearch (for e.g indexing rate ,  JVM Heap and ...)

Hi @saeed-mcu,
Could elaborate more what do you meaning by Stack Monitoring? Not sure what is the product you are referring to in Kibana.
Could provide more details about your use-case?

Hi @anasalkouz
If you use Kibana, It has a section that you can monitor Elasticsearch , Kibana , Logstash and other component.
It 's output is something like below that shows status of Elasticsearch.

and you can monitor status of any node in cluster like below :

@opensearch-project/admin could you please transfer this @opensearch-dashboards


[Improvement] Allow for open ended plot bounds

Hello,
I think it would be useful to allow for open ended bounds on plots. Right now, a tuple needs to be passed to xlim and ylim. But as far as i can tell, there's no way to impose a limit on just one side of the axis and leave the other to autoscale. Something like xlim=(0,) or xlim=(0, None). I would use this if i want to show the 0 point on the axis for reference, but i want the other end to autoscale.
Or is there a way to achieve this in a natural manner? (As in, other than plotting invisible points)
Thank you.

Works for me, can you provide an MWE?

Ok, now that's annoying. I tried all sorts of combinations and it wasn't working. Now it does. I think i was probably doing something wrong. Sorry about that.


Adaption Prompt won't save after training

Gave the new Adaption Prompt a spin (https://github.com/huggingface/peft/pull/268), but it seems there is something off by 104 bytes in my particular case that causes it to fail to save.
Also, using the same absolute learning rate as the llama adapter paper (their base learning rate was 9e-3 => absolute learning rate is blr * 4 / 256), this implementation of the llama adapter model doesn't converge at all see https://wandb.ai/wing-lian/llama-adapter-13b/runs/a4g8gd9s
  File "scripts/finetune.py", line 208, in train
    trainer.train(resume_from_checkpoint=resume_from_checkpoint)
  File "/opt/conda/lib/python3.8/site-packages/transformers/trainer.py", line 1662, in train
    return inner_training_loop(
  File "/opt/conda/lib/python3.8/site-packages/transformers/trainer.py", line 2079, in _inner_training_loop
    self.control = self.callback_handler.on_train_end(args, self.state, self.control)
  File "/opt/conda/lib/python3.8/site-packages/transformers/trainer_callback.py", line 356, in on_train_end
    return self.call_event("on_train_end", args, state, control)
  File "/opt/conda/lib/python3.8/site-packages/transformers/trainer_callback.py", line 397, in call_event
    result = getattr(callback, event)(
  File "/opt/conda/lib/python3.8/site-packages/transformers/integrations.py", line 774, in on_train_end
    fake_trainer.save_model(temp_dir)
  File "/opt/conda/lib/python3.8/site-packages/transformers/trainer.py", line 2837, in save_model
    self._save(output_dir)
  File "/opt/conda/lib/python3.8/site-packages/transformers/trainer.py", line 2891, in _save
    torch.save(state_dict, os.path.join(output_dir, WEIGHTS_NAME))
  File "/opt/conda/lib/python3.8/site-packages/torch/serialization.py", line 442, in save
    return
  File "/opt/conda/lib/python3.8/site-packages/torch/serialization.py", line 291, in __exit__
    self.file_like.write_end_of_file()
RuntimeError: [enforce fail at inline_container.cc:337] . unexpected pos<PHONE_NUMBER>4 vs<PHONE_NUMBER>0

Hi @winglian,
Happy to look into this but I need more information:

For the serialization issue, can you provide a few lines of code that reproduces it? Something like this unit test would be great: https://github.com/huggingface/peft/blob/main/tests/test_adaption_prompt.py#L117

Regarding convergence, from the charts it looks like the eval/loss went up between training steps 127 and 143. Is each training step a minibatch? Is it possible that it will go down again after more training?

The implementation of adaption prompt in peft is a little bit different with the original in llama-adpater, such as: in peft, it's o_proj(atten_output) + o_proj(adaption_output) while in original code it's o_proj(atten_output + adaption_output)
I used smaller lr between 1e-3 and 3e-3 and it can convergence quickly.


Can't send iOS device token

As per the analytics.js documentation here https://segment.com/docs/spec/common/ I want to write the device token in my Cordova app via
        analytics.identify({
          'userId': '3',
          'traits': {
            'name': 'Avishaan',
            'email'<EMAIL_ADDRESS>          },
          'context': {
            'device': {
              'token': data.registrationId,
            }
          }
        })

the data.registrationId is my device token which I have confirmed as I can also check via the console console.log(data.registrationId)
when I look at the event in mixpanel I see the following where it didn't actually add the token to the context and just inserted the device portion of the context as a string, as shown below, which I believe is incorrect

I don't know if this is related but it won't update my userId to 3 (originally it was userId 1) and not sure if that is tied in someway to the email address and if that could cause the incorrect data object

I finally figured out the solution to this. The mixpanel documentation is misleading. In case anyone else encounters a similar issue you need to set the device token  as such
 '$ios_devices': [data.registrationId],

where data.registrationId is your 64 character hexadecimal token. With that you can test whether everything is working by manually sending a push notification using the matching APNS and push certificate. From there you can go in mixpanel and see if you can trigger it from there. If you have an issue with that you may need to switch your certificate.
If it's a build you made via Xcode managing the certificates as below

then you probably need to use a sandboxed certificate which will show here on mixpanel

then, if you have attached the ios device token properly to a user you will see it in the mixpanel properties as such

from here go ahead and create a push notification to send, if it has actually been delivered to the APNS then you will see it appear here with an incremented value

while 0 means you have done something wrong either with the entitlement being added, user not allowing notifications, incorrect placement of token, mixing up push certificate between sandboxed development or production distribution


Design a selection component

Description

A selection component (the name is open to change) is a mix of an autocomplete, a select, and a popover
It can be opened by clicking or focusing on an element
The input to search for entries in the list is optional (therefore, it should be possible to just display the list without the input above)
It should be possible to add a new item if it cannot be found
The selection can be attached to any element (button, chip, ...) and can be neglected
Have a look at our ino-autocomplete as its quite similar to this one

Examples
Here are two examples of a selection component within our INCA app:


Regenerated api from updated swagger spec

Description
This PR includes the following proposed change(s):

Regenerated api from updated swagger spec, updated Application form to call a new api methods to retrieve lookup information, such as: provinces and so on

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation
[ ] Version change

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Does the change impact or break the Docker build?

[ ] Yes
[x] No

If Yes: Has Docker been updated accordingly?

[ ] Yes
[x] No

Checklist:

[ ] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] New and existing unit tests pass locally with my changes

Please delete all the files in the api and model folders that contain generated files. you will noticed when you regenerate, there are a number of deleted files cause the file names or models have changed names.
        deleted:    api/portalAccount.service.ts
        deleted:    api/portalDocument.service.ts
        deleted:    api/portalFeedback.service.ts
        deleted:    api/portalFile.service.ts
        deleted:    api/portalMessage.service.ts
        deleted:    api/portalUserRequest.service.ts
        deleted:    model/portalAccount.model.ts
        deleted:    model/portalDocument.model.ts
        deleted:    model/portalFeedback.model.ts
        deleted:    model/portalFileToList.model.ts
        deleted:    model/portalMessage.model.ts
        deleted:    model/portalUserRequest.model.ts


Fixed required validation considering false value falsy

Hi,
this is a fix for: https://github.com/formio/formio.js/issues/5457
Best regards
Ralf

Hi @brendanbond
good point. I fixed the test cases to checkbox and radio component.
Best regards

We need to revert this PR because it broke Checkbox "required" validations.  If you have a required checkbox, it lets you not click it.


Use custom private preview subscription for storage weekly live tests

This PR adds an extra subscription to the storage weekly tests (controlled by the storage team) which has certain private preview features enabled.
The diff looks larger than it is because I cleaned up carriage return characters from the file.

/azp run net - storage - tests-weekly

/azp run net - storage - tests-weekly

Closing in favor of https://github.com/Azure/azure-sdk-for-net/pull/19919


ToList or ToArray cmdlet to snapshot the pipeline

We actually don't need it. Just assign the pipeline to a variable.


I want to be able to run the stream-enrich and the scala-stream-colle…

I want to be able to run the stream-enrich and the scala-stream-collector on my local machine (for development) and pass AWS credentials via AWS_PROFILE. To be able to do so I need aws-java-sdk-sts.

Hi @petersiemen , thank you for the contribution!
We no longer use this repo for enrich and for the collector, they have been moved to their own repo, please see this blog post to get more info about it.
We created the Github issues related to your need on the appropriate repos:

https://github.com/snowplow/enrich/issues/318
https://github.com/snowplow/stream-collector/issues/68

We'll add this to our roadmap. Meanwhile, if you feel like opening a PR directly on these repos, that will be very welcome!

Thanks for your quick reply!
We will start using the new repos that you mentioned.


Install issue: fatal: repository 'https://github.com/debris/bignumber.js.git/' not found

I'm trying to install with npm install -g ethereumjs-testrpc.
Current Behavior
Terminal output:
❯ npm install -g ethereumjs-testrpc
npm ERR! git clone --template=/Users/matthew/.npm/_git-remotes/_templates --mirror https://github.com/debris/bignumber.js.git /Users/matthew/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1: Cloning into bare repository '/Users/matthew/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1'...
npm ERR! git clone --template=/Users/matthew/.npm/_git-remotes/_templates --mirror https://github.com/debris/bignumber.js.git /Users/matthew/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1: remote: Repository not found.
npm ERR! git clone --template=/Users/matthew/.npm/_git-remotes/_templates --mirror https://github.com/debris/bignumber.js.git /Users/matthew/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1: fatal: repository 'https://github.com/debris/bignumber.js.git/' not found
npm ERR! code 128
npm ERR! Command failed: git clone --template=/Users/matthew/.npm/_git-remotes/_templates --mirror https://github.com/debris/bignumber.js.git /Users/matthew/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1
npm ERR! Cloning into bare repository '/Users/matthew/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1'...
npm ERR! remote: Repository not found.
npm ERR! fatal: repository 'https://github.com/debris/bignumber.js.git/' not found
npm ERR!

npm ERR!

Yep.
npm install -g ethereumjs-testrpc
npm ERR! git fetch -a origin (https://github.com/debris/bignumber.js.git) remote: Repository not found.
npm ERR! git fetch -a origin (https://github.com/debris/bignumber.js.git) fatal: repository 'https://github.com/debris/bignumber.js.git/' not found

Yep, this is broken for me as well:
Here is a travis failure: https://travis-ci.org/transmute-industries/ico/builds/246456749
npm ERR! git clone --template=/home/travis/.npm/_git-remotes/_templates --mirror https://github.com/debris/bignumber.js.git /home/travis/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1: Cloning into bare repository '/home/travis/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1'...
npm ERR! git clone --template=/home/travis/.npm/_git-remotes/_templates --mirror https://github.com/debris/bignumber.js.git /home/travis/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1: remote: Invalid username or password.
npm ERR! git clone --template=/home/travis/.npm/_git-remotes/_templates --mirror https://github.com/debris/bignumber.js.git /home/travis/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1: fatal: Authentication failed for 'https://github.com/debris/bignumber.js.git/'
npm ERR! Linux 4.4.0-81-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v7.8.0/bin/node" "/home/travis/.nvm/versions/node/v7.8.0/bin/npm" "install"
npm ERR! node v7.8.0
npm ERR! npm  v4.2.0
npm ERR! code 128
npm ERR! Command failed: git clone --template=/home/travis/.npm/_git-remotes/_templates --mirror https://github.com/debris/bignumber.js.git /home/travis/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1
npm ERR! Cloning into bare repository '/home/travis/.npm/_git-remotes/git-https-github-com-debris-bignumber-js-git-master-df3f1ce1'...
npm ERR! remote: Invalid username or password.
npm ERR! fatal: Authentication failed for 'https://github.com/debris/bignumber.js.git/'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR!     /home/travis/.npm/_logs/2017-06-24T04_53_58_200Z-debug.log
The command "npm install" failed and exited with 1 during .

Looks to me like the repo got deleted...
https://github.com/debris/bignumber.js
wonder if this is compatible:
https://github.com/MikeMcl/bignumber.js/

This issue suggests that web3 may be the actual culprit...
https://github.com/ethereumjs/testrpc/issues/163

It seems web3.js is aware of the issue: https://github.com/ethereum/web3.js/issues/904

I gave this is shot, but could not get CI to pass, and the PR was starting to look to embarrassing to leave open.
$ npm install web3@latest --save
$ npm install

works for me locally.
If anyone knows why CI fails for all these terrible commits:
https://github.com/ethereumjs/testrpc/pull/333
I'd love to know how not to look this dumb in the future :)

Im struck with this failing dependency 'https://github.com/debris/bignumber.js.git/', i dont have any cache or mirrors to by pass. Any way to specify or install the above dependency manually.?
I see. @OR13  had a local cache which works for him; i'm assuming.!!

Can we do something like this to this repo as well? @OR13 https://github.com/ethereum/web3.js/pull/905 Because https://github.com/debris/bignumber.js.git/ no more exists and npm tries to fetch it from source, apparently.

I was having the same problem but managed to install the beta without problems:
$ npm install -g ethereumjs-testrpc@beta

I'm affected too :(
The problem is caused by "web3": "~0.16.0", in package.json. It would go away if would go away if https://github.com/ethereumjs/testrpc/pull/309 is merged.

Work around for this.

Clone "https://github.com/ethereumjs/testrpc" in any of your machine folder.
Open it in any editor, open the package.json
Change the repository of bignumber.js as
......
"bignumber.js": "git://github.com/MikeMcl/bignumber.js.git",
......
Remove web3, web3-provider-engine.
Run "npm install ."
Install web3, web3-provider-engine
Then "npm start"

cheers your ethereum-testrpc will get started.

I don't think https://github.com/ethereumjs/testrpc/pull/309 will resolve the issue because it depends on<EMAIL_ADDRESS>which also depends on<EMAIL_ADDRESS>

Thank you ToniyaSundaram.

Yep its still broken for ethereumjs-testrpc. But they just fixed the npm package for web3.

@ToniyaSundaram Your workaround solution did not work. When you get a chance Could you please share more details if you had the testrpc installed successfully?

@ponarunkumar Take a look at my PR https://github.com/ethereumjs/testrpc/pull/334. Tests are failing but it should work until this issue can be properly addressed.

Thanks dylanseago, that worked for me. 👍

@dylanseago thanks for your reference PR #. However, upgrading the web3 dependency didn't help. I am not sure whether I am missing something else. @Magneticmagnum can you please elaborate on the steps which worked for you when you get a chance. The issue is still open and unable to install -g ethereumjs-testrpc

same problem here with yarn.
error Refusing to download the git repo "https://github.com/debris/bignumber.js.git" over HTTPS without a commit hash - pos
yarn global add ethereumjs-testrpc
yarn global v0.21.3
warning No license field
[1/4] 🔍  Resolving packages...
error Refusing to download the git repo "https://github.com/debris/bignumber.js.git" over HTTPS without a commit hash - pos
sible certificate error?
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

yarn version: 0.21.3
node version: v6.11.0

Updating to the latest versions of bignumber.js, web3, and web3-provider-engine will fix this locally.
@ponarunkumar you can pull down this PR https://github.com/ethereumjs/testrpc/pull/335/files, and run npm install, npm start
However, you will still not be able to do install -g until it's merged.

@rockytang I don't think the problem is related to the direct bignumber dependency, rather web3 used a github link to depend on bignumber which has since been deleted.
@ponarunkumar The following worked for me:
npm install -g web3@latest
npm install -g web3-provider-engine@latest
git clone https://github.com/dylanseago/testrpc.git -b web3-fix ethereumjs-testrpc
cd ethereumjs-testrpc
npm link web3
npm link web3-provider-engine
npm install -g

You may find that upgrading web3-provider-engine breaks some things but it's the best workaround I have so far.

@rockytang Sorry, I wasn't specific.  Yes, it worked for a local install only.  Though dylan's instructions above will work as well if you need -g.

Thanks @rockytang appreciate your quick response! Yes, @dylanseago workaround worked fine now.

Hi all.
Though this issue is unfortunate, we've been working very hard to complete remove this and all future installation issues from the TestRPC, as well as Truffle. Please see the following two blog posts for a description of what we're doing:

http://truffleframework.com/blog/how-were-making-installation-issues-a-thing-of-the-past
http://truffleframework.com/blog/removing-installation-issues-continued-testrpc

The TL;DR version of this is that you should use the beta versions of Truffle and the TestRPC. This will not only fix this specific installation issue, but most (if not all) installation issues, ever. We're likely to release these versions this week.
Please keep us updated, and we appreciate your feedback.

beta has been officially released to production. Closing this issue for housekeeping. Thanks all!


Article Needs Clarity Around Power BI Desktop vs Service

Power Apps visual is available by default in the Power BI service. If you're using Power BI Desktop and don't see it, you must upgrade to the latest version of Power BI Desktop.
You can choose an existing app or create one, but the report must be published to the Power BI service and opened in Microsoft Edge or Google Chrome.

In step 1, the article talks about Power BI Desktop. Then in step 2 the article says you won't get anywhere starting in Power BI Desktop. This fatal flaw needs to be called out immediately and obviously.
My advice is to reorganize this article and explain how to create a new app (via a published report in the service) and how to then integrate a working app into Power BI Desktop (cannot establish the field connections from Desktop).

Note
We recommend that you first publish your report to the Power BI service and then create or modify apps."

"We recommend...". Too soft of language in this callout as well.
This issue should go back to the product team as well. If a user cannot successfully create or edit a Power App from Power BI Desktop, then don't allow it.
Thanks,
Joel

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

ID: 313f94c3-694a-6d09-3a4f-e4b741684822
Version Independent ID: c952e698-a2bf-a47d-acbd-a96a8a922636
Content: Power Apps visual for Power BI - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/powerapps-custom-visual.md
Service: powerapps
Sub-service: canvas-maker
GitHub Login: @tapanm-MSFT
Microsoft Alias: hahuber

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


Download alpaca-lora-7b-r4a16.zip

where should I get the released page? thanx

https://github.com/clcarwin/alpaca-weight/releases

thanx：）


Computed refactor

What problem does this feature solve?
Computed property gets too hard too identify what reactives it depends on when there is too much login in
What does the proposed API look like?
create a second arugent to identify its dependencies just like react does, e.g  computed(()=>, [denpendencies])

@yyx990803

Vue's computed properties will always work this way - tracking reactive dependencies automatically. Vue's reactivity at its heart is precisely about automatic dependency tracking. And as there are existing solutions in the ecosystem to solve this edge case, I can say that we don't see a need to make this a part of Vue core.


Question on roi_extractor's source code.

https://github.com/open-mmlab/mmdetection/blob/68d860d6f1a4a1fb687f2512038f2cbce7c6b08d/mmdet/models/roi_heads/roi_extractors/single_level_roi_extractor.py#L79
This line is from mmdet-v2.3.0.
What is the purpose of this line? Does it affect training or simple to avoid runtime bug.

This is because sometimes some pyramid levels will not be used for ROI feature extraction and this will cause an incomplete computation graph in one GPU, which is different from those in other GPUs and will cause a hanging error.
We will add comments on that line to avoid errors.


role epel: allow enable repo on CentOS

It also contains check to forbid this functionality on RHEL.

Looks good. I tested that and it works as expected.


[PowerToys Run] Idea List Run when choosing default app for Windows Search

📝 Provide a description of the new feature
If it's already here (I did look rly carefully though) then sry for spam, same applies when it's useless. ;)

If you'd like to see this feature implemented, add a 👍 reaction to this post.

You're not giving us very much information. Do you mean the search icon in the Task Bar, or something else? If so, see #9005, #8003, #6655
You can use a personal hotkey to trigger Run though, my suggestion is Win>+Q or Win>+R because that will open PT Run when Powertoys is active and the default Windows Search when Powertoys is not active. Win-Win 😉

Hi, I'm sorry if it sounded confusing. I guess those Ideas are fair enough close, I was kind of expecting duplicates already, and someone pointing me right direction :) (so that says duplicate, next rows are basically more spam then, but for that little clarification... if anyone interested)
From day 01 I'm really trying to force myself to use Run but I guess nothing can compete with just simple Win>, so I was trying to find some solutions. And if remapping it using Keyboard (this one would be so awesome 😢) is sadly no-no cause of that key-down only implementation...
There comes Search Idea cause I can find in my use cases a single button for that and change it within roots for some consistency
seems nice (cause I can catch myself sometimes hit even Win>S and so, and also if someone often switches devices, change behavior all at once just looked reasonable as opposed to every shortcut separately as propose some of them duplicates).
But I guess it's just me being lazy and spoiled. 😁 I'm gonna wait for that magical Keyboard Manager update.

I don't understand the ask actually.
Is it you want to basically override any interaction with the Win Search dialog (clicking the search icon in taskbar, Win+S...)?
You can override the default key and we should work, i doubt we'll be able to do the rest.

Basically i was trying to make opening Run as easy and quick as opening Start for search, cause thats what I use for years and muscle memory is muscle memory. So one of ideas was replace Search, but it ended up duplicate and kinda hard to do, even impossible.
So sorry for your time guys. #8952 will be best solution anyway, so i hope someone will look at that one soon.

Closing as duplicate of #8952


No proper URL in hugo server response

Hugo Version
v0.74.3/extended
Issue
After executing command Hugo Server I am not receiving proper URL string in the output.
Instead, it shows //localhost:1313/ it should be http://localhost:1313/

We have an active discussion forum where users and developers can ask questions. Please don't use the GitHub issue tracker to ask questions.

Closing this this issue and open a discussion on forum.


feat: update config for whole page translations

Change config for whole page translations.
See: https://github.com/Problematy/platzky/pull/15

Closed with #185


fix(module:tabs): fix the pagnation padding-right when scrolling (#3539)

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

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #3539
What is the new behavior?
will have no 64 padding-right when setting @tabs-scrolling-size in theme.less
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

good job @NearZXH
plz add the test and we will review your pr

@vthinkxie I have add two unit test. I add  function in nz-tabs-nav called pxToNumber() which is similar with the pxToNumber() in components/core/util/text-measure.ts, so i export the function, i'm not sure it's make sense.

@vthinkxie I tried toNumber() but i think it's not suitable to such as. the originStyle.paddingLeft is a string such as '100px'，the return value is 0 through toNumber(); here is the original code of toNumber():
// in angular cdk: ~/node_modules/@angular/cdk/bundles/cdk-coercion.umd.js:Line:48
/**
 * Whether the provided value is considered a number.
 * \@docs-private
 * @param {?} value
 * @return {?}
 */
function _isNumberValue(value) {
    // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,
    // and other non-number values as NaN, where Number just uses 0) but it considers the string
    // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.
    return !isNaN(parseFloat((/** @type {?} */ (value)))) && !isNaN(Number(value));
}

@vthinkxie I tried toNumber() but i think it's not suitable to such situation. the originStyle.paddingLeft is a string such as '100px'，the return value is 0 through toNumber(); here is the original code of toNumber():
// in angular cdk: ~/node_modules/@angular/cdk/bundles/cdk-coercion.umd.js:Line:48
/**
 * Whether the provided value is considered a number.
 * \@docs-private
 * @param {?} value
 * @return {?}
 */
function _isNumberValue(value) {
    // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,
    // and other non-number values as NaN, where Number just uses 0) but it considers the string
    // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.
    return !isNaN(parseFloat((/** @type {?} */ (value)))) && !isNaN(Number(value));
}

you are right, I have resolved the comment

I import PlatformModule to NzTabModule. And I found there are 15 modules which are using platform without import PlatformModule, do i need to make a new pr to fix it?

@NearZXH yes, plz help us fix it, thanks a lot!