Add citation options to each survey with citation generator

@hazelshapiro need some more detail on this. Does this look like data that is entered by an Admin when creating a survey? Or is it data that's edited by respondents? What new fields would you want? Would there even be any new fields, for example do we generate the citation based on the assigned respondent's profile (name & ORCiD)?
Would the citation look like this as a text field with a copyable button, or more like the GitHub cite interface, or something else?

I like the example you provided - text field with a copyable button
On Sat, Jan 6, 2024 at 11:00 AM Matt Fisher @.***>
wrote:

@hazelshapiro https://github.com/hazelshapiro need some more detail on
this. Does this look like data that is entered by an Admin when creating a
survey? Or is it data that's edited by respondents? What new fields would
you want? Would there even be any new fields, for example do we generate
the citation based on the assigned respondent's profile (name & ORCiD)?
Would the citation look like this
https://mfisher87.github.io/posts/website-repo-pr-preview-part-2/#citation
as a text field with a copyable button, or more like the GitHub cite
interface, or something else?
image.png (view on web)
https://github.com/nsidc/usaon-benefit-tool/assets/3608264/696c3971-9a06-4378-bdf5-3832807a37f0
—
Reply to this email directly, view it on GitHub
https://github.com/nsidc/usaon-benefit-tool/issues/190#issuecomment-1879769038,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4RGLH6BBKSAKXEJBUVVEJDYNGGKPAVCNFSM6AAAAABADL2DOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZG43DSMBTHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Hazel Shapiro
Program Analyst
US Arctic Observing Network
https://www.iarpccollaborations.org/united-states-arctic-observing-network.html
& Interagency Arctic Research Policy Committee
https://www.iarpccollaborations.org/
I currently reside on the unceded land of the Arapaho, Cheyenne, and
Núu-agha-tuvu-pu (Ute) people
she/her (what's this? https://www.glsen.org/activity/pronouns-guide-glsen)

In that example, the copyable citation is BibTeX, and then below that there's a citation in another standard format. Do you want the citation to be provided in both BibTeX and APA format, for example?


[MLIR] Fix verifier for TF::Conv2DOp and TF::Conv3DOp.

This commit addresses a bug where in tf.conv2D and tf.conv3D, incorrect sizes of output shape was not verified. Added changes to verify the output shape and emit error for incorrect output shapes.
Signed-off-by: Prateek Gupta<EMAIL_ADDRESS>

@smit-hinsu for visibility - as the author of the surrounding code.

Thanks for the improvements!
Could you make use the new inferReturnTypes trait for shape inference?
See this commit for an example. https://github.com/tensorflow/tensorflow/commit/edeb46930e7e6cef0154ef7fa8014bb42d4052c2

Thanks for the improvements!
Could you make use the new inferReturnTypes trait for shape inference?
See this commit for an example. edeb469

It isn't immediately clear from the other revision as to how inferReturnTypes should be used/incorporated. Could you please expand a bit more on what changes/additions should be made here? Thanks

Once we declare InferTypeOpInterface interface and implement inferReturnTypes methods for these ops, we don't need to explicitly call shape verification. You should see that shapes are being verified automatically without explicit call to inferReturnTypes. The benefit of this generic approach is that the interface can be shared between buillder, verifier and allows other uses as all the ops follow the same mechanism.
Checkout interfaces documentation at https://mlir.llvm.org/docs/Interfaces/.
Let me know if you need further explanation or specific details.

Once we declare InferTypeOpInterface interface and implement inferReturnTypes methods for these ops, we don't need to explicitly call shape verification. You should see that shapes are being verified automatically without explicit call to inferReturnTypes. The benefit of this generic approach is that the interface can be shared between buillder, verifier and allows other uses as all the ops follow the same mechanism.
Checkout interfaces documentation at https://mlir.llvm.org/docs/Interfaces/.
Let me know if you need further explanation or specific details.

@smit-hinsu , there is an issue in using the InferTypeOpInterface. Previously,  when I was using the verifier to check the output type all other parameters like non-negative strides, a correct number of input dimensions/strides etc were checked before only(as I kept my check at the end of the verifier).
But now if I use the inferReturnTypes method,  the output type is inferred before doing other sanity checks resulting in a segmentation fault. The output type in the case of tf.conv2D and tf.conv3D can only be inferred if the attributes are correct.
When I am running my code using inferReturnTypes with correct attributes, it is running fine. But if there are incorrect attributes they have to be checked first
If I emit errors in those instances, then there will be no use of a verifier. So could you suggest something here?

We need to emit error in that case and fail the type inference. See the following op inference in HLO dialect for an example,
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/hlo_ops.cc#L1687

@pr4tgpt Can you please check @smit-hinsu's comments and keep us posted ? Thanks!

Yes I am working on smit's suggestion. Thanks.

We need to emit error in that case and fail the type inference. See the following op inference in HLO dialect for an example,
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/hlo_ops.cc#L1687

Hi @smit-hinsu I have made changes as requested by you. Please review them. Thanks.

Thank you @smit-hinsu for suggestions. Will update the code with relevant changes.

@pr4tgpt Can you please check @smit-hinsu's comments and keep us posted ? Thanks!

@pr4tgpt Can you please check @smit-hinsu's comments and keep us posted ? Thanks!

I have checked and resolved the comments. Thanks.

Hi, @smit-hinsu , I have made changes as requested by you. Please review the changes and feel free to post suggestions/improvements. Thanks!

@pr4tgpt  Can you please check @smit-hinsu's comments and keep us posted ? Thanks!

@pr4tgpt Can you please check @smit-hinsu's comments and keep us posted ? Thanks!

I have checked and resolved the comments. Thanks

Hi @smit-hinsu , I have made changes as requested by you. Please review the changes and feel free to post suggestions/improvements. Thanks!

While updating the PR, consider adding new commits instead of amending it so that it is easier to see the changes.

Hi @smit-hinsu I have made changes as suggested by you in a new commit. Please review it. Thanks!

Hi, @smit-hinsu Some of the newer test cases were using wrong output sizes for tf.conv2d. I have corrected them. Please review that. Thanks!

Hi, @smit-hinsu some more failing test cases corrected. Please review them also. Thanks!

Hi, the code has been approved. Please merge this after running checks thanks.

Hi @smit-hinsu, Can you look into why the internal build is failing here?  I cannot access the build report. Thanks!

Hi @smit-hinsu, can you look into what error has occurred? Thanks!

Could you run all the tests in these directories and fix the failing ones?
tensorflow/compiler/mlir
tensorflow/compiler/tests
tensorflow/lite/python
tensorflow/lite/testing/model_coverage

@pr4tgpt Can you please check @smit-hinsu's comments and keep us posted ? Thanks!

Could you run all the tests in these directories and fix the failing ones?
tensorflow/compiler/mlir
tensorflow/compiler/tests
tensorflow/lite/python
tensorflow/lite/testing/model_coverage

Yes I am looking into this. Thanks!

Could you run all the tests in these directories and fix the failing ones?
tensorflow/compiler/mlir
tensorflow/compiler/tests
tensorflow/lite/python
tensorflow/lite/testing/model_coverage

Hi @smit-hinsu I checked the tests you asked.
The tests in tensorflow/compiler/mlir specific to tf_to_gpu and tf_to_kernel pass fail. These tests have no dependency to my patch.
The python tests in the tensorflow/compiler/tests are failing due to reasons I can't determine(mostly ModuleNameError). I find no dependency to my patch here also.
The python tests in the tensorflow/lite/python are failing due to reasons I can't determine(mostly ImportError). I find no dependency to my patch here also.
The tests in tensorflow/lite/testing/model_coverage pass successfully.
Could you see the failing tests once and tell me what could be the possible reason for them to fail? Thanks!

Could you run all the tests in these directories and fix the failing ones?
tensorflow/compiler/mlir
tensorflow/compiler/tests
tensorflow/lite/python
tensorflow/lite/testing/model_coverage

Hi @smit-hinsu I checked the tests you asked.
The tests in tensorflow/compiler/mlir specific to tf_to_gpu and tf_to_kernel pass fail. These tests have no dependency to my patch.
The python tests in the tensorflow/compiler/tests are failing due to reasons I can't determine(mostly ModuleNameError). I find no dependency to my patch here also.
The python tests in the tensorflow/lite/python are failing due to reasons I can't determine(mostly ImportError). I find no dependency to my patch here also.
The tests in tensorflow/lite/testing/model_coverage pass successfully.
Could you see the failing tests once and tell me what could be the possible reason for them to fail? Thanks!

Hi @smit-hinsu could you help with this? Thanks!

All these tests depend on your change. tensorflow/compiler/mlir/tensorflow/tests uses tf-opt tool which links everything andd tensorflow/lite/python links the TF dialect so there are dependencies.
There are many tests failing. Following are some of these:
tensorflow/compiler/mlir/tensorflow/tests:tf-ops.mlir.test
tensorflow/compiler/mlir/lite/tests:prepare-tf.mlir.test
tensorflow/compiler/tests:conv3d_mlir_bridge_test_cpu
tensorflow/lite/python:lite_test
tensorflow/lite/testing/model_coverage:model_coverage_test_user_vgg_tflite_builtins_select_tf_ops
Please take a look. You can use 'tensorflow/compiler/mlir/tensorflow/tests:all' to test all tests in the directory.

These failures are all clearly related to this PR. An example from tensorflow/compiler/mlir/tensorflow/tests:
2020-12-10 21:49:06.560035: F ./tensorflow/core/util/tensor_format.h:266] Check failed: format == FORMAT_OIHW_VECT_I (0 vs. 3)
TensorFlow crashed, please file a bug on https://github.com/tensorflow/tensorflow/issues with the trace below.
Stack dump:
0.      Program arguments: /home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt /home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir -tf-optimize
1.      Program arguments: /home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt /home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir -tf-optimize
 #0 0x00000000122c096f llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt+0x122c096f)
 #1 0x00000000122be5ed llvm::sys::RunSignalHandlers() (/home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt+0x122be5ed)
 #2 0x00000000122bee6d SignalHandler(int) (/home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt+0x122bee6d)
 #3 0x00007fe1f5214dd0 __restore_rt (/lib64/libpthread.so.0+0x12dd0)
 #4 0x00007fe1f4c5f70f raise (/lib64/libc.so.6+0x3770f)
 #5 0x00007fe1f4c49b25 abort (/lib64/libc.so.6+0x21b25)
 #6 0x00000000111d2b10 virtual thunk to tensorflow::internal::LogMessageFatal::~LogMessageFatal() (/home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-o
 #7 0x000000000fe767ec mlir::LogicalResult mlir::TF::inferConvReturnTypes<mlir::TF::Conv2DOpAdaptor, (void*)0>(mlir::TF::Conv2DOpAdaptor, llvm::SmallVectorImpl<mlir::Type>&, llvm::Optional<mlir::Location>, llvm::ArrayRef<mlir::Attribute>) (.cold.3446) (/home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt+0xfe767ec)
 #8 0x000000000fe77224 mlir::TF::Conv2DOp::inferReturnTypes(mlir::MLIRContext*, llvm::Optional<mlir::Location>, mlir::ValueRange, mlir::DictionaryAttr, mlir::RegionRange, llvm::SmallVectorImpl<mlir::Type>&) (/home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt+0xfe77224)
 #9 0x0000000011eeb238 mlir::detail::verifyInferredResultTypes(mlir::Operation*) (/home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt+0x11eeb238)
