Having support for multiple CodeBuilds & CodePipeline

Can you suggest what we need to do when we have multiple CodeBuild & CodePipeline linked to same code respository ?

hi @anshulgargamway ,
for now we only support one instance of each of the CodeSuite services as part of the same backstage component. One option you have is to include each set under a new backstage component.
We dont have any immediate plans to include multiple identical CodeSuite components as part of a single backstage component unless we see the pattern repeat itself.

@anshulgargamway it would be helpful to understand more of how these multiple CodeBuild and CodePipeline instances are configured and how you would potentially see something like this fit together.
Are these instances for a single component all in the same AWS account or distributed?
How could we identify these given the annotation system of Backstage? Could we locate them by tags?

@niallthomson  & @nimakaviani  thanks for response.
Currently what I am observing we need to use ARN to identify code suite services.
In our case we have multiple codesuite services linked to single component and all present in same AWS Account and we can identify them via tags but yes there can be situations in more complex cases where

@niallthomson Thanks for coming back.

We have multiple Pipelines and CodeBuilds linked to single Component (Microservice/API/Library/Website)
We are thinking to have have backstage as a single glass of pane where respective team can view there all pipelines/codebuilds/logs rather then going into AWS Account and identify those.
If possible we can have some inflated permission granted to user who can approve certain stages of pipeline directly from backstage.

@anshulgargamway because we're still learning how organizations leverage Backstage and AWS differently I think the most practical way forward here is to make the UI widgets more flexible to allow you to use your own custom annotations.
If we take CodePipeline as an example, currently you use this annotation which we automatically pick up from the current entity:
aws.amazon.com/aws-codepipeline: arn:aws:codepipeline:us-west-2:111111111:example-pipeline

However, with some minor changes we could allow you to override how the ARN is provided to the UI widgets so you do something like this on your entities:
myorg.com/pipeline1: arn:aws:codepipeline:us-west-2:111111111:example-pipeline1
myorg.com/pipeline2: arn:aws:codepipeline:us-west-2:111111111:example-pipeline2

It would then be up to you to create multiple instances of the UI widgets with the different ARNs, for example:
<AWSCodePipelineWidget arn={getMyOrgPipeline1}/>
<AWSCodePipelineWidget arn={getMyOrgPipeline2}/>

@niallthomson  Thanks for coming back but the above might work partially.
For example if one component is having 2 pipelines and other have 3 pipelines. Then we might need to modify catalog-info.yml file of one component to have 2 ARNs and other with 3 ARNs which is tedious but ok but for maintaining the custom widget logic might be difficult right as backstage is common application for multiple component which may have varying number of pipelines.
I was thinking if we can have some resource tags specified on catalog-info.yaml and based on thouse tags it identifies all the pipelines. This way we would be able to have better control.
In addition to above suggestion if it is possible to display different stages & actions of pipelines. As of now only pipeline status is coming in widget.

That makes sense. The only other option right now I can think of you create a comma-separated list of ARNs as an annotation, which is something I hesitant to put in this plugin right now.
If we were able to pull back multiple CodePipeline resources for a single component by tag does ordering matter with regards to the UI?

@niallthomson : Ordering is not necessary as I think. But may be we can sort the list alphabetically.

I also have multiple CodeSuite resources for a single component, so would find this very useful. We do have CodeSuite resources spread across multiple accounts though.

@darrenlewisexperian it would be great to get more insight from you to help us design this feature. If we were able to look up multiple CodeSuite resources using some sort of AWS tag mapping would that fit your use-case? How much control would you want over, for example, the ordering of multiple CodeBuild projects on a single entity page? Would you want to see multiple entity cards on the overview or in a separate tab similar to CI/CD?

I'm just doing a POV with Backstage at the mo, so am pretty new to it. However, what I had thought of in my head is that the plugin itself wouldn't necessarily be responisble for determining how multiple CodeBuilds/CodePipelines are displayed. Initially I was just thinking of the plugin making the cards available and it's up to the consumer of the plugin to decide how/where the cards are displayed? For us, we'll be putting them all into a CI/CD tab.
In terms of finding the AWS resources, I don't think using tags would work by themselves. We tag our CodeSuite resources but they all have the same tags for the same Component as they're all part of the same stack. Tags and CodeBuild project name/CodePipeline name might work or ARN's might be easier like you describe in https://github.com/awslabs/aws-codesuite-plugins-for-backstage/issues/10#issuecomment-1385519618.
Does that help?

Hey, we are also having similar use case where we are using different environments (dev, staging and prod), each having at least 2 pipelines, one for Infrastructure and another for application code and in some cases more than 2 like some glue pipeline and so on.
All these pipelines are part of Github repositories and most of repo has develop, preprod and production branches deploying to dev, staging and prod environments.
So having some sort of separation in backstage per environment and then pull all pipelines using tags or something similar could be useful instead of adding a hard-code ARN of the pipelines.


[Website] "Polyfill source" links don't work for Array methods

The link for Array.from takes me to:
https://github.com/Financial-Times/polyfill-service/tree/master/polyfills/Array.from
But the correct link is:
https://github.com/Financial-Times/polyfill-service/tree/master/polyfills/Array/from

Well spotted.  This will have been introduced when we reorganised the repo, changes which haven't been published yet, so the live app lags behind the state of the repo.  Should resolve itself with the release of 1.5.

Actually come to think of it (and look at the actual code) this does need a fix.

Fixed by https://github.com/Financial-Times/polyfill-service/pull/458


Point to places where JSON deserialisation gas should be charged

I took the liberty of committing directly here. Is this kind of what you were hoping to see?
I'm not sure how come all the tests still pass. They should fail with the changed gas costs, shouldn't they?

@webmaster128 I took the liberty of committing directly here. Is this kind of what you were hoping to see?

Alright, no problem, the branch is yours. Feel free to rebase as you wish.


Withings 503 errors

Same error whether i use my garmin username+password or not
withings-sync -v
2022-03-03 15:22:26,073 - root - DEBUG - Script invoked with the following arguments: Namespace(garmin_username=None, garmin_password=None, trainerroad_username=None, trainerroad_password=None, fromdate=datetime.date(2022, 3, 3), todate=datetime.date(2022, 3, 3), csv_weight_dir=None, no_upload=False, verbose=True)
2022-03-03 15:22:26,073 - withings - INFO - Get Access Token
2022-03-03 15:22:26,079 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): wbsapi.withings.net:443
2022-03-03 15:22:26,289 - urllib3.connectionpool - DEBUG - https://wbsapi.withings.net:443 "POST /v2/oauth2 HTTP/1.1" 200 63
2022-03-03 15:22:26,290 - withings - ERROR - Received error code: 503
2022-03-03 15:22:26,290 - withings - ERROR - Check here for an interpretation of this error: http://developer.withings.com/api-reference#section/Response-status
2022-03-03 15:22:26,290 - withings - ERROR -
2022-03-03 15:22:26,290 - withings - ERROR - If it's regarding an invalid code, try to start the script again to obtain a new link.
2022-03-03 15:22:26,291 - withings - INFO - Refresh Access Token
2022-03-03 15:22:26,294 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): wbsapi.withings.net:443
2022-03-03 15:22:26,488 - urllib3.connectionpool - DEBUG - https://wbsapi.withings.net:443 "POST /v2/oauth2 HTTP/1.1" 200 64
2022-03-03 15:22:26,490 - withings - ERROR - Received error code: 503
2022-03-03 15:22:26,490 - withings - ERROR - Check here for an interpretation of this error: http://developer.withings.com/api-reference#section/Response-status
2022-03-03 15:22:26,490 - withings - ERROR -
2022-03-03 15:22:26,490 - withings - ERROR - If it's regarding an invalid code, try to start the script again to obtain a new link.
Traceback (most recent call last):
  File "/Users/matthew/.pyenv/versions/3.10.0/bin/withings-sync", line 33, in <module>
    sys.exit(load_entry_point('withings-sync==3.3.1', 'console_scripts', 'withings-sync')())
  File "/Users/matthew/.pyenv/versions/3.10.0/lib/python3.10/site-packages/withings_sync/sync.py", line 338, in main
    sync()
  File "/Users/matthew/.pyenv/versions/3.10.0/lib/python3.10/site-packages/withings_sync/sync.py", line 262, in sync
    withings = WithingsAccount()
  File "/Users/matthew/.pyenv/versions/3.10.0/lib/python3.10/site-packages/withings_sync/withings2.py", line 184, in __init__
    self.withings = WithingsOAuth2()
  File "/Users/matthew/.pyenv/versions/3.10.0/lib/python3.10/site-packages/withings_sync/withings2.py", line 72, in __init__
    self.refresh_accesstoken()
  File "/Users/matthew/.pyenv/versions/3.10.0/lib/python3.10/site-packages/withings_sync/withings2.py", line 175, in refresh_accesstoken
    self.user_config["access_token"] = body.get("access_token")
AttributeError: 'NoneType' object has no attribute 'get'

I had the same problem just now, try deleting the file .withings_user.json in your home path and redo the authorization process. It worked for me after that

@patrickbs96 didn't help, also tried uninstalling and reinstalling withings-sync as well

I had the same problem just now, try deleting the file .withings_user.json in your home path and redo the authorization process. It worked for me after that

This worked for me just now. Thanks!

@patrickbs96
Ah, sorry, i thought you were referring to credentials file inside the withings-sync lib files
rm ~/.withings_user.json worked correctly for me
Thanks!


Unhide SL options and raw_formats in Diagnostics.

I'm not clear on why the SL options were hidden. If nothing else they're very useful for diagnosing issues here. I'm similarly unsure why raw_formats was hidden, but I feel less strongly about it being shown.
For once I have actually tested this.

I disagree strongly for the lifetime of the links and for the raw format.
Lifetime : you reveal how often you refresh those links. Not cool, in a context of hot linking etc.
Raw format: you reveal which files extension can be uploaded without processing from the server.
This may lead to someone adding .php in their list and allow the upload of such script. I'm not found of having this information visible, even in a debug part.

re: lifetime sure. It's not that useful debugging and I can see some logic there (though limited)
re: raw_format I guess. Again not major for debugging - I just saw it and figured it wasn't that sensitive. The php example implies much bigger problems, and as a plus, might give us the opportunity to explain their error ;) But I'll remove it.

Codecov Report

Merging #458 into master will not change coverage by %.
The diff coverage is n/a.

@ildyria Are you ok with this version?

That was quick! Thanks.


sqlite3.OperationalError

