fix(tools): enable eslint for circular dependency check

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #45307

This has been sitting here for a while, what is the next conclusive step?

We can either allow warnings while we fix this or wait until the circular dependencies are fixed.
We could leave them unfixed, but when they do cause bugs they're confusing ones.

Let me know what you want me to do in this.

Thanks, @Jagrutiti I am closing this now to clear up the queue because we will not be merging this anytime soon.
We clearly do not want to just see warnings and errors without fixing them at the same time.
Thanks again for your work on this and we look forward to more contributions from you in the future.
Happy Coding.


applyEditorConfigToTextEditor is executed multiple times

When debugging this plugin, I noticed that the applyEditorConfigToTextEditor method is executed multiple times. These are my findings.
When switching to another file, the method is always executed two times. The first time the textEditor is pointing to the file being closed, the second time it is pointing to the file being opened. The reason for this is that the onDidChangeActiveTextEditor event is fired and the onDidOpenTextDocument.
When opening a new window where a file is already active, the method even executes 3 times. The first 2 times are caused by the two blocks I pointed to above, the third time is caused because of the rebuildConfigMap.
Any feedback on this?

What happens if we remove onDidOpenTextDocument entirely? Will onDidChangeActiveTextEditor still be fired in all scenarios?
I also noticed this in my debugging, but I didn't look into it any further.

I removed this block and the event seemed to fire every time.
Tested the following scenarios

Open new window where a file is already active
Open new window where no file is active (and thus no texteditor) and a file is selected by the user
Closed the current file (texteditor) and opened another file

Did I miss a scenario?
But maybe @chrisdias or @egamma can answer the question regarding the events. I'm not entirely sure when those events fire and if we can remove this block entirely.
The only scenario where the applyEditorConfigToTextEditor method is fired twice, is when opening a project where a file is already active. The reason is that line 37 causes a trigger as well as line 52. This only happens once when opening a new project (if a file is active). So I can live with the method being triggered twice. All the other times, triggering the method twice causes a delay which is noticeable when switching from a document with spaces 2 to a document with tabs 4. You can visually see the document switching from indentation 2 to 4. When I remove this block, that's not the case anymore.

Interesting! I would really love to see good examples of covering these scenarios in tests so we have more confidence when making changes like this. Otherwise, I can't say with certainty that you've covered all scenarios, but it sounds like all the same ones I would cover.

closing per https://github.com/SamVerschueren/vscode-editorconfig/commit/0a76442e1dff86a9417d2fb913e1dee0bd35c04c


russian translate

how to fix this
http://i.imgur.com/a7D6L91.png

http://itpro.cz/juniconv/
Use this convert. It's helped me.

thx


removed dependency on httpContext and PerformingContext, refactor register service hangfire

TenantService and IcurrentService are refactored, now injected from tenantMiddleware or ContextJobActivator
Move register hangfire service to HangfireExtensions.cs
ExceptionMiddleware changed to  services.AddScoped
It is exposed to the public method TenantService.SetTenant and its use is limited to initialization within the middleware or ContextJobActivator

@fretje if you can review it would be appreciated, try to find a balance between the options we currently have in the template and our requirement not to inject httpconext

Cool, Thanks for this. Will review and merge in some time.

Hi @frankyjquintero , do you have any more commits to this PR or shall I merge this?

Hi @frankyjquintero , do you have any more commits to this PR or shall I merge this?

Review each of the observations submitted first, so when integrated take the suggested changes. Maybe at night you can review and send the commits


Keyboard letters disappears

I create a new blank project and added all of your files as it is, but still, when I run it I see the bottom letters disappearing from the keyboard. I am attaching the project and the keyboard screenshot. I am using Xcode 13.0

KeyboardTest.zip

Yes, I am using cocoapods.
On Thu, Oct 14, 2021, 4:57 PM Daniel Saidi @.***> wrote:

Are you using CocoaPods?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KeyboardKit/KeyboardKit/issues/347#issuecomment-943267465,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANJGKOH3R567AU5PCGPCTW3UG25CTANCNFSM5F7MB23Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I am using 4.9.3. Didn't want to bring breaking changes. I checked your
demo for 4.9.3. It is working fine.
Here is the code attached.
On Thu, Oct 14, 2021, 6:07 PM Daniel Saidi @.***> wrote:

Are you using KeyboardKit 5?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KeyboardKit/KeyboardKit/issues/347#issuecomment-943315872,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANJGKODYZPW77MGKUHBT2QLUG3FKLANCNFSM5F7MB23Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

What do you mean by that connection is fixed in 5.0.0?
Isn't the source file supposed file behave same in pods and SPM?
On Fri, Oct 15, 2021, 1:50 AM Daniel Saidi @.***> wrote:

The CocoaPods connection is fixed in 5.0, but it's not in 4.9.3.
Do you have the possibility to use SPM instead?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KeyboardKit/KeyboardKit/issues/347#issuecomment-943699558,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANJGKOEY27PLGT6CVROYZVDUG43RFANCNFSM5F7MB23Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

They are but I noticed that the pod spec was invalid first in 5.0

This is the error that I get when I integrate 5.0.0 using pods.
[image: Screenshot 2021-10-15 at 4.45.08 PM.png]
Details
Unable To Install “KeyboardExtensionText”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: Failed to load Info.plist from bundle at path
/Users/nikhilbatra/Library/Developer/CoreSimulator/Devices/39232106-A909-4666-8DB6-8CCC41404948/data/Library/Caches/com.apple.mobile.installd.staging/temp.pWjFbJ/extracted/KeyboardExtensionText.app/Frameworks/KeyboardKit.framework;
Extra info about
"/Users/nikhilbatra/Library/Developer/CoreSimulator/Devices/39232106-A909-4666-8DB6-8CCC41404948/data/Library/Caches/com.apple.mobile.installd.staging/temp.pWjFbJ/extracted/KeyboardExtensionText.app/Frameworks/KeyboardKit.framework/Info.plist":
dev=16777220 ino=26105140 mode=0100644 nlink=1 uid=501 gid=20 rdev=0
size=772 atime=1634296093.000000 mtime=1634296065.000000
ctime=1634296475.461965 birthtime=1634296065.000000 blksize=4096 blocks=8
flags=0x0 firstBytes={length = 4, bytes = 0x62706c69} ACL=
extendedAttributes= keyCount=21 keySample={ CFBundleName
DTSDKName DTXcode DTSDKBuild CFBundleDevelopmentRegion }
User Info: {
IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
}
Failed to load Info.plist from bundle at path
/Users/nikhilbatra/Library/Developer/CoreSimulator/Devices/39232106-A909-4666-8DB6-8CCC41404948/data/Library/Caches/com.apple.mobile.installd.staging/temp.pWjFbJ/extracted/KeyboardExtensionText.app/Frameworks/KeyboardKit.framework;
Extra info about
"/Users/nikhilbatra/Library/Developer/CoreSimulator/Devices/39232106-A909-4666-8DB6-8CCC41404948/data/Library/Caches/com.apple.mobile.installd.staging/temp.pWjFbJ/extracted/KeyboardExtensionText.app/Frameworks/KeyboardKit.framework/Info.plist":
dev=16777220 ino=26105140 mode=0100644 nlink=1 uid=501 gid=20 rdev=0
size=772 atime=1634296093.000000 mtime=1634296065.000000
ctime=1634296475.461965 birthtime=1634296065.000000 blksize=4096 blocks=8
flags=0x0 firstBytes={length = 4, bytes = 0x62706c69} ACL=
extendedAttributes= keyCount=21 keySample={ CFBundleName
DTSDKName DTXcode DTSDKBuild CFBundleDevelopmentRegion }
Domain: MIInstallerErrorDomain
Code: 35
User Info: {
FunctionName = "-[MIBundle _validateWithError:]";
LegacyErrorString = PackageInspectionFailed;
SourceFileLine = 47;
}
Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPhone13,2";
"device_osBuild" = "15.0 (19A339)";
"device_platform" = "com.apple.platform.iphonesimulator";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = "x86_64";
"operation_duration_ms" = 1282;
"operation_errorCode" = 1;
"operation_errorDomain" = IXUserPresentableErrorDomain;
"operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;
"operation_name" = IDERunOperationWorkerGroup;
"param_consoleMode" = 0;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 3;
"param_destination_isProxy" = 0;
"param_destination_platform" = "com.apple.platform.iphonesimulator";
"param_diag_MainThreadChecker_stopOnIssue" = 0;
"param_diag_MallocStackLogging_enableDuringAttach" = 0;
"param_diag_MallocStackLogging_enableForXPC" = 1;
"param_diag_allowLocationSimulation" = 1;
"param_diag_gpu_frameCapture_enable" = 0;
"param_diag_gpu_shaderValidation_enable" = 0;
"param_diag_gpu_validation_enable" = 0;
"param_diag_memoryGraphOnResourceException" = 0;
"param_diag_queueDebugging_enable" = 1;
"param_diag_runtimeProfile_generate" = 0;
"param_diag_sanitizer_asan_enable" = 0;
"param_diag_sanitizer_tsan_enable" = 0;
"param_diag_sanitizer_tsan_stopOnIssue" = 0;
"param_diag_sanitizer_ubsan_stopOnIssue" = 0;
"param_diag_showNonLocalizedStrings" = 0;
"param_diag_viewDebugging_enabled" = 1;
"param_diag_viewDebugging_insertDylibOnLaunch" = 1;
"param_install_style" = 0;
"param_launcher_UID" = 2;
"param_launcher_allowDeviceSensorReplayData" = 0;
"param_launcher_kind" = 0;
"param_launcher_style" = 0;
"param_launcher_substyle" = 0;
"param_runnable_appExtensionHostRunMode" = 0;
"param_runnable_productType" = "com.apple.product-type.application";
"param_runnable_swiftVersion" = "5.5";
"param_runnable_type" = 2;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphonesimulator15.0";
"sdk_osVersion" = "15.0";
"sdk_variant" = iphonesimulator;
}
System Information
macOS Version 11.4 (Build 20F71)
Xcode 13.0 (19234) (Build 13A233)
Timestamp: 2021-10-15T16:44:43+05:30
On Fri, 15 Oct 2021 at 16:27, Daniel Saidi @.***> wrote:

