unix: return UV_ENOTSUP on FICLONE_FORCE failure

Instead of returning whatever error is provided by the underlying platform, use UV_ENOTSUP.
Fixes: https://github.com/libuv/libuv/issues/1862
CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/899/

LGTM but wouldn't ENOSYS make more sense?

Yes, I agree. I tried to go that route first, but macOS returns ENOTSUP. I was going to remap that to ENOSYS, but according to the macOS copyfile docs, ENOTSUP is also returned if the source file is not a directory, symbolic link, or regular file. So, I wasn't sure the best way to proceed there.

Conclusion: we can't do better than what your PR does?  LGTM then.


Create Better-Polybar-Integration

Adding more output messages to a polybar module from runelite

You should probably ask @SirArchLinux to merge your changes into his plugin so we don't have duplicate plugins for this. Also your build is failing because the plugin name is malformed.

        I’m sorry for my short comings. I am new to github. How is best to get hold of sirarch? Also, how should I fix the malformed name, for future reference?---- On Thu, 20 Feb 2020 20:47:26 -0800  notifications<EMAIL_ADDRESS>wrote ----You should probably ask @SirArchLinux to merge your changes into his plugin so we don't have duplicate plugins for this. Also your build is failing because the plugin name is malformed.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

You can create an issue on his repository here: https://github.com/SirArchLinux/runelite-polybar-integration/issues
As for the malformed filename, the issue is that the file you've created to PR against this repository is named Better-Polybar-Integration, but should not have capital letters.


[Bug] No proper check in buildTX

xchainjs-bitcoin/utils buildTX needs to check that the amount sent + fee cannot exceed the users balance, if it does then the amount sent must be equal to the users balance - fee, it should not throw an error but instead determine the new implicated amount to send (as it is maximum in this context).

@0xNegnin sorry about the long delay, looking at this now...
under the covers, we are using https://github.com/bitcoinjs/coinselect/blob/master/accumulative.js to select the inputs  based on the desired outputs in the tx. if not it will error out.
I think sending the entire balance in this case is not a good idea as that's not what the caller requested.
Could a workaround be the following?

make your call to transfer()
if it throws Error('Insufficient Balance for transaction')
you catch, check balances and possibly resubmit if it makes sense?


Adds a step to configure the publish scope.

Why:
There is a missing step.
Closes #7298

What's being changed:
Adds missing step.
Check off the following:

[x] I have reviewed my changes in staging (look for the deploy-to-heroku link in your pull request, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@radfahrer Thanks so much for opening a PR! I'll get this triaged for review 💖

Apologies for the delay in getting to your review, it's been a busy time. I'm going to check that my text changes look okay on staging when it finishes deploying: https://docs-7299--patch-2.herokuapp.com/en/packages/quickstart. As long as I haven't introduced any bugs, I'll update the branch from main and merge your changes.
Thank you so much for taking the time to raise this PR to fix this omission in the quickstart ✨


missing await in async create_client on 2.5.2 and up

Bug report
Describe the bug
The async create_client function uses an async function (AsyncClient.create) without awaiting it, leading to the return of a double-nested coroutine that needs two await calls to get to the client. The signature mismatches the actually returned type.
Users who try using the function according to the signature will receive an unresolved coroutine object instead of an AsyncClient, preventing its use.
To Reproduce
import asyncio
from supabase._async.client import create_client

async def main():
    url = ...
    key = ...
    client = await create_client(url, key, ClientOptions(storage_client_timeout=300))
    await client.table('flowers').select('*').execute()

asyncio.run(main())

will result in an exception being thrown as the client object is a coroutine:
Exception: 'coroutine' object has no attribute 'table'

Expected behavior
The create_client function should return a coroutine that resolves to an AsyncClient.

Added a proposed solution :#859

You are correct. Thanks for the PR to fix this. I will run the tests and get it merged in shortly.

Release 2.5.3 out with your fix https://github.com/supabase-community/supabase-py/releases/tag/v2.5.3

awesome, thanks!


Control mixins dockerlines

What does this change
This change gives users more control over the generated Dockerfile if the local Dockerfile.tmpl contains the # PORTER_MIXINS instruction, it will be replaced with all mixin docker lines.
If the custom Dockerfile.tmpl doesn't container the INJECT_PORTER_MIXINS_TOKEN, mixin docker lines will be appended at the end.
What issue does it fix
Closes #707
Notes for the reviewer
I struggled a bit with the unit test, I wasn't sure how to put a mixin (that will generate docker lines) in the test context. However, the existing test "somehow" validates the implementation because the INJECT_PORTER_MIXINS_TOKEN will be replaced with nothing - which turns out to be correct if mixin doesn't specify docker lines.  I'd love to hear someone's feedback regarding my changes to improve my still very basic golang skills 😄 👼
Checklist

[ ] Unit Tests
[ ] Documentation

[ ] Documentation Not Impacted

Looks like you are getting hit by the recent PR that was just merged. Check out https://github.com/deislabs/porter/pull/693 for context, but you should be able to fix your unit test by adding ARG BUNDLE_DIR to your unit test's dockerfile template.

Looks like that fixed the unit tests.  Can you rebase your PR to only include your changes?
If you need help with git, one way would be to do this:
git checkout control-mixins-dockerlines
git remote -vv
# figure out the name for the remote for this repo https://github.com/deislabs/porter.git, not your fork, I'll assume you have it and it's named upstream.
git fetch upstream
git rebase -i upstream/master
# remove lines that aren't your commits and save
git push -f

/azp run porter-integration

@carolynvs cant set labels :P

/azp run porter-integration

/azp run porter-integration


(AzureCXP) Fixes MicrosoftDocs/azure-docs-cli#2282

--
CC: @dbradish-microsoft

Docs Build status updates of commit 591c36e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/install-azure-cli-yum.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


data/processed_data/iHMP_IBDMDB_2019/mtb.tsv.zip does not open

I'm getting a "The archive is empty" when trying to unzip the file.

Hello @efratmuller ,
I'm facing now the same issue. Is there an alternative way to access the same dataset?

Hi! I found the bug causing damaged zip files. It's fine now so please pull the zip file again...


User Story 1:

GIVEN a dating app with form inputs
WHEN I navigate to the website
THEN I am presented with a comprehensive layout that prompts the user to fill out their dating information


add some filter options to jx-secret edit

so that folks can edit only secrets in a specific namespace ; or with a specific name or name filter or with a specific key.
e.g.
jx-secret edit --namespace foo --name lighthouse-hmac

or something like that
We may want to reuse the same filter arguments to jx-secret verify - so folks can just verify, say, lighthouse secrets or whatever

/assign @ankitm123

we now have --filter

see options: https://github.com/jenkins-x/jx-secret/blob/master/docs/cmd/jx-secret_edit.md#options


[ISSUE #3023] Fix the inconsistency of putMessageDistributeTime statistics

#3023
What is the purpose of the change
The statistical data obtained through mqadmin is inconsistent with the results printed in store.log. Through source code analysis, it is determined that the statistical results obtained through mqadmin are smaller than the actual data, and the statistical results are between 0-1000ms.

Brief changelog

When initializing putMessageDistributeTime every 1s, record the current statistical result lastPutMessageDistributeTime.
When the statistical result is obtained through mqadmin, the lastPutMessageDistributeTime is returned.

Verifying this change
After repair：

Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.02%) to 53.957% when pulling 25f6711d7fd6fe0f00532a810b9fef7e81467b03 on Git-Yang:statistics_bug into 2b236c3cd8ce2883c0188c759ccaa644fea8e00c on apache:develop.

Codecov Report

Merging #3025 (25f6711) into develop (e126310) will increase coverage by 0.11%.
The diff coverage is 66.66%.

@@              Coverage Diff              @@
##             develop    #3025      +/-   ##
=============================================
+ Coverage      47.74%   47.85%   +0.11%
- Complexity      4319     4550     +231
=============================================
  Files            514      552      +38
  Lines          35078    36629    +1551
  Branches        4687     4844     +157
=============================================
+ Hits           16747    17528     +781
- Misses         16140    16871     +731
- Partials        2191     2230      +39

Impacted Files
Coverage Δ

...a/org/apache/rocketmq/store/StoreStatsService.java
30.16% <66.66%> (+0.65%)
:arrow_up:

...che/rocketmq/namesrv/kvconfig/KVConfigManager.java
59.18% <0.00%> (-1.03%)
:arrow_down:

...rocketmq/client/impl/factory/MQClientInstance.java
51.67% <0.00%> (-0.73%)
:arrow_down:

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
68.67% <0.00%> (-0.18%)
:arrow_down:

.../apache/rocketmq/logging/inner/LoggingBuilder.java
63.92% <0.00%> (-0.16%)
:arrow_down:

...ava/org/apache/rocketmq/test/util/RandomUtils.java
85.71% <0.00%> (ø)

...che/rocketmq/test/factory/SendCallBackFactory.java
50.00% <0.00%> (ø)

...g/apache/rocketmq/test/factory/MessageFactory.java
20.00% <0.00%> (ø)

...n/java/org/apache/rocketmq/test/util/TestUtil.java
5.66% <0.00%> (ø)

.../java/org/apache/rocketmq/test/util/TestUtils.java
37.50% <0.00%> (ø)

... and 42 more

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 e126310...25f6711. Read the comment docs.


Improve status API performance #2

If needed, lets improve status API further. Some potential things to address :
1.) Rebalance the var/grabbit tree. Currently above recommended JCR tree level maximums.
2.) Restructure var/grabbit tree so that schema is more reflective of how we access status data
3.) Clear out var/grabbit tree after some period of time?

@jdigger @sagarsane per our discussions. Feel free to add more detail

Did GH-107 cover most of this?

Yeah, i'll close


Guest exported resources are broken

I assumed that the interface is symmetric - it isn't.
So the ctor should register the address, the dtor should deregister it and methods receive the rep as the first argument, not the id.

Mostly addressed on the guest side by https://github.com/cpetig/wit-bindgen/commit/b57cd005ce193ab0c7413bf4275e056c4a20cb09

See also #15 and #16

Fixed, with the remaining issue in #15 and #16


Adding a Facebook Connector

Is it possible to add a facebook connector?

Facebook doesn't support OpenID Connect so we'd need to add custom logic to dex, though that shouldn't be hard. It'd be very similar to the bitbucket connector.
Would you be interested in adding this? :)


