Remove redundant step in autoselection

The original intent of this step is unclear. cc @DonJayamanne
But it causes a bug with auto-selection process, described below.

We call the autoselection process.
We don't set the workspace interpreter (call it w) and simply return because auto selecting the interpreters has not finished.
Because no workspace interpreter is set, autoselection process chooses a global interpreter as preferred one. (call it g)
Autoselection process is called again from some other place in the extension.
This time workspace intepreter is set because auto selecting the interpreters had already taken place.
Because workspace interpreter is set, autoselection process changes the preferred interpreter from global interpreter to workspace one.

So user will first see the interpreter g selected, which will then change to w when the extension is loading, which is not ideal.
NOTE: This bug is only exposed just now due to some other changes made in other parts of autoselection process, so you may not have seen it before.

@karthiknadig See CI builds below with Expected — Waiting for status to be reported, even though builds pass on CI.

// The original intent of this step is unclear.
I thought the comments are clear enough.
Basically one cannot change/update the interpreter unless and until the previous step of selecting an interpreter has been completed.
Either way, if it doesn't work any more, please feel free to change it. As you have mentioned its probably not working anymore due to changes in the code.
Though this highlights the fact that we have something else going on elsewhere...

Codecov Report

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

@@            Coverage Diff             @@
##           master   #11185      +/-   ##
==========================================
- Coverage   61.45%   61.43%   -0.03%
==========================================
  Files         596      596
  Lines       32874    32872       -2
  Branches     4659     4658       -1
==========================================
- Hits        20203    20194       -9
- Misses      11654    11659       +5
- Partials     1017     1019       +2

Impacted Files
Coverage Δ

src/client/interpreter/autoSelection/index.ts
88.54% <ø> (-0.24%)
:arrow_down:

src/datascience-ui/react-common/arePathsSame.ts
75.00% <0.00%> (-12.50%)
:arrow_down:

src/client/common/utils/platform.ts
64.70% <0.00%> (-11.77%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

...client/datascience/kernel-launcher/kernelFinder.ts
75.70% <0.00%> (-0.94%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
: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 d0d356f...8af8a0e. Read the comment docs.


refactor: one trivy report per container image

What type of PR is this?
/kind refactor

What this PR does / why we need it:

need to figure out download+delete flow for multiple reports
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3727

💛  - Coveralls


how to segment the lesion in X-ray images rather than giving the image-level prediction?

Thanks for your work. could you tell me how to segment the lesion in X-ray images rather than giving the image-level prediction?

Hi, thanks for your interests in our work. At the moment, SQUID doesn't output the segmentation mask directly. However, you can rely on the grad-CAM map from the trained discriminator to indicate which parts of the image are poorly reconstructed, and therefore more likely to contain lesions.

Hi, thanks for your interests in our work. At the moment, SQUID doesn't output the segmentation mask directly. However, you can rely on the grad-CAM map from the trained discriminator to indicate which parts of the image are poorly reconstructed, and therefore more likely to contain lesions.

Thanks for your reply. I'll try to work on that.


add example

Hello and Thank you for awesome library. I believe Laminar is a game-changer for frontend development in Scala!
I created example of markup editor app using Laminar and Laika!
You can find live demo here https://i10416.github.io/demo/
And source code is https://github.com/i10416/laika-laminar

Hey @i10416, just wanted to say, sorry for the delay merging this, I've been overwhelmed by other stuff, and the next release didn't happen yet. I have a bunch of good links I need to add to resources, including this one, I will definitely do it at some point when things are less crazy.


fix find-version for mono-repo with yarn

Can you give me an npm package name for reproducing the error?

not at the moment.

Do you want lerna to use CDN when building component libraries


Cannon install latest version of sweetalert2

If I try to install the latest version 4.3.0, I'll get this message.
[ERROR] npm ERR! No compatible version found<EMAIL_ADDRESS>[ERROR] npm ERR! Valid install targets: [ERROR] npm ERR! 4.2.8,(...)

I can't reproduce this issue:

I just installed it fine myself

Sorry can be closed. Was an issue at my nexus repo 👍


Chrome hex input

Not sure if this is an issue but more of a question. Is there any way to disable the autocomplete on keyup of the hex value input for the chrome picker? It's almost more of an inconvenience.

I am also having a poor UX with this issue. Its jumping to colors as I'm inputting them, which I do not want.

One small workaround is that you can paste full hex values in there. It's just when you try to enter them manually. This is super annoying for users who know values by memory.

@xiaokaike any ETA on a fix for this?

We are also looking for a fix for this. Just make it an option to disable the autocomplete.

+1

I submitted a fix for this, hopefully it gets merged
https://github.com/xiaokaike/vue-color/pull/70

npm update to  v2.2.0


clang-tidy: Apply fixes "misc-definitions-in-headers"

Problem
Definitions in headers must be declared inline.
Summary of Changes
Add missing inline specifier to functions defined in headers.

@hawk248 @saurabhst @jelderton @BroderickCarlin ?


getClassPath interprets the path on import

I get different behaviors depending on the order for
import os
os.environ['CLASSPATH']='mypath'
import jpype
print(jpype.getClassPath())

and
import os
import jpype
os.environ['CLASSPATH']='mypath'
print(jpype.getClassPath())

Apparently the CLASSPATH is  being cached at the start rather than interpreted when the getClassPath is called.

Agreed it would add more flexibility, when the paths is read when
getClassPath is invoked.


Breaking change in 0.8.0 not documented.

I have the (simplified) config below. Moving from 0.7.2 to 0.8.0 no tests are found.
module.exports = function(config) {
  config.set({
    "basePath": "src/main/javascript/",
    "systemjs": {
      "configFile": "config.js",
      "files": [
        "app/**/*.js",               // NO TESTS ARE FOUND IN 0.8.0
      ]
    },
    "files": [
      "testing/**/*.js"              // THIS IS NOW IGNORED IN 0.8.0
    ],
  });
}

The discussion from this change is on #38
The README.md should describe how the configuration works, along with an addition to the Breaking Changes log at the bottom.


Problems when transmitting ordered data

This may not be a problem in sctp, maybe there is a bug on the example or I'm missing something but since I have a reproducible case I think it's interesting to document it.
The code is in here: https://github.com/hugoArregui/testsctp/tree/topic-ordered-problem
I see this on the receiver end:
2019/09/26 12:43:31 Received Mbps: 19.459, totalBytesReceived: 2551268
sctp DEBUG: 12:43:31.348204 association.go:967: [0xc0000a5380] receive buffer full. dropping DATA with tsn=3502769449
2019/09/26 12:43:32 Received Mbps: 9.736, totalBytesReceived: 2552496
2019/09/26 12:43:33 Received Mbps: 6.491, totalBytesReceived: 2552496
sctp DEBUG: 12:43:33.348266 association.go:967: [0xc0000a5380] receive buffer full. dropping DATA with tsn=3502769449
2019/09/26 12:43:34 Received Mbps: 4.870, totalBytesReceived: 2553724
2019/09/26 12:43:35 Received Mbps: 3.896, totalBytesReceived: 2553724
2019/09/26 12:43:36 Received Mbps: 3.247, totalBytesReceived: 2553724
2019/09/26 12:43:37 Received Mbps: 2.783, totalBytesReceived: 2553724
sctp DEBUG: 12:43:37.348694 association.go:967: [0xc0000a5380] receive buffer full. dropping DATA with tsn=3502769449
2019/09/26 12:43:38 Received Mbps: 2.437, totalBytesReceived: 2554952
2019/09/26 12:43:39 Received Mbps: 2.166, totalBytesReceived: 2554952

And this on the sender end:
2019/09/26 12:43:31 Sent Mbps: 19.461, totalBytesSent: 2551268, bufferedAmout: 557056
sctp DEBUG: 12:43:31.347734 association.go:2011: [0xc00009f380] T3-rtx timed out: nRtos=1 cwnd=1228 ssthresh=41486
sctp DEBUG: 12:43:31.347962 association.go:518: [0xc00009f380] retransmitting 1228 bytes
2019/09/26 12:43:32 Sent Mbps: 9.736, totalBytesSent: 2552496, bufferedAmout: 557056
2019/09/26 12:43:33 Sent Mbps: 6.491, totalBytesSent: 2552496, bufferedAmout: 557056
sctp DEBUG: 12:43:33.348043 association.go:2011: [0xc00009f380] T3-rtx timed out: nRtos=2 cwnd=1228 ssthresh=4912
sctp DEBUG: 12:43:33.348124 association.go:518: [0xc00009f380] retransmitting 1228 bytes
2019/09/26 12:43:34 Sent Mbps: 4.871, totalBytesSent: 2553724, bufferedAmout: 557056
2019/09/26 12:43:35 Sent Mbps: 3.897, totalBytesSent: 2553724, bufferedAmout: 557056
2019/09/26 12:43:36 Sent Mbps: 3.247, totalBytesSent: 2553724, bufferedAmout: 557056
2019/09/26 12:43:37 Sent Mbps: 2.783, totalBytesSent: 2553724, bufferedAmout: 557056
sctp DEBUG: 12:43:37.348328 association.go:2011: [0xc00009f380] T3-rtx timed out: nRtos=3 cwnd=1228 ssthresh=4912
sctp DEBUG: 12:43:37.348477 association.go:518: [0xc00009f380] retransmitting 1228 bytes

I think for some reason the ressembly queue cannot be read (missing some package or there is a bug somewhere) that causes the buffer to be always full which causes the sender to halt.

I found something, a chunk is missing in the server side and since a chunk is missing the ssn of the stream is incosistent. AFAICT the chunk is sent from the client but the server never get's it,
the reseembly queue ssn is smallest that any chunk in the queue, so it never process any of his chunks.
I don't know if I'm making sense, this is what happen AFAICT:

client sends chunk 1,2,3,4,5.. n
server receives 1,2,3  5..n
the condition to increase the ressembly queue nextSSN is to receive the next ssn, but the next ssn at some point is 4
since the nextSSN never get's 4, it's stuck there, so for chunks >= 4 although it gets them, it cannot process them

building with -race seems to prevent the problem!

I saw this on the server side:
sctp DEBUG: 19:15:39.232315 association.go:748: [0xc0000a51e0] chunkInit received in state 'Closed'
sctp DEBUG: 19:15:39.232929 association.go:900: [0xc0000a51e0] COOKIE-ECHO received in state 'Closed'
sctp DEBUG: 19:15:39.232965 association.go:713: [0xc0000a51e0] state change: 'Closed' => 'Established'
sctp DEBUG: 19:15:39.234451 association.go:1061: [0xc0000a51e0] accepted a new stream (streamIdentifier: 22)

and the code indicates:
    if state != cookieWait {
        // RFC 4960
        // 5.2.3.  Unexpected INIT ACK
        //   If an INIT ACK is received by an endpoint in any state other than the
        //   COOKIE-WAIT state, the endpoint should discard the INIT ACK chunk.
        //   An unexpected INIT ACK usually indicates the processing of an old or
        //   duplicated INIT chunk.
        return nil
    }

Probably this prevents the client/server to sync on the stream parameters, furthermore I think this is also causing a missalign, I see how at some point the client sends a fwdTsn but the server has fwdTsn disabled

I was able to trace back the problem to this:

at some point the reassembly queue is full, but since the stream is ordered, if the first chunk is missing the queue won't be readable.
The queue is not readable, so it cannot process new chunks
The queue doesn't get new chunks because is full so it won't ever be readeable again.

I was able to hack my way around the problem by changing the association handle data in this way:
	canPush := a.payloadQueue.canPush(d, a.peerLastTSN)
	if canPush {
		s := a.getOrCreateStream(d.streamIdentifier)
		if s == nil {
			// silentely discard the data. (sender will retry on T3-rtx timeout)
			// see pion/sctp#30
			a.log.Debugf("discard %d", d.streamSequenceNumber)
			return nil
		}

		if a.getMyReceiverWindowCredit() > 0 {
			// Pass the new chunk to stream level as soon as it arrives
			a.payloadQueue.push(d, a.peerLastTSN)
			s.handleData(d)
		} else if !d.unordered &&
			len(s.reassemblyQueue.unordered) == 0 {
			a.log.Debugf("[%s] buffer full, but reassemblyQueue is missing a chunk tsn=%d ssn=%d", a.name, d.tsn,d.streamSequenceNumber)
				a.payloadQueue.push(d, a.peerLastTSN)
				s.handleData(d)
		} else {
			a.log.Debugf("[%s] receive buffer full. dropping DATA with tsn=%d ssn=%d", a.name, d.tsn,d.streamSequenceNumber)
		}
	}

There may be an underline problem but I need to read the spec again to remind myself about the dialog between peer when it comes to buffer size and such.

PR #66 fixes a problem with ordered delivery, but my additional vnet test indicated, the buffer full lock-up happens with the unordered stream as well.
Modified fix incoming!

How can this happen with unordered delivery if the queue will always be readable if there is some unordered chunk there?

Say, you are sending two messages, A,  and then B. With unordered, it could be received, B then A when unordered is true. (B is readable before A)
When both of the messages are 40KB, for instance, then B won't be fit in the buffer unless A is read by the app. If A has a missing chunk, this would be a dead-lock with the earlier code.


Connection Aborted by wsarecv

Hi,
i've got some issues on docker 1.10. and 1.10.1 while executing any of the basic commands on windows 7 enterprise.
$ docker ps
An error occurred trying to connect: Get https://<IP_ADDRESS>:2376/v1.22/containers/json: read tcp <IP_ADDRESS>:53868-><IP_ADDRESS>:2376: wsarecv: An established connection was aborted by the software in your host machine.
The system is under restriction policy and joined to an enterprise domain.
I don't know if that's the point. I also cannot understand which program is generating the issue.
I'm also analyzing this problem with tech support of my company.
Kitematic sais
EPROTO
EPROTO
write
Is there something i can do to solve this?
Thanks in advice
Emanuele

Do you have any antivirus/firewall running? It looks like it's cutting the connection, which means that you may need to add the VM to the "trusted" list

Hi,
I found an article about this same issue.It's fixed simply uninstalling docker deleting .docker folder and installing it again.
So a full reinstallation fixes this.
Thanks
Date: Fri, 12 Feb 2016 12:46:05 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [kitematic] Connection Aborted by wsarecv (#1466)
Do you have any antivirus/firewall running? It looks like it's cutting the connection, which means that you may need to add the VM to the "trusted" list
—
Reply to this email directly or view it on GitHub.


initial work to make DATA_TYPE query work with PostgreSQL databases

@rich-iannone I can't merge

I’ll change your access, sorry about that.

easy


Solving optimization problems at Fonterra | Oleg Barbin | JuliaCon2021

0:29 Agenda
0:45 Problem Background
2:12 Organic Milk Planning Process
3:17 Opportunities & Benefits
3:40 Solution Approach
3:54 Proposed Solution - A Julia application
4:25 Why Mixed Integer?
5:18 Benefits of JuMP
5:51 JuMP models are easy to work with
6:43 Active JuMP development

Done, thanks!


Cache endpoint is not auto-detected on first run

As an example, for this workflow, the insights API did not detect the call to the storage endpoint as the cache endpoint.
https://app.stepsecurity.io/github/DataDog/stratus-red-team/actions/runs/3156772572
It was detected for the second run.
This is because in the first run, harden runner does not cache a file till the post harden runner step. So, it does not know the cache endpoint in the first run. From the second run, it can access the cache endpoint, due to the file cached in the post harden runner step of previous run.
We should be able to classify the storage endpoint as cache endpoint in the insights API.

This is fixed. Example: https://app.stepsecurity.io/github/varunsh-coder/stratus-red-team/actions/runs/3295148918


build_database.sh: fix for symlinked build files

Without the -L flag, packages that share a build file via symlink aren't
discovered.
See

https://github.com/ehawkvu/kiss-tex/tree/master/texlive/texmeta
https://github.com/ehawkvu/kiss-xorg/tree/master/xorg/libXmeta

Thank you! sorry it took so long to merge


Remove SerialPortLaunchOptions support

The SerialPortLaunchOptions support required functionality from the .NET Framework which is missing from CoreCLR. Since we aren't currently using this code for anything, and haven't in many years, this removes it.

:+1:


Update Usage section in README.md py

It is for milestone 4. The installation section has been added to README.


Property type run-time assertion

When querying properties for a path in the Bluez DBus, most properties that are returned are of the type dbus.Variant. A Variant type can contain single/multiple values, and multiple values are mostly of the form map[string]dbus.Variant or similarly nested maps.
Asserting types for multiple variants/properties can become quite lengthy, and as such, it would be convenient to loop through the map of variants, assert the type and place it in a data structure. This is tedious to do as well, even if we know the signature for each property, since we need to keep a separate structure to store the signatures, and if any properties are added, said structure needs to be updated as well.
The better way is to provide the data structure, get the type of each struct member and update it from the map of variants, with as little reflect usage as possible. Hence, the DecodeVariantMap function encodes/decodes data using functions provided by go-codec.

@ddelazerda thank you for reviewing and testing this. This PR will not be merged directly, I will have to make a few cosmetic changes to the code before commiting it.


Surrender chance & modifier rework

The high level of randomness in sieges and near-insignificant surrender modifiers provided by components should be reworked to reduce randomness and increase the impact of the wall & barracks|
Nationalist surrender modifier is not a bonus they originally had in 1.3.7.
Suggestion would be

[x] All settlements get the Nationalist surrender modifier.
[x] Barracks surrender modifier increased to match the passive bonus

In case we revisit this to further reduce surrender rates, here is some data from a test I did:
Surrender Modifier Data.xlsx


RuntimeError: Encountered unresolved custom op: UnboundedIndexRangeEncode. number 3 (UnboundedIndexRangeEncode) failed to prepare. Node number 108 (WHILE) failed to invoke.

### 1. System information
Linux
TF 2.7.0
2. Code
Command used to run the converter or code if you’re using the Python API
Converter:
converter = tf.lite.TFLiteConverter.from_saved_model(curr_dir + "saved_model_2")
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS]
converter.allow_custom_ops = True
converter.optimizations = [tf.lite.Optimize.DEFAULT]
tflite_model = converter.convert()
Inference:
Load the TFLite model and allocate tensors.
interpreter = tf.lite.Interpreter(model_path="./model.tflite")
interpreter.allocate_tensors()
print("all ok")
# Get input and output tensors.
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()
# Test the model on random input data.
input_shape = input_details[0]['shape']
input_data = np.array(np.random.random_sample(input_shape), dtype=np.float32)
interpreter.set_tensor(input_details[0]['index'], input_data)
interpreter.invoke()
# The function get_tensor() returns a copy of the tensor data.
# Use tensor() in order to get a pointer to the tensor.
output_data = interpreter.get_tensor(output_details[0]['index'])
print(output_data)
The output from the converter invocation
Traceback (most recent call last):
File "load_tflite.py", line 31, in
interpreter.invoke()
File "/home/marlin/anaconda/envs/prune/lib/python3.7/site-packages/tensorflow/lite/python/interpreter.py", line 923, in invoke
self._interpreter.Invoke()
RuntimeError: Encountered unresolved custom op: UnboundedIndexRangeEncode.
See instructions: https://www.tensorflow.org/lite/guide/ops_customNode number 3 (UnboundedIndexRangeEncode) failed to prepare.
Node number 108 (WHILE) failed to invoke.
I'm wondering why the flex delegate couldn't prepare the UnboundedIndexRangeEncode function, even though I have the SELECT_TF_OPS flag enabled?

@prmudgal ,
While executing the given code i was facing different error.Please find the gist here.In order to expedite the trouble-shooting process, could you please provide the complete code and dataset to reproduce the issue reported here.

@tilakrayal
the error is because of missing model. You can find the trained model here
Dataset - Coco2014
Although the error is because of missing Custom op. Is it possible to add "UnboundedIndexRangeEncode" in custom op?

@prmudgal ,
The code provided is fairly complex hence it would be difficult for us to pinpoint the issue. Could you please get the example down to the simplest possible repro? That will allow us to determine the source of the issue easily. Thanks!

Code is updated. Please see the it in original comment. Download the model from here .

I updated the code in colab, please see the gist here

Is there any update on this issue?

@prmudgal ,
Looks like this is not a bug  related to Tensorflow end.Please take a look this issue 1 and 2 from the compression repo and try to post in respective repo from here.It helps.Thanks

@tilakrayal Thanks for the suggestion. Tensorflow compression suggestion is to include it as custom op in TFLite. Please see here. It will be helpful if TFLite team can support to include this as custom op.

@sachinprasadhs ,
I have tried in colab with TF version v2.5, v2.7 and nightly version and noticed that session is being crashed. Please, find the gist here. Thanks!

Is there any update on this?

@sachinprasadhs following up on this issue.

Hello @prmudgal The TF version of the op can in included in the TFLite model if it's in the TFLite Allowlist. Refer to this FAQ. If not, you would have to create your own custom op or you can request an op via a Github issue. Before you request a new op, check if there existing issues with the same request and comment on it with your request details.


how to get the permission for install apk?

in andorid 8.0 please!!!

Closed due to lack of information (please fill out correct issue template)


load hdf5plugin before silx in silx view to make sure it is loaded first

This PR makes sure hdf5plugin is loaded before anything else is loading h5py in silx view.
Without this, the bitshuffle/lz4 plugin is not available in silx view even if installed (tested on macOS).

Can that one go into 0.10.1 too?

Cause importing silx importing h5py? That's it?

I agree it should also go into 0.10.1 ...


adding object content in dsa folder

Fixes Issue

Closes #158
Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers
i have a question sir-
is there any compulsion to make a issue before raising a pr.
like am i able to genrate a pr without an issue.

i have a question sir-
is there any compulsion to make a issue before raising a pr. like am i able to genrate a pr without an issue.

First of all @nsundriyal62 you don't need to add screenshot, as we have resolved deployment issue.
Yes, You can directly create new PR without even creating the issues.


Subgif feature

Could we get a feature to make a sub gif out of a main one?
Something like:
gif-for-cli --start-time 3s --end-time 5s
The above command would make a 2 second gif out of the original

Isn't this out of scope of this project?
I think it's only a "gif to animated ASCII art converter" and not some gif manipulation tool.
But ffmpeg can do what you want:
ffmpeg -i input.gif -ss 00:00:03 -t 00:00:05 -async 1 output.gif

(-ss is for the start time, -t is for the duration after -ss)

Thanks for the suggestion, but I think this would be out of scope.


SAP HANA XS Advanced, Connecting to the WebIDE and cloning a Git Repository to begin development

Hi,
I installed the HANA express edition according to your description (e.g. I executed this as my last page https://www.sap.com/developer/how-tos/2016/09/hxe-howto-tutorialprep.html ).
But now in "Step 5: Configure the Space for the repository" I don't see the DEV space which I should select as project setting.
I can only see SAP as space and I'm confused what to do now. What might be the reason why I don't see the DEV space? Or should I just continue with SAP space instead of DEV?
Thank you for your help.
Regards, Jens

Hi Jens,
The Default for XSA Space is SAP. Please continue the configuration with this option. DEV space mentioned in our tutorials in an additional space incase the user would like to create and use.
Best Wishes,
Vidya Mandapudy


Update CODEOWNERS

Removed lpil from CODEOWNERS
Checklist

[x] I have read the Contributor Guide
[x] I have read and agree to the Code of Conduct
[x] I have added a description of my changes and why I'd like them included in the section below

Description of Changes
Describe your changes here
Related Issues
List related issues here

Need to merge this even though the test fails
The embark-oss CI / Test fails because this PR isn't merged 🥇


Migrating with schema file, but without migration files.

Laravel Version: 8.86.16
PHP Version: 8.1.8
Database Driver & Version: PostgreSQL 14.3

Description:
Without migration files with a new database.
Using artisan migrate command will run schema import even if there is nothing to migrate.
Problem exists if I will squash all my migration files to schema and remove them from disk.
After releasing my application - first migrate call will import schema. But migrations table will be empty. (cause schema do not contains any data)
After the next release, if I call migrate - it will do the same, even if my database is already migrated from the last release.
The Migrate command is checking if any migration was run already before schema load.
https://github.com/laravel/framework/blob/6c87065b3e310f60079b724d88560c35b7487294/src/Illuminate/Database/Console/Migrations/MigrateCommand.php#L123-L125
But I propose to check if migrations table exits before loading schema.
Checking migrations table will mean that database is already populated with the schema file, even if there is no data in it.
Steps To Reproduce:

Create some migration files and some fake seeder.
Run php artisan migrate --seed && php artisan schema:dump
Remove migration files.
Use php artisan migration:fresh --seed (as it was a fresh database)
Run php artisan migrate

Hey there,
Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.
Thanks!

Yes, Laravel 9 now has inserts in schema dump. That was fixed.


Add autoform link to storybook

This is a...

[x] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Documentation issue or request

Description
Definitely need to add a link to autoform's storybook to the top-level page that links to the staging app and storybooks for documentation and examination purposes.

🤦♂ it was there, I removed it instead of the app one (which is useless).

Ah okay cool, well it should be an easy fix :-)

Fixed in #170


Move code to scala

This PR simply moves all Java code to Scala code. Only includes improvements at semantyc level, not in a functional way.
Please @raulraja could you review? Thanks

Once my comments are addressed this LGTM!


Build error: Unable to find Qt5Gui

Log:
Compiling libflate v0.1.21
   Compiling float-cmp v0.4.0
   Compiling resvg-qt v0.6.1 (/home/i/.cache/yay/resvg/src/resvg-0.6.1/resvg-qt)
   Compiling quote v0.6.11
   Compiling svgtypes v0.4.2
error: failed to run custom build command for `resvg-qt v0.6.1 (/home/i/.cache/yay/resvg/src/resvg-0.6.1/resvg-qt)`

Caused by:
  process didn't exit successfully: `/home/i/.cache/yay/resvg/src/resvg-0.6.1/target/release/build/resvg-qt-6f8b24dc5c5dc004/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to find Qt5Gui: "Failed to run `\"pkg-config\" \"--libs\" \"--cflags\" \"Qt5Gui\"`: No such file or directory (os error 2)"', src/libcore/result.rs:999:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in build().
    Aborting...
Error making: resvg

I have arch linux, I found a bunch of Qt5Gui libraries and don’t know which one to install, and I don’t have time to pick the right package

I found a bunch of Qt5Gui libraries

There is only one Qt library.
sudo pacman -S pkgconf qt5-base


Counter in Mongodb  may be not initialized

The API said
counter was initialized to zero.
When first use Record:xx_counter() I got a function_clause.
After Record:incr(xx_counter) it works.

maybe supported now


Minimum python version to 3.9 TODO

TODO for advancing minimum python version to 3.9:
intervals.py

[x] ~Look to change following enum class methods to class properties:~

~_BaseInterval.daily_bi~
~_BaseInterval.intraday_bis~
EDIT 22/06/07 - no longer an option as from 3.11 wrapping other decorators with classmethod decorator will be deprecated.

pydantic

[x] given changes with pydantic v2, migrate to in-house input validation and drop the pydantic dependency

types

[x] Typing classes, of like Optional, Union, List etc can be removed in favour of builtin types and the | operator WITH THE EXCEPTION of not being able to use the | operator in parameter annotations of functions decorated with @valimp.parse (get_type_hints does not support the | operator until py 3.10 - noted forward to migrate these to | as well when bump min py version to 3.10) (NB everywhere, can still use dict as opposed to Dict, and Union[str, None] as opposed to Optional[str].

[ ] Also remove these deprecated type generics from all the doc in favour of builtins and | operator.

functools

[x] Change any use of @functools.lru_cache(maxsize=None) to @functools.cache

timezones

[x] Drop pytz in favor of zoneinfo standard library ~(either now or later). Looks likely that pandas 2.0 will switch to zoneinfo as its default timezone package. If it looks like pandas 2.0 could be released any time soon then might want to address this now. If it looks still to be a way off then could roll this item forwards (to dedicated issue), although in any event pandas already supports zoneinfo and would be better off depending on a stdlib library than a third-party one.~ See https://github.com/gerrymanoim/exchange_calendars/issues/322. Move over at same time as exchange-calendars.

Closed by #204.


Usage of the code

Hi,
Thank you for your code. Could you please complete the usage instructions for training and inference?
Thank you!

Hi,
Thank you for your code. Could you please complete the usage instructions for training and inference?
Thank you!

Sure. We are still waiting the result of our paper. We will update the usage and upload configs once we get the result.


Deploy Diagnostic Settings for Cosmos DB to Log Analytics workspace is missing a log category

Describe the bug
The policydef Deploy Diagnostic Settings for Cosmos DB to Log Analytics workspace is missing a log category
Steps to reproduce

Assign the policy and create a new Cosmos DB
Observe that, after a succesful policy deployment, the policy is not compliant

Screenshots
Portal view:

policy Definition snippet:

@springstone not sure if we want to squeeze this into the latest refresh?

@jtracey93 @NucLabs apologies for the delay, been swamped with some other workstreams. This is an easy fix and I will push it through this week for merge to main next week.

PR is in, and this should merge to the main branch early next week.


lesson: dont use -b  flag with new docker v1.10 networks - will blow up

Output of docker version:
Client:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 21:40:35 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 21:40:35 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 100
 Running: 0
 Paused: 0
 Stopped: 100
Images: 1042
Server Version: 1.10.2
Storage Driver: overlay
 Backing Filesystem: extfs
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: null host bridge
Kernel Version: 4.2.0-30-generic
Operating System: Ubuntu 15.10
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.791 GiB
Name: emachines-e520
ID: NG2B:QLY4:W2SH:6FQF:FYGU:TVLX:3IQL:CQ4S:N5DL:CTND:52ZD:GCDH

Provide additional environment details (AWS, VirtualBox, physical, etc.):
PHYSICAL
List the steps to reproduce the issue:

docker network create --subnet $_my_lans_subnet --aux-address "DefaultGatewayIPv4=$_my_routers_ip" --gateway=$_new_docker_bridge_ip -o com.docker.network.bridge.name=$_new_docker_bridge_name $_new_docker_network_name
Reboot, add bridge to /etc/network/interfaces

# added for docker network bridge
auto br-docker-eth0
iface br-docker-eth0 inet static
	address <IP_ADDRESS>
	netmask <IP_ADDRESS>
	gateway <IP_ADDRESS>
	# dns-nameservers <IP_ADDRESS> <IP_ADDRESS> # doesnt work
	bridge_ports eth0
	bridge_stp off
	bridge_fd 0
	up brctl addif br-docker-eth0 eth0
	up route del default
	up route del default
	up route add default br-docker-eth0
	# up echo "nameserver <IP_ADDRESS>" | resolvconf -a br-docker-eth0 # doesnt work
	# up ip a del <IP_ADDRESS>/16 dev br-docker-eth0 # doesnt work

Docker daemon refuses to startup anymore. Due to the following error msg:

Mar 10 18:12:09 emachines-e520 docker[2931]: time="2016-03-10T18:12:09.193754869Z" level=info msg="Firewalld running: true"
Mar 10 18:12:09 emachines-e520 docker[2931]: time="2016-03-10T18:12:09.943803741Z" level=fatal msg="Error starting daemon: Error initializing network controller: Error creating default \"bridge\" network: failed to allocate gateway (<IP_ADDRESS>): Address already in use"
Mar 10 18:12:09 emachines-e520 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Mar 10 18:12:09 emachines-e520 systemd[1]: Failed to start Docker Application Container Engine.

To start up docker daemon again, I needed to do a rm -rf /var/lib/docker/network/files. Then docker started again.

Note:
It seems my happy rm -rfing may also have had the un-intended side-effect of nuking /var/lib/docker/network/files/local-kv.db. Doh. That seems like something new since I upgraded docker from 1.9.2 only a few days ago. Not sure the consquenses of that BUT

My custom docker network is missing now from the list of docker networks:

boo hoo :(
# docker network ls
NETWORK ID          NAME                DRIVER
0feaed90d487        none                null
e40d8d1f0e86        host                host
ebac4c42c682        bridge              bridge

Describe the results you received:
PROBLEM:
The perticulars of my custom bridgen network now seems to have migrated / moved and affected docker's docker0 default bridge network. In fact now there is not more any docker0 interface exists! AFAIK this shouldn't happen. I'm getting all sorts of knock on errors. This thing is dang broke now!
Look here:
# docker network inspect bridge
[
    {
        "Name": "bridge",
        "Id": "ebac4c42c682ac5d3684f7964426296b8e74ed259efcc339411dc7a83ac4a894",
        "Scope": "local",
        "Driver": "bridge",
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "<IP_ADDRESS>/16",
                    "Gateway": "<IP_ADDRESS>"
                }
            ]
        },
        "Containers": {},
        "Options": {
            "com.docker.network.bridge.default_bridge": "true",
            "com.docker.network.bridge.enable_icc": "true",
            "com.docker.network.bridge.enable_ip_masquerade": "true",
            "com.docker.network.bridge.host_binding_ipv4": "<IP_ADDRESS>",
            "com.docker.network.bridge.name": "br-docker-eth0",
            "com.docker.network.driver.mtu": "1500"
        }
    }
]

Describe the results you expected:
Uhm... for docker service to have started up in the first place without erroring out. The custom docker bridge br-docker-eth0 already had an ip address so why try to re-allocate one to it then point blank refuse to start?
Provide additional info you think is important:
Uhm... How can I reset the docker networks to be fresh / from factory again? Maybe I can just start over?
Also: how can i join my custom docker bridge before starting docker daemon? It seem my operating system (ubuntu) wants to startup networking first, presumably being a systemd service dependancy of the docker daemon. So that is when I must give my bridge device an Ip address etc.
Actually I tried changing the ip its manually allocated in /etc/network/interfaces as .251 instead. As you might notice if reading back again the step number 2. But changing that ip in there had no effect after a system reboot! It was still showing up as .252
Very lost here... need help!

Ah... it seems this happened because I forgot to remove a temporary docker daemon startup flags -b br-docker-eth0...
So that explains why it had taken the place of docker0 and blew up etc. Retesting now without that bad / wrong legacy flag.

Ok... all is fine again now. Just had to remove the -b <bridge> legacy startup flag, then rm -rf /var/lib/docker/network/files once more. Rebooted. Everything back to normal.


NVMEDIT - ZWaveError: Unsupported protocol file format: 5 (ZW0280)   Firmware 7.19

Is your problem within Home Assistant (Core or Z-Wave JS Integration)?
NO, my problem is NOT within Home Assistant or the ZWave JS integration
Is your problem within Z-Wave JS UI (formerly ZwaveJS2MQTT)?
NO, my problem is NOT within Z-Wave JS UI
Checklist

[X] I have checked the troubleshooting section and my problem is not described there.

[X] I have read the changelog and my problem was not mentioned there.

Describe the bug
What causes the bug?
Trying to convert firmware version 7.19 from UZB7 stick NVM backup from bin to json.
What do you observe?
ZWaveError: Unsupported protocol file format: 5 (ZW0280)
at nvmObjectsToJSON (/root/.npm/_npx/98595b58b0c35f8f/node_modules/@zwave-js/nvmedit/build/convert.js:117:23)
at nvmToJSON (/root/.npm/_npx/98595b58b0c35f8f/node_modules/@zwave-js/nvmedit/build/convert.js:554:17)
at Object.handler (/root/.npm/_npx/98595b58b0c35f8f/node_modules/@zwave-js/nvmedit/build/cli.js:41:40) {
code: 280,
context: undefined,
transactionSource: undefined
}
What did you expect to happen?
I expected nvmedit to read the format and do the conversion.
Steps to reproduce the behavior:
npx @zwave-js/nvmedit nvm2json --in 700NVM-NVM_20221227161600.bin --out 700NVM-NVM_20221227161600.json
Device information
Manufacturer: SILabs
Model name: UZB-7
700NVM-NVM_20221227161600.bin.txt
How are you using node-zwave-js?

[X] zwave-js-ui (formerly zwavejs2mqtt) Docker image (latest)
[ ] zwave-js-ui (formerly zwavejs2mqtt) Docker image (dev)
[ ] zwave-js-ui (formerly zwavejs2mqtt) Docker manually built (please specify branches)
[ ] ioBroker.zwave2 adapter (please specify version)
[ ] HomeAssistant zwave_js integration  (please specify version)
[ ] pkg
[ ] node-red-contrib-zwave-js (please specify version, double click node to find out)
[ ] Manually built from GitHub (please specify branch)
[ ] Other (please describe)

Which branches or versions?
version:
node-zwave-js branch: 10.3.1
zwave-js-ui branch: 8.6.1
Did you change anything?
no
If yes, what did you change?
No response
Did this work before?
Don't know, this is a new device
If yes, where did it work?
No response
Attach Driver Logfile
npx @zwave-js/nvmedit nvm2json --in 700NVM-NVM_20221227161600.bin --out 700NVM-NVM_20221227161600.json
ZWaveError: Unsupported protocol file format: 5 (ZW0280)
at nvmObjectsToJSON (/root/.npm/_npx/98595b58b0c35f8f/node_modules/@zwave-js/nvmedit/build/convert.js:117:23)
at nvmToJSON (/root/.npm/_npx/98595b58b0c35f8f/node_modules/@zwave-js/nvmedit/build/convert.js:554:17)
at Object.handler (/root/.npm/_npx/98595b58b0c35f8f/node_modules/@zwave-js/nvmedit/build/cli.js:41:40) {
code: 280,
context: undefined,
transactionSource: undefined
}

Thanks for the report. I'll have to figure out what changed in 7.19

fixed in https://github.com/zwave-js/node-zwave-js/releases/tag/v10.10.0


File Transform (preview) does not work

Im trying to use the File Transform (Preview) in my release pipeline but nothing gets transformed. I named my stage PP and i have a config named Web.PP.config. I turn on debug and it does seem to pick up the right stage.
I can see in my previous step the Web.PP.config is downloaded from the artifact folder.
Log
2019-02-13T12:11:39.9891155Z ##[debug]release.environments.PP.status=InProgress
2019-02-13T12:11:39.9891666Z ##[debug]agent.id=5
2019-02-13T12:11:39.9892213Z ##[debug]release.artifacts._Build Master.projectId=21e97914-0468-4057-b0cd-c76ca34e6ed9
2019-02-13T12:11:39.9892369Z ##[debug]build.buildNumber=4.5.5+2
2019-02-13T12:11:39.9892662Z ##[debug]release.artifacts._Build Master.definitionName=Build Master

.. //finds my main web.config
2019-02-13T12:11:40.0288840Z ##[debug]Initiated variable substitution in config file : D:\a\_temp\temp_web_package_21249088411579398\Content\D_C\a\1\s\MyProject.Web\obj\Release\Package\PackageTmp\Web.config
2019-02-13T12:11:40.0290239Z ##[debug]Detecting file encoding using BOM
2019-02-13T12:11:40.0398581Z ##[debug]Unable to find node with tag 'applicationSettings' in provided xml file.
2019-02-13T12:11:40.0399510Z ##[debug]Processing substitution for xml node : appSettings
2019-02-13T12:11:40.0401524Z ##[debug]Processing substitution for xml node : connectionStrings
2019-02-13T12:11:40.0406204Z ##[debug]No substitution variables found for parameters.xml
2019-02-13T12:11:40.0409463Z ##[debug]Processing substitution for xml node : configSections
2019-02-13T12:11:40.0469289Z ##[debug]Skipped Updating file: D:\a\_temp\temp_web_package_21249088411579398\Content\D_C\a\1\s\MyProject.Web\obj\Release\Package\PackageTmp\Web.config

I know it is a preview but maybe I am using it wrong? Not a lot of options for configuring though

@jepzen , Can you please share the task version and the full logs to<EMAIL_ADDRESS>Are you using XML Transformation or XML variable substitution?

Thanks. Task version is 1.*(preview) I sent the log to the email address

@jepzen , sorry. here you go<EMAIL_ADDRESS>

Seems to do nothing for me as well.
2019-03-13T17:28:32.6429164Z ##[section]Starting: File Transform:
2019-03-13T17:28:32.6429164Z ==============================================================================
2019-03-13T17:28:32.6429164Z Task         : File Transform
2019-03-13T17:28:32.6429164Z Description  : File Transform
2019-03-13T17:28:32.6429164Z Version      : 1.1.1
2019-03-13T17:28:32.6429164Z Author       : Microsoft Corporation
2019-03-13T17:28:32.6466145Z Help         : File transformation and variable substitution task: Update tokens in your XML based configuration files and then replaces those tokens with variable values. Currently only XML, JSON file formats are supported for variable substitution.
2019-03-13T17:28:32.6466145Z ==============================================================================
2019-03-13T17:28:33.0312167Z XML variable substitution applied successfully.
2019-03-13T17:28:33.0386129Z ##[section]Finishing: File Transform:

@jepzen , the issue is fixed. Can you please retry the deployment?

No luck. But I am really not sure I know how to use it. I tried creating a new test project for this. I added an extra Build config named PP. I then added a the Web.PP.config. Edit the project file so this is not dependent on on web.config. Then i added the task to my release pipeline. But the log just goes
2019-03-25T09:22:28.3544852Z ##[section]Starting: XML Transform
2019-03-25T09:22:28.3650135Z ==============================================================================
2019-03-25T09:22:28.3650430Z Task         : File Transform
2019-03-25T09:22:28.3650527Z Description  : File Transform
2019-03-25T09:22:28.3650597Z Version      : 1.1.1
2019-03-25T09:22:28.3650682Z Author       : Microsoft Corporation
2019-03-25T09:22:28.3650756Z Help         : File transformation and variable substitution task: Update tokens in your XML based configuration files and then replaces those tokens with variable values. <br/>Currently only XML, JSON file formats are supported for variable substitution.
2019-03-25T09:22:28.3650869Z ==============================================================================
2019-03-25T09:22:29.4121758Z ##[warning]Unable to apply transformation for the given package.
2019-03-25T09:22:30.6099796Z ##[section]Finishing: XML Transform

@jepzen  I was able to confirm that this task does work, but the output is definitely lacking. I actually just opened a developer community issue a few minutes ago:
https://developercommunity.visualstudio.com/content/idea/504813/file-transform-preview-task-should-have-some-outpu.html
But for actually using it, maybe you can look at my settings and see if you have some luck.
My Task Settings (Folder is the root of the Default Working Directory as I want to transform all instances of this setting in my config files):

Variables Tab:

I'm looking for all instances of a connection string Name (Context) and replacing it with the connection string in the Value field.
Please let me know if that works.

@jepzen Can you please share the task version and the full logs to RM_CUSTOMER_QUERIES at Microsoft dot com ?

@EdGrant63 Thanks for suggestions. But the projec ti am working is an old with a huge web.config file and the transformation I am trying to do is getting from one file Web.PP.config into the web.config. I try to avoid sitting and copying all the values into pipeline variables.

@SumiranAgg I emailed it.
Question: Is it necessary to have a copy files step for this to work? (i have that) Or is this Task suppose to find my Web.[Env].config file inside the zip package?

@jepzen This task  will find that file inside your package for both zip or folder.
The task  input for transformation rules just has to be-
-transform ***.PP.config -xml ***.config
Infact you can provide complete file names as well. The default values are just for reference.
Please try and let us know if this fixes the issue.

Thanks @EdGrant63!

For more details about the task please go through reference doc https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/file-transform?view=azure-devops
@jepzen The issue should be resolved now. Closing the issue. Feel free to reopen if required.


dnscontrol: 3.5.0 -> 3.6.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/dnscontrol/versions.
meta.description for dnscontrol is: "Synchronize your DNS to multiple providers from a simple DSL"
meta.homepage for dnscontrol is: "https://stackexchange.github.io/dnscontrol/"
meta.changelog for dnscontrol is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.6.0 with grep in /nix/store/06bj7z1pc9m8kjmzp5ccjpdwi9pqcwgs-dnscontrol-3.6.0

directory tree listing: https://gist.github.com/e1d4cca8045a4fb4c5cf02f80f3a62aa

du listing: https://gist.github.com/3bd97b04838e755596b5582dafe9a361

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
dnscontrol

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/06bj7z1pc9m8kjmzp5ccjpdwi9pqcwgs-dnscontrol-3.6.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dnscontrol https://github.com/r-ryantm/nixpkgs/archive/0e2d99f0a81f0d750060706bac998829ddcd319c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/06bj7z1pc9m8kjmzp5ccjpdwi9pqcwgs-dnscontrol-3.6.0
ls -la /nix/store/06bj7z1pc9m8kjmzp5ccjpdwi9pqcwgs-dnscontrol-3.6.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

dnscontrol

Maintainer pings
cc @mmahut @SuperSandro2000 @kalbasit for testing.

Result of nixpkgs-review pr 111875 run on x86_64-linux 1

1 package built:

dnscontrol


Incorrect info for enabling C++ core guidelines check using command line

Seems like /analyze:pluginEspXEngine.dll is a correct way but with split words like mentioned in docs /analyze:plugin EspXEngine.dll it ends up with
Unable to load plug-in ' EspXEngine.dll'

Please fix!

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

ID: 725a4cd3-5880-a22b-c148-c594231a3ff3
Version Independent ID: 295baf60-5b4e-162f-bc23-0675213477fc
Content: Using the C++ Core Guidelines checkers
Content Source: docs/code-quality/using-the-cpp-core-guidelines-checkers.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

@Predelnik
This behavior is unexpected. The compiler should have no problem with a space between the /analyze:plugin option and the filename. There also shouldn't be a leading space in the filename in the reported error. That tells me that there may be a problem in your command line or compiler configuration.
@hwisungi Do you have any insight into this problem?

@Predelnik
After some experimentation, I don't think there's an issue with the documentation, so I'm closing it. Your question is more likely to get a useful answer in the C++ forum in Microsoft Docs Q&A or in the Visual Studio C++ Developer Community](https://aka.ms/vsfeedback/browsecpp) site. Best of luck in solving your issue.

I can confirm this behavior when using a CMake project (with Conan) with a CMakeSettings.json file where I added this configuration:
  {
    "name": "Release_CodeAnalysis",
    "generator": "Visual Studio 17 2022 Win64",
    "configurationType": "Release",
    "buildRoot": "${projectDir}\\Build\\Windows_x64\\Release",
    "installRoot": "${projectDir}\\Build\\Windows_x64\\Release\\package",
    "cmakeCommandArgs": "",
    "buildCommandArgs": "-m",
    "ctestCommandArgs": "",
    "cmakeExecutable": "",
    "enableMicrosoftCodeAnalysis": true,
    "enableClangTidyCodeAnalysis": true,
    "clangTidyChecks": "clang-analyzer-*,bugprone-*,cert-*",
    "variables": [
      {
        "name": "IS_VISUAL_STUDIO",
        "value": "ON",
        "type": "BOOL"
      },
      {
        "name": "CMAKE_CXX_FLAGS_RELEASE",
        "value": "/Y- /analyze /analyze:WX- /analyze:plugin EspXEngine.dll",
        "type": "STRING"
      }
    ],
    "inheritEnvironments": [ "msvc_x64_x64" ]
  }

After removing the space as observed and reported by @Predelnik it works :)


