Always raises exception if using executable built with ruby-packer

I keep running into this exception any time I try to use the executable as suggested in the documentation.
The source of the error appears to be here: https://github.com/github/licensed/blob/d84a41cb9205340b8e96661b0a34ec575cb576ed/lib/licensed/sources/bundler.rb#L58
And since the executables are always built with ruby-packer, this error will always occur?
Context:
We tried adding the following code to our Buildkite (CI)'s pipeline.yml file:
  - label: Run license checks
    branches: "!main"
    command:
      - "curl -sSL https://github.com/github/licensed/releases/download/3.3.1/licensed-3.3.1-linux-x64.tar.gz > licensed.tar.gz"
      - "tar -xzf licensed.tar.gz --no-same-owner"
      - "rm -f licensed.tar.gz"
      - "ls -la"
      - "./licensed cache"
      - "./licensed status"

@yugoPanorama it looks like you want to use licensed with a local ruby installation - is there any reason you're not using the ruby gem distribution of licensed and installing with bundler or gem install licensed?  The executable is meant to support using licensed only in environments where ruby isn't already available.
I'm sorry that the documentation is unclear 🙏 .  If you want to submit a PR to update the documentation I'd be happy to review it, or if you can point me at the content that made you think you needed to use the executable I'll update it when I get a chance!

Thanks, @jonabc!  We can successfully install and run licensed on our (macOS) dev laptops, but trying to get it to run in a (linux) Dockerized CI environment has been unsuccessful so far:

We tried to gem install licensed (in the pipeline.yml file and alternatively in the Dockerfile), but ran into issues due to a dependency on cmake and pkg-config.
In the container, apt-get install cmake pkg-config (with and without sudo) didn't work for us.
We also tried installing ruby-dev via apt-get install which didn't solve it.
That's why we wound up trying to do it with the executable version.

I'd be happy to submit a PR with clarified documentation, but to be honest, I don't understand enough yet about the interactions between licensed and bundler and ruby-packer to know what to write.
Thanks for taking a look at this!

what errors are you seeing from apt-get install cmake pkg-config?  I might be able to help there as I've had to work through similar issues in the past, but my experience with linux and/or dependency package installation issues is limited.

@yugoPanorama :wave: is there anything else I can help with here?  Have you been able to get past the underlying issue of getting ruby installed in the CI environment?

Thank you so much, @jonabc !  I haven't had a chance to get back to this as more urgent work has taken me away from this side project, but I'll try to answer your questions next week!


Proposal: gitlab importer

you Id like to migrate my self hosted gitlab instance to gitea. I can see that there are APIs on both ends that probably do what I want but wanted to sanity check here before I go build something new.
I imagine I’d create this as a stand-alone tool that could perhaps be upstreamed if desired.
Is this something you all would be interested in, or should I just build a one off tool for myself?
Edit: I found https://github.com/MarcelSimon/MigrateGitlabToGogs/blob/master/README.md
Thoughts on the current process (is it sufficient?) from the view of the gitea team? It looks like it doesn’t migrate over users, perhaps intentionally?

There is a github migrator that was built by @JonasFranzDEV found at https://git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator
Perhaps you might be able to use that as a base to speed up your development.
I've also made a simple script for migrating Gitlab/Github -> Gitea that you can find here: https://gist.github.com/techknowlogick/c2367e03baff9f16b3c5cc9d9a5d13ca (it only has github->gitea code in it right now but you swap out github lib for gitlab lib)

Do the scripts you link also provision users, repo attributes like web hooks, other (2fa?)
Basically my ideal tool takes a running gitlab and a clean install gitea and makes the gitea as close to the gitlab configuration as possible. Passwords may need to be reset, but other than that all my deploy keys are there, my hooks, my repos owned properly by me

I'm not sure about the first link (there has been a lot of development on it since I last looked), but the second link (my gist) only does the equivalent of a git clone

Cool, I will close this for now and try out the existing solutions, and report back if I come up with something better


NuGetGallery.Core package produced by build.ps1 has no dependencies

Due to https://github.com/NuGet/Home/issues/5979.
When we moved NuGetGallery.Core to PackageReference, this regressed.
In NuGet.Jobs, Validation.Common.Job package works because the .csproj has a .nuspec next to it with the explicit dependencies. And a test to assert that the .csproj and .nuspec dependencies does not diverge.
We could also follow the workaround in the client issue above.

As a workaround, I produced a signed version of NuGetGallery.Core based off of the last dev -> master merge before the PackageReference migration:
https://dotnet.myget.org/feed/nuget-build/package/nuget/NuGetGallery.Core/4.4.5-master-39280


PermissionError: [Errno 13] Permission denied: 'assets/dashExtensions_default.js'

