[10.4 stable] Timeout calling dhcpcd

These are commits originally submitted by @christoph-zededa to the master branch, which target the issue, which was observed on the 9.7 version. I would like to merge them to the 10.4 stable in order to ask the customer to switch to more recent and stable version.

Difference to the previous version:

Add original sha to the cherry-picked commits

Hmm - the jenkins ztests job is failing on this, and for some reason the Eden pipeline does not run on the release/patch branches. Needs to be investigated.

@eriknordmark I do not see any failures. How can I check those?

Jenkins fails because eve can't unlock vault. Why eden has not been started - I have no idea, since I so not see any errors. I asked @yash-zededa , probably he can help.
What I did here is to reverted those 3 patches (basically make this PR bogus) in order to get better understanding will something pass or not.

I manually kicked of a jenkins run for this (now empty) PR.

Tried the image manuall on sc-supermicro-zc2 and get the same failure (attestation completes successfully but vault does not get unlocked). Will try 10.4.2-kvm-amd64 as well.

I've tried this PR build and various 10.4.X builds.
The conclusion is that the xen variant of this PR and 10.4.3-xen-amd64 fails, but 10.4.1-xen-amd64 and 10.4.2-xen-amd64 are OK. All kvm variants work, including of this PR.
So there must be some interaction between the PRs which went into https://github.com/lf-edge/eve/releases/tag/10.4.3 somehow causes Xen to not unlock the vault.

@eriknordmark so we have a xen regression between 10.4.2 and 10.4.3. I will take a look.

Difference to the previous version:

Removed all reverted changes, so now the PR description corresponds to actual commits.

We should merge this, but we do need to figure out why 9.4.3-xen-amd64 has issues with the vault.


Coil20 Dataset file name incoherences

In RealDataset class, when you calling the dataset coil20, it call coil2020/coil20.mat file however the file name is coil20/COIL20.mat

Thanks for noticing, I tried and it worked for me. For the sake of clarity, I updated the filename.


[FEAT]:  upgrade to cpp17

Description
make fork from cpp14
first only upgrade the minimum version required;
the documentation should be updated
alignment to cpp17 should be done step by step with new features, fixes, performance improvements
Additional Information
No response

Starting with version 1.13 Poco requires C++17


Error when setting the Root Disk Size on RKE2 / EC2 cluster provisioning

What kind of request is this:
bug
Steps to reproduce (least amount of steps as possible):

