GUI or CLI

We should create a command-line interface or GUI.
Frontend development is not something I know well, so I'd love some help on this feature!

Once the examples have been fixed and I can run the code for v2 I would be happy to give the GUI a shot using Qt.

So this is going to require some design decisions on your part as it progresses, however, to begin I'd like to refactor your file structure slightly to clean everything up in preparation for the UI. I've attached a picture below of how I think would be optimal, and the full structure can be found in my branch https://github.com/Zach10a/PteraSoftware/tree/gui_formation .

After you've had a gander at that, let me know what you think about this as a template;

Obviously it's still in the early stages, however I am trying to loosely follow the generic "CFD Software" workflow. Let me know what you think!

@Zach10a Thank you for your work on this. It looks awesome!
Regarding the file structure, that will require a bit of work on my end. The main challenges are ensuring that everything is packaged properly for a PyPI release, and trying to not break backward compatibility unless necessary. However, I think it will be doable! Once we have the GUI up and running, I'll start making those changes.
The template looks great! Because you are using QT, we may also be able to do the pyvista visualization inside the same window via the pyvistaqt package.

Standby on the file structure, I've halted the refactor because of issues relating to relative path imports. Will just finish off the GUI with the current file system and we can discuss refactoring after!

Initial design of the first page, needs some cleaning up but let me know if you have any thoughts on the design. I've also implemented a splash that shows the logo while the app is loading.

@Zach10a Damn! I absolutely love how this looks.
One thing to keep in mind is that wings can be defined with many wing cross-sections (more than just two), and airplanes can have multiple wings (more than just one). Problems can even contain multiple airplanes!
However, the first version of the GUI doesn't need to incorporate every feature of the full solver. Instead, we should first shoot for a minimum viable product (MVP). I just wanted to mention this so that it's in your mind as we continue development.
I've also attached a version of the logo with dark text so that it shows up better against the white background. Thanks again for the amazing work!

Agreed with the MVP comment, that is what I'm currently trying to produce. Hopefully the early versions will allow us to package it up into an app to allow people to get a demo of what it's like, and increase awareness about it.
Obviously down the line more features can be added, and PySide2 designer software is relatively easy to find your way around and change things, improving the current style and adding more capability to catch up with the code itself!
Cheers for the Black logo, will stick that up there when I work on it next!

Just finished off adding the capability to run examples through the GUI, go check it out if you have a moment! They can be run via the "Help" menu at the top.
I've been having a think about your comment regarding MVP and would like to clarify it so we don't keep 'chasing that next feature'. My current MVP would look like this:

User has ability to run examples.
User has ability to run very simple 2 Cross-Section simulations using their own parameters
Terminal output is shown at the bottom of the page

If you have any thoughts on this please let me know. Would love to keep adding capability after that, however I think these very clear goals will help avoid the never-ending loop of adding features and never releasing.
Really enjoying working on this, CFD was always a big part of my Uni life so really happy to be giving back!

@Zach10a I just downloaded your branch and ran the examples using the GUI. It's awesome!
Regarding the MVP, I agree with your list of features but would add one more: I think it would be advantageous if the GUI version of Ptera Software could be packaged in an executable. That way, users could start trying out the software without the added opportunity cost of downloading Python + an IDE and setting up a virtual environment.
However, I don't know how much extra work that feature adds. I found this article that outlines the process. In your opinion, do you think this is an appropriate feature to add at this phase?
Regardless, after we get those three or four features implemented, I think we should release the GUI with the next release of Ptera Software (v2.1.0 or v3.0.0 depending on if we break back compatibility or if other features are added in the mean time).

Many thanks for the kind words!
I've got experience packaging these sorts of apps, will most likely be using INNO Setup. Agree that this feature would be appropriate at this time.

I am still working on this, just had a busy few weeks!

