Add priority fanout publisher

This PR relates to issue #1138

Added preferred (priority) publisher to fanout publisher. Since we can only return one result from publisher we might want to have higher priority for some publisher over the others (e.g. we might want estuary publisher result over the IPFS publisher)
Result from prioritised fanout publisher is not returned immediately if publisher is not of highest prioritised. Once we get first result from publisher with lower priority timeout is triggered. Once timeout is reached, all results are checked for each publisher in provided order and the one from publisher with highest priority is returned (first result found).

Changes look good!
Would you also be able to update the config to select the new prioritized publisher?
https://github.com/filecoin-project/bacalhau/blob/fad620b9ec7c3cd3bf5e2749efc3207b2c936f2d/pkg/publisher/util/utils.go#L34-L37

Sure thing! :D

I was thinking about splitting up downloading estuary results into new PR. The way I thught to do it is to create a new package named downloader or results_downloader that would hold all downloader implementations similar to how publisher package holds all publishers. If we would do it that we it would cause quite a lot of changes and would result in big PR.
@simonwo  What do your thoughts on that?

I was thinking about splitting up downloading estuary results into new PR.

Yes, I agree! This PR is looking great now; let's get it merged.
Can you target dev branch instead of main? We are taking a feature freeze over Christmas whilst people aren't available to urgently fix any issues with new code, and we'll merge dev early in the new year.


♻ Refactor state management

I refactored the code by removing the form and moving the raw strings into a useState hook. The parsedSchema, parsedValues, and validationResults are now treated as derived states. This approach feels much clearer than before.
Initially, I had concerns about performance, but I haven't experienced any issues during my tests. However, there is still room for performance optimization. We can achieve this by utilizing memoization or by breaking up the values state and moving it inside its validation component.

@giacomocerquone any chance you could take look at this?

@davc0n all concerns related to code formatting could be addressed in a dedicated PR in which we can try to review the prettier rules


treewide: per RFC45, remove more unquoted URLs

Motivation for this change
This PR deals with the rest of the unquoted URLs in the tree.
I also included occurrences in comments and documentation just to be consistent.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@ofborg test nixos-functions.nixos-test
(I wonder if that works)

Thanks for the quick merge. AFAIK there are no unquoted URLs in the whole nixpkgs tree now.

@cdepillabout Thanks!


Pasting elements and pasting text not cross-browser compatible

Bug Description
Paste handler seems to trigger only in Chrome, trying to paste text or elements in other browsers (such as FF and Safari) does not work.
Looks like useClipboardHandlers needs adjustments.
Note that cutting and copying seem to work.

Expected Behaviour
Pasting text and elements should work in all supported browsers.

Steps to Reproduce
Case 1: Text pasting

Copy text from somewhere
Open the editor in FF or Safari
Click on canvas and Paste
See nothing happening

Case 2: Element pasting

Open the editor in FF or Safari
Create an element, select it and copy.
Try pasting.
See nothing happening

Screenshots

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Text pasting should work in all supported browsers
Element pasting should work in all supported browsers.

QA Instructions

I am seeing this console warning in firefox when I paste text.
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
    in SingleSelectionMovable (at selection.js:52) react-dom.development.js:88
    React 5
    SingleSelectionMovable singleSelectionMovable.js:107
    useBatchingCallback useBatchingCallback.js:35
    batchedUpdates$1 React
    useBatchingCallback useBatchingCallback.js:35
    createKeyHandler index.js:222
    _fireCallback mousetrap.js:616
    _handleKey mousetrap.js:677
    handleKey mousetrap.js:1008
    _handleKeyEvent mousetrap.js:737