Dashboard RKE2 EC2 node template
Create a new node from that and change the default value of the `Root Disk Size'

Result:
Amazonec2Config.provisioning.cattle.io "nc-undefined-pool1-rcggx" is invalid: rootSize: Invalid value: "integer": rootSize in body must be of type string: "integer"
rootSize: 50 <--- The API has this
Other details that may be helpful:
If I don't change the field. Provisioning starts. I don't see rootSize in the POST payload with defaults.

Fleet enabled
RKE2 enabled

Environment information

Rancher version: v2.6 master-head (05/12/2021) 3e89bb8
Installation option: HA

This is from the API @ibuildthecloud ; it's submitted as an integer in the JSON.

Apparently that well-worded error from k8s means it was expected to be a string but was found to be an integer.  Changing in the UI.

Rancher version v2.6 master-head 55f0bb2
I was able to create a single node EC2 RKE2 cluster and specifying a custom root disk size


update namespace for blog controllers in .upgrade.yml

more specifically: Blog_Controller, BlogController, BlogPost_Controller, BlogPostController
reference: https://github.com/silverstripe/silverstripe-blog/issues/555

Hey =) You've opened this against your own fork of the module. I've cherry-picked your commit into the main repository, so you can close this now. Thank you for contributing!


Cow: Watch asn73.com

Cow requests the watch of the watch_keyword asn73\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

asn73\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


graalvm: Classes that should be initialized at run time got initialized during image building

Redis version
7.2.0
Redisson version
3.40.1
Redisson configuration
spring:
  data:
    redis:
      host: <IP_ADDRESS>
      password: 123456
      database: 2

What is the Expected behavior?
no error message
What is the Actual behavior?
[2/8] Performing analysis...  []                                                                        (55.2s @ 3.10GB)
   27,556 reachable types   (90.7% of   30,377 total)
   41,603 reachable fields  (55.1% of   75,548 total)
  152,640 reachable methods (66.7% of  228,842 total)
    8,607 types,   887 fields, and 18,702 methods registered for reflection

Error: Classes that should be initialized at run time got initialized during image building:
 io.netty.util.internal.shaded.org.jctools.util.UnsafeAccess was unintentionally initialized at build time. To see why io.netty.util.internal.shaded.org.jctools.util.UnsafeAccess got initialized use --trace-class-initialization=io.netty.util.internal.shaded.org.jctools.util.UnsafeAccess
To see how the classes got initialized, use --trace-class-initialization=io.netty.util.internal.shaded.org.jctools.util.UnsafeAccess
------------------------------------------------------------------------------------------------------------------------
                       9.5s (14.0% of total time) in 122 GCs | Peak RSS: 4.73GB | CPU load: 14.93
========================================================================================================================
Finished generating 'demo' in 1m 6s.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:20 min
[INFO] Finished at: 2024-12-10T14:14:33+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.10.3:compile (default-cli) on project demo

Additional information
demo https://github.com/haidiiii/redisson-native-image
/apps/apache-maven-3.9.4/bin/mvn clean native:compile -Pnative -DskipTests

I got a successful build, but faced with a different issue https://github.com/oracle/graal/issues/9610

Seems to be a side effect of #6320.
I use version 3.40.0 and don't have this problem.


When Using maths inside inspector apply it to each selected node individually

In this https://github.com/godotengine/godot-proposals/issues/369 I was advised to rise it as bug report
Godot version:
3.1.2
OS/device including version:
Win 10
Issue description:
Inspector allows users to use paths inside it rather than type numbers for example if we select a sprite and in transform x we type +25 it will be moved by 25 pixels . Problem starts when we have multiple selected nodes if we select multiple nodes and type +50 position will be calculated only once and assigned to all nodes
https://streamable.com/m170v
This is not what we want to accomplish at all.
What user really wants is to move all sprites by 50 pixels like this

Steps to reproduce:
Described above
Minimal reproduction project:
Happens in every project ever.

I could see it being difficult to fix. Right now, EditorInspector will pass its numeric fields to the Expression class. However, how can we distinguish an expression result (e.g. 350 + 50) from a single value entered directly (400)? At the end of the day, the engine will "see" the same thing.

This is not really a bug, more a limitation of MultiNodeEdit. Although "fixing" this makes sense.
Still, either this or the proposal should be closed.

I agree, this is not a bug, and opening a proposal was the correct idea. This is indeed something that is not supported at all and must be figured out and then implemented.


Find a solution to have visual testing on Storybook (Chromatic)

[x] Request access to Adevinta for Chromatic OAuth
[] Add a visual testing step in quality.yml

Documentation:
Previous setup


fix peek to return Maybe, update docs

After agreement in IRC w/ paf31, peek should really return something in Maybe otherwise (SM.new >>= flip SM.peek "asdf") :: forall s. Eff (st :: ST s) String returns undefined.
It looks like the docs for unions was also out of date, that change in the docs is unrelated to my code changes here.
Per discussion in IRC I followed the style of purescript-arrays' peek function in the implementation.

Looks good to me, thanks Jake. @garyb Do you know if the undefined check here is ok in general?

Is there a world in which you actually want to store "undefined" in a map and this breaks? Is there an Undefined type that encodes its value as js's undefined itself?

There is, in purescript-nullable.

I don't think we can distinguish those though, but I might be wrong.

You can do so with a hasOwnProperty test.

yeah, I think the fault lies more in purescript-nullable, you just shouldn't try to put those in StrMaps I think... Here's a relevant StackOverflow discussion: http://stackoverflow.com/questions/135448/how-do-i-check-if-an-object-has-a-property-in-javascript

I think I should use hasOwnProperty instead of === undefined

I played around w/ purescript-nullable a bit, and it doesn't actually use undefined, just null as far as I can tell, which are two different values in js as I understand it? I'm definitely not a js expert.

Possibly, but it would be possible to create the same thing for undefined.
This looks good to merge to me. @michaelficarra ?

Ahh that makes sense good idea. Looks like that works too and avoids the problem you mentioned.

LGTM :+1:

LGTM too.

Major version bump I guess? @garyb I was unable to get your dependencies package working, could you please calculate the changes?

Sure thing:

Dependants of purescript-maps:

[ ] purescript-sets
[ ] purescript-graphs*
[ ] purescript-in-purescript

What was the problem you encountered? Can you open an issue on https://github.com/garyb/purescript-dependency-helper please?

And :+1: for major bump as it changes the API.


Add --wait cli option for the test command

Hello there,
In my tests I quite often run into an issue when screenshot is being taken before example is fully rendered. So I've added wait option to the styleguidist-visual test command which could help to solve such issues.
Here is an example of incorrect screenshots
Button_1_desktop.new.png

Button_1_desktop.png

I guess this could be a solution for #17 as well

Current delay functionality forces me to define custom action for every component.
That means I'll have to copy the same code over all example files in our styleguide. It doesn't seem like elegant solution to me.
This PR provides an easy way to set global delay before each screenshot without source code modifications while #22 is more for fine tuning specific components.
I believe those two methods complement each other quite well.

Yeah, I agree.

Awesome, thank you!

@kot-lex Just published v0.7.0 with your changes!


Action button cannot be clicked a 2nd time without reloading the page.

Hello! First of all thanks a lot for making this. It works really well and I'm enjoying using it.
Small nitpick.. I've noticed that when you click a button that triggers an action, the button initially displays as a button but after clicking it the button vanishes and is replaced by text, in my case it says 'success'. If I try to click it a second time, instead of triggering the action again, it goes to the resource view page. Or if I'm already on the resource view page, then clicking it a 2nd time just does nothing.
I would prefer it if it remained as a button and could be clicked as many times as needed.
is there any way to modify this behaviour?
Many thanks!!

@vesper8 Have you tried ->reload() ?

Thank you! Yes that does indeed work!
My button now looks like this
            Button::make('Inspect in Lessons Summary Calendar')
                ->style('success')
                ->action(InspectInCalendar::class)
                ->reload(),

And I can now click it time and time again. Cheers!


Updated deprecated supermarket link

Links to 'https://supermarket.chef.io/' instead of 'https://supermarket.getchef.com' as the latter is now deprecated

:ok:


Safari: Lag during seeking when utilizing backend: "MediaElement"

Wavesurfer.js version(s):
6.4.0
Browser and operating system version(s):
Safari, mainly happens on iOS (16.1), but sometimes also on macOS 11.7.1
Code needed to reproduce the issue:
I'm going to use one of the official examples, as some of them are also affected. For example this one:
https://wavesurfer-js.org/example/angular-material/index.html
Use behaviour needed to reproduce the issue:
When you play a song, and seek in the track (click in the waveform), the audio playback stops for half a second, then continues the playback. This is only present on Safari (both mac and iOS), and interestingly enough, only on some of the official examples. But what's even more weird, is that when I open another example in a new tab which doesn't have this issue, and hit play on that one, then the other one also gets fixed and the lag doesn't exist anymore.

So let's say you open this example:
https://wavesurfer-js.org/example/angular-material/index.html

Play the track. Try to seek into it. It stops and plays everytime you seek.

Open a new tab, and open this one:
https://wavesurfer-js.org/example/bars/index.html

Hit play, and you can immediately pause it as well.

Go back to your first tab, with the laggy seeking issue. It's no longer lagging!

What's happening here? How do we get rid of this issue?
UPDATE:
If I remove backend: "MediaElement", this issue doesn't exist. But that line of code is necessary for my usecase.

I can still observe this issue on macOS + Chrome.


modified pom.xml

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14760/
Test PASSed.

@shboy , this change will increase the default hadoop version when building Alluxio, introducing a lot of dependency change. are you looking for simply building Alluxio with non-default version of HDFS? if that is the case, you can run something like the following:
$ mvn clean installl -Dhadoop.version=2.7.1

@shboy  do you have any question? suggestion?
if no further feedback in here in a week, we will close this PR.
So feel free to discuss with us in here


[TS] ActionSet element type to render actions anywhere

Automatically generated task. Any updates to the title and body will be overwritten. Do NOT modify the labels.
TS implementation of #877

Closing, looks like this was already implemented


Teamfights page Tabs need to fix width

Example:
over 18 fights in game
https://www.opendota.com/matches/2741286001/teamfights
Monitor is 1440px:

Solution:
Maybe use 2 row and more.
Maybe need 8 col in 1 row...

I'm thinking a dropdown menu selector might scale better.  It also avoid the issue right now of rendering every teamfight at once (which is slow on mobile)

which is slow on mobile
Safari from MacOS slow too.

Related to #415


Remove dependency on TFE_InferShapes and TFE_GetServerDef

We probably don't need these anymore: Remove dependency on TFE_InferShapes and TFE_GetServerDef.

TFE_GetServerDef has been removed, TFE_InferShapes still needs to be addressed.


Issue with Opening Pages after install

After provisioning, the initial page loads properly and then when you click on the link (like getting started teams), you top displays correct but the bottom shows the following error.
Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
Technical Details
The technical details are:
[SPLoaderError.loadComponentError]:
***Failed to load component "141d4ab7-b6ca-4bf4-ac59-25b7bf93642d" (CustomLearningWebPart). Original error: ***Failed to load URL 'https://XXX.com-portal1.sharepoint.com/sites/PreApps/ClientSideAssets/26c9cd9f-db62-49b1-b102-7f0dad281ea0/webpart-m365lpstrings_en-us_e114746ed43501fdc6244d31b384916e.js' for resource 'M365LPStrings' in component '141d4ab7-b6ca-4bf4-ac59-25b7bf93642d' (CustomLearningWebPart). There was a network problem. This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
Any idea how to fix?

Are you by chance in a vanity URL tenant? That seems like an odd URL for SharePoint online.

I removed my tenant name so it was not pushed.

Paul Sebben | CIO | Preeminent Solutions |<PHONE_NUMBER> | paul.sebben<EMAIL_ADDRESS>
From: Julie Turner<EMAIL_ADDRESS>Sent: Thursday, February 13, 2020 10:29 AM
To: pnp/custom-learning-office-365<EMAIL_ADDRESS>Cc: Sebben, Paul<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [pnp/custom-learning-office-365] Issue with Opening Pages after install (#203)
Are you by chance in a vanity URL tenant? That seems like an odd URL for SharePoint online.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/pnp/custom-learning-office-365/issues/203?email_source=notifications&email_token=AORMGVBHW6RXQBOUPEVO75LRCVRPJA5CNFSM4KUKHAP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELVNPYY#issuecomment-585816035, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AORMGVDS2M3ATRPGTHMSX33RCVRPJANCNFSM4KUKHAPQ.

I gathered by still contoso.com-portal1.sharepoint.com is not normally how a SharePoint online URL appears so I felt the need to ask as this problem seems very similar to ones where the tenant supports vanity URL's whereby the app catalog is in a different "domain" from the site and thereby there's an issue with SharePoint Framework solutions running because it's a cross-origin call.
So all that said, it feels like there's some issue with the app catalog in your tenant, however it could be that it didn't deploy properly.  Since the template is out of date anyway I'd suggest following the (Updating the Solution)[https://github.com/pnp/custom-learning-office-365#updating-the-solution] instructions to update the web part and then navigate to the admin web part which is located on the CustomLearningAdmin.aspx page in that site collection to see if that will load.

Closing this issue due to lack of activity.  If you're still having an issue or a similar issue please open a new issue.


Support auto-running functions after set,get,update

This allows a package to declare that some or all functions should be run after programmatically modifying the package through get,set,update.

PTAL

/lgtm
/approve


add list of required accounts, fixes #55

Makes sense i think to list required accounts to reduce the time it takes during workshop.
Included accounts: github, travis ci, coveralls, read the docs

sorry, i have to self-merge since the installation email is going out now. Can be reverted later if needed


Can't source build.sh from nix develop

On an m1 mac running stock zsh:
$ source scripts/build.sh
Run with 'source ./scripts/build.sh [fed_size] [dir]
Setting up env variables in /var/folders/97/q5fc74fx3zs0rqkk9_9lb5q00000gn/T/kye9B
direnv: unloading
error: could not find `Cargo.toml` in `/Users/justin/fedi` or any parent directory
cp: misc/test/bitcoin.conf: No such file or directory
cp: misc/test/lnd.conf: No such file or directory
cp: misc/test/lightningd.conf: No such file or directory
cp: misc/test/electrs.toml: No such file or directory

Seems like SRC_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )/.." &> /dev/null && pwd )" is misbehaving. I think this is because "BASH_SOURCE[0] isn't defined in zsh ...

Do we want to support ZSH? It's not POSIX compliant afaik, so a lot more things might not work (even if we found a workaround for this particular problem).

Do we want to support ZSH?

I don't think so. Don't know how to address this, but people will run into this after https://github.com/fedimint/fedimint/pull/1870 because our docs will suggest people source this file.

call: we should define which shells we support ... we won't support everything

Call: direnv explicitely doesn't start a new (bash) shell?

Closing this. It works fine in bash for me. Feel free to re-open if you disagree.


Upgrade gtest

Summary
Upgrades gtest to version 1.8.1. The upgrade is done primarily to fix the Windows Error popup bug that happens when running tests with EXPECT_DEATH on Windows. More in #1051
In short I replaced the files in lib/gtest, renamed the folder and changed make/libraries to point to the new folder name (gtest_1.8.1)
Tests
No additional test.
Side Effects
/
Checklist

[x] Math issue #1051

[x] Copyright holder: Rok Češnovar

By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

I am not sure why are these boost linking errors happening on jenkins. If anyone has any ideas on that it would be very welcome.

@rok-cesnovar, the failure is happening with compiling with MPI. Let's see if @wds15 can verify whether the modification to gtest.cc is necessary.

I have added the stuff to make the MPI tests run again. Would you mind reviewing this again @syclik

MPI tests are working again for me.

@rok-cesnovar or @wds15: I just put up a wikipage: https://github.com/stan-dev/math/wiki/Updating-Libraries (It's also linked from Home.)
Let me know if that looks clear enough. Feel free to edit it directly!


Embeddings search experimental API

Adds two new functions to cellxgene_census.experimental:

find_nearest_obs uses TileDB-Vector-Search indexes of Census embeddings to find nearest neighbors of given embedding vectors (in an AnnData obsm layer). #1114
predict_obs_metadata uses the nearest neighbors to predict metadata attributes like cell_type and tissue_general for the query cells. Naive initial implementation is just a starting point to start experimenting with. #1115

The TileDB-Vector-Search query speed seems to be very S3-latency-sensitive, even moreso than typical Census queries. It's many times faster to run from within AWS us-west-2 than externally.

@ebezzi Putting this up for initial review since it's working well, but we still need to plan action on #1181 -- this still copies the approach of hard-coding the base S3 URI.

@ebezzi @pablo-gar @ivirshup Updated this to resolve indexes through mirrors/contributions json and remove the need for caller to use get_embedding_metadata_by_name() on their own. Please take another pass including the prior discussion. Unfortunately we have known CI issues currently but I've run the new test cases locally. 🙏

@ivirshup I split out the perf optimization to #1257 since I was still getting an error, will write more there -- hope you don't mind, it's only because I need to triage desperately right now!


subscribe without parameter response for Clio is different from rippled response.

Sample request:
{   "id": "Example watch Bitstamp's hot wallet",   "command": "subscribe" }
Rippled response:
`{
"id": "Example watch Bitstamp's hot wallet",
"result": {
},
"status": "success",
"type": "response"
}`
Clio response:
{   "error": "invalidParams",   "error_code": 31,   "error_message": "does not contain valid subscription",   "status": "error",   "type": "response",   "id": "Example watch Bitstamp's hot wallet",   "request": {     "id": "Example watch Bitstamp's hot wallet",     "command": "subscribe"   },   "warnings": [     {       "id": 2001,       "message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request"     }   ] }

Issue exists for unsubscribe also.

@ManiMounikaKunasani @cjcobb23
It seems like rippled does not error out when no valid subscription channel is specified.
clio however does currently check that at least one of streams, accounts, accounts_proposed or books is specified.
Do i understand correctly that we want to just disable this check in clio?


[Contribution] Identify contribution must haves

Overview

Identify everything that is required for a contribution to make it through. (Full Monty)
Identify minimum requirements.
Identify partial contributions, if they exist.

The details
Full Monty contribution is as follows:

Working code
Design spec that includes:

spacing & size
typography tokens
color tokens
states
interactions

Design symbol/asset
Documentation

Hey there! Going to close this one out due to inactivity. Feel free to comment and I can re-open!


feat(submissions): send submissions to Discord

What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Description

Submissions button exist on page thanks to the 2.9 beta merge but we do not have the API connected. As a shortcut, I have create a connection to the project share channel to at the very least send these requests somewhere.
This will need still need the API connected so we can validate submissions and track them.
For now, I will go and star each submission to get them indexed.
Related Tickets & Documents

fix #211
Mobile & Desktop Screenshots/Recordings

Added tests?

[x] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

@open-sauced/triage this PR is ready to review. You will need to do the following to review.

You will need to click the Netlify "Deploy Preview" link above
Find the "Submit a repo?" button
Submit a GitHub repo using the URL. Bonus points if it is a repo not in the list.
Check the Discord chanell "⭐cool-github-project-share" to see if your repo showed up.

Are there missing features or is there another way you would expect this to work?

website crash when changing filter from "popular" to "discussed, upvoted or recent".

redirects you to new page when trying to add a star to a repository

redirects you to new page when trying to add a star to a repository

That is outside the scope of this PR. but worth opening an issue for.


TS migration: < TokenTable /> , < ColorDescription />

Monday ticket
Typescript migration guideline
In TokenTable it's needed to converted also children components

Hey @balajik!
It's yours! :)

Closed thanks to @balajik !


Refactor/pnpm

this is based on: https://github.com/TheMightyPenguin/dessert-box/pull/21
(and therefore should only be merged after the base one)

it ditches yarn for pnpm, to get faster installs + easier workspace management
rm dead scripts
use vite for the react example

pnpm 💯 awesome! thanks for this!!


Feature request: Add option to read configuration from stdin

If configuration filename is a hyphen "-", we attempt to parse the input from stdin. This makes it possible to modify configuration files with linux command line tools and pipe the results to (for example) "anemoi-dataset create". Both linux pipes and input redirection is supported.
cat config.yaml | anemoi-datasets create - test.zarr
anemoi-datasets create - test.zarr < config.yaml
We attempt to read the contents using the supported parsers in the following order: yaml, json, toml.
If all parsers fail, an exception is raised.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


patch: add initial support for quoting-style

We have a really naive implementation for quoting with this initial pass

but that is to be improved! For now, just begin with the basic plumbing so that the option exists.

Codecov Report
Patch coverage: 82.85% and project coverage change: +0.18 :tada:

Comparison is base (928dccf) 70.82% compared to head (40f185a) 71.01%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
+ Coverage   70.82%   71.01%   +0.18%
==========================================
  Files          17       17
  Lines        1950     1980      +30
  Branches      839      851      +12
==========================================
+ Hits         1381     1406      +25
- Misses         93       94       +1
- Partials      476      480       +4

Impacted Files
Coverage Δ

include/patch/cmdline.h
100.00% <ø> (ø)

src/cmdline.cpp
81.43% <81.81%> (+0.03%)
:arrow_up:

src/patch.cpp
56.49% <84.61%> (+0.76%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Sudoku Game

Want to add sudoku game in JavaScript

can you assign this is issue to me

Hello @codersalman  would you please assign me the label of hacktoberfest

Can you assign me this task?

Hello sir,
Can you assign me this task?

Hello sir, Can you assign me this task?

Create New Issue

Hey, @yashshinde03 I`m inquisitive about this. Please are you capable of assign it to me?

