Settings saving issue

Hello,
I note that if i change my settings, they are not saved when I login the next time.... ?
Am I the only one, or is it a rela bug ?
Thanks for this wonderful project and good continuation
Erwan

Ok, I thought coding on a tablet would be unheard of and was taught differently and now coding on a phone? Here, I'd have to say, no way!....:-D
Scott

This issue is not really related with coding on phones, it is more related with synchronisation of settings between devices and that is included since july 2014 ;-) (just closed old already implemented issues)

Yeah, I saw that. But still.... coding on a phone?;-) I don't think so.
Scott

Maybe not you, but certainly someone else... Otherwise I would not ask ;)
Erwan
2015-03-18 10:47 GMT-04:00 Scott<EMAIL_ADDRESS>
Yeah, I saw that. But still.... coding on a phone?;-) I don't think so.
Scott
—
Reply to this email directly or view it on GitHub
https://github.com/Codiad/Codiad/issues/624#issuecomment-83004401.

Sorry, but the expectation of coding on a phone with Codiad is like asking to watch a film through powerful binoculars in a theater. Even from the back seats, you'll only see a portion of the whole screen. LOL!:-D
Scott


Move from Travis to Github Actions

The case in favour of migrating from Travis CI to Github actions for testing and documentation building has recently got much stronger. Travis has been taken over by a private equity company and appears to no longer be providing free server time to open source projects. For discussion, see for example:
https://news.ycombinator.com/item?id=25338983
https://news.ycombinator.com/item?id=19219216
We have two options:

A brave person can try and figure out how to migrate our current documentation and test system to github actions (I  tried to do this unsuccessfully over summer 2020, it's quite frustrating and I would be happy for someone else to give it a try).

We can take the jump to using Literate.jl package, which means Github actions are much easier to setup. See for example the demo package I made (https://github.com/moustachio-belvedere/JuliaPackageDemo.jl).

If we do nothing, we will no longer be testing on push-to-github, and documentation updates will not be built. Of course, this change to Travis policy may be highly unpopular and they may backtrack, but it seems unwise to rely on that.

Hi Louis,
you are right, this needs to be addressed.
I think switching to Literate.jl is a very good approach. I love what you did, but that is a significant task too.
Another topic for discussion in the next few weeks!

This seems to be working nicely now on my test repository. It has testing, documentation and code coverage all done by a Github action. And it updates the badge on the README.
https://github.com/moustachio-belvedere/JuliaPackageDemo.jl/blob/master/.github/workflows/CI.yml
I'll create a new branch and start converting the documentation to Literate.jl soon.

Checklist in case others want to contribute, though I'm happy to keep working on it slowly over the next few days:

[] Home
[] Architecture

Thanks Louis for all this! Hopefully I'll get my head around this before the start of term.

No worries, happy to discuss any time!

Making note of the issue for future reference, the only feature from Literate.jl that is missing for us is inline math mode. For now I've just replaced the small number of inline math portions with their direct unicode equivalent. We can always change this in future once the capability is added to Literate.jl.
https://github.com/fredrikekre/Literate.jl/issues/116

Making note of the issue for future reference, the only feature from Literate.jl that is missing for us is inline math mode. For now I've just replaced the small number of inline math portions with their direct unicode equivalent. We can always change this in future once the capability is added to Literate.jl.
https://github.com/fredrikekre/Literate.jl/issues/116

Apologies, was a bit of a mess as I made the first pull request too quickly before seeing that the documentation wasn't building properly. I then reverted the pull request, so that I could fix the remote documentation build, and then reverted the first revert of the pull request.
Anyway, after a slightly stressful hour or two, it seems to have built fine and is working.
Binder won't be working just yet as I need to add a Project.toml file the gh-pages branch, but the notebook viewer seems to be working fine.

Apologies, was a bit of a mess as I made the first pull request too quickly before seeing that the documentation wasn't building properly. I then reverted the pull request, so that I could fix the remote documentation build, and then reverted the first revert of the pull request.
Anyway, after a slightly stressful hour or two, it seems to have built fine and is working.
Binder won't be working just yet as I need to add a Project.toml file the gh-pages branch, but the notebook viewer seems to be working fine.

For reference, added Julia dependencies for binder in Project toml on gh-pages branch, and matplotlib in Python requirements.txt in commit https://github.com/JuliaRheology/RHEOS.jl/commit/af920e19c34a73a85111378406d7c68304fc23b4

For reference, added Julia dependencies for binder in Project toml on gh-pages branch, and matplotlib in Python requirements.txt in commit https://github.com/JuliaRheology/RHEOS.jl/commit/af920e19c34a73a85111378406d7c68304fc23b4


[ZF3] Log & Session: MongoDB to MongoDb (CamelCase)

see #7034

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html
New issue can be found at: https://github.com/zendframework/zend-log/issues/52


local lint copy gradle task config

Fix gradle lint task configuration issue on release builds
Fixes #150955

Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
[x] All existing and new tests are passing.

This (and what I did earlier) is gross, but better than not having it for now.
We should investigate at some point why we are finding that we need all these explicit dependencies defined (if it is a symptom of some bad practice we are making elsewhere in the Flutter Gradle plugin, or if this is just normal).

My guess is that the indication we have to use project.tasks.findByName means we messed up in our configuration of the flutter gradle plugin code. My hope is as we migrate to kotlin some of this will be resolved with stronger type safety.


Publish Cards component

See #401 for content documentation.

Add new component to website by publishing documentation

[ ] Publish content and link to design and dev packages tied to this epic

[ ] Check content in both languages once published to dev or prod


Doc Feedback: Brief explanation requires on artifact synchronisation using NFS file share.

Location : https://apim.docs.wso2.com/en/next/install-and-setup/setup/single-node/configuring-an-active-active-deployment/
I am trying to setup active-active deployment using wso2 apim 3.2.0. Wherein step-5 explains how to achieve artifact synchronisation. I have created NFS file share. How do I configure two nodes to point to this NFS drive? It would be great if you provide some sample configurations, similar to rsync one.
WSO2 APIM version: 3.2.0
OS: RHEL 7

@RakhithaRR fixed this issue.


Cassandra compilation error

Hello Scholars,
I am using Mac OSX
I have followed the steps (starting from Python installation to brew install ant). But when I tried to create Cluster, it says Cassandra compilation error. I am from mainframe back round and slowly getting used to other technologies. So as a first step to debug, I tried to uninstall Python and created cluster but the same 'Cassandra compilation error'. So my best bet is python. But I did install 64 bit python installer. Is there anything else I should know about? Please help since I am struck here in moving forward for Cassandra configurations

What Cassandra version are you trying to compile? What is the exact ccm command you ran? Could you paste the full stack trace from the error, please.

P
On Apr 8, 2015 11:02 AM, "Philip Thompson"<EMAIL_ADDRESS>wrote:

What Cassandra version are you trying to compile? What is the exact ccm
command you ran? Could you paste the full stack trace from the error,
please.
—
Reply to this email directly or view it on GitHub
https://github.com/pcmanus/ccm/issues/261#issuecomment-90959958.

Hi,
Thanks for your response. Below is the command I am trying to execute and error details
Barath-Mac:~ barathkumar$ ccm create test2 -v 2.0.1
Downloading http://archive.apache.org/dist/cassandra/2.0.1/apache-cassandra-2.0.1-src.tar.gz to /var/folders/js/q164szzn1k7b82_n23md65wh0000gn/T/ccm-PrLvSA.tar.gz (10.587MB)
11101084  [100.00%]
Extracting /var/folders/js/q164szzn1k7b82_n23md65wh0000gn/T/ccm-PrLvSA.tar.gz as version 2.0.1 ...
Compiling Cassandra 2.0.1 ...
Deleted /Users/barathkumar/.ccm/repository/2.0.1 due to error
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/ccm", line 4, in
import('pkg_resources').run_script('ccm==<IP_ADDRESS>', 'ccm')
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", line 517, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", line 1443, in run_script
exec(script_code, namespace, namespace)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ccm-<IP_ADDRESS>-py2.7.egg/EGG-INFO/scripts/ccm", line 72, in
File "build/bdist.macosx-10.6-intel/egg/ccmlib/cmds/cluster_cmds.py", line 127, in run
File "build/bdist.macosx-10.6-intel/egg/ccmlib/cluster.py", line 51, in init
File "build/bdist.macosx-10.6-intel/egg/ccmlib/cluster.py", line 64, in load_from_repository
File "build/bdist.macosx-10.6-intel/egg/ccmlib/repository.py", line 40, in setup
File "build/bdist.macosx-10.6-intel/egg/ccmlib/repository.py", line 221, in download_version
ccmlib.common.CCMError: Error compiling Cassandra. See /Users/barathkumar/.ccm/repository/last.log for details

Can you paste the contents of /Users/barathkumar/.ccm/repository/last.log ? That will show the compilation error

Off topic, 2.0.1 is a very old C* version, you may want to be looking at something > 2.0.11

Hi,
sure I will compile with 2.0.11 in future. below is the log details. I believe I captured the right log. I have mentioned the command i used to retrieve the log as well.
Barath-Mac:ccm barathkumar$ cd /Users/barathkumar/.ccm/repository/
Barath-Mac:repository barathkumar$ nano last.log
Barath-Mac:repository barathkumar$ nano last.log
GNU nano 2.0.6              File: last.log
 [java] org.antlr.Tool.generateRecognizer(Tool.java:641)
 [java] org.antlr.Tool.process(Tool.java:454)
 [java] org.antlr.Tool.main(Tool.java:91)

BUILD FAILED
/Users/barathkumar/.ccm/repository/2.0.11/build.xml:233: Java returned: 1
Total time: 3 seconds
--- Cassandra Build -------------------
ant jar failed. Retry #1...
ant jar failed. Retry #2...

I installed homebrew in mac and through brew install ant, I installed ant as well. Not sure why above error is coming

Hmm. It just appears that compilation failed with no error message. At this point, I have two suggestions:
First, instead of installing via ccm create test -v 2.0.11, try ccm create test -v binary:2.0.11. This will install the already compiled release. If it really is just a compilation issue, this should alleviate it.
Second, if you want to get to the root of why this is happening, try cloning the Cassandra source code and building yourself. If it's some failed set up of ant, this will give a better indication of whether the issue is in ccm or not.

Thank you for the suggestion and I am not at my personal computer so I will try the first option this evening.
Bear with me if I ask silly questions as I am from totally different world of mainframe and trust me I am learning fast. how do we clone the source code? do you mean to copy Cassandra version 2.0.11 source code from any location? and how do I build? If it is lot to explain some reference to documentation will really help. Thanks!

If you have git installed, which you can do via homebrew if you do not, it is as simple as:
git clone http://github.com/apache/cassandra.
This will create a cassandra/ subdirectory in your current working directory, containing the entire Cassandra source code.
Then in your terminal you can run:
cd cassandra
git checkout cassandra-2.0.11
ant realclean; ant
This will switch to the source code for version 2.0.11, and attempt to compile it. The output of the final ant command will hopefully end in BUILD SUCCEEDED if the compilation works.

Thank you much. The Binary option to install the already compiled version created the cluster and finally I am moving forward. I will clone the Cassandra and it out to find the root cause.
One final question, should I use 'binary' going forward for nodes and cluster or any other modifications?

Yes, if you are only ever going to be testing with released versions, which is usually the case, using binary going forward when specifying the version is probably the best option.

Thank you for all your help! Finally I am moving forward with Cassandra tutorial after 2 days of 'going nowhere'. Thanks again!

I had this exact issue myself recently, running sudo ccm create.. instead completed fine, expect it may be a permissions issue after a recent OSX update.

Error while build cassandra source.
BUILD FAILED
/root/cassandra_source/cassandra/build.xml:304: Problem: failed to create task or type antlib:org.apache.maven.artifact.ant:remoteRepository
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
No types or tasks have been defined in this namespace yet
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-/usr/share/ant/lib
-/root/.ant/lib
-a directory added on the command line with the -lib argument


PLAT-126948: Allow number type value for frequency

Checklist

[X] I have read and understand the contribution guide

[X] A CHANGELOG entry is included

[X] At least one test case is included for this feature or bug fix

[X] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
Provide prop to control the accelerating speed when key hold.
Resolution
Allow number type value for frequency
Additional Considerations
Links
PLAT-126948
Comments

Delete it because it is no longer needed.


Code Review Item: Update Policy Needed

The Unicon IAM team did a code review and suggested several small adjustments. This is one of those adjustments:
To facilitate adoption of this image, Unicon should state a "policy" of how often checks for updates of the dependency resources (Java, Jetty, IdP) will occur and when those updates will be applied. The policy should include what type of updates will "trigger" an image release.

That sort of a policy would be very appealing to me, but I would make strong delineations between security fixes and ordinary patch/feature additions.  I have a bunch of orthogonal general package questions that I'll pose here.  Please move the below to its own issue if you prefer that.

Do you try to incorporate new features?  Is it hard to do that with the level of customization that deployers can expect?  What happens if one site modified web.xml and another didn't?
Is it possible to customize this to the point where one distribution could be used by deployers that wanted to use a .war file instead of the exploded archive?  Is that even desirable, given that it might increase the size of upgrades and slow it down somewhat?
What endpoints are exposed for monitoring?

The images is just a basic deployment of the IdP that saves a deployer from having to install and config Jetty and the IdP. Backchannel is already setup too.

Other than that it's up to the configure to deploy whatever options one wants. New versions will have the bits there, but the deployer might need to still enable... like ECP

If one wants to use build.sh, then their image just needs to have a RUN build.sh (or run it in the container start script) and they overlay the idp.xml file to point to the idp.war vs the webapps directory...

All standard endpoints are available. The deployer must configure any changes related to that just like they would in any other context.

Makes sense and clarifies things, thanks.  Since this is aimed at basic integration today, my follow-on questions fall in the category of "feature request" than "support considerations".
I would still find the clarification you suggest, especially with regard to update releases versus security patches, very helpful.
Thanks for taking the time.


Ignore DOI url tests

DOI.org is now protected behind cloudflare DDOS protection. This PR skips tests of DOI.org links.

Thanks for the quick review, @mattwthompson!


Document that adding device component to device type does not modify existing device instances

Environment

Python version: 3.6.9
Nautobot version: v1.1.1

When I add new component to existing device type, this is not applied to the existing instances (devices) of this device type.
Since device represent different models and devices of this type are always same, it does not make sense to me for this change to not propagate even though docs say otherwise. So from my point it is a bug, but you can treat is as feature request if you have different opinion on the subject. Usage for this is when user creates new type and does not have complete information of it and creates devices from that type (lots of them), adding more components to the existing device is long manual labor, which could be removed by this change. Creating this now because we plan to import over 5k devices and we don't have complete information of the types, so the ability to specify this later would be much helpful.
Steps to Reproduce

Create device type
Create device instance of this type
Add component to the device type
Check created device instance

Expected Behavior
New component present

Observed Behavior
Component not present

During review, we agree with @lampwins that this predominantly already solved with existing functionality and could be solved with better documentation, guides, and examples.
For example: "I've made changes to my device type definitions, how do I bulk update my devices to match it?"

Someone pointed me to a plugin that identifies drift between templates and interfaces. This might be a good candidate for a plugin in Nautobot, but perhaps one that checks everything from the Device Type.

Could potentially draw some inspiration from https://github.com/netbox-community/netbox/wiki/Frequently-Asked-Questions#why-arent-device-type-component-modifications-retroactive


How to add new optionnal classes to build_debian_iso

The problem
Currently, there are four optional classes: SEAPATH_KERBEROS, SEAPATH_RAID, SEAPATH_DBG and SEAPATH_COCKPIT.
The three first are set in srv_fai_config/class/99-seapath using fai flags. These fai flags are set in etc_fai/grub.cfg depending on the grub entry the user choose when flashing
This method is great because it allows to have only one FAI usb key that can install all these optional classes on demand.
However, it creates a lot of grub entry (2 power number of  optional classes).
On the other hand, the cockpit class is installed directly by writing its name in srv_fai_config/class/99-seapath (see README section about cockpit)
We need to have only one way to install optional classes.
My proposition
I think it is useful to keep the SEAPATH_DBG class in the grub entry, to be able to reinstall a debug version of SEAPATH in case something goes wrong.
But raid and kerberos classes should be choosen when building the iso (like cockpit class). It is not useful to choose them in the grub menu.
I think installing them by writing their name manually to the srv_fai_config/class/99-seapath file is the best option, but if you have a better idea, I'm interested.

Hi @insatomcat please share your opinion. Thanks

I find the "non-production" "packages" classes SEAPATH_DBG and SEAPATH_COCKPIT not that useful.
I say non-production because the debug packages and the cockpit packages are not suitable for production use (where ansible/snmp is the appropriate way to manage the servers).
For those classes, it's pretty easy to install the packages a posteriori (apt install...) so having those ready in the usb media is really just a "nice to have" in development.
Those classes should not have dedicated grub menu items.
The SEAPATH_KERBEROS may have some use in production, but right now, I don't think it's a problem if it does not have its own grub menu items either.
So my opinion is that:

we can create a flag for each class in the 99-seapath file
we should only have dedicated grub item for "non package" classes (RAID or NOT RAID) basically, because it impacts the disk_config
the user can still add any class it wants to deploy by pressing "e" while selecting the grub item it wants, and adding the flags in FAI_FLAGS manually before booting

This would leave us with only 2 grub menu items, but would allow the user to manually choose DBG, COCKPIT, or KERBEROS if he/she needs.

That seems great, I just have two remarks.

I think it is good to keep a debug feature in the grub menu as it will be the most used feature in my opinion. Yes, the user can apt update all packages after the installation, but this class contains a lot of packages.
I'm not sure having to press "e" in the grub menu to add non-production classes is convenient. I find it better to add the class names directly in srv_fai_config/class/99-seapath. In both cases, we should definitely have that documented.

standalone version + adding new classes will be greatly simplified with #105


Be more resilient when reading previous code hash signatures

I saw exceptions originating here when I changed between Mill versions. I think, this happen, when we made an incompatible change. Since this is no real breakage, but only some dropping of optimizations, I think we better recover without interruption than breaking in front of the user without any guidance (e.g. removing out/mill-build) how to solve.
Now, we just ignore the previous state.
Here's the stack trace:
> mill __.compile
Downloading mill 0.12.0 from https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/0.12.0/mill-dist-0.12.0.jar ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 64.6M  100 64.6M    0     0   676k      0  0:01:37  0:01:37 --:--:--  761k
[61/61] =============================================================================================================== __.compile ================================================================================================================= 3s
1 tasks failed
methodCodeHashSignatures os.ResourceNotFoundException<EMAIL_ADDRESS>    os.ResourcePath.getInputStream(ResourcePath.scala:21)
    os.read$inputStream$.apply(ReadWriteOps.scala:245)
    mill.codesig.ExternalSummary$.load0$1(ExternalSummary.scala:55)
    mill.codesig.ExternalSummary$.$anonfun$apply$6(ExternalSummary.scala:48)
    scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
    scala.collection.mutable.HashMap.getOrElse(HashMap.scala:451)
    mill.codesig.ExternalSummary$.load$1(ExternalSummary.scala:48)
    mill.codesig.ExternalSummary$.$anonfun$apply$9(ExternalSummary.scala:69)
    mill.codesig.ExternalSummary$.$anonfun$apply$9$adapted(ExternalSummary.scala:69)
    scala.collection.immutable.BitmapIndexedSetNode.foreach(HashSet.scala:951)
    scala.collection.immutable.HashSet.foreach(HashSet.scala:958)
    mill.codesig.ExternalSummary$.apply(ExternalSummary.scala:69)
    mill.codesig.CodeSig$.compute(CodeSig.scala:17)
    mill.runner.MillBuildRootModule.$anonfun$methodCodeHashSignatures$2(MillBuildRootModule.scala:173)

@lefou do you have the error message to include in the PR description?

@lefou do you have the error message to include in the PR description?

I updated the description.

Seems like the change in the PR isn't in the right place. According to the stack trace, the problematic read is happening here https://github.com/com-lihaoyi/mill/blob/main/main/codesig/src/ExternalSummary.scala#L55-L58

Do you have a repro for this? It's probably worth understanding properly what's going on since it might indicate a deeper misbehavior

TBH, I saw this exception multiple times in the last days but have no idea how to reproduce except that I know I switched between Mill versions (all within the 0.12.0 line, only PRs or some commits forward or backward). So I can't tell what exactly is causing the issue.

My suspicion is, that we don't properly track version change and therefore don't invalidate the meta-build correctly.

From a quick skim, it seems the code does the following:

It scans compile().classes.path to find all locally compiled classfiles
It looks for all "external" classes that appear in method signatures and super-types among those local classfiles, but are not in the local set
It tries to classload those external classes from the compileClasspath().toSeq.map(_.path)

So given the stack trace, it looks like mill/runner/MillBuildRootModule$MillMiscInfo.class must be a supertype or method signature type of some locally compiled class, while not existing in the compileClasspath(). I'm not sure how that can happen, but it must be happening somehow for this error to appear

Could be related to the use of Mill plugins which are mostly compiled against Mill 0.11.0?

@lefou seems unlikely, the reference must be coming from something compiled locally. But maybe there's some pathway that I'm missing for the information to slip through.
Next time this happens, if you could zip up your out/mill-build/compile.dest/ folder and send it to me, I can poke through and see where this reference is coming from. You can also do it yourself if you wish: just loop over all the classfiles with javap -c | grep MillBuildRootModule$MillMiscInfo  and hopefully it will tell us who is referencing the problematic class, and from there we can figure out how it's getting there

It can be, that I also switched from a branch which is still on Mill 0.11.12. I can try to reproduce and minimize it.
Beside that reproducer, finding some older run state under out/ should not cause any Mill errors. We must miss the fact that we changed the Mill version. Could be the use of this non-content based PathRef hash? https://github.com/com-lihaoyi/mill/blob/a99aa4f80aa04d617384c001dde6ed2b34f60d2b/runner/src/mill/runner/MillBuildBootstrap.scala#L51

I ran into another instance of a ResourceNotFoundException, but this time the resources does not originate in Mill. I'll open a new issue...

Interesting. This suggests that the issue isn't specifically related to changing Mill version, or the Mill assembly classpath, but is a more general issue with changes in the mill-build classpath including locally-compiled classes

Yeah. Could be some wrong assumption in the logic but also something external like incremental  under-compilation.

Superseded by #3884


Hashlib lacks 'ripemd160' even though included libSSL provides it

Any chance you guys can build python with the cpython .so stuff included so that hashlib picks up the 'ripemd160' hashing algorithm?
I need this algorithm to be available from the Python provided by HashLib.. but it isn't.
I'm porting Electron Cash to iOS.. which is why I ask.
Otherwise great work guys!

If it's just a configuration option for OpenSSL that isn't turned on by default, then it's certainly possible; ripemd160 wasn't explicitly excluded to the best of my knowledge.
However, BeeWare is a volunteer project, and this isn't a personal priority for me; however, if you can do the ground work and work out how to modify the configure command for openSSL to include ripemd160, then I'll gladly integrate that into the Python Apple support package.

Ok, I'll play around with that github package and see what I can come up with.  Maybe it's something easy.  I didn't realize that repository existed.  Thanks for pointing me in the right direction...

Ok, got it.  Something was missing from Setup.embdedded
By the way -- nice little auto-build system you got here.  I'm impressed.  You're helping the community tremendously with these tools!
I'll submit a PR shortly.

I submitted the PR.  I'm closing this issue here and hopefully you will merge my PR at some point. 👍


onSuccess event for drops/sheds

Can you please add support for callbacks to the drops/sheds? Thanks

So, it'll be called 'onDrop' instead of 'onSuccess', but, there you go. :)


[Feature Request] Vue support

The vue variant of testing-library @testing-library/vue has a special fireEvent.update method to simulate user input.
Is it possible to add support for it?

Using fireEvent.input or userEvent.type seems to work fine. I just had a different issue. Sorry for the noise.


langDir does not support absolute path

Version
nuxt-i18n: 6.13.1
nuxt: 2.13.3
Nuxt configuration
mode:

[x] universal
[] spa

Nuxt-i18n configuration
const { resolve } = require('path');
...
        ['nuxt-i18n', {
            lazy: true
            langDir: resolve(__dirname, 'lang'),
        }]

-->
Steps to reproduce
I am trying to use lazy load on windows, but setting langDir to some diroctory with full path it will generate options.js:
...
export const langDir = 'C:\web\work\zeoshop\client\lang'
...

What is Expected?
backslash should be prefixed:
...
export const langDir = 'C:\\web\\work\\zeoshop\\client\\lang'
...

What is actually happening?
ERROR  in ./.nuxt/nuxt-i18n/options.js

Syntax Error: Unterminated string constant (9:23)

   7 | export const strategy = 'prefix_except_default'
   8 | export const lazy = true
>  9 | export const langDir = 'C:\web\work\zeoshop\client\lang\'

edit
or probably i do something bad, because it is forcing '~/<%= options.langDir %>'.. what is ~ directory? why is it forced?
edit 2
we have translable translation in admin area, so probably locale's file should be http://... ? to load newest translations every time by http/https protocol? but this is change request not bug (like this issue)

langDir should be relative to srcDir.
I suppose this can be improved to work with absolute paths too.

yeah.. but we removed ~ alias to srcDir (in build.extend), we only use @.. because ~ is very buggy in less and importing node_modules styles (less have ~ alias to node_modules, and we want to use it)..
so yeah langDir should be JSON.stringify (for prefixes backslash)
and maybe not forcing to ~/... but use path.resolve with srcDir?

@padinko don't you think you are over complicating it?, please see this example for how you can get it working.
i18n: {
    detectBrowserLanguage: {
      useCookie: true,
      cookieKey: 'i18n_redirected'
    },
    locales: [
      {
        code: 'en-GB',
        file: 'en-GB.json',
        moment: 'en'
      },
      {
        code: 'en-CA',
        file: 'en-CA.json',
        moment: 'en'
      },
      {
        code: 'fr-CA',
        file: 'fr-CA.json',
        moment: 'fr'
      },
      {
        code: 'en-SA',
        file: 'en-SA.json',
        moment: 'en'
      },
      {
        code: 'en-IE',
        file: 'en-IE.json',
        moment: 'en'
      },
      {
        code: 'hi-IN',
        file: 'hi-IN.json',
        moment: 'in'
      },
      {
        code: 'en-IN',
        file: 'en-IN.json',
        moment: 'en'
      }
    ],
    defaultLocale: 'en-GB',
    lazy: true,
    langDir: 'locales/',
    vueI18n: {
      fallbackLocale: 'en-GB',
      messages: {
        'en-GB': require('./locales/en-GB'),
        'fr-CA': require('./locales/fr-CA'),
        'en-CA': require('./locales/en-CA'),
        'en-IE': require('./locales/en-IE'),
        'en-SA': require('./locales/en-SA'),
        'hi-IN': require('./locales/hi-IN'),
        'en-IN': require('./locales/en-IN')
      }
    }
  },

we have translations editable in admin area.. so that JSONs are changeable in runtime, so we need to load actual json on every load (have some small cache time on server)
so I need to get around building translations messages with webpack

@padinko  i see, that makes sense for the usecase then!

we have translable translation in admin area, so probably locale's file should be http://... ? to load newest translations every time by http/https protocol? but this is change request not bug (like this issue)

No, it can't and won't support http://.... Instead, you can just have a javascript file that exports a function and you can have any custom logic you want there, including loading translations from a remote endpoint. See https://i18n.nuxtjs.org/lazy-load-translations.html for an example.
I'm treating this bug as being about supporting absolute paths in langDir and nothing more.

Should have been fixed a couple versions ago.


Storage url() is not updated with new S3 link

Laravel Version: 5.5.§§
PHP Version: 7.1
Database Driver & Version: MYSQL

Description:
The Storage::url() for s3 files are not correct. This is the url it is trying to get file is:
https://bucket-name.s3.amazonaws.com but if I check the link of the file directly in AWS, this is the url:
https://s3.amazonaws.com/bucket-name
Steps To Reproduce:

Upload a file to S3
Check the URL from AWS and what Storage::url() returns

http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro

Amazon S3 supports both virtual-hosted–style and path-style URLs to access a bucket.


[#2828] Add responseTime metric collection

Implement the collector and web module code.
Add Test Codes

@Xylus review please :)

Codecov Report

Merging #2847 into master will decrease coverage by 0.02%.
The diff coverage is 38.33%.

@@            Coverage Diff             @@
##           master    #2847      +/-   ##
==========================================
- Coverage   40.93%   40.91%   -0.03%
==========================================
  Files        1787     1803      +16
  Lines       61393    61625     +232
  Branches     8631     8655      +24
==========================================
+ Hits        25134    25216      +82
- Misses      36259    36409     +150

Impacted Files
Coverage Δ

.../pinpoint/common/server/bo/stat/AgentStatType.java
55.55% <ø> (ø)
:arrow_up:

...profiler/monitor/collector/AgentStatCollector.java
34.78% <0%> (-0.78%)
:arrow_down:

...dao/hbase/stat/v1/HbaseSampledResponseTimeDao.java
0% <0%> (ø)

...pinpoint/web/service/stat/ResponseTimeService.java
0% <0%> (ø)

...collector/dao/hbase/stat/HbaseResponseTimeDao.java
0% <0%> (ø)

...nt/web/dao/hbase/stat/v1/HbaseResponseTimeDao.java
0% <0%> (ø)

.../collector/mapper/thrift/stat/AgentStatMapper.java
0% <0%> (ø)
:arrow_up:

...o/hbase/stat/v2/HbaseSampledResponseTimeDaoV2.java
0% <0%> (ø)

...ector/mapper/thrift/stat/ResponseTimeBoMapper.java
0% <0%> (ø)

...ompatibility/HbaseSampledAgentStatDualReadDao.java
13.63% <0%> (-1.37%)
:arrow_down:

... and 37 more

Continue to review full report at Codecov.

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


[User & Group Manager] migrate legacy user from ns v1 to ns v2.

Coverage increased (+0.02%) to 46.049% when pulling fa85982ce8c6d8cdd4d0dd70b5cdf42fb1b1477c on yuye/user-migrate into 152ccadb92ee52b450e84bb53f0b8c56185fc8a2 on yuye/new-token.

Coverage increased (+0.02%) to 46.049% when pulling fa85982ce8c6d8cdd4d0dd70b5cdf42fb1b1477c on yuye/user-migrate into 152ccadb92ee52b450e84bb53f0b8c56185fc8a2 on yuye/new-token.

@mzmssg How to get all vc list in a cluster


Fix health check on all API containers

Summary
Fix health check on all API services under fonoster.
The checks on all modules were disabled at some point this year due to incompatibility between @grpc/grpc-js and grpc-ts-health-check.
Notes:

It seems that the latest version has been updated to support @grpc/grpc-js.
Here is some information about gRPC and health checks https://github.com/grpc/grpc/blob/master/doc/health-checking.md
Every service has a healthcheck.ts file to take care of the health check. See example.

Intended Outcome
All gRPC and non-gRPC modules implement health checks.
Requirements
We must fix checks in the following modules.

[ ] Agents
[ ] Apps
[ ] Auth
[ ] Callmanager
[ ] Domains
[ ] Funcs
[ ] Limiter
[ ] Monitor
[ ] Numbers
[ ] Projects
[ ] Providers
[ ] Secrets
[ ] Storage
[ ] Users
[ ] Voice (non gRPC service)
[ ] Websdk (non gRPC service)

@efraa
I saw you created a cloned and cleaned the grpc-ts-health-check packages.
I renamed the project to grpc-health-check.
Can we update the package name to @fonoster/grpc-health-check.
Also, we need to reference the original author somewhere in the README.

Sure, working on it. @psanders

Related repo: @fonoster/grpc-health-check

Reminder to myself. Look into this PR -> https://github.com/fonoster/fonoster/pull/419

I check the PR, and everything looks great. Can you try the last build at staging?

This is working now! 🚀 @psanders

@efraa Thanks a lot. Closing it!


Bug with layout Ids updating a query by recipe

I had problems updating a query by a recipe, the dynamic forms that were using the query (using a projection element) got lost the query, that's because when you update a query throw a recipe its layout Id is changed but the projection element is still referencing to the old id, so it can't find the query.
In order to fix this I've added a new string property called "Alias" to LayoutRecord which I fill with a guid.
Using this aproach I've fixed projectionParts and projectionElements, providing a migrations to fix existing elements.
I'll submit a pull request.

@sfmskywalker can you confirm the issue and the resolution?

I remember having fixed this already. Although the export includes the layout record id, it is not actually used during import (it's just an artifact of the Layouts module including everything in ElementData). Instead, it exports/imports the layout index. Importing happens during the OnImportCompleted phase, to ensure the LayoutRecords have been properly imported.
Anyway, I'll see if I can reproduce and if there's anything to fix.

I can't reproduce the issue. This is what I tried:

Create a Query with 3 Query Layouts.
Create a Page with 3 Projection Elements. Each Projection Element has a different Query Layout selected.
Export both Query content items as well as Page content items.
Reset the site.
Import the exported recipe.
The exported Page site showed up with all Projection elements configured correctly.

I'm not saying that there is no issue, but whatever issue the OP experiences, it is not caused by what he describes, which means we should not use his PR.
@psp589 Can you please provide detailed repro steps on a vanilla Orchard 1.10.x installation? Thank you.

I wanted to create an issue about a bug, but it seems this problem is similar to mine.
When you have a Query with Layouts settings (I tried the query with a Shape, and with an Html list, too) and you export it and import it back it breaks the query.
The problem is that when you import the query back, the records in Projection_LayoutRecord wich you want to import back are getting deleted and recreated, but with updated ID and in the Projections_ProjectionPartRecord the LayoutRecord_Id doesn't get updated.
Repro steps:

Create a Query with a Layouts settings
Export the Query
Import the Query

I tried it with a vanilla Orchard v.<IP_ADDRESS>.

Do you see the same issue with the 1.10.x branch?

It's fine on the 1.10.x branch.

Alright, thanks for confirming. In that case we should close this issue. If someone is still able to reproduce the issue on the 1.10.x branch, we can reopen.


MathJax aligned environment breaks in templates

Describe the bug
Here's an aligned environment, we expect the double backslash to add a new line (this equation has 2 lines)
$$
\begin{align}
A x^{5} &< x^{5} - 3x^{2} + 10 &< B x^{5} \\
A &< 1 - \frac{3}{x^{3}} + \frac{10}{x^5} &< B
\end{align}
$$

If we add any template to this slide, it appears that the double backslash will be interpreted as a single backslash, and the equation will only display 1 line (4 \ works).
<!-- slide template="[[ANY_TEMPLATE_SEEMS_TO_BREAK_IT_HERE]]" -->
$$
\begin{align}
A x^{5} &< x^{5} - 3x^{2} + 10 &< B x^{5} \\
A &< 1 - \frac{3}{x^{3}} + \frac{10}{x^5} &< B
\end{align}
$$

It's inconsistent, because without the template line, it'll display properly. I think Obsidian requires just 2 backslashes, not 4.

will be fixed in next release


Fix bug in compiler performance test script

Commit 6952162 (which seems to have been pushed directly to master) appears to have inadvertently fixed a prior bug in the run_cperf script which was causing it to save its output file in the wrong place. Unfortunately, it also broke the hack which was copying the file to the right place, causing all compiler performance tests to raise an error right before the comment with the results was posted to Github.
This PR removes the hack, which I believe will at least partially fix compiler performance tests. We may still need to XFAIL a few projects or something, but we should at least get the comment now.
Tagging @shahmishal, because I'm hoping there's a way to test this on the CI before merging it, and if there is I think he'll know how to do it.

@swift-ci please test


Link deployed image to stage in services

Implements #3760

Signed-off-by: Elisabeth Lang<EMAIL_ADDRESS>

This should also work for quality-gates only use cases. Note that not every service in the overview has an image.
service.deploymentContext is the contextId of the latest deployment.finished or evaluation.finished sequence. It could also be that the service is shown in the stage but still does not have an evaluation or a deployment.


adding market order functionality

Describe the enhancement
Implementation of market order via API trading, would help place orders immediately and ensures the user is able to enter/exit their position irrespective of market condition.
Currently this is achieved by  calling two functions (example for exiting BTC/USDT position):
bitbnsObj.getSellOrderBook('BTCUSDT')
bitbnsObj.placeOrders({'symbol': 'BTCUSDT', 'side': 'SELL', 'quantity': 0.1, 'rate': 33000})
this action could be achieved by just 1 action by user:
bitbnsObj.placeOrders({'symbol': 'BTCUSDT', 'side': 'SELL', 'type':'MARKET', 'quantity': 0.1})
note: rate is not considered in this case.

interesting.. on the website, only limit, stop and bracket are available. will try market via api. lets hope you resolve my installation issue no : 56 :-)

@sukhwant280 , the market order functionality is currently unavailable, hence the feature request (meaning you wont be able place market orders via API currently)
will update in documentation, once it is available.
thank you for your interest.

noted thanks

Hi @sukhwant280 , the market order functionality is live, pls refer to market orders


Set DB configuration using separate env variables

It does not seem to be possible for migration https://www.prisma.io/docs/reference/database-reference/connection-urls


Eject macOs installer disk if its still open

After re-downloading the Sierra installer app from the App Store (as per README instructions), the installer was auto-launched for me. I instinctually closed it and ran the prepare-iso.sh script, which kept failing at the hdiutil attach commands in the createISO function. Obviously, I had to manually eject the installer disk in order to continue.
In case this happens to someone else, I've added a bit that (admittedly somewhat blindly) ejects the disk before creating the ISO.
Let me know if this is an awful idea for some reason :)

This PR helped me solve my problem hdiutil: attach failed - Resource busy


Google Play purchases are not supported in your country |  Cannot read property 'length' of null | return null results

not working
errors on app id: com.symudolcreadigol.prosiectx
➜  gp-get-sha1 com.symudolcreadigol.prosiectx
RequestError: Google Play purchases are not supported in your country. Unfortunately you will not be able to complete purchases.

➜  gp-download-info com.symudolcreadigol.prosiectx
RequestError: Google Play purchases are not supported in your country. Unfortunately you will not be able to complete purchases.

➜  gp-download-meta com.symudolcreadigol.prosiectx
RequestError: Google Play purchases are not supported in your country. Unfortunately you will not be able to complete purchases.

errors on app id: com.facebook.katana
➜  gp-get-sha1 com.facebook.katana
TypeError: Cannot read property 'length' of null

➜  gp-download-info com.facebook.katana
{"downloadSize":null,"signature":null,"downloadUrl":null,"additionalFile":[],"downloadAuthCookie":[],"forwardLocked":null,"refundTimeout":null,"serverInitiated":null,"postInstallRefundWindowMillis":null,"immediateStartNeeded":null,"patchData":null,"encryptionParams":null,"gzippedDownloadUrl":null,"gzippedDownloadSize":null,"splitDeliveryData":[],"installLocation":null}

➜  gp-download-meta com.facebook.katana
TypeError: Cannot read property 'length' of null

working
gp-bulk-details  - ok
gp-details  - ok

@imKota google changed protocol.


How to enable https for webmails from all registered domains?

I set up let's encrypt but rainloop doesn't recognize the certificate, how to solve?

Not sure this is directly related to RainLoop...for ensuring everybody connects to the server with the webmailer installed via HTTPS, I just added a .htaccess file in the root folder (where the index.php file is located) with the following content
`
RewriteEngine On
RewriteBase /
enforce SSL
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://webmail.yourdomain.de/$1 [L,R=302]
`
Of course the part "webmail.yourdomain.de" has to be adapted to point to your (sub-)domain and path where the webmailer is accesible.

I believe this's more like web server issue rather than rainloop issue. Could you please provide more detail: what web server used? Apache/Nginx/IIS/etc


[PackageLoading] Fix public declaration on a property.

The way this was being done currently is actually just relying on a compiler
bug, and fails in release builds (see SR-2315).

(cherry picked from commit 5b61a8384b65cd5d3fec198bb29dc46c4d683cf6)

/cc @tkremenek @rballard this is important to have on the release branch as it was preventing creating release builds of SwiftPM. I've tested this locally, going and ahead and merging it for now to unblock other work. Let me know if you have any questions.

@ddunbar Thank you for merging.


Watching the file system is not supported on this operating system.

Expected Behavior
Watching file system enabled
Current Behavior
Watching file system disabled
Context
I tried to build my project on Jenkins. After Gradle 6.7 is downloaded, Gradle Daemon is started. But, watching file system is NOT enabled with a message:
Watching the file system is not supported on this operating system.

Steps to Reproduce
Just try to build
Your Environment
OS system: CentOS Linux release 7.6.1810(core)
Build scan URL: -

This is interesting. We should be supporting CentOS 7 (but not 6). And we shouldn't print that message unless you somehow enabled watching... Can you maybe share a build scan?

This is interesting. We should be supporting CentOS 7 (but not 6). And we shouldn't print that message unless you somehow enabled watching... Can you maybe share a build scan?

Impossible :(  CI/CD server is in private network.

I got this log:
Native file system watching is not available for this operating system.
net.rubygrapefruit.platform.NativeIntegrationLinkageException: Native library 'libnative-platform-file-events.so' could not be loaded for Linux amd64.
	at net.rubygrapefruit.platform.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:61)
	at net.rubygrapefruit.platform.file.FileEvents.init(FileEvents.java:35)
	at org.gradle.internal.nativeintegration.services.NativeServices.initialize(NativeServices.java:120)
	at org.gradle.internal.nativeintegration.services.NativeServices.initialize(NativeServices.java:84)
	at org.gradle.launcher.cli.NativeServicesInitializingAction.execute(NativeServicesInitializingAction.java:42)
	at org.gradle.launcher.cli.NativeServicesInitializingAction.execute(NativeServicesInitializingAction.java:26)
	at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:41)
	at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:26)
	at org.gradle.launcher.cli.DefaultCommandLineActionFactory$WithLogging.execute(DefaultCommandLineActionFactory.java:240)
	at org.gradle.launcher.Main.doAction(Main.java:35)
	at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:50)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:60)
	at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)
	at org.gradle.launcher.GradleMain.main(GradleMain.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:35)
	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)
	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:63)