Hello!
Looks like DB structure has changed.
Anyway, thank you for this script and the hard work you have done. :)
root@pihole:~# curl -sSl https://raw.githubusercontent.com/mmotti/pihole-regex/master/install.py | sudo python3
[i] Root user detected
[i] Pi-hole path exists
[i] DB detected
[i] Fetching: https://raw.githubusercontent.com/mmotti/pihole-regex/master/regex.list
[i] 16 regexps collected from https://raw.githubusercontent.com/mmotti/pihole-regex/master/regex.list
[i] Connecting to /etc/pihole/gravity.db
[i] Adding / updating regexps in the DB
Traceback (most recent call last):
  File "<stdin>", line 108, in <module>
sqlite3.OperationalError: near "ON": syntax error
root@pihole:~#

Hey :)
Are you on the latest version of pihole? I only tested this then other day
and it worked okay on my end.
They have made changes in recent versions; adding extra columns to the
tables etc
pihole -up

Sorry, I forgot to mention that I am using the dev version of the pi-hole:
Pi-hole Version vDev (development, v4.3.2-359-g8d5d423)
Web Interface Version vDev (devel, v4.3.2-264-g34d92ad)
FTL Version vDev (development, vDev-bb9f25c)
root@pihole:~# sqlite3 --version
3.22.0 2018-01-22 18:45:57 0c55d179733b46d8d0ba4d88e01a25e10677046ee3da1d5b1581e86726f2alt1

Probably this is not an issue, sorry, I have realized it only when you asked me about the version. :)

Ah, that's it - Because I've used the 'upsert' syntax you need at least version 3.24 of SQLite :)
Dev branch pihole is fine

To avoid issues with this in future, I have updated the script to add support for an alternative query for sqlite3 versions < 3.24: https://github.com/mmotti/pihole-regex/commit/d8066b6a6ee9ef11669cd6a0d8dc098452a819bd
If you try run the script again it should hopefully work for you :-)

Yep, now it works for me, thanks for the quick fix. :)
root@pihole:~# curl -sSl https://raw.githubusercontent.com/mmotti/pihole-regex/master/install.py | sudo python3
[i] Root user detected
[i] Pi-hole path exists
[i] DB detected
[i] Fetching: https://raw.githubusercontent.com/mmotti/pihole-regex/master/regex.list
[i] 16 regexps collected from https://raw.githubusercontent.com/mmotti/pihole-regex/master/regex.list
[i] Connecting to /etc/pihole/gravity.db
[i] Adding / updating regexps in the DB
[i] Identifying obsolete regexps
[i] Restarting Pi-hole
[i] Done - Please see your installed regexps below

^(.+[-_.])??ad[sxv]?[0-9]*[-_.]
^(.+[-_.])??adse?rv(er?|ice)?s?[0-9]*[-.]
^(.+[-_.])??telemetry[-.]
^adim(age|g)s?[0-9]*[-_.]
^adtrack(er|ing)?[0-9]*[-.]
^advert(s|is(ing|ements?))?[0-9]*[-_.]
^aff(iliat(es?|ion))?[-.]
^analytics?[-.]
^banners?[-.]
^beacons?[0-9]*[-.]
^count(ers?)?[0-9]*[-.]
^pixels?[-.]
^stat(s|istics)?[0-9]*[-.]
^track(ers?|ing)?[0-9]*[-.]
^traff(ic)?[-.]
^xn--

No probs! 👍


I used services to remove MyQ garage, now I want to add it back,how?

I used services to remove MyQ garage, now I want to add it back,how?

Duplicate of https://github.com/home-assistant/home-assistant/issues/25727.


Bump just go-jose to latest

Fixes #

Proposed Changes

bump just go-jose w/o the owner files from #3745

Release Note

Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3

Docs

/retest

/retest-required

/test reconciler-tests

/test reconciler-tests

/cherry-pick release-1.13

/cherry-pick release-1.12


[ChainState] use normal DI, do not pull DTP from FullNode service

Such non-standard DI gives us trouble when we have testing environment with not fully initialized FullNode.

@Aprogiena I'm doing a quick  PR for this :)


feat(params): add bootstrappers

Just added a list of boostrappers

I tested manually by connecting to those addresses.

@liamsi geth also hardcodes them, this is normal.

geth also hardcodes them, this is normal.

per network / testnet?

Moreover, everyone hardcodes them besides tendermint networks and they should do this as well.


Minor language fixes for consistency. Also added indentation to redirect array.

This PR fixes some small typos and makes headings more consistent

Looks like the SSL section has been updated meanwhile and needs a merge conflict resolution. Can probably copy the current section from master and make a new commit.

Looks like the SSL section has been updated meanwhile and needs a merge conflict resolution. Can probably copy the current section from master and make a new commit.


Add block-based Bucket#update and Bucket#cors

[closes #279, #375]

@blowmage This PR is ready for review, and if it looks good, merging.

How are CORS rules removed or updated?

I thought about that, of course, but couldn't come up with anything. As far as I know, the rules are completely non-unique. If you want to change or remove one, it's a matter of "you'll know it when you see it". So you need to inspect all attributes of each record to be sure of what you're doing. I think the best approach is to work with the mutable "raw" (array of hashes) representation within a Bucket#update block. But feel free to suggest a concrete design if you have one, I'd be more than happy to add it.

I understand that finding a CORS rule to replace or remove is difficult, because there is no unique identifiers. BigQuery's schema is also difficult to modify because, by definition, the schema can only be added to, but we still have the option in the schema DSL to replace the schema by a new schema defined in the DSL. But CORS doesn't even have that.
I think it would be good to have a mutable array of hashes in the DSL, that you can use to find and possibly remove a rule, as well as the add_rule helper method.
bucket.cors do |cors|
  # Remove the first CORS hash in the array
  cors.shift
  # Remove all existing rules that include example.org
  cors.delete_if { |cors_hash| cors_hash["origin"].includes? "http://example.org" }
  # Add new rule
  cors.add_rule 300, [ "http://example.org", "https://example.org" ],
                [ "*" ],
                [ "Content-Type" ]
end

@blowmage The array is a great idea, I'll do it. Update coming soon. Thanks!

Love it! The added functionality and tests is terrific!


Resolve gcc8 warnings

This commit resolves new warnings in gcc8. In particular, there's a new warning "when objects of non-trivial class types are manipulated in potentially unsafe ways by raw memory functions such as memcpy, or realloc" (see release notes: https://gcc.gnu.org/gcc-8/changes.html).
I resolved the warning in our code by rewritting the offending fragment and in rocksdb by disabling warnings (it's third-party code, I feel OK doing that).

Codecov Report

Merging #2500 into develop will decrease coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #2500      +/-   ##
===========================================
- Coverage    70.69%   70.67%   -0.03%
===========================================
  Files          696      696
  Lines        54440    54441       +1
===========================================
- Hits         38485    38474      -11
- Misses       15955    15967      +12

Impacted Files
Coverage Δ

src/ripple/json/impl/json_value.cpp
77.38% <100%> (+0.04%)
:arrow_up:

src/ripple/beast/asio/io_latency_probe.h
79.16% <0%> (-16.67%)
:arrow_down:

Continue to review full report at Codecov.

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

Merged as 93780c25f71bd3f3233d03db45d4ee5cea844f7d


Brightcove Rmc decouverte

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2019.04.24
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

C:\wamp64\www\ytdl>youtube-dl -F https://rmcdecouverte.bfmtv.com/mediaplayer-direct/ -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'https://rmcdecouverte.bfmtv.com/mediaplayer-direct/', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg 4.1.1, ffprobe 4.1.1
[debug] Proxy map: {}
[RMCDecouverte] mediaplayer-direct: Downloading webpage
[debug] Using fake IP <IP_ADDRESS> (FR) as X-Forwarded-For.
[brightcove:new]<PHONE_NUMBER>001: Downloading webpage
[brightcove:new]<PHONE_NUMBER>001: Downloading JSON metadata
[brightcove:new]<PHONE_NUMBER>001: Downloading m3u8 information
[info] Available formats for<PHONE_NUMBER>001:
format code  extension  resolution note
hls-296      mp4        320x180     296k , avc1.66.30, mp4a.40.2
hls-696      mp4        512x288     696k , avc1.77.30, mp4a.40.2
hls-1096     mp4        848x480    1096k , avc1.77.30, mp4a.40.2 (best)

C:\wamp64\www\ytdl>youtube-dl -f hls-296 -g https://rmcdecouverte.bfmtv.com/mediaplayer-direct/ -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'hls-296', '-g', 'https://rmcdecouverte.bfmtv.com/mediaplayer-direct/', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg 4.1.1, ffprobe 4.1.1
[debug] Proxy map: {}
https://nextmediahdslive-lh.akamaihd.net/i/RMCDECOUVERTE_KB@300868/index_200_av-p.m3u8?sd=10&rebase=on&id=AgA6puaqlYdQRFrkxlzqR5O0r0EKORVN7L+xnnpkkngDeuJlKpAtnYf1NpdCz55gm6PJ%2fvCBFXYncw%3d%3d&hdntl=exp=1556624858~acl=%2fi%2f*~data=hdntl~hmac=ec0462d64c8ed3e5e9f951f8f51d3ad78eaf09740fb40c5fccea2953d6d15162

C:\wamp64\www\ytdl>ffplay -i https://nextmediahdslive-lh.akamaihd.net/i/RMCDECOUVERTE_KB@300868/index_200_av-p.m3u8?sd=10&rebase=on&id=AgA6puaqlYdQRFrkxlzqR5O0r0EKORVN7L+xnnpkkngDeuJlKpAtnYf1NpdCz55gm6PJ%2fvCBFXYncw%3d%3d&hdntl=exp=1556624858~acl=%2fi%2f*~data=hdntl~hmac=ec0462d64c8ed3e5e9f951f8f51d3ad78eaf09740fb40c5fccea2953d6d15162
ffplay version 4.1.1 Copyright (c) 2003-2019 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20190212
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
[https @ 000001daa8849d00] HTTP error 403 Forbiddenq=    0B f=0/0
https://nextmediahdslive-lh.akamaihd.net/i/RMCDECOUVERTE_KB@300868/index_200_av-p.m3u8?sd=10: Server returned 403 Forbidden (access denied)
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
'rebase' is not recognized as an internal or external command,
operable program or batch file.
'id' is not recognized as an internal or external command,
operable program or batch file.
'hdntl' is not recognized as an internal or external command,
operable program or batch file.

Description

I'm sorry to reopen the issues (fourth time ..., , Do you really want solve issue or just close it ?) #20894  We cant play any link, if we do like on the answer, or please explain us how to do ?
The command seems working but after, all the link are not playeable (only check for live stream) , same from the original website (brightcove) , So the workaround is not anymore working unfortunately , and to be clear my IP adress is in France, so its not a geo-restrictions problem
Thanks for your support

U need to quote the 'URL'! You can see at the end of shell output that it interprets fragments of the URL as distinct commands which it unsuccessfully tries to execute..

C:\wamp64\www\ytdl>ffplay -i https://nextmediahdslive-lh.akamaihd.net/i/RMCDECOUVERTE_KB@300868/index_200_av-p.m3u8?sd=10&rebase=on&id=AgA6puaqlYdQRFrkxlzqR5O0r0EKORVN7L+xnnpkkngDeuJlKpAtnYf1NpdCz55gm6PJ%2fvCBFXYncw%3d%3d&hdntl=exp=1556624858~acl=%2fi%2f*~data=hdntl~hmac=ec0462d64c8ed3e5e9f951f8f51d3ad78eaf09740fb40c5fccea2953d6d15162
[…]
[https @ 000001daa8849d00] HTTP error 403 Forbiddenq=    0B f=0/0
https://nextmediahdslive-lh.akamaihd.net/i/RMCDECOUVERTE_KB@300868/index_200_av-p.m3u8?sd=10: Server returned 403 Forbidden (access denied)
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
'rebase' is not recognized as an internal or external command,
operable program or batch file.
'id' is not recognized as an internal or external command,
operable program or batch file.
'hdntl' is not recognized as an internal or external command,
operable program or batch file.

@coveroid
"For Windows you have to use the double quotes" ( https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command )


VSTS CI Schema Change

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions

Description of the Change
Updating the VSTS CI configuration to match the latest schema.
Alternate Designs
N/A
Why Should This Be In Core?
N/A
Benefits
As users see the config or try to make changes the config here should match the doc
Possible Drawbacks
Possible I missed something and break the CI
Verification Process
Created a build pipeline on my own account based on the update YAML and all three jobs passed successfully
Applicable Issues
n/a

Thanks a lot, Chris!  I'll keep an eye on the build and merge when it goes green.

@daviwil there was a pretty major outage in a data center today and that is possibly the issue.  There should be a new option on the build in the drop down to re-run that build without needed to push an update to the PR now.

Seems to be running smoothly now!

After running "Rebuild" on the previous build, the new build failed because it couldn't upload artifacts:
2018-09-05T02:25:15.5585100Z Uploading 1 files
2018-09-05T02:25:20.6729460Z Total file: 1 ---- Processed file: 0 (0%)
2018-09-05T02:25:31.1542370Z Total file: 1 ---- Processed file: 0 (0%)
2018-09-05T02:25:40.6846800Z Total file: 1 ---- Processed file: 0 (0%)
2018-09-05T02:25:43.5478420Z Fail to upload '/Users/vsts/agent/2.139.1/work/1/a/atom-mac.zip' due to 'TF400813: The user '37997752-33c2-4c03-970c-cdc086fbc5e2' is not authorized to access this resource.'.
2018-09-05T02:25:43.5505160Z Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: TF400813: The user '37997752-33c2-4c03-970c-cdc086fbc5e2' is not authorized to access this resource.
   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext()

Also, any chance we could swap position of "Queue" with "Rebuild" on PR builds?  That's the likely action someone will want to take on a failed build and I don't think folks will realize they should look in the "..." menu.

@daviwil that is expected when builds come from PRs from forks.  At the moment we don't let those upload artifacts.  It is something we are working to add but for now we block for security reasons.  It is possible to conditionalize those out when the build is a PR from a fork.

Thanks!  Trying this condition to see if it keeps artifact uploads from occurring on PR builds:
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))


