Add CookieProcessingTargetAuthenticationStrategy.java

Fixes OfficeDev/ews-java-api#188
It's a bit of a hack, see the discussion in https://issues.apache.org/jira/browse/HTTPCLIENT-1451
The getChallenges() method of the AuthenticationStrategy seems to be the only place where we have the actual response available - in other places we would need to use the HttpContext, but the response has not been saved in the context yet.

Hi @MikeN123, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

@MikeN123 thanks for stepping into this.

License header was fixed.


Please add mobile user agents also

I want to generate user agents for android, iPhone, tablet, etc pls add

Duplicate https://github.com/fake-useragent/fake-useragent/issues/251

Fixed by: https://github.com/fake-useragent/fake-useragent/pull/290

See the new release: https://github.com/fake-useragent/fake-useragent/releases/tag/1.5.0

You can try to latest version now (2.0.0). Update via:
pip install --upgrade fake-useragent


[AutoPR policyinsights/resource-manager] [Hub Generated] Review request for Microsoft.PolicyInsights to add version 2018-07-01-preview

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5134

Build output:

This PR has been merged into https://github.com/Azure/azure-sdk-for-java/pull/2380


Topic/more commands

This provides a first solution for issue #12 making the number of commands per switch configurable.
With this it should be sufficient to update the MIDI_NUM_COMMANDS_PER_SWITCH constant in flash_midi_settings.h and in python/lib/cmdBinaryPacker.py.
The patches currently bump the number of commands to 10. That required extending the config from 1 flash page to 3. If the config grows more, then the number of flash pages need to be updated in flash_midi_settings.c and in python/lib/cmdBinaryPacker.py.

I forgot to say that I created an extended Google sheet with 10 commands per switch to go with the patches here.

Fantastic!!!! I thought this project had been abandoned !!!!!Could you explain to me how to flash the firmware you are creating?

A quick update on this. I was able to use the firmware from this pull request for a few hours in rehearsal the other day and it worked well. No issues to report :)

Great!!!!!


Rename journal to filename containing date

This will also serve as a marker that the load completed.

Is this needed any longer?

I don't think so.


fixed stacked-cli not generating locator and router file

Running 'stacked create app <app_name>' in terminal using the CLI tool . Locator and Router file was not generated for the app folder in the new app. This is because the stacked_generator version in the stacked_tool package is old. This fix added the latest version of the stacked_generator.

@Edamijueda there is a depreciated 'element' that you are using please change it to 'element2' that's why the unit test it failing

@Edamijueda this would be merged if you just pull master and push. also add package maintenance increase the version and update change log

I have merge, so my cloned version is currently up to date to filledStacks master. I guess I will have to create another pull request?
or is it possible to use this same issue to resolve?


Reinstate subject removal

see if we've solved the issue with high db cpu usage that this was disabled for.
Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

@zwolf can you review this sometime?


[bug] Investigate sensor mapping issue with zooz zse11

Reported from Zooz and @paulcusick3: Seeing that motion is being received as the tamper sensor, not the motion sensor.  Am I alone?

@paulcusick3 Please post a Silly level log of the interview and motion being tripped, and an export of the node.

Log here - didn't see u opened issue.  node 46. log set to debug.  let me know if you need verbose log.
zwavejs_log.txt

silly log.  node 046
silly_log_zwavejs.txt

Interview log
zwavejs_interview.txt

not sure how to export the node.....

That’s it, thanks I’ll look later tonight.

It looks like they send the wrong notification type:
2021-05-05T22:36:46.030Z DRIVER « [Node 046] [REQ] [ApplicationCommand]
                                  └─[NotificationCCReport]
                                      notification type:   7
                                      notification status: 255
                                      notification event:  0x00
                                      event parameters:
2021-05-05T22:36:46.035Z CNTRLR   [Node 046] [~] [Notification] Home Security[Cover status]: 3 => 0 [Endpoint 0]
2021-05-05T22:36:46.299Z SERIAL « 0x01100004002e0a7105000000ff0700010341                              (18 bytes)
2021-05-05T22:36:46.300Z SERIAL » [ACK]                                                                   (0x06)
2021-05-05T22:36:46.301Z DRIVER « [Node 046] [REQ] [ApplicationCommand]
                                  └─[NotificationCCReport]
                                      notification type:   7
                                      notification status: 255
                                      notification event:  0x00
                                      event parameters:
2021-05-05T22:36:46.303Z CNTRLR   [Node 046] [~] [Notification] Home Security[Cover status]: 0 => 0 [Endpoint 0]
2021-05-05T22:36:47.924Z SERIAL « 0x010500131a01f2                                                     (7 bytes)
2021-05-05T22:36:47.924Z SERIAL » [ACK]                                                                   (0x06)
2021-05-05T22:36:47.925Z DRIVER « [REQ] [SendData]
                                    callback id:     26
                                    transmit status: NoAck

The one they send me appears to report correctly. Can you confirm your parameter settings?
21:35:11.406 DRIVER « [Node 006] [REQ] [BridgeApplicationCommand]
└─[NotificationCCReport]
notification type: Home Security
notification status: 255
notification state: Motion detection
21:35:11.415 CNTRLR [Node 006] [~] [Notification] Home Security[Motion sensor status] [Endpoint 0]
: 0 => 8
2021-05-05 21:35:11.417 INFO ZWAVE: Node 6: value updated: 113-0-Home Security-Motion sensor status 0 => 8

Never mind, if you set Parameter 16 to enable the binary sensor I get both:
21:46:38.463 SERIAL » [ACK] (0x06)
21:46:38.477 DRIVER « [Node 006] [REQ] [BridgeApplicationCommand]
└─[NotificationCCReport]
notification type: 7
notification status: 255
notification event: 0x00
event parameters:
21:46:38.483 CNTRLR [Node 006] [~] [Notification] Home Security[Cover status]: 3 => 0 [Endpoint 0]
2021-05-05 21:46:38.485 INFO ZWAVE: Node 6: value updated: 113-0-Home Security-Cover status 3 => 0
21:47:09.202 SERIAL « 0x010d00a8000106043003000c00e385 (15 bytes)
21:47:09.205 CNTRLR [Node 006] [Binary Sensor] Motion: metadata updated [Endpoint 0]
2021-05-05 21:47:09.213 INFO ZWAVE: Node 6: metadata updated: 48-0-Motion
21:47:09.217 CNTRLR [Node 006] [~] [Binary Sensor] Motion: true => false [Endpoint 0]
2021-05-05 21:47:09.219 INFO ZWAVE: Node 6: value updated: 48-0-Motion true => false
21:47:09.223 SERIAL » [ACK] (0x06)
21:47:09.229 DRIVER « [Node 006] [REQ] [BridgeApplicationCommand]
└─[BinarySensorCCReport]
type: Motion
value: false

For now, setting parameter 16 to 0 fixes this and causes it to work fine using the notification sensor in HA. Until the device file comes across you can set that manually at the bottom of zwavejs2mqtt. Parameter 16, size 1, value 0.

Thank you.  Can I set the parameter via the service call zwave_js.set_config_parameter

Not until the new device file is being run. Zjs2mqtt can set raw configuration parameters but the service is restricted to what is defined in the file.


add SR CD icon to frame

add Shamanistic Rage CD to the frame.
Now it shows SR, FS and FET

Merged: https://github.com/doadin/EnhaPrioContinued/commit/690bd1f0ea9f2829109ded62412cebebbac71ed5


Add dtspec and dbt-container-skeleton references

Hi @gnilrets and thanks for the PR, interesting projects you've got there! There's quite a lot to take in but here's how I understood how dtspec and dbt work together:

Create dtspec source-target mapping YML files in dtspec/
Create a dtspec CLI config file dtspec/config.yml
Run dtspec db --fetch-schemas to generate dbt's schema YML files for the target tables
Run dtspec db --init-test-db and dtspec test-dbt to run dtspec tests

Is this correct? What's the benefit of defining the source-target mapping as a dtspec instead of as dbt tests?

@smomni - Great question, I did write up a discourse post on this here - https://discourse.getdbt.com/t/testing-data-transformations/733
In short, dtspec allows you to write tests that show how target data should look after transformation, given some source data.  These kinds of tests can be awkward to write with dbt test SQL.  It's also possible you might want to write a test for a data situation that doesn't yet exist in your data but you expect it may come up some time.  dtspec allows you generate fake data, load it into a test data system, run dbt, and then check that the resultant data is as you expect.

I hear you @gnilrets , thanks for the clarification! Can dtspec read test data from CSV or other file formats? Defining data sets in YML can be a bit cumbersome and prone to formatting errors.

Not through the CLI, but at its core, dtspec is just an API that accepts a JSON message to collect and craft the test data.  So if you can convert CSVs into JSON, you should be able to pass it to dtspec.


Persist nested checkboxes

Theres a defect with this: If you run the server up in dev mode and select term1AA then search it selects term1B too.  In this case it should select Term1, Term1A, Term1AA

@jameskirk84 cant replicate in dev mode

just done a pull and can't replicate the bug.  Selected 1AA and apply filters.  Term1, Term1A and Term1AAA are the only ones highlighted

Managed to replicate however the issue seemed to reside in the stubbed vocab terms in dev.


add telemetry to undo/redo at cell level

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 41.701%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
27272

Relevant Lines:
59347

💛  - Coveralls

Have some compile errors to fix


ui-sref-active support a class match a group state

support like this:
`
sales
`

Thanks for the PR!
I need a few things before I can merge this:

CI is broken (it looks like isArray needs to be imported)
We need a unit test for this (matching multiple globs)
The documentation needs to be updated
The commit message should start with feat(ng1.uiSref):  so it gets picked up in the Changelog