Caused by: java.lang.UnsatisfiedLinkError: /home/deploy/.gradle/native/12488b8bf47d2d4c9fbf2f6322a914ad602e24e48041cd04a747c6da556b65c4/linux-amd64/libnative-platform-file-events.so: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/deploy/.gradle/native/12488b8bf47d2d4c9fbf2f6322a914ad602e24e48041cd04a747c6da556b65c4/linux-amd64/libnative-platform-file-events.so)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1086)
	at net.rubygrapefruit.platform.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:51)
	... 24 more

@devcken File system watching needs at least CentOs 8 to work (see the user manual).
If I understand correctly, you did enable file system watching for your build, right? Gradle should not print Watching the file system is not supported on this operating system. when file system watching is not enabled.

@wolfs
Oh, I should have looked up carefully at OS support.
I appreciate your help.
Have a nice day!


Getting started on converting to Paket

Engine.ContractTests: Re-installing packages to streamline all packages to v4.5

@parthopdas Please review
A couple of things to note

Paket convert-from-nuget removed the NuGet folder because it want's to use the NuGet.CommandLine package for NuGet. I just updated the build script to create the NuGet package to get things working. This should be cleaned up
The last change I did is a result of your NuGet.exe was 3.4.4 and NuGet.CommandLine ships NuGet 3.4.3. One of the changes between the two releases was fixing a regression bug regarding '&' in the nuspec file. So that is why the reason for the last change in this PR

