Experiment wont log unless wandb.init called every time you log

wandb --version && python --version && uname

Weights and Biases version: 0.8.31
Python version: 3.6
Operating System: Mac

Description
I am running some hyper parameter tuning experiments with a run for each configuration. I also have a run which tracks some experiment level metrics of how each configuration compares to others etc. However, when I try to log the experiment level metrics, nothing shows up for that run on my dashboard, even if I try to log it to a separate project. If I dont have runs for each configuration or if I call wandb.init before each call to wandb.log then it does show up, but that increases the latency significantly.
What I Did
class CloudExecutor(RayTrialExecutor):

    def __init__(self,
                 queue_trials=False,
                 reuse_actors=False,
                 ray_auto_init=False,
                 refresh_period=RESOURCE_REFRESH_PERIOD,
                 name="Executor",
                 use_wandb=False):
        super(CloudExecutor, self).__init__(queue_trials, reuse_actors, ray_auto_init, refresh_period)
        self._use_wandb = use_wandb
        self._name = name
        self._step = 0
        if use_wandb:
            wandb.init(project=self._name, name="executor", reinit=True, resume=True)

    def on_step_begin(self, trial_runner):
        """Before step() called, update the available resources."""
        self._update_avail_resources()
        if self._use_wandb and len(trial_runner.get_trials())>0:
            self.log_wandb(trial_runner)
        self._step += 1

    def log_wandb(self, trial_runner):
        """ Log experiment level metrics for trials on result
            WARNING: currently only works for sequential due to toal timesteps
        """
        if len(trial_runner.get_trials()) == 0:
            metric_val = 0
        elif trial_runner.scheduler_alg._mode == "max":
            metric_val = max([t.last_result.get(trial_runner.scheduler_alg._metric, -np.inf)
                       for t in trial_runner.get_trials()])
        else:
            metric_val = min([t.last_result.get(trial_runner.scheduler_alg._metric, np.inf)
                       for t in trial_runner.get_trials()])
        min_iteration = max([t.last_result.get("training_iteration", 0)
                             for t in trial_runner.get_trials()])
        if metric_val != -np.inf and metric_val != np.inf:
                wandb.init(project=self._name, name="executor",
                           id="executor", resume="executor", reinit=True)
                wandb.log({
                    "top_" + trial_runner.scheduler_alg._metric: metric_val,
                    "num_trials": len([t for t in trial_runner.get_trials() if t.status == Trial.RUNNING])
                }, step=min_iteration, commit = False)
            wandb.join()

Hey @lisadunlap, you should only call wandb.init once per python process.  Also, the id must be different for each experiment.  You should only use the same id if you're resuming a previous experiment.
By specifying commit=False this means the data will not be logged to W&B until the process finishes or another call to log occurs.
Calling wandb.log will flush metrics to disk so if there are lot of them it may slow down training.  To have the flushing happen asynchronously you can specify sync=False to your call to wandb.log.
I'm not familiar with the TrialExecutor.  I think the issue you're seeing is caused by the commit=False argument.  Removing it and the second call to wandb.init should make things work.  Please attach the debug.log if you're still seeing it not work.

No dice :( TrialExecutor is a class that handles the execution of trials, which are different hyper parameter configurations.
debug.log

I believe what's happening is you're not calling wandb.init in the same process that is actually doing the training.  I would try printing os.pid in different places in the code to see what's going on.  You need to call wandb.init in the same python process as the one calling wandb.log.  Perhaps you could instrument whatever is returned from get_trainable_cls.

Thank you for the quick reply! I printed out the process ids and they do match in the places where I call init and where I call log. One thing that I forgot to mention though is that I commonly get these two errors:
ERROR Error while calling W&B API: Error 1213: Deadlock found when trying to get lock; try restarting transaction (<Response [500]>)
and
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.wandb.ai/files/lisadunlap/ccb_lsa_ucb_04-09_02-14-20/3n1tldai/file_stream
The Client Error is for the run that is not logging anything. I also tried to remove the special characters from the project name but the error is still there.

Thanks for the additional info Lisa! @raubitsj is going to take a look.

感谢您的附加信息丽莎！@raubitsj要去看看
similar problem here, `2020-04-26 17:47:56,938 ERROR   Thread-21 :20672 [internal.py:execute():113] 400 response executing GraphQL.
2020-04-26 17:47:56,938 ERROR   Thread-21 :20672 [internal.py:execute():114] {"errors":[{"message":"entityName required for project query","path":["project"]}],"data":{"project":null}}
2020-04-26 17:47:56,938 ERROR   Thread-21 :20672 [run_manager.py:check_status():469] Failed to check stop requested status: 400 Client Error: Bad Request for url: https://api.wandb.ai/graphql
Traceback (most recent call last):
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\apis_init_.py", line 60, in wrapper
return func(*args, **kwargs)
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\apis\internal.py", line 643, in check_stop_requested
'projectName': project_name, 'entityName': entity_name, 'runId': run_id,
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\retry.py", line 95, in call
result = self._call_fn(*args, **kwargs)
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\apis\internal.py", line 116, in execute
six.reraise(*sys.exc_info())
File "C:\Users\zkx74\Anaconda3\lib\site-packages\six.py", line 696, in reraise
raise value
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\apis\internal.py", line 110, in execute
return self.client.execute(*args, **kwargs)
File "C:\Users\zkx74\Anaconda3\lib\site-packages\gql\client.py", line 52, in execute
result = self._get_result(document, *args, **kwargs)
File "C:\Users\zkx74\Anaconda3\lib\site-packages\gql\client.py", line 60, in _get_result
return self.transport.execute(document, *args, **kwargs)
File "C:\Users\zkx74\Anaconda3\lib\site-packages\gql\transport\requests.py", line 39, in execute
request.raise_for_status()
File "C:\Users\zkx74\Anaconda3\lib\site-packages\requests\models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.wandb.ai/graphql

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\run_manager.py", line 467, in check_status
run_id=self.run.id)
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\apis_init.py", line 62, in wrapper
raise CommError(err.response, err)
wandb.apis.CommError: <Response [400]>
2020-04-26 17:47:57,342 INFO    MainThread:20672 [run_manager.py:_sync_etc():1295] received message from user process: {"save_policy": {"glob": "act_fun-relu_net_arch-vf-64_64_pi-64_64_l2_scale-0.01_agent_state-True_episode-50000_EP_LEN-750_n_training_envs-1_GPU-0_save_freq-15000_eval_freq-15000", "policy": "live"}}
2020-04-26 17:47:57,342 INFO    MainThread:20672 [run_manager.py:_sync_etc():1295] received message from user process: {"save_policy": {"glob": "events.out.tfevents.1587894477.PC", "policy": "live"}}
Name': entity_name, 'runId': run_id,
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\retry.py", line 95, in call
result = self._call_fn(*args, **kwargs)
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\apis\internal.py", line 116, in execute
six.reraise(*sys.exc_info())
File "C:\Users\zkx74\Anaconda3\lib\site-packages\six.py", line 696, in reraise
raise value
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\apis\internal.py", line 110, in execute
return self.client.execute(*args, **kwargs)
File "C:\Users\zkx74\Anaconda3\lib\site-packages\gql\client.py", line 52, in execute
result = self._get_result(document, *args, **kwargs)
File "C:\Users\zkx74\Anaconda3\lib\site-packages\gql\client.py", line 60, in _get_result
return self.transport.execute(document, *args, **kwargs)
File "C:\Users\zkx74\Anaconda3\lib\site-packages\gql\transport\requests.py", line 39, in execute
request.raise_for_status()
File "C:\Users\zkx74\Anaconda3\lib\site-packages\requests\models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.wandb.ai/graphql
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\run_manager.py", line 467, in check_status
run_id=self.run.id)
File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\apis_init.py", line 62, in wrapper
raise CommError(err.response, err)
wandb.apis.CommError: <Response [400]>
2020-04-26 17:47:57,342 INFO    MainThread:20672 [ziaz7pye:run_manager.py:_sync_etc():1295] received message from user process: {"save_policy": {"glob": "act_fun-relu_net_arch-vf-64_64_pi-64_64_l2_scale-0.01_agent_state-True_episode-50000_EP_LEN-750_n_training_envs-1_GPU-0_save_freq-15000_eval_freq-15000", "policy": "live"}}
2020-04-26 17:47:57,342 INFO    MainThread:20672 [ziaz7pye:run_manager.py:_sync_etc():1295] received message from user process: {"save_policy": {"glob": "events.out.tfevents.1587894477.PC", "policy": "live"}}
`

Hey folks
In the past year we've majorly reworked the CLI and UI for Weights & Biases. We're closing issues older than 6 months. Please comment to reopen.


When I run flutter run I am getting this issue Flutter (Channel unknown, v0.0.0-unknown, on Microsoft Windows [Version 10.0.18362.657], locale en-IN)     X Command exited with code 128: git -c log.showSignature=false log -n 1 --pretty=format:%ad --date=iso       Standard error: fatal: your current branch 'stable' does not have any commits yet

Duplicate of https://github.com/flutter/flutter/issues/50902

I'm getting the same issue:
Running pub upgrade...
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel unknown, v0.0.0-unknown, on Microsoft Windows [Version 10.0.17763.1039], locale en-US)
X Command exited with code 128: git -c log.showSignature=false log -n 1 --pretty=format:%ad --date=iso
Standard error: fatal: unterminated line in .git/packed-refs: ...
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.2)
[√] Connected device (1 available)
! Doctor found issues in 1 category.
PS E:\project_apps\bazarpanda>


Import content from GitBook

:warning: Validation status: warnings

File
Status
Preview URL
Details

LauragraDocset0317235153/TOC.md
:warning:Warning

Details

LauragraDocset0317235153/excel/OLD/build-your-first-excel-add-in.md
:warning:Warning

Details

LauragraDocset0317235153/excel/OLD/excel-add-ins-javascript-api-reference.md
:warning:Warning

Details

LauragraDocset0317235153/excel/OLD/excel-add-ins-javascript-programming-overview.md
:warning:Warning

Details

LauragraDocset0317235153/excel/OLD/format-tables-in-add-ins-for-excel.md
:warning:Warning

Details

LauragraDocset0317235153/overview/office-add-ins.md
:warning:Warning

Details

LauragraDocset0317235153/excel/excel-add-ins-core-concepts.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-extension-points.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-get-started-angular.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-get-started-jquery.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-get-started-overview.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-get-started-react.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-manage-charts.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-manage-ranges.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-manage-tables.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-manage-worksheets.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-overview.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/excel-add-ins-programming-overview.md
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/excel-online-upload.png
:white_check_mark:Succeeded