Please assign this to me @codersalman


how to customise sendgrid unsubscribe link

Expected content
Actual content
Link to page:

Hello @Asifck-design ,
Can you please provide more specific details about the type of customizations you're hoping to make? What info in the docs would be most helpful that you didn't find.
Twilio SendGrid Docs Team


Roll engine to f56da86f9807a7d4c924cdb5a28d77baad0537b1

This very significantly negatively impacted the following benchmarks:
hotReloadFlutterReassembleMilliseconds and hotReloadMillisecondsToFrame
It appears to have significantly improved:
hotRestartMillisecondsToFrame


Split cuDNN convolution gradient operators

Splits the monolithic CuDNNConvGradientOp into their components. {CuDNNConvDataGradientOp, CuDNNConvFilterGradientOp, CuDNNConvBiasGradientOp}.
This has a few advantages:

Potentially allows for better scaling via more fine-grained dependencies for communication (communication of bias / filter gradients no longer depend on the computation of all of {dX, dW, db}, just the relevant parameter gradient
Potentially overlap of wgrad, dgrad and bgrad calls
More fine-grained reporting of timings through convnet_benchmarks

\cc @asaadaldien as I know he's been working on something similar for other convolution ops.

TravisCI timed out on an unzip command? These osx build machines are killing me.

@asaadaldien Apologies for the delay on updating this one - all tests are passing locally now

Thank you for your contribution! PyTorch and Caffe2 are now officially merged with the PyTorch 1.0 preview release. Please submit on https://github.com/pytorch/pytorch if this is still an issue over there.


Argument of YieldExpression should be AssignmentExpression

I found this fails to parse:
function* foo() {
  fn({
    a: yield a,
    b: yield b
  });
}

It complains unexpected token : --- looks like it is parsed as { a: (yield a, b): yield b.
The standard says the argument to YieldExpression should be AssignmentExpression:
YieldExpression[In] :
yield
yield [no LineTerminator here] AssignmentExpression[?In, Yield]
yield [no LineTerminator here] * AssignmentExpression[?In, Yield]

Thus the fix:
diff --git a/esprima.js b/esprima.js
index 340fe41..d5ed28d 100644
--- a/esprima.js
+++ b/esprima.js
@@ -3824,10 +3824,10 @@
             delegate = match('*');
             if (delegate) {
                 lex();
-                argument = parseExpression();
+                argument = parseAssignmentExpression();
             } else {
                 if (!match(';') && !match('}') && !match(')') && lookahead.type !== Token.EOF) {
-                    argument = parseExpression();
+                    argument = parseAssignmentExpression();
                 }
             }
             state.allowYield = previousAllowYield;

I have not yet finished tests for this; will commit in my fork after finished that.

Yep, that appears to be the source of the bug and the correct fix. Looking forward to your PR.


chore(prow/jobs/tikv/pd): enable job build

What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
What's Changed:
How it Works:

/merge


Package renaming

From space.taran to dev.arkbuilders. Pay attention that it's not dev.ark-builders because hyphens are forbidden in package names.

Almost there. Please also check the test package


Don't work with grapesjs >= v0.9.32

This version does not work with the version of grapesjs >= v0.9.32
VM5114 grapesjs-mjml.min.js:107 Uncaught TypeError: Cannot read property 'length' of undefined     at r.addToCollection (VM5114 grapesjs-mjml.min.js:107)     at r.<anonymous> (VM5114 grapesjs-mjml.min.js:107)     at VM5111 grapes.min.js:2     at Function.C.each.C.forEach (VM5111 grapes.min.js:2)     at i.each (VM5111 grapes.min.js:2)     at render (VM5114 grapesjs-mjml.min.js:107)     at i.renderChildren (VM5114 grapesjs-mjml.min.js:2)     at i.render (VM5114 grapesjs-mjml.min.js:2)     at i.addToCollection (VM5111 grapes.min.js:2)     at i.<anonymous> (VM5111 grapes.min.js:2)
Thanks

Already updated with v0.10.4


error: option -s not recognized

thanks for great works ,but i do have some questions,
(3dg) alex@alex-System-Product-Name:~/RAIN-GS-main$ python train.py -s data/truck  --eval --ours
usage: train.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: train.py --help [cmd1 cmd2 ...]
or: train.py --help-commands
or: train.py cmd --help
thanks a lot

Hi, thanks for the interest in our work!
Could you please provide a more detailed screenshot of the error?
Thanks!

thanks for your reply,here is it

Can you share what version of python and cuda you are working on?
We just tested our code after re-cloning this repo and it actually worked fine. Could you please try --source_path instead of -s?
Thanks.

i guess maybe my version of cuda goes wrong,it is just 11.8 with python 3.8,i will try to rebuild my env,thanks so much!


Support file={} option

Similar to https://github.com/alinz/react-native-webview-bridge/issues/38 - It would be nice to link to a local html file instead of pulling in a raw HTML string.
Ideally this would be able to link to other local resources (like additional js/css/images), but those could probably be inlined if necessary.

@EricPKerr thank you for your suggestion BUT:
The whole purpose of this module is to extend the WebView to support communication between native js and web js. if you can provide the valid use case I will be happy to think and might start implementing it into this module.
Couple of things to know which preventing me to do this:

same origin policy since you are loading the page from local
if you can load html to draw something why not just use react-native to implement the whole thing. It runs faster, feels a lot better and you have full control.

Any thoughts?

My specific example is embedding the Google Maps JS SDK as there is not yet currently a working react-native Google Maps component.  Enabling this to exist in the webview bridge will allow react-native apps to use these web libraries while their native counterparts are being developed by the community.

@EricPKerr I can build the foundation in react-native for google map SDK in iOS. Would you be interested of becoming the contributor for that? I need to maintain every single modules and they take all my time. If you willing to help as a maintainer, I will gladly build one for you.

@alinz yeah - that sounds great.  Feel free to email me with specifics on what to do next, it's my github username at gmail.com.

@EricPKerr have you seen this react-native-maps? Is this going to help you, if so please close this ticket.

@alinz looks like a pretty great library. Still unfortunately doesn't use Google Maps for iOS, but i'll probably just roll with this.


Add token refresh options to simple token cache (azure-core)

The azure-core part of the work for https://github.com/Azure/azure-sdk-for-java/pull/11704.
This PR should be merged prior to azure-core 1.6.0-Beta.1 release. Once it's released, the other PR should be rebased to use the released azure-core library, after which azure-identity could then be released.

Closing as this should be targeted at the azure-core preview branch.

Opened at https://github.com/Azure/azure-sdk-for-java/pull/12616


Example that shows how to install via 'helm install' without JX

I suspect the resource limits could all be lowered significantly and it should still work as we've had the same components working in minikube before. Then you could install everything inc rb to minikube with just a helm install.
Maybe put this in the README.md of the chart for the runtime bundle

These scenarios now covered in https://github.com/Activiti/activiti-cloud-charts/blob/e5f4f945cb7dd05823a96859dc0e29a4c48007e0/activiti-cloud-full-example/README.md


Add js to handle link method option in custom links

Hi,
I have pulled the master with the purpose of using the :method option in the custom links.
I think the javascript code to handle this option is missing.
I'm not a pro on the frontend so I just added the phoenix_html.js file, present in phoenix, to make it work.
Now it works, but I don't know if it's really the right method.

issue #123

Ah! You already have a PR!
Thank you so much @nresni


Error in the optimizer now after changes performed by Akababa

[root@localhost chess-alpha-zero-master]# python3 src/chess_zero/run.py opt
2017-12-26<EMAIL_ADDRESS>INFO # config type: mini
Using TensorFlow backend.
2017-12-26<EMAIL_ADDRESS>DEBUG # loading best model
2017-12-26<EMAIL_ADDRESS>DEBUG # loading model from /run/media/root/Fer_descargas/chess-alpha-zero-master/data/model/model_best_config.json
2017-12-26 16:55:30.975444: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2017-12-26 16:55:30.975705: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce GTX 1060 6GB major: 6 minor: 1 memoryClockRate(GHz): 1.8095
pciBusID: 0000:01:00.0
totalMemory: 5.93GiB freeMemory: 5.48GiB
2017-12-26 16:55:30.975718: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 1060 6GB, pci bus id: 0000:01:00.0, compute capability: 6.1)
2017-12-26<EMAIL_ADDRESS>DEBUG # loaded model digest = 0c379712fcb4204eccea535e5ff099cde78f87037e9805c85d4738bc350adb12
Traceback (most recent call last):
File "src/chess_zero/run.py", line 16, in
manager.start()
File "src/chess_zero/manager.py", line 48, in start
return optimize.start(config)
File "src/chess_zero/worker/optimize.py", line 23, in start
return OptimizeWorker(config).start()
File "src/chess_zero/worker/optimize.py", line 37, in start
self.training()
File "src/chess_zero/worker/optimize.py", line 47, in training
steps = self.train_epoch(self.config.trainer.epoch_to_checkpoint)
File "src/chess_zero/worker/optimize.py", line 65, in train_epoch
callbacks=[tensorboard_cb])
File "/usr/local/lib/python3.6/site-packages/keras/engine/training.py", line 1522, in fit
batch_size=batch_size)
File "/usr/local/lib/python3.6/site-packages/keras/engine/training.py", line 1378, in _standardize_user_data
exception_prefix='input')
File "/usr/local/lib/python3.6/site-packages/keras/engine/training.py", line 132, in _standardize_input_data
str(array.shape))
ValueError: Error when checking input: expected input_1 to have 4 dimensions, but got array with shape (0, 1)