Hey @Zach10a! I've made a pull request template and contribution guidelines based on your advice regarding pull requests. I'd love to get your feedback on them if you have some time.
Additionally, I was wondering about your feelings regarding the scope of GUI. Do you think it would constitute a major version release (it breaks backward compatibility with the pre-existing API) or a minor version release (it incorporates new features but doesn't change compatibility)?
Cheers!

Hey Cam,
In terms of the GUI scope, I think it would probably be good for it to constitute a major version release as for the first time any user irrespective of coding experience will be able to use it. Whether it breaks backward compatibility is yet to be known and I'll be honest I would probably have to make that call when I get back to working on it.
Will take a look at the contribution guidelines! Apologies that it's been a while, I am currently in a training program that requires pretty much all of my capacity. Looking to restart work on this early July.
Hope this helps, will get back to you if there are any queries regarding the PR template.

Hi Zach. Good points on the GUI likely being a change that constitutes a major release. Also, no worries about taking your time with the GUI. I appreciate the help regardless, so no pressure!☺

Hi mate,
Just fixed the examples menu to reflect the current folder structure. I'm getting near the end of this stage of my training so should have more capacity to work on this in the next couple of months.
I'd like to discuss the possibility of changing the structure of this git repo to reflect a project in development. This would mean that the 'master' branch would be the current release, and the 'develop' branch being the one that is collecting all of the new features and ensuring they are compatible. At the moment it appears a little sporadic and only built for one person to develop the project. As the contributing community grows (which I very much hope it does!) I think that the current structure may cause confusion and barriers to entry.
At the moment I am working on getting terminal output going. Once this is implemented, I think having a release put out with the full packaged software and the examples able to be run would be a fantastic PR tool and could increase the project's usability and therefore interest from a larger community. After that, the ability to add in user-configured simulations can be sorted.
Let me know what you think, hope you are well and enjoying the summer.

If I'm honest my idea was a tad more simple than this, just changing the develop branch to the branch with all the new features and the master branch being used for the latest full release versions.
Please see the below image for an example of how I would do it vs how we are currently doing it. It looks like you feed your master branch into the develop branch when I think that it should be the other way around. A tad pedantic and it feels silly to make such a hash over a small change but others coming in from different projects and wanting to contribute may find it more familiar.
As an update on the GUI, I'm starting to get it together in a decent way now so should hopefully be ready to package it in the next few weeks!

Yep, there are crossed wires here somewhere. As long as we are on the same page regarding Git flow (Feature branches feed into develop, which is then fed into master upon a release) then I think we are on the same page and should continue using it. I think we may be confusing each other because we have never seen the system in action on this particular repo.
Regarding that, I am now happy that most parameters have been met for the GUI to be packaged and released as a Beta. As of now only the examples work, however getting custom simulations to work will require more than just me as it's a rather larger job than expected. I am currently working on getting it set up with Inno Setup, will update when I'm nearly there!

Alright! Thanks to the awesome work of @Zach10a, I'm going to close this issue and issue #19.


Large Number of Labels

Dear Cesium Team,
When i add large number of labels (1500 Label) it freezes.
if i add point primitives without labels everything goes fine, but when i add labels the app stops working.
is there any way i can do it?

i tried to add less then 1500, it only works with 250 and less, more than 250 label the application stops working.


Script does not work with Pester v5

With Pester 5.3.3 installed, the script will throw these errors about syntax incompatibilities:
Running tests.
[-] OSValidation.HostOS.HYPER05: Must be Windows Server 2016, or Server 2019 365ms (271ms|93ms)
RuntimeException: Legacy Should syntax (without dashes) is not supported in Pester 5. Please refer to migration guide at: https://pester.dev/docs/migrations/v3-to-v4
RuntimeException: Legacy Should syntax (without dashes) is not supported in Pester 5. Please refer to migration guide at: https://pester.dev/docs/migrations/v3-to-v4
ParameterBindingException: Cannot retrieve the dynamic parameters for the cmdlet. Legacy Should syntax (without dashes) is not supported in Pester 5. Please refer to migration guide at: https://pester.dev/docs/migrations/v3-to-v
4
at , C:\Program Files\WindowsPowerShell\Modules\Convert-LBFO2SET\2<IP_ADDRESS>\tests\unit\unit.tests.ps1:10

Seeing this as well. Any workaround?

I released an updated version today with Pester 5 compliance for unit.tests.ps1. Please try that and let me know if that resolves the issue in your environment.
https://www.powershellgallery.com/packages/Convert-LBFO2SET/2<IP_ADDRESS>

You're welcome. Closing this issue.


Update readme links to npm packages

With the change in https://github.com/oasislabs/oasis-client/pull/66, we inserted dummy links for npm packages, since we haven't yet published. Once we publish, we should update these links. See https://github.com/oasislabs/oasis-client/pull/66/files#diff-04c6e90faac2675aa89e2176d2eec7d8R13.

Done.


Potato installation validation checklist

[x] Check that SSO works
[x] Create a first organization for the customer
[ ] Create a cluster via kubectl-gs/gsctl in the customer's organization
[ ] Test network
[ ] Make sure the Helloworld example works with ingress
[ ] Test PVC
[ ] Delete test cluster
[x] Check if the installation can be upgraded using GitHub actions

Once all these things are ok:

[ ] Delete [the routing rule or OpsGenie policy]({{< relref "/docs/support-and-ops/installation-setup-guide/silence.md" >}}) that silences alerts
[ ] Let your colleagues know that a new cluster is coming up, what it's codename is, and who it's for in #news-ops

For a cluster that will be set up with SSO for customers (this should be the default where possible):
Good morning [contact-person], the cluster has been created, [I or @someoneelse] will now set up single sign-on (SSO) for you guys :giantswarm:

This will help you to get access to the management cluster's Kubernetes API (also known as the Management API) and our UI. This lets you create Kubernetes clusters.
Once a Kubernetes cluster is created, you can grant access to it by creating a client certificate.

[x] Ask SE to setup SSO for the customer

For a cluster that cannot be set up with SSO, and will use user accounts:

[ ] Communicate in slack that the cluster is up and that they can start working with it using happa or gsctl

Good morning [contact-person], the cluster is ready, [I or @someoneelse] will now create user accounts for you guys :giantswarm:

The accounts I'll be making are to get access to the Giant Swarm Rest API and our UI. This lets you create Kubernetes clusters.
Once a Kubernetes cluster is created, you can grant access to it by creating a client certificate.

Cluster creation fails with
E 10/26 16:03:03 org-babymarkt/xg7w8 failed to reconcile | operatorkit/v7/pkg/controller/controller.go:326 | controller=aws-operator-cluster-controller | event=update | loop=16 | version=2050220
        /go/pkg/mod/github.com/giantswarm/operatorkit/v7@v7.1.0/pkg/controller/controller.go:532
        /go/pkg/mod/github.com/giantswarm/operatorkit/v7@v7.1.0/pkg/controller/controller.go:567
        /go/pkg/mod/github.com/giantswarm/operatorkit/v7@v7.1.0/pkg/resource/wrapper/metricsresource/basic_resource.go:43
        /go/pkg/mod/github.com/giantswarm/operatorkit/v7@v7.1.0/pkg/resource/wrapper/retryresource/basic_resource.go:64
        /go/pkg/mod/github.com/giantswarm/backoff@v1.0.0/retry.go:23
        /go/pkg/mod/github.com/giantswarm/operatorkit/v7@v7.1.0/pkg/resource/wrapper/retryresource/basic_resource.go:52
        /root/project/service/controller/resource/tccp/create.go:90
        /root/project/service/controller/resource/tccp/create.go:180
        unknown: ValidationError: [/Resources/MasterSecurityGroup/Type/SecurityGroupIngress/2/CidrIp] 'null' values are not allowed in templates
        status code: 400, request id: e6b51bf9-5360-46cd-9b91-4be743de171a

external dns on the test WC failing with:
time="2022-10-26T16:43:41Z" level=error msg="records retrieval failed: failed to list hosted zones: AccessDenied: User: arn:aws:sts::400957944947:assumed-role/gs-cluster-xg7w8-role-wr6t4/i-0138a64f3b4732544 is not authorized to perform: route53:ListHostedZones because no identity-based policy allows the route53:ListHostedZones action\n\tstatus code: 403, request id: 68f0fdb6-7b9d-44f7-8fc1-03ba8c91513f"


No line breaks in binding attributes

Would it be possible to add an option to keep a binding attribute in the same line?

+1, just started trying out this plugin and immediately started getting RelativeSource bindings thrown onto three lines with indentation issues as mentioned in #27. Would love a setting to leave make sure each attribute is only on one line. :)

I'm labeling this as a bug because in the new win10 apps, if you use x:Bind and split it over 2 lines it actually gives a compile error (in the beta sdk).
I'll have a look at adding this as an option

added the following options:

keep Binding on same line (default: false)
keep x:Bind on same line (default: true)


Getting two errors

In the EasyAnimation.swift file I get two different error messages in
"anim = RBBSpringAnimation(keyPath: pending.keyPath)
if let anim = anim as? RBBSpringAnimation {"

Use of unresolved identifier 'RBBSpringAnimation'
Use of undeclared type 'RBBSpringAnimation'

You have a solution for this?

I need more details - no idea why you get these errors

I have copied the folder manually into my project, I think there these errors come from.

The RBBAnimation class is right there in the subfolder: https://github.com/icanzilb/EasyAnimation/tree/master/EasyAnimation


Trying to add external SQL file (Попытка добавить внешний SQL file ) tegola v0.12.x

[[providers]]
database = "osm"
host = "x.x.x.x"
max_connections = 100
name = "osm"
password = "xxxxxxxxx"
port = "5432"
srid = 3857
type = "mvt_postgis"
user = "gis"
 [[providers.layers]]
 geometry_fieldname = "geom"
 geometry_type = "Polygon"
 name = "landcover-low-zoom"
 id_fieldname = "id"
 sql = """%./tegola_osm_carto_mvt_sql/landcover-low-zoom.sql%"""

could not register providers: could not generate sql, for layer(landcover-low-zoom): ERROR: syntax error at or near "%" (SQLSTATE 42601)
log db:
STATEMENT:  SELECT * FROM %./tegola_osm_carto_mvt_sql/landcover-low-zoom.sql% LIMIT 0;

@zaa76 we don't currently support loading an external file. The SQL must be inline in the config. Another approach you can take is to create a stored procedure in your database and then call it from the config file.

I saw this approach in this:
https://raw.githubusercontent.com/openmaplt/vector-map/master/config.toml.template

that file is processed by
https://github.com/openmaplt/vector-map/blob/master/generate_config.sh to
create the resulting sql-inline config file.
On Tue, Aug 25, 2020 at 10:47 PM zaa76<EMAIL_ADDRESS>wrote:

I saw this approach in this:
https://raw.githubusercontent.com/openmaplt/vector-map/master/config.toml.template
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/go-spatial/tegola/issues/716#issuecomment-680669838,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOUKTSQCOC4Y6F4IYBMQO3SCSOS5ANCNFSM4QKZ4LHA
.


Guess The Song #3896

PR Description 📜
Song guessing game comprises of emoji to guess the song in search of desired answer. Where you can get 5chances to guess proper letter otherwise you may loss then game or Win the game
Fixes # #3896

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Damini2004 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@kunjgit Conflict resolved ?

@Damini2004 resolve merge conflicts !

@kunjgit Kinldy review the PR

Thank you  @Damini2004 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Fixes #2604

The one odd bit in here is that In order to have the negative charge version of this construct, [-{1-3}], work I needed to add a new query type that handles negative formal charges. This is because the SMARTS parser doesn't actually recognize/handle negative numbers (and allowing it to do so would likely lead to a giant mess of shift/reduce problems).

For the last commit, I noticed that the tests didn't change.  How was this passing before or do we need a test that executes this changed code?

For the last commit, I noticed that the tests didn't change. How was this passing before or do we need a test that executes this changed code?

Testing that would require adding a reaction with that primitive. Probably worth doing

For the last commit, I noticed that the tests didn't change. How was this passing before or do we need a test that executes this changed code?

Testing that would require adding a reaction with that primitive. Probably worth doing

The test is in.


main app won't compile after adding cqerl to dependency list

Notice: Newbie here.
I have initiated a new app using Erlang/OTP 18 and Rebar3 on Ubuntu server 16.04.
On first compile, it works fine but it seems Rebar3 is not compiling the main module/app as soon as I add cqerl to its dependencies list.
(this directory doesn't exists after update rebar.config and compile again _build/default/lib/APP_NAME)
Is this a known issue or I'm missing something here? :)

Is there any error printed out?

@matehat No, that's why I don't know which part is broken.
It runs successfully without error when I have an application (rebar3 new app APP_NAME),
but throw
{"init terminating in do_boot",{undef,[{MY_APP,my_function_name,[],[]},{init,start_it,1,[]},{init,start_│ em,1,[]}]}}
when I have a library (rebar3 new lib APP_NAME) by running erl -env ERL_LIBS _build/default/lib -s APP_NAME my_function_name -noshell.
Ps1: I have already used -compile(export_all). to export all of functions and it works fine before adding cqerl to the deps.
Ps2: In case it might be helpful, for the first time it was downloading and compiling cqerl, it gave me an error that re2.h file doesn't exist. I tried to install re2 using google's repo and it solved the problem.

@mousavian how did you end up resolving this issue. I'm seeing something similar on my end.

@janajri  I don't really remember how i solved it or even it solved or not; but just can say our requirements changed and cassandra was no longer needed. So we are not using this lib anymore.


Added User Specified Server-Side Re-directs

Modified Plugin to look for server-side-redirects

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[x] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[x] Optional Screen Shoot.

CC @rohanmaharjan100

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

@wei-harness @rohanmaharjan100 made even easier! Since _history-redirects was the file that is the place holder file to start, renamed to _server-redirects with a few more instructions and looks fine. Can validate.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Going to merge in so @rohanmaharjan100 can take a look at taking further.


Waiting for services to be up and running (docker)

Sometime when executing build commands, services container can be not
completely started leading to errors.
This issue is addressed here by injecting the "aanand/wait" docker
image after each service start.
See also https://github.com/ayufan/gitlab-ci-multi-runner/issues/9

It looks nice. Please add docker config option to disable it.

Updated :)

Looks nice. I'll merge and add some small enhancements.

Ok great! :smile:

Thanks for help :)

You’re welcome!


Unwanted smoothing (sprite.smoothed = false)

I used Chrome 48, IE 11, and Edge.
Example: phaser pixel art example.zip

Sorry but I need an example uploaded somewhere I can run.

https://jsbin.com/quqakonuqo/edit?html,output

I have also been running into this issue for a while, but i decided that this approach works the best to turn the smoothing off globally
Phaser.Canvas.setImageRenderingCrisp(game.canvas)

Works in the latest stable chrome.
from #1586

I've also run into this issue quite often. It seems Chrome does not want to respect smoothing regardless of what you have the property set. Sometimes it works, sometimes it doesn't. It's odd! I think it must be a Chrome bug.

The fix for this is now merged into dev.


This is such a helpful repo! Thanks a lot for making it!

Thanks!
I just needed to write this thank you word, this is super helpful.

this issue can be closed. :) wishes from sweden!

Thank you,
You are welcome to contribute :)

If I find anything that can be improved, I'll happily make a PR, good day!
^_^


Request: Register-SecretVault should have ModuleName as Position 0 Parameter and Name Optional

For a ease of use improvement, if ModuleName is in Position 0 and Name is optional, then the vault name should be the same as the ModuleName by default if one isn't supplied, facilitating easier and more terse usage if a user doesn't want a custom Vault Name.
For instance:
Register-SecretVault Keepass #Implies -ModuleName KeePass
#Will Create a vault named 'KeePass' that can be referenced easily
Set-Secret -VaultName KeePass -Name MySecret -Secret 'ok'

Thanks @JustinGrote this is a perfectly reasonable request, cant think of any reason why this wouldnt have a nice behavior--thanks!

Added in Preview4.


Separet theme color for dark mode

I'd like to be able to set different theme color for light and dark mode. E.g my company has an accent color (bright yellow) that looks OK on black background, but on white background it's barely legible.
So I'm proposing introducing:
themeDark, in addition to them (there is already logo and logoDark)

This seems reasonable, wdyt @Ehesp?

Started this here: https://github.com/invertase/docs.page/tree/feat/dark-theme
Need to properly try it out.