They are but I noticed that the pod spec was invalid first in 5.0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KeyboardKit/KeyboardKit/issues/347#issuecomment-944206045,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANJGKOALXWUCZZZHYGLZBWTUHACIVANCNFSM5F7MB23Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Thanks and Regards,
Nikhil Batra
m: +91-8178674214 | o: First Floor, B-15, Sector 32, Gurgaon -122001
***************************** CAUTION - Disclaimer

This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this e-mail
or its contents to any other person and any such actions are unlawful. This
e-mail may contain viruses. Uniqubic has taken every reasonable precaution
to minimize this risk, but is not liable for any damage you may sustain as
a result of any virus in this e-mail. You should carry out your own virus
checks before opening the e-mail or attachment. Uniqubic reserves the right
to monitor and review the content of all messages sent to or from this
e-mail address. Messages sent to or from this e-mail address may be stored
on the Uniqubic e-mail system.
***************************** End of Disclaimer

Can you use SPM instead? I might actually remove CocoaPods support.

Ok, thanks for letting me know! I will remove CocoaPods support in 5.1.

Ok, thanks for letting me know. I will keep CocoaPods support around, but wait with fixing this error until I get another report.


Listen on specific universe

I'm sorry, I did not see that GitHub default this to the forked repo instead of my own...


Added User-related and Business-related endpoints

Endpoint-related changes:

Updated User Delete
Added User Info
Added User List
Added Product List
Added Product Create
Added Product Delete
Added Bill List
Added Buy
Added Sell

Logic-related changes:

Updated models
Updated Django version

Buy and Sell do not update Transactions at the moment. We are working on it and a future commit will resolve that soon.


add outdoor life network timezone

Based in Toronto, Canada so US/Eastern.

Thanks for the pull request! Before a real human comes by, please make sure your PR has all of the below criteria checked

[x] Give a description on what the PR is for.
[ ] Make sure your PR is based on the DEVELOP branch
[x] Don't send big changes all at once. Split up big PRs into multiple smaller PRs that are easier to manage and review

Please make sure you also read contribution guide and followed all of the steps.
Thanks!

Approved


branch: catchSingleClick