There are a couple of other enhancements that could be done
paket simplify
This will simplify the paket.references only contains direct dependencies. This can have unforseen consequences, e.g. if xunit.abstractions isn't a direct dependency (I do not know if it it) it will be removed by paket simplify and
http://fsprojects.github.io/Paket/paket-simplify.html#Notes-and-Warnings
So my gut feeling is that we hold of on paket simplify for now
FAKE Build script clean-up
We shouldn't build test and production code into same folder. I'll make a separate PR for this

I think we should to the paket simplify. If the CI passes, that is the definition of OK (i.e. realease candidate quality, barring manual sanity checks).
If CI cannot detect issues, we'll fix the CI.

I'm afraid it is not a simple as just trusting / fixing the CI
I'll look at it, but it can get complicated and the resulting errors can appear down the road


Improving GraphQL extensions and documentation

Documentation Issue
I think documentation for extending GraphQL is lacking when it comes to covering a full customisation a user may realistically need. I covered some of this in my tutorial here https://nouance.io/articles/how-to-extend-graphql-in-payload-with-custom-queries-mutations-and-re-usable-types but I want to bring some of those examples and information into the official docs.
Parts that are confusing:

Available types for my resolvers, return types and so on
Best practices for code structure
Explaining how to type and which graphql packages are used and where to dig deeper if you want more power (the source documentation)
Things to consider when using the LocalAPI within a graphql resolver