I use this way in my app, but it's not good, like this
`
sales
`
Have a good method to use more convenient ?
eg.
`
sales
`

@liuchungui will you continue this PR?
If not does @christopherthielen have the time to work on it?

@Pirfox I do not have time to work on this right now, sorry.


boards: arm: nrf: Fix dts avoid_unnecessary_addr_size warn

We get the following warning when building nrf52810_pca10040:
Warning (avoid_unnecessary_addr_size): unnecessary
#address-cells/#size-cells without "ranges" or child
"reg" property in /buttons

Remove #address-cells/#size-cells since they aren't needed for gpio_keys
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master   #10086   +/-   ##
=======================================
  Coverage   52.96%   52.96%
=======================================
  Files         214      214
  Lines       26156    26156
  Branches     5636     5636
=======================================
  Hits        13853    13853
  Misses      10030    10030
  Partials     2273     2273

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 1b394d6...60855e8. Read the comment docs.


Updating tasks

@GOKULTVSN
Task -12
Code verified.  provide a annotations  and excel activities are pending
Task -15
Code verified.  provide a annotations
Task -16
Code verified.  provide a annotations
Task -17
Code verified.  provide a annotations
Task -18
Code verified.  provide a annotations
Task -20
Code verified.  provide a annotations
Note:
Provide annotations means the process done with code explain in step vice description and change a activity names with use of activity in this process.


Adding scripts to the website

Once the website has been made, to that, I will add the scripts in the form of cards using HTML and CSS.

Now that Landing Page is ready go ahead @fatmab2809

Now that Landing Page is ready go ahead @fatmab2809


No easy way to bind to selectedDate in DateChooser

In this code the text label does not get updated if the selected date changes.
<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                xmlns:js="library://ns.apache.org/royale/basic">

    <fx:Script><![CDATA[
        ]]></fx:Script>

    <js:beads>
        <js:ApplicationDataBinding />
    </js:beads>

    <js:valuesImpl>
        <js:SimpleCSSValuesImpl/>
    </js:valuesImpl>

    <js:initialView>
        <js:View>
            <js:Group id="content" width="300" height="500">
                <js:beads>
                    <js:VerticalLayout />
                </js:beads>
                <js:DateChooser id="dc1" height="200" />
                <js:Label text="{dc1.selectedDate}" />
            </js:Group>
        </js:View>
    </js:initialView>

</js:Application>

This is not too unexpected but in order to support binding you would need to create both a Bindable data model and a bindable date chooser as both contain a setter/getter for selected date.

See https://github.com/justinmclean/flex-asjs/tree/bindabledatechooser for work in progress.

Interesting problem. The actual selectedDateChanged event is dispatched from the model, but to use this from MXML in data-binding, it should be dispatched from the strand/DateChooser. The DateChooserView intercepts the selectedDateChanged event from the model and it could re-dispatch it from the strand as a way to fix this. But as a general rule, we probably want most "properties" on the strand to be bindable.

I pushed a change to develop branch that should fix this. A bindable selectedDate is consistent with other components like List, which has a bindable selectedIndex property.

I also changed DateField so its selectedDate property is also bindable.

Thanks for that look good. I did notice one minor issue that I'll raise in another issue.


More about async

More about async/await/promises:

Compared: https://www.youtube.com/watch?v=PoRJizFvM7s
More about Promise/fetch: https://medium.com/@armando_amador/how-to-make-http-requests-using-fetch-api-and-promises-b0ca7370a444

Thanks Suus! I'm going to research it! ;)


clients/js: add viem compat wrapper

Any progress on this one?

Any progress on this one?

@BerkliumBirb we will be releasing a new version pending https://github.com/oasisprotocol/sapphire-paratime/pull/303 soon

Closing in favor of #303

@BerkliumBirb we have released an alpha version here.


Support creating JIRA tickets with the findings

It would be great if AllStar supported creating JIRA tickets instead of just GitHub issues, as many projects use JIRA instead.
I might find time to contribute this next year, if no-one else jumps in before then.

Yes, this sounds great. We don't have a design for Allstar to be able to access secrets at the moment, so I assume this could work if JIRA was able to accept anonymous issues.


replace travis-ci and integrate github actions for automated deployment testing

replaced travis-ci and integrated github actions for automated deployment testing


Allow sending events in a StreamController's onListen callback.

The current contract for using synchronous stream controllers say that you must not send events immediately in the onListen callback.
Allowing this would make it easier to implement a Replay functionality by sending all events immediately, and then just staying up-to-speed with future events.
There is no problem doing this with an asynchronous completer because it won't send the event immediately, but a synchronous completer will send the event at a time where the listener might not have set up their callbacks yet (listener callbacks can be set on the subscription object instead of being passed in the listen call). In general, events occurring immediately when you call listen, before the subscription has been returned, has been found to be error-prone with the current API.
There is no combined sync/async controller that can send the first events asynchronously and later events synchronously, which might also handle the same issue.

This has recently been the topic of discussions with Brian Egan for Behavior/ReplaySubject in rxdart.
It seems that to have a "true" Behavior/ReplaySubject we'd have to entirely rewrite StreamController.


0/1 Knapsack Problem(dynamic programming)

Assign this issue to me.

Description
You are given weights and values of N items, put these items in a knapsack of capacity W to get the maximum total value in the knapsack. Note that we have only one quantity of each item.
In other words, given two integer arrays val[0..N-1] and wt[0..N-1] which represent values and weights associated with N items respectively. Also given an integer W which represents knapsack capacity, find out the maximum value subset of val[] such that sum of the weights of this subset is smaller than or equal to W. You cannot break an item, either pick the complete item or dont pick it (0-1 property).
Language used C++

alright you can go ahead

alright you can go ahead

Thankyou


Implement OR for Iris ConstraintCombinations

✨ Feature Request
Implement the OR operator for Constraints
Motivation
Constraints can be combined to give a ConstraintCombination object.  Only the __and__ operation has been implemented (i.e. c1 & c2), it would be useful to create a combination of c1 | c2.

Interesting, though I've long since forgotten what I wanted to do with them!

Interesting discussion, thanks for the link @rcomer.  I can see the argument both ways on this one.


RuntimeError building with mkdocs and Python 3

Details

Project URL: https://readthedocs.org/projects/gitman
Build URL (if applicable): https://readthedocs.org/projects/gitman/builds/4037411/
Read the Docs username (if applicable): jacebrowning

One of my projects has a dependency that requires Python 3, so I selected a CPython 3.x interpreter for my project documented using mkdocs.
Excepted Result
mkdocs succeeds in building the site, as it does locally.
Actual Result
click (a dependency of mkdocs) raises a RunTime error during the build:
python3 -mvirtualenv --no-site-packages /home/docs/checkouts/readthedocs.org/user_builds/gitman/envs/latest
python /home/docs/checkouts/readthedocs.org/user_builds/gitman/envs/latest/bin/pip install --use-wheel -U --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/gitman/.cache/pip sphinx==1.3.5 Pygments==2.1.3 setuptools==20.1.1 docutils==0.12 mkdocs==0.15.0 mock==1.0.1 pillow==2.6.1<EMAIL_ADDRESS>sphinx-rtd-theme==0.1.9 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.5.4 recommonmark==0.1.1
python /home/docs/checkouts/readthedocs.org/user_builds/gitman/envs/latest/bin/pip install --exists-action=w --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/gitman/.cache/pip -r/home/docs/checkouts/readthedocs.org/user_builds/gitman/checkouts/latest/requirements.txt
python /home/docs/checkouts/readthedocs.org/user_builds/gitman/envs/latest/bin/mkdocs build --clean --site-dir _build/html --theme readthedocs
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/gitman/envs/latest/bin/mkdocs", line 11, in <module>
    sys.exit(cli())
  File "/home/docs/checkouts/readthedocs.org/user_builds/gitman/envs/latest/lib/python3.4/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/gitman/envs/latest/lib/python3.4/site-packages/click/core.py", line 675, in main
    _verify_python3_env()
  File "/home/docs/checkouts/readthedocs.org/user_builds/gitman/envs/latest/lib/python3.4/site-packages/click/_unicodefun.py", line 119, in _verify_python3_env
    'mitigation steps.' + extra)
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment.  Either run this under Python 2 or consult http://click.pocoo.org/python3/ for mitigation steps.

This system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the
following environment variables:

    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8

@jacebrowning could you please try again? If I'm not mistaken, https://github.com/rtfd/readthedocs-docker-images/issues/12 is now deployed so this is likely resolved now (at least I haven't had problem win my dev setup :)). Thanks!

Yes, that seems to be working. Thanks!


fix CMakeLists.txt extracting link line from python LDSHARED config var

What does this implement/fix? Explain your changes.
A build using Anaconda's python 3.9 on CentOS7 was consistently failing on linking a shared object, with an error message reporting that x86_64-conda-linux-gnu-gcc couldn't be found.
It eventually turned out that the problem originated from a leading whitespace character in the string returned (in the conda build environment) by sysconfig.get_config_var('LDSHARED'). Because of this leading whitespace character, the compiler program name wasn't removed from the string by .split(' ', 1)[1] and it was therefore included in the PYTHON_LDSHARED cmake variable.
This resulted in the misplaced occurrence of x86_64-conda-linux-gnu-gcc in the link command generated by cmake for some shared objects.
Any other comments?
For reference this is the value returned by sysconfig.get_config_var('LDSHARED') for the same build using python 3.8:
"x86_64-conda-linux-gnu-gcc -pthread -shared -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-rpath,$PREFIX/lib -L$PREFIX/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-rpath,$PREFIX/lib -L$PREFIX/lib"