Do you have files in your play_data folder? Although I agree the optimizer should check for that first.

I only have two big pgn files.

Ohh okay, as it stands currently you have to run "sl" on them first to convert into json, then "opt". But if it's helpful I have a version in my repo where opt can just read the pgns directly. It uses float16 though so you might have to ctrl+f back to float32 to make it work with the model from this repo.

Well, using the version in your repo, get this error:
[root@localhost Chess-Zero-float16]# python3 src/chess_zero/run.py sl
Using TensorFlow backend.
Traceback (most recent call last):
File "src/chess_zero/run.py", line 17, in
from chess_zero import manager
File "src/chess_zero/manager.py", line 5, in
from chess_zero.agent.model_chess import ChessModel
File "src/chess_zero/agent/model_chess.py", line 15, in
from chess_zero.agent.api_chess import ChessModelAPI
File "src/chess_zero/agent/api_chess.py", line 6, in
from chess_zero.config import Config
File "src/chess_zero/config.py", line 107, in
class Config:
File "src/chess_zero/config.py", line 112, in Config
move_lookup = {chess.Move.from_uci(move): i for move, i in zip(self.labels, range(self.n_labels))}
NameError: name 'self' is not defined
[root@localhost Chess-Zero-float16]#

I just pushed again, but it might be easier to just use sl from this repo until I'm done experimenting with stuff.


Nukkit: LuckPerms doesn't support names with spaces.

Hello,
there is a problem with the nukkit version of LuckPerms. It doesn't support names with spaces.
When you execute for example  /lp user "My Cool Name" parent add Test it returns command not recognized. It's also a problem when you try setting a prefix or suffix. "" support is missing.
Best regards,
Proxma

You can use UUID in the case a username has spaces, since it's really rare and not really a problem for most haha

You can use UUID in the case a username has spaces, since it's really rare and not really a problem for most haha

Nukkit (Minecraft: Bedrock Edition) doesn't really have UUIDs for players to my knowledge.
@ProxmaDev You need to enable this setting here:
https://github.com/lucko/LuckPerms/blob/2ed45c92a6a55ada6d9c1e50a0082b1b15fa5d66/nukkit/src/main/resources/config.yml#L515-L519

It's enabled by default.

You can use UUID in the case a username has spaces, since it's really rare and not really a problem for most haha

Using UUID is not really a way.

It sure looks like Nukkit uses UUIDs
https://github.com/NukkitX/Nukkit/blob/master/src/main/java/cn/nukkit/IPlayer.java#L45

I have been made aware of this by others and it seems to be true.
The solution I suggested should in theory work. If not, then perhaps the name is too long, or something else is causing trouble?
And just to be clear: From what I understand can you not set a user's permission if they didn't join at least once and therefore got cached/saved (Unless Nukkit has a different save-policy in that regard) and I don't think the UUID would work, as it looks like to be a Nukkit thing and not a general MC: BE thing (Also seems to be a randomly generated UUID too?)
That's just what I know about MC: BE and Nukkit, which is a very limited knowledge.

Ok, well I'm using the UUID of players now. Thank you for helping me out :)


Multus may block microk8s refreshes

