7.x -> 8.x Undocumented Breaking Change

Hi,
I recently was upgrading Laravel 7 -> Laravel 8 -- via guide https://laravel.com/docs/8.x/upgrade
Noticed in 8.x the deleted_at column was no longer being added to $dates property on the Model, but instead if added to the casts property -- which is not documented in the upgrade guide.
Behavior in 7x with SoftDeletes Trait applied
return (new User())->getDates()

[
   "deleted_at",
   "created_at",
   "updated_at"
]

Running same exact code with SoftDeletes Trait applied in 8.x produces
[
   "created_at",
   "updated_at"
]

Laravel 8.x - SoftDeletes 8.x
if (! isset($this->casts[$this->getDeletedAtColumn()])) {
    $this->casts[$this->getDeletedAtColumn()] = 'datetime';
}

Laravel 7.x - SoftDeletes 7.x
  $this->dates[] = $this->getDeletedAtColumn();

I'm not sure if this was already addressed somehow but took me a bit to figure out what changed here.

Feel free to send in a pr to the docs 👍


Readme file

I would like to recommend that you complete the readme file with a more detailed description of what the project is about so that each person who visits it knows what it is about.

Suggest the changes to your Portfolio

I suggest you change the color of the message icon in the nav bar section to fit the UI of the project.
I think it will be better if you'll change the padding of the input fields in the contact form section to math the UI design of the the project.

Consider it done.


Cs new backend

Renewing the backend,

Vectorized data handling and cleaner structure.
Fixes on retraction
Update mechanism
Feedback mechanism for the heartbeats

We should convert the script back to its original name, and clean the debugging stuff before merging. Let me handle that tomorrow


Decide on standardized outputs to put in a single dataframe

should also keeps track of model and experiment #

The function 'mult_oc_optim' in optimal_control_functions.R does this. It outputs a tidy data frame that includes parameters, trajectories, and costs in its rows.


Cadence Feature: Support for Query Decision Task API

This is for monitoring purpose, cli style scenarios.  This allows us to get call-stacks, debug stuck issues, etc without hosting decider implementation.

We are thinking about a more generic support for query which can be used by clients to issue custom queries to workflow execution, like expose current state of execution.

@samarabbas since we already have query support, can we close this issue?


Typo correction 11.mdx

Hey! Thanks for the approval 🙌. Could you please run the migration to apply the changes? I’d really appreciate it!

@Arachnid  Hey! Thanks for the approval 🙌. Could you please run the migration to apply the changes? I’d really appreciate it!


SVM multiclass problem with probability estimates

Hello,
As far as I could dig in, I could not find a way of training a M-Ary classifier using prtClassLibSvm as a base classifier and output not the class, but the probability estimates for each of the classes.
What am I missing? Thanks.

Hello Giuliano,
Does LIBSVM support multi-class probabalistic classification?  I do not think it does...  See:
http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/#multi_class_classification_and_probability_output_via_error_correcting_codes
Since our code is built on LIBSVM, that might be difficult.  As a work-around, you might consider something like this:
class = prtPreProcZmuv + prtClassBinaryToMaryOneVsAll('baseClassifier',prtClassLibSvm);
Which I think will output the results of one-vs-all classifications for LibSVM.
If this isn't working for you, let us know what you have tried.

In fact, Wu et al (http://www.csie.ntu.edu.tw/~cjlin/papers/svmprob/svmprob.pdf) have already devised such a tool, as the link you gave me, but everything is some kind of extension.
Anyway, I wanted to know if PRT had an implementation of such a tool already and I wasn't finding it.
I'll try something out. Thanks!

We have not integrated with anything like that at this time. For now your best option with the PRT is to use the one vs all wrapper. We will look into including some sort of M-ary SVM in the future.
Kenny


Support clientset for RayCluster objects

We have some backend services written in Golang wants to interact with RayCluster Kubernetes objects and it needs to use typed clients.
Kubebuilder itself doesn't generate clients for objects. It would be great to leverage code-gen to generate clientset for external system to interact with

It's useful to integrate Ray devops platform.

@chenk008 @Jeffwan I can take this if nobody else is going to implement it

@harryge00 Feel free to pick it up. The tricky part is kubebuilder structure is not friendly to reuse code-gen. I think we may need to adjust api structures like

api

raycluster

v1alpha1

If you have other ways without reorganize the folder, that would be great

@harryge00 The last PR is to generate clientset, can you help on that as well?

This issue can be closed. Thanks for the contribution. @harryge00


Update aws-core, http-client-spi, ... to 2.17.203

Updates

software.amazon.awssdk:aws-core
software.amazon.awssdk:http-client-spi
software.amazon.awssdk:netty-nio-client

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

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

Superseded by #172.


MySQL JDBC LoadError: no such file to load

Hi,
logstash.conf
input {   jdbc {     jdbc_driver_library => "/home/edsoft/IdeaProjects/docker-elk/resources/mysql-connector-java-5.1.36-bin.jar" 		jdbc_driver_class => "com.mysql.jdbc.Driver" 		jdbc_connection_string => "jdbc:mysql://localhost:3306/yazilimokulu" 		jdbc_user => "root" 		jdbc_password => "1" 		schedule => "* * * * *" 		statement => "select * from posts" 	} 	tcp { 		port => 5000 	} }
Dockerfile
 FROM docker.elastic.co/logstash/logstash:5.2.2 RUN logstash-plugin install logstash-input-jdbc
This is my logstash.conf file. And when I build the Dockerfile always throw  LoadError: no such file to load error for jdbc_driver_library. Please help me thanks

add a line to Dockerfile like this.
FROM docker.elastic.co/logstash/logstash:5.2.2
RUN logstash-plugin install logstash-input-jdbc
ADD mysql-connector-java-5.1.36-bin.jar /usr/share/logstash/mysql-connector-java-5.1.36-bin.jar

and jdbc_driver_library should be like this.
jdbc_driver_library => "/usr/share/logstash/mysql-connector-java-5.1.36-bin.jar"

Solution given as above. Closing.


$ionicSlideBoxDelegate doesn't work with new ion-slides

I need to change the ion-slide-page dynamically, so, as says in the ion-slides docs I need to use $ionicSlideBoxDelegate.
And in the $ionicSlideBoxDelegate docs they says which I need to use the slide method.
So I tried with:
var secondSlide = 1;
$ionicSlideBoxDelegate.slide(secondSlide);

But doesn't work. Nothing happens, does not throw any errors.
There isn't any way to do that with the new and non deprecated ion-slides?

My environment:
Cordova CLI: 6.2.0
Ionic Framework Version: 1.3.1
Ionic CLI Version: 1.7.16
Ionic App Lib Version: 0.7.3
Node Version: v4.2.2

Hello, thanks for opening an issue with us! Would you be able to provide a plunker that demonstrates this issue? Thanks for using Ionic!

I will try to do that, but I've never used something like this...

Here is a codepen:
https://codepen.io/anon/pen/oLrYzq?editors=1010

Hi @joanebrown,
The ion-slides uses the underlying API of Swiper so you've grabbed a reference to the slider onInit ($scope.slider), and then looking at the Swiper API you can use $scope.slider.slideTo(index) or in your case $scope.slider.slideTo(slider).  I updated your plunkr.
Cheers

Ooops! You're right. Thank you very much. :)

$ionicSlideBoxDelegate has now been deprecated.


Stack

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Added stack implementation in C
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)
#525

@Sohailsaifi  Please make separate PR for different issues.


Library path issues on fedora

Trying to cross compile the 3.0 example on fedora results in
error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
  |
  = note: "x86_64-w64-mingw32-gcc" "-Wl,--enable-long-section-names" "-fno-use-linker-plugin" "-Wl,--nxcompat" "-nostdlib" "-m64" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/crt2.o" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/rsbegin.o" "-L" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver0.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver1.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver10.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver11.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver12.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver13.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver14.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver15.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver2.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver3.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver4.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver5.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver6.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver7.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver8.rust-cgu.o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.printserver9.rust-cgu.o" "-o" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.exe" "/app/target/x86_64-pc-windows-gnu/debug/deps/printserver-4c9c9553ae081d85.crate.allocator.rust-cgu.o" "-Wl,--gc-sections" "-nodefaultlibs" "-L" "/app/target/x86_64-pc-windows-gnu/debug/deps" "-L" "/app/target/debug/deps" "-L" "/home/rust/.cargo/git/checkouts/winapi-rs-a54263a8eb5d0916/70e1da8/x86_64/lib" "-L" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib" "-Wl,-Bstatic" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libstd-60d4a252bdda9250.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/liballoc_system-a05404e5e059417a.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/librand-81cbf6f1d5a19206.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libpanic_unwind-0b63e20460046692.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/liballoc-f824a78e715239af.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libstd_unicode-2abaea46f194a6e1.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libunwind-7daa32005d584d8a.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/liblibc-49ff25caaa6e945f.rlib" "/app/target/x86_64-pc-windows-gnu/debug/deps/libwinapi-e1e9b0b9a817ecee.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libcore-f2bd2d524c6ace24.rlib" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/libcompiler_builtins-c6139fac5e899293.rlib" "-Wl,-Bdynamic" "-l" "advapi32" "-l" "ws2_32" "-l" "userenv" "-l" "shell32" "-Wl,-Bstatic" "-l" "gcc_eh" "-l" "pthread" "-Wl,-Bdynamic" "-l" "winspool" "-l" "user32" "-l" "kernel32" "-l" "msimg32" "-l" "opengl32" "-l" "gdi32" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-windows-gnu/lib/rsend.o"
  = note: /usr/lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lpthread
          collect2: error: ld returned 1 exit status

My guess is that's related to the path on ubuntu being /usr/x86_64-w64-mingw32/lib/libpthread.dll.a while on fedora it's /usr/x86_64-w64-mingw32/sys-root/mingw/lib/libpthread.dll.a although running RUSTFLAGS="-L /usr/x86_64-w64-mingw32/sys-root/mingw/lib" cargo build did not help either
The cross compiler is working since compiling cargo new --bin works

winapi has absolutely nothing to do with pthread, so this is probably the wrong place to report this.
That said, ld is being told -l pthread which means it is looking for libpthread.a. However the library you have is libpthread.dll.a which means you'll need to rename it.

In the same folder is also a libpthread.a so that can't be the issue.
Apparently i screwed up yesterday since compiling cargo new --bin seems not to work anymore.
Thanks for the help and sorry for the trouble, will file the bug on rust.


