Enable re-downloading cached files

Summary
This PR introduces a flag for the StorageManager.get_local_copy named force_download which when set to True will overwrite existing cached files (default to False).
This flag is relevant for cases where the user modifies the local copy without uploading it, or when a file is updated on the remote repository and the user wishes to re-download it.
New features

force_download flag on StorageManager.get_local_copy.

Other changes & Fixes

Bad usage of Optional type, Optional is for arguments that explicitly allow the value None and not for optional arguments as intuition might suggest (reference)
Deletion of old files was dependent on modification time rather than access time, even though the sorting function was named sort_max_access_time in fact stat().st_mtime was used.
Switched the .touch() that updates access time + modification time to a new method called update_access_time to only update access time. This is relevant for potential future work that will be dependent on modification times

Removed the commit containing the code changing the use of modification time to access time as a criteria for deleting old files

LGTM :)


(extensions/cornerstone)  more reusable cornerstone-extension and minor fixes, increased vtk 25.11.1

Exposes some internals of extensions/cornerstone to be reusable.

feat: increased vtk 25.11.1, more reusable cornerstone-extension and minor fixes

Reusability
 - Use React.forwardRef on cornerstone viewport to allow more reusability
 - disableHeader and viewerLayoutHeight optional props added to ViewerLayout
 - Disable border option added to viewpane and viewgridcomp of mode
 - Expose Expose getActiveViewportEnabledElement command
 - Expose setEnabledElement on common utils
 - Optional Overlay Disable Props

Fixes
 - Fix(Overlay was not grabbing instanceNumber)
 - Add resetCamera in commandsManager for VolumeViewport
 - Move CornerstoneViewportService.EVENTS.VIEWPORT_DATA_CHANGED so CornerstoneViewportService can update the active element before event fires
 - Fix CornerstoneCacheService reference
 - Filter requestImageIds to prevent null values
 - Reference Line error log

@sedghi awesome segmentation release.
I made some minor fixes to extensions/cornerstone based on some of behavior which I think are bugs.
I also exposed some of the extensions/cornerstone APIs so other modes/extensions could reuse services/utils/components.


Layers tiles visibility

No tiles are drawn when scale >= 1. If I initialize the map with scale < 1 it works from the start, but as soon as it is scaled in past 1 tiles disappear. They show up again when it's scaled back.

Can't reproduce in the demo ("Layers demo").
The max scale can be increased to 4. It still works in the demo.

I will report back when I reproduce this in the demo app.

And it's time for me to rest a bit.

You can reproduce the bug on this branch: https://github.com/Nohus/MapCompose/tree/bug_reproduction
Enter the SimpleDemo.

I've seen multiple issues, which I'm about to fix. This demo is the best way to share proof of an issue. As I'm able to reproduce it, I can investigate methodically. Surprising that the current demo isn't affected, but there must be an explanation - I'm not there yet.

The biggest issue is that in the layers branch, I tried to switch to using RGB_565 bitmap configuration by default, which uses half memory as ARGB_8888 (the default). It really has an impact on performance. For maps, is perfectly acceptable to use RGB_565 since we're not displaying photos or content which requires high fidelity color.
Using RGB_565 worked for the tiles in the upstream demo.
But your tiles, somehow can't be decoded into RGB_565 (when at full scale). The decoder requires bitmaps with twice as much size that would require a decoding using RGB_565. That's at full scale. However, when the scale is below 1, MapCompose sub-samples tiles. That's why the tiles fit in the available tiles (tile pool) when sub-sampling. That explains why tiles could only be loaded for scale < 1.
I reverted my change, and I'll add a way to opt-in to RGB_565 with due warning in the documentation.

My tiles contains an alpha channel, maybe that's why? RGB_565 does not have an alpha channel.

This is probably the reason, indeed.

Anyway, I reverted to using ARGB_8888 by default

Can confirm this is fixed, can be closed.


Fix taint and untaint behavior

This PR fixes a bug with the TerraformTaintPlugin where the taint or untaint commands would run even if no resources were specified.

Issue #354


CI uses: actions/checkout@v2 which uses node12 which is deprecated

https://github.com/y21/dash/actions/runs/9048242931


plugins: Switch to plugin-style architecture

This should simplify contribution of new checks.
Change-type: minor
Signed-off-by: Jack Brown<EMAIL_ADDRESS>

@resin-ci retest


Add docs for nack backoff policy

Signed-off-by: xiaolongran<EMAIL_ADDRESS>Motivation
In https://github.com/apache/pulsar/pull/12566, we impl the NegativeAckRedeliveryBackoff and the pr will add docs for this.
Modifications

Add options in Configure consumer
Add docs for how to use

cc @Anonymitaet PTAL

@wolfstudy We should also add at here https://pulsar.apache.org/docs/en/next/concepts-messaging/#negative-acknowledgement

Ok, will add this


Unable to move search panel to bottom

Issue Type: Bug
Just updated VS Code to latest. I had the search panel to show up at the bottom for very long time, now it's back to left. Unable to find a setting to change it back to bottom.
Setting "workbench.panel.defaultLocation": "bottom" on settings.json did not work.
Please simplify this.

Not sure if it's a coincidence, but the search panel also moved back to the left hand side for me after updating yesterday.
I couldn't figure out how to move it back (same confusion with defaultLocation having no effect), but thanks @ArturoDent for the tip to drag the icon. I'd never have figured that out! 😄

Not able to drag search to bottom panel. It works in Windows but not in Linux rhel 7.x


Can not set Unseleted Title Color Programmatically

Can not set Unselected Title Color Programmatically without using runtime attributes
some thing like this
segmentedControl.unselectedTitleColor = UIColor.whiteColor()

This is fixed on the latest commit, but the Pod hasn't been updated


Link dead for Wordpress - PHP 5.5 + Nginx- Box

here:
http://getprotobox.com/explore

Going to redo the website after #155.


Adding addBefore and addColumnBefore in Builder

Hello,
i have added two methods to the Builder, addBefore and addColumnBefore.
It's exactly the same logic as  add and addColumn functions, except that the new columns are prepended in the collection instead of pushed.
I think it can be useful.
thanks.

@lk77 it does look useful but I suggest maybe something like a single method prependColumn() that handles both scenario.
public function prependColumn($column) {
  if (is_array($column)) {
    $column = new Column($column)
  }

  if (! $column instanceof Column) {
    return $this; // or throw exception invalid column?
  }

  $this->collection->prepend($column);

  return $this;
}

Thanks!

I don't know, there is already the add and addColumn functions that are separated. I think it's inconsistent to create a 2in1 function, or perhaps do the same for appending, but it's a breaking change, so i don't know...

@lk77 yeah your point makes sense. I guess this is fine for now. Will decide later for breaking changes when Laravel 5.5 is released. Thanks!


Security Vulnerability with Interlock Container

@ehazlett Could you rebuild interlock with latest base image because we are seeing security vulnerabilities for packages inside interlock container. Fixes are already released by the vendor.

Latest image (1.4.3) has been rebuilt and pushed using the latest base images.
ehazlett/interlock                   1.4.3               sha256:4cc1d5cfe73aa5e864a0d082e04ed46d56f115e569f8f7b6073ae07ef18cfc40   9238b1670d86        38 minutes ago      23.1MB

Thanks for the report!


Can the .jar in the release be considered as "open source" and does it contains the source code?

Can the .jar in the release be considered as "open source" and does it contains the source code?

Have you see:
https://github.com/streamaserver/streama/releases/tag/v1.10.4
latest for moment release?


tendermint connexion

All work fine except this error
any ideas xx.xx.xx.xx is the wan server adresse
E[2021-05-14|18:55:45.050] Dialing failed module=pex addr=7b836124a21b45643413060ad82e24e3981e39c@xx.xx.xx.xx:26656 err="auth failure: secret conn failed: read tcp xx.xx.xx.xx:33780->xx.xx.xx.xx:26656: read: connection reset by peer" attempts=4

have you changed the persistent peers in config.toml file , and changed according to the ip adress of the machines . ??


Borsh 0.9.2 breaks compilation of revm_precompiles

We hit the described change here. We should hardcode as 0.9.1 most likely.
https://github.com/near/borsh-rs/blob/master/CHANGELOG.md#092---2022-01-25

remove borsh completely here: https://github.com/bluealloy/revm/pull/43


Bug report for the calculation of macro-average accuracy

Dear organizers,
Thank you for providing this baseline repository for the grand challenge.
I have accidently discovered a bug in the calculation of accuracy in your code, which is from line 215-217 of train.py:
    metric = torchmetrics.Accuracy(
        task="multiclass", num_classes=len(config.class_2_index.keys())
    )

In the description paper, it states that the evaluation metric is macro-average accuracy. However, the upward code actually calculates micro-average accuracy, if you don't specify the average argument.
The source code for torchmetrics.Accuracy is presented here:
class Accuracy(_ClassificationTaskWrapper):
    r"""Compute `Accuracy`_.

    .. math::
        \text{Accuracy} = \frac{1}{N}\sum_i^N 1(y_i = \hat{y}_i)

    Where :math:`y` is a tensor of target values, and :math:`\hat{y}` is a tensor of predictions.

    This module is a simple wrapper to get the task specific versions of this metric, which is done by setting the
    ``task`` argument to either ``'binary'``, ``'multiclass'`` or ``multilabel``. See the documentation of
    :class:`~torchmetrics.classification.BinaryAccuracy`, :class:`~torchmetrics.classification.MulticlassAccuracy` and
    :class:`~torchmetrics.classification.MultilabelAccuracy` for the specific details of each argument influence and
    examples.

    Legacy Example:
        >>> from torch import tensor
        >>> target = tensor([0, 1, 2, 3])
        >>> preds = tensor([0, 2, 1, 3])
        >>> accuracy = Accuracy(task="multiclass", num_classes=4)
        >>> accuracy(preds, target)
        tensor(0.5000)

        >>> target = tensor([0, 1, 2])
        >>> preds = tensor([[0.1, 0.9, 0], [0.3, 0.1, 0.6], [0.2, 0.5, 0.3]])
        >>> accuracy = Accuracy(task="multiclass", num_classes=3, top_k=2)
        >>> accuracy(preds, target)
        tensor(0.6667)

    """

    def __new__(  # type: ignore[misc]
        cls: Type["Accuracy"],
        task: Literal["binary", "multiclass", "multilabel"],
        threshold: float = 0.5,
        num_classes: Optional[int] = None,
        num_labels: Optional[int] = None,
        average: Optional[Literal["micro", "macro", "weighted", "none"]] = "micro",
        multidim_average: Literal["global", "samplewise"] = "global",
        top_k: Optional[int] = 1,
        ignore_index: Optional[int] = None,
        validate_args: bool = True,
        **kwargs: Any,
    ) -> Metric:
        """Initialize task metric."""
        task = ClassificationTask.from_str(task)

        kwargs.update(
            {"multidim_average": multidim_average, "ignore_index": ignore_index, "validate_args": validate_args}
        )

        if task == ClassificationTask.BINARY:
            return BinaryAccuracy(threshold, **kwargs)
        if task == ClassificationTask.MULTICLASS:
            if not isinstance(num_classes, int):
                raise ValueError(
                    f"Optional arg `num_classes` must be type `int` when task is {task}. Got {type(num_classes)}"
                )
            if not isinstance(top_k, int):
                raise ValueError(f"Optional arg `top_k` must be type `int` when task is {task}. Got {type(top_k)}")
            return MulticlassAccuracy(num_classes, top_k, average, **kwargs)
        if task == ClassificationTask.MULTILABEL:
            if not isinstance(num_labels, int):
                raise ValueError(
                    f"Optional arg `num_labels` must be type `int` when task is {task}. Got {type(num_labels)}"
                )
            return MultilabelAccuracy(num_labels, threshold, average, **kwargs)
        raise ValueError(f"Not handled value: {task}")

