tests/benchmarks/sys_kernel fails on frdm_k64f, sam_e70

FAILURE DETAILS: timer tick happened. Results are inaccurate
Looks related to #7906
  ***** delayin***** delaying boot 1000ms (per build configuration) *****
  ***** Booting Zephyr OS v1.12.0-rc3 (delayed boot 1000ms) *****

  MODULE: kernel API test
  KERNEL VERSION: 0x10c0000

  Each test below is repeated 5000 times;
  average time for one iteration is displayed.

  TEST CASE: Semaphore #1
  TEST COVERAGE:
  	k_sem_init
  	k_sem_take(K_FOREVER)
  	k_sem_give
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  TEST CASE: Semaphore #2
  TEST COVERAGE:
  	k_sem_init
  	k_sem_take(TICKS_NONE)
  	k_yield
  	k_sem_give
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  TEST CASE: Semaphore #3
  TEST COVERAGE:
  	k_sem_init
  	k_sem_take(K_FOREVER)
  	k_sem_give
  	k_sem_give
  	k_sem_take(K_FOREVER)
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  TEST CASE: LIFO #1
  TEST COVERAGE:
  	k_lifo_init
  	k_lifo_get(K_FOREVER)
  	k_lifo_put
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  TEST CASE: LIFO #2
  TEST COVERAGE:
  	k_lifo_init
  	k_lifo_get(K_FOREVER)
  	k_lifo_get(TICKS_NONE)
  	k_lifo_put
  	k_yield
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  TEST CASE: LIFO #3
  TEST COVERAGE:
  	k_lifo_init
  	k_lifo_get(K_FOREVER)
  	k_lifo_put
  	k_lifo_get(K_FOREVER)
  	k_lifo_put
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  TEST CASE: FIFO #1
  TEST COVERAGE:
  	k_fifo_init
  	k_fifo_get(K_FOREVER)
  	k_fifo_put
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  TEST CASE: FIFO #2
  TEST COVERAGE:
  	k_fifo_init
  	k_fifo_get(K_FOREVER)
  	k_fifo_get(TICKS_NONE)
  	k_fifo_put
  	k_yield
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  TEST CASE: FIFO #3
  TEST COVERAGE:
  	k_fifo_init
  	k_fifo_get(K_FOREVER)
  	k_fifo_put
  	k_fifo_get(K_FOREVER)
  	k_fifo_put
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  TEST CASE: Stack #1
  TEST COVERAGE:
  	k_stack_init
  	k_stack_pop(K_FOREVER)
  	k_stack_push
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  TEST CASE: Stack #2
  TEST COVERAGE:
  	k_stack_init
  	k_stack_pop(K_FOREVER)
  	k_stack_pop
  	k_stack_push
  	k_yield
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  TEST CASE: Stack #3
  TEST COVERAGE:
  	k_stack_init
  	k_stack_pop(K_FOREVER)
  	k_stack_push
  	k_stack_pop(K_FOREVER)
  	k_stack_push
  Starting test. Please wait...
  TEST RESULT: FAILED
  DETAILS: timer tick happened. Results are inaccurate
  END TEST CASE

  PROJECT EXECUTION FAILED
  RunID: :2jvk

this is the same as #7906, so lets track this in one place


Hardware station

Hi, is Hardware station still not available component? The following article says it is available: https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/deployment/deploy-retail-onprem

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

ID: 3cf9a796-9280-5e52-4530-77e4154ff532
Version Independent ID: 1789b865-6c46-9597-7ad3-268af43ca7b4
Content: Retail capabilities that are available in on-premises deployments - Retail | Dynamics 365
Content Source: articles/retail/retail-onprem.md
Service: dynamics-ax-applications
GitHub Login: @aamirallaqaband
Microsoft Alias: aamiral

@AamirAllaq can you review this issue and update the topic if necessary?

Bug 313346 has been logged to track this issue.

Hi Oksana,
That is correct but we are currently working on providing support by the fall release.
Thanks,
Reza


Can't check if Bluetooth is available

Hi, I have a problem.
I can't check if Bluetooth is available or not, my code :
FlutterBlue.instance.isAvailable.then((value) => {
      text = "Compatible"
    }).catchError((e) => {
      text = "Incompatible"
    }, test: (e) => e is PlatformException);

I always have the error in the console, and my var still null.

Can you add the error that you get in the console?

This code should work to check when the bluetooth is available; could you try this and see if you get any error?
FlutterBlue.instance.isAvailable.then((bool isAvailable) {
  if (isAvailable) {
    print('bluetooth is available');
  } else {
    print('bluetooth is NOT available, device may be incompatible');
  }
});

This code should work to check when the bluetooth is available; could you try this and see if you get any error?
FlutterBlue.instance.isAvailable.then((bool isAvailable) {
  if (isAvailable) {
    print('bluetooth is available');
  } else {
    print('bluetooth is NOT available, device may be incompatible');
  }
});

The code work thanks !


Graph global state highlights

Not relevant anymore. See https://github.com/stoys-io/stoys-ui/pull/65 instead


Fixing routes so they work in Windows

Addresses https://github.com/shuding/nextra/issues/214
build nextra site on Windows
Before:
Click on nav links; no active class name added (because routes don't match)
After:
Active nav link has the active class

Thank you!


deadlock undetected in C program

We try starvation deadlock detector on these two C programs.
#include <pthread.h>
#include <stdio.h>
#include <unistd.h>

pthread_mutex_t lock1 = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_t lock2 = PTHREAD_MUTEX_INITIALIZER;

void *thread2(void *v)
{
        pthread_mutex_lock(&lock2);
        pthread_mutex_lock(&lock1);

        return NULL;
}

void *thread1(void *v)
{
        pthread_mutex_lock(&lock1);
        pthread_mutex_lock(&lock2);

        return NULL;
}

int main()
{
        pthread_t t1, t2;

        pthread_create(&t1, NULL, thread1, NULL);
        pthread_create(&t2, NULL, thread2, NULL);

        pthread_join(t1, NULL);
        pthread_join(t2, NULL);
        printf("ok\n");
        return 0;
}

#include <pthread.h>
#include <stdio.h>
#include <unistd.h>

pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;

void *thread(void *v)
{
        pthread_mutex_lock(&lock);
        pthread_mutex_lock(&lock);

        return NULL;
}

int main()
{
        pthread_t t;

        pthread_create(&t, NULL, thread, NULL);

        pthread_join(t, NULL);
        printf("ok\n");
        return 0;
}

The one above contains a cyclic deadlock lock1 -> lock2 & lock2 -> lock1, the one below contains a self-lock lock -> lock.
However, Infer fails to detect deadlock in these two programs.

The Infer version we use is v1.1.0.

The command line we enter is like this.

Is it because the way we use Inter is wrong or the version we use does not support deadlock detection?

Hi, the checker does not currently support pthread mutexes.

Thanks for your reply. So what kind of lock does it support, is it any buggy program example?

Which mutexes in C programs are supported? Or it cannot handle C programs and only focus on balanced locks in C++ programs?

The tests may be of interest: https://github.com/facebook/infer/tree/main/infer/tests/codetoanalyze/cpp/starvation
C++ mutexes are supported; balance is not required, though it helps with precision.

Thanks.


Why when I click the "Home" and "About" buttons it shows the 404 page?

Hi, tzvetkov,
I very appreciate that you can share this amazing theme with us.
I'm still a rookie on this and I'm getting into trouble now.
Why when I click the "Home" and "About" buttons it shows the 404 page?
Which file should I check out or modify with?

I ran hexo s and check the 2 buttons on the local host and got warnings like this.

And I open the "public" file and checked the index.html.

Hi PenchantLeo,
thank you for using and enjoying  the theme.

Regarding the Home button. Open the Solar theme configuration file  typically under themes/solar/_config.yml point the right home at the beginning of the config

nav:
 Home: /
 About: /about/
 Writing: /archives/

regenerate and restart the server

Regarding the About link. You need to create an about page.  This is a page like every other but must be in right folder create the page in sources/about/index.md , like this

mkdir sources/about
touch  source/about/index.md

Please let me know if this solves the problem
:-)

