Revert "Revert "Make edpm-hardened-uefi FIPs enabled""

Revert "Revert "Make edpm-hardened-uefi FIPs enabled""
Enable FIPS again, requiring a relaxation of the policy to make
connections to trunk.rdoproject.org.
This reverts commit 8691ad87988908b008d237855ba74856c9458522.
Depends-On: https://github.com/openstack-k8s-operators/install_yamls/pull/607

As expected, this failed with SSL errors when making requests to trunk.rdoproject.org:
https://logserver.rdoproject.org/19/19/a148150c6bfeb6ba85f9c41c30036bf9b69abc61/github-check/eib-crc-podified-edpm-baremetal/2f26e63/ci-framework-data/logs/crc/pods/openstack_dataplane-deployment-repo-setup-openstack-edpm-ipam-2pp7l_58b9522d-1571-4d24-b763-3e7477651b1e/openstackansibleee/0.log
This confirms that this change is being correctly tested, I'll now attempt to add a depends-on to get past this error

Setting Depends-On didn't pull in the install_yamls change, we'll just need to land it first

recheck depends-on not working check

@steveb Depends-on is working now https://logserver.rdoproject.org/19/19/a13a74727777ea08d205a3a1e2687e70aee1b56e/github-check/eib-crc-podified-edpm-baremetal/e2a0547/ci-framework-data/logs/crc/pods/openstack_dataplane-deployment-repo-setup-openstack-edpm-ipam-txpzb_d2ca1a1b-c8d1-41c0-8528-6dd4799688dd/openstackansibleee/0.log
33mchanged: [edpm-compute-0] => {"changed": true, "cmd": "set -euxo pipefail\npushd /var/tmp\ncurl -sL https://github.com/openstack-k8s-operators/repo-setup/archive/refs/heads/main.tar.gz | tar -xz\npushd repo-setup-main\npython3 -m venv ./venv\nPBR_VERSION=0.0.0 ./venv/bin/pip install ./\n# This is required for FIPS enabled until trunk.rdoproject.org\n# is not being served from a centos7 host, tracked by\n# https://issues.redhat.com/browse/RHOSZUUL-1517\nupdate-crypto-policies --set FIPS:NO-ENFORCE-EMS\n./venv/bin/repo-setup current-podified -b antelope\npopd\nrm -rf repo-setup-main\n", "delta": "0:00:09.209600", "end": "

and the job also passed.

recheck depends-on has landed


"Use mocked data" & "Use live data from the development environment"

I've managed to get this starter kit up and running fine. I can view locally using
npm start
and after deploying twice with
npm run deploy
I'm able to see the live site using the new url with my bucket name.
npm run start:remote works fine as well at localhost3000.
My question is:
How can I change the data displayed? I've tried changing the name "Ada Lovelace" everywhere I can find it (in both mocked database and database) but it doesn't have any effect upon reloading the browser.

@nfurfaro did the screenshot from @ctwhome help?

Yes it did, and so sorry for not replying in a timely manner. Bad form on my part!


Wrong DOM svg

Hello,
i have example:
http://requirebin.com/?gist=6fab8e82aee016f2a3e2
Can u help me. I need correct svg element like innerHTML

fromHTML is buggy: it's putting the svg attributes on a properties key, which is not how svg works. It needs to be fixed to put SVG attrbutes on the node.attrbutes object instead of on properties.

You mean something like this?
http://requirebin.com/?gist=3f0c035d19cc4535209d

@Matt-Esch, is actual problem :( I fixed it in our project simply by adding a few lines such as those below:
var svgTags = {...}
var svgAttrs = {...};

function applyProperties(node, props, previous) {
....
        } else {
            if (isObject(propValue)) {
                patchObject(node, props, previous, propName, propValue);
            } else {
                if (svgTags[node.tagName.replace('-','').toUpperCase()] && svgAttrs[propName.replace('-','').toUpperCase()]) {
                    node.setAttribute(propName, propValue);
                } else {
                    node[propName] = propValue;
                }
            }
        }
    }
}

But it incorrect solution for global case, yes? or not?

You could also use http://github.com/marcelklehr/vdom-virtualize

@marcelklehr, Yes. But http://github.com/marcelklehr/vdom-virtualize ignore SVG properties :(

Yes, virtualize had problems handling attributes, but that is fixed now. I'm pretty sure it works, would you mind checking again? (Also, please do feel free to file an issue if you encounter such a bug :) )

@marcelklehr, oh!! Thank you very much!

Glad I could help ;)


Only print JSON in interactive mode

When retrieving JSON values for a shell script ldb pretty formats the output and adds colors. This is a problem when using ldb non-interactively in a shell script or whatever.

This changes the behavior to only output JSON in interactive mode.

👍 🎉


Empty mocking values are not applied

Hello! Thanks for your lib!
When trying to mock a function without an actual value, I'm encountering weird behavior. For example:
it("should mock with empty return values", () => {
    const fn: () => number = fnmock();

    when(fn()).thenReturn(1).thenReturn();

    expect(instance(fn)()).toEqual(1);
    expect(instance(fn)()).toEqual(undefined);
    verify(fn()).called();
});

I expect the second mocked return method to add an undefined as a mocking value for the second invocation.
Is this an expected behavior?
Regards,

Hi @adrigzr
Isn't it quite strange to expect the function to return undefined, when the function is typed to always return number?
I would expect the test to look something like this:
it("should mock with empty return values", () => {
    const fn: () => number | undefined = fnmock();

    when(fn()).thenReturn(1).thenReturn(undefined);

    expect(instance(fn)()).toEqual(1);
    expect(instance(fn)()).toEqual(undefined);
    verify(fn()).called();
});

You can pass any number of values to .thenReturn(), to return each value in turn. .thenReturn(1).thenReturn(2) is the same thing as .thenReturn(1, 2).
The call .thenReturn() is effectively a no-op, and it is maybe a bug that it is allowed at all. The fact that .thenResolve() works without a value is probably a bug. I think it comes from when you have a function returning Promise<void> where it feels unnatural to ask the mock to return undefined when the type is void.

I think it might be better to change the types to not allow any of the .thenReturn(), .thenResolve(), ... methods to be invoked without any argument.
It might be an idea to allow .thenReturn() without a value when the retun type is void, and to allow .thenResolve() without a value when the return type is Promise<void>.
I don't think it is a good idea to allow .thenThrow() or .thenReject() without a value, because it is really not a good idea to ever throw undefined or void. You should always throw exceptions. If you anyway want to test the behaviour when something throws the value undefined, I think it is better to be explicit in the test and write .thenThrow(undefined).

I created a PR to implement the suggested behaviour: https://github.com/johanblumenberg/ts-mockito/pull/9

This will do the trick for me. The main issue was the confusion when using an empty then method to return an undefined value. If this is no longer supported, it looks good to me.

I published version 1.0.35, so I'm closing this issue. @adrigzr Thanks for good feedback :)


Is it posible to input a list to nni.chose()

Hi, teams!
Recently, I try to apply the NNI annotation mode to my project, but I would like to make parameters fully control by the args.
For example:
"""@nni.variable(nni.choice(128, 256, 512, 1024), name=hidden_size)"""
# to
args.param = [128, 256, 512, 1024]
"""@nni.variable(nni.choice(args.param), name=hidden_size)"""

Is it possible to do it?

@QuanluZhang