Oversized images

Images are oversized on most of pages, can we identify those pages & downsize them

example here: https://www.netcentric.biz/library/future-of-customer-experience

@EduNCgit let's try to reimport the images from AEM without editing it, except from reducing the size within the google doc & let's confirm we can move ahead with this solution please

Closing as a new issue https://github.com/Netcentric/cn-website/issues/256 was created for better explanation


feat(mesh): login with Dynamic-xyz

Notable Changes

integrate with dynamic.xyz sdk

integrate dynamic UI Component use DynamicWidget for interfaces.

configure <DynamicContextProvider /> and customized dynamic UI according to doc1, doc2
customized dynamicwidget button doc

add wallet field to GetCurrentUserMemberId to check if the user is connected with Dynamic.
if user has a dynamic wallet display #797 in <MeshPoint /> ,
if user does not have a dynamic wallet show  <CreateMeshPoint /> figma
refactor login process <LoginSetWallet/>: On successful Dynamic sign-up, use the updateMemberWallet function to update the wallet in the CMS.
temporarily hide the skip button in <LoginStepsTitle /> for this ndx mid-term review.
show a spinner during the loading state

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1207793413604580

這個區塊在 768 以上應該是垂直置中？

這個區塊在 768 以上應該是垂直置中？

修改於 9285442


fix: set default codeTheme in getParameters

Fixes #186
Background
As discussed in #186, some code changes from #173 inadvertently made users who updated this addon lose code highlighting if they didn't explicitly specify a codeTheme.
#189  addressed it, but after some testing on my end, I found that it only fixed those that are on the newer 5.x API style. Those who are using withReadme (4.x API) will still have this issue.
Changes
This PR addresses this issue at the root by setting a default codeTheme in the getParameters file which both API styles reference.

@lychyi oh thanks for the PR. I think this looks better than my implementation. what do you think? @tuchk4

I think it is good to be merged...


Word segmentation for Chinese references

Can word segmentation modules such as jieba be integrated as part of the key generation code?
We could do something like: [Title:jieba:skipwords:capitalize:select=1,1:nopunct] to produce meaningful citation keys in Chinese.

Presently, with split-ideographs, we arbitrarily select a position to cut off Chinese characters, which may result in meaningless segments. For example, with this reference (ID: KY2E37FJ-apse) and the following code:
[Auth][Title:skipwords:capitalize:select=1,1:split-ideographs:select=1,3:nopunct][year]
「古訓」in the title, meaning "old connotations" would be cut off at "old". By integrating the jieba module, meaningful word segments can be split accordingly, rendering better generation of Chinese citation keys. (It should work for Japanese Kanji as well.)

I must apologize, I've fallen behind on handling issues. The debug log has expired, can you send me a new one?

U5GSLEA-apse

Just to make sure: split-ideographs does something importantly different from jieba?

You have background exports disabled BTW, that's going to affect performance for exports.

If I replace split-ideagraphs with jieba in my test build I get the citekey 傅斯年性命古1985, but I don't know if that's what you want.

If I replace split-ideagraphs with jieba in my test build I get the citekey 傅斯年性命古1985, but I don't know if that's what you want.

Not exactly. As demonstrated above, a proper application of jieba.cut should render the title as 性命 古訓 辨證 so it should either be 傅斯年性命1985 or 傅斯年性命古訓1985, depending on how many 'words' you allow.

Just to make sure: split-ideographs does something importantly different from jieba?

What split-ideographs does is to arbitrarily treat each character as a 'word'.
jieba makes use of an internal dictionary to identify groups of characters that actually form a 'word' that acts as a meaningful grammatical unit.

Not exactly. As demonstrated above, a proper application of jieba.cut should render the title as 性命 古訓 辨證

I'm using https://github.com/pulipulichen/jieba-js which was the best maintained javascript jieba implementation I could find; it segments 性命古訓辨證 into 性命 古訓 辨證 (demo here). So it looks like it does the right thing, yeah? They look the same to me, but I can't be sure as I can't read Chinese.

so it should either be 傅斯年性命1985 or 傅斯年性命古訓1985 depending on how many 'words' you allow.

I'm sorry but I don't understand how 性命 古訓 辨證 relates to either 傅斯年性命 or 傅斯年性命古訓. From the options you provide it looks to me like word/character ordering is different from what I'm used to, but I don't know in what way. In the case of the pattern above, it should pick out 3 'words'; which of these two options would be the correct result, and by what rule does it construct to that pick?

I'm using https://github.com/pulipulichen/jieba-js which was the best maintained javascript jieba implementation I could find; it segments 性命古訓辨證 into 性命 古訓 辨證 (demo here). So it looks like it does the right thing, yeah? They look the same to me, but I can't be sure as I can't read Chinese.

Yes, the segmentation is correct.

I'm sorry but I don't understand how 性命 古訓 辨證 relates to either 傅斯年性命 or 傅斯年性命古訓. From the options you provide it looks to me like word/character ordering is different from what I'm used to, but I don't know in what way. In the case of the pattern above, it should pick out 3 'words'; which of these two options would be the correct result, and by what rule does it construct to that pick?

The first 3 characters, 傅斯年, is the author. This is followed by 3 segmented words.
So it can be either 傅斯年性命 (Au+T1) or 傅斯年性命古訓 (Au+T1+T2) or 性命古訓辨證 (Au+T_in_full).
This can be altered by changing the second variable of select without split-ideographs.
So [Auth][Title:jieba:skipwords:capitalize:select=1,2:nopunct][year] should produce:
傅斯年性命古訓1985.

I'm running into this problem.

I'm looking into cncut instead.

which crashes outright. On to the next library.

this seems well maintained but the docs are all in Chinese it appears.

Does this text explain the meaning of the options cutAll, dag, hmm and cutForSearch?

You can ignore this version, I don't have the preferences in place yet.

447 has an extra option under Advanced -> Citekeys where you can enable jieba support. When it is off, :jieba won't do anything. I'd appreciate it if you could test whether this version does what you expect.

I get the error:

The add-on "%S" could not be installed. It may be incompatible with this version of Zotero.

test builds are only up for a week. A new build will drop here in 10 minutes or so.

That error message you get is the rather unhelpful message Firefox/Zotero gives when you try to install something that's named .xpi but is actually an html file. if you rename it to .html and open it in your browser you'll see "file not found" or something to that effect.

The test build works as expected, thank you!

A release build has been scheduled


Does kubeprober support  k8s 1.14 ?

What would you like to be added:
Does kubeprober support  k8s 1.14 ? In k8s 1.14,we don't have  'v1' version.

需要hack一下，试一下这个：
sed -i 's/jsonPath/JSONPath/g' deployment/probe-agent.yaml  sed -i 's#apiextensions.k8s.io/v1#apiextensions.k8s.io/v1beta1#g' deployment/probe-agent.yaml  sed -i '/x-kubernetes-list-map-key/,+3d' deployment/probe-agent.yaml