As you can see, if the average argument is not specified, it will default to micro, resulting in the wrong metric.
I think there is a bug in here. Looking forward to your reply.

@jianganbai  Many thanks for reporting this bug! We will look into this today and get back to you as soon as possible.

@jianganbai Thanks for reporting this issue and we have updated the train.py.

Hello, the modified code shows the error "TypeError: len() takes no keyword arguments", I checked the documentation of each version of python, and found that 'len()' does not have 'average' argument, I want to know if there is an error here.Looking forward to your reply.


feat(product,category)!: change request building from URL to be async

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/develop/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?
[x] Yes
[ ] No

DaffCategoryRoutingRequestBuilder, DaffCategoryRoutingUrlRequestBuilder and DaffProductGetCollectionRequestFromRoute now take route: ActivatedRouteSnapshot, state: RouterStateSnapshot as params and return observables
Other information

close until needed


Convert Mvc to use Reference

Microsoft.AspNetCore.Analyzers never shipped and we have no plans to ship it. Since it's causing issues, let's get rid of this dead code. See https://github.com/aspnet/AspNetCore/pull/6053


Cleanup code

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

118 of 130 (90.77%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 84.605%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

validate/manager.go
3
5
60.0%

validate/options.go
95
105
90.48%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
1220

Relevant Lines:
1442

💛  - Coveralls


Template not found after 3.2.0

No issues with 3.1.0. We supply a JSON object for our variables with --vars and do not use a config file. Below is our call to schemachange:
schemachange -f MORE2/ -a ${SF_ACCOUNT} -u ${SF_USERNAME} -r ${SF_ROLE} -w ${SF_WAREHOUSE} -d ${SF_DATABASE} -c ${SF_DATABASE}.SCHEMACHANGE.CHANGE_HISTORY --create-change-history-table --vars $VARS -v
Here is the error:
2021-11-02T14:39:11.1821401Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\runpy.py", line 193, in _run_module_as_main
2021-11-02T14:39:11.1825161Z     "__main__", mod_spec)
2021-11-02T14:39:11.1826123Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\runpy.py", line 85, in _run_code
2021-11-02T14:39:11.1826631Z     exec(code, run_globals)
2021-11-02T14:39:11.1827900Z   File "C:\hostedtoolcache\windows\Python\3.7.9\x64\Scripts\schemachange.exe\__main__.py", line 7, in <module>
2021-11-02T14:39:11.1828807Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\schemachange\cli.py", line 606, in main
2021-11-02T14:39:11.1829929Z     deploy_command(config)
2021-11-02T14:39:11.1830572Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\schemachange\cli.py", line 147, in deploy_command
2021-11-02T14:39:11.1831200Z     content = jinja_processor.render(jinja_processor.relpath(script['script_full_path']), config['vars'], config['verbose'])
2021-11-02T14:39:11.1832008Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\schemachange\cli.py", line 53, in render
2021-11-02T14:39:11.1832533Z     template = self.__environment.get_template(script)
2021-11-02T14:39:11.1833048Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\jinja2\environment.py", line 997, in get_template
2021-11-02T14:39:11.1833888Z     return self._load_template(name, globals)
2021-11-02T14:39:11.1834363Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\jinja2\environment.py", line 958, in _load_template
2021-11-02T14:39:11.1834887Z     template = self.loader.load(self, name, self.make_globals(globals))
2021-11-02T14:39:11.1835701Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\jinja2\loaders.py", line 125, in load
2021-11-02T14:39:11.1836426Z     source, filename, uptodate = self.get_source(environment, name)
2021-11-02T14:39:11.1837121Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\jinja2\loaders.py", line 194, in get_source
2021-11-02T14:39:11.1837599Z     pieces = split_template_path(template)
2021-11-02T14:39:11.1838103Z   File "c:\hostedtoolcache\windows\python\3.7.9\x64\lib\site-packages\jinja2\loaders.py", line 35, in split_template_path
2021-11-02T14:39:11.1838569Z     raise TemplateNotFound(template)
2021-11-02T14:39:11.1839207Z jinja2.exceptions.TemplateNotFound: SQL\V2.0.0__ADHOC_SCRIPT.sql

This is working still with 3.1.0. Is there something missing in our CLI call?

Hi @zachary-highman, nothing wrong with your CLI call, you have found a bug. Version 3.2.1 has now been released which contains a fix for your scenario. It would be great if you could confirm that the new version fixes the issue.

Yes @zachary-highman, this should be fixed now with versions 3.2.1 and greater. Please let us know if you're still having issues.


Mark deallocate as nothrow @nogc

For allocators that define their own deallocate, this does not produce any garbage. All the other allocators must infer this from their parents.

rebase

@CyberShadow how can the doc tester be re-triggered?

This needs to be re-based for it to be buildable.  Removing the auto-merge label to avoid wasting builder time.


Angular 4.x support

Does this work with angular 4.x ?

Yes
On 6 Apr 2017 3:51 AM, "Shenoy"<EMAIL_ADDRESS>wrote:

Does this work with angular 4.x ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urish/angular2-moment/issues/139, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2dng8lcUQ6hQ16wXfaqEACk2UmSxFjks5rtLWGgaJpZM4M1XYv
.

Cant get it to work, says pipe not found. Did as described in the guide .

I am also having troubles.
I installed the package and added the MomentModule in the app imports section.
When using the amDateFormat pipe like this {{date | amDateFormat:'MMM D, Y'}} I get this error:
Error: Uncaught (in promise): Error: Template parse errors:
The pipe 'amDateFormat' could not be found

System context:
Ionic Framework: ^3.0.1
Ionic App Scripts: 1.3.3
Angular Core: ^4.0.0
Angular Compiler CLI: ^4.0.0
Node: 7.9.0
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

How can I fix this? Any ideas?

Having the same issue.
Works if I import in to the feature module but not if I import in to the app module.

@shavenwalrus @Eraldo  : I was able to get it to work with Angular 4.x.
Here is what I had to do

Import in the app.module file
Add angular2-module  to map & packages in the system.config file.

[Attached by config file below]

@shavenwalrus Thanks for confirming this issue and hinting to the workaround.
I still want the pipes to be available globally. :)
@mashenoy Ionic (I'm using version 3.x) is using webpack, I don't see any "system.config" file.

Having the same problem here with Ionic and ng4 here. Waiting...

Did anyone get this to work?

@Eraldo It worked for me. It turned out to be that I used the wrong pipe name...

@Ovilia With a globally imported MomentModule and using LazyLoad?

@Eraldo I think I didn't use LazyLoad...

I see. I only have the issue when using lazyload.
Thanks for your update. :)

I can confirm the same. When using within the individual page's import section, it works fine. But when used in app.module.ts, the pipes are not available with lazy loading.

I got this error trying to install

Did anyone get this working with lazyload?

Normally the module should be added in all modules (app.module and those with lazy loading). Only providers are working app wide if u add it in the app.module. I'll try it the next days on my own...

I'm using this without issue in 4.2.4 implemented in a top level shared module which is imported into multiple lazy loaded modules as well as the top level app module.

For those of you having issues, if someone can put up a small, public repro of the issue I'm happy to take a look.

As a workaround I imported the module into every component where I am using it.
What you are doing @d3viant0ne sounds very smart and 'clean'.
I am wondering: Wouldn't I have to import the shared module in every lazy loaded page/component?
Can you give me a pointer to a tutorial where I can see how to create such shared module?
Thank you for the reply!

@Hesesses , yes, you .module.ts should also import Angular moment if you are using Lazy loading in Ionic3
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { HostsPage } from './hosts';
import { MomentModule } from 'angular2-moment';

@NgModule({
  declarations: [
    HostsPage,
  ],
  imports: [
    IonicPageModule.forChild(HostsPage),
    MomentModule
  ],
})
export class HostsPageModule {}

I am still having this issue. I have a feature module and it can't find the pipes amFromUtc and amLocal even with import angular2-moment.
Am I missing something?

Nvm, it seems I had to directly import MomentModule into my Feature Module and using a shared module doesn't work.

if you are using a SharedModule (which is imported into lazy-loaded feature modules) for common pipes, you will need to include MomentModule in your imports and exports.

@MT-- Imports Array only

@yurik94 I would be interested to see a structure where the module does not need to be exported from your Shared module if it is truly a shared module and not another root module that is just globally available. Otherwise, it would seem I need an architecture lesson?

Should probably be working now with ngx-moment 2.0 - please open a new issue if not


MongoDB Issue on Apple M2 Silicon Chip

Hello,
can someone please help to set up the Docker image on my Mac with M2 Chip.
https://github.com/bitnami/containers/issues/14169
This solution seems not to work.
Would be great if a Solution comes up.
Thank you

I had the same issue on my Mac with M1 chip. I installed MongoDB locally on my Mac using Homebrew and updated the .env file to point to the local host to connect to MongoDB. Here are some links that might be helpful:
https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/
https://stackoverflow.com/questions/65357744/how-to-install-mongodb-on-apple-m1-chip
Here's the updated MongoDB connection string in my .env file:
DATABASE_URL=mongodb://docker.for.mac.host.internal:27017/lms

Oh interesting. Unfortunately I can't replicate this since I don't have a mac.
Could one of you try replacing this line in the docker compose file
https://github.com/nsarrazin/serge/blob/b4c329286c8ce611ddcad2301aecfff09ae580fd/docker-compose.yml#L17
by
    image: mongo