PRCTL not available for amd64 in debian < jessie

prctl is not available for amd64 for any debian releases prior to jessie: https://packages.debian.org/wheezy/prctl
Context:
I tried to install ES 2.1.0 with on debian wheezy with puppet-elasticsearch 0.10.0. It does not start. It does not log anything. I tried running the service manually like this:
sudo -u elasticsearch /usr/share/elasticsearch/bin/elasticsearch -d -p /var/run/elasticsearch-mtis_es.pid -Des.default.path.home=/usr/share/elasticsearch -Des.default.path.logs=/var/log/elasticsearch/mtis_es -Des.default.path.data=/var/lib/elasticsearch-mtis_es -Des.default.path.work=/tmp/elasticsearch-mtis_es -Des.default.path.conf=/etc/elasticsearch/mtis_es

That surprisingly causes ES to start as expected.
So I figure that ES needs prctl to start via start-stop-deamon. I guess it is required in the logging service. As this is not available for wheezy and squeeze please either remove the dependency or update the documentation stating this to be compatible with Debian 6 and 7 as most of your users don't have ia64 and powerpc architecture.
What did I expect:
ES to start or to log problems.
What happened:
ES did not start and did not log anything.
Versions:
ES 2.1.0 and puppet-elasticsearch 0.10.0 and debian wheezy amd64
Logoutput:
[2015-12-15 13:14:23,289][WARN ][bootstrap                ] unable to install syscall filter: prctl(PR_GET_NO_NEW_PRIVS): Invalid argument
[2015-12-15 13:14:23,684][INFO ][node                     ] [hostname] version[2.1.0], pid[2293], build[72cd1f1/2015-11-18T22:40:03Z]
[2015-12-15 13:14:23,684][INFO ][node                     ] [hostname] initializing ...
[2015-12-15 13:14:23,779][INFO ][plugins                  ] [hostname] loaded [], sites []
[2015-12-15 13:14:23,810][INFO ][env                      ] [hostname] using [1] data paths, mounts [[/opt (/dev/mapper/vg00-opt)]], net usable_space [27.8gb], net total_space [27.9gb], spins? [possibly], types [xfs]
[2015-12-15 13:14:26,949][INFO ][node                     ] [hostname] initialized
[2015-12-15 13:14:26,949][INFO ][node                     ] [hostname] starting ...
[2015-12-15 13:14:27,183][INFO ][transport                ] [hostname] publish_address {<IP_ADDRESS>:9300}, bound_addresses {<IP_ADDRESS>:9300}
[2015-12-15 13:14:27,209][INFO ][discovery                ] [hostname] mtis_es/s3eQsVPOTviBiqM5srFhrw
[2015-12-15 13:14:57,209][WARN ][discovery                ] [hostname] waited for 30s and no initial state was set by the discovery
[2015-12-15 13:14:57,219][INFO ][http                     ] [hostname] publish_address {<IP_ADDRESS>:9200}, bound_addresses {<IP_ADDRESS>:9200}
[2015-12-15 13:14:57,219][INFO ][node                     ] [hostname] started
[2015-12-15 13:15:12,227][WARN ][bootstrap                ] unable to install syscall filter: prctl(PR_GET_NO_NEW_PRIVS): Invalid argument
[2015-12-15 13:15:12,723][INFO ][node                     ] [hostname] version[2.1.0], pid[2769], build[72cd1f1/2015-11-18T22:40:03Z]
[2015-12-15 13:15:12,723][INFO ][node                     ] [hostname] initializing ...
[2015-12-15 13:15:12,874][INFO ][plugins                  ] [hostname] loaded [], sites []
[2015-12-15 13:15:12,907][INFO ][env                      ] [hostname] using [1] data paths, mounts [[/opt (/dev/mapper/vg00-opt)]], net usable_space [27.8gb], net total_space [27.9gb], spins? [possibly], types [xfs]
[2015-12-15 13:15:16,249][INFO ][node                     ] [hostname] initialized
[2015-12-15 13:15:16,261][INFO ][node                     ] [hostname] starting ...
[2015-12-15 13:15:16,547][INFO ][transport                ] [hostname] publish_address {<IP_ADDRESS>:9301}, bound_addresses {<IP_ADDRESS>:9301}
[2015-12-15 13:15:16,579][INFO ][discovery                ] [hostname] mtis_es/dQsdE5oBQqKePAWaSgCQow
[2015-12-15 13:15:19,659][INFO ][cluster.service          ] [hostname] new_master {hostname}{dQsdE5oBQqKePAWaSgCQow}{<IP_ADDRESS>}{<IP_ADDRESS>:9301}, added {{hostname}{s3eQsVPOTviBiqM5srFhrw}{<IP_ADDRESS>}{<IP_ADDRESS>:9300},}, reason: zen-disco-join(elected_as_master, [1] joins received)
[2015-12-15 13:15:19,733][INFO ][cluster.service          ] [hostname] detected_master {hostname}{dQsdE5oBQqKePAWaSgCQow}{<IP_ADDRESS>}{<IP_ADDRESS>:9301}, added {{hostname}{dQsdE5oBQqKePAWaSgCQow}{<IP_ADDRESS>}{<IP_ADDRESS>:9301},}, reason: zen-disco-receive(from master [{hostname}{dQsdE5oBQqKePAWaSgCQow}{<IP_ADDRESS>}{<IP_ADDRESS>:9301}])
[2015-12-15 13:15:19,751][INFO ][gateway                  ] [hostname] delaying initial state recovery for [1h]. expecting [3] nodes, but only have [2]
[2015-12-15 13:15:19,793][INFO ][http                     ] [hostname] publish_address {<IP_ADDRESS>:9201}, bound_addresses {<IP_ADDRESS>:9201}
[2015-12-15 13:15:19,794][INFO ][node                     ] [hostname] started
[2015-12-15 13:16:56,416][INFO ][node                     ] [hostname] stopping ...
[2015-12-15 13:16:56,425][INFO ][discovery.zen            ] [hostname] master_left [{hostname}{dQsdE5oBQqKePAWaSgCQow}{<IP_ADDRESS>}{<IP_ADDRESS>:9301}], reason [shut_down]
[2015-12-15 13:16:56,426][WARN ][discovery.zen            ] [hostname] master left (reason = shut_down), current nodes: {{hostname}{s3eQsVPOTviBiqM5srFhrw}{<IP_ADDRESS>}{<IP_ADDRESS>:9300},}
[2015-12-15 13:16:56,427][INFO ][cluster.service          ] [hostname] removed {{hostname}{dQsdE5oBQqKePAWaSgCQow}{<IP_ADDRESS>}{<IP_ADDRESS>:9301},}, reason: zen-disco-master_failed ({hostname}{dQsdE5oBQqKePAWaSgCQow}{<IP_ADDRESS>}{<IP_ADDRESS>:9301})
[2015-12-15 13:16:56,446][INFO ][node                     ] [hostname] stopped
[2015-12-15 13:16:56,446][INFO ][node                     ] [hostname] closing ...
[2015-12-15 13:16:56,462][INFO ][node                     ] [hostname] closed