and (for reasons that are unknown to me) this is the string returned by python 3.9:
" x86_64-conda-linux-gnu-gcc -pthread -shared -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,$PREFIX/lib -Wl,-rpath-link,$PREFIX/lib -L$PREFIX/lib -L$PREFIX/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,$PREFIX/lib -Wl,-rpath-link,$PREFIX/lib -L$PREFIX/lib"

@rvianello : thanks for tracking this down and fixing it!


[🐛]  Unable to resolve module ./types from node_modules\react-native-image-picker\src\index.ts:

Description
I have done installation as per docs and implemented in my app. As soon as i ran the app got this error.
Unable to resolve module ./typesfromnode_modules\react-native-image-picker\src\index.ts:
How to repeat issue
just install the package as per docs and ran the app then you can encounter this error. Please be notified that error is coming in command prompt not in emulator
Solution
I am not sure about it
Additional Information

Image Picker version: 2.3.3
React Native version: "0.63.4"
Platform: Android
Development Operating System: Windows
Dev tools: Android Studio version: 4.1.2

Version 2.x.x is no longer supported, please update to 3.x.x.

Version 2.x.x is no longer supported, please update to 3.x.x.

Thank you @Johan-dutoit . issue resolved

Thank you @Johan-dutoit . issue resolved


refactor: version information for enterprise css and js

Description

Use enterprise script and style from content builder

Have default fallback

Issue

[x] :clipboard: PRSDM-6838

Screenshots
PR Readiness Checks

[x] Your PR title conforms to conventional commits <type>: <jira-ticket-num><title>, for example: fix: PRSDM-123 issue with login with a maximum of 100 characters
[x] You have performed a self-review of your changes via the GitHub UI
[x] Comments were added to new code that can not explain itself (see reference 1 and reference 2)
[x] New code adheres to the following quality standards:

Function Length (see reference)
Meaningful Names (see reference)
DRY (see reference)
YAGNI (see reference)

[x] Changes were tested locally

@DustinFischer
Fingerprints wont work here because they are used for resources that are generated with the build such as the presidium.css file.
Decoupling would be a separate discussion that I'm sure we can have next week in parking lot especially since Gerrit is working on the re-architecture.
Right now in order to get enterprise features into a docsite that is in Presidium enterprise it requires the presidium-enterprise.js and presidium-enterprise.css files. These are served from the server as static files, they are not embedded in the build but we still need the script tags to get them (docsites are not wrapped in anyway). After the last deploy we discovered the cache for these has been set to 1 year and I need a way to break this hence tacking on the version to get the browser to make a new request essentially for the same resource.
I'm not adding any new functionality here just trying to break the cache the browser has. This is also a priority for Monday's deployment


Chore: optimize entry script

Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

🌝


Add extract script

I added script which allows to extract any archive using one command. File is already marked as executable

7Zip can support all these formats single-handedly. So, it would be great if we can use it to handle all types of extractions. What do you think?
https://www.7-zip.org/

In my opinion it's not clever idea since all dependency except rar and 7z are included in every UNIX

You are right. I didn't consider that. But what would you say about using 7zip for rar? rarlab (WinRAR) is not open source and some parts of it is under commercial license as well. I am sure developers (who will use this script) will prefer 7z over unrar binary.

Oh, I didn't know that. This idea sounds good. I will change that

Thanks a lot.


Split ingest SQS queues into SQSMessageHandler classes

A lot of the time in the IngestJobQueueConsumer tests are from the timeout of the Amazon SQS message queues (20s per test, with 4 tests running with 6 parameters, thats ~7-8mins)
Creating an in memory SQS queue that does not have a timeout which can be used in these tests should reduce test time by a good amount.

Closing, going with issues #311 and #312.


Support local imports (use statements in blocks)

Inside a function, I often write something like this:
use Request as R;

match ... {
    R::Info => {...},
    ...
}

But RA seems to have a problem with such imports:
Failed to exactly resolve the symbol. This is probably because rust_analyzer does not yet support traits.
These items were found instead:

Request

Yeah, Seem like current ra_hir::expr::Body do not store local items information :
pub struct Body {
    /// The def of the item this body belongs to
    owner: DefWithBody,
    exprs: Arena<ExprId, Expr>,
    pats: Arena<PatId, Pat>,
    /// The patterns for the function's parameters. While the parameter types are
    /// part of the function signature, the patterns are not (they don't change
    /// the external type of the function).
    ///
    /// If this `Body` is for the body of a constant, this will just be
    /// empty.
    params: Vec<PatId>,
    /// The `ExprId` of the actual body expression.
    body_expr: ExprId,
}

An here is a simplifed test case for this bug:
enum Request {
    Info
}

fn main() {
    use Request as R;
    let _r = R::Info;
}

hover on _r = {unknown}

cc @pnkfelix, supporting local items (\w imports) and laziness is going to be a major design constarint on the name resolution library.
The current code in rust-analyzer just completely ignores local items and builds a Resolver instance for top-level scope.
We can ask the Resolver to process item bodies at the same time as it processes modules, but that would kill laziness.
Instead, I hope that for each function we can create a separate Resolver instance on-demand which references the parent resolver. That is, each function gets its own independent resolver, but they all share the same module-level scope

Is this planned to be implemented (yet)?

This is not planned for the nearest future

Just avoided creating another duplicate of this... Give the amount of refs and duplicates this looks at top priority.

use Enum::* inside function also covered by this issue?

use Enum::* inside function also covered by this issue?
Or it is covered by #4749 ?

I guess the answer is "both"

Any use inside a function does not work at all, because of this issue. #4749 is a specific issue with an assist.

No offense, but it's quite disappointing seeing this issue as not updated nearly a year after the last time I use ra..... It may affect the core design, so imho doing this as early as possible can minimize the amount of code we're gonna change when the refactoring is performed.

No offense, but it's quite disappointing to see people leaving negatively loaded comments about their pet feature not being the prime focus of the project.
Sorry if that came across as condescending, but I needed to get it off my chest and make a point about how to word a message. Keep things positive and you're way more likely to get a positive reaction.
We'd be more than happy to accept any PR's that help the issue along, but so far focus has just been elsewhere because this issue is very workaround-able, and especially because it need a fair bit of design thought and planning, while there is still low-hanging fruit that improves the experience elsewhere.

I think this and the related #1559 are the most duplicated issues on this tracker, so it's clear they are important. On the other hand, they're not trivial to implement and nobody has put in the effort or the funding for it. They will be implemented, but other foundational work like sharing the parser between the compiler and rust-analyzer is more important.

Matklad actually recently wrote an issue for the required refactorings: #5922

Matklad actually recently wrote an issue for the required refactorings: #5922

Oh, that's cool!

If RA desugars each function with local imports into a module with use and function within it, will it work?

@MikailBag you can have use statements at scope level.

It's not that simple, the anonymous modules created by block-level items work differently from named modules (in that everything from the containing named module stays in scope).

Also, the main complication here is not actually implementing the logic, but doing it in a way that doesn't require us to parse all function bodies all the time.

If RA desugars each function with local imports into a module with use and function within it, will it work?

This will produce significant large amount of modules, which is no good.

Yeah, the #5922 is still how I think we should proceed here. Basically, we first should refactor existing code to be more modular, and than we should add support for local modules.
PRs welcome, but be warned that this is a large task. I'd estimate it as 1-2 weeks full-time for someone who is already familiar with the relevant infra.
At the same time, I wouldn't worry to much about "core design" here. I think both of these are true:

the whole DefCollector thing needs to be rewritten
this won't affect code outside of the name resolution, as the interface is isolated enough.

Also, +1 to this comment regarding the language :-)

At the risk of dragging this on more, I just want to make the point that from the perspective of this particular user, false positive compilation errors would have the most positive impact on my experience using RA -- substantially more than refactoring tools, search & replace tools, further performance improvements or more code sharing. Of course this disregards the experience of RA contributors and wider ecosystem benefits from things like code sharing, but I feel like it should count for something.
I don't know if/how RA prioritizes work currently -- making that more transparent might also help in the sense of making it more concrete what trade-offs are affecting issues like this. Also, this is the kind of thing where I wonder if a focused fundraising effort could help -- I for one would gladly contribute some cash to help prioritize this, but I don't think my one-man business can currently sustain paying for the entirety of 1-2 person-weeks of work.

For wording, my initial intention was to bring some "ping"-like comments so there can be some discussion. This issue is so important but is only widely mentioned, and is on page 3 when sorting issues with "most discussed". I apologize for the moronic words though, I have made some attempts on trying to make this work (like introducing block-modules) before, but they turns out to be not good design, so I'm aware of the difficulty of the task.
Thanks for everyone who have made RA so great!