and let me know if it works ?

OK, I think it might be working!
mongodb:
    image: mongo:6.0.4-jammy
    ports:
      - "27017"
    volumes:
      - data:/data/db

I'm not seeing any errors, but I've clicked "start new chat" and it's hanging.

Thank you all very much.
@kells1986 Solution works. Thank you very much!!
I just cant chose a model, but this seems to have another problem.

Thank you very much. I am excited to try it.


ZeroDivisionError when parsing string "DECEMBER 21 19.87 87"

Hi,
I am getting the below zero division error when running the following code:
from dateparser.search import search_dates
s = "DECEMBER 21 19.87 87"
out = search_dates(s)

Environment:
dateparser==0.7.0
python==3.5.2

Exception:
Traceback (most recent call last):

  File "/home/ubuntu/.virtualenvs/dsh_v2/lib/python3.5/site-packages/dateparser/search/__init__.py", line 33, in search_dates
    result = _search_with_detection.search_dates(text=text, languages=languages, settings=settings)

File "/home/ubuntu/.virtualenvs/dsh_v2/lib/python3.5/site-packages/dateparser/conf.py", line 81, in wrapper
    return f(*args, **kwargs)
  File "/home/ubuntu/.virtualenvs/dsh_v2/lib/python3.5/site-packages/dateparser/search/search.py", line 221, in search_dates
    settings=settings)}
  File "/home/ubuntu/.virtualenvs/dsh_v2/lib/python3.5/site-packages/dateparser/search/search.py", line 153, in search_parse
    original=original, translated=translated, settings=settings)
  File "/home/ubuntu/.virtualenvs/dsh_v2/lib/python3.5/site-packages/dateparser/search/search.py", line 140, in parse_found_objects
    parsed_best, substrings_best = self.choose_best_split(possible_parsed, possible_substrings)
  File "/home/ubuntu/.virtualenvs/dsh_v2/lib/python3.5/site-packages/dateparser/search/search.py", line 59, in choose_best_split
    rating.append([num_substrings, float(not_parsed)/float(num_substrings),
ZeroDivisionError: float division by zero

Same here:
search_dates("a Ameri")
  File "search.py", line 59, in choose_best_split     rating.append([num_substrings, float(not_parsed)/float(num_substrings), ZeroDivisionError: float division by zero

I think this is fixed by #429

Same issue here with:

from dateparser.search import search_dates
search_dates("National American Woman Suffrage Association")


New article - US1888233-Printing-Overview

Sources

link
link
link
link
link

Internal preview
Related to #1075

I know you still have this in draft, but I wanted to put in a few notes. I'm not sure what you've actually done yet considering I can't see a diff between the original and this ported article.

US1888233- https://dev.azure.com/mseng/TechnicalContent/_workitems/edit/1888233
As mentioned in the US, this article is a combination of five articles (please refer links given in US).

@adegeo
Kind request to review first PR.
Link - https://github.com/dotnet/docs-desktop/pull/1355

Code looks great! Just a few things I noted. The most important part is the projects should be .NET 6.0 not .NET Framework. Refer to our chat where I pointed out a good place to copy a simple project from an existing snippet, then just recraft the UI and add your code to it.
Cheers and thanks!

Yes, Done the changes.


Preserve url parsing in Dist

Part of #3407. We first need to

Decide which types to add to the Dist variants
Add these types
Get this information from thePubGrubPackage
Use it in subsequent code over the VerbatimUrl

Is this specifically for Dist::from_url?

This is done, we track all the fields we need now

Oh nice.


Provide tooltip for column header

Pull Request
🤨 Rationale
We want a tooltip on column headers so that you can see the full value when there is ellipsized text.
👩💻 Implementation
Set the title based on the column element's textContent. This should be fine even when the header has no text (i.e. is an icon). If we support headers with both an icon and some text, I think this still gives the behavior we would want, i.e. hovering over the icon gives the icon tooltip text (if provided by the user), but hovering over the text gives that value in a tooltip.
🧪 Testing
Tested in Storybook
✅ Checklist

[x] I have updated the project documentation to reflect my changes or determined no changes are needed.

@m-akinc @atmgrifter00 what's going on with this PR? It looks like it was merged into another non-main branch? I'm not able to review it as-is.


fix: Fixed NPE issue with analytics event on authentication method configuration

Description
This PR fixes an NPE issue that happens when the authentication method is configured while the .env file was empty initially.
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Locally

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/ok-to-test sha=c28139ddaad7a7e009b9e6c60061c13fa6a5230c


Implement RemoveServiceAccount in AWS warehouse

Implementation and unit tests for the RemoveServiceAccount method on the AWS warehouse.

@chaopeng updated with most of the changes you suggested. Please see my comment in-line about the order of operations in RemoveServiceAccount and let me know if that sounds good to you or if there is something you were saying that I missed.

lgtm, @cdvoisin ptal.


Code Formatting: don't use long same-line comments; use the line above

This is a sub-issue of #11. Don't close #11 until all sub-issues are resolved.
I will help with this; just want to teach the principle too is all.
Instead of:
#define insp_pressure_default 40  // defualt value - hold this pressure while breathing - the value is changed if INSP_Pressure
                                  // potentiometer is inatalled

Do:
/// Default value - hold this pressure while breathing - the value is changed if
/// INSP_Pressure potentiometer is installed
#define INSP_PRESSURE_DEFAULT 40

Notice I also add doxygen comments ///, and change the constant to all caps. Limit your max column width, or "ruler" as it is frequently called, to 100 chars.

The clang-format autoformatter really doesn't like these long lines. You'll see once I get it pushed. See the email I sent you @nimrod46  and @giorakor so I can know how you want me to push changes.

PR #46 resolves a tiny portion of this issue


The release workflow is broken

The release of v1.2.3 failed.
https://github.com/owenrumney/squealer/releases/tag/v1.2.3
No pre built binary was released.

https://github.com/owenrumney/squealer/actions/runs/9871356482/job/27259107572
/opt/hostedtoolcache/goreleaser-action/2.0.1/x64/goreleaser release --rm-dist
  ⨯ command failed                                   error=unknown flag: --rm-dist
Error: The process '/opt/hostedtoolcache/goreleaser-action/2.0.1/x64/goreleaser' failed with exit code 1

GoReleaser v2 has several breaking changes.

#118 will resolve this issue.


Link to ComfyArchive add-on in README?

We have released a new ComfortableMexicanSofa add-on named ComfyArchive, based loosely on ComfyBlog, but allows creating chronological archives out of any page and its children. Would it be appropriate to link to it from the README along with ComfyBlog?

@morgant Let's create a section in Wiki under Addons section. Would be good idea to add the ComfyBlog there too.

@GBH Sounds great. Just on the main wiki page or an additional page? Would you like me to take care of it?

@morgant I added "Plugins" section on the main wiki page. Probably a good place?

@GBH, thanks again! I've added a link to ComfyArchive there as well.


⚠ Jenkins Plugins Artifactory has degraded performance

In 55e9d7e, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1198 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 211ae49 after 12 minutes.


Need a menu that can set absolute position

Now we can listen right click and get positon when right click, but DropdownMenu can't set position.
This will cause the current menu to appear not under the mouse pointer.
What should I do?

Can you say pls where you found right click mouse event?

@Exidel
Document here
My code is here

Don't understand clearly all that AWT functions and classes but find a way to open dropdownMenu under mouse cursor. Also thx for doc link.
There in example code Text("Mouse event: ${lastEvent?.paramString()}") which show all mouse event param, if you look closer there window position and global screen position. lastEvent, as i understand, contain a list with parametrs from last mouse event. U can take this parametrs from it. For local window position which you need u can use lastEvent?.point?.x and lastEvent?.point?.y  In a place where you will use this don't forget create if (lastEvent?.point?.x != null && lastEvent?.point?.y != null) to use as Int. I use padding with that x and y on dropdownMenu to set it position, look like it attached to place where opened.
https://user-images.githubusercontent.com/80458677/112762112-ca1c7c00-9006-11eb-8968-3f96889b415a.mp4

CursorDropdownMenu implements this

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Less verbose cargo

During the work on Cumbertrade I've noticed that cargo is producing a lot of noise during a build of cargo2nix-ed packages. Related issue is here: https://github.com/tenx-tech/engineering-program/issues/721
This PR won't just remove the -vvv flag from cargo invocation in mkRustCrate, but will make the verbosity level configurable since I believe that this high verbosity was added for a reason and still might be useful in some cases.
cc @workflow @ebkalderon

Let's respect nixpkgs NIX_DEBUG variable. User can enable verbose build per crate using overrides.

I like the idea behind this PR! Let's respect NIX_DEBUG as well, as @trha suggested.

@trha @ebkalderon I've tried this approach, please take a look!

We actually don't need to change code generation for this. User can specify NIX_DEBUG for all crates using:
rustPkgs = pkgs.rustBuilder.makePackageSet' {
  packageOverrides = pkgs: [
    (pkgs.rustBuilder.rustLib.makeOverride {
      overrideAttrs = _: { NIX_DEBUG = "7"; };
    })
  ];
};

@trha please check


[SPARK-9490] [DOCS] [MLLIB] MLlib evaluation metrics guide example python code uses deprecated print statement

Use print(x) not print x for Python 3 in eval examples
CC @sethah @mengxr -- just wanted to close this out before 1.5

Merged build triggered.

Merged build started.

Test build #39191 has started for   PR 7822 at commit bd7f7fb.

Test build #39191 has finished for   PR 7822 at commit bd7f7fb.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class MulticlassClassificationEvaluator (override val uid: String)
class NaiveBayes(JavaEstimator, HasFeaturesCol, HasLabelCol, HasPredictionCol):
class NaiveBayesModel(JavaModel):
class MulticlassClassificationEvaluator(JavaEvaluator, HasLabelCol, HasPredictionCol):

Merged build finished. Test PASSed.

Actually, I see a number of instances of the same print x in the other docs' Python examples. I'll push an additional commit for those. If I'm wrong, I can back it out easily.

Merged build triggered.

Merged build started.

Test build #39256 has started for   PR 7822 at commit 01abeba.

Test build #39256 has finished for   PR 7822 at commit 01abeba.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

LGTM. Merged into master. Thanks!


INTL0003 Flag Attribute if anything is on same line

public enum Foo
{
    [A]Bar
}

should be
public enum Foo
{
    [A]
    Bar
}

Also consider
[A]public void Bar() { }

I took a stab at this and think I've got something to PR, but do you think this is worth testing for too, where a property / method signature / etc is split on multiple lines? Personally, I don't think I've seen anyone do this, but it compiles so it's possible...
         It would be nice to address, but that could be a follow up issue/PR as well.

@grantwinney yea I am a little less concerned with that particular case. It would be nice to address, but that could be a follow up issue/PR as well.

Sounds good. I thought it might be a quick change, but now I'm not so sure. I don't know if it can be handled in context.RegisterSymbolAction or if it might involve invoking context.RegisterSyntaxNodeAction. Since it might be a bigger change, I left it out of the PR.


Add svg picture

Hi guys! Thanks for your great work! It seems that word has been providing support for svg for a couple of years now. I have tried adding an svg file using add_image but I get the following error message:

docx.image.exceptions.UnrecognizedImageError.

I was wondering if you were planning to add support to svgs in the near future. I also tried adding the svg by manipulating the xmls, but I could not make it work either. It was a little too complicated for me. Thanks again!!

I don't believe Word supports SVG natively. What I believe it does is translate the SVG to EMF (Windows Meta File/Extended Meta File) format and embed that. Since EMF is a vector format, it looks just like the SVG.
The problem is that there is no SVG to EMF translator available in Python, at least the last time I looked. So this functionality (which would also be desirable for python-pptx) is not feasible at the moment.

Hi @scanny thanks for your quick answer.
In working in MS Word 2016, as you surely know you can add a svg picture. I have unzipped the Word document to see how they manipulate this kind of files, then i realize that the xml drawing node is very similar for a svg/png. and in the media folder the svg is saved as it without changes, and all the references in the relationship file are to the svg.
So (and this is my supposition) it is technically possible give support to this without convertions.
If i can help you in anything let me know.

I'm using Office 365 and I'm sure that Word supports svg format. Encountering the same issue, hope it can be fixed soon.

Is this a duplicate of https://github.com/python-openxml/python-docx/issues/505 ?

And of https://github.com/python-openxml/python-docx/issues/351

It would be really awesome if this could be done. Word (and other Office applications) now support SVG natively (they're now imported as editable vector images).

Would love to see this feature as well.


Bump to Kubernetes 1.17.0

... to match Shipyard.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

https://github.com/kubernetes/client-go/compare/kubernetes-1.17.0-alpha.3..kubernetes-1.17.0-beta.0 shows what changed in client-go between the two releases around the breakage, but I can’t figure out why beta 0 breaks Admiral...


Missing Description for s3:ObjectOwnerOverrideToBucketOwner

This permission is missing a description and also does not have a link to the API documentation either.
I did find the following referencing ObjectOwnerOverrideToBucketOwner: https://docs.aws.amazon.com/AmazonS3/latest/dev/crr-change-owner.html

Thank you for your contribution. The IAM writer is out of the office until the end of June. She will address this when she returns.

Looking for this as well.

Closing this issue or pull request in advance of archiving this repo. For more information about the decision to archive this repo (and others in the 'awsdocs' org), see the announcement on the AWS News Blog.


api_key

How can I use the api_key to get the report? I saw that there is no similar command parameter in help. Now I have a 401 authentication error.

See the apitoken section of the readme. Also there are many similar closed issues with more detailed examples, if the readme is not detailed enough for you.


File "scripts/generate.py", line 15, in      from video_prediction import datasets, models ModuleNotFoundError: No module named 'video_prediction'

In python >= 3.6, make sure to add the root directory to the PYTHONPATH, e.g. export PYTHONPATH=path/to/video_prediction.

As stated in the README.


feat: add components tutorials

Pull Request Test Coverage Report for Build 1068

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

Totals

Change from base Build 1048:
0.0%

Covered Lines:
585

Relevant Lines:
761

💛  - Coveralls


Question: Other service meshes?

I see (in the Twittersphere) and hear (from co-workers) frequent comparisons between Istio and Linkerd-- including assertions that Linkerd is better for reasons xyz.
Frankly, I feel that this is an apples to oranges comparison and that such critics are overlooking the real story-- that the separation of the Istio control plane from the Istio data plane (Envoy) was deliberately intended to promote a (someday) common/ubiquitous control plane that works with a variety underlying meshes...
Am I reading that correctly? I don't really see it stated explicitly anywhere in the docs, roadmap, etc. that compatibility with other meshes is a goal. Am I just reading into the architecture too much? (I hope not!)
Bouyant published this blog post over a year ago (which is like seven years in container years) about, experimentally, using Istio and Linkerd together. As recently as Linkerd 1.3.1, they still seemed to be working on that. At minimum, I am assuming that Linkerd is not yet Istio 1.0 compatible. (I'll open a separate issue against Linkerd to inquire about that.)
What I'm looking for is some sense of whether Istio + other meshes (in general; not just Linkerd) is a goal. Is the Istio control plane intended as an abstraction... or not? If so, is it possible that project messaging needs to be updated to convey this more clearly to critics who are overlooking this?
P.S.-- Knative seems to have raised a red flag for some pundits by being "tightly coupled" to Istio. Knative is now exploring ways to couple more loosely to the underlying mesh. In my mind, that's what Istio was for-- that Istio is the abstraction that decouples Knative from Envoy / Linkerd / Conduit, whatever.

Realizing now that some of my impressions were probably influenced by this article that @christian-posta collaborated on.

Istio is designed to provide a universal control plane to manage a variety of underlying service proxies (it pairs with Envoy by default).

I think that is definitely part of Istio's architectural goals: to provide a common set of infrastructure and APIs to support a data plane (Envoy, or other proxies). Moreover, Istio's not tied to any specific deployment platform (i.e., Kubernetes), or backend metrics/policy engines. Istio's greatest strength is its APIs and "pluggability" with other systems.

@christian-posta thanks for validating my understanding.
Two follow up questions:

Is Istio's messaging / narrative failing to convey this point? The constant apples to oranges comparisons I'm seeing makes me think that many folks are overlooking more than half the story here.

"Fermi's paradox," if you will: "Where is everyone?" i.e. What other meshes are buying into the use of Istio as their control plane? It seems, per this conversation that Linkerd, for instance, may soon, in fact, be marking Istio integration deprecated. :(


[TimeSeriesCard/BarChartCard] add zoom functionality

Summary
Internal issue: https://github.ibm.com/wiotp/monitoring-dashboard/issues/346
Reference stories from carbon charts: https://carbon-design-system.github.io/carbon-charts/?path=/story/zoom-bar-alpha--stacked-bar-time-series-defined-zoom-bar-enabled
Specific timeline issues / requests
Do you want this work within a specific time period? Is it related to an
upcoming release?
For September release
Available extra resources
What resources do you have to assist this effort?
Adding myself

:tada: This issue has been resolved in version 2.106.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Mismatch in Metrics calculation for PAT datasource

There is a mismatch found in the "performance" column calculations in PAT Heatchart and PAT MApreport Gradewise reports.

@PavitraIR Could you please the status of the ticket and target completion date

we have found the root cause, I am fixing on it

Assigning to @Shoaib15khan  for retesting

Completed


Issue #26 - Write byte order mark (optional)

I added ability to write byte order mark. fixes #26

Thanks! Will review soon!

nice! Could you please add some docs to https://github.com/NLog/NLog/wiki/File-Target? Please add "introduced in NLog 4.5" - thanks!


Developer panel in settings

This should make it super easy to run the new longitudinal maneuver report and joystick mode.
It should have:

SSH key setting (move from the Network tab)
Joystick mode
longitudinal maneuver report mode

Joystick and longitudinal maneuvers should be hidden on release branches.

Start and stop ZMQ bridge

We should also think about moving the "openpilot long alpha" toggle. I'm leaning towards moving it.

Should the joystick mode provide an option for the user to choose between comma and laptop? Or should it detect whether the comma is plugged in?
I'm not sure how that should look like. A description would be great.

@adeebshihadeh Are we adding the option to start and stop ZMQ bridge or is it TBD? What about the "openpilot long alpha" toggle?

Ah yeah, let's move that one too. @BBBmau or @AlexandreSato want to move that?

Ah yeah, let's move that one too. @BBBmau or @AlexandreSato want to move that?

moved in #33885

@adeebshihadeh
#33885 Also fix two design issues in #33803 :
1 - the release toggles would only disappear after ignition on the release branch;
2 - cars without longitudinal control could activate longitudinal maneuvers.


Update iac.tf.sh

Defined _warning
#254

why do we add this helper method?

Without it, I was unable to deploy.
"_warning: command not found"
https://github.com/microsoft/symphony/issues/254

why do we add this helper method?

@polatengin we use it in the:

https://github.com/microsoft/symphony/blob/main/scripts/orchestrators/iac.tf.sh#L117
https://github.com/microsoft/symphony/blob/main/scripts/orchestrators/setup-go.sh#L77

and somehow _warning() has lost.


Tell me why

eventname
I dont like Wednesdays
date
2022-06-30 08:00:00 -00:00
description
xzcvzxcv
registrationurl
No response
rooms
roomname1;roomurl1,roomname2;roomurl2,roomname3;roomurl3
scheduleurl
No response
sponsors
sponsor1link;sponsor1image;sponsor1height,sponsor2link;sponsor2image;sponsor2height,sponsor3link;sponsor3image;sponsor3height
speakerlisturl
https://sessionize.com/data-saturday-parma-2022/
volunteerrequesturl
No response
organizers
organizer1name;organizer1twitter;organizer1email,organizer2name;organizer2twitter;organizer2email,organizer3name;organizer3twitter;organizer3email

and a PR was created when we needed one and not when we didnt @bweissman


Windows support

Changes in transition to pug4j where made which broke windows support.
Especially the classpath handling currently doesn't work on a windows operating system.
Make sure tests on windows works again.
Todos:

Find a solution to reproduce errors
Fix TemplateLoader

Added github actions pipeline to run tests on windows and ubuntu.
Now the errors on windows are visible and I can start fixing them.


Ansible lookup plugin error

After upgrading to the latest credstash Version 0.17.0 on our Ansibel deployment server we get following error:
{
    "changed": false,
    "msg": "AnsibleError: An unhandled exception occurred while templating '{{ lookup('credstash', 'xxx') }}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: An unhandled exception occurred while running the lookup plugin 'credstash'. Error was a <class 'ansible.errors.AnsibleError'>, original message: Encountered exception while fetching xxx: Could not connect to the endpoint URL: \"https://kms.credential-store.amazonaws.com/\""
}

After digging in deeper into the mechanism of the Ansible lookup plugin and how it calls credstash, I found the culprit. With the PR #268 the parameter order of getSecret() was changed and the Ansible plugin uses positional arguments instead of named. So, basically the latest version breaks the usage of positional arguments for everyone. I think it would be a good idea to move the new parameter kms_region to the end of the function call. Same goes for all the other functions probably too. I'm happy to add a PR to fix the problem, but I don't want to waste my time, if you are not willing to apply that change.

I think this is the cause of similar problems we're seeing today where the ansible plugin reverts to using the default credstash table name 'credential-store' which doesn't exist in our environment.

AnsibleError: An unhandled exception occurred while templating '{{ lookup('credstash', 'XXXXXXX', table=credential_store, region=aws_region) }}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: An unhandled exception occurred while running the lookup plugin 'credstash'. Error was a <class 'ansible.errors.AnsibleError'>, original message: Encountered exception while fetching artifactory_username: An error occurred (AccessDeniedException) when calling the Query operation: User: XXXXXXXXXX is not authorized to perform: dynamodb:Query on resource: arn:aws:dynamodb:XXXXXXXXXX :table/credential-store

Thanks for the quick feedback. I will put out a bugfix release to address this issue.

Resolved by #293 https://github.com/fugue/credstash/pull/293


[FEATURE]: Width changes in docs

Feature Description 📝
We can decrease the width of Sidebar component as this takes a lot of space

Also components currently takes less space that's why we are not able to add components which have more width. we can increase the width that components will take inside (docs) folder.

Screenshots 📸
No response

Hie @Ansub, is there a specific width you have in mind?
I have shift a layout by 32px here let me know if this looks right?
before

After shifting layout by 32px

I am sorry but i am not able to find out the different in both images, can you please tell me where to look for it?

The sidebar width 😅

Yeah, but we also need to increase the width of the right side where all the components are displayed so that it looks more symmetrical.


[BUG] Downloaded images are of low quality

Description
The download image is of low quality
Expected Behavior
The quality of image should be high when it is downloaded.
Actual Behavior
Image is of low quality
Additional Information
I have fixed this issue on local, let me know if I should raise the PR or not, Also made the code and UI better.
Screenshots
Left: High Quality | Right: Low Quality

Let me know how you enhanced it ...I mean the steps @veerprakash28

Changed the small quality download link to full
Added icon for download instead of text
Made separated component for the images card
Added downloaded image link so that downlaoded image name will look like this: Image-searcher-(random8digitNumber)

If you're done please add a PR to it

Changed the small quality download link to full
Added icon for download instead of text
Made separated component for the images card
Added downloaded image link so that downlaoded image name will look like this: Image-searcher-(random8digitNumber)

Sure, I'll raise a PR


Enhancement Suggestion about Select Queries

Hello again,
I think we should add a new parameter to query function to specify that specific query should not be cached.
For example:
var query = "SELECT * FROM table [...]";
mysql.query({
    sql: query,
    nestTables: true,
    params: [
        first_param: 1
    ],
    skipCaching: true // <-- Here we define that this query should not be cached.
}, function(error, rows, cacheData) { [...] });

This has been implemented in 2.0.0! b366041
mysql.query({
    sql:'SELECT 6 + 6 AS solution',
    cache: false, // Do not cache this result
}, (err, resultMysql, mysqlCache) => {
    // Do something with your results
})


Baseline results on GRU and LSTM on MemoryGym

Hi,
Thanks for the amazing implementation. I was wondering if would be possible to release the baseline implementations along with the hyperparameters used for GRU and LSTM on the Memory Gym environment (https://openreview.net/pdf?id=jHc8dCx6DDr)? I hoping to use MemoryGym for my thesis work and it will be extremely helpful. Thanks!

Hello!
The results are produced using neroRL (develop branch).
We are currently updating our GRU baseline repository to support Memory Gym. The develop branch should be functional, but we still need to reproduce our results, which is the last step toward merging it to the main branch. This should be done within the next two weeks. So feel free to use neroRL for training now and you can use the other repository to follow our implementation concept more easily.

Also we found better hyperparameters for MMGrid and MPGrid using optuna that we have just implemented in neroRL (develop):

| MM Grid | MP Grid
-- | -- | --
Worker | 32 | 32
Worker steps | 512 | 512
Epochs | 3 | 3
Num Minibatches | 8 | 8
gamma | 0.995 | 0.995
lamda | 0.95 | 0.95
value loss coefficient | 0.5 | 0.5
advantage normalization | batch | none
max grad norm | 0.25 | 0.25
clip range | 0.1 | 0.2
init learning rate | 2.50E-04 | 2.75E-04
fina learning rate | 1.00E-05 | 1.00E-05
init entropy coefficient | 0.0001 | 0.001
fina entropy coefficient | 0.000001 | 0.000001
RECURRENCE |   |
num layers | 1 | 1
layer type | GRU | GRU
sequence length | -1 | -1
hidden state size | 512 | 512
residual | TRUE | FALSE
updates | 5000 | 10000


Update client to pnpm 9

Description
This is a test to see how CI handles pnpm 9.
It is expected that component detection will fail, not detect any client dependencies, but allow CI to pass anyway.
This will confirm if that occurs.
Reviewer Guidance
The review process is outlined on this wiki page.

Confirmed to warn with "##[warning]Unsupported lockfileVersion in pnpm yaml file /mnt/vss/_work/1/s/pnpm-lock.yaml" but not fail.
Wait for https://github.com/microsoft/component-detection/issues/1148 before updating

Still waiting for https://github.com/microsoft/component-detection/issues/1148


New version: JLC.LCEDA.Pro version 2.1.51

Created by 🥟 Dumplings in Run #3571.
Microsoft Reviewers: Open in CodeFlow

Hi @SpecterShell,

This PR's version number 2.1.51 has 3 parameters (sets of numbers between dots - major, minor, etc), which is less than the current manifest's version <IP_ADDRESS>, which has 4 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 869)

Hi @SpecterShell,

This PR's version number 2.1.51 has 3 parameters (sets of numbers between dots - major, minor, etc), which is less than the current manifest's version <IP_ADDRESS>, which has 4 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 870)


Wrong location in iOS

Bug Information
Version Number of Plugin: <IP_ADDRESS>
Device Tested On: iPhone 7 12.3.1
Simulator Tested On: iPhone Xr 12.2
Version of VS: VS Mac 8.1
Version of Xamarin: <IP_ADDRESS>9721
Versions of other things you are using:
Xamarin.Forms.GoogleMaps 3.2.0/Xamarin.Forms.Maps <IP_ADDRESS>5618
Steps to reproduce the Behavior
In iOS, search address Suecia 1200, Providencia, Santiago, Chile.
Expected Behavior
Location result (-33.4312639,-70.6063664) Suecia 1200, Providencia, Santiago, Chile and pin in address given
Actual Behavior
Location result(-33.4314079,-70.606565) Suecia 1223, Providencia, Santiago, Chile.
Code snippet
// ...
var location = (await CrossGeolocator.Current.GetPositionsForAddressAsync(addressToFind)).ToList();
if (location.Any())
{
	Position position = new Position(location.FirstOrDefault().Latitude, location.FirstOrDefault().Longitude);
	var locator = CrossGeolocator.Current;
	var address = (await locator.GetAddressesForPositionAsync(new Plugin.Geolocator.Abstractions.Position(location.FirstOrDefault().Latitude, location.FirstOrDefault().Longitude))).ToList();
//...
}

Screenshotst
Location that I search comparing with result of google maps.

Your step to reproduce "In iOS, search address Suecia 1200, Providencia, Santiago, Chile", is not the same as your example. Your example show that your step is to search for the location of the address only.
The difference in result is because Apple and Google has different address databases, and has nothing to do with implementation of this plugin.
@jamesmontemagno: I think you can close this.


 I deleted FCC!!!!
On Jul 8, 2016 12:15 AM, "SHIVANI CHHABRA"<EMAIL_ADDRESS>wrote:

Challenge Name Issue Description Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code
Screenshot
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9609, or mute the
thread
https://github.com/notifications/unsubscribe/AQFHoBDemHRWeHrlndbZ51kW3NIEsFOIks5qTesRgaJpZM4JHwCl
.

Hello @kado88!
Looks like you may have accidentally subscribed to all notifications for the FreeCodeCamp repository. To stop receiving notifications please visit the subscriptions page or click on the image below and select "Not watching".

We are sorry for your inconvenience!

@shivani2108
Please refer : Help I have found a bug.
Closing.


[Bug] this is a shadow screen on notepads. Session settings and restore are disabled

every time I open notepads I get a notification and I cannot access the notepads settings http://prntscr.com/xhqos6
this is a shadow screen on notepads. Session settings and restore are disabled

Doesn't anyone answer? Well, if this Git has little movement, uninstalling the app is not worth wasting time.
Thanks also.

Doesn't anyone answer? Well, if this Git has little movement, uninstalling the app is not worth wasting time.
Thanks also.

The next update should fix this issue, meanwhile you can try ending all instance of Notepads from task manager(even suspended one) and try launching the app again.

The next update should fix this issue, meanwhile you can try ending all instance of Notepads from task manager(even suspended one) and try launching the app again.

occurs when activating the option (open in new window)

occurs when activating the option (open in new window)

The next update will address this issue.


upload auto-complete: add null/empty check for record list

It looks like the S3 notifications will occasionally send test events in the form of
{
"Service": "Amazon S3",
"Event": "s3:TestEvent",
"Time": "2016-07-19T16:32:36.889Z",
"Bucket": "org-sagebridge-upload-local",
"RequestId": "E7C6D565B7ECEE5D",
"HostId": "F4jlwRZcT6vUxsVyoyPzi5nYzEw2+Jji1NL1UeCJylvmVvGBCP6GPjIIKHk6Bwuz"
}
And this causes a NullPointerException in our code. Which results in infinitely re-cycled requests and error spam. (It's not entirely clear what triggers S3 to send these events.)
This change adds a null check to squelch null and empty record lists.
Testing done:

mvn verify (unit tests, findbugs, jacoco test coverage)
manually send the test event via SQS
manually test upload auto-complete normal case

Looks good, ready for merge


Provide prebuilt binaries

Use pkg to provide binaries that include all deps to run

fixed with v2 release!


Exec tachikoma update<PHONE_NUMBER>5852

:hamster::hamster::hamster:   Strategy david
Powered by David Update as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage decreased (-2.2%) to 75.87% when pulling f11f62d88d5ea55de81b5994318c314ab7479af2 on pazjacket:tachikoma/update-20161009165852 into 561aeec19d8836578f0838fe4cbff883050bb66d on festivals-tech:master.

Coverage decreased (-2.2%) to 75.87% when pulling f11f62d88d5ea55de81b5994318c314ab7479af2 on pazjacket:tachikoma/update-20161009165852 into 561aeec19d8836578f0838fe4cbff883050bb66d on festivals-tech:master.


get_transcripts() doesn't work for me

Hi,
first off: great script! This is exactly what I was looking for!
the get_transcript() command also works wonderfully for me. However, if I try to use a list of ~200 videos, I get errors.
Let's say I try:
YouTubeTranscriptApi.get_transcripts("Video ID1","Video ID2")
I get error messages like this one:

Could not get the transcript for the video https://www.youtube.com/watch?v=K! Most likely subtitles have been disabled by the uploader or the video is no longer available.
It starts with the first letter of the ID and then goes until the first ID is finished.
Am I doing something wrong?

Ah, I should have been more precise. Sorry about that!
Coming from R, I had already created a separate list and then ran the script. And as far as I could tell the script ran successfully, however it didn't give me an output. I thus figured I had done something wrong which prompted above's attempt.
Sorry, I'm really new to Python; should there be an output or would I have to point it towards a file for it to print the output there?

I am not sure if I am understanding you correctly, but if you want to print the results you'll have to do: print(YouTubeTranscriptApi.get_transcripts(["Video ID1","Video ID2"])).
Is this what you were asking for? Otherwise please provide more code.

Hi,
I am trying to get the transcript for a video, but I'm running into the 'Most likely subtitles have been disabled by the uploader or the video is no longer available' error. I'm new to coding in general so I'm not sure if I've gone wrong somewhere? This is what I have:
from youtube_transcript_api import YouTubeTranscriptApi
print(YouTubeTranscriptApi.get_transcript('bqhadjrFOl0'))

Hi @viridianoblivion,
I can not replicate this error.
Do you maybe have network issues, or can't open the video due to restrictions in your country? Are you able to open the video in the browser and open the transcripts? https://www.youtube.com/watch?v=bqhadjrFOl0

Hi, I am experiencing some of the same issues mentioned above. I have a python script that walks thru a list of YouTube videos URLs and attempts to extract the transcripts.
The script calls YouTubeTranscriptApi.get_transcript(video_id_list[index]) in a loop
The same script will work once or twice and then stop working or will run and extract about 160 transcripts and then continue through the list failing to retrieve more.
After the failure has occurred if I try to rerun the same list then If will fail to retrieve ALL transcripts
If I try to run another script trying to retrieve ONE of the videos in my list (even those that succeeded beforeI get the following error message
VideoUnavailable:
Could not retrieve a transcript for the video https://www.youtube.com/watch?..............IAhAC! This is most likely caused by:
The video is no longer available
WHich is not true because I can use a browser to access the video.
If another person runs the same script to access the transcript in their computer/account it works.
Perhaps I am making too many requests to server in short time and being blocked, but I have not seen documentation on how to address the issue.  Is there any way to get pass this problem??

Sorry for missing in above post. I am using youtube_transcript_api  v 0.2.1

Hi @arturogamboaphd,
could you please share the code you are using? Also could you please provide the video IDs of the videos which are failing?
The video URL which is printed in the exception message certainly is not a valid YouTube video URL, but I need to know which video id you were trying to get a video for to be able to replicate it.

Hello,
Thanks for the functions. I'm coming across the following error shortly after getting started:
"TranscriptsDisabled:
Could not retrieve a transcript for the video https://www.youtube.com/watch?v=k! This is most likely caused by:
Subtitles are disabled for this video..."
Which is from using this bit of code:
from youtube_transcript_api import YouTubeTranscriptApi
YouTubeTranscriptApi.get_transcripts('koGtbhwYqgQ')
On a video where CC is enabled by Google's automatic system:
https://www.youtube.com/watch?v=koGtbhwYqgQ&ab_channel=Denver7–TheDenverChannel
I'm using version 0.3.1,
Thank you.

Hello @wsebastiangroves,
if you're using get_transcripts you'll have to put in a list of IDs. If you just want the transcript for one video either put in a list with one ID, or just use get_transcript instead, which only takes one ID.

Hello @wsebastiangroves,
if you're using get_transcripts you'll have to put in a list of IDs. If you just want the transcript for one video either put in a list with one ID, or just use get_transcript instead, which only takes one ID.

This made me have a good laugh at myself. Thank you, I sincerely appreciate these functions.


Can't upload to Arduino Zero on programming USB port

What kind of issue is this?

[ ] Question. This issue tracker is not the place for questions. If you want to ask how to do
something, or to understand why something isn't working the way you expect it to, use
our Community Forums https://community.platformio.org

[ ] PlatformIO IDE. All issues related to PlatformIO IDE should be reported to appropriate repository
https://github.com/platformio/platformio-atom-ide/issues

[ ] Development Platform. All issues related to Development Platform should be reported to appropriate repository. Search it using link below
https://github.com/platformio?query=platform-

[ ] Feature Request. Start by telling us what problem you’re trying to solve. Often a solution
already exists! Don’t send pull requests to implement new features without first getting our
support. Sometimes we leave features out on purpose to keep the project small.

[x] PlatformIO Core. If you’ve found a bug, please provide an information below.

You can erase any parts of this template not applicable to your Issue.

Configuration
Operating system: MacOS Sierra
PlatformIO Version (platformio --version): PlatformIO, version 3.1.0
Description of problem
Can't upload if a configure the board as zero
Steps to Reproduce

Create a project
Configure board as zero
Try to upload

Actual Results
It hangs with a terminal like this:
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'swd'
adapter speed: 500 kHz
adapter_nsrst_delay: 100
cortex_m reset_config sysresetreq
Info : CMSIS-DAP: SWD  Supported
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : CMSIS-DAP: FW Version = 02.01.0157
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 500 kHz
Info : SWD IDCODE 0x0bc11477
Info : at91samd21g18.cpu: hardware has 4 breakpoints, 2 watchpoints

Expected Results
A terminal like this:
Open On-Chip Debugger 0.9.0-gd4b7679 (2015-06-10-19:16)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'swd'
adapter speed: 500 kHz
adapter_nsrst_delay: 100
cortex_m reset_config sysresetreq
Info : CMSIS-DAP: SWD  Supported
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : CMSIS-DAP: FW Version = 02.01.0157
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 500 kHz
Info : SWD IDCODE 0x0bc11477
Info : at91samd21g18.cpu: hardware has 4 breakpoints, 2 watchpoints
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x81000000 pc: 0x00000858 msp: 0x200023a0
** Programming Started **
auto erase enabled
Info : SAMD MCU: SAMD21G18A (256KB Flash, 32KB RAM)
Warn : Adding extra erase range, 00000000 to 0x00001fff
wrote 24576 bytes from file .pioenvs/zero/firmware.bin in 3.507302s (6.843 KiB/s)
** Programming Finished **
** Verify Started **
verified 17508 bytes in 1.445675s (11.827 KiB/s)
** Verified OK **
** Resetting Target **
shutdown command invoked

If problems with PlatformIO Build System:
The content of platformio.ini:
[env:zero]
platform = atmelsam
board = zero
framework = arduino
lib_extra_dirs = ../../../arduino_libs/

Source file to reproduce issue:
Any

Additional info
I managed to find where's the problem.
The command to run openOCD it's as follows:
~/.platformio/packages/tool-openocd/bin/openocd
-f arduino_zero.cfg
-s /Users/fraimondo/.platformio/packages/tool-openocd/share/openocd/scripts
-s /Users/fraimondo/.platformio/packages/tool-openocd/share/openocd/scripts/board
-s /Users/fraimondo/.platformio/packages/framework-arduinosam/variants/arduino_zero/openocd_scripts
-c "telnet_port disabled; program {{.pioenvs/zero/firmware.bin}} verify reset 0x2000; shutdown"

I checked with the official arduino IDE and one of the -s parameters is not there. So I tried running
~/.platformio/packages/tool-openocd/bin/openocd
-f arduino_zero.cfg
-s /Users/fraimondo/.platformio/packages/tool-openocd/share/openocd/scripts
-s /Users/fraimondo/.platformio/packages/framework-arduinosam/variants/arduino_zero/openocd_scripts
-c "telnet_port disabled; program {{.pioenvs/zero/firmware.bin}} verify reset 0x2000; shutdown"

And that works just fine.

Duplicate of https://github.com/platformio/platformio/issues/805


refactor(zip): support N-args with result selector

Description:
Updates the static zip to use ObservableInputTuple, etc.
Related issue (if exists): None

Merging and moving on.

@benlesh

Merging and moving on.

I'll come back to the missing dtslint tests later in the upcoming week. Or I'll add them to the list of things for Jan-Niklas to do whist he's in quarantine. 🙂


Handle guest session promotion in OIDC

This change updates the OIDC logic so that:

Guest session is preserved on first login
Existing session is re-used on follow-up login

@morucci reviewing the implementation, I think it was not correct, the OIDC auth should only create a new session for guest, not when handling the login callback. This change should fix that, please let me know if that works for you.

@morucci could you check this again, I think the new version is much cleaner now.

This version works :+1:

Nice, thanks again for this contribution, it's a nice system where the user can use the system as a guest before linking the session to an external provider.


Add makeStreamClass to generate stream classes for structs and lists

Codecov Report

Merging #61 into master will increase coverage by 0.82%.
The diff coverage is 97.05%.

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
+ Coverage   85.92%   86.75%   +0.82%
==========================================
  Files          29       30       +1
  Lines         874      906      +32
==========================================
+ Hits          751      786      +35
+ Misses        123      120       -3

Impacted Files
Coverage Δ

types/list.js
78.26% <100%> (+8.69%)
:arrow_up:

streams/value.js
96% <100%> (+0.54%)
:arrow_up:

types/stream.js
96.55% <96.55%> (ø)

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 404a6a6...87bc30b. Read the comment docs.


question: channel support multiple parameters

I bet this being asked before but can not find the issue :(
Was there any proposal (dismissed?) to extend channel spec from:
ChannelType = ( "chan" | "chan" "<-" | "<-" "chan" ) ElementType .

to
ChannelType = ( "chan" | "chan" "<-" | "<-" "chan" ) ChanElementType .
ChanElementType = Parameters | Type .

So it would be possible to do
ch := make(chan (net.Conn, error))
...
func server() {
    ...
    for {
        ch <- ln.Accept()
    }
}
...
func accept(net.Conn, error) {
  ....
}

func main() {
    go server()
    for {
        accept(<-ch)
    }
}

If it would works within scope of package only that would be ok.
[Anon] structs are fine but requires manual pack\unpack :(

I don't know if this was ever considered, but I would imagine that its inclusion would make the language inconsistent. Why should chan (T1, T2) work if others like [](T1, T2) and map[string](T1, T2) would not?
After all, like you say, it's only a matter of syntactic sugar. Have you considered simply writing a wrapper type around the channel?

We don't use the issue tracker for questions.  See https://golang.org/wiki/Questions .  Or if you want to make a proposal for a language change, see https://github.com/golang/proposal/blob/master/README.md .
The answer to your question is: yes, it was considered, early in the development of the language.  We decided against it because 1) tuples are not a first class concept in Go; 2) with the current syntax it fails if you want to send two values on the channel and the second value has type bool, because that is ambiguous with the current val, closed = <-c syntax.


App Service Public Certificate - Eventual Consistency Issue

I've been working with Web 2021-03-01 API and am seeing issues where the App Service Public Certificate returns a 404 for a random amount of time. Sometimes it'll return the resource immediately and others it'll take 10+ minutes.
This is the command we're attempting to use.
The certificate also appears in the portal immediately after creation and it seems to be immediately available through the list command
Is there something happening behind the scenes that prevents the Certificate from being returned through the Get call despite it being available through other means?

@mbfrahry Apologies for the late reply. Thanks for reaching out to us and reporting this issue. Since the certificates are loaded fine most of the time and fails intermittently with 404 and takes longer time to load, this would require a closer troubleshooting. Could you please let us know the feasibility of opening a support ticket to look into this further ?

@mbfrahry I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply.

@mbfrahry As mentioned above, Please open a support ticket with Microsoft so that our support professionals can troubleshoot this issue closely and identify the root cause. If you have any concerns or queries, please feel free to reopen this thread and we would be happy to help.


issue with security code

How we can add security code for authentication if instagram account has two factor  authentication enabled

I'll try to fix it only for inline mode (you can make a session and then use this session).

Done in https://github.com/postaddictme/instagram-php-scraper/pull/241

@rusan thank you


TWO_CYCLE parameters pessimize picosoc icestorm timing

Playing with the picosoc example (adding -retime -abc2 to the yosys commandline in the Makefile), I was surprised to see setting these parameters results in worse, not better, timing:

icetime clock estimate
LCs

Default
15.12 MHz
4400

TWO_CYCLE_COMPARE
14.18 MHz
4421

TWO_CYCLE_ALU
13.49 MHz
4436

Both
13.63 MHz
4431

I don't know how to interpret the net names in nextpnr's critical path report to begin trying to optimize things.

You really need to run pnr multiple times with different seed values and then calculate mean and standard deviation of the results, otherwise you don't even know if there is any real difference or if you are just staring at the noise.
Also, you need to analyse the critical path reports. I would assume the critical path in your case is not even in the ALU, so breaking the ALU data path into two stages won't change anything for the critical path.


The ipfsapi library is deprecated

I built robonomics_comm on a fresh Ubuntu 18.04. After launching liability and erc20 nodes I got warnings:
/ws/src/robonomics_comm/ipfs_common/src/ipfs_common/ipfs_channel.py:13: FutureWarning: The `ipfsapi` library is deprecated and will stop receiving updates on the 31.12.2019! If you are on Python 3.5+ please enable
 and fix all Python deprecation warnings (CPython flag `-Wd`) and switch to the new `ipfshttpclient` library name. Python 2.7 and 3.4 will not be supported by the new library, so please upgrade.
  import ipfsapi
/.local/lib/python3.6/site-packages/ipfsapi/client/base.py:29: FutureWarning: IPFS API function “pubsub_subscribe” has been renamed to “pubsub.subscribe”
  warnings.warn(message, FutureWarning)

And from erc20 node:
/.local/lib/python3.6/site-packages/ipfsapi/client/base.py:29: FutureWarning: IPFS API function “pubsub_peers” has been renamed to “pubsub.peers”
  warnings.warn(message, FutureWarning)
pubsub <ipfsapi.client.Client object at 0x7f9e689b8780>
peers <ipfshttpclient.client.pubsub.Section object at 0x7f9e689b8668>
/.local/lib/python3.6/site-packages/ipfsapi/client/base.py:29: FutureWarning: IPFS API function “name_publish” has been renamed to “name.publish”
  warnings.warn(message, FutureWarning)
name <ipfsapi.client.Client object at 0x7f9e689b8780>
publish <ipfshttpclient.client.name.Section object at 0x7f9e6810bf28>

I think it's time to switch to ipfshttpclient library

Merged

https://github.com/ipfs/py-ipfs-http-client/issues/193

https://github.com/airalab/robonomics_comm/issues/130


Feature Request - smoother animations

It would be better if you rewrite the animation to open tab viewer, just to compare with Safari or even Orion Browser and DuckDuckGo Browser animations are not so good. Thanks for you attention.

Can You Assign Me This

I Like To Work On That

How I could assign you? There is no option for me to do it.

Okay


Expose a safe way to efficiently write to an uninitialized, fixed buffer

Currently if I need to write an integer to a fixed size buffer I need to lookup how large of a buffer I need for the integer size and create it manually, either with zero initialization or unsafe. Further this buffer will not be directly written to as the crate creates its own buffer.
If the crate exposed a buffer type like https://docs.rs/ryu/0.2.6/ryu/struct.Buffer.html this could be avoided and hidden behind a safe interface.
pub trait Integer {
    const MAX_SIZE: usize;
}
pub struct Buffer<I> where I: Integer { buf : [u8: I::MAX_SIZE] }

Since associated constants are a relatively new Rust feature this could need some build.rs trickery and/or an extension trait but I'd be willing to submit a PR if this seems reasonable.

I like the API in ryu a lot. I would be on board with picking that up here. Please send a PR!
In your use case is it important to use the smallest possible buffer for each integer type or can we just use [u8; 40] everywhere which fits any primitive integer?

I wouldn't say it is important (bench first and all) but my first thought was just to expose the max size. Other than that it would make it possible to preserve the current internal api which has the explicit per integer sizes so I figured why not do that tiny bit of optimization.

I would go with [u8; 40] for now even if it means some restructuring internally. If you decide to implement both ways and find measurably better performance from using a smaller buffer for smaller types, then we can go with the faster way.


Elaine/repair units

etherUnits is not recognized by the client, so I moved the conversion to server-side

gonna merge so i can deploy


is it possible to move with cursor?

in case i have create one circle, how do i move this circle with cursor?

I @pobian! Simple as that :
let circle = new mojs.Shape({
    left: 0,
    top: 0,
    shape: 'circle',
    fill: 'transparent',
    stroke: '#f6cc00',
    strokeWidth: { 10 : 0 },
    radius: { 0 : 30 },
    duration: 1000,
    delay: 500,
    repeat: 500,
    isForce3d: true
}).play();

document.addEventListener('mousemove', function (e) {
  circle.tune({
    x: e.clientX,
    y: e.clientY,
  })
});

Note that you will need to initialize the x & y properties at startup, otherwise, the circle will stay at the top left of the window until the cursor is moved  :wink:

@xavierfoucrier How about using replay() within the event trigger function instead of using play() right away? I believe this would play the animation only when the mouse is moving.

I @abdullahraid! In fact, no.
The circle animation will be played 500 times, based on the repeat parameter. The event listener just tune the animation at the specified coordinates.
replay() allow you to replay the animation when its done: replaying this example will start the animation at 0 and repeat it 500 times. So, using replay() in the event listener instead of calling play() will replay the animation each time the mouse is moving, but the animation will be freezed when the mouse cursor is not moving: it depends what type of effect you want to do.
Hope that sound's clear to you :wink:

Very true 😄 Thank you for your clarification @xavierfoucrier
What I was trying to do is to play the animation when the mouse is moving only. Something like this would work:
let circle = new mojs.Shape({
    left: 0,
    top: 0,
    shape: 'circle',
    fill: 'transparent',
    stroke: '#f6cc00',
    strokeWidth: { 10: 0 },
    radius: { 0: 30 },
    duration: 1000,
    delay: 500,
    isForce3d: true
});

document.addEventListener('mousemove', function (e) {
    circle.tune({
        x: e.clientX,
        y: e.clientY
    }).play();
});

Have a nice day!

Yep! Don't forget to remove the delay parameter for a better UX reactivity. Have a nice day too!

Hi @abdullahraid!
If my answer seems relevant to you, you can close the issue. Thx! :+1:

Hi @pobian!
If my answer seems relevant to you, you can close the issue. Thx! :+1:


Fixing up nps and implemented prettier

This change is

Coverage remained the same at ?% when pulling 3a066885204e1923f271b20864ed814c7d1e2ef1 on justin808/add-prettier into 1e3ad28d75e01df7f756fe50a7976f0dc76dc340 on master.


Voxel bullet ext

Contains
This branch pulls in the up to date changes from libgdx along with adding voxel extension to bullet.

Closing as replaced by #3 / #4


How to build the documentation and what is the format of it?

Hi,
Thanks for your effort in this lib! I am trying to learn the usage of matio, but failed. I cannot read the documentation given in this repo in a proper format cuz I have no idea about *.3 files. Would you please tell me what it is and how to manipulate it?
Thanks a lot.
Bests,
Xudong

I would answer myself:
the documention format is mdoc, a format working specifically for man pages on UNIX systems. FYI there is an introduction link that introduces this format.

Also, the .3 format does have some meaning, which is depicted in this SO post


Hampton bay light no longer works, shows up as "Unavailable". Wifi strength sensor still works

_dump_hs_devices.json
_dump_hs_raw.json

What version are you running? This issue should be fixed in v304.
On Mon, Aug 5, 2024, 17:36 1333481 @.***> wrote:

_dump_hs_devices.json
https://github.com/user-attachments/files/16502957/_dump_hs_devices.json
_dump_hs_raw.json
https://github.com/user-attachments/files/16502958/_dump_hs_raw.json
—
Reply to this email directly, view it on GitHub
https://github.com/jdeath/Hubspace-Homeassistant/issues/100, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADEM5HYC6T3EEEFTDZXLKTTZP7V5BAVCNFSM6AAAAABMBCFOAOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2DSNJSGIYTENY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

What version are you running? This issue should be fixed in v304.
On Mon, Aug 5, 2024, 17:36 1333481 @.***> wrote:

_dump_hs_devices.json
https://github.com/user-attachments/files/16502957/_dump_hs_devices.json
_dump_hs_raw.json
https://github.com/user-attachments/files/16502958/_dump_hs_raw.json
—
Reply to this email directly, view it on GitHub
https://github.com/jdeath/Hubspace-Homeassistant/issues/100, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADEM5HYC6T3EEEFTDZXLKTTZP7V5BAVCNFSM6AAAAABMBCFOAOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2DSNJSGIYTENY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

It seems the light itself is offline, even in the official app. Sorry, I'm not the main account holder for hubspace so I don't have the app.


Issue with sqlcmd connection

$ sqlcmd -S localhost -U sa
Password:
Sqlcmd: Error: Microsoft ODBC Driver 18 for SQL Server : SSL Provider: [error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:self signed certificate].
Sqlcmd: Error: Microsoft ODBC Driver 18 for SQL Server : Client unable to establish connection. For solutions related to encryption errors, see https://go.microsoft.com/fwlink/?linkid=2226722.
Have tried multiple options setting env variables, disabling encryption changes to MSSQL config file, disabling ODBC driver connection encryption. Nothing works. Some serious documentation issues with the images provided for MSSQL for Linux images listed in Azure portal. Please reach out to<EMAIL_ADDRESS>### Tasks

Finally after uninstalling and reinstalling with SSL disabled by default and multiple restarts was able to login using sqlcmd.
THIS IS NOT RECOMMENDED FOR PROD. Since it is a TEST i was able to disable it.
Removed everyhting and disabled SSL while installing itself.
sudo apt-get remove msodbcsql18
sudo ACCEPT_EULA=Y FORCE_SSL_DISABLED=Y apt-get install msodbcsql18
export PATH="$PATH:/opt/mssql-tools/bin"
then
Password:
1>
2>

There is no issue with sqlcmd. As documented in multiple areas, TDE 8, which is the new version of the protocol underlying connections to SQL Server and Azure SQL Database / SQL Managed Instance, requires a trusted connection.

Newer versions of sqlcmd are secure by default. For more information about connection encryption, see sqlcmd utility for Windows, and Connecting with sqlcmd for Linux and macOS. If the connection doesn't succeed, you can add the -No option to sqlcmd to specify that encryption is optional, not mandatory.

Hi Randolph,
Thank you for reaching out.
I have just replied to the other thread below. ==> I do not think SQLCMD is linked in this doc? https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/linux/sql-vm-create-portal-quickstart?view=azuresql-vm
but it is here  https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-red-hat?view=sql-server-ver16&tabs=rhel8
https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/linux/sql-vm-create-portal-quickstart?view=azuresql-vm is the doc which should be followed in case you are using Azure VM Image of SQL.
============================================== Email to other thread for more clarity =========================
Here are a few things that I as a new bee to SQL on Azure Linux have faced during VM image SQL Server 2022 on RHEL HA-8.6 deployment and then configuring it.
Coming from Oracle and using Linux with Oracle/PostgreSQL and some SQL on Windows experience I feel the following changes could help a customer starting out to explore SQL on Linux Journey.
Looking forward to hear anything I did not do as best practice.

Below command does not work as we can see, probably a typo?
https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-red-hat?view=sql-server-ver16&tabs=rhel8
Install the SQL Server command-line tools
sudo yum install -y mssql-tools18 unixodbc-dev ==> This one needs to be corrected if not you will get the following error.
@.*** ~]$ sudo yum install -y mssql-tools18 unixodbc-dev
Repository packages-microsoft-com-prod is listed more than once in the configuration
Repository packages-microsoft-com-mssql-server-2022 is listed more than once in the configuration
Last metadata expiration check: 0:13:35 ago on Mon 14 Aug 2023 05:45:34 AM UTC.
No match for argument: unixodbc-dev
Error: Unable to find a match: unixodbc-dev
WA: Use below cmmands.
sudo yum install mssql-tools18 unixODBC-devel
or sudo ACCEPT_EULA=Y yum install -y mssql-tools18 unixODBC-devel

Let's say I followed the correct doc https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/linux/sql-vm-create-portal-quickstart?view=azuresql&viewFallbackFrom=sql-server-ver1https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/linux/sql-vm-create-portal-quickstart?view=azuresql&viewFallbackFrom=sql-server-ver16

after deployment of VM. SQLCMD -No option is still an issue, and you need to refer to https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-red-hat?view=sql-server-ver16&tabs=rhel8
again, for references/troubleshooting. Since we do not have enough info on what is installed on the server and the best practices and references based on various versions of SQL and ODBC config.
For example sqlcmd -No -S localhost -U sa does not work if we do not reinstall ODBC with 18 version for SQL Server 2022 on RHEL HA-8.6 image.
@.*** ~]$
@.*** ~]$ sudo systemctl stop mssql-server
@.*** ~]$ sudo /opt/mssql/bin/mssql-conf set-sa-password
Enter the SQL Server system administrator password:
Confirm the SQL Server system administrator password:
Configuring SQL Server...
ForceFlush is enabled for this instance.
ForceFlush feature is enabled for log durability.
The system administrator password has been changed.
Please run 'sudo systemctl start mssql-server' to start SQL Server.
@.*** ~]$
@.*** ~]$
@.*** ~]$
@.*** ~]$ sudo systemctl start mssql-server
@.*** ~]$
@.*** ~]$
@.*** ~]$ echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile
@.*** ~]$ echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
@.*** ~]$ source ~/.bashrc
@.*** ~]$
@.*** ~]$ sudo firewall-cmd --zone=public --add-port=1433/tcp --permanent
success
@.*** ~]$ sudo firewall-cmd --reload
success
@.*** ~]$ sqlcmd -No -S localhost -U sa
Password:
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : SSL Provider: [error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:self signed certificate].
Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Client unable to establish connection.
@.*** ~]$
@.*** ~]$
@.*** ~]$ sqlcmd -C -S localhost -U sa  ==> Again -C options works with this version of ODBC which appears to be 17 which comes default with the image.
Password:
1>
2>
3>
Work Around: for -No part of SQLCMD: Go to doc https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-red-hat?view=sql-server-ver16&tabs=rhel8
and start at ODBC part to remove and readd properly with version 18.
sudo ACCEPT_EULA=Y yum install -y mssql-tools18 unixODBC-devel
sudo yum check-update
sudo yum update mssql-tools18
Now below works:
@.*** ~]$ echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >> ~/.bash_profile
@.*** ~]$
@.*** ~]$ echo 'export PATH="$PATH:/opt/mssql-tools18/bin"' >> ~/.bashrc
@.*** ~]$ source ~/.bashrc
@.*** ~]$
@.*** ~]$ sqlcmd -No -S localhost -U sa
Password:
1>
2>
3>