cat /etc/elasticsearch/mtis_es/elasticsearch.yml
### MANAGED BY PUPPET ###
---
cluster:
  name: mtis_es
discovery:
  zen:
    minimum_master_nodes: 2
    ping:
      multicast:
        enabled: false
      unicast:
        hosts:
             - <IP_ADDRESS>:9300
             - <IP_ADDRESS>:9300
             - <IP_ADDRESS>:9300
gateway:
  expected_nodes: 3
  recover_after_nodes: 2
  recover_after_time: 60m
network:
  host: _non_loopback_
node:
  name: hostname
path:
  data: /opt/elasticsearch-data/mtis_es

cat /etc/elasticsearch/mtis_es/logging.yml
# This file is managed by Puppet, do not edit manually, your changes *will* be overwritten!
#
# Please see the source file for context and more information:
#
# https://github.com/elasticsearch/elasticsearch/blob/master/config/logging.yml
#

es.logger.level: INFO
rootLogger: INFO, console, file

# ----- Configuration set by Puppet ---------------------------------------------

logger.action: DEBUG

logger.com.amazonaws: WARN

logger.index.indexing.slowlog: TRACE, index_indexing_slow_log_file

logger.index.search.slowlog: TRACE, index_search_slow_log_file

# -------------------------------------------------------------------------------