I'd just like to chime in with some motivation on why I think supporting local use statements is an important issue:
Increasingly I only put a use statement at the top of a file if the imported symbol will be used throughout the file. Instead I prefer my use-statements inside my functions. I find that this improves the readability of my code as it makes it more obvious where a certain symbol came from (without the reader having to scroll to the top of the file). But maybe even more importantly it improves refactorability (yes, it is a word). Earlier when moving code between files I needed to spend a lot of time figuring out which use statements (and before that #includes) to copy and/or move to the other file. When the use statements are part of the function body, that work is almost completely gone.
In short: just like I try to limit the scope of my variables, I try to limit the scope of my use statements.

This is now implemented and was fixed by https://github.com/rust-analyzer/rust-analyzer/pull/7614 / https://github.com/rust-analyzer/rust-analyzer/pull/7627.
There are still some known bugs and missing parts, like local impls (which should at least work for types that are also local), and some remaining cleanups to be done, but the bulk of the work is now done, so closing.

It's so beautiful...

Thanks @jonas-schievink ! this has been my most-desired missing feature in rust-analyzer for such a long time!

@jonas-schievink woo! Thanks so much for picking this up.


fix(PlanCard): use darker color for crossed-out features

Overview

The previous color (gray-600) was too light and failed accessible contrast requirements. This darker color (text-secondary/navy-600) passes.

PR Checklist

[x] Related to designs: https://www.figma.com/file/StdEaUp1tBjcdikj0PLZBn/Accessibility-issue-with-strikethrough-grey?node-id=501-1704&t=HCFVMwAkqk3lgw7f-0
[x] Related to JIRA ticket: FLOW-417
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change
[ ] This PR includes testing instructions tests for the code change
[ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Don't make me tap the sign.
PR Links and Envs

Repository
PR Link
PR Env

Monolith
Monolith PR
Monolith Env

Portal
Portal Link
Portal Env

Another Repo
Another Link
Another Env

📬Published Alpha Packages:@codecademy/gamut-kit@0.6.305-alpha.d54245.0@codecademy/gamut-labs@35.11.3-alpha.d54245.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://643462bb438b6f00af1aa75d--gamut-preview.netlify.appDeploy Logs


Reduce bandwidth of images from cameras on frontend

Description:
I have several cameras connected to Home-Assistant, and do not have a high-bandwidth upload rate from my server.  I also tend to have several users looking at the home page remotely at any given time.
The current camera code sends the highest resolution image available to the frontend.
This change allows the frontend to request a lower resolution image to match the current requirements.
The new component 'resize_image' (if enabled) will use PIL to resize the image.  Note that resizing only occurs if enabled in the configuration AND if the frontend requests it (the current implementation has the frontend request camera images be resized when the camera-card is displayed, but not in the more-info view)
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Pull request in frontend: https://github.com/home-assistant/home-assistant-polymer/pull/795
Example entry for configuration.yaml (if applicable):
resize_image:
    max_width: 360 (optional)
    quality: 75 (optional)

Checklist:

[x] The code change is tested and works locally.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

I am going to close this PR. We need to rethink how we do camera images and streams in general.


Issue 72 dynamic schemas

Hi,
This is an attempt to create dynamic schemas as documented on
https://github.com/hfaran/Tornado-JSON/issues/72
I also created a class that IMHO can be used to create in a more elegant way the Dynamic Schema
Please, tell me what you think.
Resolves #72

Hi @mauler thanks for this! I'll have a chance to look at both your PRs in more detail in a few weeks. I'm just really busy at the moment but I'll get to them eventually!

Coverage decreased (-2.5%) to 93.41% when pulling 32b50a1e1ad72064ceb131b663ba5d46f2a3660f on mauler:issue-72-dynamic-schemas into ddf59307c26df93f8e5af50b7a54e1577891e8dd on hfaran:master.


Strange behavior for date/time picker in jsonschema form

Lots of weird stuff. Changing hour can change the day. Different value than typed appears.

That's great news, thanks @nikkwong !
@ryana -- see any issues with doing a npm update on our demo machine?

Confirmed fix locally.
In commit 05fc8c0333285f908c00bc2c1aa98a754c26b6e2


What does the Foreground Label Map mean?

Hi, thanks for your good wokr. What does the Foreground Label Map mean? How to achieve it?

Hi, thanks for your good wokr. What does the Foreground Label Map mean? How to achieve it?

The foreground-background label map indicates the locations of foregrounds and backgrounds.
In training phase, we can achieve it using the corresponding ground truth.
In inference phase, we can get it using the predicted target bounding box by our tracker.

This issue is closed. Feel free to create new issues if you have any questions.


Update dependencies automatically with Release Hub Gradle Plugin

This merge request adds support for automatic dependencies updates using Releases Hub Gradle Plugin
This plugin will automatically update dependencies in the source code and create pull requests with changes. Here is an example of what it will look like.
Dependencies are now kept together with versions and will be edited automatically by the plugin. Updates will run twice a month or by a manual request

That's a cool feature, but Are you sure that we have enough tests for auto-updating dependencies, especially Android tests?

That's a cool feature, but Are you sure that we have enough tests for auto-updating dependencies, especially Android tests?

There are no tests for now, but i wanted to add them in future. I guess tests are not a problem, since mr still will be merged manually. If there will be any necessary changes they can be added to the mr with version updates. If some bugs with dependency udpate won't be found in review they can still be tracked in the app's testing cycle. This is similar to updating any other dependencies in the vivid.money app. Dependencies are updated manually and the rest of responsibility is on the QA team

That's a cool feature, but Are you sure that we have enough tests for auto-updating dependencies, especially Android tests?

There are no tests for now, but i wanted to add them in future. I guess tests are not a problem, since mr still will be merged manually. If there will be any necessary changes they can be added to the mr with version updates. If some bugs with dependency udpate won't be found in review they can still be tracked in the app's testing cycle. This is similar to updating any other dependencies in the vivid.money app. Dependencies are updated manually and the rest of responsibility is on the QA team

Got it. Works for me.

@sergei-lapin Could you please take a look at this? I suppose it would be better, since this pull request is in the area of your competence


fix: Apply pre-line into the OpenChannelUserMessage

For Internal Contributors
UIKIT-2544
Types Of Changes
What types of changes does your code introduce to this project?
Put an x in the boxes that apply_

[x] Bugfix
[ ] New feature
[ ] Documentation (correction or otherwise)
[ ] Cosmetics (whitespace, appearance (ex) Prettier)
[ ] Build configuration
[ ] Improvement (refactor code)

lets merge this to main first ~

https://github.com/sendbird/sendbird-uikit-react/pull/362#pullrequestreview-1174948013


get the angle of face in facemesh in python

Hi, i have installed sample app name "Face Effect" on android. The app using  facemesh to get face angle as you can see:

reference: Android target: ( prebuilt ARM64 APK) mediapipe/examples/android/src/java/com/google/mediapipe/apps/faceeffect
how can i get & draw this result on python?

Hi @hungtooc, Could you provide  use case with complete details and code repo. Thanks!

Hi @hungtooc, Could you provide use case with complete details and code repo. Thanks!

sorry i'm not an Android coder, i just install the prebuild file app "Face Effect". I dont know where is the code to get and draw 3 coordinate axis in the image in android project. But i know they can draw x,y,z axis to describe the rotation angle on android project. How can i get the values of face rotation angle on Python.

Hi @hungtooc, Could you provide use case with complete details and code repo. Thanks!

sorry i'm not an Android coder, i just install the prebuild file app "Face Effect". I dont know where is the code to get and draw 3 coordinate axis in the image in android project. But i know they can draw x,y,z axis to describe the rotation angle on android project. How can i get the values of face rotation angle on Python.

We haven't integrated the face geometry data in the Python API. Will provide updates when it becomes available.

Hi @hungtooc, Could you provide use case with complete details and code repo. Thanks!

sorry i'm not an Android coder, i just install the prebuild file app "Face Effect". I dont know where is the code to get and draw 3 coordinate axis in the image in android project. But i know they can draw x,y,z axis to describe the rotation angle on android project. How can i get the values of face rotation angle on Python.

We haven't integrated the face geometry data in the Python API. Will provide updates when it becomes available.

nice! thank you.

any updates?i need this as well

Me too, any news here?

Me too, any news here?

solved it!. but sorry i can't share because commerce. This is a part in my solution shttps://mathworld.wolfram.com/EulerAngles.html

@jiuqiant  This is still not solved, so would be great if you could reopen it.
Wouldn't it be sufficient to add the following lines to the python build and create a new solution for it?
cc_library(
    name = "builtin_calculators",
    deps = [
        ...

        "//mediapipe/modules/face_geometry:face_geometry_from_landmarks",
        "//mediapipe/modules/face_geometry/data:geometry_pipeline_metadata_landmarks",

        "//mediapipe/modules/face_geometry:face_geometry_from_detection",
        "//mediapipe/modules/face_geometry/data:geometry_pipeline_metadata_detection",
    ],
)

something may helpful to solve this problem:
https://stackoverflow.com/questions/18789232/rotate-a-3d-object-in-python
https://mathworld.wolfram.com/EulerAngles.html

@hungtooc How did you get the transformation matrix in python? I know how to rotate in 3d space, the problem is to get the transformation matrix from the landmark detection.

@hungtooc How did you get the transformation matrix in python? I know how to rotate in 3d space, the problem is to get the transformation matrix from the landmark detection.

ys, zs, xs = getaxis(face.face_landmarks.landmark)

def getaxis(landmarks):
    xs, ys, zs = [], [], []
    landmark = list(landmarks)
    for mark in landmark:
        xs.append(mark.x)
        ys.append(mark.y)
        zs.append(mark.z)
    return xs, ys, zs

Take a look at:

https://github.com/cansik/mediapipe-face-geometry
https://github.com/cansik/mediapipe-extended
For a


Anchorable entities with a SnapGrid component do not grid-align when anchored.

Not sure if this is a bug but it sure seems like it.

This should be fixed by a lot of my physics stuff already. Closing.


Add network PMTU support

This implements IPv4 and IPv6 Path MTU Discovery support.
See https://www.rfc-editor.org/rfc/rfc1191 for IPv4 and
https://www.rfc-editor.org/rfc/rfc8201 for IPv6
General PMTU information can be found here https://en.wikipedia.org/wiki/Path_MTU_Discovery
Original issue here #2302

Note to self, the fragmentation code in both IPv4 and IPv6 needs some additional checks for PMTU. Need to fix that after 4.0 is released.

Marking this as WIP/DNM as I need to implement these features:

IPv4/IPv6 fragmentation code needs some tweaks for PMTU support
There are socket options for setting/getting PMTU values from application. I will implement these in this PR.

Changed the IPv4/6 fragmentation code to take PMTU into account
Add IPV6_MTU and IP_MTU socket option support + tests for those

There is still IP_MTU_DISCOVER and IPV6_MTU_DISCOVER options that could be implemented, but that can be done in the future.

Rebased latest main
Fixed the IPv6 fragment data count which must be a multiple of 8 bytes. The issue was not seen earlier because we always sent max. 1280 bytes in one fragment. But now the real MTU is used instead which need to check this.

@pdgendt if you have time, please take a look.


[Issue]: incorrect L2_cache_size reported by torch.cuda.get_device_properties

Problem Description
w/ torch-2.6 torch.cuda.get_device_properties reports:
_CudaDeviceProperties(name='AMD Instinct MI300X', major=9, minor=4, gcnArchName='gfx942:sramecc+:xnack-', total_memory=196592MB, multi_processor_count=304, uuid=66333330-6463-3464-3030-646565323262, L2_cache_size=4MB)

It currently reports an invalid L2_cache_size- it reports the size of a single compute die and not of the who accelerator. It's 4MB per compute die - but there is no information of how many compute dies there are or it suggesting that it's per die - so this is then misleading/incorrect.
There should be 8 in the case of MI300X and the total should be then 32MB.
I first thought it was a pytorch issue, but I was told that the issue comes from ROCm.
If you're on torch slack please see this thread:
https://pytorch.slack.com/archives/C3PDTEV8E/p1735067560696929?thread_ts=1735017298.875249&cid=C3PDTEV8E
Operating System
Ubuntu
CPU
not sure
GPU
MI300X
ROCm Version
ROCm 6.2.4
ROCm Component
HIP
Steps to Reproduce
torch.cuda.get_device_properties()
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
torch=2.6.0a0+gitd6a066e
hip=6.2.41133-dd7f95766

Hi @stas00. Internal ticket has been created to investigate your issue. Thanks!


Outdated firebase libraries in Android docs

The firebase-core has been deprecated in favor of the firebase-bom library, and should be updated as such in the referenced lines below:

Moreover the latest version for firebase-messaging is now 24.0.0.
https://github.com/MicrosoftDocs/azure-docs/blob/416f2ad4185378fe9a42f8aa5c931167e4d82100/articles/notification-hubs/notification-hubs-android-push-notification-google-fcm-get-started.md?plain=1#L131-L132

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

ID: 6fd4915d-64a9-b703-f139-91338412825a
Version Independent ID: e731d0e6-e063-d209-7faf-82db773e5d30
Content: Send push notifications to Android using Azure Notification Hubs and Firebase SDK version 1.0.0-preview1
Content Source: articles/notification-hubs/android-sdk.md
Service: notification-hubs
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@SuhitAgarwal
Thanks for your feedback! We will investigate and update as appropriate.

sounds good, thanks for the update!


Grist with Portainer

Hi, anyone using grist with portainer?
I tried but getting 'fetch' error. And the page shows 'something went wrong'
Can anyone help self hosting  Grist with Portainer?
A template would be great if no then a docker-compose.

Can you post your portainer config? Are you using a stack? It looks to me like this is an issue with one of the config variables like GRIST_HOST or GRIST_DOMAIN. You could try setting those to something like 'localhost.'


What is the max number prompts that the generate() method can take

What is the max number prompts that the llm.generate() method can take?
I know vllm uses continus batching, but I want to dobule check if we can feed any num of prompts for this method

Hi @hxue3, thanks for the question. The LLM class automatically batches the input sequences based on the available memory in your GPU and returns the results after every input is processed. Therefore, you can put any number of prompts in llm.generate() and it's indeed the best way to maximize the throughput.

@WoosukKwon I noticed that, the more prompts I feed into the function, the lower process speed I got. For example, when I only input 1k prompts, the speed input/output speed is about 17000/5000 toks/s, when I input 10k prompts, the input/output speed is about 7000/2000 toks/s.
I have about 1 million prompts to process. If I push all these prompts into the fucntion, it took quite a long time before the "Processed prompts" bar shows up. In this waiting period, the CPU utilization on my machine is rather low (nearly 0), so I'm wondering what is going on in this period? Is it the tokenization process for all the prompts? If so, the CPU utilization should be high.


History page is unavailable from the central visualizer page

I can't seem to find a link to the task history from the central visualizer page. Am I missing a link somewhere?

You have to visit the /history url directly.

This information is exposed via the Central Scheduler at /history.

https://luigi.readthedocs.io/en/stable/central_scheduler.html#enabling-task-history

Yes, I've been accessing it like that. But maybe there should be a hyperlink on the central visualizer page that points us to the /history url?

I would like to see that feature as well. Not sure what the maintainers think

Is #2759 what you're asking for?

Yep! That looks like exactly what I wanted, at least. Thanks @riga !


Unnecessary svg for checkbox

I hit a problem with masked ::before for checkbox. I use this css library in website loaded inside of iframe in closed environment with very strict rules. Console contains this error:
Refused to load the image 'data:image/svg+xml;base64,PHN2.....3ZnPgo=' because it violates the following Content Security Policy directive: "default-src 'self' hidden-hostname-1 https://localhost:4746 https://localhost:4748 hidden-hostname-2 'unsafe-inline' 'unsafe-eval'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.

Even if you don't use this svg and remove ::before, the checkbox looks good

Would it be possible to remove this custom svg for checkbox?

Hi !
I'll look into it in the near future, it'd also reduce the overall build size too so that's definitely a good change !


Project management feature + October Dame Sprint

This PR contains the June (and final) updates to the Project Management Feature plus the October Dame Sprint work.
There has been no demo for the October Dame Sprint, so those cards should be reviewed against this PR for functionality (by non sprinters).
Also, changes have been made to listeners and factories by the master, project-management-feature, and dame-sprint-oct-staging branches.
We need to verify that Magpie still works as expected for all use cases before merging this PR.

Coverage decreased (-1.07%) to 26.159% when pulling 4b5bf628ef9a76dc4f7d32dbeb92a0208a979726 on project-management-feature-dame-oct into 685bcb16545d46dbcf0cf5856e47824326790ebf on master.


Compliance cli report

Description
Add a cli output option to the node["audit"]["reporter"]
This results in the following output at the end of the chef run:

Related Issue
https://github.com/chef/chef/issues/10938
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

@kagarmoe Would this need to be fit into the open PR we have for docs in the Compliance Phase?

@kagarmoe Would this need to be fit into the open PR we have for docs in the Compliance Phase?

Thanks @aknarts

@aknarts I used this in our Compliance Phase webinar today. It was a great way to visualize the Compliance Phase running. Thanks!

@tas50 Glad it is of some use to somebody else than us.


OSFUSE-605: build may be already finished in Openshift 3.7

It seems that in Openshift 3.7 binary builds return a HTTP response only when the build is finished. Before 3.7, a build object was returned immediately, allowing us to do tail log.
The late response make chances of blocking indefinitely much higher, because the build may be already finished by the time we start watching on the "finish" event.
This should affect also the "master" branch.

@rhuss can you have a look? This should be fixed soon..

Ported to master.

@nicolaferraro looks like it break the CI build on master, e.g. https://travis-ci.org/fabric8io/fabric8-maven-plugin/builds/255127992?utm_source=github_status&utm_medium=notification
See also #990

Looking at it..


add loading indicator

JIRA

https://lobsters.atlassian.net/browse/DANG-344

Description

Partners team would like to use our loading indicator

Reviewer Checklist
This section is to be filled out by reviewers
Testing

[ ] This code was tested by somebody other than the developer. Do not merge until this has been done.

@juanfriss Weird... I do see it

@juanfriss Weird... I do see it

I was pretty confident this was me and my Windows (again)... but apparently no one can see it!

@juanfkt93 ah ::shakes fist:: PurgeCSS. Fixed. Need to put a width/height on it explicitly for storybook.


Submit to JSDelivr CDN

Would be great to have this on JSDelivr so we can download it with our other scripts (via JSDelivr's concatenation feature).
See https://github.com/jsdelivr/jsdelivr/blob/master/CONTRIBUTING.md

Will it be of any value for me to do it? I have to say I'm quite tired of adding my lib to the new CDN-of-the-day. If you want to do it, be my guest. You're probably 100% more proficient in JSDelivr than I am and I am sure we will all save some precious time.
If you need me for this, just let me know.


Engine-Response returns messages by objective id

Description
Update Engine-Response to return messages by objective id.
By indexing messages by objective id it allows the wallet to get messages specifically per an objective.
This is helpful in ensureObjective as we can only send the messages for the objective instead of all the messages.

Checklist:
Code quality

[ ] I have written clear commit messages
[x] I have performed a self-review of my own code
[x] This change does not have an unduly wide scope
[x] I have separated logic changes from refactor changes (formatting, renames, etc.)
[x] I have commented my code wherever necessary (can be 0)
[x] I have added tests that prove my fix is effective or that my feature works, if necessary

Project management

[x] I have applied the appropriate labels
[x] I have linked to all relevant issues (can be 0)
[x] I have linked to all dependent issues (can be 0)
[x] I have assigned myself to this PR
[x] I have chosen the appropriate pipeline on zenhub for the linked issue

Could you explain in the description how messages unrelated to objectives are handled?


[UTILS-120] Set up SparkSession in SparkFunSuite

Fixes #120

Coverage decreased (-13.9%) to 40.532% when pulling 6511ef9c4a7c5f1e0933b09d7c40bfd0f851a03a on heuermh:spark-session into 801473bd87b4d8852349ea5ad8d76716ae430023 on bigdatagenomics:master.

Coverage decreased (-13.9%) to 40.532% when pulling 6511ef9c4a7c5f1e0933b09d7c40bfd0f851a03a on heuermh:spark-session into 801473bd87b4d8852349ea5ad8d76716ae430023 on bigdatagenomics:master.

Coverage decreased (-13.9%) to 40.532% when pulling 6511ef9c4a7c5f1e0933b09d7c40bfd0f851a03a on heuermh:spark-session into 801473bd87b4d8852349ea5ad8d76716ae430023 on bigdatagenomics:master.

Coverage decreased (-13.9%) to 40.532% when pulling 6511ef9c4a7c5f1e0933b09d7c40bfd0f851a03a on heuermh:spark-session into 801473bd87b4d8852349ea5ad8d76716ae430023 on bigdatagenomics:master.


CI: Sign commit for package version auto bumping

In GitHub action for solidity contracts package publication in a package registry, we bump up the package version and Mr. @thesis-heimdall commits the changes. This automatic commit is unsigned right now. We need to configure it to be signed.

Closing this issue as we've already got solution for rc npm packages publication.


Bug fix for floating point precision in encoded redis commands.

str() limits the float precision to a total string length of ~13 character

>>> str(1234567890.123456)
'1234567890.12'
>>> str(1234567890123.456)
'1.23456789012e+12'

Fix this by using format():

>>> import time
>>> str(time.time())
'1330403052.79'
>>> format(time.time(), 'f')
'1330403055.444572'

This patch is especially useful for using high-precision timestamps as the score in a sorted set.
See also: https://github.com/andymccurdy/redis-py/pull/227#issuecomment-4300413

looks ok to me, thanks for the patch.


Capture latency of build cache HTTP requests

Capture the latency of HTTP requests to the build cache as a new build operation.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test QFL please.

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build

Closing this as the experiment is now concluded.


Rewrite CompareMessage to check the whole string

Instead of checking just a single string component like before.
Fixes the issues reported in https://github.com/phil-opp/blog_os/issues/591#issuecomment-494615540. Alternative to https://github.com/phil-opp/blog_os/pull/610.
cc @xj42

Post update in c8d1bbeef83687092a6a8f76b9a15aba0cb90b1e.


Hotfix promise return on performSearch

Current coverage is 87.52% (diff: 100%)

Merging #151 into develop will not change coverage

@@            develop       #151   diff @@
==========================================
  Files           123        123
  Lines          2165       2165
  Methods          62         62
  Messages          0          0
  Branches        161        161
==========================================
  Hits           1895       1895
  Misses          210        210
  Partials         60         60

Powered by Codecov. Last update 552ee01...49ab434


Add Adafruit feather and itsybitsy rp2040

Draft PR for discussion only, should be toward rpi/board-headers later on.
This takes discussion from https://github.com/raspberrypi/pico-sdk/pull/138 into account. Though the board definition doesn't do much than define UART, LED pin along with Flash size for Feather & ItsyBitsy RP2040. Currently there is no PICO_DEFAULT_ for I2C or SPI, but it still be a good start to have user to blink from pico-sdk on our actual hardware (still need https://github.com/raspberrypi/pico-examples/pull/57)
from RPi document to build with our board
cd pico-examples
mkdir build-feather
cd build-feather
cmake -D"PICO_BOARD=adafruit_feather_rp2040" ..

Then proceed to build normally with generated make.

Hi. A suggestion for you board configs, include a define near the bottom of your files that can be used by code to check what board is being used. For instance the vgaboard.h that is already in the SDK has #define PICO_VGA_BOARD on the third line from the bottom:
https://github.com/raspberrypi/pico-sdk/blob/2d5789eca89658a7f0a01e2d6010c0f254605d72/src/boards/include/boards/vgaboard.h#L102
For our Pimoroni boards we've added #define PIMORONI_TINY2040 and #define PIMORONI_KEYBOW2040

Ah thanks for the tip, it is indeed very handy, I basically mirror the pico.h which doesn't define that. It seems to be quite important, maybe, I should put it in the beginning instead :smiley:

add PICO_DEFAULT_WS2812_PIN following https://github.com/raspberrypi/pico-sdk/issues/188

closed, official PR is submitted to https://github.com/raspberrypi/pico-sdk/pull/194


Problem with datasets hidden : true/false

hi guys i need your help,
there is a script on js that the hidden of my datasets change from false to true with a button on html?
in my chart i've a lot of datasets and i need to show or not show all on button.onclick
Thanks

@sbube you can just use the click handler of the button to update the data object. Once you've done that, you can do chart.update() to cause it to re-render

ok but in this http://www.chartjs.org/samples/latest/charts/line/basic.html there is a button "Remove Dataset" that disable the datasets of the chart one by one i can't disable all the datasets at the same time
???

@sbube that button actually removes a dataset so that it is no longer in the chart. You can remove as many datasets as you want at a time.

Closing as answered


Fix rule and re-generate

What is the problem fixed in this PR?
The both scenarios should not be amber:

Why
all heads of channels are configured accordingly and they have 1 head at least which is compatible with 4.9
What was wrong?
we check the total of heads, the total of heads whcih are migrated and the total of heads that are configured accordingly
then, we need to ensure that the total of heads migrated + configured accordingly is >= total of heads.
In this case, because of the OCP label config, they are > and not ==.
See the fix: https://github.com/operator-framework/audit/pull/69/commits/cb49fdaa9479c9d508444485fd1f2e9dacc94879#diff-5ea52bfb8a6273473b09e400058d3cafa4aa709a2657613d1649efe22e75e24eR55
why this or has more files
The helpers were used to regenerate the report with the fix.
we are updating the reports as well.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 2 (0.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.006%) to 0.858%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/reports/custom/custom_helpers.go
0
1
0.0%

pkg/reports/custom/deprecate_rules.go
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/reports/custom/custom_helpers.go
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
18

Relevant Lines:
2099

💛  - Coveralls


Add config for right-to-left progress (for RTL languages)

To properly support RTL languages like Hebrew, the progress should be able to animate right-to-left.
This adds an option to configure the progress bar to be RTL:
rtl
Change the progress direction to right-to-left. (default: false)
NProgress.configure({ rtl: true });

@rstacruz Any plan on support right-to-left? :)

This solution works perfectly https://github.com/rstacruz/nprogress/issues/206

@rstacruz , is there any chance that this PR will be merged soon?

This solution works perfectly #206

The issue is about adding a rtl option to the config.
(besides that editing the node modules directly is never a [perfect] solution).

@Iliyass Any idea when this PR will be merged?


iTerm2 implementation

I’ve ported Eldritch to iTerm2: https://github.com/mikl/eldritch-iterm2
We can keep it there, or move it to this org, let me know what you prefer.

ya let's move it in!

I sent you an invite to organization after transfer I'll make you admin for that repo thanks @mikl

Alright, repo moved: https://github.com/eldritch-theme/iterm2

thanks, made you admin for that repo, also added to main readme already

Great, thanks for creating this theme.


[Issue] Error syncing images with annotations from Docker Hub to GCR

Current Behavior
When regsync is used to sync an image whose manifest contains an annotations field to GCR it fails with the following error:
Failed to deserialize application/vnd.docker.distribution.manifest.list.v2+json

From what I can tell this is because the annotations field isn't part of the official spec for a manifests list and GCR is rejecting the manifest when regsync tries to PUT it. The reason the field is set at all is because Docker Hub appears to allow it:
$ curl -LH "Authorization: Bearer ${TOKEN}" \
  -H "Accept: application/vnd.docker.distribution.manifest.v1+json,application/vnd.oci.image.manifest.v2+json,application/vnd.docker.distribution.manifest.v1+json,application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.oci.image.index.v1+json" \
  "https://index.docker.io/v2/clickhouse/clickhouse-keeper/manifests/<IP_ADDRESS>"
{
  "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
  "schemaVersion": 2,
  "manifests": [
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:f88b665f6009f7b2c3ece224159cdbdb631019b1abcd579a39ddb041c0aadb1b",
      "size": 1431,
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:921ff55bb567b75e5b35d614f0a32b1a56fea821fb7df9068c88917d7bb96e19",
      "size": 566,
      "annotations": {
        "vnd.docker.reference.digest": "sha256:f88b665f6009f7b2c3ece224159cdbdb631019b1abcd579a39ddb041c0aadb1b",
        "vnd.docker.reference.type": "attestation-manifest"
      },
      "platform": {
        "architecture": "unknown",
        "os": "unknown"
      }
    },
    ...

Expected Behavior
This isn't a problem with regsync, but it would be nice to have a way to work around it so that the sync could ignore the unsupported fields. Alternatively, instead of ignoring the unsupported fields, I also noticed during testing that if I removed the application/vnd.docker.distribution.manifest.list.v2+json media type from the Accept header that is sent in the initial GET request for the manifest, Docker Hub would respond with a manifest in the application/vnd.oci.image.index.v1+json media type and that manifest could be successfully sync'ed to GCR.
Steps To Reproduce
I've observed this issue with the clickhouse/clickhouse-server:<IP_ADDRESS> image and can reliably reproduce by running regsync once -c config.yml where the contents of the config file are:
creds:
  - registry: gcr.io
    repoAuth: true
sync:
  - source: clickhouse/clickhouse-server
    target: gcr.io/<some-registry>/clickhouse-server
    type: repository
    tags:
      allow:
        - "<IP_ADDRESS>"

Version
I confirmed this is an issue on HEAD:
$ ./bin/regsync version
VCSTag:     (devel)
VCSRef:     25b923cdbf4aedf64aad9a4d2b1a17b52146124b-dirty
VCSCommit:  25b923cdbf4aedf64aad9a4d2b1a17b52146124b
VCSState:   dirty
VCSDate:    2023-06-12T12:51:53Z
Platform:   darwin/arm64
GoVer:      go1.20.4
GoCompiler: gc

Environment

Running as binary or container: Binary
Host platform: Mac
Registry description: Syncing images from Docker Hub to GCR

Anything else

Anything that mutates the image risks dramatically slowing down regsync since it would have to mutate the image every time to see if it's changed from the previous time. So while I'm considering it, I'm also very hesitant.
For this specific issue, I'd look at how the image was built. If buildkit is generating images with application/vnd.docker.distribution.manifest.list.v2+json that contain application/vnd.oci.image.manifest.v1+json, that should probably be fixed. The manifest list would preferably have application/vnd.oci.image.index.v1+json as the mediaType to match the manifests in the list.
You can convert the image mediaTypes to their OCI verseions with:
regctl image mod --to-oci clickhouse/clickhouse-server:<IP_ADDRESS> --replace

Or with the current main branch / edge images, the following can be used to modify the image while copying it:
regctl image mod --to-oci clickhouse/clickhouse-server:<IP_ADDRESS> --create gcr.io/<some-registry>/clickhouse-server:<IP_ADDRESS>

Anything that mutates the image risks dramatically slowing down regsync since it would have to mutate the image every time to see if it's changed from the previous time. So while I'm considering it, I'm also very hesitant.

Totally understandable! Perhaps it wouldn't be as worrisome if we made the behavior opt-in? Though just to be clear too I'm not saying this approach is the right one, just that it might be worth making the behavior configurable if you do think it's best.

For this specific issue, I'd look at how the image was built.

Unfortunately I don't have control over the build process for the original image, it's a third-party image that I'm just copying into an internal registry. With that being said though, I can take a look into their repo to try and get a better idea of how they're building the images.

If buildkit is generating images with application/vnd.docker.distribution.manifest.list.v2+json that contain application/vnd.oci.image.manifest.v1+json, that should probably be fixed.

Yea, that's the case here 😢

The manifest list would preferably have application/vnd.oci.image.index.v1+json as the mediaType to match the manifests in the list.

The behavior of Docker Hub is pretty odd here (this may very well be just a reflection of my own ignorance of the Docker registry API's 😅) . During testing I noticed that if I removed application/vnd.docker.distribution.manifest.list.v2+json from the list of accepted media types it returned a application/vnd.oci.image.manifest.v1+json object instead (though not a application/vnd.oci.image.index.v1+json object):
$ curl -LH "Authorization: Bearer ${TOKEN}" \
  -H "Accept: application/vnd.docker.distribution.manifest.v1+json,application/vnd.oci.image.manifest.v2+json,application/vnd.docker.distribution.manifest.v1+json,application/vnd.oci.image.index.v1+json" \
  "https://index.docker.io/v2/clickhouse/clickhouse-keeper/manifests/<IP_ADDRESS>"
{
  "mediaType": "application/vnd.oci.image.manifest.v1+json",
  "schemaVersion": 2,
  "config": {
    "mediaType": "application/vnd.oci.image.config.v1+json",
    "digest": "sha256:e853f03862c7c1b5f3257ef3372340bad698e5bab7615644217741af3e3e5fc0",
    "size": 9296
  },
  "layers": [
    {
      "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",

Here's the bug: https://github.com/ClickHouse/ClickHouse/blob/607f337d67c5353a7caca93c6c1d5a03da684c48/tests/ci/docker_server.py#L296-L299
Which was just fixed in the latest buildx 0.11.0 release: https://github.com/docker/buildx/pull/1797

Here's the bug: https://github.com/ClickHouse/ClickHouse/blob/607f337d67c5353a7caca93c6c1d5a03da684c48/tests/ci/docker_server.py#L296-L299
Which was just fixed in the latest buildx 0.11.0 release: docker/buildx#1797

Oh, that's great! Thanks for the pointer 🙏 I can follow up with the upstream about upgrading to buildx 0.11.0.

I'm closing this out since it needs to be resolved either on the CLickHouse or (less likely) GCR side. For a one-off copy:
regctl image mod --to-oci clickhouse/clickhouse-server:<IP_ADDRESS> --create gcr.io/<some-registry>/clickhouse-server:<IP_ADDRESS>

should help, using the latest regctl release.
The ability to mutate images with regsync is still on my list of things I'm considering, but I'd want to find a way to do that which doesn't require pulling/pushing every image on every sync.

Sounds good to me, thank you for the help @sudo-bmitch!


Session deleted, but no DELETE request was successful

Hi! There are numerous questions about this logs.

How session chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004 can be deleted (we can see SESSION_DELETED), if the only DELETE request failed? Why delete request was executed two times?
What is the reason behind PROXY_ERROR? Timeout, error?
 Then timeout occurred and deleted
session.
ср, 20 февр. 2019 г., 16:11 f4hrenh9it<EMAIL_ADDRESS>
Hi! How session chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004 can be
deleted twice, if the only DELETE request failed?
2019/02/19 11:45:49 [CREATING_POD] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:45:49 [CREATING_SERVICE] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:45:49 [SERVICE_CREATED] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [0.31s]
2019/02/19 11:45:49 [POD_CREATED] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [0.53s]
2019/02/19 11:45:49 [AWAITING_SERVICE] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:45:55 [SERVICE_IS_UP] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [6.54s]
2019/02/19 11:45:55 [SESSION_CREATED] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [6.54s]
2019/02/19 11:47:43 [PROXY_ERROR] [unknown] [<IP_ADDRESS>, <IP_ADDRESS>] [POST http://chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004:4545/session/chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004/url] [context canceled]
2019/02/19 11:49:03 [PROXY_ERROR] [unknown] [<IP_ADDRESS>] [DELETE http://chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004:4545/session/chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [context canceled]
2019/02/19 11:49:03 [SESSION_DELETED] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [10.00s]
2019/02/19 11:49:03 [DELETING_POD] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:49:03 [DELETING_SERVICE] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:49:24 [PROXY_ERROR] [unknown] [<IP_ADDRESS>, <IP_ADDRESS>] [DELETE http://chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004:4545/session/chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [context canceled]
2019/02/19 11:49:24 [DELETING_SERVICE] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:49:24 [SESSION_DELETED] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [91.16s]
2019/02/19 11:49:24 [DELETING_POD] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:57:37 [FAILED_TO_DELETE_SERVICE] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [services "chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004" not found] [584.32s]
2019/02/19 11:57:39 [FAILED_TO_DELETE_SERVICE] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [services "chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004" not found] [526.36s]
2019/02/19 11:57:41 [FAILED_TO_DELETE_POD] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [pods "chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004" not found] [527.71s]
2019/02/19 11:57:41 [FAILED_TO_DELETE_POD] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [pods "chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004" not found] [588.06s]
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/moon/issues/131, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABWNbU-gJwdY_u0FDAKKh2QfMWIyXgokks5vPUl3gaJpZM4bFLhR
.

Hm, is there any service mesh running in your cluster?
чт, 28 февр. 2019 г., 21:33 Alexander Andryashin<EMAIL_ADDRESS>
First time (from test) delete failed. Then timeout occurred and deleted
session.
ср, 20 февр. 2019 г., 16:11 f4hrenh9it<EMAIL_ADDRESS>
Hi! How session chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004 can
be deleted twice, if the only DELETE request failed?
2019/02/19 11:45:49 [CREATING_POD] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:45:49 [CREATING_SERVICE] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:45:49 [SERVICE_CREATED] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [0.31s]
2019/02/19 11:45:49 [POD_CREATED] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [0.53s]
2019/02/19 11:45:49 [AWAITING_SERVICE] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:45:55 [SERVICE_IS_UP] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [6.54s]
2019/02/19 11:45:55 [SESSION_CREATED] [browsers] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [6.54s]
2019/02/19 11:47:43 [PROXY_ERROR] [unknown] [<IP_ADDRESS>, <IP_ADDRESS>] [POST http://chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004:4545/session/chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004/url] [context canceled]
2019/02/19 11:49:03 [PROXY_ERROR] [unknown] [<IP_ADDRESS>] [DELETE http://chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004:4545/session/chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [context canceled]
2019/02/19 11:49:03 [SESSION_DELETED] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [10.00s]
2019/02/19 11:49:03 [DELETING_POD] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:49:03 [DELETING_SERVICE] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:49:24 [PROXY_ERROR] [unknown] [<IP_ADDRESS>, <IP_ADDRESS>] [DELETE http://chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004:4545/session/chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [context canceled]
2019/02/19 11:49:24 [DELETING_SERVICE] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:49:24 [SESSION_DELETED] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [91.16s]
2019/02/19 11:49:24 [DELETING_POD] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004]
2019/02/19 11:57:37 [FAILED_TO_DELETE_SERVICE] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [services "chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004" not found] [584.32s]
2019/02/19 11:57:39 [FAILED_TO_DELETE_SERVICE] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [services "chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004" not found] [526.36s]
2019/02/19 11:57:41 [FAILED_TO_DELETE_POD] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [pods "chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004" not found] [527.71s]
2019/02/19 11:57:41 [FAILED_TO_DELETE_POD] [-] [<IP_ADDRESS>] [chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004] [pods "chrome-71-0-4ba849e2-b30f-445b-a4c7-22546f7e3004" not found] [588.06s]
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/moon/issues/131, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABWNbU-gJwdY_u0FDAKKh2QfMWIyXgokks5vPUl3gaJpZM4bFLhR
.

That was fixed.


Redirected but the response is missing a Location: header.

Not sure what it means, I got this error.
Nothing changed. I tried to redo the installation from the beginning, but it didn't help.
"Redirected but the response is missing a Location: header"
ERROR:root:Traceback (most recent call last):
File "/googlebackup/gb/views.py", line 98, in doBackup
fromPattern, backupDirID, request.build_absolute_uri("/")
File "/googlebackup/gbcommon.py", line 316, in backupFiles
backupFile(file, backupDirID, drive_service, MIMETYPE, TITLE, DESCRIPTION)
File "/googlebackup/gbcommon.py", line 199, in backupFile
new_file = drive_service.files().create(body=body, media_body=media_body).execute()
File "/usr/local/lib/python3.7/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/googleapiclient/http.py", line 871, in execute
_, body = self.next_chunk(http=http, num_retries=num_retries)
File "/usr/local/lib/python3.7/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/googleapiclient/http.py", line 1046, in next_chunk
self.resumable_uri, method="PUT", body=data, headers=headers
File "/usr/local/lib/python3.7/site-packages/oauth2client/transport.py", line 175, in new_request
redirections, connection_type)
File "/usr/local/lib/python3.7/site-packages/oauth2client/transport.py", line 282, in request
connection_type=connection_type)
File "/usr/local/lib/python3.7/site-packages/httplib2/init.py", line 1709, in request
conn, authority, uri, request_uri, method, body, headers, redirections, cachekey,
File "/usr/local/lib/python3.7/site-packages/httplib2/init.py", line 1448, in _request
_("Redirected but the response is missing a Location: header."), response, content,
httplib2.error.RedirectMissingLocation: Redirected but the response is missing a Location: header.
INFO:root:googlebackup result: {'errorMessage': 'Redirected but the response is missing a Location: header.'}
ERROR:django.request:Internal Server Error: /gb/doBackup

@Smandurlo Sorry about that. I just put a fix out there.

Sorry? No need to :-) You are making a great addon for all of us! Thanks, I upgraded it and now it works flawless as before!

It stopped working, also gives this error
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
GB_DEBUG = false
GB_VERSION = 1.7.10
[2021-07-01 16:23:49 +0300] [205] [INFO] Starting gunicorn 19.9.0
[2021-07-01 16:23:49 +0300] [205] [INFO] Listening at: http://<IP_ADDRESS>:8000 (205)
[2021-07-01 16:23:49 +0300] [205] [INFO] Using worker: gevent
[2021-07-01 16:23:49 +0300] [207] [INFO] Booting worker with pid: 207
INFO:root:No local_settings to import
INFO:oauth2client.client:Refreshing access_token
INFO:oauth2client.transport:Attempting refresh to obtain initial access_token
INFO:oauth2client.client:Refreshing access_token
WARNING:googleapiclient._helpers:build() takes at most 2 positional arguments (3 given)
INFO:root:Backing up /backup/fe108951.tar to 123a2kCGVX3a2kEJOEJObCGVX3a2kEJObCGVX
ERROR:root:Traceback (most recent call last):
File "/googlebackup/gb/views.py", line 98, in doBackup
fromPattern, backupDirID, request.build_absolute_uri("/")
File "/googlebackup/gbcommon.py", line 316, in backupFiles
backupFile(file, backupDirID, drive_service, MIMETYPE, TITLE, DESCRIPTION)
File "/googlebackup/gbcommon.py", line 199, in backupFile
new_file = drive_service.files().create(body=body, media_body=media_body).execute()
File "/usr/local/lib/python3.7/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/googleapiclient/http.py", line 899, in execute
_, body = self.next_chunk(http=http, num_retries=num_retries)
File "/usr/local/lib/python3.7/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/googleapiclient/http.py", line 1078, in next_chunk
self.resumable_uri, method="PUT", body=data, headers=headers
File "/usr/local/lib/python3.7/site-packages/oauth2client/transport.py", line 175, in new_request
redirections, connection_type)
File "/usr/local/lib/python3.7/site-packages/oauth2client/transport.py", line 282, in request
connection_type=connection_type)
File "/usr/local/lib/python3.7/site-packages/httplib2/init.py", line 1709, in request
conn, authority, uri, request_uri, method, body, headers, redirections, cachekey,
File "/usr/local/lib/python3.7/site-packages/httplib2/init.py", line 1448, in _request
_("Redirected but the response is missing a Location: header."), response, content,
httplib2.error.RedirectMissingLocation: Redirected but the response is missing a Location: header.
INFO:root:googlebackup result: {'errorMessage': 'Redirected but the response is missing a Location: header.'}
ERROR:django.request:Internal Server Error: /gb/doBackup


Special core/reference type, for reference nodes

(though core/reference is optional for the moment)


When will the source code be released?

Waiting for your reply.

The codes will be released within 5 days. Thanks for your attention.

thanks a lot.


Design proposal for improving AVO API flexibility

This is the design proposal for retooling AVO so that it continues to meet the needs of FedRAMP and HyperShift as both projects grow as well as potentially other use-cases in the future.
JIRA: OSD-13544
FedRAMP Design: https://docs.google.com/document/d/1QUJ6EayG8460v6B16Lni3HkuGkI5IjqH2dfbCuYluF8/edit
HyperShift Design: https://docs.google.com/document/d/1mhmVbudv4NSPf56eFr-ke-cbHpw-klkIx2-iRTmmG9k/edit#

/hold
Anticipating lots of discussion on this one

Codecov Report

Merging #78 (859e88a) into main (78b153c) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main      #78   +/-   ##
=======================================
  Coverage   62.31%   62.31%
=======================================
  Files          25       25
  Lines        1173     1173
=======================================
  Hits          731      731
  Misses        360      360
  Partials       82       82

Thanks for putting this together!
/lgtm

/lgtm

/unhold


[Bug] Editing files over network connections

Describe the bug
Earlier this week, I tried to edit a YML config file for HomeAssistant over a smb:// connection. The file opened in the editor perfectly, but when I attempted to save the file on the remote location, the dialog box wouldn't allow me to save over smb. Is that normal behavior for this editor?
To Reproduce
Opening a network share over samba/smb works as expected, however attempting to 'Save' has no result, and 'Save As' brings up a dialog box with a similar non-result after specifying the location in Quick Access.
Expected behavior
I expected to be able to save
Screenshots
n/a
Desktop (please complete the following information):

OS: Windows 10 1903 18362.387
Version: Whatever is most recent, I try to keep my Store apps up-to-date

Additional context
If this is a limitation of the editor, I can always save the file locally and drag it over the network share, I just thought it was a given to edit and save files over a samba network. Thanks! I love the editor for every other use case.

I actually used Notepads for a few times with SMB share and it worked as normal. I need to double check on this. But yes, it should support SMB out of box. Let me investigate first.

Do you still seeing such issue?


Invert phase in audio ?

Hi Zack,
I recently received my newly bought Turbo Everdrive Pro, but forgot to order the EDFX with it.
I bought an EXP output add-on from some DIYer, but it does not have a proper CD audio mixer circuit on it.
I happened to see this TurboNanza on Youtube. It's really a excellent project and I‘m going to order PCB and components to build one myself.
I checked the schematics out of curiosity. I'm not proficient in audio amp circuit, but it seems the audio output phase is inverted from the input.  The audio circuit from an original NEC AV booster does not have a invert phase output. Not sure if there is any difference in hearing?
Please let me know if I misunderstand something.
Thanks!

Hi there,
You are correct, I am using an inverting opamp as opposed to non-inverting used in NEC’s original designs, which does change the phase. However, in the PCE duo, the opamps are inverting, similar to my configuration. Ultimately, it sounds fine and I haven’t heard of anyone else’s experience being negatively impacted as a result of the phase change.
Thanks for bringing that to my attention!
Zack
On Jan 11, 2024 at 00:47 -0700, KCCT @.***>, wrote:

Hi Zack,
I recently received my newly bought Turbo Everdrive Pro, but forgot to order the EDFX with it.
I bought an EXP output add-on from some DIYer, but it does not have a proper CD audio mixer circuit on it.
I happened to see this TurboNanza on Youtube. It's really a excellent project and I‘m going to order PCB and components to build one myself.
I checked the schematics out of curiosity. I'm not proficient in audio amp circuit, but it seems the audio output phase is reversed from the input. The audio circuit from an original NEC AV booster does not have a reversed output. Not sure if there is any difference in hearing?
Please let me know if I misunderstand something.
Thanks!
C7UKPz6UwAAHE4l.jpg (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Timeline for GA?

Is this code recommended for use in production systems? Is there a timeline for integrating this with the main boto libs?

So technically this library is being used in production systems as both the AWS CLI and boto3 leverage it for their managed s3 transfer functionality. Those libraries are stable and their functionality is recommended for production systems.
At the moment there is no timeline for GA'ing the library. Using this library yourself directly in production systems is generally not recommended because the interface may have breaking changes as it evolves. And as stated in the README, if you do plan to use it in production it is recommended to lock to a minor version at least.


Convert mem::zeroed() / 0 to MaybeUninit::uninit()

As noted in #792 changes like this might help us more strictly identify and validate that the argument in question is only relevant as an output argument (i.e. structs with sType are read by the function call, even if the caller strictly expects return values there, so that it can fill in multiple structures in a pNext chain, and must hence be Default- initialized).
It does embed rather nicely with the assume_init_on_success() API, though.

Creating this as draft just to feel out where we stand with this; it might not net us too much, and doesn't seem like it would help us audit for accidental sType structs that are zero/uninit.  There was also the idea to initialize handles with ::null() explicitly (instead of mem::zeroed() or the MaybeUninit::uninit() added here), but that also doesn't sound like much of an improvement.

Sure thing! I'll get going on finding the remaining assignments for 0 / mem::zeroed()...

@Ralith would you mind taking another look? Besides tackling the remaining obvious = 0; and mem::zeroed(), I've also converted the let fd = -1; initializations to this (assuming Vulkan always initializes them when it retrurns OK), and replaced a few remaining zero-initialized Vecs with Vec::with_capacity() + set_len().