LauragraDocset0317235153/excel/images/yo-office.png
:white_check_mark:Succeeded

LauragraDocset0317235153/TOC.md

[Warning] Invalid file link:(~/project.md).
[Warning] Invalid file link:(~/get-started.md).
[Warning] Invalid file link:(~/overview.md).
[Warning] Invalid file link:(~/access.md).
[Warning] Invalid file link:(~/onenote.md).
[Warning] Invalid file link:(~/testing.md).
[Warning] Invalid file link:(~/develop.md).
[Warning] Invalid file link:(~/testing/sideload-outlook-add-ins-for-testing.md).

LauragraDocset0317235153/excel/OLD/build-your-first-excel-add-in.md

Line 5: [Warning] Invalid file link:(~/images/QuarterlySalesReport_report.PNG).
Line 276: [Warning] Invalid file link:(~/excel/testing/create-a-network-shared-folder-catalog-for-task-pane-and-content-add-ins.md).
Line 278: [Warning] Invalid file link:(~/excel/testing/sideload-office-add-ins-for-testing.md).
Line 278: [Warning] Invalid file link:(~/excel/testing/sideload-an-office-add-in-on-ipad-and-mac.htm.md).
Line 300: [Warning] Invalid file link:(~/images/QuarterlySalesReport_taskpane.PNG).
Line 304: [Warning] Invalid file link:(~/images/QuarterlySalesReport_report.PNG).

LauragraDocset0317235153/excel/OLD/excel-add-ins-javascript-api-reference.md

Line 5: [Warning] Invalid file link:(~/reference/excel/workbook.md).
Line 6: [Warning] Invalid file link:(~/reference/excel/worksheet.md).
Line 7: [Warning] Invalid file link:(~/reference/excel/worksheetcollection.md).
Line 8: [Warning] Invalid file link:(~/reference/excel/range.md).
Line 9: [Warning] Invalid file link:(~/reference/excel/table.md).
Line 10: [Warning] Invalid file link:(~/reference/excel/tablecollection.md).
Line 11: [Warning] Invalid file link:(~/reference/excel/tablecolumncollection.md).
Line 12: [Warning] Invalid file link:(~/reference/excel/tablerowcollection.md).
Line 13: [Warning] Invalid file link:(~/reference/excel/chart.md).
Line 14: [Warning] Invalid file link:(~/reference/excel/chartcollection.md).
Line 15: [Warning] Invalid file link:(~/reference/excel/tablesort.md).
Line 16: [Warning] Invalid file link:(~/reference/excel/rangesort.md).
Line 17: [Warning] Invalid file link:(~/reference/excel/filter.md).
Line 18: [Warning] Invalid file link:(~/reference/excel/worksheetprotection.md).
Line 19: [Warning] Invalid file link:(~/reference/excel/nameditem.md).
Line 20: [Warning] Invalid file link:(~/reference/excel/nameditemcollection.md).
Line 21: [Warning] Invalid file link:(~/reference/excel/binding.md).
Line 22: [Warning] Invalid file link:(~/reference/excel/bindingcollection.md).

LauragraDocset0317235153/excel/OLD/excel-add-ins-javascript-programming-overview.md

Line 5: [Warning] Invalid file link:(~/excel/publish/publish.md).
Line 51: [Warning] Invalid file link:(~/reference/excel/loadoption.md).
Line 120: [Warning] Invalid file link:(~/reference/excel/loadoption.md).

LauragraDocset0317235153/excel/OLD/format-tables-in-add-ins-for-excel.md

Line 9: [Warning] Invalid file link:(~/reference/shared/bindings.bindings.md).
Line 11: [Warning] Invalid file link:(~/docs/develop/update-your-javascript-api-for-office-and-manifest-schema-version.md).
Line 27: [Warning] Invalid file link:(~/reference/shared/binding.setdataasync.md).
Line 27: [Warning] Invalid file link:(~/reference/shared/document.setselecteddataasync.md).
Line 100: [Warning] Invalid file link:(~/reference/shared/tabledata.md).
Line 137: [Warning] Invalid file link:(~/reference/shared/binding.tablebinding.setformatsasync.md).
Line 147: [Warning] Invalid file link:(~/reference/shared/binding.tablebinding.settableoptionsasync.md).
Line 161: [Warning] Invalid file link:(~/reference/shared/binding.tablebinding.clearformatsasync.md).

LauragraDocset0317235153/overview/office-add-ins.md