touch  source/about/index.md

Thank you Mr. tzvetkov!
Your ways REALLY HELPED!
I solved my issues with your methods just a couple of minutes ago.
I'm already stuck on this for several days.
My clumsy English can't express my appreciation!
Thank you so much again!
Mercy!

enjoy


Some changes for cleaning the sections after leaving a page.

Sry, the changes at the README.md are out of scope. But I missed it to change the readme and add the 'default' attribute to the sample code.
Also i run in trouble by using spapp with many objects in the sections. After leaving a section some times the application slows down. I solved this by clearing the sections content after leaving. Sections without a 'src' attribute will be ignored.

Greetings,
If i were to add a save button, the implementation code would go where? In the Controller module?
Thanks,
Everardo


Pulling events from entire vault without front matter

It would be nice if the calendar could pull from entire vault and show notes as events which have "Date:: [[2022-02-22]]"
Title is name of the note, if there is no endDate then the event takes place on that single date and if there isn't specified time then allDay is true. I find it really redundant to have all this specified in the note for all the whole day events.
I know, this is multiple request in one. First is pulling from entire vault, then parsing dataview's syntax with "::" outside of front matter and then defaulting to values which aren't specified. Just throwing it here.

Thanks for submitting this! I think there's three requests in this issue:

Pull events from the whole vault
Parse event title for dataview fields
Default to allDay=true if no time fields are present.

Request #1 is already possible by setting the vault root as a calendar. Unfortunately, request #2 isn't possible because : is not a valid character in a filename, and therefore it's not valid in a note title. See #41 for more context here. Request #3 is a good request, and I'll rename this issue to reflect this.
Going forward, please submit separate issues for each feature request. I'll only be tracking the request that is mentioned in the title.


Install from grafana-cli not working

Describe the bug
When installing via grafana cli, the installation is not detected.
Expected behavior
Plugin appear in grafana installed application.
Bypass method
The plugin is installed in the directory of plugins:
cat /etc/grafana/grafana.ini|grep plugin
Directory where grafana will automatically scan and look for plugins
plugins = /var/lib/grafana/plugins
But now graphana only expect it to be in dist, so the command
sudo -u grafana grafana-cli plugins install alexanderzobnin-zabbix-app
Create it in /var/lib/grafana/plugins/ and is not detected.
The command
sudo -u grafana grafana-cli --pluginsDir /var/lib/grafana/plugins/dist plugins install alexanderzobnin-zabbix-app
Create it in /var/lib/grafana/plugins/dist and it's detected correctly.
Software versions

Grafana
Zabbix
Grafana-Zabbix Plugin

6.0.2
N/A
3.10.1

I don't understand what you want to get. Any error after sudo -u grafana grafana-cli plugins install alexanderzobnin-zabbix-app? What's a result of cat /etc/grafana/grafana.ini | grep plugin?

I've got the same problem with Grafana version 6.1.4.
The plugin is installed in the /var/lib/grafana/plugins folder, but is not visible in the web interface.

@sdestivelle does it fail only with Grafana 6.1.4?

@alexanderzobnin I see that it is linked to the fact that at the start Grafana wants to contact the plugin repo from grafana.com and our installation is behind a proxy. So I think that it is not related to the new version of your plugin. Sorry. Thanks. Best regards.

