Improve custom naming for multi-output groupby features

Improve custom naming for multi-output groupyby features
In PR #780, the ability to specify custom feature names for multi-output custom primitives was added. With this change, it is not currently possible to completely override the feature names for a multi-output groupby feature. Custom naming for a multi-output primitive relies on overriding the get_names method of the underlying primitive, but the names for groupby features comes partially from the primitives get_names method and partially from the get_namesimplementation on theGroupbyTransformFeature` object.
The current implementation appends text to the end of the names returned from the primitive get_names method, which specifies what the output was grouped by. It is not possible to customize or remove this appended text at the end of the feature name.
This implementation should be updated to allow for the entire feature name to be custom, including the text appended at the end.

Closing this issue as it doesn't seem to be an enhancement that is needed. If other users need this functionality in the future, this issue can be reopened or a new issue can be created.


chore(fix): isort xgboost

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

[ ] Docs included if any changes are user facing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.02%) to 35.407%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1/mpi/mpijob.go
1
91.06%

pkg/controller.v1/mpi/mpijob_controller.go
2
81.05%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
4377

Relevant Lines:
12362

💛  - Coveralls


Initialization of variables

Add initialization of member variables

Actually I not sure that we have default initialization in current form and therefore we have risk that they remain uninitialized and we get UB.

Is it still valid? If yes, please resolve conflicts and update PR.

This commit is irrelevant.


Pairing sensors

https://delsys.com/trigno/research/
Trigno Avanti Sensor
The Avanti sensor is powered on/off and paired with a change in the magnetic field surrounding the sensor.  Any common magnet will work here.

Open the Trigno Control Utility and click “pair” in your desired channel.

Remove the Avanti sensor from the base station (LED light turns purple) and touch it to a magnet to turn the sensor on (LED light turns green for a couple seconds, then begins to flash amber and blue).  Flashing amber/blue LED signifies that the sensor is ready to pair. Note that if you do not pass a magnet over the sensor from 6 seconds of undocking, it will turn off.

Tap the sensor to the magnet once again and it will quickly flash green, signifying sensor pairing.  At this point the sensor should populate the Trigno Control Utility in the desired channel. Note that once docked and turn on again, the sensors will automatically pair upon magnet activation.

For further technical assistance with this or any other issue, please contact ADInstruments Technical Support by clicking HERE.

Paired. Just turn on via magnet.


Must clarify about roadmap 101515 (Junk/Phishing reporting actions integrated with Microsoft Defender for Office 365)

Hi,
I hope docs must to clarify what is the recommendation of MSFT since now we have a Built-in button for report junk and phishing on Outlook Web. They're reporting as same way to admin and be controlled by choices of admin?
Roadmap 101515

@dnetoa Thank you for your feedback. This feature that you are reporting is under development and most probably released soon. Once it is Launched and available to the general audience, the author and the PM will be able to update the documents.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @dnetoa Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


