Update to use Intersections

This PR changes the structure of the fit sampling and associated MC truth matched branches to use the new KalIntersection object.  This is more accurate, simpler, and much more flexible than that previous position-based association algorithm, as it pushes most of the work into reconstruction and KinKal.  These changes require new analysis scripts: for instance, to compare a reconstructed Ce track momentum at the tracker entrance with the MC truth now requires the following projection:
ta.Draw("demfit[demmcvd.iinter].mom.R()-demmcvd.mom.R()","dem.status>0&&demmcvd.sid==1")
This PR depends on KinKal v2.4.2 and Offline PR 1032

Hi Andy,
thanks for your feedback.
Just to be clear, Offline PR 1032 won't break the existing TrkAna tag; that
will continue to work with both existing and new (post PR1032) reco (mcs)
files.  However this new version of TA
will only work on mcs produced post- PR 1032.
I can describe the reco and TA changes at an upcoming comp-soft and/or
Simulation group meeting.
On Wed, Aug 16, 2023 at 5:51 AM Andrew Edmonds @.***>
wrote:

@.**** commented on this pull request.
Thanks for implementing this, Dave! This should make it easy to add the
IPA and stopping target when we extrapoloate back there. I've left a few
in-line comments but one other request I have is whether you could go into
a bit more detail about the new projection? I'm not seeing how we are
specifying the entrance information, for example

This is one aspect of the change that unfortunately isn't transparent.   To
compare reco with MC truth at the tracker entrance after this change one
can project:
ta.Draw("demfit[demmcvd.iinter].mom.R()-demmcvd.mom.R()","dem.status>0&&demmcvd.sid==0")
The only difference being the required value on sid =0 (=
SurfaceId::TT_Front).
I don't like that this exposes the user to the SurfaceId enum values.
There are also some subtle cases that must be dealt with: they were always
an issue, but they were hidden because of assumptions made in the TA code.
Those assumptions are now gone and the corner-cases are now exposed, though
99% of users will never care.
There are several possible ways to make this easier for the user, for the
moment I'd like to get this PR out and get some experience and feedback
before addressing it.

Also, once we merge this in, we should update the major version number to

v4 since this will break analysis scripts

Agreed.  Though as mentioned above, users are not required to migrate to
this TA tag once PR 1032 is merged.

In fcl/TrkAnaExtracted.fcl
https://github.com/Mu2e/TrkAna/pull/88#discussion_r1295822967:

physics.TrkAnaEndPath : [ TrkAnaExt ]

Include more information (MC, full TrkQual and TrkPID branches)
physics.analyzers.TrkAnaExt.candidate.options : @local::AllOpt
physics.analyzers.TrkAnaExt.candidate.options.fillTrkQual : false
physics.analyzers.TrkAnaExt.candidate.options.fillTrkPID : false
physics.analyzers.TrkAnaExt.FillTriggerInfo : false
+# use the inner and outer surface VIDs for MC truth
+physics.analyzers.TrkAnaExt.candidate.segmentSuffixes: [  "ent", "mid", "xit", "out", "in" ]
+physics.analyzers.TrkAnaExt.candidate.segmentVIDs: [ [ "TT_FrontHollow", "TT_FrontPA"], [ "TT_Mid", "TT_MidInner"], ["TT_Back"], ["TT_OutSurf"], ["TT_InSurf"] ]
+physics.analyzers.TrkAnaExt.candidate.SurfaceNames: [ "TT_Front", "TT_Back", "TT_Outer", "TCRV" ]
It looks like "TT_Mid" is missing from this list. Does the length of
SurfaceNames not need to be the same as segmentVIDs?

The 'segment' config is legacy I just forgot to remove.  The relevant
equivalent config now lives in reco (Mu2eKinKal prolog).  I don't
think TrkAnaExtracted is needed anymore, I will test and fix this
one way or the other.

In inc/InfoMCStructHelper.hh
https://github.com/Mu2e/TrkAna/pull/88#discussion_r1295824175:

   double _mingood;

   bool _onSpill;

 bool _mbtime;

 double _mbtime;

 double _maxdt;

While we're here, could you add comments to describe these variables?

Sure.  Note the change to _mbtime is a bug fix, I have no idea how this
code ever worked before.

In inc/TrkInfo.hh
https://github.com/Mu2e/TrkAna/pull/88#discussion_r1295828446:

bool inbounds = false;

bool gap = false;
bool early = false;
bool late = false;
int sid = SurfaceIdEnum::unknown;
int sindex = 0;

Could you add comments to these variables? I think I understand inbounds,
early, and late but I'm not sure what gap is

Yes, it is a bit obscure.  I'll add it.

In src/TrkAnaTreeMaker_module.cc
https://github.com/Mu2e/TrkAna/pull/88#discussion_r1295833692:

@@ -196,7 +200,6 @@ namespace mu2e {

   // main TTree
   TTree* _trkana;

 TProfile* _tht; // profile plot of track hit times: just an example

Just to check: are we sure we want to remove this plot? I never used it
but I could imagine it might be useful to have hit time distributions
without having to have diagLevel set to 2. Maybe something we can ask
trkana users?

The TrkAna TH1s were there as examples, I haven't looked at them in years
and assume the same true for others.  The nightly validation covers this
kind of thing better.  In the interest of simplifying and specializing and
reducing clutter I think it's better to get rid of them.

—
Reply to this email directly, view it on GitHub
https://github.com/Mu2e/TrkAna/pull/88#pullrequestreview-1580485595, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAH572GTC7D4EDKPJKRWMTXVS663ANCNFSM6AAAAAA3RZSJOE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
David Brown            @.***
Office Phone<PHONE_NUMBER>
Lawrence Berkeley National Lab
M/S 50R5008 (50-6026C)  Berkeley, CA 94720

Thanks Andy!
On Thu, Aug 17, 2023 at 5:22 AM Andrew Edmonds @.***>
wrote:

@.**** approved this pull request.
Thanks for the updates, Dave. This is good to go when Mu2e/Offline#1032
https://github.com/Mu2e/Offline/pull/1032 gets merged in
—
Reply to this email directly, view it on GitHub
https://github.com/Mu2e/TrkAna/pull/88#pullrequestreview-1582494249, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAH572KV2WMX5V23EDE6VTXVYEIDANCNFSM6AAAAAA3RZSJOE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
David Brown            @.***
Office Phone<PHONE_NUMBER>
Lawrence Berkeley National Lab
M/S 50R5008 (50-6026C)  Berkeley, CA 94720


chore: bdd-spring-1573052923 to 0.0.1

chore: Promote bdd-spring-1573052923 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


Investigate Google Analytics on UI

There are lots of places it would be helpful to understand user behavior that don't always result in a new URL; certain toggle switches, dialogs, upcoming social share functionality, etc. We should outline which user actions we would hope to capture (anonymously) and how to implement those analytics

Mahia does have a resource that is very familiar with Google Analytics if we want to bounce questions off of her. Will check with you in the morning so we can draft an email.


Minor cleanup

Remove duplicate etcd imports and fix grammar in some of the comments.

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


White screen and page not loading

System: Ubuntu 14.04
Atom Version: 1.2.0
Node version: 5.0.0
Installed atom packages:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Hello,
I get a white screen on the preview window and it doesn't show my page.
When I change the settings to "Trigger on save" the window shows me "Loading HTML Preview…" and that's it. How can I solve this?
Thanks in advance.

I have the exact same problem; also using Ubuntu 14.04

using Ubuntu 14.04 same problem as well

Same on Fedora 22

Same problem on ubuntu 14.04

Same problem, how to solve that?

I started getting this after upgrading to v0.1.13. How do I downgrade a plugin?

Issue also happening on Fedora.
atom-1.2.0-0.1.fc21.x86_64
atom-html-preview:  0.1.13

Getting this as well on Linux Mint 17.2 using atom-1.3.0-beta0.

Same on Elementary OS Freya

Same here.  Latest Atom (1.2.1) html-preview 0.1.13 running on osx 10.11.1

The same. Linux Mint 17.2, Atom 1.2.1, atom-html-preview 0.1.13

Same here on Ubuntu 14.04 on ChromeOS with crouton and latest atom-html-preview

After Atom update to 1.2.2 still not working

Just installed this package for the first time v0.1.13 and encountered this problem.

Downgraded the package from the terminal to get working version:
apm install<EMAIL_ADDRESS>

Restarted atom

Closed the still empty preview pane and reopened it with ctrl-shift-H to obtain working preview.

I tried 0.1.12.  It appeared to work inconsistently depending on whether I was downgrading or upgrading so I just stayed with 0.1.11.

Worked good, thank you jasco.....

Reverting to 0.1.11 fixed it... atom seems only as good as it's plugins. I'm becoming underwhelmed.

same issue on fedora 23, with html-preview 0.1.13 version.
jasco's workaround works fine, thanks.

Same issues with 0.1.13
Downgrading to 0.1.11 worked
Linux Mint 17.2 x64

Had this same issue on Arch x86_64, same solution (downgrading to 0.1.11) fixed it.
Also, since it doesn't appear this has been mentioned yet, I'll add that the console in Atom gave two errors like this when failing to load the preview:

"Unable to access file:///my-preview-test.html"
"Not allowed to load local resource file:///my-preview-test.html"

To my untrained eye, it looks like it may be looking for the file on the root of the filesystem? Instead of whatever temporary directory it should be in.  And the second may be some sort of Chrome security warning.  But again, I've very little experience with web development or diagnosing browser issues, so these are pretty much wild guesses on my part.  Nevertheless, I hope this info helps a bit.

Not working on arch linux x64

v. 0.1.13 doesn't work, just white screen.
Ubuntu 14.04.3 LTS
Atom 1.3.2

Same here with Debian Jessie. Works with v.0.1.11 though!

downgrading worked for me to on Ubuntu 15.10 $ apm install<EMAIL_ADDRESS>


Mio branch fails to build on ARM

I'm not sure how important the ARM architecture is to hyper, but I thought that you might want to know that mio, and by extension rotor, does not build on ARM. I have written a more detailed explanation here, but basically it is due to nix v0.4.2 failing to build on ARM.
To be certain, I attempted to build the master and mio branches of hyper on my server. The master branch builds properly, but the mio branch fails as expected.
Let me know if I can provide any more information.

That's disappointing. The blocker here is that mio needs to update to<EMAIL_ADDRESS>

That is correct. It looks as though there is an open pull request to fix this, so hopefully it will be remedied soon.

With<EMAIL_ADDRESS>seems this can closed.


Hi, where can I find the ChangeLog notes for this project (v1.5.0)

I had used 1.4.5 without any issues.
To all your wonderful staff @ Microsoft....
You guys nailed it this time!!!
Regards
Hugo Barbosa

I am glad you were able to use our project.
With regard to the question in the title, I think this is what you are looking for.
This is where we keep a running list of our releases, with a brief list of changes in each one.
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/releasenotes
Thanks,
Brian.


[Tests] Rewrite test matrix config

speed up tests further by really only running linting once.
mark failing react-native and karma-webpack example tests as "allowed failures", which were being previously skipped.

I'll close my old PR then (#425), this one's better

Looking for a stamp, if this looks good to folks :-)