Highlight that the admin user created during the installation is only limited to Linux OS level super user or can be used as sudo. The need for sa user
right after logging into the new deployment. Any references to details of tools actually installed with the image like the binary's/log directory structures and tools etc.
  Even referencing some links to SQLCMD usage

https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/connecting-with-sqlcmd?view=sql-server-ver16
in all the docs.
    4)  If you do not stumble on  https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/linux/sql-vm-create-portal-quickstart?view=azuresql&viewFallbackFrom=sql-server-ver1<https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/linux/sql-vm-create-portal-quickstart?view=azuresql&viewFallbackFrom=sql-server-ver16>

and configure using
https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-red-hat?view=sql-server-ver16&tabs=rhel8 then you will find many options pretty confusing
and after some extensive time, you would look for other documents like the QuickStart guide.
sudo /opt/mssql/bin/mssql-conf setup ==> especially for this step as it differs a lot in both docs.
   5) We do not have any tutorial links/blogs/videos pointing out which docs to follow for SQL Server Image on Linux post deployment. All the content was generic to VM

troubleshooting and Maintenace etc.
==> It was after I deployed it a few times troubleshooting I saw the plans section under the image creation tabs which had the following. This could be changed to refer to the post

deployment doc for better guidance.

[cid:a6309527-ad97-455e-b2d7-02ea65c71509]
[cid:4c8ce77b-f472-46a7-8987-0ef34143b353]
Thanks,
Nitish