additivity:
  index.search.slowlog: false
  index.indexing.slowlog: false

appender:
  console:
    type: console
    layout:
      type: consolePattern
      conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

  file:
    type: dailyRollingFile
    file: ${path.logs}/${cluster.name}.log
    datePattern: "'.'yyyy-MM-dd"
    layout:
      type: pattern
      conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

  index_search_slow_log_file:
    type: dailyRollingFile
    file: ${path.logs}/${cluster.name}_index_search_slowlog.log
    datePattern: "'.'yyyy-MM-dd"
    layout:
      type: pattern
      conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

  index_indexing_slow_log_file:
    type: dailyRollingFile
    file: ${path.logs}/${cluster.name}_index_indexing_slowlog.log
    datePattern: "'.'yyyy-MM-dd"
    layout:
      type: pattern
      conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

Hi,
I test the module with debian 7 and 8 and haven't seen any of these issues there.
So its a bit weird you are running into this issue.
I'll ask internally and see what we can come up with.

Can you check which kernel version you have when you get this error?
Thanks!

Hi electrical,
thank you for your help!
After another hour of poking around I found out what went wrong:
start-stop-daemon is called with the "-b" option in the init script. This prevents errors of the application to reach the user.
Upon running the start-stop-deamon call without that parameter, it started to complain that my ES_HEAP_SIZE value is invalid. It needs to be an integer, not a float.
Fixing this led to the cluster starting as expected. It no longer complained about prctl call.
What might be changed so other users don't run into the same problems:
-Remove the "-b" option of the start-stop-deamon call. It is not necessary as ES is normally starting silently and otherwise returns the debug information to the user (at least when I tried it it worked fine).
-(You could also validate if ES_HEAP_SIZE is an integer but that would just cover one of the many ways to use wrong parameters)
-(I got the idea of the ES_HEAP_SIZE to be an float from this guide: https://www.elastic.co/guide/en/elasticsearch/guide/current/heap-sizing.html. It would be nice if every float there could be rounded to int)
In case that is still relevant to you, this is the kernel:
3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6~bpo70+1 (2015-11-11) x86_64 GNU/Linux
Thank you!

Thank you very much for your reply and the investigation you did!
I'll pass this on internally to our ES team and see if we can improve the user experience.


merge from arlac77/npm-package-template-esm-only

.travis.yml

chore(travis): (jobs.include)
chore(travis): add 13.2.0 remove 13.1.0 (jobs.include.node_js)
chore(travis): (script)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


new Class() will not construct if the code is in template (eg. @click="() => { new MyClass() })

Describe the bug
I'm writing this code:
<Button label="增加事件" severity="success" @click="() => {
  editingEvent = new GameEvent();
  validateCron(editingEvent.startCron);
  addingEvent = true;
  eventDialogVisible = true;
}" />

After vite build, this code is transformed into
label: "增加事件",
severity: "success",
onClick: x[24] || (x[24] = ()=>{
    k.value = new F(xd)(),
    We(k.value.startCron),
    P.value = !0,
    h.value = !0
}

Where F(xd) is:
function F(e) {
    return kt(e) ? e.value : e
}

function kt(e) {
    return !!(e && e.__v_isRef === !0)
}

Which seems telling if it is a "ref", and the code throw:
TypeError: Class constructor xd cannot be invoked without 'new'
    at X.onClick.x.<computed>.x.<computed> (index-fc7beea5.js:1143:29535)
    at mr (index-fc7beea5.js:1:13064)
    at en (index-fc7beea5.js:1:13143)
    at HTMLButtonElement.n (index-fc7beea5.js:1:57387)

I assume that it is because new F(xd)() is not equal to new xd()?
This seems the same problem:
https://stackoverflow.com/questions/74069642/class-constructor-cannot-be-invoked-without-new-instantiating-own-class-i
Reproduction
The GameEvent has a custom constructor, and it is declared in electron/core/game.ts
export class GameEvent {
    id: string;

    enabled: boolean;
    random: boolean;

    name: string = null;
    content: string = null;
    startCron: string = "* */1 * * *";
    duration: number = null;

    createsAt: Date = null;

    constructor(init?: Partial<GameEvent>) {
        Object.assign(this, init);
        this.id ??= uuidv4()
    }
}

The Vue page is declared in src/components/Editor.vue
import Button from "primevue/button";
import { GameChoice, GameEvent, GameUserBill } from "../../electron/core/game";

<template>
  <Button label="增加事件" severity="success" @click="() => {
    editingEvent = new GameEvent();
    validateCron(editingEvent.startCron);
    addingEvent = true;
    eventDialogVisible = true;
  }" />
</template>

Steps to reproduce
I use Vue in electron, but this problem should apply to all because it is generated by vite-build
System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (32) x64 13th Gen Intel(R) Core(TM) i9-13900K
    Memory: 93.70 GB / 127.71 GB
  Binaries:
    Node: 16.18.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1992.0), Chromium (115.0.1901.188)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @vitejs/plugin-vue: ^4.2.1 => 4.2.3
    vite: ^4.3.5 => 4.3.9

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