LGTM :)


Eliminate request/subscription?

I have found that the distinction between request/stream and request/subscription confuses people. This has been discussed somewhat in the past (https://github.com/ReactiveSocket/reactivesocket/issues/40), but the original reason for differentiating between request/stream and request/subscription was primarily:

clarify of intent in the client API of a finite stream versus infinite subscription
enforcement on server of a subscription not emitting onComplete

There are not however any performance benefits to the distinction as there are for request/response vs fire-and-forget vs request/stream vs request/channel.
Since I end up having to constantly explain why request/stream and request/subscription exist, I think it is achieving the opposite of the intended goal and we should just eliminate request/subscription. The request/stream semantics can be used for both finite and infinite use cases and thus can serve subscriptions just by not emitting an onComplete.
If we drop it we can then clearly say that ReactiveSocket supports 4 interaction models without explaining the duplication of 2 of 5:

request/response
fire-and-forget
request/stream
channel

Does anyone else think it is worth simplifying the protocol and API by eliminating request/subscription?

Strong 👍  for this 😄

+1

👍 I think this does make things cleaner.

Okay, then should I submit a PR for the spec to remove request/subscription?

I personally liked the differentiation between stream and subscription, but I don't have enough practical experience to fight for it. I am fine if we simplify the API and remove the extra code.

@stevegury @robertroeser your thoughts?

👍 for eliminating request/subscription. I think this will simplify the protocol.

+1 from my side as well. Simplicity is desirable at the protocol level.

Pretty strong support for this, so I'll eventually submit a PR with the changes to the spec ... unless someone wants to tackle it sooner than I can get to it. If so let me know you're doing so.

@benjchristensen I can take this up but let me merge the PR #96 to introduce the protocol status so that we can do this on the next version.

Closed per #113


Critical Error

SimpleGraphic v1.0 x86 Release, built Dec  7 2017
Executing SimpleGraphic/SimpleGraphic.cfg
Warning: config file not found
Executing SimpleGraphic/SimpleGraphicAuto.cfg
Warning: config file not found
Executing C:\Program Files (x86)\POB\Launch.cfg
--- UI Init ---
Script: C:\Program Files (x86)\POB\Launch.lua
Script working directory: C:\Program Files (x86)\POB
Initialising Lua...
Running script...
--- Render Init ---
Pixel format: need 32,24,0
--- ERROR ---
Critical error at address 613B3AFFh:
Access violation: attempted to read from address 00000000h


Issue #503: Add optional client_id for OAuth 2.0 authenticator

This adds the ability to provide an optional client_id in the configuration which will be added as a Basic Auth header on all authentication calls.

To fix some of these formatting issues, how do you feel about adding a .editorconfig?  Possibly the vanilla one from ember-cli?

Yes, good idea :+1:

Would be cool to have this retargeted at the ember-cli-addon branch.

Been super busy at work.  I will have some time this weekend to work on this.  I will switch it over.  Anything else while I am working on it?

Just porting this to the new structure would be great.

Closing because this has been redone with #586 instead, based on the mber-cli-addon branch.


Make Heroku work

@maebeale I've updated the two files in bin that Rubocop found upsetting so now we have that sweet sweet green check mark. But I'm not sure if that was the solution you'd prefer so I'm happy to try to resolve it another way, if you want. I've also added a Status: Ready for Review label, hope that's ok 😄
Let me know if you want me to make any changes to the code or commit messages in here, or if you'd like me to squash it differently. 😃


Beta

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@44f4b32). Click here to learn what that means.
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff            @@
##             main        #1   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         5
  Lines           ?        81
  Branches        ?         7
========================================
  Hits            ?        81
  Misses          ?         0
  Partials        ?         0

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

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Storing symmetric key which is not generated by TPM

Hello Support Team,
I would like to use the stack AES-CBC encryption with a symmetric key.
The key will not be generated by the TPM, I just want to store it as a persistent key.
I would need some pointer where to start,
A. which Tss2_Sys_XXX command I should use from the "tools" for storing the key in NVRAM.
B. I would also like to know how to clear the persistent key from the NVRAM.
Thank you for the support in advance!
Regards,
andras

For storing un structured data look at man page examples for  tpm2_nvdefine and tpm2_nvwrite
To erase from memory look at example tpm2_nvrelease

Thanks for the pointers!
One more thing, If I specify an index with -x switch to 0x1500016 (e.g. tpm2_nvdefine -x 0x1500016 etc...) then am I allowed to use this 0x1500016 as a key handle for -k switch of tpm2_encryptdecrypt?
(e.g. tpm2_encryptdecrypt -k 0x1500016 etc...) OR Should it be converted somehow from index to key handle? Cheers,andras

I see so you are not just using it for storing the data but to actually use it as a key handle. You should look into Tss2_sys_import

Duplicate of https://github.com/01org/tpm2.0-tools/issues/218, as we need to implement that tool


Fix baselines.py

This pull requests address issue #15 (which was related to corrupt files / time data mismatch) by throwing out corrupt files when being loaded.
These code changes were made on release rc1 because the current fma_metadata is out of date. I did my best to apply these changes to the most recent master, but I am unable to test if these changes are working correctly (hence, why baselines.py currently uses generateData instead of the same changes made in utils.py).
Any help in testing master and code revisions/suggestions are appreciated.

Thanks for the PR! It was a poor decision of mine to mix up the code for the creation of an hypothetical next release and the maintenance of the usage code and doc for the latest released version. I've now corrected this mistake and made two branches: master works with the latest released data (i.e., rc1) and next contains code to prepare a next release. More at #41.
I've tried to rebase your modifications on top of master but made a wrong manipulation that closed the PR and removed my right to edit. :/
Can you reopen it, and base your changes on the current master? It should then work with the publicly available rc1 data. :)


C166 Target

Keil MDK support also C166 Target... Have you planned to implement it ?
P.S.: C166 works also with uVision 5
Thanks

I don't know much about C166.  plug-in don't work ?


Getting this error - "AttributeError: module 'undetected_chromedriver' has no attribute 'install'"

Getting Chrome Driver...
Traceback (most recent call last):
  File "/Users/user/Desktop/YouTube-Viewer-master/youtube_viewer.py", line 1278, in <module>
    OSNAME, EXE_NAME = download_driver()
  File "/Users/user/Desktop/YouTube-Viewer-master/youtube_viewer.py", line 267, in download_driver
    uc.install()
AttributeError: module 'undetected_chromedriver' has no attribute 'install'

pip install -r requirements.txt

pip install -r requirements.txt

Still getting this

can you check your undetected_chromedriver version by pip list.. it should be 3.0.2
make sure to install the packages in the correct python path.. to avoid confusion just use a virtual environment

can you check your undetected_chromedriver version by pip list.. it should be 3.0.2
make sure to install the packages in the correct python path.. to avoid confusion just use a virtual environment

If you using newer version import like:
import undetected_chromedriver._compat as uc
Cause for default they are using v2 and v1 is moved to _compat module as I saw here


Per-page/component Server/Auto interactivity sections

Fixes #33509
Not sure if I can get away with this quite so easily, but I ...

Copied the existing per-page/component Server/Auto interactivity sections that were versioned for <9.0 and made a new >=9.0 versioning block for them.
In the >=9.0 sections, I renamed MauiBlazorWeb.Maui to MauiBlazorWeb.

Will that work?
... and BTW for 9.0 ...
The 9.0 sample updates for the 8.0 MauiBlazorWeb app are just packages, correct? The API changes that you anticipated were pushed to .NET 10 IIRC.

Internal previews

📄 File
🔗 Preview link

aspnetcore/blazor/hybrid/tutorials/maui-blazor-web-app.md
aspnetcore/blazor/hybrid/tutorials/maui-blazor-web-app

... and for the 9.0 updates, it's just going to be packages and the TFM for this app, correct?

Actually, no ... There's at least the name change MauiBlazorWeb.Maui to MauiBlazorWeb.

Not sure what this one should be: net8.0-windows10.0.19041.0 ... perhaps net9.0-windows10.0.22621.

I'm updating to RC2 now. I'll ping you on that PR when I open it.


Desktop pairing: add wallet icon to wallet popper

Overview
We should add a pairing-specific icon to the wallet popper when the mobile Safe is paired:

Requirements

[ ] Pairing icon (@liliiaorlenko)
[ ] Update image to conditionally show the icon when pairing is connected.

Correction: the icon should be in the header. Cf with Metamask:

Correction: the icon should be in the header.

I've updated the description accordingly.

Added here https://github.com/gnosis/safe-react/pull/3354/commits/6580dbe02bfbe66465c0e5afb6b1dc6a82ca1afa


System git version suffix is not computed correctly when nixpkgs is a git worktree

Issue description
When you build the system configuration from a nixpkgs that is a git worktree, you don't get a nice git short hash of the nixpkgs revision.
Steps to reproduce

Clone nixpkgs somewhere. (/etc/nixpkgs)
Navigate to the checkout.
git worktree add ... checkout another branch somewhere else (/etc/nixpkgs2)
Set NIX_PATH=nixpkg=/etc/nixpkgs2:nixos-config=/etc/nixos/configuration.nix
nixos-rebuild build

Note that the output at the end lacks the git version suffix.
I was told to look here: https://github.com/NixOS/nixpkgs/blob/master/lib/trivial.nix#L95-L118
It seems obvious what the problem is, I just don't have time to try to fix it now.
I assume we'd want to do something like adding another branch to the conditional, "isGitWorktree" that checks to see if there's a .git file and if so, use the path inside the file to use with lib.commitIdFromGitRepo.