Pasting text in chrome on windows also does not work :(

I suppose that pasting elements either then? Nor pasting images.

Just confirmed, no pasting is working in Windows Chrome. No pasting elements, no pasting text and no pasting images :(

Started looking into this but looks like this is already working as expected now, possible due to moving the handlers to global level within #1475
Closing as fixed. cc @jauyong


Update tapir-akka-http-server, ... to 1.0.1

Updates

com.softwaremill.sttp.tapir:tapir-akka-http-server
com.softwaremill.sttp.tapir:tapir-asyncapi-docs
com.softwaremill.sttp.tapir:tapir-core
com.softwaremill.sttp.tapir:tapir-json-circe
com.softwaremill.sttp.tapir:tapir-openapi-docs
com.softwaremill.sttp.tapir:tapir-swagger-ui-bundle

from 0.20.2 to 1.0.1.
GitHub Release Notes - Version Diff
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!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.tapir" } ]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #167.


Concurrent async operations randomly take a long time

Package Name:  azure-storage-blob
Package Version:  12.8.0
Operating System: Windows 10
Python Version: 3.7.9

Describe the bug
If more than ~30 async operations are run concurrently, then it will randomly take a very long time (~20s).
ex:
from azure.storage.blob.aio import BlobServiceClient
...
async def repro(blob_client, query_count = 80):
    await asyncio.wait([blob_client.exists() for i in range(0, query_count])

To Reproduce
Steps to reproduce the behavior:

Run attached repro script, passing a connection string as a parameter

Script Details:

Script will create a container named 'repro', and a single empty  blob named repro.txt
Script will exists() 80 times on blob, like above loop.
Each time an exists() returns it prints 'blob exists:  #'
On my machine it almost instantly gets to 78, then final 2 take ~18s.
The likelihood of this reproducing decreases as number of queries is smaller.

Expected behavior
Checking for exists 80 times doesn't randomly take 20 seconds.

Additional note: I was able to workaround this reliably by chunking my requests into 15 requests at a time.  If I use 20 it still happens like ~30% of the time.
It's great to have this aio feature! It's a lot faster even with this chunking workaround than my previous ThreadPoolExecutor logic.

Hi @trebconnell
Thanks for the feedback! I tried to run this on my machine and it works well. I guess for the ~20s problem it was probably caused by retry which means some network problem might happened. To validate this you can do retry_total=0 to the following line like this:
   async with BlobServiceClient.from_connection_string(conn_string, retry_total=0) as client:
Let me know if you see any exception! Thanks!

Sorry got busy for a bit there.  And it no longer reproduces!  Perhaps my network was being funny.  If it does begin to reproduce again I'll try turning off retries and look more into the network traffic.
Closing for now thanks!


Add regression tests for adding several files

Only the tests in are this PR.  Can be used with existing master branch.
Also can be used if changing implementation with another pull request.

Coverage remained the same at 96.322% when pulling 5c39babdac1c9259f00eae5863f1bf2076bc859d on srguiwiz:tests-for-issues-552-and-685 into 52613840cb143a2c9bde978b8fc9b9a2fa4089e7 on paulmillr:master.

Closing because no longer needed, as identical tests since have been merged with PR #723.


On live images, read config.ign from custom initrd

In this PR:

Allow passing an Ignition config by appending a custom cpio.gz archive
Minor fixes

Part of https://github.com/coreos/fedora-coreos-config/pull/171.

Updated.

LGTM


Time-varying inputs

The ability to run with time-varying inputs of T and resource levels and productivities. The tricky point is limiting resource consumption by the resource productivities.

Hi Yixin,
You have done a great job with this update! I can imagine that it has been quite tricky to get it to work, but you have managed to do it.
I have one major comments, though. You have chosen to make a complete new entry (runfeisty_ts) and also a new derivative function (calcderivatives_ts). I find that less than optional. The reason is that you now have a lot of duplicated code in the original functions and in the new "ts" functions. This is problematic, because then we cannot be 100% sure that the codes are identical. Couldn't the two functions be merged? The "ts" derivative function can be used also to calculate the non-ts code, just by keeping dr_fac_theta = 1.d0. An alternative would be for the "ts" derivative function to call subroutines to calculate all the common stuff (everything from the calculation of lvl and on). A similar thing applies to the R interfact (the simulate functions), however, here it is less critical. What do you think of that?
Minor comments:

Of course, more comments will be very welcome! Please explain the parts about the calulation of the adjustment factors.
It would be great with a check in setupTimeseries that all the time series have the same length
Why not make tend default to the length of the time series?

It
Ken


view link in page edit screen does not link to correct url

the view link in the page edit screen does not link to the correct domain (though the view link in the page tree does).

Thanks. I don't see that here, but that's possibly due to me having a newer version.

If you get a chance to update and test to new dev branch https://github.com/somatonic/Multisite/tree/dev thanks!

thank you, looks promising.
But my dev environment setup works another way, seems to complicated to switch for now. i stick with the old version, works great.
For the next pw-multisite project i will have another look..


Add new "WE´RE HIRING" badge to the footer

Resolves #209

New badge on the footer

Let's 🚢 this!


FOLIO Login Task

We need to log into FOLIO Okapi API mod-login endpoint with a valid FOLIO user and password and save the resulting JWT in the header to XCOM for use by downstream tasks.
BLOCKS #93
BLOCKS #94
Another approach would be to use the EBSCO FOLIO client for integrating with Okapi API https://github.com/FOLIO-FSE/FolioClient that could replace or wrap this task.
Assumes we have a user and password already created in FOLIO, the POST call using the requests module would look like:
result = requests.post(
   'https://okapi-folio.stanford.edu/authn/login',
  headers={"X-Okapi-Tenant": "sul"},
  json={ "username": "sinopia-user", "password": "a-secret-password"}
)

# Retrieve the JWT from the result's x-okapi-token header
jwt = result.headers.get("x-okapi-token")

You can use the ones here: https://github.com/sul-dlss/shared_configs/blob/bd56f5822accf2b197d65970ae61dcd634bca9eb/config/settings/dev.yml#L7-L8


Typography noWrap hides high(vertical) characters

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
When I use noWrap on Typography, it should not cut my "g" off, just like without noWrap

Current Behavior

Steps to Reproduce (for bugs)
Use https://material-ui-1dab0.firebaseapp.com/demos/drawers/#responsive-drawer and add a g
in the title
Context
This is happening because adding noWrap adds overflow: hidden, is this needed? Can we switch to  overflow-x: hidden or remove it completely?
Another fix would be to make the component with overflow: hidden fit higher chars.
Thoughts?
Your Environment

Tech
Version

Material-UI
latest

React
16.0.0

browser
chrome canary

Can we switch to overflow-x: hidden or remove it completely?

I can't reproduce the issue, but using overflow-x: hidden sounds like a good idea (we need to keep it)

I can swap this to overflow-x: hidden. 👍

That broke via argos however adding (while keeping overflow: 'hidden':

lineHeight: 'inherit'

Has it showing appropriately.
Before (as mentioned by @albinekb):

After:

However, it does move up the main content a tinch.
I am going to add this to the PR to see how argos handles this (since I cannot duplicate the scrollbars).

The tinch up breaks argos (as it should). I will try a few more combos and see if we can get desired behavior while keeping existing.

When we add overflowX: 'hidden' it looks to set overflowY: 'auto'. So without a hack, that will not work (this looks to be per CSS3 Spec).
When we put lineHeight: 'inherit' on the core Typography noWrap element, this works with keeping overflow: 'hidden' while having no scrollbars, the desired ... effect, and no cut-offs on -g for Title.
<Typography type="title" color="inherit" noWrap>

However, in the examples for:

MiniDrawer
PermanentDrawer
PersistentDrawer
ResponsiveDrawer

In their content, they are also using:
<Typography type="body1" noWrap>

Which is causing the display shift in argos. Since in these examples the height, marginTop is handled in the demos themselves.
Note: AppFrame is using the Typography Component with noWrap with its type of title - this looks to be the only other place.
So we could:

Keep noWrap on content in the demos: Change the classes.content to adjust the height, marginTop in its root and for [theme.breakpoints.up('sm')].

This would keep argos passing without much trouble.

Remove noWrap on content in the examples.

This would bring the text back up to its expected height (via argos) but break its eventual end-state due to the new line (causing a new run of expectations in argos).

Allow for new adjusted behavior in argos in how noWrap works going forward with only a change to Typography.noWrap.

Go back to the drawing board. 🤣

I can make the changes to move forward however you see fit.
Here are some screenshots:
Current:

Result of 1 before margin adjustment:

Result of 1 after margin adjustment:

Result of 2 with noWrap removed:

Went with Option 1 in the above comment to see if we could use argos in its current style regression state.
Bumped up the content container pixels by 2 for the drawers and everything is passing the latest PR.

@JeromeFitz Thanks for pushing it forward!
After looking more into the issue, I confirm it. Maybe we shouldn't be using line-height: 1 in the first place. This StackOverflow answer is interesting. As we can see in the CSS spec:

The font size corresponds to the em square, a concept used in typography. Note that certain glyphs may bleed outside their em squares.

material-components-web is using some different values. Still, their display 4 and 3 are affected by the same issue.
So, I would suggest using line-height: 1.11 instead of line-height: 1 as the minimal line-height value.
But then adding the following style background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAICAYAAADTLS5CAAAAFklEQVQYV2NkgAJG8hjl5eX/Ozs7GQEVHAQJMG4X6QAAAABJRU5ErkJggg==); } show that we have some Vertical Rhythm issue:

It's something we can compare against the spec:

@oliviertassinari Thank you as always for such detail. This is incredibly helpful not just from this issue level, but the entirety of your project scope.
The Vertical Rhythm topic is a great read. I've been making some adjustments to a local branch with the comments you shared (lineHeight, material-web-components, etc.) , however, before making any PR's going forward I will come back here with questions.
Though, as I was writing, I did just see you self-assigned this. I can stand down as well if the extra cook in the kitchen is not needed and would be more work on your end. Thanks again!

@albinekb, a (possible) short-term solution on your end would be to add the lineHeight directly to your element for now. You may need to tweak to fit your application:
<Typography type="title" color="inherit" style={{ lineHeight: 'inherit' }} noWrap>
  Inkommande bokningar
</Typography>

Thanks, that's totally acceptable for me 👍  @JeromeFitz
And just WOW to the amount of effort and knowledge you put into this library, it's just amazing. I love it, it's so easy and straightforward to use. Which makes it a lot of fun 👍

Awesome!
However, all the credit goes to @oliviertassinari ❤ 😀 👍


[Segment] Fix 'padded' when used with 'vertical segment'

Moving .ui.vertical.segment bellow .ui[class*="very padded"].segment would affect also padded and very padded segments, with this we can create nested padded segments creating something like a master header
before

after

            Lorem...

Fixed in 2.2.8


Install basemap in google colab

Hello there, I was used the following script to install Basemap in Google Colab.
!apt-get install libgeos-3.5.0
!apt-get install libgeos-dev
!pip install https://github.com/matplotlib/basemap/archive/master.zip
But this script didn't work anymore because of some update in the github repo. Can anyone help me how to install basemap right now (after the update)? Here is the error messages:
ERROR: HTTP error 404 while getting https://github.com/matplotlib/basemap/archive/basemap-master.zip
ERROR: Could not install requirement https://github.com/matplotlib/basemap/archive/basemap-master.zip because of HTTP error 404 Client Error: Not Found for url: https://codeload.github.com/matplotlib/basemap/zip/basemap-master for URL https://github.com/matplotlib/basemap/archive/basemap-master.zip
Thanks in advance.

@titan-khan Thanks for the feedback and sorry for the inconvenience!
I was doing a big refactoring of the basemap project in order to make the wheel packaging easier. Now basemap is split in three parts (basemap, basemap-data, basemap-data-hires), these three packages are now under the packages folder and there is no setup.py file at the top-level folder anymore. That is probably why it is failing to you.
 We have at the moment the beta release 1.3.0b1 there (with libgeos already bundled so no need of compiling anything by yourself):
!pip install "basemap == 1.3.0b1" "basemap-data == 1.3.0b1"

If you need the high-resolution data files, just add "basemap-data-hires == 1.3.0b1" to the former pip call. At the moment you need to specify both basemap and basemap-data as basemap depends on basemap-data and pip cannot find it because we only have beta releases at the moment. Once we have the final version 1.3.0, you will be able to do:
!pip install basemap

and then basemap-data will get downloaded automatically too.

Hi @molinav, thank you for the response. Your suggested solution have solved my problem. Now, I can install it successfully in my google colab. And I would like to thanks for your hard work to make the installation of Basemap easier.  Looking forward for the final version 1.3.0!

Maybe someone is making changes again?
Yesterday I was working a lot with basemap. Today I got an error 'no module named mpl_toolkits.basemap'
Anyone knows what's going on with this libraries and toolkits?
Thanks!

Hi @FenixDigitalB. How did you try to install basemap in Google Colab? I have just tried it out and it works:
!pip install basemap

Output:
Collecting basemap
  Downloading basemap-1.3.1-cp37-cp37m-manylinux1_x86_64.whl (862 kB)
     |████████████████████████████████| 862 kB 5.0 MB/s
Collecting pyshp<2.2,>=1.2
  Downloading pyshp-2.1.3.tar.gz (219 kB)
     |████████████████████████████████| 219 kB 50.1 MB/s
Requirement already satisfied: six<1.16,>=1.10 in /usr/local/lib/python3.7/dist-packages (from basemap) (1.15.0)
Collecting pyproj<3.4.0,>=1.9.3
  Downloading pyproj-3.2.1-cp37-cp37m-manylinux2010_x86_64.whl (6.3 MB)
     |████████████████████████████████| 6.3 MB 51.6 MB/s
Requirement already satisfied: matplotlib<3.6,>=1.5 in /usr/local/lib/python3.7/dist-packages (from basemap) (3.2.2)
Requirement already satisfied: numpy<1.22,>=1.19 in /usr/local/lib/python3.7/dist-packages (from basemap) (1.19.5)
Collecting basemap-data<1.4,>=1.3
  Downloading basemap_data-1.3.0-py2.py3-none-any.whl (30.5 MB)
     |████████████████████████████████| 30.5 MB 55.8 MB/s
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib<3.6,>=1.5->basemap) (3.0.6)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.7/dist-packages (from matplotlib<3.6,>=1.5->basemap) (0.11.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib<3.6,>=1.5->basemap) (1.3.2)
Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.7/dist-packages (from matplotlib<3.6,>=1.5->basemap) (2.8.2)
Requirement already satisfied: certifi in /usr/local/lib/python3.7/dist-packages (from pyproj<3.4.0,>=1.9.3->basemap) (2021.10.8)
Building wheels for collected packages: pyshp
  Building wheel for pyshp (setup.py) ... done
  Created wheel for pyshp: filename=pyshp-2.1.3-py3-none-any.whl size=37324 sha256=7b9a5e94151002117c08fe6f93fb17c94ca6370c93fc1eaced83dab23011ff2a
  Stored in directory: /root/.cache/pip/wheels/43/f8/87/53c8cd41545ba20e536ea29a8fcb5431b5f477ca50d5dffbbe
Successfully built pyshp
Installing collected packages: pyshp, pyproj, basemap-data, basemap
Successfully installed basemap-1.3.1 basemap-data-1.3.0 pyproj-3.2.1 pyshp-2.1.3

WARNING: The following packages were previously imported in this runtime:
  [mpl_toolkits]
You must restart the runtime in order to use newly installed versions.

Then I restart the colab runtime, and this:
from mpl_toolkits import basemap
print(basemap.__version__)

returns:
1.3.1

as expected.

Yes.
I don't know what happened, but it started working a while after I post my question.
Thanks for checking!


Make changes for testsing /format

Description of proposed changes

Fixes #
Reminders

[ ] Run make format and make check to make sure the code follows the style guide.
[ ] Add tests for new features or tests that would have caught the bug that you're fixing.
[ ] Add new public functions/methods/classes to doc/api/index.rst.
[ ] Write detailed docstrings for all functions/methods.
[ ] If wrapping a new module, open a 'Wrap new GMT module' issue and submit reasonably-sized PRs.
[ ] If adding new functionality, add an example to docstrings or tutorials.

Slash Commands
You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

/format: automatically format and lint the code
/test-gmt-dev: run full tests on the latest GMT development version

/format

/test-gmt-dev


Using Escape Sequences List.

Using the Collected Escape Sequences List in key instead of checking
hard coded "continuation" checks.
As I noticed pressing of eg. F6 resulted in being registered as multiple
keys.
Test passed.

v4.0.0 removes the ESCAPE_SEQUENCES list from the key module. So no longer relevant


ISC license not recognized

It seems that the ISC license is not recognized. I saw comments about upgrading the license dependency, maybe that would fix it.

https://docs.rs/license/0.8.0/license/

#119 will resolve it, hopefully

@pawamoy Can you compile from HEAD and try again ?

Just tried it, it still does not recognize the ISC license. However I'm not using the EXACT text of the license, as I'm adding ISC License then Copyright (c) year1-year2, FirstName Name at the top. GitHub and GitLab successfully recognize it though.

@ebroto Now, when I run onefetch on aria2p, I get:

which is incorrect as the License should be ISC.
However, when I run askalono by itself -->

Any idea why?


Mantis does not handle rotation correctly when starting in Portrait Mode

Video:
https://github.com/guoyingtao/Mantis/assets/5288729/e04888c9-22e8-4a30-9757-7760fa5e41de

Mistake. Please ignore


monitor reply，like tweets or retweet？

Can you add the ability to listen for replies or like tweets or retweets against one of your own tweets?

@tanlentboy
You can use streaming to listen for engagement updates for specific tweets.
# Input the ids of the tweets you want to listen
tweet_ids = ['1792444629666927026', '1792502527164125517']

# Define the list of topics to listen for events.
topics = {
    Topic.tweet_engagement(id) for id in tweet_ids
}

# Initialize the streaming session.
streaming_session = client.get_streaming_session(topics)

# Iterate through the streaming session and detect events.
for topic, payload in streaming_session:
    if payload.tweet_engagement:
        engagement_event = payload.tweet_engagement

        # Extract the tweet id from the topic string.
        tweet_id = topic.split('/')[-1]

        like_count = engagement_event.like_count
        reply_count = engagement_event.reply_count
        view_count = engagement_event.view_count
        quote_count = engagement_event.quote_count
        retweet_count = engagement_event.retweet_count

        print(f'Engagement Updated ({tweet_id})')
        if like_count is not None:
            print(f'Like Count: {like_count}')
        if reply_count is not None:
            print(f'Reply Count: {reply_count}')
        if view_count is not None:
            print(f'View Count: {view_count}')
        if quote_count is not None:
            print(f'Quote Count: {quote_count}')
        if retweet_count:
            print(f'Retweet Count: {retweet_count}')
        print('===================================')

Document : https://twikit.readthedocs.io/en/latest/twikit.html#streaming

Dear Sir, Thank you for your answer, can I also ask you, you are demonstrating to get the number of REPLY or LIKE, can you get the content of the REPLY?

@tanlentboy
retrieve the latest reply using search_tweet when a reply is detected.
reply = client.search_tweet('conversation_id:1792571239103418577', 'Latest')[0]

@tanlentboy
retrieve the latest reply using search_tweet when a reply update event received.
Example:

reply = client.search_tweet('conversation_id:1792571239103418577', 'Latest')[0]

@d60
Wow, that's brilliant, thank you for your reply. Have a great day every day.


Make sure we shorten the cache keys

This will replace #6

Current coverage is 100.00%

Merging #7 into master will not affect coverage as of 44d13c9

@@            master      #7   diff @@
======================================
  Files            1       1
  Stmts           31      31
  Branches         0       0
  Methods          5       5
======================================
  Hit             31      31
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 44d13c9

Powered by Codecov. Updated on successful CI builds.


Error: The following dependencies are imported but could not be resolved

Describe the bug
I tried importing three and some packages, but in vite5 it got an error, but not in vite4
Error: The following dependencies are imported but could not be resolved:

  three (imported by E:/my/three-note/docs/public/three-lc/3.raycaster.html?id=0)
  orbitControls (imported by E:/my/three-note/docs/public/three-lc/3.raycaster.html?id=0)
  gui (imported by E:/my/three-note/docs/public/three-jorney/12.3d-text-optimize.html?id=0)
  cannon-es (imported by E:/my/three-note/docs/public/three-jorney/19.physics-control-optimize.html?id=0)
  GLTFLoader (imported by E:/my/three-note/docs/public/three-jorney/22.environment-map-exr.html?id=0)
  fontLoader (imported by E:/my/three-note/docs/public/three-jorney/12.3d-text-optimize.html?id=0)
  rectAreaLightHelper (imported by E:/my/three-note/docs/public/three-jorney/13.light.html?id=0)
  RGBELoader (imported by E:/my/three-note/docs/public/three-lc/2.import-model.html?id=0)
  textGeometry (imported by E:/my/three-note/docs/public/three-jorney/12.3d-text-optimize.html?id=0)
  EXRLoader (imported by E:/my/three-note/docs/public/three-jorney/22.environment-map-skybox.html?id=0)
  DRACOLoader (imported by E:/my/three-note/docs/public/three-lc/2.import-model.html?id=0)
  GroundProjectedSkybox (imported by E:/my/three-note/docs/public/three-jorney/22.environment-map-skybox.html?id=0)

Are they installed?
    at file:///E:/my/three-note/node_modules/.pnpm/vite@5.2.11_@types+node@20.12.8/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:52538:23
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///E:/my/three-note/node_modules/.pnpm/vite@5.2.11_@types+node@20.12.8/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:52004:38

Reproduction

Steps to reproduce
<!DOCTYPE html>

Error: The following dependencies are imported but could not be resolved:

  three (imported by E:/my/three-note/docs/public/three-lc/3.raycaster.html?id=0)
  orbitControls (imported by E:/my/three-note/docs/public/three-lc/3.raycaster.html?id=0)
  gui (imported by E:/my/three-note/docs/public/three-jorney/12.3d-text-optimize.html?id=0)
  cannon-es (imported by E:/my/three-note/docs/public/three-jorney/19.physics-control-optimize.html?id=0)
  GLTFLoader (imported by E:/my/three-note/docs/public/three-jorney/22.environment-map-exr.html?id=0)
  fontLoader (imported by E:/my/three-note/docs/public/three-jorney/12.3d-text-optimize.html?id=0)
  rectAreaLightHelper (imported by E:/my/three-note/docs/public/three-jorney/13.light.html?id=0)
  RGBELoader (imported by E:/my/three-note/docs/public/three-lc/2.import-model.html?id=0)
  textGeometry (imported by E:/my/three-note/docs/public/three-jorney/12.3d-text-optimize.html?id=0)
  EXRLoader (imported by E:/my/three-note/docs/public/three-jorney/22.environment-map-skybox.html?id=0)
  DRACOLoader (imported by E:/my/three-note/docs/public/three-lc/2.import-model.html?id=0)
  GroundProjectedSkybox (imported by E:/my/three-note/docs/public/three-jorney/22.environment-map-skybox.html?id=0)

Are they installed?
    at file:///E:/my/three-note/node_modules/.pnpm/vite@5.2.11_@types+node@20.12.8/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:52538:23
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///E:/my/three-note/node_modules/.pnpm/vite@5.2.11_@types+node@20.12.8/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:52004:38

System Info
windows

Used Package Manager
npm
Logs
Error: The following dependencies are imported but could not be resolved:

  three (imported by E:/my/three-note/docs/public/three-lc/3.raycaster.html?id=0)
  orbitControls (imported by E:/my/three-note/docs/public/three-lc/3.raycaster.html?id=0)
  gui (imported by E:/my/three-note/docs/public/three-jorney/12.3d-text-optimize.html?id=0)
  cannon-es (imported by E:/my/three-note/docs/public/three-jorney/19.physics-control-optimize.html?id=0)
  GLTFLoader (imported by E:/my/three-note/docs/public/three-jorney/22.environment-map-exr.html?id=0)
  fontLoader (imported by E:/my/three-note/docs/public/three-jorney/12.3d-text-optimize.html?id=0)
  rectAreaLightHelper (imported by E:/my/three-note/docs/public/three-jorney/13.light.html?id=0)
  RGBELoader (imported by E:/my/three-note/docs/public/three-lc/2.import-model.html?id=0)
  textGeometry (imported by E:/my/three-note/docs/public/three-jorney/12.3d-text-optimize.html?id=0)
  EXRLoader (imported by E:/my/three-note/docs/public/three-jorney/22.environment-map-skybox.html?id=0)
  DRACOLoader (imported by E:/my/three-note/docs/public/three-lc/2.import-model.html?id=0)
  GroundProjectedSkybox (imported by E:/my/three-note/docs/public/three-jorney/22.environment-map-skybox.html?id=0)

Are they installed?
    at file:///E:/my/three-note/node_modules/.pnpm/vite@5.2.11_@types+node@20.12.8/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:52538:23
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///E:/my/three-note/node_modules/.pnpm/vite@5.2.11_@types+node@20.12.8/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:52004:38

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Vite doesn't support external in dev (#6582) yet, so even if you're using import maps, you need to install the dependencies by package managers (e.g. npm).


Changing Position of the Binary Search

I have changed the position as you requested, sir. Hope its ok now.!!

@NishantWankhade thnx.


Investigate bug in assign_from_cols that appear randomly during tests

The bug, we believed to only appear in grouped_conv2d and grouped_conv3d actually appears in all the convolution functions.
After tinkering with the code, I found out that it only originates in the asserts regarding the input map gradients, also, those asserts fail when parallelism is used in the input map gradient's conversion from columns to signals.
pub(super) fn assign_from_cols<D: Dimension, S: DataMut<Elem = f32>, T: Data<Elem = f32>>(
    dest: &mut ArrayBase<S, D>,
    columns: ArrayBase<T, Ix2>,
    kernel_shape: &[usize],
    stride: &[usize],
    dilation: &[usize],
) {
    let mut dest_windows_mut = as_windows_mut(dest, kernel_shape, stride, dilation);
    let from_cols = columns.into_shape(dest_windows_mut.raw_dim()).unwrap();

    Zip::from(&mut dest_windows_mut)
        .and(&from_cols)
        .par_for_each(|dest_el, src_el| *dest_el += *src_el);
}

If we were to replace the par_for_each with a sequential for_each no error raise whatsoever.
Nevertheless, I can't seem to be able to reproduce the bug when using parallelism, the only way I found, and also the one I'm using, is to run the tests several times.

The answer has been provided here.


Custom header forwarding

Hi!
I was just wondering if it is somehow possible to forward custom headers that come with the original request to the final microservice?
Best,
Philipp

Forwarding all headers by default could be a bit unsafe, but maybe there should be a config setting - a white list of headers that should be forwarded?

A whitelist would be great since we only need certain headers to be forwarded.

How would that work? A JSON environment variable?

Is there any news on merging the PR?


settings needs to be object to use extend()

If settings was not an object there was an error on save and the content of CKEditor was not saved.

Thank you!

That was fast, thanks!


Search for folder

From: How To: Use Code Search
There are options to search :
file:  Filename
path:  Under path
How to perform a search for a given folder/directory by name, not restricted by path, repo, etc. ?
Niether path:folderName nor file:folderName produce the expected results.

#7860

Thanks for your question. It looks like you're working through an issue with your scenario or implementation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow


ngDoCheck gets stripped out when using minified bundles

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Mac OSX El Capitan
Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.15
node: 6.6.0
os: darwin x64
Upgrading to 1.0.0-beta.17 didn't help either.
Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

Using ng build --prod results in ngDoCheck is not a function. This is similar to the closed issue https://github.com/angular/angular/issues/6380
The log given by the failure.

Normally this include a stack trace and some more information.

    at t._View_t0.detectChangesInternal (t.ngfactory.js:83:43)
    at t.detectChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5055)
    at t.detectViewChildrenChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5613)
    at t._View_t3.detectChangesInternal (t.ngfactory.js:1244:8)
    at t.detectChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5055)
    at t.detectContentChildrenChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5446)
    at t._View_t0.detectChangesInternal (t.ngfactory.js:316:8)
    at t.detectChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5055)
    at t.detectViewChildrenChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5613)
    at t._View_t0.detectChangesInternal (t.ngfactory.js:482:8)
    at t.detectChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5055)
    at t.detectViewChildrenChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5613)
    at t.detectChangesInternal (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5259)
    at t.detectChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5055)
    at t.detectContentChildrenChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5446)
    at t.detectChangesInternal (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5222)
    at t.detectChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5055)
    at t.detectViewChildrenChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5613)
    at t._View_t_Host0.detectChangesInternal (t_Host.ngfactory.js:30:8)
    at t.detectChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1780:5055)
    at t.detectChanges (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1226:1409)
    at http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:666:5293
    at Array.forEach (native)
    at e.tick (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:666:5264)
    at http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:666:3759
    at t.invoke (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1993:13741)
    at Object.onInvoke (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1822:739)
    at t.invoke (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1993:13692)
    at n.run (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1993:11128)
    at t.runInner (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1822:1144)
    at t.run (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:764:2230)
    at Object.next (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:666:3742)
    at e.object.i [as _next] (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:715:557)
    at e.__tryOrUnsub (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:92:6236)
    at e.next (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:92:5582)
    at e._next (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:92:4901)
    at e.next (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:92:4572)
    at e.next (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:197:8901)
    at e.emit (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:715:331)
    at t._checkStable (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:764:1131)
    at t.setMicrotask (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:764:532)
    at Object.onHasTask (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1822:854)
    at t.hasTask (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1993:14867)
    at t._updateTaskCount (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1993:15175)
    at t.invokeTask (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1993:14456)
    at n.runTask (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1993:11730)
    at o (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1993:8347)
    at XMLHttpRequest.invoke (http://localhost:4200/main.2bc6b93b0a81ee32eab8.bundle.js:1993:15523)```

### Mention any other details that might be useful.
* The project was created with an older version of the CLI and is built using the above mentioned version of the CLI
* The project uses Web components
* The development build works. The production build fails
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Using beta.17 and the following class I was able to get ngDoCheck working in both ng build and ng build --prod:
import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = 'app works!';
  ngDoCheck() {
    console.log('hello')
  }
}