Partial implementation for utils

TODO:
testing

Hey @frotto440, thanks for updating the PR.
Could you please rebase it so that we can have our basic CI chewing through it?

I see on aa52deb that you actually merged main. I meant for you to do an actual rebase, as in git pull --rebase as we want to keep a linear history for this project.

Hi @frotto440 - any update on this? I think all these commits could be squashed into a single commit. Please could you also provide a proper summary describing this PR (are you still testing this? Is it the status still "TODO: testing"?)

Re-ping @frotto440 :smile:


[4844] Remove SSZ

PR description
Fixed Issue(s)

merged into 4844 branch separately to this PR


Resolve IPs in Insight

Hi! Is there any way to do a reverse DNS in the info showed by insight?
It would be very usefull to see that info instead of IPs, or having to export and resolve by other means.
If not, could be an enhancement request?
Thanks

@HFsi can you please rebase your changes on top of the current master branch? this is quite a strange pull...

it's not a PR, there  are no changes. We already have a ticket here: https://github.com/opnsense/core/issues/1034


[ 'No items were found; try another query.' ]

It seams like the examples, and my own playing around, always results in this response. Am I missing something?

An example:
var dict = new Dictionary();

dict('食べる').then(console.log, console.error)

Hey qubyte,
Can you provide some more details about your environment / steps to replicate this error?
Here's what I'm doing:
mkdir japaneasy-test
cd japaneasy-test
npm install japaneasy
node
> var Dic = require('japaneasy');
undefined
> var dic = new Dic();
undefined
> dic('食べる').then(console.log)
[object Object]
> Got response: 200
[ { japanese: '食べる(P);喰べる(iK)',
    pos: 'v1,vt',
    pronunciation: 'たべる',
    english:
     [ 'to eat',
       'to live on (e.g. a salary)/to live off/to subsist on' ] } ]

Closing due to inactivity.


Solution Hinting sample code when constrain/resouces changes

Hello All,
I tried to search for this but did not find a good reference yet. Appreciated if anyone could help to give some pointers.
I wanted to use solution the "solution hinting" method to generate an updated schedule when the resources/constrains changes. I found some code provided by @stradivari96 (Thank you for that)that does the hinting, which I think it will store the variable values from previous optimal solution.
    model.Proto().solution_hint.Clear()
    # for solver to remember the previous optimal solution.
    for i in range(len(model.Proto().variables)):
        model.Proto().solution_hint.vars.append(i)
        model.Proto().solution_hint.values.append(solver.ResponseProto().solution[i])

However, I still could not figure out how to use it for next solver when resources changed. For instance, say if 1 machine is faulty and I have to remove it from the available list.
However for the variables it saves for hinting previously, the variables names are like "interval_j3_t0_a0", where there are no direct information for machines.
The machine information is embedded inside the variables (based on what I understand), so how can we tell the solver that "machine 1 is not working anymore, please use other machines to generate a schedule while trying to make minimum changes to the current schedule as much as possible"?
Some sample code would be greatly helpful. Thank you for your help in advance!

You don't have to hint all variables, save the previous solution in a way that is easy to work with (for example, Dict[machine, task] -> value) and use the model.AddHint(var, value) after filtering the variables of the new model

https://github.com/google/or-tools/blob/master/ortools/sat/doc/model.md
Le ven. 1 nov. 2019 à 06:22, YooTimmy<EMAIL_ADDRESS>a écrit :

Hello All,
I tried to search for this but did not find a good reference yet.
Appreciated if anyone could help to give some pointers.
I wanted to use solution the "solution hinting" method to generate an
updated schedule when the resources/constrains changes. I found some code
provided by @stradivari96 https://github.com/stradivari96 (Thank you
for that)that does the hinting, which I think it will store the variable
values from previous optimal solution.
model.Proto().solution_hint.Clear()
# for solver to remember the previous optimal solution.
for i in range(len(model.Proto().variables)):
    model.Proto().solution_hint.vars.append(i)
    model.Proto().solution_hint.values.append(solver.ResponseProto().solution[i])

However, I still could not figure out how to use it for next solver when
resources changed. For instance, say if 1 machine is faulty and I have to
remove it from the available list.
However for the variables it saves for hinting previously, the variables
names are like "interval_j3_t0_a0", where there are no direct information
for machines.
The machine information is embedded inside the variables (based on what I
understand), so how can we tell the solver that "machine 1 is not working
anymore, please use other machines to generate a schedule while trying to
make minimum changes to the current schedule as much as possible"?
Some sample code would be greatly helpful. Thank you for your help in
advance!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1681?email_source=notifications&email_token=ACUPL3PGVG7AGJEFF7HYVHTQRO4ILA5CNFSM4JHWKOL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HWAJLRQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3PLHFCLLYAIKKLRBBLQRO4ILANCNFSM4JHWKOLQ
.

Thank you for your comments, I will have a try! @stradivari96


reduce message latency by introducing flushing operation

Previous implementation uses gin.Stream to copy message to proxy client. This can introduce message sending cached in server side and latency happens. This causes proxy client receives a bunch of messages one time, makes proxy clients have worse experience than openai official chabot. Proxy clients become smoother after this commit.

#60

4096 bytes seems to be too long for GPT4, sometimes it takes 3-6 seconds to flush once


#007: add option to can give a data file in parameters

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

79 of 79 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.8%) to 98.571%

Totals

Change from base Build<PHONE_NUMBER>8:
1.8%

Covered Lines:
138

Relevant Lines:
140

💛  - Coveralls


CPP-433 - Request metrics returning zero percentiles

Histogram metrics were incorrectly counting the same values repeatedly.

👍


Add 'pyo3_version` to native modules compiled with PyO3

From https://github.com/sphinx-doc/sphinx/issues/11662#issuecomment-1702462095

To be cheeky, could I ask if there is there a 'blessed' way to introspect if a module is PyO3 generated? It seems the variables mod.build_profile and mod.build_info might be heuristics, but a PYO3 = True flag or similar (a la 'pypy' in sys.modules) might be useful for future cases?

I can't think of one which exists right now, it seems like a practical improvement to have __pyo3_version__ as a standard attribute in compiled PyO3 modules?

In my experience, if a name is addressing two concerns (i.e. PyO3 and version), it's often wise to actually model those concerns separately, similar to how __spec__ models details about a modules spec. Please consider adding the detail as __pyo3__.version or similar.

Removing Good First Issue as this probably requires integration with the pyo3-runtime Python module to be completed.


document#createElement marked as deprecated

open src/vs/workbench/browser/parts/editor/breadcrumbsPicker.ts
:bug: see invalid deprecation marker

/duplicate of #100878


BUG: Corrects an index error in blaze loader.

Fixes the case where a delta has an asof_date of the last requested
day and an index error would occur. This guards against this
specifically to make the delta be effective through the end of the
requested window.
Adds a test case for this behavior.

LGTM modulo request for clarification in docstring

merging on pass


[BUG] Zones not listed/offered when deploying a VM in a network from a VPC view.

click on Add Instance and then you get:

Tested this now and was not able to reproduce it. All zones got listed after clicking on "New instance" from vpc -> networks section

Using now the latest master, I can also NOT reproduce it - closing.

@andrijapanicsb I've tested David's PR and merged it


docs(feat): Add deployment queue CDAAS-2662

Resolves Jira: CDAAS-2662
Deploy previews:

https://deploy-preview-85--cdaas-docs.netlify.app/deployment/overview/#single-thread-process
https://deploy-preview-85--cdaas-docs.netlify.app/reference/deployment/config-file/deploy-config/

Stephen provided feedback and then approved via Slack


Add support for RenderLayers to determine which views an outline is visible on