Hi, I'm using dash-extensions for my dash app. I works locally but it does not work when deploying to production.
I'm trying to deploy to Google Cloud Run that uses a Docker file which partly i'll share as well.
I found this error and I'm not able to solve it. Is there someone here that might know a solution? I feels like it is not able to find this dashExtensions_default.js but this is in my assets folder locally... I also tried creating the assets folder my self, and then copying the file into this folder but this does not solve the error.
Stacktrace of the error
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/gthread.py", line 92, in init_process
    super().init_process()
  File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 134, in init_process
    self.load_wsgi()
  File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
    self.wsgi = self.app.wsgi()
  File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi
    self.callable = self.load()
  File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
    return self.load_wsgiapp()
  File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
    return util.import_app(self.app_uri)
  File "/usr/local/lib/python3.10/site-packages/gunicorn/util.py", line 359, in import_app
    mod = importlib.import_module(module)
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/dashboard/app.py", line 1, in <module>
    import dashboard.index as dashboard
  File "/dashboard/dashboard/index.py", line 11, in <module>
    from dashboard.layout.layout import page_dashboard, page_table, navbar
  File "/dashboard/dashboard/layout/layout.py", line 4, in <module>
    import dashboard.components.choropleth as choro
  File "/dashboard/dashboard/components/choropleth.py", line 7, in <module>
    import dashboard.layout.style_handler as style_handler
  File "/dashboard/dashboard/layout/style_handler.py", line 4, in <module>
    style_handle = assign("""function(feature, context){
  File "/usr/local/lib/python3.10/site-packages/dash_extensions/javascript.py", line 43, in assign
    _default_name_space.dump()
  File "/usr/local/lib/python3.10/site-packages/dash_extensions/javascript.py", line 37, in dump
    with open(os.path.join(assets_folder, "{}.js".format("_".join(self.args))), 'w') as f:
PermissionError: [Errno 13] Permission denied: 'assets/dashExtensions_default.js'

Docker File
# Use the official lightweight Python image.
# https://hub.docker.com/_/python
FROM python:slim-buster

# Settings
# Allow statements and log messages to immediately appear in the Knative logs
ENV PYTHONUNBUFFERED True

# Create Working Directory
ENV APP_HOME /dashboard
ENV USER app
ADD . $APP_HOME
WORKDIR $APP_HOME

# Create venv
# RUN python -m venv venv

# Copy requirements.txt
COPY requirements.txt requirements.txt
RUN apt-get update

# Create User
RUN groupadd -r $USER && useradd -r -g $USER $USER

# create a folder called assets and chown it to the user and copy the assets
# folder to the assets folder
RUN mkdir -p $APP_HOME/assets
RUN chown -R $USER:$USER $APP_HOME/assets
COPY $APP_HOME/assets $APP_HOME/assets

When the app runs, the dynamic assets (e.g. user defined functions) are written automatically to the assets folder. This error indicates that the Python script doesn't have write access to the folder.

As it currently stands, I don't see a bug here. The behaviour seems to be intended (i.e. the error lies elsewhere, most likely in permission). Please reopen the issue if this is not the case.


fix: update main page

Changes

updated name and slogan
updated blurb
updated social media links
updated email links

UI Changes

Oops, sorry! Thought I was adding this to my fork. 😅


When going to a type definition info panel show the documentation for the keyword and not the type

Describe the bug**

It seems like we have to be inside the type name to get the info panel to display the type information.
Machine info

OS: Windows/Mac/Linux
.NET SDK version: 5.0.202
Ionide version: 5.5.3

This is still the case in 5.10.1 - when we go to def, the cursor is put at the start of the token. I think at some point we do lexing/tokenization of the line - 1, which gives you the type keyword in this instance.


Django 4 Support

Hey, we're getting errors with Django 4 that it isn't supported. I assume we can just increment the supported version?

A major version bump may introduce breaking changes. Do you verify that simply upgrading version number works? If so, could you share your patch as pull request?

I have no tested it. I haven't had time. Right now, we're not updating django products. When I get more time, I can test it. If somebody else has some time to test, that would be wonderful.

I tested this by changing the version number, I have not ran into any issues yet.
Fork: https://github.com/killuminatixhr/django-tidb

@killuminatixhr Would you mind submitting a PR? I could help test and figure out it works or not.

@killuminatixhr Would you mind submitting a PR? I could help test and figure out it works or not.

added a PR, thank you!

Thanks everyone! I've been testing it too & so far everything is working fine. I checked the Django 4 notes, and didn't see anything noticeable with the ORM.

After some investigation, I think we can't just bump the version. The reason is django-tidb doesn't have its version mechanism yet. django-tidb version controls which django version it's compatible with, 3.2.x corresponds to django 3.2.x, 4.0.x corresponds to django 4.0.x. But no version is released in PyPi yet. So if we bump the version to 4.0.3, only django 4.0.x is supported then. According to https://www.djangoproject.com/download/#ft2, at least we should support django 3.x too.
So I think we should first make sure what's the version mechanism for django-tidb. One version corresponds to one django version or one version supports multiple django versions. Then we could figure out what we need to do.

We never had a pip release for 3.2.x either. I think there's another ticket #4
Does pingcap plan on supporting this or should our team be focused on maintaining our own copy?

We never had a pip release for 3.2.x either. I think there's another ticket #4
Does pingcap plan on supporting this or should our team be focused on maintaining our own copy?

We are going to support this lib. Figure out the version mechanism and release it to PyPi.

Hi all, I've added the support for Django 4 and established CI for it, check https://github.com/pingcap/django-tidb/pull/22. I removed the version relevance between django-tidb and Django in code. I'd like to use one version to support multiple Django versions and use CI to ensure the compatibility.
Next I'd like to try to release the backend on pypi.


PowerShell no longer valid

Attempting to run PS as stated in the document results in the following error:
Exception calling "GetSteppablePipeline" with "1" argument(s): "The expression after '&' in a pipeline element produced an object that was not valid. It must result
in a command name, a script block, or a CommandInfo object."
At C:\Users\RyanMichalski\OneDrive - Nuwave Communications,
Inc\Documents\WindowsPowerShell\Modules\MicrosoftTeams\2.6.0\net472\exports\ProxyCmdletDefinitions.ps1:75556 char:9
+         $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvoc ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : RuntimeException

PS pulled from article:
C:\> $content = Get-Content "C:\tmp\customMoH1.mp3" -Encoding byte -ReadCount 0
C:\> $AudioFile = Import-CsOnlineAudioFile -FileName "customMoH1.mp3" -Content $content
C:\> $AudioFile

Version              Name                                Repository           Description
-------              ----                                ----------           -----------
2.6.0                MicrosoftTeams                      PSGallery            Microsoft Teams cmdlets module for Win...

Issue appears to be only with Version 2.6.0 - downgraded to 2.2.5 and ps ran properly.
2.2.5                PowerShellGet                       PSGallery            PowerShell module with commands for di

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @rmichalskinw, thank you for your feedback.
Could you kindly share the article you are referencing? Thanks!

https://docs.microsoft.com/en-us/microsoftteams/music-on-hold

@rmichalskinw, I tested it and worked for me:

I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome, let me know if it can be called out in the docs.
Please follow this link to contact support for business products:  https://docs.microsoft.com/office365/admin/contact-support-for-business-products.
Please keep us posted here on the resolution to feed whatever information you discover into the content.

@dariomws it appears to be an issue with how PowerShell was running - OneDrive was settings itself to the default application instance causing an issue when trying to upload the file. Once I killed off OneDrive everything worked without issue. I have a ticket open with MS regarding how PS chooses it's pathing when there are modules installed in two places.
This can now be closed - thank you.


BKR-1546 Added associate_public_ip_address as host variable that is i…

…nserted into the AWS config if set

Can one of the admins verify this patch?

test this please

last comment is still current

Updated with fixed comment format and appropriate testing

retest this please


example for TimeSeriesDataset

Hello,
I'm trying to use the TFT model on my custom dataset. For that, I created a custom pytorch dataloader and when I try to call the fit method on it, it tells me that it got an unexpected type.
Here is the construction of my dataloader
class BSM2Dataset(Dataset):
  """BSM2 dataset."""

  def __init__(self):
    # self.landmarks_frame = pd.read_csv(csv_file)
    self.inf = pd.read_csv('/content/bsm2_influent.csv').values
    self.eff = pd.read_csv('/content/bsm2_effluent.csv').values
    self.X, self.Y = self.split_series(1, 1)

  def __len__(self):
    return len(self.inf)

  def split_series(self, n_past, n_future):
    X, y = list(), list()
    for window_start in range(len(self.inf)):
      past_end = window_start + n_past
      future_end = past_end + n_future
      if future_end > len(self.inf):
        break
      # slicing the past and future parts of the window
      past, future = self.inf[window_start:past_end, :], self.eff[past_end - 1:future_end -1, :]
      X.append(past)
      y.append(future)
    return np.array(X), np.array(y)

  def __getitem__(self, idx):
    if torch.is_tensor(idx):
      idx = idx.tolist()

    return self.X[idx], self.Y[idx]

Here the call to the fit method
foo = BSM2Dataset()
model = TFT(h=12,
                input_size=48,
                hidden_size=100,
                stat_exog_list=['airline1'],
                hist_exog_list=['y_[lag12]'],
                futr_exog_list=['trend'],
                max_epochs=300,
                learning_rate=0.01,
                scaler_type='robust',
                loss=MQLoss(level=[80, 90]),
                windows_batch_size=None,
                enable_progress_bar=True)
model.fit(foo)

The call fails and here is the entire stacktrace
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
[<ipython-input-14-a8a91adbe35a>](https://localhost:8080/#) in <module>
----> 1 model.fit(foo)

18 frames
[/usr/local/lib/python3.7/dist-packages/neuralforecast/common/_base_windows.py](https://localhost:8080/#) in fit(self, dataset, val_size, test_size)
    399
    400         trainer = pl.Trainer(**self.trainer_kwargs)
--> 401         trainer.fit(self, datamodule=datamodule)
    402
    403     def predict(self, dataset, test_size=None, step_size=1, **data_module_kwargs):

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in fit(self, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path)
    769         self.strategy.model = model
    770         self._call_and_handle_interrupt(
--> 771             self._fit_impl, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path
    772         )
    773

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in _call_and_handle_interrupt(self, trainer_fn, *args, **kwargs)
    721                 return self.strategy.launcher.launch(trainer_fn, *args, trainer=self, **kwargs)
    722             else:
--> 723                 return trainer_fn(*args, **kwargs)
    724         # TODO: treat KeyboardInterrupt as BaseException (delete the code below) in v1.7
    725         except KeyboardInterrupt as exception:

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in _fit_impl(self, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path)
    809             ckpt_path, model_provided=True, model_connected=self.lightning_module is not None
    810         )
--> 811         results = self._run(model, ckpt_path=self.ckpt_path)
    812
    813         assert self.state.stopped

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in _run(self, model, ckpt_path)
   1234         self._checkpoint_connector.resume_end()
   1235
-> 1236         results = self._run_stage()
   1237
   1238         log.detail(f"{self.__class__.__name__}: trainer tearing down")

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in _run_stage(self)
   1321         if self.predicting:
   1322             return self._run_predict()
-> 1323         return self._run_train()
   1324
   1325     def _pre_training_routine(self):

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in _run_train(self)
   1343
   1344         with isolate_rng():
-> 1345             self._run_sanity_check()
   1346
   1347         # enable train mode

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/trainer.py](https://localhost:8080/#) in _run_sanity_check(self)
   1411             # run eval step
   1412             with torch.no_grad():
-> 1413                 val_loop.run()
   1414
   1415             self._call_callback_hooks("on_sanity_check_end")

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/loops/base.py](https://localhost:8080/#) in run(self, *args, **kwargs)
    202             try:
    203                 self.on_advance_start(*args, **kwargs)
--> 204                 self.advance(*args, **kwargs)
    205                 self.on_advance_end()
    206                 self._restarting = False

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/loops/dataloader/evaluation_loop.py](https://localhost:8080/#) in advance(self, *args, **kwargs)
    153         if self.num_dataloaders > 1:
    154             kwargs["dataloader_idx"] = dataloader_idx
--> 155         dl_outputs = self.epoch_loop.run(self._data_fetcher, dl_max_batches, kwargs)
    156
    157         # store batch level output per dataloader

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/loops/base.py](https://localhost:8080/#) in run(self, *args, **kwargs)
    202             try:
    203                 self.on_advance_start(*args, **kwargs)
--> 204                 self.advance(*args, **kwargs)
    205                 self.on_advance_end()
    206                 self._restarting = False

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py](https://localhost:8080/#) in advance(self, data_fetcher, dl_max_batches, kwargs)
    110         if not isinstance(data_fetcher, DataLoaderIterDataFetcher):
    111             batch_idx = self.batch_progress.current.ready
--> 112             batch = next(data_fetcher)
    113         else:
    114             batch_idx, batch = next(data_fetcher)

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/utilities/fetching.py](https://localhost:8080/#) in __next__(self)
    182
    183     def __next__(self) -> Any:
--> 184         return self.fetching_function()
    185
    186     def reset(self) -> None:

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/utilities/fetching.py](https://localhost:8080/#) in fetching_function(self)
    257             # this will run only when no pre-fetching was done.
    258             try:
--> 259                 self._fetch_next_batch(self.dataloader_iter)
    260                 # consume the batch we just fetched
    261                 batch = self.batches.pop(0)

[/usr/local/lib/python3.7/dist-packages/pytorch_lightning/utilities/fetching.py](https://localhost:8080/#) in _fetch_next_batch(self, iterator)
    271     def _fetch_next_batch(self, iterator: Iterator) -> None:
    272         start_output = self.on_fetch_start()
--> 273         batch = next(iterator)
    274         self.fetched += 1
    275         if not self.prefetch_batches and self._has_len:

[/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py](https://localhost:8080/#) in __next__(self)
    679                 # TODO(https://github.com/pytorch/pytorch/issues/76750)
    680                 self._reset()  # type: ignore[call-arg]
--> 681             data = self._next_data()
    682             self._num_yielded += 1
    683             if self._dataset_kind == _DatasetKind.Iterable and \

[/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py](https://localhost:8080/#) in _next_data(self)
    719     def _next_data(self):
    720         index = self._next_index()  # may raise StopIteration
--> 721         data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
    722         if self._pin_memory:
    723             data = _utils.pin_memory.pin_memory(data, self._pin_memory_device)

[/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/fetch.py](https://localhost:8080/#) in fetch(self, possibly_batched_index)
     50         else:
     51             data = self.dataset[possibly_batched_index]
---> 52         return self.collate_fn(data)

[/usr/local/lib/python3.7/dist-packages/neuralforecast/tsdataset.py](https://localhost:8080/#) in _collate_fn(self, batch)
     61                         temporal_cols = elem['temporal_cols'])
     62
---> 63         raise TypeError(f'Unknown {elem_type}')
     64
     65 # %% ../nbs/tsdataset.ipynb 7

TypeError: Unknown <class 'tuple'>

I tried searching on the site and I couldn't find an example of the TimeSeriesDataset being used as an example. Would it possible to have a tutorial nb which shows how to do this?
Thanks!

Hi @deven-gqc,
Thanks for the comment, we are yet to add a tutorial with usage examples of the TimeSeriesDataset.
You can take a look to:

TFT usage example
TimeSeriesDataset code/documentation

Let us know if you manage to run TFT in your data.

Hi @kdgutier, thanks for the prompt reply. I went through those, I'm not very familiar with pytorch lightning but it seems very similar, I will give that a try. Also, as a side question, does Nixtla has a forums page or a discord server? If so, I'd like to join it.

Cool, cool. Let me know how TFT goes.
We have a slack channel. Does this link works?

@kdgutier I can't join the Slack community as I don't have an email address with these domains.

Use this link to join.

Thanks @mergenthaler, I am in!

@deven-gqc were you ever able to get this working? I'm doing something similar but not sure how to use TImeSeriesDataset. I'm thinking it might just be easier to use NeuralForecast class and use 1 model in the params.


Drop RunAsGroup from the libguestfs pod manifest

What this PR does / why we need it:
Same as 0821a5c900. Specifying RunAsGroup without RunAsUser violates the specification:
https://github.com/kubernetes/cri-api/blob/2b5244cefaeace624cb160d6b3d85dd3fd14baea/pkg/apis/runtime/v1/api.proto#L307-L309

run_as_group should only be specified when run_as_user is specified; otherwise, the runtime MUST error.

For some reason, this works fine with cri-o but containerd returns an error:

Failed to create pod sandbox: rpc error: code = Unknown desc = failed to generate sanbdox container spec options: failed to generate user string: user group "2000" is specified without user

Additional context: https://github.com/kubevirt/kubevirt/pull/8167#issuecomment-1201074836
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/cc @alicefr

/retest-required

/lgtm

Forgot to change the --group flag in guestfs tests. Updated.

Closing the PR in favor of https://github.com/kubevirt/kubevirt/pull/8336


Modify App.js to pass on linting warnings

https://github.com/tasitlabs/tasit/pull/13#issuecomment-443866741
How can we do about current console.log. Could we display wallet address on screen? Any better idea?

Yeah, displaying it on the screen seems like a good plan!

Also upgrade eslint rules config to use words instead numbers.

@marcelomorgado I think this could be a good quick one to knock out soon

A few other thoughts on the linting settings for this issue:
https://github.com/tasitlabs/tasit/pull/26#discussion_r242397281
https://github.com/tasitlabs/tasit/pull/26#discussion_r242397420
https://github.com/tasitlabs/tasit/pull/26#discussion_r242397756

- no-console
There is one use of it now: https://github.com/tasitlabs/tasit/blob/aff489b2fb4d41cf15cd694840960bb49243708b/demo/App.js#L31
Can I comment that?
- react-native/no-raw-text
I've turned off this rule because I wanted that <LargeText> component behavior was as <Text>. Is be better with this will be turned on? If is the case, the large text component will be used that way:
<LargeText><Text>String</Text></LargeText>

- jest/no-large-snapshots
I've activated that rule because I've thought it interesting to help us to keep the components small. But seems that 20 lines could be too small. 6/7 snapshots are grater than 20 lines.

no-console
I'd slightly prefer to change the config for the no-console rule to allow warn and error for now. https://eslint.org/docs/rules/no-console
In the long run, we can make a logging helper that wraps the console.log / console.warn / etc. functions and only uses them when a dev env var is set to true.

jest/no-large-snapshots
Yes, let's change it to 40 or 50. How does that sound? Would the snapshots pass with that new rule?

react-native/no-raw-text
This rule has an object option:

    "skip" – allow to skip checking for the array of custom components

I think that should solve the problem!

For react/prop-types, if we don't want to fix it everywhere just yet after changing the rule, I'd rather have eslint single-or-multi-line disabling wherever we don't use prop-types instead of turning the rule off. That will give us a nice bit of code smell to remind us to fix this bit of tech debt in the future

jest/no-large-snapshots
Yes, let's change it to 40 or 50. How does that sound? Would the snapshots pass with that new rule?

With 60 lines max, only one component doesn't pass (EthereumSignUpForm). That is nice because it is really big and should be a target of refactoring soon.

With 60 lines max, only one component doesn't pass (EthereumSignUpForm). That is nice because it is really big and should be a target of refactoring soon.

That sounds perfect

@marcelomorgado Was it intentional that you did refs rather than closes for this PR? I think we can close this one.

No, it wasn't. Sorry.
Yes, I agree.

No worries! I just wanted to confirm. Thanks!


Introduce BeforeInitNativeSDKCallback

:scroll: Description

Provide uses with a callback to mutate arguments passed to native SDKs. This is just an idea to resolve #1877 and we should discuss if this is a viable solution.
We could introduce SentryNativeOptions and pass it instead of the map, so we'd have type safety and maybe also only expose a subset of options.
:bulb: Motivation and Context

Relates to #1877
:green_heart: How did you test it?
:pencil: Checklist

[ ] I reviewed submitted code
[ ] I added tests to verify changes
[ ] No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
[ ] I updated the docs if needed
[ ] All tests passing
[ ] No breaking changes

:crystal_ball: Next steps

Need to check how other sdks do it, e.g https://github.com/getsentry/sentry-capacitor/pull/585/files

Closing in favour of #1931


Updated CHANGELOG.md to move 'Add new entries' line per @lattner request

The line Add new entries to the top of this file, not here! is now moved from Swift 3.0 to Swift 3.1

For @lattner

Thanks again!


Inference Statistics

Hello,
I know this project was just released and some things are still being put up, but do you have any information on the inference speeds for UniTrack with ResNet18 and ResNet50 base appearance models?

Hi @vjsrinivas,
Here're my results on the inference speed, all run on a single NVIDIA Titan Xp GPU.
With ResNet18 as the appearance model, UniTrack runs at ~35 FPS for SOT, ~2 FPS for VOS, and ~10 FPS for MOT/MOTS/PoseTrack.
With ResNet50 as the appearance model, UniTrack runs at ~15 FPS for SOT, ~1.5 FPS for VOS, and ~3 FPS for MOT/MOTS/PoseTrack.

Thank you!


Changes to remove _and_condensed_water from specific humidty

Given the change to move to a variable transform in the lfric-jedi variable change factory is accepted then this change will be needed in opsinputs.

Given this will be fully tested as part of PR: #230, merging...


CASing boxed primitives

val prop = propertyOf(127)
prop.compareAndSet(127, 128) // true
prop.compareAndSet(128, 127) // false

References for boxed 128s differ.
On unsuccessful CAS, a property may internally check whether compared values are boxed primitives which are equal, and repeat attempt.

Fixed in https://github.com/Miha-x64/Lychee/commit/e92286bf1a8a741d40cc65a952eee22ec6d2047b.


js example

Is there any JS example around, showing the whole procedure for initializing and address, receiving SPL token and sending SPL token?
thanks

@roccomuso check out the source code for the spl-token-ui
also, generally you'll have more success with getting your questions answered in the developer discord (https://discord.com/invite/pquxPsq)

We also have some example code here: https://github.com/solana-labs/solana-program-library/tree/master/token/js/cli

Is it possible to reuse address in Solana, like in ERC20 tokens? Same address receiving multiple tokens

Yes, we have a pattern for that. Check out the Associated Token Account program:
https://spl.solana.com/associated-token-account

Is there any js example for that around?
That would return a different address per token? are you sure that's an ERC20 approach?
To clarify, I have a SOL address 2UAWCxYiebwLZDZDB3M68LKo1tWH1gTpEpseiof8oiUa with SOL on it. And I wanna receive SPL tokens on that. Without generating new addresses

@roccomuso - spl-token program implements this pattern.  Associated Token Account program defines how the new address will be generated and associated with your primary address, 2UAWCxYiebwLZDZDB3M6....  You will have a new address though for the token account

Closing since there's been no activity and seems like all questions have been answered.  We even have https://solanacookbook.com now!


Sorting a second time doesn't work?

After sorting on one column in the subjects table, it seems that it is no longer possible to sort on another column.

Good catch. I pushed a fix to this to #200.

Resolved by #200.


Report not showing

Hi,
I tried the code example but nothing happens when running:
tmp.report(model, docs=docs, width=250)
Is it only Working inside a jupyter notebooks?
If yes, is There a way to export the chart as .html?
Finally, is it possible to plot the chart inside a streamlit application ?
Thanks!

Hello! Report interface is supported only in Jupyter Notebooks now. The option to export the report to a HTML file may be added in a future release. tmplot is based on Altair package, therefore it is probably possible to use the plots in a streamlit application. I need some time to explore it as I have never used it before.

Thanks you for the fast answer!
Make sens now! Html standalone would be a very Nice addon (to share the dashboard with business users)
Altair charts are supported in streamlit, i'll try it and let you know if it Works !
Thanks !

Finally, the output of tmplot.report() is a VBox object (Seems to be a mix of ipywidgets and Altair Chart). So, I did not find a way to plot it in Streamlit (I tried the altair_chart() and FigureWidget() components).
Thanks!


Add support for CRDs

This is based on aadpodidentity.k8s.io/v1 described at https://docs.microsoft.com/en-us/azure/machine-learning/how-to-use-azure-ad-identity which is homed in https://github.com/Azure/aad-pod-identity/tree/master/config/crd

aadpodidentity has been generated https://github.com/Azure/bicep-types-k8s/tree/main/generated/kubernetes/aadpodidentity.k8s.io/v1

Another example is linkerd.io/ServiceProfile@v1alpha2 documented at https://linkerd.io/2.10/features/service-profiles/

CRD support are added in Bicep v17.


potential buffer overflow in ptp_read_string

I believe this line may overflow your buffer since i may be equal to max which is e.g. something like sizeof(filename).

Nice catch. Thanks.

Fixed


DistributedDataParallel ?

Hi! Does this codebase support the DistributedDataParallel now?
Besides, when I try to search in my dataset, the loss is increasing. The same config format as provided examples, whats's wrong?

Hey, @learningyan
AutoAlbument doesn't support DistributedDataParallel for now, but it is in my roadmap, and I plan to add it in the next few months.
As for loss, now I am creating a benchmark for AutoAlbument on multiple datasets for classification and segmentation. When this benchmark if finished, I can share more intuition behind loss values and their meaning, but for now, here is my experience with loss based on running AutoAlbument on multiple datasets:

a_loss is a loss for the policy network (or Generator in terms of GAN), the network that applies augmentations to input images. d_loss is a loss for the Discriminator, the network that tries to guess whether the input image is an augmented or non-augmented one. loss is a task-specific loss (CrossEntropyLossfor classification,BCEWithLogitsLoss` for semantic segmentation) that acts as a regularizer and prevents the policy network from applying such augmentations that will make an object with class A looks like an object with class B.
During each iteration, a_loss and d_loss could increase or decrease, and that's ok. The only problematic option is when a_loss always increases and never decreases after each batch, and d_loss always decreases and never increases after each batch. That means that somehow Discriminator is only getting better and better at each step, and the Policy Network couldn't produce augmented images that could fool Discriminator.

@creafz thanks a lot for this writeup. I'd love to hear more intuition behind losses and assessing the quality of AutoAlbument e.g. to understand at least initially whether the training was successful. In some of my initial experiments d_loss is pretty stable, although the value range is massive (e.g. between e-8 to e+8). Meanwhile, a_loss always decreases or always increases, going into e+9 / e-9 values a few epochs into the training.

@creafz thanks a lot for this writeup. I'd love to hear more intuition behind losses and assessing the quality of AutoAlbument e.g. to understand at least initially whether the training was successful. In some of my initial experiments d_loss is pretty stable, although the value range is massive (e.g. between e-8 to e+8). Meanwhile, a_loss always decreases or always increases, going into e+9 / e-9 values a few epochs into the training.

Hey, @jwitos
Now I am finishing AutoAlbument experiments with datasets such as CIFAR10, ImageNet, and Pascal VOC. I am planning to add a description of those experiments and loss values to the documentation.
Briefly speaking, I think that the only representative metric for the quality of AutoAlbument training is "Average Parameter change" (that is, how much augmentation parameters changed at the end of the epoch compared to the beginning of the epoch). This metric should decrease and then plateau on some value. But I think that this metric is heavily dependent on the size of a dataset, and if the dataset is small, it can be very noisy.
Here is, for example, Tensorboard logs for one of my CIFAR10 experiments - https://tensorboard.dev/experiment/hpqoQQEATAy9XhpDbvKSKA/#scalars&_smoothingWeight=0. "Average Parameter change"  decreasing at the end of the training, while a_loss and d_loss are increasing.

Hey, @jwitos
Now I am finishing AutoAlbument experiments with datasets such as CIFAR10, ImageNet, and Pascal VOC. I am planning to add a description of those experiments and loss values to the documentation.
Briefly speaking, I think that the only representative metric for the quality of AutoAlbument training is "Average Parameter change" (that is, how much augmentation parameters changed at the end of the epoch compared to the beginning of the epoch). This metric should decrease and then plateau on some value. But I think that this metric is heavily dependent on the size of a dataset, and if the dataset is small, it can be very noisy.
Here is, for example, Tensorboard logs for one of my CIFAR10 experiments - https://tensorboard.dev/experiment/hpqoQQEATAy9XhpDbvKSKA/#scalars&_smoothingWeight=0. "Average Parameter change"  decreasing at the end of the training, while a_loss and d_loss are increasing.

@jwitos I have added TensorBoard logs for AutoAlbument configs from the examples directory. Hope that helps - https://albumentations.ai/docs/autoalbument/metrics/
A few advice I could give:

As a baseline for the number of epochs to train AutoAlbument you can take the number of epochs for training your base model and divide it by 10. So if you train your classification model for 200 epochs use 20 epochs as a value for AutoAlbument to search for augmentation policies.
To choose an AutoAlbument epoch that produces the best policy monitor "Average Parameter change". It should decrease, then it will plateau and start to oscillate. Choose a policy from the epoch on which "Average Parameter change" plateaued. If there is no clear pattern in "Average Parameter change" just take the policy from the last epoch.

@jwitos I have added TensorBoard logs for AutoAlbument configs from the examples directory. Hope that helps - https://albumentations.ai/docs/autoalbument/metrics/
A few advice I could give:

As a baseline for the number of epochs to train AutoAlbument you can take the number of epochs for training your base model and divide it by 10. So if you train your classification model for 200 epochs use 20 epochs as a value for AutoAlbument to search for augmentation policies.
To choose an AutoAlbument epoch that produces the best policy monitor "Average Parameter change". It should decrease, then it will plateau and start to oscillate. Choose a policy from the epoch on which "Average Parameter change" plateaued. If there is no clear pattern in "Average Parameter change" just take the policy from the last epoch.

Hi! Does this codebase support the DistributedDataParallel now?

@creafz: If I want to extend the base code for multiple gpu processing, where should I start? Also, can you help reupload Tensorboard logs for the CIFAR10, ImageNet, and Pascal VOC since the TensorBoard.dev service has been closed. Many thanks.


[BUG] EmbeddingCollection Wgrad buffer sizes can overflow a 32 bit integer.

Describe the bug
Because max_buffer_size is stored as a 32-bit integer in the following code snippet:
https://github.com/NVIDIA-Merlin/HugeCTR/blob/772fd505e3652ce143be2ee83f025dc36cf16e89/HugeCTR/embedding/common.cpp#L386-L399
It can easily lead to an overflow of the value when the batch size is large. This can result in a negative value being passed to the HugeCTR memory allocator, which gets interpreted as an unsigned integer by cudaMalloc, instantly triggering an OOM.
Expected behavior
This value should be stored as a 64-bit integer.

Actually this same issue is present for the AllreduceWgradInitializer::init_data() method.
https://github.com/NVIDIA-Merlin/HugeCTR/blob/772fd505e3652ce143be2ee83f025dc36cf16e89/HugeCTR/embedding/common.cpp#L496

Thanks for the feedback! We will check and fix it.

The fix is in the main branch, @zpzim could you verify it? Thanks.


typeinfer: use unknown_loc object instead of string literal

typeinfer: use unknown_loc object instead of string literal
Fixes #3389
Signed-off-by: Iskander Sharipov<EMAIL_ADDRESS>

Thanks for this patch, seems like it would fix the problem experienced. In https://github.com/numba/numba/issues/3389 two locations are mentioned as problematic, I don't suppose you recall where they are/have a reproducer, it may be that some real Loc info can be found for them and applied directly, it'll also help in testing this change? Thanks again.

@Quasilyte could this be reopened please? It is a helpful fix and the additional hunting down of further erroneous uses can be put in another issue.

@Quasilyte was wondering if you have a minimal working example of how to trip this bug please? I'd like to add it as a test and also use it to help catch any other places where this happens. Thanks.

I don't have a minimal working example.
This error showed up as a side-effect of some improperly built IR, most likely and it was hard to debug the problem since instead of original exception we get exception that is raised during the exception construction.

I see, thanks. I can make it hit that branch with something like:
string="""
from numba import njit
@njit
def test():
    return [1, [1,2]]
"""

l={}
exec(string, {}, l)
func = l['test']
func()

but seem to not be able to get it into that location without there being a valid Loc.

@stuartarchibald  We use a lot of exec like this so this is a good test I think.

@ehsantn happy to include this test because it is a exec+str usecase, however it doesn't trip the bug. It'd be great to work out how the source goes missing and the bug is hit, largely because then we can try and figure out a way of making sure that doesn't happen!

@stuartarchibald I found a way to reproduce the error. If there is an unused argument with unknown type, and there is remove dead before type inference, then the location cannot be found for the error. Here is a reproducer. Let me know what you think.
import numba

class TestPipeline(numba.compiler.BasePipeline):
    def define_pipelines(self, pm):
        pm.create_pipeline('test_loc')
        self.add_preprocessing_stage(pm)
        self.add_with_handling_stage(pm)
        self.add_pre_typing_stage(pm)
        # remove dead before type inference so that the Arg node is removed
        # and the location of the arg cannot be found
        pm.add_stage(self.rm_dead_stage,
                     "remove dead before type inference for testing")
        self.add_typing_stage(pm)
        self.add_optimization_stage(pm)
        pm.add_stage(self.stage_ir_legalization,
                     "ensure IR is legal prior to lowering")
        self.add_lowering_stage(pm)
        self.add_cleanup_stage(pm)

    def rm_dead_stage(self):
        numba.ir_utils.remove_dead(
            self.func_ir.blocks, self.func_ir.arg_names, self.func_ir)

@numba.jit(pipeline_class=TestPipeline)
def f(a):
    return 0

f(iter([1,2]))  # use a type that Numba doesn't recognize

BTW, looks like there a third unknown location string in typeinfer.py that this PR should handle.

@stuartarchibald: Do we want a new PR with tests for the situations described in this PR?  I think the discussion has expanded the needs for this fix.

@seibert yes, I think so. Am happy to pull this patch into a new PR and add some tests around it, also to try and hunt down places where this problem exists!

Closing in view of #3583


"message=" field to "advertising" key

OSM Tag(s)
message=*
How would you like this tag to see supported?
As a Field
Label
Message
Aliases
No response
Terms
No response
Link to OSM Wiki page
https://wiki.openstreetmap.org/wiki/Key:message
Status of the Tag
In Use
Usage of the tag
27 000
Replaces other Tag?
No response
Regional Tag?
global
Further Information
Add message=* field to advertising key.

Recommended use on OSM wiki:

I'm not so sure about this.
For some values of message=*, to be honest I Do not really guess whats the difference:

between advertising=* + message=local and
tourism=information + information=board + board_type=notice?

between advertising=* + message=legal and
tourism=information + information=board + board_type=rules?

between advertising=* + message=map and
tourism=information + information=map + map_type=*?

For example, if the advertisement is a "column", I understand that this is different from information=board. But sometimes I find it really difficult to differentiate between advertising and "tourist information". Some are both in one (tourist map and map of local shops for example).

oh I added this in #785, I guess this issue can be closed now


thonny: 4.0.2 -> 4.1.1

https://github.com/thonny/thonny/releases/tag/v4.1.1
Description of changes
https://github.com/thonny/thonny/compare/v4.0.2...v4.1.1

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2488


update example Django and Flask links

Thanky! Forgot to update these when I redid all my tests :)


fix(lazyload): move 'root' provider to provideMatomo

Just a first try at moving provider from root.
My repro start with this but not sure of what to do about router/form feature.
I moved MatomoInitializerService initialize in its constructor, otherwise I was stuck with no config error, tried to force INTERNAL_CONFIG before but a bit lost there.

Hi @raphael22
I've pushed some new code, could you please confirm that version v6.3.2-test.1 fixes the problem you reported?


Retpoline support

New Windows 19H1 will have retpoline support. This patch will display whether the data are present in the PE or not.

👍


CAD-742: Chairman's resilience

Factor the chain property test into pure/impure components.
Implement a mandatory extra test at the end of run, that validates chain density against expectations.
CurrentSlotEstimation block-type-indexed type class, to estimate current slot number.
Chairman now gets k from genesis, not CLI.
More explicit/thorough error handling.
Expose CI cluster configuration at ${SRCROOT}/ci-cluster-config.nix
Some Makefile amenities.
Legacy/Rewrite cluster split: 4/3 -> 1/6.

This PR results/does not result in breaking changes to upstream dependencies.

Checklist

[ ] This PR contains all the work required to resolve the linked issue.

[ ] The work contained has sufficient documentation to describe what it does and how to do it.

[x] The work has sufficient tests and/or testing.

[x] I have committed clear and descriptive commits. Be considerate as somebody else will have to read these.

[x] I have added the appropriate labels to this PR.

@deepfire I've had a go at simplifying the chairman code in #681.

Updated the priority since this PR has been repurposed to be the maintenance follow-up to the fixes that were merged in #681.

@dcoutts, done!

bors r+

bors r+


RNA helicase activity (GO:0003724) parentage

Seems RNA helicase activity (GO:0003724) should have an additional parent of "RNA-dependent ATPase activity (GO:0008186)".
Compare:
id: GO:0003724
name: RNA helicase activity
def: "Catalysis of the reaction: ATP + H2O = ADP + phosphate; this reaction drives the unwinding of an RNA helix." [EC:<IP_ADDRESS>, GOC:jl]
is_a: GO:0004386 ! helicase activity
is_a: GO:0140098 ! catalytic activity, acting on RNA
to
id: GO:0003678
name: DNA helicase activity
def: "Catalysis of the reaction: ATP + H2O = ADP + phosphate; this reaction drives the unwinding of the DNA helix."
is_a: GO:0004386 ! helicase activity
is_a: GO:0008094 ! DNA-dependent ATPase activity
is_a: GO:0140097 ! catalytic activity, acting on DNA

Don't you consider RNA and DNA the substrates of RNA and DNA helicases, respectively ?
If this is the case isn't it strange to have 'RNA (or DNA)-dependent' ?

Yes, I would say they are the substrates, so I agree these dependent terms are a bit odd.
I came at this issue from seeing different types of result from a 'DNA helicase' vs 'RNA helicase' search, and that was explained by the difference in parentage between those two terms - I think they should be treated the same, right?
So maybe the fix here is actually to remove the "DNA-dependent ATPase activity" parent from the "DNA helicase activity" term??

I agree.

I removed the parent 'DNA-dependent ATPase activity' from 'DNA helicase activity'.
I am not sure the other children are ok under 'DNA-dependent ATPase activity'
'ATP-dependent protein-nucleic acid complex displacement activity'
'ATP-dependent protein-DNA complex displacement activity'
'cohesin ATPase activity'
'DNA topoisomerase type II (double strand cut, ATP-hydrolyzing) activity'
'DNA negative supercoiling activity'
'DNA translocase activity'
'DNA translocase activity involved in viral DNA genome packaging'
'protein-DNA loading ATPase activity'
'DNA clamp loader activity'
@ValWood @thomaspd what do you think ?
Thanks, Pascale

I don' think we need to include ATP-dependent, but will these still all be ATPases?
also I think that  "cohesin ATPase activity" can just be "ATPase activity" maybe?

will these still all be ATPases?

Yes - we just need to sort out if it's is_a or 'has_part'

will these still all be ATPases?

'helicase activity' is_a 'ATPase activity' right now - hoping it will stay that way....

The has_part is also causing problems for FlyBase ?

I share the same general concern as @ValWood - as I said in #17289: "I just came across this issue in trying to identify all Drosophila ATPases. Searching with "ATPase activity" (GO:0016887) in QuickGO misses lots of seemingly relevant annotations/genes - this appears to be because "ATPase-coupled transmembrane transporter activity" (GO:0042626) is not an is_a child of "ATPase activity".

Right, OK, thanks ! We'll discuss this with ontology editors.

On today's ontology call we agreed that proteins with ATPase activity will remain ATPases, see also #20498


Sorted Sessions in Room and Track page

Solved #532
@championswimmer Please merge

[x]  sort sessions in Rooms and Tracks
[x] Removed UI design issue for title now the title is simple without lines before and after it which was a problem to handle with different screen sizes.

Current coverage is 56.78% (diff: 100%)

Merging #533 into development will increase coverage by 0.47%

@@           development       #533   diff @@
=============================================
  Files                4          4
  Lines              396        398     +2
  Methods             43         43
  Messages             0          0
  Branches            48         48
=============================================
+ Hits               223        226     +3
+ Misses             173        172     -1
  Partials             0          0

Powered by Codecov. Last update f430430...1f85c7d

@aayusharora looks good to me. please solve the conflict.

@championswimmer Doing it in a minute

@championswimmer Done!!


binary files are returned as OtherLanguage by GetLanguage

Codecov Report

Merging #59 into master will increase coverage by 0.24%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
+ Coverage   84.78%   85.03%   +0.24%
==========================================
  Files          16       16
  Lines         940      942       +2
==========================================
+ Hits          797      801       +4
+ Misses         84       83       -1
+ Partials       59       58       -1

Impacted Files
Coverage Δ

common.go
90.45% <100%> (+0.09%)
:arrow_up:

utils.go
73.68% <0%> (+10.52%)
: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 9de4d35...d8798c2. Read the comment docs.


When I use 1080ti GPU, there is an out of memory problem in all datasets except Cora, which is inconsistent with the description in the benchmark paper.

When I use 1080ti GPU, there is an out of memory problem in all datasets except Cora, which is inconsistent with the description in the benchmark paper.

Thanks for your issue! The out of memory problem can have various reasons, such as other processes occupy some memory. Can you provide more detail to help us reproduce the problem? Specifically, the command you run which lead to the problem, the incurred error message and stack. More details are appreciated.

Thanks, the issuse was solved.

Thanks, the issuse was solved.

How did you solve this issuse? I meet the same problem.

qq<PHONE_NUMBER>

阳光少年
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2022年11月21日(星期一) 晚上6:09
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [pygod-team/pygod] When I use 1080ti GPU, there is an out of memory problem in all datasets except Cora, which is inconsistent with the description in the benchmark paper. (Issue #42)
Thanks, the issuse was solved.
How did you solve this issuse? I meet the same problem.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Thanks, the issuse was solved.

How did you solve this issuse? I meet the same problem.

Please add my qq1017027994.


Integrate sleep / wake notifications?

I'm building a radio player using rumps (https://github.com/mdbraber/radiobar). I'd like to catch relevant sleep / wake notifications to stop playing when my Macbook goes to sleep. An example implementation of what I'm looking for is described here:
https://stackoverflow.com/questions/31091413/how-to-best-catch-sleep-and-resume-events-for-osx (using NSWorkspaceWillSleepNotifaction and NSWorkspaceDidWakeNotification from AppKit)
Would it be possible to integrate this into rumps?

https://github.com/jaredks/rumps/pull/109


How to use Hiveserver connection from HiveShell

This is wanted to get some help on the implementation. I can able to execute hql base test cases using HiveRunner.
Now facing issue when trying to run the test cases using batches, which creates JDBC hive connection using PROD configuration(this is customizable).
My questions is how can I get JDBC or connection URL using HiveRunner?, Please check below code for more details
function ResultSet getData(){
     String initialUrl = "jdbc:hive2://localhost:" + port;
     Connectionconnection = DriverManager.getConnection(initialUrl, username, password);

     Statement statement = connection.createStatement();
     ResultSet result = statement.execute("CREATE DATABASE IF NOT EXISTS " + defaultDatabase);
}

Now I wanted to test getData function using HiveRunner

Hello there,
Usually you don't need to care about the JDBC or connection URL when
running HiveRunner as the configuration for the tests running in memory
will obviously be different to what you do in production. HiveRunner
abstracts all of that away for you so you can just focus on testing your
Hive SQL. I'd recommend factoring that stuff out so you don't need it for
your tests. Then you can do something like is shown here:
https://github.com/HiveRunner/HiveRunner/blob/main/src/test/java/com/klarna/hiverunner/examples/HelloHiveRunnerTest.java#L48
. So you have a "setup" method to create any databases, tables etc. (this
could source any external DDL files you may already have for this) and then
tests which insert your test data and then statements to run the queries
you want to test and assertions on the values passed back.
Hope that helps.
Adrian
On Thu, May 26, 2022 at 6:26 AM Mifas @.***> wrote:

This is wanted to get some help on the implementation. I can able to
execute hql base test cases using HiveRunner.
Now facing issue when trying to run the test cases using batches, which
creates JDBC hive connection using PROD configuration(this is customizable).
My questions is how can I get JDBC or connection URL using HiveRunner?,
Please check below code for more details
function ResultSet getData(){
Connectionconnection = DriverManager.getConnection(initialUrl, username, password);
 Statement statement = connection.createStatement();
 ResultSet result = statement.execute("CREATE DATABASE IF NOT EXISTS " + defaultDatabase);

}
Now I wanted to test getData function using HiveRunner
—
Reply to this email directly, view it on GitHub
https://github.com/HiveRunner/HiveRunner/issues/174, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAHGEOA4E2ONJ72BQFZDP3VL4DQPANCNFSM5W7UK6WQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Closing due to inactivity.


Fix for lm head weights for models such as llama

Llama has tie word embeddings as False.
When loading from checkpoint, lm head weight is by default set to embedding weight. Add a check of tie word embeddings when setting lm head weight to embedding weight. In case of llama models, this updation of lm head weight with embedding weight won't happen and lm head weights will be correctly  set during load module recursive. Without this fix, llama models may give junk output also.

Can some one please review ?


Landing Page Design

I would recommend, to add a upgraded landing page design especially referring to the language selection. 😀

I would recommend, to add a upgraded landing page design especially referring to the language selection. 😀

Great suggestion.

I can work on this assign me.

I can work on this please assign me @sumn2u @YockerFX @BinaryBhakti @Hachondeoro @hamfree

I can work on this please assign me @sumn2u @YockerFX @BinaryBhakti @Hachondeoro @hamfree

Thank you @Bhumika-00  for your interest on working in this  feature. However, it’s already assigned. There are others issues which I think you can help us. What do you think about issue #63 ?

Yes I can do that please assign me that issue
…
On Thu, 10 Oct, 2024, 6:33 pm Suman Kunwar, @.> wrote: I can work on this please assign me @sumn2u https://github.com/sumn2u @YockerFX https://github.com/YockerFX @BinaryBhakti https://github.com/BinaryBhakti @Hachondeoro https://github.com/Hachondeoro @hamfree https://github.com/hamfree Thank you @Bhumika-00 https://github.com/Bhumika-00 for your interest on working in this feature. However, it’s already assigned. There are others issues which I think you can help us. What do you think about issue #63 <#63> ? — Reply to this email directly, view it on GitHub <#241 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKOHTVXMBZESR4PN262XP7TZ2Z3JZAVCNFSM6AAAAABPTW43MCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVGAZTMNBTG4 . You are receiving this because you were mentioned.Message ID: @.>

@Bhumika-00  Can you comment there so that I can assign you?

Yes I have done that
On Thu, 10 Oct, 2024, 7:15 pm Suman Kunwar, @.***>
wrote:

Yes I can do that please assign me that issue
… <#m_-3271601866912457792_>
On Thu, 10 Oct, 2024, 6:33 pm Suman Kunwar, @.> wrote: I can work on
this please assign me @sumn2u https://github.com/sumn2u
https://github.com/sumn2u https://github.com/sumn2u @YockerFX
https://github.com/YockerFX https://github.com/YockerFX
https://github.com/YockerFX @BinaryBhakti
https://github.com/BinaryBhakti https://github.com/BinaryBhakti
https://github.com/BinaryBhakti @Hachondeoro
https://github.com/Hachondeoro https://github.com/Hachondeoro
https://github.com/Hachondeoro @hamfree https://github.com/hamfree
https://github.com/hamfree https://github.com/hamfree Thank you
@Bhumika-00 https://github.com/Bhumika-00 https://github.com/Bhumika-00
https://github.com/Bhumika-00 for your interest on working in this
feature. However, it’s already assigned. There are others issues which I
think you can help us. What do you think about issue #63
https://github.com/sumn2u/learn-javascript/issues/63 <#63
https://github.com/sumn2u/learn-javascript/issues/63> ? — Reply to this
email directly, view it on GitHub <#241 (comment)
https://github.com/sumn2u/learn-javascript/issues/241#issuecomment-2405036437>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKOHTVXMBZESR4PN262XP7TZ2Z3JZAVCNFSM6AAAAABPTW43MCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVGAZTMNBTG4
https://github.com/notifications/unsubscribe-auth/BKOHTVXMBZESR4PN262XP7TZ2Z3JZAVCNFSM6AAAAABPTW43MCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVGAZTMNBTG4
. You are receiving this because you were mentioned.Message ID: @.>
@Bhumika-00 https://github.com/Bhumika-00 Can you comment there so that
I can assign you?
—
Reply to this email directly, view it on GitHub
https://github.com/sumn2u/learn-javascript/issues/241#issuecomment-2405137608,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKOHTVVCKAPXVTHMIFVVLR3Z22AHZAVCNFSM6AAAAABPTW43MCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVGEZTONRQHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Bro can you stop tagging me if it's not necessary?


add pomodoro plugin

👋🏻 this PR adds my plugin, runelite-pomodoro to the plugin hub
the plugin is a (rather simple, for now) implementation of the pomodoro technique

Is this plugin any different than break reminder?
https://github.com/LeeOkeefe/break-reminder-plugin/tree/master

ah! perfect, that's exactly what I'm looking for - looks like my plugin searching failed me 😄
I'll close this PR


POST target and POST disease methods

Post api for target and disease

all endpoints using facets= parameters appear to be broken at the moment in runscope: https://www.runscope.com/radar/2aq26dtn22zn/d7add6da-5127-4023-9941-3003c90e6217/results/4ff74f35-fab0-43f9-9dbd-0057310ad10f

@elipapa  - Runscope tests are failing with this error - 'You must provide a valid Authorization header to use the Runscope API.' I'm not sure where this needs to be set

when i look at it https://www.runscope.com/radar/2aq26dtn22zn/d7add6da-5127-4023-9941-3003c90e6217/history/155f51b9-e614-4bb3-a95e-e4d8f7298714 it seems to fail for 500 internal error which is usually flask

@elipapa - Association api was internally using the efo api method - minor change to handle the response of efo api. You should not see the 500 internal errors now, could you please check again?

I am still unable to do:
❯ echo '{"target":"BRAF"}' | http POST https://target-disease-relation-dot-open-targets-eu-dev.appspot.com/api/latest/private/target
HTTP/1.1 404 NOT FOUND
Access-Control-Allow-Headers: Content-Type,Auth-Token
Access-Control-Allow-Origin: *
Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35"
Cache-Control: no-transform, public, max-age=16, s-maxage=81
Content-Encoding: gzip
Content-Type: application/json
Date: Fri, 06 Oct 2017 14:27:45 GMT
Server: nginx
Transfer-Encoding: chunked
Vary: Accept-Encoding
Via: 1.1 google
X-API-Took: 9
X-Usage-Limit-10s: 3000
X-Usage-Limit-1h: 1200000
X-Usage-Remaining-10s: 2981
X-Usage-Remaining-1h: 1199981

{
    "message": "Gene id [] cannot be found. You have requested this URI [/api/latest/private/target] but did you mean /api/latest/private/target or /api/latest/private/target/<string:target_id> or /api/latest/private/relation ?"
}

my bad. i had to use a different key (id instead of target):
echo '{"id":["ENSG00000157764","ENSG00000171862"]}' | http POST https://target-disease-relation-dot-open-targets-eu-dev.appspot.com/api/latest/private/target | jq '.data[] | .ensembl_description'

Looking at the current output, from the 3 GO categories ("molecular function", "biological process" and "cellular location") we probably only want to to do the aggregation on "biological process" and "molecular function" but not on "cellular location".
This is a sample call:
echo '{"facets":"true", "fields":["approved_symbol", "id"], "id":["ENSG00000073756", "ENSG00000095303", "ENSG00000280151", "ENSG00000108219", "ENSG00000198369","ENSG00000105401", "ENSG00000134882", "ENSG00000104998", "ENSG00000181915", "ENSG00000119919", "ENSG00000105397", "ENSG00000178623", "ENSG00000107968", "ENSG00000133195", "ENSG00000171522"]}' | http POST https://target-disease-relation-dot-open-targets-eu-dev.appspot.com/api/latest/private/target | jq '.facets'
{
  "significant_go_terms": {
    "bg_count": 75441,
    "buckets": [
      {
        "label": "regulation of cell proliferation",
        "key": "GO:0042127",
        "doc_count": 3
      },
      {
        "label": "cytoplasm",
        "key": "GO:0005737",
        "doc_count": 5
      },
      {
        "label": "plasma membrane",
        "key": "GO:0005886",
        "doc_count": 4
      },
      {
        "label": "extracellular exosome",
        "key": "GO:0070062",
        "doc_count": 3
      },
      {
        "label": "cytosol",
        "key": "GO:0005829",
        "doc_count": 4
      },
      {
        "label": "nucleus",
        "key": "GO:0005634",
        "doc_count": 4
      }
    ],
    "doc_count": 14
  }
}

one more request:
'{"facets":"true", "fields":["approved_symbol", "id"], "id":["ENSG00000073756", ..., "ENSG00000171522"], "size":0}'
should only return facets and no data.


Support for different parsers

Present hive-runner consider any xml output as junit output and parse to res.
There is also an AndroidJUnit (Instrumentation tests) output which is kind of text file

We need to have some mechanism to determine parser type and parse accordingly.

Raising new ticket in res


Handle empty exchange history [JIRA: RIAK-3062]

When compute_exchange_info is called on an index with no previous
exchanges return undefined for the Recent and LastAll timestamps.

create jira issue

https://github.com/basho/riak_kv/pull/1576
[posted via JIRA by Brian Sparrow]


Client Peers DNS servers not apply into the configuration

click 'setting' icon and edit the vpn peers and write "DNS server", but it didn't apply to to configuration

click 'eye' icon and review the configurations

press "enter" after you set the ip while still in the field. the ip should switch to the "blue" layout

press "enter" after you set the ip while still in the field. the ip should switch to the "blue" layout

got it. thanks so much


Home page/main body, Graph view only

Is your feature request related to a problem? Please describe.
Not necessarily a problem, but I am having trouble trying to reconfigure the quartz.layout and .config to have my website only show the Obsidian Graph as the homepage/main-body.
Describe the solution you'd like
I am wondering if there is a way where I can share just my obsidian graph on my website, or a modifier for the layout or configuration that would allow me to do that!
Describe alternatives you've considered
Maybe an alternative would be to resize the graph into the main body, to make it larger? Although the point that I am trying to get at, is having the graph as the main navigation for the entire website.
Additional context
I've added an image of what I mean, in terms of the graph as the home/main body, that would work for both the web (left) and mobile (right).

You can create a conditional here https://github.com/jackyzha0/quartz/blob/c4cd84dcc884469a0d84e2bec239b2fc3596c44f/quartz/components/renderPage.tsx#L221 that renders https://github.com/jackyzha0/quartz/blob/c4cd84dcc884469a0d84e2bec239b2fc3596c44f/quartz/components/Graph.tsx
this is pretty involved in terms of a code change so feel free to ask for help in Discord
I probably won't add this as a full feature in mainline Quartz because its a rather niche request but this is cool!


Documentation inconsistency

The config.yml checked into the repo starts phabulous on port 8085, but the webhook example on the Getting Started page uses 8086.

Sorry about the confusion! Fixed: https://phabricator.chromabits.com/phriction/diff/27/?l=5&r=6


run TransactionExample.java  got  "Did not read entire message"

When i use java library and Compiling Java Bindings Manually
I run iroha on my mac by docker

docker run --name some-postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 --network=iroha-network postgres:latest
docker run -it  -p 50051:50051 -v $(pwd)/iroha/example:/opt/iroha_data -v blockstore:/tmp/block_store --network=iroha-network --entrypoint=/bin/bash hyperledger/iroha:latest

My TransactionExample.java dependency is
<dependency>
            <groupId>com.google.protobuf</groupId>
            <artifactId>protobuf-java</artifactId>
            <version>3.5.0</version>
        </dependency>
        <dependency>
            <groupId>io.grpc</groupId>
            <artifactId>grpc-stub</artifactId>
            <version>1.8.0</version>
        </dependency>
        <dependency>
            <groupId>io.grpc</groupId>
            <artifactId>grpc-protobuf</artifactId>
            <version>1.8.0</version>
        </dependency>
        <dependency>
            <groupId>io.grpc</groupId>
            <artifactId>grpc-netty</artifactId>
            <version>1.8.0</version>
        </dependency>

When i run  example/java/TransactionExample.javaIn my IDE , i got the error:
15:55:55.731 [grpc-default-worker-ELG-1-2] DEBUG io.grpc.netty.NettyClientHandler - [id: 0x0d91ffa9, L:/<IP_ADDRESS>:58050 - R:localhost/<IP_ADDRESS>:50051] INBOUND WINDOW_UPDATE: streamId=0 windowSizeIncrement=164
Exception in thread "main" io.grpc.StatusRuntimeException: INTERNAL: Did not read entire message
	at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:221)
	at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:202)
	at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:131)
	at iroha.protocol.CommandServiceGrpc$CommandServiceBlockingStub.torii(CommandServiceGrpc.java:320)
	at com.acooly.iroha.dao.Example1.main(Example1.java:102)

Why i got the error?

Could you try with the following versions:

grpc 1.11.0 (I actually use 1.8.4 and it's working fine, so you may try it as well)
protobuf 3.5.1

Also, what commit are you using? And could you please check, that after docker startup you're able to connect to localhost:50051 (netcat/curl should work)

@l4l  I use the master branch :0b2066b Kitsu on 2018/7/24 at 01:28 (committed by GitHub) Add mst documentation (#1566)get the error.
when i use the latest release verson will be fine.

I guess it master branch. So what about the connection to Iroha nodes, does it work?

connection to Iroha node work ok
Kitsu<EMAIL_ADDRESS>于2018年7月25日周三 下午6:59写道：

I guess it master branch. So what about the connection to Iroha nodes,
does it work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperledger/iroha/issues/1590#issuecomment-407716365,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATfO3PN9phjrRmSmOWFbHueVf7Jpz90Xks5uKE-bgaJpZM4VcRmY
.

Ok, and did you try different grpc/protobuf versions?


Links to named anchors jump past the element containing the anchor id

Current
Currently, if I click the "Go live" link (/#go-live) seen in the top nav in the screenshot below, the scroll jumps past the "Go live" heading which contains the anchor id:

Desired
Preferably, we'd be able to see the heading after the scroll:

Note that the above is simply an example (I'm not totally sold we'll do this type of linking from top nav on the docs top page).
However, this phenomenon is present in more legitimate use cases for named anchors as well, like the autogenerated right-hand table-of-contents in narrative content.
Possible source of issue
My guess is that we need to account for the height taken up by the top-nav.

@ashryanbeats Is this bug persistent ? Does it occur every time (also for the table-of-contents) ?

It is persistent. I was on 2.0.0 when I report this, but I'm also seeing it in 2.1.3.
I'm on Safari 13.1.1.

Indeed I can reproduce it on Safari.
Chrome, Firefox, Edge are all fine. I'll look into it thanks !


Stuck at Starting laradock_application_1

Hi,
I'm trying to get all the containers running but one of the container "laradock_application_1" is stuck at starting.

Any help would be appreicated!

@sasaorz what tool (and version) are you using to execute docker-compose

@mikeerickson I have tried to use Windows CMD and Power Shell and Kitematic to run docker-compose, they all gave me the same result. I ran docker version on CMD it shows Version: 1.13.1

@sasaorz This container is only a volume. It should starts and stops immediately.

@cjmaxik
That's right, no need to confuse. It's only running once time and then stop...

@sasaorz Please see @cjmaxik 's comment. Checkout https://hub.docker.com/r/tianon/true/ for more info.


Build/setup commitlint

Checklist

[x] the contributor license agreement is signed
[x] commit message follows commit guidelines
[ ] tests are included
[ ] screenshots are included showing significant UI changes
[ ] documentation is changed or added

Description of change

We set this up over on openequella/react-kaltura-simpleuploader and it worked well - to the extent we've even continued manually following the practice here. So, it makes sense to keep it tidy by adding this to our pre-commit hooks.

Conflicts resolved. Once it gets past the build and check step I'll merge (as that's all this touches) so as to avoid further conflict chasing.


Channel update goes back in time

Repo: https://github.com/NixOS/nixos-channel-scripts
Check how to elimnate the problem when updated channel gets a build restarted and thus channel update script pulls older channel and marks it as the latest one

This seems to be fixed: https://github.com/NixOS/nixos-channel-scripts/commit/a441c018e28ae453d440774ec4c105e78b6a4760


Support Multi-value in wasmi

Is there Multi-value support in wasmi? If not, is it planned to implement it?
The multi-value proposal in WebAssembly

Yes, wasmi supports the Wasm multi-value proposal and it is even enabled by default. The README displays information about all the supported Wasm proposals: https://github.com/paritytech/wasmi#webassembly-proposals


GKE: Rolling update doesn't work well

Rolling update doesn't work well in gke.
In my opinion, if I redeploy with the same toml configuration, weaver should basically do a rolling update with no downtime.
If not, please correct me.
So, currently I have implemented the health check API in the form of "GET /".
And actually, the old version of the deployment is going down based on the health check.
The problem is that switching between versions of the server is not done non-disruptively.

A load balancing error occurs for a while as above.
What could be the problem?
# weaver.toml
[serviceweaver]
name = "weaver-start"
binary = "./weaver-start"

[gke]
regions = ["asia-northeast3"]
public_listener = [
  {name = "weaver-start", hostname = "myyrakle.com"},
]

Hi @myyrakle,
Thanks for pointing this out, this is a known issue. As far as we can tell, we're updating the external load-balancer gradually and with the right set of traffic shares, but it does error out for a brief period of time during the traffic change.
We're working on resolving this issue. And you're right, the intention is that you just set the rollout period in your configuration file and the framework ensures that the new version is deployed gradually and safely, without any service interruption.

We did some fixes that should make the rolling update experience much better.


Disconnect the worker after sending message

To ensure that the message is received by the worker.
Without this patch the "shutdown" message isn't always (but is
sometimes) received by the worker, with this patch it seems to always be
received and acted upon by the worker.
I feel like this patch shouldn't be required, but I spent some time diagnosing why my shutdowns weren't being acted upon... And found that they weren't being received on a number of occasions (the majority of the time during the first "deploy", and then they were received more often subsequently). With this patch I believe they're now being received 100% of the time (or at least a lot more than they were).
I just found the fs.writeFileSync was an easy way to test it (in my actual diagnosing -- because console.log's aren't synchronous so I didn't trust it) hence I replicated it in the test... Happy not to do it that way :-)
I was using node version 0.10.38 when I found the issue and wrote the test; I also ran the test with iojs 2.0.2 and node 0.12.0; and saw failures without the fix, and the test passed with the fix.

merged in 9b987d17dddab72d4665ec2b90e303b37248e8f5

Thanks for the patch, and sorry for the delay.


Wait to start C++ clients until all connections are made

Should help with some benchmarks where we want to:

oversaturate
start a huge number of channels
from multiple client machines

What ends up happening is that we slam the server from the first client, and the second client never gets a chance to get connected.

test this please

test this please


Use the KumaScript parser in stumptown-content's linter

As a wiki editor, I want to use the stumptown-content linter to find the same KumaScript macros that KumaScript itself parses, so I can destroy them.
The current version doesn't find all macros, because it can't parse arguments containing HTML correctly.
Acceptance criteria

[x] Running scraper-ng finds all the KumaScript macros in a page, including macros that contain HTML in arguments
[x] scraper-ng correctly parses KS macro arguments
[x] scraper-ng reuses code from KumaScript

A nice-to-have task to complete would be:

[ ] KumaScript's parser.js is installable with npm

This was resolved by https://github.com/mdn/stumptown-content/pull/305


simple-weston-client: Improve signal handling

Currently signal handling is not properly done while listening for events on wayland socket. As a result process waits on poll() for idefinite time even after receiving signal.
Modify poll() to accept signals while listening to events on wayland socket.
Signed-off-by: Rajendraprasad K J<EMAIL_ADDRESS>

we don't need to handle the SIGSEGV, SIGUSR1 and SIGUSR2 please remove them or describe why the handling is required

we don't need to handle the SIGSEGV, SIGUSR1 and SIGUSR2 please remove them or describe why the handling is required

Done, removed handling SIGSEGV, SIGUSR1 and SIGUSR2


MINOR: reuse decompression buffers in log cleaner

follow-up to KAFKA-5150, reuse decompression buffers in the log cleaner thread.
@ijuma @hachikuji

I'll add the comment before merging to trunk and 0.11.0.

@xvrl updated the PR, so I just merged as is.


publish to nur.nix-community.org

for better visibility
http://nur.nix-community.org/

Done some time ago (nix-community/NUR#399). The index at http://nur.nix-community.org/ is not updated, but apparently that's a known issue (nix-community/NUR#398).


🎮 Game Request
The game starts with an 8x8 board with two initial black and two initial white pieces placed in the center.
Players take turns placing their colored pieces on the board. A move is valid if it results in the flipping of at least one opponent's piece in a straight line (horizontally, vertically, or diagonally).
some of the features are :
-to flip the token
-cascading effects
-the corners and edges of the board have special strategic significance in Othello
Point down the features
The features that make Othello a compelling and engaging game are that it combines tactical decision-making, spatial awareness, and the ability to adapt to changing board conditions.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @RitiChandak !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @RitiChandak ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Parallelize hash join test plus some improvements

Parameterize the hash join test with parallelism
Add to test different parallel combinations of probe and build
Use fuzzer to generate vector with random nulls
Allow to add more than one batch for both probe and build
to increase test coverage
Add test case to cover out of order join key column
Add test case with nulls for anti join
Reduce the batch size to speedup the test

@xiaoxmeng Great improvements to the HashJoinTest!


Issue 4038

Closes #4038
To Disable Edit Bar
insert into HostSettings values ('DisableEditBar', 'True',0,-1,GETDATE(),-1,GETDATE())
Or (if setting already exists)
update HostSettings
set SettingValue = 'True'
where SettingName = 'DisableEditBar'

To Enable Edit Bar
update HostSettings
set SettingValue = 'False'
where SettingName = 'DisableEditBar'

Or
delete from HostSettings where SettingName = 'DisableEditBar'
Disabled View
If edit bar is disabled, the tooltip reads "Edit Bar is disabled." and help text reads "This DNN installation is running an alternative edit bar."
I couldn't find a way to swap the icon image with another way. Let me know if anyone has any pointers.

Added some feedback to issue #4038.


Don't require fields on the evalResult response object

This caused an issue under the following circumstance:

A flag did not exist in flagr
The consumer requested a flag by only specifying :flag_key
Flagr returned a 200 response with :flag_id omitted
The ruby code generated by swagger raised an ArgumentError because the response from the server was missing :flag_id

Ultimately, it's up to the consumer app anyway to decide what it requires from the server response, not the HTTP interface library.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #238   +/-   ##
=======================================
  Coverage   83.69%   83.69%
=======================================
  Files          25       25
  Lines        1441     1441
=======================================
  Hits         1206     1206
  Misses        177      177
  Partials       58       58

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 82dcc45...2969e52. Read the comment docs.

It requires changes more than just swagger yaml changes. Can you make gen and then help fix all the compilation error related to the changes?

It may be tricky to fix some tests, thus I created a new PR here https://github.com/checkr/flagr/pull/239


Increase test timeouts

This pull request increases the test timeouts above the default timeout for the methods of the package itself. This should make tests more consistent in their passes/failures and also give us a more clear understanding of if the failure is caused by the W3C API taking too long to respond.

Should this say "Closes #95" in the description? Does it close that issue, or do you want to leave it open?

Why did you choose 11s, instead of a more round number, like 10s or 15s?

Why did you choose 11s, instead of a more round number, like 10s or 15s?

Our default timeout in the package for requests to W3C is 10000ms, I just added a second to that.

Can we do 15s instead, then? I'd prefer a nice round number.

Should this say "Closes #95" in the description? Does it close that issue, or do you want to leave it open?

Maybe, basically if merging this cause the 1.2 release pipeline to pass I assumed we would close #95 as basically obsolete.

Let's assume it will fully fix #95 for now, and reopen that issue if it doesn't.


DUnitX causes Internal Compiler Error in XE3 Update 1

[dcc32 Fatal Error] DUnitX.TestFramework.pas(871): F2084 Internal Error: G9413
It appears to be this bug
http://qc.embarcadero.com/wc/qcmain.aspx?d=111979
I tried the work around, and it compiles, however then the TDUnitX class constructor does not get called.  The compiler bug was fixed in XE4.

Hi Vincent, is there any kind of workaround I could do, to get this to work for the time being? I have an XE3 update 1 project that I'd really like to introduce DUnitX into, and I'm not going to be able to move it to XE7/8 for a few months yet. I appreciate XE3 is long since dead, but if there's any simple hack I could use to get it to work for the time being, that would be really helpful. Thank you!

I tried but was not able to find a work around. Perhaps someone else might have a suggestion.

Wow, thanks for the quick response! I appreciate it, if I come across anything in the meantime I will report back. Keep up the good work, it's really appreciated :-)

@robsoft  I just send a pullrequest that workaround the problem. Can you try it, please?

nice one Fabricio, I just made your suggested changes here manually in my local copy and it certainly seems to do the trick on a new project. Thank you!


Offline mode still pulls content from web

Semantic UI still relies on web-resources, regardless of whether offline mode is set.
The pull is initiated in semantic.min.css:  @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin);
That URL results in CSS that further pulls down the individual woff files.

Semantic UI is a third-party framework that we simply use. We can make changes to our code for CSS Importing of font files but the contents of the Semantic UI files are maintained by a third-party organization. As a result we will not be making any modifications to any of these files.
Closing this issue with a wont-fix label.

Hi,
in my opinion the parameter offline_mode is a bit misleading. As a user I would expect that it completely works while having no internet connection, not only partly. @james-powies suggested on IRC that he can provide a patch. Should we give it a try?

Being offline is all find and well, and being behind a firewall with outbound reject policies works well too.
However a firewall policy where the action is to drop requires http to timeout before each page of puppetboard will properly load. This leads to the argument "change your firewall policy to reject", doing so actually causes more problems because netstat -an | grep SYN_SENT helps identify issues such as this, and will not work with reject.

basic monkey patch is done, just pending getting successful tests written to prevent regression:
https://github.com/voxpupuli/puppetboard/pull/316

Changed label to bug since 'offline' is not as one would expect.   Here's the suggestion:
https://github.com/Semantic-Org/Semantic-UI/issues/1521


Rename scanner direcotry

The directory with the built-in scanners is named in singular. This is not consistent to the rest of the directory layout (tests, hooks etc.) where more than one entities live.
One expects the directory named "scanners".

Didn't adapt all occurrences of the paths.

@Weltraumschaf
Fixed some leftovers post merge:
f9f1b5999d826daedd592a3745d454d0877ba244
e12ddb7130289e36c84c3b2a6a0af0c99d045441
CI is passing again now.

@J12934 There were even more leftovers.


fix: a directory is not an executable

Fixes #814
My guess is that when @Robinlovelace encountered the error, they hadn't yet built the CLI binary.
The expected behavior is that when a helper program is missing, the program will crash with a somewhat helpful error message. That's not a great user experience, but it's slightly better than the cryptic "permission denied" error seen in #814.
The reason we weren't seeing that error message in this case is that when find_exe looks for the cli binary, we incorrectly thought we'd found in when in fact we'd just found the cli directory and then (of course) failed to execute it.

My guess is that when @Robinlovelace encountered the error, they hadn't yet built the CLI binary.

I think that's likely. It worked after the cli had been built for the first time after calling it from bash.
Gratuitous video showing it importing all of central Manchester inside the ring road, impressive!
Could this also be useful for the docs?
https://user-images.githubusercontent.com/1825120/143931790-07c418bd-e108-4443-8aa4-b33f9313609d.mp4

Merging to release tomorrow


Sum function in ETL

Hello, I am parsing a CSV file, and creating an in mem table, I also want to perform a Sum on import, how can I set that up with your lib?
thanks

Hi,
Sorry for the delayed response.  You should be able to data a sum of all columns in the table by using the Compute method in the datatable.  ie., if you declared a RegexDataSet as rds, you can call rds.Tables[0].Compute("Sum(Price)","ItemName='Popcorn'").
https://docs.microsoft.com/en-us/dotnet/api/system.data.datatable.compute?view=netframework-4.8

Hi,
Happy to see that you are attempting to use this.
Kindly make sure you are downloading the latest branch.  The current latest branch is 1.3
https://github.com/raelango/EasyETL.Net/tree/1.3
Try running the EasyXMLSample project.  This one has the usage of the EasyXMLDocument.Transform method.  This method allows you to transform xml from one format to another in a chained manner.
You can set an array of string similar to below: (See the .transforms file in the bin\debug folder of EasyXmlSample project for more examples)
[row=>PatientVisit]
Add SNo AutoNumber
Add DispCode substring-before(Disposition,' ')
filter starts-with(PatientName,'W') or Disposition='05 Eloped'
filter starts-with(PrimaryNurse,'MURRAY') and starts-with(Disposition,'02')
GO
Add SNo1 SNo+1
Add Val 'Test Value'
sort AgeGen
This would transform the source XML to destination XML and you can do a XML to DataSet to convert into a dataset that can be rendered in the UI or use one of the datasetWriters to Write in a specific format.
The Transform method supports the following commands:

[OldTableName=>NewTableName] --- changes name of the table
ADD ColumnName AUTONUMBER or formula or Constant -- add a column with or without a formula, constant or AUTONUMBER.  Formula has to be in XSLT1.0 format.
HIDE/REMOVE ColumnName -- removes the column
RENAME OldColumnName NewColumnName -- changes the name of the column
FILTER filtercommand --- filters to matching rows.  filtercommand has to be in XSLT1.0 format
SORT/SORTBY/ORDER/ORDERBY ColumnName -- order the recordset by columnname
GO/EXECUTE -- Processes the input XML with all commands in the preceding lines to form an intermediary XML.  This XML will be used as input XML for subsequent commands

Again, thanks for trying the EasyETL solution.  I hope this is of value for you.
Thanks
R. Arasu Elango

From: weedkiller<EMAIL_ADDRESS>Sent: Wednesday, August 28, 2019 2:18 PM
To: raelango/EasyETL.Net<EMAIL_ADDRESS>Cc: Arasu Elango<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [raelango/EasyETL.Net] Sum function in ETL (#3)
Wow this is nice, never knew it was there.
One issue is that, I am performing a groupby or filtering down records select prior to this, so is this something I can perform and chain code... EasyETL.Table(Custoemr).groupBy(employee== @"john").Sum()...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/raelango/EasyETL.Net/issues/3?email_source=notifications&email_token=AH3655ZNKLCHH3HIM6476KLQG26QRA5CNFSM4HD6HQPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5MASTA#issuecomment-525863244, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AH365556U7UZF56D3KIRXWDQG26QRANCNFSM4HD6HQPA.


CosmosDB firewall configuration propagation

The documentation says that "Note that firewall changes may take up to 15min to propagate". However, it seems that during this 15 minutes the Cosmos service is unavailable (for example, when changing from "selected networks" to "all networks", you can't send request to cosmos even if your network is registered in the "selected networks"). So it's not only about propagation time, but also it about downtime.
The doc should mention it explicitly to avoid confusion.

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

ID: 8d7a26cc-5853-7241-c918-4d758814baaf
Version Independent ID: 96790e64-f053-5194-cccb-2a66019a8f3f
Content: Configure an IP firewall for your Azure Cosmos DB account
Content Source: articles/cosmos-db/how-to-configure-firewall.md
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

@guy-microsoft We are checking this and will get back to you.

@SnehaGunda Can you please check this feedback and provide guidance.

Please assign to @ThomasWeiss
Thanks.

@guy-microsoft Thanks for your feedback, the doc has been updated to clarify that the firewall may show inconsistent behavior during the 15-minute window.
#please-close