angular/angular#6380 seems to have been fixed in beta.16 of angular, what version are you using? And are you sure you're using both local AND global updated versions of the CLI?

@filipesilva: Thank you for your reply.
I have tried the following
Phase 1:

Cloned the master branch of angular-cli and linked it to both the global and local(as mentioned in the docs).
Removed nods_modules folder completely and ran npm i again. Since I am using bower for Polymer components, did the same with bower as well.

I did a test with the example that you provided in a separate app and it seemed to work.
Phase 2:

Re-installed angular-cli to the beta.17 version and tried running the same project with no effect.
Added the ngDoCheck method to the app component. The ngDoCheck method gets triggered but the app still fails. Attaching the screenshot for reference.

If it helps I could grant you access to the github repo.

What version of @angular/core are you using?

{
  "name": "goalie",
  "version": "0.1.4",
  "angular-cli": {},
  "scripts": {
    "start": "ng serve",
    "lint": "tslint \"src/**/*.ts\"",
    "test": "ng test",
    "pree2e": "webdriver-manager update",
    "e2e": "protractor"
  },
  "private": true,
  "dependencies": {
    "@angular/common": "~2.0.0",
    "@angular/compiler": "~2.0.0",
    "@angular/core": "~2.0.0",
    "@angular/forms": "~2.0.0",
    "@angular/http": "~2.0.0",
    "@angular/platform-browser": "~2.0.0",
    "@angular/platform-browser-dynamic": "~2.0.0",
    "@angular/router": "~3.0.0",
    "@vaadin/angular2-polymer": "^1.0.0-beta5",
    "angularfire2": "^2.0.0-beta.5",
    "moment": "^2.15.1",
    "core-js": "^2.4.1",
    "rxjs": "5.0.0-beta.12",
    "ts-helpers": "^1.1.1",
    "zone.js": "^0.6.23"
  },
  "devDependencies": {
    "@types/jasmine": "^2.2.30",
    "@types/node": "^6.0.42",
    "angular-cli": "^1.0.0-beta.17",
    "codelyzer": "~0.0.26",
    "jasmine-core": "2.4.1",
    "jasmine-spec-reporter": "2.5.0",
    "karma": "1.2.0",
    "karma-chrome-launcher": "^2.0.0",
    "karma-cli": "^1.0.1",
    "karma-jasmine": "^1.0.2",
    "karma-remap-istanbul": "^0.2.1",
    "protractor": "4.0.9",
    "ts-node": "1.2.1",
    "tslint": "3.13.0",
    "typescript": "2.0.2"
  }
}