In the configure hook if we detect the multus addon enabled we disable and re-enable it [1]. This operation has to be performed within 5 minutes or else the configure script will fail (see below). Do we need to disable/enable multus? @apnar, is there a better way to achieve this?
15:06:45 2020-08-18 at 12:06:45 | INFO error: cannot perform the following tasks:
15:06:45 2020-08-18 at 12:06:45 | INFO - Run configure hook of "microk8s" snap if present (run hook "configure":
15:06:45 2020-08-18 at 12:06:45 | INFO -----
15:06:45 2020-08-18 at 12:06:45 | INFO ++++ /snap/microk8s/1622/sbin/ip -o -4 addr list cni0
15:06:45 2020-08-18 at 12:06:45 | INFO ++++ /snap/microk8s/1622/usr/bin/gawk '{print $4}'
15:06:45 2020-08-18 at 12:06:45 | INFO ++++ /snap/microk8s/1622/usr/bin/cut -d/ -f1
15:06:45 2020-08-18 at 12:06:45 | INFO ++++ head -1
15:06:45 2020-08-18 at 12:06:45 | INFO +++ CNI_IP=<IP_ADDRESS>
15:06:45 2020-08-18 at 12:06:45 | INFO +++ local ips=
15:06:45 2020-08-18 at 12:06:45 | INFO +++ for ip in $IP_ADDR
15:06:45 2020-08-18 at 12:06:45 | INFO +++ '[' <IP_ADDRESS> '!=' <IP_ADDRESS> ']'
15:06:45 2020-08-18 at 12:06:45 | INFO +++ ips+=<IP_ADDRESS>
15:06:45 2020-08-18 at 12:06:45 | INFO +++ for ip in $IP_ADDR
15:06:45 2020-08-18 at 12:06:45 | INFO +++ '[' <IP_ADDRESS> '!=' <IP_ADDRESS> ']'
15:06:45 2020-08-18 at 12:06:45 | INFO +++ for ip in $IP_ADDR
15:06:45 2020-08-18 at 12:06:45 | INFO +++ '[' <IP_ADDRESS> '!=' <IP_ADDRESS> ']'
15:06:45 2020-08-18 at 12:06:45 | INFO +++ ips+=' <IP_ADDRESS>'
15:06:45 2020-08-18 at 12:06:45 | INFO +++ for ip in $IP_ADDR
15:06:45 2020-08-18 at 12:06:45 | INFO +++ '[' <IP_ADDRESS> '!=' <IP_ADDRESS> ']'
15:06:45 2020-08-18 at 12:06:45 | INFO +++ ips+=' <IP_ADDRESS>'
15:06:45 2020-08-18 at 12:06:45 | INFO +++ for ip in $IP_ADDR
15:06:45 2020-08-18 at 12:06:45 | INFO +++ '[' fd42:ef4f:1d4c:4019:216:3eff:fef6:8352 '!=' <IP_ADDRESS> ']'
15:06:45 2020-08-18 at 12:06:45 | INFO +++ ips+=' fd42:ef4f:1d4c:4019:216:3eff:fef6:8352'
15:06:45 2020-08-18 at 12:06:45 | INFO +++ IP_ADDR='<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> fd42:ef4f:1d4c:4019:216:3eff:fef6:8352'
15:06:45 2020-08-18 at 12:06:45 | INFO +++ echo '<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> fd42:ef4f:1d4c:4019:216:3eff:fef6:8352'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ local 'IP_ADDRESSES=<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> fd42:ef4f:1d4c:4019:216:3eff:fef6:8352'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ cp /var/snap/microk8s/1622/certs/csr.conf.template /var/snap/microk8s/1622/certs/csr.conf.rendered
15:06:45 2020-08-18 at 12:06:45 | INFO ++ '[' '<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> fd42:ef4f:1d4c:4019:216:3eff:fef6:8352' == <IP_ADDRESS> ']'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ '[' '<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> fd42:ef4f:1d4c:4019:216:3eff:fef6:8352' == none ']'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ local ips= sep=
15:06:45 2020-08-18 at 12:06:45 | INFO ++ local -i i=3
15:06:45 2020-08-18 at 12:06:45 | INFO +++ echo '<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> fd42:ef4f:1d4c:4019:216:3eff:fef6:8352'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ for IP_ADDR in $(echo "$IP_ADDRESSES")
15:06:45 2020-08-18 at 12:06:45 | INFO ++ ips+='IP.3 = <IP_ADDRESS>'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ sep='\n'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ for IP_ADDR in $(echo "$IP_ADDRESSES")
15:06:45 2020-08-18 at 12:06:45 | INFO ++ ips+='\nIP.4 = <IP_ADDRESS>'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ sep='\n'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ for IP_ADDR in $(echo "$IP_ADDRESSES")
15:06:45 2020-08-18 at 12:06:45 | INFO ++ ips+='\nIP.5 = <IP_ADDRESS>'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ sep='\n'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ for IP_ADDR in $(echo "$IP_ADDRESSES")
15:06:45 2020-08-18 at 12:06:45 | INFO ++ ips+='\nIP.6 = fd42:ef4f:1d4c:4019:216:3eff:fef6:8352'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ sep='\n'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ /snap/microk8s/1622/bin/sed -i 's/#MOREIPS/IP.3 = <IP_ADDRESS>\nIP.4 = <IP_ADDRESS>\nIP.5 = <IP_ADDRESS>\nIP.6 = fd42:ef4f:1d4c:4019:216:3eff:fef6:8352/g' /var/snap/microk8s/1622/certs/csr.conf.rendered
15:06:45 2020-08-18 at 12:06:45 | INFO ++ '[' -f /var/snap/microk8s/1622/certs/csr.conf ']'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ local force
15:06:45 2020-08-18 at 12:06:45 | INFO ++ /snap/microk8s/1622/usr/bin/cmp -s /var/snap/microk8s/1622/certs/csr.conf.rendered /var/snap/microk8s/1622/certs/csr.conf
15:06:45 2020-08-18 at 12:06:45 | INFO ++ force=false
15:06:45 2020-08-18 at 12:06:45 | INFO ++ false
15:06:45 2020-08-18 at 12:06:45 | INFO ++ '[' '!' -f /var/snap/microk8s/1622/certs/front-proxy-client.crt ']'
15:06:45 2020-08-18 at 12:06:45 | INFO +++ /snap/microk8s/1622/usr/bin/openssl x509 -noout -issuer
15:06:45 2020-08-18 at 12:06:45 | INFO ++ '[' 'issuer= /CN=front-proxy-ca' == 'issuer=CN = <IP_ADDRESS>' ']'
15:06:45 2020-08-18 at 12:06:45 | INFO ++ echo 0
15:06:45 2020-08-18 at 12:06:45 | INFO + '[' 0 == 1 ']'
15:06:45 2020-08-18 at 12:06:45 | INFO + '[' -e /var/snap/microk8s/1622/args/containerd-template.toml ']'
15:06:45 2020-08-18 at 12:06:45 | INFO + grep -e 'stream_server_address = ""' /var/snap/microk8s/1622/args/containerd-template.toml
15:06:45 2020-08-18 at 12:06:45 | INFO + grep -e '\-\-allow-privileged' /var/snap/microk8s/1622/args/kubelet
15:06:45 2020-08-18 at 12:06:45 | INFO + '[' -f /root/snap/microk8s/common/istio-auth.lock ']'
15:06:45 2020-08-18 at 12:06:45 | INFO + '[' -f /root/snap/microk8s/common/istio-auth.lock ']'
15:06:45 2020-08-18 at 12:06:45 | INFO + need_api_restart=false
15:06:45 2020-08-18 at 12:06:45 | INFO + '[' -f /var/snap/microk8s/1622/credentials/kubelet.config ']'
15:06:45 2020-08-18 at 12:06:45 | INFO + '[' -f /var/snap/microk8s/1622/credentials/proxy.config ']'
15:06:45 2020-08-18 at 12:06:45 | INFO + '[' -f /var/snap/microk8s/1622/credentials/scheduler.config ']'
15:06:45 2020-08-18 at 12:06:45 | INFO + '[' -f /var/snap/microk8s/1622/credentials/controller.config ']'
15:06:45 2020-08-18 at 12:06:45 | INFO + for dir in "${SNAP_DATA}/credentials/ ${SNAP_DATA}/certs/ ${SNAP_DATA}/args/ ${SNAP_DATA}/var/lock"
15:06:45 2020-08-18 at 12:06:45 | INFO + chmod -R ug+rwX /var/snap/microk8s/1622/credentials/ /var/snap/microk8s/1622/certs/ /var/snap/microk8s/1622/args/ /var/snap/microk8s/1622/var/lock
15:06:45 2020-08-18 at 12:06:45 | INFO + chmod -R o-rwX /var/snap/microk8s/1622/credentials/ /var/snap/microk8s/1622/certs/ /var/snap/microk8s/1622/args/ /var/snap/microk8s/1622/var/lock
15:06:45 2020-08-18 at 12:06:45 | INFO + getent group microk8s
15:06:45 2020-08-18 at 12:06:45 | INFO + getent group microk8s
15:06:45 2020-08-18 at 12:06:45 | INFO + chgrp microk8s -R /var/snap/microk8s/1622/credentials/ /var/snap/microk8s/1622/certs/ /var/snap/microk8s/1622/args/ /var/snap/microk8s/1622/var/lock/ /var/snap/microk8s/1622/var/kubernetes/backend/
15:06:45 2020-08-18 at 12:06:45 | INFO + '[' -L /var/snap/microk8s/1622/opt/cni/bin/flanneld ']'
15:06:45 2020-08-18 at 12:06:45 | INFO + '[' -f /var/snap/microk8s/1622/args/flanneld ']'
15:06:45 2020-08-18 at 12:06:45 | INFO + grep -e etcd.socket:2379 /var/snap/microk8s/1622/args/etcd
15:06:45 2020-08-18 at 12:06:45 | INFO + grep '\-\-enable\-v2' /var/snap/microk8s/1622/args/etcd
15:06:45 2020-08-18 at 12:06:45 | INFO --enable-v2=true
15:06:45 2020-08-18 at 12:06:45 | INFO + false
15:06:45 2020-08-18 at 12:06:45 | INFO + '[' -f /var/snap/microk8s/1622/args/cni-network/00-multus.conf ']'
15:06:45 2020-08-18 at 12:06:45 | INFO + echo 'Multus is enabled we need to reconfigure it.'
15:06:45 2020-08-18 at 12:06:45 | INFO Multus is enabled we need to reconfigure it.
15:06:45 2020-08-18 at 12:06:45 | INFO ++ date +%s
15:06:45 2020-08-18 at 12:06:45 | INFO + start_timer=1597752039
15:06:45 2020-08-18 at 12:06:45 | INFO + timeout=60
15:06:45 2020-08-18 at 12:06:45 | INFO + KUBECTL='/snap/microk8s/1622/kubectl --kubeconfig=/var/snap/microk8s/1622/credentials/client.config'
15:06:45 2020-08-18 at 12:06:45 | INFO + sleep 5
15:06:45 2020-08-18 at 12:06:45 | INFO ++ date +%s
15:06:45 2020-08-18 at 12:06:45 | INFO + now=1597752053
15:06:45 2020-08-18 at 12:06:45 | INFO + [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
15:06:45 2020-08-18 at 12:06:45 | INFO + sleep 5
15:06:45 2020-08-18 at 12:06:45 | INFO ++ date +%s
15:06:45 2020-08-18 at 12:06:45 | INFO + now=1597752058
15:06:45 2020-08-18 at 12:06:45 | INFO + [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
15:06:45 2020-08-18 at 12:06:45 | INFO + /snap/microk8s/1622/actions/disable.multus.sh
15:06:45 2020-08-18 at 12:06:45 | INFO Disabling Multus
15:06:45 2020-08-18 at 12:06:45 | INFO Checking if multus daemonset is running
15:06:45 2020-08-18 at 12:06:45 | INFO Found multus deamonset, removing it and cleaning up OS files
15:06:45 2020-08-18 at 12:06:45 | INFO customresourcedefinition.apiextensions.k8s.io "network-attachment-definitions.k8s.cni.cncf.io" deleted
15:06:45 2020-08-18 at 12:06:45 | INFO clusterrole.rbac.authorization.k8s.io "multus" deleted
15:06:45 2020-08-18 at 12:06:45 | INFO clusterrolebinding.rbac.authorization.k8s.io "multus" deleted
15:06:45 2020-08-18 at 12:06:45 | INFO serviceaccount "multus" deleted
15:06:45 2020-08-18 at 12:06:45 | INFO daemonset.apps "kube-multus-ds-amd64" deleted
15:06:45 2020-08-18 at 12:06:45 | INFO Waiting for multus daemonset to terminate...........................................................................................
15:06:45 2020-08-18 at 12:06:45 | INFO <exceeded maximum runtime of 5m0s>
15:06:45 2020-08-18 at 12:06:45 | INFO -----)
15:06:45 2020-08-18 at 12:06:45 | INFO F

[1] https://github.com/ubuntu/microk8s/blob/master/snap/hooks/configure#L373

@ktsakalozos happy to take a look.  Honestly I wasn't too familiar with what exactly the "refresh" was supposed to accomplish so I went on the safe side with a reinstall (with the bonus being it updating the daemon set to the latest version).  What is the specific goal of the refresh?  Do all existing pods and config files make it through unharmed?

Thank you for the prompt reply @apnar
The configure hook [1] is called

right after the install hook
during a snap refresh
when a user refonfigures the snap (snap set microk8s foo=bar), we do not have this in MicroK8s

During a refresh snap d will stop all MicroK8s services, will take a snapshot of the $SNAP_DATA directory, unpack the contents of the new snap revision under $SNAP and it will restore the backed-up $SNAP_DATA. So to your location, the configuration and data are preserved during a refresh. The SNAP_DATA are still under /var/snap/microk8s/current/ but since this is a symbolic link the link will be updated to a new location. For example lets say we refresh from revision 21 to revision 22 the SNAP_DATA will change from /var/snap/microk8s/21/ to /var/snap/microk8s/22/ and the link /var/snap/microk8s/current/ will change accordingly. It would be better not to redeploy the daemonset because the updates may hit your system in an unpredictable time and you would rather not have the downtime incurred by updating the pods. If we can work with the old daemonset it would be better.
[1] https://snapcraft.io/docs/supported-snap-hooks#heading--the-configure-hook

Thanks for the level of detail @ktsakalozos.  Given that description, at first thought, I don't believe any action should need to be taken during the refresh for multus.  I'll give it a closer look and submit a PR to resolve in the next couple days.

@ktsakalozos Took a closer look and in principal I don't see an issue not taking any action during a refresh.  In practice though it's an issue as things sit.  Both the multus pod volume mounts and args directly reference the real paths (ie /var/snap/microk8s/21/) instead of the "current" symlink.  That's due to substituting templates with SNAP_DATA during install.  I can deference that at install time and make it point to "current" version though which should fix the issue.  I'll try to get a PR whipped up today, in the mean time just be aware that the fix you applied removing them is likely breaking to multus, maybe not immediately but longer term.

be aware that the fix you applied removing them is likely breaking to multus, maybe not immediately but longer term

Yes, this is understood. It is great we caught this before reaching latest/stable.

Thank you again for this work.


Only preventDefault on touch down when editable

The canvas would preventDefault event on any touch events on the image. This PR fixes it so that it only prevents default when in edit mode.

Tests here aren't any different from fails on master


Feature/unzip file

Unzip the google photos export file feature is added.
Upload images and metadata is added.

Tested on iOS and Android


Writing scores back factory resets

While writing a CSV back to an image works, the game seemingly does a validity check that the new scores fail causing a factory reset. Samples need to be provided of different changes being made on original hardware to see how this is done.
Also, as a sanity check, it should be confirmed that running a write on the image doesn't shift data or cause some other minor issue. It's unlikely that it is this, but it was not checked.

Solved thanks to the work of WizardTim!


Increase iterations in example

Prior to this change I was able to unexpectedly encounter the InvalidOperationException because the loop completed.
This example is viewable at https://docs.microsoft.com/en-us/dotnet/csharp/discards#a-standalone-discard.

Thanks for updating this @kendaleiv
I think I want to close this, because the fix would be a better explanation on what the discard does for this sample.  See #20787 for a discussion on what the discard adds to this code.
What I would recommend instead (which will address that issue) is to update the explanation with that explanation.
I'm curious where you observed the exception.

Thanks for updating this @kendaleiv
I think I want to close this, because the fix would be a better explanation on what the discard does for this sample.  See #20787 for a discussion on what the discard adds to this code.
What I would recommend instead (which will address that issue) is to update the explanation with that explanation.
I'm curious where you observed the exception.

Ran with Visual Studio 2019 with the debugger attached, it encountered the InvalidOperationException before the 5 second wait was done.

Ran with Visual Studio 2019 with the debugger attached, it encountered the InvalidOperationException before the 5 second wait was done.

Thanks @kendaleiv
I'll keep this closed, but add a note that I should explain that behavior when I fix #20787.

Thanks @kendaleiv
I'll keep this closed, but add a note that I should explain that behavior when I fix #20787.


[SPARK-5126][Core] Verify Spark urls before creating Actors so that invalid urls can crash the process.

Because actorSelection will return deadLetters for an invalid path,  Worker keeps quiet for an invalid master url. It's better to log an error so that people can find such problem quickly.
This PR will check the url before sending to actorSelection, throw and log a SparkException for an invalid url.

Test build #25148 has started for   PR 3927 at commit 8286e51.

This patch merges cleanly.

Test build #25148 has finished for   PR 3927 at commit 8286e51.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25148/
Test PASSed.

I add extractHostPortFromSparkUrl in Utils to parse Spark url. Moreover, verify urls before creating Actors so that invalid urls can crash the process.

Test build #25200 has started for   PR 3927 at commit 9d429ee.

This patch merges cleanly.

Test build #25200 has finished for   PR 3927 at commit 9d429ee.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25200/
Test PASSed.

LGTM. Merging in master. Thanks.


Update golang guidance

Add Golang to core languages section to reflect reality

Could you split the Node and Go parts of this PR into separate PRs please?

Once this PR is merged we will need to add a golang styleguide

There is already one here: https://github.com/alphagov/styleguides/blob/master/go.md, although it's a little old now, and some of the guidance around (eg dependency management tools) could do with updating.


Bugfix/fix ffmpeg ffprobe packaged app

Summary
Alright, this PR should fix the packaged app. I have checked on my windows PC and the packaged app correctly extracts the audio, transcribes and then displays the video preview.

Why is this change needed?
Previously, when we (team mulan) thought we had fixed this issue. We did not. Now we are.

What did you change?
I have edited the package.json so that at build time the ffmpeg and ffprobe binaries get copied over (adds about 20s to packaging) to the packaged app and then I have changed the code to set the binary paths to the new location.
Note: I also hardcoded the express port for the packaged app. Will figure out how to pass in environment variables to packaged app later.

OS
@Taz17 tagging you for linux
@rileykeane @chloebrett @jhea0008 one of you please check on your snazzy arm macs
@emmapainter please check on your old ass intel mac

[x] Linux
[ ] MacOS
[x] Windows

Thanks for adding those changes @Taz17 , I did not know that


class java.lang.Class cannot be cast to class java.lang.reflect.ParameterizedType

Hi.
@kptfh Thank you for responding to issue #280
Here is my next issue:
spring boot 2.3.2.RELEASE
spring cloud SR6
reactive-feign 2.0.13
@ReactiveFeignClient(name = "engine-server-proxy", path = "/api/engine-server")
@CircuitBreaker(name = "standard")
@Retry(name = "standard")
@TimeLimiter(name = "standard")
public interface IEngineClient {
    @PostMapping(value = "/advisor", consumes = "text/xml", produces = "text/xml")
    Mono<ResponseEntity<String>> sendEngineRequest(String engineInput);
}

@Component
public class EngineClient {

    @Autowired
    private IEngineClient iEngineClient;
...
}

And I get this:
Caused by: java.lang.ClassCastException: class java.lang.Class cannot be cast to class java.lang.reflect.ParameterizedType (java.lang.Class and java.lang.reflect.ParameterizedType are in module java.base of loader 'bootstrap')
	at reactivefeign.utils.FeignUtils.returnPublisherType(FeignUtils.java:50)
	at reactivefeign.webclient.client.WebReactiveHttpClient.webClient(WebReactiveHttpClient.java:66)
	at reactivefeign.webclient.WebReactiveFeign$Builder.lambda$updateClientFactory$0(WebReactiveFeign.java:65)
	at reactivefeign.ReactiveFeign$Builder$1.create(ReactiveFeign.java:243)
	at reactivefeign.cloud2.CloudReactiveFeign$Builder$1.create(CloudReactiveFeign.java:180)
	at reactivefeign.methodhandler.ReactiveMethodHandlerFactory.create(ReactiveMethodHandlerFactory.java:36)
	at reactivefeign.ReactiveFeign.targetToHandlersByName(ReactiveFeign.java:123)
	at reactivefeign.ReactiveFeign.newInstance(ReactiveFeign.java:76)
	at reactivefeign.ReactiveFeignBuilder.target(ReactiveFeignBuilder.java:114)
	at reactivefeign.ReactiveFeignBuilder.target(ReactiveFeignBuilder.java:104)
	at reactivefeign.spring.config.ReactiveFeignClientFactoryBean.getTarget(ReactiveFeignClientFactoryBean.java:96)
	at reactivefeign.spring.config.ReactiveFeignClientFactoryBean.getObject(ReactiveFeignClientFactoryBean.java:74)
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:169)
	... 31 more

What am I doing wrong here?  Thank you!

Hi. Check this issue #209


Update MD file on new branch 2017-11-16_01-27-57

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/content1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


'non sense' SMARTS actually makes sense

To be literal, it actually makes 'non':
In [1]: from rdkit import Chem

In [2]: m = Chem.MolFromSmarts('non sense')

In [3]: Chem.MolToSmarts(m)
Out[3]: 'non'

Not sure if I'm right, but I think the "sense" part should break the parsing.
Happening on current master.

Ok, this is a change in behavior that is happening since https://github.com/rdkit/rdkit/commit/d4672519eeae11e0728b3f7cc237d45e728819b9: Fixes #4319: allow CXSMILES extensions for SMARTS (#4350).
But it is actually expected behavior, and is coherent with what MolFromSmiles() does:
In [1]: from rdkit import Chem

In [2]: m = Chem.MolFromSmiles('NON sense')

In [3]: Chem.MolToSmiles(m)
Out[3]: 'NON'

(MolFromSmiles() will immediately fail on non-ring aromatic atoms, so we have to concede the upper casing)
Explanation is that we parse the first part of the expression (the actual SMILES/SMARTS), and when we find the space character, we see a string that we expect to be a CX extension string, but it isn't, and fails to parse. Since the SMILES/SMARTS parsed fine into a mol, we return that, ignoring the "wrong CX extension"


Add notes on SDK and linker options

Moved to :point_right: https://github.com/dotnet/AspNetCore.Docs/pull/19849


.find() on collection instance's doesn't work on attributes

This requires me to do usertypes.find({ attributes: { type: 'employee' } }) instead of usertypes.find({ type: 'employee' }).
Is this intended? I cannot remember it behaving like this before.
Version 0.10.1

Hi @Znarkus
Your used usertypes.find('') is a Collection::find method. So it's actually a lodash method. So I doubt that it has worked the other way before.

You are right, but I think it was overridden before? As pluck is now.

I cannot agree with you before you have tracked down if it has really happened. base/collection.js History

Because I could not find a change of find method. The only change I fould was the update of lodash dependency.

Thank you for investigating, I was probably misremembering.


Powershell Desired State Configuration

Is DSC worth an entry?
Project or Product name:
Desired State Configuration
Is it open source? (if you are tempted to say partially, please answer no):
Partially, so no. But there is a announcement, the future release will be.
What are the best URL(s) for it? Repo and homepage (if different) for open source, product homepage for closed source?:
https://github.com/PowerShell/DscResources
What one category does it best belong in?
Tooling
What's the URL for the best logo (and it needs to include the name)?
https://upload.wikimedia.org/wikipedia/commons/2/2f/PowerShell_5.0_icon.png
Anything else we need to know?:

Please reopen as a pull request and include an SVG that says PowerShell DSC beneath the logo.


Draftail text drag-and-drop in another field deletes or breaks the editor

This is one of the critical bugs from #4296 that is still alive in Wagtail 2.0.
It unfortunately makes Draftail extremely fragile, and I already got clients complaints about it.
We should therefore issue 2.0.1 as soon as possible with a fix for this.
Minimal steps to reproduce:
Break the field

in an empty Draftail field, type one paragraphs
select the paragraph
drag-and-drop the selection in another field
type in the Draftail field will raise JS errors, and any other interaction will fail.

These two errors are raised, depending on the interactions:

Delete the field

in an empty Draftail field, type two paragraphs
select both paragraphs
drag-and-drop the selection in another field
do any interaction with the Draftail field

These 4 errors are raised:

Sorry for the imprecision of my report.
Firefox doesn’t seem to be impacted, but recent Chrome versions are, for example 64.0, Linux & Windows builds.
I’m using the manifest storage system, so it’s not a browser cache issue, I did a bunch of ctrl+F5 to be extra sure.
I’m using a simple custom Draftail button for quote blocks, but it’s nothing fancy, and the issue is still there when I disable it.
The issue doesn’t seem to be there on springload.github.io :)
Here are two videos showing the issue: draftail-issues.zip

