Outdated infoview updates can override the most recent one.

See here:
The solution should be similar to that of #77, also cancelling all requests at the beginning of every update() call so only the most recent one survives.

Attempted fix at rish987/lean.nvim@f462dda. However, it doesn't work because the returned cancellation function from vim.lsp.buf_request() seemingly does nothing. You can even try this in lsp.lua (rish987/lean.nvim@3e2e21d):,
  -- Fetch goal state information from the server.
  function lsp.plain_goal(bufnr, handler)
    -- Shift forward by 1, since in vim it's easier to reach word
    -- boundaries in normal mode.
    local params = vim.lsp.util.make_position_params()
    params.position.character = params.position.character + 1
   local id_map, cancel = vim.lsp.buf_request(bufnr, "$/lean/plainGoal", params, handler)
    cancel()
    -- This doesn't work either:
    --
    --for client_id, req_id in pairs(id_map) do
    --  vim.lsp.get_client_by_id(client_id).cancel_request(req_id)
    --end
  end

and everything still passes.
Any ideas? Could this be a neovim bug? Will try to put together an MWE tomorrow.

(^ This seems to have something to do with the cancel function sending a cancelRequest to the server, rather than just cancelling the callback, which is what I assumed it does. And it looks like the Lean servers don't do anything on cancelRequest? Investigating...)


Add window focus in number position in the taskbar

Adds a window focus switch to the specified taskbar position using hotkeys. Example jwmrc:
<Key mask="4"  key="#">at#</Key>

Sorry for taking so long to get to this, I must have missed it... Anyway, thanks for the PR!


Make main aliases public

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Related tickets
n/a

Documentation
n/a

License
MIT

What's in this PR?
Symfony 3.4+ is making services private by default, so this requires configuring the visibility explicitly.
Why?
This allows keeping $this->get('httplug.client') working without deprecation.
For now, I haven't applied this change to the different client services, but it might make sense as well.

what about non-default clients ?

the should be injected in DI. but i am not opposed to make the client services public.

well, if you consider that using DI for other clients is better, that's fine with me (I don't have a use case for that need anyway as I have only 1 client currently)

i guess if you have multiple clients configured, you would want to inject them and not pull. if there is a use case for it, i am not opposed to a pull request however.


Community care

\nssstats01\LIST_analytics\West Hub\02 - Scaled Up Work\RMarkdown\Locality Profiles\Unscheduled Care\testing output
File to check- Unscheduled_care_tocheck

Full profile available in: \nssstats01\LIST_analytics\West Hub\02 - Scaled Up Work\RMarkdown\Locality Profiles\Unscheduled Care\testing output
Angus North East

I just checked through the output and all looks good to me. Happy for you to merge @JosieSteele, but ideally someone else could have a look and leave a review/approval!

Temp fix to figure 33. Other issues will be added to issues page


Adding method to set a collection of words to dictionary

At this time we need to write this code to add a list of words:
private Dictionary createExclusionDictionary(final String fullName, final String username) {
    final DictionaryBuilder builder = new DictionaryBuilder().setDictionaryName("exclude").setExclusion(true);
    builder.addWord(username, 0);

    for(final String str: fullname.split(" ")) {
        builder.addWord(str, 0);
    }

    return builder.createDictionary();
}

With this change we can take advantage of syntax sugar:
private Dictionary createExclusionDictionary(final String fullName, final String username) {
    return new DictionaryBuilder().setDictionaryName("exclude").setExclusion(true)
        .addWord(username, 0)
        .addWords(Arrays.asList(fullName.split(" ")), 0)
        .createDictionary();
}

Thank you.

I'll close this pull request, due so long inactive time without any reply. Anyway, thanks for your time.

Reopening so I remember to look at this soon.


Add customSslCertificate and alternateDomainNames Coverage to CloudFront distribution

Will a new test be added for this PR?

Will a new test be added for this PR?

I think it'd be to change the value and re-sync the state to see if the change persists. If you think that helps we can add. Not sure if we need that kind of test for each property.

Will a new test be added for this PR?

I think it'd be to change the value and re-sync the state to see if the change persists. If you think that helps we can add. Not sure if we need that kind of test for each property.

Yes, we should have at least a smoke test for this functionality.

Will a new test be added for this PR?

I think it'd be to change the value and re-sync the state to see if the change persists. If you think that helps we can add. Not sure if we need that kind of test for each property.

Yes, we should have at least a smoke test for this functionality.

Oops. This one needs a test because it's more than just a property sync. Forgot that. I need to first import a certificate and then use it in the distribution to test it.


What is the correct way to stop BLE?

I have created a BLE server with some characteristics and the corresponding descriptors. After I have received the data I need, I want to stop the whole BLE server.
What is the correct way to do this?
Is a simple call to NimBLE::deinit() sufficient?
I always get the error message
"E NimBLEAdvertising: "Error enabling advertising; rc=30, "
What am I doing wrong, or do I have to do something else?
Thanks in advance!

NimBLE::deinit() is correct. You will need to call NimBLE::init() again later if you want to restart it. That error message can probably be ignored as it's likely called by the disconnection event trying to restart advertising. You can also get rid of it by calling `NimBLEServer::advertiseOnDisconnect(false); before deinit.

You will need to call NimBLE::init() again later if you want to restart it.

That's the way i want to have it :)

You can also get rid of it by calling NimBLEServer::advertiseOnDisconnect(false); before deinit.

Tested and it works ! Perfect!
Thank you very much!


unicode: char16_t* is compiler error, but char16_t[] is accepted

What is the issue you have?
nlohman::json{char16_t*} is a compiler error, but nlohman::josn{char16_t[]) is accepted
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
just compile as described
What is the expected behavior?
char16_t* and char16_t[] should be handled the same way.
Because both define a utf16 sequence, automatic conversion to utf8 is expected.
Same is true for u16string and u16string_view.
And what is the actual behavior instead?
char16_t* is a compile error and char16_t[] is stored as array of values.
Which compiler and operating system are you using? Is it a [supported compiler]
visual studio 2017 15.4.1
Did you use a released version of the library or the version from the develop branch?
released, 3.1.2

How is this issue related to #1298?


Parallelize the Roman Simulated Time Domain Survey notebook

There is a cell in the Roman Simulated Time Domain Survey notebook that says it will take a couple of minutes. It is a for loop. Parallelize this to make it go faster!

The NEOWISE parquet notebook revealed an issue that affects this, documented in #15. TL;DR : If we parallelize this, it will work fine on Linux (including science platforms) but won't work for Mac and Windows users out of the box -- they'll have to manually copy the function into a separate .py file first. (There are other options, but come with tradeoffs.)
@vandesai1 do you still want this parallelized? Fine with me either way, and I can do it if you want it.

We decided to leave this as-is for now. The discussion of how to structure repos (code in separate file vs in the notebook) and which notebooks live in which repo (irsa-tutorials vs fornax-demo-notebooks) will be ongoing.


[Docs]: Setup Appsmith section does not show up as suggestion on typing in install in the search bar

Is there an existing issue for this?

[X] I have searched the existing issues

Documentation Link
No response
Describe the problem
when I type in install in the search bar I cannot see the Setup Appsmih section show up in the suggestions:

Describe the improvement
Setup Appsmith section show show up as a suggestion when anyone types in install in the search bar.

Setup Appsmith shows up in the search results - though you have to drill down in search results.


Input.parse_input_event() doesn't generate Node._input calls when called from Node._input (4.0)

Godot version
4.0 Alpha 6
System information
Windows 10, Vulkan, Nvidia 1050TI
Issue description
Input.parse_input_event() doesn't generate Node._input calls when called from Node._input, unlike in 3.x. When called outside of Node._input, the calls are generated as expected.
If this is a new limitation, it should be documented in the Input.parse_input_event() -description which currently reads:
Feeds an InputEvent to the game. Can be used to artificially trigger input events from code. Also generates Node._input calls.
Steps to reproduce
extends Node

func _input(event):
	if event.is_action("ui_cancel"):
		var action : = InputEventAction.new()
		action.action = "ui_accept"
		action.pressed = event.is_pressed()
		# Works in 3.x
		Input.parse_input_event(action)
		# Works in 3.x and 4.0
		Input.call_deferred("parse_input_event", action)

	if event.is_action_pressed("ui_accept"):
		print(event)

Minimal reproduction project
No response

I was able to reproduce this issue on Windows, but was unable to reproduce this on Linux Debian Xfce X11. (Tested with Alpha 6)

