query_devices() 0.3.6 host API name decoding problem

query_devices() crashes:
File "C:\Program Files\Anaconda3\lib\site-packages\sounddevice.py", line 712, in query_devices
_lib.Pa_HostApiTypeIdToHostApiIndex(_lib.paMME)) else 'utf-8'),
UnicodeDecodeError: 'mbcs' codec can't decode bytes in position 0--1: No mapping for the Unicode   character exists in the target code page.
Changing the "mbcs" at line 710 to "utf-8" fixed the problem in my environment.
OS: Windows 7 SP1 and Windows 10 (Japanese)
Python 3.5
sounddevice ver 0.3.6 (wheel from http://www.lfd.uci.edu/~gohlke/pythonlibs/)

Can you please provide a screenshot of the output of query_devices() after your fix?
Does the same error happen if you run the following in a terminal?
python3 -m sounddevice

I don't have a Windows system myself, so you'll have to help me out a bit.
I changed MME to use 'mbcs' because of what @raecke said in https://github.com/spatialaudio/python-sounddevice/issues/30#issuecomment-236717086.
So are some MME devices using 'mbcs' and others 'utf-8'?

Thank you for looking into this.
Here is the screen shot of query_devices() call.

And this is the result of a run from the console. The same Python error occurred.

As I understand, international customization of Windows used locally devised encoding scheme (in 1980s) For instance, in Japan, Microsoft used a proprietary 2-bytes coding scheme called shift-jis.  Later, Microsoft adopted unicode as their internal string representation with tiny encoding translation layers elsewhere  to/from legacy coding scheme to talk to old applications and drivers that only speak legacy one.
So, my guess is that there are some audio driver or some old portaudio implementation that is still speaking old local encoding strings.  Unfortunately, I don't know how to identify the encoding in use from OS version etc.

python -m sounddevice works with my computer without problems. My windows versionis Windows7.
>>>sounddevice.__version__
'0.3.6'
>>>sounddevice.get_portaudio_version()
(1246720, u'PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4')

I cannot find a it at the moment, but I once saw a commit in the portaudio sources that switched the device name encoding to UTF8 also for WMME and DSOUND.

Would it make sense to try it with 'mbcs' first and in case of a UnicodeDecodeError do it again with 'utf-8'?

No, decoding UTF8 encoded data with MBCS does not fail if MBCS is e.g. cp1252 (Germany).
First trying to decode with UTF8 and when this fails trying to decode with MBCS could work reasonably well.
>>> u"Gerät".encode('utf8').decode('mbcs')
u'Ger\xc3\xa4t'
>>> u"Gerät".encode('mbcs').decode('utf8')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 3: unexpected end of data

@raecke OK, thanks for checking this out!
@taktot Can you please try the same thing on your system with a few kana? And probably some kanji as well, just to be sure ...

I have found a discussion about devicenames in portaudio (ticket #224).
The change to convert them to UTF-8 was made at 2014-04-11, but only applies if the portaudio library is compiled with _UNICODE or UNICODE defined.

@mgeier I tried what @raecke did with some Japanese characters.  I cam make it fail both ways. I think it really depends whether the encoded bit pattern happens to be a legal pattern in another encoding.
Example 1:  Failed both ways.
`testmsg = u"サウンドデバイス音響装置さうんどでばいす"
testmsg.encode("utf-8").decode("mbcs")
UnicodeDecodeError                        Traceback (most recent call last)
 in ()
----> 1 testmsg.encode("utf-8").decode("mbcs")
UnicodeDecodeError: 'mbcs' codec can't decode bytes in position 0--1: No mapping for the Unicode character exists in the target code page.
testmsg.encode("mbcs").decode("utf-8")
UnicodeDecodeError                        Traceback (most recent call last)
 in ()
----> 1 testmsg.encode("mbcs").decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 0: invalid start byte`
Example 2.  With lucky string, I can do utf-8 to mbcs without exception although the decode
string does not make any sanse.
`testmsg = u"音"
testmsg.encode("utf-8").decode("mbcs")
Out[16]: '髻ｳ'
testmsg.encode("mbcs").decode("utf-8")
UnicodeDecodeError                        Traceback (most recent call last)
 in ()
----> 1 testmsg.encode("mbcs").decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte`

@taktot Thanks for testing, that's good news! We only have a problem if 'mbcs' raises an exception and 'utf-8' doesn't.
I made a PR that relies on this behavior: #73.
Can you please check if it works for you?
Can you please try it with both the bundled DLL and the Gohlke DLL?
@raecke Thanks for finding the relevant PortAudio changes!
Do we know (from inside of the sounddevice module) if the library was compiled with UNICODE/_UNICODE or not?
I didn't specify anything like this in the bundled DLLs (https://github.com/spatialaudio/portaudio-binaries), but it may have been set by some other process ...
What about the Gohlke DLLs?

What are the Gohlke DLLSs? I know the website with all the WHL files, but where are portaudio DLLS?

@raecke AFAIK the DLLs are not individually available for download, but you can simply unzip the WHL files to get at the respective DLLs.

The portaudio_x86.dll found in sounddevice-0.3.6-cp27-cp27m-win32.whl is compiled with UNICODE. The bundled DLL is not compild with UNICODE.
The MME device names from portaudio_x86.dll are encoded in UTF-8.
The MME device names from the bundled DLL are encoded in MBCS.
I think there is no officially way to check if the DLL was compiled with UNICODE.

The branch try-first-utf8-then-mbcs works with both DLLs as expected.

The "try-first-utf8-then-mbcs" branch works fine also in my environment (Win10, 64bit, Python3.5).
Thank you for the fix.

@raecke Thanks a lot for checking this out! Should I try to define UNICODE/_UNICODE for future builds of the bundled DLLs? Or does it also have some disadvantages?
@taktot Thanks for testing! Did you have a chance to test it on both versions of the DLL?

I am not sure if you should use UNICODE for the bundled DLLs.

I am not sure if the ASIO SDK has problems when compiling with UNICODE.
The Portaudio code might also have some problems. For example I think the error message for
paUnanticipatedHostError generated by the function PaWinUtil_CoInitialize in
pa_win_coinitialize.c will just be missing if compiled with UNICODE.

@raecke Thanks for the information!
I'll keep the DLLs unchanged for now.


NSP data in binary format  instead of base64 encoded

Store data in binary format inside nsp instead of base64 encoded
Description

Store resources directly in binary format
Test performance and file size

Test

Images

PBR Example [30.3MB ->23MB]

Video
Audio

25.3MB -> 19MB (File size almost same size as source resources)

Fonts

3 Fonts [205Kb ->179Kb]


How to predict own protein

How can I process my own protein

Please see the README THE here https://github.com/tyang816/ProtREM?tab=readme-ov-file#your-own-dataset


Add new features: getWithPrefixe and deleteWithPrefix

Get all the keys that match the given prefix
Delete all the keys that match the given prefix

can you change the commit msgs to be:
options: add prefixEndOf and tests
style: adjust the placement of the static import statements

close this for https://github.com/coreos/jetcd/pull/99


Repo: Add .prettierrc

Complete the following REQUIRED checkboxes:

[x] I have thoroughly read and understand The Odin Project Contributing Guide

[x] The title of this issue follows the command name: brief description of request format, e.g. /help: add optional @user parameter

The following checkbox is OPTIONAL:

[ ] I would like to be assigned this issue to work on it

1. Description of the Feature Request:
Currently, prettier is listed as a project dependency (also a little odd it's not listed as a devDep).
On several occasions, if someone is using the VSCode PRettier extension (very common due to the curriculum recommendations), format-on-save or muscle memory with a keybind can kick in which leads to needing to make a new commit reverting any unintentional formatting changes (e.g. quotes, spacing, indents etc.)
This can be solved by adding a root-level .prettierrc file containing the following:
{
    "arrowParens": "always",
    "bracketSpacing": true,
    "bracketSameLine": false,
    "endOfLine": "lf",
    "htmlWhitespaceSensitivity": "css",
    "insertPragma": false,
    "printWidth": 80,
    "proseWrap": "preserve",
    "quoteProps": "as-needed",
    "semi": true,
    "singleQuote": true,
    "tabWidth": 2,
    "trailingComma": "all",
    "useTabs": false
}

The above is the ruleset I found to be the closest formatting to most of the JS files and will result in the fewest unintentional changes.
The only real changes to expect would be a few line-break changes due to the 80 printWidth value (80 seems to fit more files than 100, and IMHO is a little more readable for many of the ones that do end up shifting due to it). Perhaps also a few trailing commas (setting to 'es5' removes quite a few from function args in some files).
But as far as I can see, there shouldn't be many changes other than those, and even those should only be limited to the odd line in the odd file.
2. Acceptance Criteria:

[ ] Add a top-level .prettierrc file with the above ruleset

3. Additional Information:
If approved, the work should be simple so would be happy for anyone to claim it if so. But if it goes unclaimed for a while after approval, I'll knock it out quick.

This should enable us to format everything with prettier . -w.

You can even have a GH actions bot run that command in the workflow to ensure nothing is merged without matching


Rederer timeout

I've detected this problem with Jade templates.
Whenever i write something like:
- var i = 0
while i < 10
  p ...

In the moment I type the "p" the previewer freezes and closes after while.
I know it's a Jade problem and there they aren't working on this.
I just thought if atom-preview could have a timeout attribute to kill render processes after delayed time.

It looks like Jade compiles the template synchronously: https://github.com/Glavin001/atom-preview/blob/master/lib/renderer.coffee#L114-L115
So unless Jade library itself supports adding a timeout attribute to kill the render process, we wouldn't be able to step in and do that from Atom Preview.


Allow circleci to deploy to WIP channel

Currently deploying from feature branches doesn't work - this allows circleci to public to a temporary channel for testing.

@corest i'm not sure, this is going off of a conversation in sig-releng with Ross and Marcel.

@corest It doesn't get unpublished as we'd need to know when the channel is no longer required.
It's the same as container images we push a tag with each commit that gets built with architect.


Handle a Shape having formula - AlternateContent

Symptom: Once a formula added into any type of shape, then Slide.shapes will not handle the Shape
Reason: The shape is represented inside of AlternateContent element.
Solution: Select first item of AlternateContent as a content.

This PR bakes in the assumption that the user wants a specific "choice" (in the markup compatibility parlance).
Another approach would be to explicitly define this as a new shape node. The XML can be parsed like:
class CT_AlternateContent(BaseOxmlElement):
  veChoice = ZeroOrMore('ve:Choice')
  veFallback = OneAndOnlyOne('ve:Fallback')

register_element_cls("ve:AlternateContent", CT_AlternateContent)
register_element_cls("ve:Choice", CT_GroupShape)
register_element_cls("ve:Fallback", CT_GroupShape)

Then maybe produce a MarkupCompatibility shape from the BaseShapeFactory?

MarkupCompatibility(BaseShape)

choices: returns an array of GroupShape, corresponding to each ve:Choice element
fallback: returns a GroupShape, corresponding to the e:Fallback element

For the example with equations, the most likely scenario is you traverse slide.shapes and, when encountering a MarkupCompatibility instance, you select the first choice which would contain the "missing" table as well as the equation nodes.

@scanny Do you have any interest in supporting these "AlternateContent" elements? They are essentially conditional branches of XML that allow fallbacks for features that may not be backwards compatible with older versions of PowerPoint.
PowerPoint may place these branches near the root of the shape tree, instead of tightly bounding a feature. So if you have math formulas inside a table, then that table won't be enumerated as a shape.
For example, if you have a table containing "math stuff", needing >=2010, then the XML tree may look like:

  <mc:AlternateContent xmlns:mathStuff="http://schemas.microsoft.com/office/drawing/2010/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <mc:Choice Requires="mathStuff">

        ...

        <mathStuff:formula>
          ...
        </mathStuff:formula>

    </mc:Choice>
    <mc:Fallback>

        ...

    </mc:Fallback>

If you're interested, guidance on implementation would be appreciated. There's an implementation in this PR, and I've also proposed an alternative. Thanks.

Hey! Your PR seemed to have solved most of the issues with parsing equations but I'm still having some issues could you please look at issue #892?


[Request] Ability to close pop-up

Thank you for creating this plugin.
I made an issue because I wanted to request one function.
Expected
I want the function to close the pop-up that existed in 'deoplete'.
Environment Information

ddc version (SHA1): eab78cbfe76f877b14fc84a76c75b3cf530098e4

The reason is that when the pop-up is decided by the enter key, a line break occurs.

Why you cannot use <C-y>?  Please describe the example.

I didn't know about . sorry.

OK.  If the feature is really needed, I will add it.


Don't delete, but just stop oldest duplicate container

Previously we would delete DNS and metadata containers if we found that
two of them existed (running or not).  That brakes upgrade as two will
exist during upgrade.  Instead now we just stop the oldest container if
more than one running container is found.  This should never be the case
during upgrade because of stop before start.  The behavior of stopping
the oldest container is needed if you removed a host and add it back in.
In this situation you would have the old metadata container and a new
one running.  Since they both listen on <IP_ADDRESS> you end up with
issues of new containers talking to old stale metadata (and DNS).  For
this reason we stop the old ones.  Eventually (after instance purge
interval) the stopped metadata/dns containers will get deleted from the
host.

LGTM


Unable to start all the containers after deploying ASA Job module

Content: Azure IoT Edge Streaming Analytics
Before deploying ASA Job module, there are 2 other modules deployed according to the documenation - tempSensor, filterModule. After deploying the ASA module, unable to start 1 or other container.  I tried to create multiple iot hub and created iot edge devices with modules, but everytime same result of unable to start random containers (tempSensor, filterModule, EdgeASAJob). I am using "windows 10 pro Standard D2s v3 (2 vcpus, 8 GB memory)" with latest build 17134.

C:\Users\edgeuser> docker container start EdgeASAJob
Error response from daemon: container 62e7b1ea39a56514e6d379f373132dba42d290486978ba169102ae41930c8d3a encountered an error during CreateContainer: failure in a Windows system call: The paging file is too small for this operation to complete. (0x5af) extra info: {"SystemType":"Container","Name":"62e7b1ea39a56514e6d379f373132dba42d290486978ba169102ae41930c8d3a","Owner":"docker","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\ProgramData\Docker\windowsfilter\62e7b1ea39a56514e6d379f373132dba42d290486978ba169102ae41930c8d3a","Layers":[{"ID":"54e7a576-288d-5193-b208-36beb576fb15","Path":"C:\ProgramData\Docker\windowsfilter\fc23705a27f706cdaf85e68809f2bc03491846b24a33dcd4c104a4b99f684100"},{"ID":"47b6a75a-1dd4-5c13-af91-2614bc862057","Path":"C:\ProgramData\Docker\windowsfilter\c9eb428682a73c9987c6333568cbf9b42ebb637ccd1a24fff820c3bc4d10710a"},{"ID":"17b9ba91-0e87-533f-b002-1e658bec7568","Path":"C:\ProgramData\Docker\windowsfilter\46d927c190546d10549e04dd388f6c0923bd502ee9a8394953bb9e18ee56fb76"},{"ID":"d686009c-b776-54bb-811a-8f2a26a4470e","Path":"C:\ProgramData\Docker\windowsfilter\a8a8b2f67626a1b306c93722d61367f12bef0017a364627e4315e60ffa073be6"},{"ID":"1e1339d3-57b5-5970-9594-8405c387c6b0","Path":"C:\ProgramData\Docker\windowsfilter\77eeb7bb927c90eca57dfb156b761d8f9463dfa70dc4c3fd4e3b20f0547bd1f2"},{"ID":"ef654a8d-df07-54f6-9de8-68376782c01f","Path":"C:\ProgramData\Docker\windowsfilter\2556f9e3e9e467e91ab4dafa50832023ddc91b9e80cc192b9069b6b6535cd8d0"},{"ID":"552d0cc7-ebc1-5ae8-9849-e2b58cddfdb0","Path":"C:\ProgramData\Docker\windowsfilter\b2c822a945f79a936c08fa1603a5203c2302d0b5612591c525f06b76be77e507"},{"ID":"9891a7f4-9412-566c-ad54-471925b49547","Path":"C:\ProgramData\Docker\windowsfilter\699681d9ad3422cb50105edc80e46c6822cdb8b01a99c90f4c5107557ee200dc"}],"HostName":"62e7b1ea39a5","MappedDirectories":[{"HostPath":"C:\ProgramData\Docker\volumes\edgemodule\_data","ContainerPath":"c:\mnt\edgemodule","ReadOnly":true,"BandwidthMaximum":0,"IOPSMaximum":0,"CreateInUtilityVM":false}],"HvPartition":true,"EndpointList":["0e6b0ee3-aa4d-4a01-b06f-ac80401d1d42"],"HvRuntime":{"ImagePath":"C:\ProgramData\Docker\windowsfilter\b2c822a945f79a936c08fa1603a5203c2302d0b5612591c525f06b76be77e507\UtilityVM"},"AllowUnqualifiedDNSQuery":true}
Error: failed to start containers: EdgeASAJob

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

ID: 6c6c2a4f-2979-8420-115c-852bee17e43b
Version Independent ID: 01b5c8c0-4f08-53f7-7be7-a22038ad6988
Content: Deploy Azure Stream Analytics with Azure IoT Edge
Content Source: articles/iot-edge/tutorial-deploy-stream-analytics.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@smharishbabu Thanks for the feedback! We are currently investigating and will update you shortly.


Parentheses causes TS Playground to crash

TypeScript Version:  3.5.1

Search Terms:
parentheses, max call stack size
Code
const x = (/*snip some parentheses*/(42)/*snip some parentheses*/);
const y : 41 = x;

I was curious if TS would optimize away extra parentheses when parsing and constructing its AST and whatnot.
Is this why @keithlayne hates unnecessary parentheses?
Expected behavior:
42 should not be assignable to 41
Actual behavior:

Playground Link: Playground
Related Issues:

This also causes Debug Failure,
declare const x : (/*snip some parentheses*/(42)/*snip some parentheses*/)

Playground


Create release process that generates rpm

This is blocked due to not being able to get fpm to run properly with goreleaser on travis.
See https://github.com/goreleaser/goreleaser/issues/351 and https://github.com/travis-ci/travis-ci/issues/8445

This has been resolved - rpm packages are now published to the github release.


Update batch delete guidance for performance improvements

this example will cause performance issues in production based on my testing of what this webpage recommended, and to avoid that, one should do
BEGIN
SELECT <pk> FROM rides AS OF SYSTEM TIME -30s WHERE <delete criiteria>
ROLLBACK

BEGIN LOW PRIORITY TRANSACTION; DELETE FROM rides WHERE PK IN (...); COMMIT

Originally posted by @otan in https://github.com/cockroachdb/docs/pull/12114#discussion_r741472484

@otan
Was your original comment in reference to both batch-delete patterns on that page?

Batch delete on an indexed column
Batch delete on a non-indexed column

Definitely non indexed but haven't tried index. I'd suggest it as an option if foreground traffic is impacted


Explain installation of Toil in a distributed environment

For starters, see toil.resolveEntryPoint.

See also #536

Punting for next sprint.


IPv6 supported?

Hello,
This is more like a question. I am wondering if IPv6 is supported by containerd?
We've been running docker daemon with IPv6 enabled for a while.
A few days ago, our software vendor deployed an upgrade and employed docker-containerd and now we do not see the containers assigned with IPv6 any more.
Thank you very much in advance.

Hmm.. actually, I found that either docker-compose or docker-containderd or some other tools created a new bridge network which doesn't have IPv6.

It was caused by docker-compose v2 creating a new network for each app.
Could somebody please close this issue? I'm sorry for the noise.


Refactor Virtual Kubelet queues to reduce rate limiting

Description
This PR backports the modifications to the queues implemented upstream, in order to simplify the rate-limiting configuration, as well as switches to a less strict rate limiter to prevent performance issues. More details are available in the commit messages,
The PR introduces also a small modification in the linting configuration, to replace a deprecated linter and consider switches with the default case as exhaustive.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[x] Automated testing
[x] Manual testing (10K pod offloading), to verify the performance improvement

/merge


Tweak CI Python versions

Dunno what the dependabot change has to do with tweaking CI python versions though..

Oh yeah, that should have been a separate PR, sorry.


repolist: Add ChakraCore release/1.8

/cc @boingoing

@mmitche do you know why the CI failed?

@dilijev Don't worry about that,


Can't create Service Accounts

Seem to be getting a 404 when trying to create a Service Account:

The issue is here: https://github.com/firezone/firezone/blob/main/elixir/apps/web/lib/web/live/actors/service_accounts/new.ex#L8. We need to separately catch the case when a Token provider is not enabled and show a page with a button to enable it in order to use Service Accounts feature.

Gotcha -- would the token provider be shown here?

If so, can we just enable it behind the scenes all the time and hide it here? From a user's perspective I think having to enable a Token provider to create Service Accounts is a bit non-intuitive.

Yeah, we need to upsert it on that page.


Enable creating Razor Component class libraries in VS

Currently we have a Blazor Class Library for creating component libraries and JS interop libraries, but it's only available from the command-line. The issue tracks enabling a project template experience in VS for creating component class libraries.

Proposal is to update the existing Razor Class Library template. By default we want Razor Class Library to support components for both client and server. But it will have an option for supporting pages & views, in which case it will then target server only.

The templating work is done. Except for flipping the default value.
dotnet new razorclasslib produces the same traditional Razor Class Library.
dotnet new razorclasslib -s false produces a Razor Class Library without views and pages support (A Components Class Library).
Once the tooling work is done, we can flip the default to be true so
dotnet new razorclasslib produces a Razor Class Library without views and pages support (A Components Class Library).
dotnet new razorclasslib -s produces the same traditional Razor Class Library
Assigning do @danroth27 for tracking the required tooling work. Once that's done notify me and I'll update the default for the CLI experience.

The templating work is done. Except for flipping the default value.

I'll open a separate issue to track this.


codecov

#92

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@dca6eb9). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master    #94   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      8
  Lines             ?    138
  Branches          ?      0
=======================================
  Hits              ?    138
  Misses            ?      0
  Partials          ?      0

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 dca6eb9...9a172f9. Read the comment docs.


Upgrade TinyMCE to fix Cross-site scripting vulnerabilities

Fixed in 5.6.0 https://github.com/tinymce/tinymce/security/advisories/GHSA-w7jx-j77m-wp65
Fixed in 5.7.1 https://github.com/tinymce/tinymce/security/advisories/GHSA-5vm8-hhgr-jcjp

Is this get fixed ?
Github still warning about XSS issue when using this package.

v3.3.0 on PyPI installs TinyMCE 5.5.0, which includes the vulnerability.
master branch here appears more up-to-date, with TinyMCE 5.10.1 as of a couple weeks back.
Any timeline for a new version release on PyPI to bring in this update?

3.4.0 was released today.

Suggest updating this vuln with the patched version, as well: https://github.com/advisories/GHSA-r8hm-w5f7-wj39
Thanks for the updated release!


Unable to register/Login with Google

Seems you guys just haven't created app id / secret for the app running in production.
This is a pretty good guide: http://joshowens.me/environment-settings-and-security-with-meteor-js/

Thanks for pointing that out. I'm not 100% on wether we need third party stuff yet, but if it's there it should work.

I think you just need to fix this: Uncaught ReferenceError: ServiceConfiguration is not
https://atmospherejs.com/meteor/service-configuration

I'm going to remove the google functionality for now. It's probably the way to go in the future (because I hate handling sensitive info) but fo the beta phase it is a bit confusing


I would like a mentor

Question: Have you read the mentoring guide? Please only submit this request for general mentoring (not GSoC).
Answer: Yes I have read the mentoring guide.
What is your background? Any experience with Go, Kubernetes, React, Typescript, etc.?
Answer: I have previous experience in Kubernetes, Java, Promethus, ArgoCD, Docker.
Is there any particular issue you'd like to work on? You may want to check out the list of good first issues.
Answer: I would like to work with issue #8528
Do you want to work with your mentor async (i.e. by Slack messaging or issue comments), or sync (e.g. using Zoom video)? Please include your time-zone if you want to work sync.
Answer: slack/issue comments/zoom sync/async is good. timezone: UTC 5：30am - 11:15 am

The issue is resolved so closing this.


feat(services/redis): add redis cluster support

#1307

<EMAIL_ADDRESS>is not allowed to be used in apache/incubator-opendal.

Maybe we can use docker or docker-compose setup?


A Python Version

I was wondering if there is a programmatic python version for anime4k in the works? Maybe using something like cv2? The glsl/mpv results are super cool but it's limited to just real time upscaling on your own desktop. I think there is a use case for having this as one part of an image processing pipeline.

https://github.com/Sly1029/Anime4kPython
i found this not sure if it works

I think its a WIP but thanks for the link! This was what I was envisioning as well by using OpenCV.

https://github.com/TianZerL/Anime4KPython
it works and based on Anime4K0.9


Add vanity import for connectrpc/conformance

Still unclear if we want to do this, since the conformance repo has no import-able Go code. But if we want to leave its go.mod and existing imports in the v1 branch alone (which, for consistency, uses a connectrpc.com vanity domain like our other Connect Go packages) and make the test runner install-able via go install ..., we need this in place.

This file looks fine, but we also need a redirect in vercel.json.

Ah, right. Done.


Deploy frontend to production

cc @eyurtsev do we still need this issue if fe & be are both deployed the same?

Okay to close I think


Column Sorting & Fix exemple with 1.01 version

Fix Exemple with 1.01 version with new class_name
Add new column sorting:

header as button
ascending/descending
TableSorter class file

Also rename init to setup on TableRow:
fix a bug with

_row.instance()

which lead to row not having script

@AurelienCaille  I pushed a change that addressed the nullptr issue. As it turns out the fix was assigning each parameter a default value and then returning out of the function if any of the required parameters were null. Unfortunately this may have caused some conflicts in your branch

@AnomalyAces It should be fixed :)


PPTP-1693 - Disable business verification for partners

Description of Work carried through
Brief description of what/why/how.
Check list

[x] ./precheck was executed (Integration/Component/Unit tests)
[x] sbt scalafmt test:scalafmt was executed

Are there any tests to cover this change?

Are there any tests to cover this change?

I have added the tests


npm run build:win32 too slow

Found an issue or bug with electron-vue? Tell me all about it!
Questions regarding how to use electron or vue are likely to be closed as they are not direct issues with this boilerplate. Please seek solutions from official documentation or their respective communities.
Describe the issue / bug.
#
I run npm run build:win32, it took me more than 1 day to package, and at last it reported out of memory error.
How can I reproduce this problem?
#
If visual, provide a screenshot.
#
Tell me about your development environment.

Node version: 8.11
NPM version: 5.6.0
vue-cli version: (if necessary)
Operating System: windows 10

If you are looking to suggest an enhancement or feature, then feel free to remove everything above.

I got the same issue.
Try to use
npm install electron@latest

and
npm install electron-packager@latest

Worked for me.


Add type punning rules to vk::BufferPointer

Fixes #43

Is there currently already a PR that implements these functions? Or is it being worked on? 👀

Is there currently already a PR that implements these functions? Or is it being worked on?

There is a PR implementing something similar, but it was rejected because it did not follow the process being followed here.
An implementation of this proposal will likely be based on the previous PR.


allow codicons to support file icons via dollar sign replacement syntax

Issue Type: Feature Request
For vscode extensions, it would be nice to be able to display file icons in various places--especially in QuickPickItems.  Extension developers can currently display the standard vscode product/theme icons in many places by using the '$(<icon-name>)' syntax in strings.  For example: I'd like to be able to use something like '$(file:ts)' and have the blue "TS" icon appear in its place.  Basically, the syntax would be something like: '$(file:<ext>)'.  If the icon associated with <ext> could not be found, the generic file icon $(file) should be shown.  Thanks!
VS Code version: Code 1.49.3 (2af051012b66169dde0c4dfae3f5ef48f787ff69, 2020-10-02T17:57:01.595Z)
OS version: Windows_NT x64 10.0.19041

Sorry about the duplicate issue, git-hub threw an error when I posted, so I thought it didn't take.


chore: fix fixable CVE in backend

Description
Fix the 3 CVE said as "fixable" by Harbor.
Still 1 critical and 20 high
How has this been tested?

Checklist

[ ] changelog was updated with notable changes
[ ] documentation was updated

/e2e --tests sdk

End to end tests: :hourglass_flowing_sand: STARTING


Navbar and bg-color issue solved of issue no #87

Issue no.

Brief description

Screenshots or videos (if appropriate)
Important points to keep in mind before raising PR
Make sure the branch has no conflicts with main
Resolve issues only within the issue you are assigned
Only assignees can PR

@ElvinPero earlier issues of navbar and bg-color solved of About Us section. I have to create new PR since I am unable to edit the earlier one


fix(meminfo): account for optional unit field so values are accurate

Addresses: #565
Previously, this function was ignoring the optional unit field, leading to incorrect results on systems that do report the field. This uses the humanize lib used elsewhere within the Prometheus ecosystem to normalize the value to bytes, including when a unit is provided.

I had similar thoughts and was considering suggesting a complimentary struct/function for MeminfoBytes, parseMeminfoBytes(), fs.MeminfoBytes(), etc so that the existing code would continue to work as expected.
I think adding in new struct fields for the scaled values to live alongside the raw/unscaled values is a clever solution. I'll work on it 👍

@SuperQ I revamped a bit to try the shadow struct fields, lemme know your thoughts

Amended the last commit to fix an accidental deleted line (thank you tests). Force pushed to fix. Only the last commit was amended, so I believe the approval should still be valid since that commit wasn't touched.

Great, thanks!


Update to use latest Avalonia.Desktop package.

@JaggerJo - Could you please look at this PR?

I think it's better to use centralized package versions, because in that case we would need to change only 1 file instead of 10. This can be achieved with either Directory.Build.props or Directory.Packages.props but later is in preview.

Hi @JaggerJo,  When could you merge the changes? I am looking at using Dialog packages and they need latest version of Avalonia.Desktop.

@JaggerJo Would it be appropriate to ask @sandeepc24 if he would like to be a co-maintainer on this repo?

@dsyme Yes, always thankful for some help. @sandeepc24 would you be interested?

@dsyme @JaggerJo I'll be happy to help.


Start a new vocabulary round with only the last wrong vocabularys

After completing a session/lecture, one should have the possibility to start a new round only with wrong words.

Solved by pull request 21


Why can't I send a token?

Why can't I send a token?

@opcatbugcloser

doc

same error

 same error

yarn cli wallet export, Verify that the wallet is correctly exported to the node


Add support for command aliases

Fixes jawher/mow.cli#37.
Tests + README + godocs updated to show some example usage.
Cheers! 🍻

@jawher I think I've addressed all of your feedback. Thanks for having a look!

@jawher I've added defer suppressOutput()() to TestCommandAliases() and verified that the help message is no longer displayed. 🍻

@codykrieger Thank you again for this contribution, 🍻 !


feat: add sample TI scripts.

[x] Add sample TI scripts related to the official TI user guide

please remember to update https://github.com/free5gc/free5gc-compose/blob/master/script/release.sh


Xcode 8 will break Flutter

Steps to Reproduce
Upgrade to Xcode 8. Observe this issue: https://github.com/libimobiledevice/libimobiledevice/issues/356.
Workaround is available in comment https://github.com/libimobiledevice/libimobiledevice/issues/356#issuecomment-242553075 and I verified that it works.
/cc @chinmaygarde @tvolkert @cbracken

This might get fixed in the next beta of Xcode?

I tried it on Xcode 8 final

Running with with Xcode 8.0, latest ios-deploy (1.9.0), libimobiledevice (1.2.0) from brew, xcode command-line tools installed via sudo xcode-select --install against an iPhone 6S+ on iOS 10 worked for me.
If you can repro and dump version info for each of those, that'd help track this down.

TL;DR an updated release of libimobiledevice on brew gets us rolling again. In the meantime a quick workaround is to install from head with homebrew:
brew uninstall libimobiledevice
brew install -s --HEAD libimobiledevice

Let's catch up with/send PRs to the libimobiledevice authors/brew maintainer to see if we can get a new release rolled out.
Some details:
What works: I'm able to build, install and run with the above setup on both the simulator and a real device.
What's broken: so far, just that listing physical device name, e.g. in flutter doctor, fails. There may be other issues.
The issue occurs in _getDeviceName() in lib/src/ios/devices.dart. That method invokes ideviceinfo which fails with:
ERROR: Could not connect to lockdownd, error code -17

Running dtruss to trace syscalls suggests that this is the same issue as reported in the thread you cite: we're failing due to permissions on /var/db/lockdown/bunch_of_hex.plist. /var/db/lockdown is permissioned 700 with user, group _usbmuxd.
As I say, the fixes are already landed upstream, looks like it's just a matter of getting a release rolled out on homebrew.

Separate from the libimobiledevice issue is the fact that Xcode now wants a team specified to build and deploy to a physical device (as usual, no issue running on the simulator). Manually setting this in the Xcode project resolves the issue but we should see if there's an automated solution here.

Is there something we can do in flutter doctor to detect this and help users?  FYI @danrubel

As of this afternoon, we're down to just one remaining issue for Xcode 8, which is libimobiledevice version. Until a new version is released upstream we need users to install from head. Unfortunately the libimobiledevice tools don't include a --version option.
We could potentially check if the user installed it via homebrew and check that the version there is > 1.2.0 or 1.2.0 at head. brew info libimobiledevice has the info. This doesn't help for those using MacPorts or hand-built versions, but it might catch a significant portion.

A quick check for flutter doctor could be to run idevicename and check for exit code 0. This exits non-zero for the same reasons as other libidevice tools at older versions.

An alternative to #6111 would be to eliminate our dependency on the libimobiledevice suite and replace it with command-line Xcode toolchain alternatives. Note that ios_deploy, which we use to install and launch, doesn't depend on libimobiledevice.

Definitely a regression, but not really ours.  Removing regression keyword.

@cbracken: My understanding is that we now check the necessary things and can close this?  Please re-open if I've misunderstood.

Yep; all the necessary checks are in doctor now. Thanks for closing.


React with MSAL for Azure AD auth. MFA Redirects and acquireTokenSilent  overwrite scopes

Hello I have some questions regarding MFA and Redirecting and acquireTokenSilent where scopes are overwrite when using:
GRAPH_SCOPES.APP and GRAPH_SCOPES.USER_READ together.
Library

[x]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>- exact version is "msal": "^1.3.0"

Description
We are using "react": "16.12.0" with MSAL library for Azure AD authentication.
First question is regarding acquireTokenRedirect and MFA. When user clicks Login on the application he is redirected to Microsoft Page for User and Pass authentication and then redirected back to App page, but when user is outside company network he needs to use MFA as second step of authentication.
The problem here is MFA is not happening on Microsoft page, but it happens on Application Page and MFA appears in Popup.
How can I make MFA to happen on Microsoft page and after that to be redirected to Application side?
P.S. here we get sometime next error:

Loading frame has timed out after: 6 seconds
Non-interactive error: token_renewal_error

Second question is regarding acquireTokenSilent. As we need to get some user data from the Azure AD as User Name, User Email, we also need to get user Image. When using acquireTokenSilent with:
GRAPH_SCOPES.APP,
GRAPH_SCOPES.USER_READ, - generates accessToken with access to fetchMsGraphPhoto.
is seems that in the tokenResponse object, value of "scopes" is overwrite if we using APP and USER_READ together. (Screenshot).
We have fixed this issue with two different calls to acquireToken with two different GRAPH_REQUESTS parameters:
const tokenResponse = yield acquireToken(GRAPH_REQUESTS.LOGIN);
const tokenResponse1 = yield acquireToken(GRAPH_REQUESTS.GROUP);
To have more visibility I will upload some code here.
msalConfiguration:
import { UserAgentApplication } from "msal";

export const requiresInteraction = errorMessage => {
    if (!errorMessage || !errorMessage.length) {
        return false;
    }

    return (
        errorMessage.indexOf("consent_required") > -1 ||
        errorMessage.indexOf("interaction_required") > -1 ||
        errorMessage.indexOf("login_required") > -1
    );
};

export const fetchMsGraph = async (url, method, accessToken, body = null) => {
    let response;
    if (body) {
        response = await fetch(url, {
            method: method,
            body:JSON.stringify(body),
            headers: {
                Authorization: `Bearer ${accessToken}`,
                'Content-Type': "application/json"
            }
        });
    } else {
        response = await fetch(url, {
            method: method,
            headers: {
                Authorization: `Bearer ${accessToken}`,
                'Content-Type': "application/json"
            }
        });
    }

    return response.json();
};

export const fetchMsGraphPhoto = async (url, accessToken) => {
    let response;

    response = await fetch(url, {
        headers: {
            Authorization: `Bearer ${accessToken}`,
            'Content-Type': "image/jpg"
        }
    });

    return response;
};

export const isIE = () => {
    const ua = window.navigator.userAgent;
    const msie = ua.indexOf("MSIE ") > -1;
    const msie11 = ua.indexOf("Trident/") > -1;

    // If you as a developer are testing using Edge InPrivate mode, please add "isEdge" to the if check
    // const isEdge = ua.indexOf("Edge/") > -1;

    return msie || msie11;
};

export const GRAPH_SCOPES = {
    OPENID: "openid",
    PROFILE: "profile",
    USER_READ: "User.Read",
    APP: "api://<id>/<endpoint>.all.all",
    MAIL_READ: "Mail.Read"
};

export const GRAPH_ENDPOINTS = {
    MEGROUPS: "https://graph.microsoft.com/v1.0/me/checkMemberObjects",
    MAIL: "https://graph.microsoft.com/v1.0/me/messages",
    PHOTO: "https://graph.microsoft.com/v1.0/me/photo/$value"
};

export const GRAPH_REQUESTS = {
    LOGIN: {
        scopes: [
            GRAPH_SCOPES.APP,
            GRAPH_SCOPES.USER_READ,
            GRAPH_SCOPES.OPENID,
            GRAPH_SCOPES.PROFILE,
        ]
    },
    GROUP: {
        scopes: [GRAPH_SCOPES.USER_READ]
    }
};

export const msalApp = new UserAgentApplication({
    auth: {
        clientId: "<client_id>",
        authority: "https://login.microsoftonline.com/<id>",
        validateAuthority: true,
        // postLogoutRedirectUri: "http://localhost:3000/",
        navigateToLoginRequestUrl: false
    },
    cache: {
        cacheLocation: "sessionStorage",
        storeAuthStateInCookie: isIE()
    },
    system: {
        navigateFrameWait: 0,
        logger: {
            error: console.error,
            errorPii: console.error,
            info: console.log,
            infoPii: console.log,
            verbose: console.log,
            verbosePii: console.log,
            warning: console.warn,
            warningPii: console.warn
        }
    }
});

newAuthRedux file :
if(!msalApp.getAccount()) {
    yield msalApp.loginRedirect(GRAPH_REQUESTS.LOGIN);
} else {
    const tokenResponse = yield acquireToken(GRAPH_REQUESTS.LOGIN);
    const tokenResponse1 = yield acquireToken(GRAPH_REQUESTS.GROUP);
    let reader;
    if (tokenResponse1) {
        const graphProfile = yield fetchMsGraph(
            GRAPH_ENDPOINTS.MEGROUPS,
            "post",
            tokenResponse1.accessToken,
            {
                "ids": ["<id1>,<id2>"]
            }
        )
        if (graphProfile) {
            isAdmin = graphProfile.value.includes("<id_admin>");
        }
        const graphProfile2 = yield fetchMsGraphPhoto(
            GRAPH_ENDPOINTS.PHOTO,
            tokenResponse1.accessToken
        )
        reader = yield graphProfile2.body.getReader();
        let stream = yield new ReadableStream({
            start(controller) {
                return pump();
                function pump() {
                    return reader.read().then(({ done, value }) => {
                        // When no more data needs to be consumed, close the stream
                        if (done) {
                            controller.close();
                            return;
                        }
                        // Enqueue the next data chunk into our target stream
                        controller.enqueue(value);
                        return pump();
                    });
                }
            }
        });
        //get and transform image to Base64 and save it to the redux, so we do not lose it on page refresh!
        let response = yield new Response(stream);
        let blob = yield response.blob();

        const blobToBase64 = blob => {
            const reader = new FileReader();
            reader.readAsDataURL(blob);
            return new Promise(resolve => {
                reader.onloadend = () => {
                    resolve(reader.result);
                };
            });
        };

        yield blobToBase64(blob).then(res => {
            photoURL = res;
        });
       //get and transform image to Base64 ENDs
    }
    yield put(authSuccess(
        tokenResponse.idToken.rawIdToken,
        tokenResponse.account.userName,
        tokenResponse.accessToken,
        tokenResponse.account.name,
        tokenResponse.idTokenClaims.email,
        tokenResponse.idTokenClaims.oid,
        tokenResponse.expiresOn.toISOString(),
        isAdmin,
        photoURL)
    );
}

The problem here is MFA is not happening on Microsoft page, but it happens on Application Page and MFA appears in Popup.
How can I make MFA to happen on Microsoft page and after that to be redirected to Application side?

If you call acquireTokenRedirect and MFA is required, MFA will be performed on the Microsoft page and not in a popup. Can you clarify what you're seeing, potentially with screenshots? Additionally, make sure that acquireTokenPopup isn't accidentally being called somewhere.

Second question is regarding acquireTokenSilent. As we need to get some user data from the Azure AD as User Name, User Email, we also need to get user Image. When using acquireTokenSilent with:
GRAPH_SCOPES.APP,
GRAPH_SCOPES.USER_READ, - generates accessToken with access to fetchMsGraphPhoto.
is seems that in the tokenResponse object, value of "scopes" is overwrite if we using APP and USER_READ together.

This behavior is by design. If you need access tokens for two different resources (e.g., Microsoft Graph and your backend API) you need two separate acquireToken calls as access tokens are scoped to a specific resource and you cannot get a single access token that can be used for multiple resources.

Hello and sorry for the late response. Regarding "acquireTokenPopup". I do not have anywhere "acquireTokenPopup". I have uploaded all my code above.
Here are the steps and issue with popup:
1. Step one on application side click Login:

2. Step two redirecting to MS page:

3. Step three go back to Application Side:

And the popup appears here and not on MS side.
Here is my function of "acquireToken":
async function acquireToken(request, redirect) {
    return msalApp.acquireTokenSilent(request)
}

Reading more it seems "acquireTokenSilent" do not support MFA? So only way is to use MFA on Application Side in POPUP?

Reading more it seems "acquireTokenSilent" do not support MFA? So only way is to use MFA on Application Side in POPUP?

Yes, this is correct. If MFA is required, you must invoke one of the interactive methods to resolve.

Yep....
I found out that there is MSAL.js 2.x apps: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications  and now testing  "msal-browser-react".
It seems it's supporting MFA on MS page and working much better with React and one page applications. Also it's supporting handleRedirectPromise.
Not sure what is the core difference between "msal-browser-react" and "msal-common" ?
I found this example: https://www.linkedin.com/pulse/using-authorization-code-flow-pkce-azure-ad-from-react-pablo-cibraro/?articleId=6674740637935448064 and Git: https://github.com/pcibraro/msal-browser-react. First tests showing that this is working with redirection and MFA on MS page.
Also very good documentation regarding classes: https://azuread.github.io/microsoft-authentication-library-for-js/ref/msal-browser/classes/src_app_publicclientapplication.publicclientapplication.html#logout

I found out that there is MSAL.js 2.x apps:

Yes, there is a version 2 of our library named msal-browser. We recommend most users to upgrade to get more advanced support and features. We have a migration guide for users looking to upgrade.

and now testing "msal-browser-react".

msal-browser-react is not a library/app that we own, that was written by another user as a wrapper for our msal-browser library. Creating our own version of a react library like msal-react is on our radar, but we don't have a release date for something like this yet.

Not sure what is the core difference between "msal-browser-react" and "msal-common" ?

To be clear: msal-common is our own common library. Both msal-browser and msal-node consume msal-common, as will future libraries that we create.

Thanks so much. I have switched to MSAL 2.x and now everything works fine. You can close this ticket.

Awesome, happy to help. Closing now as the problem has been solved.


[IA-2545] Update Galaxy default conf to 1 n1-highmem-8 node

See rationale in JIRA ticket: https://broadworkbench.atlassian.net/browse/IA-2545
See corresponding Leo PR: https://github.com/DataBiosphere/leonardo/pull/1893
I tested locally. With the change:

Current dev:

Nice cost savings for the user too.

Since Terra UI deploys daily, this should be coordinated with the Leo deploy of https://github.com/DataBiosphere/leonardo/pull/1893

@rtitle While reviewing your PR I noticed that we've also not been factoring numNodes into the Cloud Compute size display:
span({ style: { fontWeight: 600 } }, [`${cpu} CPUS, ${memory} GB of memory, 250 GB disk space`])

The information displayed on the page will be correct after your PR is merged since the new default config will include a single node instead of two but it would be good to make that dynamic in case the default config has two nodes again in the future. Not sure if this should loop in the UX team as well.
What do you think?

@kyuksel yeah me and @almahmoud noticed that too: the UI doesn't actually display the number of nodes in the NewGalaxyModal. However the number of nodes is taken into account in the cost calculation (https://github.com/DataBiosphere/terra-ui/blob/e0e46a981e6b9355456ab036a73197b84cec5202/src/libs/runtime-utils.js#L109).
Since this code be changing anyway (I imagine) when we add compute configurability, I'm inclined to leave this PR as is to just make the default case correct for now.

Since this code be changing anyway (I imagine) when we add compute configurability

Yea I can look into this as part of the compute configurability ticket.


Minimum example for creating keys & signing

It would be great to have a minimum working example on how to use this library. I tried following the example in README and it wasn't enough.
func main() {
    sessionID := []byte("dddd")
    ids := party.IDSlice{"a", "b", "c", "d", "e", "f"}
    threshold := 4
    pl := pool.NewPool(0)
    defer pl.TearDown()

    for _, id := range ids {
        handler, err := protocol.NewMultiHandler(cmp.Keygen(curve.Secp256k1{}, id, ids, threshold, pl), sessionID)
        if err != nil {
            // the handler was not able to start the protocol, most likely due to incorrect configuration.
            fmt.Println("error")
        }
        fmt.Println(handler.Result())
    }

The output of the handler just gives <nil> protocol: not finished
My instinct tells me that I need to do something with the handler to make it work.
So I tried adding this to handle my handlers based on the README
func runProtocol(handler *protocol.MultiHandler) {
    // Message handling loop
    for {
      select {

      // Message to be sent to other participants
      case msg, ok := <-handler.Listen():
        // a closed channel indicates that the protocol has finished executing
        if !ok {
          return
        }
        if handler.CanAccept(msg) {
            handler.Accept(msg)
        }
    }
  }
}

And it did not work.
So I gave up and open an issue on Github and hope that developer of this software is kind enough to provide an example on how to use their software

This is a minimal keygen example adapted from example.go
package main

import (
	"fmt"
	"sync"

	"github.com/taurusgroup/multi-party-sig/internal/test"
	"github.com/taurusgroup/multi-party-sig/pkg/math/curve"
	"github.com/taurusgroup/multi-party-sig/pkg/party"
	"github.com/taurusgroup/multi-party-sig/pkg/pool"
	"github.com/taurusgroup/multi-party-sig/pkg/protocol"
	"github.com/taurusgroup/multi-party-sig/protocols/cmp"
)

func CMPKeygen(id party.ID, ids party.IDSlice, threshold int, n *test.Network, pl *pool.Pool) (*cmp.Config, error) {
	h, err := protocol.NewMultiHandler(cmp.Keygen(curve.Secp256k1{}, id, ids, threshold, pl), nil)
	if err != nil {
		return nil, err
	}
	test.HandlerLoop(id, h, n)
	r, err := h.Result()
	if err != nil {
		return nil, err
	}

	fmt.Println("Successfully generated the keygen config!")
	fmt.Println(r)

	return r.(*cmp.Config), nil
}

func main() {
	ids := party.IDSlice{"a", "b", "c", "d", "e", "f"}
	threshold := 4

	net := test.NewNetwork(ids)

	var wg sync.WaitGroup

	for _, id := range ids {
		wg.Add(1)

		go func(id party.ID) {
			pl := pool.NewPool(0)
			defer pl.TearDown()
			defer wg.Done()
			CMPKeygen(id, ids, threshold, net, pl)
		}(id)
	}

	wg.Wait()
}

When I exposed it, I realized its running on stubs and not producing key shares

You are not getting anything from the console output?

Turns out it was the "github.com/taurusgroup/multi-party-sig/internal/test" and its dependencies causing me trouble. All I had to do was to git clone instead of running it stand alone. Thank you so much for the example, will look into test implementation and figure things out from there on.

Hi @Jefferson111 ! I am facing the exact same issue, can you please share the steps you followed to resolve the issue?


Custom Login Logo does not change after adding new custom logo

Affected module
Does it impact the UI, backend or Ingestion Framework?
It affects the UI.
Describe the bug
A clear and concise description of what the bug is.
I have followed the directions located on the url provided on changing the custom log but after completing the changes the Login logo does not change to the new custom logo. The application was also stop and started again.  The navigation logo changed successfully although it flickers back to the default log if you click it.  It then changes back to the new custom logo.
https://docs.open-metadata.org/v1.0.0/how-to-guides/how-to-add-custom-logo
To Reproduce
Follow the instructions from the above URL and then test whether is was applied.  Stop and the start OpenMetadata.
Screenshots or steps to reproduce

Expected behavior
A clear and concise description of what you expected to happen.
I expected the Login log to change to the new custom logo as the directions states.
Version:

OS: RHEL 8.6
Python version: 3.9.13
OpenMetadata version: 1.0
OpenMetadata Ingestion package version: openmetadata-ingestion==<IP_ADDRESS>

Additional context
Add any other context about the problem here.

Hello @CheyenneRobinson , Thanks for filing an issue, however, it's not reproducible on our end.
Here is the config I tried with and it worked as expected.
applicationConfig:
  logoConfig:
    customLogoUrlPath: ${OM_CUSTOM_LOGO_URL_PATH:-"https://user-images.githubusercontent.com/59080942/155874645-939f754a-35ee-4fed-a68a-465f55981a7f.png"} #login page logo
    customMonogramUrlPath: ${OM_CUSTOM_MONOGRAM_URL_PATH:-"https://user-images.githubusercontent.com/59080942/155874645-939f754a-35ee-4fed-a68a-465f55981a7f.png"} #nav bar logo

https://github.com/open-metadata/OpenMetadata/assets/59080942/8feb0b3e-b828-48c4-beae-90967f02d614
Can you check if you get the proper logoConfig from this endpoint api/v1/system/config/applicationConfig response?
Also, may I know, if both images are hosted on the same domain?

here is the response from "api/v1/system/config/applicationConfig"
{"logoConfig":{"customLogoUrlPath":"https://host:port/om_nasa_logo.png","customMonogramUrlPath":"https://host:port/om_nasa_logo_monogram.png"},"loginConfig":{"maxLoginFailAttempts":3,"accessBlockTime":600,"jwtTokenExpiryTime":3600}}

@Sachin-chaurasiya @mohityadav766 lets move this setting out of the configuration into UI -> Settings -> OpenMetadata section. It will be easier for users to add and change those.

Both images are hosted on the same domain. Everything is on the same server.
Unfortunately i can not post the video of it as it would contain information that we can not display.
Could it be that we are using Keycloak as an authentication piece? Our login screen is different as it says Keycloak

@CheyenneRobinson, No that could not be the case because we are using the same component, and based on auth provider we show different Elements, however, we will try it out with that as well.

Ok so we were able to get the custom logo to appear once we changed our provider.  Before we were using keycloak so the provider was custom-oidc.  Today we began using the integrated SAML configuration and so we changed the provider to saml.  Once we restarted OM the custom logo was there so it does seem to be based on the provider that you are using.  Thanks for looking into this.

Ok so we were able to get the custom logo to appear once we changed our provider. Before we were using keycloak so the provider was custom-oidc. Today we began using the integrated SAML configuration and so we changed the provider to saml. Once we restarted OM the custom logo was there so it does seem to be based on the provider that you are using. Thanks for looking into this.

Thanks, @CheyenneRobinson , for the update, we will try it out with different providers.

Hello @CheyenneRobinson , we found the issue and will fix it.

Hello @CheyenneRobinson , we found the issue and will fix it.

Thanks!

Reopening as PR is not merged yet https://github.com/open-metadata/OpenMetadata/pull/11597


Update React to v0.13

Are you planning on waiting until the beta tag is dropped?

@paulyoung Hm, I was under the impression that the latest release[1] is not in beta.
[1] http://facebook.github.io/react/blog/2015/03/10/react-v0.13.html

You're right, I thought v0.13 Beta 1 was the latest.

react-router currently requires react v0.12.x, so updating currently causes npm to throw a EPEERINVALID

Will be addressed in #11


File Locksmith not working....file is locked but Locksmth just says "no results"

Microsoft PowerToys version
0.083
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
File Locksmith
Steps to reproduce
a file can't be deleted from my downloads folder as windows says "the action can't be completed because the file is open in System".    When i r-click the file and select "unlock with File Locksmith", locksmith opens and then returns "No results"
✔ Expected Behavior
for Locksmith to show what process is keeping the file open
❌ Actual Behavior
When i r-click the file and select "unlock with File Locksmith", locksmith opens and then returns "No results"
Other Software
No response

Hi @stevefisher99oshea,
have you tried running FileLocksmith as administrator using the top-right button?
https://learn.microsoft.com/en-us/windows/powertoys/file-locksmith#how-to-activate-and-use-file-locksmith
/needinfo


Support Flink 1.17.1

This PR updates the project to use and be compatible with Flink 1.17.1.
We've been running this in production for a few months now without any issues.

@gfmio Thanks a lot for the PRs, but can you please follow the code contribution process as explained on https://flink.apache.org/how-to-contribute/contribute-code/ ? Specifically talking about filing a Jira, following the right commit structure and naming conventions etc.

Apologies, sure, will do.

Hey, any update on this? @MartijnVisser @gfmio

@gfmio For context, I've made https://github.com/MartijnVisser/flink-statefun/pull/3 which would probably be sufficient

hey, any news on this? I used your branch @MartijnVisser and the changes are working as expected, even with flink 1.19.1 (I haven't tested any later versions).


ci: enforce semantic PRs to create beautiful changelogs

What

ci: enforce semantic PRs to create beautiful changelogs

@teolemon : could you rebase your branches and re-run jobs, please. I am merging the other PRs

It would be really time-saving if you could enable this option in repository settings:

@bharat-biradar : could you update the setting that @teolemon  is suggesting?
@teolemon: update your PR, please


Selecting top-1 output

The generation script gives 4 candidates outputs for each input - what is the "correct" way to select the preferred top-1 output? Is it simply the first generated output?

These 4 outputs are corresponding to the input syntactic guidance in https://github.com/uclanlp/synpg/blob/master/generate.py#L47
In this work, we just focus on how to let the model follows the syntactic guidance and leave scoring outputs for future work. Currently, users have to manually choose the appropriate templates and outputs.


[C++] Add support Parquet with Page Index

A recent parquet-format release also added support for a Page Index  making it possible to skip pages within a RowGroup.
This should be implemented by Apache Arrow.
Reporter: Malthe Borch
Assignee: Gang Wu / @wgtmac
Subtasks:

[X] [C++][Parquet] FileMetaData exposes page index metadata
[X] [C++][Parquet] Introduce ColumnIndex and OffsetIndex
[x] [C++][Parquet] Parquet page index read support
[ ] Support predicate pushdown for page index in Parquet dataset scanner
[ ] Enable writing page index by default

Related issues:

[C++] Add index pages to the format to support efficient page skipping to parquet-cpp (is duplicated by)

Note: This issue was originally created as ARROW-10158. Please see the migration documentation for further details.

Hi @wgtmac, can you clarify, is there a way now to skip reading some pages using the data from PageIndex?
As far as I understood from the code, you can skip records and it can skip deserialization of the page, but the serialized data is read fully anyway. Is it right or I can avoid reading the page when skipping all records from them?

@mstebelev Quick answer is no. I plan to support this by adding an interface to pass requested row range to the reader so it gets the chance to leverage the page index to skip unnecessary pages. But I cannot commit the time frame as I am getting busy these days.


$this can not be unset

Fatal error: Cannot unset $this in library/Zend/Service/WindowsAzure/Storage/Batch.php on line 108

We are sorry, but ZF1 reaches its End of Life (EOL).

perhaps turn the project into community project instead of killing MR's. i'm sure there are volunteers

Zend Framework is a community project. I am also part of the community and not a "Zend employee", but that does not matter! ZF1 is no longer supported (except for Enterprise users of Zend Server).
Use your own fork and all is fine.

by "community effort" i mean, it gets moved out of zend "official" repositories (perhaps new github organization zf1?), so Zend Enterprise is no longer linked-to/blamed-for the product, and interested parties could continue maintaining it. not each one having their own fork.
and statement zf1 is no longer supported, means zend does not support it.

@glensc You are free to fork the project as long as you honour the current license terms for all existing code. You can then create a community around your fork.


Login fails with clean install with python3 and pipenv

To try to shed some light on the authentication challenges I've done a clean install using python3 (per @jprouty's recommendation) and pipenv on OSX 10.12.6.
brew install chromedriver
pipenv --three
pipenv install mintapi
pipenv install selenium
pipenv install keyring
pipenv install pandas

This still produces a login error:
pipenv run mintapi --keyring $USERNAME --accounts
Traceback (most recent call last):
  File "/Users/path/to/.Virtualenvs/clean-mint-kL-fqWz6/bin/mintapi", line 11, in <module>
    sys.exit(main())
  File "/Users/path/to/.Virtualenvs/clean-mint-kL-fqWz6/lib/python3.5/site-packages/mintapi/api.py", line 720, in main
    mint = Mint.create(email, password, ius_session=options.session, thx_guid=options.thx_guid)
  File "/Users/path/to/.Virtualenvs/clean-mint-kL-fqWz6/lib/python3.5/site-packages/mintapi/api.py", line 74, in create
    mint.login_and_get_token(email, password, ius_session, thx_guid)
  File "/Users/path/to/.Virtualenvs/clean-mint-kL-fqWz6/lib/python3.5/site-packages/mintapi/api.py", line 165, in login_and_get_token
    raise MintException('Mint.com login failed[1]')
mintapi.api.MintException: Mint.com login failed[1]

Visually, I can observe the chrome window brought up, and the correct username and password being typed in. However after that login form is submitted, the browser seems to redirect to http://accounts.intuit.com/index.html and briefly show the login form again.
Is this the same behavior selenium + chrome behavior that is observed when the process succeeds?

Hey @felciano, I appreciate the continued efforts! I think I'll be trying the approach outlined in https://github.com/mrooney/mintapi/issues/122. Stay tuned!

I can confirm issue on Ubuntu 17.10. Browser briefly shows the login form again as described by original poster.

Windows version seems to behave ok (Win 10).

Also running into this on Ubuntu 16.04 :(

@jprouty that pull request fixed the issue for me. Thanks! Unfortunately, now I'm getting a different error:
Traceback (most recent call last):
  File "manage-transactions.py", line 34, in <module>
    mint.get_accounts(True)
  File "/home/jeffl/.local/lib/python2.7/site-packages/mintapi/api.py", line 236, in get_accounts
    accounts = self.populate_extended_account_detail(accounts)
  File "/home/jeffl/.local/lib/python2.7/site-packages/mintapi/api.py", line 440, in populate_extended_account_detail
    account['availableMoney'] = Mint.parse_float(xml[1]['#text'])
AttributeError: class Mint has no attribute 'parse_float'

but I was able to fix that with the changes in this pull request: https://github.com/mrooney/mintapi/pull/133/commits/b790a36ebd92eae70ee4f2fd2e70f8983e73389e

I'm going to close this out as I haven't heard of this issue recently, but please let me know if you can still reproduce it with the latest version.


mongo-connector switches between head and tail of oplog

edit:
If I wanted to "hack" the oplog.timestamp file with a time much closer to the present, would that be enough to fast forward the tailing process? I'm reading the code now to see how this all works, but hopefully someone can answer me sooner than I can parse this.
/edit
So I've been evaluating mongo-connector for internal use at work and the first few times I was refreshing Kibana expecting to see documents from the last hour, but it wasn't until I set the time range to the last 90 days did I see documents being inserted at August 20(!!!). Now this would not be a problem if the size of the data set that I was importing wasn't big, but unfortunately it would take far too long to catch up to the present.
Glossing over the issues here, I didn't see many complaints so I dropped the index and tried again several times. It wasn't until the 4th or 5th time that it finally decided to use the tail of the oplog as opposed to the head.
This is quite frustrating because I was planning on using this in production in the not too distant future, but I would consider this issue a blocker. I'm running mongo-connector (2.4.1) and I've pasted my config below.
{
    "noDump": true,
    "verbosity": 3,
    "timezoneAware": true,
    "namespaces": {
      "include": ["$DB.$COLLECTION"]
    }
}

The logs seem to contradict the behavior I'm seeing in Kibana.
$ grep 'oplog entry has' mongo-connector.log
2016-10-21 11:56:58,870 [DEBUG] mongo_connector.oplog_manager:659 - OplogThread: Newest oplog entry has timestamp<PHONE_NUMBER>.

That timestamp corresponds to today, specifically this time:
GMT: Fri, 21 Oct 2016 15:56:58 GMT

"noDump": true means that mongo-connector will not copy over existing collections and instead will start replicating oplog entries from the  begining of the oplog. That is the intended behavior. It does look like we start reading the oplog from the oldest entry but then checkpoint the newest entry, which should be fixed. See here https://github.com/mongodb-labs/mongo-connector/blob/2eff317/mongo_connector/oplog_manager.py#L850-L853
What you want is a way to tell mongo-connector to start tailing the oplog from the end of the oplog, correct? What if we add an option to start from a specific oplog entry timestamp?

In the mean time you can manually create your own oplog progress file.
import bson
import json
import sys
import pymongo

def bson_ts_to_long(timestamp):
    """Convert BSON timestamp into integer.

    Conversion rule is based from the specs
    (http://bsonspec.org/#/specification).
    """
    return ((timestamp.time << 32) + timestamp.inc)

def write_oplog_progress(progress_path, progress_dict):
    """ Writes oplog progress to file provided by user
    """
    items = [[name, bson_ts_to_long(progress_dict[name])]
             for name in progress_dict]
    if not items:
        return

    # for each of the threads write to file
    with open(progress_path, 'w') as dest:
        if len(items) == 1:
            # Write 1-dimensional array, as in previous versions.
            json_str = json.dumps(items[0])
        else:
            # Write a 2d array to support sharded clusters.
            json_str = json.dumps(items)
        try:
            dest.write(json_str)
        except IOError:
            exit('Failed to write to file!')

def get_newest_oplog_timestamp(client):
    """Return the timestamp of the newest entry in the oplog.
    """
    curr = client.local.oplog.rs.find(
        {'op': {'$ne': 'n'}}).sort('$natural', pymongo.DESCENDING).limit(-1)

    try:
        ts = next(curr)['ts']
    except StopIteration:
        exit("oplog is empty.")

    return ts

if __name__ == '__main__':
    if len(sys.argv) != 4:
        exit('usage: ./write_oplog_progress.py oplog_timestamp_file replica_set_name host_or_mongodb_uri')
    progress_path = sys.argv[1]
    client = pymongo.MongoClient(sys.argv[3])
    progress_dict = {sys.argv[2]: get_newest_oplog_timestamp(client)}
    write_oplog_progress(progress_path, progress_dict)
    print('wrote lastest oplog entry to: ' + progress_path)

Example Usage:
$ python write_oplog_progress.py ./new_oplog.timestamp 425f5bba-7834-4d9e-9799-382d63f361b9 localhost:27017
wrote lastest oplog entry to: ./new_oplog.timestamp
$ cat ./new_oplog.timestamp
["425f5bba-7834-4d9e-9799-382d63f361b9",<PHONE_NUMBER>170333186]%
$ mongo-connector <your options> --oplog-ts ./new_oplog.timestamp

Yeah, I misread the docs. I glossed over the first part of this sentence

It synchronizes data in MongoDB to the target then tails the MongoDB oplog, keeping up with operations in MongoDB in real-time.

and just saw it tails the MongoDB oplog and thought that was the default behavior whether noDump is true or false.

Closing this as a duplicate of #305.


Suppress error if no amplitude_config defined. Add a development mode

Any reason not to just add this to the beginning of the file?
var amplitude_config = {};

This issue should be resolved in the Amplitude 2.0 update since there isn't a variable 'amplitude_config' but a public method that configs amplitude.


Avoid report peer result fail due to context cancel

…ource tracer
Signed-off-by: santong<EMAIL_ADDRESS>
Description

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[ ] Code compiles correctly.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #606 (4723fb2) into main (c08a857) will decrease coverage by 0.00%.
The diff coverage is 43.24%.

@@            Coverage Diff             @@
##             main     #606      +/-   ##
==========================================
- Coverage   38.41%   38.41%   -0.01%
==========================================
  Files          88       88
  Lines        6948     6972      +24
==========================================
+ Hits         2669     2678       +9
- Misses       3899     3915      +16
+ Partials      380      379       -1

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
38.41% <43.24%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

client/daemon/peer/peertask_file_callback.go
60.67% <37.50%> (-1.98%)
:arrow_down:

client/daemon/peer/peertask_stream_callback.go
62.06% <37.50%> (-2.13%)
:arrow_down:

client/daemon/peer/peertask_file.go
54.41% <45.45%> (+0.43%)
:arrow_up:

client/daemon/peer/peertask_stream.go
57.28% <50.00%> (-0.34%)
:arrow_down:

client/daemon/peer/peertask_base.go
33.06% <0.00%> (-0.62%)
:arrow_down:

cdnsystem/supervisor/cdn/storage/disk/disk.go
21.70% <0.00%> (+0.33%)
:arrow_up:


Consider removing pre-commit hooks

Descriptions
In the past a number of developers in the org have expressed caution over including pre-commit hooks (I think mainly due to them potentially running binaries on users computers that they may not want run?), so it may be best just to remove the hooks for now until the OpenFF software stack uniformly adopts this.

I grant it's not appropriate for a package that is not "mine," but I'm not sure I see the harm in the file sticking around (and documenting its use as optional)? Tracking the files at least ensures me the convenience of knowing that the file I use matches the linting workflow of the project. I could, though, just keep the files floating around locally for me?
I'll likely make a push for this change in the future, and now there is pre-commit ci that solves the problem of developers not using these hooks locally. See for example automatic fixes during a PR and Dependabot-like autoupdate PRs when hooks get updated. This should (?) solve the problem of people not liking an automated tool running binaries on their code. It won't solve the problem of people generally not trusting automation (I don't think there is much of that perspective within OpenFF, but past me didn't like it). Something to consider down the road.

Fixed by #9


Fix folding mentioned in #95

See #95.

@wadmiraal Can you create a PR for our new 2.0.0 version?


dhcpv6: expose fields & change some types

closes #16
Exposed some of the pub fields here, other types I just removed the wrapper for so it looks more like the v4 opts. Before merging I want to take a second to make sure we've got the correct type for VendorClass and UserClass though, the rfc looks like we can't count on it being utf-8 encoded, so I think String is maybe not the correct type to have here. For example, the StatusCode option explicitly says the message field is utf-8, so I think that still needs to change...
@rgrunbla any other thoughts on this?

Nothing to add, thanks for looking into it !


Extra Path Output prints in terminal

Type: Bug
When debugging a python file, the environment activation code/debug run script appear in the terminal "& 'C:\Users" etc. As of a recent update, now the path prints again like this in the terminal buffer: "C:\x5cUsers\x5c" etc.
 As such, I will go ahead and close it. Please try to reproduce in Windows Terminal and report to microsoft/terminal with repro steps.
If you cannot reproduce in Windows Terminal, chances are it's fixed in a later version of Windows. You can read more about how we consume conpty here. Thanks for understanding.
/label upstream terminal-conpty windows

I have exactly the same problem!  I have no idea how to fix this.  it appeared just like that, although everything was fine before.  Tell me, have you already corrected this error?  if yes, how?

I opened an issue in the windows terminal repo since Im getting the same error since the new update of vscode.
https://github.com/microsoft/terminal/issues/17381

This does look exactly like #214386 to me though. Looks like it's not an upstream terminal issue. Try disabling terminal.integrated.shellIntegration ☺

Relevant vscode Issue (June Milestone): https://github.com/microsoft/vscode/issues/211922


Is it possible to use .min.(js|css) instead -min.(js|css) in the filename?

Since it's more commonly used, not sure if you would agree this :smile:

What's the difference? Why would you need this?

Thanks for your prompt reply, the only difference is .min.js is more commonly used then -min.js, before #237, cdnjs needs to manually minify the css file, the naming follows the more commonly used .min.css, I wonder if it's possible to make the structure consistent, so the users of jquery.terminal on cdnjs don't need to manually change -min to .min or vise versa between versinos, but it's only a disscussion, I'll totally respect your dicision, thanks!
PS: jquery.terminal on cdnjs: https://cdnjs.com/libraries/jquery.terminal

Changed in version 0.10.4.

Thanks @jcubic

I've added new file js/jquery.terminal.js to have both minified and unminified versions in cdn. Does it need to be updated by hand again or it will update automatically.

@jcubic I'll manually commit it again, after that, the bot can handle the new versions!

thanks

You're welcome.


Challenge http://www.freecodecamp.com/challenges/waypoint-create-a-text-field has an issue

There are two bugs I would like to report:

I could not reach my "next challenge" today, the link brought me to the first challenge, which I already completed
I have "Syntax error, unrecognized expression" in the "Waypoint: Create a text field", which prevent me from going further.

@bpagoaga
The "learn" link will always take you to whichever challenge you were last working on.
Could you attach a screen shot of the issue you're experiencing with the Create a text field waypoint?
Thanks for submitting this!

Regarding your first issue, this is known behavior. We moved to a
completely new system for serving challenges, and things were moved around
a lot! The first time you logged in the new system wasn't sure where to put
you so it defaulted to the first challenge. None of your progress is lost,
and you are absolutely free to find the challenge you were working on
through the map view. Whichever one you select will be set as your current
challenge, and you can progress linearly from there.
On Tue, May 26, 2015 at 2:27 PM Quincy Larson<EMAIL_ADDRESS>wrote:

@bpagoaga https://github.com/bpagoaga
The "learn" link will always take you to whichever challenge you were last
working on.
Could you attach a screen shot of the issue you're experiencing with the
Create a text field waypoint?
Thanks for submitting this!
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/freecodecamp/issues/495#issuecomment-105625419
.

We've fixed this. Thank you for your patience, and for bringing this to our attention!


give exec permission to setup hosts script before running it on each …

This commit fixes 'bash: line 1: /tmp/01-setup-hosts.sh: Permission denied' error which leaves provisioned nodes as not configured properly.

Yes, I've added it into the file to resolve the issue in my mac. Thanks. Your resolution should be merged to the branch.


Fixes for MII domain using domainInfo.ServerStartMode: secure

This PR fixes if an MII domain is created by WDT with domainInfo.ServerStartMode: secure only.

Reopen after fixing problem detected in integration test


ONE & HRC20 Holders project

Description
Website Dashboard that collect and display data for all Harmony address balances & selected HRC20 tokens with one button deployment.
Context
Suggested familiarity with Javascript, React/Vue, SQL/Other DB, Docker
Week 1
Data collection (fast enough to update data every minute) stored in database of choice
Account balances & amount staked in the network
Week 2
Website to display the data
Requirements: Address search bar, pagination
Week 3
Data collection for HRC20 token balances
Should be able to add any tokens that follow the HRC20 standard
Week 4
Display for HRC20 tokens balances as another tab
Easily scalable to add more HRC20 tokens
Week 5
Easy deployment of entire flow with Docker
Week 6
Testing
Data export to CSV
Acceptance Criteria
Best submission wins the whole prize. The judging criteria will be:
Usability (simple and functional)
Must have a responsive design and should work on all modern platforms.
Use of modern tech solutions
Architecture, design and code quality
Reward
Open to Proposals/quotations

Is there a specific language that is wished to be used? eg is using PHP (Laravel) to fetch and store data in MySQL prohibited? Frontend would be done with VueJS in the same repo. Laravel Sail would be used to deploy with docker.

Hi
I might be able to help with his by working and bringing 1-2 people together.
Do you have more details. As part of the project I can write clearer project objectives possibly a mind map and project flow.
What is it that you envisage achieving?
a web based dashboard that takes information for say Harmony wallets and display all your HRC20 assets?
A place where a wallet is not required to be connected?
possibly a mobile app as well?
Once I fully understand the objectives I can help message me on discord drspinosa#4023
Regards
Adam


add dockerfile #3 around 139mb second pass

Coverage remained the same at 98.058% when pulling cbf75df113d3aab8d3791b39e60c246df82bbbb2 on dockerfile into 00c385308505663a33588e568a1d274c6bfecf25 on development.


Changefeeds appear to have broken in v2.0

I haven't nailed down the exact issue yet. But I upgraded to v2.0 and changefeeds stopped working.

Yes, the response format changed with 2.0.
I'll push a fix when I can find a few minutes.

Fixed in 2.0.0


Download uk and ru embeddings by wget command in Google Colab (week01_embeddings/homework)

I tried to download two zip files by wget command in google colab but received 401 Unauthorized response. Is there anybody who could download files by wget command in google colab? Or Is there anybody who uploaded these two files in his/her drive and share the drive file id to download it by gdown?

If you like me can't download files in yandex.disk in colab, you can use the following code:
# cc.uk.300.vec.zip
!gdown 1d19-A0BCohEwKxH2JPLqVKLx1o8tRzOI

# cc.ru.300.vec.zip
!gdown 1WD-oUeAl5DbjpOZX9az82qGzu4RR3nmv

# cc.uk.300.vec.zip
!unzip cc.uk.300.vec.zip

# cc.ru.300.vec.zip
!unzip cc.ru.300.vec.zip

I just transfer files from yandex.dist to google drive by third-party services and used google drive share link.


Outline the approach for automating JO Handover

We need to outline the approach for automating the transfer of handover data to the Judicial Office.
The results of this ticket will update epic admin#1167 as well as provide documentation

Documentation

Architecture diagram
Overview notes and references/links

Pre-requisites

Add first & last name (and title) double entry into existing fullName field?
Make use of first & last name field, instead of fullName (or not)
Collect eJudiciary email address - at end of process?
Obtain API docs

Work

Set up cloud function
UI to call cloud function & results page
Assign static IP (range) to cloud function
Write tests for API integration
Connect to external API, for testing
Set up production environment

Testing

Unit tests
Integration tests
Manual testing with JO
Manual testing with JAC


Upload TomoCoin

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[ ] Filename in the lowercase format
[ ] Image format: png
[ ] Image size: 256 by 256 px

Address has a name BX2019, why do you call it TomoCoin ?https://etherscan.io/address/0x5e13427aa62028cdb937228906837f1aba911956


Avoid panicing if cmd.Start() from container.createCmd() failed

Signed-off-by: Kenfe-Mickael Laventure<EMAIL_ADDRESS>--
Required to fix docker/docker#25955

Sgtm, I'll retest integration tests in docker once containerd is revendored there.
Totally unsure why process is nil there though

@runcom I'm thinking we hit this branch: https://github.com/docker/containerd/blob/6dd2f1c422d63a105a7d275d93bdcd0b790dad23/runtime/container.go#L473

LGTM


Annotation processor tests

First tests for AnnotationProcessor. The harder ones will follow...

Coverage remained the same at 84.287% when pulling a513a42aea7d3f643b01055a1007a87b988e1ad9 on sclassen:annotationProcessorTests into 7e42c32a3d933bb823f5cb881234e5f172174ba3 on aalmiray:master.


Method for changing priority of process

Would be useful to change priority of process. Doesn't seem to be a way to do this using Runtime, but at least on Unix systems, we could renice the process after launch.

Can use nice/renice on Unix
Windows wmic? https://msdn.microsoft.com/en-us/library/aa394531(v=vs.85).aspx

http://woshub.com/process-priority-management-in-windows/
https://stackoverflow.com/questions/23996307/set-process-priority-on-already-running-process-batch-file
https://fr.mathworks.com/matlabcentral/answers/89854-setting-default-priority-for-matlabpool-processes
https://askubuntu.com/questions/656771/process-niceness-vs-priority


icefall-asr-librispeech-pruned-transducer-stateless3-2022-05-13 doesn't work with the streaming_pruned_transducer_statelessX server

Hello,
I tried to use pretrained model icefall-asr-librispeech-pruned-transducer-stateless3-2022-05-13 with both offline and streaming servers.
It works with offline server, but not with streaming server.
The error is the following:
Traceback (most recent call last):   File "/home/ubuntu/sherpa/sherpa/bin/streaming_pruned_transducer_statelessX/streaming_server.py", line 763, in <module>     main()   File "/home/ubuntu/anaconda3/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context     return func(*args, **kwargs)   File "/home/ubuntu/sherpa/sherpa/bin/streaming_pruned_transducer_statelessX/streaming_server.py", line 719, in main     server = StreamingServer(   File "/home/ubuntu/sherpa/sherpa/bin/streaming_pruned_transducer_statelessX/streaming_server.py", line 327, in __init__     self.initial_states = self.model.get_encoder_init_states( RuntimeError: Method 'get_init_state' is not defined.
This method exists in the encoder that suppose to belong to model I tried to use (https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/pruned_transducer_stateless2/conformer.py#L200) and I see it was added 6 month ago.
So it looks like model was exported with older version of the code. Does it mean that I need to install old sherpa version in order to be able to run streaming server with this model? Or is there some other solution for such cases without having few versions of icefall and sherpa installed?
Thank you!

The error is expected.  A streaming server cannot work with a non-streaming model.

I see, thank you!


Does it only support lightning model?

First off, thanks so much for your hard work and updates!
Right now, the max step count is only up to 20.
I tried using step 20 on a few SDXL models,
but the generated images came out noisy and blurry.
Here's a comparison of the images:

the generated images came out noisy and blurry

I could add an option to change the scheduler (I need to see if it helps when using another model)...


Fix broken window creation example

This example didn't work and required quite some work to figure out.
This:

Adds the instance variable, which was used but undefined.
Updates pinned versions to newer ones, since older ones no longer seem
to compile. It's likely that existing projects still work due to
having a lockfile with a combination of libraries that does work,
but resolving dependencies now results in a broken set of libraries.
This probably means that older version had bad dependency pins.
Updates function calls to match current API.

Fixes https://github.com/vulkano-rs/vulkano/issues/1465
Fixes https://github.com/vulkano-rs/vulkano/issues/1464

@WhyNotHugo Thank you, Hugo. It's merged :+1:


RHIDP-3484 02 Global Fix of Source Tags

Version(s): 1.2
Issue: https://issues.redhat.com/browse/RHIDP-3484
Link to docs preview:

Reviews:

[ ] SME: @ mention assignee
[ ] QE: @ mention assignee
[ ] Docs review: @ mention assignee

Additional information:

/cherry-pick 1.2.x

/cherry-pick 1.3.x


Respondable Json instance should return json blob instead of a string

The Respondable instance for Json looks like this:
responseTypeToString :: forall a. (ResponseType a) -> String
responseTypeToString ArrayBufferResponse = "arraybuffer"
responseTypeToString BlobResponse = "blob"
responseTypeToString DocumentResponse = "document"
responseTypeToString JSONResponse = "text" -- IE doesn't support "json" responseType
responseTypeToString StringResponse = "text"

type ResponseContent = Foreign

type F = Either ForeignError

class Respondable a where
  responseType :: Tuple (Maybe MimeType) (ResponseType a)
  fromResponse :: ResponseContent -> F a

instance responsableJson :: Respondable Json where
  responseType = Tuple (Just applicationJSON) JSONResponse
  fromResponse = Right <<< unsafeCoerce

Since responseTypeToString JSONResponse returns "text" instead of a "json", the fromResponse function is basically just wrapping a JavaScript string instead of a JSON blob.
This causes functions from Data.Argonaut.Decode (like toObject) to fail when they really should be succeeding.
I think the Respondable Json instance should look something like this:
import Data.Argonaut.Parser (jsonParser)

instance responsableJson :: Respondable Json where
  responseType = Tuple (Just applicationJSON) JSONResponse
  fromResponse = jsonParser <=< readString

This will give you a correct blob of JSON data and things like toObject will succeed.

It looks like this is what used to happen?  But maybe it was changed?
https://github.com/slamdata/purescript-affjax/pull/25/files#diff-19be80dce5228e5284fe77a9c9bf847fR143


Tunny runtime error occurs when trying to run optimization in human-in-the-loop mode

Expected behavior
Runtime errors should not occur, and the 'Which trial is the worst' dashboard should display results once the first batch is processed.
Environment

OS: Windows 10 Enterprise (Build 19045)
Rhino version: 8 SR11
Tunny version: 0.12.0

Steps to reproduce

Open the example file Karamba3d_column_position_opt.gh
Double-click on the Tunny component
Click the RunOptimize button.
Wait for the result.

Error messages, stack traces, or logs
After the first batch is processed and the Optuna dashboard opens, an error message is displayed:

The 'Which trial is the worst' dashboard does not display any results:

log_20241009.txt
Additional context (optional)
No response

@toniramo
Thanks for the report. I will check it out.

@toniramo
I have fixed it. Can you try the corrected version below?
https://github.com/hrntsm/Tunny/actions/runs/11269248296/artifacts/2038834769
Perhaps you are the one who emailed me about the user profile issue?
If so, the fix is reflected in the develop branch, so please build that one.

I found another bug and will fix it as well. Please wait a little.

@toniramo
I have fixed it.
Could you try the corrected version below or develop branch?
https://github.com/hrntsm/Tunny/actions/runs/11271381198/artifacts/2039396137

@hrntsm
Yes, I did contact you earlier. (I resolved the rights issue with IT support, although the alternative approach also worked.)
After testing with the updated version, no _stop_flag error occurred, and the dashboard with the first 6 trials appears as expected (see the attached recording). :+1: Thank you for solving the problem.
However, I noticed that sometimes after selecting the worst trials, the corresponding boxes may end up stuck on the dashboard, though that must be a separate issue.
https://github.com/user-attachments/assets/504bc286-380a-4f95-8d05-fc9d5386436a

@toniramo
I am glad to hear that you have fixed the problem.
I will look into the issue of candidates not showing up properly in another issue.


Allow Namespace to be Set When Setting an API Host

Fix bug that prevents a namespace from being set at the same time the API is set
Add test to ensure namespace can be set with API host and auth

PG2 198.

LGTM


Docker-compose.yml has ADMIN_USER_NAME twice in the jmsserver section

Docker-compose.yml has ADMIN_USER_NAME twice in the jmsserver section

Thanks. But I've found the dup entries in the maximo-ui section instead of jmsserver. It was fixed in the repo.

thanks !!


LSTM sequence to sequence strange prediction

Hello,
I am trying to train a classifier to identify on which position in the sentence is some keyword.
For example, the sentence (e.g. X_train[0]) looks like [124, 345, 567, 234, 33] and Y_train[0] for him looks like [0, 0, 1, 0, 0]. I created padding with zero by myself, so all X[i] and Y[i] have length of 50 with zeros after the special word for end of the sentence.
My model looks like this:
    model = Sequential()
    model.add(LSTM(input_dim=1, output_dim=128, activation='sigmoid', inner_activation='hard_sigmoid', return_sequences=True))
    model.add(Dropout(0.5))
    model.add(TimeDistributedDense(output_dim = 1, input_dim = 128))
    model.add(Activation('sigmoid'))
    model.compile(loss='mse', optimizer='adam', class_mode='binary')
    model.fit(X_train, Y_train, batch_size=64, nb_epoch=1,
              validation_data=(X_test, Y_test), verbose=1)

It learns really fast, in 1-2 epochs and shows me result like
loss: 0.0476 - val_loss: 0.0136
But when I am trying to predict some custom X_test[i] I always receive the same vector:
print model.predict(np.array([X_test[0]]), batch_size=1)
[[[ 0.20753609]
  [ 0.1890841 ]
  [ 0.18069594]
  [ 0.1773404 ]
  [ 0.17606619]
  [ 0.08856945]
  [ 0.05559467]
  [ 0.03789682]
  [ 0.02793388]
  [ 0.0219523 ]
  [ 0.01822288]
  [ 0.01579676]
  [ 0.01416638]
  [ 0.01303991]
  [ 0.01224276]
  [ 0.01166664]
  [ 0.01124237]
  [ 0.01092464]
  [ 0.01068295]
  [ 0.01049653]
  [ 0.0103509 ]
  [ 0.01023572]
  [ 0.01014369]
  [ 0.0100694 ]
  [ 0.01000886]
  [ 0.00995917]
  [ 0.00991799]
  [ 0.00988369]
  [ 0.00985489]
  [ 0.00983058]
  [ 0.00980998]
  [ 0.00979238]
  [ 0.0097773 ]
  [ 0.00976431]
  [ 0.00975307]
  [ 0.00974336]
  [ 0.00973488]
  [ 0.00972749]
  [ 0.009721  ]
  [ 0.00971526]
  [ 0.00971024]
  [ 0.0097058 ]
  [ 0.00970186]
  [ 0.00969837]
  [ 0.00969528]
  [ 0.0096925 ]
  [ 0.00969001]
  [ 0.00968782]
  [ 0.00968583]
  [ 0.00968403]]]

And also when I checked score with
score = model.evaluate(X_test, Y_test, batch_size=30, show_accuracy=True)
I receive almost the same results for different parameters and architectures, which is strange:
LSTM test accuracy: [0.013586199080640831, 0.98575535512964929]
Is this a problem devoted to data/architecture? Or I'm trying to predict new sequence incorrect?
Thanks for any tip or help!
Best,
Alex

do you need to add the embedding layer first?

@shampool I am not sure that it's needed, input and output vector are really simple. Do you think it can influence the prediction? I am not sure about it.

[124, 345, 567, 234, 33]  are just index of the word, right?
You might need to embed them into list of vectors first using embeding layer.

@shampool okay, I realized, that this task is solved much better with using just Dense layer in the end, at least I achived ~75% accuracy with combination of convolutional, LSTM and Dense layers.


Where is the Blazepose model training code?

Where is the Blazepose model training code?

Closing this as Duplicate of #4170. Please follow up on #4160.


Possible bug: MatAutocompelteList

Describe the question
Clearing value from MatAutocompleteList causes an exception: System.ArgumentNullException: Value cannot be null. (Parameter 'model')
at Microsoft.AspNetCore.Components.Forms.FieldIdentifier..ctor(Object model, String fieldName)
at Microsoft.AspNetCore.Components.Forms.FieldIdentifier.Create[TField](Expression1 accessor)    at Microsoft.AspNetCore.Components.Forms.ValidationMessage1.OnParametersSet()
at Microsoft.AspNetCore.Components.ComponentBase.CallOnParametersSetAsync()
at Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync(ParameterView parameters)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.SetDirectParameters(ParameterView parameters)
Blazorfiddle link
https://blazorfiddle.com/s/m8zt1say
Expected behavior
Exception should not be thrown
Screenshots

after I clicked out of this control

Additional context
Would appriciate any help. I'm not sure if I'm doing something wrong or this might be a bug

Hey @KacperNiwczyk,
I just ran into the same issue.
But after checking the source of MatAutocompleteList I saw that the exception is actually caused by the CustomStringSelector.
After checking my code, I saw that I forgot to add the null-conditional operator.
Simply changing my code from
CustomStringSelector="@(i => i.Name)"
to
CustomStringSelector="@(i => i?.Name)"
fixed it for me.
Maybe you're having the same issue.

Hey @KacperNiwczyk,
I just ran into the same issue.
But after checking the source of MatAutocompleteList I saw that the exception is actually caused by the CustomStringSelector.
After checking my code, I saw that I forgot to add the null-conditional operator.
Simply changing my code from
CustomStringSelector="@(i => i.Name)"
to
CustomStringSelector="@(i => i?.Name)"
fixed it for me.
Maybe you're having the same issue.

@Catter38 Nice call, I've resolved this by a property for setting my model attached to Autocomplete
`private Client _selectedClient
{
get
{
if (ReservationModel.Client == null)
{
return new Client()
{
CompanyName = "",
Email = "",
FirstName = "",
LastName = "",
PhoneNumber = "",
Id = 0
};
}
    return ReservationModel.Client;

}
set => ReservationModel.Client = value;

}`

@Catter38 Nice call, I've resolved this by a property for setting my model attached to Autocomplete
`private Client _selectedClient
{
get
{
if (ReservationModel.Client == null)
{
return new Client()
{
CompanyName = "",
Email = "",
FirstName = "",
LastName = "",
PhoneNumber = "",
Id = 0
};
}
    return ReservationModel.Client;

}
set => ReservationModel.Client = value;

}`

@KacperNiwczyk ,
Is this still an issue then? If not, can you please close this?


fix issues #7: has no field or method MsgId, but does have MsgID

fix issues #7: has no field or method MsgId, but does have MsgID

Right. Thank you very much