@alexanderzobnin Sorry for the delay, I did not have the access to the host last week to get your answer.
Grafana version: grafana-6.0.2-1.x86_64
Config for plugin:
plugins = /var/lib/grafana/plugins
In fact I got no error/log whatsoever, it's just that the plugin does not appear in the interface and it's installed correctly in the directory "/var/lib/grafana/plugins", but It seems that Grafana expect it in "/var/lib/grafana/plugins/dist" (cause when I change the plugin default dir to the second directory it's detected correctly and appear in the interface).
I thought it was a bug from your side but considering the configuration dir is where the install happens, it should be the normal behavior.
Not sure what happens thought.
I'll close the issue, Thanks 👍 :)

Ok

i have  the a simular probleme can you help me  this is the error
root@ubuntu:/home/ubuntu# sudo -u grafana grafana-cli --pluginsDir /var/lib/grafana/plugins/dist plugins install alexanderzobnin-zabbix-app
Error: ✗ Failed to send request: Get "https://grafana.com/api/plugins/repo/alexanderzobnin-zabbix-app": context deadline exceeded (Client.Timeout exceeded while awaiting headers)


Sometime PowerRun Doesn't Work

Microsoft PowerToys version
0.62.1
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
Press Alt+Space While in any application or browser
✔ Expected Behavior
The Search bar should open up
❌ Actual Behavior
Couple of tries later it pops, Doesn't Start at first couple of times
Other Software
No response

Just found there's a setting called "Centralized Keyboard Hook". That fixed it. 😃


TypeError: navigator.clipboard is undefined

I receive an error when trying to use the Clipboard function of the tiles. It appears this issue happens on http connections and supposedly this should be the fix, though I have not tried it myself https://stackoverflow.com/questions/51805395/navigator-clipboard-is-undefined
TypeError: navigator.clipboard is undefined
    _updateObject http://<IP_ADDRESS>:30000/modules/moulinette-tiles/modules/moulinette-tileresult.js:89
    _onSubmit http://<IP_ADDRESS>:30000/scripts/foundry.js:2825
foundry.js:2828:15
    _onSubmit http://<IP_ADDRESS>:30000/scripts/foundry.js:2828

When you access your server, could you try using http://localhost:30000 rather than http://<IP_ADDRESS>:30000. The clipboard function only works if you're on a secure server (https) or "localhost". I'll also improved the exception handling in the module to show a 'warning' when the navigator clipboard is not available AND a workaround for the clipboard function from the toolbar.


mark links as P or U

You can't see if these are Projects or Units, a Person is involved in:

May be add "P_" or "U_" in front of the link?
And sort them alphabetically? (keep Lama and not Lama separated)

Fixed by https://github.com/illyz/serlo-highrise-report/commit/d2dd4ccf23cb85d00302da42a8ba93ee240151a2


differences-between-git-and-svn

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: differences-between-git-and-svn
Document link: svn-git-differences.md
My Issue/Suggestion
change this
Submits all local commits to the server. If other developers have pushed changes to the server that are not in your local app yet, you have to update/push first.
To this
Submits all local commits to the server. If other developers have pushed changes to the server that are not in your local app yet, you have to update/pull first.

Hi @JesperPeterse ,
Thank you for your feedback, good catch! I have corrected the text in this commit.
Best regards,
Maria


IO problem

I'm using an esp32c3 chip, but I'm having a really weird problem. If DHT11 DATA can only be used when it is connected to IO2 or 8 and 9, it can be used normally. However, connecting other I/O ports will always return -1 and so on. I checked the manual and found that these three usable IO ports are Strapping pins. Now if I want to connect DHT11 at other IO ports, what should I do?

I am also using esp32c3 chip, and i get same problem.  My ESP-IDF version is 5.2.2 and OS is Ubuntu 22.04.
When i use the GPIO 4, i can't get dht11 data status is -1.  However, Using the GPIO 4, everything is ok.  So the problem is Bug?
Looking forward to hearing from you. Thank you.


PYIC-2691 Updated log statement using parameterised strings.

Proposed changes
Updated all log statement currently using parameterised strings
What changed
Log statements

Why did it change

Issue tracking

PYIC-2691

Checklists
Environment variables or secrets

[ ] No environment variables or secrets were added or changed

[ ] Documented in the README
[ ] Added to deployment repository
[ ] Added to local startup repository

Other considerations

[ ] Update README with any new instructions or tasks

Tested against dev stack.


ignore pkgs that can't build with rebar or make

It seems the relx + mustache stuff is duplicated from another PR I just merged?

Yea, rebased.

So do we support packages with make? I'm guessing those are for erlang.mk, which we usually manage to handle too?

Right, I looked at what ones they were and they are supported. It is not for sure in the future going to be that way, but it is the best we can do at this time.

+1 once it passes.


Add multitenant support to allow keeping tenant specific data separated for the cached models.

This is my proposal of adding multi-tenant support to the cached models by implementing at model level (in a base model class or using a trait) a new method getCachePrefix that can be used to differentiate cache tags and keys by prefixing them with the tenant context (in the provided example the method is returning the connection name concatenated with the tenant database name).

Coverage decreased (-5.2%) to 94.34% when pulling 50c542dfedfe16f4b5ec5e82d58633b60332416f on lucian-dragomir:master into 403dc4105fb8aaffdcb4a83845eb18cd87cb39e1 on GeneaLabs:master.

I would recommend creating individual redis connections for each tenant, and handle it via configuration, instead of  implementing it in the code.

Sorry, didn't mean to close it.

I've been reading through you proposed changes some more, and feel this PR contains too many different changes (this that are not necessarily related to just implementing cache prefixing, but other refactoring as well). Would you mind stripping this PR down to only cache prefixing without any of the other refactoring, if possible? I don't necessarily want to merge all those changes.
If that's a problem, no worry, I'll implement cache prefixing soon.

Actually, sorry to flip-flop on this so much. I will be implementing cache key prefixes now, but not using this PR, as I don't want to incorporate everything it has. Thanks for submitting this, though. Sorry for not accepting your PR, hopefully next time! :)

Hi @lucian-dragomir this should be fixed in version 0.3.31. Please let me know how that works for you.

Hi @mikebronner,
I read your recommendation to use different cache connection for each tenant and I think it is the correct and safe approach.
Thank you also for the cache prefix feature!


Enhance the build script to support building and testing on Darwin

As discussed in https://github.com/apple/swift/pull/2137, we are getting the feeling that we should move build script logic for Darwin out of Swift's build-script-impl and into XCTest's own build script to reduce churn and enable better CI feedback. This PR is a first step towards making that happen.

Build and test are performed using xcodebuild actions, as the Swift
build-script-impl script has been doing in the past
Installation is not supported on Darwin
Uses the strategy pattern to isolate platform branching logic

This seems reasonable to me. I had always intended this script to be a stop gap until swift-pm was read enough to build all the things on all the platforms. Hopefully the script is a step toward unifying build logic and will help when that day comes.

Big +1 from me! This looks fantastic. 💯
I imagine this will continue working with the current Swift utils/build-script, correct? Let's kick off the test to make sure CI isn't going to break!

Thanks for the feedback, guys! I'll make the suggested adjustments the next time I'm at a dev workstation, which won't be until mid-week I expect.

Alright, I've made the updates now. @parkera @mike-ferris-apple could you request a test run when you have a second?

@swift-ci please test

Green! Merging now.

Follow-up: https://github.com/apple/swift/pull/2259


marker cluster

If used with marker cluster i get undefined?cache=false on method handleMarkerLayer(marker, callback)

Please provide a jsfiddle to debug this issue.

Same as https://github.com/mapbox/leaflet-image/issues/40 - noted in dac626b2963a95276fb1ddb6da2a445a9b495812 - marker clusters are not supported.


Error about E-measure.

Dear author, I would like to ask, in the process of paper re-emergence, according to the statement of the article (except for batch size replacement for 20) trained model of other indicators and the paper is very close, except E-measure difference is relatively large, is this in the acceptable range?
SINet_V2_Results：
CHAMELEON (  76 images): S: 0.894, E: 0.934, F: 0.825, M: 0.030
CAMO ( 250 images): S: 0.817, E: 0.870, F: 0.737, M: 0.072
COD10K (2026 images): S: 0.813, E: 0.864, F: 0.676, M: 0.036

E-measure has three types under different thresholding strategies, i.e., max, mean, and adapt. Which one did you adopt in the re-emergence?

The adapt one. So the paper uses the mean or max one？

We use the mean value of E-measure in our paper.

Thank you so much, I would try again.

Thank you for your attention to our paper. I will temporarily close this issue and you can open it anytime if you have further questions.


[BEAM-9160] Removed WebIdentityTokenCredentialsProvider explicit json (de)serialization in AWS module

As discussed in https://github.com/apache/beam/pull/10825#issuecomment-584869325 this changeset eliminates the direct enumeration of WebIdentityTokenCredentialsProvider in the supported identity providers for AWS, as it is already supported via the DefaultAWSCredentialsProviderChain in the latest AWS clients.
It is enabled by specifying --awsCredentialsProvider={"@type":"DefaultAWSCredentialsProviderChain"} in the AwsOptions.
See https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-core/src/main/java/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.java#L48 here for the relevant line in the AWS client.

Merged manually to adjust the commit message


Pact Verifier FFI Produces Excessive Logging

On FFI v0.3.19 running a very simple example in PactNet (here: https://github.com/pact-foundation/pact-net/tree/master/samples/Messaging/Provider.Tests), the verifier produces a wall of text for logging at INFO level.
There are only 38 lines, but each line is 10-12KB long.  It would be much better if most of that detail was output at DEBUG or TRACE level and the INFO level messages just contained a few important details.
This is the full output from the same example running under FFI 0.3.11 for example:
Verifier Logs
-------------
2023-01-05T17:44:06.123002Z  INFO ThreadId(17) pact_verifier: Running provider verification for 'a request to check the api status'
2023-01-05T17:44:06.123199Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request to provider at http://localhost:9222/
2023-01-05T17:44:06.123208Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request HTTP Request ( method: GET, path: /stats/status, query: None, headers: Some({"Accept": ["application/json"]}), body: Missing )
2023-01-05T17:44:06.209261Z  INFO ThreadId(17) pact_verifier::provider_client: Received response: HTTP Response ( status: 200, headers: Some({"date": ["Thu", "05 Jan 2023 17:44:06 GMT"], "transfer-encoding": ["chunked"], "server": ["Kestrel"], "content-type": ["application/json; charset=utf-8"]}), body: Present(127 bytes, application/json;charset=utf-8) )
2023-01-05T17:44:06.209333Z  INFO ThreadId(17) pact_matching: comparing to expected response: HTTP Response ( status: 200, headers: Some({"Content-Type": ["application/json; charset=utf-8"]}), body: Present(127 bytes) )
2023-01-05T17:44:06.213190Z  INFO ThreadId(17) pact_verifier: Running provider verification for 'a request to check the api uptime'
2023-01-05T17:44:06.213320Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request to provider at http://localhost:9222/
2023-01-05T17:44:06.213325Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request HTTP Request ( method: GET, path: /stats/uptime, query: None, headers: Some({"Accept": ["application/json"]}), body: Missing )
2023-01-05T17:44:06.218584Z  INFO ThreadId(17) pact_verifier::provider_client: Received response: HTTP Response ( status: 200, headers: Some({"date": ["Thu", "05 Jan 2023 17:44:06 GMT"], "transfer-encoding": ["chunked"], "server": ["Kestrel"], "content-type": ["application/json; charset=utf-8"]}), body: Present(77 bytes, application/json;charset=utf-8) )
2023-01-05T17:44:06.218613Z  INFO ThreadId(17) pact_matching: comparing to expected response: HTTP Response ( status: 200, headers: Some({"Content-Type": ["application/json; charset=utf-8"]}), body: Present(34 bytes) )
2023-01-05T17:44:06.221694Z  INFO ThreadId(17) pact_verifier: Running provider verification for 'a request to create a new event'
2023-01-05T17:44:06.221730Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request to provider at http://localhost:9222/
2023-01-05T17:44:06.221731Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request HTTP Request ( method: POST, path: /events, query: None, headers: Some({"Content-Type": ["application/json; charset=utf-8"], "Authorization": ["Bearer SomeValidAuthToken"]}), body: Present(118 bytes) )
2023-01-05T17:44:06.336834Z  INFO ThreadId(17) pact_verifier::provider_client: Received response: HTTP Response ( status: 201, headers: Some({"content-length": ["0"], "date": ["Thu", "05 Jan 2023 17:44:06 GMT"], "server": ["Kestrel"]}), body: Empty )
2023-01-05T17:44:06.336854Z  INFO ThreadId(17) pact_matching: comparing to expected response: HTTP Response ( status: 201, headers: None, body: Missing )
2023-01-05T17:44:06.339494Z  INFO ThreadId(17) pact_verifier: Running provider verification for 'a request to retrieve all events'
2023-01-05T17:44:06.339532Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request to provider at http://localhost:9222/
2023-01-05T17:44:06.339534Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request HTTP Request ( method: GET, path: /events, query: None, headers: Some({"Accept": ["application/json"], "Authorization": ["Bearer SomeValidAuthToken"]}), body: Missing )
2023-01-05T17:44:06.351961Z  INFO ThreadId(17) pact_verifier::provider_client: Received response: HTTP Response ( status: 200, headers: Some({"transfer-encoding": ["chunked"], "server": ["Kestrel"], "content-type": ["application/json; charset=utf-8"], "date": ["Thu", "05 Jan 2023 17:44:06 GMT"]}), body: Present(356 bytes, application/json;charset=utf-8) )
2023-01-05T17:44:06.351988Z  INFO ThreadId(17) pact_matching: comparing to expected response: HTTP Response ( status: 200, headers: Some({"Content-Type": ["application/json; charset=utf-8"]}), body: Present(119 bytes) )
2023-01-05T17:44:06.355414Z  INFO ThreadId(17) pact_verifier: Running setup provider state change handler 'there are events with ids '45D80D13-D5A2-48D7-8353-CBB4C0EAABF5', '83F9262F-28F1-4703-AB1A-8CFD9E8249C9' and '3E83A96B-2A0C-49B1-9959-26DF23F83AEB'' for 'a request to retrieve all events with no authorization'
2023-01-05T17:44:06.362411Z  INFO ThreadId(17) pact_verifier: Running provider verification for 'a request to retrieve all events with no authorization'
2023-01-05T17:44:06.362456Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request to provider at http://localhost:9222/
2023-01-05T17:44:06.362458Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request HTTP Request ( method: GET, path: /events, query: None, headers: Some({"Accept": ["application/json"]}), body: Missing )
2023-01-05T17:44:06.366034Z  INFO ThreadId(17) pact_verifier::provider_client: Received response: HTTP Response ( status: 401, headers: Some({"date": ["Thu", "05 Jan 2023 17:44:06 GMT"], "content-length": ["0"], "server": ["Kestrel"], "www-authenticate": ["Bearer"]}), body: Empty )
2023-01-05T17:44:06.366051Z  INFO ThreadId(17) pact_matching: comparing to expected response: HTTP Response ( status: 401, headers: None, body: Missing )
2023-01-05T17:44:06.368685Z  INFO ThreadId(17) pact_verifier: Running setup provider state change handler 'there is an event with id '83f9262f-28f1-4703-ab1a-8cfd9e8249c9'' for 'a request to retrieve event with id '83f9262f-28f1-4703-ab1a-8cfd9e8249c9''
2023-01-05T17:44:06.372134Z  INFO ThreadId(17) pact_verifier: Running provider verification for 'a request to retrieve event with id '83f9262f-28f1-4703-ab1a-8cfd9e8249c9''
2023-01-05T17:44:06.372189Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request to provider at http://localhost:9222/
2023-01-05T17:44:06.372191Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request HTTP Request ( method: GET, path: /events/83f9262f-28f1-4703-ab1a-8cfd9e8249c9, query: None, headers: Some({"accept": ["application/json"], "authorization": ["Bearer SomeValidAuthToken"]}), body: Missing )
2023-01-05T17:44:06.374012Z  INFO ThreadId(17) pact_verifier::provider_client: Received response: HTTP Response ( status: 200, headers: Some({"server": ["Kestrel"], "date": ["Thu", "05 Jan 2023 17:44:06 GMT"], "transfer-encoding": ["chunked"], "content-type": ["application/json; charset=utf-8"]}), body: Present(118 bytes, application/json;charset=utf-8) )
2023-01-05T17:44:06.374032Z  INFO ThreadId(17) pact_matching: comparing to expected response: HTTP Response ( status: 200, headers: Some({"content-type": ["application/json; charset=utf-8"]}), body: Present(119 bytes) )
2023-01-05T17:44:06.376912Z  INFO ThreadId(17) pact_verifier: Running setup provider state change handler 'there is one event with type 'DetailsView'' for 'a request to retrieve events with type 'DetailsView''
2023-01-05T17:44:06.380191Z  INFO ThreadId(17) pact_verifier: Running provider verification for 'a request to retrieve events with type 'DetailsView''
2023-01-05T17:44:06.380254Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request to provider at http://localhost:9222/
2023-01-05T17:44:06.380256Z  INFO ThreadId(17) pact_verifier::provider_client: Sending request HTTP Request ( method: GET, path: /events, query: Some({"type": ["DetailsView"]}), headers: Some({"Authorization": ["Bearer SomeValidAuthToken"], "Accept": ["application/json"]}), body: Missing )
2023-01-05T17:44:06.384950Z  INFO ThreadId(17) pact_verifier::provider_client: Received response: HTTP Response ( status: 200, headers: Some({"content-type": ["application/json; charset=utf-8"], "date": ["Thu", "05 Jan 2023 17:44:06 GMT"], "transfer-encoding": ["chunked"], "server": ["Kestrel"]}), body: Present(120 bytes, application/json;charset=utf-8) )
2023-01-05T17:44:06.384974Z  INFO ThreadId(17) pact_matching: comparing to expected response: HTTP Response ( status: 200, headers: Some({"Content-Type": ["application/json; charset=utf-8"]}), body: Present(120 bytes) )
2023-01-05T17:44:06.385559Z  WARN ThreadId(17) pact_matching::metrics:

Please note:
We are tracking events anonymously to gather important usage statistics like Pact version and operating system. To disable tracking, set the 'PACT_DO_NOT_TRACK' environment variable to 'true'.

That's much more readable and helps users track down any matching issues.

I've modified the logging to not log spans at INFO and above, only include minimal spans at DEBUG and all the spans at TRACE.


fix: LEAP-461: Fix displaying conditions for comments tab

Hi @Gondragos!
This PR was created in a response to PRs in upstream repos:

https://github.com/HumanSignal/label-studio-frontend/pull/1650

/git merge develop


Add # prefix to doc comment

This will fix broken rustfmt in CI.
cc https://github.com/rust-lang-nursery/rustfmt/issues/2787.

@topecongiro IIUC that # prefix will not display that line, but both that line and the first line should be displayed (the # on the previous line is part of #[cfg(...)]), so I am not sure that this is correct?


Upgrade to react-router beta 4

https://github.com/rackt/react-router/tree/master

Already on rc 1.


upcoming: [M3-8315] - Add EU Agreement to Linode Create v2

Description 📝

Adds the "EU Agreement" to Linode Create v2 🇪🇺

Should show if you have not previously agreed to the EU agreement and you are trying to deploy to an EU region

Preview 📷

How to test 🧪
Prerequisites

Use an account that does not have the eu_model agreement set to true (look for the /v4/account/agreements API request on the Linode Create page )

I am using devenv to do this because you can't unsign agreements as far as I know🙄

Verification steps

Verify the checkbox shows if

You have not agreed to the eu_model
You have selected an EU region

Verify you get a validation error if you try to create a Linode in an EU region when the checkbox is showing and you have not checked it
Verify that creating a Linode in an EU region causes the EU agreement to be signed

As an Author I have considered 🤔

[ ] 👀 Doing a self review
[ ] ❔ Our contribution guidelines
[ ] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[x] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[ ] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

Non-blocking: Just noticed... can we modify some margin in the EUAgreementCheckbox to line up the text and checkbox with those in the Add-ons section above it?
I think we can get rid of the negative margin on tablet size on down. And then make the left margin on the text 16 instead of 4.

Currently
Adjusted


Weird bug with gif emote

See https://youtu.be/6r5Z9Z7sLYM. Left chatterino2 on the right chatterino 1. Seems like the frames freeze or something (emote is https://manage.betterttv.net/emotes/5accc4b5c21edd1f504a70f1#)

I can confirm this one, on that specific emote, haven't seen it happen on something else though

This also happens with WanWan emote https://manage.betterttv.net/emotes/566462e07fc3c70d30096e2d
So it's not an isolated case.

Seems to be fixed. Please re-open if this still occurs.


[Feature] password on post

Hello,
In the next versions it could be interesting to allow the locking of a post by a password.
The objective is to allow access to a post thanks to a password in defined to certain visitors, this password is common to all visitors.

Hello,
The feature has just been added. Be careful however, the passwords are not restored in the admin for security reasons.
An override has been added for backward compatibility between Prestashop 8 and Prestashop 1.7, make sure it is in place if you are using Prestashop 1.7.
Do not hesitate to open an issue if you encounter any problems and thank you very much for participating in the improvement of this free Prestashop module.
Best regards


Cannot read property 'forEach' of undefined

Error: Uncaught (in promise): TypeError: Cannot read property 'forEach' of undefined
TypeError: Cannot read property 'forEach' of undefined
at DynamicFormService.webpackJsonp.361.DynamicFormService.createFormGroup (http://localhost:8100/build/0.js:2348:19)
at new FormsPage (http://localhost:8100/build/0.js:2655:44)
at createClass (http://localhost:8100/build/vendor.js:11291:26)
at createDirectiveInstance (http://localhost:8100/build/vendor.js:11109:37)
at createViewNodes (http://localhost:8100/build/vendor.js:12545:49)
at createRootView (http://localhost:8100/build/vendor.js:12440:5)
at callWithDebugContext (http://localhost:8100/build/vendor.js:13823:42)
at Object.debugCreateRootView [as createRootView] (http://localhost:8100/build/vendor.js:13140:12)
at ComponentFactory_.create (http://localhost:8100/build/vendor.js:10217:46)
at ComponentFactoryBoundToModule.create (http://localhost:8100/build/vendor.js:3691:29)
at c (http://localhost:8100/build/polyfills.js:3:13190)
at Object.reject (http://localhost:8100/build/polyfills.js:3:12546)
at NavControllerBase._fireError (http://localhost:8100/build/vendor.js:43700:16)
at NavControllerBase._failed (http://localhost:8100/build/vendor.js:43688:14)
at http://localhost:8100/build/vendor.js:43743:59
at t.invoke (http://localhost:8100/build/polyfills.js:3:8971)
at Object.onInvoke (http://localhost:8100/build/vendor.js:4248:33)
at t.invoke (http://localhost:8100/build/polyfills.js:3:8911)
at r.run (http://localhost:8100/build/polyfills.js:3:4140)
at http://localhost:8100/build/polyfills.js:3:13731
Ionic Framework: 3.3.0
Ionic App Scripts: 2.1.4
Angular Core: 4.3.5
Angular Compiler CLI: 4.3.5
Node: 6.10.3
OS Platform: Windows 7
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

@dt-1980 Hi!
Seems like you're calling createFormGroup() the wrong way. The first params needs to be of type Array<DynamicFormControlModel> and should not be undefined.

closed due to inactivity


favorite media bug

i dont know whats wrong but favorite media isint working. it has something to do with the code? sorry for lack of info im not good at reading code and im not tech smart either but please fix whatever it is.

wrong repo


Channel information and Formatting

Added endpoint function for getting channel information, also cleared up some formatting and documentation.

Pull Request Test Coverage Report for Build 596073605

8 of 10 (80.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 88.138%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

channels.go
8
10
80.0%

Totals

Change from base Build 542076608:
-0.1%

Covered Lines:
691

Relevant Lines:
784

💛  - Coveralls

Thanks @codedninja. I'll take a look over the next day or so.


i cant do post request in flutter web

When i try a post request to an api from flutter web using Dio package i have this error: XMLHttpRequest, this error had happened in mobile but i fixed with this configuration, i think its for "DioForBrowser" which is being using as the DefaultHttpClientAdapter for dio, i have been searching a configuration for DioForWeb but i cant found it, if i cant use Dio for Http Request in web, how do you do http requests with flutter web? can you show me an example of a post request
Future<Response<dynamic>?>createAdmin(String` email, String password) async {
       Dio dio = Dio();
       if (dio.httpClientAdapter is DefaultHttpClientAdapter) {
         (dio.httpClientAdapter as DefaultHttpClientAdapter).onHttpClientCreate =
             (HttpClient client) {
           client.badCertificateCallback =
               (X509Certificate cert, String host, int port) => true;
           return client;
         };
       }
       try {
         final response =
             await dio.post(('https://<IP_ADDRESS>:5001/api/Users/CreateAdmin'),
                 data: {
                   "item1": {
                     "userId": "string",
                     "name": "string",
                     "standardizedName": "string",
                     "lastName": "string",
                     "standardizedLastName": "string",
                     "fullName": "string",
                     "standardizedFullName": "string",
                     "profilePicUrl": "string",
                     "phoneNumber": "string",
                     "email": "string",
                     "roleId": 0,
                     "state": true,
                     "storeId": "string"
                   },
                   "item2": {
                     "image": "string",
                     "imageName": "string",
                     "folderName": "string"
                   }
                 },
                 options: Options(headers: {
                   HttpHeaders.contentTypeHeader: "application/json",
                   HttpHeaders.accessControlAllowOriginHeader: "*",
                   HttpHeaders.accessControlAllowCredentialsHeader: true,
                   HttpHeaders.accessControlAllowHeadersHeader:
                       "Origin,Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token,locale",
                   HttpHeaders.accessControlAllowMethodsHeader: "POST, OPTIONS"
                 }));
         if (response.statusCode == 201) {}
         return response;
       } catch (e) {
         print(e);
       }
       return null;
     }

Are you only getting the errors in the browser?
Did you read up on CORS and how it works?

I'm kind of new in the CORS topic, how can I configure it in flutter? Do I need to configure it in my API as well?

I'm sure CORS + flutter in google can help you out

@jgoyvaerts dio web adds headers to request which are not added in a  normal request, which means some request which shouldn't trigger preflight will trigger it.
You can google "Simple request" + "CORS"


feat: Add email validation and disable submit button for incomplete f…

…ields
This code adds real-time validation for email input and disables the submit button when the input is invalid or empty. The form will only be submitted if the email is valid, improving usability.

Contact Form Email Validation & Submit Button Fixes (#331, #307, #304)

read #64
Please dont create Pull Request, until you are assigned to work on it.


disk management

A must have would be to allow moving of the data directory completely or blob files (along with data / any db changes) : https://github.com/lbryio/lbry-sdk/issues/2723


Feature/file explorer app

Codecov Report

Merging #66 (3c2ad73) into development (3c2ad73) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 3c2ad73 differs from pull request most recent head 96fbaae. Consider uploading reports for the commit 96fbaae to get more accurate results

@@             Coverage Diff              @@
##           development      #66   +/-   ##
============================================
  Coverage        81.52%   81.52%
============================================
  Files               36       36
  Lines             1932     1932
============================================
  Hits              1575     1575
  Misses             357      357

Flag
Coverage Δ

clients-tests
65.78% <0.00%> (ø)

config-tests
96.00% <0.00%> (ø)

data-tests
95.71% <0.00%> (ø)

logging-tests
97.72% <0.00%> (ø)

models-tests
96.42% <0.00%> (ø)

plots-tests
0.00% <0.00%> (ø)

unit-tests
81.52% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!


CAMEL-10837: Migrate EIP patterns to adoc

This is ongoing work but I wanted to check that I'm doing well.
The main problem for now is that there are some links from the wiki to sections of the documentation (for example the Camel architecture section) that I don't find in the new adoc documentation.
Any idea, thoughts?
Regards,
Sebastien

Just remove links to those none existing docs. We will rewamp the docs with new material over the time.
At first its better to get each EIP migrated and let them be part of the auto generated docs.

@ouapdouap this PR has merge conflicts. Do you mind fixing them and update the PR?

You should not change the text between the START .. END in the readme file as its auto generated. So all the TODOs will be lost on rebuild.

Ok, didn't know that. I'll fix conflicts later today.

Just added so when you build camel-core you get a WARN for missing eip doc files.

Can you migrate the options in those files to be doing like the aggregate does with the START and STOP markers

I resolved conflicts. As grouping all eips in the eips folder seems ok, I'll keep working on the migration.
Whether you merge this PR now or once I finished the migration is up to you.
Let me know.

Ok, I'll do that

If an EIP doc is not in that WARN list, then its because its @Metadata label attribute does not start with eip. This can then be changed in the source code to have it in that list.

Ok thanks. I'll check the whole consistency of code and doc of EIPs

I suggest to get the last bits of this PR done with those START and END then we can get this merged. And then new doc changes you can do in another PR.

I think I'm ok with the START and END tags.

Ok for START/END options.
I'll start working on the missing files in another PR.

Thanks it was a bit harder to merge as we always rebase so I had to merge and squash the 23 commits.
You future PRs should be easier as we can merge them faster

Should I do smaller and more frequent PRs so they are easier to merge?

Yeah its easier to merge when there are 4-8 commits than 27 etc spread over 5 days. Also a problem was that we implemented that START END thingy in between and also changed some of the same files as you etc.


cmd/compile: if expression having parenthesis produces compilation error

What version of Go are you using (go version)?

$ go version go1.16.4 linux/amd64
and
$ go version go1.17.4 linux/amd64

What did you do?
https://go.dev/play/p/eIJEXrkKD8m
package main

import "log"

func main() {
	if T{}.Name() == "T" {
		log.Println("T")
	}
}

type T struct {}

func (t T) Name() string { return "T" }

I'd like to mention, that compiling with new(T) or extra parenthesis around T{}.Name() was successful. Seems to me that if T{ was parsed as beginning of the if scope.
At a first glance seems like two situations can be distinguished by having/not having a method call after parenthesis is closed
What did you expect to see?
Code compiled successfully
What did you see instead?
./prog.go:6:8: syntax error: unexpected . at end of statement
./prog.go:9:1: syntax error: non-declaration statement outside function body

A parsing ambiguity arises when a composite literal using the TypeName form of the LiteralType appears as an operand between the keyword and the opening brace of the block of an "if", "for", or "switch" statement, and the composite literal is not enclosed in parentheses, square brackets, or curly braces. In this rare case, the opening brace of the literal is erroneously parsed as the one introducing the block of statements. To resolve the ambiguity, the composite literal must appear within parentheses.
if x == (T{a,b,c}[i]) { … }
if (x == T{a,b,c}[i]) { … }

https://go.dev/ref/spec#Composite_literals


No exampe for Trading Environments

[ ] I have marked all applicable categories:

[ ] exception-raising bug
[ ] RL algorithm bug
[ ] system worker bug
[ ] system utils bug
[ ] code design/refactor
[ x] documentation request
[ ] new feature request

[x ] I have visited the readme and doc
[x ] I have searched through the issue tracker and pr tracker
[ x] I have mentioned version numbers, operating system and environment, where applicable:

I went over the examples folder and I see multiple examples of agents learning from the existent environments but there is not example of an agent using this: https://github.com/opendilab/DI-engine/tree/main/dizoo/gym_anytrading
I tried based on current examples and no luck

There is a tutorial for gym-anytrading.


Graph visualization for Incoming/Ougoing view

@lszomoru
the incoming/Outgoing appears at the end of the changes visible in the SCM panel. not always visible.
one has to scroll all the way down to view it.
any plans to make this as a separate view in the SCM panel?

@sanket-bhalerao, thank you very much for the feedback.
For the time being we do not have plans to move this into a separate view but we will continue to listen to user feedback.

@lszomoru the incoming/Outgoing appears at the end of the changes visible in the SCM panel. not always visible. one has to scroll all the way down to view it. any plans to make this as a separate view in the SCM panel?

I also like this idea.

the Graph is now separated and has its own panel/pane. awesome.


BackendTLSPolicies should be rejected if PolicyStatus.Ancestors slice is full.

According to the spec:

A maximum of 16 ancestors will be represented in this list. An empty list means the Policy is not relevant for any ancestors.

If this slice is full, implementations MUST NOT add further entries. Instead they MUST consider the policy unimplementable and signal that on any related resources such as the ancestor that would be referenced here. For example, if this list was full on BackendTLSPolicy, no additional Gateways would be able to reference the Service targeted by the BackendTLSPolicy.

Currently, there is no logic in the code that checks if the ancestors slice is full on BackendTLSPolicies.
Note, all NGF policies that use PolicyStatus will also have to implement this logic.

We check this here: https://github.com/nginxinc/nginx-gateway-fabric/blob/b37071d0ad97e26f1bfc8ec5bd299d11588ab290/internal/mode/static/state/graph/backend_tls_policy.go#L114

@ciarams87 my bad, I totally missed it! Closing this

@ciarams87 do we add a condition to the Gateway if we can't attach the policy because the ancestors slice is full?

No, we don't add any Gateway conditions relating to BackendTLS policies IIRC

I wonder if we need to. This part of the spec makes me think we do:

Instead they MUST consider the policy unimplementable and signal that on any related resources such as the ancestor that would be referenced here

Yeah I think you are right! I missed that completely


Add feature security disabled

We need to be able to disable "security" for testing purpose.

Done:
security.enabled=true or false


jrnl import date shifted

When using the Import jrnl function, it looks like the date is skewed by one day.  Mini Diary imports the date for say 3/29 as 3/28.
Below is the jrnl export file contents.
{
  "entries": [
    {
      "body": "This is March 29th",
      "date": "2020-03-29",
      "starred": false,
      "time": "09:00",
      "title": "Default"
    }
  ],
  "tags": {}
}

It's working as expected for me. Are the tests passing on your machine?

Sorry I'm a noob with node/electron, and I'm not sure how to run the tests.  I'm also not able to successfully run 'yarn start' since I don't have a proper X session and using WSL.  I'll try to find another platform to build the app with in the meantime.
Let me know if there's an easier way to run the test or if there's other info I can provide.
Thanks for looking into it since I'd really like to use your app!

I think that the issue is related to how the Date object works.
If a YYYY-MM-DD string is passed to the object constructor, it will be parsed with the GMT time zone,
but when the method toString() is called, it will return the timestamp in the local time zone, causing the shift.
> d = new Date("2019-03-29")
2019-03-29T00:00:00.000Z
> d.toString()
Thu Mar 28 2019 18:00:00 GMT-0600 (GMT-06:00)

If a YYYY-MM-DD HH:mm:ss string is passed to the constructor, it will be parsed with the local time zone
and when the method toString() is called, it will return the correct timestamp.
> d = new Date("2019-03-29 00:00:00")
2019-03-29T06:00:00.000Z
> d.toString()
Fri Mar 29 2019 00:00:00 GMT-0600 (GMT-06:00)

Currently the parseJrnlJson method parses only the date field ignoring the time field in the exported jrnl file.
A solution could be parsing the entry date using both the date and the time fields.
The only concern I have about this solution is that the jrnl app doesn't record any time zone info in the exported file and this could be a problem when the jrnl diary is imported in a time zone
different from the one it was exported.

Interesting, I wasn't aware of that. Thanks for the detailed explanation, @CosimoG!
If I understand this correctly, calling toUTCString instead of toString should fix it then. This means Mini Diary will parse and store data in GMT, which should simplify things.

@jrmillerUSA Has v3.1.0 fixed this for you?

@jrmillerUSA Has v3.1.0 fixed this for you?

I haven't been able to test properly as a result of the calendar bugs (I can't actually get to my entry).  Will confirm once those are fixed.  Thanks for the quick fix!

Confirmed this is now addressed.  Thanks again!


Removed information about merged fork of lf, lf-sixel

Sixel graphics is supported on upstream lf
As mentioned on the fork

That's awesome news!
I'm not sure if I should merge this now. A lot of users must be still using an old version of lf without sixel support, and when they will try to follow our new documentation it won't work. I've had this issue when on-quit command was added in lf.


fix: remove globalProperties

Fixes something I spotted after #53 was merged
globalProperties is not supported AFAIK and was removed from the original PR except in the mergeGlobalProperties utils.
With the various parameters correctly typed, the code was throwing a compilation error as TS can spot that globalProperties is not a key of GlobalMountOptions.

Good catch


import best practices from the reference

see https://trello.com/c/y9C6TSES/30

see also crate/crate#6062


benchmark range requests vs the current StreamingReadFile setup

The current streaming read file setup does a single request, rather than 1 request per chunk, but this means it can't recycle connections and can cause GCE to throttle the connection rate (as noticed by @jacobhilton here: https://github.com/christopher-hesse/blobfile/issues/116).
The single request model seemed more efficient when reading large files, but it's possible that's not the case if buffer sizes are set high enough.  This should be tested as it looks like it would simplify a few things to just have the range requests instead.

Single streaming request: only does 1 GET request ideally, which reduces operation count, also the buffer size can be quite small since the operating system will buffer the packets of the response
1 request per chunk: this is much simpler, but seems to require a larger buffer size to make this work well, as well as having to do a larger number of requests

Added a debug flag, USE_STREAMING_READ_REQUEST, to try this out

It remains to be seen if this is a GCE issue or some issue with the test machine.

This was never investigated, so assuming it's a configuration issue on the user's side.


American sign language web app

Pull Request for DL-Simplified 💡
Issue Title : [Feature Addition]: Web Application for American Sign Language Detection #540

Info about the related issue (Aim of the project) : Web Application for American Sign Language Detection already created model
Name: Adhithyan VP
GitHub ID: Adhivp
Email ID<EMAIL_ADDRESS>Idenitfy yourself:  GSSOC 2024

Closes: #540
Describe the add-ons or changes you've made 📃
Give a clear description of what have you added or modifications made
Type of change ☑
What sort of change have you made:

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

How Has This Been Tested? ⚙
Describe how it has been tested

It was tested in my local system
Describe how have you verified the changes made

Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added things that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.

Hi @abhisheks008 , I have added maximum designs and instructions for the web app . I hope it's eligible for Level3 , please let me know if there is anything else I can do to get Level3


Added [cmd] commands to manage command files from within the server.

Added some commands to manage the commandsigns commands.
/cs cmd set
Sets a commandsign command. Will create or edit a text file with said content in the commandsign folder basically
/cs cmd remove
deletes a text file in the command directory
/cs cmd link [name]
links a command, so you can  click a commandsign with a stick to change the signs command to the one linked
when used without a name, will unlink the command, freeing you to cycle currencies.
/cs cmd list
lists all the text files in the cmd dir. has a link and delete button you can press.
Basically a project i did for fun to learn java (First time using the language, tbh)
Originally was going to see if i could convert the storage sources to include some modded ones but sponge doesn't natively support it yet apparently, Oof.
Feel free to add it, modify or reject it. Honestly probs not that secure then again commandsigns run from console anyway so its really just for owners..

As commands are run with console permissions, my original idea was to prevent anyone without console/file access to setup cmd signs.
I'm open to discussion

All good. I just figured it would be interesting to be able to give admins the ability to link signs, so they can for example move a command sign if they want to restructure spawn without actually being able to edit the content, and give the commands human readable names / have multiple signs execute the one command, etc. Plus some owners would give console access but not file access for whatever reason.


Error 500 crash when creating a data trigger for a datastream object interface

Trying to create a data trigger for a Datastream Object interface results in a 500 Internal Server Error from APIs.
Trigger source:
{
    "name": "trigger_for_datastream_object",
    "action": {
        "http_url": "http://domain.com/webhook",
        "ignore_ssl_errors": false,
        "http_method": "post",
        "http_static_headers": {}
    },
    "simple_triggers": [
        {
            "type": "data_trigger",
            "interface_name": "my.simple.DatastreamObject",
            "interface_major": 0,
            "on": "incoming_data",
            "match_path": "/simple/endpoint",
            "value_match_operator": ">",
            "known_value": 0
        }
    ]
}

Related interface:
{
    "interface_name": "my.simple.DatastreamObject",
    "version_major": 0,
    "version_minor": 1,
    "type": "datastream",
    "ownership": "device",
    "aggregation": "object",
    "mappings": [
        {
            "endpoint": "/simple/endpoint",
            "type": "double"
        }
    ]
}

This happens because Realm Management replies with a generic error with name invalid_object_aggregation_trigger, but this is not handled here so the conversion to existing atom fails.
A clause handling that error (and the relative JSON error template) should be added to RealmManagement.APIWeb.FallbackController.

This happens because Realm Management replies with a generic error with name invalid_object_aggregation_trigger, but this is not handled here so the conversion to existing atom fails.
A clause handling that error (and the relative JSON error template) should be added to RealmManagement.APIWeb.FallbackController.

Closed by #686


Error compiling scss

@import '~bootstrap/scss/bootstrap';
@import '~shards-ui/src/scss/shards';

I receive the following error located here
https://github.com/DesignRevision/shards-ui/blob/master/src/scss/_variables.scss#L744
$popover-arrow-outer-width:           ($popover-arrow-width + 1px) !default;
                                     ^
      Incompatible units: 'px' and 'rem'.

The $popover-arrow-width variable uses px a few lines above in Shards.
Please make sure that you are using the beta-1 version of Bootstrap 4 or that you are not changing the value type somewhere in between.

Oh, haven't noticed that, thanks for pointing it out. Please let me know if using beta-1 fixes your issue.

It does fix it. Rolling back is not a fix though, do you plan to support bootstrap 4b2?

Adding support for beta-2 is on the list, but not a priority yet. If v4-stable doesn't ship by then, expect some movement in that direction starting early next year.

At least you might consider changing the README.md, otherwise anyone who tries to install it via npm will hit this error. I bumped into it a few moments ago, good thing I was subscribed to the issues and was aware of this.

I'm having this same problem when loading bootstrap 4.3.1

me too, can we reopen this issue please?

@piuccio @tajchumber Can you please share the error you are receiving here?

@hisk The issue is here
The error I get is:
Module build failed: ModuleBuildError: Module build failed:
$popover-arrow-outer-width:           $popover-arrow-width + 1px !default;
                                     ^
      Incompatible units: 'px' and 'rem'.

I encountered this problem while trying to use shard-dashboard-lite inside a next.js project using sass.
If I import @import "shard-dashboard-lite/src/shards-dashboard/styles/shards-dashboards.1.1.0.min.css"; everything works fine, but when I use @import "shard-dashboard-lite/src/shards-dashboard/styles/scss/shards-dashboards.scss"; I get the error
$popover-arrow-outer-width:           $popover-arrow-width + 1px !default;
                                     ^
      Incompatible units: 'px' and 'rem'.
      in .../node_modules/shards-ui/src/scss/_variables.scss (line 759, column 39)

I'm using
"bootstrap": "4.3.1",
"node-sass": "4.11.0",
"shards-react": "1.0.3"

@tajchumber @piuccio The issue is cause due to the fact that Shards does not currently support Bootstrap 4.3.x. Please check and make sure that you are using Bootstrap 4.1.x 😄
Support for the latest version is coming soon.

@hisk this problem persists with Bootstrap 4.1.3 as well

@hisk I have a same problem. I use bootstrap: 4.3.1. Please fix it

Same errors here:
4.3.1 - Error: Incompatible units: 'px' and 'rem'.
4.1.3 - Error: Incompatible units: 'px' and 'rem'.
4.0.0-beta - Error: (en: "Choose file...") isn't a valid CSS value

i just imported bootstrap after 'shards-dashboards' it worked.

There are known factors that can cause this issue depending on the environment and dependencies versions. Our team will provide a fix as soon as possible. Thank you for your patience!

problem is with this line:759
$popover-arrow-outer-width:           $popover-arrow-width + 1px !default;
i removed "!default" from $popover-arrow-width variable in line 755 and my problem solved!

Fixed in #57

Having the same issue
code
@import '~bootstrap/scss/bootstrap';
@import '~shards-ui/src/scss/shards';

Version
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "shards-react": "^1.0.3",
    "bootstrap": "^4.6.0",
    "node-sass": "^5.0.0",


Vue-effector, passing shape of stores fails with error

Code to reproduce the issue:
<template>

Counter: {{state.count}}

    <button @click="increment">increment</button>

</template>

Expected behavior:
No errors
Actual behavior:
[Vue warn]: Error in created hook: "Error: property should Store"
Error: property should Store
[Vue warn]: Property or method "state" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property
Versions of packages used:
effector: 20.2.1
effector-vue: 20.2.1
vue: 2.6.10

IssueHunt Summary

 goodmind has been rewarded.
Backers (Total: $40.00)

 issuehunt ($40.00)

Submitted pull Requests

#202 effector-vue 20.2.0

Tips

Checkout the Issuehunt explorer to discover more funded issues.
Need some help from other developers? Add your repositories on IssueHunt to raise funds.

IssueHunt has been backed by the following sponsors. Become a sponsor

As far, as I can tell, @goodmind fixed bug, so I'm closing the issue


OAuth2 filter:  add domain to token cookies.

Title: One line description
Description:
The OAuth2 filter stores ID and access tokens in cookies without specifying Domain. It would be super useful if a domain could be specified, then users don't have to login every subdomains.
[optional Relevant Links:]

Any extra documentation required to understand the issue.

Envoy Gateway issue: https://github.com/envoyproxy/gateway/issues/3919

/assign

cc @derekargueta @mattklein123


IsValidJSON() descriptor

Added a descriptor for IsValidJSON()
PR closes #1316

Hi @gagan-bhullar-tech ,
thank you for your contribution!
It was pleasure to review it, from the technical point of view everything looks really good 👍
I only have two requests:
1/ one regarding the naming. Could you please rename the descriptor from IsJSONValid() to IsValidJSON(). We prefer to maintain consistency across all descriptors by using statement formats rather than questions for the naming convention.
2/ and one more regarding the dosc. Could you please add the descriptor to the list of all descriptors under Text Evals heading on the documentation page.

@emeli-dral updated PR. Please review.

@gagan-bhullar-tech
Thanks for the update! It looks great 👍
Let's fix tests and we merge it.
Please take a look at error messages (I believe messages are the same in all tests), it is something minor with class paths registration.

@emeli-dral updated PR

@emeli-dral not sure why that single test is failing. This does not look like related to my code.

Hi @gagan-bhullar-tech,
All tests have successfully passed, and we’re ready to merge your PR!
Thank you for your hard work!


Search Button enhancement in the gallery page

I want to upgrade this search button 👍🏻

Adding style to the button
Adding hover effect
Adding validation to the search box
Making it workable by hitting enter also

Please assign me in this issue if needed
Thank You @Anupkjha2601

hey, I wanted to contribute to this issue under GSsoc'23, can you please assign this issue to me.


RFE: cargo compilation integration

It would be great to integrate with cargo in a manner similar to how compilation works in other modes (run a command to compile; "C-c C-c" or "M-x compile" or such, and then "C-x `" ("M-x next-error") to jump to the next error in the source file).
Although "M-x compile" can be set to invoke cargo build, this integrates poorly with next-error since the output is not really formatted for use with that, and a lot of things are selected as errors in the compile output that really aren't.

Yeah this would be great. The output could really benefit from some nicer formatting, see #92. And yeah, a lot of times the first error (?) is properly highlighted but if I go past it then want to go back, it won't select it (with M-n and M-p).

Integrating next-error etc. shouldn't be too hard as it's designed so developers can adapt the regular expressions catching errors. A big benefit of Rust is that the tooling is very "standard", so I think rust-mode should strife for a simple solution first (by integrating into existing tooling like M-x compile)

For what it's worth, I created a package for Cargo integration a few days ago.
https://github.com/attichacker/cargo.el
Currently doesn't have next-error support, but that's something I could work on.

@AtticHacker Any reason why you didn't use compile as a base? I think it's generally nicer to use existing well-known infrastructure instead of inventing your own.
Rolling your own stuff always means more trouble for the user: New unknown keybindings, incompatibility with existing tools and customizations, etc. etc.

@the-kenny Good question, the answer is simply that I wasn't aware of compilation-mode! I've changed my package so that it uses it now. I have to say I'm quite surprised how well it works out of the box.

@AtticHacker Awesome :) I'll give it a shot this weekend.

rust-mode has code in it that is intended to make next-error find errors correctly when cargo and/or rustc are run through compile.  It looks like as of now it behaves correctly for actual errors, but misbehaves on the notes. That's a bug that should be fixed.
Besides not handling notes correctly, are there other issues anyone is seeing when running cargo through compile?

Yeah, the one I mentioned here, although I don't know if it's caused by notes, in which case it's covered by what you said.
Aside from that, there's #92 although those aren't really issues, more like annoyances. One is that the path shown for each error/note/warning is the absolute path of the file, which can be very long and cause annoying wrapping on the error/note/warning messages. If it's not possible to show a relative path (preferably relative to the cargo root, which I think is how cargo shows it by default though I don't remember exactly), it would be nice if it were possible to start the error message on its own line, after the file line:column information.

I think this should be fine now. If not, feel free to open another issue.


Transparent WebView not working on MacOS

Describe the bug
Transparent WebView not working on MacOS
Steps To Reproduce

Clone the wry example
Change line 61 of examples/transparent.rs:

diff --git a/examples/transparent.rs b/examples/transparent.rs
index 96b26dd..9960ff9 100644
--- a/examples/transparent.rs
+++ b/examples/transparent.rs
@@ -58,7 +58,7 @@ fn main() -> wry::Result<()> {
     // And the last is in html.
     .with_html(
       r#"
-
+


Throw a better error when trying to edit a blob/file larger than 50MB

Fixes https://github.com/microsoft/vscode-azurestorage/issues/666

Here's the new error message:


add ncnn backend

add ncnn backend
fix run with one backend must install all other backends

why is the source demo_mnn/python/demo_mnn.py ?

I run with onnx backend with nanodet.onnx, everything is ok.
But when I export nanodet.onnx to ncnn and run, no object detected.
Help!

why is the source demo_mnn/python/demo_mnn.py ?

I don't know.
This file contain torch mnn onnx.

Sorry, can you move the ncnn Python demo to demo_ncnn folder?

Sorry, can you move the ncnn Python demo to demo_ncnn folder?

why both of you only care about the code path...

Sorry, can you move the ncnn Python demo to demo_ncnn folder?

why both of you only care about the code path...

Cuz the wrong path will mislead users...
Now we have python demos with onnx, mnn, ncnn and PyTorch backends. Should all of these python demos be put in one folder or independently? Let's discuss this issue later...
By the way, is the pyncnn demo producing the correct result?

Sorry, can you move the ncnn Python demo to demo_ncnn folder?

why both of you only care about the code path...

Cuz the wrong path will mislead users...
Now we have python demos with onnx, mnn, ncnn and PyTorch backends. Should all of these python demos be put in one folder or independently? Let's discuss this issue later...
By the way, is the pyncnn demo producing the correct result?

no, the same preprocess and postprocess as onnx, only infer with ncnn, I don't know why get wrong result.