Not sure what changed but this doesn't seem to be a problem in Alpha 13([59dcddc45]) anymore. I don't have a Mac to test whether this issue is/was present there but since it works on Windows (and Linux wasn't having issues) I'll close.

Not sure what changed but this doesn't seem to be a problem in Alpha 13([59dcddc45]) anymore. I don't have a Mac to test whether this issue is/was present there but since it works on Windows (and Linux wasn't having issues) I'll close.
I have the same issue
Godot v4.3.beta2 - macOS 14.5.0 - GLES3 (Compatibility) - Apple M2 Pro - Apple M2 Pro (10 Threads)

Not sure what changed but this doesn't seem to be a problem in Alpha 13([59dcddc45]) anymore. I don't have a Mac to test whether this issue is/was present there but since it works on Windows (and Linux wasn't having issues) I'll close.

I have the same issue Godot v4.3.beta2 - macOS 14.5.0 - GLES3 (Compatibility) - Apple M2 Pro - Apple M2 Pro (10 Threads)

I'm still unable to reproduce in Windows in the v4.3.beta2.official [b75f0485b].
I'll recommend you to open a new issue with the specifics of the issues you're facing.


IMPLEMENT PRIORITY QUEUE USING LINKED LIST in C-plus-plus / C++

🚀 Feature
Have you read the Contributing Guidelines on Pull Requests?
Yes !
AIM :: IMPLEMENT PRIORITY QUEUE USING LINKED LIST in C-plus-plus / C++.
Motivation
As i didn't found IMPLEMENTATION OF PRIORITY QUEUE USING LINKED LIST in C++ language , So i am willing to contribute it...
Pitch
Hi I am GSSoC'21 participant,
"I am looking to work on the implementation of Priority queue using Linked List in C++ language
I will use C++.
I will write the clean and optimized code , by keeping best case time and space complexity in mind and
with  brief commenting and algorithm.

/assign

/assign

@bishalshaw-164 you can get assigned to other people's issue if you want to work on something else please make an issue for it


__STDC_FORMAT_MACROS only defined if not already defined

This allows us to add "-D__STDC_FORMAT_MACROS" to the command line when compiling.

Perfect. Thank you!


Fix / update links

Found and fixed a bunch of links after running a link checker on the whole site.

@d45 for your review please.
For the fixed links I stuck with whatever style the file already had (full URL versus .md file), but we could update all of these to your style in a future PR if you want.
The only non link changes are:

docs/trex_examples.md - fix indent so all samples line up correctly
docs/trex_typescript.md - fix indent so that TOC appears correctly

@bcantoni  Thanks for running the link checker and making the fixes! Which link checker did you use? (wc3?)
I'd like to incorporate a check as part of our GitLab and GitHub doc releases.
I keep forgetting about the UX design guide (we inherited this from an intern and added it to the API docs).

@d45 good point - let me document here for my own recall as well:

Install python version of https://linkchecker.github.io/linkchecker/: pip install linkchecker
Run local GH Pages equivalent of docs: bundle install followed by bundle exec jekyll serve
Run linkchecker against it: linkchecker --ignore-url googleapis --ignore-url localhost --check-extern http://<IP_ADDRESS>:4000/extensions-api/

The ignore for "googleapis" is because those were causing false alarms; the links work from a browser but not from the tool. The ignore for "localhost" is to avoid interpreting our "how to run locally" instructions as a real link.

@bcantoni  - awesome! I'm sure we could incorporate this check with our GitLab docs (Embedding API v3, Hyper API, etc.).
Running it manually for GitHub Help is another option before each PR. Thanks!

@bcantoni  Looks good. Got ahead and merge with dev if you aren't waiting on other changes. I need to update ux_fonts.md to add a reference to using Workbook filtering (Brian Carver pointed this out). I'm adding a new topic for that.


return ENOSYS on all unimplemented syscalls + comment why we exit the process

Fixes for feedback on https://go-review.googlesource.com/c/go/+/479619/28

Manually merged


feat: add overview messaging

Before:

After:

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


chore: declare dependency on schema-utils using caret range

This PR contains a:

[ ] bugfix
[ ] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[x] metadata update

Motivation / Use-Case

This will allow url-loader to depend on new, compatible versions of schema-utils as they are released. The other dependencies of url-loader are declared this way. See https://github.com/webpack-contrib/url-loader/pull/136#issuecomment-412967621
Breaking Changes

n/a
Additional Info

/cc @michael-ciniawsky need patch release after merge

@evilebottnawi Do you have 2FA enable for you npm acc ? Or did it work without 2FA enabled ? If it is still required I need to set it up for my acc first 😛, so if you have the time could you please cut a release?

@michael-ciniawsky yep, enabled, ok :+1:

@evilebottnawi Thx, I will enable it as soon as aswell :)


Allow button to be reconfigured at runtime (close #18 and fix #24)

Close #18
Fix #24

Usage:
declare the button in your class:
  private:
    InterruptButton _button;
  };

In the begin method, initialise the button as usual. But note the use of setPin. Other getters are available:

setPin
setPressedState
setPinMode
setLongKeyPressMS
setAutoRepeatMS
setDoubleClickMS
setDebounceUS

  InterruptButton::setMode(Mode_Synchronous);

  _button.setPin(pin);
  _button.setLongPressInterval(8000);
  _button.bind(events::Event_KeyPress, [this]()
               { _callback(ButtonConfig.getPressAction()); });
  _button.bind(events::Event_LongKeyPress, [this]()
               { _callback(ButtonConfig.getLongPressAction()); });

if you want to "release" the button:
  _button.unbind(events::Event_KeyPress);
  _button.unbind(events::Event_LongKeyPress);
  _button.setPin(GPIO_NUM_NC);

if you want to just change the pin, the code will automatically deregister the existing interrupt handler and create a new one:
  _button.setPin(a_new_number);

The previous behaviour is kept, which is to initialise things within the first bind() call.
All that has been tested - I am using that in my project currently.

Hi Mathieu, got all your notes.  Am travelling for work atm, but will sit down in the next week or so and go through them.

Hi Mathieu, just an update, I am working on this suggested feature inclusion of yours, but I am encompassing it into a bigger update.   Have modified the main constructor so that all arguments are optional, that way you can initialise as your have done with default settings and then change only the ones you want at runtime.  You can also change the pin as requested.
Also adding a bit that lets you change the menu count at run time which requires tracking of all instances so taking a little time to implement that as well.  Tracking will help in a few areas actually
Cheers.


[issue #3767] support go function for pulsar

Master Issue: #3767
Motivation
At present, go function only supports the simplest function. Input and output only allow []byte. For details, refer to: PIP32

@merlimat @ivankelly @sijie @jerrypeng @srkukarni PTAL, thanks

@wolfstudy I changed "Fixes #xyz" to "Master Issue #xyz". otherwise when this PR is merged, the master issue will be closed.

I have question:
How are you planning to spawn a function instance from the function worker? For example, for java we spawn another process with CLI arguments:
java -cp /Users/jerrypeng/workspace/incubator-pulsar/pulsar-functions/runtime-all/target/java-instance.jar:/Users/jerrypeng/workspace/incubator-pulsar/instances/deps/* -Dpulsar.functions.java.instance.jar=/Users/jerrypeng/workspace/incubator-pulsar/pulsar-functions/runtime-all/target/java-instance.jar -Dpulsar.functions.extra.dependencies.dir=/Users/jerrypeng/workspace/incubator-pulsar/instances/deps -Dlog4j.configurationFile=java_instance_log4j2.yml -Dpulsar.function.log.dir=/Users/jerrypeng/workspace/incubator-pulsar/logs/functions/public/default/java-jerry-test -Dpulsar.function.log.file=java-jerry-test-1 -Xmx1073741824 org.apache.pulsar.functions.runtime.JavaInstanceMain --jar /tmp/pulsar_functions/public/default/java-jerry-test/1/pulsar-functions-api-examples.jar --instance_id 1 --function_id ed07d96a-ea90-4212-b9bb-440ac825f26d --function_version 1dc83fa9-5a72-4640-8b57-491bee7860e4 --function_details '{"tenant":"public","namespace":"default","name":"java-jerry-test","className":"org.apache.pulsar.functions.api.examples.ExclamationFunction","autoAck":true,"parallelism":3,"source":{"typeClassName":"java.lang.String","timeoutMs":"60000","inputSpecs":{"persistent://public/default/java-input":{"schemaType":"NONE","receiverQueueSize":{"value":100}}},"cleanupSubscription":true},"sink":{"topic":"persistent://public/default/java-output","typeClassName":"java.lang.String"},"resources":{"cpu":1.0,"ram":"1073741824","disk":"10737418240"}}' --pulsar_serviceurl pulsar://<IP_ADDRESS>:6650 --use_tls false --tls_allow_insecure false --hostname_verification_enabled false --max_buffered_tuples 1024 --port 53904 --metrics_port 53905 --state_storage_serviceurl bk://<IP_ADDRESS>:4181 --expected_healthcheck_interval 30 --secrets_provider org.apache.pulsar.functions.secretsprovider.ClearTextSecretsProvider --cluster_name standalone
Can you provide a example of what the arguments for running a GO function instance?
I don't see code in this PR for a function runtime that support running GO functions.

@jerrypeng In PIP32, we mentioned two ways to implement go functions. Currently this is the SDK way. Just like the example in examples, the user first needs to import apache/pulsar/pulsar-function-go

Different from python and java, Go is a “static-linking” language. Although it recently supports dynamic linking via plugins (see Alternatives). Most of the go developers expect to compile a pulsar library with the function he/she develope together, to produce a single executable binary.

So in the implementation of Pulsar go function, we choose a different approach than Java and Python. We offered a instance API for go function developer.

@jerrypeng based on my understanding, the approach taken here is producing an executable binary of go-instance and user function and submit the executable binary as a whole to function worker to execute. This is the approach that aws lambda is taking. In that sense, go-instance is a SDK library.  It is different from java and python.
people imports the go instance sdk, write a function and call goInstance.startFunc(functionName) to start a function in go main function. e.g.
func helloworld() {
    // user define logic.
}

func main() {
   goInstance.startFunction(helloworld)
}

There is an alternative is to use go plugins to loading function dynamically. Ideally we can support both. However most of the go developers prefer static linking as that's how go programs are written. so the approach takes the SDK approach here.
based on my understanding from the code, this PR focuses on instance implementation itself to make sure a go function is able to run in localrun mode. Once the instance is ready, support running it from function worker becomes easier.

@jerrypeng

java -cp /Users/jerrypeng/workspace/incubator-pulsar/pulsar-functions/runtime-all/target/java-instance.jar:/Users/jerrypeng/workspace/incubator-pulsar/instances/deps/* -Dpulsar.functions.java.instance.jar=/Users/jerrypeng/workspace/incubator-pulsar/pulsar-functions/runtime-all/target/java-instance.jar -Dpulsar.functions.extra.dependencies.dir=/Users/jerrypeng/workspace/incubator-pulsar/instances/deps -Dlog4j.configurationFile=java_instance_log4j2.yml -Dpulsar.function.log.dir=/Users/jerrypeng/workspace/incubator-pulsar/logs/functions/public/default/java-jerry-test -Dpulsar.function.log.file=java-jerry-test-1 -Xmx1073741824 org.apache.pulsar.functions.runtime.JavaInstanceMain --jar /tmp/pulsar_functions/public/default/java-jerry-test/1/pulsar-functions-api-examples.jar --instance_id 1 --function_id ed07d96a-ea90-4212-b9bb-440ac825f26d --function_version 1dc83fa9-5a72-4640-8b57-491bee7860e4 --function_details '{"tenant":"public","namespace":"default","name":"java-jerry-test","className":"org.apache.pulsar.functions.api.examples.ExclamationFunction","autoAck":true,"parallelism":3,"source":{"typeClassName":"java.lang.String","timeoutMs":"60000","inputSpecs":{"persistent://public/default/java-input":{"schemaType":"NONE","receiverQueueSize":{"value":100}}},"cleanupSubscription":true},"sink":{"topic":"persistent://public/default/java-output","typeClassName":"java.lang.String"},"resources":{"cpu":1.0,"ram":"1073741824","disk":"10737418240"}}' --pulsar_serviceurl pulsar://<IP_ADDRESS>:6650 --use_tls false --tls_allow_insecure false --hostname_verification_enabled false --max_buffered_tuples 1024 --port 53904 --metrics_port 53905 --state_storage_serviceurl bk://<IP_ADDRESS>:4181 --expected_healthcheck_interval 30 --secrets_provider org.apache.pulsar.functions.secretsprovider.ClearTextSecretsProvider --cluster_name standalone

In the go function, the above parameters will be provided in the form of a config file.
specific examples are as follows:
first configure the list of parameters mentioned above in conf.yml.
pulsarServiceURL: "pulsar://localhost:6650"
intopics: [topic-1, topic-2]
instanceID: 101
funcID: "pulsar-function"
funcVersion: "1.0.0"
name: "go-function"
maxBufTuples: 10
port: 8091
clusterName: "pulsar-function-go"
isRegexPattern: false
receiverQueueVal: 10
inputSpecs: topic-01
autoAck: true
sinkSpec: topic-02
killAfterIdleMs: 50000

then, users can write the code they need, eg:
package main

import (
	"context"

	"github.com/apache/pulsar/pulsar-function-go/pf"
)

func HandleResponse(ctx context.Context, in []byte) ([]byte, error) {
	res := append(in, 110)
	return res, nil
}

func main() {
	pf.Start(HandleResponse)
}

To facilitate testing, we can write a producer program and enter data into the input topics. eg:
package main

import (
	"context"
	"fmt"
	"log"

	"github.com/apache/pulsar/pulsar-client-go/pulsar"
)

func main() {
	client, err := pulsar.NewClient(pulsar.ClientOptions{
		URL: "pulsar://localhost:6650",
	})

	if err != nil {
		log.Fatal(err)
		return
	}

	defer client.Close()

	producer, err := client.CreateProducer(pulsar.ProducerOptions{
		Topic: "topic-01",
	})

	defer producer.Close()

	ctx := context.Background()

	for i := 0; i < 10; i++ {
		if err := producer.Send(ctx, pulsar.ProducerMessage{
			Payload: []byte(fmt.Sprintf("hello-%d", i)),
		}); err != nil {
			log.Fatal(err)
		}
	}
}

Now, the path to conf.yml is fixed, and later I will modify it to be configurable by specifying parameters.

@sijie PTAL again, thanks

run java8 tests

run java8 tests

run java8 tests

run cpp tests

run java8 tests

run java8 tests

thanks @sijie @jerrypeng help, @merlimat @srkukarni PTAL again

@srkukarni can you review @wolfstudy 's comments? If the PR looks good to you, we can move forward with merging it. This would unblock any subsequent tasks for supporting go functions and other people can also start contributing to go functions.

@srkukarni : I don't think your comments around error handling for EO are needed here. technically the whole PR doesn't handle EO. EO requires special setup on producers. EO itself is a huge task. I would prefer leaving EO discussion out of this PR so that we can have a MVP for go instance first. Then we can iterate from there.
With that being said, I think we should do followings:

fail the instance (panic) in newGoInstance if ProcessingGuarantee (PG) is EO.
remove the error handle for EO. only handle AMO and ALO.

@wolfstudy why do the parameters need to be passed into a conf file instead of just via command line?

@wolfstudy why do the parameters need to be passed into a conf file instead of just via command line?

In pip32, we describe this situation, go is a static language, although it provides a reflection mechanism, but relatively weak compared to java and python, although the plugin is provided in version go1.8, but not mature. So we chose the SDK method to implement the go function.

@jerrypeng because the instance is exposed to be compiled with user function code. I don’t think it is a good idea to expose that many command line arguments. It should be just taking a conf which is a function spec. This would make things clear.
In subsequent changes,

the localrun can take command line arguments and user facing function config and generate a go instance conf to run go instance;

the worker will do similar thing when running functions in managed mode.

run integration tests

@srkukarni @wolfstudy : can we agree on followings:
- fail the instance (panic) in newGoInstance if ProcessingGuarantee (PG) is EO.
- remove the error handle for EO. only handle AMO and ALO.

I don't think we should ever handle EO in this PR, since EO requires special setups on producers. I would prefer deferring EO handling to next pull request, which will make implementation clear.

thanks @sijie , good idea, i will fix it

@srkukarni @jerrypeng remove EO(effectively-once) logic, I will do the separate processing in the next pull request, PTAL again.

run cpp tests


Preconditions of rstack

Hello!
Could you please clarify, what conditions my application must meet so that  rstack will work successfully?

As far as I undertood, child must be in paused state. Does ptrace's syscall-enter-stop suffice?
Does tracer need root?
Maybe, child must be spawned by tracer directly?

I ask this, because I have Operation not permitted (os error 1) error when using your library, and it is quite hard to debug this error, because strace doesn't work on other tracer.

The traced process does not need to already be in the paused state - rstack will do that when attaching. The tracer does need permissions to ptrace the process. Search for Ptrace access mode checking on the ptrace man page for details on that: http://man7.org/linux/man-pages/man2/ptrace.2.html. It also needs to be able to read the /proc pseudo-filesystem.
Another source of permission errors is seccomp. For example, you can't use ptrace in a Docker container by default due to its sandboxing.

Regarding usual ptrace checks: they are checked on attach to target process.
However in my case, child is (indirectly) spawned by tracer. Some stuff like logging syscalls and reading tracee memory works fine.
Maybe, errors happens because rstack tries to perform ptrace(PTRACE_ATTACH) on process, which is already traced by my tracer?

Yes, you can't attach to a process that you're already attached to. We could add an option to https://docs.rs/rstack/0.3.0/rstack/struct.TraceOptions.html to say that the target is already attached and stopped.

Thanks for finding problem cause.
Do you plan implementing this feature in short future?
If don't, I will be happy to try to contribute. I hope changes required aren't big and complex.

Feel free to make a PR! I don't think it should be all that complicated - you'd just need to have the flag change the behavior of the TracedThread object to do nothing in its constructor and Drop implementations: https://github.com/sfackler/rstack/blob/master/rstack/src/lib.rs#L351.


Zenoh 0.10.1-rc's publisher.delete has bug

The bug is https://github.com/eclipse-zenoh/zenoh/issues/633.
The bug is already fixed by https://github.com/eclipse-zenoh/zenoh/pull/634.
But 0.10.1-rc doesn't include the commit. So @s-hosoai san, take care about it.
This issue will be closed when updating zenoh version from 0.10.1-rc to over.
detail
https://github.com/b5g-ex/zenohex/blob/c20fa03b21544205d53f8b1935df7ba2b565e131/test/zenohex/examples/publisher_test.exs#L53-L60

Thank you for your report.
I will update it with the next release of Zenoh.

This issue was fixed in PR #47


[bug]: UI doesn't show labels

Is there an existing issue for this problem?

[X] I have searched the existing issues

Operating system
Linux
GPU vendor
Nvidia (CUDA)
GPU model
A10G
GPU VRAM
24GB
Version number
3.7.0
Browser
Chrome latest
Python dependencies
No response
What happened
When trying to deploy with Docker, the UI comes up but all the labels are showing what seems to be non localized strings. Can't generate images with Invoke button. It was working before for version 3.6. Saw an issue where it stated deleting local store cache could fix but it did not. Replicated on another browser.
What you expected to happen
Expected a usable UI.
How to reproduce the problem
No response
Additional context
Screenshot:

Discord username
No response

What happens when you click the invoke button? Any errors?

I get a red queue error in the bottom right corner.

Sorry, I should have been more clear. Do you see any errors in the JavaScript console and or terminal?
Please copy and paste the full terminal output with startup messages.

That button actually doesn't do anything now:

These are my console errors:

Here is my build output in Docker, which is successful:
docker output.txt

Invokeai.yaml file:
InvokeAI:   Web Server:     host: <IP_ADDRESS>     port: 9090     allow_origins: ['mckinney-invokeai.hf.space']     allow_credentials: true     allow_methods:     - '*'     allow_headers:     - '*'   Features:     esrgan: true     internet_available: true     log_tokenization: false     patchmatch: true   Memory/Performance:     always_use_cpu: false     free_gpu_mem: false     max_cache_size: 6.0     max_vram_cache_size: 5.0     precision: auto     sequential_guidance: false     xformers_enabled: true     tiled_decode: false   Paths:     autoimport_dir: autoimport     lora_dir: null     embedding_dir: null     controlnet_dir: null     conf_path: configs/models.yaml     models_dir: models     legacy_conf_dir: configs/stable-diffusion     db_dir: databases     outdir: /data/outputs # set to /data/outputs if you have persistent storage     use_memory_db: true   Logging:     log_handlers:     - console     log_format: color     log_level: warning

Thanks. Just to confirm, are you using the process outlined in the docker/ dir in the repo root?

Yes, I am. This used to work; however, after updating to 3.6, it stopped. I tried 3.7 when it came out but it has the same issue. More info: we ran this on a private huggingface space with persistent storage and an A10G (24GB VRAM) space and it would run very fast for us.
This is failed request example. Fetching an asset (en.json) that exists in the dist folder on the container.

It looks like the url is swapped when building using fetchBaseQuery. Instead of putting the asset after the URL, it's putting it after the __sign parameter:
https://yoursite.com/locale/en.json?__sign=XXXXXXXXXXXXXX
it's outputting
https://yoursite.com/?__sign=XXXXXXXXXXXXXXlocale/en.json

I don't get a 404 when i swap the parameter and the asset it's trying to fetch. How do I fix this in the source?

OK I think i figured it out. A private space requires a signed call to fetch and looks like the code is just inserting the the path to the end of the URL with the query instead of between the URL and the query.

If there was a way to accommodate these types of URLs carrying extra params that would be great

Good catch! I tried docker locally and didn't have this issue, and I didn't make the connection with the URL.
Ok, we can definitely support these URLs. There are a few places where we'll need to fix the URLs. I'll take care of it.

@hipsterusername  which issue? This is the one afaik

I updated Invoke to 3.7 today and had the same problem as in the picture above, in my case it was the browser.

Not reproducible on latest version.


pip install winmltools failure

I'm submitting a…

Bug report (I searched for similar issues and did not find one)

Current behavior

pip install winmltools
Expected behavior

WinMLTools installs cleanly
Minimal reproduction of the problem with instructions

On a fresh Win 10 install, install Python 3.7, Visual Studio 2017 with cmake extension
open VS command prompt and run "pip install winmltools"
Result: while installing the dependency package "onnx", hit the following error.
CMake Error at CMakeLists.txt:216 (message):
Protobuf compiler not found
WinMLTools install fails. Problem can also be reproed with "pip install onnx"
Environment
Windows Build Number: Windows 10, Version 1803, Build number 17134.285
OS Version (Server, IoT Core, Desktop, etc): Desktop
Visual Studio

[ ] 2017 (version: 15.8.3)

I am seeing this on my box.
Ubuntu 20.04
Python 3.8.2
Seems like it is trying to grab onnx 1.5.0 rather than latest
$ pip show protobuf
Name: protobuf
Version: 3.6.1
Summary: Protocol Buffers
Home-page: https://developers.google.com/protocol-buffers/
Author<EMAIL_ADDRESS>Author-email<EMAIL_ADDRESS>License: 3-Clause BSD License
Requires: setuptools, six
Required-by: skl2onnx, onnxmltools, onnxconverter-common, onnx, keras2onnx
$ pip show onnx
Name: onnx
Version: 1.7.0
Summary: Open Neural Network Exchange
Home-page: https://github.com/onnx/onnx
Author: bddppq
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Requires: six, numpy, typing-extensions, protobuf
Required-by: skl2onnx, onnxruntime, onnxmltools, onnxconverter-common, keras2onnx
$ pip install winmltools
Collecting winmltools
Using cached winmltools-1.5.1-py2.py3-none-any.whl (40 kB)
Requirement already satisfied: numpy==1.16.4 in ./venv/lib/python3.8/site-packages (from winmltools) (1.16.4)
Collecting tf2onnx==1.5.3
Using cached tf2onnx-1.5.3-py3-none-any.whl (145 kB)
Collecting onnx==1.5.0
Using cached onnx-1.5.0.tar.gz (3.0 MB)
Requirement already satisfied: protobuf==3.6.1 in ./venv/lib/python3.8/site-packages (from winmltools) (3.6.1)
Collecting onnxmltools==1.5.1
Using cached onnxmltools-1.5.1-py2.py3-none-any.whl (287 kB)
Requirement already satisfied: requests in ./venv/lib/python3.8/site-packages (from tf2onnx==1.5.3->winmltools) (2.23.0)
Requirement already satisfied: six in ./venv/lib/python3.8/site-packages (from tf2onnx==1.5.3->winmltools) (1.14.0)
Requirement already satisfied: typing-extensions>=<IP_ADDRESS> in ./venv/lib/python3.8/site-packages (from onnx==1.5.0->winmltools) (<IP_ADDRESS>)
Requirement already satisfied: typing>=3.6.4 in ./venv/lib/python3.8/site-packages (from onnx==1.5.0->winmltools) (<IP_ADDRESS>)
Requirement already satisfied: setuptools in ./venv/lib/python3.8/site-packages (from protobuf==3.6.1->winmltools) (44.0.0)
Requirement already satisfied: skl2onnx in ./venv/lib/python3.8/site-packages (from onnxmltools==1.5.1->winmltools) (1.6.1)
Requirement already satisfied: keras2onnx in ./venv/lib/python3.8/site-packages (from onnxmltools==1.5.1->winmltools) (1.6.1)
Requirement already satisfied: onnxconverter-common>=1.5.0 in ./venv/lib/python3.8/site-packages (from onnxmltools==1.5.1->winmltools) (1.6.1)
Requirement already satisfied: chardet<4,>=3.0.2 in ./venv/lib/python3.8/site-packages (from requests->tf2onnx==1.5.3->winmltools) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.8/site-packages (from requests->tf2onnx==1.5.3->winmltools) (2<IP_ADDRESS>)
Requirement already satisfied: idna<3,>=2.5 in ./venv/lib/python3.8/site-packages (from requests->tf2onnx==1.5.3->winmltools) (2.9)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./venv/lib/python3.8/site-packages (from requests->tf2onnx==1.5.3->winmltools) (1.25.9)
Requirement already satisfied: scikit-learn>=0.19 in ./venv/lib/python3.8/site-packages (from skl2onnx->onnxmltools==1.5.1->winmltools) (0.22.2.post1)
Requirement already satisfied: fire in ./venv/lib/python3.8/site-packages (from keras2onnx->onnxmltools==1.5.1->winmltools) (0.3.1)
Requirement already satisfied: joblib>=0.11 in ./venv/lib/python3.8/site-packages (from scikit-learn>=0.19->skl2onnx->onnxmltools==1.5.1->winmltools) (0.14.1)
Requirement already satisfied: scipy>=0.17.0 in ./venv/lib/python3.8/site-packages (from scikit-learn>=0.19->skl2onnx->onnxmltools==1.5.1->winmltools) (1.4.1)
Requirement already satisfied: termcolor in ./venv/lib/python3.8/site-packages (from fire->keras2onnx->onnxmltools==1.5.1->winmltools) (1.1.0)
Building wheels for collected packages: onnx
Building wheel for onnx (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/somedir/pytorch/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b5e4djak/onnx/setup.py'"'"'; file='"'"'/tmp/pip-install-b5e4djak/onnx/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-k44r5woc
cwd: /tmp/pip-install-b5e4djak/onnx/
Complete output (63 lines):
fatal: not a git repository (or any of the parent directories): .git
running bdist_wheel
running build
running build_py
running create_version
running cmake_build
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:226 (message):
Protobuf compiler not found
Call Stack (most recent call first):
CMakeLists.txt:257 (relative_protobuf_generate_cpp)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-b5e4djak/onnx/.setuptools-cmake-build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-b5e4djak/onnx/setup.py", line 312, in
setuptools.setup(
File "/home/somedir/pytorch/venv/lib/python3.8/site-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/home/somedir/pytorch/venv/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-b5e4djak/onnx/setup.py", line 206, in run
self.run_command('cmake_build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-b5e4djak/onnx/setup.py", line 192, in run
subprocess.check_call(cmake_args)
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/somedir/pytorch/venv/bin/cmake', '-DPYTHON_INCLUDE_DIR=/usr/include/python3.8', '-DPYTHON_EXECUTABLE=/home/somedir/pytorch/venv/bin/python3', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-38-x86_64-linux-gnu.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/tmp/pip-install-b5e4djak/onnx']' returned non-zero exit status 1.
ERROR: Failed building wheel for onnx
Running setup.py clean for onnx
Failed to build onnx
ERROR: onnxruntime 1.2.0 has requirement numpy>=1.18.0, but you'll have numpy 1.16.4 which is incompatible.
Installing collected packages: onnx, tf2onnx, onnxmltools, winmltools
Attempting uninstall: onnx
Found existing installation: onnx 1.7.0
Uninstalling onnx-1.7.0:
Successfully uninstalled onnx-1.7.0
Running setup.py install for onnx ... error
ERROR: Command errored out with exit status 1:
command: /home/somedir/pytorch/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b5e4djak/onnx/setup.py'"'"'; file='"'"'/tmp/pip-install-b5e4djak/onnx/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-az11oau3/install-record.txt --single-version-externally-managed --compile --install-headers /home/somedir/pytorch/venv/include/site/python3.8/onnx
cwd: /tmp/pip-install-b5e4djak/onnx/
Complete output (51 lines):
fatal: not a git repository (or any of the parent directories): .git
running install
running build
running build_py
running create_version
running cmake_build
CMake Error at CMakeLists.txt:226 (message):
Protobuf compiler not found
Call Stack (most recent call first):
CMakeLists.txt:257 (relative_protobuf_generate_cpp)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-b5e4djak/onnx/.setuptools-cmake-build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-b5e4djak/onnx/setup.py", line 312, in <module>
    setuptools.setup(
  File "/home/somedir/pytorch/venv/lib/python3.8/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/somedir/pytorch/venv/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python3.8/distutils/command/install.py", line 589, in run
    self.run_command('build')
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/tmp/pip-install-b5e4djak/onnx/setup.py", line 206, in run
    self.run_command('cmake_build')
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/tmp/pip-install-b5e4djak/onnx/setup.py", line 192, in run
    subprocess.check_call(cmake_args)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/somedir/pytorch/venv/bin/cmake', '-DPYTHON_INCLUDE_DIR=/usr/include/python3.8', '-DPYTHON_EXECUTABLE=/home/somedir/pytorch/venv/bin/python3', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-38-x86_64-linux-gnu.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/tmp/pip-install-b5e4djak/onnx']' returned non-zero exit status 1.
----------------------------------------

Rolling back uninstall of onnx
Moving to /home/somedir/pytorch/venv/bin/backend-test-tools
from /tmp/pip-uninstall-y6ckz9mu/backend-test-tools
Moving to /home/somedir/pytorch/venv/bin/check-model
from /tmp/pip-uninstall-y6ckz9mu/check-model
Moving to /home/somedir/pytorch/venv/bin/check-node
from /tmp/pip-uninstall-y6ckz9mu/check-node
Moving to /home/somedir/pytorch/venv/lib/python3.8/site-packages/onnx-1.7.0.dist-info/
from /home/somedir/pytorch/venv/lib/python3.8/site-packages/~nnx-1.7.0.dist-info
Moving to /home/somedir/pytorch/venv/lib/python3.8/site-packages/onnx.libs/
from /home/somedir/pytorch/venv/lib/python3.8/site-packages/~nnx.libs
Moving to /home/somedir/pytorch/venv/lib/python3.8/site-packages/onnx/
from /home/somedir/pytorch/venv/lib/python3.8/site-packages/~nnx
ERROR: Command errored out with exit status 1: /home/somedir/pytorch/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b5e4djak/onnx/setup.py'"'"'; file='"'"'/tmp/pip-install-b5e4djak/onnx/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-az11oau3/install-record.txt --single-version-externally-managed --compile --install-headers /home/somedir/pytorch/venv/include/site/python3.8/onnx Check the logs for full command output.

WinMLTools doesn't support python 3.8 so far, because it fixes the dependency on onnx 1.5.0 which does not support python 3.8.


Add support for geojson

I started a branch looking at constructing W from geojson objects
https://github.com/pysal/pysal/tree/geojson

What would constitute "support" here? Separate geojson tools to traverse polygon properties like we currently do dbf objects?

Work on this is subsumed in Weights Abstraction.

If we can read geojson, we can construct weights from them using the from_iterable or from_array methods of the various weighting functions. Is that sufficient, or do we want a geojson-specific classmethod, from_geojson?

Could this be solved by having a geojson reader(/writer) into ps.shapes objects and then construct the weights from a geotable? I'd definitely +1 that approach.

I was going to request an enhancement to allow PySal to "read" ` GeoPandas DataFrames``. Seems to be related to this, so thought I would suggest it here instead of opening a new thread.

Hey, I think this is a pretty good idea, too @ozak!
What's the specific use case you're looking for? Some already is available, like the six-line LISA map:
import geopandas as gpd
import pysal as ps

example_gdf = gpd.read_file(ps.examples.get_path('south.shp'))
W = pysal.weights.Queen.from_dataframe(example_gdf)
Mi = ps.Moran_Local(example_gdf.HR90, W)
example_gdf.assign(Ii = Mi.Is, pval = Mi.p_sim, quad = Mi.q)
example_gdf['sig_quad'] = south[['pval', 'quad']].apply(lambda x: x.quad if x.pval <= .05 else 5, axis=1)
example_gdf.plot('sig_quad', categorical=True, legend=True, linewidth=.1)

We have some of this integration already, I've just been overwhelmed with other tasks on getting these types of viginettes into the official documentation from the GSOC writeups

Hi @ljwolf! I am glad you were already thinking about this. I think what I'd like to do is similar (I am still figuring out pysal so I can't give you an example, but my idea was to e.g. use it to find neighbors and do some spatial computations and such. Then return the processed data as GeoPandas DataFrame.

Sure! The finding neighbors part, like with KNN, distance-band, or Kernel weights, can be accomplished with many of the methods in the documentation. If you have questions on how to do that, feel free to ask in the gitter channel.

Thanks!


Add logo to dashboard

Maybe change logo color to white and put logo to top left?

ready to test on dev

love it!
http://textpressocentral.org:3001/paper?paper_id=00059841
@vanaukenk take a look

Looks great for both of us, closing


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v4.9.273",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8e250a134c8fe2a945d10b421d0ccb54e85d8683"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "8e250a134c8fe2a945d10b421d0ccb54e85d8683",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "drm: Lock pointer access in drm_master_release()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.9.273 by commit 8e250a134c8fe2a945d10b421d0ccb54e85d8683. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000842


Header and footer

Support inserting a text that is

not visible by the model
Defined by a format string like a python f-string
can use fields for date, time, user,model,temperature, etc.

See #78


Fix acceptance after 3.3.x branch merge

Force merging as main is broken and this is already removing some issues


 It should abort  immediately if nydud dies before creating such Unix socket file.
We should only collect metrics that come from normally serving nydusd.

Codecov Report
Patch and project coverage have no change.

Comparison is base (7118066) 29.75% compared to head (ef11268) 29.75%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #434   +/-   ##
=======================================
  Coverage   29.75%   29.75%
=======================================
  Files          39       39
  Lines        4090     4090
=======================================
  Hits         1217     1217
  Misses       2715     2715
  Partials      158      158

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

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

Maybe we could squash these commits? 10 commits in 1 PR seems like a lot.


Popover outside of window bounds

Great project!
What I've not been able to find is if there's a way to prevent the popover from going outside the document/window bounds? I don't have a position manually set, and assumed the libarary would pick the best position for display, however my popovers constantly go out of window bounds.

Duplicate of https://github.com/kamranahmedse/driver.js/issues/18. Currently, it handles the popups cutting off from top or bottom. I need to improve the positioning; will do as soon as I can. Thanks


Suricata broken with upgrade to 21.7.3_1

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
After upgrading to the recent version v21.7.3_1 I realized that the IDS/IPS logs were not transfered anymore to my loghost. Further investigation also shown that the "Alerts" Tab and either "Log File" do not show anything anymore. Even for example when using nmap scans (ingress/egress) which were blocked and logged before.
To Reproduce
Steps to reproduce the behavior:

Upgrade to v21.7.3_1
Enable e.g block scans and IPS mode
use nmap and scan any resource from a local pc, or scan from outside the fw
nothing is dropped nor logged anymore.

Expected behavior
Drop the enabled content from the policy. Log to external device. Both worked just before the update
Describe alternatives you considered
None. As it was fully functional before
Screenshots
None yet. But I can provide them if needed.
Relevant log files
2021-09-28T17:47:14	suricata[11341]	[100469]  -- [ERRCODE: SC_WARN_FLOWBIT(306)] - flowbit 'ET.GenericPhish_Adobe' is checked but not set. Checked in 2023048 and 0 other sigs
2021-09-28T17:45:45	suricata[75628]	[100559]  -- This is Suricata version 6.0.3 RELEASE running in SYSTEM mode
2021-09-28T17:45:43	suricata[25514]	[100389]  -- Stats for 'igb2^': pkts: 983, drop: 0 (0.00%), invalid chksum: 0
2021-09-28T17:45:43	suricata[25514]	[100389]  -- Stats for 'igb2': pkts: 1023, drop: 0 (0.00%), invalid chksum: 0
2021-09-28T17:45:43	suricata[25514]	[100389]  -- Stats for 'igb0^': pkts: 137591, drop: 0 (0.00%), invalid chksum: 0
2021-09-28T17:45:43	suricata[25514]	[100389]  -- Stats for 'igb0': pkts: 138022, drop: 0 (0.00%), invalid chksum: 0
2021-09-28T17:45:43	suricata[25514]	[100389]  -- Stats for 'igb1^': pkts: 5433, drop: 0 (0.00%), invalid chksum: 0
2021-09-28T17:45:43	suricata[25514]	[100389]  -- Stats for 'igb1': pkts: 1672, drop: 0 (0.00%), invalid chksum: 0
2021-09-28T17:45:43	suricata[25514]	[100389]  -- Stats for 'igb3^': pkts: 135236, drop: 0 (0.00%), invalid chksum: 0
2021-09-28T17:45:43	suricata[25514]	[100389]  -- Stats for 'igb3': pkts: 136163, drop: 0 (0.00%), invalid chksum: 0
2021-09-28T17:45:42	suricata[25514]	[100389]  -- Signal Received. Stopping engine.
Additional context
None
Environment
OPNsense 21.7.3_1 (amd64, OpenSSL).
Intel Nuc
Intel Nic

just double checked on my end using the standard eicar test (curl http://pkg.opnsense.org/test/eicar.com.txt) and igb, seems to be working without issues.

Hello,
with the recent update it logs again. I close this one.


(FIND-1451) Fix layer names appearing multiple times when you do multiple searches on the same map.

This looks fine. Thanks

Okay, thank you!


gateway name with just numbers is not possible

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[x] I have read the contributing guidelines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I'm convinced that mine is new.
Describe the bug
in /system_gateways.php the name must have a letter, the description said it must one of the letter a-Z, 0-9, _ but when I just use 7750 as a name it does not work
To Reproduce
Steps to reproduce the behavior:

Go to '/system_gateways.php'
Click on 'Add'
Scroll down to 'use a name with just numbers in it (eg 7750)'
See error

Expected behavior
either a correct error message that I can't use only numbers or it should work with just numbers

seems to be a left over from our parent project, in our case it doesn't make sense to check for a valid "alias name" fixed in https://github.com/opnsense/core/commit/9924a2c81156527861ec6fea55596449b7b74c75

I will briefly reopen this:
% git grep is_validaliasname
src/etc/inc/util.inc:function is_validaliasname($name)
src/www/firewall_schedule_edit.php:    $valid = is_validaliasname($pconfig['name']);
src/www/system_gateway_groups_edit.php:    $valid = is_validaliasname($pconfig['name']);

Looks like is_validaliasname can be shelved completely?

@fichtner I haven't looked at the schedule part, but it definitely seems so, yes


Ginso escape reset and bug fixes

Feature:

Reset Ginso escape sequence on teleporting out.
Bugfixes:
Fixed an issue where returning to title screen during prologue makes Ori falls into the void.
Fixed a similar issue when returning to title screen at Ginso heart.
Mitigated similar potential issues for Misty wood.
Fixed Ginso Kuro cutscene where game pauses when progressing through the cutscene without stomp.
Fixed cutscene glitch when trying to teleport out at the top just before exit.

I still want to test this more to confirm everything has been done correctly, but from a code standpoint, all of this looks good and makes sense to me. Awesome work!


Keyframe identifiers not properly escaped, when using Redux connect()

When using withStyles() around Redux connect(), the keyframe identifiers generated by JSS contain unescaped parentheses (Connect(...)), which break them from working in development. This problem came with MUI 4.0.0-alpha.6 and is still present in 4.0.0-beta.1.

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

Expected Behavior 🤔
The generated keyframe names would be in the form of Connect\(ComponentName\)-keyframes-animationname-uid, just like the class name identifiers.
Current Behavior 😯
In 4.0.0-alpha.6 it seems it has been changed how withStyles (I assume it's withStyles which is doing this) prepends the class names with Connect(ComponentName), when it's put around react-redux connect().
E.g., previously it generated a class name like this (in development):
.Connect-StatsSidebar--reloadIconSpinning-101bu63
Currently it produces a class name this way:
.Connect\(StatsSidebar\)-reloadIconSpinning-334
Those both work fine. However, with @keyframes the parentheses are not properly escaped, and the result is, e.g.:
animation: Connect(StatsSidebar)-keyframes-rotate-335 1500ms infinite linear;
and the corresponding
@-moz-keyframes Connect(StatsSidebar)-keyframes-rotate-335 {
which don't work, as the parentheses aren't escaped.
(Luckily in production, this problem doesn't exist, as then the generated identifiers don't contain parentheses in any case.)
Steps to Reproduce 🕹
https://codesandbox.io/s/74m7qv4qrj
In the example, the button should spin around, but it doesn't. If you change the MUI dependency to 4.0.0-alpha.5 or remove the connect() from between the withStyles(), it works again.

Looks to be related to #15529

@synchronos-t Thank you for the reproduction! As far as I can dive into the code, it's a bug on JSS side. The escape method isn't used. cc @kof.

@synchronos-t By any change, would you have the time to look at #15529 and give us your point of view on the topic, it's about the DX.

Looks like something we haven't thought of wanna create an issue?

I now opened a new issue at JSS. However, it's quite unfamiliar for me how MUI uses JSS, so the description is a bit vague. Feel free to add more info.

I now opened a new issue at JSS. However, it's quite unfamiliar for me how MUI uses JSS, so the description is a bit vague. Feel free to add more info.

Solved in https://github.com/cssinjs/jss/pull/1100.


Send OAuth Token inside WebSocket message and validate on server

Hi!
I'm looking for a way to get better control of the OAuth token.
If i understand the current implementation correct, the token will only be sent once -> before the http connection is upgraded to websockets, or?
We use Reference Tokens for Authentication, which means that the API can check if the token on every request, if it is still valid and not expired.
For now i'm always create a JSON Object with the token and all necessary Properties

let msg = {
  "Id": "59b42621-1b62-4d9f-bc40-aad031408d81",
  "AuthData": "ba2f4c04e731d4c3033dd1fef0530bc0bd0e6cbe808321495dc7c4669c7b1d9e",
  "Method": "GetItemsByCategory",
  "Arguments": ["Books"]
}

this.hubConnection.invoke("InvokeServerMethod", msg)

On the ServerSide there is only one Method in my Hub:
public async Task<SignalRResponse> InvokeServerMethod(SignalRMessage message) {
    try {
        return await SignalRServerMethodManager.InvokeServerMessageAsync(this, message);
    } catch (Exception ex) {
        return new SignalRResponse(message.Id) {
            Error = ex
        };
    }
}

Every SignalRMessage is processed by this Method.

Check if the Token is still valid -> cached, or if cache expired(5min), validated on IdentityServer
Search the Method with matching Arguments using Reflection -> GetItemsByCategory(string category)
Invoke the Method
return a SignalRResponse with the result or error

So far it works well, but i try to find a better way.
I use this way in a few Projects, and i always have to do the heavy lifting with Reflection and so on...
It would be great if there where a Middleware or something similar which can be used for validating the token before the Method in the SignalRHub is invoked!
That would save me to do all that terrible stuff...
Br

Ok, I'm going to close this for now since it seems like you have a solution to your problem. Feel free to comment further if you have questions! We can always open a new issue if we come up with something concrete to change.


ci: use nodejs 14

workaround for issue described here https://github.com/splunk/addonfactory-repository-template/pull/183

:tada: This PR is included in version 1.102.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


patch webvr-polyfill to include fix for rAF on mobile (fixes issue #127; relevant to issue #113)

See fix added in v1.0.6 of the cardboard-vr-display dependency: https://github.com/immersive-web/cardboard-vr-display/commit/6f6a0c1e8b28eb4a3c861aeab4f814e93207fb85
This file will eventually be replaced when webvr-polyfill is properly upgraded: https://github.com/mozilla/unity-webvr-export/issues/113

@caseyyee , I've never seen this error so I'm not the one who can properly check if it is solved. Can you take a look?

@caseyyee ping on this - can you review ASAP? thank you

@itsthisjustin also, if you have a moment and are able, if you want to copy this file into your built project, and see if it fixes your issue, that'd help a ton. thank you in advance for your help 👍

Will do! @cvan


Lunar Monitor process will leak if DEBUG define isn't present

If Lunar Monitor isn't compiled with the DEBUG define included Lunar Magic will currently not actually close the process when the user exits Lunar Magic, despite LM_CLOSE_ON_CLOSE being in the custom toolbar button's options list.
Not sure what's causing this, it's possible that since there is no window visible Lunar Magic can't actually figure out how to shut down the process, but it seems to correctly send the LM_NOTIFY_ON_NEW_LEVEL notifications to it, so I'm not sure what's actually the problem.

Fixed in bee95a7

Never mind, it's still happening.


chore: rename avm_mini to avm

Resolves #4533

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit e23d048e and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,956
181,604
724,196

l1_rollup_calldata_gas
227,252
888,668
3,535,880

l1_rollup_execution_gas
320,443
1,007,116
3,756,258

l2_block_processing_time_in_ms
1,185 (-1%)
4,474
17,700

note_successful_decrypting_time_in_ms
314
977
3,651

note_trial_decrypting_time_in_ms
27.6 (+3%)
112 (+1%)
176 (+2%)

l2_block_building_time_in_ms
18,172
71,966
288,711

l2_block_rollup_simulation_time_in_ms
13,496
53,414
214,904

l2_block_public_tx_process_time_in_ms
4,648
18,473 (-1%)
73,552

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,457 (-1%)
30,184

note_history_successful_decrypting_time_in_ms
2,446 (-5%)
4,786 (-2%)

note_history_trial_decrypting_time_in_ms
105 (-7%)
183 (-1%)

node_database_size_in_bytes
17,293,392
33,165,392

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
325 (-1%)
44,528
25,313

private-kernel-ordering
196
43,633
16,193

base-rollup
1,457
129,774
933

root-rollup
85.9 (+1%)
4,192
729

private-kernel-inner
436
70,819
25,313

public-kernel-private-input
238
33,663
26,945

public-kernel-non-first-iteration
238
33,705
26,945

merge-rollup
7.92 (-2%)
2,712
933

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
16,859
39,794

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
559 (+1%)
1,440

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
0.495 (-2%)
572 (-1%)


Unable to set active icon and label style in BottomNavigation.Action

When using <BottomNavigation.Action />, the only style property working is container. How do I set the style properties of active and disabled?
<BottomNavigation.Action
              key="today"
              icon={<FontAwesome name='bell' size={25} />}
              label="Alerts"
              onPress={() => this.setState({ active: 'alert' })}
              style={{
                container:{
                  backgroundColor: 'red'
                },
                active:{
                  color: '#AC8E49',
                }
              }}
          />

The component rendered has a red background but the icon style is not colored.

I have some problem.

hi, active color property is not working for me:-
Code:-
  <BottomNavigation.Action               key="today"               icon="today"               label="Today"               active={this.state.active}               onPress={() => this.setState({ active: "today" })}               style={{                 container: {                   backgroundColor: "lightblue"                 },                 active: { color: "green" }               }}             />
Result:-

If you'll check BottomNavigationAction class, you'll see, that  active and disabled style properties are not assigned to the label and icon.
BottomNavigation.Action with changing icon and label colors should look like this:
<BottomNavigation.Action
      key="people"
      icon="people"
      label="People"
      style={{
          container: {
               backgroundColor: '#054B81',
           },
           icon: {color: '#FFFFFF'},
           label: {color: '#FFFFFF'},
      }}
      onPress={() => this.setState({active: 'people'})}
/>

Same problem, any update on this?

@dushyanttessact, check my reply above.

@Kich-kichi Hey, thanks for the quick reply.  but what i'm looking for is different, i just want to change the icon and label color when active. Like in default view, the color changes white to blue when clicked.
will try to update css part onPress fn. might work.

This works,
<BottomNavigation.Action
                    key="Movies"
                    icon={movieIcon}
                    style={{
                        icon: {color: this.state.activeBottomNavScreen === "Movies" ? "#fdbd32" : "#7ccced"},
                        label: {color: this.state.activeBottomNavScreen === "Movies" ? "#fdbd32" : "#7ccced"},
                    }}
                    label="Movies"
                    onPress={this.setBottomNavScreen.bind(this,"Movies")}
                />


Fix bug in winrt::delegate return call generation

Typo introduced by https://github.com/microsoft/xlang/pull/467.

It has now. :)


ImGuiInputTextCallbackData.GetBuf is missing

The c wrapper exists: extern char* ImGuiInputTextCallbackData_GetBuf(ImGuiInputTextCallbackData *self);
But there's no go counterpart

This is a little bit tricky, frankly I've never used GetBuf in real world...
Anyway, I will check the mapping function which handles the return value and get it be generated just to keep the binding as complete as possible.

For reference, I use it to do tab-completion / history in a Text input callback

@ptxmac It's done, it should be generated now.

Awesome! I'll have a look later 😄


Support automatically building as if PublicRelease=true

The version.json file can now specify regex patterns that if the ref being built matches will cause PublicRelease to default to true instead of false.
This comes with specialized support for a couple of build server platforms (VSTS and AppVeyor). But it works with pure git as well, both locally on dev boxes and on these and other build servers.
Fix #38

Can we support arrays of regular expressions instead of just one?


Make an estimate how much money is saved by detecting the fraud ( calculate the average index of the fraud cases and find out how much money that would be)

Waffle plot?


Added Material Python interface

Signed-off-by: ahcorde<EMAIL_ADDRESS>🎉 New feature
This PR is part of this meta ticket https://github.com/ignitionrobotics/sdformat/issues/931
Summary
Added Material Python interface
Test it
from sdformat import Material

material = Material()

Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@osrf-jenkins retest this please


ActiveRecord::AssociationTypeMismatch got Hash with nested resources

I am trying to create new objects with a collection of nested resources. When I POST my json, I get:
ActiveRecord::AssociationTypeMismatch: FormLabel(#70306552439440) expected, got Hash(#70306480154920)

Here's my code:
# form.rb
class Form < ActiveRecord::Base
  has_many :form_labels
  validates_presence_of :name
end

# form_label.rb
class FormLabel < ActiveRecord::Base
  belongs_to :form
  validates_presence_of :form
  validates_presence_of :text
end

# form_representer.rb
module FormRepresenter
  include Roar::JSON
  property :id
  property :name
  collection :form_labels
end

# form_label_representer.rb
module FormLabelRepresenter
  include Roar::JSON
  property :text
end

# form_controller.rb
class FormsController < ApplicationController
  include Roar::Rails::ControllerAdditions
  def create
    form = Form.new
    consume!(form)
    respond_with(form)
  end

When I debug, these are the params:
0> params
=> {"name"=>"Address", "form_labels"=>[{"text"=>"foo"}], "format"=>"json", "controller"=>"forms", "action"=>"create", "form"=>{"name"=>"Address"}}

and the error is:
ActiveRecord::AssociationTypeMismatch: FormLabel(#70237358584300) expected, got Hash(#70237286721880)

Your representers are incorrect. Representable doesn't know that your collection :form_labels items are going to deserialize into FormLabel objects, you need to use the :class option: http://trailblazer.to/gems/representable/3.0/api.html#nested-parsing

BTW - keep up posting relevant code snippets in support requests! :+1: Many people only do that after being asked for it, this speeds up debugging greatly! :stuck_out_tongue_winking_eye:

You're welcome :-)
Thanks for the pointer, my test passes now. Now I can set up POSTs for my whole API using your representers, which should greatly simplify and reduce the code. (I'm testing my API with rspec_api_documentation.)
I have changed:
collection :form_labels
to
collection :form_labels, decorator: FormLabelRepresenter, class: FormLabel
However, I expected that the original to work because in Rails typically convention over configuration, I assumed it would automatically check for a a Representer and a class with those names. Can I request that as a feature?
Also, may I suggest that you add a small example to this roar-rails documentation, I read through all the docs for roar, roar-rails and Representable, and it's not always obvious exactly how they play together. For example, why in Rails am I not subclassing Representable::Decorator?

First of all, I do not support roar-rails anymore because I think it is wrong, as it only fixes Rails partly. Trailblazer is what you should check out, you still have representers, but they are used from within an operation, in combination with a form object.
Since I strongly believe in this architectural pattern, I don't want to encourage more people to go the Rails Way, which is fundamentally wrong in almost everything it does, I'm not sure if I want to invest any more time in this gem. If you write up a nice introduction, I'm more happy to link to it here, or merge your README additions. Also, roar-rails is only a bridging to Rails, the actual gem, Roar is the clean implementation we use in Trailblazer, too, and that's where people should be reading.
Conventions in Rails might be nice for the start but they get in your way pretty fast, which is why I decided to keep my gems very explicit. Thanks for offering the convention patch, but this will only end up in trouble - and will be a breaking API change, although I can see how that would help you.

I had a look at your Trailblazer site about a week ago. It's very interesting. I'm on a tight timeline for the API at present, so I'm hesitant to make a major architectural change right now. I think I might have misunderstood what I read before though, because I thought that Trailblazer was a rack app that replaced rails. Now I looked at https://github.com/apotonick/trailblazer and I see that it's actually on top of rails.
I picked out roar-rails because it seems like it allows me to get a lot of proper REST API / JSON handling with a lot less code. I definitely have read the Roar docs carefully and I understand that roar-rails is just sitting on top of that.
Given that I'm presently using ActiveRecord, rails controllers in a pretty minimal way, devise for authentication, and rspec_api_documentation, how big a change would it be to switch from roar-rails to trailblazer?

Haha, I like where this conversation is going! :beers:
Minimal controllers sound good. However, where does all your business logic sit? Deserialization is done by Roar, ok, but validation, nested validations, post-processing logic (aka callbacks)? Is that in your models or service objects?
I'd recommend that you implement the next API endpoint (e.g. POST /comments/) with TRB (in the existing app) and play with that for 1 day just to get a feeling. With TRB, you don't have to rewrite everything, you can do baby-steps, which I find pretty cool.
You will realise that you already know many things since you must be a master of Roar already. I'm happy to help you a bit, and I am not angry with you if you decide that you won't switch everything to TRB tomorrow, because I wouldn't do that either if time's short.


Switching from Mapped Network Drives to Docker

I have three top-level folders of files on my Synology that I had previously mapped as three separate network drives (Files, Photos, Music), which I backed up to Crashplan using the program on my desktop computer. This created a different folder structure on the Crashplan server than what is created by default when running Crashplan as a headless client (i.e. /volume1/etc).
I am wondering whether it is possible to create the same mappings/folder structure that I had (when using mapped network drives) with Docker such that I do not have to re-backup the entire 2TB of data. I tried several different mappings using the -v parameter, but was unable to get the folders mapped correctly.
For reference, here are the two different folder structures that are created on the Crashplan server:

And these are how the folders are set up in File Station in the Synology DSM:

I am currently using this volume mapping when creating the Docker container:
-v /volume1/docker/appdata/crashplan:/config:rw \
-v /volume1/:/volume1:ro \
Is what I want to do possible? Or am I stuck re-backing up everything under volume1?
Thanks!

You don't need to have the same folder structure.  What is important is that when you first launch the Docker version of CrashPlan, you need to select the option to replace a device.  You then re-select your files under the new folder structure.  Because of deduplication, CrashPlan won't re-upload everything.
See https://github.com/jlesage/docker-crashplan-pro#taking-over-existing-backup

Okay gotcha. I believe I selected that when I first launched the Docker version. I'm having trouble with files constantly being scanned, but nothing is being uploaded so I wondered if that was the issue. Instead, I think perhaps that it is because I do not have enough memory allocated, even though I've broken my entire 2TB into multiple smaller sets.
Regardless, I appreciate knowing that Crashplan is smart enough to just redirect rather than requiring re-upload.

Closing this issue.  Please re-open if needed.


Docs!

Hey @neoziro just started poking around in h2x. It's awesome. You guys are creating such cool stuff.
Anyway, I'd love to start building a few h2x plugins but I'm also not familiar with how the tree traversals work.
here's the first plugin I'm thinking:
given an SVG like this:
<svg width="18" height="18" viewBox="0 0 60 60" xmlns:xlink="http://www.w3.org/1999/xlink" fill="rgb(255,255,255)">
  <defs>
    <path d="M16 16h28v4H16v-4zm-6 12h40v4H10v-4zm6 12h28v4H16v-4z" id="a"></path>
  </defs>
  <use fill="#FFF" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#a" fill-rule="evenodd"></use>
</svg>

I'd like to check to see if there is only 1 reference to a<use> remove the element from defs and inline it.

Hmm yes, I think it is possible but I don't know how 😅.
I am very new to tree traversal and I wrote it several months ago, you will have to go deep in the code. Also it is inspired by Babel, so finding Babel plugin help could help you!


Added a toggle for filtering out warnings from the blaze problems view

This PR adds the ability to filter in/out messages with category != ERROR from the Blaze Problems View.
The BlazeProblemsView class now keeps messages in the BlazeProblemsSink in a way that allows looking into the data later and repopulate the panel.

@hmemcpy FYI

Thanks for the patch. I've upstreamed it, though I implemented it differently.
There's no need to make any changes to BlazeProblemsView (other than clearing the tree more thoroughly between runs) -- I've just added a copy of NewErrorTreeViewPanel$ShowWarningsAction to BlazeProblemsViewPanel, storing the setting in ErrorTreeViewConfiguration.

Thank you for taking the patch, Brendan! I don't want to keep commenting on a now-closed issue, so I'd appreciate you input on #533 (since it is closely related to this area). Thanks!

Thanks @brendandouglas!
From your description of the implementation, I understand that a sync is required in order to update the view after the toggle state changes, is that the case? If so, then I wanted to give you some background regarding why I implemented it the way that I did. So, we had that kind of implementation in our fork for a few months and we got many requests from users to change the implementation, so that changing the state of the toggle will update the UI immediately, without re-syncing the project. In order to implement that, I needed to maintain an in memory model of the raw data, that's detached from the UI itself, so I can feed the UI with whatever I want without rebuilding the raw model.
Thanks again for your time and efforts!

No sync is required to update the view after toggling -- it just reuses the built-in functionality of ErrorViewStructure, which keeps all issues in memory but selectively displays them.


Retroactive Qualityscore update for old giveth projects

We have a bunch of projects that we're onboarded pre MVP and even a bit after that we're brought on before quality score was implemented, to my knowledge these projects do not have their quality score calculated correctly so even though they have lots of hearts, good descriptions, photos and the works they are currently sitting at the bottom of the project's pile.
We need to update these projects' quality score so they move up to where they should be under the default sorting scheme
this is really embarassing because a lot of these projects we're onboarded personally by giveth team members, friends, family, colleagues and personal connections .. etc..

this is another old one that hopefully we can put away in the future @cquinterom096

This is the js file that @jamespfarrell  built
https://github.com/Giveth/retro-price/blob/main/updateQualityScore.js
I'm not entirely sure what's left to complete this or how it's supposed to be implemented but this what I have.


Robot is not working without any fails log or track list information

Dear Experts:
I am a normal user. Actually, I find a strange phenomena that when robot framework runs my test case( my test case includes some of keywords I developed by the Python)  and  I don't know why that the robot is stopped with no reason and warning , fails , exceptions after it runs a period of time and I make sure my keyword is right and robot does not call my keyword when it finished above all keywords.
You can see the running status in robot framework ride interface when this problem is happened , Maybe it will be running forever if you have the enough confidence ：（
And, this a strange phenomena does not happened for every times， other words ，it is low probability event.
So，It's a very tricky problem for me and I have never met it before..!!
I hope to get a favor from the expert and friend who has been able to accomplish when this a strange problem is occurred..
I very mush hope to get any suggestions from all friends for this problem whatever you meet this problem or not..
sincerely
Hope to get your favor of anyone..!!
Smy

@shiminyang We cannot help you here. This is an Issue tracker, and it is only to report bugs or possible improvements suggestions. You can see what better ways to communicate in the support page. I recommend the Slack chat, because there is always someone there to help.


flutter: The method 'validate' was called on null

Hi I am entirely new to flutter and I am in process of learning based on some youtube videos - I replicated the steps mentioned and I could see the above mentioned error (Please note that the previous fix suggested at did not work so raising this one)
My code is as follows:
import 'package:flutter/material.dart';

class MyLoginPage extends StatefulWidget {
  @override
  State<StatefulWidget> createState() => new _LoginPageState();
}

class _LoginPageState extends State<MyLoginPage> {
  final formKey = new GlobalKey<FormState>();

  String email;
  String password;

  void validateAndSave() {
    final form = formKey.currentState;
    if (form.validate()) {
      print('form is valid');
    } else {
      print('form invalid');
    }
  }

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
        appBar: new AppBar(
          title: new Text('Flutter Login Demo'),
        ),
        body: new Container(
            padding: EdgeInsets.all(16.0),
            child: new Form(
              child: new Column(
                children: <Widget>[
                  new TextFormField(
                    decoration: new InputDecoration(labelText: 'Email'),
                    validator: (value) =>
                        value.isEmpty? 'Email cannot be empty' : null,
                  ),
                  new TextFormField(
                    decoration: new InputDecoration(labelText: 'Password'),
                    obscureText: true,
                    validator: (value) =>
                        value.isEmpty? ' Password cannot be empty' : null,
                  ),
                  new RaisedButton(
                      child:
                          new Text('Login', style: new TextStyle(fontSize: 20)),
                      onPressed: validateAndSave)
                ],
              ),
            )));
  }
}

Please can someone help?

Please note I have issues in updating I used:
formKey = new GlobalKey() only and the same is not updated in markdown preview here somehow

 is used in above code but is not shown

missed initiating formKey - the issue can be closed now

missed initiating formKey - the issue can be closed now

Care to share how you initiated the formKey?

import 'package:flutter/material.dart';
class MyLoginPage extends StatefulWidget {
@override
State createState() => new _LoginPageState();
}
class _LoginPageState extends State {
final formKey = new GlobalKey();
String email;
String password;
void validateAndSave() {
final form = formKey.currentState;
if (form.validate()) {
print('form is valid');
} else {
print('form invalid');
}
}
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text('Flutter Login Demo'),
),
body: new Container(
padding: EdgeInsets.all(16.0),
child: new Form(
key: _formKey,  // that should work just fine
child: new Column(
children: [
new TextFormField(
decoration: new InputDecoration(labelText: 'Email'),
validator: (value) =>
value.isEmpty? 'Email cannot be empty' : null,
),
new TextFormField(
decoration: new InputDecoration(labelText: 'Password'),
obscureText: true,
validator: (value) =>
value.isEmpty? ' Password cannot be empty' : null,
),
new RaisedButton(
child:
new Text('Login', style: new TextStyle(fontSize: 20)),
onPressed: validateAndSave)
],
),
)));
}
}


Added branches to ** and added build.yml

Fixes issue #59
Pull Request Title
Thank you for contributing to our project! Please provide a summary of your changes and reference any related issues below.
Issue Number: Fixes # (issue number)
🛠 Type of Change

[x] 🐛 Bug fix
[ ] ✨ New feature
[ ] 🚨 Breaking change
[ ] 📚 Documentation update

✅ Checklist
To ensure a smooth review process, please check off each item as you complete it:

[x] Code Style: My code adheres to the project’s style guidelines.
[x] Self-Review: I have reviewed my own code and made improvements.
[x] Comments: I’ve added comments to explain complex or non-obvious parts of the code.
[ ] Documentation: I’ve updated the documentation to reflect my changes.
[x] Warnings: My changes introduce no new warnings.
[x] Tests: I’ve added tests to verify that my changes work as expected.
[x] Passes Locally: All new and existing unit tests pass on my local machine.

We appreciate your contributions! If you have any questions or need further assistance, feel free to reach out.
I am adding this pr on main branch because workflows dosent exists on dev branch
so i request you to sync other branches with main as well because linting warnings which i have fixed also exists only on main branch so please sync all the branches with main then continue
I have added branches to ** so that all branches can have workflow checks
And also have added a file name build.yml
Here are the screenshots

hey @cb7chaitanya please sync all the branches with main so that they can have workflows and the linting issue fixes which i have fixed before
Thanks


Chrome Linux : Getting issue with THREE.WebGLRender

Getting error in latest chrome-Version 113.0.5672.126 (Official Build) (64-bit) on Linux
while working it on Firefox.
I also checked it with the demo link: https://hiukim.github.io/mind-ar-js-doc/face-tracking-samples/tryon.html

looks like something wrong with your browser webgl. maybe check whether you can run any webgl application first.


Update deps

Depend on :jason only for tests
Lower the requirement on :phoenix_live_view to ~> 0.19.0 and test it in CI
Update other dependencies
Test with updated dependencies in CI
Declare :phoenix_html as dependency to avoid updating to 4.0.0 that has breaking changes, we'll update later, the changes are in https://github.com/surface-ui/surface/pull/728
Update :floki
Update GitHub actions to avoid Node 16 deprecated warnings

after https://github.com/erlef/setup-beam/pull/249 is merged we can depend on the version again

@tiagoefmoraes thank you! 💚


Rename some builder classes

Cherry-picked class name changes from #1940

This PR might be impactful if people are already using these classes with the datagen API in Fabric API (Specifically when implementing their FabricRecipesProvider)

This one is actually impactful for the advancement builder, but we need that rename.


Temp Basal rates falling back to default after 20 minutes

Thanks a lot to you for sharing that implementation. It works really great. Setting it up was very easy, with your documentation.
Now temp basal is visible in Nightscout. In my case the duration of a temp basal rate is very short. After a few minutes the temp basal goes back to normal basal rate profile values.

But CAM APS is still in automode.
Do you have an idea, what I can change?
Best regards,
Michael
Originally posted by @MiGerth in https://github.com/burnedikt/diasend-nightscout-bridge/issues/19#issuecomment-1353084113

Idea for fix https://github.com/burnedikt/diasend-nightscout-bridge/issues/19#issuecomment-1353322766

Should be solved by https://github.com/burnedikt/diasend-nightscout-bridge/releases/tag/v1.0.1


feat: open terminal links for store paths in workspace

These changes register a terminal link handler so that store paths can be handled as files relative to the workspace (if they exist in the workspace).
As it stands, this assumes the store is at /nix/store and that all paths are unix-style (which should cover most (all?) users but I can try to abstract those away if necessary).
fixes #272

Done in 25.99s.
dz@dz-pc-11:~/github.com/nix-community/vscode-nix-ide$ vsce package
 INFO  Detected presence of yarn.lock. Using 'yarn' instead of 'npm' (to override this pass '--no-yarn' on the command line).
 ERROR  Extension entrypoint(s) missing. Make sure these files exist and aren't ignored by '.vscodeignore':
  extension/dist/extension.js

no sure how to test, but seems like good solution

no sure how to test

I generally just press F5 with the repo open in VSCode. Then you can open files to test functionality in the newly-created window. No worries if you're not able to though; I'll try to do some more rigorous testing over the weekend

Marking as draft b/c I haven't done any semi-serious testing yet.

Yep, need a better determinator than "file exists in workspace" because, of course, there's going to be similarly-named files across unrelated derivatives; for example, this flake
{
  outputs = { self, nixpkgs, ... }@inputs:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
    in
    {
      packages.${system}.default = pkgs.callPackage pkgs.hello { };
    };
}

throws the following error:
❯ nix eval .
error: getting status of '/nix/store/y4mxrg8c6l09lb2szl69vwl4f6441i5k-hello-2.12.1/default.nix': No such file or directory

which would open default.nix, if it existed, in the workspace (which is a completely unrelated file).
My first thought is that the local derivation is always called source (e.g., /nix/store/pa6a7a5b2iqvi5ra7z0vxr6mn343gw53-source) as that's what I've observed in passing; however, that's not the case in @dzmitry-lahoda's screenshot. So I think we need a way to determine the actual derivation path(s); hopefully there's a command which does exactly that.

in rust, rust analyzer expands procedural macros and builds rs scripts. just to name something which doing ide level evaluation and expansion.
nix is lazy and side effect free. so it can be evaluated, including each src. actually flake check and nix show doing something like that.
so the only final fix is to evaluate whole tree. dump it to json. and use as virtual file tree.
will donate 10 DOT for such solution.
but can with current only root solution is ok if to provide not nix store config, but config for current root src. i can just make my root src to be in subfolder i need. so for most people in simple projects it will work without modification.
choose src or file from multiple  on click does not feel good to go.
so current solution with env var for store location and per workspace src configuration can be great.

default.nix, if it existed, in the workspace (which is a completely unrelated file).

oh. that is bad. ruins everything. so it needs evaluation of nix tree and deep integration with nix sql database.
afaik nix is lazy strict dynamics. but when its is evaluated it is not so dynamic.
so really this feature requires a step to real ide - building tree and linking it to "object" database.

dz@dz-pc-11:~/github.com/ComposableFi/cosmoverse-demo$ nix show-derivation .#frontend-static
warning: Git tree '/home/dz/github.com/ComposableFi/cosmoverse-demo' is dirty
{
  "/nix/store/0l1hkkc1xa62p2zg3rd6c39dnmaznq4l-xcvm-dashboard-0.1.0.drv": {
    "outputs": {
      "out": {
        "path": "/nix/store/r0q82x2jq91yb6v61cnml5b9xfsxv7c2-xcvm-dashboard-0.1.0"
      }
    },
    "inputSrcs": [
      "/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh",
      "/nix/store/rzznbiy8j0381jlsk3la1njz5ql1na1q-frontend",
      "/nix/store/szyc8a0wsc42p6md02psn4i2smmw2z23-mkyarncache.js"
    ],
    "inputDrvs": {

flake package, app does not work (we need app because we debug). but at least we see src /nix/store/rzznbiy8j0381jlsk3la1njz5ql1na1q-frontend

dz@dz-pc-11:~/github.com/ComposableFi/cosmoverse-demo$ ls /nix/store/rzznbiy8j0381jlsk3la1njz5ql1na1q-frontend -la
total 4884
dr-xr-xr-x   11 dz dz    4096 Jan  1  1970 .
drwxrwxr-x 2438 dz dz 4714496 Sep 10 17:14 ..
-r--r--r--    1 dz dz      29 Jan  1  1970 .eslintignore
-r--r--r--    1 dz dz    3160 Jan  1  1970 .eslintrc.json
-r--r--r--    1 dz dz      57 Jan  1  1970 .firebaserc
dr-xr-xr-x    3 dz dz    4096 Jan  1  1970 .husky
-r--r--r--    1 dz dz       8 Jan  1  1970 .nvmrc
-r--r--r--    1 dz dz      25 Jan  1  1970 .prettierignore
-r--r--r--    1 dz dz     390 Jan  1  1970 .prettierrc
-r--r--r--    1 dz dz    1181 Jan  1  1970 README.md
dr-xr-xr-x    6 dz dz    4096 Jan  1  1970 components
dr-xr-xr-x    2 dz dz    4096 Jan  1  1970 constants
dr-xr-xr-x    3 dz dz    4096 Jan  1  1970 context
-r--r--r--    1 dz dz     101 Jan  1  1970 firebase.json
dr-xr-xr-x    2 dz dz    4096 Jan  1  1970 hooks
-r--r--r--    1 dz dz     274 Jan  1  1970 lint-staged.config.js
-r--r--r--    1 dz dz     201 Jan  1  1970 next-env.d.ts
-r--r--r--    1 dz dz     202 Jan  1  1970 next.config.js
-r--r--r--    1 dz dz    2258 Jan  1  1970 package.json
dr-xr-xr-x    4 dz dz    4096 Jan  1  1970 pages
-r--r--r--    1 dz dz      77 Jan  1  1970 postcss.config.js
dr-xr-xr-x    5 dz dz    4096 Jan  1  1970 public
dr-xr-xr-x    2 dz dz    4096 Jan  1  1970 styles
-r--r--r--    1 dz dz    1599 Jan  1  1970 tailwind.config.js
-r--r--r--    1 dz dz     855 Jan  1  1970 tsconfig.json
dr-xr-xr-x    2 dz dz    4096 Jan  1  1970 utils
-r--r--r--    1 dz dz  164482 Jan  1  1970 yarn.lock

so pretty sure it is there.
but need to find out how to dump apps (likely flake also makes derivation of these). and then dump the tree. and then ls each src from that tree. and doing from time to time in background on inotify.

i guess hydra CI/CD can do it to build DAG for workflows.

not found, tried to search nix issues - no relevant. so seems like having such tools is going as deep into nix.

so the problem is. if you run nix in console. how would nix in plugin access the same nix as in console? so it will need nix env selector dependency of some kind.  or rely on that user did nix shell/develop and then code - so it uses same nix.

I'll have to dig more into that approach to understand it better; so long as it can work with both flake and non-flake project, it could work.
As far as matching nix version, the extension can just use whatever is in PATH, no? If the user is loading a custom nix version in their project environment, ideally they'd also load vscode into that environment as any extension which tried to call any executable would have the same problem.
Some alternative approaches that come to mind:

let the user explicitly open the file in the workspace (such as through a select dialog or the context menu if https://github.com/microsoft/vscode/issues/79034 gets implemented).
match the files by contents; that is, if the file in the workspace and the file in the store have the same contents, open the file in the workspace. There are probably edgecases here that I haven't considered yet but the biggest thorn is that the paths nix prints are not guaranteed to exist (so that likely rules this one out).

I like showing the select dialog idea.

There should be a config about intercepting the terminal links. This is enabled by default. The user can disable if one is annoyed with the behaviour
As you have told, we can show the dialog, with options open in workspace or the filesystem path if the file path is matching in the workspace as well.