refactor(transformer/class-properties): rename var

Give var more descriptive name.

#8006  👈 (View in Graphite)
main

How to use the Graphite Merge Queue
Add either label to this PR to merge it via the merge queue:

0-merge - adds this PR to the back of the merge queue
hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Tiny change, so merging without review.

Merge activity

Dec 18, 4:55 PM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


License ?

Hi @0xflux ,
I'm afraid because I made a sort of fork of bloggr for my personal project Gibson.
So thanks for bloggr which permit me to launch my project, I modified many of your code, but I keep some of them...
I know I had should ask before, but I hope it's not to late, So do you plan to use a Free license to Bloggr ?

Hey @fredix - feel free to use the code as you wish, I'll add a licence :)
I'll add the MIT License - you may do as you please with the source code :)

Hey @0xflux ,
many many thanks for your Free license choice :)
and thanks again for your project which helped me a lot to start mine.

Good luck with your project! 🥳


Remove compression from xopen

We implemented support for streaming with 2 requirements:

transparent use for the end user: just needs to pass the parameter streaming=True
no additional work for the contributors: previous loading scripts should also work in streaming mode with no (or minor) changes; and new loading scripts should not involve additional code to support streaming

In order to fulfill these requirements, streaming implementation patched some Python functions:

the open(urlpath) function was patched with fsspec.open(urlpath)
the os.path.join(urlpath, *others) function was patched in order to add to urlpath hops (::) and extractor protocols (zip://), which are required by fsspec.open

Recently, we implemented support for streaming all archive+compression formats: zip, tar, gz, bz2, lz4, xz, zst; tar.gz, tar.bz2,...
Under the hood, the implementation:

passes an additional parameter compression to fsspec.open, so that it performs the decompression on the fly: fsspec.open(urlpath, compression=...)

Some concerns have been raised about passing the parameter compression to fsspec.open:

https://github.com/huggingface/datasets/pull/2786#discussion_r689550254
#2811

The main argument is that if open decompresses the file and afterwards we call gzip.open on it, that will raise an error in oscar dataset:
gzip.open(open(urlpath

While this is true:

it is not natural/usual to call open inside gzip.open (never seen this before)
indeed, this was recently (2 months ago) coded that way in datasets in order to allow streaming support (with previous implementation of streaming)

In this particular case, there is a natural fix solution: #2811:

Revert the open inside the gzip.open (change done 2 months ago): gzip.open(open(urlpath => gzip.open(urlpath
Patch gzip.open(urlpath with fsspec.open(urlpath, compression="gzip"

Are there other issues apart from this?
Note that there is an issue just because the open inside of the gzip.open. There is no issue in the other cases where datasets loading scripts use just

gzip.open
open (after having called dl_manager.download_and_extract)

TODO:

[ ] Is this really an issue? Please enumerate the datasets loading scripts where this is problematic.

For the moment, there are only 3 datasets where we have an open inside a gzip.open:

oscar (since 23 June), mc4 (since 2 July) and c4 (since 2 July)

In the 3 datasets, the only reason to put an open inside a gzip.open was indeed to force supporting streaming

[ ] If this is indeed an issue, which are the possible alternatives? Pros/cons?

After discussing with @lhoestq, a reasonable alternative:

download_manager.extract(urlpath adds prefixes to urlpath in the same way as fsspec does for protocols, but we add all compression formats
xopen parses the urlpath and extracts the compression parameter and passes it to fsspec.open


Update manage-messages.md

Updated incorrect/broken link

@JohanFreelancer9 Please copy review

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3831

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3831

@Kateyanne Please merge this PR. Thanks.

@Kateyanne Please merge this PR. Thanks.


Links before headings not working

This issue was raised on GDS Way but appears to affect all tech docs that have upgraded to 1.7.0.
When you have a link just before a heading, the link either doesn't work or is "misaligned" i.e. the cursor doesnt change to a link cursor on the link text, but instead just above it.

This has now been fixed in https://github.com/alphagov/tech-docs-gem/pull/74


TINKERplate functionality and fixes to python crashing issue

Closes #3

Closes #2

Thanks, for implementing support for the TINKERplate, I was about to write something for it to see it was already in progress.
Is there any additional changes required? If so I can help.

We'll get this published today.  Any TINKERplate features you were looking for in particular?  The API here is incomplete, but many of the functions can be implemented in flows or sub-flows.

Right now just the Digital Outputs and ADC's.

Thanks for merging that in.  Can you also refresh the Node-Red repo so it can be installed per this post

Thanks for the tip and the pointer.  Flows page has now refreshed.

Thanks, everything seems to be working good.


Unable to get http_requests_total metrics from latest version of the images

Proposal
Use case. Why is this important?
Nice to have' is not a good use case :)
Bug Report
What did you do?
I have tried to configure the k8s HPA using Prometheus http_request metrics.
What did you expect to see?
Here the issue is, I can able to get the http_request metrics from Prometheus image v2.1.0. When pulled the latest version. i could not able to get the http_request metrics.
What did you see instead? Under which circumstances?
Environment
PROD

Prometheus version:
Latest Versions: v2.3.1 and v2.3.2 (not getting the http_request metrics)
Old Version: v2.1.0 (getting the http_request metrics)

Please let me know how I can get the http_request metrics exposed from the latest version of Prometheus?

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


Datastore queries examples

@olehborysevych

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Codecov Report

Merging #212 (6c76ede) into master (9352093) will increase coverage by 0.00%.
The diff coverage is 63.63%.

@@           Coverage Diff           @@
##           master     #212   +/-   ##
=======================================
  Coverage   51.49%   51.49%
=======================================
  Files         232      232
  Lines       27255    27252    -3
=======================================
- Hits        14035    14034    -1
+ Misses      11952    11950    -2
  Partials     1268     1268

Flag
Coverage Δ

go
51.49% <63.63%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

sdks/go/pkg/beam/core/runtime/exec/input.go
51.96% <ø> (+0.99%)
:arrow_up:

sdks/go/pkg/beam/io/fhirio/common.go
36.58% <0.00%> (ø)

sdks/go/pkg/beam/core/funcx/sideinput.go
96.34% <100.00%> (-0.05%)
:arrow_down:

sdks/go/pkg/beam/core/runtime/graphx/translate.go
42.45% <100.00%> (ø)

sdks/go/pkg/beam/io/fhirio/execute_bundles.go
51.35% <100.00%> (ø)

sdks/go/pkg/beam/io/fhirio/read.go
82.75% <100.00%> (ø)

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 4821e03...6c76ede. Read the comment docs.


season_packs doesn't reject episodes if in the same feed and with target and timeframe

Expected behaviour:
According to the documentation, season_packs: yes, should accept seasons packs if no other episode is downloaded, and reject episodes if the season pack is downloaded.
Actual behaviour:
This works if the season pack and the episode are not both in the same input feed and not with timeframe and target.
If both appear at the same time, and the series contains timeframe and target, they are both accepted. Flexget should only accept one of them.
Steps to reproduce:

Step 1: Test That Works with normal series configuration
      flexget --debug execute --task "xTV_Test_season_pack_1" --inject "Lost S01 720p hdtv h264" --inject "Lost S01E01 720 hdtv h264"

2021-02-11 16:49:22 DEBUG    series        xTV_Test_season_pack_1 current: <Season(id=54,identifier=S01,season=1,completed=False)>
2021-02-11 16:49:22 VERBOSE  task          xTV_Test_season_pack_1 ACCEPTED: `Lost S01 720p hdtv h264` by series plugin because matches quality
2021-02-11 16:49:22 DEBUG    series        xTV_Test_season_pack_1 adding season number `1` to accepted seasons for this task
2021-02-11 16:49:22 DEBUG    series        xTV_Test_season_pack_1 start with entities: ['Lost S01E01 720 hdtv h264']
2021-02-11 16:49:22 VERBOSE  task          xTV_Test_season_pack_1 REJECTED: `Lost S01E01 720 hdtv h264` by series plugin because already accepted season pack for season `1` in this task

Step 2: Forget the Season
flexget series forget "Lost (2004)"

Step 3: Test with timeframe and target

      flexget --debug execute --task "xTV_Test_season_pack_2" --inject "Lost S01 720p hdtv h264" --inject "Lost S01E01 720 hdtv h264"
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 Accepted by series. `Lost S01 720p hdtv h264` meets quality requirement `720p webrip+ h264+`.
2021-02-11 16:50:50 VERBOSE  task          xTV_Test_season_pack_2 ACCEPTED: `Lost S01 720p hdtv h264` by series plugin because target quality
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 start with entities: ['Lost S01E01 720 hdtv h264']
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 current entities: ['Lost S01E01 720 hdtv h264']
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 quality req: 720p|1080p webrip+
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 -------------------- process_propers -->
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 propers - downloaded qualities: {}
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 continuing w. entities: ['Lost S01E01 720 hdtv h264']
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 best entity is: `Lost S01E01 720 hdtv h264`
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 -------------------- tracking -->
2021-02-11 16:50:50 DEBUG    series.db     xTV_Test_season_pack_2 no episodes found for series `Lost (2004)` with parameters season: None, downloaded: True
2021-02-11 16:50:50 DEBUG    series.db     xTV_Test_season_pack_2 no season packs found for series `Lost (2004)` with parameters season: None, downloaded: True
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 latest download: None
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 current: <Episode(id=6159,identifier=S01E01,season=1,number=1)>
2021-02-11 16:50:50 DEBUG    series        xTV_Test_season_pack_2 Accepted by series. `Lost S01E01 720 hdtv h264` meets quality requirement `720p webrip+ h264+`.
2021-02-11 16:50:50 VERBOSE  task          xTV_Test_season_pack_2 ACCEPTED: `Lost S01E01 720 hdtv h264` by series plugin because target quality

Config:
  xTV_Test_season_pack_1:
    disable:
      - remember_rejected
      - seen
      - retry_failed
      - seen_info_hash
    series:
      - Lost (2004):
          identified_by: ep
          quality: 720p|1080p webrip+
          season_packs: true
    thetvdb_lookup: true
    trakt_lookup: true

  xTV_Test_season_pack_2:
    disable:
      - remember_rejected
      - seen
      - retry_failed
      - seen_info_hash
    series:
      - Lost (2004):
          identified_by: ep
          quality: 720p|1080p webrip+
          timeframe: 4 hours
          target: 720p webrip+ h264+
          season_packs: true
    thetvdb_lookup: true
    trakt_lookup: true

Additional information:

FlexGet version: 3.1.102
Python version: Python 3.7.3
Installation method: VENV
Using daemon (yes/no): yes (but tested also without daemon)
OS and version: Debian 10

Nice catch on this, I see the root cause. Accepting the entity using the timeframe accept the entry at a separate code path, one that doesn't add its season to accepted season list.

Thank You for the PR! When it's merged I'll check it out!

I tried the push request and got an error
2021-02-11 22:54:48 CRITICAL task          xTV_Test_season_pack_2 BUG: Unhandled error in plugin series: _exclude_season_on_accept() got multiple values for argument 'series_entity'
Traceback (most recent call last):

  File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
    self._bootstrap_inner()
    |    -> <function Thread._bootstrap_inner at 0x7fea69b0ce18>
    -> <Thread(task_queue, started daemon<PHONE_NUMBER>14304)>
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
    |    -> <function Thread.run at 0x7fea69b0cbf8>
    -> <Thread(task_queue, started daemon<PHONE_NUMBER>14304)>
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
    |    |        |    |        |    -> {}
    |    |        |    |        -> <Thread(task_queue, started daemon<PHONE_NUMBER>14304)>
    |    |        |    -> ()
    |    |        -> <Thread(task_queue, started daemon<PHONE_NUMBER>14304)>
    |    -> <bound method TaskQueue.run of <flexget.task_queue.TaskQueue object at 0x7fea64965080>>
    -> <Thread(task_queue, started daemon<PHONE_NUMBER>14304)>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task_queue.py", line 46, in run
    self.current_task.execute()
    |    |            -> <function Task.execute at 0x7fea67d610d0>
    |    -> <flexget.task.Task object at 0x7fea64795a20>
    -> <flexget.task_queue.TaskQueue object at 0x7fea64965080>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task.py", line 87, in wrapper
    return func(self, *args, **kw)
           |    |      |       -> {}
           |    |      -> ()
           |    -> <flexget.task.Task object at 0x7fea64795a20>
           -> <function Task.execute at 0x7fea67d61048>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task.py", line 722, in execute
    self._execute()
    |    -> <function Task._execute at 0x7fea67d60f28>
    -> <flexget.task.Task object at 0x7fea64795a20>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task.py", line 688, in _execute
    self.__run_task_phase(phase)
    |                     -> 'filter'
    -> <flexget.task.Task object at 0x7fea64795a20>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task.py", line 514, in __run_task_phase
    response = self.__run_plugin(plugin, phase, args)
               |                 |       |      -> (<flexget.task.Task object at 0x7fea64795a20>, [{'Lost (2004)': {'identified_by': 'ep', 'quality': '720p|1080p webrip+', 'tim...
               |                 |       -> 'filter'
               |                 -> <PluginInfo(name=series)>
               -> <flexget.task.Task object at 0x7fea64795a20>
> File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task.py", line 547, in __run_plugin
    result = method(*args, **kwargs)
             |       |       -> {}
             |       -> (<flexget.task.Task object at 0x7fea64795a20>, [{'Lost (2004)': {'identified_by': 'ep', 'quality': '720p|1080p webrip+', 'tim...
             -> <Event(name=plugin.series.filter,func=on_task_filter,priority=128)>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/event.py", line 20, in __call__
    return self.func(*args, **kwargs)
           |    |     |       -> {}
           |    |     -> (<flexget.task.Task object at 0x7fea64795a20>, [{'Lost (2004)': {'identified_by': 'ep', 'quality': '720p|1080p webrip+', 'tim...
           |    -> <bound method FilterSeries.on_task_filter of <flexget.components.series.series.FilterSeries object at 0x7fea64a541d0>>
           -> <Event(name=plugin.series.filter,func=on_task_filter,priority=128)>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/components/series/series.py", line 562, in on_task_filter
    self.process_series(task, series_entries, series_config)
    |    |              |     |               -> {'identified_by': 'ep', 'quality': '720p|1080p webrip+', 'timeframe': '4 hours', 'target': '720p webrip+ h264+', 'season_pack...
    |    |              |     -> <unprintable dict object>
    |    |              -> <flexget.task.Task object at 0x7fea64795a20>
    |    -> <function FilterSeries.process_series at 0x7fea64cb8a60>
    -> <flexget.components.series.series.FilterSeries object at 0x7fea64a541d0>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/components/series/series.py", line 782, in process_series
    if self.process_timeframe_target(config, entries, downloaded):
       |    |                        |       |        -> []
       |    |                        |       -> [<Entry(title=Lost S01 720p hdtv h264,state=accepted)>]
       |    |                        -> {'identified_by': 'ep', 'quality': '720p|1080p webrip+', 'timeframe': '4 hours', 'target': '720p webrip+ h264+', 'season_pack...
       |    -> <function FilterSeries.process_timeframe_target at 0x7fea64cb8b70>
       -> <flexget.components.series.series.FilterSeries object at 0x7fea64a541d0>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/components/series/series.py", line 876, in process_timeframe_target
    entry.accept('target quality')
    |     -> <function Entry.accept at 0x7fea67f467b8>
    -> <Entry(title=Lost S01 720p hdtv h264,state=accepted)>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/entry.py", line 177, in accept
    self.run_hooks('accept', reason=reason, **kwargs)
    |    |                          |         -> {}
    |    |                          -> 'target quality'
    |    -> <function Entry.run_hooks at 0x7fea67f46488>
    -> <Entry(title=Lost S01 720p hdtv h264,state=accepted)>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/entry.py", line 118, in run_hooks
    func(self, **kwargs)
    |    |       -> {'reason': 'target quality'}
    |    -> <Entry(title=Lost S01 720p hdtv h264,state=accepted)>
    -> <unprintable partial object>

TypeError: _exclude_season_on_accept() got multiple values for argument 'series_entity'
2021-02-11 22:54:48 CRITICAL manager       xTV_Test_season_pack_2 An unexpected crash has occurred. Writing crash report to /home/downloader/.config/flexget/crash_report.2<IP_ADDRESS>448995537.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 3.1.89
2021-02-11 22:54:48 DEBUG    manager       xTV_Test_season_pack_2 Traceback:
Traceback (most recent call last):

  File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
    self._bootstrap_inner()
    |    -> <function Thread._bootstrap_inner at 0x7fea69b0ce18>
    -> <Thread(task_queue, started daemon<PHONE_NUMBER>14304)>
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
    |    -> <function Thread.run at 0x7fea69b0cbf8>
    -> <Thread(task_queue, started daemon<PHONE_NUMBER>14304)>
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
    |    |        |    |        |    -> {}
    |    |        |    |        -> <Thread(task_queue, started daemon<PHONE_NUMBER>14304)>
    |    |        |    -> ()
    |    |        -> <Thread(task_queue, started daemon<PHONE_NUMBER>14304)>
    |    -> <bound method TaskQueue.run of <flexget.task_queue.TaskQueue object at 0x7fea64965080>>
    -> <Thread(task_queue, started daemon<PHONE_NUMBER>14304)>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task_queue.py", line 46, in run
    self.current_task.execute()
    |    |            -> <function Task.execute at 0x7fea67d610d0>
    |    -> <flexget.task.Task object at 0x7fea64795a20>
    -> <flexget.task_queue.TaskQueue object at 0x7fea64965080>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task.py", line 87, in wrapper
    return func(self, *args, **kw)
           |    |      |       -> {}
           |    |      -> ()
           |    -> <flexget.task.Task object at 0x7fea64795a20>
           -> <function Task.execute at 0x7fea67d61048>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task.py", line 722, in execute
    self._execute()
    |    -> <function Task._execute at 0x7fea67d60f28>
    -> <flexget.task.Task object at 0x7fea64795a20>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task.py", line 688, in _execute
    self.__run_task_phase(phase)
    |                     -> 'filter'
    -> <flexget.task.Task object at 0x7fea64795a20>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task.py", line 514, in __run_task_phase
    response = self.__run_plugin(plugin, phase, args)
               |                 |       |      -> (<flexget.task.Task object at 0x7fea64795a20>, [{'Lost (2004)': {'identified_by': 'ep', 'quality': '720p|1080p webrip+', 'tim...
               |                 |       -> 'filter'
               |                 -> <PluginInfo(name=series)>
               -> <flexget.task.Task object at 0x7fea64795a20>
> File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/task.py", line 547, in __run_plugin
    result = method(*args, **kwargs)
             |       |       -> {}
             |       -> (<flexget.task.Task object at 0x7fea64795a20>, [{'Lost (2004)': {'identified_by': 'ep', 'quality': '720p|1080p webrip+', 'tim...
             -> <Event(name=plugin.series.filter,func=on_task_filter,priority=128)>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/event.py", line 20, in __call__
    return self.func(*args, **kwargs)
           |    |     |       -> {}
           |    |     -> (<flexget.task.Task object at 0x7fea64795a20>, [{'Lost (2004)': {'identified_by': 'ep', 'quality': '720p|1080p webrip+', 'tim...
           |    -> <bound method FilterSeries.on_task_filter of <flexget.components.series.series.FilterSeries object at 0x7fea64a541d0>>
           -> <Event(name=plugin.series.filter,func=on_task_filter,priority=128)>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/components/series/series.py", line 562, in on_task_filter
    self.process_series(task, series_entries, series_config)
    |    |              |     |               -> {'identified_by': 'ep', 'quality': '720p|1080p webrip+', 'timeframe': '4 hours', 'target': '720p webrip+ h264+', 'season_pack...
    |    |              |     -> <unprintable dict object>
    |    |              -> <flexget.task.Task object at 0x7fea64795a20>
    |    -> <function FilterSeries.process_series at 0x7fea64cb8a60>
    -> <flexget.components.series.series.FilterSeries object at 0x7fea64a541d0>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/components/series/series.py", line 782, in process_series
    if self.process_timeframe_target(config, entries, downloaded):
       |    |                        |       |        -> []
       |    |                        |       -> [<Entry(title=Lost S01 720p hdtv h264,state=accepted)>]
       |    |                        -> {'identified_by': 'ep', 'quality': '720p|1080p webrip+', 'timeframe': '4 hours', 'target': '720p webrip+ h264+', 'season_pack...
       |    -> <function FilterSeries.process_timeframe_target at 0x7fea64cb8b70>
       -> <flexget.components.series.series.FilterSeries object at 0x7fea64a541d0>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/components/series/series.py", line 876, in process_timeframe_target
    entry.accept('target quality')
    |     -> <function Entry.accept at 0x7fea67f467b8>
    -> <Entry(title=Lost S01 720p hdtv h264,state=accepted)>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/entry.py", line 177, in accept
    self.run_hooks('accept', reason=reason, **kwargs)
    |    |                          |         -> {}
    |    |                          -> 'target quality'
    |    -> <function Entry.run_hooks at 0x7fea67f46488>
    -> <Entry(title=Lost S01 720p hdtv h264,state=accepted)>
  File "/home/downloader/flexget/lib/python3.7/site-packages/flexget/entry.py", line 118, in run_hooks
    func(self, **kwargs)
    |    |       -> {'reason': 'target quality'}
    |    -> <Entry(title=Lost S01 720p hdtv h264,state=accepted)>
    -> <unprintable partial object>

TypeError: _exclude_season_on_accept() got multiple values for argument 'series_entity'

Probably to soon and still not completed :)

Thank you for the time spend on this!


Add / to codeowners file for dev-prod codeowners

According to this example here, that is what we should do to not match build files in samples.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you.


Async Context Example #1203

Not ready for merge.
This example is meant to address #1203 providing clarification of how context is created and passed through macros and the async keyword.
The code in examples folder is currently meant to be temporary (quick compilation of single example), and to be removed when example is finalized.

I’ve added a comment to the linked issue. Documentation covering this area is definitely something we need, but isn’t quite what I was referring to in #1203. I see you do have a comment about it at the end of the example, but I think we can have a much shorter explanation specifically about how the examples are structured (basically all that most users really need to know is that the examples will work when copied into an async fn), and have this more detailed documentation on how the task::Context gets from place to place separate.

I added some comments. I think, however, that a more fitting location for such a guide would be the async programming book. It's the place for high level guidelines, tutorials and explainers like this one.

Thanks for the feedback. One of the minimal things I was trying to address at the lib.rs level is just how to actually use futures/async/await, since you can't just do  let f = async { ... } await!(f)
Was trying to figure out an example that made it more apparent that there is a context available in async, and that is why await! works, but that would be definitely too complex for lib.rs docs, and does belong in the async programming book.
I'll see if I can simplify the example a little more and improve the comments. Maybe non-working code snippets to indicate that context comes from executor or poll?

@dbcfd You can do that. Playground example

I've added two examples which seem a little more concise, a more functional style and a more imperative style example. For now, I've chosen the more functional style to add to lib.rs, and put a note at the end of the docs about the majority of examples and snippets assuming async block.

PR not picking up latest changes by force push. Closing and re-opening against latest.


master branch - npm run angular:dev:start fails with ERROR: Task not found: "'core:build:ts"

Describe the bug
Unable to run dev mode of Clarity after checking out master.
Following error is reported.
λ npm run angular:dev:start

><EMAIL_ADDRESS>angular:dev:start C:\Users\shrees3\Documents\clarity
> npm run core:build:src && ng serve dev

><EMAIL_ADDRESS>core:build:src C:\Users\shrees3\Documents\clarity
> npm-run-all core:build:sass:components 'core:build:ts -- --force'

ERROR: Task not found: "'core:build:ts"
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>core:build:src: `npm-run-all core:build:sass:components 'core:build:ts -- --force'`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>core:build:src script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\shrees3\AppData\Roaming\npm-cache\_logs\2020-02-20T14_17_10_235Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>angular:dev:start: `npm run core:build:src && ng serve dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>angular:dev:start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\shrees3\AppData\Roaming\npm-cache\_logs\2020-02-20T14_17_10_370Z-debug.log

How to reproduce

Clone Clarity and checkout master branch.
Run npm install
Run npm run angular:dev:start

Expected behavior
Clarity Dev application runs and http://localhost:4200 can be viewed in browsers.
Versions
App

Angular: 9.0.2
Node: 10.16.0
Clarity: "3.0.0-next.8",

Device:
Windows Laptop
Additional notes
None

I will raise the question on StackOverflow.  I am not sure its a bug, but certainly it does not work on my PC.  I did not have any issues with "v2" branch.

This is a Windows specific issue with the handling of single quotes '. We don't actively develop on Windows so don't always catch these things. The quotes probably need to be escaped for Windows, unless you opt to use the Ubuntu shell.


Update scala-library to 2.13.8

Updates org.scala-lang:scala-library from 2.13.6 to 2.13.8.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.13.6).
You might want to review and update them manually.
README.md

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Is there a chance to merge this PR?

Does it matter what version the plugin is built with?
We can merge it, just curious.

Sorry I was too rushed. Some time ago I tried to upgrade my app to scala 2.13.8 and I have an issue with the scapegoat. But it was an issue in the scapegoat (1.4.11) not sbt plugin. I didn't check it now, just came and check if the plugin is upgraded. Now it works with 1.4.14. The Scala version in the plugin doesn't matter. Sorry for bothering you.

Superseded by #144.


Aggregate logs for app replicas

If you have a Deployment with many replicas, it can get a bit weird when they're all logging right to the Logs tab. It would be nice to have more fine-grained controls over how these things are aggregated (e.g., "prefix with pod name", "aggregate by pod name into windows of x seconds and report contiguously").

Thanks for the suggestion! Tilt has some rough edges with multiple replicas (e.g., we represent each workload by a single status but don't really do any reasonable aggregation of the multiple pods' statuses).
We haven't had many reports of users actually running into these issues, so we haven't yet prioritized them, but this is pretty clearly a use case we need to support. Which is to say both that you might run into more such rough edges with >1 replicas (sorry!) and that reports of other such issues will be appreciated.

For me this is a bigger deal when I screw up the bot somehow and I'm getting old failing pods interleaving log output with the newer ones. It can be hard to tell whether you made the right change.

Oh, maybe it doesn't interleave the old pod logs with the new ones at all -- in either case I find it slightly opaque.


Added DID Configuration Verification Endpoint

Overview
This PR adds the v1/did-configurations/verification endpoint, with documentation. It follows the spec in https://identity.foundation/.well-known/resources/did-configuration/#did-configuration-resource-verification
Description
Now that we have an endpoint that can create a DIDConfiguration, this PR adds another endpoint so that clients can verify they've done the correct steps when hosting it (or that any other DID Configuration is correct).
How Has This Been Tested?
Unit tests were added. Integration tests were not added, since verifying https://www.tbd.website fails with the following reason : verifying JWT credential: error getting key to verify credential<>: did<did:key:z6Mkh4A6QTNCAFi4NZfnWt8qNSGXDGnNXhxXWewcpBrzS19v> has no verification methods with kid: did:key:z6Mkh4A6QTNCAFi4NZfnWt8qNSGXDGnNXhxXWewcpBrzS19v. I.e. we need to update the JWT to use the verification method ID, instead of the DID. This is tracked in a separate issue.
Checklist
References
https://identity.foundation/.well-known/resources/did-configuration/#did-configuration-resource-verification

Codecov Report

Merging #592 (ac348b0) into main (6e978ce) will decrease coverage by 0.07%.
The diff coverage is 13.04%.

@@            Coverage Diff             @@
##             main     #592      +/-   ##
==========================================
- Coverage   24.05%   23.98%   -0.07%
==========================================
  Files          45       45
  Lines        5330     5349      +19
==========================================
+ Hits         1282     1283       +1
- Misses       3807     3825      +18
  Partials      241      241

Impacted Files
Coverage Δ

pkg/server/router/did_configuration.go
0.00% <0.00%> (ø)

pkg/server/server.go
61.24% <100.00%> (+0.15%)
:arrow_up:


Add Support for Server Name Indication (SNI)

Currently, the only way I've seen to handle a fleet of devices connecting to Mosquito brokers running in OpenShift containers requires support of TLS SNI on the client side. Support for SNI would be a very welcome addition to this library, since this is really the only active mqtt library for ruby, I thought I'd ask here first.

Sorry, I am having laptop troubles at the moment, so can't do any work on this at the moment.
But looking at this Stack Overflow answer:
http://stackoverflow.com/questions/30244745/opensslsslsslcontext-sni-servername-cb-not-working
It looks like it just involves setting @socket.hostname before calling @socket.connect:
https://github.com/njh/ruby-mqtt/blob/master/lib/mqtt/client.rb#L267
Do you want to give it a go and see if it works?

Hi,
Did you get a chance to see if this fixes your problem?
nick.

Hey, I I got this to work. This way user can optionally provide in the @hostname parameter to indicate that server name checking should occur instead of always copying @host -> @hostname by default.
PR
#89

Is there a benefit to being able to specify both a hostname to connect to and a hostname to verify against? Shouldn't they always be both the same?

That was a question I had when adding @hostname.... Certainly for my use case they should be the same, but I wasn't sure if there are use cases where you either wouldn't want to pass @hostname or you might want it to be different from @host.

I have added SNI support in 3173302.
I haven't tested with OpenShift, but I have tested with sniproxy v.0.4.0 using the following configuration:
listener <IP_ADDRESS>:8883 {
    protocol tls
    table TableName
}

error_log {
    filename /dev/stdout
    priority debug
}

table TableName {
    localhost <IP_ADDRESS>:8883
}

Without the fix in 3173302, it was getting SSL errors. With the fix, it was successfully connecting to test.mosquitto.org.

Looks great


Feature Request - Flag to enable this new feature (in-experience controls new look)

Bloxy_News have tweeted the following new in-experience controls look and i was wondering if there's a flag for this and if so, could be added to the next update for Bloxstrap?

FFlagEnableInGameMenuChrome

This is covered in https://github.com/pizzaboxer/bloxstrap/pull/600


Fixed faulty activation of hardening protection

The harden protection was always active and did ignore the configuration by mistake.

:white_check_mark: Build ConfuserEx 862 completed (commit https://github.com/mkaring/ConfuserEx/commit/18a72964a9 by @mkaring)


✨ Expose the Scorecard webapp on external IP

The webapp is now exposed at <IP_ADDRESS>:443. Will ask LF to point https://scorecard.dev to this IP.

we also own scorecards.dev I think. Can point it to the IP as well.


Huggingface BERT prediction issues

def predict(self, val_data=None):
        """
        ```
        Makes predictions on validation set
        ```
        """
        if val_data is not None:
            val = val_data
        else:
            val = self.val_data
        if val is None: raise Exception('val_data must be supplied to get_learner or predict')
        if hasattr(val, 'reset'): val.reset()
        classification, multilabel = U.is_classifier(self.model)
        preds = self.model.predict(self._prepare(val, train=False))
        if hasattr(preds, 'logits'): # dep_fix: breaking change in transformers==4.0.0 - also needed for Longformer
        #if type(preds).__name__ == 'TFSequenceClassifierOutput': # dep_fix: undocumented breaking change in transformers==4.0.0
            # REFERENCE: https://discuss.huggingface.co/t/new-model-output-types/195
            preds = preds.logits

        # dep_fix: transformers in TF 2.2.0 returns a tuple insead of NumPy array for some reason
        if isinstance(preds, tuple) and len(preds) == 1: preds = preds[0]

        if classification:
            if multilabel:
                return activations.sigmoid(tf.convert_to_tensor(preds)).numpy()
            else:
                return activations.softmax(tf.convert_to_tensor(preds)).numpy()
        else:
            return preds

Hi, I trained a multilingual BERT Model from Huggingface via Ktrain for binary classification. When I want to make predictions the following happens:
self._prepare(val, train=False) returns a working tfdataset (contains entries as expected) - but self.model.predict(self._prepare(val, train=False)) then returns TFSequenceClassifierOutput(loss=None, logits=None, hidden_states=None, attentions=None) where the problem occurs with preds = preds.logits. Since preds is now None it throws an exception when trying to convert to a tensor at the end.
I have transformers version 4.3.3 and Ktrain version 0.27.2. Any idea what could be the problem?

Can you please tell me precisely which model you're using, so I can try to reproduce the problem?     I wasn't able to reproduce this problem using a bert-base-multilingual-cased model.
Also, what does your training set look like (i.e., in what format are your labels)?

I seem to have found the problem. I'm not sure why this solved the issue but I accidently still had a multi-gpu flag set in my code while running only on one GPU. Scoping the classifier inside tf.distribute.MirroredStrategy() seems to have caused the issues even though the data looked alright.
For anyone wondering, if prediction was successful the object should look something like this
TFSequenceClassifierOutput(loss=None, logits=array([[-0.08186093, -0.08343899],
       [-0.07120603, -0.12185383],
       [-0.08030262, -0.14472717],
       [-0.08776484, -0.09777661],
       [-0.08230339, -0.12103553],
       [-0.09109291, -0.08862668],
       [-0.09338085, -0.05343446],
       [-0.10880657, -0.07758594],
       [-0.1216483 , -0.10442323],
       [-0.09323623, -0.07971355],
       [-0.08031276, -0.05662249],
       [-0.09421368, -0.08208254],
       [-0.05550822, -0.11889505],
       [-0.08128081, -0.13111375],
       [-0.07634296, -0.12988581],
       [-0.10191501, -0.06580244],
       [-0.06480942, -0.07017672],
       [-0.11083872, -0.060646  ],
       [-0.08702252, -0.10050216],
       [-0.07380851, -0.05861536],
       [-0.11353912, -0.06525099],
       [-0.05151699, -0.09708275],
       [-0.04874814, -0.09655503],
       [-0.06435809, -0.12561524],
       [-0.07859507, -0.05844422],
       [-0.08236887, -0.06153866],
       [-0.07638695, -0.06774613],
       [-0.08463045, -0.07762618],
       [-0.11477844, -0.08476482],
       [-0.05005918, -0.14127994],
       [-0.07722785, -0.11858568],
       [-0.05399485, -0.06812211]], dtype=float32), hidden_states=None, attentions=None)


Plans for akka/pekko

Do you have any plans about moving to pekko or staying on akka?

See the same question (and answers) in Gatling community forum

CVE could be a reason to switch.
IMO, https://akka.io/security/akka-cve-2023-45865.html is very dumb, but might generate noise for us.
If so, we could consider switching.
(see https://github.com/apache/incubator-pekko/pull/771 for the fix on the Pekko side)

Hi @slandelle do you have an update on this? I see above that it was removed from the 3.11.0 milestone, do you have any information on when the move to Pekko might happen?

Hi @mveeprojects
We're still considering several moves regarding Akka.
Please stay tuned.

Hi @slandelle I've spotted the recent work to drop Akka (Actors) as a whole here, shall I close my PR linked above assuming that the current latest version has no Akka/Actor dependencies whatsoever?

Hi @mveeprojects
I was in a rush when I pushed and haven't taken the time to communicate on this.
As you spotted, we're dropping the dependency in next Gatling 3.12. Too heavyweight for our actual needs.
So indeed, you can drop your PR. But thanks anyway.

Hi @mveeprojects I was in a rush when I pushed and haven't taken the time to communicate on this. As you spotted, we're dropping the dependency in next Gatling 3.12. Too heavyweight for our actual needs. So indeed, you can drop your PR. But thanks anyway.

That's great news, thanks for the confirmation, I've closed my PR now as well 👍 . Do you know roughly when 3.12 is likely to be released?

I can't say for now, sorry. When we'll have enough real features to ship.

I can't say for now, sorry. When we'll have enough real features to ship.

Hello again, just checking in on this, is there any update on when 3.12 will be released? The removal of Akka sounds to me like a significant enough change to warrant a new release, it'd be great to move to this version soon if possible.

@mveeprojects I don't understand why this change is such a pressing matter for you. Akka is an internal detail for Gatling.
Anyway, I expect us to release 3.12.0 when the next release of netty will be out.

@slandelle I'm not sure such a blunt response is required, I am only asking for an update.

@mveeprojects Sorry, I don't get what got you offended with my question. Maybe because I'm not an english native speaker, so it's lost to me.
As I said, for regular users, Akka should be only an implementation detail, hence the change should be transparent.
I expect third-party plugins maintainers to be impacted and to be reluctant because of the extra work.
You, on the contrary, are eager to have this change shipped ASAP. Why is that so? Corporate effort to have Akka out?


Leverage the useForm everywhere

This is currently used for the account route. Makes it easier to create error messages based on the input fields.
import { useForm } from '@mantine/form';

https://mantine.dev/form/use-form/

Secret creation
User creation
Sign in

Hi @bjarneo  please assign me this task.

Awesome, thanks @najeebkp


Customizing the invoice PDF

HELP! I'm trying to use a custom invoice template and it's a total nightmare... Everything looks perfectly fine in the browser, but none of my styles get applied when I download it using $billable->downloadInvoice($orderId, $customData, 'my.custom.template').
So far I've tried:

importing my stylesheet and SVG logo using Laravel's asset() helper function,
copying the compiled css directly into a style tag in the template.

Neither ways seem to work.
Is this why you used inline styling on your tags everywhere and defined CSS classes in the head in your template?
Is there something else I'm missing?

Corerction, using an inline style tag DOES make a difference. It applies (at least some of) the styling as opposed to using a link tag with a call to the asset() helper in the href attribute (which does nothing).

Alright, nevermind the panic. Solving my own problem by using an inline style tag with my compiled CSS. Also, after reading the description of Dompdf it's now clear to me that I'm forced to only use old skool CSS:

At its heart, dompdf is (mostly) a CSS 2.1 compliant HTML layout and rendering engine written in PHP

In case anyone is wondering how to load assets (e.g. stylesheets or images) into the template you're planning to use for your PDF: use the public_path() helper function, not asset().


Use document scanner in Fragment.

i am using Document scanner in Fragment but it is not showing result or Image into OnActivityResult().
any solution for this?

See if this can help:
https://github.com/jhansireddy/AndroidScannerDemo/issues/112#issuecomment-626151977


[Question Regarding switcing Sockets]: Brennenstuhl RCS 1000N

Hello Guys,
I want to rework an existing library which switches Brennenstuhl RCS 1000N devices, based on wiringPi to python based code.
Is this library the right side which I can use the send scrift for these sockets?

Hello again,
is there a method available which takes the code as an argument similar like in rcswitch like:
  /* See Example: TypeA_WithDIPSwitches */
  mySwitch.switchOn("01011", "01000");

Hello,
are thee some short example how tho call the send method?

no reply for month


Anybody help me? "MicroWebSrv2 isn't defined" @@

You need to include build micropython with microwebsrv2 as a module, then only it will work


Factor out SubmittedApplicationFilter type to allow more options to be added without updating all callsites

Description
As part of #3269, we'll be adding a new filter option for application status. Presently, we plumb both the search fragment and submit time filter through all code that filters applications. This change allows future changes to be made without plumbing the same values everywhere. Instead the filters are created at the top-level call site and consumed from the relevant ProgramRepository method.
Release notes:
Internal code change to make adding more program admin application filtering options more maintainable.
Checklist

[X] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release >
[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Issue(s)
Fixes #<issue_number>; Fixes #<issue_number>; Fixes #<issue_number>...

Codecov Report

Merging #3308 (3bf4170) into main (4f0821e) will decrease coverage by 0.01%.
The diff coverage is 54.00%.

@@             Coverage Diff              @@
##               main    #3308      +/-   ##
============================================
- Coverage     79.89%   79.87%   -0.02%
- Complexity     2324     2327       +3
============================================
  Files           285      286       +1
  Lines          9151     9169      +18
  Branches        611      609       -2
============================================
+ Hits           7311     7324      +13
- Misses         1605     1610       +5
  Partials        235      235

Impacted Files
Coverage Δ

server/app/services/export/ExporterService.java
70.45% <ø> (ø)

...erver/app/services/program/ProgramServiceImpl.java
88.35% <ø> (ø)

.../controllers/admin/AdminApplicationController.java
40.68% <26.66%> (+0.17%)
:arrow_up:

server/app/repository/ProgramRepository.java
82.48% <83.33%> (ø)

...trollers/api/ProgramApplicationsApiController.java
87.14% <100.00%> (+0.98%)
:arrow_up:

...ver/app/repository/SubmittedApplicationFilter.java
100.00% <100.00%> (ø)

server/app/services/export/JsonExporter.java
95.12% <100.00%> (-0.06%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fault injection: add support for setting gRPC status

Description: Adds an option to specify gRPC status via config and header, to be used in fault injection response. More details #10323
Risk Level: Low (new feature)
Testing: Added unit and integration tests
Docs Changes: Updated
Release Notes: Updated
Fixes #10323

Messed my pull request commit history by doing merge and then followed my rebasing (to fix missing DCO on one of my commit 🤦♂). I'll close this PR and start a new one.


remove -f option from darwin get_link_target

This PR removes -f option from get_link_target on darwin.
Because darwin(OSX)'s readlink differs from GNU readlink, -foption is unavailable.
$ readlink -f wercker.yml
readlink: illegal option -- f
usage: readlink [-n] [file ...]

Thanks.

Released as v2.11.9.


add(): The ability to load item states for bedrock edition

You will probably want to  squash this PR.

Missing:

tests
analog function to write the palette

what is the status here

I’m not sure; PR #26 expanded on this one’s work, they were talking about making a write function

closing in favor of #26


PDF version of doc ?

Hi, the current doc is very good. It would be even better if they can be printed.
I know the API doc is already in one page so it can be printed easily.
But the Guide, Style and Cookbook docs are not.
Is it possible to have the pdf version or one page version of doc ?
Thanks

Thanks for the suggestion! 🙂 Improvements to our print styles are always welcome, but I don't think we'll offer a PDF converter or another way to easily print out the entire website, unless it's very simple and easy to maintain.
The reason is that printing a page of the docs is already relatively rare, so I'm thinking that wanting to print out everything will be even more rare. Plus, we make updates to the docs almost every day, so it wouldn't take long for a printed version to become inferior to the online version.

Got it !
But will you consider provide a one page version, just like the docs of node.js, it has pages for each sections and also a single page version for all sections.
Thank you

I'd be open to a PR that generates a single-page version of the guide. 🙂


GhostActor Test Generalization

We should generalize the concepts of the existing real engine processor harness (processor_harness.rs) for ghost actors. Useful functions would be:

assert_callback: given a GhostCallback and a ghost actor, verify the ghost call back is triggered or fail after an arbitrary number of calls to process
wait_did_work: call process on ghost actor(s) and verify work was actually done
wait_until_no_work: call process on ghost actor(s) until WorkWasDone is false
assert_eq : similar to assert_callback but checks that a context or user data is equal to some expected value.

Related PRs:
https://github.com/holochain/lib3h/pull/382
https://github.com/holochain/lib3h/pull/367
https://github.com/holochain/lib3h/pull/355
https://github.com/holochain/lib3h/pull/314


fix(@angular/cli): properly bootstrap 1.x from global 6.x

Fixes: #11687

@alexeagle Some context; this code is (mostly) still from Ember CLI, and we just been fixing it instead of reworking it.


Convert the generator from Javascript to Typescript

Description
I noticed in the project that it has types and those types are being generated using a script called generate-types.js. It uses Javascript instead of Typescript. The power of the project is that it's written in Typescript.
So, I decided to rewrite the generator in Typescript to make it flexible and more efficient 😁 . The new generator is more clear than the old one. It also fixes some bugs that were being generated by the old one. It's easy to apply changes to the new generator and improve it.
The architecture of the new generator is that everything we generate has its generator. This architecture will provide the flexibility to detect bugs and improve the generator.
The generator has its own compile configuration for more efficiency since it shouldn't be compiled with the library.
The generator allows us to remove the dist folder since it's possible the compile the same from the source code. And to prevent anyone from changing there instead of the changing in the source.
Getting started

Pull from My Fork from branch convert-generator-2-typescript
(Optional) Clear the generated types npm run clear-generated-types
Build the new generator npm run build-generator
Finally! Run the new generator npm run generate-types 😎

Checklist

[x] Setting up the environment
[x] Plan the conversion from the old generator
[x] Write the implementation
[x] Scripts for the generator

[x] (Optional) Clear generated types

[x] Build the generator

[x] Run the generator

[x] Document the implementation
[x] Optimize the implementation
[x] No need to have dist folder included in the repository
[ ] (Optional) Update the generated types (e.g. _functions.ts)
[ ] Remove the old generator

Bug Fixes
Some bugs generated by the old generator. And, the new one fixed them.
Missing Promise<> when there's no scheme in the function return type

Missing setting queries in certain functions that use queries

Optimization
(ecf9043) Use (`) instead of (") to write the path

(8a70845) Instead of creating an array and fill it and then join it to combine string we could just write to the combined string directly
(a1fd803) Separate the imports to be generated from a special generator

Oh wow, this is awesome! You fixed my laziness! :p

No problem! 😇


Want to Add Products from Api For Now

Currently we cant work on more features until we have products so lets add api from where we can dummy products and than later we can build our own admin pannel from where we can add products

which api will you use for the testing purpose?

Hey @codervivek5 there are many but for now any ecommerce API should work for now we can use
Ondc website as well


Fix is_complete to mention Product

As per #132

Coverage remained the same at 48.634% when pulling 7d974441e8fba0434c70aa1b903f589eb8560d09 on hamishwillee-info_iscomplete into e12c969058b2925b13b2bd8da0f96fc5c9ce4892 on develop.

FYI, also updated docs in develop for this: https://github.com/dronecore/docs/pull/52


Correctly filter records that don't match all filters

Fixes https://github.com/kubernetes-incubator/external-dns/issues/530

Shouldn't we have a test for this?

@njuettner I disagree, if we would have had tests the logic problem would have surfaced by test failures.

Agreed. @njuettner discovered that we already have a test but it's limited to the AWS provider. I added it to the Google Provider as well. (by introducing a hosted zone into the tests that should ignored; test fails correctly without the fix.)


fauxreilly:0.1.1

I am submitting

[ ] a new package
[x] an update for a package

Description: Updates the fauxreilly package to fix how images are added, since it was broken before.

I'm not clear on what's causing the issue here, so any help would be appreciated.

Seems like you forgot to commit the main lib.typ file.

That is amazing.  It's been that kind of day/week/month/year....

Thanks!


Suport for Ubuntu Server 24.04 LTS

Fix CLI poetry install warning
Fixing prerequisites for the Matter and TH installation
Improvements on the installation scripts
Adding wifi connection helper script

@hiltonlima Following up on my comment from the previous PR (https://github.com/project-chip/certification-tool/pull/273#issuecomment-2153398633), I tested on a Pi 4 on an earlier version of the test harness and had the same issue, so I think it's unrelated to these changes. Thanks!

@hiltonlima Following up on my comment from the previous PR (#273 (comment)), I tested on a Pi 4 on an earlier version of the test harness and had the same issue, so I think it's unrelated to these changes. Thanks!

Thanks for the feedback. Fill free to file an issue here https://github.com/project-chip/certification-tool/issues


Silence some warnings with the latest Rust

Sorry, I somehow missed this pull request when it was made. Just updated to compile with the latest nightly.


[Question] Embeddings normalization by sqrt(hidden_size)

Hello there 👋
Thanks for the repo.
But I have one question: why do we need to scale up (normalize) token embeddings?
https://github.com/google/gemma_pytorch/blob/01062c9ef4cf89ac0c985b25a734164ede017d0b/gemma/model.py#L431-L432
Unfortunately, I cannot find an answer anywhere.

https://arxiv.org/pdf/1706.03762.pdf
See 3.4

Thanks @crolequi for the response.
In the paper it just stated that they multiplied weights, but didn't explain why exactly.

that's a great question! it's been asked a few times, and there are some possible explanations (but no clear reason): https://datascience.stackexchange.com/questions/87906/transformer-model-why-are-word-embeddings-scaled-before-adding-positional-encod.

Thanks @suryabhupa for the link. It helped a lot.


Add generational pre-process function

This will significantly clean up the evolution() function in the gp/gp.py file.

Going to close this until the we get to adding more evolutionary models. Currently this stage would be empty.


About modifying TRex load profile

Hi,
I think it would be better to change the indentation of register(), regarding Trex load profile explained in load-testing.md
--- gtp_1pkt_simple.py.orig     2023-12-19 14:01:12.688029193 +0900
+++ gtp_1pkt_simple.py  2023-12-19 13:17:31.795909126 +0900
@@ -24,5 +24,5 @@
         # create 1 stream
         return [ self.create_stream() ]

-    def register():
-        return STLS1()
+def register():
+    return STLS1()

Hi @s5uishida
Yes, you absolutely right.
Thanks for pointing it out!


Replace links with networks

Links are limited and becoming deprecated so replace them in the training with networks.

Replace link usages in the code exercises
Replace link usages in the slides

Thanks for the freshening, @DeanSS!
There are probably a few more things we need to fix up.  I'll make comments inline.


The child node "instaphp_params" at path "hautelook_instagram" must be configured.

Hi, sorry for disturbing, but I'm new to Symfony2.
I did as instructions : define app/config/hautelook_instagram.yml ( I make new yml file in Symfony/app/config/ ),
but in app_dev.php, sf2 give me this error :
InvalidConfigurationException: The child node "instaphp_params" at path "hautelook_instagram" must be configured.
Can anyone tell me where is my mistake ? Thanks a lot.

Put the configuration in app/config/config.yml, the doc is incomplete

sr to disturb again, but when i call the controller with path('somAction'), it's just display the internal path of localhost. Can you guide me a bit more how to use the bundle ? Sr for newbie question ... Thanks a lot.
 On Tuesday, January 20, 2015 2:23 PM, Adrien Brault<EMAIL_ADDRESS>wrote:

Put the configuration in app/config/config.yml, the doc is incomplete—
Reply to this email directly or view it on GitHub.

@bornbygoogle I ma getting the same error. Any solution so far?


We can retrieve a sitescript using m365 spo sitescript get --id <some-guid>.

We can retrieve a sitescript using m365 spo sitescript get --id <some-guid>.
The result is a JSON string stringified in a JSON string. There are a few downsides to this:

It's bad for readability.
You need to do more work to get at the real sitescript
(maybe a bug) You'll often get escaped newline characters thrown in.

⚙ The fix
In the new major version we want to fix the json string and just return the entire script as a json object in its parent metadata object:
{
  "Content": {
    "$schema": "https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json",
    "actions": [
      {
        "verb": "activateSPFeature",
        "name": "SiteNotebook feature",
        "title": "SiteNotebook feature",
        "featureId": "f151bb39-7c3b-414f-bb36-6bf18872052f",
        "scope": "web"
      }
    ],
    "bindata": {},
    "version": 1
  },
  "ContentByteArray": null,
  "Description": "Contoso site script",
  "Id": "43d4ffa0-c7ee-4a97-91d7-db27e5b62de5",
  "IsSiteScriptPackage": false,
  "Title": "Contoso",
  "Version": 1
}

Additional Info
Originally posted by @martinlingstuyl in https://github.com/pnp/cli-microsoft365/issues/5549

Since we have v8 branch we may now start working on it!
Let's get this 🚢
and Let's put CLI to the 🚀🌙

Hi @martinlingstuyl
Is the purpose of this issue to remove the --content option and return the json output by default if the command is run with output being json?

No @MathijsVerbeeck, we can just keep the --content option for people who want to get at the good stuff right away.
The issue is about adapting the output when the --content option is not used.
True, the --content option will be less useful afterwards, but still...


Error: UnhandledPromiseRejectionWarning when using template

Hello!
When i'm using template, i have the following error:
(node:10695) UnhandledPromiseRejectionWarning
(node:10695) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id:1)
(node:10695) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

If i remove the template including, everything works ok.
My gulpfile is:
	gulp.task('svgicons', function() {
		return gulp
			.src('svgsprites/*.svg')
			.pipe(svgSprite({
				shape: {
					spacing: {
						padding: 10
					}
				},
				mode: {
					css: {
						dest: '../public/',
						prefix: '.svgicon-',
						sprite: 'images/svgsprite.svg',
						dimensions: true,
						bust: false,
						layout: 'vertical',
						render: {
							scss: {
								dest: '../styles/sprites.scss',
								template: 'templates/_sprite-template.scss'
							}
						}
					}
				}
			}))
			.pipe(gulp.dest('./'))
	});

All paths and filenames seem to be correct. Have no idea why the error happens. Thank you.

@kolnogorov mind to share what the solution was? Have a same issue...

Also running into this UnhandledPromiseRejectionWarning
"gulp-svg-sprite": "^1.4.0",
node -v
v10.10.0
gulp -v
[14:49:00] CLI version 2.0.1
[14:49:00] Local version 3.9.1

I figured out the problem, it has to do with the new release of SVGO on npm which is a dependency of svg-sprite which gulp-svg-sprite is dependant on.
It seems the latest version of svgo causes svg-sprite to throw an exception with any SVG file (I think it's a compatibility issue similar to https://github.com/svg/svgo/issues/1030).
I was able to "fix" this by reverting gulp-svg-sprite to 1.3.7 (and clearing my node_modules folder).


[Question] How to set status code 204?

export default defineEventHandler((event) => {
  event.res.statusCode = 204
  event.res.end()
})

Thanks. Another question: what's the recommend way to write server background task, not triggered by client request kind? Should not be in server or middleware folder, should be plugin folder?

Got it.
Place it in any other folder, and import it in nuxt.config.ts, as nitro -> plugin. Is this right?

@danielroe Would you like to make a PR for null support with 204?
@maicWorkGithub Yes, you can use nitro plugins by creating nitro/server/plugins/task.ts. Only make sure task won't keep an open heandler in development mode.


Return Error object for errors in reply to EXEC

The javascript reply parser does produces strings instead of Error
objects for errors in replies to EXEC. Return Error objects to be
consistent with hiredis.

Needs a rebase.


After sometime of accessing the oldtweetdeck it is redirecting me to this url https://x.com/i/tweetdeck

Include version of extension. Make sure you're using last version before submitting a bug report! Check releases page before reporting anything!

Hello @barmanshantanu
1stly, please read issue template. please include your version and etc. next time.
2ndly, this is intended behavor I think.
Did you read the readme?

Hello @barmanshantanu 1stly, please read issue template. please include your version and etc. next time.
2ndly, this is intended behavor I think. Did you read the readme?

Katabame,
being nasty towards barmanshantanu is not helpful.  I have tried versions 3.6.4 and 3.6.5 according to your instructions in the past hour and neither work.  Instead of just blaming us, some friendly advice would appreciated.

Thanks

Hello @barmanshantanu 1stly, please read issue template. please include your version and etc. next time.
2ndly, this is intended behavor I think. Did you read the readme?

Katabame,
being nasty towards barmanshantanu is not helpful.  I have tried versions 3.6.4 and 3.6.5 according to your instructions in the past hour and neither work.  Instead of just blaming us, some friendly advice would appreciated.

Thanks

then what can I say? not reading readme and issue template, no detailed information, no reproduce steps.
tons of people doesn't read readme or issue template, and similar issue is opened long ago. which means didn't search anything about related topic.
so then I just mentioned about issue template and readme, if isn't solved by that, you can just another comment with more detailed description.
blaming me is also not helpful isn't it? if I'm dimden you didn't say about like that.

Katabame,
The other day I was frustrated and wasn't nice to you.  I am sorry
On Thu, Jul 11, 2024 at 6:36 PM 本田珠彩 @.***> wrote:

Hello @barmanshantanu https://github.com/barmanshantanu 1stly, please
read issue template. please include your version and etc. next time.
2ndly, this is intended behavor I think. Did you read the readme? [image:
image]
https://private-user-images.githubusercontent.com/9818101/346473956-1d702d02-6fb6-4632-8809-ab03d5c754af.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA2MzUxNzYsIm5iZiI6MTcyMDYzNDg3NiwicGF0aCI6Ii85ODE4MTAxLzM0NjQ3Mzk1Ni0xZDcwMmQwMi02ZmI2LTQ2MzItODgwOS1hYjAzZDVjNzU0YWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTBUMTgwNzU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTM2NjdkOWZjNDhjMmViYzI2Zjk2ODA4ZDZhYjMwYjM5ZDg3N2Q3NWM3NzczNzc1NjRjNjJmYmIyZjgxNzBjYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.rgdxa0ldt1WR2XULIk4HJ8V-FmjOFe3XrcsrP5tyCng
Katabame,
being nasty towards barmanshantanu is not helpful.  I have tried versions 3.6.4 and 3.6.5 according to your instructions in the past hour and neither work.  Instead of just blaming us, some friendly advice would appreciated.
Thanks
then what can I say? not reading readme and issue template, no detailed
information, no reproduce steps.
tons of people doesn't read readme or issue template, and similar issue is
opened long ago. which means didn't search anything about related topic.
so then I just mentioned about issue template and readme, if isn't solved
by that, you can just another comment with more detailed description.
blaming me is also not helpful isn't it? if I'm dimden you didn't say
about like that.
—
Reply to this email directly, view it on GitHub
https://github.com/dimdenGD/OldTweetDeck/issues/305#issuecomment-2224068095,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBFBS4PJL47JUBX2M4EWEJLZL4CIJAVCNFSM6AAAAABKQIDJMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRUGA3DQMBZGU
.
You are receiving this because you commented.Message ID:
@.***>


Systemd UpheldBy property not generated in Install section.

I just attempted to start a service generated via compose2nix. I saw the following error message when looking through the journal logs of the unit.

Unknown key name 'UpheldBy' in section 'Unit', ignoring

The generated unit file /etc/systemd/system/podman-immich_server.service had the following contents:
[Unit]
After=network-online.target podman-immich_postgres.service podman-immich_redis.service podman-network-immich_default.service
PartOf=podman-compose-immich-root.target
Requires=podman-immich_postgres.service podman-immich_redis.service podman-network-immich_default.service
RequiresMountsFor=/data/fast_storage/immich/library
RequiresMountsFor=/etc/localtime
UpheldBy=podman-immich_postgres.service
UpheldBy=podman-immich_redis.service
Wants=network-online.target

The relevant section of the nix file responsible for that unit is:
systemd.services."podman-immich_server" = {
  # Other parts of generated config
  unitConfig.UpheldBy = [
    "podman-immich_postgres.service"
    "podman-immich_redis.service"
  ];
  # Other parts of generated config};
};

I believe this should instead look like
systemd.services."podman-immich_server" = {
  # Other parts of generated config
  upheldBy = [
    "podman-immich_postgres.service"
    "podman-immich_redis.service"
  ];
  # Other parts of generated config};
};

That's the option I see documented
Making this change resulted in the error disappearing.

Thanks for reporting - I have seen this before locally as well. This is indeed a bug: UpheldBy cannot be used in the [Unit] section, as noted under the table here: https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Mapping of unit properties to their inverses
However, upheldBy is only available on nixos-unstable (not found on 23.11), so we can't switch over to using it by default. What we can do is control this with a CLI flag (default: no upheldBy support).
NOTE: Under the hood, upheldBy maps into a writing files to .upholds: https://github.com/NixOS/nixpkgs/blob/d5c611fcf504321442bd91b19b3dea7e20f468e7/nixos/lib/systemd-lib.nix#L313-L317. I am not sure why it is done this way, versus just setting the unit option. Perhaps the way NixOS adds units somehow sidesteps the install (i.e., systemctl enable)?

Thanks for the quick fix. I do use unstable, so I hadn't realized it wasn't present in 23.11.
As for why nixos does that translation, I do not know. If I find out and remember this post, I'll put an update here.

My goal is to always support the 1-2 latest stable release. So after 24.05 is out, I may just cleanup the flag. Users on older releases can always pin to an older commit.


Allow closing the app with the red x

In macOS, app are usually allowed to close the windows and stay in background, but in Nimbus the red button is disable. Is there a reason why?

If I remember correctly it was because I couldn't find some easy way to keep the javascript engine running with the window gone


Choosing a subreddit from the nav menu while tabs mode is on and reduced color is off doesn't update header color

Fixed!


[BUG] Address workarounds due to arm64 resps within security plugin

https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/162, was added to work around the difference presented in cypress and the architectures that caused the responses not to be as expected. I think if we upgrade and a bug is fixed on aarch64 we should be able to restore this to the same checks.

This is the related Cypress upgrade PR https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/136


Questions about 6bit SDXL

Hey,
I know that we can use 6 bit quantization with nnc. For SDXL, what is the perfomence improvement?
Are the 6bit quantized models just for reducing the  model space taken on disk? or does it lower the GPU ram used on M1?
Are there any speed improvements if we use 6bit SDXL?
Also, is the Metal FlashAttention merged?

Are the 6bit quantized models just for reducing the model space taken on disk? or does it lower the GPU ram used on M1? Are there any speed improvements if we use 6bit SDXL?

Yeah, it reduces space on the disk and (latest versions) RAM usage (not released, but in s4nnc now). But we were unable to harvest any speed improvements at the moment. User reported speed improvements are very specific for SDXL: because it reduces RAM usage, 8GiB Macbook will not swap, hence significantly reduced the latency. It has no impact on iPad due to better RAM management scheme.
MFA is merged a while ago. The merge happened on ccv / nnc repo.

How to use MFA with Unet? is there an example?


Add the DfE's govuk-components to Rails resources list

The govuk-components gem is a lightweight alternative to the govuk_publishing_components library and provides all of the non-form components from the GOV.UK Design System.
Version 1.0.0 has recently been released and it's now used across several DfE projects.
It uses GitHub's ViewComponent framework.

:heavy_check_mark: You can preview this change here:
Built without sensitive environment variables
:hammer: Explore the source changes: fa94ef3b1795b745ba16aa7fee7d793ef81efd02
:mag: Inspect the deploy logs: https://app.netlify.com/sites/govuk-design-system-preview/deploys/5fdb3d3d92110a00080dc20f
:sunglasses: Browse the preview: https://deploy-preview-1430--govuk-design-system-preview.netlify.app

@calvin-lau-sig7 I had a chat with @peteryates. We're thinking that the description for this resource could be something along the lines of:

GOV.UK components - A set of non-form Rails components using GOV.UK Frontend.

('non-form' to make a clearer distinction from the other DfE Rails resource on that list).

@peteryates Are you happy to update the description text in this PR following @calvin-lau-sig7's suggestion? I think the proposed second sentence sounds like a good idea too (as long as you think that it's an accurate description of how the two resources relate to each other).

I'm afraid I deleted my old fork of this repo so had to create a new PR with the suggested text. Closing this in favour of #1550


docs: adding GMP examples code

Description
In this PR we are adding example code for deploying smart contract evm chain and transfer some aUSDC from evm chain to umee chain using axelar GMP

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] added appropriate labels to the PR
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Summary by CodeRabbit

New Features

Enabled cross-chain transfers between Fantom EVM and Umee chains using Axelar General Message Passing (GMP) for enhanced interoperability.

Please provide the details, with link to the expected proto structure (proto message), what to put in the message. Also explain that GMP messages are handled by ICS-20 memo and link the code (file, without the line number - code lines can change)

We did not tested phase-2 memo handler , once we tested with smart contract  I will update the docs


☁  CI: do not rebuild if we only changed documentation

Same as for pull requests but for pushes to main

No worries!


PowerShell Port

Issue type: feature
Related issues: none - that I could dig up

Description
Been playing around with PowerShell more and more at my job, home -- thought it  would be great if we could work on creating a theme for Windows PowerShell - more specifically powershell.exe.
In addition to PowerShell - we could also aim to provide a theme for the Windows Command Prompt as well as a Windows Subsystem for Linux (WSL). All of these consoles use a similar terminal emulator, which means the method we use to create and set the theme will be similar - however it appears PowerShell defaults to a slightly different theme. In addition the WSL theme would need to be tailored for a Linux environment (possibly a direct copy of colour mapping used in other Linux terminal emulators).
From left to right below: PowerShell, Command Prompt, WSL.

Perhaps we should focus on the theme for PowerShell first - and create separate issues at a later date for both Command Prompt and WSL.
PowerShell
The PowerShell theme can be set using the interface above, or using a tool such as concfg (which allows themes to created using JSON), or by creating a custom PowerShell script which can be executed. We could use a mix of the methods mentioned above - I am more than happy to help with this part of the process.
The PowerShell colours can be seen above (middle window), but in addition I have created a script to display the various colours.
[enum]::GetValues([System.ConsoleColor]) | Foreach-Object {
    Write-Host -NoNewline ("{0,2} : " -f $_.value__)
    Write-Host -NoNewline -ForegroundColor $_ "████████████████████ "
    Write-Host ("{0,-12}" -f $_)
}

The output of this script can be seen below.

I personally believe that we should try to closely mimic the original PowerShell colour mapping - as these colours are used throughout existing PowerShell scripts and applications. Meaning could be lost if the colours were redefined (e.g. red for errors, yellow for warnings, etc).
Possibly the most horrifying part - is that PowerShell itself doesn't appear to adhere to it's own colour key with is provided in the System.ConsoleColor enun - just look at DarkMagenta or DarkYellow... My advice would be to match the colour mapping described in the enum - and then adjust the Screen Text and Screen Background settings to the colours that you would prefer (as seen in the settings dialog above).
For further reference - you can look at other PowerShell themes created for concfg. The JSON used to describe the default PowerShell theme can also be found in the concfg repository.
I am more than happy to create the theme and scripts required - but it would be great if you could define the colour mapping that you believe would suit the Nord theme the best. It may be better to get some screenshots of some applications for real world examples of the colour being used. The theme can always of course be adjusted over time.

Hi @arcticicestudio @scottwillmoore, I've been in this same pickle for some time now, but I've found a great solution I'd like to share here:
There's an official Windows tool to deal with themes in Powershell/Command prompt, and it turns out it uses .itermcolors files!!
Just download the Nord.itermcolors file from the official Arctic Studio repo, then download the ColorTool tool from the official Windows repo, and simply do:
.\path\to\ColorTool.exe -b \path\to\Nord.itermcolors

There you go, a perfect Arctic Studio Nord theme port for Powershell and Command prompt :)

That ColorTool utility doesn't seem to exist any longer @gfiorav, are there any updated solutions that you know of by any chance?

@NerdsvilleCEO while reading a bit more in the repo README I found out that the tool still exists, the reference just changed because of repo structure change: ColorTool. Don't know if it still works as described in this issue.

Hi @arcticicestudio @scottwillmoore, I've been in this same pickle for some time now, but I've found a great solution I'd like to share here:
There's an official Windows tool to deal with themes in Powershell/Command prompt, and it turns out it supports .itermcolors files!!
Just download the Nord.itermcolors file from the official Arctic Studio repo, then download the ColorTool tool from the official Windows repo, and simply do:
.\path\to\ColorTool.exe -b \path\to\Nord.itermcolors

There you go, a perfect Arctic Studio Nord theme port for Powershell and Command prompt :)

This works like a charm.

Glad to see this is still helping peeps! I've since switched to the Windows Terminal, which has modern theming support. You guys should probably check it out https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701


Replace fastsvd keyword argument in svd with alg

This replaces the fastsvd keyword argument in svd with the alg keyword argument. The alg keyword argument has the options "recursive", "divide_and_conquer", and "qr_iteration" (the first is ITensor's custom svd, and the last two use LAPACK's gesdd and gesvd functions respectively).
Additionally, this adds the svd_alg keyword argument to factorize, with the same options.

I also came across a bug in replaceinds which is fixed in this pull request.

@emstoudenmire, let me know if you are good with the interface and names, otherwise this is ready to merge.

Looks good!


Add a dropdown for selecting the page size on the workbench

brainstorming on the label...
I feel like it should be either "Text Units per page" or "Per Page: 100". Leaning toward "Per Page: 100" since it is shorter. It is a little less explicit but given the context it is still understandable. Thoughts?

@aurambaj How about "Page size: 100"?

Rebased, and I switched the english text to "Page size". However, I would like to keep the german translation, because "Seitengröße" sounds weird.

Daniel, Box has all the translations for mojito in (surprise!) an internal instance of mojito. I'll add this translation manually.
@aurambaj What do you think of this idea? We can make a drop from this instance and share it publically on Box and then solicit volunteers to help us translate it?

Since this is a JS only change, I would say that the CI error seems unrelated

Daniel, Box has all the translations for mojito in (surprise!) an internal instance of mojito. I'll add this translation manually.
@aurambaj What do you think of this idea? We can make a drop from this instance and share it publically on Box and then solicit volunteers to help us translate it?

@mensinda did contribute translations manually to the German file.
Typically, we should not edit the properties file by hand but we don't have a public instance of Mojito where people could collaborate / update strings.
We can always re-import the current properties files into a Mojito instance, there is a command for that.
@ehoogerbeets when you say add "this manually" you mean generating a PR from the Box Mojito instance that contains update properties files?
Is Box still translating new incoming strings or are the translation available only for older strings? There used to be a bot pushing new translation but last commit if from 5 years ago.
To have volunteer help translate, we'd need some public instance running. Drop could work or we just re-create the project from the properties files.

The "bot" is still there but hasn't been operating for a number of years as we are not sending the strings to our vendor. It could be resurrected again though, if for nothing else to make sure that the properties files for the other languages have the same entries as the English one does. As you say, we would have to re-import the current properties files into mojito in order to preserve the translations already contributed by the open-source community.


Hello, Could you please tell me how much time you spent training this model

Hello, I am trying your code and I found the training process is very low. I do not change anything of your code, and I used two GTX 1080 TI. The model may take 18 hours to train an epoch. I do not know whether there is anything wrong or it should be slow like this.

Hello, while I am running your code, I found the GPU memory-usage is 100% but the Volatile GPU-Util is 0%. I wish to know whether you have met this problem. The whole training process is really slow

I would suspect you have fairly slow file i/o.  I would say on the Flickr30K Entities dataset it took a few days in the current implementation to train completely.  You could speed this up considerably by changing the batches to group samples by images, which would cut the time for each epoch down considerably, but in our experiments this reduced performance by about 1%.

Hello, I rewrote your data_loader using the pytorch and read data in a multithreading way. It would significantly reduce training time.
Actually, I would like to try other proposals, such as those produced by RPN. I wish to produce visual features by myself. I wish to know the possibility that you could share the VGG16 model pretrained on Flickr30K and ReferIt.
Thank you very much for your time!

We never fine-tuned features for ReferIt in this paper.  Also, if you wish to use an RPN, then I would suggest you also use the feature representation produced by that model and not the features used here.  On a ResNet-101 model you should expect to get 95%+ recall  for 300 proposals for a RPN fine-tuned on the ReferIt and Flickr datasets, and a recall of around 70/51 for Flickr/Referit, respectively, as reported here:
https://arxiv.org/pdf/1811.07212.pdf
The code for the above paper will be released in the future.

Thank you very much for your patient reply. It would be appreciated if you could release the finetune code^-^


property name changed from acceleratedNetworkingEnabled to EnableAcce…

…leratedNetworking

Hi @skomarag, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (skomar). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

fix the test
increase NRP SDK version
once the new a SDK has been published, mail the SDK team to remove the old SDK

Hi @skomarag, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (skomar). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

Leave a comment

Hi @skomarag, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (skomar). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@skomarag I am signed off on the ADLS test skip change.

Looks good.

Even though the property is changed, the Major version was bumped up in the last PR, so this change is inline with the previous change, so no need to bump up the major version again.

Please make sure to remove the old version from nuget


whois client does not have idn support

OSX default whois client does not have IDN support, so i installed homebrew one for it, but found it has the same shortcomming.
On any new linux distro (Debian 7, Manajaro, Arch) making a whois for a domain like 猪肉.com, request gets converted to 猪肉.com, but in OSX and homebrew one, the coding is sent as it is.
The difference it's that the linux distros one, has been compiled with libidn support. Since whois protocol on servers only accepts ascii (As per RFC 3912), this library should be mandatory on its use.

Could you try and open a pull request? This document should be helpful. Thanks!

Would accept a pull request.


UI Issues in small screen

In small screens , in the template selection activity , the template cardview doesn't render text properly on smaller devices (< 5 inches).

I want to fix this behaviour by making the layout parameters  relative instead of fixed , so that it looks good on all screens !
@opticod @croozeus please suggest !

@rishsethia Making layout relative will not solve the problem for all screen sizes. You will also need to define different screen size buckets and change dimensions for each size bucket proportionally.

Okay @codingblazer I'll do that ! Should I go ahead with it then ?

@rishsethia I think you should. But proceed once @opticod approve.

@rishsethia We have some discussions in https://github.com/BuildmLearn/BuildmLearn-Toolkit-Android/issues/247 . But not sure if anyone already had started working, if not, feel free to assign it to you.
@vishwesh3, Are you working on #247?

Closed via #420


Invariant Violation from the depths of transition.

Uncaught Error: Invariant Violation: addComponentAsRefTo(...):
Only a ReactOwner can have refs. This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method).
Try rendering this component inside of a new top-level component which will hold the ref.

Here`s the stack trace:

I have been following the animation example with the difference that I have a single route inside the root route (!) defined as DefaultRoute.
var routes = (
  <Route path="/" handler={App}>
    <DefaultRoute handler={Areas} />
  </Route>
);

Router.run(routes, function (Handler) {
  React.render(<Handler hub={Hub} />, document.getElementById('app'));
});

However, things seem to be working normally. Is this kind of invariant violation to be expected, or can it be rectified somehow?

which version of the router are you on?

It is 0.13.2
As addiional info I can say that transitioning to a new handler also raises this exception.
The page then stays on the currently shown route.

how are you transitioning at all to anywhere? you only have one path to visit. When do you get this error?

Yup, sorry - I expanded the example...
var routes = (
  <Route path="/" handler={App}>
    <DefaultRoute handler={Areas} />
    <Route name="demands" path="demands/:areaId" handler={Demands} />
  </Route>
);

The first time the exception comes it happens with only the default route present. Once I expanded the app and added a transition (done with router.transitionTo("demands", { areaId: item.Id })), the exception also happens in the transitionTo, and the default route stays visible.

I just opened up the animation example and added a default route, works fine:
var Default = React.createClass({
  render: function () {
    return (

Default

Do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

    );
  }
});

var routes = (
  <Route handler={App}>
    {/* added this *}
    <DefaultRoute handler={Default}/>
    <Route name="page1" handler={Page1} />
    <Route name="page2" handler={Page2} />
  </Route>
);

What is Hub?

Also, you'll need a key on <RouteHandler/> for the route <Route name="demands" path="demands/:areaId" handler={Demands} /> or else it won't be able to animate.

Okay, after much trial and error I figured out that the problem is related to bundling.
I bundle big items into a common.js and specific bundled js then reference those things exposed by the common.js.
So react and react-router ended up in common, but not the react/lib/ReactCSSTransitionGroup which seemed to spawn a second react, um, instance. And that wreaked all kinds of havoc.
There is a repro over here : https://github.com/flq/javascript_issues/tree/router_exception
Removing the TransitionGroup fixes the issue.
Sorry for bothering you, but maybe this account will save some other poor soul some time.

Encountered this very same issue using browserify. Explicitly bundling react/lib/ReactCSSTransitionGroup solved it.
+1 for posting your solution, it was very helpful.

Thanks! Same thing here

Not sure how to solve this with jspm

I know how to solve it with JSPM:
jspm remove react-router
jspm install react-router=github:rackt/react-router@master

I had the same error, and pulling in the master branch fixed it.

@lexdon   would you be able to post an example of what you did to solve this?  I'm getting something similar using the Mochify project which wraps all my unit tests in Browserify.  Kind of stuck and not sure how to get around this error

we do transition a lot differently in 1.0, so this doesn't apply anymore, thanks :)

@lexdon @flq  : I am encountering the same issue and don't fully get the solution yet.
Although I have to admin, I have copied the ReactCSSTransitionGroup into my own project and modified it slightly. This is probably the reason why I am facing this issue. But I still don't know how to solve it.


Update changes made before May 6 2020

Docs Build status updates of commit 963956b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/quantum-docs-pr, working directory: W:\qcpc-s, target branch: live, target branch commit: 8512470b7eee4d5c15a02ce0c8aa4251f534b6c5, source commit: 963956b82ebb7f523e5740b161cb9e726c95016c.

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

Apparently there's a conflict with the TOC file

Open a new PR

@cgranade we are observing something strange here. Not sure why the build failed. The TOC file was already merged from master to live but it's showing up again here. The only change after that was #813 we'd like to merge to live.

Docs Build status updates of commit 963956b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/quantum-docs-pr, working directory: W:\xind-s, target branch: live, target branch commit: 8512470b7eee4d5c15a02ce0c8aa4251f534b6c5, source commit: 963956b82ebb7f523e5740b161cb9e726c95016c.

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

Very odd indeed. There should never be conflicts between live and master by construction; I wonder if something went wrong with a previous merge to live, and just didn't happen to affect anything until modifying the same file again? Easy enough to fix, though; I can remove branch protection on master for a moment, merge live into master, push it back, then master will be strictly ahead of live.
(What I wouldn't give to be able to set merge policies per-branch instead of per-repo...)

I'll get on that as soon as I can, apologies for the delay.

Thank you very much @cgranade

It should be fixed, please let me know if anything else happens.

Docs Build status updates of commit f0f32ab:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/TOC.yml
:white_check_mark:Succeeded
View

articles/install-guide/update.md
:white_check_mark:Succeeded
View

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


FontParts Site - Object Tree missing "Groups"

Hey all,
I just realized the "object tree" found here is missing a "Groups" bubble coming off of "Font"... I guess it should go in that empty space next to "Features"?

@arrowtype / @thundernixon I'm not sure how to edit the site to make a PR to fix this... Do I just edit this file?
https://github.com/robotools/fontParts/blob/master/documentation/source/_themes/fontPartsTheme/static/diagrams/fp-object-tree.svg

Well spotted, Colin!
It’s been quite awhile since I touched the docs here, but yes, I think you would probably edit that SVG, and then you would probably also have to copy that updated SVG code into the raw HTML at:
https://github.com/robotools/fontParts/blob/master/documentation/source/objectref/objects/index.rst

this is mentioned in the RoboFont 3.4 release. the map has been updated in the RF docs and in FontParts map.

@gferreira @typemytype Is it ok to use that RF Docs SVG you linked to replace the on the FontParts site?
@arrowtype once I update it, how would you recommend previewing the page to make sure it's correct? Do I need to rebuild the documentation from source locally?

@colinmford yes, feel free to use it. you’ll just need to update the URLs and the font.

FWIW, .groups and similar accessors should also be added to the documentation for the Font object.

@simoncozens I am 100% likely missing it, but isn't it there: https://fontparts.robotools.dev/en/stable/objectref/objects/font.html#fontParts.base.BaseFont.groups ?
Let me know what I got wrong, it's been a day.

I have no idea how I missed that. Sorry, as you were...