This is a bug in Vue: https://github.com/vuejs/core/issues/6483

Thanks. Hard to find it out.


Unable to Commit Block on Testnet

Subject of the issue
Just upgraded to Indexer v2.7.1 and Algorand v3.0.1 on my mainnet, testnet, and betanet nodes. Having trouble with my testnet indexer. Everytime I try to turn it on, I run into this issue:
{"level":"info","msg":"serving on :8980","time":"2021-09-30T00:25:50Z"}
{"level":"info","msg":"Running 0 migrations.","time":"2021-09-30T00:25:50Z"}
{"level":"info","msg":"Setting status: Migrations Complete","time":"2021-09-30T00:25:50Z"}
{"level":"info","msg":"Migration finished successfully.","time":"2021-09-30T00:25:50Z"}
⇨ http server started on [::]:8980
{"level":"info","msg":"Initializing block import handler.","time":"2021-09-30T00:25:50Z"}
{"level":"info","msg":"Starting block importer.","time":"2021-09-30T00:25:50Z"}
{"level":"info","msg":"adding block 16962372","time":"2021-09-30T00:25:50Z"}
{"error":"AddBlock() eval err: transaction TSGJV33ECSNLF6TRHUI2X26B6ZQVHMZYQFHAEZ5BB6NIMPBIVFOA: logic eval error: - would result negative","level":"error","msg":"adding block 16962372 to database failed","time":"2021-09-30T00:25:50Z"}