Thanks for this amazing crate! I've used it to massively improve the user experience for a bevy application that I'm working on.
However I have a use case with multiple views where I want the user view to see the whole world plus extra visual cues (including outlines that I'm generating with bevy_mod_outline) while other views are supposed to simulate the viewpoint of a real physical camera that can only see real physical objects and not any visual cues.
I'm still using Bevy 0.8 so I've implemented my feature suggestion on branch outline_render_layers_v0.2 of my fork. I'll be happy to open a PR for it if you can create a branch in your repo that builds off of v0.2.4. Here's a before and after screenshot of my application, to give an idea of why I'm doing this:
BEFORE (notice that the desks are outlined in the right-hand view which is supposed to data from a simulated physical camera)

AFTER (notice that the right-hand view no longer has any outlines in it, while the user-camera on the left still does)

My approach was to define a new optional component OutlineRenderLayers that can be added alongside the Outline component. The OutlineRenderLayers component will be extracted in the render stage and then compared against the RenderLayers component of each view before adding the outline to its render queue. Since this is introducing a new optional component it should be fully API compatible with 0.2.4.
I suspect the same technique could be used for v0.3, but I haven't migrated my application to Bevy 0.9 yet so I wouldn't be able to test it out.

This approach seems reasonable. I had thought about having a per-View component to offer control over the outline scaling, which could also offer the opportunity to disable outlines, but I suppose render-layers are more generic.
Also, even in the absence of OutlineRenderLayers, the plugin should probably still respect RenderLayers. This isn't checked at the moment, neither ComputedVisibility::is_visible_in_hierarchy() for that matter.
Are you looking for a new crate release in the 0.2.x or series, or just this functionality going forward for when you upgrade to Bevy 0.9?

I would definitely appreciate a new release in 0.2.x so I can move my application off of a dependency on my custom branch. And since the solution is fully semver compatible I think it'll be a nice free-lunch upgrade for the 0.2 series.

Also, even in the absence of OutlineRenderLayers, the plugin should probably still respect RenderLayers.

I don't know for sure if I've fully wrapped my head around the implementation of outlines, but from what I do understand I would recommend keeping RenderLayers and OutlineRenderLayers separate for the entities that are being rendered. That way a user could choose to give the outline a render layer setting that is different from the mesh's render layer setting. I imagine there could be some creative use cases where that's desirable.

Ok, I've created a 0.2.x branch for you to submit a PR against: https://github.com/komadori/bevy_mod_outline/tree/release-0.2.x

Accepted #9. I'll port it to 0.3.x, probably write a new example, and should be able to make a release in a day or two.

render_layers example:

Released 0.2.5 and 0.3.2.


Editing Clusterrole kubeflow-edit doesn't persist for some reason

I was following Distributed training tutorial (https://github.com/aws-samples/eks-kubeflow-workshop/blob/master/notebooks/03_Distributed_Training/03_02_Distributed_Training_MPI_Horovod.ipynb) and ran into issue with unable to persist edited role so that you can add recommended policies
How to reproduce:

Edit kubeflow-edit role and add policy in desired namespace
kubectl edit clusterrole kubeflow-edit -n kubeflow

# policy to add
- apiGroups:
   - kubeflow.org
   resources:
   - '*'
   verbs:
   - '*'

Check back to validate if the policy exist

Workaround solution: Here is the solution suggested by @PatrickXYS
Edit kubeflow-kubernetes-edit instead and add recommended policy
kubectl edit clusterrole kubeflow-kubernetes-edit -n kubeflow

@PatrickXYS Can you help check why kubeflow-edit role doesn't work now?  Where's the kubeflow-kubernetes-edit from?

This looks like a regression issue. In v0.7.1 at least, kubeflow-edit binds to default-edit and we don't see this problem.

@Jeffwan From this clusterrole manifest, the kubeflow-kubernetes-edit aggregate to kubeflow-edit clusterrole. And kubeflow-edit has rolebinding with serviceaccount default-edit. That's why editing kubeflow-kubernetes-edit works.
Besides that, I think editing kubeflow-edit also works, but the problem here is we can't directly edit kubeflow-edit clusterrole with:
kubectl edit clusterrole kubeflow-edit -n eksworkshop

After we edited, the rule we edit can't persist when we check it.
I'll investigate why we can't directly edit kubeflow-edit clusterrole.

@PatrickXYS
Note: If you edit that ClusterRole, your changes will be overwritten on API server restart via auto-reconciliation. To avoid that overwriting, either do not manually edit the role, or disable auto-reconciliation.

kubeflow-edit is a clusterRole with aggregationRules, that's the reason the change can not be persisted. Instead, we have to change kubeflow-kubernetes-edit to persist the changes, It will be aggregate to  kubeflow-edit.

There're two action items

Refresh all the workshops to update kubeflow-kubernetes-edit instead
If something is missing from No.1 in upstream, file a PR to update kubeflow-kubernetes-edit.

@Jeffwan
Right, but instead of  editing clusterrole, I think it should be more efficient to create a clusterrolebinding with cluster-admin:
kubectl create clusterrolebinding mpisa --clusterrole=cluster-admin --serviceaccount=$namespace:default-editor

Besides that, I'll add a logic to find current k8s namespace:
def get_current_k8s_namespace():
    """Get the current namespace of kubernetes."""
    with open('/var/run/secrets/kubernetes.io/serviceaccount/namespace', 'r') as f:
        return f.readline()

@Jeffwan
Right, but instead of editing clusterrole, I think it should be more efficient to create a clusterrolebinding with cluster-admin:
kubectl create clusterrolebinding mpisa --clusterrole=cluster-admin --serviceaccount=$namespace:default-editor

There's security issue, if you bind cluter-admin, that user have all the access and can even delete kubeflow namespace. Why do you want to give wide permission to non-admin user?

Besides that, I'll add a logic to find current k8s namespace:
def get_current_k8s_namespace():
    """Get the current namespace of kubernetes."""
    with open('/var/run/secrets/kubernetes.io/serviceaccount/namespace', 'r') as f:
        return f.readline()

What's the motivation? If we don't specify namespace, then sources we create will be inside user's namespace by default.

@Jeffwan
Right, but instead of editing clusterrole, I think it should be more efficient to create a clusterrolebinding with cluster-admin:
kubectl create clusterrolebinding mpisa --clusterrole=cluster-admin --serviceaccount=$namespace:default-editor

There's security issue, if you bind cluter-admin, that user have all the access and can even delete kubeflow namespace. Why do you want to give wide permission to non-admin user?

Okay, I was thinking this way saves users without manually editing clusterrole, and I can delete rolebinding at the end of the notebook. Given security issue we shouldn't do this.

Besides that, I'll add a logic to find current k8s namespace:
def get_current_k8s_namespace():
    """Get the current namespace of kubernetes."""
    with open('/var/run/secrets/kubernetes.io/serviceaccount/namespace', 'r') as f:
        return f.readline()

What's the motivation? If we don't specify namespace, then sources we create will be inside user's namespace by default.

The reason I want to find current k8s namespace is: serviceaccount argument requires <namespace>:<name> format.
Let's do it by the way editing kubeflow-kubernetes-edit, I'll file a PR for updating all the required modification.
Besides that, I'll see if I need to file a PR on upstream to update kubeflow-kubernetes-edit

Yes. @PatrickXYS I understand your concern. I know limiting user's permission is kind of painful for some of the cases. But this is the right way to go. We need to find the gaps to real multi-user kubeflow cluster.
If we use something like cluster-admin, we hide all the problems. If someone ask for restrict settings, we have to start over.
That's same like we use Adminstrator to deploy kubeflow, then user asks minimum IAM policies.

I investigate upstream kubeflow/mpi-operator repo and found the reason we need to have edited the kubeflow-kubernetes-edit is that mpi-operator clusterrole hasn't  been aggregated with kubeflow-edit. Link
An example here is tf-operator, link:
it creates a clusterrole which aggregate to kubeflow-edit clusterrole
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: kubeflow-tfjobs-edit
  labels:
    rbac.authorization.kubeflow.org/aggregate-to-kubeflow-edit: "true"
    rbac.authorization.kubeflow.org/aggregate-to-kubeflow-tfjobs-admin: "true"
rules:
- apiGroups:
  - kubeflow.org
  resources:
  - tfjobs
  - tfjobs/status
  verbs:
  - get
  - list
  - watch
  - create
  - delete
  - deletecollection
  - patch
  - update

That's why we don't have to edit clusterrole to create tfjobs resource given this notebook.
IMO, I think mpi-operator should enable the same clusterrolebinding as tf-operator. WDYT @Jeffwan ?

@PatrickXYS There would be a few components like that. Project owners may not know this. Do you want to submit a PR to https://github.com/kubeflow/manifests?

Make sure mxnet-job also have it.

@Jeffwan Sure, let me check and I'll ping you after I filed a PR.

Since the PR is merged, and we root cause the issue. Let's close for now.

xgboost-operator doesn't have manifest. Thus, I'll file PR for mxnet-operator and mpi-operator to make the same change as tf-operator.


Unable to Use a Remote Elasticsearch

Traceback (most recent call last):   File "elastic_search.py", line 145, in <module>     es = elasticsearch.Elasticsearch(host=args.host, port=args.port)   File "/Library/Python/2.7/site-packages/elasticsearch/client/__init__.py", line 150, in __init__     self.transport = transport_class(_normalize_hosts(hosts), **kwargs)   File "/Library/Python/2.7/site-packages/elasticsearch/transport.py", line 116, in __init__     self.set_connections(hosts)   File "/Library/Python/2.7/site-packages/elasticsearch/transport.py", line 169, in set_connections     connections = map(_create_connection, hosts)   File "/Library/Python/2.7/site-packages/elasticsearch/transport.py", line 168, in _create_connection     return self.connection_class(**kwargs)   File "/Library/Python/2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 56, in __init__     self.pool = pool_class(host, port=port, timeout=self.timeout, maxsize=maxsize, **kw)   File "/Library/Python/2.7/site-packages/urllib3/connectionpool.py", line 167, in __init__     ConnectionPool.__init__(self, host, port)   File "/Library/Python/2.7/site-packages/urllib3/connectionpool.py", line 71, in __init__     self.host = _ipv6_host(host).lower()   File "/Library/Python/2.7/site-packages/urllib3/connectionpool.py", line 903, in _ipv6_host     if host.startswith('[') and host.endswith(']'): AttributeError: 'list' object has no attribute 'startswith'

Thanks. I didn't test this example for anything other than local.
The following args.host needs to be changed to args.host[0], and the default changed to ['localhost']:
https://github.com/secynic/ipwhois/blob/master/ipwhois/examples/elastic_search/elastic_search.py#L145


Issues with mobile dropdown

We use a hidden native <select> element on mobile - positioned above the selected-flag with opacity: 0. This is great for that native feel, but is very limited:

No country flags or dial codes
No preferredCountries (see https://github.com/Bluefieldscom/intl-tel-input/pull/201)
Still openable when input is disabled/readonly (see https://github.com/Bluefieldscom/intl-tel-input/issues/243)

I propose we just use the same dropdown as on desktop, but make it full screen (with some margin). Some early notes here: https://github.com/Bluefieldscom/intl-tel-input/issues/86
Unfortunately I won't have time to work on this any time soon, but I'm open to pull requests!

I couldn't see any country flags dropdown shown while using the latest version of this plugin in my Jquerymobile based phonegap application, is there any fix for this @jackocnr

This thread is for a proposed new type of dropdown on mobile. You issue is unrelated to that proposal - please create a new issue for your problem. Please read the Troubleshooting section of the readme, and also search the existing issues to make sure your question hasn't already been answered.

Ok sorry for the trouble, I have removed my comment will open a new issue if i couldn't figure out the solution.

Fixed in master. Will be in v8.0.0.

Thank you so much was waiting for the exact fix will give it a try.


Fix hardcoded bundler version string in trampoline specs

@homu r+

:pushpin: Commit 879a404 has been approved by segiddins

:hourglass: Testing commit 879a404 with merge 7332185...

:sunny: Test successful - status


'readFileSync' does not exist on type 'typeof Deno'.

Hey!
Sorry for the shallow post, I'm rather new in the world of Deno.
I've been utilizing deployctl to develop an API service that uses dotenv for storing secret tokens.
Every time i import the library and run  deployctl run --libs=ns,fetchevent ./index.ts I get the following error:
Check file:///Users/user/sites/vilbergs/repo/$deno$eval.ts
error: TS2339 [ERROR]: Property 'readFileSync' does not exist on type 'typeof Deno'.
    return parse(new TextDecoder("utf-8").decode(Deno.readFileSync(filepath)));
                                                      ~~~~~~~~~~~~
    at https://deno.land/x/dotenv@v2.0.0/mod.ts:76:55

TS2339 [ERROR]: Property 'errors' does not exist on type 'typeof Deno'.
    if (e instanceof Deno.errors.NotFound) return {};
                          ~~~~~~
    at https://deno.land/x/dotenv@v2.0.0/mod.ts:78:27

Here is the source repo. The examples above are slightly altered from the source to keep things agnostic to the purpose of my api.

Deno Deploy doesn't have a file system and hence has no support for fs-related APIs. Check out the docs for supported APIs.
For your use case, you can try --env=.env-EXAMPLE flag of deployctl run to load environment variables from your .env file instead of dotenv for local development.

Hey @satyarohith!
Thanks for the reply! That makes a lot of sense! I assumed there was perhaps a small cache / virtual fs as some other serverless environments provide, also since my code ran smoothly with the --no-check flag.
I'll go with your advice as I won't be dealing with a lot of secrets. Thanks :D


add Scala 2.13 crossbuild

I can easily imagine you have dependencies that aren't published for 2.13.0-M5 yet, but adding the cross build and seeing where it gets stuck would be a way to find out what's missing and then we can go nag those maintainers

hmm, one obvious blocker is going to be http4s
maybe subscribe to https://github.com/http4s/http4s/issues/2025 and once that one gets closed as fixed, swing into action?

@SethTisue can definitely run a quick test to see what issues we will have

@SethTisue  - FYI - https://github.com/pauljamescleary/scala-pet-store/pull/142


resource group

Under " Create virtual machine scale set "
you wrote to enter the same resource group as in the first section  "Create a load balancer"

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

ID: e0ac55b8-8be8-1f86-e3b1-3fe3f6c340c1
Version Independent ID: c26d3fc8-b62c-4895-3687-2fc7364c6383
Content: Quickstart - Create a virtual machine scale set in the Azure portal - Azure Virtual Machine Scale Sets
Content Source: articles/virtual-machine-scale-sets/quick-create-portal.md
Service: virtual-machine-scale-sets
Sub-service: ****
GitHub Login: @ju-shim
Microsoft Alias: jushiman

@BeyderItay Thanks for the Feedback.
This article guides to create all the resources in the same Resource Group. In the create VMSS section, it should be mentioned as pick the resource group created in the previous section instead of Create New.
I will work with the document author and will get this corrected.

Hope the provided information is helpful.
We will now close this issue. If there are further questions regarding this, please tag me in a comment. I will reopen it and we will continue the discussion.


Add build arg to dockerfile & docker-compose (dev)

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1517   +/-   ##
=======================================
  Coverage   98.41%   98.41%
=======================================
  Files          58       58
  Lines        2779     2779
=======================================
  Hits         2735     2735
  Misses         44       44

@sbellem can this be merged?

@sbellem can this be merged?

Yes! Merged now!


Remove unnecessary constraints

Remove unnecessary constraints.
This merge proposal was created automatically by the Janitor bot.
For more information, including instructions on how to disable
these merge proposals, see https://janitor.debian.net/scrub-obsolete.
You can follow up to this merge proposal as you normally would.
The bot will automatically update the merge proposal to resolve merge conflicts
or close the merge proposal when all changes are applied through other means
(e.g. cherry-picks). Updates may take several hours to propagate.
Build and test logs for this branch can be found at
https://janitor.debian.net/scrub-obsolete/pkg/rumur/2e6e28ec-8b7e-45f3-8f85-dc442b110408.
Debdiff
These changes affect the binary packages:
[The following lists of changes regard files as different if they have
different names, permissions or owners.]
Files in second set of .debs but not in first
-rw-r--r--  root/root   /usr/lib/debug/.build-id/52/0943a4a0117f2e603b5fffa4fce545d36f5c49.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/53/96d5e58a41f7e6bb70539a540fd87777c09eba.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/6e/b135fb26e0df9e2b935f9474db8ac3b4614de9.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/86/48169a2e785a62360d9637e60ba650642dd95b.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/90/7c481bb4282620ce83e9692c79b708ab3729d5.debug

Files in first set of .debs but not in second
-rw-r--r--  root/root   /usr/lib/debug/.build-id/3c/f2e2167d95e728d61adbcf59694de408f51844.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/68/998c20b23b87d7a074c4667cdc956268c3de3b.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/6a/2164f090abf46b04b823b6a0bc8c4cbd037670.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/7f/9bfe3046affb44c07645690ef4b25c8d11509b.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/f2/5a674f2f51ce1b76ff1e466d5010b36b9a16ff.debug

Control files of package rumur: lines which differ (wdiff format)

Suggests: python3 [-(>= 3.4)-]

Control files of package rumur-dbgsym: lines which differ (wdiff format)

Build-Ids: [-3cf2e2167d95e728d61adbcf59694de408f51844 68998c20b23b87d7a074c4667cdc956268c3de3b 6a2164f090abf46b04b823b6a0bc8c4cbd037670 7f9bfe3046affb44c07645690ef4b25c8d11509b f25a674f2f51ce1b76ff1e466d5010b36b9a16ff-] {+520943a4a0117f2e603b5fffa4fce545d36f5c49 5396d5e58a41f7e6bb70539a540fd87777c09eba 6eb135fb26e0df9e2b935f9474db8ac3b4614de9 8648169a2e785a62360d9637e60ba650642dd95b 907c481bb4282620ce83e9692c79b708ab3729d5+}

You can also view the diffoscope diff (unfiltered).

Thanks! LGTM!


[165] Compare Version Numbers

Codecov Report

Merging #62 (c27132a) into master (770c5e7) will increase coverage by 0.6%.
The diff coverage is 100.0%.

Impacted Files
Coverage Δ

src/problem/p0165_compare_version_numbers.rs
100.0% <100.0%> (ø)


v2.2.1 contains es code in npm package (did not compile?)

This makes webpack panic because it saw ES in the source code of autobind-decorator v2.2.1.

autobind-decorator <= 2.1.0 doesn't have this problem because the let was var

#69 #73

Please read https://babeljs.io/blog/2018/06/26/on-consuming-and-publishing-es2015+-packages


Issue #72 / PR #85 broke Jira projects that aren't at the root of their server

Issue #72 / PR #85 has broken Crashlytics integration with my Jira project.  It is hosted at https://my.example.com/jira/browse/XX.  Since it is at /jira rather than the root, this is now broken.  This results in the verification step succeeding, but no Jira tickets ever get created.  A member of Crashlytics Support tells me that they are seeing 404 errors in their logs, which makes sense.
Before PR #85:
  def parse_url(url)
    uri = URI(url)
    result = { :url_prefix => url.match(/(https?:\/\/.*?)\/browse\//)[1],
      :project_key => uri.path.match(/\/browse\/(.+?)(\/|$)/)[1]}
    result
  end

> parse_url('https://my.example.com/jira/browse/XX')
=> {:url_prefix=>"https://my.example.com/jira", :project_key=>"XX"}

After PR #85:
  def parse_url(url)
    uri = URI(url)
    result = { :url_prefix => url.match(/(https?:\/\/.*?)\/.+\//)[1],
      :project_key => uri.path.match(/\/.+\/(.+?)(\/|$)/)[1]}
    result
  end

> parse_url('https://my.example.com/jira/browse/XX')
=> {:url_prefix=>"https://my.example.com", :project_key=>"XX"}

cc: @seandc @jladieu

@ewanmellor Thank you so much for letting us know, and for your detailed steps to reproduce the issue, will take a look at this as soon as I can and keep this ticket updated with what we find

@ewanmellor We deployed a potential fix for this -- do you want to give your integration a try and let us know how it works?

@jladieu This still isn't working I'm afraid.
Looking at this bit of the change:
resp = client.post("#{url_components[:url_prefix]}/rest/api/2/issue", post_body.to_json)

This URL needs to include :context_path and I'm guessing that JIRA::Client isn't doing that for you because this is a fully-qualified URL.
I notice later in the file that there's this code:
client.post('/rest/webhooks/1.0/webhook', webhook_params.to_json)

So does that mean that the url_prefix isn't needed at all?  In other words, does JIRA::Client append the appropriate prefixes if they aren't specified?  Do you know why the url_prefix is in there in the first place?
I hope that one or other of these would work:
resp = client.post('/rest/api/2/issue', post_body.to_json)

resp = client.post("#{url_components[:url_prefix]}#{url_components[:context_path]}/rest/api/2/issue", post_body.to_json)

Reopening this for further investigation, thanks for the help troubleshooting @ewanmellor !

@jladieu I miss my Jira integration ;-(  Any progress here?  Thanks.

@ewanmellor ack. We've got this in our queue. Sorry for the trouble :(

@ewanmellor We just deployed a fix for the Jira integration.  Please let me know if it is working for you.

@seandc The bad news is that my app just crashed ;-(  The good news is that the Jira hook is working again, thanks ;-)


Use k3d instead of docker-compose

This PR:

Installs k3d
Uses k3d to create k3s cluster
Remove image saving/mounting code

Fixes #179.

Should also fix #212 in this PR at the same time.

We're working on a rewrite of k3d, which will also let you use it as a package. That should make it easier for you and more straightforward than using os.exec :)

We're working on a rewrite of k3d, which will also let you use it as a package. That should make it easier for you and more straightforward than using exec :)

Gods amongst men.


element for surrounding (appending and prepending)

equivalent to 05ab1e's .ø
(created by Steffan here)

Something like this?

yeah. I didnt think of doing it like that, I thought it would take 3 or 4. if it's two bytes anyway, then this probably is fine.

Actually, this would still be nice because if we wanted to surround with a string that is at least two bytes, pǏ wouldn't work.


RPRD-1694: Update prebid docs

🏷 Type of documentation

[ ] new bid adapter
[x] update bid adapter
[x] new feature
[ ] text edit only (wording, typos)
[ ] bugfix (code examples)
[ ] new examples

📋 Checklist

[x] Related pull requests in prebid.js or server are linked Related prebid.js PR
[ ] For new adapters check submitting your adapter docs

Description of change

Update minutemedia.md openweb.md openwebxchange.md, rise.md risexchange.md shinez.md stn.md docs with native and multi-format related docs.

Need to remember to actually update from which version we support the new features as we depend on seller side. UPDATE VERSIONS IN DOC BEFORE ACTUAL PR TO PREBID.

https://risecodes.atlassian.net/browse/RPRD-1694


[PE-D][Tester C] Find by months not paid does not work as intended

Followed the command format as stated in the user guide but an error was thrown. From the error message, it seems that the correct format is find !m/YEAR-MONTH so the user guide should be consistent with it.

Labels: type.DocumentationBug severity.High
original: ZweZeya/ped#5

Resolved


Query manager not showing queries run outside of DBeaver

Description
It looks like query manager only shows queries run by DBeaver. I need to see the history of queries happening in real-time - is this possible using DBeaver or any suggestions on how I can get a log of queries being run and the time to execute?
DBeaver Version
<IP_ADDRESS>301060755
Operating System
macOS Ventura 13.1 Silicon
Database and driver
MariaDB 10.1
Steps to reproduce

I connect to the database
Click on Window > Show View > Query Manager

Additional context
No response

Hello @jayrodrigues
Yes, the Query manager can only show you queries made by DBeaver or in DBeaver. He doesn't know anything about queries outside.
Can you provide some examples? What queries would you like to see? In which situations?

Hello @jayrodrigues,
Have you tried using the session manager? You can access it under the connection ⇒ Administer ⇒ Session Manager.

Hello @ShadelessFox yes, that's very close to what I was looking for, thank you! Is there a way to maintain a log of all the queries that show under the Session Manager and also for it to auto-refresh?
Trying to track down queries happening that take the most time to execute.

No, unfortunately, you can't maintain a log of executed queries.
I assume your issue is solved, so I'm closing the ticket.


[gl] Add Instance struct in web version to align API with other backends.

PR checklist:

[X] make succeeds (on macOS)
[X] make reftests succeeds
[X] tested examples with the following backends: quad example with gl backend with wasm target arch (no windows nor linux available to test gl backend there)

I did not protect create_surface() from creating one more surface when one already exists since no Error seems to be relevant.

My pleasure !


Ability to add % to circle progress bar multiple properties

Hi, could you tell me the code to add text or a % to the progress bar multiple properties?
At the moment it only shows figures when a progress bar should show the percentage symbol alongside the number.

Help

Hi benjam
I did not get the question that you are intended, but this is what i have done to plot the progress bar with percentange of some calculation
var progressbarVal = $scope.usageCalculation/($scope.selectedSubscription.dataLimit/1024);
var path = document.querySelector('#progressbar_container > svg > path:last-child');
bar.animate(progressbarVal);  // Number from 0.0 to 1.0
if(progressbarVal >= 0 && progressbarVal < 0.8){
path.setAttribute("stroke", "#7EB338");
}else if(progressbarVal >= 0.8 && progressbarVal <= 0.95){
path.setAttribute("stroke", "#FFC627");
}else {
path.setAttribute("stroke", "#EE3124");
}

Unfortunately I didn't understand what's the issue here, sorry. Closing as unclear.


Bounding box shrinking

Each time a bounding box is moved, the next frame it seems to shrink in height/width by 2px --- perhaps because of the border?

Not sure if this is the best spot for it, but it seems the border width is lost going between the DOM and the bbox object. The fix was in the drawFrame method:
// we assume the border is given in pixels
let border = parseInt($(annotatedObject.dom).css('border-width'));

annotatedObject.dom.style.display = 'block';
annotatedObject.dom.style.width = annotatedFrame.bbox.width + border*2 + 'px';
annotatedObject.dom.style.height = annotatedFrame.bbox.height + border*2 + 'px';
annotatedObject.dom.style.top = annotatedFrame.bbox.y + 'px';


javascript error on brand new foundation 6.4.0 stack template

After installing the full stack I run foundation watch. But pages giving me this error in the browser
app.js:123 Uncaught TypeError: (0 , _jquery2.default)(...).foundation is not a function
at Object._typeof (app.js:123)
at webpack_require (app.js:20)
at Object. (app.js:10356)
at webpack_require (app.js:20)
at module.exports.module.deprecate (app.js:66)
at app.js:69
Javascript stops working after that.
Platform: MAC OSX
Browsers: Google Chrome, Safari, Firefox
Version: Foundation 6.4.0 full stack.

Thanks for the bug report... @norman-pixelkings
A couple quick questions for you, as I'm currently unable to reproduce...
How did you install the full stack? Were you using the cli?
What versions of node and npm are you using?
Thanks!

Hi kball, thanks for your reply. I did a cli install foundation new --framework sites --template zurb
I just updated npm to 3.10.10. Error still exist. But then I did a complete new cli install and all errors are gone!
Thanks you sir! 👍

ok interesting... I'm about 90% certain this has to do with the way npm pre v3 installed things nested instead of flat. Gonna run down that road and see if I can get the template working for npm 2 series

Hmm... I'm not able to reproduce this with npm 2 series... I'm wondering if this was related to https://github.com/zurb/foundation-zurb-template/commit/dbb54764b20bec3ca2c666de51318c7ea656f8c4
@norman-pixelkings do you happen to know when you did the install above that showed the error? Was it right around when you filed the issue, or earlier in the day and potentially before the referenced change went into place?

Closing this as it was resolved for @norman-pixelkings. If someone else is experiencing and can give me steps to reproduce please reopen so I can dig in more.


versions: diamond: read power board & front unit versions

uses io expander on the boards
fixes O-2189

@moritz-diller let's keep it simple for now:
B3 are going to be mounted with v6.2B by default so we should consider it the default plan. If we start to mount different boards on B3, then we might want to report the specific boards versions to the Jetson.

@moritz-diller let's keep it simple for now: B3 are going to be mounted with v6.2B by default so we should consider it the default plan. If we start to mount different boards on B3, then we might want to report the specific boards versions to the Jetson.

In the long term the variant v6.2.A shall be assembled. We created v6.2.B only because we could not source the Wuerth RGB LEDs fast enough. And we should track the different versions on Datadog. Additionally the chances are quite high, that there will be further hardware changes in the future, so I recommend to create the protobuf defintion right now.

ah okay, I didn't understand that.
I will have to postpone to next week 👍


Solr Reindex task throwing a NameError

 Issue by grosscol
Tuesday Oct 11, 2016 at 13:24 GMT
Originally opened as https://github.com/projecthydra/sufia/issues/2774

Descriptive summary
In Sufia 7.2 and HEAD. The reindex rake task errors with the a uninitialized constant.
∴grosscol sufia/.internal_test_app (master) $ bunx rake solr:reindex
rake aborted!
NameError: uninitialized constant ResolrizeJob
/home/grosscol/workspace/sufia/tasks/reindex.rake:4:in `block (2 levels) in <top (required)>'
/home/grosscol/.rbenv/versions/2.3.1/bin/bundle:23:in `load'
/home/grosscol/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
Tasks: TOP => solr:reindex
(See full trace by running task with --trace)

Expected behavior
Update solr documents from fedora contents
Actual behavior
NameError
Steps to reproduce the behavior

generate internal test app
cd .internal_test_app
bundle exec rake solr:reindex

 Comment by jcoyne
Tuesday Oct 11, 2016 at 13:44 GMT

That class is defined here: https://github.com/projecthydra/curation_concerns/blob/master/app/jobs/resolrize_job.rb is the rake task loading the :environment task first?

 Comment by grosscol
Tuesday Oct 11, 2016 at 14:35 GMT

Yes.  Digging into why invoking solr:environment isn't picking up the ResolrizeJob class.

 Comment by mjgiarlo
Tuesday Dec 20, 2016 at 21:53 GMT

I suggest we tackle this in Hyrax rather than blocking the 7.3.0 release. If a fix does come in before the release is cut, I'll be happy to include it.


Fix doctests to be more robust with different versions of GEOS

I directly moved it to python 3.10 / GEOS 3.10 (to match with pygeos). Seems no additional fixes are needed.

Coverage remained the same at 78.4% when pulling fca8566306ce1f8142a7d599e0d80548d86603b6 on jorisvandenbossche:main-update-doctests into 462de3aa7a8bbd80408762a2d5aaf84b04476e4d on Toblerity:main.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.098%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2068

Relevant Lines:
2550

💛  - Coveralls


2.a.ii Create Project with Project Attributes

Create Project with Project Attributes After registering as the admin, the admin can create a project with all the common attributes. These attributes include project name, project description and a link to the project code repository. A user should be able to create a project with common project attributes.
Priority: HIGH
Estimation: 2

It is possible to create a project with the defined attributed.


Test e2e problems and fix nps db.reset command

Hi,
I'm using your boilerplate and I found other problems:

nps db.reset didn't work
e2e's tests didn't configure the Logger (a warn message appeared)
e2e's tests had a not correct PUT test case

I solved these problems.
Thanks!

Check out the version witch has those features and e2e very soon.


pretty.dump to filename can't be (easily) read

Apologies if this is a dumb question. Consider:
x = {a=1,b=2,c=3}
pretty.dump(x,"foo.lua")

This produces a file that contains:
{
  c = 3,
  b = 2,
  a = 1
}

But if that file started with (say)
x = {

then you would be able to write dofile("foo.lua") to read the table back into Lua again. Alternatively, if the opening line was
PrettyTable{

you could define the function PrettyTable to do the same.
So, would it make sense to add a variable declaration or function wrapper to the output written by pretty.dump?

I guess in retrospect using something like binser makes more sense if you want to write and read tables via a file.

You could use pl.file.read to read the file into a string and then pl.pretty.read to load the table from the string.


”Albești” is listed in the drop-down menu

Description:
"Albești" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Albești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Albești, MUREȘ".


use kubectl logs -l instead of applying kubectl logs on selected pods

also handle multiplicity of policy/telemetry pods. The current commands print the log of the first policy/telemetry pod, instead of printing the log of all the pods.
Using kubectl logs -l is shorter and simpler

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers: fleeto, sdake
If they are not already assigned, you can assign the PR to them by writing /assign @fleeto @sdake in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS
content_zh/OWNERS

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

/lgtm
/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [geeknoid]
content_zh/OWNERS [geeknoid]

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


Add optional url argument to didEncounterErrors hook

Fixes #238

Add optional url parameter to didEncounterErrors hook
In previous versions of RESTDataSource, the URL of the request was
available on the Request object passed in to the hook. The Request
object is no longer passed as an argument, so this restores the
availability of the url to the hook.
This is optional for now in order to keep this change forward compatible
for existing this.didEncounterErrors call sites in userland code. In the
next major version, this might become a required parameter.


Made accumulator more abstract to be able to pass any value

This way, users can create their own implementations of IAccumulator. Also existing API and contract of the current Accumulator implementation holds so users don't need to change their code.
Please note that I wasn't able to run the test suite so this change is "blind".

extracted interface IAccumulator from Accumulator class to make it more abstract and to allow users to create their own implementationsmore abstract and to allow users to create their own implementations
created GenericAccumulator to be able to pass generic value
modified AggregationPipelineImpl accordingly

(issue #632)

I really would like to see some tests on this.  Not only to validate the functionality but to give an example of how to use it and justify the change.

Hi,
I've added a test to prove and show the functionality.
Please let me know if there is anything else needed.
Thanks
LZ


Oops, something went wrong...

Trying to install atraci two times - about a month ago and now. But unfortunaly it is still not working.
Linux Mint 17.1 x64
3.13.0-37-generic

http://pastebin.com/En9TgEEp

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28315942-oops-something-went-wrong?utm_campaign=plugin&utm_content=tracker%2F3178491&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F3178491&utm_medium=issues&utm_source=github).

Atraci has been abandoned. try Kaku

will try, thanks


Xcode 8 can't build SRGMediaPlayer module

Issue overview

[ ] Incorrect behavior
[ ] Feature request
[ ] Crash
[ ] Help / documentation
[X] Other: Build issue

Description of the problem
I’m encountering an issue during the migration to Xcode 8. After removing all other dependencies, it seems to problem might lie in the Podfile/Configuration of the player. I’ve created a new sample swift project in Xcode 8 and added a bridging header. When I try to bridge SRGMediaPlayer to use with swift, I get the following error:
Could not build module ‚SRGMediaPlayer’

Environment information
Xcode 8
CocoaPods 1.0.1
Reproducibility

[X] Always reproducible
[ ] Difficult to reproduce

Code sample
See attached.
Steps to reproduce

Open the sample workspace in Xcode 8. The project should compile fine.
Now open up the bridging header (PlayerTest-Bridging-Header.h) and uncomment the import of the SRGMediaPlayer.

=> You should now get the error mentioned above.
It seems the problem is specific to the project, since adding and bridging another one works fine. I’ve added FXReachability as a counter example of a podspec that works.

You use the use_frameworks! Podfile flag. This means FXReachability and SRGMediaPlayer are bundled as frameworks dependencies. Since you are importing FXReachability with an import directive in your app delegate, it works, but you don’t do the same with our SRGMediaPlayer module in your view controller and for this reason it fails.
There are two ways of solving your issue:

(recommended) You leave the use_frameworks! flag in your Podfile and you import all your pods with import directives where needed. If all the Objective-C code you have in your app is included by your Pods, you can also completely drop the bridging header, as .framework module information provides all the needed information to use Objective-C frameworks with Swift this way
You drop the use_frameworks! flag and you #import <SRGMediaPlayer/SRGMediaPlayer.h> (and other pods similarly) in your bridging header. You can then use our classes from your Swift code base without any additional imports

This information was missing from our readme file, sorry. I added it to the readme on master directly (I did not create an official tag for this documentation update, though).
Thanks for your feedback.
Best regards.


Breadcrumbs file selector opens in a wrong place

VSCode Version: 1.27.2 (1.27.2)
OS Version: macOS 10.14

Steps to Reproduce:

Open a few files
Open keyboard shortcuts tab
Trigger breadcrumbs.focusAndSelect command with a keybinding

Result:

This breadcrumbs pane can't be closed by hitting Esc. You have to change focus to something else for it to disappear.
Does this issue occur when all extensions are disabled?: Yes

Good news: This is fixed in VS Code Insiders.

@jrieken can you please link the mentioned issue? I couldn't find it.
And it seems right, I updated my insider version and no longer can reproduce it on caaa5369cb4d22b7481e6ff97252cf92937709eb.

@jrieken can you please link the mentioned issue? I couldn't find it.

it will be in here: https://github.com/Microsoft/vscode/issues?q=label%3Abreadcrumbs+is%3Aclosed

Really? Thank you 😒 Never mind then. The important thing is that it's fixed.

Well, GH issue search is as bad for me as it is for you. I know from the top of my head that this issue has been fixed and that it has been labeled with breadcrumb. That is the important bit here. So, sorry, if are really, really interested in knowing the exact issue number you have to find it in that narrowed down list.


Linear fix

The fix is trivial.
The test should work in theory, but since GeoJSON doesn't support properties, it just passes with a black image.

I'd only add the hotfix without the test or I would have implemented the tests. Not sure about the amount of work that takes to improve the framework to fix this test case so do as you consider.

I reverted the test commit, I'll add them in the future when the testing framework is more capable.


Derive and maybe

I talked with @andreypopp and think derive, maybeDerive and maybeDefault methods names can be better for readability.

I like that, not sure though about maybeDefault. Originally I suggested orDefault as alt wasn't obvious to me.

Should we also rename mReact to maybeReact?

:+1: for orDefault

Done.

I really like how the API surface is shrinking :-)


add remove fuels-abigen-macro dependency

Forc init template include no longer the abigen macro dependency directly.

This is blocked by https://github.com/FuelLabs/fuels-rs/pull/393, no?

poking @mitchmindtree


⚠ API (search) has degraded performance

In b693f54, API (search) (https://api.dev.package-search.services.jetbrains.com/search-packages) experienced degraded performance:

HTTP code: 200
Response time: 7645 ms

Resolved: API (search) performance has improved in 1e56198 after 7 minutes.


Revert "Restore build/ directory"

Reverts MissionCriticalCloud/cosmic-core#58
This is not needed here:
 mvn clean package  -T4 -DskipTests  -Psystemvm | grep FileNotFoundException

I've built this PR by pulling the code into a cosmic build
The build did not run the "complete" marvin test suite. It ran

with hardware:

smoke/test_password_server.py
smoke/test_vpc_redundant.py

without hardware

smoke/test_routers.py
smoke/test_network_acl.py


/sound and /microphone result in 'Command line parsing failed'

Describe the bug
When I use /sound or /microphone as the man page says and the wiki docs say, I get
[ERROR][com.freerdp.client.common.cmdline] - [freerdp_client_command_line_post_filter_int]: Command line parsing failed at 'sound' value
with the value being whatever it is I'm trying to do such as /sound:sys:alsa or /sound:latency:400 or /microphone:format:1
To Reproduce
Steps to reproduce the behavior:
Do a simple xfreerdp command such as
xfreerdp /v:<ip of server>:<port> /sound:latency:400 /microphone:format:1
Expected behavior
I should be able to modify sound options using those parameters
Application details

FreeRDP version (xfreerdp /version)

FreeRDP Client                                  com.freerdp.FreeRDP                                              3.6.3

Command line used

flatpak --command=xfreerdp run com.freerdp.FreeRDP ~/Downloads/myrdpw.rdpw /log-level:warn /sec:nla /gateway:type:arm /f /audio-mode:0 /clipboard:direction-to:all /u:***.com /aero /menu-anims /network:LAN /auto-reconnect-max-retries:3 /gfx:RFX:on +fonts

Output of xfreerdp /buildconfig

Build configuration: BUILD_TESTING=OFF WINPR_HAVE_AIO_H=1 WINPR_HAVE_EXECINFO_BACKTRACE=1 WINPR_HAVE_EXECINFO_BACKTRACE_SYMBOLS=1 WINPR_HAVE_EXECINFO_BACKTRACE_SYMBOLS_FD=1 WINPR_HAVE_EXECINFO_HEADER=1 WINPR_HAVE_FCNTL_H=1 WINPR_HAVE_GETLOGIN_R=1 WINPR_HAVE_GETPWUID_R=1 WINPR_HAVE_INTTYPES_H=1 WINPR_HAVE_POLL_H=1 WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIBS= WINPR_HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL=1 WINPR_HAVE_STDBOOL_H=1 WINPR_HAVE_STDINT_H=1 WINPR_HAVE_STRNDUP=1 WINPR_HAVE_SYSLOG_H=1 WINPR_HAVE_SYS_EVENTFD_H=1 WINPR_HAVE_SYS_FILIO_H= WINPR_HAVE_SYS_SELECT_H=1 WINPR_HAVE_SYS_SOCKIO_H= WINPR_HAVE_SYS_TIMERFD_H=1 WINPR_HAVE_TM_GMTOFF=1 WINPR_HAVE_UNISTD_H=1 WINPR_HAVE_UNWIND_H=1 WITH_AAD=ON WITH_ABSOLUTE_PLUGIN_LOAD_PATHS=ON WITH_ADD_PLUGIN_TO_RPATH=OFF WITH_ALSA=ON WITH_BINARY_VERSIONING=OFF WITH_CAIRO=OFF WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CJSON_REQUIRED=OFF WITH_CLANG_FORMAT=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CLIENT_SDL=ON WITH_CLIENT_SDL2=ON WITH_CLIENT_SDL3=OFF WITH_CLIENT_SDL_AVAILABLE=1 WITH_CLIENT_SDL_VERSIONED=OFF WITH_CUPS=ON WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_CODECS=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_EVENTS=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_RDPGFX=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SCHANNEL=OFF WITH_DEBUG_SDL_EVENTS=OFF WITH_DEBUG_SDL_KBD_EVENTS=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF_AVAILABLE=0 WITH_DEBUG_URBDRC=OFF WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=ON WITH_DSP_FFMPEG_AVAILABLE=1 WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=ON WITH_FREERDP_DEPRECATED=OFF WITH_FREERDP_DEPRECATED_COMMANDLINE=OFF WITH_FULL_CONFIG_PATH=OFF WITH_FUSE=OFF WITH_GFX_FRAME_DUMP=OFF WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=OFF WITH_INTERNAL_MD4=OFF WITH_INTERNAL_MD5=OFF WITH_INTERNAL_RC4=OFF WITH_JPEG=OFF WITH_JSONC_REQUIRED=OFF WITH_JSON_DISABLED=OFF WITH_KRB5=ON WITH_KRB5_NO_NTLM_FALLBACK=OFF WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBRESSL=OFF WITH_LODEPNG=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=OFF WITH_MBEDTLS=OFF WITH_NATIVE_SSPI=OFF WITH_NEON=ON WITH_OPENCL=OFF WITH_OPENH264=OFF WITH_OPENSSL=ON WITH_OPUS=OFF WITH_OSS=OFF WITH_PCSC=ON WITH_PKCS11=ON WITH_PLATFORM_SERVER=ON WITH_POLL=ON WITH_PROFILER=OFF WITH_PROXY=ON WITH_PROXY_APP=ON WITH_PROXY_EMULATE_SMARTCARD=OFF WITH_PROXY_MODULES=ON WITH_PULSE=ON WITH_RDTK=ON WITH_SAMPLE=ON WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SDL_IMAGE_DIALOGS=ON WITH_SDL_LINK_SHARED=ON WITH_SERVER=ON WITH_SERVER_CHANNELS=ON WITH_SERVER_INTERFACE=ON WITH_SHADOW=ON WITH_SMARTCARD_EMULATE=ON WITH_SMARTCARD_INSPECT=OFF WITH_SMARTCARD_PCSC=ON WITH_SOXR=OFF WITH_SSE2=ON WITH_SWSCALE=ON WITH_SYSTEMD=ON WITH_THIRD_PARTY=OFF WITH_TIMEZONE_ICU=OFF WITH_UNICODE_BUILTIN=OFF WITH_URIPARSER=ON WITH_VAAPI=OFF WITH_VAAPI_AVAILABLE=1 WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_VERBOSE_WINPR_ASSERT=ON WITH_VIDEO_FFMPEG=ON WITH_VIDEO_FFMPEG_AVAILABLE=1 WITH_WAYLAND=ON WITH_WEBVIEW=OFF WITH_WINPR_DEPRECATED=OFF WITH_WINPR_JSON=ON WITH_WINPR_TOOLS=ON WITH_WIN_CONSOLE=ON WITH_X11=ON WITH_XCURSOR=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XV=ON
Build type:          RelWithDebInfo
CFLAGS:              -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -Wall -Wpedantic -Wno-padded -Wno-cast-align -Wno-declaration-after-statement -fPIC -Wall -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -fno-omit-frame-pointer
Compiler:            GNU, 13.2.0
Target architecture: x64

Environment (please complete the following information):

OS: Linux
Version/Distribution: Opensuse Tumbleweed latest
Architecture: amd64

The commands seem to respond because without microphone the mic doesn't work, with microphone the mic works but that error appears.

already fixed with 194873b78c428c59b875ce5d5c77c1f8880ec6b6

Does this affect other arguments too? I just upgraded from 2.x to 3.6.1, and a command I used to launch a remote app with the /app:"||<ALIAS>" argument now gives command line parsing failed at app


As a user, I want to add job postings and receive suggestions about most suitable candidates based on various parameters.

Postjob,matchjob,editjob,deletejob,findjob and listjob commands implemented to this end.
Objective met in v1.5


Corrected some logic errors and added support for the Kogan opener.

The changes made were:

Added test for Kogan manufacturer and changed log messages prefix to TuyaAccessory with manufacturer name. Set the dpAction and dpStatus values based on the manufacturer.
Changed _getCurrentDoorState to use dps or changes as the argument and test for a Kogan opener then return manufacturer-specific values.
Added a debug flag (name/value pair in the configuration) and debug log function _debugLog(). Replaced all console.log() calls with _debugLog() calls. The debug flag values are true and false and default to false if not present in the configuration.
Added the Kogan fopen and fclose commands to _getTargetDoorState.
Changed calls to _getCurrentDoorState() to use the dpStatus value either directly or via dps[this.dpStatus] or changes[this.dpStatus] instead of dps and state.
In _getTargetDoorState(), changed from Action values to Status values.
Added a status variant with the correct spelling for 'opening' in case Kogan to decide to correct the incorrect spelling 'openning’.
Corrected generic garage door to use true and false for open/close and opened/closed.
Removed the code that infers for generic doors the opening and closing states from dpStatus and dpAction, as the dpAction value is now unavailable in _getCurrentDoorState().

has anyone dealt with Connect Garage Door Openers? I am using Smart Life app to manage it but would love to see that being able to control using HomeKit. I am new to HomeBridge so don't know how to upload .js file but tried using the code from this script into the current plugin that I am using but it hasn't worked. thank you

I haven't used the Connect Garage Door Opener. It looks physically the same as the Kogan, however this post suggests that there may be some differences.
Have you tried setting "manufacturer": "Kogan"  as in the sample configuration below? The code I added (and that @iRayanKhan fixed :-) ) for the Kogan opener depends on the manufacturer attribute.
{
    "platform": "Tuya",
    "devices": [
        {
            "name": "Garage Door",
            "type": "GarageDoor",
            "manufacturer": "Kogan",
            "model": "SmarterHome Wireless Garage Door Opener",
            "id": "blah",
            "key": "blahblah",
            "dpAction": 101,
            "dpStatus": 102,
            "flipState": false,
            "debug": false
        }
    ]
}

I haven't used the Connect Garage Door Opener. It looks physically the same as the Kogan, however this post suggests that there may be some differences.
Have you tried setting "manufacturer": "Kogan" as in the sample configuration below? The code I added (and that @iRayanKhan fixed :-) ) for the Kogan opener depends on the manufacturer attribute.
{
    "platform": "Tuya",
    "devices": [
        {
            "name": "Garage Door",
            "type": "GarageDoor",
            "manufacturer": "Kogan",
            "model": "SmarterHome Wireless Garage Door Opener",
            "id": "blah",
            "key": "blahblah",
            "dpAction": 101,
            "dpStatus": 102,
            "flipState": false,
            "debug": false
        }
    ]
}

Thank you [davidh2075], I tried this but this didn't work unfortunately.


fix(searchbox): fix usage of custom reset template

fix #2528. If we were to fix that completely we'd probably change the options to make them more consistent with the rest of the library and we'd fix the markup.
What this does:

adds two new css classes to help customize the reset and magnifying glass
fix the usage of the reset template (was just plain broken)

Doesn't seem like you changed any test, but I think it was testing the block / none styling: https://travis-ci.org/algolia/instantsearch.js/builds/304400146#L917-L935

Doesn't seem like you changed any test, but I think it was testing the block / none styling: https://travis-ci.org/algolia/instantsearch.js/builds/304400146#L917-L935

Oops fixing that :)


Potential bug in SwipeableItemWrapperAdapter

First of all, thank you for making this great library! It is powerful and easy to use.
I spot something strange in the code. In SwipeableItemWrapperAdapter.onBindViewHolder(), both lines 98 and 116 check for holder instanceof SwipeableItemViewHolder and assign prevSwipeItemSlideAmount and swipeItemSlideAmount to the same value getSwipeItemSlideAmount(), and then check for prevSwipeItemSlideAmount != swipeItemSlideAmount. Something wrong with prevSwipeItemSlideAmount value. A potential bug?

Hi @ayltai. That is not a bug. The SwipeableItemViewHolder.setSwipeItemSlideAmount() function may be invoked during the super.onBindViewHolder() function*, so prevSwipeItemSlideAmount and swipeItemSlideAmount could be different.
*for instance:

https://github.com/h6ah4i/android-advancedrecyclerview/blob/master/example/src/main/java/com/h6ah4i/android/example/advrecyclerview/demo_s/MySwipeableItemAdapter.java#L151

True. Thank you for the clarification.


Example .jscsrc file with list of all available options

Note from @mikesherov: If you'd like to tackle this issue, first please look at #480
Please add an example .jscsrc file with list of all available options, as the options-set is growing. In Web Essentials, we are using a default .jscsrc file which I found on @sapegin's forked repo.
Another consideration is we are building schemas for various configurations (so far @madskristensen has submitted for .jshintrc). For that matter, an updated .jscsrc with all options supported by (latest) v1.4.0 would really help.
(Tip: JsHint guys keep an updated config file in their example folder and in case of TsLint, they have it on their repo's root)
Thanks in anticipation. :)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1930658-example-jscsrc-file-with-list-of-all-available-options?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

This has been provided to a certain degree by the website: http://jscs.info/rules.html. It doesn't have the configuration out in the open, but feel free to file issues against https://github.com/jscs-dev/jscs-dev.github.io for improvements.
This issue hasn't seen a PR to provide the suggested automation so I'm closing for now. Happy to reopen if anyone wants to submit a patch.


Bump xtra to try to fix panic when using grafana agent

When using grafana agent, we started encountering multiple panics in the logs.
This might be either due to a bug in a 3rd-party crate (tracing-subscriber)or us
misusing that crate.
changes in xtra:

add more asserts
removes redundant parent argument in debug_span! invocation.

@Restioson I opened the PR, but I guess we'll have to leave this for tomorrow, as this xtra bump made clippy unhappy...
The plan is to merge this and see whether panics on testnet still occur.

Hopefully this fixes the panic...


Named parameters and NULL / NOT NULL

camlsql.prepare("SELECT * FROM Listan WHERE a = @meh AND y is null", {"@meh" : "test"});

You get the error:
[camlsql] You can not mix named macros and ?

Issue resolved.


Package BaggageSpanProcessor and DeterministicSampler to use in this repo

Talked with the Pipeline team and there are some shared components between the node and web distros, namely the BaggageSpanProcessor and the DeterministicSampler. We would like to have a repo that is separate from the node / web distros that packages these and the distros can depend on them.

For now we are going to copy the functionality here, and separate the package into a shared dependency later. I created 2 new issues linked to this, and removed this from the beta milestone.

We'll eventually pickup BaggageSpanProcessor upstream and we'll address sharing DeterministicSampler if/when it becomes an issue. 😸


deps: BI-5958 bump requests, jinja2, idna, zipp, werkzeug, docker-py

full run https://github.com/datalens-tech/datalens-backend/actions/runs/12304210628/job/34344337858 (metrica fails are not related to the changes in this PR)

new full run https://github.com/datalens-tech/datalens-backend/actions/runs/12316763583/job/34398370235 (metrica tests are still not related to the changes in this PR)


PodNodeSelector

Does it mean that by default, PodNodeSelector is enabled on AKS? If not, is there a version of AKS where it was started to be supported?

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

ID: dae17603-813b-f1ef-e161-c229d49a2541
Version Independent ID: 5c1dcea0-0cda-0233-2356-be63be776809
Content: Operator best practices - Advanced scheduler features in Azure Kubernetes Services (AKS)
Content Source: articles/aks/operator-best-practices-advanced-scheduler.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

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

@MicrosoftDocs/aks-pm Do we have PodNodeSelector admission control plugin enabled on
AKS master?
I saw that in a support case that this plugin is not added ( so not supported) in AKS. Please confirm

Does it mean that by default, PodNodeSelector is enabled on AKS? If not, is there a version of AKS where it was started to be supported?

@amadav If that plugin is not added in the api server, AKS wont support it by default.
All these node selectors and node affinity and all, we set in yaml file and directly processed by api server. So this works by default.
Since PodNodeSelector has to interrupt the api requests of the api server, It has to added in the api server.  As per the support case, its not added. But lets wait for the reply from the PM team

@amadav Its not supported now

@amadav
I will close this out for now. If you need additional help please let me know and we can reopen and continue.


Schema failure

It seems that if the JourneyFraming element is present you cannot include any other UserJourneyBehaviors elements e.g. SingleSignOn, SessionExpiryType, JourneyInsights.  The only element that is allowed is ScriptExecution.
The custom policy upload reports "The element 'UserJourneyBehaviors' in namespace 'http://schemas.microsoft.com/online/cpim/schemas/2013/06' has invalid child element 'SessionExpiryType' in namespace 'http://schemas.microsoft.com/online/cpim/schemas/2013/06'."
Is this expected behaviour?
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9cc7b012-d093-e9f3-d2d3-1416f4dfc855
Version Independent ID: c6a1edb4-c62d-3eb5-7707-2170603d1608
Content: Embed Azure Active Directory B2C user interface into your app with a custom policy - Azure AD B2C
Content Source: articles/active-directory-b2c/embedded-login.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

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

@sjthompsonengl
Thank you for your time and patience throughout this issue!
Are you able to share any screenshots? So my team and I can gain a better understanding of what you're seeing.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

Here’s the error displayed when attempting to import the policy:
@.***D72B32.9EA631D0]
Here is a snippet of the Relying Party policy, this works fine until I add the JourneyFraming element
@.***D72B32.9EA631D0]
Regards,
Steve
From: James Tran-MSFT @.>
Sent: 06 April 2021 20:30
To: MicrosoftDocs/azure-docs @.>
Cc: Steve Thompson @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Schema failure (#73324)
@sjthompsonenglhttps://github.com/sjthompsonengl
Thank you for your time and patience throughout this issue!
Are you able to share any screenshots? So my team and I can gain a better understanding of what you're seeing.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/73324#issuecomment-814383649, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABRGZCEZI2VRALWOZ6QG4FDTHNOKXANCNFSM42PDMVVQ.

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please notify @.***

@sjthompsonengl
Thank you for the quick response on this!
For your JourneyFraming tag, can you share what tag you added under the RelyingParty tag? Additionally, it doesn't look like your screenshots uploaded correctly, can you try uploading them again, it would be much appreciated!
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

This issue is probably related to the order of the elements. Make sure you add the element in the correct order:

This document will be updated later today with more information about this issue (and others). So, please check it our later today, or tomorrow.
Yoel

Hi Yoel,
Yes, that was the answer! I re-arranged the elements as described and the policy imported successfully.
Kind regards,
Steve
From: Yoel Horvitz @.>
Sent: 07 April 2021 19:00
To: MicrosoftDocs/azure-docs @.>
Cc: Steve Thompson @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Schema failure (#73324)
This issue is probably related to the order of the elements. Make sure you add the element in the correct order:
[image]https://user-images.githubusercontent.com/20111866/113912534-e88f2e00-97e3-11eb-8077-dd908c457a56.png
This documenthttps://docs.microsoft.com/azure/active-directory-b2c/troubleshoot-custom-policies?tabs=app-reg-ga will be updated later today with more information about this issue (and others). So, please check it our later today, or tomorrow.
Yoel
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/73324#issuecomment-815112167, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABRGZCD7AXJULCNMYR6HQCDTHSMTRANCNFSM42PDMVVQ.

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please notify @.***

@sjthompsonengl
Thank you for the quick update and I'm glad that @yoelhor was able to resolve your issue!
Since everything is working on your end, I'll go ahead and close out this GitHub issue. Lastly, as Yoel mentioned, the documentation will be updated later today with more information about this.
Thank you!


CUDA error: an illegal memory access was encountered

What is the issue?

ollama run llama2
When I executed the command: ollama run llama2, an error occurred related to the data information.
system：Windows Server 2022
GPU： NVIDIA RTX A6000
nvidia driver version：<IP_ADDRESS>23
What did you expect to see?
Operate normally: ollama run llama2
Steps to reproduce
ollama run llama2
Are there any recent changes that introduced the issue?
No response
OS
Windows
Architecture
amd64
Platform
No response
Ollama version
0.1.29
GPU
Nvidia
GPU info
RTX A6000
CPU
Intel
Other software
No response

Looks like a duplicate of #3074


Cuda compiling error

I'm getting this error when building kaolin on Win 10, with Cuda 10.2, Pytorch 1.3, Conda 3.7.
1 error detected in the compilation of "C:/Users/chris/AppData/Local/Temp/tmpxft_00000b28_00000000-10_sided_distance_cuda.cpp1.ii".
Traceback (most recent call last):
File "C:\Users\chris\Anaconda3\envs\kaolin\lib\distutils_msvccompiler.py", line 424, in compile
self.spawn(args)
File "C:\Users\chris\Anaconda3\envs\kaolin\lib\site-packages\torch\utils\cpp_extension.py", line 337, in spawn
return original_spawn(cmd)
File "C:\Users\chris\Anaconda3\envs\kaolin\lib\distutils_msvccompiler.py", line 543, in spawn
return super().spawn(cmd)
File "C:\Users\chris\Anaconda3\envs\kaolin\lib\distutils\ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "C:\Users\chris\Anaconda3\envs\kaolin\lib\distutils\spawn.py", line 38, in spawn
_spawn_nt(cmd, search_path, dry_run=dry_run)
File "C:\Users\chris\Anaconda3\envs\kaolin\lib\distutils\spawn.py", line 81, in _spawn_nt
"command %r failed with exit status %d" % (cmd, rc))

Thanks for posting these details. Windows support is still considered experimental, but we are committed to solving these issues soon!

Is there a known working windows configuration at this time?

Hey, this is such a great repo just wondered when it might be available on windows?


Surveys info and surveys data for Configs

ONLY WORKS FOR DEV_PROGRAM AND DEV_STUDY, to incorporate this into the existing studies/programs we will need to add the survey_info.buttons fields for all the others as well
This is the new refactored format for the dynamic configs that contains:

The survey-resources directory (originally from e-mission-phone)
The new "library" style file for the list of available surveys under configs/surveys/surveys.json
The new survey_info field in the configs json for dev-emulator-program and dev-emulator-study
2 new variants for the dev-emulator-program/study called dev-emulator-program-tripconfirm and dev-emulator-study-tripconfirm

Because this is a new PR, let's close the original dynamic surveys pr https://github.com/e-mission/nrel-openpath-deploy-configs/pull/7 because it is old, not exactly what we want, and has some problems in terms of incorrect commits and confusion

@shankari and @JGreenlee
Adding you both for visibility

Here are the generated QR codes if you would rather just scan them/copy paste them from here:

Devapp Study Tripconfirm
emission://join_study?label=dev-emulator-study-tripconfirm&source=github

Devapp Program Tripconfirm
emission://join_study?label=dev-emulator-program-tripconfirm&source=github

@sebastianbarry wrt https://github.com/e-mission/nrel-openpath-deploy-configs/pull/8/commits/bacd4ffc826ad55af2da28d4fc15cbed7fdffadf, did you and @JGreenlee decide to go with the simple but verbose version since it is already implemented?

@shankari @sebastianbarry Yes, given our time constraints we are trying to just get it working, so we decided to roll back to the more verbose version at least for now.
We can revisit the dynamic surveys.json later if necessary - but we would need to write the logic to load in the surveys.json file by URL and would want your input before we made those decisions


ngc 5.X.X generates unused imports

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/compiler-cli 5.0.0
node 8.6.0
npm 5.5.1
yarn 1.2.1
windows 10
ubuntu 17.10
Repro steps.

Use my repo
The log given by the failure.

No failure but problem with webpack later in the assets
Desired functionality.

ngc should not generate typings imports
Mention any other details that might be useful.

Hi,
I've noticed that since @angular/compiler 5.0.0 unused imports are generated.
Let's say I have a module 'my-module/types' exporting only interfaces and I import this module in an angular library. Previously in 4.X.X import {whatever} from 'my-module/types' were not generated by ngc. But now in 5.X.X, this is generated and unused. I don't think it's a typescript issue because if I run tsc compilation, it does not generate these imports.
ngc does not fail but I've issues when I import my module in webpack.
You can reproduce with my repo
Thanks anyway for the great job
EDIT
I have edited my repo and if we transpile like in angular@4 with annotationAs flags, imports are not generated. Hope it helps...

Duplicate of https://github.com/angular/angular/issues/21280#issuecomment-451352901


implement key-per-message LevelDB scheme and benchmark CORE-3947

@maxtaco @songgao r?
This PR does two things:
1.) Implement a key-per-message storage scheme on LevelDB, and put the LevelDB interaction behind an interface.
2.) Move encryption to the LevelDB engine level, so that we can encrypt entire blocks in the block engine.
We also add benchmarks to compare the block vs per-message-key scheme. The results of the benchmarks are below, it seems like the block scheme has some good value (note that it also comes with a space win with fewer nonces stored). The block engine loses on accessing a random single message, which isn't too surprising.
BenchmarkStorageSimpleBlockEngine-4                   50         785304488 ns/op
BenchmarkStorageSimpleMsgEngine-4                     20<PHONE_NUMBER> ns/op

BenchmarkStorageCommonBlockEngine-4                10000           4750950 ns/op
BenchmarkStorageCommonMsgEngine-4                   5000           7705754 ns/op

BenchmarkStorageRandomBlockEngine-4                   50         176642625 ns/op
BenchmarkStorageRandomMsgEngine-4<PHONE_NUMBER>3 ns/op

BenchmarkStorageRandomLongBlockEngine-4<PHONE_NUMBER>49 ns/op
BenchmarkStorageRandomLongMsgEngine-4<PHONE_NUMBER>50 ns/op

@maxtaco and I talked about this, and he gave me a 👍 in person.