What would you like to be added:
Does kubeprober support k8s 1.14 ? In k8s 1.14,we don't have 'v1' version.

需要hack一下，试一下这个
sed -i 's/jsonPath/JSONPath/g' deployment/probe-agent.yaml
sed -i 's#apiextensions.k8s.io/v1#apiextensions.k8s.io/v1beta1#g' deployment/probe-agent.yaml
sed -i '/x-kubernetes-list-map-key/,+3d' deployment/probe-agent.yaml

What would you like to be added:
Does kubeprober support k8s 1.14 ? In k8s 1.14,we don't have 'v1' version.

需要hack一下，试一下这个
sed -i 's/jsonPath/JSONPath/g' deployment/probe-agent.yaml sed -i 's#apiextensions.k8s.io/v1#apiextensions.k8s.io/v1beta1#g' deployment/probe-agent.yaml sed -i '/x-kubernetes-list-map-key/,+3d' deployment/probe-agent.yaml

我用controller-gen重新生成了下v1beta1的yaml,应该没什么问题.


Handling of non-golang dependency versions

In Clear Containers, we have come to rely quite heavily on a file we maintain called versions.txt:

https://github.com/clearcontainers/runtime/blob/master/versions.txt

That file is used to define the versions of various depenencies for Clear Containers. For example:

supported version of golang.
hypervisor version details.
docker version.
k8s version.
rootfs image version from Clear Linux.

This file avoids hard-coding versions details in lots of different files (which makes maintenance very difficult). It is a simple database file in name=value format (crucially with comments) that can be sourced as a shell script or grep'd.
It's important to state that this file is not only used by the Clear Containers runtime repository: it is also used by the tests and packaging repositories to query version details.
We are going to need an equivalent for Kata Containers, but I'm wondering if we want to consider refining the approach slightly. The current approach is simple and proven, but it doesn't have much structure. A way of grouping variables would be very useful, for example for the CentOS package versions here:

https://github.com/clearcontainers/runtime/blob/master/versions.txt#L42..L49

Hence, I think we should consider creating a versions.yaml for Kata. We could then use a tool like https://github.com/mikefarah/yq to query the file:
$ go get github.com/mikefarah/yq
$ yq read versions.yaml centos.deps.glib.version
2.46.2
$ yq read versions.yaml docker.swarm.version
1.12.1

The advantage of YAML over JSON being a lot more flexibility in terms of structure, and -- a "killer" feature -- it supports comments! :smile:
What do you think @sameo, @grahamwhaley, @chavafg, @gnawux, @bergwolf ?

ping @kata-containers/runtime - are we happy with the YAML approach?

Fine with me !


(FOTA) java.lang.IllegalArgumentException:null value

Hi, not sure what is causing this error but it seems to prohibit FOTA from happening on my system...
Server log
2018-03-12 19:10:45,625 ERROR [Thread-5] [org.mycontroller.standalone.message.MessageMonitorThread:119] Throws exception while processing!, [RawMessage(gatewayId=1, data=010002003F03, subData=AD_gw_out/111/255/4/0/2, isTxMessage=false, networkType=MY_SENSORS, timestamp=1520896245570)]
java.lang.IllegalArgumentException: null value
	at org.mapdb.HTreeMap.put(HTreeMap.java:481)
	at org.mycontroller.standalone.firmware.FirmwareUtils.getFirmwareDataFromOfflineMap(FirmwareUtils.java:281)
	at org.mycontroller.standalone.message.McMessageEngine.procressFirmwareRequestMySensors(McMessageEngine.java:550)
	at org.mycontroller.standalone.message.McMessageEngine.streamSubMessageTypeSelector(McMessageEngine.java:504)
	at org.mycontroller.standalone.message.McMessageEngine.execute(McMessageEngine.java:125)
	at org.mycontroller.standalone.message.McMessageEngine.run(McMessageEngine.java:1117)
	at org.mycontroller.standalone.message.McMessageUtils.sendToMcMessageEngine(McMessageUtils.java:677)
	at org.mycontroller.standalone.provider.mysensors.MySensorsProviderBridge.executeRawMessage(MySensorsProviderBridge.java:59)
	at org.mycontroller.standalone.message.McMessageUtils.sendToProviderBridge(McMessageUtils.java:579)
	at org.mycontroller.standalone.message.MessageMonitorThread.processRawMessage(MessageMonitorThread.java:107)
	at org.mycontroller.standalone.message.MessageMonitorThread.run(MessageMonitorThread.java:182)
	at java.lang.Thread.run(Thread.java:748)

Resources logs detail
Mar 12, 2018 19:34:33 | Notice | Node | AD_gateway   111:000 Battery, RSSI, FOTA | Sent | Stream | [Firmware config response]<PHONE_NUMBER>03A795
Mar 12, 2018 19:34:32 | Notice | Node | AD_gateway   111:000 Battery, RSSI, FOTA | Received | Stream | [Firmware config request]<PHONE_NUMBER>03429D0102
Mar 12, 2018 19:34:30 | Notice | Node | AD_gateway   111:000 Battery, RSSI, FOTA | Sent | Stream | [Firmware config response]<PHONE_NUMBER>03A795
Mar 12, 2018 19:34:29 | Notice | Node | AD_gateway   111:000 Battery, RSSI, FOTA | Received | Stream | [Firmware config request]<PHONE_NUMBER>03429D0102

The above two lines just keep on repeating every couple of seconds. Not sure if that means the node is in a reboot loop...
Typos ?
procressFirmwareRequestMySensors -> processFirmwareRequestMySensors
Discover respone -> Discover response
Node info
Using MySensorsBootloaderRF24: v1.3.0-rc.1
Using MySensors: v2.2.0
Arduino: Nano (chinese clone) with 8 analog pins
Radio: NRF24L-01
#define MY_NODE_ID 111
MyController
Version					1.1.0.Final
Database schema revision	1.04.01 - 2017 Oct 25
Database type				MySQL
Database version			10.1.23-MariaDB-9+deb9u1
Git commit:branch			2bd938160d42fb36e8b47b4e9c62cad446773a5b:master
Built on					2017-12-28T07:46:41+0530
Build JDK					1.8.0_151
Build tool					Apache Maven 3.5.0
VM vendor				Oracle Corporation
VM name				Java HotSpot(TM) Client VM
VM version				1.8.0_162-b12
Java home				/opt/jdk1.8.0_162/jre
Operating system			Linux
Architecture				arm
Version/Kernel				4.9.59+

@adulovic Thanks for reporting this issue. I have reformated your comment to easily read.
We have changed a lot about internal design to communicate with the gateway. Can you try the version 1.2.0.Final? Kindly report back.
Thanks for the typos finding. I have updated it.

@adulovic Thanks for reporting back. I did minor update and change is available in SNAPSHOT version.
Could you please try with SNAPSHOT version?
If you see a warning message something like this Requested firmware is not available in MyController server... kindly upload your firmware once again to MyController server and check again.
I see you are using MySQL/MariaDB, for all firmware are you getting this issue or only for this particular node?

Updated MyController to Version 1.3.0 snapshot
Actions and findings as follows
I get a lot of these errors... makes debugging a little more difficult.
Notice it still says "Discover respone" here instead of "Discover response"

2018-03-14 10:39:22,670 ERROR [mc-th-pool-0] [org.mycontroller.standalone.provider.EngineAbstract:261] Throws exception while processing!, [MessageImpl(gatewayId=1, nodeEui=4, sensorId=SENSOR_BC, type=Internal, subType=Discover respone, ack=0, payload=0, isTxMessage=false, timestamp=1521038358021, properties=null)]
java.lang.NullPointerException: null
	at org.mycontroller.standalone.provider.ExecuterAbstract.executeInternal(ExecuterAbstract.java:138)
	at org.mycontroller.standalone.provider.ExecuterAbstract.execute(ExecuterAbstract.java:86)
	at org.mycontroller.standalone.provider.EngineAbstract.auditQueue(EngineAbstract.java:256)
	at org.mycontroller.standalone.provider.EngineAbstract.run(EngineAbstract.java:131)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

After rebooting node 111 with firmware 222, I got a warning:

2018-03-14 10:45:25,771 WARN [mc-th-pool-0] [org.mycontroller.standalone.provider.mysensors.MySensorsExecutor:73] Requested firmware is not available in MyController server. FirmwareRequest[typeId:1, versionId:3, block:831]

I then tried to edit the firmwares and re-upload the hex files, which gave the following error

2018-03-14 10:48:19,833 ERROR [Acme.Utils.ThreadPool(1)-PooledThread: Acme.Serve.Serve$ServeConnection@f93ea5] [org.mycontroller.standalone.api.jaxrs.exception.mappers.ApplicationExceptionMapper:42] ApplicationException,
org.jboss.resteasy.spi.ApplicationException: java.lang.NullPointerException
	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:152)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:395)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
	at org.jboss.resteasy.plugins.server.tjws.TJWSServletDispatcher.service(TJWSServletDispatcher.java:40)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2328)
	at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2282)
	at Acme.Serve.Serve$ServeConnection.run(Serve.java:2054)
	at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1402)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: null
	at org.mycontroller.standalone.firmware.FirmwareUtils.updateFirmwareHex(FirmwareUtils.java:172)
	at org.mycontroller.standalone.firmware.FirmwareUtils.createUpdateFirmware(FirmwareUtils.java:226)
	at org.mycontroller.standalone.api.jaxrs.FirmwareHandler.updateFirmware(FirmwareHandler.java:226)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
	... 15 common frames omitted

I then deleted the 3 existing firmwares from mycontroller and tried to add them again:

2018-03-14 10:51:00,492 ERROR [Acme.Utils.ThreadPool(2)-PooledThread: Acme.Serve.Serve$ServeConnection@165475c] [org.mycontroller.standalone.db.dao.BaseAbstractDaoImpl:247] unable to add new item:[FirmwareData(id=null, firmware=Firmware(id=12, type=FirmwareType(id=1, name=FOTA test node, newId=null), version=FirmwareVersion(id=1, version=v.001, newId=null), timestamp=1521039058145, properties={crc=13661, blocks=832, type=Hex, blockSize=16}, fileString=null, fileBytes=null, fileType=null, blockSize=null))]
java.sql.SQLException: Unable to run insert stmt on object FirmwareData(id=null, firmware=Firmware(id=12, type=FirmwareType(id=1, name=FOTA test node, newId=null), version=FirmwareVersion(id=1, version=v.001, newId=null), timestamp=1521039058145, properties={crc=13661, blocks=832, type=Hex, blockSize=16}, fileString=null, fileBytes=null, fileType=null, blockSize=null)): INSERT INTO `firmware_data` (`id` ,`firmwareId` ,`data` ) VALUES (?,?,?)
	at com.j256.ormlite.misc.SqlExceptionUtil.create(SqlExceptionUtil.java:25)
	at com.j256.ormlite.stmt.mapped.MappedCreate.insert(MappedCreate.java:137)
	at com.j256.ormlite.stmt.StatementExecutor.create(StatementExecutor.java:458)
	at com.j256.ormlite.dao.BaseDaoImpl.create(BaseDaoImpl.java:328)
	at org.mycontroller.standalone.db.dao.BaseAbstractDaoImpl.create(BaseAbstractDaoImpl.java:244)
	at org.mycontroller.standalone.firmware.FirmwareUtils.createUpdateFirmware(FirmwareUtils.java:243)
	at org.mycontroller.standalone.api.jaxrs.FirmwareHandler.createFirmware(FirmwareHandler.java:237)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:395)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
	at org.jboss.resteasy.plugins.server.tjws.TJWSServletDispatcher.service(TJWSServletDispatcher.java:40)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2328)
	at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2282)
	at Acme.Serve.Serve$ServeConnection.run(Serve.java:2054)
	at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1402)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.sql.SQLDataException: Data too long for column 'data' at row 1

So, I opened up phpMyAdmin and changed the table structure for the data field from BLOB to LONGBLOB:

ALTER TABLE `firmware_data` CHANGE `data` `data` LONGBLOB NOT NULL;

Then I tried to edit the firmware again, and got the same error as before.
...see error above...
Then I deleted the 3 firmwares and added them again, this time there was no error.
.. guess we will need to use LONGBLOB :)
So I edited the node 111 again, assigned firmware 222, and rebooted the node.
No errors were reported in the server log and this is what came up in the Resources logs detail:

Mar 14, 2018 11:04:32 | Notice | Node | AD_gateway   111:111 Battery, RSSI, FOTA | Sent | Stream | [Firmware config response]<PHONE_NUMBER>03790A
  | Mar 14, 2018 11:04:32 | Notice | Node | AD_gateway   111:111 Battery, RSSI, FOTA | Received | Stream | [Firmware config request]<PHONE_NUMBER>0316510102
  | Mar 14, 2018 11:04:29 | Notice | Node | AD_gateway   111:111 Battery, RSSI, FOTA | Sent | Stream | [Firmware config response]<PHONE_NUMBER>03790A
  | Mar 14, 2018 11:04:28 | Notice | Node | AD_gateway   111:111 Battery, RSSI, FOTA | Received | Stream | [Firmware config request]<PHONE_NUMBER>0316510102
  | Mar 14, 2018 11:04:24 | Notice | Node | AD_gateway   111:111 Battery, RSSI, FOTA | Sent | Internal | [Reboot]

The node came back up again but with the old version (111) still showing.
I also tried refreshing the node, but still got the same version.
Then I edited node 111 again, changed firmware to version 333, issued a reboot command.
... this time there were no firmware config requests or responses in the Resources logs detail and no errors in the Server log. I will give it an hour to see if something is happening.
Additional Info

am using MySQL/MariaDB as I find it easier to use phpMyAdmin than command line in H2
MyController is running on a RaspberryPi Zero with 4GB card
gateway is Arduino UNO with W5100 shield
nodes are all arduino nano with NRF24L01
only one node (111) is set up with MYSBootloader (for testing).
have three different firmwares created for testing (versions 111, 222 and 333)

One hour later:

No  changes to node 111, still shows original version 111 instead of assigned firmware (version 333).
Most of my other nodes are now reported offline, but that might be unrelated.
Rebooting node 111 via MyController causes multiple Firmware config response/request lines in Resource Log, with no related errors in Server Log.

@adulovic Thank you to narrow down the issue. I will fix it soon.

Most of my other nodes are now reported offline, but that might be unrelated.

this is the root cause: "Discover respone" here instead of "Discover response"
I have fixed this and update on SNAPSHOT build.
NOTE: This time snapshot version contains major change for REST clients. Not tested fully.

Progress: Nodes are properly associating and reporting online again.
No change for Node 111 - rebooted from MyController, it exchanges 4-7 firmware config requests and responses, then boots up reporting the same version.

@adulovic

No change for Node 111 - rebooted from MyController, it exchanges 4-7 firmware config requests and responses, then boots up reporting the same version.

I guess the problem on node side for this case. MyController just responds to node's request. Maybe communication issue(RF).

The node is in the same room as the gateway, and it reports battery and rssi properly and consistently.

I edited the node just now, and changed the firmware version to v.222.
After rebooting, I get:

  | Mar 15, 2018 11:39:51 | Notice | Node | AD_gateway   111:111 Battery, RSSI, FOTA | Sent | Stream | [Firmware config response]<PHONE_NUMBER>03790A
  | Mar 15, 2018 11:39:51 | Notice | Node | AD_gateway   111:111 Battery, RSSI, FOTA | Received | Stream | [Firmware config request]<PHONE_NUMBER>0316510102
  | Mar 15, 2018 11:39:44 | Notice | Node | AD_gateway   111:111 Battery, RSSI, FOTA | Sent | Internal | [Reboot]

It is clearly showing same config request with different config response, so I guess the issue lies elsewhere.
This is what the node shows after rebooting:

AD_gateway [MQTT] | MySensors | Registered | 111 | 111 Battery, RSSI, FOTA | Repeater node | -29 dBm | 34 % | 2.2.0 | 111 | FOTA test node:v.002 | 4 minutes ago

It should be showing

AD_gateway [MQTT] | MySensors | Registered | 111 | 222 Battery, RSSI, FOTA | Repeater node | -29 dBm | 34 % | 2.2.0 | 222 | FOTA test node:v.002 | 4 minutes ago

What else could I check?

The bootloader was burned (a few times) using USBasp.  http://a.co/j2UVEEK
Burning the bootloader is not an issue at this (testing) stage.
The Arduino Nano is a V3.0 ATmega328P 5V 16MHz http://a.co/3I88Epp
It is powered via usb cable, stable 5.0V.
The NRF24L01+ http://a.co/6mtYr0Q is powered by 3.3V from the arduino itself, and the radio power is set to HIGH (also tried with LOW, MID and MAX). I also have a 4.7uF capacitor http://a.co/d0BhhyZ connected.
I don't think it is a radio issue at all. My (uneducated) guess would be it's something to do with acknowledgement of message or stream sizing.
Looking at the gateway now.. Should the "ack enabled" be on of off? What are the values that work for you on a MQTT Gateway?

found: (in ...\libraries\MySensors/drivers/PubSubClient/PubSubClient.h)
#define MQTT_MAX_PACKET_SIZE 128
trying to override it with:
#define MQTT_MAX_PACKET_SIZE 512 in the sketch
seeing progress now...
...and it worked, finally!

@adulovic Great finding. But firmware request/response should be less than 128 bytes. We need to check with MySensors community.
MyController supports native device via MQTT, There I am using 512 bytes. As MyController sends more than 128 bytes there.

Looking at the gateway now.. Should the "ack enabled" be on or off? What are the values that work for you on a MQTT Gateway?

When you enable(checked) ack, MyController expects an acknowledgment from the node.If the node fails to send within the expected time, MyController resends the data again. This will happen till the maximum retry count.
NOTE: When we enable ack for a gateway firmware update will take more time. as it doubles the data rate.
Example:

Here ack enabled with 5 retry counts. And MyController waits for 1 second(1000 milliseconds) for ack from the node, if the node fails to send ack within 1 second, MyController resends the data again.

You're right... It only worked the first time. The second test failed.
I will experiment with different radio powers and packet sizes over the weekend (if time permits) and let you know what I find.
Thanks for the support, it's appreciated!

@adulovic I have moved firmware data from DB to disk in this fix. can you verify it in SNAPSHOT version?

Sorry man, was away from home for a few months...
Will probably find some time for the home automation this weekend.
What needs to be checked/verified?
Cheers,
Aleksandar Dulović
On Tue, Jun 12, 2018 at 9:55 AM Jeeva Kandasamy<EMAIL_ADDRESS>wrote:

@adulovic https://github.com/adulovic I have moved firmware data from
DB to disk in this fix. can you verify it in SNAPSHOT
https://drive.google.com/drive/u/0/folders/0BzuumrtRA7p6Z0hCX2V6cVh2ckU
version?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mycontroller-org/mycontroller/issues/443#issuecomment-396597731,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUwlujkOrnvvdHRnj2-P7RnPHJubbtcks5t78hDgaJpZM4Sn3DU
.

@adulovic  I have moved firmware data from database to disk. Hope this time firmware update(OTA) will work properly for you in SNAPSHOT version.


add preliminary config files for ergoCubSN000

Related issue https://github.com/ami-iit/component_bipedal-locomotion/issues/12
Preparing for preliminary tests on the robot.

Closing in favour of #137


can not run this app with warning  torch.meshgrid

appear this warning：
UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument.

/usr/local/lib/python3.11/site-packages/torch/functional.py:507: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/aten/src/ATen/native/TensorShape.cpp:3550.)
return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]

you can try   return _VF.meshgrid(tensors, **kwargs,indexing = 'ij')  # type: ignore[attr-defined]


Simultaneous push of two images with the same name but different tag results in an error

The exact message we are getting is:
"Error response from daemon: push image_name is already in progress".
The reason we are pushing two images at the same time with different tags is because we use docker registry to keep our images built by Jenkins, which can of course build different branches of our project at the same time.
Is this issue going to be fixed in the old version of registry?
Is this issue fixed in the registry 2.0?

Hi @montgomery1944
IMO this is a docker engine issue (not registry).
Nevertheless, I would be happy to investigate.
I think that should work with a registry2. If it's not, that should be fixed.

@dmp42, is there any update on this issue?

@montgomery1944 have you tried registry:2 ?
cc @stevvooe

@montgomery1944 This is a daemon issue. Please file in github.com/docker/docker.


Set operation algorithms

This adds 10 new algorithms (related to set operations): set_union, set_difference, set_symmetric_difference, set_intersection, and includes.

I accidentally merged this to master. I will roll this back if anybody has objections.


⚠ Bofrost.at has degraded performance

In 24671e1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1643 ms

Resolved: Bofrost.at performance has improved in 228aeb3.