A branch to try a solution for https://github.com/phetsims/scenery/issues/939.  In that issue we are trying to solve the problem that assistive devices often do not send keydown and keyup events to the browser, but only click events to represent element activation.
As a potential solution to this, I am considering no longer dispatching click as a scenery event and instead only dispatching keydown and keyup for a11y input. The idea is that if we receive a click event, we check for keydown/keyup events that were triggered on the same target. If we receive keydown/keyup events we can do nothing. But if we did not receive them, we send our own fake events to mimic keydown and keyup.
This way, we can support all of the options that work generally for PhET buttons (https://github.com/phetsims/scenery/issues/939#issuecomment-463718627) and also support native HTML and typical ARIA roles for activatable elements buttons, links, check boxes, and so on.

In the branch, most of the implementation for this is in A11yEventCatcher (hopefully to be renamed to something better).

@zepumph and I had discussed trying alternatives to creating native DOM events and dispatching/firing through the DOM API. This was OK for test code, but doesn't seem good for sims. I tried to use Input.serializeDOMEvent (previously added for PhET-iO) to create an event like object that we can pass through Input.js. But we will need to add additional information to that function to get all keydown properties. I am not saying that isn't possible, but I don't want to add things to that function yet.
For exploration now, I will just make my own object that has the data of a a keydown event.

This is working well enough that I think we should proceed with it.

See https://github.com/phetsims/scenery/issues/939#issuecomment-466537529 for a summary of these changes. Pending further discussion in that issue.


use admin identity to load creds in case of report external object

Connected to #1480

@loomis This was separately tested and the patch was applied on nuvla (where it works now with the intended not shared credential).


Step length is wrongly computed in field propagation

As described in #145:

PR https://github.com/apt-sim/AdePT/pull/95 introduced and used momentumXYMag as follows:
https://github.com/apt-sim/AdePT/blob/fba5bd2373a67ffcf2478aec1d93a0d9e07171ba/magneticfield/inc/fieldPropagatorConstBz.h#L78-L91
If there is no z-direction, ie direction[2] = 0, then momentumXYMag = momentumMag. Otherwise, and especially as direction[2] approaches 1 or -1, momentumXYMag will get smaller and smaller. This leads to an increasing value for curv and a decreasing value of safeLength. So in essence, the more a track is flying in z-direction and the less it is influenced by the constant field in z-direction, the shorter safeLength will get and the more chord steps magnetic field propagation will do.

Contrary to what I wrote back then, this is not only a problem for performance, but also correctness since we kill particles that cannot be propagated in max_iterations chord steps.

I'll take care of adding a patch for this

The correct approach for estimating the safeLength value is shown below:

Using this approach with example13 using cms2018 and 3.8T field, I see a reduction of the number of killed tracks and a small speedup:
master:
24: Run time: 14.8801
24:
24:
24: Mean energy deposit          9.97193 GeV
24: Mean number of gamma         3638.32
24: Mean number of e-            11932.6
24: Mean number of e+            316.15
24: Mean number of charged steps 25869.4
24: Mean number of neutral steps 33551.8
24: Mean number of hits          24431.2
24: Killed in propagation:       926

fixed version:
24: Run time: 14.2466
24:
24:
24: Mean energy deposit          9.97475 GeV
24: Mean number of gamma         3639.57
24: Mean number of e-            11952.5
24: Mean number of e+            316.49
24: Mean number of charged steps 26036.8
24: Mean number of neutral steps 33579.2
24: Mean number of hits          24530.2
24: Killed in propagation:       787

Hm, my understanding of the error the propagation is bounding has been a different one, shouldn't we look at the "miss distance" as described in https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/Detector/electroMagneticField.html? That one would be in the inside of the chord, not in the straight line propagation of the original direction. In particular, I don't think point P is ever used in the propagation, we're doing a linear propagation (and boundary check) from A to B.

Yes we propagate on chords and I agree that the "miss" distance calculated as the maximum difference between the trajectory and the chord better estimates the error. Getting the dependency of the "miss error" on the step on the helix may be more difficult however than the estimate obtained as above, which for "small displacements" over-estimates the "miss error" by about a factor of 2. So this approach may give an underestimate of the safe_length, but easier to compute and well-behaved in (hopefully) all cases. This does not exclude of course a more accurate possible approach.

Indeed in Geant4 we consider the sagitta - the difference between the radius the height of the triangle define by the endpoints and the centre of the circle.  The distance is estimated numerically using an estimate of the position of the midpoint of the curved trajectory.  But I prefer (for a pure magnetic field that is not too anisotropic) to use the 'helix' construction.  I am not sure that you are taking into consideration that the values are being projected onto to plane.  This is the reason that the (1-dirz) * (1+dirz) factor is used.
The crude operation of abandoning the integration of tracks after a fixed maximum number of integration sub-steps (which I acknowledge introducing) is what is causing the bias, not calculating the 'miss distance' correctly.  I think that this crude operation should be kept only as a short-term measure, and a better alternative sought as soon as possible.  Once we are able to keep propagating the particles by passing the integration work (of unfinished elements) onto subsequent 'physical' steps we can dispense with this altogether - there can be a limit to the total length a particle can fly instead of the arbitrary number of integration steps.
By the way, in Geant4 after a fixed number of integration sub-steps that don't exhaust the "distance to physical interaction", the value of the 'miss-distance' is increased by a given factor - this may be anathema with respect to the need to carry a small amount of extra state per track ... Is there not a way to carry such information only for charged tracks which are still in flight ?  ( Or some similar filter for other attributes ? )

I am not sure that you are taking into consideration that the values are being projected onto to plane. This is the reason that the (1-dirz) * (1+dirz) factor is used.

This is what the fix #172 is about.

The crude operation of abandoning the integration of tracks after a fixed maximum number of integration sub-steps (which I acknowledge introducing) is what is causing the bias, not calculating the 'miss distance' correctly.

This issue is not about the bias that I've been reporting for months, this was #145. And there the reason wasn't anything about abandoning tracks, but that particles got hard stuck on boundaries which I fixed in #170


Update preprocess.py

scipy 1.14.0 error: 'csr_matrix' object has no attribute 'A'

I don't see any related pull requests already.


Colour-code output by readiness

Many nodes require all their input to be properly set before they produce output; some (e.g. Lammps) actually need to be explicitly run. It would be nice if data output ports were colour coded (e.g. red/green) based on whether they held real output or just an un-processed None value.

I very much like this idea. We may even consider to colorcode input ports that are mandatory but did  not yet got the data. Additionally, the color of the node may change depending whether it has run or not.


Set excess_blob_gas  for local pending block

Describe the feature
when building the pending block locally we update the header's base fee:
https://github.com/paradigmxyz/reth/blob/17eca361e8951362f5c544a2dfe20c9b046bef5f/crates/rpc/rpc/src/eth/api/mod.rs#L292-L293
we need to do the same for excess_blob_gas via:
https://github.com/paradigmxyz/reth/blob/17eca361e8951362f5c544a2dfe20c9b046bef5f/crates/primitives/src/header.rs#L258-L258
Additional context
No response

can give it a quick look

unsure i get it but the change seems less than the issue descript here. https://github.com/paradigmxyz/reth/pull/6603


Resume training with new data

Hi!
I'm getting the following error when I load my model and try to resume training on new data.
ValueError: Dimension 1 in both shapes must be equal, but are 7539 and 30000. Shapes are [32,7539] and [32,30000]. for 'Assign_61' (op: 'Assign') with input shapes: [32,7539], [32,30000].
Background, I initially trained the model on a large corpus of text. I have re-loaded the model successfully but am having trouble getting it to train on new data. The new corpus of text is substantially smaller than the original corpus so I suspect there is some issue with vocabulary size??
I have the following parameters when I reload the model:
params['RELOAD'] = 1
params['RELOAD_EPOCH'] = True
params['REBUILD_DATASET'] = True
params['DATA_ROOT_PATH'] = 'query_to_reply/Dataset_Cornell.pkl'
Dataset_Cornell.pkl contains the smaller dataset

Hi!
Thank you for your help! I have a couple more questions.
I am getting the following error:
ValueError: No data provided for "source_text". Need data for each key in: ['source_text', 'state_below']

For the model params, INPUT_VOCABULARY_SIZE and OUTPUT_VOCABULARY_SIZE should I set that equal to the new or the old dataset?

Should the vocabularies argument in TranslationModel be set to the new dataset vocabulary or the old dataset vocabulary?

When restarting training, with nmt_model.trainNet, should I input the new dataset or old dataset? From my understanding of your above reply,
DATA_ROOT_PATH = '/home/data/other_task'
TEXT_FILES = {'train': 'training2.'}
swaps out the 'train' input in the old dataset with the data from training2

Thank you in advance for your help!

Hi,
I'm not sure whether it's a vocabulary-related problem or not. If you are updating your dataset for training on new data, you should set compute_state_below=True in your update_dataset_from_file call.
--
If your error persists, what are the values of params['OUTPUT_VOCABULARY_SIZE']and the last layer of the model? (it's in the summary of the model printed by Keras).

After messing around a lot with the data inputs/outputs, I eventually got it to work.
Instead of calling update_dataset_from_file, I just overwrote the inputs like so
ds.setInput('data/Cornell_train_2.query',
'train',
type='text',
id='source_text',
tokenization='tokenize_basic',
#build_vocabulary=True,
pad_on_batch=True,
fill='end',
max_text_len=30,
min_occ=0,
overwrite_split=True)
ds.setInput('data/Cornell_train_2.reply',
'train',
type='text',
id='state_below',
required=False,
tokenization='tokenize_basic',
pad_on_batch=True,
#build_vocabulary='target_text_2',
offset=1,
fill='end',
max_text_len=30,
overwrite_split=True)
ds.setOutput('data/Cornell_train_2.reply',
'train',
type='text',
id='target_text',
tokenization='tokenize_basic',
#build_vocabulary=True,
pad_on_batch=True,
sample_weights=True,
max_text_len=30,
min_occ=0,
overwrite_split=True)


libcxx15 version?

Comment:
Hi, sorry if this the wrong place to ask, but is there a reason this doesn't have an llvm 15 version yet? clang, clang-format, lld all have updated versions, but libcxx doesn't.
Thanks!

There were several PRs for libcxx 15 that stayed open for a long time due to reasons. Now it's been merged, so closing. :)


207 logo e cores

Nesse pull request foi feito:
Logos do produto

Logo com texto quadrada
Logo com texto horizontal
Logo sem texto
logo sem texto branca
logo app

Pull Request Test Coverage Report for Build 410

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

Totals

Change from base Build 373:
0.0%

Covered Lines:
72

Relevant Lines:
159

💛  - Coveralls


Fuse.Camera iOS 10.1+ crash fix

This PR fixes a crash introduced with iOS 10.1 where modal view controller invoke and dismiss must happen on UI thread. Fixes #128
This PR contains:

[x] Changelog
[ ] Documentation
[ ] Tests

🐺


Link to user profile in issue list is missing server URL

Gitea version (or commit ref): 1.16.0+dev-116-g274aeb3a9
Git version: n/a
Operating system: n/a
Can you reproduce the bug at https://try.gitea.io:

[x] Yes (provide example URL) https://try.gitea.io/issues (for logged in users with at least one issue) AND https://try.gitea.io/steko/webhook-test/issues/1
[ ] No

Description
In the issue list, the name of the user who created the issue has a link to the user profile (under the issue title: issue#123 opened 12 hours ago by user). However, the href points to https:// instead of https://<instance.tld>/. This happens both on the user dashboard and the repository issue list. Both are caused by these lines in the issuelist.tmpl file:
https://github.com/go-gitea/gitea/blob/274aeb3a9e13da47a925eabe0e43ed0b1424d02a/templates/shared/issuelist.tmpl#L57-L63
In the issue page, the same behavior is seen next to the open/closed label.
This seems caused by these lines in view_title.tmpl:
https://github.com/go-gitea/gitea/blob/ab77a24f18ae45248bd6c71778fe3bfacacf864f/templates/repo/issue/view_title.tmpl#L92-L98
Screenshots
See in the bottom left the URL preview pointing to https://steko instead of https://try.gitea.io/steko

This is the issue page:

I can't reproduce this, also on the try link you provided, probably already fixed?

I just checked again on try.gitea.it and I still see the same issue as described, so I wouldn't say it's been fixed.

the link that gets rendered does not contain a domain section, and as such works correctly for me

maybe a browser extension meddles with your links? 🤔

Oh no I found the culprit. It's specific to Italian language, the href value is //steko because there's an extra "/" in the translation string. Can I submit a PR directly or do I need to go through Crowdin?
https://github.com/go-gitea/gitea/blob/94f529af02e74f5d13fefda48d3ef9db4559f71f/options/locale/locale_it-IT.ini#L1060

I submitted a proposal for correcting the translation on Crowdin.

Great, I'll close this then

agh we better backport a fix to 1.15


langchain : text_splitters Added PowerShell

Description: Added PowerShell support for text splitters language include docs relevant update
Issue: None
Dependencies: None

could we add unit tests?

added


Dashboard property "Roles" not activated when feature flag DASHBOARD_RBAC set to True

I am running Superset 1.2.0 with Docker.
According to Superset 1.2.0 Release Notes, "Roles" filter should be activated in Dashboard properties when the feature flag DASHBOARD_RBAC is set to True.
I set "DASHBOARD_RBAC": True in the feature_flags in the config file, but when I run docker-compose up --force-recreate --build "Roles" in Dashboard properties does not activate. It looks like so:

Why isn't "Roles" activated?

I have the exactly same issue

@saulshao I upgraded to version 1.5.0 and it works there.

I downloaded the docker image from the docker hub but it did not work.
The image on the docker hub was released about 4 hours ago(relates to this comment time), its version can't be identified.

I'm using apache/superset:1.5.0 image, and I have the same issue.

same issue with 2.0.0, with pervious version 1.4.1 is worked

is there any update for this issue? Ping @amitmiran137

any updates on this ?

having the exact same issue with version 2.1.0 looking similar to this -- no role based access even after adding FEATURE_FLAGS = {"DASHBOARD_RBAC": True}

++
I have the same issue. roles box does not seem to, although enabling DASHBOARD_RBAC flag in a proper way

I'm not sure if this is still an issue in current versions of Superset (3.x). If it is, we can re-open this, or feel free to open a new issue with updated context and a reproducible case using example data. We're no longer supporting Superset 2.x or prior, and it's been a while since this thread saw any activity, so I'm closing this as stale.


Remove Paketo-specific BOM from top-level package

Summary

Resolves #227.
Note, I left references to the paketobom.BOMMetadata in build_test to show examples of how we intend to use it.
Use Cases

Checklist

[X] I have viewed, signed, and submitted the Contributor License Agreement.
[X] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[X] I have added an integration test, if necessary.
[X] I have reviewed the styleguide for guidance on my code quality.
[X] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Could we name the package bom or sbom instead of paketobom? Or did you explicitly choose this name to imply that there might be other BOMs in packit that don't use Paketo's data structure?

@fg-j I'm definitely open to renaming it, I struggled with this.
My rationale for not naming it bom was that I didn't want anyone to see it and be confused on the difference between the Paketo-specific bom package and the top-level spec compliant definition bom.go. It should be clear that it's an implementation of the spec. paketobom is specific to how we've laid out the Paketo BOM. I'd be up to naming it something else besides paketobom or bom

@fg-j bump, if you have thoughts here!

@sophiewigmore Given what you explained, I think paketo- as the prefix makes sense 🙂 Given recent work in upstream CNB to consistently refer to BOM as SBOM, maybe paketosbom makes sense. Along the same vein, renaming bom.go --> sbom.go and the various BOM-related structs appropriately.

@fg-j done, everything has been renamed to sbom including the underlying TOML field.

@ForestEckhardt I would love to see all of the BOM representation/generation PRs in one release if possible. I think this is something all of the @paketo-buildpacks/tooling-maintainers should align on.

Oh I see. So continue to preserve this structure for buildpacks that are not on v0.7 I had not considered that. I think that makes sense!

I've rolled back the BOM -> SBOM conversion as it conflicted with #255. This PR now just consists of moving the old BOM format as-is to a new paketosbom package.

Please squash on merge


Maybe a bug: retrain without re-initialization?

Hi, when I read the code, I noticed the parameters are only initialized at the creation of a model. In other words, the retrain() actually continue training without re-initialization. Is that alright?

Nice catch! This is not clear from the paper, the only mention that they retrain from already trained parameters is made in the last sentence in the caption for Figure 2.

@expectopatronum @kohpangwei  But I don't think that is right. If we want to calculate the true difference, we should kick that training example and train from scratch according to my understanding.

You might be right, and this was also what I thought it does. I am just reporting what I found in the paper.

For convex models, it does not matter (in theory) whether we retrain from a warm start or cold start. For non-convex models, it does matter, and in general we can expect that retraining from a cold start would give quite different results (e.g., due to different random initializations). This variance will generally swamp the effect of removing a single training point. To get around this issue, we retrain from the initial learned parameters \tilde{\theta}, as @expectopatronum pointed out.
When removing groups of examples, we might expect that retraining from a cold start might give similar results, but AFAIK this has not been tested systematically. See https://arxiv.org/abs/1810.03611 and https://arxiv.org/abs/1905.13289 for more details if you're interested!

@kohpangwei Got it. Thank you so much. @expectopatronum Thank you for your kind reply, too.


Problem with crafting items in smithing table (on a server)

The enderite spawns in my server, and it doesn't make the server crash:). The problem is that we can not craft the items in the smithing table, and when we try to put it in creative it doesn't appear.

Solved in comments (262-267) of the curseforge page


How to interpolate FE function on a 2D square mesh to the upper boundary of a 3D cube mesh

Dear all, I'd like to ask an issue with MFEM interpolation. There are a 2D square mesh of 32x32 and a 3D cube mesh of 28x28x28，their finite element spaces are scalar type (such as P1 Lagrangian element). How to interpolate FE function (ParGridFunction) on a 2D square mesh to the upper boundary of a 3D cube mesh?
I tried writing a MWE, but it always incorrect, so I'm not sure if MFEM supports this feature.
//----------------------
//   Building 2D mesh
//----------------------
int nn = 32;
auto mesh = new Mesh;
*mesh = Mesh::MakeCartesian2D(nn, nn, Element::TRIANGLE);
auto Th = new ParMesh(MPI_COMM_WORLD, *mesh);
int dim = Th->Dimension();

//----------------------
//   Building 3D mesh
//----------------------
int mm = 28;
*mesh = Mesh::MakeCartesian3D(mm, mm, mm, Element::TETRAHEDRON);
auto Th3d = new ParMesh(MPI_COMM_WORLD, *mesh);
delete mesh;
int dim3d = Th3d->Dimension();

//--------------------------------------
//   Building 2D Finite Element Space
//--------------------------------------
int order = 1;
auto fe = new H1_FECollection(order, dim);
auto Vh = new ParFiniteElementSpace(Th, fe);
ParGridFunction uh(Vh);
uh = 0.;

//--------------------------------------
//   Building 3D Finite Element Space
//--------------------------------------
auto feQ = new H1_FECollection(order, dim3d);
auto Qh = new ParFiniteElementSpace(Th3d, feQ);
ParGridFunction qh(Qh);
qh = 0.;

//-------------------------
//   Boundary Conditions
//-------------------------
Array<int> ess_bdr(Th3d->bdr_attributes.Size());
ess_bdr = 0;
ess_bdr[0] = 1;  // temporarily 0 represents the upper boundary

//---------------------------------------------------------------------------
//   Interpolation from 2D Mesh to the Upper Boundary of 3D Mesh
//---------------------------------------------------------------------------
FunctionCoefficient ue(u_exact);
uh.ProjectCoefficient(ue);  //
GridFunctionCoefficient qe(&uh);
qh.ProjectBdrCoefficient(qe, ess_bdr);

@jandrej do you have tools for this as part of SubMesh?

Hence the meshes aren't subsets of each other (this is not clear from the description) SubMesh can't communicate the dofs between them.

Thanks a lot, @tzanio @jandrej , indeed, the meshes aren't subsets of each other. For this, I have an idea by combining #3714 with #3729. I feel like I can first interpolate from a general 2D grid (32x32) to the 2D boundary subgrid (28x28) of a 3D grid as @mlstowell and @kmittal2 suggested using the gslib, and  then transfer from the 2D boundary subgrid (28x28) to the 3D grid (28x28x28) as your great suggestion of using the SubMesh and Transfer. Do you think this is feasible?

If you plan to use gslib you don't necessarily need the SubMesh transfer.

Hi @zhaog6, as @jandrej said, if you plan to use gslib you don't need SubMesh here.
You can get the coordinates of the degrees of freedom from your 3D mesh and interpolate at these locations using FindPointsGSLIB.  field-interp miniapp shows an example of this.
Note that since you are trying to interpolate from a 2D mesh/gridfunction pair, you will have to transform the 3D coordinates coming out of your 3D mesh to 2D when you use FindPointsGSLIB.

Thank you @jandrej @kmittal2 , this is very helpful to me. I also have a question with the performance improvement in my case. I want to prestore/extract the interpolation matrix so that only sparse matrix-vector multiplication can be performed during time iterations. Is this feasible?

Since the meshes aren't subsets of each other (this is not clear from the description) SubMesh can't communicate the dofs between them.

Dear Julian @jandrej , I also tried "nested interpolation". I have a question with the feature of the ParSubMesh. If I use ParSubMesh::CreateFromBoundary to extract a boundary grid, I noticed that the number of elements of the boundary grid is zero in some CPU processes, this will cause the grid not being uniformly refined (use ParMesh::MakeRefined) and the problem of not being able to solve in parallel with loading balance on the refined grid. A MWE is as follows:
//-----------------
//     Parameters
//-----------------
int nn = 8;
int order = 1;

//---------------
//     Mesh
//---------------
/// Build 3D mesh
auto mesh = new Mesh;
*mesh = Mesh::MakeCartesian3D(nn, nn, nn, Element::TETRAHEDRON);
auto Th3d = new ParMesh(MPI_COMM_WORLD, *mesh);
delete mesh;

/// Extract boundary mesh from the 3D mesh
Array<int> bdr(Th3d->bdr_attributes.Size());
bdr = 0;
bdr[0] = 1;
auto ThCoarse = new ParMesh;
*ThCoarse = ParSubMesh::CreateFromBoundary(*Th3d, bdr);

/// Build 2D finer mesh based on the coarse mesh
auto ThFine = new ParMesh;
*ThFine = ParMesh::MakeRefined(*ThCoarse, 2, BasisType::GaussLobatto);
int dim = ThFine->Dimension();

//--------------------------------------
//     Solve equations on the fine grid
//--------------------------------------
/// Finite element space
auto fe = new H1_FECollection(order, dim);
auto VhFine = new ParFiniteElementSpace(ThFine, fe);
/// Variational form
auto vA = new ParBilinearForm(VhFine);
vA->AddDomainIntegrator(new DiffusionIntegrator);
vA->Assemble();
auto vb = new ParLinearForm(VhFine);
ConstantCoefficient one(1.);
vb->AddDomainIntegrator(new DomainLFIntegrator(one));
vb->Assemble();
Array<int> ess_tdofs_list;
VhFine->GetBoundaryTrueDofs(ess_tdofs_list);
/// Solving
HypreParMatrix A;
Vector uhVec, b;
ParGridFunction uh(VhFine);
uh = 0.;
vA->FormLinearSystem(ess_tdofs_list, uh, *vb, A, uhVec, b);
auto amg = new HypreBoomerAMG(A);
auto cg = new CGSolver(MPI_COMM_WORLD);
cg->SetRelTol(1e-8);
cg->SetOperator(A);
cg->SetPreconditioner(*amg);
cg->Mult(b, uhVec);
vA->RecoverFEMSolution(uhVec, *vb, uh);

//-------------------------------------------------
//     Restriction from fine space to coarse space
//-------------------------------------------------
auto VhCoarse = new ParFiniteElementSpace(ThCoarse, fe);
auto gt = new InterpolationGridTransfer(*VhCoarse, *VhFine);
const Operator& R = gt->BackwardOperator();
ParGridFunction vh(VhCoarse);
R.Mult(uh, vh);

//----------------------------------------------------------------------
//     Transfer the coarse grid (2D ParSubMesh of 3D grid) to 3D grid
//----------------------------------------------------------------------
auto fe3d = new H1_FECollection(order, 3);
auto Vh3d = new ParFiniteElementSpace(Th3d, fe3d);
ParGridFunction wh(Vh3d);
ParSubMesh::Transfer(vh, wh);

Refining a SubMesh and reusing it for transfer is not well defined. It's not the intended use case since the refined mesh is now detached from the dependency graph of the Vdofs from its parent.

I see, thank you @jandrej @kmittal2 , I implemented the demo based on GSLIB & MFEM interface for parallel interpolation from 2D to 2D boundary surface mesh of 3D mesh, it works well. I'd like to ask if I can extract the corresponding parallel interpolate matrix (because I want to preallocate it outside of time iterations and only perform sparse matrix-vector multiplication operations during time iterations). Thanks.


Updating traffic barriers

#1885
The goal of this is to eliminate "low population tracts" from the traffic barriers percentile calculation.

ugh i messed up the pr


Editor bug: drag pin connection

Hi, Here I found a bug which can crash the engine:
Hold control button and left click the pin which has any connections will crash the engine. Control button + left click is a shortcut to connect node in unreal blueprint.
Version: Flow 1.5, Unreal Engine 5.3.2

Hello. I don't think that this is a FlowGraph bug, as it can happen also in good old Blueprints. I have experienced this issue before many times, but the engine never crashed, it just continue its work. Did Unreal engine actually crash after this exception in your case? And how often do you get this exception?

You are right, I'm in Debug Mode, it's just a warning log, will not crash the engine. Thanks for you reply.


File is not found

Hi Sandro,
Can you share this file sw_events_era5.txt , please?. Thanks
kind regards,
Jeremy

Hi Jeremy,
I've added the file to the directory data!
Best,
Sandro

Hi Sandro,
Thanks for share it . But, do you have some script how I can generate this file ssw_events_era5.txt?. Also , you can share file netcdf used. Thanks


Bridge driver to support multiple networks

Will add tests later

Signed-off-by: Alessandro Boch<EMAIL_ADDRESS>

Ping @mrjana. Thanks for your comments. Took care of them. Please take a look when you get a chance.
Also, given multiple network support, automated and enlarged system provided pool of networks in bridge.go.

ping @mrjana . Pls take a look.

LGTM

LGTM. I think this has some level of dependency with #199 and hence will like to get that merged first followed by this PR.

@aboch needs a rebase

ping @mrjana @mavenugo . I rebased. Thanks.

thanks @aboch .


enc : delete unused flags in API.

Delete the unused flags in decoder API.
Signed-off-by: Jun Zhao<EMAIL_ADDRESS>

And on this one you don't change the API version?  It is confusing.

@chivakker
I will bump the version

@mypopydev , agree, but we should keep sync between yami and yami-utils.

@mypopydev
I agree with you bump version thing is boring. Maybe I can handle it. You just submit your changes. I will bump version if headers changed.

I will bump version for this patch too. If it got enough +1.

+1

merged as1b53e294c74fbf8f0a0b61902c3cde7a269d4a5d


Who encountered this problem？

FATAL EXCEPTION: main android.view.InflateException: Binary XML file line #39: Error inflating class com.wdullaer.materialdatetimepicker.time.RadialPickerLayout
I put the source code generated .aar

I resolved, because my project used support v4 22+, v7 22+, This project is used v7:23.1.1, So I modify my project v4 23+, v7 23+, It can be used


update action

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

I'll approve to unblock the test, but we gotta have a better way to test these. Maybe new private repo where you can rapidfire these attempts and freely create issues?

Agreed we need some other ways to test actions.

@xiangyan99 I do think repo on your account is the way to go here. Will be able to copy/pasta the action over here after you're done.


Tests on master are broken

fixed by https://github.com/googleapis/nodejs-security-center/pull/119


PX4 SITL running busy

@bkueng SITL runs busy on master. I don't have named threads yet, but one of them seems to just run in a tight loop.

Commit 01541bb10d98f17c44cb11a118bba3df49d5ddd6 is affected (March 3). Commit 51c8e905085cab9fe73f204b0fcdd0c43130c7a2 is affected as well.

Similar results in Gazebo (above is jMAVSim):
Threads: 23 total
thread 0		 0
thread 1		 441
thread 2		 2
thread 3		 0
thread 4		 14
thread 5		 0
thread 6		 30
thread 7		 0
thread 8		 0
thread 9		 4
thread 10		 22
thread 11		 10
thread 12		 11
thread 13		 21
thread 14		 12
thread 15		 24
thread 16		 58
thread 17		 0
thread 18		 51
thread 19		 0
thread 20		 27
thread 21		 3
thread 22		 0
pxh>

Getting the thread name is quite convoluted. Making the assumption that these are in-order (which is most likely true:
pxh> list_tasks
INFO  [platforms__posix__px4_layer] Active Tasks:
INFO  [platforms__posix__px4_layer]    hpwork<PHONE_NUMBER>75296
INFO  [platforms__posix__px4_layer]    lpwork<PHONE_NUMBER>11872
INFO  [platforms__posix__px4_layer]    wkr_hrt<PHONE_NUMBER>48448
INFO  [platforms__posix__px4_layer]    dataman<PHONE_NUMBER>85024
INFO  [platforms__posix__px4_layer]    simulator<PHONE_NUMBER>21600
INFO  [platforms__posix__px4_layer]    gps<PHONE_NUMBER>94752
INFO  [platforms__posix__px4_layer]    pwm_out_sim<PHONE_NUMBER>31328
INFO  [platforms__posix__px4_layer]    sensors<PHONE_NUMBER>67904
INFO  [platforms__posix__px4_layer]    commander<PHONE_NUMBER>04480
INFO  [platforms__posix__px4_layer]    navigator<PHONE_NUMBER>41056
INFO  [platforms__posix__px4_layer]    ekf2<PHONE_NUMBER>77632
INFO  [platforms__posix__px4_layer]    mc_pos_control<PHONE_NUMBER>14208
INFO  [platforms__posix__px4_layer]    mc_att_control<PHONE_NUMBER>50784
INFO  [platforms__posix__px4_layer]    mavlink_if0<PHONE_NUMBER>87360
INFO  [platforms__posix__px4_layer]    mavlink_if1<PHONE_NUMBER>60512
INFO  [platforms__posix__px4_layer]    logger<PHONE_NUMBER>33664

and
Threads: 23 total
 0 (775) 		 0
 1 (2819) 		 725
 2 (3331) 		 3
 3 (3587) 		 0
 4 (3843) 		 13
 5 (4099) 		 0
 6 (4355) 		 35
 7 (4611) 		 0
 8 (4867) 		 0
 9 (5123) 		 4
 10 (5379) 		 20
 11 (5635) 		 7
 12 (5891) 		 0
 13 (6147) 		 18
 14 (6403) 		 6
 15 (6659) 		 21
 16 (6915) 		 35
 17 (7171) 		 0
 18 (7427) 		 36
 19 (7683) 		 0
 20 (7939) 		 21
 21 (8195) 		 1
 22 (9475) 		 0

total: 20 sec, 4805028 usec, 945 cpu

I'm not sure what to conclude yet.

I cannot reproduce. My SITL uses ~11% of one core when flying with jMAVSim. What's the meaning of the numbers?

Also had this issue. On macOS specifically. The Instruments: Time Profiler is pretty useful was pretty handy for finding this issue:

See PR above for fix.

@dennisss Thanks! Fix is on master.


WIP | Add xslt unit tests

https://trello.com/c/KHOi8mKS/814-html-transform-fix-for-inline-formatting-within-paragraph-numbers

 HTML transform - fix for inline formatting within paragraph numbers


Does Instance Scheduler support RDS Aurora Serverless?

Hi, I just wanted to know whether the instance scheduler supports the RDS Aurora Serverless to stop and start the instances.
As per the doc, I am only able to see the Aurora clusters are supported.

Can anyone please help me with my question?

yes it's work with
option schedule_clusters true in configitem in dynalodb table

@lovepurohit - I'd be interested in learning more about your use-case in why you want to schedule an RDS Aurora Serverless configuration. With Aurora Serverless you only pay for the database resources you consume, on a per-second basis and you don't pay for the database instance unless it's actually running. Typically customers use this solution to turn off under-utilized EC2/RDS instances during off-hours for cost savings reasons.
All that being said, the AWS APIs only expose Start/Stop calls for RDS DB Instance and RDS DB Cluster (Aurora), and no APIs to actually Start/Stop Aurora Serverless configurations. But like I said, I'd be happy to hear more about the the use-case and take it from there based on what is discussed.
Cheers,
George

Closing this issue, but please let us know if you need more clarification.

Hi, for Aurora Serverless V1 this reasoning works and when there is no activity on cluster it goes to 0 ACU. However, Aurora Serverless V2 cannot reach 0 ACU, the minimum is 0.5 ACU. I tried to schedule it to stop using the instance scheduler, but it doesn't work.

Thanks for the info @samuele-gardin!
I ran a few quick tests to confirm and it looks like the RDS api treats Aurora Serverless V2 exactly the same as any other RDS cluster. So from the perspective of Instance Scheduler we can schedule it the same as any other cluster (just be sure to tag the parent cluster and not the underlying instances). If you run into any scenarios where this proves not to be the case, please do let us know.

Tagging only the parent cluster solved the problem!
Thanks for your help @CrypticCabub!


_.assign is not a function

There's an issue with lodash not being loaded up or included, either in the bower_components or node_modules, I'm not sure which.
We're using version 0.11.1 of ember-cli-mirage.
TypeError: _.assign is not a function
    at Function.exports.default [as extend] (http://localhost:4201/assets/vendor.js:159193:7)
    at http://localhost:4201/assets/vendor.js:158829:46
    at mod.state (http://localhost:4201/assets/vendor.js:150:29)
    at tryFinally (http://localhost:4201/assets/vendor.js:30:14)
    at requireModule (http://localhost:4201/assets/vendor.js:148:5)
    at requireFrom (http://localhost:4201/assets/vendor.js:121:12)
    at reify (http://localhost:4201/assets/vendor.js:106:22)
    at mod.state (http://localhost:4201/assets/vendor.js:149:17)
    at tryFinally (http://localhost:4201/assets/vendor.js:30:14)
    at requireModule (http://localhost:4201/assets/vendor.js:148:5)

Here's how our dependencies in package.json looks:
"devDependencies": {
    "body-parser": "^1.2.0",
    "bower": "^1.6.3",
    "broccoli-asset-rev": "^2.0.2",
    "broccoli-concat": "0.0.13",
    "broccoli-merge-trees": "^0.2.1",
    "broccoli-replace": "^0.1.7",
    "broccoli-static-compiler": "0.2.1",
    "broccoli-svgstore": "^0.1.0",
    "chalk": "0.4.0",
    "ember-cli": "0.2.5",
    "ember-cli-app-version": "0.3.3",
    "ember-cli-async-button": "^0.3.1",
    "ember-cli-autoprefixer": "^0.3.0",
    "ember-cli-babel": "^5.0.0",
    "ember-cli-chartist": "^0.2.9",
    "ember-cli-coffeescript": "~0.0.7",
    "ember-cli-dependency-checker": "^1.0.0",
    "ember-cli-htmlbars": "0.7.6",
    "ember-cli-ic-ajax": "0.1.1",
    "ember-cli-inject-live-reload": "^1.3.0",
    "ember-cli-mirage": "0.1.11",
    "ember-cli-pretender": "0.0.5",
    "ember-cli-qunit": "0.3.13",
    "ember-cli-sass": "^4.0.0",
    "ember-cli-showdown": "2.1.4",
    "ember-cli-simple-auth": "0.6.7",
    "ember-cli-simple-auth-oauth2": "0.6.7",
    "ember-cli-uglify": "^1.2.0",
    "ember-cli-zero-clipboard": "^1.0.2",
    "ember-data": "1.0.0-beta.17",
    "ember-disable-proxy-controllers": "^0.7.0",
    "ember-export-application-global": "^1.0.2",
    "ember-list-view": "0.0.6",
    "ember-multiselect-checkboxes": "^0.3.1",
    "ember-select-2": "^1.2.0",
    "ember-sortable": "1.6.2",
    "express": "^4.8.5",
    "glob": "^4.4.0",
    "grunt": "^0.4.5",
    "grunt-aws-s3": "^0.9.4",
    "http-proxy": "^1.1.6",
    "mirage": "0.0.5",
    "node-sass": "^3.3.2",
    "originate": "0.1.5",
    "sync-exec": "^0.5.0"
  }

Here's how our dependencies in bower.json looks:
"dependencies": {
    "accounting": "~0.3.2",
    "animate.css": "~3.2.0",
    "autofill-event": "~1.0.0",
    "bootstrap": "~3.2.0",
    "chartkick": "~1.3.0",
    "dropzone": "uniiverse/dropzone#3.10.3",
    "ember-simple-auth": "0.6.7",
    "ember-validations-shiv": "uniiverse/ember-validations-shiv",
    "highcharts": "~4.1.4",
    "intercom": "edude03/intercom.js#fix-intercom-with-bower",
    "jquery-color": "~2.1.2",
    "jquery-form": "~3.46.0",
    "jquery.payment": "~1.2.2",
    "moment": "~2.7.0",
    "papaparse": "~4.1.0",
    "select2": "3.5.2",
    "select2-bootstrap-css": "~1.4.6",
    "sockjs": "~0.3.4",
    "svg4everybody": "~1.0.0",
    "thousandwords": "0.1.9",
    "underscore": "~1.7.0",
    "underscore.inflection": "~1.1.1",
    "underscore.string": "~2.3.3",
    "ember": "1.12.0",
    "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
    "ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
    "ember-data": "1.0.0-beta.18",
    "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.4",
    "ember-qunit": "0.3.3",
    "ember-qunit-notifications": "0.0.7",
    "ember-resolver": "~0.1.15",
    "jquery": "^1.11.1",
    "loader.js": "ember-cli/loader.js#3.2.0",
    "qunit": "~1.17.1",
    "jquery.easing": "~1.3.1",
    "chartist": "~0.9.4",
    "jquery.kinetic": "~2.1.0",
    "keen-js": "3.2.7",
    "jquery-ui": "~1.11.4",
    "pretender": "~0.10.1",
    "lodash": "~3.7.0",
    "Faker": "~3.0.0"
  }

In a separate project using v0.11.1 I was able to get the tests running without this error message. It's only in my particular project where I get this "_.assign is not a function" error message. I'm pretty sure it's a dependency or build issue.

+1

might be fixed by #322
suggest that the next version of ember-cli-mirage be pushed to npm :cry:

:+1: Also seeing this

I'll look at this tonight

This does appear to be fixed by switching to the beta version, so I echo @omouse that getting a new version onto NPM might be nice :grin:

https://github.com/samselikoff/ember-cli-mirage/commit/678c2b8285211d19efae259af205203c66d73094 is the fix. I'm trying to figure out the best course of action. It's clear to me I should have been doing 0.2.x development in a branch - this seems obvious, but when I started everything in 0.2.x was backwards compatible. At some point, I decided to make some breaking changes, and then I should have started working on a separate branch.
Now this commit is in master but unavailable to 0.1.x series. I could make an 0-1-stable branch of development (like AMS does), and have people install from that. But then will I have to keep that branch around forever (since those commits won't be in master...)? That seems like a bad option.
The other alternative is, I could publish 0.1.12 from the above commit. There is one "breaking change", moving /app/mirage to /mirage, but even that is configurable if you wanted to keep it in /app/mirage. Then, we wouldn't need another branch, and all tags would stay in master (where they belong).
What do you all think? (And, lesson learned - always do new unfinished development on a branch!)

Can I see your app's Mirage code that's triggering this bug?

sorry I might be out of context but why not to use Ember.assign?

Mirage doesn't actually use any functionality from Ember, eventually the goal is to extract it into a bower package. It doesn't know the app making the requests is an Ember app.

Tried to add mirage to a project today and got this error.

@kellyselden what version of Mirage?

@samselikoff The latest on 0.1.x. I'm mobile right now but pretty sure it was 0.1.11.

@samselikoff I think you can branch off 0.1.x, tag it, then delete the branch and have the tag remain. I've done that on a project before for a hotfix.

0.12 released to address this: https://github.com/samselikoff/ember-cli-mirage/releases/tag/v0.1.12

I'm not longer able to build my app after this push (0.2.12).  Getting 'Cannot read property 'path' of undefined'  https://travis-ci.org/#L1902
Maybe something about using NPM v3?

Looking into it

Should be fixed with 0.1.13


Helm Plugin - Add API

Add the helm plugin to scaffold new APIs.
The call will be done in a follow-up.
blocked by #3239

Hi @estroz and @joelanford,
I applied some suggestions and did a few improvements. Let's me know what do you think now and if you see anything else that should be changed before we merge this one.


Document desired properties of law checks

Currently it is not documented anywhere what exactly a law check should do regarding non-abstract members of type classes.
I think it is desirable to check for consistent implementation of potentially overridden methods. See #448 for an example. But this should also be documented somewhere so that people writing new law checks know what to do.
LawChecks.md at top level?

Regrouped.


lints!

Specifically, this will prevent 2 code smells:

glob: use foo::* is by default denied. use self::sub::* is fine, as way to uplift sub modules. For uses of bad globs, they must be covered with a #[glob = "explanation"] attribute.
str_to_string: Micro benchmarks show it's 5x slower than &str.into_string(). So this lint denies such usage.

The tostring lint has been upstreamed into Clippy. I think the glob one would be nice to have as well, PRs welcome! :)

The tostring lint has been upstreamed into Clippy. I think the glob one would be nice to have as well, PRs welcome! :)


Nested maps/blocks in remote_state.config is not supported

I am trying to use Terragrunt with TFE (free) remote backend.
Consider this terraform.tfvars:
terragrunt {
  remote_state {
    backend = "remote"
    config {
      organization = "xxx"
      workspaces {
        name = "${path_relative_to_include()}"
      }
    }
  }
}

Terragrunt invokes Terraform init with
terraform init -backend-config=organization=xxx -backend-config=workspaces=[map[name:workload_project]] -get=false -get-plugins=false -backend=false -from-module=file:///home/xxx/.terragrunt-cache/VeJiHFjPAEVHjBA0_pT08qczlFw/Jf8vct3Z9o5dLHa0HGyO6z_IBGg

The nested map is not converted correctly to command line argument.
I am using terragrunt version v0.18.3
Workaround:
terragrunt {
    extra_arguments "remote_state" {
      commands = ["init"]
      arguments = [
        "-backend-config=organization=xxx",
        "-backend-config=workspaces=[{name = \"${path_relative_to_include()}\"}]"
      ]
    }
  }
}

EDIT: This workaround will not work for Terraform 0.12 at the moment. See https://github.com/hashicorp/terraform/issues/21830

Ah, yea, that's definitely a bug. We have not tested Terraform with any TFE features, as the paid TFE only ran terraform and not terragrunt, so most people used one or the other. With TFE free, I guess that equation changes a bit and we need to fix the argument formatting code. PR very welcome!

I got something like the mentioned workaround setup but then it complains with the following:
Error loading state: default state not supported
You can create a new workspace with the "workspace new" command.

Terraform 0.12 will prevent the implementation of this due to https://github.com/hashicorp/terraform/issues/21830

In hashicorp/terraform#21830, Martin mentioned that Terraform Enterprise/Cloud writes a temporary file to provide to Terraform. I suppose this can also be fixed by having Terragrunt write a temporay file for Terraform to use.

Oh, good find @lawliet89. That definitely makes things more complicated 😕


Soundcloud set track number support

Enhancement idea:

Support for updating the  ID3 tag information for each track when pulling down sets from soundcloud.

Many thanks for creating/supporting this awesome project :)

+1!


Do not change or generate README.md after running rspec

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Description

Do not change or generate README.md after running rspec.
If anybody knows better way for handling this, please feedback to this PR. 🙏
Motivation and Context

After running rspec, it generates some README.md on my machine that is not needed without this patch.

Hmm, CircleCI select Xcode 7.0 😓

https://circleci.com/gh/fastlane/fastlane/8447

@KrauseFx @giginet
I addressed the feedbacks, could you review again?

@nafu Sorry for my late reply.
You can merge it 😄

@KrauseFx @giginet Thanks 🚀


rust-analyzer  build failed

when i use the dependencies  zen-engine = "0"
i cant pass rust-analyzer build， but cargo run is successful.
error: failed to run custom build command forrquickjs-sys v0.4.3``
thread 'main' panicked at C:\Users\Antoneo\.cargo\registry\src\mirrors.ustc.edu.cn-4affec411d11e50f\rquickjs-sys-0.4.3\build.rs:139:10:   Unable to execute patch, you may need to install it: {}: Error { kind: NotFound, message: "program not found" }   stack backtrace:
How to fix it？

This might be related to your operating system. Which one are you using? (Seems to be Windows) Particularly, failure is occurring because of: https://github.com/DelSkayn/rquickjs.
Would you be able to install patch CLI tool? This is likely the cause as it's being called here - https://github.com/DelSkayn/rquickjs/blob/304db5d8ebe6b42cfa9d9cf6d11ff7d355bdf2ac/sys/build.rs#L247.

@antoneo Great to hear! In case of any other problems feel free to re-open the issue. Closing this one.


Failing to load my-custom-elements.js

When loading the HAXcms site manager page in ddev there is a file type error when loading the my-custom-elements.js file.

pull latest. ddev stop ddev start
this was an issue with nginx config

I'm still getting that error.

pull on your 2800 baud modem and try again. git ignore needed fixed to include that file automatically


Allow more access between Kali and Teamserver instances

🗣 Description
This pull request allows full TCP and UDP access between Kali and Teamserver instances on ports 5000-5999.
💭 Motivation and context
Resolves cisagov/cool-system-internal#79.
🧪 Testing
Automated testing passes.
✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All new and existing tests pass.

@dav3r - Note that I rebased and force pushed in order to remove the deletion of the IMAP and Cobalt Strike security group rule; now that they are only requesting ports 5000-5999 (instead of 0-65535) that rule must return.


Failed assertion t == this_ethread()

[Jun  4 07:22:36.236] {0x7f35fe8f5700} DEBUG: <QUICNetVConnection.cc:1576 (_schedule_cl> (quic_net)                       [5f3b4c59-021c0a37] Schedule QUIC_EVENT_SHUTDOWN event
[Jun  4 07:22:36.236] {0x7f35fe8f5700} DEBUG: <QUICLossDetector.cc:88 (event_handler)> (quic_loss_detector)             [5f3b4c59-021c0a37] Shutdown
Fatal: UnixNet.cc:338: failed assertion `t == this_ethread()`

Some of the cases should be fixed by 7b8f86e28457b96d2aa61e70be0b92bd99a03546


[NuGet.org Bug]: Unable to 'Edit' API Key

Impact
It's more difficult to complete my work
Describe the bug
When attempting to edit an API Key, an error (500 Internal Server Error) is encountered at POST https://www.nuget.org/account/EditCredential.
The end user receives a generic error alert on the website:

Upon inspecting the failed request via DevTools, I could see the HTML directing me to file an issue:

Error was encountered when editing an API Key owned directly by my account, as well as keys belonging to an org to which I am an owner/administrator.
Current Workaround:

Delete key
Recreate key with desired settings
Update all my pipeline secrets :)

Repro Steps

Login to https://www.nuget.org/account/apikeys
Select an API Key and click 'Edit'
Modify key settings (e.g. "Glob Pattern")
Click "Edit" to save changes
Scroll up to see error

Expected Behavior
API Key settings are saved.
Screenshots
Provided in description.
Additional Context and logs
No response

Sorry about this, meantime you can unblock yourself by deleting the existing key and recreating it.


EnableTelemetry : Wrong SQL query

If the test is PASS and if there is subtest results are present, SQL query generated is wrong.
INSERT INTO LISAv2Results (DateTimeUTC,TestPlatform,TestLocation,TestCategory,TestArea,TestName,TestResult,SubTestName,SubTestResult,ExecutionTag,GuestDistro,KernelVersion,LISVersion,HostVersion,VMSize,Networking,ARMImage,OsVHD,LogFile,BuildURL) VALUES ('2019-2-7 8:4:23','Azure','southcentralus','BVT','BVT','BVT-VERIFY-DEPLOYMENT-PROVISION','@{TestResult=PASS; TestSummary=	FirstBoot : PASS 	FirstBoot : Call Trace Verification : PASS 	Reboot : PASS 	Reboot : Call Trace Verification : PASS }','','','','Ubuntu 16.04.5 LTS (Xenial Xerus)','4.15.0-1036-azure','NA','14393-10.0-0-0.274','Standard_DS1_v2','Synthetic','Canonical UbuntuServer 16.04-LTS latest','','https://XXXXXXXXX.blob.core.windows.net/lisav2logs/2019-2-7/BVT-VERIFY-DEPLOYMENT-PROVISION-636851234631095316.zip', 'https://XXXXXXXXX.XXXXXX.XXXXXX.azure.com/job/job-azuretest/job/job-cloudtest-auto/26329/consoleFull')

Note: Removing P0 flag. I thought it was present in master branch.
Assigning to @ader1990 as the issue is present in ader1990:implement_skipped_tc_state

Also the test summary is wrong :
[LISAv2 Test Results Summary]
Test Run On           : 02/07/2019 07:55:50
ARM Image Under Test  : Canonical : UbuntuServer : 16.04-LTS : latest
Total Test Cases      : 2 (1 Passed, 0 Failed, 0 Aborted, 1 Skipped)
Total Time (dd:hh:mm) : 0:0:12

   ID TestCaseName                                                                TestResult TestDuration(in minutes)
---------------------------------------------------------------------------------------------------------------------
    1 BVT-LIS-DRIVER-VERSION-CHECK                                                   SKIPPED                 1.39
    2 BVT-VERIFY-DEPLOYMENT-PROVISION                                   @{TestResult=PASS; TestSummary=	FirstBoot : PASS
	FirstBoot : Call Trace Verification : PASS
	Reboot : PASS
	Reboot : Call Trace Verification : PASS
}                 3.02

Logs can be found at C:\LISAv2\GO92\TestResults\2019-07-02-07-55-46-6637

I will close this issue as this refers to a in-progress pr, not merged one. @iamshital  this will be resolved in the PR itself.

@iamshital can you check if the new fixes are alright? thanks.


Add logic to flush offsets only after clickhouse records are persisted

Add logic to flush offsets only after clickhouse records are persisted

Implemented.


feat/manual revalidation backend point for landing page

Added manual revalidation for the landing page cache which can be hit using a password set in .env
three things have been done in this pull request:

creating a cache for landing page during build time (manual revalidation possible)
creating cache for all Blog type problems in tracks (manual revalidation not possible)
fixing a small bug in keypress in tracks page (left and right keypresses were not working as expected)

This closes #136, #137, and #138.

Closing in favor of https://github.com/code100x/daily-code/pull/138


Update to 1.1.10 Problems

Version information

Laravel: v5.6 to 5.7
Voyager: v1.1.3 to 1.1.10
PHP: 7.2
Database: MardiaDB 10.3 and Mysql 5.7.20

Description
Hello everyone, I just updated to laravel 5.7 and voyager updated to 1.1.10 from 1.1.3 version. Now i encounter several problems. The most serious is in this commit Tweaking usage of JSON "details" field (#3637) . Even if i update all custom pages and classes, how i can update safely the database on a live site?
Steps To Reproduce
Steps to reproduce the behavior:
just make a simple composer update

We can't support custom views. That would lead to infinite possibilities.
If you have specific issues you need help with, please feel free to ask.  I'm going to close this for now though.


Limit resource server token scopes to user.verification:read

Fixes #193.
This PR changes the logic behind the access token scopes for the resource server (megalodon).
As is:

megalodon_token-scopes are saved in localStorage when the first access token is extracted from Fractal ID
megalodon_token-scopes are re-used when requesting new access tokens
If the scopes that were extracted from Fractal ID become unavailable in the future, the extension will continue to request a token with these invalid scopes.

To be:

The first megalodon_token extracted from Fractal ID will contain whatever scopes Fractal ID is using (currently almost all the available scopes including the relevant one user.verification:read)
Once this token expires, the subsequent tokens will be requested with the bare minimum scope user.verification:read

Please verify that you've logged out of the extension, logged in, and then done some different things to make sure different parts still have relevant permissions. It's possible that some flows require some permissions we're no longer specifying. But hard to test them in general.

I did that and saw no issues. Only the credentials-related functionality needs Fractal ID right? The protocol tab relies on the chain alone?

The protocol tab does make an authorized RPC to maguro for registering an opaque Fractal ID on chain. But that should just require authorization and no specific OAuth scopes. If you can successfully opt-in to the protocol, then we should be good.

@shelbyd maguro actually needs one more scope to be able to register the identity. updated the PR


str() causes .npy file header to fail regex

I'm using the attached npy embedding.  this npy file is (768, ) in size, and was computed using CLIP ViT-L/14 and saved using the below function
  filename = some_name
  emb = np.frombuffer(vector_data, dtype='float16')
  np.save(path, emb)

when I use embedding_reader to load this, first file fails due to a header parsing error.
python --version
Python 3.10.8

...
tracing your code using fsspec and reading the failing file manually
...

>>> f.seek(0)
0
>>> f
<fsspec.implementations.local.LocalFileOpener object at 0x1049fb940>
>>> f.size
1664
>>> isinstance(f.size, int)
True
>>> file_size = f.size
>>> file_size
1664
>>> first_line = f.read(min(file_size, 300)).split(b"\n")[0]
>>> first_line
b"\x93NUMPY\x01\x00v\x00{'descr': '<f2', 'fortran_order': False, 'shape': (768,), }                                                          "
>>> result = re.search(r"'shape': \(([0-9]+), ([0-9]+)\)", str(first_line))
>>> result
>>> str(first_line)
'b"\\x93NUMPY\\x01\\x00v\\x00{\'descr\': \'<f2\', \'fortran_order\': False, \'shape\': (768,), }

it seems like when str is cast, escape characters are added which cause the header parsing to fail?  is this not the expected result?
this is causing autofaiss to break when building an index.  I'm able to use autofaiss when loading the embeddings from memory, so not likely their issue?

pip list | grep embedding
embedding-reader         1.5.0

seems up to date as well.

or is it because the shape is unexpected?  and needs to be reshaped to (768,1) ?

oh I see, so I should use np.hstack.  then save?

vstack got it to work, thanks @rom1504 will close this!


Prometheus monitoring cannot use remote storage

Currently, when rancher cluster monitoring and project monitoring are enabled, the monitoring data cannot be stored on the remote storage and can only be stored in the local storage. The problem is that the monitoring number cannot be monitored.Hope to configure prometheus remote storage can be docked as influxdb, Elasticsearch
https://prometheus.io/docs/operating/integrations/#remote-endpoints-and-storage

Useful
Info

Versions
Rancher v2.2.8 UI: v2.2.94

Route
authenticated.cluster.monitoring.index

Close in favor of https://github.com/rancher/rancher/issues/20624


Error on opening visual studio add in

Used this project for ages, worked fine.  Now after latest visual studio update i'm getting an error when i start it up.  I see the following error below:
ResX Resource Manager loaded.
Home: https://github.com/tom-englert/ResXResourceManager
Report issues: https://github.com/tom-englert/ResXResourceManager/issues
Support the project by adding a short review: https://marketplace.visualstudio.com/items?itemName=TomEnglert.ResXManager#review-details
Error: System.Windows.Markup.XamlParseException: Collection property 'Microsoft.Expression.Interactivity.Core.PropertyChangedTrigger'.'Actions' is null. ---> System.Xaml.XamlObjectWriterException: Collection property 'Microsoft.Expression.Interactivity.Core.PropertyChangedTrigger'.'Actions' is null.
at System.Xaml.XamlObjectWriter.WriteGetObject()
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Windows.Markup.WpfXamlLoader.TransformNodes(XamlReader xamlReader, XamlObjectWriter xamlWriter, Boolean onlyLoadOneNode, Boolean skipJournaledProperties, Boolean shouldPassLineNumberInfo, IXamlLineInfo xamlLineInfo, IXamlLineInfoConsumer xamlLineInfoConsumer, XamlContextStack`1 stack, IStyleConnector styleConnector)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at tomenglertde.ResXManager.View.Visuals.ResourceView.InitializeComponent() in C:\Agent_work\9\s\ResXManager.View\Visuals\ResourceView.xaml:line 1
at tomenglertde.ResXManager.View.Visuals.ResourceView..ctor(ICompositionHost compositionHost) in C:\Agent_work\9\s\ResXManager.View\Visuals\ResourceView.xaml.cs:line 55
Assembly location: C:\Users\menow\AppData\Local\Microsoft\VisualStudio\15.0_7ea3f58a\Extensions\1tc1ejl2.ata
Version: 1.3.515.0

I can't reproduce this, can you try uninstall and reinstall again?

Yeah, still the same issue.  When the resx manager window pops up, the MAIN tab is just blank, doesn't show anything inside there.  The other 3 tabs all seem to exist and work properly though, oddly enough.  I can use the autotranslate page for example

After uninstall, did you verify that the extension is really gone? Sometimes the Vsix-installer fails to completely remove the older versions.  (see e.g. http://resxresourcemanager.codeplex.com/workitem/4730)
If you install the previous version, does this fix the problem?

Uninstall truly uninstalls, i don't see anything of the program after i uninstall (I've done it twice again to be sure).  I installed V1.2, which still has the same problem, which makes me think it's my data/files?  How would i go about debugging a bad resx file that might cause this?

Try to open the ResXManager window without having a solution open directly after starting VS - if that does not work either, it's not caused by bad resx file.
It rather looks like some problem with Microsoft.Expression.Interactions.dll/System.Windows.Interactivity.dll.
Can you debug your VS with another instance of VS, and see if these assemblies are loaded from the same folder as the ResXManager*.dll?

Yeah, you're right.  still comes up even if i don't have a solution open.  Sorry, i'm not very familiar with debugging extensions.  I tried attaching to the devenv.exe and setting my exception settings to break on every exception, but it didn't catch anything.
Is there a cache folder i could possibly try clearing out?

Can you check if all those assemblies are loaded from the same folder? (attach to devenv.exe, select Debug=>Windows=>Modules)

see attached images.  looks like expression comes from the GAC, and there are 2 versions of Interactivity  one from the GAC and one from your extension.

Try to remove them from the GAC - they should not be needed there.

Thank you so much.  the problem with telerik test studio, i had just downloaded a trial for that.
http://www.telerik.com/teststudio .  I actually just uninstalled that and it cleared the issue right up.  Thanks again for spending so much time helping me out here.

A good place to share your experience is here: https://marketplace.visualstudio.com/items?itemName=TomEnglert.ResXManager#review-details :smile:

@vishnu4 I just tried to reproduce this, but it worked all fine - what version of the .Net framework do you have installed?

I have visual studio 2017 installed, so all the versions it comes with are there.  Plus the 4.6.2 and 4.7 targetting packs


Allow optional settings to be set individually, not just all at once

With the addition of three more possible callbacks, passing all optional settings into the start() method all at once is starting to become unruly:
hc.start({
  hashtags: hashtags,               // required
  interval: interval,               // required
  history: history,                 // optional
  intervalCb: intervalCb,           // optional
  connectingCb: connectingCb,       // optional
  reconnectingCb: reconnectingCb,   // optional
  connectedCb: connectedCb,         // optional
});

It should remain possible to set them this way, but it would be even better to support setting them more directly and individually like this:
hc.intervalCb = function () {
  // Some code.
};

This also eliminates the need for identically/awkwardly named intermediate variables to store the callbacks.

I've decided this change would do more harm than good because it would give the impression that certain settings can be changed at any time, even after a process has already started.
For example, a change to hashtags cannot take effect until the Twitter Streaming API connection is restarted (which should be done infrequently to avoid rate limiting). Also, it's hard to think of a use case where somebody would want to change the limit or interval settings in the middle of the process.
The various callbacks could technically be changed on the fly, but again, it's hard to imagine a use case for this. It wouldn't warrant the additional confusion, in my opinion.


MIC-80: Add latest reference data with updated descriptions

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.43%. Comparing base (486fef2) to head (247c594).

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #49      +/-   ##
============================================
+ Coverage     88.34%   88.43%   +0.09%
  Complexity      521      521
============================================
  Files           104      104
  Lines          1827     1825       -2
  Branches         43       43
============================================
  Hits           1614     1614
+ Misses          190      188       -2
  Partials         23       23

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Writing to text

Hi it's me again,
I tried to make an archiver for image prompts

I gave it these rules to follow:
"Only add new prompts
Clearly mark the end of the prompts with a empty line, followed
by a single line of 100 Underscores then another empty line
Do not overwrite or delete the previous prompts only add to the list.
If the prompt is new Add it after the previous prompt and end mark, in the same txt file
If the prompt already exist, do not add it again."
But it keeps overwriting the prompt that it had, instead of adding it to the next free line.
Am I doing something wrong? Did I forget a rule? Or is it not meant to work this way?

I think you would need to feed the text file into the agent as well - right now it doesn't know what the text file contains. Can you try loading the text file & adding it to the agent in the input_string section?
This may also be something where just pure python would work best for taking a text file, breaking it up into sections & only inserting the new prompt if it doesn't already exist... for deterministic stuff like that LLMs may not be the best tool. I really gotta get on that CodeExecution node. :)

I loaded the txt in to the agent, now I have to wait till my prompts are done, will tell you as soon as I queue new ones

If you are going to make a code execution node, a .csv file would be handy as an output aswell

Still a small problem though, when I hit that limit where the LLM or comfyUI loses memory, it overwrites my prompt file with a blank file only containing the error "400 bad request", luckily I backed most of them up, and I can do that before I hit that limit but letting it run overnight unsupervised, made me lose a few prompts.  Glad I still had the old way up so they are still in another txt file.
Is there a way to add them directly in to the PNG files?

to write the metadata to a PNG? possibly! @griptapeOsipa , would your metadata tool be able to do that? write the prompt that generated it into an image?

*Can, and *effectively might be different answers here.  It can most definitely write text into PNG image data.  That said, the current version can only write to existing fields not create new ones, and fields seem to have built-in character limits that are not all consistent.  A long prompt stored in the wrong place might truncate.  But, the best thing to do is try!


No obsm slot after saving with adata.write_loom

Hi all and thank you a lot for your work,
I performed analysis of a big single set data set using scanpy and then producing pca, umap, draw_graph etc. I saved my adata object using adata.write_loom("myfile.loom") and when re opened these using adata =  sc.read_loom("myfile.loom"), I could not find any obsm field containing the different embeddings that were produced..
What I don't understand is that all other fields where present.
This data set is the merge of different loom files coming from velocyto script on bam files.
Is it normal that we cannot retrieve the obsm slot after writing the loom file ?
Thank you by advance !

The problem is that the loom file format doesn't support multi-dimensional annotations. We should output a warning, you're right... I added it here: https://github.com/theislab/anndata/commit/3e93ed702ff83eca59edc1f63a035ff93319ca12
A hackish manual workaround is adding the coordinates as one-dimensional annotations to .obs.


Alternative Schema Update based on TSC Comments

Changed the proposal stages to Draft, Pilot, Graduated, Abandoned
Fixed broken URLs.
Minor editorial fixes.

@cmheazel , thanks. FYI, it looks like this PR has merge conflicts. I'm not sure if you can resolve those or of someone with write access has to assist.
Also, it might be helpful to state explicitly that, even after this feature graduates into the OpenAPI specification, tools will not be required to support any alternative schema types. Tools MAY choose to support any of the registered alternative schema types, but support for native OpenAPI schemas is the only requirement for compliance with the OpenAPI specification.
There seemed to be some confusion about this, and maybe a false perception that the native OpenAPI Schema Object is being deprecated or replaced by JSON Schema. That might be an eventual, de facto outcome if tools overwhelmingly support JSON Schema, users adopt it, and it becomes the preferred schema format. But that is not goal of introducing alternative schemas. And to the extent that the TSC wants to continue incrementally towards converging OpenAPI Schema with JSON Schema, that work continues on a parallel track.
TSC members, I hope I've stated that correctly. Please comment and let me know if I have got the wrong impression.

refs #1532

@cmheazel can you just do a git pull --rebase origin master, update your conflicts, and force push back over your branch? That's what I do to fix conflicts. :)

Also, it might be helpful to state explicitly that, even after this feature graduates into the OpenAPI specification, tools will not be required to support any alternative schema types. Tools MAY choose to support any of the registered alternative schema types, but support for native OpenAPI schemas is the only requirement for compliance with the OpenAPI specification.

Agreed. It's been said out loud and on the calls and in PRs, but it should be in the actual proposal somewhere. The first bit of feedback I get when talking about it is "I dont want to have to write schematron code!" 🙄

Conflicting files have been deleted.  I will submit them in a separate pull request once this PR has been merged.

000_OAS-proposal-template.md
001_Alternative-Schema-Proposal.md

superseded by #1993


[BUG]

Office Tool Plus Version, e.g. <IP_ADDRESS>:
<IP_ADDRESS>
Operating System, e.g. Windows 10 20H2 or Windows 7 SP1:
Windows 11
Error description (required):
The tooltip to the passage of the mouse to choose the update channel closes instantaneously, in the following gif I recorded the problem
Screenshot (suggested):

Additional information (optional):
I also tried it on a second pc where Office Tool had never been used and the result is identical.

Hello, thanks for your report.
I also noticed that ToolTip can not work properly.
I think there is a problem of .NET 6.0, in the previous version all works fine, I will report it to .NET team.

I found a problem like that: ToolTips in popups (or any context where capture is active) #5931, maybe the problem has fixed but the new version of .NET is not published yet, we need to wait for it.

Great, let's wait for the next version!
Would it be possible to add backup and restore of user settings, templates and personal dictionaries to Office Tool as well?

Another issue like you said.
For backup and restore user settings, I need some time to make a plan and do it.

Great, let's wait for the next version! Would it be possible to add backup and restore of user settings, templates and personal dictionaries to Office Tool as well?

For your new feature request, please open a new issue. For this issue, you can wait until .NET team fix it or close it as you want.

Okay, thank you very much. I'll close then, thank you.

Unfortunately, Microsoft still hasn't fixed this issue, and I'm still experiencing it in the latest .NET 6.0.2.


Release/5.6.x

#207
#208
#210
#211
#212
Backporting these to maintain parity from 5.5.x to the most recent release branch
Relevant PR: https://github.com/concourse/concourse-bosh-deployment/pull/213

Thaanks!


Index page and blog index page: blog abstract is spilled out of container

This must be a bug right?

https://github.com/riboseinc/jekyll-theme-open-project/issues/27
https://github.com/asciidoctor/jekyll-asciidoc/issues/181

Specified the excerpt manually in this case in https://github.com/riboseinc/metanorma.com/commit/db6ab8603602d330bef1bd305dd0e5ac385e48a9.


Fix non-integer access in SimpleMask

sI = sI[np.random.uniform(1, sI.size, (Percent * I.size,)).astype(int)]

This references code that is no longer in the repo.


Adding First Abstraction section

We move on from Main.cpp's main() and abstract it out into Application.{hpp, cpp}

I would suggest going through the extra effort of adding the HelloWindow.{hpp,cpp} files, to be more consistent with the code base