From: Randolph West MSFT @.>
Sent: Monday, August 14, 2023 1:09 PM
To: MicrosoftDocs/sql-docs @.>
Cc: Nitish Reddy Kotha @.>; Author @.>
Subject: Re: [MicrosoftDocs/sql-docs] Issue with sqlcmd connection (Issue #9240)
There is no issue with sqlcmd. As documented in multiple areas, TDE 8, which is the new version of the protocol underlying connections to SQL Server and Azure SQL Database / SQL Managed Instance, requires a trusted connection.
Newer versions of sqlcmd are secure by default. For more information about connection encryption, see sqlcmd utilityhttps://learn.microsoft.com/en-us/sql/tools/sqlcmd/sqlcmd-utility?view=sql-server-ver16 for Windows, and Connecting with sqlcmdhttps://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/connecting-with-sqlcmd?view=sql-server-ver16 for Linux and macOS. If the connection doesn't succeed, you can add the -No option to sqlcmd to specify that encryption is optional, not mandatory.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/9240#issuecomment-1677725204, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TBLUDUQC4Z6X26O6SRV63XVJLUNANCNFSM6AAAAAA3NF5DE4.
You are receiving this because you authored the thread.

Yes, I’m an employee with the DP Ninja SQL engineering group of Microsoft.
I also need a few insights into what I said and how we can execute the procedures for example like sp_helpdb within Linux. Any doc covering this comparison with Windows SQL commands and features.
Regards,
Nitish

From: Randolph West MSFT @.>
Sent: Monday, August 14, 2023 2:00:19 PM
To: MicrosoftDocs/sql-docs @.>
Cc: Nitish Reddy Kotha @.>; Author @.>
Subject: Re: [MicrosoftDocs/sql-docs] Issue with sqlcmd connection (Issue #9240)
If you're a Microsoft employee, can you please take this conversation internally?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/9240#issuecomment-1677822270, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TBLUEGKBM3Q24BQWW2C3DXVJRTHANCNFSM6AAAAAA3NF5DE4.
You are receiving this because you authored the thread.Message ID: @.***>

Got it. Thank you. Will take it internally.
Regards,
Nitish

From: Randolph West MSFT @.>
Sent: Monday, August 14, 2023 2:06 PM
To: MicrosoftDocs/sql-docs @.>
Cc: Nitish Reddy Kotha @.>; Author @.>
Subject: Re: [MicrosoftDocs/sql-docs] Issue with sqlcmd connection (Issue #9240)
Thanks for confirming. This is not the right forum for your questions.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/9240#issuecomment-1677830955, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TBLUA3WDG5DLDXNAELR3DXVJSLBANCNFSM6AAAAAA3NF5DE4.
You are receiving this because you authored the thread.Message ID: @.***>