eg. the issue I struggled with when accidentally setting (or emitting) the depth argument

Additional Details
Before updating the docs I actually want to expose a few types and utilities from Payload's core.

[x] Expose the buildPaginatedListType function
[x] Expose the type for a GraphQL query or mutation from the internal type (GraphQL: typeof ImportedGraphQL, payload: Payload) => Record<string, unknown>
[x] Expose Payload's GraphQL type too, currently you have to kind of do this import type { default as ImportedGraphQL } from 'graphql'
[x] Attach the collection's already built paginatedType to the .graphQL. object so that it can be properly re-used in custom queries, making the re-use of fragments in the frontend a lot easier

The goals here are to reduce friction in working with and extending GraphQL. Happy to work on this and add a PR for the code and documentation updates if there's a greenlight from the Payload team

@ssyberg Yeah, I can see the same issue. Can't figure out why it wouldn't be picked up, maybe someone at payload has a better idea? @denolfe

Not sure if I'm just missing something, but I had to explicitly import buildPaginated... to get the example working: import buildPaginatedListType from 'payload/dist/graphql/schema/buildPaginatedListType';

Thank you for this! The documentation should really be updated until this is fixed.


If mulitple faces the same size, the following with jump between them.

Description of the bug
Make a buffer for when to change target, based on size difference between targets.

Fixed by commit: https://github.com/energinet-digitalisering/energirobotter-vision/commit/f28d0b5d2e1970e6b240e962ef7b6e10aa98bf7e


rename or reconciliation status of columns (based on json input) are not updated in the schema editors column list

During work with your data for uploading to any wikibase it happens that you have already prepared a wikibase schema but afterwards you made some adoptions in your data grid, e.g. you have a new reconciled column or you have renamed an existing or created a new column.
Any changes to columns (new columns, columns renamed, columns reconciled) are not directly affected in the columns list in the schema editor. (As i was now able to reproduce it, this is only limited to columns based on a json input file)
To Reproduce
Steps to reproduce the behavior:

First, do create a new project with a json input file, make your adjustments, e.g. reconcile one column.
Then build a wikibase schema
Then go back to your records, rename a column or reconile an additional column
Finally those changes are not listed in your columns list in the schema editor.
If you have an additional column created directlly in OR, rename this column - those edit will be displayed automatically in the schema columns list.

Expected Behavior
Column list should be updated due to the mentioned column-related edits.
Versions

Operating System: Windows 10
Browser Version: Chrome 118
OpenRefine: 3.7.0

Additional also tested in PAWS

OpenRefine: 3.7.6

Additional context

I've encountered the same issue when working with xml-files. I used OpenRefine: 3.7.6.

This was also encountered during the OpenRefine-Wikidata training at Wikimania:
https://wikimania.eventyay.com/2024/talk/PBMMEJ/


Warn user about the possibility of loosing connection

From @GnrGnr extracted from this issue

When changing the MAC address, the current (wifi) connection becomes unusable. The network adapter probably has to renegotiate its connection once the MAC address changes. If this is the standard procedure, it would be much more convenient to the user if LinkLiar kills the ethernet/wifi connection(s) and re-establishes it once a MAC address change has been initiated by the user. The "suddenly unusable network connection" could become a major headache for people forgetting (or not knowing) that they have to re-establish their network connection. A quick drop and re-connect by LinkLiar could probably avoid this.

You are right, once the MAC address changes, network packets don't arrive at their destination any longer. Let's say you have a modem in your LAN which is connected to a switch where all your computers are plugged in. The switch will actually remember which MAC address is connected to which port and deliver the packets sent by the modem only to that port where it knows the computer with that MAC is located. Changing the MAC address on-the-fly is a little bit like suddenly moving to another apartment and not telling your friends what your new home address is :) More over, the postman still remembers your old address and will keep sending your mail there.
I don't think there is any trivial way to "reconnect" other than to turn off and on the interface or to unplug the cable for a moment. In the real world you would tell your friends your new address. But here the only thing you can do is to tell them: "Look, I don't know which guy you remembered to be your friend earlier and I don't care. I am a totally different person, would you like to establish a friendship with me anyway? This is where I live." The modem doesn't know you're the same person. It will establish a brand new connection with you.
Now, I don't want to be intrusive and turn on or off interfaces just like that. I will not even turn on the Wi-Fi so that you can change your MAC address in the first place, you'll have to turn it on yourself. For me, this has to do with predictability, I guess. Do one thing and do it well - that is, changing MAC addresses. Not turning on and off interfaces :) As a matter of fact, only in recent versions of Mac OS can a Wi-Fi MAC be changed at all while the connection is established. Earlier you'd have to disassociate before ifconfig would make any changes.
For now, I don't think I will do anything more about it than mentioning it in the troubleshooting. Or maybe I should bring up a message at least which says "You are currently connected to a Wi-Fi, changing the MAC address might now have disconnected you..." with buttons "Don't ask again" and "OK". So power-users won't get disturbed by the popups.
I guess I can do that!


bug: fails when base URL contains a subpath

Provide environment information
  System:
    OS: macOS 13.4.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 186.03 MB / 16.00 GB
    Shell: 5.9 - /usr/local/bin/zsh
  Binaries:
    Node: 18.16.1 - ~/.asdf/installs/nodejs/18.16.1/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.5.1 - ~/.asdf/plugins/nodejs/shims/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Browsers:
    Chrome: 114.0.5735.198
    Safari: 16.5.2
  npmPackages:
    @ts-ghost/admin-api: ^3.0.6 => 3.0.6
    typescript: 5.1.6 => 5.1.6

Describe the bug
When hosting ghost on a subdomain fx. "https://example.com/blog", the library fails to construct the baseUrl, as it will strip away the pathname. As a result all endpoints return 404.
Can be fixed by updating the httpclient constructor with something like this:
const prefixPath = new URL(config.url).pathname;
if(prefixPath.endsWith('/')) {
  prefixPath = prefixPath.slice(0, -1)
}

this._baseURL = new URL(`${prefixPath}/ghost/api/${config.endpoint}/`, config.url);

Target Ghost Blog version
v5.54.3
To reproduce
const api = new TSGhostAdminAPI(
        "https://example.com/blog"
        TOKEN,
        "v5.54.3"
);

