Add sneak as travel anchor activator

Solves the "issue" in #2296 where jump enhancements/flight can cause difficulties in activating travel anchors and/or cause increased iteration periods between attempts.

This should probably have a config. It is client-sided after all.

Please be patient while I sort out the mess I made.

Pull request is finalized. Features outlined below:

Elevator functionality. If there is no valid selected target, it tries to select one above (if jump is used) or below (if sneak is used) within range.
Adds sneak as an activation for targeted teleportation, with config option to disable it (default true)
Adds a configurable cooldown for travel anchors (default 0 ticks), though without any graphical representation of said cooldown.

Did some work regarding access modes with vertical teleports:

If the possible target requires password and is NOT private (an unowned private anchor returns true on getRequiresPassword, owned returns false), open the password GUI. It does not do anything further, future attempts will open the gui if password was unsuccessful while teleporting if it was successful, as with other teleports.

Now skips private anchors it can't access as well as obstructed anchors.

TODO/Thoughts:
a) Add messages for skip events (Skipped obstructed anchor.. etc)
b) Make the password gui attempt teleportation on success and skip in vertical search if closed without success. Not sure how the password gui is handled and if it provides any hooks for open/close success/failure states.

Couldn't you change getRequiresPassword() from:
@Override
  public boolean getRequiresPassword(EntityPlayer username) {
    return getAccessMode() != AccessMode.PUBLIC && !canUiBeAccessed(username) && !authorisedUsers.contains(PlayerUtil.getPlayerUUID(username.getGameProfile().getName()));
  }

to:
@Override
  public boolean getRequiresPassword(EntityPlayer username) {
    return getAccessMode() == AccessMode.PROTECTED && !canUiBeAccessed(username) && !authorisedUsers.contains(PlayerUtil.getPlayerUUID(username.getGameProfile().getName()));
  }

I don't see where a password would be required for anything but protected anyways.

@eduardog3000 I'm planning to take a stab at reworking some of the ambiguity and edge cases in the anchor code, though I'll do that separate from this PR.

Recent changes:

Locked travel anchors no longer provide gui. They are instead skipped in the search for targets when doing an elevator teleport.
A skipped anchor now produces a chat message.
Some cleanup of redundancy in functions (TileTravelAnchor)

I guess rebasing made our commit comments about OpenBlocks support disappear from this page, so I'm gonna link it here for future reference.
https://github.com/Lilylicious/EnderIO/commit/246eff7f7cf5afe13144d546eaf57e39dd723649#commitcomment-10817064


Resolve metabase configurations and certificate issues

We cannot follow the existing documentation this doc as the entire process is deprecated and we need to address its management and requests via a different process to generate and install certs for metabase.
Note: This process cannot be defined yet as it's still undefined what its workflow is and will be since it's a work in progress we need to get resolved A.S.A.P. Having a Metabase prod and staging have new TLS/SSL certs installed and validated will be address in the incoming days.

I had to reformat this original document as it was difficult to use.
Renewing TLS Certificates for Reportstream

Preset: In your local workspace perform the following steps:
$ mkdir certificates && cd $_ ;

Create the request file with this content

$ echo -e "
[req]
distinguished_name = req_distinguished_name
req_extensions = req_ext
prompt = no
[req_distinguished_name]
C   = US
ST  = GA
L   = Atlanta
O   = Centers for Disease Control and Prevention
OU  = PRIME
CN  = reportstream.cdc.gov
[req_ext]
subjectAltName = @alt_names
[alt_names]
DNS.1 = reportstream.cdc.gov
DNS.2 = test.reportstream.cdc.gov
DNS.3 = staging.reportstream.cdc.gov
" > vim csr.cnf ;

Generate a Private Key
$ openssl genrsa -out prime.cdc.gov.key 4096 ;

Create a CSR from the template/request file:
$ openssl req -new -key prime.cdc.gov.key -out prime.cdc.gov.csr -config csr.cnf ;

While logged in with your –SU account go to the cloud.entrust.net Certificate Services
(I think this is inside the CDC network – use Citgo)

Select the “ Multidomain OV” option
Paste the content of file in the certificate signing request box

Primary email is<EMAIL_ADDRESS>-
You can add yours as a secondary to get results back from entrust in case there is a problem.
After submission, open a helpdesk ticket and email<EMAIL_ADDRESS>

You will receive this confirmation email
The link in the email takes you here
Chose a random server type and download the zip file at the end

Create the pfx file
Unzip the file under the same certificates dir in your local. This zip content 2 files, place the files in the same location with you t private key
Create another file called bundle.pem
Create the pfx file : openssl pkcs12 -export -in bundle.pem -out bundle.pfx
Along with password

upload the cert in azure and test
Note: Must have a second pair of eyes to watch this step
Go to staging keyvaults à certificates à click on the cert à new version -->
In the “method of certificate creation” fill, select “import”
Chose the bundle.pfx  pfx file from your local and upload and enter the password

Test the new certificate
$ openssl s_client --connect staging.prime.cdc.gov:443 --servername staging.prime.cdc.gov ;

Warning: The site does not allow me to log-in regardless of which user I could enter<EMAIL_ADDRESS>or<EMAIL_ADDRESS>

Is this the document that we should follow in order to address/resolve this issue?
If so, should we disregard the one we have and have this one as the source of truth for this process or should we merge both as one?
https://cdcdocs-cdc.msappproxy.net/docs/devsecops/services/certificate-management/entrust

This process is not functional. I have tried and it's not only outdated but it simply does not work.
We are attempting to join a group of the CDC Cloud team and figure out the "right" procedure to follow and determine the support boundaries and what we are supposed to do, etc.

We have met today with the CDC team handling these requests and they went the extra-mile to help us understand what is happening. Based on what was identified, the process that is currently used is not in sync with the CDC supported workflow.
Apparently, we have had a self-managed resource group that follows custom configurations and this is something they are trying to figure out. Some efforts were made to correct the existing setup but other parties (CDC Active Directory team) needs to address some issues prior to get this issue resolved and functional.
We will keep you posted on what is achieved and in time we will need to re-evaluate the existing settings and procedures ownerships in this portion of the infrastructure managment.

From my perspective, this is not something we should be involved with. If you do not truly manage an infrastructure, trying to do it "your way" will always be off-sync with what everyone else is doing and sooner or later this will become a problem.
I would suggest to let the right team deal with this issue and focus on things that are within our domain. We should be requesting new certificates and let their process deal with the rest. Including the renewal of those certs in time. This will place us in a good path to ensure everything that is infrastructure critical is functional.

The CDC team is opening a Microsoft case on the key vault. It's still inaccessible after the DNS correction.  They are inquiring if we know whether the vault has anything in it?
They are presuming it does, but are unable to verify due to the connectivity issue.

They have created the Microsoft support ticket.  But, to confirm our request, to track the ticket internally they need to know if we want them to add the ticket number to our existing ticket with OMHS for the cert issue. Or if we would like for them to copy us on responses from Microsoft?
@devopsmatt has asked for a copy on the correspondence as it would be great for us to have.

I have asked them:
Is there a way to see/identify when was the last time any CRUD operation would have done any work in that key vault? That would tell us when it was last time functioning. It should be working as the application is extracting and probably updating data there (I will confirm that today).
Their reply was:
That's a great question, I suppose that's what we're chasing.  We've attempted adding our accounts to the access policy which should cover authentication/authorization and have set the storage account to private access disabled, which would allow us to access the key vault over it's private endpoint, which isn't working. I can't say for certain whether this ever worked or when it stopped working as historically we haven't managed the environment. I do supsect with the DNS issue we saw yesterday this was broken for private access from a CDC laptop.

They have confirmed access to the vault is being blocked from GFE and they are able to access it via CITGO. There's a FW rule in place that's blocking zScaler access to the vault.  They will copy us in on email to the zscaler team once CSPO forwards it to them.

The CDC team is awaiting for the zScaler teams to update us with their findings. They have explained that usually they're the group that will lock an endpoint down to an AD group.
The CDC team have cancelled the original case for the Key Vault access with Microsoft as this isn't an issue with the key vault itself.

The CDC team has opened another case to determine why authentication between the front door and the key vault isn't working. I'm investigating on my end there as well because the Engagement team performs certain CRUD operations in their own onboarding process and we need to make sure that this portion of the process is better understood and documented.

I am reaching @victor-chaparro seeking his advice on this matter following up @arnejduranovic recommendation to reach out to him.
Base on @arnejduranovic: We know so far that the application's usage of Azure Key Vault. Azure Key Vault is only written to by the primeCLI tool. The Engagement team uses this tool to store receiver transport protocol secrets (like keys for receiver rest endpoints or SFTP servers)

After a long set of support-sessions with the CDC Cloud team and some additional resources, they were able to get these issues all resolved. They are all listed in this ServiceNow ticket: REQ0390102
In summary, the metabase certificate was setup and now the following domain/sub-domains are available to address any requests for the metabase service.
https://metabase.prime.cdc.gov/metabase -> https://prime.cdc.gov/metabase
Note: We are currently experiencing some odd behavior on this application and will update this ticket once this issue is resolved.

The issue is now resolved. The following steps were performed to ensure the metabase service is working as expected. The site:
https://metabase.prime.cdc.gov/metabase -> https://metabase.prime.cdc.gov/metabase/auth/login?redirect=%2F