test: Add e2e test for redis ha

What type of PR is this?
/kind test
What does this PR do / why we need it:
Adds e2e test for GITOPS-2404

/test all

/ok-to-test

Closing this in favour of #534. Same set of changes are included there.

Sorry @svghadi I didn't notice this PR.

No worries. We can get these changes in with your PR.


When java-client-api maven rename happens, update entity services examples

See https://github.com/marklogic/java-client-api/issues/436
That issue is set for 4.0.1 of java client api

Looks like this change has gone into develop.  Resetting milestone and will make a PR to change.
@kkanthet , you will be noting this change that cascades through future releases of entity services (and marklogic-jena, marklogic-sesame)

This task was accomplished.


feat(integration): add a global handler for Literal AI

Description
This PR introduces a new global_handler integration with Literal AI. The code here, as well as the corresponding code in the Literal AI Python SDK, are based on the new instrumentation module.
Also included is a small update to the relevant bit in the Observability section of the documentation.
New Package?
Did I fill in the tool.llamahub section in the pyproject.toml and provide a detailed README.md for my new integration or package?

[x] Yes
[ ] No

Version Bump?
Did I bump the version in the pyproject.toml file of the package I am updating? (Except for the llama-index-core package)

[x] Yes
[ ] No

Type of Change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested?
I added an example script and hacked at it until it worked :thinking:

[x] I stared at the code and made sure it makes sense

Suggested Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] New and existing unit tests pass locally with my changes
[x] I ran make format; make lint to appease the lint gods

Thanks for the keen eye @masci ! Both suggestions applied


Login Bug Fixed

Pull Request Test Coverage Report for Build 233

0 of 44 (0.0%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.7%) to 50.219%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/com/t13g2/forum/commons/events/model/LoginPopUpEvent.java
0
1
0.0%

src/main/java/com/t13g2/forum/logic/parser/LoginCommandParser.java
0
2
0.0%

src/main/java/com/t13g2/forum/ui/MainWindow.java
0
9
0.0%

src/main/java/com/t13g2/forum/ui/LoginPopUp.java
0
32
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/com/t13g2/forum/ui/MainWindow.java
1
0.0%

Totals

Change from base Build 232:
-0.7%

Covered Lines:
1493

Relevant Lines:
2973

💛  - Coveralls


SwaggerIgnore on base controller applies to inherited controllers incorrectly

If I use [NSwag.Annotations.SwaggerIgnore] on a base controller, it also applies to controllers inherited from that base controller?
Base Controller - is ignored correctly
   [NSwag.Annotations.SwaggerIgnore]     public class NotifyApiController<T> : ApiController where T : IGlobalEventMessage, new()     { ... }
This controller which inherits from above base is also ignored from C# client generation.....
    public class ComCoreFileController : NotifyApiController<ComCoreFileMessage>     { ... }

is there a fix for this issue?
I am facing the same


Incidents table shows error: invalid timestamp

Hi Fourkeys. I found a next bug in the software: Incidents are not shown in the incidents table.(They are in the events_raw) When I open my grafana  dashboard I see a warning at the 'median time to Change': invalidQuery: Invalid timestamp: '2022-01-06 13:10:47 +0100' .Also when I query the incidents table I get the same error. Hope you can fix it (edited)

Thank you! This is a duplicate of #257.


3D buildings for Android

Would you fix Android map for 3D buildings?
iOS map is displayed for 3D, but Android one isn't.
If you have some solutions, we'd like to know them.
Left picture is for Web. Right one is for Android.

We'd appreciate your cooperation.
Regards,

Using the new maps renderer seems to show 3D building in Japan. You should probably keep an eye on #3991. Once the update is done you should be able to see the building in the devices that can use the new renderer.

@atsushisuzuki0001 feel free to try #4055 and use the new renderer calling useLatestsRenderer, 3d buildings are working fine now.

@atsushisuzuki0001 feel free to try #4055 and use the new renderer calling useLatestsRenderer, 3d buildings are working fine now.


Textmaps crash fix

we can't trust the textmaps, not every landtile is stretchable, so we create a stretchables hashset beforehand, and use that hashset to check if we can use the textures or not.

solved a bug where if at end of tiledata, it could cause a crash

I know that each textmaps texture is stretchable. Can you explain better?


Add RitamChakraborty under 'a little bit of everything' section and add few tools

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

[x] 🚀 Added Name
[ ] ✨ Feature
[ ] ✅ Joined Community
[ ] 🌟 ed the repo
[ ] 🐛 Grammatical Error
[x] 📝 Documentation Update
[ ] 🚩 Other

Description

Add profile RitamChakraborty under 'a little bit of everything' section
Add beautify-github-profile in tools section
Add github-profile-3d-contrib in tools section
Add leetcode-stats in tools section
Add forthebadge.com in tools section
Add skillicons.dev in tools section
Add github-transparent-stats in tools section
Add hits.sh in tools section

Add Link of GitHub Profile
https://github.com/RitamChakraborty/RitamChakraborty

Is it possible for my github pofile to get added in the list. I've really worked hard for it. It would be quite an achievement to be a part of a list of awesome github profiles created by others. Please go through my profile once. I'm sure you wouldn't be disappointed.
Thanks in advance. :v:


Raised value error

Checklist

[X] The bug is reproducible against the latest release or master.
[X] There are no similar issues or pull requests to fix it yet.

Describe the bug
Raised valueerror when I passed string value for queryparameter page and pagesize
Steps to reproduce the bug
To reproduce this issue when I pass page=ab and pagesize=rm like
/admin/user/list?page=ab&pageSize=rm
Expected behavior
When user pass any value other than integer
what I expected to

Either raised error message like
{
"error": {
"page": "value is not a valid integer",
"pagesize": "value is not a valid integer",
}
}
OR
show the default value like page=1 and pagesize=10

Actual behavior
No response
Debugging material
No response
Environment
window 11 /python 3.11 /
Additional context
Based on the approach that I provided which you think is more appropriate. For me, first one give more sense.
If you think , Is this the actual issue.
If so, I will be happy to contribute on this issue.

hey, what does page=rm mean? these are supposed to be numbers as the errors suggests.

hey, what does page=rm mean? these are supposed to be numbers as the errors suggests.

Page and Pagesize supposed to be number but when user pass value of  page and pagesize to some string value other than integervalue
It says (Internal server Error)
https://sqladmin-demo.aminalaee.dev/admin/address/list?page=somevalue
https://sqladmin-demo.aminalaee.dev/admin/address/list?page=2&pageSize=somevalue

Yeah I think defaulting to the first page is fine. Feel free to create a PR for that.

I also think that these parameters should have default values.
@BhuwanPandey looking forward to see your PR!

Closed by #752


fix(CX-2337): show back button on my collection artwork when the feature flag is enabled

The type of this PR is: fix

This PR resolves CX-2337
Description

Bring back button on my collection artwork when the feature flag is enabled

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

#nochangelog

Warnings

:warning:

✅ No changelog changes

  Generated by :no_entry_sign: dangerJS against 7ba5bad870cabc80d33e9b7bf1b6b47771df8a54


Execute full SQL script

Describe the bug
Using SQLTools, I can only run my sql script line by line. I can't find any way to run the whole script in one run
Desktop (please complete the following information):

SQLTools Version v0.23.0
VSCode Version: 1.59.1
OS: Linux
Driver:

[ ] PostgreSQL/Redshift
[X] MySQL/MariaDB
[ ] MSSQL/Azure
[ ] SQLite
[ ] Other? Which...

Database version: MySQL Ver 15.1 Distrib 10.3.29-MariaDB

Additional context
My SQL script is a bit long and to be able to execute the whole script would be better

What happens when you run the "Run This File" command provided by the extension? For me that runs all of the queries in the file, one at a time.

Works perfectly


Improving Apps Structure: Part 1 - Remove graph layer and consolidate clique functions

This PR partly carries out our plan to improve the import structure of the applications layer. I have split this up because it is already a relatively large PR.
This PR covers removing the graph folder/module from the apps layer, renaming from apps to gbs and consolidating clique-based functions into one location (e.g., before they were separated into a max_clique module and resize module), as well as renaming the max clique functions, resulting in for example: from strawberryfields import gbs; gbs.clique.grow([1, 2, 3]).
What still needs to be done:

Consolidate sampling functions into a single module (e.g., currently in sample and g_sample)
Consolidate graph-based functions into a single module (e.g., currently in dense and resize)
Consolidate some top-level functions into another module
and also update the __init__.py in each case

Thanks @jswinarton @josh146!


TypeError: Cannot read properties of null (reading 'message') on one computer

Description
Suddenly getting this on my dev bot on one of my computers:
TypeError: Cannot read properties of null (reading 'message')
    at Object.callback (/Users/.../node_modules/@slack/socket-mode/src/SocketModeClient.ts:421:83)
    at callback

Whenever any message is sent anywhere. I tried reverting back to what's working in production and I still get the error. It works on a different computer but since I can't see the src of the package I can't tell what would be causing the issue.
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[ ] enhancement (feature request)
[x] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[ ] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[ ] I've read and agree to the Code of Conduct.
[ ] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version:
node version:
OS version(s):
Steps to reproduce:

Expected result:
What you expected to happen
Actual result:
What actually happened
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

I'm closing this since it's the core slack library having the problem

You might be affected by the behavior change of Node.js since its version 19. We've resolved this issue here: https://github.com/slackapi/node-slack-sdk/issues/1546 So, the latest version of @slack/socket-mode should work without issues. Please try upgrading the version to the latest.

I'm on 3.12.2 which I think is the most recent and my package-lock says my socket-mode is on 1.3.0, but i'm going to try downgrading node to see if that is actually the issue.
update: that worked, so I'm just going to work on node 18 for now thanks for the help!

Good to hear! If you want to make your app functional with Node 19, socket-mode library needs to be 1.3.2


Move "Additional Examples" section below main documentation sections

What happened?
Some resources (Monitor, BrokenLinkMonitor, CertCheckMonitor. Monitor, ScriptMonitor) in the Synthetics module have an "Additional Examples" section which is at the top of the page and requires scrolling through them to get to the main documentation bits.
Expected Behavior
It would be nicer if the "Additional Examples" section was down by the "Import" section.
Steps to reproduce

Go to https://www.pulumi.com/registry/packages/newrelic/api-docs/synthetics/monitor/

or other "monitor" modules

Note the lengthy "Additional Examples" section at the top of the page.

Output of pulumi about
N/A
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Thank you for reporting this! This same issue could affect generated docs for other Pulumi providers as well.