#10 0x000000000fc884d9 mlir::Op<mlir::TF::Conv2DOp, mlir::OpTrait::ZeroRegion, mlir::OpTrait::OneResult, mlir::OpTrait::ZeroSuccessor, mlir::OpTrait::NOperands<2u>::Impl, mlir::InferTypeOpInterface::Trait, mlir::MemoryEffectOpInterface::Trait, mlir::TF::LayoutSensitiveInterface::Trait, mlir::DerivedAttributeOpInterface::Trait>::verifyInvariants(mlir::Operation*) (/home/uday/.cache/bazel/_bazel_uday/97da8b8d2f64c0a54677e92074ce1d42/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir.test.runfiles/org_tensorflow/tensorflow/compiler/mlir/tf-opt+0xfc884d9)

All these tests depend on your change. tensorflow/compiler/mlir/tensorflow/tests uses tf-opt tool which links everything andd tensorflow/lite/python links the TF dialect so there are dependencies.
There are many tests failing. Following are some of these:
tensorflow/compiler/mlir/tensorflow/tests:tf-ops.mlir.test
tensorflow/compiler/mlir/lite/tests:prepare-tf.mlir.test
tensorflow/compiler/tests:conv3d_mlir_bridge_test_cpu
tensorflow/lite/python:lite_test
tensorflow/lite/testing/model_coverage:model_coverage_test_user_vgg_tflite_builtins_select_tf_ops
Please take a look. You can use 'tensorflow/compiler/mlir/tensorflow/tests:all' to test all tests in the directory.

Hi @smit-hinsu, @bondhugula  I have fixed the code. The filter dimensions were fetched incorrectly. The tensorflow/compiler/mlir/tensorflow/tests are now passing.
Looking at other failing tests also. Thanks! Please review.

All these tests depend on your change. tensorflow/compiler/mlir/tensorflow/tests uses tf-opt tool which links everything andd tensorflow/lite/python links the TF dialect so there are dependencies.
There are many tests failing. Following are some of these:
tensorflow/compiler/mlir/tensorflow/tests:tf-ops.mlir.test
tensorflow/compiler/mlir/lite/tests:prepare-tf.mlir.test
tensorflow/compiler/tests:conv3d_mlir_bridge_test_cpu
tensorflow/lite/python:lite_test
tensorflow/lite/testing/model_coverage:model_coverage_test_user_vgg_tflite_builtins_select_tf_ops
Please take a look. You can use 'tensorflow/compiler/mlir/tensorflow/tests:all' to test all tests in the directory.

Hi @smit-hinsu, @bondhugula I have fixed the code. The filter dimensions were fetched incorrectly. The tensorflow/compiler/mlir/tensorflow/tests are now passing.
Looking at other failing tests also. Thanks! Please review.

Tests in mlir/lite/tests are also passing.

It finally got submitted! Thanks Prateek for the contribution and working through all the issues.

It finally got submitted! Thanks Prateek for the contribution and working through all the issues.

Thank you Smit for your valuable help and suggestions.


Add GetDeployment RPC to piped api

What this PR does / why we need it:
This is needed for implementing onOutOfSync feature.
Piped needs to know the status of a specific deployment.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/lgtm

👍
/approve


Pipette+: App Should Correctly Display pipette images for new models

overview
App should correctly display images for pipette+ models when they are attached to a robot.
The images used should be the same as the ones for the older models.
Show a generic multichannel image for attached multi-channel pipette+ and a generic single channel image for attached single channel pipette+

We get this for free by keeping the naming conventions the same for pipette+.
Since the keyword single and multi remain in the string, there are no app changes needed.

After changing the name to p+<volume>_<type>_v2.0 this ticket is now relevant again.


Add package version

It's good to have a version for each package as another option for relying to tags. Helps version awareness when reading the code too.
func (x *X) Version() string {
   return "v0.1.4"
}

This has been done mostly on old and new packages!


Column widths are adjusted for vertical scrollbar width even if it is not present/necessary

I noticed that column width are adjusted for vertical scroll bar width even if it is disabled (scrollbarV = false) or unnecessary (item count smaller than paging size)
It becomes noticeable if you want to add grid (bottom borders) to table rows.

Just need to wrap this line in a check for that property. https://github.com/Swimlane/angular-data-table/blob/master/src/components/DataTableDirective.js#L76
Can you PR plz?

Yes, but will address only half of the problem. If we have scrollbarV = true and count < pagingSize (that is all dat fits one page, no overflow), the problem will still exist. I tried to fix it, but it seems column widths are calculated before we know how much data we have?


Does not remember enabled toolbars

On my HP laptop with TaskbarX <IP_ADDRESS>, upon activation of the taskbar, it seems to always recall the default taskbar config regarding the toolbars. That is if I unticked the HP toolbar, the next restart it comes back. This behavior only affects TaskbarX toolbar, and not the default windows toolbar.

If you move the little tray icons around it will update. I have to find a better solution for this.

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤


Remove go 1.11 price functions

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[x] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

Summary
In https://github.com/stellar/go/pull/1543 we added an optimization which was only supported by Go 1.12+ .  But, now that Go 1.13 has been released we no longer need to support Go 1.11

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-horizon-v0.21.0@1abc9f0). Click here to learn what that means.
The diff coverage is 66.66%.

@@                    Coverage Diff                     @@
##             release-horizon-v0.21.0    #1716   +/-   ##
==========================================================
  Coverage                           ?   45.25%
==========================================================
  Files                              ?      380
  Lines                              ?    25997
  Branches                           ?        0
==========================================================
  Hits                               ?    11764
  Misses                             ?    13022
  Partials                           ?     1211

Impacted Files
Coverage Δ

price/main.go
81.44% <66.66%> (ø)

Continue to review full report at Codecov.

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


[commsdsl] Update to 6.3.4

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Usage passed on x64-windows.

Thanks for the update!


WIP: script to merge files from htseq counts

merge multiple counts file  to create count matrix

@sridhar0605 do you intend to keep working on this? Should we close for now?

I will add this in a day or two.
On Tue, Jul 10, 2018 at 7:00 PM Clint Valentine<EMAIL_ADDRESS>wrote:

@sridhar0605 https://github.com/sridhar0605 do you intend to keep
working on this? Should we close for now?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/r-bioinformatics/edgePy/pull/3#issuecomment-404002609,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMzOkX-jf-QuilqbtpFDbi-wJc2h-qFpks5uFUAjgaJpZM4T7vQn
.

Closing for now. @sridhar0605 feel free to re-open whenever you desire.


[BUG]

Describe the bug
Since iOS 14, the icon for the TV is set to a  generic Home icon instead of a TV icon. It looks like that the harmony plugin do not specify the category so HomeKit could not recognise it as TV
To Reproduce
Update iOS to version 14
Expected behavior
A TV icon for the TV accessory.
IOS (please complete the following information):

Version 14
Device: iPhone X

Config
{
"platform": "HarmonyHubWebSocket",
"name": "Salon TV",
"hubIP": "<IP_ADDRESS>",
"TVPlatformMode": true,
"mainActivity": "Regarder la TV",
"devicesToPublishAsAccessoriesSwitch": [
"Sony Mini System"
],
"activitiesToPublishAsInputForTVMode": [
"Regarder Apple TV",
"Regarder la TV",
"M6",
"TF1",
"TFX",
"6TER",
"FR4",
"FR3"
],
"activitiesToPublishAsAccessoriesSwitch": [
"Credence Sunset"
]
}
Thanks for any help

Category is specified (will double check but quite sure) but if it is bridged it does not work . You have to publish as external accessory . During the beta it w s not working , then worked again, and sees to be broken un final ...

Do you mean I have to change my config ? FIY other plugin : https://github.com/homebridge/homebridge/issues/2683#issuecomment-694142561 did have the same issue but they sorted out and now everything is back to normal. May be it's help