I can update the version of angular-core to be explicitly set to 2.0.2 and test it as well

@filipesilva No changes after updating to 2.0.2 explicitly as well

Tried on a new machine. That didn't work either. Is there anything that I can do to help figure out whats happening.

@filipesilva After a lot of experimentation, figured the problem.
The actual problem was adding the web-components polyfills as a script in the cli config. I think this has something to do with the order that the scripts are loaded.
Moving that back again to the index.html solved the problem.
I am closing the issue. Maybe we should add something in the documentation.


Add language label to code block

May I suggest adding a label (preferably shown when hovering) that shows the language used in the source block.
It seems that this is possible with Highlight.js, but don't really know how to add this to the theme as my frontend knowledge is very low. An example is shown here, although that one is static.
I think this is useful when mixing multiple languages in the same post.

It looks like a similar snippet can already be added to academic by using academic's JS plugins feature.
I'm closing this for the reasons listed on that github page, such as the fact it will lead to incorrect labels in many cases.

Could you point where that is? Any indication for me to figure that out?

  Javascript

  class extends LWElement {
    name = 'Leanweb';
  }

.codeBlock {
  position: relative;
  .label {
    position: absolute;
    color: lightgray;
    right: 4px;
    top: 4px;
    font-size: 11px;
  }
}


Investigate feedback on settings initialisation and sync

Currently there is no feedback given as to the success/failure of the initialisation/synchronisation of the config files.
It would be good to push a notification to provide feedback to the user once this is completed.
(This was attempted prior to v1.0 release but did not make the final cut).

Completed successfully, the feedback is only basic and does assume success, but considering the functions are used so infrequently after initial setup, this should suffice.
Scheduling for 1.1 release.

Releasing


Selection controls in GBoard for Android fail to work

I'm running the latest version of Flutter and the latest GBoard beta. Selection controls can be found by pressing the Google icon on the top-left and pressing the  icon that shows up. Select all and general selection traversal fails to function. Native Android applications work fine with this.

We may not have a full implementation of the android input protocols?  Here is our current code:
https://github.com/flutter/engine/tree/master/shell/platform/android/io/flutter/plugin/editing

FYI @jason-simmons

An update on the current behavior of Flutter w/ GBoard selection controls:

Left and right navigation works.

Up and down navigation doesn't work.

Selection mode doesn't work.

Cut/Copy/Paste doesn't work.

Home <| and End |> doesn't work.

Select All doesn't work.

Most of these (other than home and end) work fine with a physical keyboard.

I think @justinmc is our input-expert these days.

Yeah I'm seeing the same results.  Only the left/right arrows and backspace work.  This is the keyboard we're talking about for reference:

The PR referenced above should make this a bit easier.  See https://github.com/flutter/flutter/pull/42879#issuecomment-543319194.

Here is likely where we need to add support for new keycodes: https://github.com/flutter/engine/blob/a5243c024c5241a297b2afed6473a187112388b7/shell/platform/android/io/flutter/plugin/editing/InputConnectionAdaptor.java#L156

There is another issue about certain keys on a third party Chinese keyboard not working.  Likely similar to this. https://github.com/flutter/flutter/issues/37371

Latest update on text editing support after the recent change:

Selection mode works.

Cut/Copy/Paste works.

Select All works.

Up/down navigation partly works.
We don't know the view width at the moment we treat key events, so there's a problem when lines are long and soft wrap.

Home <| and End |> does not work.
This should be a simple setSelection call, but for some reason our InputConnectionAdaptor is not being sent these events. Not sure why.

@edman What's the status on this? Everything seems to be working on the latest master 1.22.0-10.0.pre.403.

I agree, this seems to work now and can be closed.  I'm not sure who/what fixed this, but that's great.  The two problems mentioned above, up/down with soft wrapping lines and end/home, both seem to work fine for me now.


FileNotFoundException during RegisterTaskDefinition?

I have a few people experiencing an issue in my program in which people are reporting a program exception/crash when the program attempts to execute the RegisterTaskDefinition() function.
The following is my code...
Dim taskService As New TaskService

' Where all of my task setup code is. It's too long to mention here so I won't.

taskService.RootFolder.RegisterTaskDefinition("System Restore Checkpoint by System Restore Point Creator", newTask, TaskCreation.CreateOrUpdate, "NT AUTHORITY\System", vbNullString, TaskLogonType.InteractiveToken, vbNullString)

How is the RegisterTaskDefinition() causing an exception on the RootFolder in the Task Scheduler? The RootFolder should always exist so I shouldn't have a problem with this code yet it has some issues on some people's computers. What's going on here?
Originally posted: 2015-08-01T16:03:48