config: add xDS retry backoff configuration parameters (#9332)

Signed-off-by: Garrett Bourg<EMAIL_ADDRESS>Description: config: add xDS retry backoff configuration parameters
Risk Level: Low
Testing: Unit tests
Docs Changes: Adds documentation for new xDS configuration source retry policy options.
Release Notes: config: add xDS retry backoff configuration parameters
Fixes #9332

I opened this initial commit to get feedback on the API changes, so this doesn't have any changes in source/ or test/ yet.

@baojr can you work with @yxue to unify with https://github.com/envoyproxy/envoy/pull/9463?

Could you please merge the master to pickup the latest changes? I think we should add this to v3alpha since Envoy API has moved to v3alpha earlier. @htuch do you think this retry backoff should be added to v2 API too?

@yxue yeah, API changes should still be made with the v2 APIs for now, protoxform will reflect them to v3alpha. A master merge would be good though, there has been a lot of churn in the past few days in the API tree.


DMing self produces Sorry @Slackbot, I don't understand that command!

Messages sent as Slackbot via say mentioning the bot in command responses loop back to the bot under the ID USSLACKBOT in DMs, causing an "I don't understand this command" error.

Closed via #250


Arrow functions not working

This does not work:
var f = () => true

This works OK:
var x = () => {return true}


[Installer] Add MPCC host as system in system inventory

Self explanatory,
but also we should include some other default things like LDAP, and ansible things that seem valuable even if only as default examples.

mpcc host system now adds itself as of https://github.com/mprov-ng/mprov_control_center/commit/b774ced88f6c2fea0502646fab2bae38d5c2f4b0
Other default things added in previous commits.

Will need to discuss if LDAP management should be added by default by the installer or if that should be an addon by the end user.  I am starting to think it should be a default but we can open a separate ticket for that if we decide that is the case.


Minor doc updates

Motivation

Solution

PR Reviewer's Checklist

[ ] The PR Author's checklist is complete.
[ ] The PR resolves the issue.

This looks good pending one suggestion, thank you for the change!

@zancas I can't add @arya2 suggestion to this pull request as the branch is in the zingolabs repository. Do you want to add it ? I think it will be good to do so.

cleaning up our PR backlog this seems stalled. @zancas feel free to re-open with @arya2 's suggestions and we'll merge


Framed window draggable

I'd like to have draggable regions of a framed window via the -webkit-app-region: drag. It seems that Electron ignores these style attributes unless it is a frameless window.
Are there plans to allow for this?

Enabling draggable regions in framed window would complicates our implementation a lot, and I think it is also a bad design for most apps, so we won't support it unless there is very strong need for it.

Many Mac windows have a full sized tool bars which are draggable and, until fully natively supported, could be created in HTML/CSS.

I can't argue with the complexity of implementing it but ability to specify draggable regions would also allow for more unique app designs. See attached image. Both top and bottom bars are draggable. Designs such as these could be created in HTML/CSS if Electron would respect the -webkit-app-region: drag.

If you want to do something snazzy like this, I would actually just make it a frameless window, then reimplement the Yosemite window controls in HTML / JS. I did this for the Slack app and it was fairly easy (the only trick is handing Option-clicking the Zoom button)


add spotify block list - here it is

Hey Steven,
Any chance you could include spotify list as well?
#spotify-added
<IP_ADDRESS> spclient.wg.spotify.com #[affects mobile app]
<IP_ADDRESS> adeventtracker.spotify.com
<IP_ADDRESS> ads-fa.spotify.com
<IP_ADDRESS> analytics.spotify.com
<IP_ADDRESS> audio2.spotify.com
<IP_ADDRESS> content.bitsontherun.com
<IP_ADDRESS> crashdump.spotify.com
<IP_ADDRESS> d2gi7ultltnc2u.cloudfront.net
<IP_ADDRESS> d3rt1990lpmkn.cloudfront.net
<IP_ADDRESS> desktop.spotify.com
<IP_ADDRESS> googleadservices.com
<IP_ADDRESS> gtssl2-ocsp.geotrust.com
<IP_ADDRESS> log.spotify.com
<IP_ADDRESS> omaze.com
<IP_ADDRESS> open.spotify.com # website might not open
<IP_ADDRESS> redirector.gvt1.com
<IP_ADDRESS> spclient.wg.spotify.com
<IP_ADDRESS> v.jwpcdn.com
<IP_ADDRESS> weblb-wg.gslb.spotify.com
<IP_ADDRESS> pubads.g.doubleclick.net
<IP_ADDRESS> gads.pubmatic.com
<IP_ADDRESS> audio-ec.spotify.com
<IP_ADDRESS> heads-ec.spotify.com
<IP_ADDRESS> prod.spotify.map.fastlylb.net
<IP_ADDRESS> sto3.spotify.com
<IP_ADDRESS> upgrade.spotify.com #updating
<IP_ADDRESS> www.spotify-desktop.com
<IP_ADDRESS> sto3-accesspoint-a88.sto3.spotify.net
<IP_ADDRESS> upgrade.scdn.co
<IP_ADDRESS> beta.spotify.map.fastly.net
<IP_ADDRESS> play.spotify.edgekey.net
<IP_ADDRESS> edgekey.net
<IP_ADDRESS> play.spotify.com #web player won’t work
<IP_ADDRESS> apresolve.spotify.com
<IP_ADDRESS> b.scorecardresearch.com
<IP_ADDRESS> bounceexchange.com
<IP_ADDRESS> bs.serving-sys.com
<IP_ADDRESS> core.insightexpressai.com
<IP_ADDRESS> doubleclick.net
<IP_ADDRESS> ds.serving-sys.com
<IP_ADDRESS> googleads.g.doubleclick.net
<IP_ADDRESS> js.moatads.com
<IP_ADDRESS> media-match.com
<IP_ADDRESS> open.spotify.com
<IP_ADDRESS> pagead46.l.doubleclick.net
<IP_ADDRESS> pagead2.googlesyndication.com
<IP_ADDRESS> partner.googleadservices.com
<IP_ADDRESS> s0.2mdn.net
<IP_ADDRESS> securepubads.g.doubleclick.net
<IP_ADDRESS> tpc.googlesyndication.com
<IP_ADDRESS> video-ad-stats.googlesyndication.com
<IP_ADDRESS> www.googleadservices.com
<IP_ADDRESS> www.googletagservices.com
<IP_ADDRESS> www.omaze.com
<IP_ADDRESS> upgrade.spotify.com
<IP_ADDRESS> cs283.wpc.teliasoneracdn.net
<IP_ADDRESS> cs126.wpc.teliasoneracdn.net
<IP_ADDRESS> u.scdn.co
<IP_ADDRESS> cs126.wpc.edgecastcdn.net
<IP_ADDRESS> pagead.l.doubleclick.net
<IP_ADDRESS> pagead-googlehosted.l.google.com
<IP_ADDRESS> partnerad.l.doubleclick.net
<IP_ADDRESS> adserver.adtechus.com
<IP_ADDRESS> na.gmtdmp.com
<IP_ADDRESS> anycast.pixel.adsafeprotected.com
<IP_ADDRESS> ads.pubmatic.com
<IP_ADDRESS> idsync-ext.rlcdn.com
<IP_ADDRESS> googlehosted.l.googleusercontent.com
<IP_ADDRESS> d361oi6ppvq2ym.cloudfront.net
<IP_ADDRESS> ads-west-colo.adsymptotic.com
<IP_ADDRESS> geo3.ggpht.com
<IP_ADDRESS> showads33000.pubmatic.com
<IP_ADDRESS> http://audio2.spotify.com
<IP_ADDRESS> www.audio2.spotify.com

Also this:
<IP_ADDRESS> roulettebotplus.com
<IP_ADDRESS> www.roulettebotplus.com
<IP_ADDRESS> oneclickdownloader.com
<IP_ADDRESS> a.faireagle.com
<IP_ADDRESS> faireagle.com
<IP_ADDRESS> wxdownloadmanager.com
<IP_ADDRESS> 1click-downloader.net
<IP_ADDRESS> www.1click-downloader.net
<IP_ADDRESS> www1.clickdownloader.com
<IP_ADDRESS> clickdownloader.com
<IP_ADDRESS> unblockedpiratebay.com
<IP_ADDRESS> webstatsdomain.com
<IP_ADDRESS> kickasstorrents.ee
<IP_ADDRESS> www.kickasstorrents.ee
<IP_ADDRESS> adclick.g.doublecklick.net
Havent checked if this is present.

See: https://github.com/StevenBlack/hosts/issues/506

This one seems to be very demanding ... Should not we create/add it to the extensions Steven @StevenBlack ? :thinking:

sorry?
Also, this prevents hijacking browser for crypto mining
That could be separate filter
<IP_ADDRESS> coinhive.com
<IP_ADDRESS> www.coinhive.com
<IP_ADDRESS> coin-hive.com
<IP_ADDRESS> www.coin-hive.com
<IP_ADDRESS> jsecoin.com
<IP_ADDRESS> www.jsecoin.com
<IP_ADDRESS> server.jsecoin.com
<IP_ADDRESS> load.jsecoin.com
<IP_ADDRESS> static.reasedoper.pw
<IP_ADDRESS> mataharirama.xyz
<IP_ADDRESS> www.mataharirama.xyz
<IP_ADDRESS> listat.biz
<IP_ADDRESS> www.listat.biz
<IP_ADDRESS> lmodr.biz
<IP_ADDRESS> www.lmodr.biz
<IP_ADDRESS> minecrunch.co
<IP_ADDRESS> www.minecrunch.co
<IP_ADDRESS> minemytraffic.com
<IP_ADDRESS> www.minemytraffic.com
<IP_ADDRESS> crypto-loot.com
<IP_ADDRESS> www.crypto-loot.com
<IP_ADDRESS> 2giga.link
<IP_ADDRESS> www.2giga.link
<IP_ADDRESS> ppoi.org
<IP_ADDRESS> www.ppoi.org
<IP_ADDRESS> coinerra.com
<IP_ADDRESS> www.coinerra.com
<IP_ADDRESS> coin-have.com
<IP_ADDRESS> www.coin-have.com
<IP_ADDRESS> kisshentai.net
<IP_ADDRESS> www.kisshentai.net
<IP_ADDRESS> miner.pr0gramm.com
<IP_ADDRESS> kiwifarms.net
<IP_ADDRESS> www.kiwifarms.net
<IP_ADDRESS> anime.reactor.cc
<IP_ADDRESS> joyreactor.cc
<IP_ADDRESS> www.joyreactor.cc
<IP_ADDRESS> kissdoujin.com
<IP_ADDRESS> www.kissdoujin.com
<IP_ADDRESS> minero.pw
<IP_ADDRESS> www.minero.pw
<IP_ADDRESS> coinnebula.com
<IP_ADDRESS> www.coinnebula.com
<IP_ADDRESS> afminer.com
<IP_ADDRESS> www.afminer.com
<IP_ADDRESS> coinblind.com
<IP_ADDRESS> www.coinblind.com
<IP_ADDRESS> webmine.cz
<IP_ADDRESS> www.webmine.cz
<IP_ADDRESS> monerominer.rocks
<IP_ADDRESS> www.monerominer.rocks
<IP_ADDRESS> cdn.cloudcoins.co
<IP_ADDRESS> coinlab.biz
<IP_ADDRESS> www.coinlab.biz
<IP_ADDRESS> www.papoto.com
<IP_ADDRESS> papoto.com
<IP_ADDRESS> cookiescript.info
<IP_ADDRESS> www.cookiescript.info
<IP_ADDRESS> cookiescriptcdn.pro
<IP_ADDRESS> www.cookiescriptcdn.pro
<IP_ADDRESS> rocks.io
<IP_ADDRESS> www.rocks.io
<IP_ADDRESS> ad-miner.com
<IP_ADDRESS> www.ad-miner.com
<IP_ADDRESS> party-nngvitbizn.now.sh
<IP_ADDRESS> www.party-nngvitbizn.now.sh

Hi @2pac1 thanks for your input.
@2pac1 @funilrys I'm not clear on what's being asked here.
@2pac1 I just added a coinblock list to the default hosts in the past few hours.  I botched that (see #509) but that's fixed now.  If we're missing domains in this category, user @ZeroDot1 curates this particular area.  I hope adding his list to this repo doesn't lead to hassles – @ZeroDot1 I'm sorry in advance 😺.
@2pac1 one more thing, I hope you understand, we do very little host list curation here.  Rather, we amalgamate lists from well-curated sources to provide a master list that's frequently updated, and we provide options to also filter porn, social media, fake news, etc.
We are always evaluating well-curated lists for inclusion here.  But the central-point is, we can't accept big lists of domains for inclusion.  We need lists that come with dedicated people who care about accuracy on an ongoing basis.  This could include you, @2pac1, but it must come with a commitment to the ongoing, never-ending battle.

keep up the good work
i just saw that you do have cryptocurrency mining blocking added, great great
might want to think about adding spotify mini list for ads to stop

also, your crypto list, doesnt have main coin hive domain from where they pull the javascript
peep at this mini list
https://coinhive.com/lib/miner.min.js
coinhive.com
www.coinhive.com
coin-hive.com
www.coin-hive.com
jsecoin.com
www.jsecoin.com
server.jsecoin.com
load.jsecoin.com
static.reasedoper.pw
mataharirama.xyz
www.mataharirama.xyz
listat.biz
www.listat.biz
lmodr.biz
www.lmodr.biz
minecrunch.co
www.minecrunch.co
minemytraffic.com
www.minemytraffic.com
crypto-loot.com
www.crypto-loot.com
2giga.link
www.2giga.link
ppoi.org
www.ppoi.org
coinerra.com
www.coinerra.com
coin-have.com
www.coin-have.com
kisshentai.net
www.kisshentai.net
miner.pr0gramm.com
kiwifarms.net
www.kiwifarms.net
anime.reactor.cc
joyreactor.cc
www.joyreactor.cc
kissdoujin.com
www.kissdoujin.com
minero.pw
www.minero.pw
coinnebula.com
www.coinnebula.com
afminer.com
www.afminer.com
coinblind.com
www.coinblind.com
webmine.cz
www.webmine.cz
monerominer.rocks
www.monerominer.rocks
cdn.cloudcoins.co
coinlab.biz
www.coinlab.biz
www.papoto.com
papoto.com
cookiescript.info
www.cookiescript.info
cookiescriptcdn.pro
www.cookiescriptcdn.pro
rocks.io
www.rocks.io
ad-miner.com
www.ad-miner.com
party-nngvitbizn.now.sh
www.party-nngvitbizn.now.sh

@2pac1 I agree.
We had a Spotify list up until 7 days ago (see #506 and commit 2d3b88e) but the data source added a spotify domain that interrupted service in the browser so this was dropped on a temporary basis until I see that's resolved.

my bad, conhive is in there
ok cool
i am looking from the standpoint of using the spotify app, and that works
once again, @StevenBlack I salute!!!

@2pac1 The hosts from their list have all been included in the CoinBlockerLists since a long time.

Again @2pac1 I can't deal with lists of domains submitted on an ah-hoc basis.
Maybe some of our data sources are willing to take your suggestions?

I get you, it would be too much work yes
Might ping some people, but was just dropping in here saying Hi and to give props

Thank you @2pac1
I must tell you, it feels weird to be in a position to adjudicate how Spotify is experienced by so many people.  I'm a paying Spotify customer myself, so I don't see what most people see...

I also a paying Spotify customer @StevenBlack but I was talking about the fact that the Spotify list can or could be added to the extensions lists as it seems to be very demanding out there (hosts files users) ... But anyway I think this can be now closed :+1:


CMX 3600 - Save record in/out

Hi,
I'm using your great tool for convert EDL to CSV, merge EDL, ...
But I've tweaked the cmx_3600 adapter, because you don't save the record in and out into the clip.
Is It any reason for that ?
For be more specific I'm talking about this :
https://github.com/PixarAnimationStudios/OpenTimelineIO/blob/afc69b96c7908b29c2334994e6c4404073d95fc7/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py#L144-L151
Thanks.

In OTIO, the record in/out for a clip is computed instead of stored. This means that you can modify a clip or track or whatever without fear that a stored record in/out of everything else becomes out of date. In other words, you can read an EDL, modify your timeline, and then write it out without having to manually recompute record times.
You can ask OTIO to compute the record range of a clip like this:
record_range = clip.transformed_time_range(clip.trimmed_range(), timeline.tracks)
or if you know the clip is not nested, then this simpler form works:
record_range = clip.trimmed_range_in_parent()
Then to get the record in/out as timecode, you can do this:
record_in = opentime.to_timecode(record_range.start_time, record_rate)
record_out = opentime.to_timecode(record_range.end_time_exclusive(), record_rate)

You can see the EDL writer does this same thing here: https://github.com/PixarAnimationStudios/OpenTimelineIO/blob/master/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py#L949

Oh cool thank you !
I've tested many things but I didn't find the solution. And now I'm understanding why it works like that.


⚠ Bofrost.be has degraded performance

In 9beea4d, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1478 ms

Resolved: Bofrost.be performance has improved in 994a617.


[WM-2306] Add user ID to GET RunSet response

Do we need AppSec approval for this since it involves user ID? Its possible we don't because this is ID and not any actual user data 🤔

Good point - I will ping them on the ticket to see if they have any qualms.


Chinh/update vertica image

This PR updates the Vertica image to 20240606 to avoid replication errors from the server side. This is a temporary fix, and we will revert this change after fixing the issue on the server side

e2e-leg-9-vcluster already passed after we downgraded the Vertica image. It is ready for review now, and I hope to merge this PR today to avoid blocking replication progress

e2e-leg-9-vcluster already passed after we downgraded the Vertica image. It is ready for review now, and I hope to merge this PR today to avoid blocking replication upgrade progress

Could we update the PR title to emphasize that this is a temporary change meant to be reverted later?

e2e-leg-9-vcluster already passed after we downgraded the Vertica image. It is ready for review now, and I hope to merge this PR today to avoid blocking replication upgrade progress

Could we update the PR title to emphasize that this is a temporary change meant to be reverted later?
The PR title already mentioned that this is a temporary fix and will revert this change after the server side fix the issue

e2e-leg-9-vcluster already passed after we downgraded the Vertica image. It is ready for review now, and I hope to merge this PR today to avoid blocking replication upgrade progress

Could we update the PR title to emphasize that this is a temporary change meant to be reverted later?
The PR title already mentioned that this is a temporary fix and will revert this change after the server side fix the issue

Yes I mean update the title, not description, as descriptions are not that obvious to see when you only look at titles of all PRs or search for titles of PRs.

looks good, should be able to unblock e2e tests on GitHub CI (assuming the failed udx test is not related to this PR and will be fixed in another PR)


version 0.6.0 Alpha quickly finds tactics

just by chance i happened to test your new version v0.6.0 and the PR-192 alpha version , giving both this position :
r1q2k1r/p3R1pp/2n5/1p3pB1/2pp4/2P5/3Q1PPP/4R1K1 w - - 0 21

here Bh6 is clearly best move.
newest v0.6.0 finds it at depth 14 after 20 seconds,
Alpha even at depth 11 after 4 seconds !?
i test in CuteChess with infinite time.
a few strong engines do NOT find the "solution" to this position, or only after a long time.
i don't know if this can help you in any way.
it just happened here and i want to share it.
is LMR involved ? i have no clue ..
[ i'm on Xubuntu 22.04 ]

Interesting position. Thanks for letting me know!
I tested it with a few older versions: Both 0.4.0 and 0.5.0 find it at depth 9. It's probably due to pruning. Version 0.6.0 adds late move reductions and futility + reverse futility pruning at higher depths.

here are 3 other puzzle positions which i used to test engines - they all have a "solution" which is clearly best.
see the results for Fatalii v0.6.0 and its Alpha below.
i attached my ZIPped screenshots, which give evaluation details when depth is climbing : 3-puzzles.zip

r1bqk2r/pp1n2bp/2p3p1/4pp2/2P5/2N1PNP1/PPQ2PP1/2KR1B1R w kq - 0 1

solution : g4 (=clearly best move)
0.6.0 finds it after 9 minutes at depth 17
Alpha finds it after 3 seconds at depth 9 (and 10,11) BUT then it finds OTHER moves to be best..

7Q/p2r4/kp6/4Bp2/P3b3/KP1q4/8/2R5 w - - 0 1

solution: Rd1 (=clearly best move)
0.6.0 finds it after  2 seconds at depth 13
Alpha finds it after 27 seconds at depth 15

4k3/2p1np2/p4qrp/3Bp3/4P1b1/2P1Q3/Pr1N1PP1/1R2R1K1 b - - 0 1

solution: Nxd5 (=clearly best move)
0.6.0 finds it after 94 seconds at depth 17
btw. BUT after 7 minutes at depth 18 it sees this move is CLEARLY better for Black.
Alpha finds it within 3 minutes at depth 14
btw. BUT after 13 minutes at depth 17 it sees this move is CLEARLY better for Black.


N1: Suggested Consistent Naming for reserveBlacklistBitmap

fixed in https://github.com/Kinza-Finance/KZA-lending/pull/55


parse images that aren't from WC Wordpress

What is this PR trying to achieve?
Parsing images that aren't from the WC blog.
e.g. https//i1.wp.com/www.sciencemuseum.org.uk/HoMImages/Components/400/40024_3.png
on: https://next.wellcomecollection.org/articles/mummies-revealed
What does it look like?

Merging as it's throwing errors.


JAVA-2263: Add optional schema validation

This got closed because I deleted the java2078 branch, reopening as #1279.


wsl.conf - Backslashes need to be escaped

Version
Microsoft Windows [Version 10.0.22000.434]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2+
Distro Version
Ubuntu 20.04
Other Software
/etc/wsl.conf:

[boot]
command="echo ':qemu-arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:CF' > /proc/sys/fs/binfmt_misc/register"

Repro Steps
Apply the above command to your wsl.conf and restart WSL.
Expected Behavior
Command runs succesful handing over the echo command for registration.
Running this command as root user or with the help of sudo tee does work.
Actual Behavior
Nothing happens; interpreter is not registered.
(If I divert the echo command to a file, e.g. >/home/user/register.txt, the file is not created, too.)
Diagnostic Logs
It turns out that the backslash \ needs to be escaped (\\).
The documentation only advises this for Windows paths.
Since the command is within double quotes (") and the text part itself within quotes (') there should be no need of escaping backslashes.

Well, but I think that you should use bash -c to wrap your command

It's really rude to close an issue which was here for 2 years but still no one responded.


summoner spells are not showing

everything works fine ! but the summoners spells are not showing at all when i'm picking please help

nvm i got it ! in the config.conf file i just needed to change "summonerSpellsDisplayStrategy":"BanPick"


Additional events

For example:

DialAddr(peer, multiaddr)
Dial(peer)
Error(type, peer, multiaddr)

I wish to have something like Connecting(Network, Conn) bool that will either permit the connection to be made or simply denying the connection. (Since there can be more notifee objects, the resulting action can have some logic behind like: if one notifee returned false, the connection will abort, if there are no notifees, permit all peers to connect).
This might prove useful when trying to forbid some peers to connect to current node. The reason for this "denial" can be: to many connections, the peer has bad reputation or to slow, and so on.
Implementing a "quite dummy" node bootstrapper, I found out that one peer successfully connects to other peer just to find out that the other peer closed the connection after a couple of ms

This would close https://github.com/ipfs/go-ipfs/issues/1972

https://github.com/libp2p/go-libp2p/issues/653


Semantic Models

Please update "datasets" to this new terminology.

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

ID: d47e61c8-a5b8-0a8b-06dd-c242a0acd06c
Version Independent ID: e80385c1-b254-525d-b5ec-2b653e7763d8
Content: What is a virtual network (VNet) data gateway (Preview)
Content Source: data-integration/vnet/overview.md
Service: virtual-network-data-gateway
GitHub Login: @nikkiwaghani
Microsoft Alias: nikkiwaghani

Thanks @VitalyMCT for pointing this out. The updates have been made to the gateway docs now. #please-close


new component WebSocketPusher

A per-user buffer that is asynchronously flushed to the websocket.
Does not support concurrent writers, an external synchronization mean must be provided if several thread should write to it

Integrate with another merge request :
https://github.com/PonySDK/PonySDK/pull/221


[Request] Add vcpkg

C++ package manager

vcpkg work similar way as scoop. It means, there is no release and they manage updates using git pulling.
Creating vcpkg manifest would be easy to install. It should be just nighly version with these steps:

URL with actual master zip extracting
Install

Run steps from Quick Start in installer.script

Run bootstrap
Run integrate install

But problem is with updating. Updating with force parameter would be possible, but it would be not efficient, since it will be installed on every updating.
Updating using git pull is best way, but require register alias (like scoop upvcpkg), which should stand for Push-Location (scoop prefix vcpkg); git pull; Pop-Location. And it need to be executed manually.

This issue belongs in the Main bucket. Unfortunately, we cannot move this issue on this end, so it is being closed.
If this is still an issue, please create a new issue in the Main bucket via https://github.com/ScoopInstaller/Main/issues/new?body=Moved+from+https%3A%2F%2Fgithub.com%2Flukesampson%2Fscoop%2Fissues%2F2946


Netdata Prometheus endpoint works with 1.5.2 but not 2.0.0

What did you do?
Configure Prometheus to scrape from a local netdata (https://github.com/firehol/netdata) server acting as Prom exporter
What did you expect to see?
Netdata metrics
What did you see instead? Under which circumstances?
Under Prom 1.5.2, it worked.
Under Prom 2.0.0 Alpha 2017-04-10, I only got the 1st metric
Environment
Ubuntu 16.04

System information:

Linux 4.4.0-66-generic x86_64

Prometheus version:

prometheus, version 1.5.2 (branch: master, revision: bd1182d29f462c39544f94cc822830e1c64cf55b)
build user:       root@a8af9200f95d
build date:       20170210-14:41:22
go version:       go1.7.5
--- and ---
prometheus, version 2.0.0-alpha.0 (branch: master, revision: ece483c0c1f2ad11e7dc749ea958669b0914c1c3)
build user:       root@cd2fcfcce982
build date:       20170410-11:14:31
go version:       go1.8

Prometheus configuration file:

# my global config
global:
  scrape_interval:     15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
  evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
  # scrape_timeout is set to the global default (10s).

  # Attach these labels to any time series or alerts when communicating with
  # external systems (federation, remote storage, Alertmanager).
  external_labels:
      monitor: 'codelab-monitor'

# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
  # - "first.rules"
  # - "second.rules"

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  - job_name: 'prometheus'

    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.

    static_configs:
      - targets: ['localhost:9090']

  - job_name: 'netdata-scrape'

    metrics_path: '/api/v1/allmetrics'
    params:
      format: [prometheus]

    static_configs:
      - targets: ['localhost:19999']

Logs:
Nothing in journalctl -u prometheus - how to enable better debug logging on Prom 2?
Exporter output:

root@ip-10-8-128-62:/var/log# curl -v http://localhost:19999/api/v1/allmetrics?format=prometheus
*   Trying <IP_ADDRESS>...
* Connected to localhost (<IP_ADDRESS>) port 19999 (#0)
> GET /api/v1/allmetrics?format=prometheus HTTP/1.1
> Host: localhost:19999
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Connection: close
< Server: NetData Embedded HTTP Server
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true
< Content-Type: text/plain; version=0.0.4
< Date: Tue, 11 Apr 2017 16:41:27 GMT
< Cache-Control: no-cache
< Expires: Tue, 11 Apr 2017 16:41:28 GMT
< Content-Length: 134863
<

# TYPE disk_qops_xvda_operations gauge
disk_qops_xvda_operations{instance="nlog2"} 0<PHONE_NUMBER>880

# TYPE services_throttle_io_ops_write_system_slice_mdadm_service counter
services_throttle_io_ops_write_system_slice_mdadm_service{instance="nlog2"} 0<PHONE_NUMBER>879
# TYPE services_throttle_io_ops_write_system_slice_dbus_service counter
services_throttle_io_ops_write_system_slice_dbus_service{instance="nlog2"} 0<PHONE_NUMBER>879
# TYPE services_throttle_io_ops_write_system_slice_uuidd_service counter
services_throttle_io_ops_write_system_slice_uuidd_service{instance="nlog2"} 0<PHONE_NUMBER>879
# TYPE services_throttle_io_ops_write_system_slice_cron_service counter
services_throttle_io_ops_write_system_slice_cron_service{instance="nlog2"}<PHONE_NUMBER>886879
...

Only disk_qops_xvda_operations shows up in the Prom 2.0.0 GUI as an available item to Console/Graph not services_throttle_io_ops_write_system_slice_mdadm_service, both appear  in Prom 1.5.2.

@fabxc Is this because we are assuming that the data from a single scrape has data only for a single timestamp? Ref: https://github.com/prometheus/tsdb/issues/11#issuecomment-289522370

For easy repro, you can use the public netdata instance at london.my-netdata.io in place of my localhost:19999, i.e. http://london.my-netdata.io/api/v1/allmetrics?format=prometheus.
Anecdotally this often returns identical timestamps for the first few metrics at least, e.g.:
# TYPE ipv4_bcastpkts_InBcastPkts counter
ipv4_bcastpkts_InBcastPkts{instance="london_my_netdata_io"} 6<PHONE_NUMBER>903
# TYPE ipv4_bcastpkts_OutBcastPkts counter
ipv4_bcastpkts_OutBcastPkts{instance="london_my_netdata_io"} 0<PHONE_NUMBER>903

# TYPE ipv4_bcast_InBcastOctets counter
ipv4_bcast_InBcastOctets{instance="london_my_netdata_io"} 1968<PHONE_NUMBER>903
# TYPE ipv4_bcast_OutBcastOctets counter
ipv4_bcast_OutBcastOctets{instance="london_my_netdata_io"} 0<PHONE_NUMBER>903

... but I only see the very first metric ipv4_bcastpkts_InBcastPkts as an option in the dropdown on Prometheus's Graph UI.

Yes, that is because the Prometheus 2.0 uses a new parser that does not speak timestamps yet.
Definitely my bad for forgetting to point this out in the blog post.
We should very much have this available in the next alpha.

Thanks - will wait for that to retry.

Added in #2661


fix: EC2 create security group in correct vpc

Currently the securty group is created in the default vpc. If we provide
a non-default vpc_subnet_id for the Molecule instance the security group
and instance will be in different vpcs and the instance creation will
fail with:
"msg": "The following group names are not valid: molecule"

Patch the module to create the security group in the same subnet as the
instance.
Please include details of what it is, how to use it, how it's been tested
PR Type

Bugfix Pull Request

This is not ready for review yet... I pulled the trigger too early


Cross-Origin-Resource-Policy "cross-origin" not present in workbox-strategies.dev.js

Unable to make my website "cross-origin isolated" using COOP and COEP.
https://web.dev/coop-coep/
Resource:
https://storage.googleapis.com/workbox-cdn/releases/XXXXX/workbox-strategies.dev.js
Error:
To use this resource from a different origin, the server needs to specify a cross-origin resource policy in the response headers.
Missing response header:
Cross-Origin-Resource-Policy: cross-origin

Hello—I just tried to set that Cross-Origin-Resource-Policy "cross-origin" header on a test Google Cloud Storage item (which is what we used for the "CDN" copy of Workbox), and unfortunately, it does not appear possible at the moment. If you attempt to set that header metadata, it ends up being served with an x-goog-meta- prefix in the response headers, and described in the documentation.
I'll follow-up with the Google Cloud Storage team to see if there are any plans to add official support for that header.
In the meantime, you have a couple of options:

Use Workbox's CLI to obtain a local copy of the Workbox libraries that would otherwise be loaded from the CDN, and serve those via your own web server, which would make them same-origin. This can be done by running npx workbox-cli copyLibraries . and then following the documentation for setting the modulePathPrefix in workbox-sw.

Instead of loading the Workbox libraries via workbox-sw, compile your own bundle consisting of the Workbox runtime plus the code you write yourself that uses Workbox. There's documentation describing that process as well, but it does require adding in a build step to your project, which could mean extra work if you're not already using a bundler.

It's taking some time to figure out whether we will have a path forward for setting those headers on the Google Cloud Storage responses.
In the meantime, for Chrome 93-95, there's an origin trial of "Cross-Origin-Embedder-Policy: credentialless" that you could sign up for at https://developer.chrome.com/origintrials/#/view_trial/3036552048754556929
I believe that if you opt-in to that origin trial you should be able to use those advanced security guarantees without the Google Cloud Storage server response needing to include that header.

Hi there,
Workbox is moving to a new engineering team within Google. As part of this move, we're declaring a partial bug bankruptcy to allow the new team to start fresh. We realize this isn't optimal, but realistically, this is the only way we see it working. For transparency, here're the criteria we applied:

For PRs, we closed everything that doesn't target the current v7 branch.
For Issues, we closed everything that was created before 2024.

Thanks, and we hope for your understanding!
The Workbox team


"disable encryption" keeps clearing all user data constantly

With the "disable encryption" flag enabled, I am signed out of all websites every single time the browser restarts (including the first time I enable the flag). Seems like this completely disables all storage, not just encryption. Which wiped all my existing data too.
"Clear cookies and site data when you close all windows" is disabled.
Version info:
113.0.5672.64 (Official Build, ungoogled-chromium) (64-bit)
--
Revision | e6fa0718bd03d42cea41d215368c00823faaccc9-refs/branch-heads/5672@{#913}
OS | Windows 11 Version 22H2 (Build 22621.1485)

Looks like this only affects cookies, not localStorage. Certain sites like Discord and Disney+ seem to retain their logins even when everything else is wiped. IIRC, this is also consistent with the behavior of Chrome refusing to load a "corrupted" / "tampered" profile (though it doesn't create the popup in settings).


add optionnal zmq SNDBUF and RCVBUF

So we have to find the settings to put in
https://github.com/Universite-Gustave-Eiffel/Rail4Earth/blob/main/services/zero_record.py
https://github.com/Universite-Gustave-Eiffel/Rail4Earth/blob/main/services/rpi_systemd/zerorecord.service


per task tags would be nice

right now if I do this:

[ ] task a #foo
[ ] task b #bar

I get both foo and bar tags on the file, and so search for any will find both tasks

Actually, I figured out a simple way to hide the tasks from the page by enclosing in outer code-block.
admonitions work well:

```ad-note
title: some tasks

- [ ] foo #foo
- [ ] bar #bar

```

this hides the tasks from the page, so the task tags are not parsed, but dataview still sees them. I think dataview should parse the tags in this case and add to the individual tasks.

For me, from the dataviewjs side of things, it would be helpful to have two concepts at the file level:

all tags found in the file (current behavior of file.tags and file.etags)
file-level tags (only those tags in the frontmatter, or maybe any tags throughout the document that are not on a list?
list item / task level tags array - pre-extracted - right now I accomplish this with item.text.contains('#tag')

Use-case for me is building a "timeline" table - finding all items that are either in a file tagged #timeline or in an item tagged #timeline. This conceptually works pretty well, I can have a general timeline file for simple stuff, while also embedding timeline entries in other notes. Just right now, I have to use a special file-level tag, since I can't distinguish a tag at the file level vs. list item/task level.

Hello,
sorry to come back to you so late. I currently go through older issues to see which are stale or already solved.
This is available. You can query specific tagged tasks with help of
task
where contains(tags, "#blah")

and on DVJS, you have the tag information available on the task element:
{
    "symbol": "-",
    "link": {...},
    "section": {...},
    "text": "yup #blah",
    "tags": [
        "#blah"
    ],
    "line": 12,
    "lineCount": 1,
    "list": 10,
    "outlinks": [],
    "path": "2022-12-02.md",
    "children": [],
    "task": true,
    "annotated": false,
    "position": {...},
    "subtasks": [],
    "real": true,
    "header": {...},
    "status": " ",
    "checked": false,
    "completed": false,
    "fullyCompleted": false
}

I'll close the issue as resolved. If you still see any problem here, please comment on the issue with details on what is not working as expected and I'll reopen your report.


PSReviewUnusedParameter: Added command traversal option

PR Summary
Proposed resolution of the issue of PSReviewUnusedParameter not traversing into scriptblocks of common commands such as Where-Object or ForEach-Object (#1472).
Implementation:

Added a new rule setting: traverseList (string[]). Scriptblocks provided as parameter to one of the listed commands will also be  checked for variables.
Added Where-Object and ForEach-Object explicitly to the list of commands to traverse

Notes & Thoughts
This is currently not too refined, but works for what it does.
Does not address $using use in Invoke-Command or other edge cases (e.g. ForEach-Object -Parallel).
But it does solve the problem for the most common everyday usage and allows extensibility for people with custom needs (e.g. I'm going to explicitly include Invoke-PSFProtectedCommand).
Also does not cover special cases, such as calculated properties of Select-Object. Or scriptblocks stored in variables and later used as argument for commands that are whitelisted. Maybe more detailed configuration options needed for cases like that.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .cs, .ps1 and .psm1 files have the correct copyright header
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed and/or updated documentation
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

@FriedrichWeinmann We plan to release later this month so if you could add some tests, we could potentially merge and ship this in time?

Sorry about the delay, added tests


[LiveComponent] Add a note about render:finished event

The render:finished event is not dispatched when the component is initially rendered in Twig
As a couple of users have missed this information while reading the documentation, I suggest a little admonition to emphasis it :)

Thanks Simon.


[Android] [Image] tintColor is broken

Setting tintColor on Android has no effect.
iOS:

Android:

Sample app: https://rnplay.org/apps/oA7vIg

Can you give it border radius of 1 or some small value?
cc @kmagiera This might be a known problem. Is it easy to fix?

It works with a border radius of 1, thanks for the workaround :+1:

@ide I've found that if the Image component has resizeMode="contain", having borderRadius: 1 in style doesn't fix it. Haven't test with other resizeMode values.

Seems that the fix also doesn't work if the Image component is wrapping any children component.

I bet this could end up being easy to fix because tintColor is already implemented -- it just doesn't activate in certain cases. If there's a performance reason (the tint color code path is slower) then we could apply the tint color only when tintColor is set. I'm going to mark this as Help Wanted.

This seems to be working in latest master. But shows wrong warning
Failed propType: Invariant Violation: Invalid props.style key `tintColor` supplied to `Image`.

Yes it looks like it doesn't have the correct style props like on iOS

This an old thread, but I find it still does not work on Android sometimes. I've tried adding borderRadius: 1 and removing the resizeMode="contain" but still nothing.
Is it size dependent by chance? I have one component with larger (60x60) images where it works, but another component with smaller images (14x14) where it doesn't.
I'm using React Native 49.5.

HI! I'm having the same issue here. Any updates?
I'm using ReactNative 0.51.0


Bug corner case cause the mark join + null aware left join core dump in regression test in pipeline query engine (#25087)

Proposed changes
cherr-pick: #25087

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 48.97 seconds
stream load tsv:          556 seconds loaded<PHONE_NUMBER>9 Bytes, about 128 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.8 seconds inserted 10000000 Rows, about 335K ops/s
storage size:<PHONE_NUMBER>3 Bytes


Add example of training a model on CIFAR10

https://github.com/shagunsodhani/torch-template/commit/7e01e48d6694cbade260ebfb2573d36217abb40a


Edited index.js

Fixed grammar issue with 'great good' and spelled out RPi as Raspberry Pi (RPi) Zero.

The spelling out of Raspberry Pi is nice, but I'm for keeping the Haskel joke :)

Yes, it was a hat tip to that book. This change sort of takes the punch out of the punchline :-)
Plus, the device is commonly abbreviated that way (even "Pi Zero").

So this joke went right over my head. I don't know how many people will get it, so perhaps we can remove this from the front page and put it somewhere else?


Current course does not appear in web app.

I'm currently enrolled in CS50x, but it does not show up in the web app:

Thanks.

Did you join OSSU before curriculum upgrade to 3.0 #316 ?
According to this issue open-source-society/ossu-client#42 this course will be added only for newly registered users.

Yes.  Sounds like I would need to "de-register" and re-register.

Is there any way to upgrade existing user's accounts or does everyone have to be manually moved.

@johnaoss currently there is no way to automatically update user profiles. this is one of features that is work in progress.

@SergeyKhval please tell me exactly what I need to do to get on the 3.0 curriculum.

@SergeyKhval Can I get some help on this one?

@SergeyKhval @johnaoss @erictherobot @jonathantorres @nickcannariato  Any help?

@SergeyKhval I am new member, how do I edit my progress?? I have same issue with #325

I'll close this issue because it's related with our web-app.
Feel free to reopen that issue here.


Security/SecureTransport.h compilation error

I'm trying to compile your project on linux and I get Security/SecureTransport.h: No such file or directory
How I can fix that ?
Sorry if it's a basic question but I have only few knowledge in c++.

I ran into this as well, and it looks like SecureTransport.h is a OSX-specific header file / library, e.g. https://github.com/Apple-FOSS-Mirror/Security/blob/master/libsecurity_ssl/Security/SecureTransport.h


Add RISC-V support in TKG

The change is used to set up the test environment
on RISC-V.
Signed-off-by: Cheng Jin<EMAIL_ADDRESS>

The main changes in ottawa.csv:
(1) only enable NoOptions for RISC-V (all other modes are basically disabled)
(2) add mode195 to ensure it is only disabled on RISC-V.
Note: the value of SPEC uses riscv-64 instead of riscv64.
If we agree to change to riscv64, then https://github.com/AdoptOpenJDK/TKG/blob/master/src/org/openj9/envInfo/JavaInfo.java needs to be updated to support this.
public String getSPEC() {
...
String model = System.getProperty("sun.arch.data.model");
System.out.println("System.getProperty('sun.arch.data.model')=" + model + "\n");
if (Integer.parseInt(model.trim())==64) {
spec += "-64"; <----- to be updated for riscv64
spec = spec.replace("arm-64", "aarch64");
}
Reviewer: @llxia
FYI: @ShelleyLambert , @sxa

As confirmed by @smlambert, the SPEC for RISC-V has changed to riscv64 to align with the naming of buildspec in OpenJ9.


Update docs for pyaaf2

Just fixing an oversight - when we moved to pyaaf2 we forgot to update the docs with new instructions on how to get the library and use it with OpenTimelineIO

Addresses #552


Broken hydrology recipes due to iris.exceptions.NotYetImplementedError: Coord AuxCoord

With new version of iris, the hydrology recipes recipe_wflow.yml and recipe_marrmot.yml are broken because the script derive_evspsblpot.py returns the error:
Traceback (most recent call last):
  File "/home/sarah/GitHub/ESMValTool/esmvaltool/diag_scripts/hydrology/marrmot.py", line 172, in <module>
    main(config)
  File "/home/sarah/GitHub/ESMValTool/esmvaltool/diag_scripts/hydrology/marrmot.py", line 118, in main
    pet = debruin_pet(
  File "/home/sarah/GitHub/ESMValTool/esmvaltool/diag_scripts/hydrology/derive_evspsblpot.py", line 94, in debruin_pet
    delta_svp = tetens_derivative(tas)
  File "/home/sarah/GitHub/ESMValTool/esmvaltool/diag_scripts/hydrology/derive_evspsblpot.py", line 35, in tetens_derivative
    exponent = iris.analysis.maths.exp(emp_a * tas / (emp_b + tas))
  File "/home/sarah/anaconda3/envs/esmvaltool/lib/python3.8/site-packages/iris/coords.py", line 452, in __add__
    return self.__binary_operator__(other, self._MODE_ADD)
  File "/home/sarah/anaconda3/envs/esmvaltool/lib/python3.8/site-packages/iris/coords.py", line 425, in __binary_operator__
    raise iris.exceptions.NotYetImplementedError(emsg)
iris.exceptions.NotYetImplementedError: Coord + AuxCoord

I explained the bug here SciTools/iris/issues/4000. As a workaround, the script derive_evspsblpot.py needs refactoring.

I made a PR refactoring derive_evspsblpot.py . Now, both recipes runs are successful. The differences between time series of pet obtained by this PR [and esmvalcore 2.2.1 and iris 3.0.1] and pet obtained by original script [and esmvalcore 2.0.0 and iris 2.4.0] are negligible, shown in this figure
.


Does NOT work with Power BI as stated

This page contains a statement "Other tools or services like SSIS, SSRS, or Power BI will work with graph tables, just the way they work with relational tables.".  I disagree from a Power BI standpoint.
Power BI will NOT import Graph Tables the same as relational tables.  This post [https://www.sqlshack.com/plot-sql-server-2017-graph-database-using-powerbi/] highlights a potential mitigating method, but the base concept that it works the same is not true as an error is given by Power BI when the graph table is requested to be imported.

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

ID: 4a893981-46bb-c010-6d63-39eee88dcf91
Version Independent ID: 8bacd3f7-6793-3316-6a31-3e599d209821
Content: Graph processing - SQL Server and Azure SQL Database
Content Source: docs/relational-databases/graphs/sql-graph-overview.md
Product: sql
GitHub Login: @shkale-msft
Microsoft Alias: shkale

@LindaLF -- thank you for your research and feedback.
@shkale-msft -- please look into this issue 3623.

You can't import the tables themselves, but you can import the view which describes the relationships.

@LindaLF I'm closing this PR per the previous comment, but if you have any concerns or comments on this, please let me know.


Module Renamed

The module is renamed to dbaclone to be more in line with the dbatools module and other modules that will be released/developed.
A new version of the module can be downloaded through the PowerShell Gallery
Install-Module dbaclone -Scope CurrentUser

There could be an error that there are already commands similar to ones present in the dbaclone module. If that's is the case, please remove the module "PSDatabaseClone" from your computer.

Module successfully renamed


Access violation exeption

When client disconnect the send function throws an exception in 'cancel_timeout()' - 'std::unique_lockstd::mutex lock(timer_mutex);' row.
The exception is:
"Exception thrown at 0x09643473 (msvcp140d.dll) in mtsrv.dev.exe: 0xC0000005: Access violation reading location 0xDDDDDDDD."
This happens when client disconnected at the same time when server is sending data.

Thank you for reporting this. Do you have the full backtrace?
Also, if you have a simple test case reproducing this access violation it would be great. I failed to reproduce this error on Linux and MacOS.

I get this error on Windows 10 build 16299
SimpleWeb::SocketServerBase<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,boost::asio::stream_socket_serviceboost::asio::ip::tcp > > >::Connection::cancel_timeout()
SimpleWeb::SocketServerBase<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,boost::asio::stream_socket_serviceboost::asio::ip::tcp > > >::Connection::send(const std::shared_ptr<SimpleWeb::SocketServerBase<boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp,boost::asio::stream_socket_serviceboost::asio::ip::tcp > > >::SendStream> & send_stream, const std::function<void __cdecl(boost::system::error_code const &)> & callback, unsigned char fin_rsv_opcode)

I'm no help here sadly since I do not use Windows, and to me it seems like a boost on Windows issue. Maybe upgrading boost will help? Hopefully, someone with Windows background can look into this.


Typeorm adapter improvements

Hi @stalniy!
I've added some improvements to typeorm adapter.
We have been using a version of ucast with these changes in our application for a few months now and it seems to work fine.
I opened a single PR with all the improvements split in different commits, let me know if you prefer separated PRs.

Hi,
Thank you for the contribution. I will take a look at it but it will take some time

👍  sure, np!


Questions on the proper use and handling of done callbacks

Preface: trying to use choo on a project, and I'm somewhat confused, on several levels, about the proper usage of the done callback in effects and how it relates to the callback provided in the send method.
Here are my particular questions and areas where I'd appreciate some clarifications:

In an effect handler, I understand the need to pass the done cb to subsequent send calls, to maintain the chain and allow errors to propagate upwards. But how should I handle the cb if I want to send 2+ actions from a single effect (e.g. I make an API call which returns data applicable to two separate models)? The following seems incorrect, but I'm not sure what the correct behavior should be:

myeffect: (state, data, send, done) => {
    ... make call to server ...
    send('foo:update', newFoo, done);
    send('bar:update', newBar, done);
}

Aside from effects sending actions to reducers, we often send actions from views. Presumably the send provided to views is the same send provided to effects. So that implies that one could provide their own callback to be called once the sent action has completed. My question is if there's is any common/encouraged use for this? I could imagine using it to update the html/UI if an error was encountered (which seems generally useful). But I could also imagine that such usage could present a race with the view being retriggered (because the state changed) and all sorts of unpredictable/undesired behavior occurring...

Are there any examples of applications making use of the done callback in a non-trivial manner? It would be great to have something to reference to, and none of the examples in this repository seem to make use of it (there are cases of passing it an error, but as far as I can tell nothing acts on that error).

Thanks!

Hey @oderby :wave:
Typically what I do when I need to call subsequent send functions is something like this:
myeffect: (state, data, send, done) => {
  send('foo:update', newFoo, function () {
     send('bar:update', newBar, done)
  })
}

I also really like this idea in github-feed where @timwis uses run-series like this:
checkCookie: (send, done) => {
  const token = Cookies.get('token')
  if (token) {
    series([
      (cb) => send('receiveToken', token, cb),
      (cb) => send('fetchUser', cb)
    ], done)
  }
}

I hope this helps 🌴

Yeah, that answers my first question. Thanks!
Still curious about 2 and 3 though...

@jekrb is right, in that you need to nest callbacks and finish by calling done once everything is asynchronously completed.
I don't think the send passed to views or to effects is the same as the one passed to effects. The latter type expects a callback to invoke when it finishes, since effects are asynchronous whereas views and reducers are not. I'm pretty sure this is correct at least, if not I hope e.g. @yoshuawuyts will chime in and set me straight :)
What would you learn from examples of non-trivial use of the done callback? It's the same pattern as for Node callbacks. As @jekrb explained, you will need already to nest callbacks until there are no more asynchronous operations pending, at which time you can call done to signal that your effect is finished. Do you mean examples of acting upon errors passed to done??

Oh, yeah. Question 3 assumed that the send used in views took a callback,
so they could handle errors. So I was curious if there were canonical
examples of why that would be useful and how that'd be used. It seems like
it could be something thats better handled by some error-tracking state
instead.
But if it is as you say and the send in views doesn't take a callback, then
I'm curious where in application you could place such error handling logic?
I guess you could put it at each error- producing site, but then that seems
to defeat the purpose of passing the error back via the callback.
On Feb 19, 2017 2:46 PM, "Arve Knudsen"<EMAIL_ADDRESS>wrote:

@jekrb https://github.com/jekrb is right, in that you need to nest
callbacks and finish by calling done once everything is asynchronously
completed.
I don't think the send passed to views or to effects is the same as
the one passed to effects. The latter type expects a callback to invoke
when it finishes, since effects are asynchronous whereas views and reducers
are not. I'm pretty sure this is correct at least, if not I hope e.g.
@yoshuawuyts https://github.com/yoshuawuyts will chime in and set me
straight :)
What would you learn from examples of non-trivial use of the done
callback? It's the same pattern as for Node callbacks. As @jekrb
https://github.com/jekrb explained, you will need already to nest
callbacks until there are no more asynchronous operations pending, at which
time you can call done to signal that your effect is finished. Do you
mean examples of acting upon errors passed to done??

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/choo/issues/417#issuecomment-280956279,
or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABSd9t7JxPxJDl6JXM0iZtjSNlKZirY_ks5reMZUgaJpZM4MEvZJ
.

In async views you don't need any special mechanism for signaling errors; you can either throw exceptions or use whatever other method.

@aknuds1 @jekrb Hi! 👋
Question: Why does one needs to call done even if there is no error? From the docs:

When an effect or subscription is done executing, or encounters an error, it should call the final done(err, res) callback.

@jbucaran As you see from the documentation, you should call done when an effect or subscription has finished executing, if it encounters an error or not. Since effects and subscriptions are asynchronous, you have to call done signal that they have finished.

@aknuds1 Yup, yup. I can see calling it makes sense if there is an error; what I can't wrap my head around is calling it when there are none.
My reasoning is: effects don't cause the view to re-render, so go fetch some data from some server and when you have the data just trigger a reducer, but if no further actions will be sent, then why call done?

@jbucaran It can be difficult to say exactly why you need to call done technically since it depends on Choo's implementation at any given time, but I think so long as the documentation states that you have to do it just go with it.
Also, you might want to call something else after an effect has finished, for example another effect, and this won't happen unless your first effect calls done.

Also, you might want to call something else after an effect has finished, for example another effect, and this won't happen unless your first effect calls done.

Absolutely. After some async task, update the view, etc. That's what most effects will be doing anyway.
Now, obviously, there can be effects that don't need to call further actions (at least the reducer kind). I can't think of a convincing example off the top of my head, but that's a situation in which calling done feels quirky.

So long as the documentation states that you have to do it just go with it.

Haha good one! 👋

I don't think signalling that an async function has finished is ever quirky. It's simply less error prone? :) It's better not assuming you won't need to know when an async function has finished, since as you know code changes all the time.

It's simply less error prone is it not?

🤔 I've been known to be wrong a lot, but I'm not so sure about this one this time.
Allow me to regress. Inside the effect, inside the async task you know when things are done or not, which is to say, you totally know when you'd need to call further actions to update the model (and re-render the view).
Since choo's effects don't re-render the view, then I see no advantage for them to know when an async task is done, unless the framework had some out of the box glue that let you chain effects or something like that (but it doesn't).

@jbucaran Your effect shouldn't know if it's being called by another asynchronous function though, should it?

@aknuds1 Hmm, I get it now 😄. I've been totally under the impression folks were using promises or async functions for these coordinating multiple async tasks inside effects.

@jbucaran Wondering if I'm missing something. Wouldn't you need for effect 1 to call done in order to be able to call effect 2 once it finishes?

@aknuds1 No, if your effect returns a promise or is an async function (which does it under the hood).

@jbucaran But you call the effect via send which does not return a Promise, but rather communicates via a done callback?

Ah, you are totally right! 🙇
I was betrayed by my own bias. In hyperapp, actions are "wrapped" so that effects return whatever value the effect function returns. So, I can chain promises or use async functions.
It still bugged me that choo required a done callback; I thought am I doing something wrong? But after:

@aknuds1 But you call the effect via send which does not return a Promise, but rather communicates via a done callback?

It makes sense now.

Yeah, it's Node style, not based around promises :)

Inside joke? Promise support has been in Node.js since 0.12.18 and it's pretty decent now. async/await just landed as well.

Well, classical Node style then.

Closing because choo@5 will introduce a new API. See #425 for the merged PR. Thanks!


Add momoAI to machine learning

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not have more than 100 characters
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Hi @basilroy76
Thanks for your contribution ;)
We have some problems with Public APIs, so we won't be able to review/add this improvement right now.
Read this issue for more information, please: https://github.com/public-apis/public-apis/issues/3104


[stable/postgres] Generate password when postgresqlUsername is not postgres and postgresqlPostgresPassword is empty

Signed-off-by: Faik Uygur<EMAIL_ADDRESS>Is this a new chart
No
What this PR does / why we need it:
If postgresUsername is overridden the user will not be a super user, in order to use postgres user postgresqlPostgresPassword has to be provided, but if it is empty it is not auto generated like   postgresql-replication-password or  postgresql-password.
Which issue this PR fixes
NA
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test
/lgtm


How to do get genre_tag of a song/track ?

Hi. I am Priyansh. I just now installed the library and wanted to extract genre for a given song/track name as input (search query). I cannot see anywhere the functionality to get genre tags for a track.
We can do the same for album but not for track. Is your implementation complete or spotify doesn't provide the genre info. of track ? Meanwhile I find a bug in the api docs. The genres attribute should changed to genre for the album class else it will give the error

Spotify doesn't provide genres for specific tracks, only artists and albums.
You could get the genre from the album of a track track.album.genres


how to run examples containing c code on an actual hardware? (not an emulator like qemu)

Thank you for the amazing tutorial and sharing your knowledge.
It works fine with me on qemu.
Out of curiosity I wanted to try the examples on an actual laptop and I copied the os-image.bin using the dd command to a usb flash. But it works only until the examples of using assembly languages. Starting from compiling c code, the laptop restarts after trying to boot from usb.
I think the problem is with --target installation for binutils and gcc, which make me come up with a question why do you specifically use i386? And Should it work on a 64 bit process or is it impossible?
How to match my hardware with the correct --target?
I don't know if it's worth to say but the examples run successfully on both qemu-system-i386 & qemu-system-x86_64.

The problem is probably what you mentioned i.e. examples use gcc to compile the code for the i386 architecture alone and your machine may be a 64 bit one. In case you might be interested, you can get it running on VirtualBox which is almost equivalent to running on actual hardware. To do so, use dd to create 1.44MB file to simulate a floppy disk and boot from that file in VirtualBox.

x86 is backwards compatible; 32-bit code will run on 64-bit machines, how do you think 16-bit real mode runs for the bootloader?
One thing you should try is clearing the segment registers in the first few lines of the bootloader.

x86 is backwards compatible; 32-bit code will run on 64-bit machines, how do you think 16-bit real mode runs for the bootloader?
One thing you should try is clearing the segment registers in the first few lines of the bootloader.

Thanks, that magically worked! Nice :)
In the load kernel part, I started with the below lines:
mov bx, 0
mov cs, bx
mov ds, bx
mov ss, bx
mov es, bx

x86 is backwards compatible; 32-bit code will run on 64-bit machines, how do you think 16-bit real mode runs for the bootloader?
One thing you should try is clearing the segment registers in the first few lines of the bootloader.

Thanks, that magically worked! Nice :)
In the load kernel part, I started with the below lines: mov bx, 0 mov cs, bx mov ds, bx mov ss, bx mov es, bx

I am facing the same issue, I tried to put the following instructions at the first lines in label "load_kernel":
mov bx, 0
mov cs, bx
mov ds, bx
mov ss, bx
mov es, bx
but they make the program stop at this point.
I tried to debug the problem as i can. and i found that the problem start at the line:
call KERNEL_OFFSET ; Give control to the kernel
so any help, please?


spk install pipeline log messages are inaccurate and validation for pipeline definition file is incorrect

Describe the bug:

The above log only reflects that the PAT given is valid for the AzDo org, we could combine this log to reflect that.
Additionally:
mitarng@mtarng:~/Workspace/spk/tests/spk-env/fabrikam2019$ spk project install-lifecycle-pipeline --org-name mitarng --devops-project feb18project --repo-url https://dev.azure.com/mitarng/
feb18project/_git/doesnotexist --pipeline-name lifecycle-pipeline2
info:    Attempting to authenticate with Azure DevOps organization 'mitarng' using PAT '************************************************lh6q'
info:    Successfully connected to Azure DevOps Git API!
info:    Fetched DevOps Client
info:    Attempting to create new pipeline: lifecycle-pipeline2 defined in repository:https://dev.azure.com/mitarng/feb18project/_git/doesnotexist, branch: master, filePath: hld-lifecycle.
yaml
info:    Creating pipeline for definition
info:    Created pipeline for lifecycle-pipeline2
info:    Pipeline ID: 197

in the above example https://dev.azure.com/mitarng/feb18project/_git/doesnotexist does not exist, but somehow spk is still attempting to create the pipeline.
Expected behavior:
Input validations should work correctly.

@mzilberman
tagging @andrebriggs to triage


Version nextalign binary for transition

Description of proposed changes

Parallels "Version nextclade binary for transition" (3683aed5d).
Related issue(s)

Checklist

[ ] Checks pass

Nevermind, this isn't necessary - runtimes will keep nextalign around for backwards compatibility. nextalign is unambiguously v2 as latest, unlike nextclade.


docs: component reference docs

example: https://media-chrome-docs-git-fork-luwes-reference-docs-mux.vercel.app/en/components/media-airplay-button
todo:

CSS parts
properties

@luwes I think we can merge this, but we've been talking about trying to differentiate between the "media state" attributes/properties vs. the component-specific attributes. Looking at your code, I think we should be able to do this programmatically pretty easily by grouping/splitting based on the attribute name being a value in MediaUIAttributes. Thoughts?

love that we're able to get those tables generated!


feature: Run command after successful (no errors) lint

Feature Request:
It would be nice to have the ability to run a command and output it's output to the output window on a successful lint.

Hi @ChristineBoersen thank you for the feedback!
If I understand you correctly, you would like VisualLinter to output text similar to "linting done with no errors" in the output window?

Since it's been a week without feedback I'm going to close this issue.
Comment here with additional information If you want me to reopen the issue!


Add stylesheets to generator

This is a fix for Issue #8. Theme css was not getting loaded. This adds css to install generator so that css gets loaded into store/all.css.

@LBRapid Will you take a look at this?

@BDQ taking a look

Confirmed and merged with master. Thanks for the contribution @wemerson


nested same property didn't work

Describe the bug
Same labels didn't work
To Reproduce
Input snippet
components:
  schemas:
    RedfishError:
      properties:
        error:
          properties:
<EMAIL_ADDRESS>              description: An array of message objects describing one or more error
                message(s).
              items:
                $ref: Message.v1_0_6.yaml#/components/schemas/Message
              type: array
            code:
              description: A string indicating a specific MessageId from the message
                registry.
              type: string
            message:
              description: A human-readable error message corresponding to the message
                in the message registry.
              type: string
          type: object
      type: object
info:
  contact:
    name: DMTF
    url: https://www.dmtf.org/standards/redfish

Error
▶ oasgraph /Users/xxx/Downloads/DSP8010_2018.2/openapi/openapi.yaml --save
/Users/xxx/Downloads/DSP8010_2018.2/openapi/openapi.yaml:6
          properties:
          ^^^^^^^^^^

SyntaxError: Label 'properties' has already been declared
    at new Script (vm.js:51:7)
    at createScript (vm.js:136:10)
    at Object.runInThisContext (vm.js:197:10)
    at Module._compile (internal/modules/cjs/loader.js:618:28)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
    at Module.load (internal/modules/cjs/loader.js:566:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
    at Function.Module._load (internal/modules/cjs/loader.js:498:3)
    at Module.require (internal/modules/cjs/loader.js:598:17)
    at require (internal/modules/cjs/helpers.js:11:18)

I believe the issue here is that OASGraph does not support YAML. Try converting to JSON and try again.

According to the spec: "An OpenAPI document that conforms to the OpenAPI Specification is itself a JSON object, which may be represented either in JSON or YAML format." Source
I will file another issue for that one. We have tested YAML OASs before but we converted them before feeding them to OASGraph. We should make a OASGraph do the conversion itself. Should be an easy fix!

I also tried converting the RedfishError schema object and adding the snippit into one of our example fixtures and it worked fine.

Sorry for the issues! We just recently released OASGraph to the public and so even though we think the project is relatively robust, there is still a lot of work to do. Thanks for taking an interest in it and trying to make it work.
If you want more direct feedback, you could try our Gitter chatroom and I could help walk you through any obstacles that come your way.

@Alan-Cha, thanks for your quick and excellent support. I'll join your Gitter chatroom. All those external links refer to a component yaml object. I'm not sure how many yamls I would need to convert. I'll try to convert the main one and see if it works. If you can support yaml, that would be great. Yaml is the super set of json for large docs.

We can close this one as you opened an issue for it. I'm looking forward to your yaml support. thanks


[IMP] Added template to generate XML of chart template

In progress

I will take care of this.

FYI @alan196 sent me a library similar for CFDI.
They are receiving a json template to transform to XML.
We are receiving a dict template to transform to XML.
Here is the same good feature. (A dict or a json are similar)
I saw a difference they are using the original field names from original XML defined from SAT:

https://github.com/Paybook/sync-rest/blob/master/src/cfdi_structure.json

With this approach is easy to know the structure of the dictionary to receive because you have just a template.
But if you define a json or dict with custom fields to transform the XML then you need search the original field from XML SAT and search what is the custom field/key in the dict defined for that attribute.
custom_dict_key -> sat_xml_attribute
I mean, we have a template of the template.
Why not use directly the sat template like as sat_dict_key -> sat_xml_attribute?

Why not use directly the sat template like as sat_dict_key -> sat_xml_attribute?
The main reason is that cfdilib is being designed to be used to ANY xml invoice from ANY xsd template then once we do "Perú" for example this will be irrelevant.
The other point is the lang itself, How do we explain the meaning in spanish of something that is pretty obvious in english to Belgian team for example?

Then the reason 1 is English is more generic.
The second one is the fact that CFDIv3.2 is only 1 of the versions of invoices we will be using.
The template is the one that set those names the somebody can implement CFDIv32MINE and use another dict (it is 4 lines of code) and we can use it in another system or whatever with a new template called different.

I mean.... we will need always a process to transform from ODoo to A dict the values on that dict are not relevant the lang use nameA or NombreA will not save 1 line of code.
I hope you understand.

If our standard will be use a template over other one, then we should use just one to show the message.
I mean, the message told us something about LugarExpedicion field (original template) but the data is showed with english template.

IMHO We need show the data and the message with just one template to easy trace.

On Fri, Nov 25, 2016 at 10:21 AM, moylop260<EMAIL_ADDRESS>wrote:

IMHO We need show the data and the message with just one template to easy
trace.

I am not sure I understand the point?
Nhomar Hernandez
CEO Vauxoo.
Site: http://vauxoo.com
Twitter: @nhomar
Blog: http://nhomar.com
Github User: https://github.com/nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
HangOut<EMAIL_ADDRESS>Móvil Venezuela:
+58<PHONE_NUMBER>
Móvil México:
+52 1<PHONE_NUMBER>

BTW this PR was superseed previously we should argument this design topic in a separated issue.


Panic with calculator example

With the calculator example occasionally with the callback part I get a panic:
./calculator client <IP_ADDRESS>:8080
Evaluating a literal...
PASS
Using add and subtract...
PASS
Pipelining eval() calls...
PASS
Defining functions...
PASS
Using a callback...
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: "aborted"', ../src/libcore/result.rs:731

Evaluating a literal...
PASS
Using add and subtract...
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: "aborted"', ../src/libcore/result.rs:731

Thanks for the report. This is fixed by https://github.com/dwrensha/capnp-rpc-rust/commit/6ec440dea3965134b3dd4b8cac32997d7d12614b.


refresh the token manually

Salesforce does not provide any expiration values in its response, sample provided,
{"id":"https://login.salesforce.com/id/00Dx0000000BV7z/005x00000012Q9P",
"issued_at":"1278448101416","refresh_token":"5Aep8614iLM.Dq661ePDmPEgaAW9
Oh_L3JKkDpB4xReb54_pZebnUG0h6Sb4KUVDpNtWEofWM39yg==","instance_url":
"https://na1.salesforce.com","signature":"CMJ4l+CCaPQiKjoOEwEig9H4wqhpuLSk
4J2urAe+fVg=","access_token":"00Dx0000000BV7z!AR8AQP0jITN80ESEsj5EbaZTFG0R
NBaT1cyWk7TrqoDjoNIWQ2ME_sTZzBjfmOE6zMHq6y8PIW4eWze9JksNEkWUl.Cju7m4","token_type":"Bearer","scope":"id api refresh_token"}
so refreshing needs to be handled externally.  Your refresh function is private.  Can you set this up so the token can be refreshed manually.

The refresh() method is now public.


RabbitMQ does not allow specifying enabled plugins

It would be great if the RabbitMQ chart would allow specifying the list of enabled plugins, so manual filesystem modifications wouldn't be necessary.

Hi @Nopik, which of the RabbitMQ chart are you referring to? If this is about the rabbitmq-ha, we could add conditions as I mentioned on this comment: https://github.com/kubernetes/charts/issues/3653#issuecomment-366076754
Maybe improve this type of configuration to be like:
## LDAP Plugin
## Ref: http://www.rabbitmq.com/ldap.html
rabbitmqLDAPPlugin:
  enabled: false

  ## LDAP configuration:
  # config:
  #   auth_backends.1 = ldap
  #   auth_backends.2 = internal

What do you think?

It seems that rabbitmq.plugins value appeared recently, which solves the problem. Closing this issue.


Getting this error Something went wrong: Error: ENOENT: no such file or directory, open 'XXX/XXX/junit.xml'

##[error]Something went wrong: Error: ENOENT: no such file or directory, open 'XXX/XXX/junit.xml'
.yml file

name: Jest Github Action Reporter
uses<EMAIL_ADDRESS>if: ${{ steps.service-changed.outputs.result == 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISOLATED_MODE: 1
with:
test-command: ${{ matrix.service.dir }} && yarn test
junit-file: junit.xml
run-name: build
check-name: Jest
working-directory: ${{ matrix.service.dir }}

Hey @fahadshehzada!
The action looks for the junit file relative to the working-directory option, so it would be whatever ${{ matrix.service.dir }}/junit.xml resolves to.
In your case I assume ${{ matrix.service.dir }} is XXX/XXX
The action expects therefore a folder structure similar to:
- XXX
  - XXX
    - junit.xml
    - src/dist/or other

Can you share an example how your file directory structure looks like?

I got the issue resolved by executing test before executing this action in .yml file
  - name: Yarn Test
    id: unit-test
    if: ${{ steps.service-changed.outputs.result == 'true' }}
    run: cd ${{ matrix.service.dir }} && yarn test
    env:
      ISOLATED_MODE: 1

and then call above action. It resolved my issue. test-command is only getting the test result not running the actual test.

Good to hear it works 😉
Yeah, this package is designed to give you full freedom how and when you want jest to run. It only parses results and displays failed tests on GitHub


Can't add migration after updating to dotnet 8

Hello,
I updated my API from dotnet 6 to dotnet 8, I updated also the Finbuckle references to the latest version.
I have no error when building or using the API, but when I want to create a new migration I have this error :
Unable to create a 'DbContext' of type 'ApplicationDbContext'. The exception 'Unable to resolve service for type 'Finbuckle.MultiTenant.ITenantInfo' while attempting to activate 'WebApi.Infrastructure.Persistence.Context.ApplicationDbContext'.' was thrown while attempting to create an instance.
Before updating to dotnet 8 everything was fine.
I searched on the net but can't find any help.

Hi, can you take a look at my response on #796 and try the design time solution mentioned there?

Well, I was wrong the error has no link with Finbuckle but I don't know why the compiler say that.
Thanks.


Deploy to production

Not sure what we should write in the description of these PRs. Maybe we should deploy to prod with versioned releases instead of merges into main. This way, we can generate changelogs automatically using GitHub. Just an idea.

As described in issue IT-2790, creating this PR is an optional step.  You also have the option to just directly push these merges to prod.


Formatting switch to yapf instead of black

Black is not handling long strings very well, esp doc strings.
Tested yapf with flake8 in another repo and they work well together

done


add podman remote client

podman client that is capable of:

images
ps
rm
rmi

this is only a mockup to frame out and prove python library and ssh
tunnelling usage.
Signed-off-by: baude<EMAIL_ADDRESS>

@baude Should this be marked as a WIP, or do you really want to merge?

Id say merge it; it works. And more importantly, it is funcational enough to hand off to @jwhonce

LGTM
@jwhonce PTAL

LGTM, and happy green test buttons.  I'd say merge and let @baude and @jwhonce adjust later if necessary.

@rh-atomic-bot r+

This didn't seem to merge and I thought @rhatdan 's last reply would have made it merge given the tests are happy....

nvm @rhatdan, web browser cache flake, it merged.


Updated Turkish translation.

Updated Turkish translation and fixed some type errors.

I have already made a pull request  #757 about Turkish translation.

I have already made a pull request #757 about Turkish translation.

If you look up staging branch you can see your changes already made someone else.

I have already made a pull request #757 about Turkish translation.

If you look up staging branch you can see your changes already made someone else.

I pulled from new-design, my bad 😅


Inadequate monospace font definition (Ghost Markdown Editor on OS X)

The default (monospace) font for the Ghost Markdown Editor is defined here as:
$font-family-mono: monospace;

Problem
On OS X, monospace defaults to Courier for basic characters, but outside of basic characters, the system is inconsistent in choosing a fallback. This is the result:

Chrome & Safari
In Chrome and Safari, we can see that Lucida Grande and Monaco are used:

Firefox
Firefox uses a different font, but I'm not sure how to get it to cough up which font is actually being applied.

Possible Solutions
Increase specificity of monospace font definition. I recommend adding Menlo.
$font-family-mono: Courier, Menlo, monospace;

OR
$font-family-mono: Menlo, monospace;

NOTE: Monaco should not be used since it doesn't even cover the left arrow glyph.

Here are the characters that appear in the photos, for reference (U+2190) & (U+2192):
←
→

Taken from this website.
Also, here is the monospace definition used on GitHub's pages, for reference. And Menlo ends up being the font applied on OS X.
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;

@mankittens Fantastically written issue, and totally agree with your suggested change and the basis for it. :+1:

Would you like me to submit a PR with the suggested monospace definition?
On Sun, Mar 22, 2015, 03:48 JohnONolan<EMAIL_ADDRESS>wrote:

@mankittens https://github.com/mankittens Fantastically written issue,
and totally agree with your suggested change and the basis for it. [image:
:+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/TryGhost/Ghost/issues/4936#issuecomment-84547993.


Do vokens need when fine-tuning?

Hello，
Thank you for your great works!
I wonder if vokens are only used for pre-training? That is to say, when fine-tuning, one can directly use the pre-trained model you have released as a BERT-like model. And there is no need to do vokenization on downstream data.

Yes. It does not need vokens in fine-tuning.

Thanks for your reply!


Migrate theme to a new repo/conda package.

So people can disable it if they want just removing the package.

@damianavila and @malev - did this happen or is it still waiting to be completed?

I wrote two PRs for this one:

https://github.com/Anaconda-Server/anaconda-nb-extensions/pull/124
https://github.com/Anaconda-Server/nb_anaconda_theme/pull/1

Should be reviewed before merging those ones...

I wrote two PRs for this one:

https://github.com/Anaconda-Server/anaconda-nb-extensions/pull/124
https://github.com/Anaconda-Server/nb_anaconda_theme/pull/1

Should be reviewed before merging those ones...

PRs merged. Closing.


Change ISG references to TDP

Per @windfix's note, let's change the Google form to say TDP or Technology and Distance Programs instead of ISG (which is an internal acronym).

Replaced ISG with Technology and Distance Programs.

One more ISG reference in there...

Replaced ISG in two areas.

Perfect, thanks @fjumawan


Update Docs for easy navigation

Add links to the summary section
link jumps to the precise content location within the docs,

@enero-o could you helo resolve the conflict? Thanks


Enable Edge TPU export and inference for newer Tensorflow versions

As discussed in issue #20, the new tflite converter does not work together with the yolov4 implementation. To fix this, the new converter was disabled. Additionally, input and output quantization was switched to uint8 in order to avoid unnecessary casting.
The tflite inference module was extended to deal with quantized inputs and outputs. The module now priorises tflite_runtime  before the buildin tensorflow implementation. This should make edge tpu inference easier.
I added two scripts for model export and inference to evaluate the code.

What is my fault?
Host
$ python3 -m pip show tensorflow
Name: tensorflow
Version: 2.3.1
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /home/hhk7734/tensorflow-yolov4/venv/lib/python3.8/site-packages
Requires: wheel, six, grpcio, astunparse, h5py, protobuf, tensorflow-estimator, numpy, wrapt, opt-einsum, tensorboard, gast, absl-py, google-pasta, termcolor, keras-preprocessing
Required-by:

python3 export.py

$ edgetpu_compiler -a quant_model.tflite
Edge TPU Compiler version 15.0.340273435

Model compiled successfully in 1153 ms.

Input model: quant_model.tflite
Input size: 5.94MiB
Output model: quant_model_edgetpu.tflite
Output size: 6.33MiB
On-chip memory used for caching model parameters: 6.06MiB
On-chip memory remaining for caching model parameters: 1.66MiB
Off-chip memory used for streaming uncached model parameters: 3.38KiB
Number of Edge TPU subgraphs: 3
Total number of operations: 132
Operation log: quant_model_edgetpu.log

Model successfully compiled but not all operations are supported by the Edge TPU. A percentage of the model will instead run on the CPU, which is slower. If possible, consider updating your model to use only operations supported by the Edge TPU. For details, visit g.co/coral/model-reqs.
Number of operations that will run on Edge TPU: 101
Number of operations that will run on CPU: 31
See the operation log file for individual operation details.

Coral (EdgeTPU)
$ python3 -m pip show tflite_runtime
Name: tflite-runtime
Version: 2.1.0.post1
Summary: TensorFlow Lite is for mobile and embedded devices.
Home-page: https://www.tensorflow.org/lite/
Author: Google, LLC
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /usr/local/lib/python3.7/dist-packages
Requires: numpy
Required-by:

from py_src.yolov4.tflite import YOLOv4
import cv2

yolo = YOLOv4(tiny=True, tpu=True)

yolo.classes = "coco.names"

yolo.load_tflite("quant_model_edgetpu.tflite")

yolo.inference("road.mp4", is_image=False)

Traceback (most recent call last):
  File "edge_yolov4_tiny_video_test.py", line 8, in <module>
    yolo.load_tflite("quant_model_edgetpu.tflite")
  File "/home/mendel/py_src/yolov4/tflite/__init__.py", line 60, in load_tflite
    self.interpreter.allocate_tensors()
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 242, in allocate_tensors
    return self._interpreter.AllocateTensors()
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter_wrapper.py", line 115, in AllocateTensors
    return _interpreter_wrapper.InterpreterWrapper_AllocateTensors(self)
RuntimeError: tensorflow/lite/kernels/split_v.cc:131 input_type == kTfLiteFloat32 || input_type == kTfLiteUInt8 || input_type == kTfLiteInt16 || input_type == kTfLiteInt32 || input_type == kTfLiteInt64 was not true.Node number 1 (SPLIT_V) failed to prepare.

Hi, the video demo is working on my part (although with some boxes in the sky):

Have you installed the most recent versions of libedgetpu1-max and tflite runtime?

I used libedgetpu1-std for comparison.
input_size = (512, 384)
Before
without -a, FPS: 11 ~ 12
with -a, FPS: 9 ~ 10
After
without -a, FPS: 4 ~ 5
with -a, FPS: 11 ~ 13
The speed is about the same, but more accurate. :) Goooood!

Please run black -l 80 . for lint. :)

done ^


Add new API call for fetching agent's accuracy in Expensiworks

TAG_REVIEWER will you please review this?
[Explanation of the change or anything fishy that is going on]
Fixed Issues
Part of https://github.com/Expensify/Expensify/issues/177284
Required for https://github.com/Expensify/Web-Expensify/pull/31924
Tests

What unit/integration tests cover your change? What autoQA tests cover your change?
What tests did you perform that validates your changed worked?

QA

What does QA need to do to validate your changes?
What areas to they need to test for regressions?

I have read the CLA Document and I hereby sign the CLA


proposal: debug/elf: add API to allow reading compressed ELF sections

I would like to propose adding an API to the debug/elf package to fully read sections (compressed and uncompressed alike). Current APIs only allow reading uncompressed sections, or in select cases may handle compressed sections, but do not allow accessing the decompressed bytes of a compressed section.
Why?
I have recently come across the dwz tool, which some Linux distributions (eg. Fedora and Debian) use to optimize debuginfos (as in debuginfos that have already been split off of a binary using objcopy --only-keep-debug $FILE $FILE.debug).
dwz deduplicates as much data as possible and subsequently splits the original debuginfos into two files, a primary debuginfo file which has a .gnu_debugaltlink section added, which links to the second file, which is also a valid elf file, where the deduplicated data lives, the primary debuginfo can then have references to point to where to read deduplicated data from in the supplementary debuginfo file. An example: The primary debuginfo DWARF DIEs, let's say a DW_AT_name could not be a string, but instead an offset into the supplementary debuginfo file's .debug_str or decompressed .zdebug_str section, directing us to read a null-terminated string at that offset.
Once the bytes of the section are available writing the code to read null-terminated strings at an offset is simple and could have been done separately. If it was just uncompressed .debug_str we could just use the debug/elf package's functionality to read the section, however, the issue arises when the section is compressed, as the unexported field compressionOffset needs to be set appropriately to read its content successfully.
For background: I happen to work on the open-source continuous-profiler, Parca, which uses the debug/elf and debuf/dwarf packages for symbolizing profiling data, and we'd like to support symbolizing these cases.
I could see a couple of different APIs for me to achieve my goal, but the ability to read compressed sections would have a minimal API surface and would allow any very special cases that the go runtime itself doesn't need, to be handled separately.
Alternatively, I could imagine an API within the debug/dwarf package that exposed a reader to read strings at a given offset, but that would be easy to misunderstand and misuse I feel.

Right now if you use the (*Section).Open method it will automatically decompress the section contents, if they are marked with the ELF standard SHF_COMPRESSED flag.  Your mention of .zdebug_str makes me wonder whether dwz is generating files with the older mechanism in which the section name indicates that the contents are compressed.  Right now we handle that case in the (*File).DWARF method.  Perhaps we should also handle it in (*Section).Open: if the section name starts with ".z" and the section contents start with ZLIB then we automatically decompress the data.
Would that fix your problem?

Just to reiterate you're suggesting to essentially move the offset handling done in the (*File).DWARF) function to the (*Section).Open function. That would absolutely solve my problem, and I'd be more than happy to submit a patch for it!

OK, taking this out of the proposal process.

This would be backwards incompatible and require a GODEBUG setting per #56986, right?

It would be backwards incompatible, but not every single backward incompatibility requires a GODEBUG setting.  We only need a GODEBUG setting if the change is likely to break a reasonable number of real programs.  In this case that seems to me to be unlikely.  There may well be programs that are prepared to uncompress the ELF section data themselves, but I would expect those problems to work correctly if the receive uncompressed data.  Do you know of examples where that would not work?

Do you know of examples where that would not work?

I do not, delve for example will assume the section is not compressed if it doesn't start with ZLIB: https://github.com/go-delve/delve/blob/4303ae45a8e2996b30d2318f239677a771aef9c1/pkg/dwarf/godwarf/sections.go#L88. However I don't think it would be too strange if some program existed that simply errored in that circumstance. The string ZLIB at the start of the section exists to determine the type of compression, if you didn't see ZLIB you could also assume that a different compression is being used (no other compression algorithms are allowed at the moment but someone could write that to future-proof their code).
The counterpoint to this is that moving decompression from debug/dwarf to debug/elf just provides a small convenience, users could always write the decompression themselves. Also does the auto-decompression only go in debug/elf or also debug/macho and debug/pe? Compilers other than go do not produce compressed zdebug sections in PE and Mach-O executables.

The .zdebug compression is obsolete, as all new files should be using SHF_COMPRESSED.  I don't think we need to introduce a GODEBUG setting because there might be hypothetical code that would be affected.
As far as I can see the suggested change doesn't affect debug/dwarf at all.  The code that would change, besides (*elf.Section).Open, is (*elf.File).DWARF.
Given that (*elf.Section).Open already handles SHF_COMPRESSED sections, it seems appropriate to me that it should also handle .zdebug sections.  The current approach seems inconsistent.


FFmpeg Noise Binary Sensor: stops working

Dear @pvizeli,
May I kindly ask you to look at the issue https://github.com/home-assistant/home-assistant/issues/7081?
The problem is that the sensor worked seamlessly before the binary sensor has been split to motion and noise ones.
Also regular restarting of ffmpeg, to fix the problem, is triggering the sensor itself, therefore, this workaround is far from optimal too.

Fix with https://github.com/pvizeli/ha-ffmpeg/pull/14


remove expired spaces grants on access

When I implement the spaces membership expiration I forgot to actually check the expiration and remove expired grants.
This adds these missing bits.
/cc @ScharfViktor when this is merged and reva was updated in oCIS then your tests should work.

@micbar, can you tell me why the changelog step is failing? Do I need to change the order of the PR URLs or something else?

can you tell me why the changelog step is failing? Do I need to change the order of the PR URLs or something else?

I think the PR always needs to be in the first line of the list because it tries to match the id