api.settings.fetch().then((result) => {
  if (!result.success) {
    console.error("Ghost connection failed", result);
   }
});

Additional information
No response
👨👧👦 Contributing

[x] 🙋♂ Yes, I'd be down to file a PR fixing this bug!

Just created a pull request: https://github.com/PhilDL/ts-ghost/pull/119

New release with your fix from #119 :

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Thank you for your contribution.


Iterable not working correctly

Iterable does not seem to be handled correctly with squiggly.
A good example of this is with spring's Sort.
If I had squiggly "installed" it comes out like this.
{
    "last": false,
    "totalPages": 3,
    "totalElements": 23,
    "size": 10,
    "number": 0,
    "sort": {},
    "numberOfElements": 10,
    "first": true
}

If I remove squiggly it comes out like this
{
    "last": false,
    "totalPages": 3,
    "totalElements": 23,
    "size": 10,
    "number": 0,
    "sort": [
        {
            "direction": "ASC",
            "property": "name",
            "ignoreCase": false,
            "nullHandling": "NATIVE",
            "descending": false,
            "ascending": true
        }
    ],
    "numberOfElements": 10,
    "first": true
}

Please post a sample project exhibiting this behavior.
Thanks!

I added a test project at https://github.com/cmercer/squiggly-iterable-test
Some things I found
There is a bit of conflict between versions of Spring Boot/Spring Data around the Sort object being Iterable (1.X) vs Streamable (2.X).  So long as you are running Spring Data 2 and Spring Boot 2 Sort comes out fine but in Spring Data 1 and Spring Boot 1 it fails.  So while I think squiggly still has a problem with Iterable its hidden a bit with Spring Boot 2.
Iterable doesn't work no matter what version with squiggly which you can see by the Person test.
But if you change versions (commented out the different versions in the pom.xml) you will see following.
Spring Boot 1.5.12.RELEASE
sortResultTest fail
personTest fail
pageTest fail
Spring Boot 2.1.6.RELEASE
sortResultTest pass
personTest fail
pageTest pass

@cmercer Thank you for providing a test project!
This seems to be an issue with jackson.  To eliminate Squiggly as a cause, I created a class that simply extended SimpleBeanPropertyFilter like so:
package com.github.bohnman.squiggly.iterable;

import com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter;

public class TestPropertyFilter extends SimpleBeanPropertyFilter {
}

I also created a mixin:
package com.github.bohnman.squiggly.iterable;

import com.fasterxml.jackson.annotation.JsonFilter;

@JsonFilter("test")
public class TestMixin {
}

I registered both classes in your test class.
squigglyMapper = new ObjectMapper();
SimpleFilterProvider provider = new SimpleFilterProvider();
provider.addFilter("test", new TestPropertyFilter());
squigglyMapper.setFilterProvider(provider);
squigglyMapper.addMixIn(Object.class, TestMixin.class);

This exhibited the same issue as when using Squiggly.init.  This would indicate a bug with jackson.
As a workaround, I noticed that if your IterableWrapper implements Collection, everything works as expected.
package com.github.bohnman.squiggly.iterable;

import java.util.AbstractCollection;
import java.util.Collection;
import java.util.Iterator;

public class IterableWrapper<T> extends AbstractCollection<T> {

    private final Iterable<T> iterable;

    public IterableWrapper(Iterable<T> iterable) {
        this.iterable = iterable;
    }

    @Override
    public int size() {
        if (iterable instanceof Collection) {
            return ((Collection) iterable).size();
        }

        int size = 0;

        for (T ignored : iterable) {
            size++;
        }

        return size;
    }

    @Override
    public Iterator<T> iterator() {
        return iterable.iterator();
    }
}

I hope this helps!

Unfortunately this doesn't help me because its not one of my objects that I am having trouble with but one of Spring's classes org.springframework.data.domain.Sort which is used by org.springframework.data.domain.Page.
I don't have a good feeling for this being fixed in Jackson since its not fixed in spring boot 2.0.  I will do some more testing and debugging and try and see and find a possible fix.

@cmercer  I have attached a revised version of your project that uses a custom serializer for Person, but still goes through Squiggly filtering and also makes the tests pass.  This is why in PersonSerializer, you see me convert a Person to a map first.  Otherwise, the serializer would bypass Squiggly.
I hope this provides some inspiration for you regarding a solution.
squiggly-iterable-test.zip

I've tried chasing this down for a fix or a good workaround and have not succeeded.  (going to a map doesn't work because the amount of data could be large).
I made as simple of a test case as I could and submitted an issue to jackson.
https://github.com/FasterXML/jackson-databind/issues/2390

@cmercer Awesome!  Thanks for your diligence!

Follow up on this.
Long story short its fixed and works correctly with jackson 2.10.0/spring framework 5.2/latest spring boot 2.2.0 snapshot.
jackson 2.10.0 was released with the fix for FasterXML/jackson-databind#2390
I added a branch to https://github.com/cmercer/squiggly-iterable-test https://github.com/cmercer/squiggly-iterable-test/tree/spring-boot-2.2.0 which I used to test the fix.  Had to make a couple changes because of changes in spring framework but they were minor and not related to the issue.
That branch has the latest spring boot 2.2.0 snapshot

which depends on spring framework 5.2
-- which depends on jackson 2.10.0

All the test cases pass.
Leaving this open for you to close, from my perspective its fixed.


WIP Fix drag handler alignment for screen width < largeMonitorBreakpoint

Below 1224px, Both the drag handler and the delete button were pushed inside the block editing border. This fix places them back outside like they should be in all resolutions. Making sure that alignment is the same both with normal blocks and the title block.
Note that the main part of this fix is fixing an override that was not
doing the override (so an explicit bug), but when I was there I also adjusted both icons in
all resolutions correctly.