[REVIEW]

GitHub Profile Link
https://github.com/krupalitrivedi

Looks good, reviewed on live stream, some suggestions...

I think the timezone could be incorrect?


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.10.82",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=055eced3edf5b675d12189081303f6285ef26511"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "055eced3edf5b675d12189081303f6285ef26511",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "scsi: advansys: Fix kernel pointer leak\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.82 by commit 055eced3edf5b675d12189081303f6285ef26511. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002295


Main storage adapter abstraction + postgre adapter

Dear @slashdotdash , once again, thanks for sharing Commanded. This pull request contains the main structure for loading and appending state and events using a multi-db adapter architecture. If it's fine, I can continue to implement the connection start/stop, support for multi-db in all tests, event subscribing, and add extreme (greg db). Note that I made some polish in names and docs to optimize the view for smaller monitors (1920x1080).. for me it's important to reason about the module as whole while coding.
I followed the idea of encapsulating all the specific db code into the adapter folder, so specific mappers also are moved there, and Commanded deals only with raw event data and state.

It's okay with the idea of Eventstore and Extreme, nice to have more SQL around. Should I make the changes and pull request or you merge and I fork from you again?
thanks

Notice that travis sometimes fail.

GitHub flow is a simpler approach. There's only one rule: anything in the master branch is always deployable.
So each new features has its own branch (e.g. feature/storage-abstraction) that get merged into master once it is done. I consider that to mean it is fully unit/integration tested, has no commented out or redundant code, and is documented (in-line docs, README).
We could make this PR the initial storage abstraction with the single adapter using the PostgreSQL eventstore. Then a subsequent PR containing the Extreme adapter.

Ok, Github flow is a good approach. How should I proceed ? I understand that you will create a branch to hold this PR ? Because process_manager_router subscribes to all events, I am still figuring out how to do it in Extreme... isn't too much ? maybe better every process_manager_instance subscribe to it's interested events ?

I don't think GitHub allows you to change the target branch of a pull requests. You will need to close this one and open a new pull request to target another branch. You may even need to branch in your local git repo first and PR from there.

ok!


Attempting to invert list type causes error

When attempting to invert the list type (both in Insert and in Normal mode), I get the following error:
E5108: Error executing lua ...hare/nvim/plugged/autolist.nvim/lua/autolist/generic.lua:238: attempt to index local 'new_marker' (a nil value)
stack traceback:
        ...hare/nvim/plugged/autolist.nvim/lua/autolist/generic.lua:238: in function 'invert'
        [string ":lua"]:1: in main chunk

I checked where in the code new_marker is used, and it seems like it's used in the generic.invert function.
Since I've got invert_toggles_checkbox = true in my config, what I think happens is the following:

new_marker gets initialized:

https://github.com/gaoDean/autolist.nvim/blob/9507e7c86d1ac2f2b47f7ff2274c661206d4a1eb/lua/autolist/generic.lua#L228

The invert_toggles_checkbox branch is chosen:

https://github.com/gaoDean/autolist.nvim/blob/9507e7c86d1ac2f2b47f7ff2274c661206d4a1eb/lua/autolist/generic.lua#L231

match is called against nil, since it's only initialized to be local, and nothing more:

https://github.com/gaoDean/autolist.nvim/blob/9507e7c86d1ac2f2b47f7ff2274c661206d4a1eb/lua/autolist/generic.lua#L238
I might be mistaken about the chain of events, it's my best guess based on the error message.

yeah, theres a big refactor coming up, but for now I'll fix this quickly

alrihgt fixed, but the cursor position is a bit annoying. as said before, this will hopefully be fixed in new refactor

Thank you for the fix!


Removed the "Save Theme" from the menu when a default theme is in use

Fixes #18126

Seems fine. Another option could be to keep the "Save Theme" option but fallthrough to "Save Theme As" when using a default theme.

That is a very good idea I haven't considered.
I was a bit worried that not finding a menu option that you know should be there would be confusing.
Will update,
Thanks

This will also fix https://github.com/godotengine/godot/issues/22695 if it's merged :slightly_smiling_face:

Thanks for the link.
Will check that issue as well and update it tomorrow.

Updated. Now the "Save Theme" button will fallback to "Save Theme As" if one of the default themes is selected.
It also fixes #22695

Fixes #22695

The changes look good, could you squash the two commits together?

Sure, done :)

Sorry, I should have mentioned that the commit log should also be amended to reflect the current state, as we're not longer removing the Save Theme option, just re-routing it to Save Theme As.

Don't worry. Since this is my first open source project I'm still learning the workflow.
Done

Thanks!


(Not a bug) First issue after archival.

I randomly decided to open the GuiLibrary file and saw that it wasn't archived any more, so I decided to open an issue. Why? I don't know.

Exciting times ahead! Found at https://discord.gg/ZqS836yx9k


Fixed the footer of About Us page

Related Issue
#1854
Fixes:  #1854
Description
BEFORE

AFTER

 #1854
Type of PR

[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Checklist:

[X] I have made this change from my own.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

@PriyaGhosal @samarth-6 please review the code and assign this under GSSOC-EXT and level

@PriyaGhosal can you please review this and merge the PR

@Annapoornaaradhya Please see the conflicts .

@PriyaGhosal I have resolved the conflicts

@PriyaGhosal can you please check this out an merge the PR because only 3 days are left

Related Issue
#1854
Fixes: #1854
Description
BEFORE

AFTER
#1854
Type of PR

[x]  Bug fix
[ ]  Feature enhancement
[ ]  Documentation update
[ ]  Other (specify): _______________

Checklist:

[x]  I have made this change from my own.
[x]  My code follows the style guidelines of this project.
[x]  I have performed a self-review of my own code.
[x]  I have commented my code, particularly in hard-to-understand areas.
[x]  I have made corresponding changes to the documentation.
[x]  My changes generate no new warnings.
[x]  I have tested the changes thoroughly before submitting this pull request.
[x]  I have provided relevant issue numbers and screenshots after making the changes.

@PriyaGhosal @samarth-6 please review the code and assign this under GSSOC-EXT and level

@PriyaGhosal please merge this


Add bpfman-operator v0.4.0 to community-operators and community-operators-prod

Bpfman recently underwent a project name change and with it our operatorhub deployment manifests instantly became unstable.  This issue will track

[x] The deletion of the stale manifests from community-operators and redhat's community-operators-prod  see https://github.com/k8s-operatorhub/community-operators/pull/3664 and https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/3778

[ ] The addition of the bpfman-operator v0.4.0 manifests back to both community-operators and community-operators-prod

Finished in
https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/4498
and
https://github.com/k8s-operatorhub/community-operators/pull/4314


[BUG] CA Certificate error when joining new nodes to Harvester cluster

Describe the bug
Not able to get a new agent machine to join the cluster. Get the following errors:
-- Logs begin at Thu 2022-02-03 22:30:21 UTC, end at Thu 2022-02-03 22:42:17 UTC. --
Feb 03 22:30:41 harvester-proxmox systemd[1]: Starting Rancher Bootstrap...
Feb 03 22:30:41 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:41Z" level=info msg="Bootstrapping Rancher (master-head/v1.21.7+rke2r1)"
Feb 03 22:30:41 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:41Z" level=info msg="Writing plan file to /var/lib/rancher/rancherd/plan/plan.json"
Feb 03 22:30:41 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:41Z" level=info msg="Applying plan with checksum "
Feb 03 22:30:41 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:41Z" level=info msg="No image provided, creating empty working directory /var/lib/rancher/rancherd/plan/work/20220203-223041-applied.pla>
Feb 03 22:30:41 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:41Z" level=info msg="Running command: /usr/bin/env [sh /var/lib/rancher/rancherd/install.sh]"
Feb 03 22:30:41 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:41Z" level=info msg="[stdout]: [INFO]  Using default agent configuration directory /etc/rancher/agent"
Feb 03 22:30:41 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:41Z" level=info msg="[stdout]: [INFO]  Using default agent var directory /var/lib/rancher/agent"
Feb 03 22:30:41 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:41Z" level=info msg="[stderr]: [WARN]  /usr/local is read-only or a mount point; installing to /opt/rancher-system-agent"
Feb 03 22:30:46 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:46Z" level=info msg="[stdout]: [INFO]  Determined CA is necessary to connect to Rancher"
Feb 03 22:30:51 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:51Z" level=info msg="[stderr]: curl: (22) The requested URL returned error: 401 Unauthorized"
Feb 03 22:30:51 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:51Z" level=info msg="[stderr]: [ERROR]  401 received while downloading the CA certificate. Sleeping for 5 seconds and trying again"
Feb 03 22:31:01 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:01Z" level=info msg="[stderr]: curl: (22) The requested URL returned error: 401 Unauthorized"
Feb 03 22:31:01 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:01Z" level=info msg="[stderr]: [ERROR]  401 received while downloading the CA certificate. Sleeping for 5 seconds and trying again"
Feb 03 22:31:11 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:11Z" level=info msg="[stderr]: curl: (22) The requested URL returned error: 401 Unauthorized"
Feb 03 22:31:11 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:11Z" level=info msg="[stderr]: [ERROR]  401 received while downloading the CA certificate. Sleeping for 5 seconds and trying again"
Feb 03 22:31:21 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:21Z" level=info msg="[stderr]: curl: (22) The requested URL returned error: 401 Unauthorized"
Feb 03 22:31:21 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:21Z" level=info msg="[stderr]: [ERROR]  401 received while downloading the CA certificate. Sleeping for 5 seconds and trying again"
Feb 03 22:31:31 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:31Z" level=info msg="[stderr]: curl: (22) The requested URL returned error: 401 Unauthorized"
Feb 03 22:31:31 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:31Z" level=info msg="[stderr]: [ERROR]  401 received while downloading the CA certificate. Sleeping for 5 seconds and trying again"
Feb 03 22:31:41 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:41Z" level=info msg="[stderr]: curl: (22) The requested URL returned error: 401 Unauthorized"
Feb 03 22:31:41 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:41Z" level=info msg="[stderr]: [ERROR]  401 received while downloading the CA certificate. Sleeping for 5 seconds and trying again"
Feb 03 22:31:51 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:51Z" level=info msg="[stderr]: curl: (22) The requested URL returned error: 401 Unauthorized"
Feb 03 22:31:51 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:51Z" level=info msg="[stderr]: [ERROR]  401 received while downloading the CA certificate. Sleeping for 5 seconds and trying again"
Feb 03 22:32:01 harvester-proxmox rancherd[2139]: time="2022-02-03T22:32:01Z" level=info msg="[stderr]: curl: (22) The requested URL returned error: 401 Unauthorized"
Feb 03 22:32:01 harvester-proxmox rancherd[2139]: time="2022-02-03T22:32:01Z" level=info msg="[stderr]: [ERROR]  401 received while downloading the CA certificate. Sleeping for 5 seconds and trying again"
Feb 03 22:32:11 harvester-proxmox rancherd[2139]: time="2022-02-03T22:32:11Z" level=info msg="[stderr]: curl: (22) The requested URL returned error: 401 Unauthorized"

To Reproduce

Setup a single node harvester cluster
Join that cluster to a Rancher instance with cluster-registration-url
Start a new harvester node and join it to the first node cluster

Expected behavior
New node is able to join the cluster
Support bundle

Environment:

Harvester ISO version: v1.0.0
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): One node is baremetal, second node is running as a VM in proxmox.