Force rational invariant in PlutusType instance

The "fail on zero" invariant should be forced in the PlutusType instance - otherwise pcon is a trap for users.
The golden changes are purely within dev mode and only exist due to a slight change in the error trace.

I'm not sure this is the best solution. Shouldn't we just not export the constructors, or otherwise make the divisor (or dividend?) a Positive?

I think pcon is a pretty good notion of smart constructor that already exists. Unless we require pcon to never error - I don't see a reason to not utilize it for this purpose.
We could indeed just not export the constructor but then the PlutusType instance becomes a bit useless - unless you go on to introduce "safe" helper functions to help with pmatch's handler and pcon's argument, which seems like unnecessary extra work.

The PlutusType instance would still be used internally.
in general, in Haskell, people expect constructors to be total. I don't think we should add partial constructors.

Not wanting pcon to be partial is a valid concern - though I don't know how applicable it is for Plutarch usecases. Do you think we should unexport the constructor and just have 2 functions for building them (one returning PMaybe, the other being partial)?
And for deconstruction, I suppose the pnominator and pdenominator will do? I feel like this might be a blocker for achieving maximal performance in userland (using pmatch directly in a utility function that is then hoisted will be more efficient) - but oh well.

Well that's why I suggested Positive.

I assume you mean NonZero? Hmm, I could try that and see what it entails.

Shouldn't it be Positive and not NonZero? I don't see why it would be negative.

Shouldn't it be Positive and not NonZero? I don't see why it would be negative.

The original invariant was NonZero so far so I preserved that behavior. I don't see anything technically wrong with allowing negative denominators but we can definitely change it to Positive if necessary.

I removed the constructor export and kept the PlutusType instance "normal" (no forced invariant check), and added supplementary functions for construction and deconstruction

@TotallyNotChase Can you make this PR up to date?

FYI this isn't ready yet - just syncing with staging.

I'm trying to figure out optimization stops - where invariant checks should be skipped.

Just put them in everywhere, then we'll make it efficient later.

Alright, will do optimizations later then

Hmm, why did the PNonZero -> PPositive change make the benchmarks perform worse? There wasn't really any changes other than #== becoming #<= - should investigate.

looks like the benchmarks are performed on scripts compiled with tracing mode on - that's not correct.


fixing payload

Original property was "storageAccountIds  ", which resulted in an invalid payload when ran. I've removed the trailing blank spaces to correct.

@mrajess : Thanks for your contribution! The author(s) have been notified to review your proposed change.

The content has been updated, and the string that's revised in the pull request is no longer in the article. We'll close the PR. Thanks.


Release v2.0.6 to NPM

Would you mind pushing that release to NPM? The latest there is still 2.0.5.

Done: 2.1.0.


Analyze on the server reflection enabling strategy

Description:
Analyze whether it should be able to enable directly from the listener or from the service (current implemented solution is to enable from the listener).
public type ListenerConfiguration record {|
    ......
    boolean reflectionEnabled = false;
|};

When adding as a service config, we have much more control over the reflection. That way, we can only enable this for several services and hide some services from reflecting.
But, java, go has this in a way similar to listener level enabling.
Server server = ServerBuilder.forPort(9092)
            .addService(ProtoReflectionService.newInstance())
            .addService(new StructServiceImpl())
            .addService(new ChatServiceImpl()).build();
    server.start();

Here, when the ProtoReflectionService is added to the Server both the StructService and ChatService are exposed.

Any input on this? @daneshk @shafreenAnfar @MadhukaHarith92

Enabling reflection to the listener is the right way to do it.

Closing the issue since this is the currently implemented way


Mistake in cornell box scene

In cornell box scene (cornell_box.cpp) there's a possible mistake. There's a check of ANARI_KHR_DEVICE_SYNCHRONIZATION feature (line 275), but it looks like that it should check ANARI_KHR_AREA_LIGHTS

Yes, that's correct! I'll add a check that adds a different light if ANARI_KHR_AREA_LIGHTS isn't present.

That's a bewildering bug to have written, haha.

Fixed in 0ce0a30.


Check Dependabot Alerts

Medium priority
By enabling dependabot, several PRs have been created that you need to manage.

Check that you have access to: https://github.com/propagamap/openelevationservice/security/dependabot and https://github.com/propagamap/openelevationservice/security/secret-scanning
Review the security advisories. Make sure there is already a PR or create one to resolve possible dependency conflicts (if possible).
Ensure that the implementation of your code maintains its functionality.
Any new security alerts should be handled in subsequent iterations.

Done


html syntax issue in vs_code

{{name|safe}}   this syntax  is perfact format but vs code showing imperfact and auto spreade syntax.
please as soon as fix this. #107467

/needsMoreInfo
Please follow issue/request template on github and provide examples what is wrong and what is expected.

https://twitter.com/Mr_SurajLodh/status/1377245440890920967?s=20
please look into this

Your issue is unactionable with current description and linking to twitter instead of providing info in one place doesn't help maintainers to work on this issue.

The purpose for sharing is to connect with tester and vs community group not for the instead solution or help.
The Second reason is to share picture link with you and its shows the more detail.

Thanks @IllusionMH for the support.
@SurajLodh As mentioned by Andrii, it appears that you have JavaScript code in a style element. That's strange. To be able to investigate I'd need a small, selfcontained code sample that shows the issue.
Please add all information (steps, code sample, screenshots) to the description of the issue.

https://github.com/SurajLodh/Dashboard/blob/main/app1/templates/new.html
sir, I'm attaching my index.html link please look into this
https://twitter.com/Mr_SurajLodh/status/1377245440890920967?s=20
and this link(picture) is clearly showed my problem
if its correct then leave.
and large thank to you guys for taking my problem and finding better solution for us.

Hi @SurajLodh, thanks for the source code.
{
            labels: {{lable1|safe}}
}

is not valid HTML/JavaScript but Django.
You have to look for a Django extension and you have to set the editors language mode to Django.
Alternatively you can try to continue to work with the HTML editor and disable JavaScript validation:
"html.validate.scripts": false

thank you sir its working fine !


[BUG] lorem-ipsum words can be missed/ignored due to casing

The sample text for lorem-ipsum script contains uppercase characters which get emitted when rebuilding the word list. Since vim's spell dictionary is case sensitive, these words are inaccurately still marked as incorrect in different flavors/mutations of the lorem paragraph.
This should be an easy fix by adding something like: tr '[:upper:]' '[:lower:]' to the command pipeline.
I opened a PR for this issue: #34

As a side issue: I use the plugin friendly-snippets where they provide a snippet for lorem text,
and there appears to be a discrepancy in that plugin and this one.
That text contain the string: adipisicing, while this plugins example uses adipiscing. I can only guess there is slight variations on lorem text, perhaps it's an alternate spelling but that means this word will not be recognized with this plugins current method word list.
I've added this to my spell dictionary for now but is it worth and/or is there a clean way to include this in the update-lorem-ipsum script? Just adding the new paragraph would require scrubbing duplicates most likely.

Lorem paragraph: provided by vim-dirtytalk
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.

Lorem paragraph: provided by friendly-snippets
Lorem ipsum dolor sit amet, officia excepteur ex fugiat reprehenderit enim
labore culpa sint ad nisi Lorem pariatur mollit ex esse exercitation amet. Nisi
anim cupidatat excepteur officia. Reprehenderit nostrud nostrud ipsum Lorem est
aliquip amet voluptate voluptate dolor minim nulla est proident. Nostrud officia
pariatur ut officia. Sit irure elit esse ea nulla sunt ex occaecat reprehenderit
commodo officia dolor Lorem duis laboris cupidatat officia voluptate. Culpa
proident adipisicing id nulla nisi laboris ex in Lorem sunt duis officia
eiusmod. Aliqua reprehenderit commodo ex non excepteur duis sunt velit enim.
Voluptate laboris sint cupidatat ullamco ut ea consectetur et est culpa et culpa
duis.

Good catch, thanks for fixing this! I just merged the fix to master.

[...] is it reasonable to consider adding the alternate passage to the plugin's update-lorem-ipsum script?