Well, on second thought, getting the commit id from the directory pointed to in the file will be for the wrong branch. It would be nice if it could just call git and let git do the work of figuring out the worktree.

The set of impure operations allowed during evaluation is very limited, executing commands isn't one of those (and shouldn't be IMHO).

Agreed. I looked at the lib code a bit more last night, as well as how git worktrees work. It should be fairly straightforward to support this scenario without invoking git. I'll try to get to this in the next few days.

It seems like this is still not working for me despite the changes in #77473 and #77704.
When I point my machine default.nix's "pinned" nixpkgs to ../nixpkgs/master it correctly picks up the git revision from master and tells me it's going to build:   /nix/store/v9k6crxi3rdax7m2i6ik2cz94gyazi2b-nixos-system-xeep-20.09.git.9c76aacaf2c.drv
but if I point it at a worktree sibling dir ../nixpkgs/cmpkgs (my default branch), then it winds up building toplevel=/nix/store/816rcx4pbjf643bgpw9nlsynmyg05ra5-nixos-system-xeep-20.09pre-git.
And "pre-git" is the default version suffix, as I understand it.

cc: @elseym Do you have any ideas why I'd be seeing this behavior?

It looks like the only place this is called checks to see if the .git is a git repository first, and seems to fail that check. I'm not sure how this altered code is ever called unless someone is manually called commitIdFromGitRepo in their own nix code.
https://github.com/NixOS/nixpkgs/blob/3bbd074217cd11b6e14abec24655091b83aacc6f/lib/trivial.nix#L183-L198

f0f040c3f7f07fa4dc28b32d44e1db78fa3a0cc1 removed parsing of the git revision from the git-repository for both config.system.nixos.revision and config.system.nixos.versionSuffix. afaics revisionWithDefault is now only used when building the docs.
maybe your 'cmpkgs' is newer than this commit and therefore doesn't provide this functionality anymore? or maybe your git-worktree-checkout is broken (on a git-worktree-level, so that the now 'dead-code' in lib.commitIdFromGitRepo can't parse it).

Hm. I'm still pretty confused but your comment helped, I think. I finally deleted .version-suffix from the master branch directory and now they both seem to behave similarly and not have the git version as part of the system derivation name. And to confirm, the git rev in the build output I showed above is not actually the git commit at that point in time! It was possibly from the last time before I rebased on top of f0f040c! Anyway, that's what I'm telling myself because it makes sense.
Thanks for the reply @elseym !

This seem to be fixed: 20.09.git.8a894fe9d00 (Nightingale)
But you need git installed. https://github.com/NixOS/nixpkgs/issues/91199

I've been annoyed by this for a while as well, and finally took some time to look into it, which eventually led me here.
There is another piece of the puzzle that took me a while to discover: at https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/nixos-rebuild.sh#L392, the .version-suffix file is only written if $canRun; that in turn is only true for nixos-rebuild boot, nixos-rebuild switch, or nixos-rebuild test (see https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/nixos-rebuild.sh#L213).
My workflow leads me to almost always run switch or boot from a non-worktree, but frequently run build from a worktree.  So I was confused for a while into thinking that the problem was related to worktrees, when now AFAICT it's not.
If we really believe the reasoning in the commit message of f0f040c, then I think we should remove the commit hash from the system name entirely.  This way, one can nixos-rebuild build and then later on be sure that a nixos-rebuild switch from that same commit will not need to rebuild anything.

But on the other hand, it is really useful to have the nixpkgs commit hash baked into the built system!

FWIW b0d9a1ac7d1fd6e7e2fba1c32f5ac350795024bb is how I've addressed this locally.

Just a heads up - this problem is automatically resolved in flakes.


Roll Engine from 5f2b73e49eca to 444cf45fd2e8 (2 revisions)