@reebalazs I tried it out and the handlers are not visible :(

It looks like the patches are project specific, I was under the impression that this is a Volto issue. Closing.


feat: redhat-certified-operator

Purpose of PR?:
This PR make changes to the existing KubeArmor Operator to make the Operator comply with RedHat OpenShift Operator Certification Requirements, the changes includes:

Added Workflow to test and release the Operator
Updated KubeArmorController to update the status subresource of the policy CRDs.
Handled the cases when none of the kubearmor supported enforcer present on the env.
Use RedHat UBI-based images for all the containerized applications.

All these images were built manually on a RHEL env as it's currently not possible to have github runners with rhel env to setup the workflow.

Does this PR introduce a breaking change?
No
If the changes in this PR are manually verified, list down the scenarios covered::
Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Checklist:

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update
[x] PR Title follows the convention of  <type>(<scope>): <subject>

@rksharma95 thanks for this PR! Great work going on. Please find the comments that I've added.
Also, I tried it out by building an image first locally and then generating manifests using make deploy and make manifests. Was able to get the operator installed. Hopefully I did it all correctly. Once I applied the operator config given in samples directory, the operator seemed to have gone in a loop trying to update CRD status and the kubearmor-snitch pod creation failed due to image not found. Relay and controller deployments were created but kubearmor wasn't.

kubearmor-snitch must be failed because the image built locally should also be mentioned in the application itself (common/defaults.go) because snitch will deploy the same image too and at this point it's failed to find image at kubearmor/kubearmor-operator repo.

can you comment where the logic is for generating the deployment file?

@daemon1024 the complete workflow is like,
when the snitch gets deployed on a node it adds the enforcer and runtime info as node labels, enfocer and runtime detection logic is implemented in KubeArmorController/enforcer and KubeArmorController/runtime respectively.
these info will be used by the node watchers defined in KubeArmorOperator/internal/controller/cluster.go to generate/update the daemonset.

Also we don't need /etc/apparmor if no AppArmor is present. Can we add that check as well. The code seems huge, can you comment where the logic is for generating the deployment file?

yes we are detecting the enforcer and mounting the volumes accordingly.


[API][StreetCode/URL/Images] The admin can create a StreetCode without a required photo/Character and language validation isn't present

Environment: All
Reproducible: Always
Build found: 61192c2, a7d807f
Requirements:
The "URL" field accepts a maximum of 100 symbols: only small Latin letters, numbers, and special character "-".
Each URL must be unique.
Preconditions:

Postman is open.
Choose the POST/PUT method.
Enter valid endpoints.

Issue
Steps to reproduce
Actual result
Expected result

1. Mandatory [black&white photo] ["alt": "1"]
1. Add the StreetCode with a colorful photo ("alt": "0") but without the "black&white photo" and click the 'Send' button. 2. Clear the "alt" string or leave the value empty and click the 'Send' button.
1. The StreetCode is created with a colorful photo (a black&white photo is a mandatory/update the same if delete the photo).  2. The "200 OK" status is in the response, but the photo has been deleted on the frontend.
1. The response returns a '400 Bad Request' status, along with the message 'The "alt": "1" string is required'. 2. The response returns a '400 Bad Request' status, along with the message 'The "alt" value is invalid'.

2. Validation [URL] ["transliterationUrl"]
1. Enter the invalid data in the "transliterationUrl" key (e.g. "‹ TEST ›", “ ”‚ "тетс 1*2", "Sunny", "гщц", 101 symbols, 105 symbols). 2. Add all necessary data in the body ("index", "title", "streetcodeType", "eventStartOrPersonBirthDate", "dateString", "teaser" and "imagesIds & imagesDetails"). 3. Click on the 'Send' button.
1. The system accepts URLs with capital Latin letters, characters beyond Latin letters, special characters (despite the valid special character "-"), 101 and more symbols, spaces, and empty key.  2. The "200 OK" status is in the response.
The response returns the '400 Bad Request' status, along with the message 'There is no valid "transliterationUrl" value'. The StreetCode is not created.

Attachments of actual results for URL key:

URL with capital Latin letter

URL with invalid non-Latin letters

URL with 101 symbols and 105 symbols (more than limitation)

URL with space

URL with other special characters

URL with empty key

User stories: #20, #115
Test Case: #462

The Streetcode is created without the 'black&white photo' ("alt": "1") but only with a colorful photo ("alt": "0") - 200 OK
The Streetcode isn't created with empty value in "alt" string - 400 Bad Request. "Message": "Під час створення стріткоду сталася помилка. Повідомлення: There is no valid imagesDetails value"

Fixed in https://github.com/ita-social-projects/StreetCode/issues/308


[5.3][CodeCompletion] Fallback to nominal member completion after trailing closure

Cherry-pick of #32521 into release/5.3

Explanation: After trailing closure, we perform "Labeled trailing closure" completion
and fall back to other completion depending on the position. If the completion happens at a newline position, it used to fallback to global expression completion, but in type context, we should do override
completion instead. Also, we didn't use to propagate 'hasCodeCompletion()' status properly.
Scope: Code completion after trailing closure
Risk: Low.
Testing: Added regression test cases
Issue: rdar://problem/64650782
Reviewer: Ben Langmuir (@benlangmuir)

@swift-ci Please test

@swift-ci Please nominate


[ISSUE #2978] [Enhancement] Can be replaced with single 'Map.computeIfAbsent' method call[HeartBeatProcessor]

fix #2978
Can be replaced with single 'Map.computeIfAbsent' method call[HeartBeatProcessor]

resolve the checkstyle error


introduce protocol: Fixed start state transitions

Introducer: start->delivering &  start->arranging

Issue: https://github.com/hyperledger/aries-framework-go/issues/336
Signed-off-by: Andrii Soluk<EMAIL_ADDRESS>

@llorllale I have not seen invited state, could you please explain what does this comment mean?
Introducee: disallowed start->invited. Instead they can transition start->deciding
If we missed invited state probably we need to add it, let me know.

@soluchok the RFC previously included the transition start->invited. That was an error and was fixed.

@soluchok Should use semantic prefix in PR and commit titles.


How Render Partial View With Datas From Editor Admin

Hi,
how can i render partial view spree_static_content with datas from admin editor?  Becouse now render partial view only with datas from page.
Thank you!

Thinking write your own functions as open source.
Becouse spree_static_content as partial view do not show datas from editor admin but only from partial file.
I'm wrong?


Add partial support to Muscle

I have used the trick to pass /dev/stdout to the mandatory -output argument to try to provide certain degree of compatibility. However, the current setup of mevolib.align will not work out of the box for this tool in any other case.
Happy to drop Muscle.py instead if you believe partial support is not a great mid-step (and add it back once the module is improved).

I have used the trick to pass /dev/stdout to the mandatory -output argument to try to provide certain degree of compatibility. However, the current setup of mevolib.align will not work out of the box for this tool in any other case.
Happy to drop Muscle.py instead if you believe partial support is not a great mid-step (and add it back once the module is improved).

Yeah, maybe is the right choice, at least for now


[SUPPORT] Audit Feature In A PartitionPath

Is there a way/example to build audit queries within a partition path in COW/MOR mode.Sure,there are the commit times ,but due to inline compaction and cleanup(Last Commit), i don't get the view of the data before a delete or upsert back in time?
I am trying to do, select * from hoodie_ro where _hoodie_commit_time in (<last 10 commits>) and get the view of data at each commit

With cleaning, you can setup cleaning parameters so that you have enough versions retained ( see https://hudi.apache.org/docs/configurations.html#retainCommits). You can also align the compaction runs with your audit schedule by keeping "hoodie.compact.inline.max.delta.commits" same as the number_of_delta_commits_before_audit to control compaction runs.

Thanks Balaji. Yesterday , i did change the parameter to retain 40 commits and changed the record key to include my business batch id column along with one of the other columns.The business batch id increments with every ingestion and i can audit based on batch id or commit time
spark.sql("select * from hoodie_ro where cast(_hoodie_commit_time as long) <=" + Long.valueOf(commitTime)).show();
Is it a good idea to conceive record keys as 123_1,123_4 .. or it should be monotonically increasing to help indexing?

@nandini57 It just has to be ordered, increasing/decreasing does not matter.. can be non-contiguous.

Great,thanks Vinoth.Is Murmurhash of my businesskeys a good choice then?

@nandini57, You can prefix with a timestamp like "<batch_timestamp_<hash_of_business_key>" to get ordering benefits.
From your description, it looks like you essentially want the table to be a log of all record changes and you are simply inserting new records and no updates are possible. Right ?  In this case,  you can simply use bulk-insert/insert APIs which would avoid record-key index lookups in the first place.

Yes ,so far requirement is to keep all record changes.In future ,may need to upsert as well.Thanks guys for the help!

Great. Thanks for using Hudi.


Watch bug

BUG

Ok perhaps i am doing this wrong as i am new to webpack but surely i cant be the first person to try this. When i run webpack with the --watch option, it seems to start the watching of the files before all the build occurs. Therefore during the build when im using HTML webpack plugin to create files and using copy plugin to move files to dist folder, webpack seems to get stuck in a loop because it is watching the files which are being changes by the above commands ?
Additionally to this i have tried using the watchOptions.ignored config but this doesnt seem to ignore the folders i specify.
Run webpack with the watch switch and try and copy a file using copy plugin and it will go into a loop unless im doing something wrong?

Start the watch after all the bundling and processing is done ?
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Node v9.3.0
npm 5.5.1
MAC OSX El Capitan Version 10.11.6

@rosea1 problem still exists?

@evilebottnawi  Yes afraid so, are you experiencing something similar ?

@rosea1 can you create minimum reproducible test repo?

@evilebottnawi  , just tried to create a gist to recreate issue but it seems to have fixed. Has webpack been updated recently ?

@rosea1 we recently update<EMAIL_ADDRESS>(fix some issues in watch mode on mac os). Seems you describe here this bug :smile: Can we close?

@rosea1 also webpack have "watchpack": "^1.5.0" as deps. Next fixes can be shipped without update webpack. Only update lock files, if you have

ahh that would be why it works now, i ran an npm update so yes i think we can now close this bug ! brilliant


Use generic return types for frequently-casted library functions

There are a handful of functions from lib.d.ts which are typically followed by a type assertion
const x = <HTMLDivElement>document.getElementById('zzz');

With the new inference changes, we can write a new overload
getElementById<T extends Element>(id: string): T

so that you can write the cleaner version
const x: HTMLDivElement = document.getElementById('zzz');

TODO: Figure out which functions these apply to

Such generics will give a false sense of security. IMO, casts are what's appropriate there as they convey the "I know better" assertion.

The following from the DefinitelyTyped readme is relevant:

Common mistakes
...

getMeAT<T>(): T:
If a type parameter does not appear in the types of any parameters, you don't really have a generic function, you just have a disguised type assertion.
Prefer to use a real type assertion, e.g. getMeAT() as number.
Example where a type parameter is acceptable: function id<T>(value: T): T;.
Example where it is not acceptable: function parseJson<T>(json: string): T;.
Exception: new Map<string, number>() is OK.

Though convenient, it is clearly unsafe.  users who would want to do that can do it themselves as overloads.


Workflow cannot read float

Summary
When a workflow parameter is a float, workflow parsing fails with the error message:
Failed to parse workflow: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal number 0.2 into Go struct field Parameter.spec.arguments.parameters.value of type int
What happened/what you expected to happen?
Would expect that the workflow is parsed correctly, float into type float.
Diagnostics
What Kubernetes provider are you using?
kube_version: 1.19.3 > running in VMs as local installation
when i run kubectl version  :
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:50:19Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:41:49Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}

What version of Argo Workflows are you running?
argo: v2.11.7
  BuildDate: 2020-11-02T20:59:01Z
  GitCommit: bf3fec176cf6bdf3e23b2cb73ec7d4e3d051ca40
  GitTreeState: clean
  GitTag: v2.11.7
  GoVersion: go1.13.15
  Compiler: gc
  Platform: linux/amd64

apiVersion: argoproj.io/v1alpha
kind: Workflow
metadata:
  generateName: argo-test-workflow-
spec:
  entrypoint: param-test
  arguments:
    parameters:

    # test parameters
    - name: STRING
      value: this is a string
    - name: INTEGER
      value: 5
    - name: FLOAT
      value: 0.2

  templates:
  - name: param-test
    container:
      image: alpine:latest
      command: [/bin/sh, -c]
      args: ["echo 'The parameter STRING is {{workflow.parameters.STRING}}.' && echo 'The parameter INTEGER is {{workflow.parameters.INTEGER}}' && echo 'The parameter FLOAT is {{workflow.parameters.FLOAT}}'"]
      env:
      - name: STRING
        value: "{{workflow.parameters.STRING}}"
      - name: INTEGER
        value: "{{workflow.parameters.INTEGER}}"
      - name: FLOAT
        value: "{{workflow.parameters.FLOAT}}"

Failed to parse workflow: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal number 0.2 into Go struct field Parameter.spec.arguments.parameters.value of type int

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Floats are not allowed in parameter values. It should be a string and can be an int64.
To support 'fload64' we would need to modify Int64OrString to support floats.
Would you like to submit a PR?

Oh - you can quote floats.

    - name: FLOAT
      value: "0.2"

@alexec I am interested to contribute this.Please assign this to me.


Image resize and preserve aspect ratio : #609

@TobyRoseman
As discussed,
I have added two basic functions:

resize_with_original_aspect_ratio :  to resize images by preserving aspect ratio using the user given parameter => min_side_length/max_side_length.
resize_annotations : to resize annotations based on any new image dimension provided by the user.

I couldn't find any test cases written for any functions in image_analysis.py in the test folder so I did not add any test cases for these as well.
Let me know if any changes are required to the code submitted.

linking to open issue: #609.

Will add test cases In test_image_type.py and push all the modifications you recommended in the next push.


Elevation

Please add the functionality to control the elevation of bottom bar and selected item

@dev9-softrix  we implement this functionality in new version of this package animated_notch_bottom_bar: ^1.0.1


need is expression

Hi
i have a boolean type column name bool_col
bool_col in where need jdbc parameter:
WHERE bool_col IS :boolParam
so in need a expression to support:
<leftExpression> IS <rightExpression>
Any idea about it?
Thanks~

This is already halfway implemented. Look into
line 3299:  Expression IsBooleanExpression(Expression leftExpression):
At the moment this one supports only true / false but named jdbc parameters should not be a problem to implement.
Do you want to provide a PR?


Proxy Support

Hi,
We would like to use a proxy while using the HolidayAPI node sdk. Is there a support for this?

Hey Volem, currently our Node.js library does not feature any support for using a proxy to make network requests.
The library uses the node-fetch library which does appear to support using a proxy as per this issue / code:
https://github.com/node-fetch/node-fetch/issues/79
It shouldn't take much to update the request method to accept an additional options argument that could be used to inject the proxy information into the fetch call.
First we've had a request for this, feel free to implement and submit a pull request. I'll leave the issue open in case I get to it before y'all do. Cheers!


Only GET, POST, PUT, DELETE are allowed for $ref requests

The documentation advises a PATCH request should be made. However, the API responds with an error advising PATCH requests are not allowed for $ref requests.
Request:
PATCH https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_1_new_sign_up_sign_in/userflowIdentityProviders/$ref

{
<EMAIL_ADDRESS>"https://graph.microsoft.com/beta/identity/identityProviders/OIDC-V1-...",
<EMAIL_ADDRESS>"#microsoft.graph.identityProvider"
}

Response:
{
  "error": {
    "code": "MethodNotAllowed",
    "message": "Only GET, POST, PUT, DELETE are allowed for $ref requests, but received: | PATCH",
    "innerError": {
      "date": "2024-01-30T17:47:29",
      "request-id": "ecf18dc6-7170-4a76-80fa-d2c5f9221ec1",
      "client-request-id": "711951fb-a2a6-48b3-b188-25fa6bae9286"
    }
  }
}

I have tried using the PUT verb but get the error No HTTP resource was found that matches the request URI:
{
  "error": {
    "code": "UnknownError",
    "message": {
      "message": "No HTTP resource was found that matches the request URI | 'https: //cpim.windows.net/graph/identity/b2cUserFlows('B2C_1_new_sign_up_sign_in')/userFlowIdentityProviders/$ref'.",
      "messageDetail": "No type was found that matches the controller named | 'identity'.",
      "stackTrace": null
    },
    "innerError": {
      "date": "2024-01-30T18:39:23",
      "request-id": "15833dd9-c743-4641-98a1-f5524f464c65",
      "client-request-id": "343fdf9e-fb2b-41ef-89cd-be85a748f417"
    }
  }
}

However, a GET request to https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_1_new_sign_up_sign_in/userflowIdentityProviders is successful.
Seems like there may be 2 issues here:

The documentation should say PUT not PATCH.
The API endpoint appears to be broken.

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

ID: ff6ad13e-0a21-c437-7dbc-8c5446a6b6ff
Version Independent ID: 58990963-f093-d61f-bd62-fa3f6afc2fc0
Content: Add a userFlowIdentityProvider - Microsoft Graph beta
Content Source: api-reference/beta/api/b2cidentityuserflow-userflowidentityproviders-update.md
Product: identity-and-sign-in
Technology: microsoft-graph
GitHub Login: @namkedia
Microsoft Alias: MSGraphDocsVteam

@FaithOmbongi thanks for the update. Is there any way I can follow the progress on the bug fix? Or get a notification when it's been resolved?

Hi @mfamphlett - From our engineers, the correct method is POST. Our engineers have raised this PR https://github.com/microsoftgraph/microsoft-graph-docs-contrib/pull/9097/files


Roll Flutter Engine from 8b490a9f1650 to 8df165cebac2 (13 revisions)

https://github.com/flutter/engine/compare/8b490a9f1650...8df165cebac2
2023-11-09<EMAIL_ADDRESS>Reland "Remove Fuchsia Mac SDK from DEPS" (flutter/engine#47823)
2023-11-09<EMAIL_ADDRESS>Roll Skia from 8f8c9a144797 to 7d0768083298 (1 revision) (flutter/engine#47858)
2023-11-09<EMAIL_ADDRESS>Roll Dart SDK from 6f36eb00cacf to 6bd98dc2dffd (1 revision) (flutter/engine#47857)
2023-11-09<EMAIL_ADDRESS>Roll Dart SDK from<PHONE_NUMBER>4d to 6f36eb00cacf (4 revisions) (flutter/engine#47855)
2023-11-09<EMAIL_ADDRESS>Roll Skia from b055626ce8c2 to 8f8c9a144797 (1 revision) (flutter/engine#47854)
2023-11-09<EMAIL_ADDRESS>Roll Skia from b6ce84dc3e53 to b055626ce8c2 (1 revision) (flutter/engine#47850)
2023-11-09<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from sD8HRA4JmXczujkqO... to 0pD5ceqf-e9y9NTNn... (flutter/engine#47847)
2023-11-09<EMAIL_ADDRESS>Remove physical geometry (flutter/engine#47825)
2023-11-09<EMAIL_ADDRESS>Roll Skia from f3e4fd80eeeb to b6ce84dc3e53 (1 revision) (flutter/engine#47843)
2023-11-09<EMAIL_ADDRESS>Roll Skia from d9ec01cf15ff to f3e4fd80eeeb (3 revisions) (flutter/engine#47838)
2023-11-09<EMAIL_ADDRESS>[Windows] Remove global state in keyboard tests (flutter/engine#47829)
2023-11-08<EMAIL_ADDRESS>[web] Non-singleton implementation of ui.FlutterView (flutter/engine#47806)
2023-11-08<EMAIL_ADDRESS>Move window state update to window realize callback (flutter/engine#47713)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from sD8HRA4JmXcz to 0pD5ceqf-e9y
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

AutoRoller is stopped; closing the active roll.


Update SDK overview

Description

Update SDK overview to explain SDK v6
Include the overview of interoperability

Superseded by #1628 and #1509


Use whack instead of submodules

 Issue by thedrow
Saturday Oct 12, 2013 at 09:17 GMT
Originally opened as https://github.com/NodeOS/NodeOS-Docker/issues/3

mwilliamson/whack: mwilliamson/whack@dc157ed288875e717dabdae267f9b552434cd396
"Whack allows Linux programs such as nginx and the Apache HTTP Server to be installed with a single command."
It can be used to install nodejs in the container right?

We are not using submodules, and instead we are using npm packages and prebuild for distribution, so clossing.


Missing data and time feature embedding (or temporal embedding)

Hi, I enjoyed reading your work.
I am wondering about the handling of missing samples.
Usually, when we have missing points in temporal dataset, we have to interpolate them with a proper method.
Though in Informer, an explicit indicator of the temporal information (i.e., timestamp) is injected to the model in the form of temporal embedding.
In this case, even if we have missing time points, do we have to impute them?
I think the imputation for Informer is not mandatory as the model knows when each sample is collected.
Hope to get answers about this.
Thank you!
Best,
Adam

Solved @ Autoformer repo.


Icon selected after loading profile is different to the one that was saved

Repro

Set the icon to the grey squircle
Save profile
Load profile
Icon changes to Platypus mascot

Expected

Same icon selected

Actual

Selected icon is different

Is this in master or the 5.3 release?

Apologies, this is 5.3 release. I didn't realise it was so old.
I just build the latest code and it is indeed fixed.
Cheers!


macOS error: dlsym(0x8a21b620, sqlite3_crsqlitedarwinaarch_init): symbol not found

I'm trying to load the https://github.com/vlcn-io/cr-sqlite/releases/download/v0.15.0-next.2/crsqlite-darwin-aarch64.dylib on macOS.
/opt/homebrew/Cellar/sqlite/3.43.0_1/bin/sqlite3

SQLite version 3.43.0 2023-08-24 12:36:59
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .load crsqlite-darwin-aarch64
Error: dlsym(0x8a62b620, sqlite3_crsqlitedarwinaarch_init): symbol not found
sqlite>

I've tried a few different sqlite3 binaries I had lying around and got the same error in all of them. What am I doing wrong?

Aha - just spotted this: https://github.com/vlcn-io/cr-sqlite/blob/59f03c8a23cfa361ca9bf95c603fc70442419127/README.md#L156-L158

This. worked:
sqlite> .load crsqlite-darwin-aarch64 sqlite3_crsqlite_init

Different problem, trying to follow this example in the README:
https://github.com/vlcn-io/cr-sqlite/blob/59f03c8a23cfa361ca9bf95c603fc70442419127/README.md?plain=1#L85-L140
I get:
sqlite> insert into crsql_changes
  ("table", pk, cid, val, col_version, db_version, site_id)
  values
  ('foo', 5, 'b', '''thing''', 5, 5, X'7096E2D505314699A59C95FABA14ABB5');
Runtime error: query aborted (4)

Ah I haven’t kept the readme up to date with the latest version. The entire
output of crsql changes should be fed into an insert into crsql changes on
another node.
Not at a laptop now but the python hypothesis tests as well as sync tests
would have up to date example uses.
On Tue, Sep 5, 2023 at 2:26 PM Simon Willison @.***>
wrote:

Different problem, trying to follow this example in the README:
https://github.com/vlcn-io/cr-sqlite/blob/59f03c8a23cfa361ca9bf95c603fc70442419127/README.md?plain=1#L85-L140
I get:
sqlite> insert into crsql_changes
("table", pk, cid, val, col_version, db_version, site_id)
values
('foo', 5, 'b', '''thing''', 5, 5, X'7096E2D505314699A59C95FABA14ABB5');
Runtime error: query aborted (4)
—
Reply to this email directly, view it on GitHub
https://github.com/vlcn-io/cr-sqlite/issues/338#issuecomment-1707109996,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHWK22ZPKISTV2A546SW2LXY5VGFANCNFSM6AAAAAA4MFSBOU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Gotcha, looks like this is the test to follow: https://github.com/vlcn-io/cr-sqlite/blob/main/py/correctness/tests/test_sync.py

Yep. That uses the latest build (what is in main and the v0.15.xxx releases)

@simonw  - I published v0.15 as the official stable release and updated all the docs on the site to match. Should be a smoother experience from here on.

Wrote up some of my notes on trying this out here: https://til.simonwillison.net/sqlite/cr-sqlite-macos


Update submodule cmake_hexagon to latest Fri Dec  7 12:38:50 UTC 2018

- cmake_hexagon in PX4/Firmware (dc49e259b3c92fd64a0066e0ed87314d7b79b4ea): https://github.com/ATLFlight/cmake_hexagon/commit/08fd0a73045346448adf6969660196228b23e1fa
- cmake_hexagon current upstream: https://github.com/ATLFlight/cmake_hexagon/commit/342aca20c1b5077dbb4e86b807b055130cfdd09b
- Changes: https://github.com/ATLFlight/cmake_hexagon/compare/08fd0a73045346448adf6969660196228b23e1fa...342aca20c1b5077dbb4e86b807b055130cfdd09b

342aca2 2018-10-24 Chad Sweet - remove dead code
030c61f 2018-10-24 Chad Sweet - adding toolchain v8.0.08

@karliss you might be interested in this.