Sounds perfectly reasonable. I pulled this version of lorem-ipsum from Wikipedia, but frankly I have no idea which one is "correct", or whether a "correct" version exists at all (it's not actual Latin AFAIK). But if alternate versions exist in the wild then yeah, I think we want to cover all of them ;)

Man, I always just assumed it was "just" Latin. Guess it's been mutated for a few hundred years.

The lorem ipsum is based on De finibus bonorum et malorum, a Latin text written by Cicero in 45 BC. Typographers and printers have used passages from this work for formatting since the 16th century. Many words have been added or modified over the centuries. As a result, the lorem ipsum is no longer considered Latin, even though it looks a lot like it.

I was playing around with adding the alternate by using some extra commands in the pipeline like sort | uniq in an attempt to strip duplicates but didn't get far since the output was removing too many words. I'll play around with it again when I have time.
Glad this could get merged. Thanks!


Updating examples for authentication

It seems the authentication examples have old packages. I updated by copying the code from the examples repo (python/apps/authentication/).

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

Let me know where, and I will help with that when possible.

Would it be useful to implement some sort of 'include' functionality so we include the code in docusaurus, and there's only one version of the code to maintain? I can try ...


[build system] buddy-translate fail to translate MLIR into LLVM IR

Describe the bug
When building buddy-mlir in one-step build mode (build as an external LLVM project), the provided buddy-translate tool fails to translate the RVV dialect to LLVM IR with the following error:
Expected an argument of Vector Type
UNREACHABLE executed at /build/buddy-mlir/llvm/llvm/lib/IR/Function.cpp:1402!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: buddy-translate --buddy-to-llvmir
...

This issue cannot be reproduced using the two-step build strategy, so something may be missing when building buddy-mlir using the one-step build strategy.
To Reproduce
Build buddy-mlir following the one-step-build-strategy guide.
Then run the pipeline and compile into LLVM IR:
buddy-opt stripmining.mlir \
  --lower-affine  --convert-scf-to-cf --convert-math-to-llvm \
  --lower-vector-exp --lower-rvv=rv32 --convert-vector-to-llvm \
  --finalize-memref-to-llvm --convert-arith-to-llvm --convert-func-to-llvm --reconcile-unrealized-casts \
  -o stripmining-lowered.mlir

buddy-translate stripmining-lowered.mlir --buddy-to-llvmir stripminig.llvmir

The stripmining.mlir file

memref.global "private" @gv_i32 : memref<32768xi32>

func.func @test() -> i32 {
  %mem_i32 = memref.get_global @gv_i32 : memref<32768xi32>
  %c0 = arith.constant 0 : index
  %c0_i32 = arith.constant 0 : i32
  %i2 = arith.constant 2 : i32

  // Configure the register.
  // SEW = 32
  %sew = arith.constant 2 : i32
  // LMUL = 2
  %lmul = arith.constant 1 : i32

  %init_avl = memref.dim %mem_i32, %c0 : memref<32768xi32>
  %init_avl_i32 = arith.index_cast %init_avl : index to i32
  %init_idx = arith.constant 0 : index
  %res = memref.get_global @gv_i32 : memref<32768xi32>

  // While loop for strip-mining.
  %a1, %a2 = scf.while (%avl = %init_avl_i32, %idx = %init_idx) : (i32, index) -> (i32, index) {
    // If avl greater than zero.
    %cond = arith.cmpi sgt, %avl, %c0_i32 : i32
    // Pass avl, idx to the after region.
    scf.condition(%cond) %avl, %idx : i32, index
  } do {
  ^bb0(%avl : i32, %idx : index):
    // Perform the calculation according to the vl.
    %vl = rvv.setvl %avl, %sew, %lmul : i32
    %input_vector = rvv.load %mem_i32[%idx], %vl : memref<32768xi32>, vector<[8]xi32>, i32
    %result_vector = rvv.add %input_vector, %i2, %vl : vector<[8]xi32>, i32, i32
    rvv.store %result_vector, %res[%idx], %vl : vector<[8]xi32>, memref<32768xi32>, i32
    // Update idx and avl.
    %vl_ind = arith.index_cast %vl : i32 to index
    %new_idx = arith.addi %idx, %vl_ind : index
    %new_avl = arith.subi %avl, %vl : i32
    scf.yield %new_avl, %new_idx : i32, index
  }
  %result = vector.load %res[%c0] : memref<32768xi32>, vector<8xi32>

  %mask = arith.constant dense<1> : vector<8xi1>
  %c1_i32 = arith.constant 1 : i32
  %evl = arith.constant 8: i32
  %res_reduce_add_mask_driven = "llvm.intr.vp.reduce.add" (%c1_i32, %result, %mask, %evl) :
         (i32, vector<8xi32>, vector<8xi1>, i32) -> i32

  return %res_reduce_add_mask_driven : i32
}

According to https://github.com/buddy-compiler/buddy-mlir/pull/146, the one-step build strategy is presently not meant to replace the original two-step build strategy because it does not support all buddy examples, such as RVVDialect, which is why the stripmining.mlir and other demos with RVV dialect operations will be stucked.
Though it is recommended to use two-step build strategy for now, it would be great if the one-step can handle all the things.

After three day discovering, I found that this issue is not related to example building, it is related to the build system.
First take a glance at the stack trace, it fail when it try to rewrite the setvl operation to llvm function by calling the llvm::Intrinsic::getDeclaration function
if (auto op = dyn_cast<::buddy::rvv::RVVIntrSetVlIOp>(opInst)) {
    llvm::Module *module = builder.GetInsertBlock()->getModule();
    llvm::Function *fn = llvm::Intrinsic::getDeclaration(
        module,
        llvm::Intrinsic::riscv_vsetvli,
        { moduleTranslation.convertType(opInst.getResult(0).getType()) }
    );

And in llvm::Intrinsic::getDeclaration definition, I found that it fail to convert the rvv set vli argument type, which should be i64, and IITDescriptor should be Argument:
Function *Intrinsic::getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys) {
  auto *FT = getType(M->getContext(), id, Tys);
    //...
}

FunctionType *Intrinsic::getType(LLVMContext &Context,
                                 ID id, ArrayRef<Type*> Tys) {
  SmallVector<IITDescriptor, 8> Table;
  getIntrinsicInfoTableEntries(id, Table);

  ArrayRef<IITDescriptor> TableRef = Table;
  Type *ResultTy = DecodeFixedType(TableRef, Tys, Context);

However, DecodeFixedType get IITDescriptor::PtrToElt, not IITDescriptor::Argument.
static Type *DecodeFixedType(ArrayRef<Intrinsic::IITDescriptor> &Infos,
                             ArrayRef<Type*> Tys, LLVMContext &Context)
   	IITDescriptor D = Infos.front();
  	Infos = Infos.slice(1);
	switch (D.Kind) {
	case IITDescriptor::PtrToElt: {
    	Type *Ty = Tys[D.getArgumentNumber()];
    	VectorType *VTy = dyn_cast<VectorType>(Ty);
    	if (!VTy)
      		llvm_unreachable("Expected an argument of Vector Type");
    	Type *EltTy = VTy->getElementType();
    	return PointerType::getUnqual(EltTy);
  	}

This is because the getIntrinsicInfoTableEntries return an unexpected IIT_Table value.
void Intrinsic::getIntrinsicInfoTableEntries(ID id,
                                             SmallVectorImpl<IITDescriptor> &T){
  // Check to see if the intrinsic's type was expressible by the table.
  unsigned TableVal = IIT_Table[id-1];

I found that this is because in one-step build, all the codegen file from llvm and buddy are placed in build directory together, and IIT_Table have different implementation between these two project. However in two-step build strategy, codegen file are placed in two build directory, so there is no such thing happen.

After further discover, I found that the core issue is that in one-step build, the -I include flag have different order:

one-step build build.ninja file for Function.cpp:

build ...buddy-mlir/llvm/llvm/lib/IR/Function.cpp.o: ...
  FLAGS = ...
  INCLUDES = -I... -Illvm/llvm/include -I... -Ibuild/tools/buddy-mlir/backend/include -I...

two-step build buildninja file for Function.cpp:

build backend/llvm/lib/IR/CMakeFiles/LLVMBuddyCore.dir/__/__/__/__/llvm/llvm/lib/IR/Function.cpp.o:
  FLAGS = ...
  INCLUDES = -I... -Itwo-step-build/backend/include -Itwo-step-build -I... -Ilvm/llvm/include -I...


Do not use rbind mount for archival and other use cases

- What I did
Fixed #20670 and a new issue https://github.com/docker/docker/pull/22009#issuecomment-209717864
Obsoletes #21982
Obsoletes #22009 (or maybe there is an advantage in combining #22009 to this PR for clarity)
- How I did it
Use bind mount instead of rbind.
Recursion is done in bindtree_linux.go rather than rbind.
Perhaps the content of bindtree_linux.go should be moved to daemon/container_operations_unix.go.
I'd like to hear comments.
- How to verify it
Described in the commit message below.

Fix #20670, which reports that /dev/pts is unmounted on the host when docker cp is attempted to a container running with -v /dev:/dev without the systemd option MountFlags=slave.
Note that #22009 which uses rprivate mount was not enough in a corner case described below.
How to test:

Start the daemon without systemd option MountFlags=slave.
On terminal 1, run docker run -it --name test_container --rm busybox, and keep the container running.
On terminal 2, run docker cp test_container:/bin/sh /tmp, and make sure /dev/pts is kept by running mount | grep pts.
The original issue #20670 reports that /dev/pts is unmounted at this point.
On terminal 1, press ^D to shut down the container, and make sure /dev/pts is still kept.
The new issue appeared in #22009 reports that it is unmounted at this point.

Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>

Closing this PR again, because @rhvgoyal  found another way to fix the issue reported in #22009:
https://github.com/docker/docker/pull/22009#issuecomment-210258549


Nammatham 1.0 Release Plan

No plan to add more feature,
If no critical issue, Nammatham will release v1 on Mar 15, 2023

All tested on Production, it works!, Release


updating examples: Updating Lesson-01 to add more context

I thought that the lesson could explicitly mention that a developer can use custom wallets to implement functions and features that aren't included in the default wallets.
This adds a bit more context to the lesson.

🚀 @rohit-710 Thank you for opening this PR, and sorry for not responding earlier!


InAppWebViewManager: fix nullptr in InAppWebViewManager.dispose

Connection with issue(s)
Resolve issue #2025

Connected to #2025

Testing and Review Notes

Use the demo project to test if this works: https://github.com/Murmurl912/inappwebview_dispose_keepalive_nullptr
Screenshots or Videos

To Do

[ ] double check the original issue to confirm it is fully satisfied
[ ] add testing notes and screenshots in PR description to help guide reviewers
[x] request the "UX" team perform a design review (if/when applicable)

I've tested this locally and it fixes the Android null pointer exception when disposing webview that is using keep alive

Seems like we can expect an update soon, no need to jump package
#2268

Fixed in https://github.com/pichillilorenzo/flutter_inappwebview/commit/4ba6e22848aae9c2ca16bc784023b7fa98cf61e3
Thanks

@all-contributors please add @Murmurl912 for code

Before the next release resolves this issue. Anyone using keepAlive should use the following code to safely dispose the InAppWebViewFlutterPlugin. Simply using a try-catch block will prevent the Flutter engine from completely destroy, which can lead to memory leaks and other issues.
It took me several weeks of investigation to discover that a SqliteException(5): while executing statement, database is locked error was actually caused by the Flutter engine not being disposed of properly.
override fun onDestroy() {
    try {
        super.onDestroy()
    } catch (e: Exception) {
        // no-op
    }
}

Instead, using to following code the remove null webview from inAppWebViewManager :
import com.pichillilorenzo.flutter_inappwebview_android.InAppWebViewFlutterPlugin

override fun onDestroy() {
    safeDispose()
    super.onDestroy()
}

private fun safeDispose() {
    kotlin.runCatching {
        val flutterEngine = flutterEngine ?: return
        val plugins = flutterEngine.plugins.get(InAppWebViewFlutterPlugin::class.java) as? InAppWebViewFlutterPlugin
            ?: return
        val manager = plugins.inAppWebViewManager ?: return
        val clone = manager.keepAliveWebViews.toMap()
        for (entry in clone) {
            if (entry.value == null) {
                manager.keepAliveWebViews.remove(entry.key)
            }
        }
    }
}


Parser performance

On a 720mb Leica DICOM, git master libdicom takes about a second to parse the file::
$ time dcm-getframe -v -o x.jpg <IP_ADDRESS>.4.1.36533.992031277215326518414019311377114211255162.dcm 1
INFO     [Thu Feb 16 10:33:49 2023] - Read file '<IP_ADDRESS>.4.1.36533.992031277215326518414019311377114211255162.dcm'
INFO     [Thu Feb 16 10:33:49 2023] - Read metadata
INFO     [Thu Feb 16 10:33:51 2023] - Read BOT
INFO     [Thu Feb 16 10:33:51 2023] - Basic Offset Table is empty.

real	0m1.355s
user	0m0.805s
sys	0m0.549s

Optimisation ideas in no order:

It's spending about 10% of runtime in strcmp(), according to callgrind. We could swap out the string VRs for an enum.
dcm_offset() (get current file pointer) flushes the input buffer unnecessarily, we could add a special path for this. Though it doesn't seem to be called in the main parse.
It's spending 16% of runtime in int_malloc and int_free, suggesting there are many small mallocs. Some of these could probably be moved to the stack.
5% of runtime is in eheader_check_vr(), which should not really exist.

So I suppose there might be a 20% speedup possible.

Thanks for the deep dive and detailed analysis @jcupitt. Unfortunately, large multi-frame images with TILED_SPARSE dimension organization are a pain to work with and we have problems with it at multiple fronts. See for example https://github.com/ImagingDataCommons/highdicom/issues/202.
Having a highly performant C implementation would thus be extremely useful.
cc @CPBridge @dclunie @pieper

Yes, I've been using fo-dicom (a nice C# dicom loader), but it also really struggles with TILED_SPARSE slide images. It can take a minute or so to load a large one.
Leica assume me they are planning to support TILED_FULL, so ... fingers crossed. I think their main issue is with row-major vs column-major tile layout. Writing a BOT would help too, of course.
I've started an experimental performance branch to see if I can get libdicom running a bit quicker.


cycles to failure example

Simple example to demo using pydpf to generate a cycles to failure result.

simple solid model built/solved using pymapdl (files saved in c:/temp)
rst imported into pydpf
von mises stress extracted and plotted
numpy used to interpolate cycles to failure nodal results using von mises result and the imported steel cycles to failure material properties
cycles to failure result plotted to mesh and plot generated.

The goal of the example is a simple example to demo how a rst file can be used in python to generate a cycles to failure result.

Hey @mcMunich , I am sorry but right now our pipelines do not work for PRs from forks (as far as I understand the current problem). What I will do is replicate this PR myself directly from my cloned repo, and I will start an Issue regarding the acceptance of PRs from forks and what it entails, since it seems to be customary for pyMAPDL.

Posted an issue (#215) on accepting PRs from forks.
For now however I think only members with cloning rights can clone and push PRs for which the pipelines will run.

@PProfizi This is my first pull so I don't have any rights, as far as I can tell.
I am one of the Ansys AEs in the European M-team who work with  pyansys.
The example I am hoping to post is an interesting analysis that has been shown to a handfull of companies here in europe in a series of introducing pyansys talks.

@PProfizi, let's get this merged soon to avoid getting stale PRs.
If we need to, close this PR, create a branch directly from this repo, and recreate this PR to get the checks to pass. Be sure to give @mcMunich write permission to this repo.
This stems from the use of github secrets and our private use of the DPF binaries.

Hi @mcMunich , I gave you write permissions to this repo, please could you create a branch instead of forking and create a PR from it? We planned to resolve the issue of running pipelines from the forks later.
@PProfizi , @akaszynski

sorry, pulled again but created a new branch and that one is the active one.

@mcMunich @akaszynski @rlagha @cbellot000 Indeed a new PR was made but still from the forked repository #223, so, as cleared-up in last week's pyAnsys meeting, it is not possible (nor desired) to make PRs from forked repositories with our current pipelines.
I started #224 and the last problem left is that the example actually runs MAPDL via pyMAPDL.
However, our doc pipeline runs the examples, so that would mean for our pipelines to install pyMAPDL.
I was discussing with Ramdane and the question becomes whether maybe this should be a pyMAPDL example, as it already installs and uses pyDPF. What do you think?


Issue combining Stackable Enchanting books with "Chest sorting" mods

enableStackableEnchantedBooks in the cherry on top early.json being enabled will cause enchanting books to merge into one stack of a singular enchant book when it is used in a conjunction with a mod like TerraStorage's "sort chest" or "sort inventory" options. As such I'd recommend finding a way to distinctly seperate enchant books from their enchants or turning the option to off by default.

To make things clear, this will turn a group of 3 enchant books with different enchants into one stack of 3 books being duplicates of the first enchant book.

Thanks for the report, can you link me the specific sorting mod(s) where this happens?

For TerraStorage specifically, it looks like an issue on their end, because sorting containers doesn't seem to take item components into account from what I can see.

The mods I tested so far was TerraStorage and CleanContainers, here's the link to the other mod I tested before I disabled the config.
https://modrinth.com/mod/cleancontainer

Yeah, this is not an issue on my side. The sorting algorithms in those mods need to also compare item components on the items when they exist, or else you get this kind of behavior that results in data loss.


Remove limitations around jobs during rolling upgrades

Fixes #9823.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/7571faa750781c50ed22bc957163da2cc86a39f1/
Edited pages:

cockroachcloud/upgrade-to-v20.2.md
v20.2/known-limitations.md
v20.2/upgrade-cockroach-version.md
v21.1/known-limitations.md
v21.1/upgrade-cockroach-version.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ca8cffc427d1fe8e83107163335fb920d3b56d46/
Edited pages:

cockroachcloud/upgrade-to-v20.2.md
releases/v21.1.0-alpha.1.md
v20.2/known-limitations.md
v20.2/upgrade-cockroach-version.md
v21.1/known-limitations.md
v21.1/upgrade-cockroach-version.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/0fcd6f7df3fcf3d6cf77408a846b228fcb7a5a2a/
Edited pages:

cockroachcloud/upgrade-to-v20.2.md
releases/v21.1.0-alpha.1.md
v20.2/known-limitations.md
v20.2/upgrade-cockroach-version.md
v21.1/known-limitations.md
v21.1/upgrade-cockroach-version.md


Lambdatest-Cypress-CLI and Github Actions

Context
I'm attempting to run the lambdatest-cypress-cli through Github Actions on every code push.
Issue
When attempting to run lambdatest-cypress-cli on Github Actions, it fails during the LambdaTest Cypress Run step due to not having the spec file present.
Code
I changed my record keys, tokens, etc. to generic names for the sake of this post.
#Workflow Name
name: Trigger browser testing

#Trigger
on:
  #manually-evoked from Github Actions tab/CLI
  workflow_dispatch:
    #interactive inputs
    inputs:
      versioname:
        description: "Version:"
        required: true
        default: ""

#Actions
jobs:
  Deploy_live_test:
    name: Live test deploy
    runs-on: ubuntu-latest
    steps:

      - name: LambdaTest Cypress CLI Test
        shell: bash
        run: npm install -g lambdatest-cypress-cli

      - name: LambdaTest Tunnel Action
        uses: LambdaTest/LambdaTest-tunnel-action@v1
        id: tunnel-id
        with:
          user: "username"
          accessKey: "accesskey"
          tunnelName: "tunnelname"

      - name: Checkout
        uses: actions/checkout@v2

      # Install NPM dependencies, cache them correctly
      # and run all Cypress tests
      - name: Cypress run
        uses: cypress-io/github-action@v2
        with:
          record: true
        env:
          # pass the Dashboard record key as an environment variable
          CYPRESS_RECORD_KEY: "cypressrecordkey"
          # pass GitHub token to allow accurately detecting a build vs a re-run build
          GITHUB_TOKEN: "githubtoken"
          # pass the project ID from the secrets through environment variable
          CYPRESS_PROJECT_ID: "cypressproject"

      - name: LambdaTest Cypress Run
        shell: bash
        run: export LT_USERNAME="LT_name" && export LT_ACCESS_KEY="LT_key" && lambdatest-cypress init && lambdatest-cypress run --cy="--cypress-record-key "cypressrecordkey"" --username "username" --key "key"

Here is my folder structure, spec highlighted:

Any help would be appreciated.
Thank you!

Hey @le-anne ,
I see lambdatest-cypress init has to be done only once. Most of the options are self-explanatory but you can use the following doc for a more clean view https://www.lambdatest.com/support/docs/running-your-first-cypress-test.
You can mention the spec files in the config file and then this should work
Doing an init every time will recreate the lambdatest config file every time and all your saved configurations will be lost

Closing due to unactivity


Created ecschema-editing package and moved code.

To reduce the size of the ecshema-metadata package, we are moving the schema editing and validation APIs to a new package named 'ecschema-editing'.  We will continue to expand the editing and validation APIs from this location.

Thanks @pmconne, yes it should. I will update the doc.  I also see ecschema-metadata is listed twice, so I'll fix that too.

Thanks @pmconne, yes it should. I will update the doc. I also see ecschema-metadata is listed twice, so I'll fix that too.

Thanks - please also add it to leftNav.md.

@pmconne -  Done.


[XML] Escape text values for known xml escape chars

& should become & and the other way around etc.
For both text node and attribute values

Maybe this relates to #65? In theory we can just translate everything to the � unicode symbols.
However maybe we'd like to support well known symbols like & or maybe even allow for registering our own?
We'd probably want to support reading custom symbols anyway?


SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?

Your CrewAI script is saved here: scripts/crewai-autocrew-20240201-095215-A-hypothetical-software-development-comp-gamma.py
File "/mnt/d/interpreter/autocrew/scripts/crewai-autocrew-20240201-095058-A-hypothetical-software-development-comp-alpha.py", line 37
agent_UX/UI_Designer = Agent(
^^^^^^^^^^^^^^^^^^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
File "/mnt/d/interpreter/autocrew/scripts/crewai-autocrew-20240201-095131-A-hypothetical-software-development-comp-beta.py", line 24
agent_UI/UX_Designer = Agent(
^^^^^^^^^^^^^^^^^^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
File "/mnt/d/interpreter/autocrew/scripts/crewai-autocrew-20240201-095215-A-hypothetical-software-development-comp-gamma.py", line 37
agent_UX/UI_Designer = Agent(
^^^^^^^^^^^^^^^^^^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
AutoCrew script finished successfully

Thank you for logging this issue. However, I really need the log file in order to assist.

Fixed under https://github.com/yanniedog/Autocrew/pull/38


Design and CAD Under Carriage Gearbox Mud Shield

The current gearbox design will have the bottom of gearbox unprotected from any mud, dirt, etc and will need a housing to protect it underneath.  Design a 3D printable enclosure that can be attached to the undercarriage to protect the protruding gear.
Consider: attachment points, ground clearance, gear protrusion, base plate area of coverage near gearbox, etc)
CAD design due by 3/25.

Ramiro worked on this

Currently working on Version 2 of the CAD model, which will be slimmer and more compact than V1.


Fragments export for spfjs

via https://twitter.com/Iboong/status/590578078088331264
Concept:
Command like "hugo --spfjs" exports hugo site as fragments suitable for https://github.com/youtube/spfjs

Is this still relevant?

No.
May be this can be achieved via custom theme but did't tried.

This issue has been automatically marked as stale because it has not been commented on for at least four months.
The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still valuable, please open a proposal at https://discuss.gohugo.io/.
This issue will automatically be closed in four months if no further activity occurs. Thank you for all your contributions.

Note/Update: This issue is marked as stale, and I may have said something earlier about "opening a thread on the discussion forum". Please don't.
If this is a bug and you can still reproduce this error on the latest release or the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.


Error when Compiling the final App

Hi,
Using the current master version of the plugin & cordova 6.1.1 we get:
:compileReleaseJavaWithJavac/Users/ematiu/devel/copay/cordova/project/platforms/android/src/com/phonegap/plugins/barcodescanner/BarcodeScanner.java:26: error: package com.google.zxing.client.android does not exist
import com.google.zxing.client.android.Intents;
                                      ^
/Users/ematiu/devel/copay/cordova/project/platforms/android/src/com/phonegap/plugins/barcodescanner/BarcodeScanner.java:173: error: package Intents does not exist
                        intentScan.putExtra(Intents.Scan.CAMERA_ID, obj.optBoolean(PREFER_FRONTCAMERA, false) ? 1 : 0);

when compiling the app.  Thanks a lot in advance!

@matiu, is this still actual?
I could not reproduce this locally.

Yes, we try in different notebook, all running OSX Lion.  Please let me know if there is anything we can do to try it further. Thanks!

The issue does not reproduce for me on OSX as well (tried on Yosemite 10.10.5).
Are you using crosswalk plugin?
Does the app build if you remove the barcodescanner?

Thanks for your response.
Yes. It builds OK with the fork we are using currently:
    cordova plugin add https://github.com/jrontend/phonegap-plugin-barcodescanner

the code of the app and the cordova script to build it  is at:
https://github.com/bitpay/copay/blob/master/cordova/build.sh#L87
(you can see there the other plugins we are using).
thanks a lot!

@matiu, that's strange as the JrontEnd' commit has been merged to master.
Are you sure you were testing with the current master version?
Could you try please again cordova plugin add https://github.com/phonegap/phonegap-plugin-barcodescanner?

Did you have any luck tracking this down? I'm having exactly the same problem on PhoneGap Build using version 5.0.1 of the plugin from npm.

Oops, never mind, I RTFM'd: https://github.com/phonegap/phonegap-plugin-barcodescanner#phonegap-build


Allow to pass relative url as config

Currently when passing something like '/unleash' into the config an error is thrown.
new UnleashClient({
  url: '/unleash',
})

Throws:
TypeError [ERR_INVALID_URL]: Invalid URL
    at new NodeError (node:internal/errors:371:5)
    at onParseError (node:internal/url:552:9)
    at new URL (node:internal/url:628:5)
    at new UnleashClient (node_modules/unleash-proxy-client/build/index.js:121:21)

https://github.com/Unleash/unleash-proxy-client-js/blob/main/src/index.ts#L123

Thanks for this suggestion, I'll bring it up with the team.

@wodka
The upcoming support for URL instances in config objects can help when using paths, though a base is still required:
new UnleashClient({
  url: new URL('/unleash', document.baseURI),
})

We could perhaps do this automatically for relative URL strings, but not sure if necessary.


Freeze after suspend/sleep - Godot 4.0 Alpha 2 - Ubuntu 20.04.1, GeForce GTX 1660 Ti, nvidia-driver-470, Vulkan

Godot version
v4.0.alpha.custom_build [79077e6c1]
System information
Ubuntu 20.04.1, GeForce GTX 1660 Ti, nvidia-driver-470, Vulkan
Issue description
With a fresh alpha 2 build on Ubuntu 20.04.1, Godot Editor always freezes after putting the system to sleep (suspend) and then logging back in. This is with a new and empty project. Please see the steps to reproduce.
The following error messages came out:
ERROR: Vulkan: Did not create swapchain successfully.
at: prepare_buffers (drivers/vulkan/vulkan_context.cpp:1880)
ERROR: Condition "err" is true. Returning: ERR_CANT_CREATE
at: swap_buffers (drivers/vulkan/vulkan_context.cpp:1956)
Steps to reproduce
To reproduce: Download Godot 4.0 Alpha 2 tarball. Extract and cd into root of contents and run scons -j8 platform=x11. Run Godot editor with a new empty project. Put Ubuntu to sleep (suspend). After logging back in, Godot editor is frozen every time. The godot process must be killed to fix it.
Minimal reproduction project
New and empty project.

Duplicate of https://github.com/godotengine/godot/issues/52738.


Worked on the fetch all sub accounts and get transaction

Have worked on the Issue Fetch all sub account and Get Transaction
And also made some changes in the ApiTests. When you run the unit test; It will run successfully without errors

Noted. I will flow all the procedure enlisted


Replace quote image with silhouette in 2-column layout

See the figma for the proper design

I think this has been fixed already in https://github.com/getAlby/nostr-wallet-connect-next/pull/380


Reference CCDA Startup

When looking at the referenceccdaservice.date.log file I am receiving the following error when the 1.0.39 version of the war file is loaded.
ERROR [VocabularyLoadRunner:107] Failed to load configured vocabulary directory.
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'VSAC_SAVE' is defined
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:698)

Nevermind.  figured it out.  I had created another directory along with VSAC.  This is what it was complaining about.


Add ability to not include host and/or build dependencies

Problem description
It would be nice to be able to not include host dependencies and build dependencies into the environment.
Maybe something like pixi install --no-include-host-dependencies
This would enable a use case where you want to have a prod environment without host dependencies
[dependencies]
python = ">=3.12"
pip = "*"

[tasks]
start = "uvicorn"

[host-dependencies]
hatchling = "*"

[feature.test.dependencies]
pytest = "*"

[feature.wheel.dependencies]
build = "*"
[feature.wheel.tasks]
build-wheel = "python -m build --no-isolation" # use hatchling from pixi env

[environments]
default = ["test"]
prod = []

in production docker container:
$ pixi run build-wheel
$ pixi install -e prod --no-include-host-dependencies
# not sure if we should still install this into the same location as if we would do with `pixi install -e prod`?
$ pixi run -e prod pip install dist/my-package.whl
$ pixi run -e prod start

Maybe we could also leverage rip to remove pip from the runtime dependencies and be able to install the wheel on top?

I might just be missing something, but couldn't this already be handled by multi-envs? Eg,
[dependencies]
python = ">=3.12"
pip = "*"

[tasks]
start = "uvicorn"

[feature.test.dependencies]
pytest = "*"

[feature.build.dependencies]
build = "*"
hatchling = "*"

[feature.build.tasks]
build-wheel = "python -m build --no-isolation" # use hatchling from pixi env

[environments]
default = ["test", "build"]
prod = []

Yes, you're right. But for my use-case, I want to keep the semantic information what is a host-dependency s.t. other tools can also use this information. (I'm planning a tool that keeps your recipe.yaml for rattler-build in sync with the pixi.toml). Also I would like to actually use the host-dependencies with what they were intended for 😅

Ah, fair enough! 🙂

Closing this in favor of the pixi build work which will most-likely reignite the use of the tables.


Healthcheck: CPU interrupts

Implement in node service monitor action
Checks the number of interrupts per second. If higher than expected an error condition is thrown.
Currently throws:

WARNING if more than 8K interrupts/s
ERROR if more than 10K interrupts/s
Result will be shown in the "System Load" section of the Grid Portal / Status Overview / Node Status page.

See https://github.com/0-complexity/selfhealing/blob/master/jumpscripts/healthchecks/cpu_interrupts_check.py

software version
master : 4768508


Make tsdoc.json visible from upper directories

I have a single project split in various pieces, each in a subdirectory of the project top directory.
Currently, to use typedoc and eslint-plugin-tsdoc, I need to copy the configuration file tsdoc.json in each subdirectory.
Is it possible to have the above mentioned tools "climb" the directory hierarchy till a tsdoc.json file is found?
Thanks!
mario

Non nice, but solved.
I put the common tsdoc.json file in the upper project directory.
Then in each subdirectory I put a tsdoc.json file with this content:
{
	"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
	"extends": ["../tsdoc.json"]
}


[FX-4986] throw error when there are uncommitted changes in the yarn.lock

FX-4986
Description
throw an error when there are uncommitted changes in the yarn.lock
We tested that removing --frozen-lockfile flag has the same functionality, but updating the log file.
Tested scenarios:

When we downgrade the library from v9 to v8 and run it with the flag, the lock file is not updated and in node modules, we have v8
When we have in package.json ^8.0.0, in the lock file we have 8.0.2, and in npm, there is version 8.0.4, after both installations, we still have 8.0.2 installed and yarn.lock is not updated. Even if we remove node_modules.
We tested that --frozen-lockfile is not throwing the expected error, it is a known issue that is fixed in version 2+ and will not be backported to v1
In the test run we can see in git diff that even in CI only expected changes appeared in yarn.lock

How to test

check the test in the Staff Portal https://github.com/toptal/staff-portal/actions/runs/8661460851/job/23751676808

Development checks

[x] Add changeset according to guidelines (if needed)

PR commands

List of available commands:

@toptal-anvil ping reviewers - Ping FX team for review

@toptal-anvil ping reviewers

@toptal-anvil ping reviewers

@sashuk I think it was a bug that it was not working.
Also as I understand it, the flag is not working only in the workspace environment, so if some normal project is using the action, it would stop working for them.
And, yes, I will be updating github actions in staff portal and will remove the check

@TomasSlama Thank you!


How to measure average value with HX711_ADC library!

Hi All,
I am using this library to measure weight with a jar as the values are not constant, it is fluctuating so I want to measure average value of the jar and send it to AWS. Also, I want to measure the average value between 500ms and 1s after that the last value will be send to cloud. I don't care about the samples, how many samples it will take between 500ms and 1s.
Any help or suggestions would be appreciated!
Thanks,
Yatin

Hi!
The library is calculating an average value already. You can increase the number of samples in tha dataset by changing the value of SAMPLES in the config.h file. Also be sure to set your HX711 to the 10 SPS setting (ref data sheet).

I’m closing this issue because it has been inactive for some time.
Please reopen if you still encounter this issue with the latest version.
Thank you!

Hi @olkal I will test it and update you!


Entity pre-processing wildcard integration

A pre-processing statement should use the wildcards declared at the entity step. The default behaviour will be overlap.
Incompatible wildcards (Literal and Direct) will override and disable the pre-processing statement for that rule.

There is more to update than just this; I will come back to this later and explain.


TSS-2214-trs-dbt-migration-setup-environment-variables-to-be-compatible-with-dbt-platform

Codecov Report
Attention: Patch coverage is 89.34010% with 21 lines in your changes missing coverage. Please review.

Project coverage is 56.14%. Comparing base (e137f9a) to head (ffd5496).

Files with missing lines
Patch %
Lines

trade_remedies_api/config/env.py
58.82%
14 Missing :warning:

trade_remedies_api/config/cf_env.py
97.02%
3 Missing :warning:

trade_remedies_api/config/gunicorn.py
0.00%
3 Missing :warning:

trade_remedies_api/config/settings/base.py
98.30%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #486      +/-   ##
==========================================
+ Coverage   55.81%   56.14%   +0.33%
==========================================
  Files         213      215       +2
  Lines       12515    12647     +132
  Branches     1632     1481     -151
==========================================
+ Hits         6985     7101     +116
- Misses       5529     5546      +17
+ Partials        1        0       -1

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


gitrob configure failing with bad URI

Hi.
gitrob configure
|| | ___ | |
| . | |  |  | . | . |
|  ||| || |||
|__| By @michenriksen
[] Starting Gitrob version 1.1.0 at 2016-04-17 12:21 NZST
[] Starting Gitrob configuration wizard
Enter PostgreSQL hostname: |localhost|
Enter PostgreSQL port: |5432|
Enter PostgreSQL username: |gitrob|
Enter PostgreSQL password (masked): xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Enter PostgreSQL database name: |gitrob|
Enter GitHub access tokens (blank line to stop):

[] Saving configuration to /root/.gitrobrc done
[] Loading configuration... done
[*] Preparing database... failed
[!] URI::InvalidURIError: bad URI(is not URI?): postgres://gitrob:o[7&MI).@c@localhost:5432/gitrob

postgresql is running on localhost and listening on 5432

ss -ant
State      Recv-Q Send-Q                                            Local Address:Port                                                           Peer Address:Port
LISTEN     0      128                                                   <IP_ADDRESS>:5432                                                                      :
ESTAB      0      0                                                     :42772                                                         <IP_ADDRESS>:443
CLOSE-WAIT 1      0                                                     :39326                                                         <IP_ADDRESS>:443
CLOSE-WAIT 1      0                                                     :40460                                                       <IP_ADDRESS>:443
CLOSE-WAIT 1      0                                                     :39236                                                        <IP_ADDRESS>:443
CLOSE-WAIT 1      0                                                     :40458                                                       <IP_ADDRESS>:443
CLOSE-WAIT 0      0                                                     :40464                                                       <IP_ADDRESS>:443
CLOSE-WAIT 290    0                                                     :40514                                                       <IP_ADDRESS>:443
CLOSE-WAIT 0      0                                                     :40462                                                       <IP_ADDRESS>:443
CLOSE-WAIT 0      0                                                     :40466                                                       <IP_ADDRESS>:443
CLOSE-WAIT 1      0                                                     :47948                                                        <IP_ADDRESS>:443
ESTAB      0      0                                                     :38170                                                         <IP_ADDRESS>:443
CLOSE-WAIT 13     0                                                   :46696                                                          :445
CLOSE-WAIT 290    0                                                     :40512                                                       <IP_ADDRESS>:443
LISTEN     0      128                                                         ::1:5432                                                                     :::*
CLOSE-WAIT 171    0                                                           ::1:34786                                                                   ::1:5432
ESTAB      0      0                                                           ::1:5432                                                                    ::1:37390
ESTAB      0      0                                                           ::1:37390                                                                   ::1:5432

I guess the problem is because the postgresql password contains an @ sign, which causes the connection URI (postgres://<username>:<password>@<host>:<port>/<database>) to be invalid.
I'll look into a way to escape @ signs when constructing the connection URI. In the meantime, you can fix it by removing it from the password.

That's it. Didn't recognise the password due to being in a password database which allows me to never have to look at them.


Newbie

Hii @gauravsingh1281 , I am very new to programming and open source can you assign me some task

Kindly assign it to me i would love to work on this issue.

Can you assign any task to me? It would be great to contribute to your project!! I'm in GSSoC24

Hey @rahmathkhasim @mrvishalsharma01 @Codewithmeowmeow, go through the project, and if you find any issues, raise them. I will assign them to you on a first-come, first-served basis.


When integrated with mybatis-guice, java.lang.ClassNotFoundException: com.google.inject.AbstractModule

https://stackoverflow.com/questions/71909137/java-lang-classnotfoundexception-com-google-inject-abstractmodule-not-found-by
Here's my question on the stackoverflow.
Is there anyone who can tell me if I misconfigured it or if it's a bug?
Thank you in advance for your response.

import package and
After defining the export package in more detail, it started to work well.
That was my problem Close the issue


docs: add changelog.md path example to actor config

Please check that the behavior is the same as for readme so this is actually a valid description

looks like this one got forgotten, @metalwarrior665 can you please rebase and merge?


"You cannot change the value of the SystemId field" - when using SetPosition

We're passing the source record of a list page to a function as a VAR parameter. The code is something like this:
procedure (var OurRecord: Record "Our Table");
var
Position: Text;
View: Text;
begin
Position := OurRecord.GetPosition();
View := OurRedcord.GetView();
OurRecord.SetRange("Some Field or Other", SomeValue);
OurRecord.FindSet();
repeat
//something wonderful happens in here...but isn't relevant to the issue
until OurRecord.Next() = 0;
OurRecord.SetRange("Some Field or Other");
OurRecord.SetView(View);
OurRecord.SetPosition(Position);
end;
We use the method to draw a chart from the records on the page (we need to group the data first before drawing the chart) but then returning the record to the page with the same filters and active record as it had originally.
This function is throwing the error "You cannot change the value of the SystemId field".

Hi! Please take a minute to read the guidelines for this repository https://github.com/microsoft/AL and our collection of frequently asked questions https://github.com/Microsoft/AL/wiki/frequently-Asked-Questions .
As this repository is only for issues related to the AL compiler in latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.


Adding go-to-definition support to ruff server

Hi,
I'd like to add support for go-to-definition to the ruff server. I've had a play round and have a (very limited) proof of concept working. It can currently go to the definition when that definition is in the same file (so imported symbols just go to the import statement).
I'm happy to finish this feature and help with any maintenance if it fits with the project's goals and timelines, but before making it feature complete I've got a few questions:

I see that it's mentioned as a desired feature in the roadmap discussion, but mostly in relation to the "red-knot" project. Would you accept a PR that works with the existing codebase, before that rewrite is complete?
What I currently have might still provide some value to users, even without being able to jump to a definition that's in another module. Is this something that you'd consider merging as-is, with the possibility to add more functionality later?
I have some ideas about how I might extend my branch to support definitions from other modules using existing code in the repository.

Given my general unfamiliarity with the codebase, it's possible I've missed some showstoppers. Is there anything that you can think of there?
The most straightforward way of resolving imports seems to be to use the ruff_python_resolver. I see that it's somewhat experimental and isn't currently integrated with the rest of the codebase. Is that a blocker?

Thanks!

Hey Jamie, thanks for opening this issue and providing your thoughts on this specific feature.
I appreciate you spending the time in understanding the codebase and implementing this feature but I'm not sure if this is going to be useful with the limitation that it can only resolve symbols within the same module. I think a lot of times the symbols will be coming from another module where this won't work.
Currently, we recommend using another language server which can provide other capabilities like goto definition along with using the Ruff language server (for example, Pyright). This means that the goto definition request will be sent to the second language server because Ruff doesn't advertise it's support for it. If we start doing that in a limited manner, then the user experience will be limited. I'm also unsure of how the client will handle the two different responses to the same request, the responses will be different when the symbol is in a different module.
There's also additional context in https://github.com/astral-sh/ruff/pull/13883 which implements the same capability using red-knot.

Hey Dhruv,
Thanks for your reply, and thanks for the link to the PR adding this functionality to red-knot. As that is further along than my effort I'll close this issue.


No tri-state output when assigning 1'bz

I have the following .v file:
module tritest(
        output my_tri_out,
        inout my_tri_inout,

        input my_in0,
        input my_in1
        );

        assign my_tri_out = 1'bz;

        assign my_tri_inout = my_in0 ? my_in1 : 1'bz;

endmodule

This generates the following .blif:
.model tritest
.inputs my_in0 my_in1
.outputs my_tri_out my_tri_inout
.names $false
.names $true
1
.names $undef
.gate $_TBUF_ A=my_in1 E=my_in0 Y=my_tri_inout
.attr src "tristate.v:12"
.names $undef my_tri_out
1 1
.end

When running this through arachne, I get this:
# arachne-pnr 0.1+284+0 (git sha1 05ea734, g++ 5.4.0-6ubuntu1~16.04.9 -O2)
.model tritest
.inputs my_in0 my_in1
.outputs my_tri_out my_tri_inout
.names $undef
.gate SB_IO PACKAGE_PIN=my_in0 LATCH_INPUT_VALUE= CLOCK_ENABLE= INPUT_CLK= OUTPUT_CLK= OUTPUT_ENABLE= D_OUT_0= D_OUT_1= D_IN_0=my_in0$2 D_IN_1=
.param PIN_TYPE 000001
.gate SB_IO PACKAGE_PIN=my_in1 LATCH_INPUT_VALUE= CLOCK_ENABLE= INPUT_CLK= OUTPUT_CLK= OUTPUT_ENABLE= D_OUT_0= D_OUT_1= D_IN_0=my_in1$2 D_IN_1=
.param PIN_TYPE 000001
.gate SB_IO PACKAGE_PIN=my_tri_inout LATCH_INPUT_VALUE= CLOCK_ENABLE= INPUT_CLK= OUTPUT_CLK= OUTPUT_ENABLE=my_in0$2 D_OUT_0=my_in1$2 D_OUT_1= D_IN_0= D_IN_1=
.param PIN_TYPE 101001
.gate SB_IO PACKAGE_PIN=my_tri_out LATCH_INPUT_VALUE= CLOCK_ENABLE= INPUT_CLK= OUTPUT_CLK= OUTPUT_ENABLE= D_OUT_0=$undef D_OUT_1= D_IN_0= D_IN_1=
.param PIN_TYPE 011001
.end

This issue is with the my_tri_out pin: instead of having an SB_IO with PIN_TYPE 101001 with OUTPUT_ENABLE  strapped to 0, it has an output-always-active SB_IO with PIN_TYPE 011001.
Yosys is very clear about limited support for tri-state, but the Reddit comment here made me think that things would be fine for a full iceStorm flow, and projects like BlackIce-II have these kind of unsupported 1'bz assignments in their examples everywhere.
The minimal purpose of filing this issue is to have it documented so that it shows up for others when they google about it, but the better solution would be for Yosys to output something like this instead:
.gate $_TBUF_ A=$undef E=$false Y=my_tri_out

Tom

I was looking into tristate support and stumbled across this bug; out of curiosity I figured a fix wouldn't be hard for an issue like this (which seems important), after looking around a bit, I stumbled across the long lost insbuf pass which almost does what we want with a small bit of fiddling:
diff --git a/passes/techmap/insbuf.cc b/passes/techmap/insbuf.cc
index a3b5b698..27fc509f 100644
--- a/passes/techmap/insbuf.cc
+++ b/passes/techmap/insbuf.cc
@@ -36,6 +36,10 @@ struct InsbufPass : public Pass {
                log("        Use the given cell type instead of $_BUF_. (Notice that the next\n");
                log("        call to \"clean\" will remove all $_BUF_ in the design.)\n");
                log("\n");
+               log("        If the celltype is $_TBUF_, <in-portname> must be A, <out-portname>\n");
+               log("        must be Y, and a disabled tri-state buffer will be inserted on all\n");
+               log("        high-impedance outputs.\n");
+               log("\n");
        }
        void execute(std::vector<std::string> args, RTLIL::Design *design) override
        {
@@ -51,6 +55,10 @@ struct InsbufPass : public Pass {
                                celltype = RTLIL::escape_id(args[++argidx]);
                                in_portname = RTLIL::escape_id(args[++argidx]);
                                out_portname = RTLIL::escape_id(args[++argidx]);
+                               if (celltype == ID($_TBUF_)) {
+                                       if (in_portname  != ID::A) log_error("<in-portname> must be 'A' for $_TBUF_ cell");
+                                       if (out_portname != ID::Y) log_error("<out-portname> must be 'Y' for $_TBUF_ cell");
+                               }
                                continue;
                        }
                        break;
@@ -70,13 +78,27 @@ struct InsbufPass : public Pass {
                                        SigBit lhs = conn.first[i];
                                        SigBit rhs = conn.second[i];

+                                       auto inserting_tbuf = celltype == ID($_TBUF_);
+                                       auto hiz_input = rhs == State::Sz;
+
                                        if (lhs.wire && !design->selected(module, lhs.wire)) {
                                                new_conn.first.append(lhs);
                                                new_conn.second.append(rhs);
                                                continue;
                                        }

+                                       if (inserting_tbuf && !hiz_input) {
+                                               // avoid cases e.g. where an input is tied
+                                               // directly to an output, which will have a buffer inserted
+                                               new_conn.first.append(lhs);
+                                               new_conn.second.append(rhs);
+                                               continue;
+                                       }
+
                                        Cell *cell = module->addCell(NEW_ID, celltype);
+                                       if (inserting_tbuf) {
+                                               cell->setPort(ID::E, State::S0);
+                                       }
                                        cell->setPort(in_portname, rhs);
                                        cell->setPort(out_portname, lhs);
                                        log("Added %s.%s: %s -> %s\n", log_id(module), log_id(cell), log_signal(rhs), log_signal(lhs));

This does require running insbuf however after your synth pass, which isn't done by default; insbuf -buf $_TBUF_ A Y should do the trick on your example, and the output .blif is what you expect: .subckt $_TBUF_ A=$undef E=$false Y=tri_FIXME is what I see for a hi-z output.
Of course I doubt this is the right solution that could go upstream; for example, I figured iopadmap might be the better place to do this, but this pass isn't used on either ecp5 or ice40 by default (my only interested targets, and only ecp5 even then), and I figured that was probably for a reason. I'm not sure what a more correct fix would look like since I'm relatively unfamiliar with the code, but I'd be willing to take a stab at it, unless this actually leads down some dark and endless pit of trouble.


[0.7.x] BZ1323878: [GSS] (6.2.z) AsyncWatchService dies when a RuntimeException is thrown from IOWatchServiceExecutorImpl.execute()

See https://bugzilla.redhat.com/show_bug.cgi?id=1323878
(cherry picked from commit f70ef4c059d312db1fc07692fb845fd703f3f82b - BZ1323572)
This is the corollary of https://github.com/uberfire/uberfire/pull/343 for 0.7.x.

Jenkins please retest this.

The test is failing because Jenkins runs with JDK1.8 whereas the 0.7.x branch needs JDK<1.8.
If you merge this manually you can compile with JDK1.7 and the tests pass OK.
@psiroky I don't suppose there's much we can do re: changes to 0.7.x need JDK1.7?

I can create different job for 0.7.x and 0.8.x which will use JDK 7 (similar as we have for kie repos). Will look at that this week.

+1

@manstis thanks


parent label on Treemap

How to show parent node label in the center of the parent rectangle along with its children node's title at their center?
Seem the parent title is under children's rectangle. And if I set children node opacity to be 1, parent title could not be seen. It can be seen if children opacity is set something like 0.6. However it is not a good solution.
Thanks

I am facing the same problem. Its almost as if all the labels except the leaves get irrelevant and only the children get shown on the UI (as leaves override the parent name)

I am having the same question, anyone has a solution yet?


[BUG] Wormhole jumps to/from tradehubs should not be tracked

If a pilot is podded to a tradehub system such as jita, Pathfinder tracks this as a wormhole jump. It should not because tradehubs cannot be the start or end point of a wormhole.

Ref: https://github.com/goryn-clade/pathfinder/blob/master/app/Controller/Api/Map.php#L924-L965


Write the Wave 2 high level plan

This is identifying the features and functionality we want to deliver in Wave 2, not the gory detailed specs.

And this includes filing work items for the specific specs that we need for M2 and putting in their costs.


Incorrect custom icon example

Hi Team,
Thanks for this great documentation. I have just only found one problem trying to apply a custom icon.
The current code contains the iconUrl within two inner data objects, which should be only one. I have tested this way and it works.
Incorrect current code:
{
"title": "Welcome",
"body": "Welcome to the world of app notifications!",
<EMAIL_ADDRESS>"/systemusers(" + systemuserid + ")",
"icontype": 100000005, // custom
"data": "{ 'data': { 'iconUrl': '/WebResources/cr245_AlertOn' } }"
}
Correct code:
{
"title": "Welcome",
"body": "Welcome to the world of app notifications!",
<EMAIL_ADDRESS>"/systemusers(" + systemuserid + ")",
"icontype": 100000005, // custom
"data": "{ 'iconUrl': '/WebResources/cr245_AlertOn' } "
}

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

ID: f495f03e-28c9-0ebb-ef03-72e16b267b3a
Version Independent ID: a9dcec59-8b72-966e-fa53-f4b2e42d325e
Content: Send in-app notifications within model-driven apps (preview) - Power Apps
Content Source: powerapps-docs/developer/model-driven-apps/clientapi/send-in-app-notifications.md
Service: powerapps
Sub-service: mda-developer
GitHub Login: @aorth
Microsoft Alias: nabuthuk

Thanks for contacting us. We have updated the docs and pushed it live. Closing the issue. If you need further help, please reopen or create a new issue.


Remove contact.html dependency on global mode

We pass the mode a specific uproxy-contact is being used for into the
element, use this mode when deciding how a contact should appear.
This is in support of #2556 and indirectly #1900 (Polymer 1.0)

This change is

Thanks for removing dependencies on global stuff!!
I have some comments, but they don't need to block this submission.
Sorry for the delay in reviewing it. I am not set up to get proper notifications of PR assignments. Please let me know if you have any tool or suggestions.

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

src/generic_ui/polymer/contact.ts, line 36 [r1] (raw file):

    }

    if (this.mode == ui_constants.Mode.SHARE) {

The code mode == ui_constants.Mode.SHARE|GET is repeated in multiple places here and in the html file. I'd suggest putting that in isSharer() and isGetter() methods, though it doesn't need to block this change. (I'd actually prefer "isProvider" and "isConsumer", since "getter" is an overloaded word, but I'm not sure how others fell about that)

src/generic_ui/polymer/contact.ts, line 203 [r1] (raw file):

    this.ui = ui_context.ui;
    this.ui_constants = ui_constants;
    this.model = ui_context.model;

Is model still needed?

Comments from Reviewable

:+1:

No worries at all, <24 hours is generally considered to be pretty good for this team actually.
I have emails from Github that include me in the to field appear in my Inbox while the others skip it, not sure if that's exactly what you're going for though.
Anyways, PTAL?

Review status: 0 of 2 files reviewed at latest revision, 3 unresolved discussions, some commit checks pending.

src/generic_ui/polymer/contact.ts, line 36 [r1] (raw file):
Previously, fortuna (Vinicius Fortuna) wrote…
> The code `mode == ui_constants.Mode.SHARE|GET` is repeated in multiple places here and in the html file. I'd suggest putting that in `isSharer()` and `isGetter()` methods, though it doesn't need to block this change. (I'd actually prefer "isProvider" and "isConsumer", since "getter" is an overloaded word, but I'm not sure how others fell about that)

I like the change, made them `computed` properties that we use in `contact.html` as well.
Done.

src/generic_ui/polymer/contact.ts, line 203 [r1] (raw file):
Previously, fortuna (Vinicius Fortuna) wrote…
> Is `model` still needed?

Unfortunately yes.  It's used for `model.onlineNetworks.length`

Comments from Reviewable

Reviewed 1 of 2 files at r2.
Review status: 1 of 2 files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.

src/generic_ui/polymer/contact.ts, line 36 [r1] (raw file):
Previously, jpevarnek (Jonathan Pevarnek) wrote…
> I like the change, made them `computed` properties that we use in `contact.html` as well.
>
> Done.

Thanks for making the changes in this CL. It also made the HTML more readable.

src/generic_ui/polymer/contact.ts, line 203 [r1] (raw file):
Previously, jpevarnek (Jonathan Pevarnek) wrote…
> Unfortunately yes.  It's used for `model.onlineNetworks.length`

I'm not yet familiar with Polymer, so for my education, how do you decide to put the `isGetter` in the `computed` field rather than setting a field in the `created` function? (we can discuss offline)

Comments from Reviewable

Review status: 1 of 2 files reviewed at latest revision, all discussions resolved, all commit checks successful.

src/generic_ui/polymer/contact.ts, line 203 [r1] (raw file):
Previously, fortuna (Vinicius Fortuna) wrote…
> I'm not yet familiar with Polymer, so for my education, how do you decide to put the `isGetter` in the `computed` field rather than setting a field in the `created` function? (we can discuss offline)

If we put it into the `ready` function, we'd check the value when the element is created and never again.  `computed` will let us look for updates.  In this case, we'll never see those updates since it stays fixed, but it's a possibility.  Either way, very little overhead.

Comments from Reviewable


example in readme not working.

Example in  the readme gives compile error.
Error in ./src/App.js Syntax error: C:/data/projects/test-admin/src/App.js: 'this' is not allowed before super()   10 | class App extends Component {
11 |   constructor() {

12 |     this.state = {
|     ^
13 |       widgets: {
14 |         WordCounter: {
15 |           type: CounterWidget, @ ./src/index.js 13:11-27

class App extends Component {
constructor() {
super();
this.state = {
widgets: {
WordCounter: {
type: CounterWidget,
title: 'Counter widget',
}
},
layout: {
rows: [{
columns: [{
className: 'col-md-12',
widgets: [{key: 'WordCounter'}],
}],
}],
}
};
}
render() {
return
}
}
Could you please try adding super() call. I'll update the docs.
Also have a look at the starter kit example here.


Error getting billing invoices

Checklist

[* ] The bug is reproducible against the latest release and/or main.
[ *] There are no similar issues or pull requests to fix it yet.

Describe the bug
I'm getting the following error while trying to retrieve the billing invoices:
billings = self.client.get_billing_invoices()

File "/usr/local/lib/python3.10/dist-packages/iec_api/iec_client.py", line 294, in get_billing_invoices
return data.get_billing_invoices(self._token, bp_number, contract_id)
File "/usr/local/lib/python3.10/dist-packages/iec_api/data.py", line 206, in get_billing_invoices
return _get_response_with_descriptor(token, GET_BILLING_INVOICES.format(bp_number=bp_number,
File "/usr/local/lib/python3.10/dist-packages/iec_api/data.py", line 72, in _get_response_with_descriptor
raise IECError(login_error_response.code, login_error_response.error)
iec_api.models.exceptions.IECError: (Code 401): You're not authorized to this action!
To reproduce
call the client.get_billing_invoices() function
Expected behavior
Return list of invoices
Actual behavior
Returning Error

Should be fixed in 0.1.6


Add e2e

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

[x] Use kind to deploy test environment
[ ] Will add more testing cases

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

@Daniel-Fan This PR is ready. Please review it.
We can add more test cases afterwards.


[quadtree] Update quadtree to version 2022-04-24

Describe the pull request

What does your PR fix?

Update quadtree to version 2022-04-24

Which triplets are supported/not supported? Have you updated the CI baseline?

No change to triplet support, tested on x64-windows

Does your PR follow the maintainer guide?

Yes
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Thanks for your PR. It is recommended that you replace the deprecated function: vcpkg_configure_cmake -> vcpkg_cmake_configure

Done. I also added the license.

Thank you!


Gitlab Subgroups are not supported

in gitlab you can have subgroups like group/subgroup/subgroup2/project
currently the --package switch only allow the format group_or_user/project

Support was added in 1.6.0.


Run, calculator decimal point

ℹ Computer information

PowerToys version: 0.29.3
PowerToy utility:
Language:Run

The calculator feature on Run uses decimal point . instead of local setting of decimal point. Num-block provides localized sign (German ,) , so entering a decimal is odd, because the point needs to be picked from normal kbd.

@lscheffler
update to 0.31.2


Pulling from remote failed

[I'm supposed to describe steps to replicate my issue here and if I don't do that, I understand that my issue will be probably ignored.]

Brackets 1.1.0-15558 (win), Git 1.9.5.msysgit.0 & Brackets-Git 0.14.9
Pulling from remote failed
Error: cmd-spawn-timeout: C:\Program Files (x86)\Git\cmd\git.exe merge origin/master

call: git merge origin/master
Error: cmd-spawn-timeout: C:\Program Files (x86)\Git\cmd\git.exe merge origin/master
    at timeoutPromise (file:///C:/Users/bielermi/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-git/src/Cli.js:212:27)
    at file:///C:/Users/bielermi/AppData/Roaming/Brackets/extensions/user/zaggino.brackets-git/src/Cli.js:266:29

I'm connected via VPN to my work. On that maschine is my git-repository stored. My speed is about 7000 kbit/s so is think it should be allright. What's the matter? Is it still to slow to get allways a timeout-error?

I have no idea, you can try to execute the same command from command line (git.exe merge origin/master) to see how long it really takes.

I tried that allready. It takes about 3 minutes for a pullws but it works. If it takes a few minutes that's not really a problem. My problem is the cmd-spawn-timeout that comes from brackets-git.
The command 'git merge origin/master' that created this issue needs only a few seconds in the console.

I'll put in a configurable timeout time to the settings, that should solve it, you can set it to an hour if you want :)

WOW. That should solve the problem.

How can I get your changes? Today I reinstalled your Extension but still can't find this setting. What am I doing wrong?

hi @bielermi , it's not there yet, i'll try to get this done by the end of the week

Brackets Git updated to version 0.14.10.

Thanks a lot!!! That should do the trick.


missing integration tests for create_stemcell and delete_stemcell actions

The create_stemcell and delete_stemcell actions are missing integration tests.
Tracker story [#104026530]

@karafelix, I believe these were added. Correct?
I am closing. If that's not the case then let's reopen.


Riot's F-Droid page should include link to changelog

I've added a changelog entry to the metadata (see https://f-droid.org/repository/browse/?fdcategory=Internet&fdid=im.vector.alpha&fdpage=6)


Date to 2020

https://github.com/geneontology/amigo/issues/586

I think that's the only place to change ?

As sez on box.

Cheers!


fix: use ConstantStringType when constructing enum type

[x] Added or updated tests

Closes #1986
Thanks!

Thank you!


How to pass an onClick event to tabs?

Hi Metal team,
I'm having trouble determining how to pass an onClick event to each tab.
Looking through both the demo, and the source, I don't see how I can pass an OnClick event to any of the tabs. Either in the tabs object array, or when declaring the component.
I've added the tabs as an array of objects
[{label: 'test', onClick: this.handleOnClick}]
^ This doesn't work.
<Tabs  tabs={tabs} onClick={this.handleOnChange} />
^This doesn't work

Hey @ssmith353,
From what I can see, try using onClickItem and see if it works for you.
If it helps, metal allows you to attach event listeners to the root element:
new metal.Tabs({
	events: {
		click: fn
	}
});


Prometheus

Motivation for this change
adding default option values to relabel_config as it is documented here:
https://prometheus.io/docs/operating/configuration/#<relabel_config>
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

🙈


Support pattern for String fields

Is your feature request related to a problem? Please describe.
Currently there is no way to enforce a pattern on a string field similar to the pattern regex field in the Swagger 2.0 spec.
Describe the solution you'd like
String fields could use a new .Pattern() to supply a regex and enforce a pattern on string fields. I think fields of other types would just ignore this helper?
This could look something like the following (I didn't show it below, but could also add Pattern to the Parameter/JsonSchema structs so that field also gets included in the swagger):
Let me know what you think. If you accept PRs, I could also try to put something together after the holiday week.
// Field allows specification of swagger or json schema types using the builder pattern.
type Field struct {
	kind        string
	obj         map[string]Field
	max         *float64
	min         *float64
	// TODO: New pattern field
	pattern     *regexp.Regexp
	required    *bool
	example     interface{}
	description string
	enum        enum
	_default    interface{}
	arr         *Field
	allow       enum
	strip       *bool
	unknown     *bool
}

...

var (
	errRequired     = fmt.Errorf("value is required")
	errWrongType    = fmt.Errorf("wrong type passed")
	errMaximum      = fmt.Errorf("maximum exceeded")
	errMinimum      = fmt.Errorf("minimum exceeded")
	errEnumNotFound = fmt.Errorf("value not in enum")
	errUnknown      = fmt.Errorf("unknown value")
	// TODO: New Error
	errPattern      = fmt.Errorf("value does not match pattern")
)

...

	case string:
		if f.kind != KindString {
			return errWrongType
		}
		if f.required != nil && *f.required && v == "" && !f.allow.has("") {
			return errRequired
		}
		if f.max != nil && len(v) > int(*f.max) {
			return errMaximum
		}
		if f.min != nil && len(v) < int(*f.min) {
			return errMinimum
		}
		// TODO: This would be a new check
		if !f.pattern.MatchString(v) {
			return errPattern
		}

...

// Pattern specifies a regex pattern value for this field
func (f Field) Pattern(pattern string) Field {
	f.pattern = regexp.MustCompile(pattern)
	return f
}

PRs are absolutely welcome!
Any missing swagger features/validations would be great. Just remember to write some tests because refactoring is prone to breaking things.


Primitives3DLayout.place_3d_component() does not allow z-displacement

Description of the feature
We need to implement z-displacement when placing 3D components to place components without intersecting existing geometry.
Steps for implementing the feature
Native API Syntax to set z-position. Needs to be added to the method.
oProject = oDesktop.GetActiveProject()
oDesign = oProject.GetActiveDesign()
oEditor = oDesign.SetActiveEditor("Layout")
oEditor.ChangeProperty(
	[
		"NAME:AllTabs",
		[
			"NAME:BaseElementTab",
			[
				"NAME:PropServers",
				"92"
			],
			[
				"NAME:ChangedProps",
				[
					"NAME:Location",
					"X:="			, "-0.8mm",
					"Y:="			, "0mm",
					"Z:="			, "0.6285mm"
				]
			]
		]
	])

Useful links and references
No response

@dcrawforAtAnsys
You can move the 3D component assuming this code, placing a component then moving and rotating.
Is it something you are looking ?
cmp_instance = hfss.modeler.insert_3d_component(cmp_file, name=cmp_refdes)
if cmp_instance:
hfss.modeler.move(cmp_refdes, [1, 1, 1])
hfss.modeler.rotate(90)

@dcrawforAtAnsys  I've fixed it. you can change location of a placed component also with setter location:
com.location = [1,2,3]