Thank you! I only tried from rich text to rich text which is probably why I couldn’t reproduce. I’m away from the computer so can’t try again for now but from your videos this looks a lot like https://github.com/facebook/draft-js/issues/1240 from #4274.
I’ll try some work arounds as soon as I can, but if this is indeed the issue mentioned above I don’t think I’d qualify this as a release blocker, or as making the editor “extremely fragile”. It’s definitely plain annoying, but it’s systematic enough and there is an easy enough workaround (cut and paste) so that users can avoid the problem. Again, not ideal, but not a blocker.
If anyone wants to have a go at this my thoughts would be to experiment with the drag/drop event handlers of Draft.js, then the DOM events on the other fields. Hopefully either of those work. First, we need to add test fields to the Draftail examples page (https://springload.github.io/draftail/examples/) to simplify testing. Again I can’t work on this right now so I’d warmly welcome a PR on Draftail even just for those fields :)

There are now test fields at the end of https://springload.github.io/draftail/examples/ to help troubleshoot this.

Part of the reason why this hasn't been fixed yet is that I have a really hard time imagining what would be a good solution for this – because I don't have much knowledge of the DOM’s text drag-n-drop APIs, and what would be realistic to aim for without completely re-implementing native behavior. At least it would be nice for the editor not to crash, even if the drag-n-drop doesn't work correctly as a result.
If anyone wants to help with this I have opened https://github.com/springload/draftail/issues/194 to track this on Draftail directly.


Make the WYSIWYG editor (quill.js) taller?

Hi,
I'd like my WYSIWYG editors to be taller, so more text can be seen at once. How do I go about doing this?
Thanks again,
Seb

Hi Seb,
it should automatically grow with content. What exactly is happening for you, it scrolls?

I'll tell you what's happening- I didn't test it beyond a couple of lines! Sorry... :)
Looks like I can inject some CSS to make them a bit taller from the get-go, anyway.
Thanks!


Unable to redefine alias method

Input
→ View on sorbet.run
# typed: true

# development_tools.rb
class DevelopmentTools
  def installation_instructions
    "Install Clang or run `brew install gcc`."
  end
  alias custom_installation_instructions installation_instructions
end

# os/mac/development_tools.rb
class DevelopmentTools
  def installation_instructions
    "Install the Command Line Tools: `xcode-select --install`"
  end

  def custom_installation_instructions
    "Install GNU's GCC: `brew install gcc"
  end
end

Observed output
editor.rb:8: Redefining the existing method DevelopmentTools#custom_installation_instructions as a method alias https://srb.help/5037
     8 |  alias custom_installation_instructions installation_instructions
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    editor.rb:17: Previous definition
    17 |  def custom_installation_instructions
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Errors: 1

Expected behavior
No error

A workaround for this is to replace
alias custom_installation_instructions installation_instructions

with
def custom_installation_instructions
  installation_instructions
end

This is working as intended. Sorbet has to see a consistent, static view of all methods in all classes. The behavior of the above program changes depending on whether one file or another file was required.
The suggested solution is as you mention, to change the program to not use alias in this case.

I'm curious, does Sorbet resolve methods before it resolves method aliases?


BitBucket Cloud - Pipeline definition not found (when using multiple workflows, manual run)

Component
server, agent, web-ui
Describe the bug
When using ".woodpecker/" directory with a workflow file (myworkflow.yml) inside, the error message: [generic]pipeline definition not found in company/my-repo appears (manual run).
When using the same file (myworkflow.yml) in the root directory of the project with name ".woodpecker.yml", the workflow is found and executed.
The documentation states that BitBucket Cloud supports multiple workflows. See https://woodpecker-ci.org/docs/next/administration/forges/overview
System Info
version	"next-d0e63375fa"

Additional context
woodpecker-server-1  | {"level":"debug","time":"2024-04-09T07:06:55Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/session/repo.go:150","message":"myuser granted &{UserID:1 RepoID:1 Repo:<nil> Pull:true Push:true Admin:true Synced:1712646369 Created:1712589724 Updated:1712646369} permission to company/my-repo"}
woodpecker-server-1  | {"level":"error","error":"Resource not found","repo":"company/my-repo","user":"myuser","time":"2024-04-09T07:06:56Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:152","message":"could not get folder from forge"}
woodpecker-server-1  | {"level":"error","error":"Resource not found","repo":"company/my-repo","user":"myuser","time":"2024-04-09T07:06:57Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:152","message":"could not get folder from forge"}
woodpecker-server-1  | {"level":"error","error":"Resource not found","repo":"company/my-repo","user":"myuser","time":"2024-04-09T07:06:57Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:152","message":"could not get folder from forge"}
woodpecker-server-1  | {"level":"debug","repo":"company/my-repo","error":"configFetcher: fallback did not find config: Resource not found\nNo such file or directory: .woodpecker.yaml\nNo such file or directory: .woodpecker.yml","time":"2024-04-09T07:06:58Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/pipeline/create.go:82","message":"error while fetching config '' in 'ci/woodpecker' with user: 'myuser'"}

Woodpecker-UI: Pipeline Path -> empty (default)
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]