https://github.com/flutter/engine/compare/5f2b73e49eca...444cf45fd2e8
2022-04-01<EMAIL_ADDRESS>Roll Skia from a990ef91b3b5 to e94e2df07ac3 (2 revisions) (flutter/engine#32388)
2022-04-01<EMAIL_ADDRESS>[macOS, Keyboard] Derive keyboard layout using printable information from system (flutter/engine#32152)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Sql Server as Financial Data-Source

Hey guys, could you also create a page for this - Sql Server as Financial Data-Source, similar to - https://docs.microsoft.com/en-us/azure/architecture/solution-ideas/articles/finance-management-apps-using-azure-database-for-postgresql

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

ID: 2c98be6a-5d58-902d-e548-ca27b81b8bb8
Version Independent ID: ef43cbcf-6ab0-4dd1-db4f-9eaebf7ae1f7
Content: Finance management apps using Azure Database for PostgreSQL - Azure Solution Ideas
Content Source: docs/solution-ideas/articles/finance-management-apps-using-azure-database-for-postgresql.yml
Service: architecture-center
Sub-service: solution-idea
GitHub Login: @doodlemania2
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 459166

Thank you for your feedback.  We have created internal ticket 24802 to track and investigate this issue.

#please-close


Check unique values of site_pop per site

This pull request includes a change enhancing data validation: checks for unique site populations.
Enhancements to data validation:

Added a check to ensure that site_pop is unique per site in the validate_ww_conc_data function (R/validate.R).
Introduced a new test to verify that the population size per site remains constant (tests/testthat/test_preprocess_ww_data.R).

Documentation updates:

Updated NEWS.md to include a note about the new check for unique site_pop values.

Misc

Adds the dplyr:: prefix in multiple files (by @kaitejohnson):

flag_ww_outliers function in R/preprocessing.R
test_preprocess_ww_data.R tests

Pending CI passes, this LGTM, TY @gvegayon !


Namespace group link UI update

What does this PR do and why?
Describe in detail what your merge request does and why.
This PR add in the UI functionality to update group access level and expiration date for a namespace group link. This has been added for both groups and projects
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.

How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.

Login as a user
Visit a group and then it's members page
Click on the Groups tab
If there are no Direct Member groups that the namespace is linked to please invite a group
Once the group is invited they should be listed as a direct member and you should see a dropdown for the Group access level and and input which when clicked displays a datepicker for the Expiration
Try updating the group access level and expiration
They should succeed

NOTE: There currently is no validation for the expiration date nor the group access level (which we will probably want to add to not allow the direct member to have a lower group access level than an inherited namespace group link
PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

[X] I have evaluated the PR acceptance checklist for this PR.

I found a few edge case bugs.
Deleted Group Links are not handled correctly by the controller.

As a user open the Group Members page on 2 separate tabs.
In one tab unlink the last Group.
On the other tab attempt to update the last Groups role.
See the following behaviour

This behavior also occurs on the Members page, but instead of Content missing it just silently fails.

Good catch. So the not_found turbo stream file needed to have flashes appended so display the not found error for the members and namespace group links. For namespace group links I also had to update the setting of the @namespace_group_link in the group_link_controller for both groups and projects to return a not found if the namespace group link was not found in the database. The edge cases above have been addressed in a8a148b769c55d47ab10f4413066939b292ca914


[WIP] Use outbound middleware to set max timeouts on clients.

Why?
We have lots of boilerplate code within our clients and handler, where we decorate the interface with some orthogonal functionality. This results in code explosion as we have to do it for every single API method.
Some of those decorators rely on actual types (or error types) being used. Those could only be simplified with the help of generics.
However others can be expressed as transport level middleware.
This is an example how we could simplify our clients by moving cross cutting concerns to transport layer middleware.
If this seems acceptable, we could similarly simplify some other areas as well.

What changed?

Removed helpers that set default timeouts on outgoing calls. For admin and frontend client this was the only thing left there, thus removing the implementation all together.

Added outbound middleware that sets the context timeout override based on outbound method name.

Added mapping between method name and default (max) timeout value. This also revealed some interesting cases where we do not set any default timeouts. Left those as is, as this is purely refactoring. However concise mapping reveals such things at a quick glance.

How did you test it?
Added unit tests to check that string based mapping is up to date. If API is changed without updating the map, unit test will fail to remind it.

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 9918175e-700d-4dfb-8bc9-4633452349e1

30 of 38 (78.95%)  changed or added relevant lines in 5 files are covered.
125 unchanged lines in 15 files lost coverage.
Overall coverage increased (+0.1%) to 56.995%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/rpc/middleware.go
15
16
93.75%

client/history/client.go
0
3
0.0%

client/clientfactory.go
10
14
71.43%

Files with Coverage Reduction
New Missed Lines
%

common/task/weightedRoundRobinTaskScheduler.go
1
89.64%

service/history/execution/mutable_state_task_refresher.go
1
73.82%

client/clientfactory.go
2
74.24%

service/history/queue/transfer_queue_processor.go
2
57.24%

service/matching/matcher.go
2
91.46%

service/matching/taskListManager.go
2
74.66%

common/cache/lru.go
3
90.73%

common/persistence/serialization/parser.go
4
65.41%

common/persistence/serialization/thrift_decoder.go
4
59.6%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
6
55.04%

Totals

Change from base Build 9013b6a2-f541-4284-9254-cc5d134c52f3:
0.1%

Covered Lines:
82182

Relevant Lines:
144191

💛  - Coveralls


Add commands, update factory and add IExampleParent inheritance

This is related to #48 and adds commands for parameters examples management

This looks great.  The only thing missing is unit tests.  I'll add them and then merge.

Oh yes. Sorry for missing unit tests.

No problem!  All done and merged.  Thanks for the contribution.  Much appreciated.


How to configure multiple harbor for registry mirror

Question

How to configure multiple harbor for registry mirror?

Here we have a doc: https://github.com/dragonflyoss/Dragonfly/blob/master/docs/user_guide/docker_proxy.md

@allencloud thanks for your reply, but according to https://github.com/dragonflyoss/Dragonfly/issues/525

, if Dragonfly is configured as an HTTPS proxy, the powerful role of Dragonfly's P2P will be useless.

It would not take advantage P2P of use HTTPS proxy?

The later pr resolves this problem, you can config the property hijack_https to hijack the https request of downloading layer.

thx @lowzj @allencloud


Migrate from Javascript to TypeScript

Is there an existing issue that is already proposing this?

[X] I have searched the existing issues
[X] I use the right issue type

Describe your request.
Migrate from Javascript to TypeScript. So that's in the future useable for other tools.

ToDo:

[ ] Migrate configs to TypeScript
[ ] Use sharedConfig export variable
[ ] Update README.md
[ ] Copy Project ESLint config, to the local ESLint config
[ ] Copy Project Prettier config, to the local Prettier config


Calling color breaks in io.js v2.4.0 (npm v2.13.0)

Hi,
Calling the color node module seems to break things in io.js and possibly npm 2.13.0.  This is before I even try to use any of its functionality, just calling the module like so triggers the following error:
import Color from 'color'

I tried uninstalling and reinstalling it. Here is the error message:
ERROR in ./~/color/~/color-string/~/color-name/index.json
Module parse failed: /Users/~/git/xyz-repo/node_modules/color/node_modules/color-string/node_modules/color-name/index.json Line 2: Unexpected token :
You may need an appropriate loader to handle this file type.
| {
| 	"aliceblue": [240, 248, 255],
| 	"antiquewhite": [250, 235, 215],
| 	"aqua": [0, 255, 255],
 @ ./~/color/~/color-string/color-string.js 2:17-38

Any help on this would be really appreciated it.

I resolved this.  Adding the fix here in case this helps anyone...
In webpack.config.js, I added the following line:
{ test: /\.json$/, loader: "json-loader" }
to my loader array
module: {
   noParse: [
     /node-uuid/
   ],
   loaders: [
     { test: /\.json$/, loader: "json-loader" }
   ]

I had it in there before but it was set to exclude node_modules.

:+1: thanks for this couldn't figure out wth was going on.

Is it really resolved if you need a custom webpack config for it to work?

Just ran into this too.

Here's our culprit:
https://github.com/MoOx/color-name/blob/master/index.json
It's perfectly legal to require JSON from node. However, I think it's worth adapting the package to use plain JS for what's really just a pile of constants.

Done in https://github.com/MoOx/color-name/pull/2.

color-name 1.1.1 is out and will prevent this issue.

Thank you for the update @rgbkrk :+1: :)


Update Composer dependencies (2023-10-31-00-10)

Visual regression test passed!
View the visual regression test report


Update ip-ranges-configure.yml

Let's chat about this one :o)

Closing, because it was included in https://github.com/ministryofjustice/intranet/pull/615


Vundle not working correctly after git intalled on Windows 7

---- .vimrc ----
set nocompatible
syntax on
filetype off
set rtp+=$HOME/vimfiles/bundle/Vundle.vim/
call vundle#begin('$USERPROFILE/vimfiles/bundle/')
Plugin 'VundleVim/Vundle.vim'
call vundle#end()
filetype plugin indent on
---- :PluginInstall ----

---- Log after PluginInstall ----

---- git working in command prompt ----

---- envinronment vars is 100% correct ----

Can someone please help me out....
I did already reinstall vim and git so much times...and it's not working

Problem fixed by reset gvim and git !


travis-ci build  fail: No Gemfile found, skipping bundle install

I have same problem.
Travis-ci use ruby as default platform.
How can I use the heroku connect github and deploy with github.
The Travis-ci is good enough for almost project, but this project only deploy once on first.
Please tell us how to deploy it.


Switch media player to SWITCH type

Description:
MEDIA device type is being rejected by google now.
Related issue (if applicable): fixes #23891
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.
[X] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] ~Documentation added/updated in home-assistant.io~

If the code communicates with devices, web services, or third-party tools:

[ ] ~The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.~
[ ] ~New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.~
[ ] ~Untested files have been added to .coveragerc.~

If the code does not interact with devices:

[X] Tests have been added to verify that the new code works.

I think this needed to be a action.devices.types.LIGHT in order to control the volume on media players. Unless removing that functionality was on purpose.

Volume works. It's using volume trait not the old brightness trait. You won't see it in home app though.

When I issued the command "Hey google, set the receiver to 90%" it told me that the device didn't support that function.

Working fine here...
Make sure you are running 93.1

Also do a "sync my devices"

@pergolafabio That seemed to fix it the sync, figured it would have done that after the 93.1 update on it's own.

Also. Ask it to set the "volume" to 50 on  the device name.
Den sön 19 maj 2019 00:09pergolafabio<EMAIL_ADDRESS>skrev:

Also do a "sync my devices"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/23914?email_source=notifications&email_token=AADV5IGYHH4IPWBWIT7P443PWB4W7A5CNFSM4HNOCOCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWWZWY#issuecomment-493710555,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADV5IFEOBAZIGICRY2E2TTPWB4W7ANCNFSM4HNOCOCA
.

@elupus Yup already confirmed the re-sync fixed it up. 👍


Can you add the values of 'location' to the README?

I'm looking at this right now and it's unclear what "location" returns. Can you add that to the README?
For example, is it 'latitude' and 'longitude'? Is there a city name? Is it this data? https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocation_Class/
Specifically this part of the README could be improved:
var subscription = DeviceEventEmitter.addListener(
    'locationUpdated',
    (location) => {
        /**
          Location will be of the form:
          {'lat': ..., 'long': ..., etc}
    }
);

I added this a few months ago...


Update trace4cats-core, ... to 0.13.1+106-d0c19130

Updates

io.janstenpickle:trace4cats-core
io.janstenpickle:trace4cats-testkit

from 0.13.1+67-a7d9b849 to 0.13.1+106-d0c19130.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.janstenpickle" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "io.janstenpickle" }
}]

labels: library-update, early-semver-build-metadata, semver-spec-build-metadata, commit-count:1

Superseded by #121.


Added vm cpu memory modal

Signed-off-by: Matan Schatzman<EMAIL_ADDRESS>
📝 Description

Initially modal was created for VMI but it is currently not needed, so moved to VM, where it's needed, should be edited to match to VM.

🎥 Demo

Please add a video or an image of the behavior/changes

can be closed
https://github.com/kubevirt-ui/kubevirt-plugin/pull/151


Help for using jw-epub-parser

Hi @rhahao,
thanks for your great work.
Your jw-epub-parser is a great project.
I would like to use it. I have the following problem:

At the beginning I wanted to use your app in the browser via URL. However, the website does not allow it because of CORS.

Secondly, I wanted to read the file locally in the browser via  and pass it on as readAsDataURL(blob). But that didn't work. The following error message appears:
"You are using the Browser version of jw-epub-parser. Please switch to the Node version if needed."

What am I doing wrong?
How can I use it correctly?
Thank you for your answer
best regards

Hello @user-kh, thanks for reaching out!

If you still have an idea of accessing an URL to get the data, I’ve switched recently to a new URL to solve the CORS issue. Now it can be accessed here: https://api-source-materials.sws2apps.com/api/:language. The cons is not all languages are supported there.
I have an example using it in the browser here in this file. Could you check if it may help?

Thank you!

Hi @rhahao thank you very much for your quick answer.  I tried your second suggestion.  Now it worked!  Many thanks for your support

Hey @ux-git,
Thank you for your message.
I find the Organised App project very exciting. Basically, I would like to support you. However, I have no experience in developing with Firebase. In order to be able to help you, I need appropriate training.
If you like, you can also contact me personally. You can use the following
https://fern.my-router.de/umfrage/index.php/542412?lang=de

Hey @ux-git
I sent you a private message via email


Merge pull request #1 from Qiskit/master

Updating the fork

Summary
Details and comments

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


UI time not the same as steam leaderboard time

idk how to replicate easily I am just going to do this later


Allow to specify the json encoder in sanic (and other) views

Fixed by https://github.com/strawberry-graphql/strawberry/pull/2272 ?

Yes, thanks!


lacking in license

Hi , I just wanted to point out your project looks interesting but lacks a license file .. you don't HAVE to but it would help if I want to use this at work.. otherwise I will use the project you cited  https://github.com/Viredery/tf-eager-fasterrcnn since that one is MIT licensed
thank you

Thank you for reminding me, I will add a MIT license file. Best wishes~


Display ordered list number as described

Fixed orderd list numbers to display as described.

Fixed by #58


Initial page for privacy experiences

Is your feature request related to a specific problem?
Create a page for privacy experience work.
Describe the solution you'd like

Standard FE page setup
Potentially do not render the page in the nav if there are no privacy notices yet?
Set up redux to query GET api/v1/privacy_experience/?show_disabled=true&has_notices=true
Nested under Consent side nav

We might also need to query privacy notices and do a join here, depending on if the experience API will return consent mechanisms
Describe alternatives you've considered, if any
A description of any alternative solutions or features you've considered.
Additional context
Won't be able to use "real" data until https://github.com/ethyca/fides/issues/3019 but we can still mock things out in cypress if needed
Some questions for @mfbrown :

Should we put this behind the same privacy notice feature flag? Or should it be a separate flag?
Empty state discussion

When there are no notices, there will be no experiences. We could mark the page as disabled or not render it at all if there are no notices, but I'm a little wary of this because of our regrets with the progressive nav

for example, if a user creates a privacy notice linked to a data use advertising which has a corresponding experience, and that is their only notice/experience, but then they remove the system that had that data use, the experience page would totally disappear, and it wouldn't be obvious why since the last edit was on a system page, not anything consent related

I'd push for some simple text that says you need privacy notices first since that would also keep the nav config logic simpler. thoughts?

@allisonking I think keeping this a separate feature flag for now makes sense (Dev settable only) and your instincts sound right regarding the simple option for an empty state.

moving to done

moving to done


Source Links Missing in execnb

https://fastai.github.io/execnb/shell.html
Maybe its an error with doclinks.  We should look into it!

fixed due to missing line in setup.py


Systemd unit need both Requires and After for nm-unmetered-connection to work

Need to add After=nm-unmetered-connection.service after the Requires line
https://github.com/erikw/restic-automatic-backup-scheduler/blob/9e60df6caa0c76084cf1d9f3663451c32e9e46b3/usr/lib/systemd/system/restic-backup%40.service#L6
Reference: https://stackoverflow.com/a/62805159

Thank you @andrewcchen ! I've updated accordingly:)


Make a difference between static route and a parameter one

Here is two defined path :
$app->get('/hello/{name}', function($name) {
    return "Hello World $name";
});

$app->get('/hello/test', function() {
    return "Hello World -> test";
});

When I call the URL (/hello/test), I am expecting to have "Hello World -> test", but I have "Hello World test"

This is because the routes are matched in a first match order, not a 'best` (or how you want to call it) order. Flip the routes around, i.e. '/hell/test' first and it should work as you want.

correct.
cheers.


chore(CategoryTheory): universe polymorphic CategoryTheory.Limits.Types.coproductIso

Fixes a typo requiring matching universe levels in CategoryTheory.Limits.Types.coproductIso.

With some work we should be able to add the [UnivLE.{v, u}] version as well I think.

I don't really have time for that right now, but feel free to add that if you figure it out!

This is already more general than what we have, so let's start with this version. Thanks!
bors merge


Uncaught exception when git not in PATH on Windows

WindowsError, not CalledProcessError, is thrown on Windows when subprocess.Popen() fails due to executable not found. The scripts fails to display a simple, helpful message; user gets a stack trace.
Also various improvements to messages

@mbed-bot: TEST

@mbed-bot: TEST

@sukidog  this patch looks good.  Did you want it merged, or were you planning on adding more commits to it?

No additional commits coming for this specific issue. More coming on Monday for a different one, though. Should probably use a separate PR for that, so please merge.


Auth OIDC and Gitlab errors, but nothing in logs

Hello,
I am trying to configure OIDC or Gitlab auth.
The point is that I have for both I end with an error like this on web:
server error
trace = 060dd72d-2072-40a2-8ea3-xxxxxxxxxxxx

But even with log level set to DEBUG I have nothing in the logs output of the wg-access-server container.
So do you think I could have more logs to understand what is the error I have? Or maybe do you see any bad config I made?
Here is my config.yaml
auth:
  oidc:
    name: "SSO CAS"
    issuer: "https://sso-preprod.aaa.fr/cas/oidc"
    clientID: "wireguard"
    clientSecret: "xxx"
    scopes:
      - openid
      - profile
      - email
    redirectURL: "https://vpn.aaa.fr/callback"
    claimMapping:
      admin: "'WireguardAdmins' in group_membership"
  gitlab:
    name: "Gitlab Preprod"
    baseURL: "https://git.aaa.fr"
    clientID: "xxxxxx"
    clientSecret: "yyyyyyy"
    redirectURL: "https://vpn.company.fr/callback"
    emailDomains:
      - aaa.fr

Yeah, the missing logs for grpc endpoints was to be fixed with #119, but I think I'm going to split that out into a separate PR now since I've got some code for this already.

Ok, sorry I saw this issue, and I thought it was something different. If you need me to test some PR about this I can try .

If you are setup for building the binary or Docker image from source you can try #155, I would welcome testing and feedback.
The config looks good to me, syntax-wise. Could be that wg-access-server can't reach the Issuer, but also anything else.

Hello, the problem was on the OIDC server that was not sending a namevalue. We have been able to  fix this on our side thanks to the logs provided via #155 :sunglasses: :+1:

Nice to hear! I've also added a commit to #155 to handle a missing name gracefully, it's not needed and only optional for the "All Devices" list (where it falls back to the email address or subject).


use cpp interface instead of c API

Having played with accessing faiss via the cxx crate it was reasonably straightforward to create interoperability between rust and faiss.
Is there a reason why the use of the C api is preferred for interacting with faiss?

There happens to be a combination of reasons for faiss-rs to be integrated this way.
The most obvious one is that cxx did not exist back then. These bindings were first created in early 2018, and cxx only became a somewhat viable choice in 2019. The only other reasonable choice that could have been made back then was to try to bindgen the C++ API directly, potentially with poor results when working with standard C++ containers and such.
Creating a C API for Faiss was an opportunity to fill in the gap while opening doors for other technologies to use Faiss without SWIG or trying to get along with C++. And since this works, there isn't a high enough benefit/cost ratio to justify a rewrite that would also influence the current expectations of the library. For such an idea to go through, there should be a somewhat smooth transition process, and/or it should retain the possibility of setting up all relevant build parameters from the main Faiss project.
You can read more into the process of creating faiss-rs in the blog posts "Taking the long road: bindings for a vector similarity search library", Part 1 & Part 2.

Thanks. Closing this issue.


[iTranslate] not translate

Extension – iTranslate
Author:

Description
A few days ago ITranslate stopped to translate

Raycast version

@UtopiaEH Hi, the default is the free Google translation, which is really not very stable. I just tried it, it could work.

You can check this configuration, whether it is "com"

Free Google Translate by default isn't perfect. It crashes a lot. I will look for a better replacement later. BTW, You can spend some time to apply for some translation services, and they often provide free quotas, so that the translation function will be much stable。

Google Could Translation
Deepl
Microsoft Azure
Youdao
Baidu
Tencent
Aliyun

@UtopiaEH Hi, the default is the free Google translation, which is really not very stable. I just tried it, it could work.
You can check this configuration, you should set it to "com" if you are not in mainland China
Free Google Translate by default isn't perfect. It crashes a lot. I will look for a better replacement later. BTW, You can spend some time to apply for some translation services, and they often provide free quotas, so that the translation function will be much stable。

Google Could Translation
Deepl
Microsoft Azure
Youdao
Baidu
Tencent
Aliyun

@UtopiaEH Is it working right now?😅

@UtopiaEH Is it working right now?😅

yeap i changed to com and I don't noticed some issues

nice～～ In the next version I will make com as the default value. Have a good day

nice～～ In the next version I will make com as the default value. Have a good day

thx you,  by the way very useful extensions to improve your dictionary have a good week I will subscribe to you new feature :D

nice～～ In the next version I will make com as the default value. Have a good day

thx you, by the way very useful extensions to improve your dictionary have a good week I will subscribe to you new feature :D

Dictionary is a good suggestion, but for now, iTranslate's goal is to do a good job of translating. Maybe in the future I'll add a Commond to iTranslate for the dictionary feature🤔
In the Raycast Store, Easy Dictionary is a good extension of the dictionary, you can try it

It seems that cn can no longer be used because Google Translate has closed the China site.  Google疑似关闭了Google翻译的中国站点
However, since Raycast does not support system proxy by default, com does not work for Chinese users either.
Maybe you need to make your extension support system proxy in order to allow Chinese users to continue using Google Translate 😓

@tisfeng Thx, Let me try.


Helm Secret too large

Hello,
i get the following error when installing the kube-prometheus-stack-crds.
Error: create: failed to create: Secret "sh.helm.release.v1.kube-prometheus-stack-crds.v1" is invalid: data: Too long: must have at most 1048576 bytes
Is there anything i can do against it? I found your discossion in https://github.com/community-tooling/charts/pull/64 but there was no "solution" for me.
I am using the following command to install the crds: helm upgrade --install kube-prometheus-stack-crds community-tooling/kube-prometheus-stack-crds -n monitoring-system --create-namespace --version 55.5.2

@simonostendorf I missed this issue, sorry for the delay.
There is nothing we can do about this.
The root cause is that secrets have a maximum size of 1MiB, and that is not going to change in Kubernetes.
helm writes all the templated resources into the sh.helm.release.v1.… secret.
Once that secret would be > 1MiB, helm cannot create it anymore and therefore things like helm diff and helm rollback would not work anymore.
The only way to fix this is to not use helm to manage the charts. I personally use ArgoCD, which uses helm template to template helm charts, but does not use helm install/upgrade to deploy them.


Default discovery-ec2 region to none.

Description
Defaults discovery-ec2 plugin default region to none. According to https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/region-selection.html this should automatically determine the Region from the environment.
Related Issues
Resolves https://github.com/opensearch-project/OpenSearch/issues/7959.
Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@raghuvanshraj do we need to do something similar for repository-s3?


Docker port issue or by design?

Thanks for the new dockerfile :)
I wondered why you are exposing 8080/tcp from the docker but use 8000/tcp in the sample config files.
Are both ports used or we should we update and use 8080 as the default?
Thanks.

Uh...
All the Kubernetes code & Docker assumes 8080, and the examples 8000.
I will prepare a PR, probably just changing the example files.


Autoloading of nixDir/nixConfigurations does not work

With the following Nixos Configuration:
# nixosConfigurations/system.nix
{inputs, ...}:
inputs.lib.nixosSystem {
  system = "x86_64-linux";
  modules = [];
}

I get the following error:
❯ sudo nixos-rebuild build --flake .#system
building the system configuration...
error: A definition for option `nixosConfigurations.system' is not of type `nixosConfiguration'. Definition values:
 In `/nix/store/ksaq37y8nn0w6a1hxianxr19n327abq0-source/builtinModules/nixDir.nix': <function, args: {inputs}>

Hi, thanks for the report!
This was because the NixOS configuration attribute values have to be the actual configuration value, and above is setting it to a function that returns a configuration.
I have added the ability to configure it like this in 6d00e0f544ddd7849a9104414c5d76cc15adb8a2.
You should now be able to configure it like that as follows:
# nixosConfigurations/system.nix
{inputs, ...}:
inputs.nixpkgs.lib.nixosSystem {
  system = "x86_64-linux";
  modules = [];
}

Yes, that solves the problem! Thanks!


[Request] Start inner react app

Hi,
first of all THANKS for this amazing project.
Would it be possible to add a yarn start script to start the devserver for inner react app without the electron wrapper?
I would like to start and build the web-project isolated (like yarn vite) ontop of the current yarn dev and yarn build for the electron
as naming, we could also use something like:
yarn dev:renderer
yarn build:renderer
Thank you soo much
Blade

@caoxiemeihao  YOOOO Thank you soooo much for this wonderful piece!!!
amazing project!! i added some stuff to create a base repo for me aswell:
https://github.com/YeonV/Vitron#vitron

You're welcome. I'm not familiar with English; I'm glad to help you! 😄


Cran fixes

Opening this to start a discussion

@zsteinmetz, went through and ignored some of the tests and examples that cran was upset about. Also tried to speed up the vignette.

Hey @wincowgerDEV, I already reduced the number of examples before. Let's try another submission with the remaining ones before excluding them completely. dontrun examples are often neglected because everybody thinks they're wrong by example.

Sounds good!

I ran some additional tests. Timings look better now. Preparing 1.0.1 ...


Package request: calico

Project description
Calico is a CNI for Kubernetes. As I understand the only CNI available for NixOS is flannel. It would be great to have some options, especially as Calico is so popular and typically the default for a lot of Cloud providers.
Metadata

homepage URL: https://github.com/projectcalico/calico
source URL: https://github.com/projectcalico/calico
license: Apache License 2.0
platforms: any

I believe Flannel was probably packaged for NixOS because it's also used outside of kubernetes
https://github.com/flannel-io/flannel#getting-started-on-docker
I've found some docs about installing Calico outside of kube (https://docs.projectcalico.org/getting-started/bare-metal/) but if your goal is to use it in kube I'm wondering what's wrong with the officially provided methods of deployment?
I'd be interested in packaging it but I just want to understand your motivations :sweat_smile:
Do you want to build your own images using nix and deploy them to the cluster?
Do you want to define calico as a systemd service on your NixOS host?
Do you just want the calicoctl on your NixOS hosts?

There's an option for the NixOS Kubernetes service, services.kubernetes.kubelet.cni.packages which I presume would be the place to install CNIs such as Flannel, Calico, etc. There is no package for Calico and so this cannot be used. I'm fine with installing Calico "manually" but it seems a bit weird given there's also services.kubernetes.kubelet.cni.config and that Flannel doesn't work this way.
Let me know what your thoughts are.

Nice, yeah that makes sense.
I'll have a look into it over the next couple of days. I'll also see how flannel is set up

I'll be working on this soon as I need it too. Meanwhile, as calico binaires as statically linked, you can download them from their release page.

Sorry I haven't posted an update. Calico binary compiles just fine from their repo. The longer part will be creating the nixos configuration similar to flannel
I'll try and pop a draft PR in later for the package

Would you mind showing your configuration too? And maybe add it to the NixOS module? It might be useful to others.

Not started on the module, this is the flannel stuff though if you'd like to look over that setup:
package: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/flannel/default.nix
network module: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/networking/flannel.nix
kubernetes module: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/cluster/kubernetes/flannel.nix
test: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/flannel.nix


Add QueryRequest::Any

We want this to be an improved version of the QueryRequest::Stargate query.
Some of the pain points of the current Stargate query:

As far as I can see, responses seem to sometimes be json, sometimes protobuf, even though the docs clearly specify protobuf. I wonder if there is some way to enforce this, since the responses are defined by the chains
The use of protobufs (as opposed to json like everywhere else) seems to regularly confuse contract devs who try to pass json in there. It would be good to make this easier somehow.

We could add something like a ProtobufBytes wrapper type that does some basic validation.
With that we could solve both points. Alternatively, for the first point, that validation could be done in wasmd to not burden the contract code with it.
However, the tricky part here is: How much can even be validated without knowing the concrete protobuf type? Does it become easier if we require all of them to by Any types?

As far as I can see, responses seem to sometimes be json, sometimes protobuf, even though the docs clearly specify protobuf. I wonder if there is some way to enforce this, since the responses are defined by the chains

There is basic protobuf bytes validation you can do in let's say wasmvm or wasmd. It won't tell you much about the content but should be good enough to differentiate protobuf from JSON.

The use of protobufs (as opposed to json like everywhere else) seems to regularly confuse contract devs who try to pass json in there. It would be good to make this easier somehow.

This sense of "JSON everywhere" is changing and needs to change. A lot of advanced developers can't work without the Any message and need to parse protobuf message responses. Tooling-wise there are options:

Anybuf/Bufany
prost code generator
prost annotated types
There is an ecosystem developing around the core functionalits. E.g. Osmosis has a standard library that allows you to have typed interfaces for the messages and queries relevant to their chain. It does the proto ser/de in Wasm wrapped in their lib.
Step 1 is to have a correct interface. Making this easy to use will follow.

Another thing I was thinking about is the interface name and fields. This is not really an Any. It's a gRPC request which consists of a path to the service and a request body. This looks similar, but I'd use the "grpc" naming instead.

This sense of "JSON everywhere" is changing and needs to change

Agreed. What I meant to say is that it would be nice to make the use of protobuf more obvious through types.
That way users would notice incorrect usage early on.

Osmosis has a standard library that allows you to have typed interfaces for the messages and queries relevant to their chain

That's exactly what I would hope to see! If we can get most chains to do this, then my point above will become less important. Maybe we can think about ways to make this easier for more chains in the future. Like code generation or something like that.
QueryRequest::Grpc sounds fine to me.

That's exactly what I would hope to see!

This is somewhere in https://crates.io/crates/osmosis-std. Examples:

Custom message type
Typed message result
Typed query and response

"As far as I can see, responses seem to sometimes be json, sometimes protobuf, even though the docs clearly specify protobuf"

What determines this? When are the responses from QueryRequest::Stargate JSON versus protobuf?

What determines this? When are the responses from QueryRequest::Stargate JSON versus protobuf?

ConvertProtoToJSONMarshal introduced in https://github.com/CosmWasm/wasmd/pull/1069 for chains using AcceptListStargateQuerier. If a custom replacement of AcceptListStargateQuerier, responses might be proto bytes depending on the implementation.
To quote the original author:  Note that this PR does not simply revert https://github.com/CosmWasm/wasmd/pull/812, this PR includes converting the state machine response from a proto response to a json marsahlled response so that clients can use it directly by json unmarshalling. (This is also why we now feed codec as a parameter in StargateQuerier in this PR).
This change was a mistake but it slipped through.

After looking into this, I am wondering if it would make more sense to keep this query separate from the other QueryRequests.
If we make this a QueryRequest variant, it should stay compatible with QuerierWrapper::query, which expects a json response. That would force us to convert the protobuf to json Binary (so, basically base64 encoding and decoding it), which seems unnecessary.
Instead, we could provide a separate function like QuerierWrapper::query_grpc that just returns the protobuf binary directly.
WDYT?

I didn't mean touching the result types originally, but I get what you mean now.
It's a bit unfortunate for passing binary around that the ExternalQuerier always expects json data.
To change that, we'd have to change the Querier trait in both cosmwasm-std and cosmwasm-vm.
We probably still want at least one level of error, so if we want to avoid json here completely, we'd have to have an alternative version of the query_chain import with different encoding or a separate error message.
Overall, that seem like a bit too much. I'm not sure it's worth that much effort.

One way to look at this is: we can always add a new route later on to increase encoding efficiency if needed. Adding it in the current system (response binary embedded in 2 levels of JSON result structures) is straight forward.


Add WakeUp signature

Add WakeUp signature
Reponds to this task
Description
This PR adds the WakeUp signature at the bottom of the screen.
Changes

Add a  component
Created the  component and put it inside said footer
Modified  to fill all the space between header and footer.

LGTM!


Update documentation

This PR adds SynapseNet and original code repo for all other (known to my knowledge) projects using torch-em. I'll merge this once the tests pass!

We could also add micro-sam

micro-sam is already in doc 😉 (both the preprint and original repo)


[docs] add XPU to profiler documentation and fix minor bugs

What does this PR do?
As the title suggest, this PR add one-line comment for XPU users and also fix 2 minor bugs.
The first one is that the missing input data preparation, which leads to the following error on CUDA:
RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same or input should be a MKLDNN tensor and weight is a dense tensor

The second one is the small training steps in the example code, which leads to no print message and no trace.json is saved.
@muellerzr

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

I realized that the change in this PR is also included in PR #3227. So we can close this one.


Create CONTRIBUTING.md

To better support open source contributions it would be beneficial to have contributing guidelines

Done


Replication fails with [WS] warning: ClientSocket got POSIX error 140 "A non-blocking socket operation could not be completed immediately.

Describe the bug
Flutter Windows Replicator via secured websocket error.
To Reproduce
Steps to reproduce the behavior:
await CouchbaseLiteFlutter.init();
db = await Database.openAsync('myDB');
final syncGatewayReplicationUrl = Uri(
      scheme: 'wss',
      host: "myURL",
      port: 4984,
      path: "db",
    );
 _replicator = await Replicator.create(ReplicatorConfiguration(
        database: db,
        target: UrlEndpoint(syncGatewayReplicationUrl),
        authenticator: SessionAuthenticator(
            sessionId: "bec550ec55283d70f2cfd21d029165ba95961bb4",
            cookieName: "SyncGatewaySession"),
));
_replicator.start()

Client log
flutter: STATUS CHANGED: ReplicatorStatus(busy)
flutter: 14:11:37.420540| [WS] warning: ClientSocket got POSIX error 140 "A non-blocking socket operation could not be completed immediately."
flutter: 14:11:37.421533| [WS] error: {BuiltInWebSocket#12} Unexpected or unclean socket disconnect! (reason=Network error 3)
flutter: 14:11:37.423542| [Sync] error: {Repl#11} Got LiteCore error: Network error 3, "connection timed out"
flutter: STATUS CHANGED: ReplicatorStatus(busy, error: NetworkException(connection timed out, code: timeout))
flutter: 14:11:37.621472| [Sync] error: {C4Replicator#13} Transient error (Network error 3, "connection timed out"); attempt #2 in 2 sec...
flutter: STATUS CHANGED: ReplicatorStatus(offline, error: NetworkException(connection timed out, code: timeout))

Server log
2022-02-20T06:47:30.958Z [INF] HTTP:  #683: GET /db/_blipsync (as <ud>cN3PHr8P2WNZWsJYy7SV3wTAHrs1</ud>)
2022-02-20T06:47:30.958Z [INF] HTTP+: #683:     --> 101 [339cb2a4] Upgraded to WebSocket protocol BLIP_3+CBMobile_3 (as <ud>cN3PHr8P2WNZWsJYy7SV3wTAHrs1</ud>)  (0.0 ms)
2022-02-20T06:47:30.958Z [INF] WS: c:#683 Start BLIP/Websocket handler
2022-02-20T06:47:30.960Z [INF] SyncMsg: c:[339cb2a4] #1: Type:getCheckpoint Client:cp-3flywHo8PgHoM8HQjhHc+8lPV6s=
2022-02-20T06:47:30.960Z [INF] SyncMsg: c:[339cb2a4] #1: Type:getCheckpoint   --> 404 missing Time:663.008µs
2022-02-20T06:47:30.962Z [INF] SyncMsg: c:[339cb2a4] #2: Type:subChanges Since:0
2022-02-20T06:47:30.962Z [INF] Sync: c:[339cb2a4] Sending changes since 0
2022-02-20T06:47:30.962Z [INF] Changes: c:[339cb2a4] MultiChangesFeed(channels: <ud>{*}</ud>, options: {Since: 0, Limit: 0, Conflicts: false, IncludeDocs: false, Wait: false, Continuous: false, HeartbeatMs: 0, TimeoutMs: 0, ActiveOnly: false}) ... <ud>  (to cN3PHr8P2WNZWsJYy7SV3wTAHrs1)</ud>
2022-02-20T06:47:30.962Z [INF] Cache: c:[339cb2a4] GetCachedChanges("<ud>-hIWX4KY6OhdB0LUAdy6R0_</ud>", 54920:0) --> 25 changes valid from #1
2022-02-20T06:47:30.962Z [INF] Cache: c:[339cb2a4] GetCachedChanges("<ud>!</ud>", 0) --> 7 changes valid from #1
2022-02-20T06:47:30.962Z [INF] Cache: c:[339cb2a4] GetCachedChanges("<ud>user::cN3PHr8P2WNZWsJYy7SV3wTAHrs1</ud>", 54712:0) --> 90 changes valid from #1
2022-02-20T06:47:30.962Z [INF] Changes: c:[339cb2a4] MultiChangesFeed done <ud>  (to cN3PHr8P2WNZWsJYy7SV3wTAHrs1)</ud>
2022-02-20T06:47:30.966Z [INF] Sync: c:[339cb2a4] Sent 97 changes to client, from seq 16357
2022-02-20T06:47:31.018Z [INF] HTTP: c:[339cb2a4] #683:    --> BLIP+WebSocket connection closed

Environment (please complete the following information):

OS: Windows 10
cbl: ^1.0.0-beta.15
cbl_dart: ^1.0.0-beta.6
cbl_flutter: ^1.0.0-beta.13
cbl_flutter_ce: ^1.0.0-beta.6
SGW: ==== Couchbase Sync Gateway/3.0.0(460;26daced) CE ====
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.19044.1526], locale en-US)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.5)
[√] VS Code, 64-bit edition (version 1.64.2)
[√] Connected device (3 available)
[√] HTTP Host Availability

Additional notes:
My current SGW set up works fine with flutter couchbase on Android.

Thanks for the report.
Issue #291 is caused by the same problem with encrypted connections as this one.
I believe this has been fixed in the upcoming Couchbase Lite 3.0 GA release.

On a side note, replication via plain websocket completed without issues. Both replications are direct and not through any proxy.

That matches up with what I have found when replicating this.

Oh, I also looked at #291 and the follow ups on couchbase's forum before filing this issue. I guess we have to wait on their end then. In the mean time I will resort to non-secure replication on Windows. Thank you for the library.


Fix Mistaken CSS Reordering

Description
Fixes: https://github.com/MudBlazor/MudBlazor/issues/8144
Fixes: https://github.com/MudBlazor/MudBlazor/pull/7948#issuecomment-1992474850
This returns the old reordering in MudBlazor.scss file which was broken with MudToggleGroup PR.
How Has This Been Tested?

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

Fixes the DatePicker visual crash.

Checking now

Double checked file order and downloaded PR to visually test DatePicker

Thank you @mckaragoz and @mikes-gh !


Rust edition 2021 not recognized

cargo-deb: unable to parse Cargo.toml
  because: unknown variant `2021`, expected `2015` or `2018` for key `package.edition` at line 49 column 1

What version of cargo-deb are you using? I have 1.34.0 and it recognizes edition = "2021"

I had version 1.29.1 and after updating to 1.34 it worked :)


feat: add phpstan (BC break)

Changed:

Added phpstan
Added type hints everywhere
Fixed a lot of type errors
Integrated Travis to run phpstan
Added a composer.lock (used for travis checks)
Changed U2FRegistrationListener to U2FRegistrationSubscriber in the example since it's not a EventListener. Also removed adding the Subscriber to the services.yml, because that's not needed anymore.
Added missing things to the example (stumbled over while creating a test project)

BC breaks:

Methods in TwoFactorInterface now have native type hints and return types. Implementing classes need to be updated.
Method doRegistration of U2FAuthenticator changed its type hints. Usages need to be updated.
RegisterEvent now uses type hints and return types. Usages need to be updated.

TODOs:

[x] Document BC breaks
[x] Testing
[x] Activate Travis for this repository
[x] Wait for https://github.com/darookee/u2f-two-factor-bundle/pull/35 to integrate its changes

@darookee Could you do step 1 form the Travis docs? Are you fine with these changes? There were a lot of type-related issues which have been fixed. This would greatly improve the usage of the public API.

@darookee @stephanvierkant What do you think? The travis integration seems to work fine. I've tested the changes with a sample project (upgraded from 0.6.2 to this branch) and it seems to work. Could you please verify it with some of your projects?

Works on my machine!

Maybe we should provide an UPGRADE.MD to explain the BC changes (return/parameter types TwoFactorInterface)

Add a CHANGELOG.md and/or UPGRADE.md to explain the (BC) changes.

Maybe after this PR, because https://github.com/darookee/u2f-two-factor-bundle/pull/35 also introduced BCs?

Use PHP Coding Standards Fixer: https://cs.symfony.com/ and add CONTRIBUTING.md with explanation how to use PHP CS fixer

I'd suggest this is something to add in a separate PR, because it requires the agreement on a style guide.

Looks good to me!


update flutter_svg dependency version

As for this issue the flutter_svg has build error actually with version 10.2, should update to 10.3.
I dont know if ^ fix it or not, but I using newest version of advcanced_networkimage got some error on iOS (android is ok)

You can verify the version in .packages file at your project root folder.
I got xxx/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.10.3/lib/.

You can verify the version in .packages file at your project root folder.
I got xxx/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_svg-0.10.3/lib/.

@mchome I specific flutter_svg version to 0.10.3 now.

This better using 0.10.3 cause flutter_svg specific a version for now.

You dont need to do this. After performing flutter packags upgrade, you will get 0.10.3 because of ^ prefix.


cargo: permit windows-sys >=0.52.0 and <=0.59.*

This matches a similar change made by @ChrisDenton for winapi-util in:
https://github.com/BurntSushi/winapi-util/pull/19
The benefit is that this should hopefully put less constraints on the
ecosystem and to enable fewer copies of windows-sys to appear in
dependency trees.
I am somewhat miffed that this is necessary. IMO, the windows-sys
maintainers should find a way to make a stable release with infrequent
or ~zero breaking change releases.

IMO, the windows-sys maintainers should find a way to make a stable release with infrequent or ~zero breaking change releases.

The windows-sys crate is auto-generated from upstream metadata so only has so much control. And people do want fixes for issues so zero breaking changes won't be realistic until the metadata stabilizes and is fully reliable. I don't think infrequent release would solve the issue either. Whether it's a breaking release every six months or two years, there's going to be a point where the ecosystem is split for a long time due to the very different rates at which crates update their dependencies (almost immediately, via a bot, or a year or two later when someone happens to notice the outdated dependency).
There is however another option. Bespoke bindings can be generated using the windows-bindgen crate. The only public dependency is the windows-targets crate which should rarely (if ever) require an update. You can see a quick example of using it in the crate's readme. The windows-rs repository uses it for some crates. E.g. see [strings.txt].

Thank you! I'll probably move to windows-targets at some point, since there are very small interaction points (at least currently) with the Windows API.


Support Stripe email receipts

As described here https://support.stripe.com/questions/email-receipts , Stripe has two ways to manage email receipts:

passing in a receipt_email with the charge creation request
or setting an email when creating a customer, and then turning on customer receipts from the email settings in Stripe dashboard

As shown below (code from hapi-flatmarket/lib/index.js), Flatmarket can handle plans (in which case it uses stripe.customers.create) or single charges (in which case it uses stripe.charges.create):

The question is: Is it possible to support email receipts by slightly modifying this?
Thanks in advance!

If I add receipt_email: 'email' after source: req.payload.token,, it doesn't work.

Yes it should be possible and it looks like you're on the right track. I don't have time to look into this in the short term.


[ART-4315] rhcos: release-browser moved to new cluster

https://github.com/openshift/doozer/pull/635/files#diff-e9e133d8997881d9e69d6d1cda1c631eae8a6fe2cdf890ae20a2dde5dd002221L135-L136 is this updated?

sorry @thegreyd that link doesn't point to anything for me, not sure what you're asking about


Blorb typo?

Just looking at the code, I haven't run it, but isn't the type setting only defined for pictures? I assume this should be blorbtype instead.

Hm, good question. I think the correct answer is that I didn't mean to return data at all. Nothing checks that field after calling get_data_chunk(). The image code is all careful to hide Blorb (IFF) type codes and return 'png'/'jpeg' instead, so I don't think there was any intention to return blorbtype here.
You don't need it for anything, do you?

I'm not using it. I just saw what looked like a bug while making my own version of the library. And if anything did need it, it could just call get_chunk.


[BUG] blade excel bug when reading italic

Hi, I using the excel export. Everything is good, I can specify font-size but doesn't work for the one with  tag, it will always shows the font-size as 12 in excel.

Hello,
Please use the provided github issue template (https://github.com/Maatwebsite/Laravel-Excel/blob/2.1/.github/ISSUE_TEMPLATE.md) which was automatically inserted on issue create. Without the template, we are not able to efficiently look at your issue/question/proposal.


Is code build required every time I log in to docker?

So Every time I want to use Dreamview, it seems It requires code build. Even though there is no change in the source code, why build process is required just to run Dreamview?
For example, After building the code, when I exit the docker and the re-enter and try

bash bootstrap.sh

I see following

Start roscore...
Could not launch module monitor. Is it already built?
Could not launch module dreamview. Is it already built?

Is there a way to skip unnecessary build process every time I want to just already build code?

After you have done a great change in docker, you can commit this docker with the same name or another new name, when you login into the docker with this name or the new name next time, you don't need to build again if you haven't changed your code or launch file.

when you start your docker container start with bash docker/script/dev_start.sh -l . It will not start a new container but run already built the container. Hope this will help. Also if you do changes in docker container push them to the docker hub. Then all the other things will be preserved.

@GPrathap
Thank you. What I am wondering is that I after I build the code, I want to save it as a local container that I can start anytime without login into docker.
So how can I save the build code into local container and reuse it again and again?
Thanks

bash docker/script/dev_start.sh -l  this will not pull from the docker hub. It uses the local image. But every time when you want to build or run you have to log in to the local container. There is no way without login into the container. Don't try to install into your PC. it may take a lot of time get it ready. So use bash docker/script/dev_start.sh -l and then bash docker/script/dev_into.sh -l and have fun :)

@GPrathap , Thank you for all help.
So after starting docker with dev_start.sh and then entering it with dev_into.sh,  I build the code.
I created a release images. I can see them with command "docker images".
But when I exit the docker and then run
bash scripts/bootstrap.sh -l
and
bash docker/script/dev_into.sh -l
I cannot run launch Dreamview with bootstrap.sh file. I get following error  (in the screenshot)

I am not sure what I am missing here. Please help.  Thanks

Have a look in this issue about permission problem.

@palejiya according to the error, you don't have permission for file writing data/log directory, please check the permission on this directory and give write access

Closing this issue as it appears to be resolved. Feel free to reopen if you have additional questions. Thanks!


It generates multiple LTTextLineHorizontal on single level instead of a single one

It often generates multiple LTTextLineHorizontals instead of a single one. I guess it is because of hardcoded word_margin. I guess we need to find it adaptively rather than use hardcoded one.
I have tried sklearn.cluster.dbscan on characters centers and it gives nice results. I guess it's better to use bounding boxes to measure distances, but I'm not very familiar with sklearn and I don't want to make a dense matrix. But we can define own metrics taking in account bounding boxes.

I'm interpreting this issue as: are there ways we can improve the grouping of character objects.
Currently the word_margin takes the width (or height) of the character bounding boxes into account. What other parameters can we use to make its value more dynamic? DBScan takes the local density into account but I'm not sure if that makes sense for characters.
We could introduce an word_margin='auto' value that dynamically sets the word_margin for each page.

@KOLANICH do you have a pdf that demonstrates this? What issues does this cause in extracting the text? Can you tune (i.e. increase) the char_margin to prevent the problem?

In fact I have already solved this issue with an another PR (the pdfs were pathological (I have removed embedded fonts from them to make them smaller, so the info pdfminer relies on got lost), so that PR got an approximation of glyphs sizes from an another source and that worked fine).


[FALSE-POSITIVE] Request for False Positive Review – admin.trustindex.io

Domains or links
admin.trustindex.io and any other subdomain of trustindex ( *.trustindex.)
More Information
We discovered our website/domain was listed here as a false positive during a routine check following a recent security incident. While our website was targeted in an attack, the issue has since been resolved, and all malicious activity has been fought off. Our site is now secure and functioning normally.
Have you requested removal from other sources?
Yes, we have requested removal from AdGuard, VIPRE Security Group, CRDF Labs and other relevant sources.
Here is the link to the removal requests (that is publicly available) :

CRDF

Additional context
Our site, Trustindex.io, is a legitimate platform used for managing and displaying online reviews to help businesses enhance their online reputation. Following the attack, we conducted a thorough security audit, removed any malicious code or files, and reinforced our security measures.
We believe this listing may be a residual effect of the recent attack, as no malicious content or phishing activity exists on our site. We kindly request a review to remove our domain from this list.

Not listed.
-- feel free to reopen with more information.

@funilrys it is listed in the db somewhere, or at least released from here
Search result from External Hosts-Sources
@mypdns's External Hosts-Sources can be found here
data/phishing_database/ALL-phishing-links.csv:admin.trustindex.io

Sorted result
admin.trustindex.io

Search result from easylist

Search in Matrix
Search results from Matrix blacklist project
source/tracking/wildcard.csv:trustindex.io

Did not find any matching RPZ records
Known Issues
My Privacy DNS's Knowledge Base
Any known matrix issues?
Foreign projects
+++++++++++++++++++++++++++++++++++++++
+ Thanks to My Privacy DNS for this knowledge +
+++++++++++++++++++++++++++++++++++++++
Drilling for trustindex.io
trustindex.io.  3600    IN      NS      pdns2.registrar-servers.com.
trustindex.io.  3600    IN      NS      pdns1.registrar-servers.com.
trustindex.io.  1799    IN      CNAME   dbyhivztugayu.cloudfront.net.

Curl lookup
HTTP/2 200
content-type: text/html; charset=UTF-8
date: Tue, 17 Dec 2024 18:02:52 GMT
server: Apache/2.4.52 (Ubuntu)
expires: Thu, 19 Dec 2024 18:02:52 GMT
cache-control: public, max-age=172800
pragma: no-cache
referrer-policy: origin
x-frame-options: SAMEORIGIN
vary: Accept-Encoding
x-cache: Hit from cloudfront
via: 1.1 644a5a573cbbd5ac03f5c40fa8642914.cloudfront.net (CloudFront)
x-amz-cf-pop: AMS58-P3
x-amz-cf-id: dFfJqrOY9Q3_LAeRdSBZ_E1g0s2CHCju2wPFHsyjUJXkIZ-W3vz0QA==
age: 159908


BRS-410: add isDisplayed flag to protected area

Jira Ticket:
BRS-410
Jira Ticket URL:
https://bcparksdigital.atlassian.net/browse/BRS-410
Description:
Per further discussion on the ticket, including preview protected areas in the API response via query string was determined to not be sufficient. This PR adds a flag that must be true for the Gatsby site to show the park/protected area. The plan is set this flag whenever a park is ready for display, and then set all (or nearly all) parks to published, so that they are available in the default Strapi API response.
The following queries can be used to do that migration:
UPDATE protected_areas SET "isDisplayed" = TRUE WHERE published_at IS NOT NULL;
UPDATE protected_areas SET published_at = NOW() WHERE published_at IS NULL;

Can't seem to run the branch locally, getting:
/Users/daykirby/VSCode/bcparks.ca/src/staging/src/pages/parks.js
  51:37  error  Field "isDisplayed" is not defined by type "StrapiProtectedAreaFilterInput"

Have updated the data and refreshed for garibaldi and strathcona, but have not run the above queries (will need more detail if needed)

Restarting cms fixed my issue above. Tried some use cases, looks good, will approve.

Now that the beta site live, deploying this change will cause some problems as any parks without isDisplayed will disappear, until we have a chance to update the DB. I'm going to split this PR into two, in an attempt to solve this problem.


New Feature: Modify interval

Added the changeCorrectingInterval method to change intervals in real time without having to clear and re-start it first.

Hey @AJFaraday! First, thanks for taking interest in this project enough to want to contribute. To your changes, however, I'd prefer to keep the scope of the project limited to providing drop-in alternatives for existing standardized Timer methods. While changeCorrectingInterval certainly has usefulness, it falls outside this scope and, as you noted, isn't too difficult to implement with existing functions, e.g.
var timerId;

function doAction() {
    if ( /* conditionIsMet */ ) {
        clearCorrectingInterval( timerId );
        timerId = setCorrectingInterval( doAction, 500 );
    }

    // ...
}

timerId = setCorrectingInterval( doAction, 1000 );

Feel free to move forward with using your fork of the project. I wouldn't expect there to be many changes to this project that you need to worry about merging in. Also, I'd recommend checking on the failing test - it may be related to you setting the delay[id] before the ID is incremented.


[#116] Add extra rule check re: ALB config.

Once I added function call to the __main__ block:
Testing - Error expected
flag_make_instance_private_behind_public_alb    = true
flag_private_tower_without_eice                 = false

# Manage how to talk to VM for config file transfer & DNS
flag_vm_copy_files_to_instance          = true

# If set to true, will include the custom block of the assets/src/docker_compose/docker-compose.yml.tpl file.
flag_use_custom_docker_compose_file     = true

2024-07-24 14:27:17,660  check_configuration.py:30   ERROR        Use of a reverse proxy (`flag_use_custom_docker_compose_file = true`, cannot be combined with `flag_make_instance_private_behind_alb = true`. Please set only one of the options to true.
make: *** [Makefile:5: verify] Error 1

Testing - Error expected
flag_make_instance_private_behind_public_alb    = false
flag_private_tower_without_eice                 = true

# Manage how to talk to VM for config file transfer & DNS
flag_vm_copy_files_to_instance          = true

# If set to true, will include the custom block of the assets/src/docker_compose/docker-compose.yml.tpl file.
flag_use_custom_docker_compose_file     = true

# No error thrown


[Request] Publish to npm/bower registries

I have a Node.js application that I am working on which will have some interactive diagramming. I have used draw.io in the past, so I like the idea of embedding mxgraph. However, I'd rather it be a standard node or bower dependency rather than something I manually download and commit to the repo.

Thanks for your input, we'll pass this on to the product team.

I know this is a delayed response, but why was the issue closed? I'm glad to hear that the product team might be looking into this, but I would have expected the issue to remain open until either the module is pushed to bower/npm or you decide not to publish it. Closing the issue before either of those happens implies that it is resolved. Leaving it open makes it easier for users (in this case just me, but hey, it could be other people... 😁 ) to be notified when this does in fact get completed (or closed as wontfix). Otherwise, it becomes the responsibility of a user to come here to check if bugs, issues, or other requests are resolved.

I'll also note that I would be glad to fork the repo and add the package.json and bower.json files myself, then submit a PR. I completely understand that this might be a lower priority for your team compared to how much I want the feature. But having only published a couple modules, I don't know what the process is if I run the actual npm publish (or bower publish) command but want the jgraph team to retain ownership. If it's easy to transfer ownership to you once the modules are published, I don't mind doing the work (did I mention I really want to use this?). That's the whole point of open source, after all.

Github isn't our primary issue tracker at this point, so we're not able to use in a conventional way. We're still discussing whether to leave Github issues open, since it might cause confusion.
In terms of a PR, that's definitely our preferred route, rather than holding an issue open. We've never published a module, so you're winning in terms of experience :).

@davidjgraph I did a little digging, and it looks like publishing to NPM is something I can do, since adding/removing owners is pretty simple. I won't publish it to Bower, though. Transferring ownership looks like it is currently rather difficult.
Once everything is in place, though, you should just be able to run bower register mxgraph git://github.com/jgraph/mxgraph.git.

+1
besides, is there any plan to rewrite the project with ES2016+?  If there is, https://github.com/lebab/lebab might help

+1 for ES2016

Please keep to one subject per issue. This issue is now a mess of various issues.

It looks like someone has done the NPM publish for the JS part of mxGraph, https://www.npmjs.com/package/mxgraph-js.
If anyone wants bower, please open as another issue.

https://www.npmjs.com/package/mxgraph, does that satisfy the issue?

Yep, that'll work.

This pull request, https://github.com/jgraph/mxgraph/pull/63, has example usage if needed.