First of all, SYSTEM cannot be the user when InteractiveToken is used since SYSTEM cannot run interactively. Please check the documentation on this site to see how to correctly call RegisterTaskDefinition using the SYSTEM account.
If, after making that change, you still experience the error, please let me know which OS versions are running and the status of the account connecting to the TaskService (admin, user, etc.).
Originally posted: 2015-08-05T21:42:56

So something like this instead?
taskService.RootFolder.RegisterTaskDefinition("System Restore Checkpoint by System Restore Point Creator", newTask, TaskCreation.CreateOrUpdate, "NT AUTHORITY\System")

Originally posted: 2015-08-06T17:44:19

No. See http://taskscheduler.codeplex.com/wikipage?title=TaskSecurity#system.
Originally posted: 2015-08-07T13:19:03


The bot didnt catch with powerballs/ultraballs.

The bot didnt catch with powerballs/ultraballs.

Same problem.

u should explain your problem a bit better.
How many of each pokeball did you have and what was the cp value of the pokemons that you where expecting to be caught with great/ultra balls?

[#] PokeBalls: 0
[#] GreatBalls: 51
[#] UltraBalls: 18

and bot didnt catch with greatballs and ultraballs

I have the same problem. The bot seems to primarily use pokeballs. I realized that sometimes also superballs are used. But although I had many superballs the I got the following log:
[#] A Wild Paras appeared! [CP 60] [Potential 0.42]
[x] Out of pokeballs, switching to farming mode...
12
[#] A Wild Pidgey appeared! [CP 40] [Potential 0.27]
[x] Out of pokeballs, switching to farming mode...
But I have also seen the bot using superballs although I can't find the log for that.

Please refer to #208


Show audio levels in thrimbletrimmer

It would help with rapid editing if there was a visual indication of where silences and noise are in the video timeline.
From sokar:

the words you need to plug in to your favorite search engine are "audio spectrogram ffmpeg", it's already a feature in ffmpeg to make those, and it's pretty dang quick about it, scaling them may be a different issue, but I've used it before and it works fine(ish) definately good enough for finding silences if we can get things to line up properly

Generating these with ffmpeg turns out to be very fast - fast enough that we can generate them on the fly from restreamer, then just load from a restreamer url in thrimbletrimmer.
We have the option of a frequency spectrogram (frequency/time intensity heatmap) or a waveform graph (intensity/time), the latter is better suited to our purposes. Example:

Relevant ffmpeg args:
-filter_complex '[0:a]showwavespic=size=1024x128:colors=#000000:scale=sqrt[out]' -map '[out]' -frames:v 1

Note the sqrt scale, which highlights silence vs quiet better than a linear scale.


Added section to Contributing.md detailing our desired pre-release code auditing process

Closes: #1830
What is the purpose of the change
This PR adds a section to the contributing.md labeled "Major release" detailing our desired pre-release code auditing and actual release workflow processes.
Brief Changelog
Added a section to the contributing.md labeled "Major release" detailing:
The actual release workflow
The pre-release internal auditing process we've discussed as per notes on #1830
Testing and Verifying
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? (yes / no)
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? (yes / no)
How is the feature or change documented? (not applicable  /   specification (x/<module>/spec/)  /  [Osmosis docs repo](https://github.com/osmosis-labs/docs)   /   not documented)

This change will be synced up with a future PR that creates an action syncing contributing.md docs on the docs repo with this one.

TY for adding this!


Yacht Haven Water System

From email from m.mabeuf<at>gmail:

Your map shows the Yacht Haven Water System attached to a single lot at 1361 Yacht Haven Road.

According to the Additional Information this appears to be the desalination system which is centered at the intersection of Yacht Haven Road and Shorett Drive, and serves mostly people in that vicinity, though the pipe was recently laid up to about 1281 Yacht Haven Road.

I don't know whether the owners at 1361 are actually hooked up to the system or now, though drive by that house fairly regularly and haven't seen any indication of that.  But even if they are the boundaries of the water system are far greater than that lot.  (The DEH site shows 15 users,)

At any rate, there are many users of this water system whose locations are not shown on your map.  And if for some reason the system shown in the highlight on 1361 isn't the desal water system, then that system isn't shown at all.

According to VickiH

We have a map of the current and future service area for the system.

...they currently operate as a B system, but will grow into an A. Just one of those things that will need updating.


Improve getShortName logic for non /TR/ URLs

The getShortname function does not work well with non /TR/ URLs, such as https://webassembly.github.io/spec/js-api/index.html for which it produces spec. IDL filenames are not always good as a result (and it's possible two specs end up with the same filename).

Actually, I don't see any obvious improvement. The Web Assembly spec was the only problematic spec in practice and it has now been published as a FPWD, so Reffy will use the /TR/ shortname from now on (wasm-js-api).
Looking at the URL of the Editor's Draft of that spec, there's not much we can do to extract a meaningful name. Obviously, we could extract webassembly but that's too generic, or js-api but we'd need to hardcode a rule on spec and that would be a bad name as well... In essence, we'd have to hardcode a rule specific for that (and possible other) specs.

Closing per previous comment.


add hostAliases capability

resolves #155
Signed-off-by: Stuart Hayton<EMAIL_ADDRESS>

looks good to me. thank you for the effort ;)

Closing as this is stale and has merge conflicts; please reopen and fix the conflicts if this is still needed.


update tutorial with Github setup

now that github service is required for dependency management
update the cumulusci public tutorial with the documentation for setting a github personal access token and configuring the github service.

I could try to squeeze out some hours next week and write something down, if you'd be interested. There a few things on readthedocs that might need an update.

This exists: https://cumulusci.readthedocs.io/en/latest/tutorial.html#github-service


Use on() in place of live() impala/global

Fixes #1201
Looks to be deprecated code because the view using this has a missing template.

r+


[BUG]: Property 'login' does not exist on type 'SerializeObject<UndefinedToOptional<{...}>>

What happened?
After updating Octokit from 2.0.14 to the latest version and running typecheck, I started seeing this error appearing for this code:
const { data: { installations } } = await octokit.rest.apps.listInstallationsForAuthenticatedUser();

installations.map((installation) => installation.account!.login)

Property 'login' does not exist on type 'SerializeObject<UndefinedToOptional<{ name?: string | null | undefined; email?: string | null | undefined; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; ... 11 more ...; starred_at?: string | undefined; }>> | SerializeObject<...>'.

Property 'login' does not exist on type 'SerializeObject<UndefinedToOptional<{ description?: string | null | undefined; html_url: string; website_url?: string | null | undefined; id: number; node_id: string; name: string; slug: string; created_at: string | null; updated_at: string | null; avatar_url: string; }>>'

Is there something missing on my side? Or is this a bug? I noticed that the error does not appear if I try to access any of the following properties:
- avatar_url
- html_url
- id
- name?
- node_id

But it does happen for any other property, like description?. I can't seem to figure out if there's a pattern here. This worked fine in previous versions with openapi-types = 16.0.0
I apologize if this is not a bug. Thanks!
Versions
Octokit 3.1.0 with openapi-types on 18.0.0.
Previously, was using Octokit 2.0.14 with openapi-types on 16.0.0.
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

We are seeing this as well.

Could be fixed by octokit/openapi#388

@dantevvp Can you double check with the latest releases if this is fixed

@wolfy1339 As of 22.2.0, this is still an issue.


error installing python tool in vs version 2.2.6

That a look at that screenshot plz.

It's probably the same as https://github.com/Microsoft/PTVS/issues/2124
Try closing VS, deleting the contents of your %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache and then restart VS.


Remove AttributeDict and be explicit about attr names

AttributeDict existed to help with translation between the python name for an attribute (i.e the class attr) and the dynamodb name, which differ when the attr_name kwarg is specified. In practice, this shim made things confusing and caused bugs (see below).
This PR replaces AttributeDict with explicit calls when conversion is needed. It also factors out an AttributeContainer mixin so that Model and MapAttribute can share these common traits (this was previously duplicated).
Bug fix: Overridden attr_names are no longer allowed when referring to attributes
class MyModel(Model):
  custom_id = NumberAttribute(attr_name="id")

MyModel.query(id=1)  # This will now raise. .save(), .count(), etc. are also affected
MyModel(custom_id=1).id  # This will also raise an AttributeError now

Bug fix: An overridden attr_name in a MapAttribute is now serialized correctly
class MyMap(MapAttribute):
    custom_id = NumberAttribute(attr_name="id")

class MyModel(Model):
  map = MyMap()

m = MyModel(map=MyMap(custom_id=1)).serialize()  # This used to serialize with "custom_id" instead of "id"

Bug fix: update and update_item now correctly set attributes returned in the response when attr_name is overridden
class SimpleUserModel(Model):
    user_name = UnicodeAttribute(hash_key=True)
    email = UnicodeAttribute()
    custom_aliases = UnicodeSetAttribute(attr_name='aliases')

item = SimpleUserModel('foo', email='bar')
item.update_item('custom_aliases', set(['lita']), action='add')

item.custom_aliases  # this used to return None, now returns the correct value

Coverage decreased (-0.06%) to 97.772% when pulling 146c32ae49a0db122f13e6c8158b4b639d0c05c3 on lyft:kill-attribute-dict into 4a808b7872f390b9dcce4724bdae33837391047c on jlafon:devel.

Coverage decreased (-0.4%) to 97.383% when pulling 18d16b8c57b372898f87c8027eda1b91dff82946 on lyft:kill-attribute-dict into 4a808b7872f390b9dcce4724bdae33837391047c on jlafon:devel.

Coverage decreased (-0.4%) to 97.385% when pulling 0cad236b1b497d38f9da7d3a953d21832d17a44b on lyft:kill-attribute-dict into 4a808b7872f390b9dcce4724bdae33837391047c on jlafon:devel.

Coverage increased (+0.06%) to 97.889% when pulling a0458ced713f6c44d3e84980377ef04fe7e9e432 on lyft:kill-attribute-dict into 4a808b7872f390b9dcce4724bdae33837391047c on jlafon:devel.

@danielhochman wanna take a look at this?

Also, there's one outstanding thing I'd like to fix but it may have further reaching implications. I'd like to get opinions.
class MyModel(Model):
  custom_id = NumberAttribute(attr_name="id")

m MyModel(id=1)  # This currently does not raise an error

I think the above snippet should raise a ValueError, as we should only support a single way of accessing attributes in python. Does anyone agree/disagree?

Yup I agree, that should raise an error. Also what Zen says:

Errors should never pass silently
There should be one-- and preferably only one --obvious way to do it

Coverage increased (+0.08%) to 97.912% when pulling 6bdaa38a5a05f3de62295f5fd3e6c4945314c19d on lyft:kill-attribute-dict into 4a808b7872f390b9dcce4724bdae33837391047c on jlafon:devel.

Coverage increased (+0.08%) to 97.912% when pulling 57e5f027cdc5986b1b13cf5041de2988542b40df on lyft:kill-attribute-dict into 4a808b7872f390b9dcce4724bdae33837391047c on jlafon:devel.

+1


It doesn't repro for me. The Open Folder button correctly opens the Windows native "Open Folder" dialog.
My Insiders is today's, whereas yours is yesterday's.
Did this previously work for you?
Does "Open Folder..." off the File menu give the same result?

@gjsjohnmurray - I haven't tried this with disabling extensions. I can do that in sometime and let you know how it behaves. Will also try "Open Folder" from File.
And yes, it worked fine in previous builds.

@vidhyasagarreddy yes can you please check in the latest insiders, and with extensions disabled? I haven't seen other reports of this.

Faced this issue again today, on latest insiders build.
Steps:

Opened some random File(s) via VS Code
Worked on them. Some were "Saved" and some were "Not Saved"
After couple of minutes, I clicked on "Open Folder", which then had stuck

VS Code details:
Version: 1.63.0-insider (system setup)
Commit: bedf867b5b02c1c800fbaf4d6ce09cefbafa1592
Date: 2021-11-18T05:14:59.750Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000

I will try to open w/o extensions nxt time when I try


Added operator kron

Fixes #603

I did some quick test of the operator_kron using both the numpy and the symmetric backends, and the results were correct for me. However, I thought it strange that it always returned node objects, even when the inputs were tensors. Is this intended behavior?

I think the input and return type should always coincide.

I think the input and return type should always coincide.

That would break the pattern that all of existing ops already have, which is basically node in node out. The only non-backend method that takes in tensors and returns tensors is ncon, for a good reason as users using ncon may never actually want to deal with Nodes.
I think instead I'll just have this method only accept Nodes. Users can always wrap their tensors in Nodes before calling this function. (If a user wants just tensors, they can always just do np.kron or equivalent.)

I think the input and return type should always coincide.

That would break the pattern that all of existing ops already have, which is basically node in node out. The only non-backend method that takes in tensors and returns tensors is ncon, for a good reason as users using ncon may never actually want to deal with Nodes.
I think instead I'll just have this method only accept Nodes. Users can always wrap their tensors in Nodes before calling this function. (If a user wants just tensors, they can always just do np.kron or equivalent.)

That would be my choice as well


Where is your sources/changes for making the libs?

Maybe I am missing something but I don't see the way to rebuild your library.  This solution looks promising but I will have to get the code audited before using and I don't see your dpdk bsd tcp stack only the .a libs per arch.
Thanks

Yes, source code isn't open, only libs is open.  -:)

Then it isn't open source at all. Thanks I will be using f-stack which does the same thing but is fully open source. Closed source is scary especially for a tcp stack in userspace but also in general.


switch the GPU

I am unable to switch the GPU used for training by setting device: cuda:1, which is not conducive to tasks that involve training multiple models simultaneously.
    if torch.cuda.is_available():
        if args.distributed:
            device = 'cuda:%d' % args.local_rank
        else:
            device = 'cuda:0'
        torch.cuda.set_device(device)
    else:
        device = 'cpu'
    args.device = device

Is it possible to use a change similar to the one below?
    if torch.cuda.is_available():
        if args.distributed:
            device = 'cuda:%d' % args.local_rank
        else:
            device = args.device if args.device else 'cuda:0'
        torch.cuda.set_device(device)
    else:
        device = 'cpu'
    device = torch.device(device)

@a1112 so yeah, that's possible but there isn't actually a device arg passed via train script right now, it assumes either cuda (if cuda is present) or cpu if not. Should probably fix so it can also support other device backends.
I get what you're hoping for and it's doable have to rethink the logic a bit, ends up a little more complicated than your proposal with the fallback options and supporting devices outside of cpu/cuda....


Add robot selection for README example

PR to fix issue #22

A simple copy past of the readme crash as it spawn two robots
Add "if" selection to select the robot type to spawn in the example

Thanks for the PR !


Custom naming of uploaded files

Is your feature request related to a problem? Please describe.
Need a specific naming convention on the cloud provider to power other (non-MJ) processing.
Custom Naming of Uploaded Files
Overview
This document outlines the proposed solution for custom file naming during uploads, addressing GitHub Issue #149. The current system uses a file ID as the filename when uploading to the cloud, but users need the ability to specify custom filenames.
Current Behavior

Users create a file upload placeholder via API.
API responds with a file ID and a pre-authenticated URL for direct uploads to the cloud.
Users confirm the upload completion with a second API call using the file ID.
The backend embeds the file ID as the filename in the URL, which leads to a lack of customization.

Design Constraints

Uniqueness Across Categories: Despite user interface indications, filenames must be unique across all categories due to the flat file structure on the cloud.
Overwriting Files: For expediency, files with duplicate names will overwrite existing files, with appropriate user warnings implemented.

Proposed Solution
Initial File Creation

When a file is uploaded, a backend SQL query checks for existing filenames.
If a duplicate is found, the file is uploaded with a draft status and the user is provided with a pre-authenticated URL containing the correct filename.

Confirmation of Upload

Upon finalizing the upload with the second API call, the old file is deleted and the new file record is created.

UI Interaction

The first API response includes an indicator if the filename already exists, providing details about the existing file.
This allows the UI to prompt the user with an option to override the existing file, enhancing decision-making and user control.

Open Questions

Handling of Category IDs: If a file with the same name but different category ID is uploaded, should the category of the existing file be maintained, or should a new record be created and the old one deleted? This decision is pending further discussion.
Backward Compatibility: To what degree (if any) do we need to worry about supporting the original style of using FileID as the object identifier within the cloud provider? It would be simpler to move completely to the new style, but it would mean references to previously-created files would become invalid.

Given the deployment base, we're ok to move ahead without backward compatibility on this change.


StylePatchLoss is not quite consistent Nonparametric ?

In your train-vgg-decoder, you call Nonparametric. However, you apply StylePatchLoss in your style-swap. In Nonparametric, it contains interpolate which is default true. I am wondering how
much interpolate can affect. Also, why set false, false, true to the last three params of Nonparametirc? Especially, you set normalize  false , however, interpolate true.

normalize will normalize the content patches (divide by 2-norm of each individual patch). As computing the nearest neighbor for each content patch doesn't depend on this, we can forego this normalization to speed up computation.
interpolatewill determine how elements that belong to two or more different overlapping patches will be computed. If it's false, then the value is equal to the sum of the overlapping patches. If it's true, it will be the average.'
Of the three options shuffle, normalize and interpolate, only interpolate will actually change the output of style swapping.


WFLY-11708 Upgrade JGroups to 4.0.17.Final

Jira
https://issues.jboss.org/browse/WFLY-11708

Intended to target WildFly/CD 16 as it resolves cloud scaling issue JGRP-2293.


Uncaught TypeError: formState.setFieldError is not a function

const setError = () => formState.setFieldError('text', 'aaaaa')
"react-use-form-state": "0.10.4"
Uncaught TypeError: formState.setFieldError is not a function
the setFieldError doesn't work...

Hi @lichtcui - the method setFieldError was added recently and is planned to be included in the next release 0.11.0 once it's published. The current stable version is 0.10.4.
For the time being, you can use 0.11.0-beta.1, or refer to this URL for the proper documentation of the current version you are currently using: https://github.com/wsmd/react-use-form-state/tree/0.10.4

thanks~~~


Unhandled value changed event in view adapter for attribute:fieldofview

Changing the fieldOfView parameter either using viewNode.setAttribute('fieldofview', 0.9); or using viewNode.fieldOfView = 0.9; yields the following warning:

Unhandled value changed event in view adapter for attribute:fieldofview

Setting fieldofview in the .html document works as expected.

Confirmed on 4.9.1. Apparently none of the tests we have for this checked the internal state of the renderer, only the state of the attribute and field on the element.
I've pushed a fix to the develop branch, we'll do a bugfix release later this week after we've added regression tests. Until then you could use the development build.
Thanks for the report!


[WFLY-4860] Update examples configuration to use the messaging-active…

…mq subsystem

Use messaging-activemq subsystem for examples bundled with WildFly
remove standalone-hornetq-colocated.xml from the feature pack

JIRA: https://issues.jboss.org/browse/WFLY-4860

Windows Build 1942 is now running using a merge of 2a67ffcb55279530b8c700321bdb924483bd754e

Linux with security manager Build 1764 is now running using a merge of 2a67ffcb55279530b8c700321bdb924483bd754e

Linux Build 6867 is now running using a merge of 2a67ffcb55279530b8c700321bdb924483bd754e

Linux with security manager Build 1764 outcome was SUCCESS using a merge of 2a67ffcb55279530b8c700321bdb924483bd754e
Summary: Tests passed: 854, ignored: 321 Build time: 0:06:09

Linux Build 6867 outcome was FAILURE using a merge of 2a67ffcb55279530b8c700321bdb924483bd754e
Summary: Tests failed: 4 (4 new), passed: 2921, ignored: 371, muted: 1 Build time: 0:49:03
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ws.wsse.signencrypt.EJBSignEncryptTestCase.encryptedAndSignedRequest: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.remote.RemoteFailoverTestCase(SYNC-tcp).testStatefulFailover: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.remote.RemoteFailoverTestCase(SYNC-tcp).testConcurrentFailover: <no details avaliable>

org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.testStandaloneHornetqColocatedXml: <no details avaliable>

Windows Build 1942 outcome was FAILURE using a merge of 2a67ffcb55279530b8c700321bdb924483bd754e
Summary: Tests failed: 1 (1 new), passed: 2925, ignored: 371 Build time: 0:49:37
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.testStandaloneHornetqColocatedXml: <no details avaliable>

Windows Build 1943 is now running using a merge of 42ab371599500dcccbfc90fe087b21736da7cbbb

Linux with security manager Build 1765 is now running using a merge of 42ab371599500dcccbfc90fe087b21736da7cbbb

Linux Build 6868 is now running using a merge of 42ab371599500dcccbfc90fe087b21736da7cbbb

Linux with security manager Build 1765 outcome was SUCCESS using a merge of 42ab371599500dcccbfc90fe087b21736da7cbbb
Summary: Tests passed: 854, ignored: 321 Build time: 0:06:00

Windows Build 1943 outcome was SUCCESS using a merge of 42ab371599500dcccbfc90fe087b21736da7cbbb
Summary: Tests passed: 2925, ignored: 371 Build time: 0:48:08

Linux Build 6868 outcome was FAILURE using a merge of 42ab371599500dcccbfc90fe087b21736da7cbbb
Summary: Tests failed: 1 (1 new), passed: 2923, ignored: 371, muted: 1 Build time: 0:49:11
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.remote.suspend.EjbRemoteSuspendTestCase.testSuspendedCallRejected: <no details avaliable>

failure is not related to the PR


WP_User Object is null

When using bedrock it's not possible anymore to get the WP_User object from both themes and plugins. Put the following to your functions.php:
function current_user() {
    var_dump(wp_get_current_user());
}
add_action('init', 'current_user');

You'll get an empty WP_User object.
object(WP_User)#118 (7) {
  ["data"]=>
  NULL
  ["ID"]=>
  int(0)
  ["caps"]=>
  array(0) {
  }
  ["cap_key"]=>
  NULL
  ["roles"]=>
  array(0) {
  }
  ["allcaps"]=>
  array(0) {
  }
  ["filter"]=>
  NULL
}

Is anyone able to reproduce this issue?

Are you logged in properly?

Strange. It seems there are zero wp cookies set on my frontend. The LOGGED_IN_COOKIE is missing which is causing the issue. But in the backend all user data are available. Can you replicate this on your frontend side?

not able to replicate, can you replicate it on a clean install?
you could have some issues with siteurl / homeurl / cookiedomain / cookiepath options/constants, maybe check what cookies get set when you login

Can't imagine what in Bedrock would cause this and we can't reproduce it anyway so closing the issue.


Bug for impact phase transition

Codecov Report

Merging #136 into master will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
+ Coverage   87.32%   87.35%   +0.02%
==========================================
  Files          16       16
  Lines        2170     2174       +4
==========================================
+ Hits         1895     1899       +4
  Misses        275      275

Impacted Files
Coverage Δ

biorbd_optim/continuity.py
93.58% <100.00%> (+0.34%)
:arrow_up:

biorbd_optim/plot.py
76.48% <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 7a81181...9a68ef4. Read the comment docs.


[release-4.15] CNV-37394: Remove '--attach-default-network' from productized cli

This feature of removing the default pod network from the KubeVirt VMs is not fully supported by us yet. We will re-introduce the cli arg once this feature is GAed.

/lgtm


M3-126 stackscripts landing

Purpose
StackScripts Landing
Notes

Reuses the SelectStackScript component. Basically, if the component is passed a onSelect prop, it will render the rows as selections. Otherwise, it renders them as they appear in the landing
TabbedPanel component now has a handleTabChange prop, so we can do additional stuff when changing tabs :)
User can get from the Landing to the Create Linode from StackScript flow by means of the Deploy New Linode btn. Once the user ends up on the create flow, the selected stackscript will be requested then prepended to page 1 of the stackscripts

Then, if page 1 or any subsequent page contains the stackscript that had already been prepended, it will be filtered out and not rendered, so we don't get any duplicate keys error.

I tried to be as verbose as I could in the comments. Please let me know if anything is not clear.

Coverage remained the same at 26.545% when pulling 61e259fd0d28816292a3f69e4b6a0d8bc911d1cc on martinmckenna:M3-126-stackscripts-landing into 612615be7420ee1221cc69b2f8c7941ba9cfc3ed on linode:develop.

Text scrolls and is visible above the header.

On API error when loading StackScripts, loading wheel spins forever.

Ticket says something about the search bar, is that being shelved/saved for later?

@Jskobos I added empty and error state to the select stackscript panel
All styling concerns I'm going to leave to @alioso
As for the search bar, that's another story entirely and out of scope of this PR
Ready for re-review


remove CompositeGate

Summary
removing deprecated stuff.

Can you update the changelog here too? Just so we mark the removal

I think there are some issues that this closes as well.

I feel there as some issues with composite gates (older ones) that we should go back and make sure we close now.


Feat/607 buy sov

Text here shouldn't be gray as needs action.

@creed-victor please ignore the comment above


schematics for external ferrite core antenna?

any schematic on how do we connect the external ferrite core antenna? where to connect the capacitor and resistor ? the capacitor should be how many uF voltage ? Thanks

It's difficult to give you exact values as it depends what coil do you have. I've taken a coil from old radio clock and have connected it in series with 220 ohm resistor without capacitor. I've seen this as example in another project.
The result was not much better then using the RFID antenna.
To make better antenna you can use an online RLC circuit calculator to determine the required values for 77.5 kHz.

i see so with the coil you used the range hasnt increased at all? i got many radio clocks high up on the walls and i just need to sync them all without using a ladder !!
i have this coil https://www.ebay.com/itm/203638784817
as for the resistor does it matter in which polarity you connect it? i mean which color connects to GPIO and which to the antenna?
https://grobotronics.com/resistor-1-2w-carbon-5-330ohm.html
thanks for everything

It's difficult to give you exact values as it depends what coil do you have. I've taken a coil from old radio clock and have connected it in series with 220 ohm resistor without capacitor. I've seen this as example in another project. The result was not much better then using the RFID antenna. To make better antenna you can use an online RLC circuit calculator to determine the required values for 77.5 kHz.

https://www.ebay.com/itm/203638784817

see so with the coil you used the range hasnt increased at all? i got many radio clocks high up on the walls and i just need to sync them all without using a ladder !!
i have this coil https://www.ebay.com/itm/203638784817
as for the resistor does it matter in which polarity you connect it? i mean which color connects to GPIO and which to the antenna?
https://grobotronics.com/resistor-1-2w-carbon-5-330ohm.html
thanks for everything

if you could also share the link of the other project i would appreciate it


Update clibraries.rst

Fix code for implementation of append

No, this is definitely wrong.
a) You are passing the address of a stack allocated parameter into a C function that intends to store something beyond the lifetime of the function call. That is outright dangerous.
b) The trick in the tutorial is to store integers in pointer fields by casting back and forth, that's what the <void*> cast is doing here.
Any reason why you thought this was wrong?

Hello scoder,
of course you are absolutely right. I just saw the warning when compiling and quickly "fixed" the apparent "error". After reading through the tutorial more thouroughly  I realized it is also mentioned in the text. Thanks for pointing my mistake out!


Proposition to Drop Python2 Support

Hi, please comment on this issue to state your opinion for dropping Python2 support. Currently, it is still supported by Flasgger, and may continue to be supported if required.

Since python has reached EOL already 6 months ago, imho this should go forward.
It might make sense to have a py27 branch for the community to apply patches to, and keep releasing those patches in version 0.x.x. while releasing the py3 version as a major release to 1.x.x


Send stop command on SIGINT (CTRL+C)

In order to gracefully shut down the server a script should catch the stop command and send the stop command to the actual server.
This will instruct the server to flush all data to disk before terminating whereas SIGINT will just terminate the running instance potentially resulting in data loss.

docker stop sends a SIGTERM, not SIGINT, so graceful shutdown is already performed:
DEBU[0022] Forwarding signal                             signal=terminated
DEBU[0022] Sending message on stdin due to SIGTERM       message=stop
[INFO] Server stop requested.
[INFO] Stopping server...
Quit correctly


vsCode Portable Sync Location

🐛 Describe the bug
vsCode Portable Sync Location
🌴 Visual Studio Code Version : 1.26.1
🌴 Code Settings Sync Version : 3.0.0
🌴 Operating System : Windows 10 v1803
🌴 Occurs On: Download
🌴 Proxy Enabled: No
🌴 Gist Id: N/A
📰 To Reproduce
Steps to reproduce the behavior:

Download Settings

💪 Expected behavior
In the portable version of vsCode (which they are pushing pretty hard), you have the ability to nest the extensions and user-data directories in the application folder: see here.
...but it appears that SettingsSync placed the downloaded data in the default location (ie: C:\Users\userName.vscode)
I would expect this to detect the proper location based on the installation type.

Duplicate of #331


pkg/http_server/test/http_body_test can fail on Windows

 Issue by skabet
Originally opened as dart-lang/sdk#14275

See http://chromegw.corp.google.com/i/client.dart/builders/vm-win32-debug-be/builds/540/steps/tests/logs/stdio

 Comment by skabet

Fixed in dart-lang/sdk@08239af74a5a97d217f6b21a630e11104c46432b and dart-lang/sdk@7ed07c2bc8ff44eb184571d400bdbb16e1184fc9.

Added Fixed label.

 Comment by anders-sandholm

Removed Library-HttpServer label.
Added Pkg-HttpServer label.

 Comment by kevmoo

Removed Area-IO label.
Added Area-Library, library-io labels.


Add indicatorViewColor property to Descriptor

@takumatt I think it can be closed now (#17 solves this too)


Fix text setting methods with unicode input arguments (backward compatibility with 0.4.2)

For example, TypeKeys fails so:
File "C:\Python27\lib\site-packages\pywinauto\controls\HwndWrapper.py", line 1136, in TypeKeys
    self.actions.log('Typed text to the ' + self.FriendlyClassName() + ': ' + str(keys))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-10: ordinal not in range(128)

Adding unit tests for that is also important.

All str() type conversions should probably be replaced with six.text_type.

Current implementation of TypeKeys uses win32api.keybd_event that doesn't support Unicode.
Previously SendInput function was used. It does support Unicode, but it's less reliable.
This is a useful guide about Keyboard Input. Switching keyboard layout (locale) may help fixing some issues for 2 languages case. But what's about generic Unicode?

SendInput() works well for 32-bit apps. But for 64-bit ones it returns 0 and the characters are typed into the Python process. I found the problem in AttachThreadInput calls inside the TypeKeys method and fixed it (incorrect target process thread it was taken). I've also fixed similar problem in _perform_click function (not committed yet).
But SendInput() still fails for 64-bit case.

It seems we need to initialize dwExtraInfo pointer in KEYBDINPUT structure with GetMessageExtraInfo() call.
This StackOverflow question was helpful.

In fact it's a problem with structures alignment. I found it here right after "accepted" answer.
It's a perfect win, guys! :)

@vasily-v-ryabov, good point! I think the alignment should be checked everytime we have a problem of this kind. (Works on x86, but not x64)


Building images using Dockerfile

My actions before raising this issue

[ X] Read/searched the docs
[ X] Searched past issues

Good day,
The linux system I am working on does not support avx and therefore there was a trouble in creating superuser. I browsed through one of the issues and the solution was that I install non-avx TensorFlow by adding RUN python3 -m pip install https://tf.novaal.de/btver1/tensorflow-2.8.0-cp38-cp38-linux_x86_64.whl in the Dockerfile.
My doubt is, when I build this Dockerfile  using docker build -t cvat_test:latest -f Dockerfile what image am I exactly creating? Is it cvat_server ? How shall I use the image(s) I get from this Dockerfile to make the CVAT run?
Any help would be appreciated. Thank you very much.
Context
Trying to build the Dockerfile with an added non-avx tensorflow version because the PC doesn't support avx.
Your Environment

Docker version docker version: 20.10.16
Are you using Docker Swarm or Kubernetes? No
Operating System and version (e.g. Linux, Windows, MacOS): Linux
Code example or link to GitHub repo or gist to reproduce problem: https://github.com/opencv/cvat/issues/2123

Building the Dockerfile gives me three images.

cvat_test:latest - The name I gave while building the Dockerfile
none
ubuntu

I suppose the non-avx tensorflow is installed on either cvat_test:latest or none. Could you please tell me what do these images mean and how do I make CVAT running by using them?

@venki-lfc Hello
docker-compose -f docker-compose.yml -f docker-compose.dev.yml build cvat_server command builds cvat_server new image on your machine
After that you can run containers as usual docker-compose up -d
But I beleave that the issue is not related with tensorflow, in case of your machine doesn't have avx support you just cannot use import/export in TF format and CVAT should be started correctly. Most likely there are some other packages/libraries that require avx support. Could you provide logs with the issue?

I hope the issue is resolved


Clarify non-CC0 museum grandfather exceptions

It's always kind of bugged me that we have two exceptions to the CC0 rule and it creates the impression that we are inconsistent about our own rules when people notice this. It has definitely come up on the mailing list before. In this PR I suggest an explicit explanation of why these museums are on the list, which also rules out any future exceptions. I hope I represented the situation correctly.

How common is it to have a museum use the actual CC-PD mark instead of a CC0 license or a generic "public domain" text? Maybe it's simply time to accept the CC-PD mark in general.


How to use App Engine default credentials to authenticate Google_Service_Sheets

Hi, I hope someone can help me with the following problem:
I am trying to use the default credentials of the service account to authenticate with Google_Service_Sheets, on my local computer this works fine since I have configured the GOOGLE_APPLICATION_CREDENTIALS PATH to my JSON key, however the same code does not work in App Engine.
My source code running in a standard App Engine environment PHP 7.2
$client = new Google_Client();
$client->useApplicationDefaultCredentials();
$client->addScope(Google_Service_Sheets::SPREADSHEETS_READONLY);
$service = new Google_Service_Sheets($client);
$spreadsheetId = '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms';
$range = 'Class Data!A2:E';
$response = $service->spreadsheets_values->get($spreadsheetId, $range);
$values = $response->getValues();

App Engine response:
{
"error": {
"code": 403,
"message": "Request had insufficient authentication scopes.",
"errors": [
{
"message": "Request had insufficient authentication scopes.",
"domain": "global",
"reason": "forbidden"
}
],
"status": "PERMISSION_DENIED"
}
}

The local service account and App Engine account are the same.
Thank you.
P.S. It should be noted that the OAuth2 token with BigQuery works perfectly with the same account.

Hi @michelolvera, sorry for the delay. I am not able to duplicate the issue. Are you certain that you are not overriding the scope elsewhere prior to sending the request?

Yes, I'm completely sure, I don't understand what's going on because it's a very simple piece of code.
Did you try it in an App Engine instance and it worked correctly for you?

Today I update my composer dependencies and it works correctly, I don't know if I fix that but thanks anyway.


Add CoC enforcement manual

This document is intended to outline the leadership of the Code of Conduct Working Group, the process by which reports will be handled and possible outcomes. Please see Code of Conduct PR #10364 (https://github.com/zephyrproject-rtos/zephyr/pull/10364) and Reporting Policy PR #10650 (https://github.com/zephyrproject-rtos/zephyr/pull/10650).

Codecov Report

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

@@            Coverage Diff             @@
##           master   #10651      +/-   ##
==========================================
+ Coverage   53.09%   53.25%   +0.15%
==========================================
  Files         214      214
  Lines       25823    25823
  Branches     5693     5693
==========================================
+ Hits        13711    13752      +41
+ Misses       9803     9756      -47
- Partials     2309     2315       +6

Impacted Files
Coverage Δ

lib/posix/pthread_sched.c
41.66% <0%> (-20.84%)
:arrow_down:

lib/posix/pthread_mutex.c
77.77% <0%> (+1.38%)
:arrow_up:

lib/posix/pthread.c
80.36% <0%> (+12.32%)
:arrow_up:

lib/posix/pthread_cond.c
83.33% <0%> (+20.83%)
:arrow_up:

include/posix/posix_sched.h
100% <0%> (+100%)
:arrow_up:

lib/posix/pthread_barrier.c
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

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


[Elmslie 3.0] rewrite core module with coroutines

Initially, core module is written in pure kotlin to allow working with elmslie in pure java and kotlin. Also, this mr would require coroutines dependency when working with RxJava. What is the motivation behind rewriting the core module with coroutines?

Hi @diklimchuk! We had lots of discussions about further development of the lib and features that nice to have and we corrected the main focus with the following points:

With the current implementation (pure kotlin/java primitives), it's a way harder to develop the next features. For example the coordinators much harder to review and understand the internals and how to use them in the client's code. On the other hand, using coroutines in the core much simplify the further redesign and development.
You said about external dependency. In the real world, coroutines dependency is already existed in all project. Android/Compose brings them implicitly. We decided to focus on kotlin users so it's ok to include it.
We're preparing the basement for Kotlin Multiplatform and as you know the coroutine is a loyal ally in this regard.
Version 2.0 - can use pure java way and develop independently. We don't think it's an issue. A lot of libraries use this approach.

Сheck the branch, it looks nice, does it?) And what do you think?


How to hide "Inference" Status Bar? [Bug]

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (master) or latest version (3.x).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
3.x branch https://github.com/open-mmlab/mmdetection/tree/3.x
Environment
sys.platform: linux
Python: 3.8.10 (default, Nov 14 2022, 12:59:47) [GCC 9.4.0]
CUDA available: False
numpy_random_seed:<PHONE_NUMBER>
GCC: x86_64-linux-gnu-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
PyTorch: 1.13.1+cu117
PyTorch compiling details: PyTorch built with:

GCC 9.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v2.6.0 (Git Hash 52b5f107dd9cf10910aaa19cb47f3abf9b349815)
OpenMP 201511 (a.k.a. OpenMP 4.5)
LAPACK is enabled (usually provided by MKL)
NNPACK is enabled
CPU capability usage: AVX2
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.7, CUDNN_VERSION=8.5.0, CXX_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/c++, CXX_FLAGS= -fabi-version=11 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.13.1, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.14.1+cu117
OpenCV: 4.2.0
MMEngine: 0.6.0
MMDetection: 3.0.0rc6+61dd8d5
Reproduces the problem - code sample
When doing a prediction and setting breakpoints in the code, the "inference status bar" suppresses the code I enter in the debugger.
Can I remove the inference status bar somehow?
To
Reproduces the problem - command or script
Reproduce:

Do a inference (e.g. with 'demo/image_demo.py') and set a breakpoint in the code. The entered code is then not visible anymore.

Reproduces the problem - error message

Additional information
No response

Thanks, @BIGWangYuDong  for your reply and sorry for not bringing my point across more precisely!
When I invoke the debugger (by setting a breakpoint), I cannot see the words I type into the keyboard anymore because the line is always filled with "Infernence".
To reproduce:

Set a breakpoint in the code
Run a script (demo/image_demo.py, for example)
Type something into the debugger when the execution is interrupted, maybe (print(x)).
Check if print(x) is visible or if it is hidden by "Inference"


Fix registration error handling

Error handling on registration would cause clients to crash due to subscribing to register inside the call method when combining observables. The fix extracts the service call into a flatmap.

LGTM


Fix config file name conflict

Problem: The src/lib/config.ts file currently store profile information in the same file name as oclif's configDir
constructor(configDir: string) {
    this.configFile = configDir
    this.config = this.readConfig()
}

 writeConfig() {
    const data = JSON.stringify(this.config)
    // Config file name is same as `configDir`
    fs.writeFileSync(this.configFile, data, {encoding: 'utf8'})
}

This is problematic because of potential naming conflict. Specifically, when an error happens, oclif will try to create an error.log file at the path ${configDir}/error.log. However, since our own profile information file already exists with the same name of ${configDir}, there will be "File already exists" exception

Solution: Adding a -config suffix to avoid name conflict --> Now in case of error, the CLI will exit gracefully.
constructor(configDir: string) {
    this.configFile = `${configDir}-config`
    this.config = this.readConfig()
}

Did you happen to run the tests after this change? I'm noticing it broke a lot of them. I'm digging further into it.

I made a change to use the configDir as the directory which it was supposed to be all along. My bad. There is now a config.json that will sit in there. I also had to update the test file to reference that in the /tmp directory. All good now.


Fix 3.8 and 3.8 CI tests

I noticed in #86 that some tests succeeded when they should not have. We were only running 3.7 tests.

Good catch on the failure to test! Thank you for the fix!


Container list doesn't automatically update

Expected behavior
The container list automatically updates... even if it's a poll every 5-10 seconds...
Actual behavior
It never updates..
Information about the Issue
Please implement this feature
Steps to reproduce the behavior

Expect your container list to update
Be frustrated

When frustrated go to View -> Refresh Container List - Or use CMD+R as a shortcut


Add support for Mesh Light ftd.light.dsplmp (ftd v3)

It has the same spec (https://home.miot-spec.com/s/ftd.light.dsplmp) as 13233

Thanks!

https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v4.0.6