Additional context
Add any other context about the problem here.

Hi @META-DREAMER, I can't reproduce this issue with Harvester v1.0.0 and Rancher v2.6.3. May you provide which Rancher version do you use to interact with Harvester? Thank you.

I'm using the latest version of Rancher
Is it because I'm running Harvester as a VM?

Similar with   https://github.com/harvester/harvester/issues/2885
... while downloading the CA certificate .... 403 Forbidden
This issue report
..while downloading the CA certificate... 401 Unauthorized"

Feb 03 22:30:46 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:46Z" level=info msg="[stdout]: [INFO]  Determined CA is necessary to connect to Rancher"

Feb 03 22:30:51 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:51Z" level=info msg="[stderr]: curl: (22) The requested URL returned error: 401 Unauthorized"
Feb 03 22:30:51 harvester-proxmox rancherd[2139]: time="2022-02-03T22:30:51Z" level=info msg="[stderr]: [ERROR]  401 received while downloading the CA certificate. Sleeping for 5 seconds and trying again"
Feb 03 22:31:01 harvester-proxmox rancherd[2139]: time="2022-02-03T22:31:01Z" level=info msg="[stderr]: curl: (22) The requested URL returned error: 401 Unauthorized"


How to get an instance of sortable element in angularjs. Lets say for, {{item.Name}}

Before you create a issue, check it:

Try dev-branch, perhaps the problem has been solved;
Use the search, maybe already have an answer;
If not found, create example on jsbin.com (draft) and describe the problem.

Bindings:

Angular

2.0+: https://github.com/SortableJS/angular-sortablejs/issues
legacy: https://github.com/SortableJS/angular-legacy-sortablejs/issues

React

ES2015+: https://github.com/SortableJS/react-sortablejs/issues
mixin: https://github.com/SortableJS/react-mixin-sortablejs/issues

Polymer: https://github.com/SortableJS/polymer-sortablejs/issues
Knockout: https://github.com/SortableJS/knockout-sortablejs/issues
Meteor: https://github.com/SortableJS/meteor-sortablejs/issues

https://github.com/SortableJS/angular-legacy-sortablejs/issues


move stats back to catalog

Having the stats object back in 'catalog' will allow it to be more used to aid in navigation, and since all collections are catalogs it will still work there.

Wait, you mean summaries, right?

yes :(

I get confused because it's the 'stats object'. but the 'summary' field.

+1


 Using 'is' for equals is also a warning in python3.

Ideally for the process function all exceptions should be caught and it should return None if any errors occur
Were you getting exceptions and if so could you post which ones?

It was an FFMpegException. I looked at it, there is a try...except block in the converter that calls raise again after catching. This is to bail out early iirc, so definitely it's not catching everything

Fixed the syntax error
89c287e6c36bc34075d14058cedbaa5863557ebc
And opted to add more try/except options inside the process method itself
ea258806a20405d6b32b15c6702edc62ba18f00b
Better practice this way and more consistent with the process method elsewhere (not wrapped in try loops for any of the other several scripts that call it).
Let me know if that takes care of things

Added this as well to remove that raises another exception
09531eae7db7c15fde1ab5337351f475776a7245

yea that last patch was the one I saw

Decided to migrate to an enum based solution
85e3d181c392df0e3841bfff5fdf39ae99512f36
Make sure that works for you but it will make it easier if additional parameters need to be added in the future


Add Tracker metrics to have a dashboard for all prices.

This PR is on top of https://github.com/tellor-io/telliot/pull/436 so once that one is merged this one will show very small changes.

this is now part of https://github.com/tellor-io/telliot/pull/433


Mode for absolute bottom positions except for top

When using absolute bottom positions, it’s common to need the ‘top’ position to be at the top of the screen. It’s currently impossible to do this in a way that recomputes the ‘top’ when the window resizes or device rotates.

I’m not sure if this is possible in a easy and understandable matter; what value would want to assign to the top case in your enum?
enum MyBottomSheetPosition: CGFloat, CaseIterable, Equatable {
    case top = //?
    case middle = 300
    case bottom = 100
    case hidden = 0
}

I found a way how it could be implemented. This feature will come with the rewrite (v3).


Fixed YAML parsing errors in DOCUMENTATION strings

ansible-doc was throwing errors due to YAML syntax errors in DOCUMENTATION strings.

Nice, thanks!


List method error

The list method in the lambda_function.py line 90:
 stacks.append(resp['StackSummaries'])
Should be extend instead of append:
https://stackoverflow.com/questions/252703/difference-between-append-vs-extend-list-methods-in-python
When iterate with the append method get the following error:
TypeError: list indices must be integers or slices, not str

Do you have a full stack trace?

Hi @dejonghe, I'm trying to reproduce the error to send you the full log with your stack deployed as it is but I'm getting the following error that seems related with the multiprocessing:

[Errno 38] Function not implemented: OSError
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 180, in lambda_handler
with Pool(len(regions)) as p:
File "/var/lang/lib/python3.6/multiprocessing/context.py", line 119, in Pool
context=self.get_context())
File "/var/lang/lib/python3.6/multiprocessing/pool.py", line 156, in init
self._setup_queues()
File "/var/lang/lib/python3.6/multiprocessing/pool.py", line 249, in _setup_queues
self._inqueue = self._ctx.SimpleQueue()
File "/var/lang/lib/python3.6/multiprocessing/context.py", line 112, in SimpleQueue
return SimpleQueue(ctx=self.get_context())
File "/var/lang/lib/python3.6/multiprocessing/queues.py", line 315, in init
self._rlock = ctx.Lock()
File "/var/lang/lib/python3.6/multiprocessing/context.py", line 67, in Lock
return Lock(ctx=self.get_context())
File "/var/lang/lib/python3.6/multiprocessing/synchronize.py", line 162, in init
SemLock.init(self, SEMAPHORE, 1, 1, ctx=ctx)
File "/var/lang/lib/python3.6/multiprocessing/synchronize.py", line 59, in init
unlink_now)
OSError: [Errno 38] Function not implemented

https://stackoverflow.com/questions/48651601/mutiprocessing-in-aws-lambda/48667988#48667988
https://aws.amazon.com/es/blogs/compute/parallel-processing-in-python-with-aws-lambda/
This is the error I was getting with the list method after I made some modifications to your code:

list indices must be integers or slices, not str: TypeError
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 150, in lambda_handler
dd = DriftDetector()
File "/var/task/lambda_function.py", line 55, in init
self.detections = self.check_drift()
File "/var/task/lambda_function.py", line 87, in check_drift
for stack in self._get_stacks():
File "/var/task/lambda_function.py", line 68, in _get_stacks
nextToken = stacks['NextToken']
TypeError: list indices must be integers or slices, not str

@Qbandev I apologize, I forgot about this issue, until someone brought it to my attention today. I've updated the code to no longer use multiprocessing.
I'm not sure the extend is what I intended. What I have now on master is working.


nixos/wireplumber: fix Lua syntax

Description of changes
Fixed comment syntax. Thanks @Trundle for the spot. Don't code while sick, kiddos.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I created the exact same PR (#166491) :see_no_evil: I'll close mine as duplicate

Ah heck. Lesson learned: don't PR while sick, either.


Metal Performance Shaders not Supported on iPhone 5S

Digit and Object recognition crashes on my 5S stating "Metal Performance Shaders not Supported on current Device" but I haven't found any info on Apple and other forums stating this.

Thanks for reporting. I just fixed it. Unfortunately, 5s doesn't support MetalPerformanceShaders, however now it doesn't crash.

thanx @shu223 ! ;)

@shu223 , can you provide some official info about "Metal Performance Shaders not Supported on iPhone 5S"
I can't find apple gives some tips ,but iphone 5s should support Metal

@erickingxu
https://developer.apple.com/metal/feature-sets/

@shu223 could I think it means only A8+ support MPS ?

@palxex yes, i thinks so: https://developer.apple.com/reference/metal/mtlfeatureset

Thanks.


hex value to readable

Hello i want to see my wallet balance in nodered, i can configure this, but the output is an HEX value is it possible to have an option to pass it to msg.payload as human readable value?

All nodes use internally the ethers library (https://docs.ethers.io/v5/). So your value is from type "BigNumber" and you need to transform it. Best way to do it is by using the ethers library directly in a function node.
Do the follwoing:

Place the ethers-provider node on your flow (this will provide the ethers library in the global flow contex)
Create a function node that handles the output of your balance response by parsing the result
Thats all ;)

// Get thers library
const ethers = global.get("ethers")
// the balance node returns a bignumber object
let value = parseFloat(ethers.utils.formatEther(msg.accountBalance))
// msg.balance = undefined;
msg.balance =value
return msg;


Generator Appends Hello World Route to Other Engines

In the case where users have multiple engines in their routes file, the built-in Rails generator helper, route, will add the route to all of the engines. It should only be appending the route once.
I believe this is due to the helper's reliance on gsub and their use of routes.draw do instead of Rails.application.routes.draw do, since the former will result in false positives.
Relevant links:

Rails route helper API
Rails route helper source code I've linked directly to what I believe is the line, the definition of sentinel which uses a regex that is too loose
Thor inject_into_file API (used by the route_helper)
Thor inject_into_file source

This is not incredibly serious as we ask user to commit files before running the generator, and this can be manually fixed.

@justin808 it's borderline whether we should even fix this here, as it's really a bug with Rails's Generators::Helpers.route IMO


Fix #128 Additional compiler option to control the groovy compiler

Add option to pass arguments to the groovyc compiler

@Alex-Vol-SV Fixed it, but had to make the gradle output more verbose (--info flag)