Hi. I added the logs in the original post. The pipeline path is left empty (default).

Hi, here are the trace logs:
Tag:

{"level":"trace","time":"2024-04-29T07:33:14Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/cron/cron.go:49","message":"cron: fetch next crons"}
{"level":"trace","time":"2024-04-29T07:33:22Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/router.go:43","message":"[POST] /api/hook?access_token=redacted"}
{"level":"trace","time":"2024-04-29T07:33:22Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:101","message":"configFetcher[mycompany/myrepo]: user did not define own config, following default procedure"}
{"level":"trace","error":"configFetcher: fallback did not find config: configs not found: .woodpecker/, .woodpecker.yaml, .woodpecker.yml","time":"2024-04-29T07:33:23Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:64","message":"1. try failed"}
{"level":"trace","time":"2024-04-29T07:33:23Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:101","message":"configFetcher[mycompany/myrepo]: user did not define own config, following default procedure"}
{"level":"trace","error":"configFetcher: fallback did not find config: configs not found: .woodpecker/, .woodpecker.yaml, .woodpecker.yml","time":"2024-04-29T07:33:23Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:64","message":"2. try failed"}
{"level":"trace","time":"2024-04-29T07:33:23Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:101","message":"configFetcher[mycompany/myrepo]: user did not define own config, following default procedure"}
{"level":"trace","error":"configFetcher: fallback did not find config: configs not found: .woodpecker/, .woodpecker.yaml, .woodpecker.yml","time":"2024-04-29T07:33:24Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:64","message":"3. try failed"}
{"level":"debug","repo":"mycompany/myrepo","error":"configFetcher: fallback did not find config: configs not found: .woodpecker/, .woodpecker.yaml, .woodpecker.yml","time":"2024-04-29T07:33:24Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/pipeline/create.go:83","message":"cannot find config '' in 'refs/tags/mytag' with user: 'myuser'"}
{"level":"debug","ip":"<IP_ADDRESS>","latency":1712.565727,"method":"POST","path":"/api/hook","status":204,"time":"2024-04-29T07:33:24Z","user-agent":"Bitbucket-Webhooks/2.0","time":"2024-04-29T07:33:24Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/logger.go:59"}
{"level":"trace","time":"2024-04-29T07:33:24Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/cron/cron.go:49","message":"cron: fetch next crons"}

Manual run:

{"level":"trace","time":"2024-04-29T07:36:34Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/cron/cron.go:49","message":"cron: fetch next crons"}
{"level":"trace","time":"2024-04-29T07:36:35Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/router.go:43","message":"[POST] /api/repos/1/pipelines"}
{"level":"debug","time":"2024-04-29T07:36:35Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/session/repo.go:157","message":"myuser granted &{UserID:1 RepoID:1 Repo:<nil> Pull:true Push:true Admin:true Synced:1714375214 Created:1714030001 Updated:1714375214} permission to mycompany/myrepo"}
{"level":"trace","time":"2024-04-29T07:36:36Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:101","message":"configFetcher[mycompany/myrepo]: user did not define own config, following default procedure"}
{"level":"trace","error":"configFetcher: fallback did not find config: configs not found: .woodpecker/, .woodpecker.yaml, .woodpecker.yml","time":"2024-04-29T07:36:37Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:64","message":"1. try failed"}
{"level":"trace","time":"2024-04-29T07:36:37Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:101","message":"configFetcher[mycompany/myrepo]: user did not define own config, following default procedure"}
{"level":"trace","error":"configFetcher: fallback did not find config: configs not found: .woodpecker/, .woodpecker.yaml, .woodpecker.yml","time":"2024-04-29T07:36:37Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:64","message":"2. try failed"}
{"level":"trace","time":"2024-04-29T07:36:37Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:101","message":"configFetcher[mycompany/myrepo]: user did not define own config, following default procedure"}
{"level":"trace","error":"configFetcher: fallback did not find config: configs not found: .woodpecker/, .woodpecker.yaml, .woodpecker.yml","time":"2024-04-29T07:36:38Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/services/config/forge.go:64","message":"3. try failed"}
{"level":"debug","repo":"mycompany/myrepo","error":"configFetcher: fallback did not find config: configs not found: .woodpecker/, .woodpecker.yaml, .woodpecker.yml","time":"2024-04-29T07:36:38Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/pipeline/create.go:83","message":"cannot find config '' in 'mybranch' with user: 'myuser'"}
{"level":"debug","ip":"<IP_ADDRESS>","latency":2760.83674,"method":"POST","path":"/api/repos/1/pipelines","status":204,"time":"2024-04-29T07:36:38Z","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0","time":"2024-04-29T07:36:38Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/logger.go:59"}
{"level":"trace","time":"2024-04-29T07:36:44Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/cron/cron.go:49","message":"cron: fetch next crons"}


Zachmu/sql json

Added JSON result output to sql command. Also fixed handling of NULL values in CSV output.
This fixes https://github.com/liquidata-inc/dolt/issues/533

Let's get this in the next release if we can.


Game crash when you die as arachnid

Not sure why but everytime i spawn as arachnid and die the game will crash, happens to my friends too

The craziest thing is, it doesn't load a crash file at all.... it freezes indefinitely until you click on it.. I had it running for over 20 mins and still it just was frozen.


Prometheus: Fix AlertManager discovery if chart name is not the default

What this PR does / why we need it:
If you deploy Prometheus by passing --nameOverride=something to Helm, AlertManager discovery for the Prometheus server stops working - as the app label used in the filtering rules were hardcoded to use prometheus (the default, if no --nameOverride is set).
Special notes for your reviewer:
We ran into this issue due to deploying multiple instances of Prometheus to the same cluster here, passing --nameOverride=[source_branch] to differentiate them. We discovered that AlertManager was receiving no alerts from Prometheus from our configured alerts, even though they were not triggering - and tracked the issue down to this PR. I've deployed my branch to our test environment, and verified that we're now successfully discovering AlertManager and getting alert notifications as expected.

/assign @mgoodness

/ok-to-test

I see some build failures in CircleCI that seem very unrelated to this change - is that anything I should do anything about, or?

/assign
/lgtm


Fix aarch64 build in the CI

The build on linux aarch64 is currently disabled in the CI (because it fails) since #409 has been merged. It should be fixed and enabled again.

(note that Travis-CI provides native Arm64 workers)

Indeed, we use them before. We switched from travisci on purpose (I don't want to beg travisci for build time for each project of the stack;)).


docs: fix error links

This link for getting started with docker has moved to https://www.docker.com/get-started/ .
Then some links in the document use relative paths, but cannot be accessed normally in GitHub, so add '...` prefix.

OK, got it. I will update it later : )


Migrate to scale for blocks

Motivation

Partly Closes #3271 (for blocks)
Changes
Applied scale codec to blocks
Test Plan

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

i am not sure why do we need hand written tests. there is fuzz test that generates random objects, encode/decodes them. it should provide exhaustive coverage

does it run fuzzy tests in CI/CD? they never end when I run them locally.

does it run fuzzy tests in CI/CD? they never end when I run them locally.

it doesn't run fuzz by default. we can add another job that runs selected number of fuzz tests. i think it runs only one test instance if fuzz is executed with go test without -fuzz flag.
as for go test with -fuzz flag it needs a timeout, otherwise it will run forever

bors try

bors merge


Implement CCV Evidence Handshake along with Specification work

Implement an UNORDERED channel to communicate Evidence from child chain to parent chain
TODO:

[ ] Determine if UNORDERED channel is sufficient for Evidence channel
[ ] Determine if handshake order matters
[ ] Ensure there is a unique Evidence channel between child chain and parent chain similar to the handshake logic in the original ccv channel (deduplicate handshake logic)

Where is this specified?


Add message to cancel()

This builds off of this PR: https://github.com/boto/s3transfer/pull/55 so that one should get reviewed first.
The main changes that I exposed a message so that you can gain some introspection on why a transfer got cancelled. This is very useful for subscribers and calling future.result() because a general CancelledError is not too insightful and I plan to use this in the integration to the CLI to track fatal errors.
cc @jamesls @JordonPhillips

@jamesls @JordonPhillips This PR is updated now with the previous dependent PR being merged. It should be good to look at.

@JordonPhillips updated should be good to look at again.


:book: Update role in the sample argocd example

Description
Updated sample docs to include leases
fixes: https://github.com/operator-framework/operator-controller/issues/1478
Reviewer Checklist

[ ] API Go Documentation
[ ] Tests: Unit Tests (and E2E Tests, if appropriate)
[ ] Comprehensive Commit Messages
[ ] Links to related GitHub Issue(s)

@rashmi43 thanks for taking care of this. Could you please rebase your PR so there is only one commit? For some reason we ended up with 12 commits here.


[Feature Request]: Add support for velocity because waterfall is EOL