No idea why it's unable to commit this transaction on testnet while the indexer is working flawlessly on Mainnet/Betanet. Not sure if this is a bug or something on my end.
Your environment
12884901889
3.0.1.stable [rel/stable] (commit #b619b940)
go-algorand is licensed with AGPLv3.0
source code available at https://github.com/algorand/go-algorand

Running on Debian 10 ARM Architecture

Hi, we have the same issue. Just upgraded and having this on testnet:
Sep 30 03:15:42 algorand-1 systemd[1]: Started Algorand Indexer daemon.
Sep 30 03:15:42 algorand-1 algorand-indexer[27645]: Using configuration file: /var/lib/algorand/indexer.yml
Sep 30 03:15:42 algorand-1 algorand-indexer[27645]: serving on xxx:8980
Sep 30 03:15:42 algorand-1 algorand-indexer[27645]: {"level":"info","msg":"serving on xxx:8980","time":"2021-09-30T03:15:42Z"}
Sep 30 03:15:42 algorand-1 algorand-indexer[27645]: {"level":"info","msg":"Running 0 migrations.","time":"2021-09-30T03:15:42Z"}
Sep 30 03:15:42 algorand-1 algorand-indexer[27645]: {"level":"info","msg":"Setting status: Migrations Complete","time":"2021-09-30T03:15:42Z"}
Sep 30 03:15:42 algorand-1 algorand-indexer[27645]: {"level":"info","msg":"Migration finished successfully.","time":"2021-09-30T03:15:42Z"}
Sep 30 03:15:42 algorand-1 algorand-indexer[27645]: ⇨ http server started on xxx:8980
Sep 30 03:15:42 algorand-1 algorand-indexer[27645]: {"level":"info","msg":"Initializing block import handler.","time":"2021-09-30T03:15:42Z"}
Sep 30 03:15:42 algorand-1 algorand-indexer[27645]: {"level":"info","msg":"Starting block importer.","time":"2021-09-30T03:15:42Z"}
Sep 30 03:15:42 algorand-1 algorand-indexer[27645]: {"level":"info","msg":"adding block 16964981","time":"2021-09-30T03:15:42Z"}
Sep 30 03:15:42 algorand-1 algorand-indexer[27645]: {"error":"AddBlock() eval err: transaction S7I3F67VVBF6CAJR2FK3XWPFWZ7EPLZBKYEV63K2QH3WCHOQZVLQ: logic eval error: - would result negative","level":"error","msg":"adding block 16964981 to database failed","time":"2021-09-30T03:15:42Z"}
Sep 30 03:15:42 algorand-1 systemd[1]: algorand-indexer.service: Main process exited, code=exited, status=1/FAILURE
Sep 30 03:15:42 algorand-1 systemd[1]: algorand-indexer.service: Failed with result 'exit-code'.

Downgrading back down to 2.6.2 resolves this. Definitely an issue with 2.7.1

This is resolved in 2.8.0, thank you for the report.


Add traceback information when exception on breakdown

Fix #305
Description of the change
This PR introduces a simple change to include logging information (traceback) when the breakdown connection is created.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

1 of 3 (33.33%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.003%) to 52.567%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sdx_controller/handlers/connection_handler.py
1
3
33.33%

Files with Coverage Reduction
New Missed Lines
%

sdx_controller/handlers/connection_handler.py
1
60.67%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.003%

Covered Lines:
770

Relevant Lines:
1488

💛  - Coveralls


Author field is mandatory in publish, but is not in edit asset

Describe the bug
The Author field is mandatory during the publish flow, but it's not during edit. I think they both should be mandatory.
To Reproduce
Steps to reproduce the behavior:

Go to Asset
Click on Edit
Clear "Author" field
Save

Expected behavior
The submit button in edit should stays disabled is the author field is not valued.
Screenshots
Publish:

Edit:

this is a feature, see https://github.com/oceanprotocol/market/pull/763#issuecomment-891623094

It is a bit odd that it's required in one place but not the other, maybe it doesn't need to be mandatory in the publish form?


Recent Drive Letter change from D to C needs to be reflected into the doc.

Hi Team,
In our understanding, recently app service d:\home drive letter is changing to c:\home.
It seems not officially mentioned in the azure-docs, but some external blogs explain it is due to internal architecture change (from Cloud Service base to VMSS base)
If you create App Service with New Resource Group and P1V3 SKU App Service Plan, you may see drive letter is set to "C". (Means this app service is on the VMSS based scale unit)

But currently this change is not officially mentioned in the azure-docs and all docs are written as "d:\home".
This is very confusing to user so kindly update doc including below points.
・Current web app with D:\home will also be impacted? (in the future it will be changed to C:\home?) or only newly created webapp will be impacted?
・To avoid the future impact of this change (suppose if user specify "d:\home" explicitly and it can be changed to "c:\home", they will be impacted.) I think using %HOME% environment variable would be better but it seems not mentioned.
Thank you very much!

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

ID: 0e6f6c24-c956-df49-ae5f-739312be4fed
Version Independent ID: aba60038-0195-1b85-6a24-8994b421b5d2
Content: Operating system functionality - Azure App Service
Content Source: articles/app-service/operating-system-functionality.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

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

@yutaro113 actually it's already been reflected, it's just that the drive letter is no longer spelled out, but using %SystemDrive% instead. It's much better for customers to use that instead of hardcoding drive letter in their implementation. #please-close

@cephalin thank you very much for the confirmation!
Ah yes, English version seems to have already been updated.!I've just confirmed Japanese version and there it's still mentioned as "D:¥home". Will wait for this update to be reflected to Japanese version as well..! Sorry.
1 last question, for the webapps currently see drive letter as "D", will it be changed to "C" in the future?
or only newly created webapps can have drive letter as "C"?


Unable to display image layers on mobile devices

Default Earth Display in Black

Zoom in to approximately level 3 or higher before displaying the image layer

code link
QR code

Cesium: 1.105.1
Android: 10
Phone: Xiaomi MIX 2S, MIUI 12.5.1
Browser: Quark <IP_ADDRESS>

Thanks for the report @webdq.

Browser: Quark <IP_ADDRESS>

Are you able to reproduce the error in any other browser?

I'm closing this issue due to inactivity. If you believe this is still an issue, please feel free to re-open. Thanks!

Thanks for the report @webdq.

Browser: Quark <IP_ADDRESS>

Are you able to reproduce the error in any other browser?

The following software also has this issue
Edge 113.0.1774.38
Firefox Browser 113.2.0
Chrome 114.0.5735.53

I have the same issue.  Basemap works well on desktop and on various mobile phones. But just on my ASUS zenphone (support webgl2), it shows a blank earth at initial low zoom level. After zoom in to certain level, it can show correct basemap tiles. But when I zoom-out again, the globe goes blank.
Enable USB debugging cannot find anything weird in devtools, as it works well in desktop.
At an earlier development it ever worked on my phone. But after that, most of the time I tested my codes on desktop, and cannot make sure which version it cannot work then.
I had tried some parameters such as globe.maximumScreenSpaceError or tileCacheSize, unluckily no help. I still cannot find its possible cause. I know these descriptions cannot help to solve this problem, but maybe someone has suggestions/comments to debug this.

I'm closing this issue due to inactivity. If you believe this is still an issue, please feel free to re-open. Thanks!

Thanks @webdq and @cywhale! I've reopened the issue.
If at all possible, it would be helpful if you could determine the version number where this behavior started happening.

@ggetz Now I can confirm the changes come from  v1.92 (everything ok) to v1.93 (go wrong, become blank globe at initial zoom, and after zoom in to certain level, it can show correct basemap tiles). I also test v1.87.1, v1.91, both ok. After v1.93, 1.94, 1.95, 1.99, 1.100, and to current release, all shows blank globe on my phone (ASUS X001D Android 8.1, support webgl2), and not work on other phone (Android, much newer version, Samsung A53) . But all these versions work well on desktop, and work well on other phones.

Thanks @cywhale! That helps! This is likely due to shader changes that went in as part of https://github.com/CesiumGS/cesium/pull/10063. The next step would be to identify what part of that is causing different results on these android devices.

Thanks @cywhale! That helps! This is likely due to shader changes that went in as part of #10063. The next step would be to identify what part of that is causing different results on these android devices.

@ggetz then I found this issue related to #10442 and set scene.globe.showGroundAtmosphere=false can make the globe correctly shown on my phone. It's a temporary solution.

Also reported in https://github.com/CesiumGS/cesium/issues/11571.


Can't perform filtered searches with null value

For example the query in the docs that compares attributes against null to determine if they are set or not:

The type definition for FilterValue explicitly excludes null so this can't be expressed without breaking type safety. Based on the docs I assume this call would actually work against the turbopuffer backend?
export type FilterValue = Exclude<AttributeType, null>; // <--
export type FilterCondition = [string, FilterOperator, FilterValue];
export type Filters = [FilterConnective, Filters[]] | FilterCondition;

Defer to you all on the right approach here, or if this is working as intended!

@egoldschmidt https://github.com/turbopuffer/turbopuffer-typescript/pull/30 fixing

Released as 0.5.11, thanks Evan!


Impossible Log in.

Hi,
I've downloaded and installed Bonobo.Git.Server version 5.1.1 successfully, but, when I try to log in seems that the Sqlite.Interop.dll loading process have an error. The log file is attached and begin with this line:
Native library pre-loader is trying to load native SQLite library "C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll"...
My system is Windows 7 x64 with IIS 7.5.
Bonobo.Git.Server.Errors.txt

What have you configured as authentication provider and membership provider? What exactly happens when you try to log in and with which credentials?
If it's a new installation can you try this version and tell us if the error is still there? https://ci.appveyor.com/api/buildjobs/5p9al2qyngirskto/artifacts/bonobo-git-server-2710074-78c669d5fdd398f502673fb32bb16d111ebdd743.zip

Hi RedX2501,
My authentication provider is this:

and membership provider:

When the web browser access to "http://localhost:8080/Bonobo.Git.Server/Home/LogOn" and write username admin and password admin the browser doesn't respond. Without any 500 Error or 404 Error, nothing, just a white page.
I tried to figure out what is going on and I find the error in the log file attached to my first commentary. I think that when Bonobo Git Server try to access to the database, the SqlClient throw an exception because it can't reach the database.
Meanwhile I'll test the @RedX2501 's link.

Ok i think the version I posted won't help.
I guess it is having trouble finding your sqldb. What settings did you put for connecting to your sql server?

@cerberoades Could you show us the ConnectionStrings section of your web.config (remove any passwords if you've put them in there).

@RedX2501 here is the ConnectionStrings section in my web.config file.

As you can see, the provider SQLClient is disable. This configuration come from the original web.config file in the Bonobo Git Server 5.1.1. I don't made any change.

@cerberoades You need to edit your comment here and mark the section you've posted at code (use the <> button.

The posted configuration does not agree with the trace you posted above. The trace is complaining about not being able to connect to the SQLServer while that configration says to use SQLite....
Are you sure you have posted the correct things?

Yes, I'm totally sure. I just download the Bonobo Git Server, I made the configuration, when I use the initial credentials username:admin password:admin the log file contains this line:
Native library pre-loader is trying to load native SQLite library "C:\inetpub\wwwroot\Bonobo.Git.Server\bin\x64\SQLite.Interop.dll"...
and a few seconds after the log file show me this
Bonobo.Git.Server.Errors.txt
file.
nothing happens.Now, I'll download the source code to fix the problem.

Don't worry about the  "Native library pre-loader is trying to load native SQLite library ..." bit - it's not an error, it's just something that the Sqlite interface writes to the trace stream and which gets swept up into the log.
If you do download the source, then you may well find that either it works OK, or that at least it has more information in the log file which could help us help you.
It does appear that something is going wrong in the way the app is configured or starts up, because a call to check role membership is not routing into Bonobo's own code, it's going off into framework code that mistakenly tries to call into SqlServer.  This is because 'User' in WebAuthorizeAttribute.OnAuthorization is not the type of object we'd expect.
A couple of questions about the machine running Bonobo:

What version of Windows/IIS and .NET framework is on the machine?
Does this machine run any other IIS applications?
Could you possibly already have a cookie set for the domain which Bonobo is running on?  (Can you try clearing cookies in your browser?)

Hi @willdean , here the answer to you questions:
Q: What version of Windows/IIS and .NET framework is on the machine?
A: Microsoft Windows 7 Professional SP 1 x64; IIS 7.5; .NET Framework 4.
Q: Does this machine run any other IIS applications?
A: No, it doesn't. I've install IIS only for Bonobo Git Server.
Q:Could you possibly already have a cookie set for the domain which Bonobo is running on? (Can you try clearing cookies in your browser?)
A: This isn't a cookie problem. I've tried access to the git web server from 3 different computers over the network and it doesn't work:

If you do have the new version, please dump the contents of
/home/diagnostics here please.

@RedX2501  I have the version 5.1.1 and I don't see any /home/diagnostics folder.

@cerberoades Can you try the version @cerberoades linked to in the second comment on this issue?

The problem continue. The same error in the log file.

@cerberoades With the new version, can you go to the page http:<your server>/home/diagnostics and send us the contents of that page.

GITHUB.txt

@cerberoades Thanks for that.
Can you please look in the web.config for the bit which mentions runAllManagedModulesForAllRequests and change it to look like this:
   <modules runAllManagedModulesForAllRequests="true">
      <remove name="RoleManager"/>
    </modules>

Please let us know if this makes a difference.
I am following this Stackoverflow post, which seems to describe your situation:
http://stackoverflow.com/questions/10663555/remove-asp-net-membership-and-roles-provider

@willdean , the modification in the web.config work perfectly. Thank you so much. This was my only modification inside the web.config file:
<modules runAllManagedModulesForAllRequests="true">       <remove name="RoleManager"/>     </modules>
Maybe this will be a help to someone.
Environment: IIS 7.5 Windows 7 x64
My web.config:
web.config.txt

@cerberoades Excellent - thanks to Stackoverflow - and thanks for letting us know - I'll commit that as a mod to the standard code, because it's harmless to everyone else.


Adjust iPad floating keyboard frame change event

fix #336
AS-IS
In current, the modal behaves strange when iPad floating keyboard is shown.
It seems to its functionallity to avoiding keyboard by keyboard coordinate(frame) change.
This is related to facebook/react-native#29473 .
Result
https://user-images.githubusercontent.com/33388801/105291886-14930e00-5bfc-11eb-9729-1d2cf434b480.mov

@maxs15 Please review my PR :)

@maxs15 Please review my PR :)

Please Review Please


address #297

#297