Line 35: [Warning] Invalid file link:(~/../docs/develop/understanding-the-javascript-api-for-office.md).
Line 58: [Warning] Invalid file link:(~/../images/addincommands1.png).
Line 61: [Warning] Invalid file link:(~/../images/addincommands2.png).
Line 78: [Warning] Invalid file link:(~/../images/DK2_AgaveOverview05.png).
Line 88: [Warning] Invalid file link:(~/outlook/outlook-add-ins.md).
Line 94: [Warning] Invalid file link:(~/../images/41e46a9c-19ec-4ccc-98e6-a227283623d1.png).
Line 98: [Warning] Invalid file link:(~/../images/DK2_AgaveOverview06.png).
Line 109: [Warning] Invalid file link:(~/../images/DK2_AgaveOverview01.png).
Line 125: [Warning] Invalid file link:(~/../docs/overview/add-in-manifests.md).
Line 132: [Warning] Invalid file link:(~/../docs/develop/understanding-the-javascript-api-for-office.md).
Line 137: [Warning] Invalid file link:(~/../images/DK2_AgaveOverview07.png).
Line 141: [Warning] Invalid file link:(~/excel/excel-add-ins-javascript-programming-overview.md).
Line 145: [Warning] Invalid file link:(~/../docs/develop/understanding-the-javascript-api-for-office.md).
Line 145: [Warning] Invalid file link:(~/../reference/javascript-api-for-office.md).
Line 149: [Warning] Invalid file link:(~/../docs/design/add-in-design.md).
Line 151: [Warning] Invalid file link:(~/../docs/develop/understanding-the-javascript-api-for-office.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update to v4.2.2 or latest

Hi @majorz,
Great job with this example project!
I was able to get it partially working but I found a few bugs:

Portal sometimes only shows 1 SSID or none
Reopen access point when connection lost - https://github.com/balena-io/wifi-connect/issues/165
Connecting via AP doesn't update wifi credentials - https://github.com/balena-os/meta-balena/issues/1376

Do you know if these issues are fixed in the latest version (currently on v4.2.2)?
I tried pointing the Dockerfile to v4.2.2 but got some D-Bus related errors preventing the AP to start. Any chance you can update this repo to work with v4.2.2?
Thanks!

The issue with 1 SSID or none should be this one: https://github.com/balena-io/wifi-connect/issues/206 We need to improve our scanning mechanisms.
What device type are you using? Some devices have issues with their drivers and which could lead to none SSIDs to be shown.
For the second issue you face, I should have made the API example here a single container application, and use wifi-connect as a subprocess to the web application. If it is handled as a subprocess then it is much easier to relaunch wifi-connect or kill it if needed. I should probably rework this indeed.
The third issue is currently worked on meta-balena and will be fixed in one of the next releases. Is it that you have a connection profile specified on the boot partition in /mnt/boot/system-connection folder which interferes with the one you create through wifi-connect?

Thank you for the context, Zahari.
I was actually able to update this repo to use v4.2.2. It required some fixes on the UI since the API contract changed from 4.1.1 to 4.2.2 (/ssids -> /networks etc...)

The first issue doesn't seem to be happening anymore for me. I'll let you know if it happens again.
Do you have an example on how to launch wifi-connect as a subprocess?
This is great news, is there a tentative estimate you can provide for the next release containing the fix? I was able to override the connection profile one or two times, but now I'm not able to anymore. It appears the issue is intermittent, is that right?

@alexcastillo I updated the project to latest WiFi Connect. Implemented it as a single-container application. I still need to connected the stdout of wifi-connect to the web application though. I am going to close this issue now, since we have the base ready. And I am going to ping you on your support ticket so that we continue the discussion on the other issues there, since they are not related to this ticket in particular.


Day of the week tutorial

Implementation

The day-of-the-week [DOW] effect is implemented as a RandomVariable that returns a vector of length 7.
The RandomVariable latent.HospitalAdmissions takes care of broadcasting the seven values to match the length of the data (latent infections, in this case).
The PR replaces how latent.HospitalAdmissions.sample() is called; instead of passing a latent_infections array, it passes the corresponding SampledValue containing the latent infections.
Since SampledValues has t_start, we can correct for the offset of the infections wrt the observed data.
In addition, the constructor of latent.HospitalAdmissions receives a new argument indicating what's the first day of the week in the observed data. With the previous point, latent.HospitalAdmissions.sample() properly broadcasts the DOW effect.

The tutorial itself recycles the model built during the "Implementing a Hospital Admissions-only Model".
Draft Notes (not implemented, but here for future reference)
Current state:

The day-of-the-week [DOW] effect is applied via latent.HospitalAdmissions.
The sampling method of hospital admissions receives latent infections.
Those latent infections are a time series equal to the number of observed data points plus the infection seeding process.
Since the seeding process extends the observed time series to the left, the resulting broadcasting should account for that.

flowchart LR
   Seeding[Seeding\nprocess] -->|Input to| LatentI[Latent\nInfections]
   LatentI -->|Input to| HospitalAdmissions
   subgraph HospitalAdmissions["HospitalAdmissions.sample()"]
      dow["day_of_week_effect_rv(\n  n_timepoints=latent_hospital_admissions.size\n)"]
   end

To implement:

We would need to pass on the information about t_start resulting from the seeding process.
Currently, the seeding process has t_start=self.t_start, both None (see here).
The latent infections vector should have t_start=-I0.size.
Instead of passing the raw array to latent.HospitalAdmissions, we should pass the SampledValue object with the t_start=-I0.size.
With that accessible, instead of passing a n_timepoints to the DOW RV, we could pass the SampledValue latent infections.
The DOW RV sample method could then access the t_start and the number of time points to sample and adjust accordingly.
The DOW RV object should know what day of the week the first observation of the sample is; this information could be passed during the construction of the DOW RV.

flowchart LR
   Seeding[Seeding\nprocess] -->|Input to| LatentI[Latent\nInfections]
   LatentI -->|Input to| HospitalAdmissions
   subgraph HospitalAdmissions["HospitalAdmissions.sample()"]
      dow["day_of_week_effect_rv(\n  data=latent_hospital_admissions\n)"]
   end

Ready for review, @damonbayer and @dylanhmorris.

Looks good. I think we just want to wait for #387 so we can avoid having to define MyDOWEffect.
We could also merge as is and address that later. Your call @gvegayon.

I'll wait

I'll wait

@gvegayon https://github.com/CDCgov/multisignal-epi-inference/pull/387 is merged

Just addressed conflicts. Once tests pass, I'll merge.

@gvegayon The point of waiting for https://github.com/CDCgov/PyRenew/pull/387 was so that your MyDOWEffect class could be replaced with a TransformedRandomVariable. Please make a new issue for this.

@gvegayon The point of waiting for #387 was so that your MyDOWEffect class could be replaced with a TransformedRandomVariable. Please make a new issue for this. I think it could/should be done in this sprint.

Yes! Sorry I forgot that. Fixing now


Feature/auto scroll

I created this branch to address issue #42.
It adds three new options with sensible defaults, auto, autoDelay, and autoDirection. The auto option defaults to false, so all existing sliders continue to have the same behavior. If a new slider is created with the auto option set to true then a timeout is set to scroll to the next (or previous) slide in 3 seconds. The delay of 3 seconds can be changed with the autoDelay option and the direction of next or previous can be changed with the autoDirection option.
I tried to follow your style guidelines, but do let me know if there's any changes you'd like to see.

Hello @keithws,
sorry for answering a little bit late on your pull requests. To keep lory as small as possible it is important for me to try building these kind of features around the public api e.g. as a plugin. I will build a pager plugin on my own to show you how I think it should be done. Same for this feature ... I think what you want to do can be achieved with a few lines of code by using the public api.
Thank you very much for contributing, I will write a contribution guide as soon as possible to avoid this for the future.
cheers Max

In the meantime, I've gone ahead and used Keith's modified version. Thanks and happy holidays!

i lied!
i ended up writing some very quick and dirty code using the api to get this working in a hurry for a friend.
but @meandmax i too would love to see a plugin example. cheers!

👍 For having auto-play being a built-in feature.

@keithws Would you mind if I go ahead and use your code to make a plugin/example?

@tech4him1 I'd love to see a autoscroll plugin/example. Feel free to use any of my code in this branch.

How does this look: Automatic Lory Slider on CodePen?  Let me know if you think I should change anything (timer variable safety, code clarity, etc.), and then @keithws or I can make a PR for the docs.
Just a note: I couldn't put the initialization code in a before.lory.init or after.lory.init handler, because the slider variable has not been returned yet from the Lory function call.  If a copy of the lory object (including prev, next, and slideTo) was available in either of those event callbacks, that init code could be cleaned up. Do you think that is worth adding?


Destroy spectrum on jQuery $destroy event instead of $scope.$destroy event

There is a time gap between broadcasting $scope.$destroy and removing the part of DOM. This causes that the input with hex value is displayed instead of colorpicker during $scope destruction
According to the angular documentation (https://code.angularjs.org/1.2.27/docs/api/ng/type/$rootScope.Scope)  there is also jQuery $destroy event emitted:
"Note that, in AngularJS, there is also a $destroy jQuery event, which can be used to clean up DOM bindings before an element is removed from the DOM."
Binding to this event causes that the spectrum is removed smoothly - I've tried it already:
$element.on('$destroy', function(){
        	  $input.spectrum('destroy');
});

I can submit a PR, if this change is accepted.

@tomaszkrym sounds good - would you also be able to provide a failing test than will be fixed by the proposed change?


Only set --functional for nearest if the executable after overrides is paratest

Resolves #501

This works perfectly for me. Thank you!
In a project with paratest installed, I can now override the executable to be php artisan test or phpunit and it no longer adds --functional, so the test runner doesn't fail.
I also tested that it continues to uses paratest by default and continues to use --functional for TestNearest (so no regressions). I also tried explicitly setting the executable to paratest and ./vendor/bin/paratest and the --functional arg was always added appropriately.


create JsonParsing.md

I created the first draft of the markdown file for Introduction of JSON parsing. Please give me suggestions on the writing style, anything to add/modify, or point out any mistakes I make. Thank you for your feedback!  @ccchwww

Hi, it's so great to see your documentation about JSON parsing, i believe it will be really helpful for new learners to build a board picture in learning JSON. ON the other hand, i also have some advices that may be able to help you to improve the documentation to be better and more comprehensive.
Firstly, it will be helpful for people to better understand what applications JSON have before learning it. Maybe you can include an application paragraph to show cases when we use json file after the introduction section.  Furthermore, for some concrete code examples like in "complex data type" and "read JSON file in Java", i suggest include a brief explanation about the code so that readers can have better understanding. Lastly, in "Parse and Read JSON File in Python" section, you can include an entire code block for consistency, which include all the procedure above for user copy convenience.
In terms of formatting, i believe you can put large block of code in a code block, which will significantly improved the readability. Also remember to include your reference if you used any external resources. That will be all, everything else is fantastic!

Hi, it's so great to see your documentation about JSON parsing, i believe it will be really helpful for new learners to build a board picture in learning JSON. ON the other hand, i also have some advices that may be able to help you to improve the documentation to be better and more comprehensive.
Firstly, it will be helpful for people to better understand what applications JSON have before learning it. Maybe you can include an application paragraph to show cases when we use json file after the introduction section. Furthermore, for some concrete code examples like in "complex data type" and "read JSON file in Java", i suggest include a brief explanation about the code so that readers can have better understanding. Lastly, in "Parse and Read JSON File in Python" section, you can include an entire code block for consistency, which include all the procedure above for user copy convenience.
In terms of formatting, i believe you can put large block of code in a code block, which will significantly improved the readability. Also remember to include your reference if you used any external resources. That will be all, everything else is fantastic!

Thank you for your feedback! Very appreciated.

i saw the changes, it looks great now!


Add script for 3888 issue

ATF Test Scripts to check #FORDTCN-12994
This PR is ready for internal review for review.
Summary
Added new script to check resumption of CreateInteractionChoiceSet with and without VR command
ATF version
develop
Changelog

New script is added
Created script is added to the test set 8_2

CLA

[x] I have signed the CLA

Please find update in d729878

@VjKlepikov, please review

@VjKlepikov, please find update in 8f758fb

moved to open


fix: remove redundant font-family

I think the 'monospace' font-family of tag 'pre' is redundant

Hello, this is intended. You can see there are a lot of issues talking about that. You also have more details in this one

Hello, this is intended. You can see there are a lot of issues talking about that. You also have more details in this one

Sorry, I didn't search the related issues about this. :)
Thanks a ton to tell me about this :)


Module not found: Error: Can't resolve '@angular/cdk/rxjs'

Bug, feature request, or proposal:
Module not found: Error: Can't resolve '@angular/cdk/rxjs' in '/home/raj/Desktop/projects/resume-angular2-material2/node_modules/@angular/material/esm5'
What is the expected behavior?
What is the current behavior?
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
name: '@angular/material',
description: 'Angular Material',
'dist-tags': { latest: '5.2.4', next: '6.0.0-rc.0' },
Is there anything else we should know?

Can't reproduce with the given StackBlitz, and @angular/cdk/rxjs was removed in v5

@angular/cdk/rxjs was removed a while ago, make sure that your versions of @angular/cdk and @angular/material are the same.

My dependencies
"dependencies": {
"@angular/cli": "1.7.3",
"@angular/animations": "^5.2.9",
"@angular/cdk": "^6.0.0-beta.5",
"@angular/common": "5.2.9",
"@angular/compiler": "^5.2.9",
"@angular/core": "5.2.9",
"@angular/forms": "5.2.9",
"@angular/http": "5.2.9",
"@angular/material": "^6.0.0-beta.5",
"@angular/platform-browser": "5.2.9",
"@angular/platform-browser-dynamic": "5.2.9",
"@angular/router": "5.2.9",
"@types/hammerjs": "^2.0.35",
"ajv": "^6.4.0",
"core-js": "^2.5.4",
"hammerjs": "^2.0.8",
"rxjs": "^5.5.8",
"ts-helpers": "^1.1.2",
"zone.js": "^0.8.22"
},
versions of @angular/cdk and @angular/material are same!

Yes, but as @crisbeto and I have already said, that import is not available in v6. It was removed in v5.


Re export utils to consumers

Closes https://github.com/primer/react/issues/4503

Changelog

New

Export utils under a nicer path
Changed

Removed

Rollout strategy

[ ] Patch release
[x] Minor release
[ ] Major release; if selected, include a written rollout or migration plan
[ ] None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Added/updated previews (Storybook)
[x] Changes are SSR compatible
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge
[ ] (GitHub staff only) Integration tests pass at github/github (Learn more about how to run integration tests)

Closing, hopefully https://github.com/primer/react/pull/4513 gives us everything we need 🤞


Fixed #29997 -- Allow combining SearchQuerys with different configs

The failure on mariadb (ModuleNotFoundError: No module named 'memcache') seems unrelated to this PR


Proposal: Adding support for 'questionnaires' to Accord Project

Background:
A comprehensive background to this proposal is set out in these slides and was discussed on this Tech WG call
In short, there is a compelling use case for making it easier for users to populate Accord Project instances through a 'questionnaire'/web form. This will help to:

set standards for the legal industry for document automation;
reduce barriers and speed adoption of Accord Project contracts by existing law firms & businesses that are already familiar with this type of document automation (most of them!); and
capture valuable effort and thinking that has already gone into legal document generation tools (such as existing templates/questionnaires).

Proposals:
In the context set out above, it is proposed that Accord Project should develop either or both of the following:

a conversion that produces a file from model file(s) that is compatible with existing form generation tools; and/or
a 'questionnaire'/'model editor wizard' file which supplements the model file to produce a structured questionnaire (which in turn can be used to produce a JSON data file for an SLC instance).

Proposal 1: Integrations with online form tools
Currently, users need to either parse a sample (.md) file or manually write a data (.JSON) file in order to create an instance of an Accord Project template. Users should also be able to fill in a webform to populate this data file. This webform should be automatically generated based on the model file. ConcertoUI is based on this idea.
Concerto itself would need to be extended to support ‘presentation’ variables in a standardised way. For example, setting standard attributes in the @FormEditor decorator. It should be possible to provide a baseline of supported field types, which suit most legal applications.
How this would work in practice:

Developer prepares an Accord Project template with a model (.cto) file.
Developer decorates the model with presentation variables (such as question titles and notes that are supported by form generation tools).
The model is converted into a format (likely .JSON) that is understood by online form editors.

Proposal 2: using a 'model editor wizard' to produce an SLC instance
Although the proposal set out above will make it easier to create SLC instances from model files - it does not cover complete conversion from existing document automation tools (ie questionnaires that populate documents) into Accord Project SLCs. In order to achieve this, much more context, structure and guidance functionality will be needed. This is a huge part of the value that is delivered by existing legal document automation tools. This includes being able to include:

statements that are not connected to a field
group related questions within and across pages
put guidance text before or after (or next to, or on mouseover) a question
only ask relevant questions (based on the user’s answers) through the use of ‘logic’

How this would work in practice:

Developer prepares an Accord Project template with a model (.cto) file.
Developer prepares a 'quesitonnaire' file based on the model file which is written in a supported schema / language (maybe yaml). The developer can run a command to check that this questionnaire file is synchronised with the model file.
The questionnaire file can be run by any platform that supports this syntax (eg docassmble)

In due course, this work could be extended this so that, instead of just building the SLC data file, the questionnaire adds/subtracts from each of the other files in the SLC. For example, text is included in the grammar or code is included in the logic files based on the responses.
Next steps
This proposal is submitted to the TSC for approval. This represents a significant new direction for the Accord Project to pursue.
Members from the community (especially @mttrbrts, @dselman and @jeromesimeon ) are encouraged to comment on this issue with their thoughts and concerns.

Amended 'Accord Project Template' diagram if Proposal 2 is implemented:

TSC Notes:

Some relevance to Aadrika's APSoC project, no direct progress


Add ajantv2 CMake package config

This adds CMake rules to output the ajantv2 config such that the ajantv2 library can be built and linked against using the following:
  find_package(ajantv2 <version> REQUIRED)
  target_link_libraries(<target> AJA::ajantv2)

@ibstewart , I'm looking at this. Could you please resolve the merge conflicts and I'll start the process on our end.

Thanks Thomas, I've rebased to main.

Hey @ibstewart thanks for all of these changes. I have some changes on top of these that if you're okay with, I will merge it all. (Attached a diff)
Changes are:

Put the generated package config files in ${CMAKE_CURRENT_BINARY_DIR}/cmake instead of `${CMAKE_CURRENT_BINARY_DIR}
Use the 'short' version string AJA_NTV2_VER_SHORT_STR instead of AJA_NTV2_VER_STR.
Remove the variable AJANTV2_VERSION in the package config template.
Renamed the config files from ajantv2-config.cmake and ajantv2-config-version.cmake to ajantv2Config.cmake and ajantv2ConfigVersion.cmake. This seems to be the standard naming convention from some of the other 3rd party projects I've seen.

For some reason, GitHub won't accept a .diif, so here's a .txt. It's in diff format.
changes.txt

Thanks Thomas, I've included your changes and rebased to main.


Custom font Problem !

AppIntro Version : 4.1.0
Device/Android Version: any device ...Huawei y511
addSlide(AppIntroFragment.newInstance(getResources().getString(R.string.intro_title1),
getResources().getString(R.string.intro_font),          // not working !
getResources().getString(R.string.intro_desc1),
getResources().getString(R.string.intro_font_desc),   // not working !
R.drawable.explore_intro,
getResources().getColor(R.color.intro),
getResources().getColor(R.color.intro_title),
getResources().getColor(R.color.intro_desc)));
setSkipTextTypeface(getResources().getString(R.string.intro_font));          // working

<string name="intro_font">fonts/sansmobilebold.ttf</string>

by the way ... i saw all issues but non of them worked for me ...
and font exist in assets!
English is not my mother tongue; please excuse any errors on my part

Don't specify a path to the font (they do go in the assets folder, so that is good), rather describe them like so: <string name="title_font">nemoy_medium.ttf</string> (be sure to get capitalization correct)
When it is time to load them in, make use of: getResources().getString(R.string.title_font)
The must also be loaded into the appropriately overloaded method (follow the source code here to find out which if in doubt).

@avluis  thx for quick resp.
actually i try both way u suggest but no luck ...(sting & getReso...)
(follow the source code here to find out which if in doubt )
which part of source you mention ?

I also have the same issue, setting a custom font on the title and description does not work for me. I personally have my ttf files in assets/fonts/ however it still doesn't work with the font files in the assets folder. Although I'd expect it to still work by specifying "fonts/Roboto-Light.ttf".

I think I find the problem
In AppIntroBaseFragment.JAVA
Line number 89 and 98 is wrong check
if (titleTypeface != null && titleTypeface.equals("")) {
if (descTypeface != null && descTypeface.equals("")) {
when we set custom font for title or description then titleTypeface.equals("") or descTypeface.equals("")
always return false therefor if body never run.

Well hello! Duh!
I see what the issue is -- @ahmadzarei thank you.
The issue above was fixed on this commit: e36697c08
But said fix has not been pushed to maven...
So if you guys want to get the most up to date code, I recommend grabbing AppIntro via JitPack:
https://jitpack.io/#paolorotolo/AppIntro

@avluis thx for resp.
I try to use JitPack by below codes in gradle:
allprojects {     repositories {         jcenter()         maven { url "https://jitpack.io" }     } }
compile 'com.github.paolorotolo:AppIntro:v4.1.0'
but the problem not solved in downloaded files, there is no change in line 89 and 98.
Help me plz.

@ahmadzarei You have to grab the most up to date code so you are looking for snapshots:
https://jitpack.io/#paolorotolo/AppIntro/master-SNAPSHOT

tanks guys ...

Sry for opening  issue again ...
but after i used @ahmadzarei SNAPSHOT ... face with new issue in proguardFiles...
anyway ... what should i do ?!
use master or snapshot ?!

@emadph What's wrong with Proguard?
You need to give error snippets so that I can work without guessing.
Can you post your project build.gradle (including your proguard config)?
Stay on the SNAPSHOT build and I can push out a fix for whatever issue you are having or at least find out what issue you are having.

@avluis
logcat :
java.lang.Error: Can not init easingMethod instance
at com.daimajia.easing.c.a(Skill.java:107)
at com.daimajia.easing.b.a(Glider.java:37)
at com.daimajia.easing.b.a(Glider.java:33)
at com.daimajia.androidanimations.library.i.a.a.a(DropOutAnimator.java:14)
at com.daimajia.androidanimations.library.a.b(BaseViewAnimator.java:50)
at com.daimajia.androidanimations.library.c.a(YoYo.java:152)
at com.daimajia.androidanimations.library.c.a(YoYo.java:36)
at com.daimajia.androidanimations.library.c$a.a(YoYo.java:106)
at com.viksaa.sssplash.lib.a.a.e(AwesomeSplash.java:207)
at com.viksaa.sssplash.lib.a.a$3.b(AwesomeSplash.java:177)
at com.d.a.c$a.b(AnimatorSet.java:756)
at com.d.a.m.e(ValueAnimator.java:1034)
at com.d.a.m.c(ValueAnimator.java:43)
at com.d.a.m$a.handleMessage(ValueAnimator.java:669)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5021)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:827)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
at dalvik.system.NativeStart.main(Native Method)

Proguard File

-keepattributes Annotation
-keepattributes SourceFile,LineNumberTable
If your project uses WebView with JS, uncomment the following
and specify the fully qualified class name to the JavaScript interface
class:
-keepclassmembers class fqcn.of.javascript.interface.for.webview {
public *;
}
-keep class uk.co.chrisjenx.calligraphy.* { ; }
-keep class uk.co.chrisjenx.calligraphy.$* { *; }
-dontwarn com.squareup.okhttp.**
-keep class .R
-keep class *.R$ {
;
}
-keep class com.wang.avi.** { ; }
-keep class com.wang.avi.indicators.* { *; }
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
**[] $VALUES;
public *;
}

@emadph https://github.com/daimajia/AnimationEasingFunctions#tips

it works like a charm...


Galaxy not loading games on 'Play'

I click play and nothing happens. I'm trying to use Cemu and Dolphin. I've set up the config file, however nothing happens.

Take a look in your log files for the plugin for something like this:
2021-06-01 21:55:58,985 - root - INFO - starting
2021-06-01 21:55:58,985 - root - INFO - ""%USERPROFILE%\cemu_1.22.0\Cemu.exe" -g "Z:\data\Software\games\roms\wii u\converted.\The Legend of Zelda The Wind Waker HD\code\cking.rpx" -f"

This line is what the plugin is sending to the operating system to run it. If you see the line, try running that command in your command line, the part in between the quote like my example, and it should give you an error, if there was something wrong with the command that was setup.

Do you get an error when you try this?

Both Dolphin and Cemu work perfectly in CMD, which is strange

You can attach the logs to the ticket if you want, to see if I see anything.
If you look at the logs it should give you an set of internal ids for the program execution to track it. Do you see any errors here before it reports that it has finished the task?
2021-06-02 05:17:19,094 - root - INFO - starting
2021-06-02 05:17:19,094 - root - INFO - ""%USERPROFILE%\cemu_1.22.0\Cemu.exe" -g "Z:\data\Software\games\roms\wii u\converted.\Hyrule Warriors\code\ProjectZ.rpx" -f"
2021-06-02 05:17:19,095 - root - INFO - ""%USERPROFILE%\cemu_1.22.0\Cemu.exe" -g "Z:\data\Software\games\roms\wii u\converted.\Hyrule Warriors\code\ProjectZ.rpx" -f"
2021-06-02 05:17:19,095 - root - INFO - {"time": "2021-06-02T05:17:19.095812", "id": "fd8f2ab8803087b16f9a70cb2d3f034685314a02"}
2021-06-02 05:17:19,095 - galaxy.task_manager - DEBUG - Task manager plugin external: finished task 481 (launch_game)
2021-06-02 05:17:19,095 - galaxy.task_manager - DEBUG - Task manager jsonrpc server: finished task 379 (launch_game)
Then it should report later in the logs that it stopped. Do you see this second part or is the called program hanging? You should be able to notice that the plugin will update the play time if the called application is just starting and exiting.
2021-06-02 05:17:41,801 - root - INFO - game finished
2021-06-02 05:17:41,801 - root - INFO - fd8f2ab8803087b16f9a70cb2d3f034685314a02
2021-06-02 05:17:41,802 - root - INFO - time delta calculating
2021-06-02 05:17:41,802 - root - INFO - 2021-06-02 05:17:41.802740
2021-06-02 05:17:41,802 - root - INFO - 2021-06-02 05:17:19.095812
2021-06-02 05:17:41,802 - root - INFO - 1

Here is my logs, it would be great if you could take a look through it.

It looks like you are missing the initial \" in your configuration for the emulators. If you look at the example for dos you can see what I mean  "execution" : "\"C:\\Program Files (x86)\\DOSBox-0.74-3\\DOSBox.exe\" -conf \"%ROM_RAW%\"",
Your configuration should look more like "execution" : "\":\\Program Files\\Cemu\\Cemu.exe\" -g \"%ROM_RAW%\" -f",  assuming that I am reading everything else correctly.
I need to add more information about the error that you are getting from the OS, I'll create that as a ticket to follow up on.

Thanks, it works perfectly now.

You are welcome.

The one question I have left to ask is - are game times meant to be imported from emulators?

Right now they are kept internally in the cache based on the time launched from galaxy and not specifically read from the emulators. Pulling that data from those applications is something to look at in the long run. You can edit the plugin's time cache database yourself if you want to update the times, but I haven't looked into the exact process of how you would do that.

Ok cool. Last thing - I have 5 games added, however the number of owned games raises by 9 after connecting the plugin, instead of 5. Is there a reason for this?

Do you happen to have multiple instances of a game show up?

The logs you attached show multiple installations of a few games with the same name in wii and gamecube.

The logs you attached show multiple installations of a few games with the same name in wii and gamecube.

That's weird. I only have one rom in my Dolphin folder: The Legend of Zelda - Ocarina of Time.iso which is the GameCube version that includes Master Quest.

It appears that you have both the wii and gamecube entries setup to look at D:\Games\Dolphin so that would cause the duplication.

It appears that you have both the wii and gamecube entries setup to look at D:\Games\Dolphin so that would cause the duplication.

Ok, I have now enabled subfolder searching in Dolphin and made Wii and GameCube folders (D:\Games\Dolphin\Wii and D:\Games\Dolphin\GameCube) however there are still 9 games added, and now Ocarina of Time is an "Unknown Game" which is really odd.

If you change the configuration, exit galaxy completely, delete the two cache files game_cache and game_cache-times and it will remove them from the plugin's data to send to galaxy. You will also need to disable and re-enable it again for galaxy to forget every game it got from it as well.

I've done this, but there is no difference. One thing I have noticed is how all the Wii U games have multiple platforms, and if you add up all Wii U and GameCube platforms you get 9. This is probably more of a GOG Galaxy issue if having multiple platforms on the same game affects the amount of games you have.

I'm not sure how it counts that. You would have to really look at what it is doing there since galaxy doesn't provide those stats back to plugins. If you look at those games you will see either something like this, where one platform is returning it multiple times, in this case it is for multiple versions of the game (pc and vita respectively).

Or this where the same game is coming from multiple platforms.

If it is double counting it from the first option and you are returning the same game multiple times, you can change the configuration to not return it. I don't have it automatically do this since it doesn't always make sense even for the same game since for some games they had two different disks with each having a different part of the game. (I don't remember if this was the specific example or just command and conqueror on the ps1.)

Galaxy really needs more annotation features for these kinds of edge cases so you can note on each instance which is which.

Ah ok. If I'm being honest I'm not too fussed, we can probably end this here. Thanks for all the support though, you've been very helpful

"Unknown game"s are all an issue on galaxy's end. The short story is that every plugin suffers from this at some level because of that.
Galaxy will search their online database for the closest match; sometimes it fails and just keeps the name the plugin gave it while other times it will succeed. The plugin doesn't get any more information back. (Another integration place the plugins need feedback from galaxy to try to resolve if they can.) You are seeing a variation of https://github.com/AndrewDWhite/GalaxyGenericImporterPlugin/issues/26 . You can try to change your user id in the configuration and try your luck re-rolling all of the ids assigned to the games and seeing if it pulls the data correctly this time, since at this point you waited for their end to possibly populate something from another database. I would not be surprised if there was some local cache file somewhere that you could delete to try again, but I don't know where that would be stored and how much damage it would do to galaxy. I have the Super Mario All-Stars + Super Mario World version of that game so I don't know if they have that exact version of the game in their database.

BTW I figured out why extra games were being added. Essentially, in my Cemu games folder, I had my DLC and Updates folder. Turns out the plugin was scanning those games and adding them as unknowns. All I had to do was move the DLC and Updates folder to a different location and delete the cache, and then there was the correct amount of games.

@AndrewDWhite sorry but I have another question, you said earlier that to change game times I can edit the cache - what app can I use to do that?

I have not really played around with any apps do do that since I have been trashing my times over and over again to test different setups and will get around to it eventually. A quick search looks like this app will let you edit it and save the changes.
https://github.com/Matix-Media/PickleViewer
The ids in the time cache (game_cache-times) are the same as the ones in the other cache (game_cache).


out of memory when do a insert as select query

What happens?
I attached a mysql database with large dataset, and want to transfer into duckdb.
So I ran a create table as select statement. but got out of memory error.
What can I do?

To Reproduce
create table dasale as select change_date,sum(qty),sum(amt),sum(amtlist) from mysqldb.da_sale group by change_date;
OS:
Windows
MySQL Version:
doris
DuckDB Version:
0.9.2
DuckDB Client:
cli
Full Name:
kaala
Affiliation:
kaala
Have you tried this on the latest main branch?

[X] I agree

Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?

[X] I agree

have to use mysql_query function


Workflow Files for NextJS project

Added configs for Checking Build status of the Project.
Related to #36.

@DhairyaMajmudar review please


How to use AMQP for websockets Pub/Sub using GoRoutine and channels

HI,
How to use AMQP in order to create one instance (Go Routine) that listen for my webserver to receive data, manipulate them and then Publish messages using websocket to users's browser.
I am not looking for all the code but for this particulary:

Create Producer worker (Or Publisher), responsible to receive datas from CHANNEL and then automatically send them to users's browser.

And this worker must be launched one time only and working in concurrency with my main program.
I checked this example:
https://github.com/streadway/amqp/blob/master/_examples/pubsub/pubsub.go
But I can't see how it is possible to send message using channels to the producer ? and this can be done anytime and from any part of my code.
I mean a way to pass directly channel message to Publish GoRoutine function (This function must be working in LOOP in concurrency with my program so I can pass messages and then publish them to users).
Your guidance will be welcomed, thanks in advance.

This sounds more like a question about using WebSockets in Go than anything specific to this client. Also, note that RabbitMQ supports STOMP over WebSockets and MQTT over WebSockets which I'd consider. STOMP and MQTT clients can interoperate with AMQP 0-9-1 clients that use this library, although with some reasonable limitations.

@michaelklishin Hi and thanks for your answer.
But my question is not related to your answer, I am not looking for client browser integration but a way to pass websocket message in the server side using channels to the worker responsible to produce them throue websockets and send them to the client browser.
I am not looking for the browser side, but only sending message using channel from the main program to the worker for better performances.

I'm not sure what the question really is. You can consume from a Go channel and publish on an amqp channel. This library does not impose a lot of limitations on how that can be done. Concurrent publishing on a shared amqp channel is not supported in the protocol, so you have to batch and synchronise. That's pretty much the only limitation. Publisher side data safety is another concern that makes this a less-than-trivial problem.


MGDOBR-322: add "type" and "source" to Processor entity, definition and DTOs

MGDOBR-322
Description
This PR belongs to the Event Sources epic and is part of a sequence of PRs derived from the Event Sources PoC (#629)
This PR does two things:

Extends the "source" field, introduced to ProcessorRequest with #654, to ProcessorDefinition, ProcessorDTO, ProcessorResponse and BridgeExecutorSpec so that the information can be correctly propagated around in all the system.
Introduce a new ProcessorType enum (SOURCE or SINK) and a "type" field to Processor entity (with a dedicated column in the corresponding table) and all the other DTOs that require it.

PR owner checklist
Please make sure that your PR meets the following requirements:

[x] Your code is properly formatted according to this configuration.
Run mvn clean verify -DskipTests so that imports are correctly set.
[x] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[x] All new functionality is tested
[x] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

PR reviewer(s) checklist

[x] Check if code and Github action workflows have been modified and if the modification is safe
[x] If the modification is safe, add the safe to test label

How to trigger pipelines and use the bots:

Run the end to end pipeline
Annotate the pull request with the label: safe to test. If you want to run the pipeline again, remove and add it again.

Rebase the pull request
Comment with: /rebase.

@kostola  Please adjust operator test with the missing processor type in https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox/blob/main/shard-operator-integration-tests/src/test/resources/features/bridgeexecutor-deploy.feature

Please adjust operator test with the missing processor type

@sutaakar done :+1:

It seems to me we miss a test for ProcessorType.SOURCE. Or am I missing sth?

@jomarko this PR only adds fields to entity, definition and DTOs, but the business logic to actually create source processor will be added in a following PR (#664). I already added all the tests to cover source processors there.


document.write feature

Article URL

Issue

I cannot find any information regarding how to increment document.write feature or to display any content to the taskpane of the add-in using create element. The documentation for all JavaScript elements is not available.

Hey @AlexJerabek, this is a doc request. Can you help me triage this and assign to the correct Excel/JS writer? THANKS in advance.

Please provide more details of what you are trying to do and what is going wrong. Also, what is the list.child() method you are using and what kind of object does it return? I can't find any info on it. Finally, Microsoft.Office.WebExtension.EventType is an enum. It is not a value itself that can be passed as a parameter.

@Rick-Kirkham Thanks for your reply! Also, since this appears to be more of a programming question than a doc request, I suggest that @ishitadatta posts this on Stack Overflow tagged [office-js] and [excel]. I'm sure the developer community there can help with this! Thanks,


Ensure the vocabulary of SequenceParser won't return invalid characters.

Reviewed, tested, approved, released.
Thanks for the contribution!


User registration

Get user registration and login up and running

User registration is functional, not yet styled.


Attempt to read property "message"

Warning: Attempt to read property "message" on null in /data/data/com.termux/files/home/php.php on line 15

Warning: Attempt to read property "message" on null in test.php on line 27

I don't know what code you have there in test.php and php.php files
Most likely you are trying to refer to message where it does not exist.


Fix product customization logic in the listing

Questions
Answers

Description?
This PR fixes wrong logic when displaying ordered customized products.

Type?
bug fix

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixes PrestaShop/Prestashop#16551

How to test?
https://github.com/PrestaShop/PrestaShop/issues/16551#issue-528763521

Old branch got messed up so opening a PR.
I will need to check if this solution still works fine, I just copied data from old branch.
Ping @kpodemski

Hello,
Issue tested and fixed for <IP_ADDRESS> and 1.7.8.x
https://www.awesomescreenshot.com/video/5851051?key=e78b041108313449db1b112ba8795563
Thanks,

Thanks @Hlavtox & @marwachelly


Non-det REPL: Stack trace is not helpful for runtime errors

When there is a runtime error in a program evaluated using the non-det REPL,
both the error message and stack trace is shown.
However, the stack trace does not seem helpful because it points to a line in repl-non-det.js rather than the erroneous line in the user's program.
Example:

The program has a type error (number 1 added to a string a).
However, the stack trace points to line 19 in the repl program.

To fix this, we can modify the stack property of the Error object that we pass to the REPL.
See here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/stack


Specify subfolder on target

It would be useful in some scenarios to specify a subfolder on the target device to clone to. E.g. with an argument:
Running livesync project --subfolder a_folder from "project" folder on the local device should sync "local:project" to "remote:a_folder/project"

Sounds good. Maybe --target-root would be a better name. Because we can sync multiple projects which will be placed side by side. Default would be the home directory.
Would you like to create a pull request?

We just released v0.2.2 with the new --target-root argument.


Try to handle function outer_attrs more consistently

A few children of function nodes need to be consistently evaluated
outside the function scope. This PR attempts to do so and thus
fixed #4367.
(I have a suspicion that this change will have some knock-on
consequences in a few places though, so may need further revision)

Thanks


Map Column Heading to Multiple Possible Names

Hi,
I have some excel files which have a different heading but I want to map them to the same Property in my class, I have tried the following but it throws an exception:
Map(e => e.CourseDateTime)
                .WithColumnName("Time___Date_of_training")
                .WithColumnName("Time___Date_of_Training")
                .WithColumnName("Training_Date___Start_Time");

I was just wondering if I am missing a config setting when setting up my mapper or if this is even possible at the moment? Thanks

I've just had some spare time so began working on it. Would this suffice? If so I will begin writing some tests for it: https://github.com/CallumVass/excel-mapper/commit/3373474125cd3d9bf33662f4edd482799c79fa0d

Yes! I like this addition.
Couple of comments:

change the overload to be params string[]
add an IEnumerable<string> overload

I’m not sure about the WithPossibleColumnNames name. Maybe something like WithFirstOfColumnNames  Up to you thoigj

actually. Maybe we should change this to (or add an alternate API) something that is more versatile?
Maybe like
WithColumnNameMatching(Action<string, book> predicate)
This could be interesting but I do think first we should add the API you shggested

Actually you're right I quite like the Matching API. I will change my code to that and try get it done tonight. Thanks.

Hi,
How does this look? If you're happy I will add some tests
https://github.com/CallumVass/excel-mapper/commit/97d6ff6996f7af236f2557065cf3a5cb6e77c8b4

I've added some tests now. I've also added .net 2.1 as a targeting framework for the test project. If that's not okay let me know and I'll remove it. Thanks

Fixed 🎉

Fixed 🎉


[Bug]: Does not connect to qBittorent when using extra_hosts in docker compose

Describe the Bug
In my docker compose file, I create a extra host name using:
extra_hosts:
- "qServer:<IP_ADDRESS>"
This correctly adds this to the /etc/hosts file in the docker container, however isn't able to connect to it when I update it in the config. Strangely when I use the hostname to the server set by my router, it still works, so using hosts names are supported. As well as host.docker.internal gets a successful connection.  It seems qbit_manage doesn't use /etc/hosts for resolving hostnames?
Config
No response
Logs
https://gist.github.com/ShanaryS/8bfbdd7f2f60ec769478aa777f409eaf
Screenshots
No response
Installation
Docker
Version Number
3.4.0
What branch are you on?
master

Found out why. The host name must be all lower case for it to work. Makes it even more strange as the host name to my server by my router isn't all lower case. Still think this is a bug since /etc/hosts supports upper case letters.


Using the resource through fly exec result in an error

Trying to execute a task with fly exec that has as input pivnet resource and it fails with some variation of this error
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10240    0 10240    0     0  10240      0 --:--:-- --:--:-- --:--:-- 42845
183.54 MB / 183.54 MB [=================================] 100.00 % 91.21 MB/s 2star: /tmp/build/put/product: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    31    0     0    0    31      0     31 --:--:-- --:--:-- --:--:--    35
errored

11:58 $ fly -t kubo execute -c /tmp/extrac-releases.yml --inputs-from=[...]/build-product --output extracted-releases=/tmp/releases
executing build 25011 at https://ci.kubo.sh/teams/main/pipe[.....]bs//builds/17
base resource type not found
183.54 MB / 183.54 MB [=================================] 100.00 % 21.11 MB/s 8star: /tmp/build/put/extracted-releases: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    31    0     0    0    31      0     31 --:--:-- --:--:-- --:--:--    35
errored

Notes:

product is the name of the output folder
trying to search /tmp/build/put or variations in the source code does not seems to find anything relevant
sometime instead of 2star  in the error message 8star was shown
The resource in the pipeline on concourse behave correctly and we are able to use other resource in the same task without issue.

Hello @carlo-colombo, we are not able to reproduce this error. Is this still a problem? Could you give us more information on how we can reproduce it locally?

closing issue.
if this issue persists please reopen.


Windows support

Vim bootstrap version(number in first line): Just got it from the website today
Operating system: Windows Server 2019
Vim/Nvim version: gvim 8.1.1
Languages: C, python, Go

I can get gvim to open with the vim-bootstrap configuration, but only if I edit the .vimrc file, replacing a couple of paths:
let vimplug_exists=expand('~/./autoload/plug.vim')

" ... skip a few lines

call plug#begin(expand('~/./plugged'))

to
let vimplug_exists=expand('~/vimfiles/autoload/plug.vim')

" ... skip a few lines

call plug#begin(expand('~/vimfiles/plugged'))

When I then call gvim from powershell, the plug-ins will install.  However nothing works when I start the initial launch from git bash.
One thing I've noticed is that a number of the plug-ins don't work on Windows - such as git-gutter (messages about being unable to open temporary files in C:/Users/user/AppData/Local/Temp/5/RandChars.tmp while processing 143_git_supports_command_line_config_override) and ultisnips (constant reminders that it needs python installed).
Once they're out of the way I've found the system to be quite usable.  Perhaps those plug-ins should be disabled if the user selects Windows for their OS?

Can you point all plugins that don't work with windows?


ARROW-13879: [C++] Mixed support for binary types in regex functions

This PR extends variable-width binary types support for string functions:

match_substring[_regex]
match_like
starts/ends_with
extract_regex
split_pattern[_regex]

Also, updates several scalar string kernel/function registrations.

@lidavidm Since you are working on ARROW-13878 which is related, please review this PR. This PR only adds variable-width binary support.


[18438] Bump to 2.1.4 and added release notes

Applied suggestions both here and in the release notes Draft in Fast DDS.

Let's order a run from Read the Docs and see if the documentation is properly generated.

Read the Docs build has passed successfully. I am for merging this instead of trying to fix the infrastructure, being an EOL release.


Allow for log scale in plots of ability types

Given the skewed distribution of earnings, it's often more informative to see the earnings profiles in logs.  Let's add an option to parameter_plots.plot_ability_profiles to plot in logs or levels.

Addressed in PR #914


Turn off logs

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the problem to be solved
Trying to disable logs
Suggest a solution
Have an env var to disable logs
Additional context
No response

yes please, I would also like that. In the meanwhile, is there any workaround for this? like modifying the config of the web server?

When I will have free time (this week, I hope) I have plans to rewrite the CLI part of this application and append the possibility to change the logging level.

When I will have free time (this week, I hope) I have plans to rewrite the CLI part of this application and append the possibility to change the logging level.

awesome! thanks a lot :) can you leave a note here, when you found time?

Yes, sure!

Now you can use the flag --log-level warn or --log-level error to disable unimportant log messages.
:fire: Released in v2.20.0

Now you can use the flag --log-level warn or --log-level error to disable unimportant log messages.
🔥 Released in v2.20.0

awesome!! Thanks a lot :)


Update Dockerfile to use ubuntu 16.04

This commit adds a new dockerfile to bake postgres 10.5 on ubuntu
16.04. Also updates docker_start.sh and README to pull the new docker image instead
of the old one (Postgres9.6 on Ubuntu 8.9).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/703/

Please do not merge this PR until we change the version to 1.16-dev.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/706/


⚠ gorzdrav.org has degraded performance

In 1c3846f, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 8109 ms

Resolved: gorzdrav.org performance has improved in 67c430e.


only shows id

hello i open the robotic put my details in all i get is my user name and badge no games no cards  -30 csgo cards thank you for any help regards Grizzlykt

Hello @GrizzlyKt ,
I told you here, that I don't want to invest further development and time into the "old" overview and just fixed the loading issue quick and dirty. That said, I won't fix it and focus on getting the new webinterface up and running.


feat: filter response fields for /api/v1/payments/decode

Some devices cannot handle a large response payload.
This PR adds the filter_fields optional field that only includes the filtered fields. If filter_fields is missing or an empty list then all fields are returned.
It only filters top-level fields.
Request:
curl --location 'http://localhost:5000/api/v1/payments/decode' \
--header 'Content-Type: application/json' \
--data '{
    "data": "lnbc230n1pn20zexsp5yh56523hvkysgak3jyv3c4tj8jaljjwchpdr4sxfj0lf87lnshyqpp5u5enyfn0wyxmrcpdhrmc2sa3r385qdq9a2f9ntscnhvqezg334kqdq8xye8xcgcqpjrzjqvnwdyky2hw42nrsnwa5wzcv5lstkpq49amh69z9l59lxuy69qe6xrrpfyqqtlcqqgqqqqqqqqqqqzgq0q9qxpqysgqfqvvxnnd4j2s3yqn6j0xcdjf80ar76dvlrutwsalc6aevhaf6avhtlumuu3pctk3mstr0pk6e72jz5w7th5vtx5gn536z9feqsz5yuspqnahvd",
    "filter_fields": ["amount_msat", "payment_hash"]
}'

Response:
{
    "amount_msat": 23000,
    "payment_hash": "e53332266f710db1e02db8f78543b11c4f403405ea9259ae189dd80c89118d6c"
}

The filter function can be reduced to:
filtered_data = {key: data[key] for key in keys_to_keep if key in data}


[xxxx] Set statement timeouts on db

Context
Generally a good thing to do so long/troublesome queries can be terminated without bottling up the db.

 Add circuit breaker for database statements to prevent hanging queries


AttributeError: module 'google.cloud.vision' has no attribute 'Client'

When i RUN this program on Spyder
client = vision.Client('xx')  - xx = api key

I get the following error "AttributeError: module 'google.cloud.vision' has no attribute 'Client'"
Can you please help me resolve this ?  I am working on a time bound project of text detection

Since PR #4493, the client is named ImageAnnotatorClient:
>>> from google.cloud.vision import ImageAnnotatorClient
>>> client = ImageAnnotatorClient()

Thanks for the help.
I encountered few more issues but was able to resolve them..
Need few inputs, following is the entire code written in Jupyter.. I want to see the output of all the texts the code had recognized from the image. I am not able to see the o/p on the console. I also tried running it from anaconda prompt by giving following command but still not output (it just executes it)
python <"full path of the py file" -> Press Return
Following is the piece of code written for text recognition, appreciate if you point out what is missing in it ?
import argparse
import io
import re
import os
os.environ["GOOGLE_APPLICATION_CREDENTIALS"]="D:\Users\Downloads\Read Image-xxx.json"
#from google.cloud import storage
from google.cloud import vision
#from google.protobuf import json_format
from google.cloud.vision import ImageAnnotatorClient
client = ImageAnnotatorClient()
path = "D:\Python\Image Recognition\r_001.jpeg"
def detect_text(path):
with io.open(path, 'rb') as image_file:
content = image_file.read()
image = vision.types.Image(content=content)

response = client.text_detection(image=image)
texts = response.text_annotations
print('Texts:')

for text in texts:
   print('\n"{}"'.format(text.description))

vertices = (['({},{})'.format(vertex.x, vertex.y)
             for vertex in text.bounding_poly.vertices])

print('bounds: {}'.format(','.join(vertices)))

On the jupyter console, i see the following...
runfile('D:/Python/Image Recognition/Image Recognition.py', wdir='D:/Python/Image Recognition')

My bad... I am sorry.. forgot to call "detect_text" at the end of the program..
Please ignore the above query.. thanks


Disable nightly test failures

Disable the tests that are making the nightly tests fail

Codecov Report

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

@@            Coverage Diff             @@
##           master    #7415      +/-   ##
==========================================
+ Coverage   57.84%   58.51%   +0.66%
==========================================
  Files         492      492
  Lines       21392    21744     +352
  Branches     3481     3486       +5
==========================================
+ Hits        12375    12723     +348
- Misses       8230     8239       +9
+ Partials      787      782       -5

Impacted Files
Coverage Δ

src/client/common/logger.ts
68.55% <0%> (-4.41%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
100% <0%> (ø)
:arrow_up:

src/client/formatters/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

...lient/datascience/jupyter/jupyterSelfCertsError.ts
100% <0%> (ø)
:arrow_up:

src/client/debugger/extension/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

src/client/common/variables/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

src/client/common/process/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

src/client/common/dotnet/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

src/client/linters/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

src/client/interpreter/serviceRegistry.ts
100% <0%> (ø)
:arrow_up:

... and 25 more

Continue to review full report at Codecov.

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


webpack issues

> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

 95% emitting

 WARNING  Compiled with 1 warnings                                                                                3:26:06 PM

 warning  in ./node_modules/intro.js/introjs.css

(Emitted value instead of an instance of Error) autoprefixer: /home/ghenry/src/SureVoIP-Portal/root/src/client_side/node_modules/intro.js/introjs.css:12:3: Gradient has outdated direction syntax. Replace `cover` to `farthest-corner`.

 @ ./node_modules/intro.js/introjs.css 4:14-114 13:3-17:5 14:22-122
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://localhost:8081 webpack/hot/dev-server ./src/main.js

./node_modules/intro.js/introjs.css is not a part of this plugin.
i've removed it from package.json
refer the docs for more information

Hi Alex,
Which part of the docs would that be? This set up is like no other vue-*
thing I've used, so please bear with me.
Gavin.

It's trigger by:
// attach CSS
// SomeComponent.vue
import 'intro.js/introjs.css';

I'm using vue-cli with webpack template.

Should I raise the css issue with the introjs team?
I do not want to include the js or css in a html file, but use webpack.
Thanks!

Seems that issue us with introjs itself. I will remove that import anyway.
On Feb 16, 2018 19:00, "Gavin Henry"<EMAIL_ADDRESS>wrote:

Should I raise the css issue with the introjs team?
I do not want to include the js or css in a html file, but use webpack.
Thanks!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/alex-oleshkevich/vue-introjs/issues/15#issuecomment-366276495,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmzyHumtlMDKVcotZPSO8G7QQ3sgeLuks5tVaYbgaJpZM4SIfl-
.

Looks like it's fixed here https://github.com/usablica/intro.js/pull/804


Question, immintrin.h support planned?

My question is if support for immintrin.h (and atomics) is planned to become part of mir.
I was considering it for a JIT-ing audio graphs, but that most often needs intrinsics.
And I guess auto-vectorization would be out of the question for MIR anyway...

In its current shape, MIR can already be used for audio DSP will quite good performances, see Faust compiling for MIR.

My question is if support for immintrin.h (and atomics) is planned to become part of mir.
I was considering it for a JIT-ing audio graphs, but that most often needs intrinsics.
And I guess auto-vectorization would be out of the question for MIR anyway...

Thank you for your interest in the project.
Atomics for me is higher priority than immintrin.h.  That is because it is a part of C11 standard. and because CRuby (I am trying to implement JIT for it) uses atomics but not immintrin.h.  It is also simpler to implement atomics.
Implementing immintrin.h is a big work.  I guess it would be done by other people if MIR and C2MIR support asm insns which is even a bigger project.
So atomics in some form will be probably implemented but I don't think I'll work on immintrin.h.  Although if somebody implements it for MIR (in case when asm insn will be implemented) , I'd be glad to consider this work for integration into MIR-project.
Some time ago, somebody proposed to add some vector insns for MIR.  That time I said no.  But now I am more flexible.  I think wasm simplified approach to use vector insns could be more viable alternative for adoption (although MIR targets more architectures than wasm and this might be a problem).

Atomics for me is higher priority than immintrin.h. That is because it is a part of C11 standard. and because CRuby (I am trying to implement JIT for it) uses atomics but not immintrin.h. It is also simpler to implement atomics.

Yeah, I've read up about the origins, I read all your blog posts about MIR. Very interesting and inspiring, I'm hoping for even more posts about it ;-)

So atomics in some form will be probably implemented but I don't think I'll work on immintrin.h. Although if somebody implements it for MIR (in case when asm insn will be implemented) , I'd be glad to consider this work for integration into MIR-project.

I can understand that. I'm just wondering, wouldn't it make sense to give priority to adding support for asm instructions?
That way you could hope for third party submissions for atomics (and possibly intrinsics). Or would that leave WASM unsolved?

Yeah, I've read up about the origins, I read all your blog posts about MIR. Very interesting and inspiring, I'm hoping for even more posts about it ;-)

The next my blogpost will be probably ready in couple months.  I am going to describe dynamically specializing IR for CRuby used by MIR-based JIT I am currently working on.  And may be in year I am planning a blog post completely devoted to MIR-based JIT for CRuby.

So atomics in some form will be probably implemented but I don't think I'll work on immintrin.h. Although if somebody implements it for MIR (in case when asm insn will be implemented) , I'd be glad to consider this work for integration into MIR-project.

I can understand that. I'm just wondering, wouldn't it make sense to give priority to adding support for asm instructions? That way you could hope for third party submissions for atomics (and possibly intrinsics). Or would that leave WASM unsolved?

Implementing asm extension requires basically to write assembles for targets supported by MIR (x86_64, arm64, ppc64, s390, riscv).  It is a huge project.  MIR generates very small set of insns of the targets.  For this project I need to generate much more insns.  Asm-stmt extension in GCC/LLVM is not trivial too (I know it well as I implemented one new feature for GCC asm about 2 years ago).
So I am thinking about simplified approach: asm (some insn binary sequence which will be placed inside generated code: output vars bound to regs, input vars bound to regs: clobbered regs).  The user will be responsible for coding the insn himself.  Fixed regs saying the compiler what is used and changed by the asm insn.
So the difference with GCC asm is that the user should do encoding and less flexibility to use different regs.  MIR (on branch bbv) already has already asm variables (variables bound to the specific target regs).  It could help to implement this approach.


cocos2d-console Permission denied

only tried on macOS 10.15.7
Steps to Reproduce:

clone the repo
Enter engine-x root directory
Run python setup.py, restart console after finish
open new console
Run cocos --version (or run cocos, or cocos new, whatever cocos command)
(whatever folder i am at it displays same message even in Desktop or Downloads)
result:
-bash: /Users/martin/dev/engine-x/tools/cocos2d-console/bin/cocos: Permission denied

it only works if i do python cocos.py at /engine-x/tools/cocos2d-console/bin/

Thanks, I will check it

Hello, I have test, it seems works fine:
deal@dealdeMac engine-x % ls -l tools/cocos2d-console/bin
total 584
-rw-r--r--  1 deal  staff   5118 10 21 03:22 MultiLanguage.py
-rw-r--r--  1 deal  staff   4965 10 21 06:14 MultiLanguage.pyc
-rwxrwxrwx  1 deal  staff    392 10 21 07:03 cocos
-rw-r--r--  1 deal  staff     39  8 19 23:48 cocos.bat
-rw-r--r--  1 deal  staff  36874 10 21 07:03 cocos.py
-rw-r--r--  1 deal  staff  35218 10 22 02:33 cocos.pyc
-rw-r--r--  1 deal  staff   1798 10 21 06:14 cocos2d.ini
-rw-r--r--  1 deal  staff  17768  8 19 23:48 cocos_project.py
-rw-r--r--  1 deal  staff  19927 10 21 06:14 cocos_project.pyc
-rw-r--r--  1 deal  staff  16056  8 19 23:48 cocos_stat.py
-rw-r--r--  1 deal  staff  14467 10 21 06:14 cocos_stat.pyc
-rw-r--r--  1 deal  staff   2408  8 19 23:48 install.py
-rw-r--r--  1 deal  staff  94868 10 21 06:14 strings.json
-rw-r--r--  1 deal  staff   6981  8 19 23:48 utils.py
-rw-r--r--  1 deal  staff   5186 10 21 06:14 utils.pyc
deal@dealdeMac engine-x % cocos --version
cocos2d-x-4.0
Cocos Console 2.3

tried console from official cocos and it works, then i removed variables from bash_profile and tried again with engine-x, same problem. i don't know what it is. (Close the issue i don't want to waste your time) thanks.


Optimize cached address normalization further

This change optimizes the normalization of addresses using cached /proc//maps entries further.
In order to do so we end up going back to a world where normalization functions accept the MapsEntry iterator as a generic argument as opposed to a trait object, because doing so allows us to abstract over ownership using the AsRef trait.
As a result of this work, we improve the performance of this path by close to 35%:
  > main/normalize_process_no_build_ids_cached
  >      time:   [621.76 ns 624.34 ns 627.07 ns]
  >      change: [−35.120% −34.666% −34.255%] (p = 0.00 < 0.02)
  >      Performance has improved.

(this was previously contained in https://github.com/libbpf/blazesym/pull/553, but I moved it out as it's a logical next step)


Release PR

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve. e.g., Fixes #01]
Check List

[x] New functionality includes testing.

[x] All tests pass ($ rake test).

[x] New functionality has been documented in the README if applicable.

[ ] New functionality has been thoroughly documented in the examples (please include helpful comments).

[x] New endpoints supported are updated in the endpoints-support.md file.
[x] Changes are documented in the CHANGELOG.

Update README versioning and also take care of connection_template in endpoints file

Update version.rb file

done

Update README versioning and also take care of connection_template in endpoints file

done


Fix create mod compatibility (Fabric)

This should allow newer builds of the create mod to work with this mod

Thank you for the contribution, i can not test this at the moment but it looks good. I will merge this now but publishing to modrinth and curseforge will take some time.

It seems like a new create version broke the mod.

Nvm its just GitHub actions that broke.

yeah, I edited the fabric.mod.json in the .jar of the mod, tested with the newest version of create, everything seemed to be working correctly

Fixed the build process, merging!


Move https://github.com/romejs/logo to main repo

This moves https://github.com/romejs/logo into the monorepo. Only reason this was separate is because we wanted to do the new logo/design during the FB license transition and I didn't want to mix the rights.
cc @EduardoLopes

Great!


Not able to Generate Authorization Code Direclt From test.py

Hi,
After Passing signin details and autorize:1 , i am getting only [('x-hue', 'router-e6a7ad23'), ('content-length', '154'), ('vend-rid', '7EWuNaPwyp'), ('server', 'openresty'), ('content-security-policy-report-only', "frame-ancestors 'self'; report-uri https://vendhq.report-uri.io/r/default/csp/reportOnly"), ('connection', 'keep-alive'), ('vend-ingress', 'duke-fe064b5b08b2'), ('location', '/signin'), ('date', 'Tue, 15 Nov 2016 09:59:28 GMT'), ('content-type', 'text/html'), ('vend-canary', 'canary')]
Response. There is not code in this. How can i get Retailer Authorization Code directly?

I Think This Code works fine for Basic Authorization, now they introduced OAuth 2.0 and Personal Tokens. Do you have any idea how to use Personal Tokens?


SNO-304: Parachain -> Ethereum: bundle messages by account

Added an issue to replace the copied Merkle proof implementation with a dependency on Substrate.


[build-script] Add support for specifying that a product is a non-darwin only product.

We have a few of these like foundation, libdispatch, icu, xctest that are built
outside of build-script on Darwin.
This just lets me ignore them when computing auto-dependencies.

@swift-ci python lint

@swift-ci smoke test


Random test runner AWSIM support

Types of PR

[ ] New Features
[x] Upgrade of existing features
[ ] Bugfix

Link to the issue
https://tier4.atlassian.net/browse/RJD-708
Description
This PR adds:

random_test_runner AWSIM support

enabled ego spawning when working with Unity simulator
changed simulator_type for working with AWSIM from unity to awsim
added docs on how to run random_test_runner with AWSIM

test timeout configuration support with docs update

How to review this PR.
This PR is based on https://github.com/tier4/scenario_simulator_v2/pull/1143 to include the new documentation structure. PR #1143  should be merged before this one.
Others

Is this pull request really only dependent on #1152? It looks like it also depends on #1143 as far as I can tell from the Diff. Reqeust change to prevent merge by mistake.

@hakuturu583 Yes, you are correct. I linked the wrong PR. I updated the description accordingly.
I will solve the conflicts today too.

#1143 was merged.
Please follow master branch in upstream repository and reduce diff for review.

@hakuturu583 I merged master branch. The PR is now ready for review.

@hakuturu583 Please let me know if there is anything more that should be done regarding this PR?

@piotr-zyskowski-rai Could you follow upstream?


File handle leak on OS X

The following code quickly runs into a panic: too many open files on OS X, even though the documentation says that Close removes all watches.
package main

import "gopkg.in/fsnotify.v1"

func main() {
	for {
		println("loop")

		w, err := fsnotify.NewWatcher()
		if err != nil {
			panic(err)
		}

		go func() {
			for range w.Events {
			}
		}()
		go func() {
			for range w.Errors {
			}
		}()

		if err := w.Add("test.go"); err != nil {
			panic(err)
		}

		// uncomment this to make the leak go away
		// if err := w.Remove("test.go"); err != nil {
		// 	panic(err)
		// }

		if err := w.Close(); err != nil {
			panic(err)
		}
	}
}

Thanks for reporting this.

@PieterD I'm looking this on OS X and BSD, but it also fails on Linux:
using import "github.com/go-fsnotify/fsnotify"
panic: inotify_init: too many open files

This would cause a tremendous amount of problems. With my next pull, I've got w.Close waiting until the goroutine is done. That will fix this.

Excellent.
kqueue
This is interesting, as Close just calls Remove for all watches. Another race condition?
Close is ignoring the errors that Remove sends back, in this case: "bad file descriptor"

If Close just removes all watches but the goroutine blocks on something, the goroutines will start heaping up as you keep adding more goroutines, all blocking, all keeping open files.
They don't even have to block; if you create the next goroutine without waiting for the last one to finish, you could create a thousand before the first goroutine has a chance to clean up.

Confirmed that https://github.com/go-fsnotify/fsnotify/pull/66 fixes this for inotify. For OS X, I suggest making sure Close waits until the goroutine is stopped before returning.

Thanks @PieterD. I've already merged a fix for OS X, but I have yet to tag a new release. Tomorrow once the poll stuff is in.


Configurable 3DS protocol message version

Somewhat similar to https://github.com/Judopay/JudoKit-iOS/tree/feature/3ds2_message_version_config 🤔

Somewhat similar to https://github.com/Judopay/JudoKit-iOS/tree/feature/3ds2_message_version_config 🤔
same thing basically + some error handling improvements to make that error message reach JudoKit error handling logic


Add reccomendation ITU-R P.1623

Codecov Report

Merging #34 (0c94f39) into develop (c4a169b) will decrease coverage by 1.96%.
The diff coverage is 97.87%.

@@             Coverage Diff             @@
##           develop      #34      +/-   ##
===========================================
- Coverage    96.61%   94.64%   -1.97%
===========================================
  Files           24       25       +1
  Lines         6467     6464       -3
===========================================
- Hits          6248     6118     -130
- Misses         219      346     +127

Impacted Files
Coverage Δ

test/itur_test.py
90.37% <92.85%> (-1.00%)
:arrow_down:

itur/models/itu1623.py
99.10% <99.10%> (ø)

itur/models/__init__.py
100.00% <100.00%> (ø)

test/ITU_validation_report_test.py
63.00% <0.00%> (-34.41%)
:arrow_down:

itur/__init__.py
97.95% <0.00%> (-2.05%)
:arrow_down:

test/examples_test.py
92.82% <0.00%> (-0.19%)
:arrow_down:

itur/models/itu835.py
98.36% <0.00%> (-0.13%)
:arrow_down:

itur/models/itu618.py
95.59% <0.00%> (-0.11%)
:arrow_down:

itur/models/itu1853.py
98.27% <0.00%> (-0.07%)
:arrow_down:

... and 11 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #34 (b505091) into develop (4003dba) will increase coverage by 0.03%.
The diff coverage is 97.64%.

@@             Coverage Diff             @@
##           develop      #34      +/-   ##
===========================================
+ Coverage    96.61%   96.64%   +0.03%
===========================================
  Files           24       25       +1
  Lines         6467     6678     +211
===========================================
+ Hits          6248     6454     +206
- Misses         219      224       +5

Impacted Files
Coverage Δ

test/itur_test.py
91.45% <93.33%> (+0.08%)
:arrow_up:

itur/models/itu1623.py
98.03% <98.03%> (ø)

itur/models/__init__.py
100.00% <100.00%> (ø)

test/ITU_validation_report_test.py
97.59% <100.00%> (+0.18%)
:arrow_up:

Continue to review full report at Codecov.

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


Adds link to stack overflow community.

Adds stack overflow community link

Current coverage is 91.64%

Merging #1058 into master will not affect coverage as of 01233a3

@@            master   #1058   diff @@
======================================
  Files           73      73
  Stmts         4442    4442
  Branches       889     889
  Methods          0       0
======================================
  Hit           4071    4071
  Partial         10      10
  Missed         361     361

Review entire Coverage Diff as of 01233a3

Powered by Codecov. Updated on successful CI builds.


Handle _include in Cosmos DB with untyped references

Description
Fixes a bug with in the _include implementation for Cosmos DB, where we were not accounting for untyped references in the database like "123" instead of "Patient/123". We currently null-ref when we encounter this kind of reference in an _include. With this change, we will ignore these kinds of references, which aligns with the current SQL server behavior.
Related issues
Addresses #1503
Testing
E2E tests.

This is currently dependent on #1497. I will change the target branch one it has merged.


Add compatibility section to README

This commit adds a compatibility section to the README explaining our
Mesos compatibility guarantees.

lgtm


Remap Evidence: View Settings command we disabled to display extension settings in the built-in VS Code Settings editor

[x] Enable evidence.viewSettings command we added in #14 and hid in #37 to show up in the Command Palette... VS Code menu
[x] Change it to open built-in VS Code Settings editor and show Evidence Settings we added in #52, #53 and #54
[x] Keep the old ViewAppSettings command in commands enum and change it to evidence.viewAppSettings for now
[x] Add new Commands.ViewExtensionSettings enum value, and viewExtensionSettings() command implementation to src/commands/settings.ts
[x] Update Evidence: View Settings command description in the Commands section in docs

Update Evidence: View Settings command and display:

Display remapped Evidence: View Settings command at all times, even when there is not Evidence project detected or created yet:

✅