We are working on getting the following working/functional (without the duplicate metabase at the end of the path:
https://metabase.prime.cdc.gov -> https://prime.cdc.gov/metabase/auth/login?redirect=%2F

The following URL will take us to the Microsoft Azure prime-data-hub-prod (excluding subscription here):
<EMAIL_ADDRESS>

The Microsoft Azure Front Door Designer (prime-data-hub-prod) has the following settings:

Frontends/domains: metabase.prime.cdc.gov
Backend poools: metabase
Routing rules: metabase

Backend pools:
A backend pool is a set of equivalent backends to which Front Door load balances your client requests.

metabase

Backend hostname:
pdhprod-metabase.azurewebsites.net
Health Probes:
Front Door sends periodic HTTP/HTTPS probe requests to each of your configured backends to determine the proximity and health of each backend to load balance your end user requests.

Status: Enabled

Routing rules: metabase

Routing rules:
A routing rule maps your frontend host and a matching URL path pattern to a specific backend pool.

Name: metabase
Status: Enabled
Accepted protocol: HTTPS only
**Frontends/domains [3]: prime-data-hub-prod.azurefd.net, prime.cdc.gov, metabase.prime.cdc.gov

Patterns to match:
Set this to all the URL path patterns that this route will accept. For example, you can set this to /users/* to accept all requests on the URL www.contoso.com/users/*.

Rule engine configuration:

HTSS

THEN

Action: (Response header)
Operator: Append
Header name: Strict-Transport-Security
Header value: max-age=31536000

AND THEN

Action: Response header
Operator: Append
Header name: Location
header value: https://metabase.prime.cdc.gov/metabase/

Tracking changes at:
https://portal.azure.com/#view/Microsoft_Azure_ChangeAnalysis/ChangeAnalysisBaseBlade/resourceIds~/["%2Fsubscriptions%2F< subscription-id >%2FresourceGroups%2Fprime-data-hub-prod%2Fproviders%2FMicrosoft.Network%2Ffrontdoors%2Fprime-data-hub-prod%22%5D/startTime/2024-12-06T22%3A43%3A24.513Z/endTime/2024-12-09T22%3A43%3A24.513Z/deepLinkOrigin/D%26SP


Bug if typing fast on Safari

If I type really fast in Safari (MacOS 10.14.1, Safari 12.0.1) the cursor will shift to the beginning of the editor. This don't happen on Chrome neither on Firefox.

Thanks! Fixed in upcoming release!


Providing CodeHints for new languages.

Hey,
I'm trying to provide ExtendScript (a superset of JS) CodeHints.
In order to achieve this I have forked the default JavaScriptCodeHints extension.
Now, I'm able to get this working by replacing the JavaScriptCodeHint extension.
Do I need to register the language in //src/language/languages.json in order to show up in the Status bar's language-selector? Or can I do this dynamically?
Thanks in advance.
p.s. I really enjoy working with Brackets: keep up the good work!

@keir-rex

Do I need to register the language in //src/language/languages.json in order to show up in the Status bar's language-selector? Or can I do this dynamically?

It depends on your goal. If this update is only for you on your local machine, then you can simply update the languages.json file.
But, this will be extra maintenance as you will need to re-merge this update any time that file is updated in Brackets. It will be much easier to maintain and share if you implement your changes as an extension.
To do this, create your ExtendScript Code Hints as an extension. You just need to register the provider with a higher priority than JavaScriptCodeHints so your extension is used instead.
Then read the Language Support article for adding ExtendScript.

Closing since I think that answers the question and there's no 'bug' to fix here.

More specifically, take a look at: https://github.com/adobe/brackets/wiki/Language-Support#defining-a-new-language
Also, I think this is unnecessary: "You just need to register the provider with a higher priority than JavaScriptCodeHints so your extension is used instead."  Since they're two different language ids, there's no conflict and thus you don't need the priority stuff.


Simple app gateway sample + some fixes in Utilities

Hi @martinsawicki, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (marcins). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Bug: Upon startup/boot no sound/audio coming out

Disclaimer:
Please go through existing issues to avoid creating duplicates. If you found a similar issue please post a comment there. If you are uncertain your issue is related to others then create the issue. Obvious ignorance of this rule might get you blocked from posting new issues. Please tick the box below to show that you have followed the guideline.

[x] I have checked for a similar issue and sure it hasn't been reported before.

Describe the bug
This might be related to the sleep issue #309 (not sure really)
Upon newly start or reboot of macos, no sound coming out. After checking, eqMac is selected even if eqMac is not running.  I had to manually change to "MacBook Pro Speaker" to get the sounds back.  Then I have to run eqMac then quit for it to be removed in the audio output.
I'll update this after I do another reboot for the screenshots.
Steps to Reproduce
Steps to reproduce the behaviour (feel free to change the placeholder as you need):

Reboot MBP (Note: eqMac is not running, not set to auto launch on startup)
Run any apps with sounds or audio, or best open a movie and play it
No sounds
Change output manually to "MacBook Pro Speakers" (eqMac is selected even if it is not started)
Yey! Sound is back.
Run eqMac
Exit eqMac
eqMac removed from audio devices

Expected behaviour
eqMac should not be enabled or selected upon startup, especially the "Launch from startup" is not selected or enabled.
Setup information:

MacBook Pro Speakers
Audio transmission interface: Built-n
macOS Version: Catalina 10.15.5
eqMac Version 0.2.2
eqMac UI Version 1.0.1

Screenshots or Console.app logs
I will updated this after I do a full restart for the screenshots.
Additional information
No other informations for now.

I haven't fully reproduced the issue, but prior to creating the issue ticket, I experienced this twice already.
So far, I was only able to reproduce the "eqMac" device is active (but not selected) even if "eqMac" was not set to launch at startup.
The only way to disable the "eqMac" audio devices was running eqMac itself the quitting it.

This issue should be resolved in v0.3.1.
Please update the app and the driver when launching and let me know if this issue is still relevant. Thank you


[Bug]

Before Reporting

[X] I found no existing issues matching my bug
[X] I completely restarted Steam and checked if the bug is still there
[X] I have checked if I use the latest version

Describe the Bug!
Steam big picture has incorrect styling when you enter then exit big picture mode.

Expected Behavior
Default custom styling I guess.

Steps To Reproduce

Enter Big Picture Mode
Exit Big Picture Mode

Operating System
Windows

Damn, Just noticed it actually breaks far more than the big picture button.
It also breaks library and gamebar styling.

This has nothing to do with the theme this is a bug of Millennium best you make a bug report there https://github.com/SteamClientHomebrew/Millennium/issues/new/choose

This has nothing to do with the theme this is a bug of Millennium best you make a bug report there https://github.com/SteamClientHomebrew/Millennium/issues/new/choose

Just noticed that might be the case. Thanks for beating me to it.


As a CIF user, I want to update fields in the project overview form using the routinely edited fields workflow, so that can make edits while an Amendment is open

Description:
Broken out from 1158
Allow users to update the fields below without following the "New Revision" workflow. (In the backend, it would create a new revision of type 'general revision', apply the change and commit it. This will preserve change history while allowing quick edits to certain fields. Backend work handled in https://github.com/bcgov/cas-cif/issues/1380)
Example designs:

Generic example 1: for fields with Dropdown as front-end component
Generic example 2: for fields with Date Picker or Text Input as front-end component

Acceptance Criteria:
Given I am on the project overview view page
When I update any of the fields listed below and click "Update"
Then the changes are saved as a general revision and committed
Fields

Proposal Reference
Project Name Score
Project Description
Project Type
Sector
Additional Sector Information
Contract Number

Development Checklist:

[ ] The fields should use the widget created in #1382
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[x] User story is included
[x] User role and type are identified
[x] Acceptance criteria are included
[ ] Wireframes are included (if required)
[x] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[x] Story has been estimated (under 13 pts)

Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Project Status is a routinely updated field but is handled in a different ticket

Hey team! Please add your planning poker estimate with Zenhub @dleard @gurjmatharu @mikevespi @sam-warren @Sepehr-Sobhani @tmastrom

Backlog refinement (Feb 22, 2022): There are still a lot of outstanding questions to support moving amendments and revisions. Taking a pause to do a more in-depth review/whiteboarding session before continuing with the implementation of this EPIC.

@LindsayMacfarlane  @Dianadec This is part of routinely updated fields and can be iceboxed/retired for now

Removed from current Amendment & Revisions EPIC.


Error: No ESLint configuration found

Hi,
I am new to Vue.js as well as Yarn.
When I start it I get this error:

Any idea how to fix it? Thanks

npm install -g eslint then eslint --init seem to fixed this problem, but now got: Module build failed: Error Couldn't find preset "stage-0" relative to directory

So I did: npm install babel-preset-stage-0 --save-dev but now got error during build: error Extra semicolon semi in src/config/constant.js.

Finally I've removed nvm: rm -rf $NVM_DIR ~/.npm ~/.bower updated npm package using: sudo npm update.
Then yarn couldn't start, due to another process already listening on 8080. nestat -lp didn't return that process, so I've restarted my machine and yarn start started sucessfully.
Wow, the front-end world changed a lot, comparing to 5 years ago, when I've did some of the front-end.


Can we support headers?

At the moment, headers are not automatically documented. Can we support it?

Yes. But

Could you provide example specs and OpenAPI schema you expect?
You're talking about request headers, right?

Let me close this until we get clarification about them. Thanks.

Let me close this until we get clarification about them. Thanks.


Slashing: Adding removeSlashedMember fn to Validators.sol

Description
Added a wrapper removeSlashedMember around _deaffiliate on Validators.sol to allow for easy interface for Slasher contracts to remove an offending validator from their current group.
Tested
Added a copy of the deaffiliate tests (since this is just a wrapper). Would like some input on if this is overkill or not. All that really needs to be tested is if validators[validatorAccount] reliably produces the correct validator.
Related issues

Fixes #2086

Please update the PR title


Support multiple languages

Please add support for multiple programming languages (Python, PHP and others).

Microsoft

hello. sorry for the belated response. please check out our new SDK https://github.com/coinbase/wallet-mobile-sdk which has Swift, Kotlin, Dart support for mobile apps.


WebBreaker Scan is not handling .webmarcro extension

When I run :
webbreaker webinspect scan --settings myApp_Settings_03112017.xml --login_macro myApp_LoginMacro_13112017.webmacro --workflow_macros myApp_WorkflowMacro_13112017.webmacro --scan_name myApp-Stage

Result:
Error uploading webmacro /Users/me/.webbreaker/etc/webinspect/webmacros/myApp_WorkflowMacro_13112017.webmacro.webmacro. Could not read file to upload [Errno 2] No such file or directory: '/Users/me/.webbreaker/etc/webinspect/webmacros/myApp_WorkflowMacro_13112017.webmacro.webmacro'.

Error uploading webmacro /Users/cpatt1/.webbreaker/etc/webinspect/webmacros/myApp_LoginMacro_13112017.webmacro.webmacro. Could not read file to upload [Errno 2] No such file or directory: '/Users/cpatt1/.webbreaker/etc/webinspect/webmacros/myApp_LoginMacro_13112017.webmacro.webmacro'.

Trimming the .webmacro extension from the input argument may resolve this issue.

resolved.  Webinspect install was required to be owned under another user.


Make Enter work on the .. ( up a dir ) line

Description of Changes
Closes #1012
Added a callback to handle cases where a node is not found on the tree, as is the case when selecting the .. ( up a dir ) line.

New Version Info

[x] Derive a new version number. Increment the:

[ ] MAJOR version when you make incompatible API changes
[ ] MINOR version when you add functionality in a backwards-compatible manner
[x] PATCH version when you make backwards-compatible bug fixes

[x] Update CHANGELOG.md, following this format/example:#### MAJOR.MINOR...
- **.PATCH**: PR Title (Author) #PR Number

#### 5.1...
- **.1**: Update Changelog and create PR Template (PhilRunninger) #1007
- **.0**: Too many changes for one patch...

Solved with 5.2.2
Thanks a lot for the quick fix.


Update gobolinux

Description
Update GoboLinux art

The art needs a ${c1} tag so that users can customize the color of it. Also all art in neofetch starts at line 1.

Okay, I'll be back and I've made the necessary changes.

Just a single ${c1} on the first line will cover the entire file.

Example:
${c1}  _____       _
 / ____|     | |
| |  __  ___ | |__   ___
| | |_ |/ _ \| '_ \ / _ \
| |__| | (_) | |_) | (_) |
 \_____|\___/|_.__/ \___/


Forward #translate method to underlying backend

Description
Discovered this when received [[]] as input in our API. Schema in our API defined in same way as in specs in this PR.
There is issue related to this PR from another guy in dry-validation repo dry-rb/dry-validation#692
How to reproduce
without fix
bundle exec rspec spec/integration/messages/namespaced_spec.rb:69
Run options: include {:locations=>{"./spec/integration/messages/namespaced_spec.rb"=>[69]}}

Randomized with seed 21602
F

Failures:

  1) Namespaced messages with OR messages uses namespaced messages
     Failure/Error: t["#{config.top_namespace}.#{key}", locale: locale]

     NameError:
       undefined local variable or method `t' for #<Dry::Schema::Messages::Namespaced:0x00007fb357a88fb0>
     # ./lib/dry/schema/messages/abstract.rb:72:in `translate'
     # ./lib/dry/schema/message_compiler.rb:126:in `block in or_translator'
     # ./lib/dry/schema/message/or/single_path.rb:41:in `dump'
     # ./lib/dry/schema/message/or/single_path.rb:53:in `to_h'
     # ./lib/dry/schema/message_set.rb:108:in `map'
     # ./lib/dry/schema/message_set.rb:108:in `messages_map'
     # ./lib/dry/schema/extensions/hints/message_set_methods.rb:37:in `to_h'
     # ./lib/dry/schema/message_set.rb:72:in `[]'
     # ./spec/integration/messages/namespaced_spec.rb:72:in `block (3 levels) in <top (required)>'

with fix
Specs pass

Thanks!


Updated the typo in the docs
Description
This pertains to the issue [Documentation]: #7595 raised a while back. Have made changes in notebook example here
Fixes # (issue)
Type of Change
Please delete options that are not relevant.

[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] I stared at the code and made sure it makes sense

Suggested Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Thanks for the fix!


Delete Token.js

In Quizziz V4, No decoding is required

I'll leave this here until I can confirm this.

I'll leave this here until I can confirm this.


noble.on is not a function

So I'm trying to run the advertisement_discovery example on my iphone, but I see the error
noble.on is not a function, noble.on is undefined error. Is there any idea why this error is occurring.
Thanks

Double check that the linking went right. I had the issue on android, and figured out the linking went wrong, because it was missing in the MainApplication.java. I'm not sure what the equivalent is in iOS.
And then use import noble from 'react-native-ble'; in your index.ios.js that should work.

I solved this issue a month ago. Including the missing RNBLEPackage in MainApplication.java was the solution.


Write empty sitemap and index files

Adds options to permit the output of empty sitemap and index files. This is to resolve issue #22.

@dfabulich What do you think about this pull request?

@dfabulich Probably I will release another version today with this fix - or do you plan to add more fixes soon?


add arm64osx automated tests

Also use grealpath on macOS since its realpath doesn't support the -m option.

Yes, updating PATH to include all of coreutils would be fine. Be sure to use $(brew --prefix) to get the proper prefix for both Intel and ARM Macs.

If you do add "$(brew --prefix)/opt/coreutils/libexec/gnubin" to the PATH, then you should update the README and configure scripts that use ginstall and grealpath.

@payneca, I removed the changes to README and configure and simply updated GITHUB_PATH in the automated tests. Feel free to update this in a future pull request when you update everything else.

@owaddell, I also changed fail-fast to false so that each machine type gets the opportunity to complete should any of the others fail.


Doc update: Change agentless-scanner to agentless scanner

This is a follow-up to PR #14. We (on the Docs Team) had a ticket to do an editorial review of the content, but the PR got merged before I could finish it. This PR changes "agentless-scanner" to "agentless scanner" where appropriate.

Awesome 👍  thanks


Remove passing password in clear text from MVC sample

The MVC.Sample includes model with password in clear text:
https://github.com/aspnet/Mvc/blob/dev/samples/MvcSample.Web/Models/User.cs#L27
https://github.com/aspnet/Mvc/blob/dev/samples/MvcSample.Web/HomeController.cs#L138
The password should be removed, it's not needed for the sample and encourages risky coding. I can do a PR with password removed.

Cool, please go ahead and submit a PR. Thanks.

We should look at doing a broader cleanup on the MVC sample

Agreed, but you'll need a dev to do that.

@danroth27 @Eilon this can be closed. :smile:


Google Colab

Hello bro, could you implement this on Google Colab? This seems to be very good.

Sure will work on it and  update it soon.


chore: Make pages section into a dropdown

Description
Makes the pages pane into a Dropdown instead of a list hidden behind Editor Pane
Fixes #31450
Automation
/ok-to-test<EMAIL_ADDRESS>:mag: Cypress test results

[!CAUTION]
🔴 🔴 🔴 Some tests have failed.
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/8718674555
Commit: 56057a1925d784b3ca1c241c7952026861ef8f85
Cypress dashboard:  Click here!
The following are new failures, please fix them before merging the PR:
cypress/e2e/Regression/ClientSide/Binding/JSObject_Postgress_Table_spec.js
cypress/e2e/Regression/ClientSide/EmbedSettings/EmbedSettings_spec.js
cypress/e2e/Regression/ClientSide/Git/GitImport/GitImport_spec.js
cypress/e2e/Regression/ClientSide/OtherUIFeatures/GlobalSearch_spec.js
cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_2_spec.js
cypress/e2e/Regression/ServerSide/ApiTests/API_MultiPart_Spec.ts
cypress/e2e/Regression/ServerSide/Datasources/ConnectionErrors_Spec.ts
cypress/e2e/Regression/ServerSide/Params/ExecutionParams_spec.js
cypress/e2e/Regression/ServerSide/QueryPane/AddWidget_spec.js
cypress/e2e/Regression/ServerSide/QueryPane/EmptyDataSource_spec.js
cypress/e2e/Sanity/Datasources/MySQLDataSourceStub_spec.js
cypress/e2e/Sanity/Datasources/MySQLNoiseTest_spec.js
cypress/e2e/Sanity/Datasources/MySQL_spec.js
cypress/e2e/Sanity/Datasources/PostgresDatasource_spec.js
cypress/e2e/Sanity/Datasources/SMTPDatasource_spec.js
To know the list of identified flaky tests - Refer here

Summary by CodeRabbit

New Features

Added a visibility management menu to the EditorTitle component.
Introduced new HeaderTitleComponent to dynamically update based on editor states.
Updated the PartialImportModal and PartialExportModal components for improved handling.
Implemented a new callback function onItemSelected in AddPageContextMenu.
Added a search functionality to the app.

Enhancements

Updated PageList methods for better attribute handling and added HideList method.
Enhanced test clarity and maintainability in various Cypress regression tests.

Bug Fixes

Fixed step increment issue in PageElement by adjusting the step prop value.

Documentation

Updated user-facing messages and labels for clarity, such as renaming "Edit name" to "Rename."

Refactor

Removed outdated state management properties and methods, simplifying the codebase.
Streamlined import statements and component props across multiple files for consistency.

Version Updates

Upgraded design-system package to a new version for enhanced features and fixes.

/build-deploy-preview

/build-deploy-preview

/build-deploy-preview

/build-deploy-preview

/build-deploy-preview

/build-deploy-preview skip-tests=true


Conditional Rendering: value is not defined

Hey! I tried an example from the documentation
to: "<%= message ? 'where/to/render' : null %>"
and received message is not defined
I can use a workaround type, for example typeof directory == "undefined" in my case, but this does not allow me to fully use the helpers in the .hygen.js, for example
// template
to: <%= h.getPath(directory, Name) %>

I'm wondering what would be the real life template -- could you provide one so I can understand? thanks!

I am experiencing the same issue. I would like to be able to add flags and conditionally run templates that belong to a group.

Hi @jondot,
I have the same problem ! In my case I have a default destination folder if I don't use the catalog parameter.
Example :
to: "<%= catalog ? `src/${catalog}/${name}/${name}.ts` : `src/default/${name}/${name}.ts` %>"

When a parameter is not initialized it throws an exception, so it is not possible to have an optional parameter in this case.
There is a solution ? Thanks in advance 😀

@MathiasVandePol answer solves the issue. I think you should close it.

--- to: "<%= locals.issuer ? ${issuer}.json` : null %>"
force: true
<%_ poco = {"allow": []} %>
<% var data = JSON.parse(JSON.stringify(endpoints)); %>
<% for (var i = 0; i < data.length; i++) { %>
<% endpointData = data[i].split("=>")%>
<% path = endpointData[0].trim() %>
<% methods = endpointData[1].trim() %>
<% poco["allow"].push({"paths": [path], "methods": [methods], "principals": {"asap": {"issuers": [issuer]}}}) %>
<% } _%>
<%- JSON.stringify(poco, null, 2).trim(); _%>`
In my case the frontmatter evaluates fine the above suggested approach but it continues to the body . Any way I can avoid that? @MathiasVandePol


test: always run exec context function asynchronously

While not strictly necessary due to callers providing context to CiliumExecContext, provide a means of insulating from improper use of contexts which may never be canceled (and thus will leave goroutines running), e.g. context.Background(), or if ExecContext gets stuck for some weird reason. Running the function for which we want to obtain a result asynchronously allows for an explicit guarantee that we will never block  forever in the CI. If this case occurs, something is definitely wrong and it's better to let the CI fail.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>Related-to: #8197

This change is

test-me-please

test-me-please

test-me-please

Coverage decreased (-0.09%) to 41.954% when pulling 6998f8e8c82de4c6a7bb722b6b0f32fb42aa08d5 on pr/ianvernon/async-cilium-exec-context into 361c99dd1082d63384748b44e78098281a9c5808 on master.


fix: add moment timezone to formatDate helper

Kanbanize Card: https://hpinc.kanbanize.com/ctrl_board/55/cards/18885/details/
Change:

Add param in formatDate to change the timezone for the date

Reason:
There is a discrepancy between the dates that would be shown via the Greensheet timezone vs the order details/batch details due to the latter formatting the dates to the account settings timezone while the greensheet uses the handlebar helper that always sets the time to UTC.

Your PR is blocked because this repository has 24 security vulnerabillity issue(s) with critical or high severity:

eslint-utils (CRITICAL severity). PR created by dependabot: https://github.com/oneflow/handlebars-kit/pull/25
handlebars (CRITICAL severity). PR created by dependabot: https://github.com/oneflow/handlebars-kit/pull/24
minimist (CRITICAL severity). PR created by dependabot: none
lodash (CRITICAL severity). PR created by dependabot: none
json-schema (CRITICAL severity). PR created by dependabot: none
acorn (HIGH severity). PR created by dependabot: https://github.com/oneflow/handlebars-kit/pull/26
marked (HIGH severity). PR created by dependabot: none
moment (HIGH severity). PR created by dependabot: https://github.com/oneflow/handlebars-kit/pull/32
node-fetch (HIGH severity). PR created by dependabot: https://github.com/oneflow/handlebars-kit/pull/29
ansi-regex (HIGH severity). PR created by dependabot: none
npm (HIGH severity). PR created by dependabot: none

To unblock your PR you must fix security issues with CRITICAL or HIGH severity.
If there's no dependabot PR to fix the issue yet and you're planning on fixing it, make sure to include bump {packageName} into your commit message.
If you already fixed this issue in a different PR, please merge your branch with the default repo branch to unblock it.
If you already fixed the issue in this PR but didn't include bump {packageName} into your commit message, please edit the PR title or body so it includes bump {packageName} or update vulnerable dependencies. This will trigger the action again and will unblock the PR.

Are these critical and high vulnerabilities going to be addressed?  Not all the outstanding PRs entered by the bot need to be done because some are low and medium.  but the Critical and High should be addressed.  @Sergio-svb what do you think?

@clouthier yes all critical and high vulnerabilities should be resolved

Separate PR / branch being made to look into fixing all the high and critical vulnerabilities

:tada: This PR is included in version 1.2.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Can I run multiple nexrender workers on a big machine?

Can I run multiple workers on a big machine? Will it be able to do 2 tasks parallely in nearly same time?

How many workers can I run in a 4 core 16GB Windows machine to get maximum output?

Hello @ujjwalagrawal17,
All of that technically depends on your After Effects settings. If it has multi-thread rendering enabled, it will use multiple cores for a single rendering job. The same applies for memory settings. Set those up to your needs, and from there you will be able to figure out how many simultaneous jobs you can sustain with a given "hardware" configuration.
Cheers!

Thanks @inlife I will try out that.


Migrate to jest

Migrate to jest

Can we move the jest config to package.json (and get rid of anything but the required config)?

No preference there. package.json is fine for me. but Considering the number of options in the jest config, manifest file can get little clumsy. And when typescript comes we will need to add few more configs. may be some regexe. js file will flexible to work with. I think. thoughts?
I can remove the unwanted options and comments though?

Dang it. Lest worry about the readability when there is one 😅 . Moved to package.json


Allow setup.py to be parsed without numpy

If numpy isn't available, don't define ext_mods, pip will then determine numpy is required, install it, then call us again.
Fixes #653

Codecov Report

Merging #655 into devel will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            devel     #655   +/-   ##
=======================================
  Coverage   53.28%   53.28%
=======================================
  Files         203      203
  Lines       20411    20411
  Branches     2735     2735
=======================================
  Hits        10877    10877
  Misses       9034     9034
  Partials      500      500

Cool! Thanks for the fix! Usually Linux/mac comes with a version of numpy, so we do not experience this problem.


Add profile: Sampath

@sampath88 Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!


fix: deepcopies of object for improved information gathering

Hi Max!
As we discussed, here goes the PR for the HistoryStacks update, as we discussed. This should fix the problem with the deepcopies of the object, as instead we copy just the needed arrays. Let me know if you find an issue with this.
Cheers,

Thanks for catching and fixing this!


Support new NTO QNX targets

This change:

Adds support for two new targets
Adds support for a new target_env value
Gives users a bit more information where an error message comes from (e.g. if target is unknown)

This depends on rust-lang/rust/pull/133631
CC: @jonathanpallant @japaric @gh-tr @AkhilTThomas

Thanks for the PR!
The generated.rs shouldn't be updated manually, it will be updated by a CI job within a week of the Rust PR merging.
Also, please add the better error message in a separate PR.

I think this is the first time that a Rust target is added since https://github.com/rust-lang/cc-rs/pull/1225, I'd like to know what you think we can do better (apart from improving the error message) to make that work smoother in the future?

Thanks for the PR!
The generated.rs shouldn't be updated manually, it will be updated by a CI job the next Friday after the Rust PR merges.
I think this is the first time that a Rust target is added since #1225, I'd like to know what you think we can do better (apart from improving the error message) to make such work smoother in the future?

Thanks for the feedback, I've reverted the changes of generated.rs.
Something that would have helped me (and I think @thejpster as well) is:

A note in https://rustc-dev-guide.rust-lang.org/building/new-target.html about this issue. It does mention some required changes in e.g. Cargo.toml to allow targets not yet supported by nightly Rust, but nothing about the cc crate.
A more clear error message of the cc crate. This PR tries to improve it a bit (so that the user at least knows where the error message is coming from), but e.g. a link to some additional documentation (like the dev guide of previous bullet point) could be even better.

The generated.rs shouldn't be updated manually, it will be updated by a CI job the next Friday after the Rust PR merges.

You can modify and run cargo run inside the dev-tools/gen-target-info https://github.com/rust-lang/cc-rs/tree/main/dev-tools/gen-target-info
It will generate this src/target/generated


Profile page: Remove everything except the language field

This ticket was originally about the Accessible Countries field on the Profile page, but now I am recommending we get rid of everything on that page except the language menu.
Recommended changes

[x] 1. Remove every field on the Profile page except for the language selection menu.
[x] 2. Remove the "required" asterisk after the word "Language". (It's impossible to save the form without a selection, so the asterisk is meaningless.)
[x] 3. In the top nav, replace the user's name with the word "Settings" -- with translation tags around it.

Back story
On the profile page, the Accessible Countries list is mislabeled and misleading. It does not actually control access to countries; those permissions are managed in the Admin console, by an admin, not the end user. What that field actually does is give you a way to choose only a sub-set of countries from which to display programs on the Home and Indicators list page. Both of those pages currently show programs across multiple countries; both of those programs are going away with Mangosteen. Our new Home page only displays programs from a single county at a time, and you can switch countries using two different methods -- the menu above the site map or the menu in the top nav bar.
With the release of Mangosteen, the "Accessible Countries" field serves no discernible purpose, so I'd like to get rid of it.
Come to think of it, with the exception of the language field, every field on that profile page is either useless or problematic. Useless: Seeing my own employee information redundant with The Hub, Workplace, etc. Problematic: As an end user (not an Admin) being able to edit my employee number, country, and... edit the User? What in the actual heck...
Incidentally...
This ticket reminds me of a prototype I saw for a user-friendly TV remote control.

Maybe my favorite ticket yet @jennyhavah!!
I don't see any issues with removing all fields except language. My only comment is why do we even need a profile page then? Couldn't we just put the language selection in the top nav somewhere so it's more accessible?

@esinn I'm reluctant to add the language menu to the top nav because for most people it will be a one-time set-and-forget item. You don't translate page by page, like a Google plugin.
So this rarely-used menu would compete for space and attention with the much more frequently used items such as program/country search, reports, etc.

Aha got it. That makes sense 👍

@axoplasm Sounds good! Just added that to this ticket as the third item.

This is ready in PR #849:

That's correct, "Settings" has not yet been translated


chore(internal): add proxy metrics for refactoring commands

chore(internal): add proxy metrics for refactoring commands
This PR:

Adds proxy metrics for various refactoring commands for easier analytics.

Code
Basics

[x] code should follow Code Conventions
[x] circular dependency check: make sure your code is not introducing new circular dependencies in plugin-core.  See Avoiding Circular Dependencies.
[x] sticking to existing conventions instead of creating new ones

eg: if configuration for utilities are already in one module or package, add future utilities there as well

Extended

General

[x] check whether code be simplified
[x] check if similar function already exist in the codebase. if so, can it be re-used?
[x] check if this change adversely impact performance

Operations

[x] when shipping this change, will it just work or will it introduce additional operational overhead due to complicated interface or known bugs?

Architecture

[x] check if code is introducing changes on a foundational class or interface. if so, call for design review if needed

eg: making changes to DNode

Instrumentation
Basics

[ ] if you are adding analytics related changes, make sure the Telemetry docs are updated

Extended

[x] can we track the performance of this change to know if it is successful?

eg: see usage for export pod

Tests
Basics

[ ] Write Tests
[ ] Confirm existing tests pass
[ ] Confirm manual testing
[ ] Common cases tested
[ ] 1-2 Edge cases tested
[ ] If your tests changes an existing snapshot, snapshots have been updated

Extended

[~] If you are adding a new language feature (graphically visible in VS Code/preview/publishing), an example is included in the test workspace
CSS

[~] display is correct for following dimensions

[~] sm: screen ≥ 576px, eg. iphonex, (375x812)
[~] lg: screen ≥ 992px
[~] xxl: screen ≥ 1600px eg. mac (1600x900)

[~] display is correct for following browsers (across the various dimensions)

[~] safari
[~] firefox
[~] chrome

Docs

[~] if your change reflects documentation changes, also submit a PR to dendron-site and mention the doc PR link in your current PR
[~] does this change introduce a new or better way of doing things that others need to be aware of? if so, an async should be created and a process added in Development or Packages

Close the Loop
Extended

[~]  is this a developer BREAKING change? if another person cloning from this branch will need to adjust their dependencies or mental model of the architecture, then it is. if this is the case, make sure this is communicated according to Close Loop

eg: breaking dev change due to new dependency

update:

cleaned most engine.findNotes calls and various issues found along the way.
took some time to add more stats. refactoring commands that aggregate multiple operations now also have median and standard deviation values of each props.


export the public dag of finalized tasks as a car

Add an endpoint on the controller in parallel to the libp2p based syncing
can use https://github.com/ipld/go-car/blob/9d4c555e62b616adbef38e6a1f7b55f40e3f4d4e/selectivecar.go#L64

If/when we do this, it would be neat for the second integration test to verify this with the controller.

fixed in #122


Fix CI error of codeql anaylzer

See: https://github.com/casbin-net/casbin-aspnetcore/runs/7634763707?check_suite_focus=true

@sagilio

@AsakusaRinne We may need to set up other version SDKs in codeql action

@AsakusaRinne We may need to set up other version SDKs in codeql action

OK, I'll try it later today

@AsakusaRinne ref:
https://github.com/casbin-net/casbin-aspnetcore/blob/26c4745408c04c12fa5adda52deca349c6d223af/.github/workflows/build.yml#L25-L33


Remove preinstall

Requested by @askoufis

For context, these kind of local-dev restrictions should be done in the prepare script, rather than postinstall, so it only runs on local dev and not on a consumer's machine, where it may error if for example they're using yarn and non pnpm.
yarn doesn't even support prepare though, and honestly these kinds of scripts are too pedantic for my taste, so 🔥 is the only solution.


smart car android -SDK In android forcefully close my application while verifying vehicles  in browser.

I implemented smart car sdk in android flutter. When I call native method it work perfectly till select vehicle and enter email. But, when I click on submit in browser it will close all running applications in background.
**Flutter doctor **
apple@Sahil-MacBook-Air climatekarmafe % flutter doctor -v
[✓] Flutter (Channel stable, 3.3.1, on macOS 12.0.1 21A559 darwin-x64, locale en-GB)
    • Flutter version 3.3.1 on channel stable at /Users/apple/Downloads/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4f9d92fbbd (5 days ago), 2022-09-06 17:54:53 -0700
    • Engine revision 3efdf03e73
    • Dart version 2.18.0
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/apple/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that
        responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google
    Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Connected device (2 available)
    • CPH2015 (mobile) • Z9PJAMUKHI4LO7UC • android-arm64 • Android 9 (API 28)
    • macOS (desktop)  • macos            • darwin-x64    • macOS 12.0.1 21A559 darwin-x64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

build.gradle(app)
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
    compileSdkVersion 33
    ndkVersion flutter.ndkVersion

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = '1.8'
    }

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "com.climatekarma.climate_karma"
        // You can update the following values to match your application needs.
        // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
        minSdkVersion 28
        targetSdkVersion 33
        versionCode 1
        versionName "1.0"
    }

    buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    compileOnly("io.flutter:flutter_embedding_debug:1.0.0-0fdb562ac8068ce3dda6b69aca3f355f4d1d2718")
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'com.smartcar.sdk:smartcar-auth:3.0.0'
    implementation 'androidx.browser:browser:1.0.0'
}

AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="xxxxxxxxxxxxxx">
    <uses-permission android:name="android.permission.INTERNET"/>
   <application
        android:label="xxxxxxxxxxxxxxx"
        android:name="${applicationName}"
       android:hardwareAccelerated="true"
        android:icon="@mipmap/ic_launcher">
        <activity
            android:name=".MainActivity"
            android:exported="true"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <!-- Specifies an Android theme to apply to this Activity as soon as
                 the Android process has started. This theme is visible to the user
                 while the Flutter UI initializes. After that, this theme continues
                 to determine the Window background behind the Flutter UI. -->
            <meta-data
              android:name="io.flutter.embedding.android.NormalTheme"
              android:resource="@style/NormalTheme"
              />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>

       <activity
           android:exported="true"
           android:name="com.smartcar.sdk.SmartcarCodeReceiver">
           <intent-filter>
               <action android:name="android.intent.action.VIEW" />
               <category android:name="android.intent.category.DEFAULT" />
               <category android:name="android.intent.category.BROWSABLE" />
               <data
                   android:host="@string/smartcar_auth_host"
                   android:scheme="@string/smartcar_auth_scheme" />
           </intent-filter>
       </activity>

        <!-- Don't delete the meta-data below.
             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
    </application>
</manifest>

MainActivity.kt
package com.climatekarma.climate_karma

import android.content.Context
import android.view.View
import com.smartcar.sdk.SmartcarAuth
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodChannel

class MainActivity: FlutterActivity() {
    private var CLIENT_ID: String? = null
    private var REDIRECT_URI: String? = null
    private var SCOPE: Array<String>? = null
    private var smartcarAuth: SmartcarAuth? = null

    private var appContext: Context? = null
    lateinit var smartCarChannel:MethodChannel
    private val SMART_CAR_CHANNEL_NAME = "xxxxxxxxxxxxxxxxxx/smartcar"

    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        appContext = applicationContext
        CLIENT_ID = Constants.SMART_CAR_CLIENT_ID
       REDIRECT_URI = Constants.SMART_CAR_AUTH_SCHEME + "://" + Constants.SMART_CAR_AUTH_HOST.trim()
       SCOPE = arrayOf("required:read_vehicle_info")
        smartCarChannel = MethodChannel(flutterEngine.dartExecutor.binaryMessenger,SMART_CAR_CHANNEL_NAME)

        //Recive Data from flutter
        smartCarChannel.setMethodCallHandler { call, result ->
            if(call.method == "connectSmartCar"){
              //  val arguments = call.arguments as Map<String,String>

                smartcarAuth = SmartcarAuth(
                    CLIENT_ID,
                    REDIRECT_URI,
                    SCOPE,
                    true
                ) { smartcarResponse ->
                    result.success("${smartcarResponse.code}")
                }
                smartcarAuth?.launchAuthFlow(getApplicationContext());
                val connectButton = View(appContext)
                smartcarAuth?.addClickHandler(appContext, connectButton)
                connectButton.performClick()
                connectButton.isPressed = true

            }
        }

    }

}

Logs
Click to see logs

There is no sdk issue it work perfectly after adding
def appcompat_version = "1.5.1"
implementation "androidx.appcompat:appcompat:$appcompat_version"

There is no sdk issue it work perfectly after adding def appcompat_version = "1.5.1" implementation "androidx.appcompat:appcompat:$appcompat_version"

I'm also integrating the SDK to a Flutter project and was facing the same issue, cannot believe adding the appcompat implementation would fix it. Thanks @sahilXperge!


Terraform typed ComponentDefinition generation issues

Describe the bug

[ ] When a variable's type isn't specified, set it to string

variable "name" {
  default = "acctestRG-%d"
  description = "The name of the resource group"
}

To Reproduce

Expected behavior

Screenshots

KubeVela Version

Cluster information

Additional context

yes, we should set it as string by default in vela show.

@wonderflow can you assign me this issue?

@rupeshkoushik07 Sure, thanks


Feature: Implement a LIST TABLES; Command

List the names of tables that are presently in database

``


Fix dates allowing 2 digit years

What is the context of this PR?
This fixes the year validation so 2/3 digit years are not allowed anymore in forms.
How to review
Tests added and existing one refactored to support this change.
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Bug: Dates allowing 2 digit years

My tests are failing but my local runner has been pretty weird recently, so I will try again tomorrow.

Do we need a better error message as slightly ambiguous from a user perspective:

Do we need a better error message as slightly ambiguous from a user perspective:

New error message added that is specific about the year format, I've checked the wording with Donna and Oscar.

New error message looks good to me as long as its signed off by content

It's been looked at and approved by Donna and Oscar.

Oscar spoke to Jon from DS and the validation error message is slightly different now than what is on the card, but it's been approved.


remove sql_compatibility from build matrix and only test sql compatible mode

druid.generic.useDefaultValueForNull is deprecated and will be removed in the future. This PR removes it from the CI matrix to cut down on overall runtime. I will be opening some follow-up PRs to actually start removing the code and configs for these modes.

@clintropolis can you please link a master issue (which itself points to a dev list thread) that discusses the removal of (which?) non-SQL-compatible modes?

thanks, created the issue, https://github.com/apache/druid/issues/17575


How to setting the OverlayColor?

how to setting the overlayColor when the panelPosition is .UnderCenterPanelLeft?

In that case there is no overlay, please read the Readme file.

yes i knew,but i still need that,can you give me some advice?

what kind of overlay do you need?

just like when the position is OverCenterPanel. Strictly  it is not overlay,I just need the centerPanelColor darken when sidePanel opened.


fix: skip admin queries when consolidating REST APIs

Description of changes
This commit skips over the admin queries REST API when consolidating the user's REST APIs.
Issue #, if available
Refs: https://github.com/aws-amplify/amplify-cli/issues/2084
Description of how you validated changes
Ran several failing E2E tests.
Checklist

[x] PR description included
[x] yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #7142 (849ddc7) into master (f259e5a) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #7142      +/-   ##
==========================================
- Coverage   51.54%   51.53%   -0.01%
==========================================
  Files         486      486
  Lines       25051    25053       +2
  Branches     4913     4915       +2
==========================================
  Hits        12912    12912
- Misses      11187    11189       +2
  Partials      952      952

Impacted Files
Coverage Δ

...dformation/src/utils/consolidate-apigw-policies.ts
13.22% <0.00%> (-0.23%)
:arrow_down:

Continue to review full report at Codecov.

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


[HHH-9647] Update jboss logging to 3.2.1.Final

When using Hibernate 4 with Log4J2, all messages are printed on CONSOLE instead of using Log4J2.
Upgrading the pom.xml with:
<dependency>
    <groupId>org.jboss.logging</groupId>
    <artifactId>jboss-logging</artifactId>
    <version>3.2.1.Final</version>
</dependency>

Fixes the issue. See JBLOGGING-107. It worths upgrading Hibernate to depend on 3.2.0 (minimum) or 3.2.1 (latest).
See https://hibernate.atlassian.net/browse/HHH-9647

Hi @dadoonet , thanks I was also planning to open this same JIRA :+1:
Having someone else simplifies things, I can play the role of the reviewer rather than sending a PR for review ;-)
I'll merge it, but there's a catch which I'll document in the JIRA.
Thanks!

There seems to be some complexity in the OSGi integration tests :-(
since I don't know about OSGi myself, I've asked help as PR #903 so that supersedes this PR.

For what it's worth, in our case, the lack of support did not just cause messages to be printed to console. It caused them not to be logged at all. Simply upgrading jboss-logging fixed (still on Hibernate ORM 4.1).
Thank you very much


Provide dropdown of all available services when using "service with the name" option.

Server version - V0.27.0-rc1
Steps to reproduce the problem:
Create a service with scheduling set to host must have a "service with the name" option.
There is no dropdown available with all available services to pick from.

#1482, labels changed.

Failed - still no drop-down

Labels changed some more... note that it only looks for the new label (stack_service) so you'll need some newly-created services.

v0.27.0-rc4: Verified Fixed with new services.


Storage creates a subdir named after network.

About These Changes

changed Storage constructor to accept a network name.
changed Storage constructor to move specific lmdb files to a subdirectory named after the network.
changed the initializer reactor to pass the Chainspec's network name to the Storage constructor.
changed the ContractRuntime's constructor to accept a path to the storage dir directly, instead of using a WithDir<T>
updated tests that construct Storage
updated tests that construct ContractRuntime
added unit tests for the helper functions that run in the Storage constructor.
closes casper-network/casper-node#1424

NOTE: This should not be merged until version 1.4.0.

bors r+


Make device event's field optional, closes #39

Also uses synon now to test callbacks

Merge #50 first

@FokkeZB please rebase


Read the openshift-config/user-ca-bundle ConfigMap

This ConfigMap is configured at installation time and can contain a PEM-formatted bundle of CA certificates that should be copied on the node.
For SRO to be able to pull "just like the nodes' Docker daemon", we need to read that bundle (if it exists).
This PR extracts all the logic that fetches OpenShift user-defined CA certificates into a new OpenShiftCAGetter interface in a separate file.
It addresses BZ 2100891.
/cc @ybettan @yevgeny-shnaidman @cdvultur

Can you please have a commit message as well? Git blame will be pretty poor in the current state.

/hold

Looking into a better way to do this.

After talking to @yevgeny-shnaidman, there is an "Openshift way" to do it - see https://docs.openshift.com/container-platform/4.10/networking/configuring-a-custom-pki.html#certificate-injection-using-operators_configuring-a-custom-pki.
BUT, I don't think we should deviate much from 4.11 at this point. I think we should do it in KMMO and just add the reading of the additional confimap in the simplest way as possible in order to ease on the backport process.

/unhold

/retest

/help


Safety protocol after losing GPS while in offboard mode.

Can someone clear this up for me?  What happens when flying in offboard mode and relying on gps and then suddenly fall below acceptable levels?  I don't think this is very clear in the documentation. The Offboard Loss Failsafe section doesn't specify what happens in this case.

Hello @jbourne15 ,
Actually it's mentioned in following lines:

If a failsafe occurs while the vehicle is responding to another failsafe (e.g. Low battery while in Return mode due to RC Loss), the specified failsafe action for the second trigger is ignored. Instead the action is determined by separate system level and vehicle specific code. This might result in the vehicle being changed to a manual mode so the user can directly manage recovery.

Furthermore, in my opinion you can try in simulation.
As far as I know, if position can't be estimated by estimator anymore relying on GPS, current logic try to estimate position by using Optical Flow,  vision position fusion etc. which are relevant EKF2_AID_MASK parameter configuration. It's landing its current position if cannot estimate its position in default.

Position (GPS) Loss Failsafe
The Position Loss Failsafe is triggered if the quality of the PX4 position estimate falls below acceptable levels (this might be caused by GPS loss) while in a mode that requires an acceptable position estimate.
The failure action is controlled by COM_POSCTL_NAVL, based on whether RC control is assumed to be available (and altitude information):
0: Remote control available. Switch to Altitude mode if a height estimate is available, otherwise Stabilized mode.
1: Remote control not available. Switch to Land mode if a height estimate is available, otherwise enter flight termination.
Fixed Wing vehicles additionally have a parameter (NAV_GPSF_LT) for defining how long they will loiter (circle) after losing position before attempting to land.

Thanks @bozkurthan for the reply and the info.  Would flying in offboard mode and then losing GPS be considered as having two failsafe protocols triggered or just one?   I would like to try this in simulation, how would I shutoff the gps during flight?

You can easily use " gpssim stop " on px4 terminal that you run simulation.

Would flying in offboard mode and then losing GPS be considered as having two failsafe protocols triggered or just one?

For that case Position (GPS) Loss Failsafe will be triggered another failsafe won't be triggered until conditions are met (RC LOSS, DATALINK LOSS etc.). Offboard loss meaning you lost connection with another node that you use for attitude control of vehicle.
If a failsafe occurs while the vehicle is responding to another failsafe (e.g. Low battery while in Return mode due to RC Loss), the specified failsafe action for the second trigger is ignored.
But you can find more discuss about this on https://discuss.px4.io/.

@bozkurthan I am currently using ROS to interface px4 with a gazebo simulator as described here.  And when I start my simulation I can't use "gpssim stop" because it isn't a px4 shell.  Is there a way to shutoff the gps with a ROS interface gazebo simulator?

Yeap, you can use qgroundcontrol mavlink console for the same command. (https://docs.qgroundcontrol.com/en/analyze_view/mavlink_console.html)

@jbourne15 is this clear? And if not would you mind making a pull request to the docs to improve it? Thanks.

@julianoes Yes this is clear.
@bozkurthan thanks, I will try this.


euler/timoshenko beam

Can you add 1D (2 noded) beam elements. such as Euler and/or Timoshenko beam formulations?

We are always open to contributions, so if you or some other mfem user is interested in adding such functionality we welcome the pull request.


MNT: rerender

Hi! This is the friendly automated conda-forge-webservice.
I've rerendered the recipe as instructed in #21.
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Fixes #21

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Need Help with Maxpower recipe

Somehow I have to run a command like
storscore.cmd -recipe=recipes\max_power.rcp –raw
but there is no such a recipe in recipes in this tool.
Any idea where I can find it, please kindly advice.

I attached a file that I wrote a few months ago.  I'm guessing it's the one your team wants you to run, but they forgot to give it to you.
Be sure to change the "txt" extension back to "rcp" before you try to run it.
max_power.txt


Is there a reason why DiffPose model only learns about one specific?

HI, Vivek
I'm getting a lot of help from you, thank you.
The diffpose model seems to learn about one specimen. I'm wondering if there's a special reason first.
Thank you for your answer.

Hi @ryukyungjoon we learn a model for a specific subject such that the model is hyperaccurate for that patient. In the context of surgery, this is akin to overfitting on the specific patient about to undergo a procedure. In that usecase, you don't care if the model generalizes to new patients, only that it's accurate for the current patient.


ML 5.4: Handling Missing Values (A)

Description 📜
Audio explaining Handling Missing Values.
Fixes #6165

Type of change 📝

[x] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)

Domain of Contribution 📊

[x] Machine Learning

Checklist ✅

[x] I follow Contributing Guidelines & 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'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Sir @abhisheks008, please do evaluate my PR.

Merged @deepthi1107


FITS do not have raw images. Only weird mono

From INDI forum:
I am fairly new to INDI stuff.
System:

RPi Zero 2W
RPi HQ Camera mounted at backfocus of 16"LX600
bullseye arm64 lite. Update and upgrade
apt install -y libcamera-apps indi-bin python3-picamera2 python3-lxml python3-astropy python3-pi
pip3 install indi_pylibcamera
indi_pylibcamera_postinstall
indiserver -v indi_pylibcamera

The INDI driver started ok. Connected CCDCiel from my laptop. Connected to RPi INDI and camera indi_pylibcamera.
I was able to loop th epreview and manually focus and center the start (Procyon.) The preview was mono, of course. Then I started a sequence of 10 images. They were all uploaded to my laptop as FITS files. These images were all binned 2x2.
The next day I was looking at them and they only have a mono images and they have odd gaps every other row and column. I probed the FITS files and it only has that one image.
Did I set something up wrong in the INDI driver? If I capture using libcamera I get color images on the RPi I can move to my laptop, but the FITS images are weird.
I can't attach the FITS file, but I attached the image. There is only one item in the FITS file. Here is the file info
Filename: 20240304/20240305_032943782_Procyon.fits
No.    Name      Ver    Type      Cards   Dimensions   Format
  0  PRIMARY       1 PrimaryHDU      53   (2024, 1520)   int16 (rescales to uint16)

I did not know the image had to be debayered.

Exactly. The Bayer color filters are the reason for the checkerboard in the lighter regions of your image:

The header of the FITS images has an attribute "BAYERPAT" which tells the color order in the Bayer pattern. A monochrome FITS image does not has this attribute. As far as I know this makes the difference between monochrome and raw Bayer images in FITS format.
KStars has a setting to enable debayering before showing FITS images on the screen. That allows you to see colored images in the preview window. It does not affect the stored image data. Likely CCDCiel has a similar feature.
Using raw Bayer images is preferred over RGB images. All color cameras I know use Bayer filter. The RBG images are generated in an image signal processor which does the debayering. But this image signal processor usually calculates with integer numbers which leads to loss of information. This is not critical for good exposed images. But in astrophotography the interesting parts of the images are extremely underexposes: the faint nebulas between bright stars are often hidden by the camera noise. Only postprocessing makes these details visible:

Correction of pixel errors: You should use Dark frames to subtract individual pixel bias. If you are a professional you can also use Flat frames to compensate for individual pixel sensitivities. I do not have the equipment for doing Flat frames. But the HQ camera has very homogeneous pixel sensitivity and my optics do not produce vignetting. So I don't use Flat images.
Debayering: The best debayer algorithms are nonlinear. That's the reason why you need to do debayering after the correction of linear pixel errors.
Aligning and stacking: This improves your noisy pixel data: the mean grows with the number of frames while the standard deviation grows with the square root of the number of frames. The stacking of hundreds of frames makes details visible which were hidden by noise in the single frames.
Postprocessing: Here you correct colors/contrast and apply filter.

All these steps should be done with floating point arithmetic! There is a lot of good astro software available for doing this. My preferred free software for deep-sky images is Siril.
The 2x binning of the RPi HQ camera is aware of the Bayer pattern. It only bins pixel of the same Bayer color. The resulting is still a raw Bayer color image.
I will send results of this issue discussion to the INDI lib forum to avoid leaving a bad mark on the indi_pylibcamera driver. I have the impression that they promote the indi_libcamera driver only. I am not up-to-date with this driver but for a long time it was very unstable and did not support raw Bayer images. The indi_pylibcamera driver runs in my setup (2 telescopes with 3 cameras: 2x RPi3 and one RPi0) since over a year without any issues. Despite of bad seeing conditions (very bad light pollution due to a near town) I am proud of the pictures I make:

(M27, stack of 68 mages each 20 seconds)

Ahhhh! Thank you so much!


Refactor

DO NOT MERGE, I can't get the functions to work properly, I tried ES6 ...args I've tried passing them as an array and have made far fetched other attempts. I will have to look into fixing this but, this is what the refactor will look like.

Why would you write ES6, anyway? Compatibility with older browsers is always nice to have.

@Zarel just to see if it’d work :P

This should be good to go, I just want to do more thorough testing

@erlandfauzan ?


Cannot build with "-debug"

I'm not sure if I should open this issue here or on the Odin repository, if it's the latter you can close this and I'll post it on there instead.
Building the server example from the readme with the -debug flag makes the compiler silently fail with a 127 error code.
> make
odin build src -out:bin/test.exe -collection:third_party=third_party -show-timings -o:none -debug
make: *** [makefile:21: build] Error 127

I tested all flag combinations, and -debug is the sole culprit.

Is this every single time you try it, and only with this project? This happens to me too but not on every single build, and I would also get some error message.
I also tried compiling the readme example a couple of times just now and it worked every time.
In any case this would be either an Odin issue or something with your environment because you either need to get an error message or the compilation should work.

I see, yeah it's every time, other projects compile just fine with the debug flag. I'll open an issue on the Odin repo, then.

Hey, I just double-checked on all my machines (windows 11, m1 mac, pop_os!) and the example compiles fine for me, with and without -debug

Just pulled the repository and was able to compile with debug. Just to check that I wasn't going mad I reverted to the old commit to try it and it failed.
test\third_party\odin-http> git checkout aacea28e5678a473f4836c4ff08288129f695afc
Note: switching to 'aacea28e5678a473f4836c4ff08288129f695afc'.

test\third_party\odin-http> cd ../..

test>make
odin build src -out:bin/test.exe -collection:third_party=third_party -show-timings -max-error-count:4 -o:none -debug
make: *** [makefile:21: build] Error 127

test>cd third_party/odin-http

test\third_party\odin-http> git checkout main
Previous HEAD position was aacea28 cont. #34 also remove assertion above the loop
Switched to branch 'main'
Your branch is up to date with 'origin/main'.

test\third_party\odin-http> cd ../..

test>make
odin build src -out:bin/test.exe -collection:third_party=third_party -show-timings -max-error-count:4 -o:none -debug
Total Time        -   811.183 ms - 100.00%
initialization    -     6.215 ms -   0.76%
parse files       -     9.633 ms -   1.18%
type check        -    40.425 ms -   4.98%
LLVM API Code Gen -   673.888 ms -  83.07%
msvc-link         -    81.018 ms -   9.98%
Build finished successfully.

LOL glad it works now!


List available languages

It should be possible to list available languages

Verified on 0.3.0, working as expected.

Verified on 0.3.0rc2 <IP_ADDRESS>. Works as expected.


[Bug report] The sidebar doesn't display if there are multiple locales

Description
If configure config.ts as the following locales,
the sidebar for /zh-CN/ works as expected and its sidebar can display.
But the sidebar for / doesn't work as expected and its sidebar doesn't display.

locales: {
    '/zh-CN/': {
        lastUpdatedText: '上次更新',
        sidebar: [
            {
                text: '介绍',
                link: '/zh-CN/README.md',
            },
            {
                text: '社区常见问题',
                link: '/zh-CN/community/README.md',
            },
            {
                text: '业务功能',
                collapsible: true,
                children: [
                    '/zh-CN/feature/README.md',
                    '/zh-CN/feature/simultaneous-login.md',
                    '/zh-CN/feature/user.md',
                    '/zh-CN/feature/group.md',
                    '/zh-CN/feature/message.md'
                ]
            },
            {
                text: '设计',
                children: [
                    '/zh-CN/design/architecture.md',
                    '/zh-CN/design/schema.md',
                    '/zh-CN/design/status-aware.md'
                ]
            },
            {
                text: '服务端指南',
                collapsible: true,
                children: [
                    {
                        text: '部署',
                        children: [
                            '/zh-CN/server/deployment/getting-started.md',
                            '/zh-CN/server/deployment/distribution.md',
                            '/zh-CN/server/deployment/config.md'
                        ]
                    },
                    {
                        text: '开发',
                        children: [
                            '/zh-CN/server/development/redevelopment.md',
                            '/zh-CN/server/development/rules.md',
                            '/zh-CN/server/development/plugin.md',
                            '/zh-CN/server/development/code.md',
                            '/zh-CN/server/development/testing.md'
                            // TODO: Config Development
                        ]
                    },
                    {
                        text: '主要模块',
                        children: [
                            // Though some topics can be independent,
                            // but we still put them under "module" because
                            // have enough content for an independent topic
                            '/zh-CN/server/module/identity-access-managemen
                            '/zh-CN/server/module/cluster.md',
                            '/zh-CN/server/module/system-resource-managemen
                            '/zh-CN/server/module/observability.md',
                            '/zh-CN/server/module/security.md',
                            '/zh-CN/server/module/storage.md',
                            '/zh-CN/server/module/chatbot.md',
                            '/zh-CN/server/module/anti-spam.md',
                            '/zh-CN/server/module/data-analytics.md'
                        ]
                    }
                ]
            },
            {
                text: '客户端指南',
                collapsible: true,
                children: [
                    '/zh-CN/client/quick-start.md',
                    '/zh-CN/client/requirements.md',
                    '/zh-CN/client/api.md',
                    '/zh-CN/client/session.md',
                    '/zh-CN/client/metrics.md',
                    '/zh-CN/client/communication-protocol.md',
                    '/zh-CN/client/turms-client-js.md'
                ]
            },
            '/zh-CN/turms-admin.md',
            {
                text: '手册',
                collapsible: true,
                children: [
                    '/zh-CN/reference/admin-api.md',
                    '/zh-CN/reference/status-code.md'
                ]
            }
        ],
    },
    '/': {
        sidebar: {
            '/README.md': [
                {
                    text: 'Intro',
                    link: 'README.md',
                },
            ],
            '/community/': [
                {
                    text: 'Community FAQ',
                    link: '/community/README.md',
                }
            ],
            '/feature/': [
                {
                    text: 'Business Features',
                    collapsible: true,
                    children: [
                        '/feature/README.md',
                        '/feature/simultaneous-login.md',
                        '/feature/user.md',
                        '/feature/group.md',
                        '/feature/message.md'
                    ]
                },
            ],
            '/design/': [
                {
                    text: 'Design',
                    children: [
                        '/design/architecture.md',
                        '/design/schema.md',
                        '/design/status-aware.md'
                    ]
                }
            ],
            '/server/': [
                {
                    text: 'Server Guide',
                    collapsible: true,
                    children: [
                        {
                            text: 'Deployment',
                            children: [
                                '/server/deployment/getting-started.md',
                                '/server/deployment/distribution.md',
                                '/server/deployment/config.md'
                            ]
                        },
                        {
                            text: 'Development',
                            children: [
                                '/server/development/redevelopment.md',
                                '/server/development/rules.md',
                                '/server/development/plugin.md',
                                '/server/development/code.md',
                                '/server/development/testing.md'
                                // TODO: Config Development
                            ]
                        },
                        {
                            text: 'Main Modules',
                            children: [
                                // Though some topics can be independent,
                                // but we still put them under "module" bec
                                // have enough content for an independent t
                                '/server/module/identity-access-management.
                                '/server/module/cluster.md',
                                '/server/module/system-resource-management.
                                '/server/module/observability.md',
                                '/server/module/security.md',
                                '/server/module/storage.md',
                                '/server/module/chatbot.md',
                                '/server/module/anti-spam.md',
                                '/server/module/data-analytics.md'
                            ]
                        }
                    ]
                }
            ],
            '/client/': [
                {
                    text: 'Client Guide',
                    collapsible: true,
                    children: [
                        '/client/quick-start.md',
                        '/client/requirements.md',
                        '/client/api.md',
                        '/client/session.md',
                        '/client/metrics.md',
                        '/client/communication-protocol.md',
                        '/client/turms-client-js.md'
                    ]
                }
            ],
            '/turms-admin': [
                {
                    text: 'turms-admin',
                    link: '/turms-admin.md',
                },
            ],
            '/reference/': [
                {
                    text: 'Reference',
                    collapsible: true,
                    children: [
                        '/reference/admin-api.md',
                        '/reference/status-code.md'
                    ]
                }
            ]
        }
    },
},

Reproduction
https://github.com/JamesChenX/turms-1/commits/english
Used Package Manager
npm
System Info
{
  "name": "turms-docs",
  "version": "0.9.0",
  "description": "documentation for turms",
  "main": "index.js",
  "scripts": {
    "dev": "vuepress dev src",
    "build": "vuepress build src"
  },
  "devDependencies": {
    "@vuepress/client": "2.0.0-beta.61",
    "@vuepress/plugin-docsearch": "2.0.0-beta.61",
    "@vuepress/utils": "2.0.0-beta.61",
    "mermaid": "^10.0.2",
    "vuepress": "2.0.0-beta.61",
    "vuepress-plugin-md-enhance": "^2.0.0-beta.186"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/turms-im/turms.git"
  },
  "author": "James Chen",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/turms-im/turms/issues"
  },
  "homepage": "https://github.com/turms-im/turms#readme"
}

    '/': {
        sidebar: {
-            '/README.md': [
+            '/': [
                {
                    text: 'Intro',
                    link: 'README.md',
                },


Add scaffolding code

add the provider {} and backend {} code blocks
update Open ID Connect with this repository

add build badges
update gitignore with terraform ignore files


Live: export of a scenario gives incomplete LES

When exporting a scenario not all technologies are included in the LES.
Example
Empty dataset Antwerp scaled to 2642 households (359617)
Exported to a topology with one endpoint.
The LES includes:

Household
Buildings

The LES does not include:

Heating technologies
PV

Screenshot of technologies:

notifying @ChaelKruip

Was already fixed on beta; I've cherry-picked the commit to production.

thanks!


Offline experiments option

Hi guys,
I came across a use-case that is not supported but can be very useful for me, running offline experiments, and later reading the experiment info on a server.
I'll be happy if you support it.

Hi @Alexfinkelshtein , thank you for the feature request, it sounds great.
I think that a global setting makes sense here, what do you think?
Just throwing an idea here, maybe something like:
Task.set_offline_mode(local_log_file='~/my_log_file.json')
task = Task.init('examples', 'an offline example')

Then sometime later when we have internet connection:
$ trains sync --log=~/my_log_file.json

@bmartinn Agree

maybe would be better a dir instead of .json file. Because you also need to save artifacts and plots

Good news guys, offline mode is now available 🎊
With the new release of trains 0.16 you can set Task.set_offline to True.
Later you can import your session (either the zip file or folder) with Task.import_offline_session.
The offline session includes all console output, metric logs & artifacts.
(It does not include stored models, let us know if you would like to see that included as well :)

@bmartinn great news!! I am looking forward to update my projects to use it!!
Thank you so much!! :smiley:


How to solve MEAN stack User is not logged in error?

I have installed MEAN.JS and i am using only server side code .i am not using front end angular code .
I am using different servers. for frontend(client side) i am maintaining one serve, for backend(server side) i am using MEAN.JS .
Signup and Signin is working fine but when i create article i am getting error
"User is not logged in" how can i solve this .please some one help me out.
Routes:
Below My MEAN.JS routes for Article
app.route('/articles')
.get(users.requiresLogin,articles.list)
.post(users.requiresLogin,articles.create);
controller:
exports.create = function(req, res) {
var article = new Article(req.body);
article.user = req.body._id;
article.save(function(err) {
    if (err) {
        return res.status(400).send({
            message: errorHandler.getErrorMessage(err)
        });
    } else {
        res.json(article);
    }
});

};
Middleware Code :
/**

Require login routing middleware
*/
exports.requiresLogin = function(req, res, next) {
//console.log(req.body.id);
if (!req.isAuthenticated()) {
return res.status(401).send({
message: 'User is not logged in'
});
}
next();

};
My Front end Code

i think middleware problem how can i solve this pls help me out i am new to this fullstack

Can u please post the code in layout.server.html the user binding part?

signuphtml

myApp.controller('ArticleCtrl', function ($scope,$http) {
$scope.create = function()
{
var credentials = {};
credentials = {
"title": $scope.title,
"content": $scope.content,
}
console.log(credentials);
$http.post('http://<IP_ADDRESS>:3000/articles', credentials).success(function(data, status, headers, config, response) {
console.log(data);
});
console.log(credentials);
}
});

@useralive003 StackOverflow is probably a better place for these questions so I'm closing this issue, but anyone who may have the answer is welcome to reply back on this thread regardless.


cleanup

dont merge this yet,
just documenting my changes.

the sentry logging seems a bit excessive and privacy invading.
adding log traces to see what else is going on.

📚 Documentation preview 📚: https://swarms--482.org.readthedocs.build/en/482/

@jmikedupont2 is this ready for merging?

No not yet

@jmikedupont2 let me know I want to accept ASAP

i am busy with other things right now, you will have to wait pls

Hi Mike, have you had a chance to work on this?
Thanks, Evelyn

This branch could use some attention @patrickbdevaney

This branch could use some attention @patrickbdevaney

No problem. How would you like me to work on it? Add me as a contributor to the fork, or for me to make a fork of the forked repo and PR?

we would like to get the docker build going, so publishing docker images
and testing swarms in docker in github actions and then we can use it in
github workspaces or hugging face spaces easily. i think i did work on
getting that going back then.
On Sun, Dec 22, 2024, 14:17 Patrick Devaney @.***>
wrote:

This branch could use some attention @patrickbdevaney
https://github.com/patrickbdevaney
No problem. How would you like me to work on it? Add me as a contributor
to the fork, or for me to make a fork of the forked repo and PR?
—
Reply to this email directly, view it on GitHub
https://github.com/kyegomez/swarms/pull/482#issuecomment-2558564938, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5KQ2LXOJHCJNON52AQJ4L2G4F6FAVCNFSM6AAAAABUBVAG6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGU3DIOJTHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I am going to rebase this on my other branch and get the docker containers working

I am reworking this into a new pr


Nested Actions can provide an ID to scope to event

When nesting multiple Actions, we need to be able to access any event.data up the chain. To do this, Action can optionally takes in an ID, and can be reference by .event.*
View:
  styles:
    useSafeArea: true
  onLoad:
    callExternalMethod:
      id: getName
      name: testSync
      payload:
        name: Peter Parker
      # onComplete: |-
      #   myText.text = event.data;
      onComplete:
        executeCode:
          body: |-
          onComplete: |-
            myText.text = getName.event.data;
            ```

In progress work. Use nested_actions branch. Need to refactor scopeManager while executing Action (it reference the parent Action can doesn't propagate the data to its children)


"Could not render _t, see the console."

I've never been able to get the API client webpage/docs at https://ethereum.github.io/beacon-APIs/ to work.
Steps to repro:

Go to https://ethereum.github.io/beacon-APIs/
Optionally, change the server_url to a known good server
Go to any endpoint/method and click 'Try it out'
Enter params and click 'Execute'

Result:
UI says: Could not render _t, see the console.

I downloaded locally and ran in case it was something that would work locally but not hosted, and it does appear broken, but I'm not going to get a chance to look at this further now.
If anyone would like to investigate, any time you press execute whether you change the server_url or not, this problem occurs, and it doesn't appear to make a http request, so it's likely a javascript error before the request is even made.
As a work around, i believe most beacon-node implementations do offer a swagger-ui of some type, you could attempt to use the one built into the beacon-api you're using.

This issue seems resolved, I am able to query endpoints via the explorer hosted on https://ethereum.github.io/beacon-APIs.
Depending on the configuration of the server that gets queried the request might fail due to CORS. In this case, the server needs to explicitly whitelist the domain hosting the explorer or allow request from all domains by setting *.
e.g. Access-Control-Allow-Origin: *


⚠ ClamAV has degraded performance

In 408d25e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 82 ms

Resolved: ClamAV performance has improved in c0c1f94 after 13 minutes.