NNI annotation is not maintained anymore. It is replaced by NNI NAS interface (https://nni.readthedocs.io/en/stable/nas/construct_space.html).


Dead code in mcmc/hmc.jl?

I don't think these are in use
https://github.com/TuringLang/Turing.jl/blob/07cc40beb0c6caa60e945e204f0fbc88cd3d4362/src/mcmc/hmc.jl#L567-L620
reason is there is a call to function gen_∂logπ∂θ which I can not find the definition of, and the call to HMCState seems out of date with the current HMCState type

gen_∂logπ∂θ was used for a long time to construct something similar to the LogDensityFunction for HMC algorithms. Probably we just forgot to remove this code.


Payment is refused or cancelled

When I choose either the Drop-in or Card option AND when I enter one of the test card numbers for Mastercard or Visa, I get either Cancelled or Refused value of resultCode.
Example of console log:
Navigated to https://localhost:5001/
Navigated to https://localhost:5001/preview/dropin
Navigated to https://localhost:5001/checkout/dropin
adyenImplementation.js?v=DeHm8zJSTQb72kADPbcdsCCrt-TWxnIuW8p-8zoqdq0:66 onPaymentCompleted
adyenImplementation.js?v=DeHm8zJSTQb72kADPbcdsCCrt-TWxnIuW8p-8zoqdq0:67 {resultCode: 'Refused', sessionData: '[REMOVED]'} r {_id: 'dropin-[GUID]', props: {…}, state: {…}, _node: div#payment.payment, _component: {…}, …}

I have added https://localhost:5001 in allowed origins under Client settings in API Credential configuration.
Any ideas about what is wrong?

Which card number did you enter?

@Kwok-he-Chu :
For example, 4988 4388 4388 4305.

It results with Refused payment.

@dariusz-wozniak Please check the risk-profile section in your ca-test environment. You should be able to see the transactions that have failed (look up your pspReference number and see how the risk score is calculated). If the risk score is too high we refuse the payment. Various factors could lead up to a "Refused"-payment.

@Kwok-he-Chu : Yes, that is correct. I updated risk settings and it works fine now. Thank you!


chore(release): v5.2.0

This PR prepares the release of version v5.2.0.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.68%. Comparing base (8c594fb) to head (9a3819d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #104   +/-   ##
=======================================
  Coverage   91.68%   91.68%
=======================================
  Files          31       31
  Lines        1371     1371
=======================================
  Hits         1257     1257
  Misses        114      114

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Progress bar not working in chrome

The progress bar is not staying in the selected place when I am dragging it, and will fall back to 00:00 and start playing from new. All other functionalities are working just fine, and this is only a problem in Chrome.
I am using the mediaelementplayer for my audio players.
I am not getting any errors in the console, and I have not been able to find anyone with similar issues.

Is there a test page available?

For me this is working in Chrome without problems. I'm closing the issue because there is no response for an example for a while. Please reopen if the bug still exists with an example.

Apologies for leaving this here without further explanation. I seem to recall that the issue was caused by using the progress bar while using the chrome inspector. Viewing the page normally fixed it for me.


Building wheel for grpcio (setup.py) . . . takes forever while installing firebase-admin on the Jetson Nano

I am trying to install firebase-admin on the Jetson Nano which runs on Ubuntu 18.04 LTS. It returned a bunch of errors which didn't even fit an entire scroll of the terminal, but here's what it says after it returned the errors.
 ERROR: Failed building wheel for grpcio   Running setup.py clean for grpcio Failed to build grpcio DEPRECATION: Could not build wheels for grpcio which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368. Installing collected packages: grpcio     Running setup.py install for grpcio ...
I am using python 3.6.9. Pip and setuptools are up to date. I have tried so many methods but none were fruitful, please help me.
Thank you,
Henry

Update:
Running setup.py install for grpcio... returned this
`commands.CommandError:
We could not diagnose your build failure. If you are unable to proceed, please file an issue at http://www.github.com/grpc/grpc with `[Python install]` in the title; please attach the whole log (including everything that may have appeared above the Python backtrace).

Traceback (most recent call last):
  File "/home/jetson/.local/lib/python3.6/site-packages/setuptools/_distutils/unixccompiler.py", line 204, in link
    self.spawn(linker + ld_args)
  File "/tmp/pip-install-egyuu8jd/grpcio/src/python/grpcio/_spawn_patch.py", line 54, in _commandfile_spawn
    _classic_spawn(self, command)
  File "/home/jetson/.local/lib/python3.6/site-packages/setuptools/_distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run, **kwargs)
  File "/home/jetson/.local/lib/python3.6/site-packages/setuptools/_distutils/spawn.py", line 88, in spawn
    "command %r failed with exit code %s" % (cmd, exitcode))
distutils.errors.DistutilsExecError: command '/usr/bin/aarch64-linux-gnu-g++' failed with exit code 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/pip-install-egyuu8jd/grpcio/src/python/grpcio/commands.py", line 264, in build_extensions
    build_ext.build_ext.build_extensions(self)
  File "/home/jetson/.local/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "/home/jetson/.local/lib/python3.6/site-packages/setuptools/_distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/jetson/.local/lib/python3.6/site-packages/setuptools/_distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/jetson/.local/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
    _build_ext.build_extension(self, ext)
  File "/home/jetson/.local/lib/python3.6/site-packages/setuptools/_distutils/command/build_ext.py", line 560, in build_extension
    target_lang=language)
  File "/home/jetson/.local/lib/python3.6/site-packages/setuptools/_distutils/ccompiler.py", line 717, in link_shared_object
    extra_preargs, extra_postargs, build_temp, target_lang)
  File "/home/jetson/.local/lib/python3.6/site-packages/setuptools/_distutils/unixccompiler.py", line 206, in link
    raise LinkError(msg)
distutils.errors.LinkError: command '/usr/bin/aarch64-linux-gnu-g++' failed with exit code 1

----------------------------------------

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-egyuu8jd/grpcio/setup.py'"'"'; file='"'"'/tmp/pip-install-egyuu8jd/grpcio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-a7ww7n7o/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/grpcio Check the logs for full command output.`

Hi @gapro20022,
Problem is with setuptools. Downgrade it to 49.6.0 and try installing it will work.

Hi @gapro20022,
Problem is with setuptools. Downgrade it to 49.6.0 and try installing it will work.

I can confirm this, I was having trouble installing grpc in a Jetson Xavier AGX and this solved it

Thank you very much! I will close this now.

After downgrading to setuptools==49.6.0, I still have a very long wheel build and then successive failure when attempting grpcio install, anyone else still experiencing issues installing?

does anyone know if grpcio is working on macos Big Sur? i cant find a solution to install it on my pyenv virtualenv

P.S im on an intel based mac

P.S im on an intel based mac

Yep same here have been struggling

Same problem on big sur. I've been battling with this a couple days on and off, but it keeps failing to build grpcio. Any output I could post that would help? It looks like it is not compiling, but I'm not great at interpreting python output.

@samho93 @calebjohn24 @gnat79 you guys can give this solution a try, it works for me.
https://github.com/grpc/grpc/issues/24677#issuecomment-729983060

@samho93 @calebjohn24 @gnat79 you guys can give this solution a try, it works for me.
#24677 (comment)

That worked. I used "GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true pip install grpcio" and then I was able to complete the install and it appears to be successful after a couple quick tests.
THANK YOU!

I was able to solve by running pip install wheel

Hi @gapro20022,
Problem is with setuptools. Downgrade it to 49.6.0 and try installing it will work.

I can confirm this, I was having trouble installing grpc in a Jetson Xavier AGX and this solved it

I was trying to install yolov5 on xavier NX. I was about to downgrade when installation completed successfully on its own. Using
docker nvcr.io/nvidia/l4t-pytorch:r32.5.0-pth1.7-py3 on r32.5.1

For anyone seeing this more recently, you grpcio 1.40.0 was recently released on Sep 7, 2021, and this issue came up again for me. Adding the following to my requirements file locked in the earlier version:
grpcio==1.39.0; python_version < '3.0'

pip install --upgrade pip

This also happened when we accidentally used pypy instead of python. We use github actions to setup python and accidentally had this:
    - name: Setup Python
      uses: actions/setup-python@v4
      with:
        python-version: pypy3.8

We fixed it by changing to:
    - name: Setup Python
      uses: actions/setup-python@v4
      with:
        python-version: 3.8

Hey! Help please!
I am stuck during
install grpc   grpcio-1.59.2 :  Building wheels for collected packages: grpcio
Building wheel for grpcio (setup.py) ... |
Mac Pro 11.7.10

Hey! Help please! I am stuck during install firebase-admin and it needs install grpc grpcio-1.59.2 : Building wheels for collected packages: grpcio Building wheel for grpcio (setup.py) ... | Mac Pro 11.7.10

Same issue :( Have you found a fix?

Hey! Help please! I am stuck during install firebase-admin and it needs install grpc grpcio-1.59.2 : Building wheels for collected packages: grpcio Building wheel for grpcio (setup.py) ... | Mac Pro 11.7.10

Same issue :( Have you found a fix?

Have you found a fix?))

@arslan-rashidov I was using the alpine version of python image in my Dockerfile. Changing it to a slim version helped python:3.11.6-slim

Building wheels for collected packages: grpcio
Building wheel for grpcio (setup.py) ... -
while installing tensorflow with python=3.10
It runs forever. Pls help.

This issue is CLOSED. Please have some decency. Just make a new issue, how hard is it? Owners, contributors with write access, PLEASE lock this conversation. Thank you 🙏
@ctiller @jtattermusch @markdroth @vjpai

For me
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1

solved the problem


⚠ ClamAV has degraded performance

In c6f915c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 84 ms

Resolved: ClamAV performance has improved in 23ef0d3.


Made sure the traverse and sequence changes were in the doc updates

Coverage remained the same at 100.0% when pulling 319d647859f42a04ef15e0d8e0f2c02a0f37c0eb on feature/doc-updates into 8b423b1c3ca57caeff10a84ae06e14f450f7c0cc on master.

Coverage remained the same at 100.0% when pulling 319d647859f42a04ef15e0d8e0f2c02a0f37c0eb on feature/doc-updates into 8b423b1c3ca57caeff10a84ae06e14f450f7c0cc on master.


When pausing a live stream it starts from the second it was left

Hi,
I dont know if I should post here or in the regular .  I am using mpeg dash with a wowza server to reproduce live videos but when ever I pause the player it starts from when it was left.  I would rather have it start from the latest part it received.
Is there something extra I should configure my players?

wrong repo sorry


CyberArk 6JUL

Attempting from GitHubDesktop
Fixes:
Made changes requested from PR 813

Just wanted to bring this to the top of your inbox :-)


How to use this this for 8 upscaling factor?

I want to super resolute the images with 8 upscaling factor. How can I do this?

Hi @Vishal2188 ,
I've trained the network with upscaling factor of 8, but at test time I get this error : RuntimeError: Error(s) in loading state_dict for Generator:
Missing key(s) in state_dict: "block8.2.bias", "block8.2.weight".
Unexpected key(s) in state_dict: "block8.3.weight", "block8.3.bias", "block8.2.conv.weight", "block8.2.conv.bias", "block8.2.prelu.weight".
have you by any chanced had this error or know how to fix it? thanks.


Feat/crs improvements

Improvements regarding CRS and projections:

initialization of pyproj.Proj class is not raising deprecation warnings anymore,
limited pyproj version to >=2.2.0,
added support for any custom CRS defined with EPSG code.

Codecov Report

Merging #102 into develop-3.0 will increase coverage by 0.61%.
The diff coverage is 100%.

@@               Coverage Diff               @@
##           develop-3.0     #102      +/-   ##
===============================================
+ Coverage        88.47%   89.09%   +0.61%
===============================================
  Files               30       30
  Lines             2986     2989       +3
===============================================
+ Hits              2642     2663      +21
+ Misses             344      326      -18

Impacted Files
Coverage Δ

sentinelhub/constants.py
93.26% <100%> (+0.4%)
:arrow_up:

sentinelhub/os_utils.py
68.75% <0%> (-6.25%)
:arrow_down:

sentinelhub/sentinelhub_rate_limit.py
91.03% <0%> (+5.51%)
:arrow_up:

sentinelhub/download/handlers.py
67.85% <0%> (+19.64%)
:arrow_up:

Continue to review full report at Codecov.

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


Update jquery script to 3.6.0

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable
[x] Documentation in docs/ or install-docs/ was updated, if applicable
[x] I have tested all changes

Should I add a dev changelog entry?

I did testing of the interface, admin interface and clr overlay. Everything seems to still work as intended.

Tested playsound adding/deleting/editing which uses jquery's ajax function - works as expected


KESIBOR

Does anyone know if kesibor means the same as mesaik (lazy)? It is not listed in the dictionary?

That's supported by kerresel:
mesaik a kesibor; diak le meses el ourreor a mesaik; mesaik a diak a sersel me ng songerenger.

A Ulang ng meses malechub eng kesibor? Ak umdasu eng teletelel a kesibor el dil. :-)

AUTOPARSE
w kesibor v.s. lazy.
e A Ulang ng meses me a lechub e ng kesibor? --Is Ulang hard working or lazy?
s kesibor mesaik

This is also confirmed by KERRESEL:
“mesaik a kesibor; diak le meses el ourreor a mesaik; mesaik a diak a
sersel me ng songerenger.“
Ulang, can you add a thumbs-up please to the autoparse comment, and I’ll do
the same?  Then Chris can you add the label please and I’ll modify the
parser to deal with synonyms and then this one be closed!
On Mon, Oct 24, 2022 at 4:30 PM Chris Perrette @.***>
wrote:

AUTOPARSE
w kesibor v.s. lazy.
e A Ulang ng meses me a lechub e ng kesibor? --Is Ulang hard working or
lazy?
s kesibor mesaik
—
Reply to this email directly, view it on GitHub
https://github.com/tekinged/missing/issues/368#issuecomment-1289713471,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPT2PX7FXQQ3ARYQUGMBPLWE4EWZANCNFSM6AAAAAARKMSAEA
.
You are receiving this because you commented.Message ID:
@.***>

AUTOPARSE successfully AUTOPARSED.@ChrisPerrette, please check the website (and any screenshots above).If everything looks good, please close this Issue.


Change to toc ch3

Removed data8 material, changed section names, added placeholders for people to work off of to, hopefully, reduce merge conflicts as we all write the chapter together

To reiterate, there has never been material in this repository belonging to Data-8. (I'm guessing that's not news. I just want to be clear. Here is where this was last discussed in full.)
Rather, these materials were put together from a BSD-licensed demo.
It sounds like the team has plans for new content to take this place, and perhaps even regardless of the above. Sounds good.
I'll add that at least a couple of these programming chapters I wrote from scratch for the textbook, (in addition to the chapter on DataFrames), way back in 2020. Perhaps these are no longer needed. But they are particularly distinct from the above:

added programming chapter 03/3/3: Sequences
added new programming chapter -- 3.6: Functions

What I meant about the data8 material is that it is in data8 (not necessarily belonging to). I think the consensus is that we don't want to include any information that is also in their textbook (including the demo material). I am sorry if I also removed content that you wrote, I was told it was all the same and honestly didn't check. Please add any of your material back to this section and we can rewrite the ones that were replicated. We also wanted our section names to be distinct from those used in data8 which is why we changed some of those as well. Maybe we can reformat some of what you had into these new sections? For example, including call-expression (built-in functions) in the same section as functions in general. Or moving some of the sequences material into the data structures chapter and keeping some in a new section for dictionaries. Would this be ok with you? If so, you are welcome to do that so that it is written the way you would like.

Sure, understood.
And, to be sure, what I'd written (way back when) was done with an older conception of the chapter and textbook in mind. I hope it can still be of use, but I'd certainly understand if it weren't or if it had to be adapted.
I'll restore what I'd written. And it sounds like we can just see what there is to do with it.

OK:

It looks like your fork is fine; nonetheless, this branch contained a stale commit that was preventing a merge. (It is generally best to delete branches once they've been merged, and perhaps that was at issue.) Anyway, I just dropped that duplicative/stale changeset and it's good now.
I added the old-but-non-demo Sequences page back in. Perhaps this will be of use, perhaps not! (I ultimately elected to let the Functions one drop – there wasn't much in there, and it looks like the group intends to do a more thorough job on the topic.)
It also looks like there are typos in the TOC. Sorry for all the updates but I can just tweak those now….


Connect GitHub Repo to TeamCity with SSH

Jira Description
I'm currently using my GitHub username/password and HTTPS to connect the Data Analytics GitHub repo to TeamCity for CI.  I need someone with admin access to both services to create an SSH key for this connection.
Jira Metadata
Created: 2017-04-21T09:56:42.000-0500
Reporter: Dan Malagari

Jira Comment
2017-04-21T14:21:08.417-0500
Jira Metadata
Created: [~Malagari] I have updated the build VCS configuration to use the TeamCity wide EdFiBuildAgent SSH.
Commenter: Cy Jones


Bitrate menu not visible

Hey there,
I noticed that in the latest version (downloaded your Git Repo) the Bitrate menu won't show if I press (CTRL + Shift + Alt + S). Nothing happens at all. Tried multiple times. With older versions of this extension it works fine. Maybe one of the last commits broke something.
EDIT: I am sorry, I found the mistake. In your latest commit: https://github.com/lkmvip/netflix-4K-DDplus/commit/493d128dc0f766119c112fc808fdcea2fe6b8220, you changed it from 'S' to 'B'. So, it is now: 'CTRL + Shift + Alt + B'. I guess you did it, because 'S' is already used by Netflix for skipping the intro. Great idea! I changed it for myself to A (65), since it feels way more convenient and is similar to the old combination. Also A is not used by Netflix.
You may want to add this to the description? Maybe more people will soon follow and ask why it is not working. :D Also I noticed that the Edge Store version is pretty outdated. It's not important for me, I use always your latest GitHub repo. But maybe for the people using the Edge Store Extension version it would be nice to have the latest update. Thanks for your work, you can close this issue. :)
Cheers!

Thank you for the info.   I also noticed that CTRL + Shift + Alt + S no longer works, now know the reason and new  combination.

Turning S into B was a decision made by Netflix.
The ME EDGE store keeps rejecting my new versions, so the store should not be updated


Az Login

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login
Errors:
invalid syntax (parser.py, line 158)
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 654, in execute
    raise ex
cli/core/commands/__init__.py, ln 718, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 711, in _run_job
    six.reraise(*sys.exc_info())
lib/python3/dist-packages/six.py, ln 703, in reraise
    raise value
...
python3/dist-packages/adal/token_request.py, ln 38, in <module>
    from .cache_driver import CacheDriver
python3/dist-packages/adal/cache_driver.py, ln 32, in <module>
    from dateutil import parser
python3.8/site-packages/dateutil/parser.py, ln 158
    l.append("%s=%s" % (attr, `value`))
                              ^
SyntaxError: invalid syntax

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az login

Expected Behavior
Environment Summary
Linux-5.7.0-15-generic-x86_64-with-glibc2.32
Python 3.8.6
Installer: PIP

azure-cli 2.10.1

Extensions:
azure-devops 0.18.0

Additional Context

az login

az login

l.append("%s=%s" % (attr, `value`)) was changed to l.append("%s=%s" % (attr, repr(value))) 10 years ago (https://github.com/dateutil/dateutil/commit/ac37a80ce677025e03951091284feab1eadc0404).
It looks like you used pip to install a very old version of python-dateutil which doesn't work in Python 3.
To revert it, please install the specified version:
https://github.com/Azure/azure-cli/blob/7ef9f617f9f54a5ea3537b824a1ef43eaa6401cd/src/azure-cli/requirements.py3.Linux.txt#L121
pip install python-dateutil==2.8.0

l.append("%s=%s" % (attr, `value`)) was changed to l.append("%s=%s" % (attr, repr(value))) 10 years ago (https://github.com/dateutil/dateutil/commit/ac37a80ce677025e03951091284feab1eadc0404).
It looks like you used pip to install a very old version of python-dateutil which doesn't work in Python 3.
To revert it, please install the specified version:
https://github.com/Azure/azure-cli/blob/7ef9f617f9f54a5ea3537b824a1ef43eaa6401cd/src/azure-cli/requirements.py3.Linux.txt#L121
pip install python-dateutil==2.8.0


fix(storage): avoid preload all range-tombstone before compaction job start

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
In origin implement, we must preload all range-tombstone from sstable meta data in the beginning of compaction job, it will cost a lot of memory and also cost a long time.  The large memory usage may cause this compaction job failed and the long time preloading may cause this task lose connection from meta node. Meta node will cancel a task if it losts heartbeat for a long time.
This PR will save memory and time for the compaction task which include a lot range tombstone.
Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Shall we merge this PR? As preloading all range-tombstone is causing OOM especially for compactor node with small memory.


[DOCS-1564] Add canonical links for all version URLs

Summary

conditionally add  in head of URL paths with versions directing to latest versioned pages for improved search indexing

Sample output:

I've chosen to leave in self-referencing canonicals as this is acceptable practice and some argue it improves indexing structures.

In order to fully ensure proper indexing after each version update it may be necessary to manually force a recrawl via Google Webmaster Tools

Ignore the "failed" checks, I cancelled them because this PR is still pulling in an older version where the check ran on push.


Confused by deltaX and deltaY

Documentation:
{
  event,          // source event
  deltaX,         // x offset (current.x - initial.x)
  deltaY,         // y offset (current.y - initial.y)
  absX,           // absolute deltaX
  absY,           // absolute deltaY
  velocity,       // √(absX^2 + absY^2) / time
  dir,            // direction of swipe (Left|Right|Up|Down)
}

Codebase:
const { clientX, clientY } = event.touches ? event.touches[0] : event
const [x, y] = rotateXYByAngle([clientX, clientY], props.rotationAngle)
const deltaX = state.xy[0] - x
const deltaY = state.xy[1] - y

My question here is, are clientX and clientY the current x and y coordinates of the mouse?
The docs says current.x minus initial.x, I was expecting that a mouse movement from left to right returns a positive value, but it's the opposite.
Am I getting something wrong here?

@r-inaldi Thank you for posting the issue, you've absolutely found a discrepancy. The readme should say initial - current, I'll get a small PR to update the docs. At least it looks like we've been consistent between v4 & v5.
I think you're absolutely correct and we should be doing current - initial and I think that's why the docs say that, but it looks like we just "copied" what we had in v4 to v5 in the code.
Going to make a note to make this change for v6 when we drop the <Swipeable /> component.

@r-inaldi a side note, i'll try to merge in #151 soon which adds [initialX, initialY] as eventData.initial and that could be used to derive the "correct" delta values you're looking for.

Thanks for the fix @hartzis. Wasn't sure if I was getting something wrong, started to really doubt my knowledge about page coordinates. 😂

I believe this should be closed?

@psikoi thanks for the :poke:, i was keeping it open till i merged and deployed #162


Add Docker

it would be nice to have no install dependencies except docker.
expected behavior: docker run -it -p 3000:3000 liyasthomas/postwoman:latest

@liyasthomas
“Set up Automated Builds using GitHub and Docker Hub” by oleksii_y https://link.medium.com/AmD5s8x6f0

We're already making use of Travis CI for deployments. And I'm not experienced with docker. Would you care to explain docker CD advantages over other CIs?

the requirement is:
Publish an image to docker hub liyasthomas/postwoman
This account needs to exist so the image can be published there.
Then the image needs to be pushed there.
It's probably possible to do this with Travis, but it would require that to be setup in Travis. (Ie add a token for docker hub in Travis)
If docker hub is used, the process is easier. Just link your GitHub account from docker hub and it will watch for new releases. When a new release is published, it builds the image using the docker file and publishes it.

Cool! Let me do a background check on it and will let you know.

Closed by accident

@jgroom33 https://hub.docker.com/r/liyasthomas/postwoman

Works great. Now just need to update the readme with:
docker run -p 3000:3000 liyasthomas/postwoman:latest

Will do

@jgroom33 can you tell me why docker taking ~12 mins to build? Any optimizations you wanna suggest to dockerfile?

Where are you seeing the 12 minutes?
One of the things that would be good is to use an alpine image. They are much smaller (50M compared to 300M)
But that would only impact time if the root image is being downloaded each build.
I tried to use an alpine image originally, but the build failed.

Build duration was 12 mins.
Let me see if I could build with alpine rather than buster.

https://hub.docker.com/_/node/?tab=tags&page=1&name=alpine

Another improvement might be to use tini and switching from "npm run start" to directly executing the nuxt command. Just add "tini" to the apk add command and then switch the CMD line with:
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["nuxt", "start"]

Another nice to have feature might be a healthcheck, something like this:
HEALTHCHECK --interval=5m --timeout=3s CMD curl --fail http://localhost:3000/health || exit 1

I am not entirely sure how nuxt works and what dependencies it needs for runtime but maybe it could further slim down the resulting image by using a multi stage build so you would prepare everything for the npm run build in the first stage and run the build and then in the second stage you would only copy over the resulting build artefacts and set ENV NODE_ENV production as well as run only npm install --only=prod (IF all the dependencies are even required for nuxt to run).

Sorry to comment under a closed issue, but in response to the previous comment I tried this Dockerfile:
FROM node:12.10.0-alpine as builder

WORKDIR /app

# Add git as the prebuild target requires it to parse version information
RUN apk add --update --no-cache \
  git \
  tini \
  ca-certificates

COPY package*.json ./

RUN npm install

COPY . .

RUN npm run build
######################################################################################
FROM node:12.10.0-alpine as runner

LABEL maintainer="Liyas Thomas (liyascthomas@gmail.com)"

COPY --from=builder /sbin/tini /sbin/tini
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt

WORKDIR /app

COPY --from=builder /app .

EXPOSE 3000

ENTRYPOINT ["/sbin/tini", "--"]
CMD ["node_modules/.bin/nuxt", "start"]

I added tini as suggested and I also took the liberty to add ca-certificates.
I usually build this Dockerfile by using two different commands in sequence:
docker build --target builder -t builder-postwoman:latest .
This image is used for caching purposes only and is not pushed to docker hub: note the tag is just builder-postwoman;
and then
docker build --target runner -t liyasthomas/postwoman:latest .
This one instead has the usual tag you currently use and will be pushed to DH.
The image got shrunk down to 303MB, which is not bad for a nodejs application this large but probably you could still improve it by installing production dependencies only (for example you don't need test suite in production) as suggested by @jls-tschanzc


Unable to set rootfs size with VMs and ZFS storage

Required information

Distribution: Ubuntu
Distribution version: 19.04
The output of "lxc info" or if that fails:

Kernel version: 5.0.0-38-generic
LXC version: 3.21
LXD version: 3.21
Storage backend in use: zfs

Issue description
I am not able to set the rootfs size through the VM configuration. It works properly with regular containers.
Steps to reproduce

lxc init images:ubuntu/bionic bionic --vm
lxc config edit bionic
lxc start bionic
lxc exec bionic -- df -h /

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       3.8G  704M  3.1G  19% /

Information to attach

Config:

architecture: x86_64
config:
  image.architecture: amd64
  image.description: Ubuntu bionic amd64 (20200227_07:42)
  image.os: Ubuntu
  image.release: bionic
  image.serial: "20200227_07:42"
  image.type: disk-kvm.img
  volatile.base_image: 645a9c9b131187498fadf3351910b23de548eee2bffabbfb09f2000038c39720
devices:
  root:
    path: /
    pool: system
    size: 15GB
    type: disk
ephemeral: false
profiles:
- default
stateful: false
description: ""

Profile:

lxc profile show default
config: {}
description: Default LXD profile
devices:
  root:
    path: /
    pool: system
    type: disk
used_by:
- /1.0/instances/bionic

Storage:

config:
  source: syspool/lxd
  volatile.initial_source: syspool/lxd
  zfs.pool_name: syspool/lxd
description: ""
name: system
driver: zfs
used_by:
- /1.0/images/091b1efac72f71fb68d16856d176611c8f2db8cf766872d50c9add06fe0ecc17
- /1.0/images/4cd63d064053a9c638bdfc2f97a93b88757982138f229053ba3598b21972c612
- /1.0/images/645a9c9b131187498fadf3351910b23de548eee2bffabbfb09f2000038c39720
- /1.0/profiles/default
- /1.0/virtual-machines/bionic
status: Created
locations:
- none

Thank you for your help.

That's normal. With virtual machines all we can do is grow the virtual disk, growing partitions must be done by the user.
If you look at /proc/partitions you should see that the disk was grown per your request.
You'll then need to run a partition growing tool to resize your root filesystem.
Cloud-init can do that for you automatically on first boot for those images that use it.


[GHSA-jf2p-4gqj-849g] Temporary File Information Disclosure vulnerability in MPXJ

Updates

References

Comments
https://github.com/joniles/mpxj/commit/287ad0234213c52b0638565e14bd9cf3ed44cedd is a merge commit and has a lot of noise unrelated to the patch. https://github.com/joniles/mpxj/commit/ae0af24345d79ad45705265d9927fe55e94a5721, one of the parents of the merge, is the true patch commit.

Hi there @joniles! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


22 errors when I run ConverterGui.JAVA from CMD (java noob here)

Hi,
Im a noob with java so maybe Im doing something wrong.
I went into CMD typed javac ConverterGUI.java
I got 22 errors at the end of a long list of symbol, location, and converter gui lines
Not sure whats going on or how to proceed here, any advice would be greatly appreciated.
Im actually a 3d model/designer so I definitely have alot of models Id like to bring into MC via this method, so again any help would be greatly appreciated.
Thanks.

@ziloeh  wonder if this could be related to the GroupLayout? Not sure. Could you give more specifics on the errors you're getting? Maybe it's something simple like an outdated JDK.


Cookbook (documentation for common use cases)

I've added some documentation that I'm really hoping will be helpful for common use cases. Any feedback would be great, and if folks have any ideas on what other use cases should be documented, that would be swell.

Coverage remained the same at 96.901% when pulling 5bc0e17badd82597969cf3c3ea3b8dbe4eb38643 on RikkiGibson:f/Cookbook into f75e755cf415672e6b58735e06bb4cdb2d15d706 on jcampbell05:master.

Coverage remained the same at 96.901% when pulling bffa925a6287805c9e002235f789e0cf33bd1b30 on RikkiGibson:f/Cookbook into f75e755cf415672e6b58735e06bb4cdb2d15d706 on jcampbell05:master.

:) this is awesome, and well needed. @RikkiGibson I was wondering would you like access to be able to push the gem as well so it's not just me holding progress up :)

Yeah, that would be swell @jcampbell05.


document dvc pkg

Main references found in core repo:

https://github.com/iterative/dvc/issues/1772
https://github.com/iterative/dvc/pull/2012
https://github.com/iterative/dvc/pull/1742

Also, funny: dvc pkg doesn't have a -h option. Is that normal? Opened https://github.com/iterative/dvc/issues/2065

@jorgeorpinel Sorry for the rush, the PR that this relates to is https://github.com/iterative/dvc/pull/2012 , which is not merged yet. I've just created this task in advance.

Oh. @shcheklein asked me to give this one priority. Are you saying I should wait for that PR to close first Ruslan? Makes sense to me 😃

@jorgeorpinel this is a priority :) we will see if we merge it before pkg code is merged or not. It will also take some time to get the docs for it done end-to-end. It's a big feature.

Note: also need to make sure to add a note that old import was moved to import-url.


Add a initializer/config to apply :validate => true to all simple_form.

That's interesting. This should also apply to the Formtastic gem as well

There are some different paths here. The config can be as simple as:
ClientSideValidations::SimpleForm::Config do |config|
   config.global_forms = true
end

I think also the initializer from the client_side_validation gem should be used instead o

Whoops :p


[Clang importer] Map imported names via the user-facing name

Swift names provided via C attributes or API notes can be parsed as special names, such as init or subscript. However, doing so would cause the Clang importer to crash, because it assumes that these names are always identifiers. In these places, we actually want to treat them as identifiers, where special names are mapped back to their keywords. Introduce a function to do that, and use it consistently.

https://github.com/apple/llvm-project/pull/7871
@swift-ci please smoke test

https://github.com/apple/llvm-project/pull/7871
@swift-ci please smoke test Linux

https://github.com/apple/llvm-project/pull/7871
@swift-ci please build toolchain

https://github.com/apple/llvm-project/pull/7871
@swift-ci please smoke test Linux

https://github.com/apple/llvm-project/pull/7871
@swift-ci please build toolchain Linux

@swift-ci please smoke test Linux

@swift-ci please build toolchain Linux

@swift-ci please smoke test macOS

@swift-ci please build toolchain macOS


Allow escaping args html

Visit https://wolfadex.github.io/fluent-web/, rename Carl to Carl, and wave your mouse around a bit. The script runs; it probably shouldn't.
The react implementation doesn't run it. Its approach to embedding html in translations is more complex than I first realized - only fully understood it after experimenting with it.
I have no strong feelings about copying the official behavior here, but some easy way to escape args strings seems necessary. (Maybe args and unsafeArgs properties?)

I've been debating this in my head since I started this project. Where is the line drawn between this package being responsible for escaping user input and how much should the consumer of the package be responsible? I do like your suggestion of defaulting to safe but allowing unsafe.
Do you know what Fluent's approach is on displaying something like bolded text? Would it be something like
# ftl file
book-name = { book }
book-by = by
book-author = { name }

<fluent-text messageId="book-name" />

  <fluent-text messageId="book-by" />

<fluent-text messageId="book-author" />

to get: My Book by Wolfgang Schuster?

Just tried it in @fluent/react:
# ftl
book = {$book} <abcxyz>by</abcxyz> {$author}

# js/react jsx
return (
  <Localized id="book"
    vars={{book: "My Book", author: "Wolfgang Schuster"}}
    elems={{abcxyz: }}>

    </Localized>
  )

React's html-in-js syntax creates dom-elements. I don't think @fluent/react is creating dom at all, but figuring out where to insert dom you've created and passed to it; abcxyz is replaced with b above. This wouldn't work for calling from Elm since we can't json-encode html, but accepting dom-elements or strings-as-unsafe-html seems like it'd be fine too with this approach.
@fluent/dom looks like it has different behavior: builtin whitelisting for safe tags/attributes, with different whitelists for ftl files and variables. I haven't tried that one myself though.

On one hand, I'd hesitate to do things any differently than the fluent devs - I'm sure they've put way more thought into their project's security than I have, and different behavior might confuse users. On the other hand, escaped args are way easier to implement than the official behaviors, and I think it solves my personal concerns for my projects - I'm willing to trust any html in my translation files.

Asking in the Mozilla chat I was pointed to https://github.com/zbraniecki/fluent-domoverlays-js/wiki/New-Features-(rev-3).
As a brief aside, it's probably worthwhile to keep an eye on the discussions around this.
Back to the topic at hand I think I'm going to be doing a bit more reading this week(end), try and find some historical contexts about when you should and shouldn't be escaping html. Ideally I'd like the user of a library to be as safe as possible, however I also want them to have as much flexibility as they need. I'm curious how often people are getting localization files from outside sources, vs writing them themselves.
One idea that did come to mind that could be a possibility is an unsafe attribute. When absent everything is escaped and when present everything is left as is. In the case of the developer wanting only the user's input escaped, such as in your example of the user typing in malicious code, then the developer would have to do the escaping themselves. This would allow something like
hello-name = Hello, {name}!

<fluent-text messageId="hello-name" unsafe />

textEl.args = { name: "" }

to render as: Hello, ! (assuming the developer escaped the user's input).

I think the suggestion of args and unsafeArgs is approach I'd like to go with for now. As far as the source string, I think I'd rather leave that as is. My guess is that the source strings will be coming from the app author the vast majority of the time. If time proves me wrong, then I'll change it!
I'll work on this, this weekend

I'll work on this, this weekend

Not to ruin your weekend plans, but I implemented args/unsafeargs in my fork a few days ago! Another project of mine didn't want to wait; it was intended as a temporary patch. Since you also think that approach is reasonable long-term, I'll send the PR.


feat(source): add Subject

subject is a observable+observer which is multicast by default

Coverage increased (+1.4%) to 91.51% when pulling ef0c842564ed70cfe54421aae29be8cf56eb5a50 on subject into 1016ba7b05e4b9debd56e505010a995f3ad27924 on master.


Export material animation

Is your feature request related to a problem? Please describe.
Hello,
I am actually trying to export animated propreties from materials with NLA into an extension. I could manage to make it work with some hooks in Blender 3.3LTS. I am trying to make it work with Blender 3.6LTS but the thing is that the code has changed a lot and i am a little bit stuck in:

io_scene_gltf2\blender\exp\animation\gltf2_blender_gather_tracks.py line 113
the problem here is that the type i have added in tracks is 'MATERIAL'. You code manage 'OBJECT' or shape_keys. the NLA here is in the material_slots of the blender_object. Both line 111 and 117 will crash in my case.

Describe the solution you'd like
Is there a way to manage the shape keys with and "elif" and let the else become anything else ? Or do you have any other idea to get this exported ?
Additional context
The addon i'm working helps third parties to export glTF for Microsoft Flight Simulator game by adding extensions in the right places.
Thank you !

If you want to use KHR_animation_pointer to export these material properties, you should use Blender 4.2.x and enable the option (using Scene or NLA Track animation mode)

Actually i am trying to manage to get it work without your sampling (by sampling the material animations in 'gather_actions_hook' and 'gather_tracks_hook'. Because we already have an extension to manage those kind of animations in our engine. To give an example of what it looks like:
{
            "channels" : [
                {
                    "sampler" : 3,
                    "target" : {
                        "node" : 0,
                        "path" : "scale"
                    }
                }
            ],
            "extensions" : {
                "ASOBO_property_animation" : {
                    "channels" : [
                        {
                            "sampler" : 0,
                            "target" : "materials/0/pbrMetallicRoughness/baseColorFactor"
                        },
                        {
                            "sampler" : 1,
                            "target" : "materials/0/pbrMetallicRoughness/roughnessFactor"
                        },
                        {
                            "sampler" : 2,
                            "target" : "materials/0/pbrMetallicRoughness/metallicFactor"
                        }
                    ]
                }
            },
            "name" : "MaterialAnimation",
            "samplers" : [
                {
                    "input" : 4,
                    "interpolation" : "LINEAR",
                    "output" : 5
                },
                {
                    "input" : 4,
                    "interpolation" : "LINEAR",
                    "output" : 6
                },
                {
                    "input" : 4,
                    "interpolation" : "LINEAR",
                    "output" : 7
                },
                {
                    "input" : 8,
                    "interpolation" : "STEP",
                    "output" : 9
                }
            ]
        }

We want to support all LTS versions of Blender, so i'll have to make it work for 3.6 and 4.2 :blush:
Thank you for your response :smile: !


Corrected sittable component example code

"sit_event" and "stand_event" require object values, not string values. Current code sample will throw errors, new code sample will work as intended.

Thank you!


Cybermania is a scammer. Please replace files.

VirusTotal: https://www.virustotal.com/gui/file/ee30202e84259e858bbdc2cd6154795890d4af76fde5d6189aaac00712b7becc/detection

how can i check if i have this malware?

Lmao, just because you didn't have any problems with it doesn't mean it's safe. It means absolutely nothing in this context.

The source files on this GitHub repository are clean, but I cannot reproduce the builds. The executables behave differently as well. I guess infected spyware is a fair price to pay since I can't afford the Adobe products yet :(

Latest version of program source code from website works. Would recommend people to read through + build it themselves.


How to retrieve ErrorEvent info?

Hi!
I am quite new to using libuv and uvw, I am trying to handle error events, let's say from TCP/UDPHandles. But I am not being able to use the emitter's methods such as what() or name(), etc. when an uvw::ErrorEvent raises.
Could someone please show me how to use such methods?
Thanks in advance!

Already figured out, the uvw/emitter.hpp header was missing.


tests: drivers: flash: Move negative tests to a separate project

Move negative tests for flash driver to a separate test suite.
Run negative tests only on platforms that are aligned.

Enabling negative tests for all targets was over optimistic.
Motivation:

there are different types of flash thus obtaining flash start and size from zephyr,flash node doesn't work as expected;
API doesn't state clearly that driver implementation must check input arguments;
it's not trivial for 'generic' driver (f.e. driver for Nordic nRF devices) to deduct valid addresses of flash memory for each target (flash location on nrf54l15 is different than on nrf54h20 while both are handled by the same driver).

FYI @gbarkadiusz , @SzymonRichert , @manuargue

How about the FRDM and the ITE board?

How about the FRDM and the ITE board?

If I understand correctly, negative tests were failing on FRDM, ITE and some other boards.
I removed negative test cases from tests/drivers/flash/common. This test suite was run on many targets.
I add tests/drivers/flash/negative_tests. This test suite will run only on targets listed in the platform_allow list.
For now, I enabled negative tests on Nordic targets only.
Other targets can be enabled later, when it's confirmed that tests are working correctly on them.

there are different types of flash thus obtaining flash start and size from zephyr,flash node doesn't work as expected;

perhaps we can use an alias so that each board can set in the overlay what's the flash memory device

After cutting out code related to negative tests, I see source of problems.
#define TEST_AREA storage_partition
#define TEST_AREA_DEVICE FIXED_PARTITION_DEVICE(TEST_AREA)
static const struct device *const flash_dev = TEST_AREA_DEVICE;

#define TEST_FLASH_START (DT_REG_ADDR(DT_CHOSEN(zephyr_flash)))
#define TEST_FLASH_SIZE (DT_REG_SIZE(DT_CHOSEN(zephyr_flash)))

flash_fill(flash_dev, fill_val, (TEST_FLASH_START - 1), EXPECTED_SIZE);

I use flash device for storage_partition while flash start address and size I take from zephyr_flash.

I use flash device for storage_partition while flash start address and size I take from zephyr_flash.

that was I was trying to tell you here https://github.com/zephyrproject-rtos/zephyr/issues/77331#issuecomment-2303533473 :) I think using an alias is a simple way to solve this. But besides that, note also the erase alignment restriction on flash NOR memories, I added a patch in the same comment.

I made changes to the negative_tests.

zephyr_flash is no longer used.
Test gets Flash start and size from storage_partition. Unfortunately, I haven't found general way to get these values - it depends on how DTS is constructed. Although, I don't have much experience with DTS.
I tested two Nordic target and I see differences in flash driver behaviour. Other tests are done in MRAM driver than in RRAM driver.

@nordic-segl Please take a look at https://github.com/zephyrproject-rtos/zephyr/issues/77331#issuecomment-2306807150


Update network-rules.md

Adding more endpoints we discovered as needing from customers...

@xgerman : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Add .slice() method for ShallowWrapper and ReactWrapper

Adds a new .slice() method for ShallowWrapper and ReactWrapper with functionality like Array#slice.
Closes #647.

@nhardy this does need a rebase on latest master, though, if you don't mind :-)

This looks great! Thanks @nhardy !

LGTM! @ljharb looks like CI is hanging, can you restart the job?

i rebased it for the OP; travis-ci is having trouble; i've got the merge queued to go on my command line once it passes.

Meant to get to rebasing the PR today, but thanks for taking care of that :)


Limitations of the awk approach.

Consider the following makefiles:

Makefile
.DEFAULT_GOAL := help

help: ## show help
	@awk -f makefile-doc.awk $(MAKEFILE_LIST)

include Makefile.inc

foo: ## target foo in Makefile
	@echo "foo from Makefile"

Makefile.inc
foo: ## target foo in Makefile.inc
	@echo "foo from Makefile.inc"

Running make help results in (colors not available):
Makefile:9: warning: overriding recipe for target 'foo'
Makefile.inc:2: warning: ignoring old recipe for target 'foo'
[Makefile.inc] redefined docs of target: foo
-----------------------
Available targets:
-----------------------
help   show help
foo    target foo in Makefile.inc
-----------------------

The first two warnings come from Make itself and are due to the fact that the target foo is redefined in the Makefile even tought it has a recipe (i.e., commands). Note that, when make reaches include Makefile.inc, it stops processing the Makefile, reads Makefile.inc and then continues where it left off. As a result, running make foo would display foo from Makefile. On the other hand, awk reads first Makefile and then Makefile.inc (as MAKEFILE_LIST = Makefile Makefile.inc) and it picks up the docs of foo from Makefile.inc (see the third warning).

There is not much we can do with the current approach except relying on POSIX. That is, in the same way that the standard says:

	"Only one target rule for any given target can contain commands."

we say:

	"Only one target rule for any given target can contain documentation."

... and, in practice, this is normally the case.

Related to the above quote from the POSIX standard, the GNU Make manual says:

    "... it is invalid for two makefiles to give different recipes for the same target."


Refactor default custom commands [skip ci][ci skip]

The Problem/Issue/Bug:
The patches #2493, #2495 an #2519 introduced new features for a nicer styling of the help output of custom commands. This patch applies changes to various custom commands to profit from the new styling and make the help better understandable for the users.
Manual Testing Instructions:
The following commands are touched by this change so run every command with the -h flag to verify:

mysql
launch

Automated Testing Overview:
No changes so far.
Related Issue Link(s):

#2493
#2495
#2519

Release/Deployment notes:
Nothing special needed.

I'm going to close this for now, but really happy to open it up again, just a comment will do it. But it's quite stale and I know you have other things going. I sure welcome you back to it when you get time.


urelease/docs: fix link and small refactor in the text

What type of PR is this?
/kind documentation
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:

update a broken link
small updates in the text to match the format

Which issue(s) this PR fixes:
n/a
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign mstemm after the PR has been reviewed.
You can assign the PR to them by writing /assign @mstemm in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 1e085ba4f8ec153f6e6f0d1ff0f639b6bb5664e5


Add Helium Rewards Checker

Add Helium (HNT) Rewards Checker: https://hntrewards.xyz/

Nice little app! I see you're making a direct call to the API. note that you will be throttled if there are too many requests made.

Hi @cokes518, thanks a lot for your little review and compliment! :)
Since I do all the API calls via frontend JavaScript, the worse it could happen is that a user making too many calls would be throttled. But this would not affect the server where the site is hosted. Also, I doubt this would happen since you can't click the button multiple times. It gets disabled during the call, right after clicking/pressing.
By the way, could you review/approve my app to be included in the helium community tools? That'd be great :)
Also, take a look at the last changes I made.


Ruby build matrix updates

Fixes #164 and #160

/cc @samphippen @myronmarston

Updated across the PRs, rspec/rspec-support#291 is the most ready to be merged (and prerequisite of the others), mocks and core builds need some more tweaking which I'll try to do today

Oh and rspec/rspec-expectations#930 is also good to go having had the least problems!

Only rspec/rspec-core#2293 outstanding, it's green with caveats

Merging as all PRs are merged.


dyonrun arguments

Dyonrun doesnt seem to be passing arguments to the script. Or is it?
Looking at the code, it seems to be only passing the first (the script to be run).
Passing over additional arguments would make it tremendously more useful.
That would allow me to use dyon instead of python/sh, and that in turn would spur me, and hopefully others, to contribute to the dyon ecosystem.
In any case, thank you for your wonderful language.

Are you looking for this? https://github.com/PistonDevelopers/dyon/blob/master/src/lib.dyon#L317

Awesome! For some reason, reading dyonrun gave me the impression the remaining arguments werent' passed along! Thanks! Looking forward to a day of dyon scripting now!


Automated cherry pick of #11635

Cherry pick of #11635 on release-7.6.
/cc  @M-ZubairAhmed
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 3bbfebdcbaea151e3f4951e565df09215b6a28bd


Data passing

How can we pass data from 1st segment controller to the header view controller

Hello Pramod,
I would suggest using a protocol and having your segmented view controller conform to this protocol. You can use this to pass data.
protocol HeaderViewControllerDelegate: AnyObject {
   func passDataToHeader() -> data: Any
}

class SegmentedViewController: UIViewController, HeaderViewControllerDelegate {
   weak var delegate: HeaderViewControllerDelegate?

   func passDataToHeader() {
      // logic for assembling data here
      return data
   }
}


Added hyper-dibdabs

Added hyper-dibdabs. It is a useful plugin to add a colored dot to indicate different processes. It helps me visually determine which tab is connected to SSH or not.
Checklist for submitting an awesome plugin, theme, or resource:

[x] The title for my package or theme uses its npm title (hyperterm-plugin-example)
[x] The link for my package or theme uses the npmjs.com link (https://www.npmjs.com/package/hyperterm-plugin-example)
[x] There is a visual representation of what my plugin or theme does in the repo. (Plugin: screenshot or gif || Theme: screenshot of the theme applied to HyperTerm)
[x] Put your awesome item at the BOTTOM of the correct (plugin, theme, or resource) list.
[x] VERY IMPORTANT: I've written a short (one sentence) description for my package or theme as the description of the awesome plugin, theme, or resource in the README.md file I'm submitting in the PR.

That's cool! Thanks for the contribution! ☺


CUDA version

Hello,
Can you please let me know what version of cuda you used?
The first case, I used torch==0.4.1 and cuda 10.0.
When I run the command python3 scripts/train_rpn_3d.py --config=kitti_3d_base --exp_name base
I got the following error
  File "scripts/train_rpn_3d.py", line 324, in <module>
    main(args)
  File "scripts/train_rpn_3d.py", line 140, in main
    rpn_net, optimizer = init_training_model(conf, paths.output)
  File "/workspace/lib/core.py", line 69, in init_training_model
    network = absolute_import(dst_path)
  File "/workspace/lib/util.py", line 98, in absolute_import
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/workspace/output/base/20210923_152833/M3d_inference_align.py", line 5, in <module>
    from model.pose_dla_dcn import DLASeg, DeformConv
  File "/workspace/model/pose_dla_dcn.py", line 17, in <module>
    from .DCNv2.dcn_v2 import DCN
  File "/workspace/model/DCNv2/dcn_v2.py", line 11, in <module>
    from .dcn_v2_func import DCNv2Function
  File "/workspace/model/DCNv2/dcn_v2_func.py", line 9, in <module>
    from ._ext import dcn_v2 as _backend
  File "/workspace/model/DCNv2/_ext/dcn_v2/__init__.py", line 3, in <module>
    from ._dcn_v2 import lib as _lib, ffi as _ffi
ImportError: /workspace/model/DCNv2/_ext/dcn_v2/_dcn_v2.so: undefined symbol: __cudaPopCallConfiguration

I knew that this error is because of cuda and torch version mismatch, so I thought if I change the cuda version from 10.0 to 9.2, I can solve this error.
But I have another problem with cuda 9.2
The second case, I used torch==0.4.1 and cuda 9.2
When I run the command python3 scripts/train_rpn_3d.py --config=kitti_3d_base --exp_name base
I got the following error
Traceback (most recent call last):
  File "scripts/train_rpn_3d.py", line 23, in <module>
    from lib.imdb_util import *
  File "/workspace/lib/imdb_util.py", line 24, in <module>
    from lib.rpn_util import *
  File "/workspace/lib/rpn_util.py", line 16, in <module>
    from lib.nms.gpu_nms import gpu_nms
ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory

This error occurred before reaching the code line that caused the first case error.
So I cannot solve the problem about the command for training.
I tried to use cuda 9.2 and 10.0, but each caused one problem.
Can you please let me know what version of cuda you used?
Thank you!

HY kdheejb7
Do u solve the version problem??

你好，请问版本问题你解决了吗，我也有相似的问题？ @kdheejb7

你好，请问版本问题你解决了吗。我也有相似的问题。 @kdheejb7


$expand not working for mocked service

Hello CAP Experts,
in the Project S/4HANA Business Partner Mock Service I've implemented a mock based on the documentation at Mocking App Services. As the used  Business Partner has quite some Associations. My expectation was that also they should also work out of the box. Unfortunately as you can proof with the REST Client Extension for Visual Studio Code test script in srv/test/test.http the expanded entities stay empty even as the test data provides a consistent set for the Association.
Looking forward for some insight.
Best regards
Gregor

Maybe @chgeo or @David-Kunz can help here?

Hi @gregorwolf ,
The imported definitions seem to not contain all the needed information to resolve the associations.
Consider
  "to_BusinessPartnerAddress": {
          "type": "cds.Association",
          "target": "API_BUSINESS_PARTNER.A_BusinessPartnerAddress",
          "cardinality": {
            "max": "*"
          }
        },

I don't see any on condition here. Therefore we cannot resolve $expands.
Best regards,
David

Is there anything that must be added to the imported EDMX file? As you see I'm using the S/4HANA Business Partner OData Service from the API Business hub.

I think one would need to modify the resulting csn -> Add the on condition. The (much needed) on condition is not available in the edmx file.

Hi @maxstreifeneder ,
My assumption is that calling external services with $expand should work.
The only thing missing is mocking such external services. Here, I'm afraid there's no easy solution since edmx looses the information about on conditions, hence we can't resolve the expansion on database level.
Is my assumption correct?
Thanks and best regards,
David

Hi David,
you are absolutely correct - once it's connected to a real S/4 system everything works smoothly. Would only need it to run tests with mocks while on SQLite..


NSFW tweet requires authentication

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
US
Provide a description that is worded well enough to be understood
download with cookies paramter but error
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['--cookies', './twitter', 'https://x.com/allvideodld/status/1864320115921310120?t=fcgxGtr__B6GuQ9PhtHXOw&s=09', '-o', '%(id)s.10B.%(ext)s', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [4bd265539] (pip)
[debug] Python 3.9.2 (CPython x86_64 64bit) - Linux-5.10.0-33-amd64-x86_64-with-glibc2.31 (OpenSSL 1.1.1w  11 Sep 2023, glibc 2.31)
[debug] exe versions: ffmpeg 6.1-static (setts), ffprobe 6.1-static
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2023.11.17, mutagen-1.47.0, requests-2.32.3, sqlite3-3.34.1, urllib3-2.1.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1837 extractors
[twitter] Extracting URL: https://x.com/allvideodld/status/1864320115921310120?t=fcgxGtr__B6GuQ9PhtHXOw&s=09
[twitter]<PHONE_NUMBER>921310120: Downloading guest token
[twitter]<PHONE_NUMBER>921310120: Downloading GraphQL JSON
ERROR: [twitter]<PHONE_NUMBER>921310120: NSFW tweet requires authentication. Use --cookies, --cookies-from-browser, --username and --password, --netrc-cmd, or --netrc (twitter) to provide account credentials. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies
  File "/et/teleg/py/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 742, in extract
    ie_result = self._real_extract(url)
  File "/et/teleg/py/lib/python3.9/site-packages/yt_dlp/extractor/twitter.py", line 1422, in _real_extract
    status = self._extract_status(twid)
  File "/et/teleg/py/lib/python3.9/site-packages/yt_dlp/extractor/twitter.py", line 1400, in _extract_status
    status = self._graphql_to_legacy(self._call_graphql_api(self._GRAPHQL_ENDPOINT, twid), twid)
  File "/et/teleg/py/lib/python3.9/site-packages/yt_dlp/extractor/twitter.py", line 1277, in _graphql_to_legacy
    self.raise_login_required('NSFW tweet requires authentication')
  File "/et/teleg/py/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 1258, in raise_login_required
    raise ExtractorError(msg, expected=True)

I can't reproduce the issue. Looks like the cookiefile may not have the relevant cookies.
Can you show the output of this command?
cat ./twitter | cut -f1-6 -d$'\t'

(It should print the contents of your cookiefile minus the cookies' values)

I can't reproduce the issue. Looks like the cookiefile may not have the relevant cookies.
Can you show the output of this command?
cat ./twitter | cut -f1-6 -d$'\t'

(It should print the contents of your cookiefile minus the cookies' values)

I think cookie file is correct.   Because the URL https://x.com/CMGS1988/status/1865746232305750222 can download.

I think cookie file is correct. Because the URL https://x.com/CMGS1988/status/1865746232305750222 can download.

That's not an NSFW tweet. You don't need authentication to download it. If you don't provide the info I am asking for then I can't help you

It should print the contents of your cookiefile minus the cookies' values)

.twitter.com    TRUE    /       TRUE<PHONE_NUMBER>      auth_token
.twitter.com    TRUE    /       FALSE<PHONE_NUMBER>      ct0
.twitter.com    TRUE    /       FALSE<PHONE_NUMBER>      guest_id
.twitter.com    TRUE    /       TRUE<PHONE_NUMBER>      guest_id_ads
.twitter.com    TRUE    /       TRUE<PHONE_NUMBER>      guest_id_marketing
.twitter.com    TRUE    /       TRUE<PHONE_NUMBER>      kdt
.twitter.com    TRUE    /       TRUE<PHONE_NUMBER>      personalization_id
.twitter.com    TRUE    /       TRUE<PHONE_NUMBER>      twid
twitter.com     FALSE   /       FALSE   0       lang

you are exporting cookies from twitter.com instead of x.com

you are exporting cookies from twitter.com instead of x.com

This mean I need export cookies from x.com, right?

yes

I remeber export from x.com and what operation will yt-dlp do to change the cookies?

Just pass the exported x.com cookiefile to yt-dlp like you were doing with the twitter cookies originally

Just pass the exported x.com cookiefile to yt-dlp like you were doing with the twitter cookies originally

OK, thank you very much.


Broken Audio / Video when connecting a Bluetooth speaker

While connecting a bluetooth speaker audio and video playing with a pause in each second

The reason for this to happen is the audio stream requires a sampling process before it's sent to your Bluetooth speaker, this process is apparently resources-intensive and shares the same hardware encoder as decoding the video stream.
Raspberry Pi does not have the best media processing ability I am afraid, it's too much of an ask for the Pi to stream video whilst re-sample the audio and stream it via BT at the same time.

The reason for this to happen is the audio stream requires a sampling process before it's sent to your Bluetooth speaker, this process is apparently resources-intensive and shares the same hardware encoder as decoding the video stream.
Raspberry Pi does not have the best media processing ability I am afraid, it's too much of an ask for the Pi to stream video whilst re-sample the audio and stream it via BT at the same time.


Print test process output while running in integration tests.

That way, if the test times out, you can still read the mirrord logs.

Branches from https://github.com/metalbear-co/mirrord/pull/536

bors r+


Broken example query

In the QLever UI, the bounding box examples are currently broken. (This might well be a backend problem, not an UI issue; sorry if I’m filing this bug at the wrong project). Steps to reproduce:

Go to http://qlever.cs.uni-freiburg.de:8080/osm-planet
From “Examples”, select “All university buildings in the bounding box of Freiburg”
Press “Execute”

Expected: The example query should get processed.
Observed: Error: Unknown error. Exception: ParseException, cause: Unexpected input: contained(?envelope, "LINESTRING(7.662006 47.903578, 7.930844 48.071058)") }

@brawer Sorry for the late reply. The OSM Planet UI has moved to https://qlever.cs.uni-freiburg.de/osm-planet a long time ago and all the queries there should work now. Please let us know if you find a query that doesn't work.


{all services} Reorganized reference TOC by product or service

The purpose of this PR is to refresh our reference TOC in corrected product or service groups.  Sister PR is https://github.com/Azure/azure-cli-extensions/pull/6394

@dcaro , @jsntcy, I fixed the build validation errors yesterday that are now popping up with time.  If you could kindly review this PR and/or respond to conversations, I'd be grateful.

@jsntcy / @kairu-ms, @dcaro and I had a final review of this PR today.  Can you please merge before more build conflicts pop up?  Thank you.
#sing-off

@dbradish-microsoft, I had two comments, please take a look and fix the CI error as well.

@jsntcy, fixed.


Login Issue

Good Day.
Please I can't log in in udeler app using my udemy business name. secondly, if I log in with my udemy credentials, all my courses will not be found.

thanks.

You need to do a little trick to login to Udemy Business. Unless you can not see any courses.
Let assume that your Udemy business's URL is: [domain].udemy.com. You need to check on Udemy Business on login form first. Type domain to Udemy Business Name. And then CLICK (not press Enter) on Login Using Credentials button. It will open another popup to login.
Hope that it may help you!

Hello, I used this method, but after clicking the login button, the pop-up window is always blank


join_stream does not catch panics in sub-tasks

Hi @vojtechkral,
It seems, join_stream does not catch panics in sub-tasks.
Here is an example that demonstrates this:
#[tokio::main]
async fn main() -> eyre::Result<()> {
    use futures::StreamExt;

    let tasker = tokio_tasker::Tasker::new();
    let tasker2 = tasker.clone();

    tasker.spawn(async move {
        tasker2.spawn(async {
            println!("Sleep 2");
            tokio::time::sleep(std::time::Duration::from_secs(3)).await;
            panic!("foo"); // Not caught by `join_stream`, but caught by `try_join`
            println!("Awoken 2");
        });

        println!("Sleep 1");
        tokio::time::sleep(std::time::Duration::from_secs(5)).await;
        println!("Awoken 1");

        //panic!("bar"); // Would be caught by `join_stream`

        tasker2.finish();
    });

    println!("Join all the tasks.");

    // Catches both panics:
    // for r in tasker.try_join().await {
    //     r.expect("A task failed");
    // }

    // Only catches the 'bar' panic:
    let mut stream = tasker.join_stream();
    while let Some(result) = stream.next().await {
        println!("Got result: {result:?}");
    }

    println!("Finished");

try_join behaves as expected, but join_stream does not catch the failure of the sub-task.

Thanks for reporting, will have a look...


0.2 pcb - SW7/SW3 are swapped

It seems SW7 (which should go to RP2040) & SW3 (which should go to FPGA) are swapped.

Issue is on 0.3 PCB (now on order) & will be tested once board is built. Issue will be closed once fix is confirmed.


Fixing publish test results in gradle task

Description: Currently, gradle task does not publish test results even if one of the tests fail because of the way handler is implemented. This fix will call publish in all cases.
Testing : Manual

https://github.com/Microsoft/vsts-tasks/pull/2864 to PR for master.

Looks good to me, thanks.


[WIP] add new callback CheckpointSaver

Adds a new callback that can be used to save a checkpoint after each iteration with skopt.dump.

Hello @cschell! Thanks for submitting the PR.

In the file skopt/callbacks.py, following are the PEP8 issues :

Line 266:80: E501 line too long (80 > 79 characters)

In the file skopt/tests/test_callbacks.py, following are the PEP8 issues :

Line 61:80: E501 line too long (89 > 79 characters)
Line 64:80: E501 line too long (80 > 79 characters)

Codecov Report

Merging #665 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #665      +/-   ##
==========================================
+ Coverage   85.92%   85.97%   +0.05%
==========================================
  Files          23       23
  Lines        1797     1804       +7
==========================================
+ Hits         1544     1551       +7
  Misses        253      253

Impacted Files
Coverage Δ

skopt/callbacks.py
95.95% <100%> (+0.3%)
:arrow_up:

Continue to review full report at Codecov.

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

I'm not sure about how to test the file-stuff, since I have no experience with pytest. For now the test is pretty hacky, maybe someone with more know-how can help me out here?


High memory usage on Linux

I don't know if this is normal? It takes up almost as much memory as a chromium-based program. Thanks.
Debian 12

I also noticed this in (openSUSE and Arch)

@mfascioglu , I also used XDMan for a long while until I switched to Wayland (DEs/Compositors), but it also consumes a lot of memory (if you're using the 7 version Java based) you can confirm if you search for Java processes. If it's the new rewrite (version 8) you can ignore this comment.

@salahoued I checked and compare it after read your answer. I am using lastest java XDM ver. 7.2.11. Checking with various tools I could not detect any java process running in the background other than XDM. Therefore, I disagree with your comment. I don't know if this memory usage is normal. Maybe everything is as it should be.

Thank you for confirming. I see , maybe I was wrong, it's been a little while now that I used XDM.
Sorry about that

Hello everyone. unfortunately this is a known bug.
we talked about it here


Revoke session on logout.

Closes #602
In main, logging out with the Python client discards the relevant tokens, but it leaves the session open. Anyone holding a copy of the refresh token (somehow) can refresh the session and continue to use it, as long as they do so within the refresh token lifetime (days or weeks).
Now, logging out first revokes the session, such that it can not be refreshed again, and then discards the tokens. A new unit test verifies that the old refresh token cannot be reused after logout.

Would it make sense to return 409 for this case also?  Session might exist, but it belongs to a different user.
https://github.com/bluesky/tiled/blob/cfb4cf3a900637be56460004d0dc13bb701a25bd/tiled/server/authentication.py#L931-L936

I think 404 is right in this case. The user is providing an ID, and this follows the principle, "If this isn't yours, you're now allowed to know whether or not it exists."

I think 404 is right in this case. The user is providing an ID, and this follows the principle, "If this isn't yours, you're now allowed to know whether or not it exists."

Oh, right.  That make sense.


Question - Going from markdown to a custom component?

First off, thanks a lot of the library... looks great.  I'm trying to figure out what I would need to do to go all the way from custom mark down syntax, to a React component.
So for example, say I wanted to turn <<blah.mp3>> into a React based audio player component.
I understand there's handleIterate, but by the time handleIterate is called, the markdown is already coming back as HTML.  Would I need to turn <<blah.mp3>> into something like  and then in handleIterate check based on props for that specific class name?
Thanks in advance,
Matt

I assume an answer is not needed any more. Sorry for the delay. Please reopen if you still want to discuss.


Tweak pressed CheckBox appearance in the editor

This uses the accent color to match pressed CheckButtons after they were updated. I got the idea thanks to this mockup :slightly_smiling_face:
Checked checkboxes are now more prominent in the user's peripheral vision, which can be useful at times. This also matches how checkboxes look in most operating systems and web browsers.
Note that this has the same limitations as the previous CheckButton PR (non-default accent colors won't be used to recolor the icon). I still think this is an usability upgrade overall, so we can look into adding recoloring support for icons later in the 4.0 cycle.
This is cherry-pickable to the 3.x branch for consistency with the aforementioned CheckButton PR. The change also "makes sense" without the editor theme revamp, so it should be visually consistent there.
Preview
Dark theme

Before
After

Light theme

Before
After

This looks good for project/editor settings where your focus is fully on editing the settings, but I wonder if this wouldn't be too much accent for boolean properties in the inspector. I guess we can merge and see if users complain.

Thanks!

Cherry-picked for 3.4.


Assistance with NCEPLIBS install

Good afternoon,
I have a ServiceNow
nceplibs_install_error2.txt
ticket to install NCEPLIBS for OPC.  I was given the following page of where the libs can be found: https://github.com/NOAA-EMC/NCEPLIBS?tab=readme-ov-file.
The user wants it installed in a shared location and available to compilers.  I attempted to follow these instructions to install but was unsuccessful.
git clone https://github.com/spack/spack
. spack/share/spack/setup-env.sh # assuming bash, zsh, or dash shell
spack external find cmake gmake # find external packages to save time
spack install ip
spack load ip
See the attached file for the errors.
Because we are not familiar with NCEPLIBS and how they are installed/used, can you please provide us some assistance it getting the NCEPLIBS available to the user?

Since you started with vanilla spack installing package ip, I am wondering if this issue belongs into the ip github repo or the spack repo?

Good morning,
Is there any update with getting assistance on doing the NCEPLIBS install?
Thanks.

I responded two weeks ago (see above) and didn't hear back from you.
I am not sure this is the right place to ask if you are doing pure spack installs (as opposed to spack-stack) of the NCEPLIBS. This is either a question in the spack repository https://github.com/spack/spack or in the NCEPLIBS repositories at EMC?

Good morning Dom.
I wasn't sure if that was a question for me as I have absolutely no
knowledge of NCEPLIBS or the actual installation process. I was instructed
by Jacob Carley to submit a ticket to
https://github.com/JCSDA/spack-stack/issues for assistance on how to
install.
Thanks.
On Tue, Aug 27, 2024 at 9:07 AM Dom Heinzeller @.***>
wrote:

I responded two weeks ago (see above) and didn't hear back from you.
I am not sure this is the right place to ask if you are doing pure spack
installs (as opposed to spack-stack) of the NCEPLIBS. This is either a
question in the spack repository https://github.com/spack/spack or in the
NCEPLIBS repositories at EMC?
—
Reply to this email directly, view it on GitHub
https://github.com/JCSDA/spack-stack/issues/1242#issuecomment-2312514117,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKR6UJDMSYUYTYIPM7JS6BDZTR2Y3AVCNFSM6AAAAABMSYNOVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJSGUYTIMJRG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Michelle Waters
Linux System Administrator
IBM
NOAA Affiliate
Email: @.*** @.**>

Ok. Let's see if our EMC colleagues for spack-stack can help you. @edwardhartnett @AlexanderRichert-NOAA Can you help @nco-mwaters with installing the NCEPLIBS using spack (or spack-stack)?

Hi Michelle-- Why don't we pick up this conversation on the NCEPLIBS repository (https://github.com/NOAA-EMC/NCEPLIBS/issues) and close this issue since it's not directly related to spack-stack. Looking at the output, it may or may not be an issue with Spack itself, but we can help you diagnose that. It might be as simple as a configuration issue with the compilers since it looks like it's failing when it tries to create test executables.

Submitted issue https://github.com/NOAA-EMC/NCEPLIBS/issues/215.  Closing this issue.

Submitted issue https://github.com/NOAA-EMC/NCEPLIBS/issues/215.  Closing this issue.


Setup networking assigns wrong gateway.

I ran into an issue when running the networking setup that would cause me to be unable to ssh to my pis after reboots.  I'm not sure if this is known or not but thought I would open an issue.  I discovered that is was due to the pis having the wrong gateway.  My pis are in a different subnet from my ansible control node.  I have forked the repo and added a new var for set networking where a user can insert the correct value in the vars.yml, then the correct gateway is added in with the template.  Would it be possible to have my contribution merged?

Yes; that should probably be a variable anyways; just make it a variable with the default set correctly and that would be simple enough to merge.


Not working after the latest docusaurus update

Description
After installing the latest docusaurus update an error is happening during dev server startup.
Steps to reproduce

Install typesense with the latest docusaurus beta version as explained here: https://docusaurus.io/docs/search#using-typesense-docsearch

Expected Behavior
Dev server is starting without errors as before the update to docusaurus version 2.0.0-beta.13.
Actual Behavior
The following error message is displayed when starting the dev server:
Module not found: Error: Can't resolve '@theme/hooks/useContextualSearchFilters' in 'C:\Dev\swg\node_modules\docusaurus-theme-search-typesense\src\theme\hooks'
client (webpack 5.64.2) compiled with 1 error
Metadata
Typsense Version:
<EMAIL_ADDRESS>| MIT | deps: 11 | versions: 5
Typesense search component for Docusaurus.
https://github.com/typesense/docusaurus-theme-search-typesense#readme
dist
.tarball: https://registry.npmjs.org/docusaurus-theme-search-typesense/-/docusaurus-theme-search-typesense-0.1.0.tgz
.shasum: 355afa3fd9407074a1e6e12d4dd385a214ba358d
.integrity: sha512-agdbDigezghgkTjdYEfKB3CB2H0OVBoYNjm4fhPPbCiACzelSRF9dDkiuiqAU6HcgUSMx3T7p/EQD5kW1/gpHQ==
.unpackedSize: 52.8 kB
dependencies:
@docusaurus/core: 2.0.0-beta.4             @docusaurus/utils: 2.0.0-beta.4            eta: ^1.12.1                               typesense-instantsearch-adapter: ^2.2.0-1
@docusaurus/theme-common: 2.0.0-beta.4     algoliasearch-helper: ^3.3.4               lodash: ^4.17.20                           typesense: ^0.14.0
@docusaurus/utils-validation: 2.0.0-beta.4 clsx: ^1.1.1                               typesense-docsearch-react: ^0.0.1
NPM version:
npm: '8.1.2',
node: '16.13.1'
OS:
Windows 10 Enterprise 21H1 latest

I'm getting the same issue!

Haven't tested e2e, but I created a fork and changed the import to:
// import useContextualSearchFilters from '@theme/hooks/useContextualSearchFilters';
import { useContextualSearchFilters } from '@docusaurus/theme-common';

and updated @docusaurus dependencies to latest as peer dependencies, i.e:
	"peerDependencies": {
		"@docusaurus/core": "2.0.0-beta.14",
		"@docusaurus/theme-common": "2.0.0-beta.14",
		"@docusaurus/utils": "2.0.0-beta.14",
		"@docusaurus/utils-validation": "2.0.0-beta.14",
                 "...other peer deps"
	},

Prevents the compilation error, but haven't verified if this causes any runtime issues.

Thanks @tbrockman. I've pushed that out as an update in v0.2.0-0. Could you give it a try to see if it works?

Yep, seems to compile, thanks for the quick turn-around!

Is there a reason not to merge this into master and release 0.2.0?

Thank you for confirming. Just published 0.2.0 with this fix.

Thanks!

After updating to 0.2.0 I'm getting an error now in client side search regarding "docusaurus_tag" in filter_by query header which contains "docusaurus_tag:=[default,docs-default-current]". The server complains that this cannot be handled.
I didn't change anything else, just updated to docusaurus beta.14 and typesense-search plugin 0.2.1, then this error suddenly happened. Then I updated also the server to the latest version 0.2.1, but nothing changed.
I guess this change was made too quickly and was not properly tested.

Could you try doing a docker pull on the scraper image and then running the scraper again, to see if that fixes the issue?
If that doesn’t fix the issue, could look at the network requests in the browser, find the last network request to Typesense, copy-as-curl the request and paste it here?

I'm always pulling the latest version of the Docker image in the pipeline like
docker run --net=host --env-file=.env -e "CONFIG=$(cat docsearch.config.json | jq -r tostring)" typesense/docsearch-scraper
Now I have rolled-back to docusaurus beta.9 and docusaurus-theme-search-typesense 0.1.0 and the search is working again with typesense server version 0.22.1.

Actually could you try with v0.3.0-1 of docusaurus-theme-search-typesense? That has an additional fix.


⚠ Visual-Crew_Builder has degraded performance

In c4cff74, Visual-Crew_Builder (https://visual-crew-builder.ai) experienced degraded performance:

HTTP code: 200
Response time: 1619 ms

Resolved: Visual-Crew_Builder performance has improved in 21207c4 after 9 minutes.


Fix a security issue:

"remote-addr" and "http-client-ip" may be overwrited by a carefully/special http header:

GET /test.html HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Accept-Encoding: gzip, deflate
Proxy-Connection: Keep-Alive
Host: www.test.com
Pragma: no-cache
remote-addr:XXX.XXX.XXX.XXX
http-client-ip:XXX.XXX.XXX.XXX

The Moplus SDK of Baidu(Baidu.com) uses the library led to the following questions:
http://blog.trendmicro.com/trendlabs-security-intelligence/setting-the-record-straight-on-moplus-sdk-and-the-wormhole-vulnerability
http://www.wooyun.org/bugs/wooyun-2015-0148406

。。。已经有两个一模一样的pr了。。这是第三个。。。 而且之前一个也是360的人。。

Already fixed by #250

简直了。。

Please use only English!


✨ syncer: convert namespace in pod affinity

Signed-off-by: zhuangqh<EMAIL_ADDRESS>

What this PR does / why we need it:
tenant scope ns affinity
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/lgtm
/approve


License fix

Update license text to reflect the change from LICENSE.txt -> LICENSE.md , and add what kindnof license it is.

As part of this, can you change all the Authors.txt to AUTHORS.md as I renamed that as well.
You can add [skip ci] to the first line of your next push to skip Travis and avoid those errors


[BUG] Preview image doesn't work if img directory is outside home (one up)

Please confirm

[x] I am running the latest version of this plugin

Describe the bug
Preview image doesn't work if img directory is outside home (one up)
To Reproduce
Steps to reproduce the behavior:
use this on init.vim:
    local home = vim.fn.expand("/home/q/Seafile/LSnotes/pages")
    require('telekasten').setup({
    home         = '/home/q/Seafile/LSnotes/pages',
    ...
    image_subdir = "../assets",

Note the assets directory is one up from home
Then when I try to preview an image, with lua require('telekasten').preview_img()<CR>
I get an empty box showing no files with the following on the search box:

../assets/pasted_img_20220512235309.png

Screenshots

Operating system (please complete the following information):

OS: Manjaro linux

Can you try putting an absolute path for image_subdir?
In your example, that would be
image_subdir = "/home/q/Seafile/LSnotes/assets"

Can you try putting an absolute path for image_subdir? In your example, that would be
image_subdir = "/home/q/Seafile/LSnotes/assets"

image_subdir should either be a proper subdirectory (not a relative path outside of home) or an absolute path.

Tried this.
I edited the filepath by hand, and trying image preview (leader zp), I get the following message:

Removing the path completely and using just the filename shows this error (missing the assets directory):