Thanks so much! :)
Also while we're at it, it'd be nice to also add faviconDark (same case, my company's logo is black and white – https://patrol.leancode.co).

Light and Dark theme colours are now supported. Will create a separate issue for favicon.


S17: As a player, I want to be informed about the duration of the game (in real-time). Acceptance Criteria:

[x] At the start of each game, players are notified about the total duration of the game.
[x] A timer countdown is displayed during the game, indicating the remaining time.

Task List (front & back):

[x] sopra-fs24-group-43/client#20

[x] sopra-fs24-group-43/client#21

[x] #92

[x] #93

[x] #94

[x] #160

efab24c4127a3de172fe6b94dd60fed12e8ba992


Keyboard pops up on mobile

Mobile (android) keyboards popup and render the widget unusable or at least very confusing. I have tried the solution suggested in issue 848 but I wont work if there are two pickers on a page. Would it be possible to use the html5 datetime widgets instead as an option?

there's a new option in the dev branch focusOnShow if set to false, it will not set the focus to the textbox


Use boost::filesystem on windows failed

Hello,
when  add find_package (Boost COMPONENTS system filesystem REQUIRED) in my CMakeFile.txt, it's works well on MacOSX and Ubuntu in Job but failed with on Windows
(on local it works with the same CMakeList.txt windows)
The code in job :
 job-name:
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v2
    - name: Install boost
      uses<EMAIL_ADDRESS>      id: install-boost
      with:
        boost_version: ${{env.BOOST_VERSION}}
        platform_version: 2019
        boost_install_dir: 'D:/'

The error :
CMake Error at D:/boost/boost/lib/cmake/Boost-1.79.0/BoostConfig.cmake:141 (find_package):
  Found package configuration file:

    D:/boost/boost/lib/cmake/boost_system-1.79.0/boost_system-config.cmake

  but it set boost_system_FOUND to FALSE so package "boost_system" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_system-mgw8-mt-d-x32-1_79.a (32 bit, need 64)

  * libboost_system-mgw8-mt-d-x64-1_79.a (mgw8, detected vc143, set
  Boost_COMPILER to override)
-- Configuring incomplete, errors occurred!

See also "D:/a/cpp-coso/cpp-coso/bin/CMakeFiles/CMakeOutput.log".
  * libboost_system-mgw8-mt-s-x32-1_79.a (32 bit, need 64)
See also "D:/a/cpp-coso/cpp-coso/bin/CMakeFiles/CMakeError.log".

  * libboost_system-mgw8-mt-s-x64-1_79.a (mgw8, detected vc143, set
  Boost_COMPILER to override)

  * libboost_system-mgw8-mt-sd-x32-1_79.a (32 bit, need 64)

  * libboost_system-mgw8-mt-sd-x64-1_79.a (mgw8, detected vc143, set
  Boost_COMPILER to override)

  * libboost_system-mgw8-mt-x32-1_79.a (32 bit, need 64)

  * libboost_system-mgw8-mt-x64-1_79.a (mgw8, detected vc143, set
  Boost_COMPILER to override)

I don't know if Windows need extra parameters to works with boost::filesystem usage, have you ever encountered this problem ?

You've installed boost for mingw but you are trying to compile using msvc.
You should set the toolset parameter to msvc to install the proper binaries.
There should also be a warning issued about the toolset parameter being unset.

Thank you it works 😊

Great!

It doesn't fix mine, i still have the issue. 1.78.0 work but not 1.79.0
workflow
https://github.com/cyberium/mangos-wotlk/blob/master/.github/workflows/windows-release.yml#L71
msvc is set
https://github.com/cyberium/mangos-wotlk/runs/6422426953?check_suite_focus=true#step:6:4
fail
https://github.com/cyberium/mangos-wotlk/runs/6422426953?check_suite_focus=true#step:8:116

You might be able to fix this issue by adding
include_directories(${Boost_INCLUDE_DIRS})

to your CMakeLists.txt after FindBoost is invoked.
But clearly, the project you are trying to build is not meant to be built with boost 1.79:

CMake Warning at C:/Program Files/CMake/share/cmake-3.22/Modules/FindBoost.cmake:1369 (message):
New Boost version may have incorrect or missing dependencies and imported
targets

Thank for your suggestion
The include should be correctly done here
The build work on my local as i said, the only difference is the boost binaries and cmake version. I use latest one.
So i just went further and here is the content of your boost folder

Here is what i get on my local install

So issue is clearly in your image.

Oh, you just tried to install binaries compiled for windows 2019 on a windows 2022 machine, this is unrelated

But 1.79.0 seems to cause issues, so I'll keep this open until I can find a fix

@cyberium You may want to try boost version 1.79.0.beta1, this version should fix your Problem.
The issue seems to be the folder structure of the include directory (windows requires another build layout, of course it does), which doesn't work with boost 1.79.0 and CMake, for some reason. The structure is exactly the same as with previous versions, but this one just doesn't work that way. That's probably why CMake emits the warning about newer boost versions...whatever.
When moving the include directory, this seems to work fine, so let me know if that fix works for you (seems to work fine with your repository on my local machine) and I'll re-compile the binaries for version 1.79.0 🙂

I can confirm that 1.79.0.beta1 is working. Thank you very much.


SEPA payment does not respect redirection mode

Describe the bug and add screenshots
Using German Paypal, with 'Alternative Zahlungsmethoden' activated.
When redirection mode is turned on:

The 'giropay' and 'sofort' behave correctly - replacing inline button to redirection.
But the 'SEPA' payment still displays inline button.

Expected behavior
Giropay, Sofort and SEPA shall all behave consistently - with 'In-Context' mode, display inline button, with 'Redirection' mode, do NOT display inline button.
Giropay and Sofort behave properly, SEPA not.
Steps to reproduce

Configure Paypal with German account
Enable 'Alternative Zahlungsmethoden' option
Set 'PayPal-Checkout' option to Weiterleitung (redirection)

PrestaShop version(s) where the bug happened
<IP_ADDRESS>
PHP version(s) where the bug happened
No response

Hi,
Any update on this?
Thank you.

I have the same issue with the Credit Card Payment Option provided by this Module. Prestashop <IP_ADDRESS> and PHP 7.2
Pay Later might be affected too: As explained in #301 the button is missing. In redirection mode and sandbox the button is however shown as In-context mode.

This problem has consequences with regard to the valid conclusion of a purchase contract in the EU / Germany. Just because a payment is made does not constitute a purchase contract. It is important that the customer clicks on the button at the end of the checkout and thus expresses his will to conclude the purchase contract.
Related: #156


Added support for the kotlin-language-server

This PR adds support for the kotlin-language-server found at fwcd's repository.

Please provide guidance about further steps I should consider to make this contribution pass.

// edit:
Unfortunately I did not manage to rebase an fix for recover the lint test of the CI-pipe (trailing whitespaces). Should I rebase (squash all of my commits) from the previous commit (#d16b49e)? I picked #5e5c8b5 of my branch. Result is displayed below..

Thank you for the feedback and fixes! I intended to bundle your suggestions but you can see the result.. Anyways, the server is running.
The linked json includes the configuration-options. I will append them into the README in an additional commit.

@thchha
And I have a question.
This setting applies utf8 to the language server.
Where can I see if kotlin-language-server is using utf8?

@h-michael
Spec 3.15.X describes that the only permitted encoding type is utf-8.
This server builds on top of lsp4j which is an implementation of this spec. It uses a generic implementation of jsonrpc "2.0", referenced here. This source specifies JSON RPC4627.

Encoding
JSON text SHALL be encoded in Unicode.  The default encoding is
UTF-8.
Since the first two characters of a JSON text will always be ASCII
characters [RFC0020], it is possible to determine whether an octet
stream is UTF-8, UTF-16 (BE or LE), or UTF-32 (BE or LE) by looking
at the pattern of nulls in the first four octets.
00 00 00 xx  UTF-32BE
00 xx 00 xx  UTF-16BE
xx 00 00 00  UTF-32LE
xx 00 xx 00  UTF-16LE
xx xx xx xx  UTF-8

So the transport-protocol supports more encodings but the server-spec.
Within the sources of fwcd nor at lsp4j appears to be a direct specification (besides the actual encoding of the source-files) of the encoding. Should I file an issue at these repositories for further clarifications and notify here again?

@thchha
Our "utf8" config does not point out that.
LSP deals character offset with UTF-16.
But some servers like "clangd" provide UTF8 option.
https://clangd.llvm.org/extensions.html#utf-8-offsets
Our "utf8" config is for using that option.
So if kotlin-language-server does not provide that option, we should not set "utf8" config.
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocuments

Thanks for the fast clarification.


Rewrite recipe to handle multiple packages

The current (1.0.0-dev00030) version of the recipe only handles projects which produce a single package. This issue aims to revise the recipe to handle multiple packages. At the same time, BuildSettings will be converted to a static class, allowing a more procedural scripting style on the user side.

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

GitHub Release
NuGet Package


Display only the total row

Hi all,
And thanks a lot for this plugin.
I have a visualization with computed columns.
I would like to display only the header line and the total line. Not all the details (See attached screenshot)
Please how can I do that ?
Regards
Dn

Hi,
Thank you for your reply
The fields are computed columns and won't appear for selection for metric agg
Hope I will be able to find a work around
Thanks
Regards
Dn

What do you mean by "The fields are computed columns and won't appear for selection for metric agg"?
If you have no "bucket" agg, but only "metric" aggs, computed columns will still be displayed.
To understand well your vis, do you use "Enhanced Table" or "Document Table" visualization?

I use Enhanced Table,
I cannot but use the bucket agg, for my BAT-, BAT, BAT+, BAT++ columns are computed based on columns from the Split cols bucket.

OK, do you can keep your “split cols” bucket, but remove all “split rows” columns.
Like that, you will have only one data line.

The problem is that I also need the split "rows columns" to compute my computed columns.
I think I will just keep the table as is.
Thank you
Dn

OK.
For info, if your computed columns require some fields, you can eventually use “top hit” metric.
not else, you keep table as is 😉

As question is answered, I close the issue.


Trending nav item is repeating in header

Steps to reproduce:

Go to https://github.com/sindresorhus/refined-github It's added twice
Click on a sub-repo navigation item - e.g. Issues tab.

This has been introduced relatively recently on master.

I cannot reproduce on master

It is indeed quite strange. The function is actually called twice and it's fixed when I remove both async and await. Would reinstall and report back.

It's it's called twice then the script is being injected twice, probably. Stick a console.log at the bottom of content.js

Do you have multiple extensions loaded? 😃

I was able to have this occur today too.

Running latest master, confirmed I do not have two extensions loaded. Additionally the Trending item is being added with the back button as well.

ahhhh I think the dynamic script injector's ping receiver got lost. Try this PR:

New issue report here: https://github.com/sindresorhus/refined-github/pull/492#issuecomment-310583630

I saw this issue once I re-enabled the AMO version, but then I reloaded the page and it stopped appearing (for now)
It might happen once.

What's AMO? 😅

Mozilla Addons site 😃

It's getting worse. Yesterday I had 20 of them. 😨

I'm having a hard time figuring this out. Surprisingly, chrome.permissions doesn't include github.com (because in manifest.json it's only specified in content_scripts but not permissions), so the injector should be stopped pretty early and it should not run at all.
Can you inspect the background page and run this code in its console?
chrome.permissions.getAll(console.log);
chrome.tabs.onUpdated.addListener((tabId, ignore, {url}) => console.log(url));

Then open github.com and look back in the background page's console. It should look like this:

origins: Array(0) and then a lot of undefined

Are the Trending links consistently there? All the time every time?
If so, try this:

visit a repo
paste this in the console:chrome.runtime.onMessage.addListener(request => console.log(request, chrome.runtime.id));

visit the Issues tab

Nothing should appear in the console, the page should be loaded via ajax (i.e. the console should still contain what you pasted)

The trending links seem to start off on 1 or 2 and then add another on the first time I load another section within the repo like the issues/PRs/Releases, etc. e.g. issues only gives 1 more but going to 3 repos and clicking issues each time adds 3.

I'll some logging at every step and push to Chrome so we can get more details.

An easy way to work around this is to add the same code we have for most other items we add to the dom and check for it's existence before adding it. Doesn't solve the root cause of why the extension is running twice, but if it's an odd edge case, it may be worth the time savings of solving it the quick and easy way, especially since we use that pattern for everything else.

I'd rather not do that because it'd push the real problem under the rug, deprioritizing the issue. You don't want an extension to run 10 times.

I'd rather not do that because it'd push the real problem under the rug, deprioritizing the issue. You don't want an extension to run 10 times.

While that's fair, I think it's worth fixing the issue as best as we can immediately and then addressing the larger issue without this clear bug in the way.
I think @busches suggestion of checking for the existence of the element before adding it is a fine fix for now (we're doing it elsewhere already). Later when we have time to circle back on the underlying issue we can also remove the unnecessary DOM checks for this element and others when we have a better fix.

+1 for quick fix, it's really annoying...  Even though I get an itch by treating symptoms and not the underlying issues

@bfred-it I'm not suggesting we ignore the issue all together, only that we put in the workaround as it's super annoying, as @paulmolluzzo and @SimenB mentioned.


[Android] com.android.tools.build:gradle 3.4.1 gives error

Current behavior
For react-native-firebase we need to up the com.android.tools.build:gradle to version 3.4.1
But this gives this error:
FAILURE: Build failed with an exception.

Where:
Build file<EMAIL_ADDRESS>line: 33

What went wrong:
A problem occurred evaluating project ':@react-native-community_async-storage'.

Failed to apply plugin [id 'com.android.library']
Minimum supported Gradle version is 5.1.1. Current version is 4.10.2. If using the gradle wrapper, try editing the distributionUrl in /Users/rendom/Documents/dh/dailyheroapp/android/gradle/wrapper/gradle-wrapper.properties to gradle-5.1.1-all.zip

Expected behavior
Succesfull build
Repro steps
Use 3.4.1
android/build.gradle
dependencies {
        classpath 'com.android.tools.build:gradle:3.4.1'

Environment

Async Storage version:1.5.0
React-Native version: 0.59.9
Platform tested: Android

Hi @rendomnet ,
This comes from the fact that AS is using 3.2.1 version of build tools. I plan of upgrading, but I have to check if it's going to cause some breakages.
For now, you can either manually set build tools version to 3.4.1 or use tools like patch-package to do it for you.
thanks.

@rendomnet

For react-native-firebase we need to up the com.android.tools.build:gradle to version 3.4.1

Though firebase shows to upgrade to 3.4.1 as an exemple, https://rnfirebase.io/docs/v5.x.x/releases/v5.5.x , they only tell that it is necessary for gradle build tools to be above 3.3.2, not 3.4.1.
We had problems for compiling our project in release because of com.android.tools.build:gradle: 3.4.1 and distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip

any updates on this?

@rendomnet 	I'm going to look into upgrading next week. For now, I'll refer to my comment above

@rendomnet I'm going to look into upgrading next week. For now, I'll refer to my comment above

Hello, waiting for this to update, so that i can upgrade to 60.
Thanks for your kind effort!


Fix invalid index check in ColumnIndexReader

Fixes https://github.com/hughbe/excel-mapper/issues/59
/cc @jeffolmstead

Fantastic! Looks great.


[X11] Fix mouse events triggered by non-popup or non-focused window

Fix: https://github.com/godotengine/godot/issues/94615
There are several issues here:

By default, the focused property of windows created by X11 is set to true: https://github.com/godotengine/godot/blob/8e36f98ea5b5ab4c1fb5249f94b61a7bbfb379a1/platform/linuxbsd/x11/display_server_x11.h#L204
And it is only modified after a focus event occurs:https://github.com/godotengine/godot/blob/8e36f98ea5b5ab4c1fb5249f94b61a7bbfb379a1/platform/linuxbsd/x11/display_server_x11.cpp#L4661-L4669
https://github.com/godotengine/godot/blob/8e36f98ea5b5ab4c1fb5249f94b61a7bbfb379a1/platform/linuxbsd/x11/display_server_x11.cpp#L4708-L4723

That leads to a situation where the focued of main window is true, and the newly created popup window also has a focused property of true, resulting in multiple windows with a true focused property.

When a mouse movement event occurs, if the event happens on the main window and the main window's focued property is true, even if the popup window's focused property is also true, the event will be handled by the main window, During the main window' event handling process, it will close the popop window.

And I am not sure whether to modify the default focused property.

Looks like the opposite of #85583, but to match the Windows behavior on Linux.

Would this introduce either of these issues on Linux:

https://github.com/godotengine/godot/issues/70361
https://github.com/godotengine/godot/issues/73926

Here indeed introduces a problem

When The mouse moves quickly, it ignores the event.
When the mouse enters anther block and stops immediately, this event will be captured by the popup window.
To ensure consistency with behavior on other platforms, the condition can be changed to  "windows[focused_window_id].mpass || wd.is_popup"

Here is an issue in 4.3 bata 3

The issue have become more apparent after this update


Japanese characters corruption

VSCode Version:1.2.2
VSCode-R Version:
OS Version: Windows 10 Pro 1709 16299.371

Steps to Reproduce:

In terminal(R interactive) run print method

print("こんにちは")

result

[1] "ｱﾉｿﾍ"

(If related)setting.json
// R.exe path for windows
"r.rterm.windows": "C:\\Program Files\\R\\R-3.4.4\\bin\\x64\\R.exe",

// R command line options (i.e: --vanilla)
"r.rterm.option": [],

// An optional encoding to pass to R when executing the file, i.e. 'source(FILE, encoding=ENCODING)'
"r.source.encoding": "UTF-8",

// Keeping focus when running
"r.source.focus": "editor",

In my environment (Mac OS ) is work well.
I have a some cause of it.

.r file is not saved.
run(ctrl + enter) is not work, but source(ctrl + shift + s) is work

So, could you try print("こんにちは") on .r source file and save it.

I believe this is https://github.com/Microsoft/vscode/issues/19837, an issue with the VSCode integrated terminal in Windows, and is not specific to R or Japanese characters. I have this problem too and haven't found a solution yet, but I will update if I do.

One Japanese write the guide to fix it, please check it
https://qiita.com/surei/items/e5e22c70dd79c5603678

Thank you very much. It worked well. However, I hope that permanent measures will be found.


Kotlin support generates invalid kt_jvm_import rules

I've tried depending on some kotlin dependencies as in the following example:
  io.reactivex.rxjava2:
    rxkotlin:
      lang: kotlin
      version: 2.1.0

This generates the following in the BUILD file:
kt_jvm_import(
    name = "rxkotlin",
    jars = [
        "//external:jar/io/reactivex/rxjava2/rxkotlin"
    ],
    runtime_deps = [
       "//third_party/org/jetbrains/kotlin:kotlin_stdlib",
       ":rxjava"
    ],
    visibility = [
        "//visibility:public"
    ]
)

When I actually depend on this with a BUILD rule of my own code, as in the following:
kt_jvm_library(
    name = "common",
    srcs = glob(["src/**/*.kt"]),
    deps = [
      "//third_party/io/reactivex/rxjava2:rxkotlin"
    ],
)

It gives an error:
ERROR: /Users/davidsantiago/Documents/Work/api/third_party/io/reactivex/rxjava2/BUILD:21:1: in kt_jvm_import rule //third_party/io/reactivex/rxjava2:rxkotlin:
Traceback (most recent call last):
	File "/Users/davidsantiago/Documents/Work/api/third_party/io/reactivex/rxjava2/BUILD", line 21
		kt_jvm_import(name = 'rxkotlin')
	File "/private/var/tmp/_bazel_davidsantiago/c923a8cc58b0bcaa2b4cce0c43a9c083/external/io_bazel_rules_kotlin/kotlin/internal/jvm/impl.bzl", line 124, in kt_jvm_import_impl
		struct(kt = kt_info, providers = [Default...])
	File "/private/var/tmp/_bazel_davidsantiago/c923a8cc58b0bcaa2b4cce0c43a9c083/external/io_bazel_rules_kotlin/kotlin/internal/jvm/impl.bzl", line 128, in struct
		JavaInfo(output_jar = jars[0], compile_jar ...], <3 more arguments>)
com.google.devtools.build.lib.analysis.configuredtargets.RuleConfiguredTarget cannot be cast to com.google.devtools.build.lib.rules.java.JavaInfo

When I look at the documentation in rules_kotlin for the kt_jvm_import rule, it suggests to me that the rule should be written as
kt_jvm_import(
  name = "rxkotlin",
  jars = [
    "//external:jar/io/reactivex/rxjava2/rxkotlin"
  ],
  visibility = [
    "//visibility:public"
  ]
)

Indeed, when I manually edit this file, it does proceed to compilation instead of the bazel error. I'm trying to figure out what's gone wrong here, because I'm pretty sure this was previously working for you guys, but at the same time, I'm seeing what I'm seeing and what the rules_kotlin source says.

Sure. Should we ping the guy who originally implemented this, in case they have a use case or situation that this also affects?

Sure.
On Mon, Oct 15, 2018 at 11:32 David Santiago<EMAIL_ADDRESS>wrote:

Sure. Should we ping the guy who originally implemented this, in case they
have a use case or situation that this also affects?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/johnynek/bazel-deps/issues/214#issuecomment-430021263,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEJdnpZCT82m7v6JGTCbkulPNc2lHxsks5ulP7igaJpZM4Xc53R
.

--
P. Oscar Boykin, Ph.D. | http://twitter.com/posco | http://pobox.com/~boykin

OK. I think that looks like @wcurrie . Hello.
I've got a PR for the change and it works, but I wasn't able to figure out all the ins and outs of Scala's test framework before bed last night. Will keep working on it. It's a test that takes a Target and sees that it's correctly written to the text of a kt_jvm_import by Writer. Sound reasonable?

Hi @davidsantiago I didn't try a kotlin dependency with maven runtime dependencies. The only cases I tried are in the dependencies.yaml. MVP..
IIUC the suggested fix is: don't emit the runtime_deps for a kotlin library. Should work provided those dependencies are added explicitly to the project (or not actually used at runtime).
kt_jvm_import appears to have runtime_deps. I'll try to understand.

 I'm just doing what the rules_kotlin source code says to do here, where it says that "This style will pull in the transitive runtime dependencies of the targets as well." So that would seem to me to be adequate for just about any maven jar you'd depend on.
But I'm definitely not an expert on maven dependencies, just trying to get my code working.

runtime deps on the kotlin rules kt_jvm_import are broken.  kt_jvm_import shouldn't even be necessary except for bazel ijar clobbering function bodies for inline functions.  That's being assessed right now at bazelbuild/bazel#4549.   In the mean-time, kt_jvm_import should support runtime_deps, but this is broken at HEAD.  I'm looking into it, but we're also waiting for some love from Google on the rules_kotlin project.


HF transformers is always imported at init if available

🚀 Feature
Motivation
Avoid errors like
Traceback (most recent call last):
  File "/workspace/lit-gpt/pretrain/tinyllama.py", line 12, in <module>
    import lightning as L
  File "/usr/local/lib/python3.10/dist-packages/lightning/__init__.py", line 20, in <module>
    from lightning.pytorch.callbacks import Callback  # noqa: E402
  File "/usr/local/lib/python3.10/dist-packages/lightning/pytorch/__init__.py", line 27, in <module>
    from lightning.pytorch.callbacks import Callback  # noqa: E402
  File "/usr/local/lib/python3.10/dist-packages/lightning/pytorch/callbacks/__init__.py", line 14, in <module>
    from lightning.pytorch.callbacks.batch_size_finder import BatchSizeFinder
  File "/usr/local/lib/python3.10/dist-packages/lightning/pytorch/callbacks/batch_size_finder.py", line 24, in <module>
    from lightning.pytorch.callbacks.callback import Callback
  File "/usr/local/lib/python3.10/dist-packages/lightning/pytorch/callbacks/callback.py", line 22, in <module>
    from lightning.pytorch.utilities.types import STEP_OUTPUT
  File "/usr/local/lib/python3.10/dist-packages/lightning/pytorch/utilities/types.py", line 40, in <module>
    from torchmetrics import Metric
  File "/usr/local/lib/python3.10/dist-packages/torchmetrics/__init__.py", line 14, in <module>
    from torchmetrics import functional  # noqa: E402
  File "/usr/local/lib/python3.10/dist-packages/torchmetrics/functional/__init__.py", line 120, in <module>
    from torchmetrics.functional.text._deprecated import _bleu_score as bleu_score
  File "/usr/local/lib/python3.10/dist-packages/torchmetrics/functional/text/__init__.py", line 50, in <module>
    from torchmetrics.functional.text.bert import bert_score  # noqa: F401
  File "/usr/local/lib/python3.10/dist-packages/torchmetrics/functional/text/bert.py", line 23, in <module>
    from torchmetrics.functional.text.helper_embedding_metric import (
  File "/usr/local/lib/python3.10/dist-packages/torchmetrics/functional/text/helper_embedding_metric.py", line 27, in <module>
    from transformers import AutoModelForMaskedLM, AutoTokenizer, PreTrainedModel, PreTrainedTokenizerBase
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1343, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py", line 1355, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import transformers.modeling_utils because of the following error (look up to see its traceback):
Failed to import transformers.generation.utils because of the following error (look up to see its traceback):
/usr/local/lib/python3.10/dist-packages/flash_attn_2_cuda.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c105ErrorC2ENS_14SourceLocationENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

Note that the flash-attn build issue is on my environment, but if I'm not using those text metrics (the script is not), then importing all of transformers is unnecessary.
My complaint is thus in this jump:
  File "/usr/local/lib/python3.10/dist-packages/torchmetrics/functional/text/helper_embedding_metric.py", line 27, in <module>
    from transformers import AutoModelForMaskedLM, AutoTokenizer, PreTrainedModel, PreTrainedTokenizerBase

from https://github.com/Lightning-AI/torchmetrics/blob/master/src/torchmetrics/functional/text/helper_embedding_metric.py#L26-L29
The imports could be made local and the typing annotations be made forward references only imported under typing.TYPE_CHECKING
Pitch
torchmetrics should not import transformers unless it's going to be used.

For anybody looking to contribute, here's an example PR that does the same on the lightning repository: https://github.com/Lightning-AI/lightning/pull/18551


Establishment logos resolution

Looks good on android, bad on web

Looks good on android, bad o web


Adding phases to AzureStackHciClusters

Adding initial phase status to AzureStackHciClusters, with current possible phases of :

pending
provisioninig
provisioned
failed

/azp run

lgtm


Add genome fraction to the QC report

Is your feature request related to a problem? Please describe.
The current QC report does not include genome fraction, which is crucial for evaluating reference appropriateness and for identifying low quality and/or divergent samples that will reduce the size of the core genome.
Describe the solution you'd like
Genome fraction should be included in the QC report(s). This should be straightforward, as it is already determined by Qualimap at discrete coverage levels (see example: genome_fraction_coverage.txt) and could be as simple as reporting genome fraction at 10X coverage, which is the default minimum depth required for a base to be included in the final output.
Describe alternatives you've considered
There are many ways to determine genome fraction (e.g., Quast). The method above seems like the most straightforward using existing pipeline outputs.
Additional context
I attached an example of the Qualimap output that would be used for this feature.

Thank you for your suggestion.


Add blessing/bane when rolling a d20 + d4 simultaneously

Maybe add a dropdown menu in the pixels info box to select an additional modifier fro that

This has been implemented with version <IP_ADDRESS>


Providing a value for dependent objects

Hello! First, I want to thank you so much for this library. I was so happy to find it and even happier to discover how well it's working and being maintained. I gave you and the project a shout out on Twitter, I hope you get more recognition for your work.
I'm curious to know what (if any) patterns exist for providing data to a factory for use in the building of its relations. For instance, image that objects in a project are scoped to an Organization. We want to ensure that as a chain of objects are created, they all get the same organizationId key associated with them. What I want to do is something like:
const organization = await OrganizationFactory.create();
const department = DepartmentFactory.provide({ organizationId: organization.organizationId }).use('withTeams').create();

In this example, withTeams might create a team, each team might create two offices, each office might create three desks. I each to use the organizationId if it is available.
Right now, I'm doing this manually. I'm using more narrowly scoped factories without traits then gluing them together. But there's a lot of boilerplate that I think the factory could provide. Does a pattern exist for this already, or is it something you'd be open to adding?

I don't understand the role of provide you describe 🙇
Would it help if traits could define their arguments as well as names ?
const department = DepartmentFactory.use(['withTeams', { organizationId: organization.organizationId }]).create();

or , Maybe you're describing feature like https://github.com/thoughtbot/factory_bot/blob/master/GETTING_STARTED.md#transient-attributes ?

I think that "if traits could define the arguments as well as names" would get the job done, yes! You might want to consider a syntax like .use([{ withTeams: { organizationId: organization.organizationId} }] so one could include multiple traits the way they can now.
Here is an example copy/paste from my work for more background:
export const buyableDistroOrderFactory = async (orderId: string) => {
  const distro = await getDistroFactory().create();

  const distroOrder = await DistroOrderFactory.create({
    distro: {
      connect: {
        id: distro.id,
      },
    },
    order: {
      connect: {
        id: orderId,
      },
    },
  });

  const orderItems = await Promise.all(
    [0, 1, 2].map(() =>
      getOrderItemFactory()
         // the getter function returns `OrderItemFactoryInterface` and it does not know about the `wearable` trait
        .use('wearable' as never)
        .create({
          distroOrder: {
            connect: {
              id: distroOrder.id,
            },
          },
          order: {
            connect: {
              id: orderId,
            },
          },
        }),
    ),
  );

  await getPrismaClient().merchItem.updateMany({
    where: {
      variants: {
        some: {
          options: {
            some: {
              orderItems: {
                some: {
                  id: {
                    in: orderItems.map((oi) => oi.id),
                  },
                },
              },
            },
          },
        },
      },
    },
    data: {
      distroId: distro.id,
    },
  });

  return distroOrder;
};

I need to associate the orderId and distroId with objects that are nested deeply within the structure. They are related objects of related objects. I'd like to provide key/value pairs to a factory that it can choose to use in whatever way it needs, more than setting a value explicitly. If you did it at the factory level, it could maybe used like:
const SomeFactory = defineSomeFactory<{ distroId?: string, orderId?: string }>({
  traits: {
    inDistro: {
      data: async ({ provided: { distroId, orderId }) => {
        distro: getDistroFactory().use('withArtists').provided({ distroId, orderId }).build()
      }
    }
  }
};

const DistroFactory = defineDistroFactory<{ distroId?: string, orderId?: string }>({
  traits: {
    withArtists: {
      data: ({ provided: { distroId, orderId }}) => {
        return {
          artist: getArtistDistro().build({ distroId }),
          orders: getMerchDistro().build({ distroId, orderId })
        }
      }
    }
  }
});

And then the next factory receives those values. Think of it like a context provider/consumer in React if you use that. Global values that a factory function can use.
IMO a benefit of doing it at the factory level instead of trait is it might cut down on some duplication. But on the other hand, letting traits define their own arguments would let someone say "This trait MUST have this extra data in order to be created", so that might be better.
Thank you again for the time and work. I am happy to contribute to this library if possible!

@subvertallchris
Sorry for my late reply and thanks for your detailed description. After all, it seems that your example of .provide is similar transient attributes in factory_bot .

IMO a benefit of doing it at the factory level instead of trait

for now, first I'll consider a feature that allows user to add arbitrary parameters at the factory level.
Do you use method chaining (i.e. provide(...).build() ) intentionally in your example? I think it's more simple to provide additional parameters as build arguments:
        distro: getDistroFactory().use('withArtists').build({ providing: { distroId, orderId } })

        // or

        distro: getDistroFactory().use('withArtists').build({ distroId, orderId })

@subvertallchris
I'm designing this feature in #252.  Please give some feedback if possible.

Implemented this feature via #326 .


Conference?

I went to Seoul a few years back for an amazing event!
I was wondering if anyone in Korea was planning on doing an event this year?
There is an event in Tokyo 11/7 or 11/8 https://twitter.com/nodefest/status/614383334915870720 and an event in Singapore http://2015.jsconf.asia/ on 11/19-20. If you did an event in between those I could easily stop by to speak and I could possibly help find some other traveling speakers as well :)

@mikeal Oh!! good.
Actually, we have a plan for play.node this year again.(Just talk about it with some people in play.node a few years ago, not in iojs-ko yet.)
Good to know your schedule and I'm preparing to contact you.
I will talk to other guys about your good news.

@outsideris awesome!


TreeListView

Hi, I am learning your WPF control, I want to use the TreeListView control, but I did not find the Demo, I do not know how it binds data

https://github.com/HeBianGu/WPF-Control/tree/main/Source/Controls/H.Controls.TreeListView  You can find him at this address


k8s log show  error" tcp is not a valid port number"

hi experts,
I download the superset source code and try to build the docker image with command "docker build -t xxx:xx .", then upload the image to docker registry and create the K8S pod. By the way,  I create the K8S pod with offical superset images, it has no problem. Only having  the problem when I use the image built by  myself.
Do I need to modify anything in the source code ?
Thanks

Hi @scany1211, can you share a bigger chunk of the log and more detailed info on how are you deploying to k8s. Also please fill the default template to report bug's or questions


show if polygon is open [REPLACEMENT ISSUE]

The original issue
Id: 51
Title: show if polygon is open

could not be created.
This is a dummy issue, replacing the original one. It contains everything but the original issue description. In case the gitlab repository is still existing, visit the following link to show the original issue:
TODO

no useful info, please reopen if necessary


[Bug]: Migration seems to be broken

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Unable to create apps while using same mongodb with release fat conaitner prod fat container
Steps To Reproduce
Steps I followed.

Stop appsmith instance
Start appsmith release instance. With mongoldb uri pointing to local mongodb://host.docker.internal:27017/appsmith
Login
App creation fails
Recorded video

Environment
Release
Version
Self-Hosted

Hey @yatinappsmith, can you share logs from the Docker container when you saw this error please? I just tried but couldn't reproduce the error. Also, can you confirm if docker pull appsmith/appsmith-ce and docker pull appsmith/appsmith-ce:release were run before starting the two containers?

I delete both the containers and images before docker run.
Bug9885.txt
Below screenshot was taken at 21Dec2021 [10:23AM.]

n

Hi @sharat87 , Added logs in above comment

Thanks for sharing the logs! I see the following error in the logs:
java.lang.IllegalStateException: Unable to invoke Cipher due to bad padding

This error usually occurs when the wrong salt or password are being used when connecting to an Appsmith database. Are you using any particular dump of a database in your test? I ask because I see you already have a few applications in your organization.
The other way I think this can happen is if the two container you are using, the appsmith-master and appsmith-release, have different stacks folders. In that case, they would have different docker.env files, and so different salt and password. Can you share the docker run commands used to bring up these containers initially?

Thanks for sharing the logs! I see the following error in the logs:
java.lang.IllegalStateException: Unable to invoke Cipher due to bad padding

This error usually occurs when the wrong salt or password are being used when connecting to an Appsmith database. Are you using any particular dump of a database in your test? I ask because I see you already have a few applications in your organization.
The other way I think this can happen is if the two container you are using, the appsmith-master and appsmith-release, have different stacks folders. In that case, they would have different docker.env files, and so different salt and password. Can you share the docker run commands used to bring up these containers initially?

release and master have different stacks folder


.deb file is not recognized as a "Debian format archive"

Obviously a noob.
I'm using Ubuntu 22.04.2 LTS.
I uninstalled 0.98.0 and was trying to install 3.0 using the dpkg install process and received the error in the subject.
Keep up the good work!
Thanks for your help.
Stephen

Can you let me know which deb you downloaded? Is it possible you downloaded the ARM version?

Thanks Casey. I used curl and it only downloaded ~200k of the binary. I was able to the get the downloaded version onto the server and now all is well. Thanks again.


Remove Run from docs.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1011  👈
#1010
#1006
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rohinb2 and the rest of your teammates on  Graphite

Merge activity

Jul 16, 10:25 AM EDT: @rohinb2 started a stack merge that includes this pull request via Graphite.


PGN Editor - save particular content in memory?

This can already be achieved with download/upload functionality as well as undo/redo, but would it be useful to have like a calculator memory where you store the content in memory for easy retrieval?

I might still end up doing it, but it's not the purpose of PGN editor to store stuff. That's why you can download and upload at one' leisure. Perhaps it needs to remember the last content used, like in Analysis Board, but that's another feature and then you need a Clear button, so completely different issues.


What is the meaning of USE_SSL_SESSION_ID_CONTEXT?

Would you please answer the question of this title? And when will we set this macro?
Thanks a lot.

It's for experimenting with OpenSSL features, not intended for users. Search the source for that macro for details.


R2R InvalidCastException due to generating ValueType/Enum stubs

The TypeSystemContext Is automatically adding Equals and GetHashCode stubs to ValueTypes and Enums when GetAllMethodsForValueType, GetAllMethodsForEnum, or TryResolveConstrainedEnumMethod are called. This has a couple of problems:

The stubs trigger an InvalidCastException in ReadyToRunCodegenCompilation.ComputeDependencyNodeDependencies when it tries to cast them to EcmaMethod
It's probably incorrect to generate stubs for ValueTypes outside of the current assembly and a R2R helper call should be used instead.

The R2R type system context should override this logic, same as we do for the Project X case:

override GetAllMethodsForEnum and GetAllMethodsForValueType to just return enumType.GetMethods(); and valueType.GetMethods(); respectively.
put the logic in CorInfoImpl that calls TryResolveConstrainedEnumMethod under #if !READYTORUN

We might also want to investigate if on the CoreCLR's side we still need dotnet/coreclr#7895 to devirtualize Enum.GetHashCode. If so, we should port that logic for the READYTORUN case to the compiler.
It's possible that with all of @AndyAyersMS recent devirtualization work in RyuJIT, that piece is no longer needed - in which case we can probably delete it from the CoreCLR codebase instead.

This was fixed.


Add CodeQL Workflow for Code Security Analysis

Summary
This pull request introduces a CodeQL workflow to enhance the security analysis of this repository.
What is CodeQL
CodeQL is a static analysis tool that helps identify and mitigate security vulnerabilities. It is primarily intra-function but does provide some support for inter-function analysis. By integrating CodeQL into a GitHub Actions workflow, it can proactively identify and address potential issues before they become security threats.
For more information on CodeQL and how to interpret its results, refer to the GitHub documentation and the CodeQL documentation (https://codeql.github.com/ and https://codeql.github.com/docs/).
What this PR does
We added a new CodeQL workflow file (.github/workflows/codeql.yml) that

Runs on every pull request (functionality to run on every push to main branches is included as a comment for convenience).
Runs daily.
Excludes queries with a high false positive rate or low-severity findings.
Does not display results for git submodules, focusing only on our own codebase.

Validation
To validate the functionality of this workflow, we have run several test scans on the codebase and reviewed the results. The workflow successfully compiles the project, identifies issues, and provides actionable insights while reducing noise by excluding certain queries and third-party code.
Using the workflow results
If this pull request is merged, the CodeQL workflow will be automatically run on every push to the main branch and on every pull request to the main branch. To view the results of these code scans, follow these steps:

Under the repository name, click on the Security tab.
In the left sidebar, click Code scanning alerts.

Is this a good idea?
We are researchers at Purdue University in the USA. We are studying the potential benefits and costs of using CodeQL on open-source repositories of embedded software.
We wrote up a report of our findings so far. The TL;DR is “CodeQL outperforms the other freely-available static analysis tools, with fairly low false positive rates and lots of real defects”. You can read about the report here: https://arxiv.org/abs/2310.00205
Review of engineering hazards
License: see the license at https://github.com/github/codeql-cli-binaries/blob/main/LICENSE.md:
Here's what you may also do with the Software, but only with an Open Source Codebase and subject to the License Restrictions provisions below:

Perform analysis on the Open Source Codebase.

If the Open Source Codebase is hosted and maintained on GitHub.com, generate CodeQL databases for or during automated analysis, CI, or CD.

False positives: We find that around 20% of errors are false positives, but that these FPs are polarized and only a few rules contribute to most FPs. We find that the top rules contributing to FPs are: cpp/uninitialized-local, cpp/missing-check-scanf, cpp/suspicious-pointer-scaling, cpp/unbounded-write, cpp/constant-comparison, and cpp/inconsistent-null-check. Adding a filter to filter out certain rules that contribute to a high FP rate can be done simply in the workflow file.

Thank you for the PR.
I think this is a double-edged sword. It's a good idea to have static code analysis. However, I don't think it's a good idea to use closed-source software that is restricted to use with github only. Please take a look at the license agreement before accepting this.

@martinwag @CANopenNode Pinging to check in on a possible followup to this PR?

I'm not sure about the licensing, so I don't like to add this PR for now. But I'm open for other opinions.


Dockerize

This adds the dockerfile-rails 7.1 docker preview, for productionlike docker containers, and a docker-compose set up to run for local development.

@cflipse Can you please accompany this with a README for users?

This is not working for me:
tocks-in-the-future-db-1      | 2023-07-29 17:15:26.310 UTC [65] LOG:  database system was shut down at 2023-07-29 17:15:26 UTC
stocks-in-the-future-db-1      | 2023-07-29 17:15:26.316 UTC [1] LOG:  database system is ready to accept connections
stocks-in-the-future-db-1      | 2023-07-29 17:15:34.821 UTC [76] FATAL:  role "root" does not exist
stocks-in-the-future-db-1      | 2023-07-29 17:15:44.991 UTC [84] FATAL:  role "root" does not exist
stocks-in-the-future-db-1      | 2023-07-29 17:15:55.194 UTC [92] FATAL:  role "root" does not exist
stocks-in-the-future-db-1      | 2023-07-29 17:16:05.393 UTC [101] FATAL:  role "root" does not exist
stocks-in-the-future-db-1      | 2023-07-29 17:16:15.566 UTC [109] FATAL:  role "root" does not exist

Commit 6bfeceb fixed the issue.


Create Allowlist Env to allow only certain chat id's

Addressed in https://github.com/tonym128/shhh-bot/pull/8


[FLINK-24229][connectors/dynamodb] Added DynamoDB connector

What is the purpose of the change
User stories:
As a Flink user, I’d like to use DynamoDB as sink for my data pipeline.
Scope:

Implement an asynchronous sink for DynamoDB by inheriting the AsyncSinkBase class.
The implementation can for now reside in its own module in flink-connectors.
Implement an asynchornous sink writer for DynamoDB by extending the AsyncSinkWriter. The implementation must deal with failed requests and retry them using the requeueFailedRequestEntry method.
The implementation should utilize DynamoDb batch API.
The implemented Sink Writer will be used by the Sink class that is created as part of this story.
Java / code-level docs.
Unit/Integration testing.

Brief change log

Added new DynamoDB Sink into a new module flink-connectors/flink-connector-dynamodb

Verifying this change
This change added tests and can be verified as follows:

Integration tests in org.apache.flink.streaming.connectors.dynamodb.sink.DynamoDbSinkITCase

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): yes
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? JavaDocs

Closing this pull request as it was moved to a separate flink-connector-dynamodb repository: https://github.com/apache/flink-connector-dynamodb/pull/1


Updated Footer

Description

Enhanced the hover effect on footer links by adding animations
Center aligned the our contributors link
Redirected blog, Help, Join us links to the Home page
Fixed the a tags which were mentioned outside li tag

Fixes #710
Replace issue_no with the issue number which is fixed in this PR
Screenshots

footer.webm
Checklist

[x ] Tests have been added or updated to cover the changes
[x ] Documentation has been updated to reflect the changes
[x ] Code follows the established coding style guidelines
[x ] All tests are passing

@thestarsahil All checks have passed.


Adblockers (e.g. uBlock Origin) prevent reading ITK images

Adblockers that use the EasyPrivacy list block downloading of itk-js wasm files. On my uBlock Origin install, all wasm files are blocked.
This only happens on online-hosted glance: https://kitware.github.io/pv-web-viewer/nightly/
This should be detected by Glance and a popup should notify the user to disable Adblock for the website.

Also, can we catch the error instead of failing?

:tada: This issue has been resolved in version 1.1.36 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Feature]: Add Content Security Policy

Is your feature request related to a problem? Please describe.
Lighthouse rightly complains that there is no content security policy enabled for this site. We should implement this to prevent things like XSS attacks.
Fortunately, there is no user input on this site, yet, so the lack of CSP is not an actual security issue.
Describe the solution you'd like
The above stated, we need to add in a CSP so that only those specific directives are allowed. This will help prevent a security issue in the event we add user input down the road.
Describe alternatives you've considered
As this is how the web works, there are no alternatives.
Additional context
From lighthouse:

Helpful resource link: https://web.dev/csp-xss/?utm_source=lighthouse&utm_medium=lr

25463d4 added this on a basic level. Closing for now.


No way in UI to switch between directory view modes without opening a file or editing the url manually

There are 2 different directory views when in a directory without a mod.ts file but there is no button for switching between the views like there is when viewing a file.
This means if you are in a directory with the documentation view, you won't be able to see the files/directories starting with _ or the files that are not typescript files. Without a button for switching view modes, you have to either navigate to a file with that button then navigate back to the directory or you have to know to add ?code to the url to be able to see all the files and directories.
In the below video, I started in code view then switch to documentation view by editing the url. This just shows the 2 different views and how there isn't a button to switch between them.
https://user-images.githubusercontent.com/3241653/184559795-00836ab9-798d-4859-b01d-fdf57a2b2fcc.mp4

Never mind, there is a button, I just didn't notice it at first. Closing this issue.


crate-type has no effect in [[bin]] sections

As per the documentation, one can set crate-type in a [[example]] section, leading to the example being built as the given crate type(s). It's also possible to set crate-type in the [lib] section, and the type is used correctly.
It's also possible to set crate-type in a [[bin]] section, and cargo doesn't complain about it like it does for unknown keywords. It even does input validation, and complains if the type is not right. However, when actually building the corresponding source, it still invokes rustc with --crate-type bin.
Either crate-type should be rejected there, or it should do the expected thing. In any case, silently ignoring the value is not something anyone would expect. I'd personally prefer the latter.
Cc: @alexcrichton

We can reject that in targets::clean_bins(), which will give a parse error referring to the manifest, which is nice imho.
While at it: Do we also want to reject proc-macro being set as well?


Clarify the reply example in README.md a bit

Parameter name reply was IMO nonoptimal since that parameter contains the request message.

lgtm

Coverage increased (+0.03%) to 93.567% when pulling 693d03d4020a78e293dec115749626874ac7e776 on toukovk:patch-1 into b0053cac3f179b5ac6a25c058e5aa7f2bc8851ae on nats-io:master.


Fix login in tests on AWS staging

Auth0 added a hidden Continue button in addition to the actual, visible Continue button for some reason. This changes the selector to only click the visible button.


Disable OIDC refresh token middleware.

@akatsoulas r?

Coverage remained the same at 89.5% when pulling 957f78492dc397e1441d580d73b5c51825718bf2 on johngian:fix into d45ec565212b8e70e3d84970fc804ffc14ea8a6c on mozilla:master.


Add documentation for Lava ipRPC

This PR adds additional documentation to the RPC section of NEAR docs concerning NEAR's newly supported free public RPC using the Lava network. It includes a page detailing RPC, appends Lava's endpoint to the list of providers, and makes mention in the introductory page. In totality, changes are confined to the RPC section of NEAR's docs.

@KagemniKarimu any progress on this? To give you more context, as a general rule our RPC page shows the features that are common to all our RPC partners, and not those that are partner specific.
General ideas go here, particular implementations and features goes on the partners page.


NET CORE 2.0 - Ubuntu 14.04 - Could not load file or assembly System.Runtime.Extensions or

I was trying to migrate my solution of NET CORE 1.1 to NET CORE 2.0 as a linux server.
When I run dotnet xxx.DLL in Ubuntu 14.04 x64 the following problem occurs:
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.Extensions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at Microsoft.AspNetCore.Hosting.WebHostBuilder..ctor()
   at Microsoft.AspNetCore.WebHost.CreateDefaultBuilder(String[] args)
   at Teste.Program.BuildWebHost(String[] args).

Follow some configurations of my project:
Project.csproj
<TargetFramework>netcoreapp2.0</TargetFramework>
<RuntimeIdentifiers>win10-x64;ubuntu.14.04-x64</RuntimeIdentifiers>

I tried to place the missing package in Nuget and the same thing did not work.
Linux server owns NET CORE 2.
Updated VS 2017 (15.3.2)
I checked if the DLL was on the server (and it was).
I tried to place the tag:
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
Does anyone have a suggestion?
I made a lot of tests simple. I created a MVC NET CORE 2.0 project and I did not do anything. I compiled for Ubuntu 14.04 and when I try to run it. A similar error occurs:
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.IO.FileSystem, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at Test.Program.BuildWebHost(String[] args)

Is there any problem as the MVC CORE 2 solution in the 14.04 x64 linux server?

I'm not trying to migrate, but I've created a new project. All packages are NET CORE 2.0.
<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>netcoreapp2.0</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
  </ItemGroup>
  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0" />
  </ItemGroup>
</Project>

I posted an image of the project on this [link] (http://imgur.com/a/9KvB1)

@galodoido794 how are you publishing your application? Are you making use of the command line option  "dotnet publish" or are you using VS (folder profile) to publish?

In my NET CORE 1.1 application (which works) I use the same command I tried for the new NET CORE 2.0 application;
dotnet publish -c release -r ubuntu.14.04-x64

OK. I had a similar issue publishing for ubuntu.16.04-x64 which turned out to be a msbuild issue (see https://github.com/dotnet/corefx/issues/23436 and https://github.com/dotnet/sdk/issues/1502) . I can, however, get around it by using "dotnet publish". But if that doesn't work for you then I'm not sure what is going on.

@ericstj in case he has any ideas.

Yes, as @onematchfox mentioned this is likely https://github.com/dotnet/sdk/issues/1502.  You'll hit it if you ever publish from VS or msbuild.exe on windows for a non-Windows RID when old packages are in the graph.  If you use dotnet publish (to a new folder) you shouldn't hit it.  If you are hitting it while using dotnet publish and you have a clean publish folder then I'd like to see a log dotnet publish -c release -r ubuntu.14.04-x64 /flp:v=diag

I will read the articles and test those possibilities later.

Using the dotnet publish -c release -r ubuntu.14.04-x64 /flp:v=diag command generated the following error:
Microsoft.Win32.Registry, Version = <IP_ADDRESS> -> System.BadImageFormatException: Can not load a reference assembly for execution.
At Microsoft.AspNetCore.DataProtection, KeyManagement.XmlKeyManager.GetFallbackKeyRepositoryEncryptorPair ()

And I noticed that in the build it generates many conflicts:
1>    Encountered conflict between 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.dll' and 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.io\4.3.0\ref\netstandard1.5\System.IO.dll'.  Choosing 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.dll' because AssemblyVersion '<IP_ADDRESS>' is greater than '<IP_ADDRESS>'.
1>    Encountered conflict between 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.Compression.dll' and 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.io.compression\4.3.0\ref\netstandard1.3\System.IO.Compression.dll'.  Choosing 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.Compression.dll' because AssemblyVersion '<IP_ADDRESS>' is greater than '<IP_ADDRESS>'.
1>    Encountered conflict between 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.FileSystem.dll' and 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.io.filesystem\4.3.0\ref\netstandard1.3\System.IO.FileSystem.dll'.  Choosing 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.FileSystem.dll' because AssemblyVersion '<IP_ADDRESS>' is greater than '<IP_ADDRESS>'.
1>    Encountered conflict between 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.FileSystem.Primitives.dll' and 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.io.filesystem.primitives\4.3.0\ref\netstandard1.3\System.IO.FileSystem.Primitives.dll'.  Choosing 'Reference:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.FileSystem.Primitives.dll' because AssemblyVersion '<IP_ADDRESS>' is greater than '<IP_ADDRESS>'.
1>    Encountered conflict between 'Runtime:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.win32.registry\4.4.0\lib\netstandard2.0\Microsoft.Win32.Registry.dll' and 'Runtime:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.win32.registry\4.4.0\runtimes\unix\lib\netcoreapp2.0\Microsoft.Win32.Registry.dll'.  Could not determine winner due to equal file and assembly versions.
1>    Encountered conflict between 'Runtime:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.win32.registry\4.4.0\lib\netstandard2.0\Microsoft.Win32.Registry.dll' and 'Runtime:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.win32.registry\4.4.0\runtimes\win\lib\netcoreapp2.0\Microsoft.Win32.Registry.dll'.  Could not determine winner due to equal file and assembly versions.
1>    Encountered conflict between 'Runtime:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\4.3.0\runtimes\debian.8-x64\native\System.Security.Cryptography.Native.OpenSsl.so' and 'Runtime:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl\4.3.0\runtimes\fedora.23-x64\native\System.Security.Cryptography.Native.OpenSsl.so'.  Could not determine winner due to equal file and assembly versions.

I did not have time to see all the articles to test other solutions, but I'll keep trying later.

I tested some possibilities and I did not succeed. I did the same process I do in NET CORE 1.1. Compile on windows and copy the files to Ubuntu 14.04 x64 and it works. NET CORE 2.0 does not work. I tested publishing with MSBuild and with dotnet publish -c release -r ubuntu.14.04-x64 /flp: v = diag.
Will only I have a problem with ASP CORE 2.0 on ubuntu 14.04? To test it is very simple, create a CORE 2.0 MVC project (simple) and try to publish it in ubuntu. In my case the error now is: Microsoft.Win32.Registry, Version = <IP_ADDRESS> Can not load a reference assembly for execution.

I tested some possibilities and I did not succeed. I did the same process I do in NET CORE 1.1. Compile on windows and copy the files to Ubuntu 14.04 x64 and it works. NET CORE 2.0 does not work. I tested publishing with MSBuild and with dotnet publish -c release -r ubuntu.14.04-x64 /flp: v = diag.
Will only I have a problem with ASP CORE 2.0 on ubuntu 14.04? To test it is very simple, create a CORE 2.0 MVC project (simple) and try to publish it in ubuntu. In my case the error now is: Microsoft.Win32.Registry, Version = <IP_ADDRESS> Can not load a reference assembly for execution.

@galodoido794 got exactly the same problem with .NET Core 2.0.0 runtime:

Could not load file or assembly 'System.Runtime.Extensions, Version=<IP_ADDRESS>
...
...and so forth

And similarly to you my project works fine with .NET Core 1.1.2 runtime (LTS).
p/s Just in case, I use Windows Server 2012.

Not sure if this is related, but I just got this error trying to run a project inside visual studio on windows:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.
Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Apparently I had opened the folder containing the folder with the solution (.sln) file. It seemed I was inside the solution, intellisense was fine, but right clicking on the folders did not bring the usual options like clean/build solution. Although F5 worked to debug it, but it gave this error.

@bogdan-st , probably not related. Do you want to open a new issue in the dotnet/cli with more details of how your project is configured?

@galodoido794 are you still blocked on this? Have you tried dotnet publish -c release -r linux-x64 with a .NET Core 2.0 application?

I have not tried with the new patch from Visual Studio 15.4 or this does not solve this problem?
I've tried compiling anyway and I could not get it to work.

@galodoido794 it sounds like you have a small isolated repro.  Can you zip that up and attach it to the bug (deleting the bin and obj folder, and providing the repro steps)?  I'll have a look at why you're getting the reference-assembly error.

I did the following steps:
In linux:
apt-get update
apt-get upgrade
I installed the new Visual Studio 15.4.0
Run the command: dotnet publish -c release -r ubuntu.14.04-x64
And it worked.

@bogdan-st What did you do to fix it? I have the same error.


Add with (... as ..., ... as ..., ...) syntax

This is a valid syntax since ¿3.10? (not sure):

This is not a pylyzer problem, but a rustpython_parser problem.

pylyzer is using very old copy of rustpython parser


Add data from PagePresence / listeSanctionUtilisateur

here  you get absence, can you please add listeSanctionUtilisateur ?

we can use https://github.com/bdbogjoe/pronote-api/blob/master/src/fetch/pronote/absences.js#L125 to know the payload content

Hi, this is a little weird, because on the demo site, the retenue is given in the listeAbsences list. The G attribute of punishments is 41 apparently (at least for detentions). We could create another dataclass for it and parse according to the object's G type. We could either then return a List[Union[Absence, Punishment]], or we can create a seperate property that will return just Punishments to keep them separated, which is probably a better idea in terms of usability.
I can get it done this evening.

yes i think better to have dedicated Punishments object, even if we have to query 2 times the same data

Could you please download the latest version with pip install git+https://github.com/bain3/pronotepy.git, and test if it works? Sometimes the demo website differs from actual PRONOTEs. You can for example run the unit tests with python -m pronotepy.test_pronotepy.

yes need to wait a little bit to test :)

Tried it, did the pip install and script.... error
 for punishment in period.punishments:
AttributeError: 'Period' object has no attribute 'punishments'

Thank you @ioull ! I've fixed the parsing for your case.

thanks works fine

Trying with 2.7.0 and fix of bapt5 for agora06
Traceback (most recent call last):
  File "/home/arjan/.local/lib/python3.10/site-packages/pronotepy/dataClasses.py", line 195, in __call__
    json_value = json_value[p]
KeyError: 'estAvecARParent'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/mnt/3692670A6ACD9016/docker/homeassistant1/python_scripts/pronote_old_attempts/test.py", line 35, in <module>
    for punishment in period.punishments:
  File "/home/arjan/.local/lib/python3.10/site-packages/pronotepy/dataClasses.py", line 402, in punishments
    return [Punishment(self._client, a) for a in absences if a["G"] == 41]
  File "/home/arjan/.local/lib/python3.10/site-packages/pronotepy/dataClasses.py", line 402, in <listcomp>
    return [Punishment(self._client, a) for a in absences if a["G"] == 41]
  File "/home/arjan/.local/lib/python3.10/site-packages/pronotepy/dataClasses.py", line 1854, in __init__
    self.requires_parent: str = self._resolver(
  File "/home/arjan/.local/lib/python3.10/site-packages/pronotepy/dataClasses.py", line 205, in __call__
    raise ParsingError("Could not follow path", self.json_dict, path)
pronotepy.exceptions.ParsingError: Could not follow path


Fixed bug with missing package.json and dev deps

This should solve #102 which made the package crash when we're opening files in projects with no package.json or no devDependencies.

Thank you for your contribution @JGAntunes 👍


Install Kudu ERROR

I want to install kudu on my Mac，So I follow the steps of the official documents，But, Execute last command make -j4 Error, errorMessage is

env: mac os 10.15.3
help me~~

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Update store listing screenshots

Our sreenshots for the store listings are outdated. @sophieeng, can you produce five new ones? Here are the specifications for the Chrome Web Store.

I am not sure about the Firefox Store. Feel free to do everything on your own on the Firefox Store. I can put the screenshots up on the Chrome Web Store.
You can delete all unused assets and  put the new ones in there. (Also, the naming of the folder strikes me as wrong; better chrome-and-firefox-store-assets or something like that; please make sure nothing breaks when renaming in case we are using these assets anywhere else).

Of course, let's omit the study code in the screenshots. That is just temporary.

The new files are in the new folder in assets called Chrome-Firefox-Store-Assets. The only changed images were screenshot-3, screenshot-4, and screenshot-5.
@SebastianZimmeck the new images for chrome have chrome added at the end of their image name. I will replace the ones on the Firefox store.

The new image changes have been uploaded to the Firefox store.

I changed the images on the Chrome Web Store.


feat: show when there are not builds to run

For #700
here's how I implemented this.
I check this directory target/wasm32-wasi/release. If 10 seconds have elapsed after it was modified, then I assume that there are no builds happening.

Hello @radu-matei. Thank for the update.
So what I was to do was check if
[component.build]
command = "cargo build --target wasm32-wasi --release"

exists in the toml file?

Yes, but there could be N Spin components defined in spin.toml, so we should check if there is at least one perhaps?

I'm not sure I follow here. Could ypu add more info.
On Sun, 21 Aug 2022, 16:22 Radu Matei, @.***> wrote:

Yes, but there could be N Spin components defined in spin.toml, so we
should check if there is at least one perhaps?
—
Reply to this email directly, view it on GitHub
https://github.com/fermyon/spin/pull/703#issuecomment-1221545256, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHJPSAXT7QRHDMUVUMJDSJTV2IUQDANCNFSM57DQ6NJA
.
You are receiving this because you were mentioned.Message ID:
@.***>

A spin.toml file can have any number of components. For example, this is the spin.toml for the Spin documentation website:
name = "spin-docs"
spin_version = "1"
version = "0.1.0"
description = "The Spin documentation website running on... Spin."
authors = [ "Fermyon Engineering<EMAIL_ADDRESS>]
trigger = { type = "http", base = "/" }

[[component]]
source = "modules/bartholomew.wasm"
id = "bartholomew"
files = [ "content/**/*" , "templates/*", "scripts/*", "config/*"]
[component.trigger]
route = "/..."

[[component]]
source = "modules/spin_static_fs.wasm"
id = "fileserver"
files = [ { source = "static/", destination = "/" } ]
[component.trigger]
route = "/static/..."

When developing a Spin application, you could set the build command for zero, one, or more of the components of the application.
The intended behavior #700 was asking for is: if no component defined a build command, let the user know about it as opposed to saying "build successful".

I don't think I still follow.
Let's say you have many components, you only need one build command to say "build successful", otherwise if there is no build command for any of the components "alert the user that there is no build command set, right?

I see. thanks.

Hi @jim4067, looks like we need the commits signed for the DCO please?  Thanks!

Hello @itowlson. I'm closing this PR and creating a new one with the changes requested.


DockerfileCelery don`t update tools requirements

⚠ Check for existing issues before proceeding. ⚠

[X] I have searched the existing issues, and there is no existing issue for my problem

Where are you using SuperAGI?
Windows
Which branch of SuperAGI are you using?
Main
Do you use OpenAI GPT-3.5 or GPT-4?
GPT-3.5
Which area covers your issue best?
Tools
Describe your issue.
I installed a plugin but when using the plugin after startup, celery keeps reporting errors not finding the module
requirements.txt
superagi-tools~=1.0.6
mechanize~=0.4.8
How to replicate your Issue?
Maybe update the DockerfileCelery add
RUN chmod +x install_tool_dependencies.sh
RUN ./install_tool_dependencies.sh
Upload Error Log Content
ModuleNotFoundError: No module named 'mechanize‘

By plugin, do you mean toolkit?
If yes, please send the github repo link as well of the tool.

@myth12315 Hey can you send you tool link we are fixing some bugs and releasing out soon, you should not encounter it again.