Like I said my plugin already use the correct way for external accessories . Like they said on the other post, accessories exposed through the bridge does not use the type . You have to publish as external accessory in your config if you want the icon to be set . The behavior has changed one way and another during the beta (see #282 ) so I will wait for 14.1 and decide if I go to default publishing all as external or not

gotcha! thank you


Mail improvements

Some previous changes from #1299 got overwritten by fe69fae. Details in the individual commit messages. :)
/cc @frennkie

Oh.. Sorry, my bad. I missed those changes.

Thanks. Also cherry-picked into dev branch.

Thanks, should PRs be submitted against the dev branch?

If its a feature that targets to be in the 1.6.1 having a PR against the v1.6 branch is perfect ... we then just also cherry-pick merge that in to the dev so that it also will be in future releases. If your PR is targeting for a next main-release ... like v1.7 basing the PR on the dev branch would be better. For this one being based on v1.6 best.

Thanks for the clarification!


[PIR] [Test] Add type generators

This is the types part of QuviQ's PIR generators PR. It's almost ready, I just want to tweak generation of builtins once more (QuickCheck tricked me once again).

I was afraid we would generate too big built-in types, but somehow we get exactly the desired kind of output without any tweaking. Here's the biggest output I was able to get with a nearly maximal size parameter:
-- >>> import PlutusCore
-- >>> import Test.QuickCheck
-- >>> sample $ scale (* 3) $ genBuiltinTypeOf $ Type ()
-- Just (SomeTypeIn DefaultUniBool)
-- Just (SomeTypeIn DefaultUniInteger)
-- Just (SomeTypeIn DefaultUniString)
-- Just (SomeTypeIn DefaultUniUnit)
-- Just (SomeTypeIn DefaultUniUnit)
-- Just (SomeTypeIn DefaultUniByteString)
-- Just (SomeTypeIn (DefaultUniApply (DefaultUniApply DefaultUniProtoPair DefaultUniBool) DefaultUniBool))
-- Just (SomeTypeIn (DefaultUniApply (DefaultUniApply DefaultUniProtoPair DefaultUniBool) DefaultUniByteString))
-- Just (SomeTypeIn (DefaultUniApply (DefaultUniApply DefaultUniProtoPair DefaultUniInteger) (DefaultUniApply (DefaultUniApply DefaultUniProtoPair DefaultUniString) DefaultUniInteger)))
-- Just (SomeTypeIn DefaultUniInteger)
-- Just (SomeTypeIn DefaultUniInteger)

Ugh sorry, for some reason half my comments went into a review and half didn't? I'm still going.

Okay, done one round. I'll try and take a stab at unification later.

I've addressed all the comments and I'm hitting merge, despite some minorish unresolved issues (for which there are Jira tickets). In particular the ones discussed in the Note I added last:
{- Note [Chaotic Good fresh name generation]
Currently we don't use 'Quote' for generating fresh names in the QuickCheck generators. It's mostly
for historical reasons and it's very non-trivial to change the current alignment to use 'Quote' at
this point. It does have positive sides to it, though, which we'll discuss below.

So what we do right now is track all names that are in the scope (not all actually and not in the
scope, more on that later, for now let's pretend the statement is correct) in separate maps:

- one for type names
- one for term names
- one for datatype-associated names (the name of the data type, its matcher and constructors)

and all these maps are processed in a linear fashion each time we need to generate a bunch of fresh
names. The processing is done via collecting in a set all uniques of names found in the maps: the
key sets of all the three maps and the names in the elements of the data map. Why do we need the
latter given that the names there are present as keys in the term map? No idea.

What makes it hard to change the current alignment to use 'Quote' is that names are generated all
over the place and put into the current context, inside and outside of the 'GenTm' monad. Any
operation on the context automatically makes the name generation machinery aware of the changes,
because the machinery looks at the whole context each time. It's really hard to move all of that to
run in 'Quote' simply because it’s trivial to miss a call here and there and types don't help much.

Another challenge is that the current fresh name generation is pretty fancy and doesn’t just always
pick the next fresh name. It can pick the next 10th fresh name, then go back, then again forward etc
– all of that between different calls to the function generating fresh names. We want to keep this
logic as it allows us to produce more diverse terms. We probably can simulate this kind of logic
with 'Quote', but it's non-trivial for sure.

Finally, we do not have any function that generates a definitely fresh name or a function that
generates a definitely non-fresh name -- both for very technical reasons (see the docs inline).
This likely isn't intentional, but it's hard to change that at this point and we don't care much
anyway, name clashes are fine. Moreover, the term map rather than containing all term names that
are in the scope only contains those that can be correctly inserted into the program (i.e. don't
reference shadowed type variables in their type). However the data map isn't filtered the same way
as the term map and so there can be constructors whose type references shadowed type variables,
which we never notice because those are only used for fresh name generation... which I guess is how
looking at the elements of the data map isn't redundant in the end.

Overall, this chaotic goodness needs to be sorted out.
-}

I'm going to make a new law: time spent resolving issues related to name handling exceeds time spent resolving all other types of issues combined.

@michaelpj what's up with CI? Could you merge the PR manually?

Ugh, that again. Very annoying. Yes, I'll force merge.

YAY


New Session Button on web demo page does not work.

I am using master branch.
On the web demo URL the New session button does not create a session.

So what happens when you click it?

Nothing Happens. The icon does not change. no new session is created.

And the current conversation stays in the chat panel?

The current conversation is cleared, but the moment some else types anything in their session it appears in this window also.

Closed as a duplicate of #972


Is there any way to define that PR validation builds must be queued that is no PR builds can be executed parallel but queued by time.

[Enter feedback here]

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

ID: 7cd986e0-608c-1d8c-6faf-ecdb12e10bc6
Version Independent ID: d60c996e-187e-dd6b-7f3a-dd056a1603f4
Content: Protect your Git branches with policies - Azure Repos
Content Source: docs/repos/git/branch-policies.md
Product: devops
Technology: devops-code-git
GitHub Login: @apawast
Microsoft Alias: apawast

@ferike86 Thank you for the feedback.
For product-related issues, please use Report a problem or Suggest a feature in the Azure DevOps community.
If there are issues with the documentation, please cite references below and we can assign this to an author for further review.
Otherwise, for additional support options, see:

Azure DevOps support
Azure DevOps on StackOverflow


Implemenet encode/decode for ProtobufJson

This was supposed to be a draft. Sorry for the extra noise.


Visa length had three entries, but in formatCardNumber, it would neve…

…r go satisfy the two if conditions

I'm not sure I understand this PR - can you clarify? Thanks!

In formatCardNumber
 for upperLength, i in upperLengths     continue if length >= upperLength and upperLengths[i+1]     return if length >= upperLength
Visa had an array of three entries: 13, 16, 19. It would hit the 19 length but since
length  = (value.replace(/\D/g, '') + digit).length
strips the spaces, it never gets to length of 19, it never satisfies the above if statements and never cancels out of the for loop. This is allowing visa inputs of more than 16 numbers.

I believe this issue has been resolved — please reopen if it's still not working as expected.


Arduino compiler generates code for abstract functions

The Arduino generate code for abstract functions. it only works if the functions has a  @abstract "true" annotation. It should be updated to check isAbstract on the functions instead.

I guess this is fixed


[5.6] startsWith() single character check

Like in https://github.com/laravel/framework/pull/23746 replacement made from startsWith() to array access (when checking the first character).
These changes implies performance improvements: no foreach(), substr() and strlen() functions are used.

@deleugpn if someone asks you how to check the first character of a string in PHP,  I'm pretty sure you would say using array access: [0].
I understand reading something like Str::startsWith() much readable, but it's just a character check.
Would you rather extend the startsWith() function with $needle length check?

but it's just a character check.

No, it's more than that, the code is now less expressive and honestly the performance improvement here is more likely to be irrelevant.
I would rather leave it as-is. If something like this is such a must-have, I would prefer to have a Str::firstIs($haystack, $char), which at least maintain the code readability for the sacrifice of one extra stack-call.

I would only be interested in these optimizations on code that is potentially called many, many times during a request. The Eloquent change may be valid in that regard.


[text analytics] score -> confidence_score rename

Renamed in CategorizedEntity, LinkedEntityMatch, and PiiEntity
fixes #10133

Can one of the admins verify this patch?

Unrelated to this changeset, but are we also considering to change score on DetectedLanguage to confidenceScore ?

Unrelated to this changeset, but are we also considering to change score on DetectedLanguage to confidenceScore ?

I don't believe so, I think the service explicitly said not to change DetectedLanguage because there will be upcoming changes to it for the next service version. I don't know what changes they will be though.


Add support for videos (.mp4, .mov)

Support for mp4 has been implemented.
Support for mov is not needed at the moment.


DM-4658: Port Team Culture and Conduct from Confluence

http://docs.lsst.codes/en/tickets-dm-4658/development/code_of_conduct.html
Original page source:
https://confluence.lsstcorp.org/display/LDMDG/Team+Culture+and+Conduct+Standards
(by K-T Lim; Aug 19, 2015)
For DM-4658.

Looks consistent with the original.
Two points:

It's not clear to me that this belongs under "Science Pipelines".  This document applies to the entire DM team.
There are no indications in the document itself that it is an official policy statement or subject to change control.  Admittedly the original Confluence document didn't have such either, but at least it was in a "Standards and Policies" area of the hierarchy.  Including this in an lsst-sqre repo that also contains general documents means that there is no easy way to impose such change control using GitHub permissions.

Merging this into the 'sandbox' for now; plans for organization and change permissions will be established in DM-4721.


add options arguments

Hi, please give me advice to add options arguments
I need to customize user-data-dir

I'm not that familiar with options arguments. Is this something you can do by setting Boss.Session to new Session(new Browser(...))? You should be able to supply your own IWebDriver instance that way.


Removes support database for Trino Connection

Describe your changes :

I worked on the ..... because ...

Type of change :

[x] Bug fix
[x] Improvement
[x] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

might need to add this to the bootstrapping script as well

🤔 let me do something different actually


add strong-mismatched-brackets option to plugin custom-mq-config

making this pr to fix something that bothered me for the longest time;
brackets and parentheses matching with each other

I put it in the custom-mathquill-config plugin because I think it fits there, even though it's not part of the mathquill config object and uses replacements. I also didn't want to create another new plugin just for this small change.

It's effectively my first time using git/ multiplayer github so sorry if I'm doing something stupid
I'm also bad at naming maybe this should be named "disable brackets matching with parens" or something idk ><

Seems like brackets and parens should never match with each other in Desmos since it always gives an error.
Blame goes back to https://github.com/mathquill/mathquill/pull/391.
Would you be willing to PR this change to https://github.com/desmosinc/mathquill? I could help get it merged in.
For backwards compatibility, I suggest taking either of the following two routes:

Add an option restrictAllMismatchedBrackets to the config, that enables restrictMismatchedBrackets and disables the part about keeping (] and [) in.
Extend the option restrictMismatchedBrackets to take a third option like "none". (I prefer this since it removes the question of what happens if restrictMismatchedBrackets is specified false but restrictAllMismatchedBrackets is true)

The configuration option is declared in publicapi.ts, and applied in commands.ts. A test would go after the suite restrictMismatchedBrackets in typing.test.js (you can run the tests with make test)

thanks feny! <3


bug: Codegen does not support structs defined in the same file

I want to define a struct and a function that returns that datatype in the same file like so:
struct Record {
  bytes32 table;
  bytes32[] key;
  bytes value;
}

contract SyncSystem is System {
  function sync(bytes32[] memory tableIds) public view returns (Record[][] memory records) {
...
}

However, codegen fails and seems to expect this struct to be imported, with:
MUDError: Function "sync" in contract "SyncSystem": Symbol "Record" has no explicit import
This does not occur if I define the struct in another local file.

We can probably log a better explanation, but yeah there isn't really a workaround. Duplicating the struct would be horrible devex for calling the system from World, unlike typescript solidity won't consider those structs interchangeable

asking consumers to define structs in separate files, like a local Types.sol

This isn't a bad idea! I wasn't sure where to put the struct instead.

We can probably log a better explanation

Yup, if the error was better I would have moved on and put it in another file, but I thought it was a bug.
This really should "just work" but as long as we document it, I'm happy to close this.


fix!: avoid add witnesses for predicates

Close: https://github.com/FuelLabs/fuels-ts/issues/2029

Breaking Changes:

TransactionRequest.addPredicateResources was removed

✨ A PR has been created under the rc-2037 tag on fuels-wallet repo.
https://github.com/FuelLabs/fuels-wallet/pull/1224

I am holding this until the fix https://github.com/FuelLabs/fuels-ts/pull/2267 is released.
I am unsure if the changes here will be reflected in more required updates on the PR that will upgrade https://github.com/FuelLabs/fuel-connectors to use the latest fuels version

Nice one 🧙🏻
One thing that I like that they do in the RS SDK, is they will add funding / set gas limits to the exact amount required by the tx. So rather than an increase from 1000 > 2000, it would be increased to (ex. 1432). Then if we have a fail due to an increase in consumption, we can actually validate that it should have increased. Thoughts?

@danielbate I've failed to understand what you mean mate. Are you talking about adding tests to validate that a TX has consumed the amount of gas it was supposed to consume? And throw an error if they do consume a different value?


Syntax error in client/actor.go

Executing
    go run node/tbnode.go

results in the following error:
client/actor.go:644: syntax error: unexpected range, expecting {
client/actor.go:651: syntax error: unexpected }

with golang version:
go version go1.3.3 linux/amd64

Try go 1.4. This is the change that broke it: https://golang.org/doc/go1.4#forrange
You can fix it for 1.3 by changing the line 644 to "for _ = range [6]byte{}"
There may be other compiler issues using 1.3


Incompatibility with D&D 5e 3.0.0

I believe all the code works and you need to update the Maximum Version to 3.0.1  in the module.json
                "maximum": "3.0.1"

The module will be updated in due course.


flip equals to return early

return early from SendToObservers and SendToReady instead of having everything nested in an if
depends on https://github.com/vis2k/Mirror/pull/2244

this has conflicts now


Fetch GitHub Personal Access Token from Environment variable

The check_credential  function should check for the environment variable GFITOKEN else look for the config file.
Env variable should be of higher priority than the config file stored at ~/.gfi/good-first-issues
https://github.com/yankeexe/good-first-issues/blob/207c5f3fd121fb25bb53830b813e5fb0286bc1b8/good_first_issues/utils/__init__.py#L41

What will this feature enable?
This will enable the containerization of the CLI that can be used with environment variable for making requests.

I think it can done with module python-dotenv are you agree to use it?

@mrunderline yes, are you willing to work on this?


glmmer "package[msi]" command results in JRuby <IP_ADDRESS> StackOverFlow error.

Desktop (please complete the following information and make sure it matches Glimmer Pre-Requisites before reporting an issue):

CPU Architecture [e.g. x86_64 or AArch64]

x86_64

OS [e.g. Linux Ubuntu 20.04.1 LTS]:

Windows 10 Pro

Java Version [e.g. JDK 16.0.2]:

java 18.0.2

JRuby Version [e.g. jruby-<IP_ADDRESS>]:

jruby <IP_ADDRESS> (2.6.8)

Glimmer Libraries/Versions [e.g. glimmer 2.4.1 / glimmer-dsl-swt <IP_ADDRESS>]:

<IP_ADDRESS>
Describe the issue
Wanted to report an error I am experiencing upon executing glimmer package[msi] commands to build an msi on Windows.
Gist:
Error packaging MSI with glimmer
A strange behavior I have seen is if I let the batch job run to completion, at times it will generate an MSI which can be successfully installed, but when I try to run it, it never opens the application. I can successfully run the app using glimmer run however.

Wow! you're stumbling on the strangest issues.
This one seems to be caused by a recent upgrade to bundler, which is causing warbler to freeze when running the warble command: https://github.com/jruby/warbler/issues/517
In the meantime, I noticed that MSI packaging works just fine on Windows 10 with JDK 16 and JRuby <IP_ADDRESS> (it always works for me). I updated the README to downgrade the requirements on Windows for now until that strange issue with warbler on JRuby <IP_ADDRESS>/JDK18 is resolved.
Otherwise, sometimes launching JRuby applications on Windows 10 is a bit slow. Just be patient. A packaged app should start within 20 seconds (but, hopefully a lot sooner than that).
On Mac ARM64 machines, JRuby apps now start in 2.5 seconds only, which is incredible, and totally resolves any slow startup times for JRuby on that platform. It would be awesome if that were to happen on all platforms eventually, but right now only Mac ARM64 machines have the special fast M1 and M2 processors that Mac built recently.
In any case, let me know if packaging works for you on Windows 10 with JDK 16 and JRuby <IP_ADDRESS>. And, if so, please close the issue (I'll handle the warbler issue separately).

Still seeing the same issues after updating the following:
java version:
java 16.0.2 2021-07-20
JRuby version:
After upgrading I tried running glimmer package[msi] and got the following error that is pretty similar to the original:
Error After Downgrade GIST
jruby <IP_ADDRESS> (2.6.8)

So, I have an older JDK 16 / JRuby <IP_ADDRESS> setup that works on Windows 10. I did not try to reinstall them. I wonder if the latest patch revisions of them have bugs.
I’ll try to reinstall and let you know how it goes.

One question I could ask in the meantime is what version of bundler do you have? If it’s newer than 2.2.19, which comes with jruby I believe, then I would advice you to uninstall your version and stuck to the default bundler that comes with jruby. That might work.

Thanks @AndyObtiva
I just checked bundle version with bundle --version and showing
2.2.29

I will try to install version 2.2.19 of bundler and try packaging again.

Sorry. That’s the one I meant. No need to install a new one.

I noticed you did an abort on the glimmer packaging task. Was that after you saw the stack overflow (which is caused by an infinite loop in the jeweller gem code), or did you see it when you hit control C on the keyboard because it was taking too long?

Oh yes I interrupted with Ctrl-C after seeing the StackOverflow error.

Do you know roughly how long it took before you saw the stack overflow error?

It was pretty immediate after running glimmer package[msi]

Interesting. That’s different from the issue I encountered with JDK18 and JRuby <IP_ADDRESS>, which was a freeze (it hangs for a long time, seemed indefinite) right when warbler starts.

yeah I just verified that the error shows up immediately after running glimmer package[msi], it seems to be now hung on the following:
C_3a_.jruby_minus_9_dot_3_dot_4_dot_0.lib.ruby.gems.shared.gems.juwelier_minus_2_dot_4_dot_9.lib.juwelier.RUBY$method$git_base_dir$0(C:/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/juwelier-2.4.9/lib/juwelier.rb:163)
org.jruby.dist/org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:139)
Tasks: TOP => gemspec:generate => version_required
(See full trace by running task with --trace)
Locking gem jar-dependencies by downloading and storing in vendor/jars...
lock_jars --vendor-dir vendor/jars
Installing gem 'ruby-maven' . . .
Installing gem 'ruby-maven-libs' . . .

using maven for the first time results in maven
downloading all its default plugin and can take time.
as those plugins get cached on disk and further execution
of maven is much faster then the first time.

-- jar root dependencies --

Did it at least generate config/warble.rb inside the project?

Oh yes that was generated

Ok, some potential good news. The infinite loop repeating line in juwelier is complaining about git. Are you missing git as a prerequisite? You need to install git for windows including git bash.

Confirmed I do have git installed via Powershell:
PS C:\Users\cechj\Development\dads-converter-ruby-main> git --version
git version 2.37.1.windows.1

Does the scaffolded project have a “.git” directory? Also, can you run “git log” and see a history ?

Nope I don't see any git initialization files, except for a .gitignore.

Ok, that’s the issue. It’s sending Juwelier into an infinite loop.
Run “git init” and then verify you have a “.git “ file, then run git status to double check git is working.
Afterwards, re-run “glimmer package[msi]”.
If it doesn’t work, try to make one commit to the git repo with all files and then run the packaging command again.

Nice!
Initializing git repo seems to have made some progress, no longer seeing the immediate StackOverflow error.
Currently on the Generating JAR with Warbler... step.

FYI it's still on Generating JAR with Warbler step

Huh..it seems you’re not encountering the issue I saw (warbler hanging)
could you please share config/warble.rb? I wanna see if it got generated correctly.

In any case, one thing you can try is to delete config/warble.rb after sharing it, and then rerun the packaging command. It should generate it again, and perhaps correctly this time since it won’t encounter the stackoverflow issue. Let me know if it works then or if it gets stuck.

Just noticed it might be using 2 jruby instances:
Generating JAR with Warbler...
c:\jruby-<IP_ADDRESS>\bin\warble
c:\jruby-<IP_ADDRESS>\bin\warble.bat
c:\jruby-<IP_ADDRESS>\bin\warble
c:\jruby-<IP_ADDRESS>\bin\warble.bat

config/warble.rb:
https://gist.github.com/jayczech23/643b509e6e8f61395229b7f83fd6e383

Oh yeah. You need to go to your windows env and disable the other JRuby in the path env vars

Okay just removed jruby 9.3.6 from PATH and re-executed glimmer package
Did notice this warning
2022-08-06T18:48:46.385-06:00 [main] WARN FilenoUtil : Native subprocess control requires open access to the JDK IO subsystem
Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED' to enable.
      org.yaml:snakeyaml:1.28:compile

That’s normal. It has an open issue (non-serious ) under jruby or one of its subprojects.

Sounds good, still seems to be hanging at JAR generation step with warbler

Ok, I think I know why.
Your earlier output contained this:
jruby --version
jruby <IP_ADDRESS> (2.6.8) 2022-03-23 eff48c1ebf Java HotSpot(TM) 64-Bit Server VM 18.0.2+9-61 on 18.0.2+9-61 +jit [x86_64-mswin32]
Your jruby is not installed correctly against JDK 16. It picked up JDK 18, thus is exhibiting the warbler freezing problem.
My recommendation is to uninstall all JDKs and JRubys and start over with JDK 16 and jruby <IP_ADDRESS> again.
Also, please install git using the windows installer recommended in the glimmer dsl for SWT project: https://git-scm.com/download/win
It is obvious that juwelier had a problem detecting git from power shell and failed to create the local git repo via “git init” automatically.
I think a clean redo might resolve all your issues.

Thanks I will uninstall and try again with a fresh install.
will keep you posted on status.

@jayczech23 I got good news!
I fixed the issue in the most recent release of Glimmer DSL for SWT: version <IP_ADDRESS>
It now works with JRuby <IP_ADDRESS> and JDK 18 on Windows 10.
Apparently, the cause of the Warbler freezing problem is the bundler gem that is included in JRuby because it does not include its own gemspec as as the case normally when installed manually (I must have not detected the issue in the past because I probably unconsciously installed a newer version of bundler). If I install the latest bundler (or even reinstall the same bundler version included in JRuby), the problem goes away because bundler ends up having a gemspec, so I updated Glimmer DSL for SWT to do that automatically before scaffolding a project on Windows.
I found a report of the issue at the Warbler project, and I commented on it further to hopefully have the next version of JRuby fix the issue in the included bundler: https://github.com/jruby/warbler/issues/517
So, in your setup, if you haven't deleted it, if you install the latest bundler gem install bundler, the warbler freezing issue should go away. If you blew your setup away and are starting over, then if you install glimmer-dsl-swt v<IP_ADDRESS>, it will do that for you automatically, so you can use with JRuby <IP_ADDRESS> and JDK 18 (sorry about the back-and-forth.. thanks for your patience).
I am closing this issue for now, but if there are still any unaddressed issues you are concerned about it, we can reopen the issue or create a new one if it's a different matter.
Cheers!

After uninstalling and reinstalling every dependency mentioned above, tried to package an msi from a fresh scaffold. I was able to run glimmer package[msi] successfully, but the only artifact that was generated in the dist folder was a .jar

I am not sure if you rescaffolded the app. If you did, you wouldn’t have this issue.
If the jar wasn’t generated in dist, then your warbler config is incorrect (must be because I might have had you test running warbler config manually, which would generate a config that is not correct for glimmer apps in general). You can delete config/warbler.rb and rerun the glimmer package command to have it regenerated correctly, thus resulting in packaging a jar under dist along the way.

Yes, dist contains the generated jar and packages/bundles contains the generated native package for the app.

Working beautifully now thanks a lot @AndyObtiva !!


chore(ffi): drop direct reference to tokio crate

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

Project coverage is 87.35%. Comparing base (f172ee0) to head (04fadf9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #419   +/-   ##
=======================================
  Coverage   87.35%   87.35%
=======================================
  Files           9        9
  Lines        3740     3740
=======================================
  Hits         3267     3267
  Misses        473      473

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

nice, im guessing its being pulled in transitively?

Yep, FFI doesn't use tokio directly and reqwest has tokio as dependency and upper version.


Task232

Frontend should be fully German now! Try by clicking every button and observing every tooltip and toast, add missing translations in the comments

when setting a reference it still says save:


Add COTE-BD & COTE-MFW Dataset

PR types
New features
PR changes
Database
Description
Add COTE-BD & COTE-MFW #447

@jiaqianjing Could you update the Pull Request according to comments?

@jiaqianjing Could you update the Pull Request according to comments?

wait a moment


[Question] serial control signals physical pins

Regarding serial control signals:

Is there a documentation about the default serial control signals pin mapping?
I.e. if I want to send CTS (clear to send) signal, what physical GPIO pin should I use?
Is it possible to map serial control signal to a specific GPIO pin?

I guess you should use default pins for serial: UART pins in BCM mode are: 14, 15
https://pinout.xyz/pinout/uart#

I am talking about the control signals.
I think the answer is that I need to change the GPIO function to ALT3 or ALT5 to enable this functionality.


Multi-arch docker images

Enhancement: Provide additional docker images for arm32/64

Any update on this issue?

Hi, thanks for your query.
This is next on my list to work on. I will provide a progress update within the week.

There is now a multi architecture image supporting:

linux/amd64
linux/arm64
linux/arm/v7

To give it a spin, use the tag cgnetwork/trailarr:multi-arch

I am still getting standard_init_linux.go:228: exec user process caused: exec format error
My docker-compose.yml:
  trailarr:
    container_name: Trailarr
    image: cgnetwork/trailarr:multi-arch
    volumes:
      - .trailers:/trailers
    ports:
      - 8081:8080

 $ uname -a
Linux odin 5.4.0-1047-raspi #52-Ubuntu SMP PREEMPT Wed Nov 24 08:16:38 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

cgnetwork/trailarr:arm64
Thanks for the additional info. I've just tagged and built a separate image for ARM64.
Could you please try this image and let me know how you go. If this fails, I'll need to do some further investigation against an ARM device.

Still getting standard_init_linux.go:228: exec user process caused: exec format error

Thanks. I'll look into this further and provide an update as soon as possible.


The docker-compose.yml file in this repo is different to the text in the readme.md?

I am confused: which one should I take?

i think the readme needs to be updated after the commit https://github.com/angristan/docker-pleroma/commit/630114992bec12e076b85b79bb44f8bfd2a6e167

I used the one in the repo and it works fine, just make sure you change the passwords and the domain.

I opened some pull requests that should equalize things a bit more, see #49 #48 and #50


new feature request: newline

Is it possible to add a newline feature in a string?
For example: This could be a new line\n that would be nice.
Cheers,

Try using |:
text: |
  Line 1
  Line 2

As far as Ruby goes, it accepts it:
require "yaml"

puts YAML.load("text: |\n  Line 1\n  Line 2")["text"]
Line 1
Line 2


Packages not built on SAN

[ed note: https://code.google.com/p/dart/issues/detail?id=9238]
The web samples do not run because the packages do not get built.  On Win7 box with SAN back end which has caused issues.  Am I still pointing to some strange UNC path or synonym?
Here is the error shown in dart editor -
Failed to load resource: the server responded with a status of 404 (Not Found)
  http://<IP_ADDRESS>:3030/D:/Users/michaelg/dart-dev/Test/Web/HelloWebUI/web/packages/browser/dart.js
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.4.1_r19425 (2013-03-04)
OS: Windows 7 - amd64 (6.1)
JVM: 1.7.0_15
projects: 3
open dart files: 2
auto-run pub: true
mem max/total/free: 967 / 209 / 127 MB
thread count: 25
analysis: 0 tasks, 27 libraries, 4 contexts
index: 81207 relationships and 0 attributes in 14871 elements in 142 resources stored in 0 MB on disk
SDK installed: true
Dartium installed: true

This issue has been moved to dart-lang/pub#483.


Unix geek.

Mozilla 59.0.2 can open Portal.azure.com.
Chrome flashed between portal.azure.com and login.microsoft.com.

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

ID: 225d8386-c24d-7202-4eb0-61e2f8249e3e
Version Independent ID: 83f151c6-4870-58b1-b44e-56e3bd42bb25
Content: Supported browsers and devices for Azure portal
Content Source: articles/azure-preview-portal-supported-browsers-devices.md
Service: multiple
GitHub Login: @flanakin
Microsoft Alias: micflan

@westerj Regardless of browser, when signing into portal.azure.com, the session will be redirected to login.microsoftonline.com / login.microsoft.com -> portal.azure.com as part of the authentication process, based upon several factors such as subscription type.
Enter: portal.azure.com:

Authentication:

Arrive at Portal landing page:

Given my status as a Microsoft employee, the following is the authenitcation process. Is it that Chrome is not working for you as a browser?

The browser would just flip back and forth. Let me take a camera / movie
snippet tomorrow.
Thanks
John
On Mon, May 7, 2018, 2:46 PM Mike Ubezzi<EMAIL_ADDRESS>wrote:

@westerj https://github.com/westerj Regardless of browser, when signing
into portal.azure.com, the session will be redirected to
login.microsoftonline.com / login.microsoft.com -> portal.azure.com as
part of the authentication process, based upon several factors such as
subscription type.
Enter: portal.azure.com http://portal.azure.com:
[image: screenshot 181]
https://user-images.githubusercontent.com/37126106/39718595-9e9a8d94-51eb-11e8-8f42-f43222a6788f.png
Authentication:
[image: screenshot 182]
https://user-images.githubusercontent.com/37126106/39718610-a7d9cdb6-51eb-11e8-9bc9-6fb885bc83b9.png
Arrive at Portal landing page:
[image: screenshot 186]
https://user-images.githubusercontent.com/37126106/39718635-bc1e013e-51eb-11e8-922f-c7289cad38ea.png
Given my status as a Microsoft employee, the following is the
authenitcation process. Is it that Chrome is not working for you as a
browser?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/8172#issuecomment-387163808,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJHdJLhljtIPvBuqLlxSjjE9bv766jKAks5twJZ9gaJpZM4T1Pjm
.

@westerj We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Hi,
I have the latest version of Safari (11.1.2v - 08/02/18), but it doesn't load the portal.
Can there be another reason for this?


Server-Side Rendering

Fixes #1023
Fixes #877
Changes:

[x] Separate client and server in src folder.
[x] Add common folder.
[x] Rewrite Express.js code
[x] Add fetchData static methods.
[x] Remove legacy needs code.
[x] Handle crashes
[x] Isomorphic analytics

I haven't finished everything I wanted to do with SSR just yet, but everything so far works. I would like to merge those changes as quickly as possible, so we don't have two conflicting branches causing problems while merging.
I will continue working on new features on another PR, so we can have SSR on production already and make development easier.

Not too familiar with server side rendering stuff, but I've been testing performances for large data sets that get rendered, like in the Activity page. And there seems to be a performance increase, well done:
Compare filtering here: https://busy-nd-pr-1089.herokuapp.com/@timsaid/activity
to filtering on here: https://busy.org/@timsaid/activity

I have a small loading icon and these scrolls when i open a profile with french locale:

<EMAIL_ADDRESS>Can you reproduce these issues?

I have seen this issue (scrollbars) and it was on my todo list, I will fix this shortly.
I will have to take a look at an issue with small loading icon though.


feat: add service-info resource to obtain Shuttle service info

Description of change
This PR adds a new ServiceInfo type of resource which provides some information about the current service's runtime environment.
Closes #562.
How has this been tested? (if applicable)
I've tested this a tiny amount in a project I have running locally but don't really trust it yet - would love if someone can test it better!

Note: I'm getting married this weekend then going straight on my honeymoon so won't really have time to follow up on this for a couple of weeks! 💒 🌴 Please feel free to push any fixes up, or make a completely different branch if needed, and merge whenever you're happy.

Congratulations! :partying_face: Thanks for the PR, we can take it from here, enjoy your honeymoon! :beach_umbrella:

Tested and all looking good! Left to do is to add an example and add it to CI / releases.

Added an axum example in https://github.com/shuttle-hq/shuttle-examples/pull/81 and updated the CI in 1d1ec72582d3a18724b9630ed50df144d019835b


sq.read.vizgen is not compatible with the new vizgen firmware 232 cell_metadata.csv format

Hi, there.
cell_metadata.csv now has a lot more columns that contain information about protein stainings.
Example columns from my latest measurement:
EntityID,fov,volume,center_x,center_y,min_x,min_y,max_x,max_y,anisotropy,transcript_count,perimeter_area_ratio,
solidity,Cellbound2_raw,Cellbound2_high_pass,protein1_raw,protein1_high_pass,Cellbound3_raw,Cellbound3_high_pass,
PolyT_raw,PolyT_high_pass,Cellbound1_raw,Cellbound1_high_pass,protein2_raw,protein2_high_pass,DAPI_raw,
DAPI_high_pass,protein3_raw,protein3_high_pass
sq.read.vizgen cannot handle this and fails with Length mismatch: Expected axis has 28 elements, new values have 8 elements

Hi @pakiessling , this was fixed in #648, you will need to install squidpy from main.

@michalk8 Ah perfect, thank you

@michalk8 Hi, I cloned the main branch and reinstalled.
Loading via pandas and than assigning to .obs works fine. Am I doing something wrong?

@michalk8 Hi, I cloned the main branch and reinstalled.

In Squidpy, we add the observations as:
adata, library_id = _read_counts(  in squidpy.read._utils._read_counts
    path=path, count_file=counts_file, library_id=library_id,
    delimiter=",", first_column_names=True, **kwargs
)
...
coords = pd.read_csv(path / meta_file, header=0, index_col=0)
adata.obs = pd.merge(adata.obs, coords, how="left", left_index=True, right_index=True)

I suspect the adata.obs and coords have different index and that's why you see the NaN.
Based on how you load it with pandas, it seems like the index_col=0 would correctly use EntityID as index. Are all values NaN? I was thinking maybe there are some extra values in the counts file not present in the meta file.
Also could you please share a small code snippet how you load the data?

@michalk8 Hi, I figured out what is going wrong.
_read_counts is reading in the adata.obs index as dtype="object" while pd.read_csv(path / meta_file, header=0, index_col=0) is reading the index as  dtype='int64'. Converting the index to the same type fixes the merge step - no more NaN

@michalk8 Hi, I figured out what is going wrong.
_read_counts is reading in the adata.obs index as dtype="object" while pd.read_csv(path / meta_file, header=0, index_col=0) is reading the index as dtype='int64'. Converting the index to the same type fixes the merge step - no more NaN

Can confirm locally this causes the issue, will be fixed in #665 .


Proposed Recipes for CESM2 Superparameterization Emulator

Source Dataset

Several years of high-frequency (15 min) GCM-timestep level output from the Superparameterized CESM2 isolating state variables  "before" and "after" a key code region containing computationally intensive superparameterization calculations. For use in making a superparameterization emulator of explicitly resolved clouds + their radiation influence + turbulence, that can be used in a real-geography framework CESM2 framework, to side step the usual computational cost of SP. Similar in spirit to proof of concept in Rasp, Pritchard & Gentine (2018) and Mooers et al. (2021) but with new refinements by Mike Pritchard and Tom Beucler towards compatibility with operational, real-gegoraphy CESM2 (critically, isolating only tendencies up to surface coupling and including outputs relevant to CLM land model's expectations; see Mooers et al. concluding discussion)

Link to the website / online documentation for the data
N/A
The file format (e.g. netCDF, csv)
Raw model output is CESM2-formatted NetCDF history files
How are the source files organized? (e.g. one file per day)
One file per day across 8-10 sim-years each forced with the same annual cycle of SSTs.
How are the source files accessed (e.g. FTP)
Not publicly posted yet. Staged on a few XSEDE or NERSC clusters. Mike Pritchard's group at UC Irvine can help with access to these.

provide an example link if possible

Any special steps required to access the data (e.g. password required)

Transformation / Alignment / Merging

**Apologies in advance if this is TMI. A starter core-dump from Mike Pritchard on a busy afternoon:
There are multiple pre-processing steps. The raw model output contains many more variables than one would want to analyze so there is trimming. But users may want to experiment with different inputs and outputs. So this trimming may be user-specific. Can provide guidance on specific variable names for inputs/outputs of published emulators worth competing with on request.
Important: A key subset of variables (surface fluxes) that probably everyone would want in their input vector will need to be time-shifted backward relative by one time step to avoid information leaks, having to due to which phase of the integration cycle these fluxes were saved at on history file vs. the emulated regions. Some users may want to make emulators that include memory of state variables from previous time steps in the input vector (e.g. as in Han et al., JAMES, 2020) in which case there is the same preprocessing issue of backwards time shifting made flexible to additional variables (physical caveat: likely no more than a few hours i.e. <= 10 temporal samples at most so never any reason to include contiguous temporal adjacency beyond that limit).
Many users may want to subsample lon,lat,time first to reduce data volume and promote independence of samples due to spatial and temporal autocorrelations riddled throughout the data. Other users may prefer to include all of these samples as fuel for ambitious architectures that require very data-rich limits to find good fits in. This sub-sampling is user-specific.
Many users wanting to make "one-size-fits-all" emulators (i.e. same NN for all grid cells) will want to flatten lon,lat,time into a generic "sample" dimension (retaining level variability) and shuffle that for ML and split into training/validation/test splits. Such users would also want to pre-normalize by means and range/stds defined independently for separate levs, but which lump together the flattened lon/lat/time statistics. Advanced users may want to train regional- or regime-specific emulators, which might then use regionally-aware normalizations, such that flexibility here would help.
Some users may want to convert the specific humidity and temperature input state variables into an equivalent relative humidity as an alternate input that is less prone to out of sample extrapolation when the emulator is tested prognostically. The RH conversion should use a fixed set of assumptions that are consistent with a f90 module for use in identical testing online; can provide python and f90 code when the time comes.
The surface pressure is vital information to make the vertical discretization physically relevant per CESM2's hybrid vertical eta coordinate. So should always be made available. The pressure mid points and pressure thickness of each vertical level can also be derived from this field but vary with lon,lat,time. Mass-weighting the outputs of vertically resolved variables like diabatic heating using the derived pressure thickness could be helpful to users wishing to prioritize the column influence of different samples as in Beucler et al. (2021, PRL).
Output Dataset

I am not qualified to assess the trade-offs of the options listed here but interested in learning.

Mike thanks for getting this started!
In order to move forward here, we would need a concrete set of files to ingest, and the files would need to be accessible over the network somehow (http, ftp, scp, globus, etc.)
If you could post a link to one of the raw output files via any of these protocols, that would allow us to start experimenting with ingesting them.

Hi Ryan,
Here is a link to a google drive folder with a handful of files:
https://drive.google.com/drive/folders/1P68TfWcAc-KsCdvu1R9uGIaA9iAd8bku?usp=sharing
The full data are housed on an internal UCI server that can only be accessed with UCI VPN. Normally I would just fill in an external collaborator permission form to give outside collaborators access to it. Will that work here? If not I will see if our admins can help with the globus model, as I do believe we have a globus end point that should connect to it.
Mike.

On Mar 3, 2022, at 7:32 AM, Ryan Abernathey @.***> wrote:
Mike thanks for getting this started!
In order to move forward here, we would need a concrete set of files to ingest, and the files would need to be accessible over the network somehow (http, ftp, scp, globus, etc.)
If you could post a link to one of the raw output files via any of these protocols, that would allow us to start experimenting with ingesting them.
—
Reply to this email directly, view it on GitHub https://github.com/pangeo-forge/staged-recipes/issues/100#issuecomment-1058161345, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGPXKXCFVX6D3SNP4ZINM2DU6DLRXANCNFSM5M7MX6HA.
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.
You are receiving this because you authored the thread.

Normally I would just fill in an external collaborator permission form to give outside collaborators access to it. Will that work here?

No. I don't think we will be able to pull files over the vpn (at least not without complicated workarounds). We need to get it so that a machine (rather than a human) can get the files. Globus is probably the best bet here.
Another option would be for us to create some sort of ingestion upload point, basically just a temporary bucket that can accept uploads, and then stage the recipe from there. So someone from your team would have to directly upload the files (push instead of pull). This might be a good solution for the many scenarios in which we just can't get access to the machine where the data live. @cisaacstern - what do you think about that idea?

Hi Ryan,
Thanks for this! I have a query out to our sysadmins to see if globus will work here, and if not totally happy to upload to your ingestion point.
Mike.

On Mar 9, 2022, at 5:51 AM, Ryan Abernathey @.***> wrote:
Normally I would just fill in an external collaborator permission form to give outside collaborators access to it. Will that work here?
No. I don't think we will be able to pull files over the vpn (at least not without complicated workarounds). We need to get it so that a machine (rather than a human) can get the files. Globus is probably the best bet here.
Another option would be for us to create some sort of ingestion upload point, basically just a temporary bucket that can accept uploads, and then stage the recipe from there. So someone from your team would have to directly upload the files (push instead of pull). This might be a good solution for the many scenarios in which we just can't get access to the machine where the data live. @cisaacstern https://github.com/cisaacstern - what do you think about that idea?
—
Reply to this email directly, view it on GitHub https://github.com/pangeo-forge/staged-recipes/issues/100#issuecomment-1062941159, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGPXKXD52T5SZ73I4LQZTT3U7CUEXANCNFSM5M7MX6HA.
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.
You are receiving this because you authored the thread.

Via email we have been investigating the possibility of using Globus. Repeating some of that conversation here

Ryan: A lot of the details are in this github thread: https://github.com/pangeo-forge/pangeo-forge-recipes/issues/222#issuecomment-1065504550
Here is the relevant piece

When using the latest Globus Connect version 5 endpoints, data access is via what we call "collections". Each collection has an associated DNS name, such that you can refer to collections directly. By default collections are assigned DNS names in the data.globus.org subdomain, but they can also be customized by deployments.
v5 also supports HTTP/S access to data, while enforcing a common security policy across the access mechanism. For example, here is a publicly accessible file: https://a4969.36fe.dn.glob.us/public/read-only/logo.png. For non-public data, users must authenticate (and be authorized to access the data) before it can be downloaded via HTTPS.

So the ideal solution from our point of view would be for you to have GCv5 endpoint and create a public collection for the associated data. Then we can pull it directly over HTTPS. Would this be possible?

Nate: I believe that Globus Collections functionality requires an upgraded site license. Our campus couldn't justify the pretty significant cost, and I don't think the effort to get a UC-wide license went anywhere.
Falling back to an SSH-based method might be best. Is the client system on a single IP that we can allow through our firewall?

Following up on this, over in https://github.com/pangeo-forge/pangeo-forge-recipes/issues/222#issuecomment-1080830165, I managed to make a proof of concept of the Globus collection via HTTPS.  So from the Pangeo Forge POV, using Globus collections is definitely the easiest and quickest option here.
Alternatively, we could move the data to another system (maybe Cheyenne) that has the Globus collections feature enabled.

Falling back to an SSH-based method might be best. Is the client system on a single IP that we can allow through our firewall?

I'm not sure if we can know a-priori what IPs the requests will be coming from. That's a bit beyond our DevOps capability right now. I suppose "somewhere in Google Cloud" is too vague? And would there be a VPN involved?


[SPARK-45392][SQL][FOLLOWUP] Restore the original exception from data source

What changes were proposed in this pull request?

This is a followup of https://github.com/apache/spark/pull/43193 to fix a behavior change. Class.getDeclaredConstructor().newInstance() will wrap the exception with InvocationTargetException, and this PR unwraps it to still throw the original exception from the data source
Why are the changes needed?

restore a behavior change
Does this PR introduce any user-facing change?

no
How was this patch tested?

new test
Was this patch authored or co-authored using generative AI tooling?

no

cc @LuciferYang @dongjoon-hyun

Merged into master for Spark 4.0.
Thanks to @cloud-fan  for fixing this issue.
Thanks to @HyukjinKwon @yaooqinn @beliefer  for the review.


changed hover effect on preview text

What is the change?
I have changed the hover effect for the preview text which is inside every component box
Related issue?
closes: #314
How was it tested?
Remove this line and tell us how the code was tested.
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] Have you followed the Contribution Guidelineswhile contributing.
[x] Have you checked there aren't other open Pull Requests for the same update/change?
[ ] Have you made corresponding changes to the documentation?
[x] Have you tested the code before submission?
[x] Have you formatted your code ? (You can use any html,css beautifier)
[x] My changes generates no new warnings.
[x] I'm Diversion2k23 contributor.
[x] I have commented my code, particularly in hard-to-understand areas.

https://user-images.githubusercontent.com/91966855/216104750-7ba86dcc-bfe9-4796-9fc9-7b60ea85ac24.mp4

What is the change?
I have changed the hover effect for the preview text which is inside every component box
Related issue?
closes: #314
How was it tested?
Remove this line and tell us how the code was tested.
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x]  Have you followed the Contribution Guidelineswhile contributing.
[x]  Have you checked there aren't other open Pull Requests for the same update/change?
[ ]  Have you made corresponding changes to the documentation?
[x]  Have you tested the code before submission?
[x]  Have you formatted your code ? (You can use any html,css beautifier)
[x]  My changes generates no new warnings.
[x]  I'm Diversion2k23 contributor.
[x]  I have commented my code, particularly in hard-to-understand areas.

GIF/video of the working of component you created:
Add here the GIF you created.

Add a video of the working component.

Also if you check the deploy preview the component cards are no more visible

..

Also if you check the deploy preview the component cards are no more visible

..

i think we are having some miss understanding the code break is not for this PR..rather for #pull312...that's why I fixed it with my own RP #pull322 wichi is currently open and can fix it

Also if you check the deploy preview the component cards are no more visible

..

i think we are having some miss understanding the code break is not for this PR..rather for #pull312 by someone...that's why I fixed the code break with my own RP #pull322 which is currently open and can fix it

It would be great if you can fix it in the same pr!

Also if you check the deploy preview the component cards are no more visible

..

i think we are having some miss understanding the code break is not for this PR..rather for #pull312 by someone...that's why I fixed the code break with my own RP #pull322 which is currently open and can fix it

It would be great if you can fix it in the same pr!

ok

Also if you check the deploy preview the component cards are no more visible

..

i think we are having some miss understanding the code break is not for this PR..rather for #pull312 by someone...that's why I fixed the code break with my own RP #pull322 which is currently open and can fix it

It would be great if you can fix it in the same pr!

done now the components should be visible


Add a partial method to generated builder class for post build steps

It would be great if the generated builder class included something like the following:
partial void PostBuild(<<type>> buildResult);

the developer could then implement this method to do additional work to the result before it is returned.  The Build method would need to call this before it returns a result.

It cannot be a partial method if it's going to be used in the Build method, because it would enforce implementation in all builders.
What I can do is just detecting if someone wrote his own implementation of the PostBuild method, if yes, then I will remove the default implementation of it. (The same as it work now with the "with" methods)

that's not really true.  You can include the call to Build and if the developer provides an implementation, it will be used.  If not, the compiler will provide a no-op implementation or just remove the call.  I've used this technique many times.  You can try this class:
public partial class Tester
{
     partial void PostBuild( object item);

    public object Build()
    {
          var item = 1;
          PostBuild(item);
    }
}

/*  the class above will compile.  Uncomment this block and it'll still compile.
public partial class Tester
{
     partial void DoSomething(object item)
    {
       Console.Writeline( "here");
    }
}
*/

Yeah, I know how it works.
However, when I try to generate the partial method, all the integration tests fails for all other builders, saying that there's no implementation of the partial method...
Anyway, I would like to still keep the netstandard 2.0 backward compatibility, so I will go with what I wrote.
From the end user perspective there is no difference at all.

#44


using SHAP with petastorm dataset

Hello,
I am trying to estimate SHAP values from a neural network model (Keras) that is estimated using petastorm (specifically, make_tf_dataset from a spark df).
Here is an example:
def train_and_evaluate():
    with train_converter.make_tf_dataset(transform_spec=transform_train, batch_size=batch_size, workers_count=workers_count) as train_dataset, \
        test_converter.make_tf_dataset(transform_spec=transform_test, batch_size=batch_size, workers_count=workers_count) as test_dataset:

        train_dataset = train_dataset.map(lambda x: (tuple(getattr(x, col) for col in all_features), getattr(x, target)))
        test_dataset = test_dataset.map(lambda x: (tuple(getattr(x, col) for col in all_features), getattr(x, target)))

        steps_per_epoch = int(len(train_converter) / batch_size)
        validation_steps = int(len(test_converter) / batch_size)

        print(f"steps_per_epoch: {steps_per_epoch}, validation_steps: {validation_steps}")

        callbacks_list = [tf.keras.callbacks.EarlyStopping(monitor='val_loss', patience=10)]

        history = model.fit(train_dataset,
            steps_per_epoch=steps_per_epoch,
            epochs=max_epochs,
            shuffle=True,
            validation_data=test_dataset,
            validation_steps=validation_steps,
            callbacks=callbacks_list,
            verbose=2)

        explainer = shap.DeepExplainer(model, train_dataset)
        shap_values = explainer.shap_values(test_dataset)

    return {'history':history, 'shap_values':shap_values}

The error I get is AttributeError: 'DatasetV1Adapter' object has no attribute 'shape'. , probably because SHAP doesn't accept the train_dataset format: if framework == ‘tensorflow’: [numpy.array] or [pandas.DataFrame]
Any suggestions or ideas on how to deal with this? Thanks!

Would be happy to look into this if you can provide a runnable snippet to reproduce the issue.


mapType does not properly handle OTM relationships

Dixie.Util.Generic.mapType is responsible for generating a list of Tables from a record type. Since the end goal is to model a RDB table, things such as lists in tables are not realistic and need to be handled. The OneToManyAttribute and RefAttribute exist to help Dixie figure out what to do when it sees lists in a record type.
Given the types
type User =
    {id: int;
     name: string;
     email: string;
     [<OneToMany>]
     posts: Post list;}

and Post =
    {id: int;
     content: string;
     timeStamp: DateTime;
     [<Ref(Parent="posts")>]
     poster: User;}

Dixie should generate tables that are roughly equivalent to
User:
| id: int | name: string | email: string |
Post:
| id: int | content: string | timeStamp: date | poster: int (reference to user id) |
However it currently generates
User:
| id: int | name: string | email: string |
Post:
| id: int | content: string | timeStamp: date| poster: User |
Handling this issue should involve ensuring that the specified tables are generated

Hopefully #8 has handled this effectively.


Flutter Extension did NOT install Dart Extension

Steps to reproduce
Running macOS Monterey 12.7.5 on iMac (Retina 5K, 27-inch, Late 2015): 2024.6.1 4:00am PST.  This bug did not occur 2-5 days ago on M1 Mac  running Sonoma 14.5 nor yesterday using Windows OS, nor was it repeatable by uninstalling Flutter and Dart extensions and then reinstalling Flutter extension (see below.)
Installed Flutter Extension from within VS Code v3.90.0
Restarted VS Code
Opened Command Palette (shift Cmd P) and typed Flutter
No options were displayed
Downloaded and installed flutter SDK manually (see https://docs.flutter.dev/get-started/install/macos/desktop?tab=vscode)
Created a flutter project from Terminal in VS Code - switched back and forth between dev and stable channel (based on ALotLikeEs answer at https://stackoverflow.com/questions/56522065/flutter-new-web-project-not-showing-in-visual-studio-command-palette#:~:text=I had the same problem,a folder solved my problem.)
Used Open Folder in VSCode to open new flutter project
unable to Run and Debug (Shift Cmd D) - (was prompted by something that led me to type Dart into Extensions: Marketplace)
Searched for Dart in Extension: Marketplace and selected it - it was NOT installed.
Installed Dart - was able to run flutter project and Command Palette displayed flutter options
UNABLE TO REPEAT BUG
Uninstalled Flutter and Dart extensions
Installed Flutter extension - as before from within VS Code: THIS TIME Dart extension was also installed and everything worked as expected.
Uninstalled Flutter and Dart extension: could still run project (browser opened after Debug Console listed downloading Darwin-X86 tools
Actual results
Flutter extension did not install Dart extension: Only on 9 year old Mac, worked as expected this past week on both M1 MacBook Air running Sonoma 14.5 as well as a couple PCs running latest Windows OS, and only the first time (see below.)
Installed Flutter extension: Dart extension NOT installed
Installed Dart extension
Ran project
Uninstalled Flutter and Dart extensions
Reinstalled Flutter extension: Dart extension installed
Logs

Logs

<!-- Paste your logs here -->

Flutter Doctor output

Doctor output

issue occurred prior to installing flutter SDK

@dkermit
Can you check this and see if it helps in your case or not ?


[BUG] Can no longer bring up new CRC 1.9.0

General information

OS: Linux
Hypervisor: KVM
Did you run crc setup before starting it (Yes/No)? Yes
Running CRC on: Laptop

CRC version
bin$ crc version
crc version: 1.9.0+a68b5e0
OpenShift version: 4.3.10 (embedded in binary)

CRC config
- memory                                : 16384
- nameserver                            : <IP_ADDRESS>
- skip-check-crc-dnsmasq-file           : true
- skip-check-network-manager-config     : true

Host Operating System
bin$ cat /etc/os-release
NAME=Fedora
VERSION="30 (Workstation Edition)"
ID=fedora
VERSION_ID=30
VERSION_CODENAME=""
PLATFORM_ID="platform:f30"
PRETTY_NAME="Fedora 30 (Workstation Edition)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:30"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f30/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=30
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=30
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Steps to reproduce

downloaded/extracted crc-1.9.0
crc delete
crc setup
crc start

Expected
Certificates get renewed and cluster comes up.
Actual
Certificates get renewed but node certificate remains expired.
Logs
debug log => https://gist.github.com/phantomjinx/56be6e81b3dfd899d945f04f2a59241d
Note
Having shutdown 1.9.0 to upgrade to 1.10.0, I encountered #1242 so had no choice but to revert to 1.9.0. Consequently, cannot get 1.9.0 back up either.

v1.8 should work (from my testing before)

Duplicate of https://github.com/code-ready/crc/issues/1242. We are aware of the issue and looking into this. A new release will be available soon to provide you with a working cluster with new certificates while we investigate why the renew process fails.

@gbraad
This is not a duplicate of #1242 as it relates to 1.9.0 and not 1.10.0. Although, errors are similar, it would appear 1.9.0 has a slightly different issue (although some people appear to be ok with it).

Rather see this reported on the same issue too. Wil reopen after confirmation


Update driver-windows-nt-kernel-mode-driver.md

Fixes #101 missing xref.
Update formatting.

@corob-msft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[edge] [nuxt] Error while initializing app DOMException

Edit: I solved the problem you can find the solution in this comment https://github.com/nuxt/nuxt.js/issues/3575#issuecomment-411246148
Version
2
Reproduction link
https://test.twist.moe/a/07-ghost/1
Steps to reproduce

Go to the reproduction link
Login with username: public and password: not
Check Dev-Tools console

What is expected ?
The website should render fine and it should play the video.
What is actually happening?
It throws an error in the console.
Additional comments?
I tried to upgrade my nuxt version to 2.0 and I get the following error:
[nuxt] Error while initializing app DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method.

I've updated the Nuxt version to nuxt-edge and I also updated other node modules version to work with nuxt-edge and webpack 4. I freshly installed the node_modules so I removed the folder and ran a fresh npm i. When I run the dev version of the build, it works fine. It only fails with the production build. All the unit test pass just like they did before I only started getting this error after the nuxt-edge and webpack 4 upgrade. The website works fine and everything builds without a error, there were no issues until I upgraded my project to nuxt-edge and started the nuxt server in production.
I can give you access to the repository the project is very easy to setup, the dev version of the project works without internet, it uses mock network requests for the API. Just ask and I can give you access.

This bug report is available on Nuxt community (#c7430)

Related: #1552

It only happens on nuxt-edge for me and not 0.4.0. In 0.4.0 it builds and runs perfectly fine. So something changed in nuxt-edge that broke the code.

@kball My code worked fine in 1.4.0 the error happened because I upgraded my project from nuxt 1.4.1 to nuxt-edge (2.0.0). I still checked though and found no v-if inside any v-for.

I just went to the website and I see no error in the console.
Is it fixed? If so, what did you change?

There was a nested v-if inside another v-if that broke the change so I swapped out the first v-if with a v-show

        {{ message.text }}
        <button
          v-if="message.type === 'error'"
          v-on:click="() => {
            message = null;
            media.load();
            media.play();
          }">Retry</button>

I changed that into

        {{ message.text }}
        <button
          v-if="message.type === 'error'"
          v-on:click="() => {
            message = null;
            media.load();
            media.play();
          }">Retry</button>

Thank you @nallown
Indeed, this issue is really weird but it's due to vue-server-renderer that get crazy sometimes with v-if.
Closing the issue.

V-show doesn't solve my problem.

@Jialufeng I can help you fix your problem. Start by identifying where the problem is coming from, remove all divs spans, all elements and components from your page and check if you still have it. If the error is gone then start adding some of the divs spans every element bit by bit back, add them one by one back and check if the error comes back.
Message me when you find when out what part of your page is giving you the error and send me a snippet of the element that has the error.
These errors are one of those things that you'll automatically master to fix over time, after writing enough Vue code you'll start to automatically memorize the things you should avoid so that you won't ever get the error again.

@nallown  It has been solved by a div. thank