Will trigger a new MAJOR version as hdf switched to hdf5 (MAJOR: In-use parent attributes are deleted from dictionary or modified, or in-use child attributes are modified in a non-backwards compatible way (e.g. Neurofibromatosis 1 changed to Neurofibromatosis type 1).)


SOLR-17153 Resolve IndexOutOfBoundsException

https://issues.apache.org/jira/browse/SOLR-17153

Description
Resolve an IndexOutOfBoundsException in HttpSolrCall.resolveDocCollection(), at line:
String collectionName = collectionsList.get(0);
Solution
Check if collectionsList is empty, in that case return early.
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:

[X] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[ ] I have created a Jira issue and added the issue ID to my pull request title.
[X] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[X] I have developed this patch against the main branch.
[X] I have run ./gradlew check.
[] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

If Eric found a bug then it seems we need a test for this bug

I had the same thought. But I now see the line of code that caused it is no longer being used. The call resolveDocCollection() is now being invoked within getCoreByCollection() and its signature has also changed.
What would be the test case of the new test? We would need one that doesnt create a collection or noneof the usual ones. Eric tried to start solr and launch the admin page.....

I think a test of a Solr with no collections created should demonstrate the bug.  Please let me know if I can help.  I'd love to see this fixed so I can then merge some other code into main.

I think a test of a Solr with no collections created should demonstrate the bug. Please let me know if I can help. I'd love to see this fixed so I can then merge some other code into main.

Hi Eric,
I started working on a Java test which didnt really work as expected to address this use case (launch the solr admin console ). I am now looking to add a test case in a ".bats" script under solr/packaging. Let me know if this sounds appropriate.

I think a test of a Solr with no collections created should demonstrate the bug. Please let me know if I can help. I'd love to see this fixed so I can then merge some other code into main.

Hi @epugh , @dsmiley ,
I have updated the PR with a .bats test. Please let me know your feedback.

Looks good; I'd like to merge.  If you disagree @epugh , please pipe in today.
Minor nitpick:  there's a comment that doesn't flow (newline) nicely but whatever.

I just manually gave this PR a run through, and it looks great.   Please merge!


Update messages.md

I'll get to this eventually, I have a number of branches locally and I don't feel like rebasing them right now.


ollama 0.4.7 results in: 127

What is the issue?
On a freshly installed RHEL8 host, ollama 4.7.0 does not start. It does when I install 4.6.0. Only changes I made to /etc/systemd/system/ollama.service is setting OLLAMA_HOST to <IP_ADDRESS>
>   "model": "phi3",
>   "prompt":"Why is the sky blue?"
>  }'
{"error":"llama runner process has terminated: exit status 127"}[root@host ~]# ollama run phi3
Error: llama runner process has terminated: exit status 127
[root@host ~]# curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.4.6 sh
>>> Installing ollama to /usr/local
>>> Downloading Linux amd64 bundle
######################################################################## 100.0%
>>> Adding ollama user to render group...
>>> Adding ollama user to video group...
>>> Adding current user to ollama group...
>>> Creating ollama systemd service...
>>> Enabling and starting ollama service...
>>> NVIDIA GPU installed.
[root@host ~]# curl -X POST http://localhost:11434/api/generate -d '{
  "model": "phi3",
  "prompt":"Why is the sky blue?"
 }'
{"model":"phi3","created_at":"2024-12-02T08:51:31.215490419Z","response":"The","done":false}
{"model":"phi3","created_at":"2024-12-02T08:51:31.243051448Z","response":" sky","done":false}
{"model":"phi3","created_at":"2024-12-02T08:51:31.270859148Z","response":" appears","done":false}
{"model":"phi3","created_at":"2024-12-02T08:51:31.299653528Z","response":" pre","done":false}
{"model":"phi3","created_at":"2024-12-02T08:51:31.329058248Z","response":"domin","done":false}
{"model":"phi3","created_at":"2024-12-02T08:51:31.359087445Z","response":"antly","done":false}
{"model":"phi3","created_at":"2024-12-02T08:51:31.389054145Z","response":" blue","done":false}
{"model":"phi3","created_at":"2024-12-02T08:51:31.418885377Z","response":" to","done":false}
{"model":"phi3","created_at":"2024-12-02T08:51:31.448781861Z","response":" the","done":false}
...
...

My GPU is officially not supported. So might be because of that. If you feel like closing this won't fix because it's highly likely because of the Tesla M6, feel free to do so.
[root@host ~]# lshw -class video
  *-display
       description: VGA compatible controller
       product: bochs-drmdrmfb
       physical id: 1
       bus info: pci@0000:00:01.0
       logical name: /dev/fb0
       version: 02
       width: 32 bits
       clock: 33MHz
       capabilities: vga_controller bus_master rom fb
       configuration: depth=32 driver=bochs-drm latency=0 resolution=1280,800
       resources: irq:0 memory:80000000-80ffffff memory:8304b000-8304bfff memory:c0000-dffff
  *-display
       description: VGA compatible controller
       product: GM204GL [Tesla M6]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: /dev/fb0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list fb
       configuration: depth=32 driver=nvidia latency=0 mode=1280x800 visual=truecolor xres=1280 yres=800
       resources: iomemory:38000-37fff iomemory:38000-37fff irq:44 memory:81000000-81ffffff memory:380000000000-38000fffffff memory:380010000000-380011ffffff ioport:7000(size=128)
[root@host ~]#

This is also a VM on a proxmox host running on a dual Intel e5-2667v3.
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
0.4.7

Server logs would aid in debugging.


Decouple HookableBackend trait

In common.rs, we have a HookableBackend trait that is implemented for all our current supported backends.
In the interest of extensibility, it would probably be easier to remove the trait and find a different solution. The objective is that implementors of external hooks can rely on a simpler contract.

Closed by #100


Support for non-http-remoting generated 503/504/429/etc

The envoy proxy does not currently support specifying the response body that it returns in it's errors (although there is an FR tracking it: https://github.com/envoyproxy/envoy/issues/1178).
In the meantime, it probably makes sense to not just turn 503/504/etc errors that don't conform to SerializableError into RuntimeExceptions. I.e. currently you get this:
java.lang.RuntimeException: Error 504. Body:
upstream request timeout

	at com.palantir.remoting3.errors.SerializableErrorToExceptionConverter.getException(SerializableErrorToExceptionConverter.java:69)
	at com.palantir.remoting3.okhttp.SerializableErrorInterceptor.intercept(SerializableErrorInterceptor.java:43)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
	at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185)

@uschi2000

Agree. Should be must simpler to do this now, see https://github.com/palantir/http-remoting/blob/develop/okhttp-clients/src/main/java/com/palantir/remoting3/okhttp/RemotingOkHttpCall.java#L162

What will 503s be turned into if not RuntimeExceptions?

Whatever 503's are turned into now? Looking at the code in the stacktrace it appears to be a SerializableError.

@gregakinman @cbrockington do you want this to stay open as part of the mesh work you guys are doing?

Leave it closed for now. I can reopen if it is a problem.  Thanks.


[RFC] Enabling Cython-based PDB parser backend for speed improvements

Describe the workflow you want to enable
Currently, the pure-python of PDB parsing in BioPandas is quite slow - certainly too slow for highthroughput structural bioinformatics or ML.
Describe your proposed solution
I have written a Cython-based implementation (CPDB) which is considerably faster and would like to set this as the default parsing backend. As it stands, I believe this to be one of the fastest (if not the fastest) available PDB parser for Python.

Performance comparison
However, given BioPandas' widespread usage, I am unclear if distributing this with a Cython component will lead to dependency problems for users.
Describe alternatives you've considered, if relevant
Speeding up the passage of time
Additional context

@a-r-j This is super cool.
Btw. perhaps we don't need to worry about it extra dependencies here because NumPy already uses Cython (https://github.com/numpy/numpy/blob/main/build_requirements.txt), and pandas is build on NumPy, and BioPandas is build on pandas :P

That's a good point! I was mostly concerned about the potential for build problems (mostly as cpdb is my first time working with Cython). I'll make a PR tonight and push a dev release so we can collect some feedback.

One difference in the comparison is that your Cython implementation only reads ATOM, HETATM, and ENDMDL lines while biopandas reads all. Would be interesting to compare the performance if all lines are read (no need to parse like biopandas?).

@Ruibin-Liu Hmm, that's a really great point. I could add a read_header arg to cpdb. In any case, I wouldn't have thought it would make a huge difference to speed; in terms of line count PDB files are most coordinates.


Feat/101 logout

Closes #101
Changes made by this Pull Request

Add logout functionality

Definition of Done

[x] Tests are written and run successful
[x] Code is documented
[ ] User Manual is updated
[x] All requirements of the user story are met

Codecov Report

Merging #118 (b01d2cf) into dev (0a6e0c6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #118   +/-   ##
=======================================
  Coverage   95.54%   95.54%
=======================================
  Files          18       18
  Lines         359      359
=======================================
  Hits          343      343
  Misses         16       16

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 0a6e0c6...b01d2cf. Read the comment docs.


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


-metric-blocklist doesn't work with fastly_rt_datacenter_info

The -metric-blocklist can't filter out the metric fastly_rt_datacenter_info.
Here is how to reproduce the issue with the latest stable version:
docker run \
  --env FASTLY_API_TOKEN="<your token>" \
  --interactive \
  --publish="<IP_ADDRESS>:8080:8080" \
  --rm \
  --tty \
  ghcr.io/fastly/fastly-exporter:v7.6.1 \
  -metric-blocklist='^fastly_rt_datacenter_info$'

curl -s http://<IP_ADDRESS>:8080/metrics | grep fastly_rt_datacenter_info

As you can see, the fastly_rt_datacenter_info continues to be exported, even if explicitly filtered out.

PS: Kudos for maintaining this exporter. It is really handy! 🙏🏼

The same behaviour is there also for fastly_rt_service_info and fastly_rt_last_successful_response

Ah, interesting. We definitely aren't checking the filter for the fastly_rt_service_info and fastly_rt_last_successful_response metrics: https://github.com/fastly/fastly-exporter/blob/main/pkg/prom/metrics.go#L28
The datacenter metrics are a little different (implanted with a customer collector) but it seems like we could disable the datacenter cache / collector if fastly_rt_datacenter_info was in the blocklist.

That sounds like a perfect solution for me! Thanks for looking into it 🙏🏼
It isn't a crazy issue: I am just dropping the metrics I don't need with Prometheus relabeling rules. But it is just extra work It would be nice to move to configuration flags in the exporter itself.


I added a from_cstrings method on RawInstanceExtensions to...

...ease integration with windowing api's. My current solution to integrate glfw in my project has been to create my own RawInstanceExtensions struct and transmuting it to a vulkano RawInstanceExtensions. This solution is very ugly so I added the helper function and some documentation in the code.
The function is unsafe to make it clear to the user that they need to be careful while using it. I know Vulkano is about creating a safe api but this should be unsafe since misuse could cause odd behaviour.

My change is not the cause of the checks failing so, I will conduct and investigation of why.