[13:05:36 ERROR]: Couldn't pass ProxyInitializeEvent to huskchat 3.0.4 java.lang.IllegalArgumentException: Command must have at least one alias         at net.william278.huskchat.command.CommandBase.<init>(CommandBase.java:44) ~[?:?]         at net.william278.huskchat.command.ChannelCommand.<init>(ChannelCommand.java:36) ~[?:?]         at net.william278.huskchat.command.VelocityCommand$Type.lambda$static$1(VelocityCommand.java:82) ~[?:?]         at net.william278.huskchat.command.VelocityCommand$Type.register(VelocityCommand.java:103) ~[?:?]         at net.william278.huskchat.command.VelocityCommand$Type.lambda$registerAll$8(VelocityCommand.java:107) ~[?:?]         at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024) ~[?:?]         at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]         at net.william278.huskchat.command.VelocityCommand$Type.registerAll(VelocityCommand.java:107) ~[?:?]         at net.william278.huskchat.VelocityHuskChat.onProxyInitialization(VelocityHuskChat.java:138) ~[?:?]         at net.william278.huskchat.Lmbda$5.execute(Unknown Source) ~[?:?]         at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[velocity-3.3.0-SNAPSHOT-386.jar:3.3.0-SNAPSHOT (git-399bc232-b386)]         at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:598) ~[velocity-3.3.0-SNAPSHOT-386.jar:3.3.0-SNAPSHOT (git-399bc232-b386)]         at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:479) ~[velocity-3.3.0-SNAPSHOT-386.jar:3.3.0-SNAPSHOT (git-399bc232-b386)]         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]         at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]

Velocity is supported.

Why do I get this error in the console and the plugin does not work?

Bad config - looks like you haven't specified any aliases for a command. Regen your config.yml file first.

Nope emoji replacements unfortunately does not work

Yep, that's a known separate issue


chore: promote jx3-project-python-01-2 to version 0.0.1

chore: promote jx3-project-python-01-2 to version 0.0.1
this commit will trigger a pipeline to generate the actual kubernetes resources to perform the promotion which will create a second commit on this Pull Request before it can merge

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

Needs approval from an approver in each of these files:

OWNERS

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

@rocannon77: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

verify
077b373de931d1ff506908c5059e3c9d47f423ac
link
/test verify

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Removed support for testng installed package

Coverage remained the same at 95.679% when pulling b4ed04d1304e22f6267855d167536ec4da87fc53 on andy/remove-test-installed into 9a4b0a994d524ffa3277fd115ef53859536a43e0 on master.


IGNITE-21648 Fix NPEs in networking-related tests

https://issues.apache.org/jira/browse/IGNITE-21648

Closing as not relevant anymore (fixed in IGNITE-20296)


Hoverfly failed to load javascript middleware with multiple modules due to file path

Hi, first of all, I'd like to say that Hoverfly is a great tool, and thank you for making it available.
I tried to write a middleware with javascript, using "--binary node" option. When I tried to load it with hoverctl, no matter which folder I am in, I always get
Invalid middleware: exit status 1
If I check with hoverctl logs, I can see that it failed because it cannot do the require('./config') in the main .js file (log entry below). Would someone kindly help to explain how I can get around with it? It's not a super simple .js, so I hope to not put all modules into one .js file.
Just to clarify, I am using Mac OS X, and I can run the main js file from any folder with command line such as node path/to/my/app/middleware.js with no problem. I also tried a couple of hacks mentioned in this gist, but no good result yet.
{"error":"exit status 1","level":"error","msg":"Middleware failed to stop successfully","sdtderr":"module.js:472\n    throw err;\n    ^\n\nError: Cannot find module './config'\n    at Function.Module._resolveFilename (module.js:470:15)\n    at Function.Module._load (module.js:418:25)\n    at Module.require (module.js:498:17)\n    at require (internal/module.js:20:19)\n    at Object.\u003canonymous\u003e (/private/var/folders/71/k83kbc752b97_9zz1d9972dm0000gq/T/hoverfly/hoverfly_381257566:7:16)\n    at Module._compile (module.js:571:32)\n    at Object.Module._extensions..js (module.js:580:10)\n    at Module.load (module.js:488:32)\n    at tryModuleLoad (module.js:447:12)\n    at Function.Module._load (module.js:439:3)\n","sdtdout":"","time":"2017-05-25T11:08:09-05:00"} [negroni] Completed 422 Unprocessable Entity in 104.950602ms

So I kind of figured out what happened. It seems that hoverctl middleware --binary node --script middleware.js command would move and / or rename the middleware.js file to its own folder and run node on it, but the problem is that it did not consider that multiple .js module scenario... I think that is the reason because while I was trying one of the hacks I can see error in log changed to
Error: Cannot find module '/private/var/folders/71/k83kbc752b97_9zz1d9972dm0000gq/T/hoverfly/config'\n    at Function.Module._resolveFilename (module.js:470:15)
I might be able to run it directly using hoverfly instead of hoverctl, but I cannot go that route, because my plan is to run it on a stand-alone remote instance, dynamically controlled with hoverctl command... I might end up doing an ugly hack that requires hard-coding the module folder for each of those modules in the middleware.js...

Hey @yougusnc,
Thanks for the feedback, it is appreciated.
You are correct, it works by writing the "middleware script" to a temporary directory which it then executes. The problem with its implementation is that it does not work with multi-file middleware. This has come up in the past and I think it needs thinking, but I also think in general needs a bit of rethinking.

Hi, @benjih,
Thank you for confirming it. I kind of get the hack more or less working on my local. I do understand that the team probably think that a "heavier" middleware would use an external web-based service, but there might be some middle ground between a single script and an external web-based service...


Error: Exception in thread Thread-8

Hi, when I use your command I got:
Exception in thread Thread-8:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/lightbulb_framework-0.0.9-py2.7.egg/lightbulb/core/operate.py", line 77, in operate_diff_part
initmodule = module(configuration, shared_memory, cross)
File "/usr/local/lib/python2.7/dist-packages/lightbulb_framework-0.0.9-py2.7.egg/lightbulb/core/modules/sfadiff.py", line 38, in init
self.setup(configuration)
File "/usr/local/lib/python2.7/dist-packages/lightbulb_framework-0.0.9-py2.7.egg/lightbulb/core/base.py", line 41, in setup
self.handler = handler_class(handler_configuration)
File "/usr/local/lib/python2.7/dist-packages/lightbulb_framework-0.0.9-py2.7.egg/lightbulb/core/utils/browserhandler.py", line 108, in init
self.host, self.wsport, SocketHandler)
File "/usr/local/lib/python2.7/dist-packages/lightbulb_framework-0.0.9-py2.7.egg/lightbulb/core/utils/SimpleWebSocketServer.py", line 583, in init
self.serversocket.bind((host, port))
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use
I use symautomata 0.0.12, but still not works.
very thank you to help me!

Hello,
The important message is the following: "error: [Errno 98] Address already in use". It means that either you have another service running in this port, or there is a remaining process from a previous execution that is still using this port.
I would recommend to either try to use a different port (select one that is not common), or just kill previous python processes - or just restart your system.
Let me know if the problem remains.
Best Regards,
Ioannis

Thank you so much!
But i run the example on a server, and the server don't have a browser. And when i run the example,I meet:
Please connect your Browser at http://localhost:8081
Please connect your Browser at http://localhost:8082
And i use the "curl  Browser at http://localhost:8081" command to connect it, it  returns
Fingerprint Test

You are probably conducting a differential test between two browsers, so you should navigate from e.g. Chrome in http://localhost:8081 and from Firefox in http://localhost:8082.
You can see the example here https://github.com/lightbulb-framework/lightbulb-framework/wiki/Differential-Testing:-Browser-and-Browser
There are also some examples here https://census.gr/news/2017/11/03/an-introduction-to-the-lightbulb-framework/ if you want to use the burp extension

But i run the example on a server without desktop, and it don't have a browser.
So i use the "curl  http://localhost:8081" command to connect it, but it doesn't work, still stop on :
Please connect your Browser at http://localhost:8081
So how should i do?

It's not possible to perform differential test between two browsers, if you don't have two different browsers available to test. But you can try one of the other functionalities, like targeting a WAF


Enable phpspy for Aarch64

phpspy test results (on our branch):
TEST tests/test_varpeek.sh
process_vm_readv: No such process
  OK   varpeek
process_vm_readv: No such process
  OK   varpeek

TEST tests/test_pgrep_time_limit.sh
main_pgrep finished gracefully
  ERR  frame_1
expected=^1 <main> <internal>:-1$

actual=

TEST tests/test_pgrep_trace_limit.sh
main_pgrep finished gracefully
  ERR  exit_code=124

TEST tests/test_time_limit.sh
  OK   include_sleep

TEST tests/test_child.sh
  OK   req_uri
  ERR  req_ts
expected=^# ts = \d+\.\d+$

actual=
0 usleep <internal>:-1
1 <main> <internal>:-1
# uri = -
# path = Standard input code
# qstring = -
# cookie = -
# ts = -nan

TEST tests/test_verbose.sh
  OK   verbose_pid
  OK   frame_1
  OK   verbose_ts
  OK   frame_0

TEST tests/test_mem.sh
  SKIP alloc_globals symbol not found

TEST tests/test_flamegraph.sh
  OK   flamegraph

TEST tests/test_filter.sh
process_vm_readv: No such process
  OK   include_nanosleep
  OK   exclude_usleep
process_vm_readv: No such process
  OK   negate_include_nanosleep
  OK   negate_exclude_usleep

TEST tests/test_glopeek.sh
process_vm_readv: No such process
  OK   glopeek_server_new
  OK   glopeek_server_mod
  OK   glopeek_globals
  OK   glopeek_server
process_vm_readv: No such process
  OK   glopeek1
  OK   glopeek2

TEST tests/test_varpeek_range.sh
process_vm_readv: No such process
  OK   varpeek_range_a_3
  OK   varpeek_range_a_1
  OK   varpeek_range_b_4
  OK   varpeek_range_b_2

TEST tests/test_pid.sh
  OK   frame_1
  OK   frame_0

TEST tests/test_pgrep.sh
main_pgrep finished gracefully
  ERR  frame_1
expected=^1 <main> <internal>:-1$

actual=

TEST tests/test_buffer_full.sh
event_handler_fout_snprintf: Not enough space in buffer; truncating
  OK   frame_0
  OK   no_frame_1
event_handler_fout_snprintf: Not enough space in buffer; truncating
  OK   nothing

Passed 10 out of 14 tests

Not all pass but it's enough to try this experimental support.
Resolves: https://github.com/Granulate/gprofiler/issues/429

I tested the exe & container build on aarch64 - both pass. Since php is not enabled by default and is considered experimental, this is good enough to merge IMO.

Unrelated failure (the py 3.6 bug)


Elm 0.19 release

It would be nice to be able to use websocket connections with 0.19, since I found no way to just use the master branch of a repo in Elm.

I understand. I do not think tracking this in the issues will make it go faster though.