Running on my server

Hi
I try install it on Heroku but it not woking, because I use free Heroku, then I try running on my server but not woking
Here error:
Wed Apr 01 2015 14:04:12 GMT+0700 (ICT) – retrying
Wed Apr 01 2015 14:04:14 GMT+0700 (ICT) – fetching
Wed Apr 01 2015 14:04:15 GMT+0700 (ICT) – Error: Hostname/IP doesn't match certificate's altnames
    at SecurePair.<anonymous> (tls.js:1390:23)
    at SecurePair.emit (events.js:92:17)
    at SecurePair.maybeInitFinished (tls.js:980:10)
    at CleartextStream.read [as _read] (tls.js:472:13)
    at CleartextStream.Readable.read (_stream_readable.js:341:10)
    at EncryptedStream.write [as _write] (tls.js:369:25)
    at doWrite (_stream_writable.js:226:10)
    at writeOrBuffer (_stream_writable.js:216:5)
    at EncryptedStream.Writable.write (_stream_writable.js:183:11)
    at write (_stream_readable.js:602:24)
    at flow (_stream_readable.js:611:7)
    at Socket.pipeOnReadable (_stream_readable.js:643:5)
Wed Apr 01 2015 14:04:15 GMT+0700 (ICT) – retrying
Wed Apr 01 2015 14:04:17 GMT+0700 (ICT) – fetching
Wed Apr 01 2015 14:04:18 GMT+0700 (ICT) – Error: Hostname/IP doesn't match certificate's altnames

Anyone help  me suggestion a  solutions?

Hey,
I have the same issue but do not know yet what's going on there...
Some pointer would be awesome :dancer:
Greets, Sebastian

Also getting this.

Set the env var NODE_TLS_REJECT_UNAUTHORIZED to 0

Hi
I have been running again via command
 slackin --port 8080 --interval 60000 "phalconchats"  "tokenslack"

And working

@maccman Where is that set in slackin?

I was getting this same error and I fixed it by setting the "your-slack-subdomain". In our case, this was the first portion of grommet.slack.com (grommet).

Thank you, @maccman
Your suggestion to

Set the env var NODE_TLS_REJECT_UNAUTHORIZED to 0

worked for me!

Thanks @maccman , I fixed this on Heroku by doing
heroku config:set NODE_TLS_REJECT_UNAUTHORIZED=0 --app APP_NAME

@jontsai why do we need this TLS warn in the first place? I wasn't getting this error myself.

@sigwo setting env variables is looking like this.
NODE_TLS_REJECT_UNAUTHORIZED=0 slackin "yourdomain" "yourtoken"


Style the error messages on the "confirm your email" screen

When a new user registers with a social account, we collect their email address. If they use an email address that already exists, they get an error. The errors aren't styled yet.

The error now look like this


Automatic teardown of mirage server

The changelog mentioned this is done in destroyApp test helper. However, I don't see the ember-cli-mirage/tests/helpers/destroy-app.js is getting concatenated into test-support.js
Is this expected?

I followed the instruction in changelog to use ember g ember-cli-mirage. Doesn't seem to do much. I did some investigation and found this.insertIntoFile did get called, but it did not actually made any changes.

See #984

Ah, interesting, #984 is not released yet correct?

I believe not. 0.3.0 still in beta

On Jan 24, 2017, at 8:53 PM, Ming Liu<EMAIL_ADDRESS>wrote:
Ah, interesting, #984 https://github.com/samselikoff/ember-cli-mirage/pull/984 is not released yet correct?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/samselikoff/ember-cli-mirage/issues/1000#issuecomment-274997152, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCWvfwjGhn4-N1H1qMrzyeqzETvxoWEks5rVqr_gaJpZM4Ls-JD.

--
Dustin Farris

This is in the new 0.2.5 release


Send draft update page_questions outside service data

Adds additional argument to draft update method to pass
page_questions.
This way, page_questions is more explicit as a meta field and is
not mixed with the service data.

:+1:


Remove Sticker

Hi can you pls help me to remove the added textsticker,
entities.remove((TextEntity)entity); will remove textsticker but text is partially deleting(looks like disabled button)

you can delete by calling "motionView.deletedSelectedEntity()" method.

Thanks its working..


need to set default pageSize of PrismaTable

https://github.com/paljs/prisma-tools/blob/master/packages/admin/src/PrismaTable/Table/index.tsx#L66
The setting to put pageSize in this part should be out. Can you add it to the props of PrismaTable? @AhmedElywa

you mean the options

Yes, the default setting is 10, but I wish there was an option to change this.


Feature request - support for srcset in Image class

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request

Current behavior
The configuration allows only one image url
Expected behavior
Set an url array for using different sizes
What is the motivation / use case for changing the behavior?
Using different sizes for images improves browser loading time on mobile devices
Environment (the most important section to fill very carefully)

- @ks89/angular-modal-gallery version: 9.1.0
- Node version: 16.13.2
- npm version: 8.1.2
- Operating System and version:   Mac
- Angular version:  13
- angular-cli version (or SystemJS/Webpack): 13.2.4
- I'm using Server Side Rendering with angular-universal: YES
- I'm compiling with mode: PROD

Browser:
- [x] Chrome (desktop)
- [x] Chrome (Android)
- [x] Chrome (iOS)
- [x] Firefox
- [x] Safari (desktop)
- [x] Safari (iOS)
- [x] IE
- [x] Edge

Others:
-

added with: #260

merged and released as 11.1.0


KMS ID or KMS ARN

Hi!
I'm having a hard time getting this tool to work as it keeps giving errors about kms keys not being found, but I am not completely sure how to debug such errors.
What values are required for setting up the KMS key configuration?  Should I use the KMS Key ID or the KMS Key ARN?

TLDR;

Don't use the default 'aws/rds' key on cluster. Customer Managed Key (CMK) is appropriate.
Setup share of CMK if across account is needed.
Use full ARN in KmsKeySource if across account is needed.

I hit a similar issue with the "KMSKeyNotAccessibleFault" error in the lambda logs. After updating the Aurora cluster with a CMK instead of the default aws/rds key I was able to share the CMK with since I had to share across account.
This guide is shows how to share.
https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-modifying-external-accounts.html
After doing these steps the error persisted and I discovered that the "KmsKeySource" I had entered was simply the Key ID and since I was sharing across accounts I needed to specify the ARN since it contains the local (origin) account ID.
Hope this helps.

TLDR;

Don't use the default 'aws/rds' key on cluster. Customer Managed Key (CMK) is appropriate.
Setup share of CMK if across account is needed.
Use full ARN in KmsKeySource if across account is needed.

I hit a similar issue with the "KMSKeyNotAccessibleFault" error in the lambda logs. After updating the Aurora cluster with a CMK instead of the default aws/rds key I was able to share the CMK with since I had to share across account.
This guide is shows how to share.
https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-modifying-external-accounts.html
After doing these steps the error persisted and I discovered that the "KmsKeySource" I had entered was simply the Key ID and since I was sharing across accounts I needed to specify the ARN since it contains the local (origin) account ID.
Hope this helps.


Added cp command manual

What type of PR is this? (check all applicable)

[ ] ♻ Refactor
[ ] ✨ New Chapter
[ ] 🐛 Bug Fix/Typo
[ ] 👷 Optimization
[x] 📝 Documentation Update
[ ] 🚩 Other

Description
Updated cp linux command manual

I have made some modifications. Please have a look @bobbyiliev


nsenter: noop reference to C constructor

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65134
Workaround suggested by iant
Reported here https://github.com/docker/docker/issues/9207#issuecomment-75354189
Signed-off-by: Vincent Batts<EMAIL_ADDRESS>

LGTM, although the built appears to be failing.

Interesting. Off hand it doesn't seem related.
On Feb 21, 2015 12:42 PM, "Victor Marmol"<EMAIL_ADDRESS>wrote:

LGTM, although the built appears to be failing.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/libcontainer/pull/390#issuecomment-75382764.

LGTM.
I think the test fails, because we use Cmd.Start(), but don't used Cmd.Wait(), so we don't wait until all cmd.goroutine are completed.
Cc: @crosbymichael

@avagin Hmm, yeah, will have to call cmd.Wait instead of process.Wait. This will mean modifying the API to be able to call Wait on the cmd.

Another option might be to use os.StartProcess.

I testing locally and it looks like that test races for some of the reasons above.  We can merge this one and look into the wait issues.

LGTM


Format code unconditionally included in builds

When we don't set manage_closure_dependencies true, the compiler cannot determine that some of the format code is not used.
For example, the GPX format calls ol.xml.makeChildAppender(ol.format.XSD.writeDateTimeTextNode).  The ol.format.XSD.writeDateTimeTextNode function calls goog.string.padNumber.  When I build a profile of the library that doesn't export anything that depends on ol.format.GPX, the build includes the goog.string.padNumber function even though none of the exported code calls it.  I assume this is because the compiler can not reliably trace code paths into objects like the ol.format.GPX.RTE_PARSERS_.  I'm guessing that if these parsers were prototype properties instead of functions assigned at run time, the compiler would have an easier time knowing that the exported code does not make them accessible.
In my case, setting manage_closure_dependencies true removes 30 KB from the build.  Unfortunately, this option cannot always be used because the olx.js externs reference types that are not always defined when only a limited set of the library is compiled.

For anybody interested in digging into this, here are two build configs that demonstrate a significant build size difference with manage_closure_dependencies: https://gist.github.com/tschaub/5e26e51ece8bc13167b5
(The difference in the above builds may not strictly be due to the way our formats are authored, but I wanted to provide an example config to start with.)


feat: use mysql client

Replaces MariaDB client with community version of the MySQL client

/kind feature
/priority important-soon

/approve


chore: Add more makefile tools

Add more makefile tools:

format            Fix code format issues (print and fix)
deadcode       Run deadcode tool for find unreachable functions (more info)
audit              Quality checks

Add missed test element in to README.md

Welcome! Thank you for your pull request!


Parsing IBM WebSeal 6.1.1 logs (Tivoli Access Manager)

Hi.
I'm trying to parse IBM WebSeal logs without success,
The log record is in this format:
ip_address_client - username dd/mm/yyyy:hh:mm:ss +0200 "url request" status_code bytes
Notice that the "-" and "+200" characters in second and fifth position are fixed
I've personalized the log-format parameter in this way:
%h - %e %d:%t %^ "%r" %s %b
and --date-format=%d%b%Y

but I get the message:
Parsed 10 lines producing the following errors:
Token 'all my original log record' doesn't match specifier '%h'
.................
.................
It would seem that all the entire log record is parsed with %h specifier, without consider every single word.
Where I am wrong?
Thank you.

Can you please post a few lines from your access log so I can take a look? Thanks.

Sure.
Here are some lines:
<IP_ADDRESS> - C012065 25/Oct/2017:14:11:04 +0200 "POST /bpm/notification/cometd/connect HTTP/1.1" 200 58 -
<IP_ADDRESS> - C077062 25/Oct/2017:14:11:35 +0200 "GET /was85/autenticazione/login.jsp HTTP/1.1" 200 8227 -
<IP_ADDRESS> - e677350e 25/Oct/2017:14:11:33 +0200 "POST /wass/LAMPO/lampo?discaricoConfirm HTTP/1.1" 200 10013 -
Thanks.

This should do it:
goaccess access.log --log-format='%h %^ %v %d:%t %^ "%r" %s %b %^' --date-format=%d/%b/%Y --time-format=%T

Yes, this works fine!
Thank you for your support.
Best regards.


Task: 9.18 Write Client for BFF towards Resource Registry

Need to parse the ServiceResource Identifiers for the Default Rights in the System Register; to show details in the Frontend.
### Tasks
- [ ] Minimal implemenation, just the ServiceOwner and ResourceName
- [ ] https://github.com/Altinn/altinn-authentication-frontend/issues/194

Completed in https://github.com/Altinn/altinn-authentication/issues/665


CSS

CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

Information added to the CSS project and merged into the main branch


spit out error info to the console

for example when  an oracle call and fails, in the info bar shows:
GTools: oracle call failed (exit code)
then briefly disapears, leaving the user with no clue of what went wrong.
https://github.com/liuhewei/gotools-sublime/pull/4
https://github.com/liuhewei/gotools-sublime/pull/5

Right, we can do this for showing errors even if "debug_enable" is set "false". BTW, thanks for your PR :)


US898092: Create new lightweight image without plugins

https://internal.almoctane.com/ui/entity-navigation?p=131002/6001&entityType=work_item&id=898092

A developer build has not yet been created for this branch. Click here to go ahead and create the build...

CI Build Link:
http://sou-jenkins2.swinfra.net:8080/job/CAFapi/job/CAFapi~opensuse-opensearch1-image~US898092~CI

@raghavendran-gopalakrishnan In the build log I see:
2024-03-21T09:50:41.050497441Z [WARNING] Unknown file extension: /wd/src/main/docker/Dockerfile.noPlugins
2024-03-21T09:50:41.056797942Z [WARNING] Unable to find a comment style definition for some files. You may want to add a custom mapping for the relevant file extensions.

This means the new Dockerfile.noPlugins will not be automatically managed by the license plugin. Therefore you should add a custom mapping to the pom similar to how the java images are done, see: https://github.com/CAFapi/opensuse-java17-images/blob/main/pom.xml#L127

@raghavendran-gopalakrishnan In the build log I see:
2024-03-21T09:50:41.050497441Z [WARNING] Unknown file extension: /wd/src/main/docker/Dockerfile.noPlugins
2024-03-21T09:50:41.056797942Z [WARNING] Unable to find a comment style definition for some files. You may want to add a custom mapping for the relevant file extensions.

This means the new Dockerfile.noPlugins will not be automatically managed by the license plugin.

Build took 1 hour 40 minutes. Should we do something about it ?

Build took 1 hour 40 minutes (just the Upload phase took almost an hour). Should we do something about it ?

Its the upload step, I have noticed the trivvy scans taking a lot longer recently @dermot-hardy do you know whats going on there?

Can you reduce the duplication between this new image and the existing one?

@raghavendran-gopalakrishnan Look at the tomcat images for an example, the opensuse-tomcat-jre17-image builds on top of the juli image: https://github.com/CAFapi/opensuse-tomcat-jre17-image/blob/main/opensuse-tomcat-jre17-image/src/main/docker/Dockerfile
You should be able to do something similar and remove the plugins from the already built image.

Can you reduce the duplication between this new image and the existing one?

@raghavendran-gopalakrishnan Look at the tomcat images for an example, the opensuse-tomcat-jre17-image builds on top of the juli image: https://github.com/CAFapi/opensuse-tomcat-jre17-image/blob/main/opensuse-tomcat-jre17-image/src/main/docker/Dockerfile
You should be able to do something similar and remove the plugins from the already built image.

Unfortunately we can't do it that way because of what Dermot discovered with the CVE scanner (It checks all layers)

@andyreidz so what do you propose instead ?

Unfortunately we can't do it that way because of what Dermot discovered with the CVE scanner (It checks all layers)

If you do the removal in a builder image and then only copy the stuff across to an actual image will that not work? We would have to do that anyway as even with the current approach here the layers will show the CVEs.

This looks good to me now, before you merge can you use this in a classification worker build to make sure there are no issues.

Yes I will do that, thanks Michael.

Tested this dev build with classification worker, works well.


EasyDeL

i use every method in the doc and use sft and finetune for llama2 . all can not run and no one respond . do not use EasyDeL and do not use jax if you want train llm model in gpu .

sorry for being away for a time ill close this issue and we can continue here


Logomenu isn't compatible with F38

Works great in F39, I get this error in F38, the extension is marked as incompatible:
SyntaxError: import declarations may only appear at top level of a module

Stack trace:
  _init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:23:33
  ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
  OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
  async*LaunchExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:110:14
  _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  start@resource:///org/gnome/gjs/modules/script/package.js:190:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Should be fixed, wrong commit was tagged as gnome-44


Base initial MFG tool infra structure

Address the following

[x]  new test folder  oem_mfg_tool
[x] resource variable to hold only MFG specific
[x] init resource file for pre-requisites if any

NA


Certificate renewal logic fails because of the default behavior of Azure Key Vault

What happened?
So, we have a certificate that is stored in the Azure Key Vault. For the certificate we have the following part of CertificateArgs
                    LifetimeActions = new[]
                    {
                        new CertificateCertificatePolicyLifetimeActionArgs
                        {
                            Action = new CertificateCertificatePolicyLifetimeActionActionArgs
                            {
                                ActionType = "AutoRenew",
                            },
                            Trigger = new CertificateCertificatePolicyLifetimeActionTriggerArgs
                            {
                                DaysBeforeExpiry = 10
                            },
                        },
                    }

Now is the time to triger that renewal logic. When we run Pulumi we see the following error
keyvault.BaseClient#ImportCertificate: Failure responding to request: StatusCode=409 -- Original Error: autorest/azure: Service returned an error. Status=409 Code="Conflict" Message="Certificate certmanager-***6110abac26 is currently in a deleted but recoverable state, and its name cannot be reused; in this state, the certificate can only be recovered or purged." InnerError={"code":"ObjectIsDeletedButRecoverable"}
Note: the name of the certificate was edited to hide sensitive data behind ***
The reason for the problem is clear, but doesn't it mean that the Certificate Lifetime Policy doesn't work at all when it collaborates with the Azure Key Vault?
Example
Everything is described in section "what happened"
Output of pulumi about
CLI
Version      3.79.0
Go Version   go1.21.0
Go Compiler  gc
Plugins
NAME          VERSION
azure         5.16.0
azure-native  1.71.0
azuread       5.28.0
azuredevops   2.5.0
dotnet        unknown
kubernetes    3.21.0
random        4.8.2
tls           4.6.0
Host
OS       Microsoft Windows 10 Pro
Version  10.0.19045 Build 19045
Arch     x86_64
This project is written in dotnet: executable='C:\Program Files\dotnet\dotnet.exe' version='6.0.123'
Backend
Name           pulumi.com

No dependencies found
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@paf-dev Could you please share the entire definition of the resource? (with sensitive info redacted) Thank you!

When we run Pulumi we see the following error

What are you changing in your program at this point?

Hello @mikhailshilkov

What are you changing in your program at this point?

We added the piece of code that I mentioned in the first message. The part with LifetimeActions . So now, when we run our pipeline, the logic tries to replace the certificate with a new one. But it fails because of the error I mentioned above.
I'm not sure if I understand what the definition of the resource means. Is it the properties of the resource that I can see on the pulumi portal in Resources section? Or is it something different?


C++ Builds

Any plans to support C++ builds on windows?

Nothing in my plans (no need for it), but this plugin is open to contributions for that to work.
Note that I wouldn't be surprised if there was very little stuff to do for that to happen, this plugin is mostly a sln/*proj parser/wrapper, it doesn't know much about the languages themselves.
Did you give it a try?

That makes sense... Let me give it a try. Thank you so much for getting back to me.
Sure, I would love to contribute if I make any changes to make it work.

This plugin worked for our C++ Visual Studio Project. It built the entire solution. Now, I am in the process of setting up a continuous build system using this plugin. I will report back any updates.
Thank you so much for sharing this plugin.

Good news, thanks for sharing!


After Globally replace Not all words are  changing

@avisingh-git @akansharawat27
I changed कंपनी into संगठन

but in the same document कंपनी word is not replaced.

Resolved the issue by deleting .EditedFile.txt file every time when a tab is closed. Please refer to commit number 6116fb683ca8869162572f7dbf04244614aedff5 and ff4be1938edc16291d9d0f6d148f74d1ca66221a.


[NEW-FEATURE] String interpolation for messaging

closes #187

https://github.com/ix-ax/axsharp/issues/187#issuecomment-1602065054


Drill 4484: NPE when querying  empty directory

this PR also includes the fix for DRILL-4376. I will rebase once that fix has been merged into master

LGTM.  +1


config: disable dynamic config by default

What problem does this PR solve?
Disable dynamic config by default.
What is changed and how it works?
This PR disables dynamic config by default
Release note
Disable dynamic configuration change by default
Check List
Tests

Unit test

Code changes

Has configuration change

/run-all-tests

/run-all-tests

/run-all-tests

Need to be merged in this week.
PTAL @overvenus @nolouch

/run-all-tests


updated METS package publishing + tests

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (5a9e4d0) 96.46% compared to head (47ed19f) 96.47%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #484   +/-   ##
=======================================
  Coverage   96.46%   96.47%
=======================================
  Files         113      113
  Lines        5976     5987   +11
=======================================
+ Hits         5765     5776   +11
  Misses        211      211

Impacted Files
Coverage Δ

ted_sws/core/model/manifestation.py
100.00% <100.00%> (ø)

...ed_sws/notice_packager/services/notice_packager.py
100.00% <100.00%> (ø)

...notice_publisher/adapters/sftp_notice_publisher.py
100.00% <100.00%> (ø)

..._sws/notice_publisher/services/notice_publisher.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Transfer KCSP status from Praqma to Eficode

Member gave approval
Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~5 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Build failed because of:
Eficode (KCSP)  has a crunchbase crunchbase.com/organization/eficode which does not start with 'https://www.crunchbase.com/organization'

Deploy preview for landscape failed.
Built with commit e34b3c3886a7427e912b4b8ad58788a8388294ef
https://app.netlify.com/sites/landscape/deploys/5e6beb341b96b5000a36a6f2

LGTM


what other module provides these features

What other powershell module provides these features if this one is to be deprecated soon?
[Enter feedback here]

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

ID: 4cb129d2-9594-bf0c-5946-982f0ed0d888
Version Independent ID: 6522b038-6853-3552-55c8-f174cf56573d
Content: Enable per-user Multi-Factor Authentication - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-mfa-userstates.md
Service: active-directory
Sub-service: authentication
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@SquirrelAssassin
Are you referring to the MSOnlineV1 PowerShell module? If so, it's encouraged to use the newer Azure Active Directory V2 PowerShell module instead of this module. For more information about the V2 module please see Azure Active Directory V2 PowerShell.

Ok how can I get any of the MFA values?   Strongauthenticationmethod or strongauthenticationdetails?
Regards,
Bill
Typed on a phone with tiny keys and big thumbs, please pardon the typos.

From: James Tran - MSFT<EMAIL_ADDRESS>Sent: Wednesday, July 29, 2020 4:08:42 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: SquirrelAssassin<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] what other module provides these features (#59956)
@SquirrelAssassinhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSquirrelAssassin&data=02|01||5052bc300a1d40767ca308d8340392f9|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637316537231739357&sdata=SneTC%2BvhQWJO15UvCuL11wZDW25IeSnVfTjFL%2FWhTNo%3D&reserved=0
Are you referring to the MSOnlineV1 PowerShell module? If so, it's encouraged to use the newer Azure Active Directory V2 PowerShell module instead of this module. For more information about the V2 module please see Azure Active Directory V2 PowerShellhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fazuread%2Fv2%2Fazureactivedirectory&data=02|01||5052bc300a1d40767ca308d8340392f9|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637316537231759350&sdata=o4If8z3qd7J8vYa7HlM9kBFCodgckwG9%2F9CMxVfneHc%3D&reserved=0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F59956%23issuecomment-665928885&data=02|01||5052bc300a1d40767ca308d8340392f9|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637316537231759350&sdata=fsoZYbxwmf9dcNKiTDuxaJ%2BXM476OI8KnZmKw%2FzTYtU%3D&reserved=0, or unsubscribehttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAC665GJT2CVUUFTG2LXGMXLR6CFVVANCNFSM4PL5SLJQ&data=02|01||5052bc300a1d40767ca308d8340392f9|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637316537231769344&sdata=7Al2dImYjN4FQ%2BqFJXbXj34V%2FAn7JlZP55be7QkX87I%3D&reserved=0.

There's a known lack of parity in command features between PowerShell v1 and PowerShell v2, specifically for things like StrongAuthenticationUserDetails. The Microsoft Graph REST API (beta) for authentication methods is the current engineering focus to provide modern interaction and is where data will be able to be queried.

Not acceptable.  If you want to deprecate a powershell module you darn well better have a new powershell path.  While I know how to do it, you can’t expect everyone to know apis.  And the fact that I have to make a spn for graph access and still use a user account is one of the most annoying and convoluted scenarios I have ever scene for any api.  Get it together Microsoft and stop soloing you’re teams!!!!!
Regards,
Bill
Typed on a phone with tiny keys and big thumbs, please pardon the typos.

From: Iain Foulds<EMAIL_ADDRESS>Sent: Wednesday, July 29, 2020 4:44:09 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: SquirrelAssassin<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] what other module provides these features (#59956)
There's a known lack of parity in command features between PowerShell v1 and PowerShell v2, specifically for things like StrongAuthenticationUserDetails. The Microsoft Graph REST API (beta) for authentication methodshttps://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fgraph%2Fapi%2Fresources%2Fauthenticationmethods-overview%3Fview%3Dgraph-rest-beta&data=02|01||0890eab0cbc840afc35a08d834088717|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637316558507526240&sdata=PbNr1TtYLU1OzKqt9T8r2Halen92Nbsui0T5iF8lebw%3D&reserved=0 is the current engineering focus to provide modern interaction and is where data will be able to be queried.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F59956%23issuecomment-665945093&data=02|01||0890eab0cbc840afc35a08d834088717|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637316558507526240&sdata=vxYvTzzC7HaUS%2BJWfPw4wjCRchlTXY0OPKnFF8GAzjc%3D&reserved=0, or unsubscribehttps://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAC665GMFASUALKPV7OB5RNLR6CJ2TANCNFSM4PL5SLJQ&data=02|01||0890eab0cbc840afc35a08d834088717|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637316558507536235&sdata=HQg5JK%2BBPUZ13wXlQqvTSUPXq%2FDxpHs%2B4zS3nnRPPWk%3D&reserved=0.

I understand your frustration. This feedback has been relayed multiple times. Like I said, the engineering team know there's a lack of parity, and they're focusing on the Microsoft Graph API moving forward. Unfortunately the docs reflect the product truth. As the product story changes and improves, we'll make doc updates accordingly.
For now, #please-close


bug(mat-progress-bar): Indeterminate progress bar not moving when using custom theme with CSS variables

Description
When a custom theme is used and initialized with CSS variables, the indeterminate progress bar doesn't seem to move. I am guessing the cause lies in track color and indicator color being the same:

@crisbeto I see that you've been working on the theme file where the indicator and track colors are defined, would you have any advice on this?
Reproduction
StackBlitz link: https://stackblitz.com/~/github.com/sebastianhaberey/progress-bar-bug
Steps to reproduce:

Create Angular Material workspace
Define custom theme using CSS variables
Add mat-progress-bar component (indeterminate)

Expected Behavior
Progress bar is moving
Actual Behavior
Progress bar does not move
Environment

Angular CLI: 17.0.7
Node: 20.10.0
Package Manager: npm 10.2.3
OS: darwin arm64

I'm guessing the issue comes from this line: https://github.com/angular/components/blob/main/src/material/core/tokens/m2/mdc/_linear-progress.scss#L34. Since the value is a variable, we can't change its opacity anymore. I'm closing the issue since this setup isn't something we support. You can work around it by adding this to your styles:
.mdc-linear-progress__buffer-bar {
  opacity: 0.75;
}


Macdeploy delete

I have compiled a working App without this obsolete folder.  Request it be deleted if possible.

Thank you for your help everyone.


Main type generates incorrect xml: tag

Description
The xml tag for the top type is generated incorrectly, which makes i impossible to unmarshall in to the top structure.
Steps to reproduce the issue:

Start with the svg xsd definition and generate a struct for it
Try to unmarshal an svg string in to an instance

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="500pt" height="300pt" viewBox="0 0 500 300" version="1.1">
    <defs>
        <clipPath id="clip1">
            <path d="M 51 203 L 135 203 L<PHONE_NUMBER>44 L 51 269.839844 Z M 51 203 "/>
        </clipPath>
        <clipPath id="clip2">
            <path d="M 167 190 L 251 190 L<PHONE_NUMBER>44 L<PHONE_NUMBER>44 Z M 167 190 "/>
        </clipPath>
        <clipPath id="clip3">
            <path d="M 282 177 L 366 177 L<PHONE_NUMBER>44 L<PHONE_NUMBER>44 Z M 282 177 "/>
        </clipPath>
        <clipPath id="clip4">
            <path d="M 397 32 L 481 32 L<PHONE_NUMBER>44 L<PHONE_NUMBER>44 Z M 397 32 "/>
        </clipPath>
    </defs>
    <g id="surface1521">
...

You will receive an error: expected element type <svgType> but have <svg>

Describe the results you received:
Unable to parse an svg XML file because the generated tag for xml appends Type to the XML tag:
// SvgType ...
type SvgType struct {
	XMLName                       xml.Name `xml:"svgType"`

It does this for all XMLName declarations. Then will declare:
type Svg *SvgType

Which also will then sometimes generate duplicates because it does not distinguish between things like simpletype and complextype. For instance with SVG you will see:
type Title string
type Title *TitleType

Describe the results you expected:
An unmarshalled svg struct, with the generated tag being xml:"svg"
Output of go version:
go version go1.18 darwin/amd64

xgen version or commit ID:
xgen version: 0.1.0

Environment details (OS, physical, etc.):
OSX version 12.3

[](url
xgen.zip
)
xsd files for generating and .swg file for unmarshalling attached. They will reproduce the issue described above.


Cell inivisible text bug

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur
Can't reproduce but it's generally triggered when I undo .
Actual behavior and expected behavior

Jupyter server running: Local

Extension version: 2020.8.101144

VS Code version: 1.48.0

OS: Windows

Virtual environment: conda

Thank you for the issue @capem. I think that undoing is messing with your code in the upper cell. We'll discuss this in an upcoming meeting. In the meantime, let us know if you find consistent repro steps.

Thanks for your feedback. This issue will be addressed once VS Code adds native support for editing notebooks. Please see https://github.com/microsoft/vscode/issues/91987.

I just wanna add that the text was visb


docs: fix invalid anchor link

I've fixed an invalid anchor link in the docs.

Codecov Report

Merging #864 (65dfbfd) into master (a2d7979) will decrease coverage by 0.20%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #864      +/-   ##
==========================================
- Coverage   96.48%   96.28%   -0.21%
==========================================
  Files          41       41
  Lines        2990     2990
==========================================
- Hits         2885     2879       -6
- Misses        105      111       +6

Flag
Coverage Δ

unittests
96.28% <ø> (-0.21%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

tests/test_tools.py
68.00% <0.00%> (-24.00%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Segfault in BNGetLowLevelILByIndex

I'm trying to iterate over the LLIL by basic block. This facility isn't provided so I was trying dirty hacks and discovered a crashing test case.
Version: 1.0.273 beta
Architecture: x86
Reproduction Steps:

Open x86 elf binary (specific example attached)
Run plugin on start via context menu (select "Signedness Analysis")
Segfault

I've run it a few times and $rdx is different each time. I think it's uninitialized.
#!/usr/bin/env python

from binaryninja import *

def run_signedness(view, F):
    log_info("Running signedness analysis on {0}".format(F))

    blocks = F.basic_blocks
    llil = F.low_level_il
    for block in blocks:
        log_info("BB: {0}\tAddress: {1:x}-{2:x}".format(block, block.start, block.end))

        addr = block.start
        while addr <= block.end:
            insn = llil[addr - llil.current_address]

            log_info("\t{0:08x}: {0}".format(addr, repr(insn)))

            addr += insn.size

    il = F.low_level_il
    for insn in il:
        log_info("{0}".format(insn))

    return

PluginCommand.register_for_function("Signedness Analysis", "Run signedness analysis on function.", run_signedness)
log_info("Loaded example2 plugin...")

(lldb) run
There is a running process, kill it and restart?: [Y/n] y
Process 81120 exited with status = 9 (0x00000009)
Process 81135 launched: './binaryninja' (x86_64)
Loaded example plugin...
Loaded example2 plugin...
Added x86 entry point at 0x8048850
ELF parsing took 0.000 seconds
Analysis update took 0.000 seconds
Running signedness analysis on <func: x86@0x8048850>
BB: <block: x86@0x8048850-0x8048872>	Address: 8048850-8048872
Process 81135 stopped
* thread #1: tid = 0x5f180f, 0x000000010058b2cf libbinaryninjacore.dylib`BNGetLowLevelILByIndex + 15, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x2681020d1e78)
    frame #0: 0x000000010058b2cf libbinaryninjacore.dylib`BNGetLowLevelILByIndex + 15
libbinaryninjacore.dylib`BNGetLowLevelILByIndex:
->  0x10058b2cf <+15>: mov    rcx, qword ptr [rax + rdx + 0x38]
    0x10058b2d4 <+20>: mov    qword ptr [rdi + 0x38], rcx
    0x10058b2d8 <+24>: mov    rcx, qword ptr [rax + rdx + 0x30]
    0x10058b2dd <+29>: mov    qword ptr [rdi + 0x30], rcx
(lldb) reg read
General Purpose Registers:
       rax = 0x00000001020cf800
       rbx = 0x00007fff5fbf84c0
       rcx = 0x0000000115bd8330
       rdx = 0x0000268000002640
       rdi = 0x00007fff5fbf84c0
       rsi = 0x000000010b591460
       rbp = 0x00007fff5fbf83a0
       rsp = 0x00007fff5fbf83a0
        r8 = 0x00007fff5fbf8340
        r9 = 0x0000000107feb3f7  _ctypes.so`get_ulong + 79
       r10 = 0x00007fff5fbf8300
       r11 = 0x000000010058b2c0  libbinaryninjacore.dylib`BNGetLowLevelILByIndex
       r12 = 0x00007fff5fbf8300
       r13 = 0x0000000000000002
       r14 = 0x00007fff5fbf84a0
       r15 = 0x9900b4f3af546b01
       rip = 0x000000010058b2cf  libbinaryninjacore.dylib`BNGetLowLevelILByIndex + 15
    rflags = 0x0000000000010202
        cs = 0x000000000000002b
        fs = 0x0000000000000000
        gs = 0x0000000000000000

(lldb) q

sftp_bf28442aa4ab1a4089ddca16729b29ac.zip

Fixed in 1.0.278 beta


Move checkstyle files to buildscripts directory.

Clean the main directory by moving the checkstyle and future build scripts into a buildscripts directory.

Codecov Report

Merging #542 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master   #542   +/-   ##
=======================================
  Coverage        90%    90%
  Complexity      566    566
=======================================
  Files           110    110
  Lines          2361   2361
  Branches        211    211
=======================================
  Hits           2125   2125
  Misses          180    180
  Partials         56     56

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 68e117b...b84ac43. Read the comment docs.


J F: Watch XDC1_VSsKps|KU5svIQXW7o

J F requests the watch of the watch_keyword XDC1_VSsKps|KU5svIQXW7o. See the MS search here and the Stack Exchange search here.

XDC1_VSsKps|KU5svIQXW7o has been seen in 4 true positives, 0 false positives, and 0 NAAs.

Coverage remained the same at 65.195% when pulling 65bb8944dfb1517e48bbdf7689039a06ec2579dc on auto-blacklist-1530979078.254226 into 59c1ff1c5c5a6e1d74199a7b2336b6ff6dd93159 on master.

!!/approve


Allow multi-type generics (i.e. <T, R, ...>) on method parameters

Example:
Aluno
---
---
+ setDetails(details: Map<String, String>): str
---

Should not return  Line 4: Unknow param format details: Map<String, String>
Modeligado seems to separate parameters by comma, thus a multi-type generics will raise an error.

hey i will work on this issue. PR soon 👍

https://github.com/matheusgr/modeligado/pull/28
done :)


Refactor how to consume action items from the plan queue

Use a seperate asyncio task to pull from the plan queue which is independent on pulling from the source queue

No longer generate ProcessedEvent in event_log

No longer combine hosts when running playbook like actions. Drop the use of EDA_RUN_PLAYBOOK_MAX_DELAY

Resolves AAP-8425

@mkanoor as we discussed off line this PR will wait for queued ansible actions to complete before actual shutdown. We will create another PR that shutdowns immediate upon receiving the command.

At shutdown stage the queue tasks will terminate as soon as there is a message in the queue. The Shutdown() messages are inserted to help if the queues are empty. The code does not drain all messages until reaching the Shutdown().
This code is likely to go away in a following up PR.

The 2 Queues(action plan and playbook)  have the Shutdown() message but it might be at the end when the queue is filled with other Actions and might not be accessible without reading all queue items.


Feature render failed to build

When try to build with feature render, the build failed with a lot of "not found" error.
This problem does not exist before 0.4.0 since they do not have the render feature.

I think I found the issue, the render features should depend on "xcb/render" feature.


Script not working

Hello,
When I execute the script .\Invoke-Hardeningkitty.ps1 it does nothing. There is not console output and it just like the command completed without displaying output.
Is there something wrong with the script?
Let me know.

HardeningKitty is a PowerShell module, this is the normal behaviour, you have to run it like this:
Import-Module .\Invoke-HardeningKitty.ps1
Invoke-HardeningKitty

The example documentation describes various functions:
https://github.com/0x6d69636b/windows_hardening#examples

Hello,
The main problem is that I want to execute it like this:
powershell -Command Import-Module C:\temp\hkitty\windows_hardening-master\Invoke-HardeningKitty.ps1 && powershell - Command
I want to do this so I can execute an remote audit via SSH or PSExec when neccesary. I want to know if this is possible or that the script needs to be rewritten for this purpose?

PS: I might have found the issue to mitigate this:
In order to execute a remote audit you can do the following:

Create another .ps1 file and add these two lines:

Import-Module .\Invoke-HardeningKitty.ps1 Invoke-HardeningKitty
This way you can execute:
powershell -Command {path}\Execute-HardeningKitty.ps1
So you have an One-Liner to execute the command.
Of course this command could be improved for example by adding the respective possible arguments .

I see, you could achieve this in one command like so:
powershell.exe -Command "Import-Module C:\temp\hkitty\windows_hardening-master\Invoke-HardeningKitty.ps1; Invoke-HardeningKitty -FileFindingList C:\temp\hkitty\windows_hardening-master\lists\finding_list_0x6d69636b_machine.csv"


supporting e2e tests for webapp changes

Summary
Supporting e2e changes for https://github.com/mattermost/mattermost-webapp/pull/10230.
Ticket Link
Fixes: https://mattermost.atlassian.net/browse/MM-42755
Checklist

[ ] ~Telemetry updated~
[ ] ~Gated by experimental feature flag~
[x] Unit tests updated

/update-branch

Going to merge now, and I'll own anything that breaks next week :)


Add-on in profile section

Hey @srivastavaritik I gone through the project Extraspace-Cloud and all the issue raised by other, it is a really nice project in my opinion. Everything is fine but I just want a add a feature on  profile of people that is -
BIO SECTION
Bio section for everyone to put their mind though in their profile as it satisfy the front people mind and our self too
Actual state

My approach

(Ignore the UI I just put the idea to show, I will synchronize with website theme)
Please Assign me this issue for upgrade in website @srivastavaritik
My branch name will be - marshadkhn

@srivastavaritik still waiting

@srivastavaritik Reminder


libicuuc.so.50 not found

Hi, I tried a connection to Clickhouse DB  via this ODBC driver from Tableau Server on an Ubuntu distrib.
We have an error message from Tableau '... libclickhouseodbcw.so file not found'

and if we check dependancies via ldd libclickhouseodbcw.so
command response we see : 'libicuuc.so.50 => not found'
But impossible to install the libicu as explained in your documentation ...
command response we see : 'Unable to locate package libicu'
in fact libicu packages available for Ubuntu
tried to install the libicu-dev package but not better ...
Any workaround ?

This is described in release notes of https://github.com/ClickHouse/clickhouse-odbc/releases/tag/v<IP_ADDRESS>00414
I suggest you to build the driver manually for your system. It is easy: https://github.com/ClickHouse/clickhouse-odbc/blob/master/README.md#building-from-sources-debianubuntu


blog: add v<IP_ADDRESS> release notes

done

Sorry, had to force push once more. Added a missing space.

Hashes match mine


Consider case, when object is encapsulated in ".if" and it works like 'other object' and wraps by new ".if".

for example, if there are several ".forward"/"backward" inside goto, then for "other" objects, that should be encapsulated in additional ".if" objects with "flag-check", this will be respresented as:
if.
  eq.
    flag1
    x
  seq
    if.
      eq.
        k
        seq
          flag2.write 0
        z
      TRUE
  if.
    eq.
      flag2
      1
    seq
      TRUE
    TRUE

but not like that:
if.
  eq.
    flag1
    x
  seq
    if.
      eq.
        k
        seq
          flag2.write 0
        z
      TRUE
  TRUE

So, need to consider cases with branching and ".if" object.

@MikhailLipanin the puzzle #109 is still not solved.


Add the ability to install pip dependencies

First version, install using pip command like micromamba does.
Add support for it in the .toml.
Added to the lock-file.

As said in https://github.com/prefix-dev/pixi/issues/175#issuecomment-1685348098, conda/mamba’s approach of first-us-then-pip isn’t a sound one, so I hope the “for now” does a lot of heavy lifting and you plan to resolve dependencies together at some point.
I generally avoid conda/mamba unless absolutely necessary to avoid problems with this.

Yes @flying-sheep, we are working on doing it one go using our rust libsolv implementation. It is a bit tricky, but will keep you updated!

Closing this for: https://github.com/prefix-dev/pixi/issues/175 I see that you are also involved there @flying-sheep :)

Yup, thanks! As long as one of the issues stays up, I’ll be notified once you got that far!


[leptos 0.5.5] Rust Docs break #[server] functions

Describe the bug
RustDocs break #[server] functions. For example:
/// rust docs
#[server(RemoteStr, "/api")]
pub async fn remote_str() -> Result<String, ServerFnError> {
  Ok("String from Server".to_string())
}

Without the /// rust docs line the function compiles correctly.
Leptos Dependencies
I used the template from https://github.com/leptos-rs/start-axum
A fresh checkout should automatically grab leptos 0.5.5.
To Reproduce

Edit <prj>/src/app.rs.
Insert the above code block after the use statements.
Add serde and serde_json to Cargo.toml

Expected behavior
I expect RustDocs to not cause compilation failures. :)

Tested the PR. Looks good to me.


No visible @interface for 'FIRQuery' declares the selector 'addSnapshotListenerWithIncludeMetadataChanges:listener:'

app was working randomly this error is started coming
No visible @interface for 'FIRQuery' declares the selector 'addSnapshotListenerWithIncludeMetadataChanges:listener:'

this seems to be react-native-firebase issue.
BTW, if you are using their library. you can build notification using their API.
I have a sample project https://github.com/evollu/react-native-fcm/tree/firebase/Examples/firebase-migration


Renounce contract ownership

Some members asked if we could renounce the ownership of the contracts, which I believe is a good idea to increase trust in that we can't rug the community even if we wanted to. Just need to understand how we are going to work around the withdraw of KLT's from the contract, but this is a quite important thing to have a fix ASAP.

Fixed.


Add Tests

Hey @jbdoar, may I assign you to this task? Let me write up a description of what to do here:
For each file in hcm, there should be a test file (I can take bish). It should be the same name as the file, but end with _test.py. For example, next to hcm/synth.py should be hcm/synth_test.py.
Let's use unittest (part of the python standard library) to structure our tests. The docs provide really nice examples as well as advice on how to write tests.
After some have been written, we can use the following command to run all of the tests:
$ python3 -m unittest

As documented, this will find and execute all the _test.py files in our hcm.
The value of unit tests is that when we want to make changes later, we can do so safely. Further, we can incorporate running tests into making a PR (i.e. #21), so we can find out if we break anything on any code change.
This seems like a great next project after the project restructure is done.

Hey @jbdoar, may I assign you to this task? Let me write up a description of what to do here:
For each file in hcm, there should be a test file (I can take bish). It should be the same name as the file, but end with _test.py. For example, next to hcm/synth.py should be hcm/synth_test.py.
Let's use unittest (part of the python standard library) to structure our tests. The docs provide really nice examples as well as advice on how to write tests.
After some have been written, we can use the following command to run all of the tests:
$ python3 -m unittest

As documented, this will find and execute all the _test.py files in our hcm.
The value of unit tests is that when we want to make changes later, we can do so safely. Further, we can incorporate running tests into making a PR (i.e. #21), so we can find out if we break anything on any code change.
This seems like a great next project after the project restructure is done.

Excellent idea, I'll familiarize myself with unittest.

Excellent idea, I'll familiarize myself with unittest.


chore: release 1.2.4

:robot: I have created a release *beep* *boop*
1.2.4 (2019-08-08)
Bug Fixes

allow calls with no request, add JSON proto (8fd5422)

This PR was generated with Release Please.

Release is at https://github.com/googleapis/nodejs-bigquery-data-transfer/releases/tag/v1.2.4

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:


Added bullets for keys

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

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

Thanks for your contribution!


update Basic example to RN v0.60

Basic example project works with v.1.0.0
TODO with v. 2.0.0 from master branch its have this exception. (its needs to check last commits and this properties -> left: NaN)

This works:
"dependencies": {
    "react-native-multi-slider": "git://github.com/ptomasroos/react-native-multi-slider.git#23ca9bf83b5d88b6c6a30523da782122a5fbf857"
  }

It appears that this commit breaks RN 60 support:
https://github.com/ptomasroos/react-native-multi-slider/commit/410221bd455783922ed150b9386cbfd41880e869

@sytolk
Hey. Is it a fix for componentWillMount and componentWillReceiveProps deprecated methods?
I see that you attached issue #138, but I used this -
"dependencies": {
    "react-native-multi-slider": "git://github.com/ptomasroos/react-native-multi-slider.git#23ca9bf83b5d88b6c6a30523da782122a5fbf857"
  }

and still have the issue.

No this is not a fix for componentWillMount and componentWillReceiveProps deprecated methods. This update RN to v0.60 in Basic example only. @mitaxe feels free to provide PR for deprecated methods :)

https://github.com/ptomasroos/react-native-multi-slider/pull/155

Superseeded by #158


Try skipping deploy if package checksum not changed

try to add checksum to properties.xml
check if it is readable at /crx/packmgr/list.jsp
when invoking packageManager.deploy(pkg) compare checksum of just built package with checksum of package deployed currently on instance; if it is same, skip deploy :)

we cannot put checksum info as of it affects calculated checksum.
what if checksum will be stored separately on aem by additional request made and info saved under /var/gap/package/deploy/checksum/pkgname.txt

Released in 13.1.0


Revert "Remove ConsIndShockModel.py"

Reverts econ-ark/DemARK#66

This didn't actually get merged, just submitted, and now @MridulS has fixed the error that was causing the problem.  So in theory we can just close this PR without merging, although because of the unusual route we took we haven't tested the current master so it's not certain it actually passes tests.  I'm going to take a risk and hope for the best.

Travis seems happy https://travis-ci.org/econ-ark/DemARK/builds


Create an intro

Add an intro about yourself: who are you, what is your strength, why are you here.

Intro done


Cannot filter events in testrpc v2.2.3 using Truffle

When initialising an event and setting a filter, the returned events do not get filtered. Using the same code on a geth testnet works as expected.

Expected Behavior
For a contract containing
event TestEvent(address indexed testAddress, address indexed another, string somethingElse );

Using Truffle, I am attempting to get the events using
var filteredEvents =  instance.TestEvent({testAddress: account}, {fromBlock: 0, toBlock: 'latest'});
filteredEvents.get(function(err,logs){console.log(logs);});

where account has been previously defined. I expect to see only events that have  testAddress = account, however all events are returned. This behaviour doesn't exist on a private geth testnet.

Your Environment

Version used: v2.2.3
Environment name and version: Truffle

I am also running into this issue, i.e. filtered event queries are returning all events. I'm using v2.2.4.

I have been working on a fix for this.  It's not checked in yet, but try the following patch in the testrpc code.  It seems to be working for me, but I have only a narrow set of use cases.  If this fixes your issues will raise my confidence that it's working correctly.
The patch is built from the following description on how topic filters should work from this page: https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newfilter
A note on specifying topic filters:
Topics are order-dependent. A transaction with a log with topics [A, B] will be matched by the following topic filters:
[] "anything"
[A] "A in first position (and anything after)"
[null, B] "anything in first position AND B in second position (and anything after)"
[A, B] "A in first position AND B in second position (and anything after)"
[[A, B], [A, B]] "(A OR B) in first position AND (A OR B) in second position (and anything after)"
diff --git a/lib/statemanager.js b/lib/statemanager.js
index 55d5996..1e926a9 100644
--- a/lib/statemanager.js
+++ b/lib/statemanager.js
@@ -393,7 +393,26 @@ StateManager.prototype.getLogs = function(filter, callback) {
if (err) return finished(err);
   var filtered = blockLogs.filter(function(log) {

   return expectedAddress == null || log.address == expectedAddress;

     var match = false;

     if (expectedAddress === null || log.address === expectedAddress) {

         match = true;

         if (Array.isArray(filter.topics)) {

             for (var i=0; i<filter.topics.length && i<log.topics.length; i++) {

                 var innerMatch = false;

                 if (Array.isArray(filter.topics[i])) {

                     var or = filter.topics[i];

                     for (var j=0; j<or.length; j++) {

                         if (or[j] === log.topics[i])

                             innerMatch = true;

                     }

                 } else if (filter.topics[i] === null || filter.topics[i] === log.topics[i]) {

                     innerMatch = true;

                 }

                 match = match && innerMatch;

             }

         }

     }

     return match;
 });

Thanks for taking a stab at it. This code is O(n^3) (i.e., there are nested loops three deep). Can you try breaking it out at all? I haven't tried it myself but my gut tells me there's a better way.

Ok, yes - you're right, it is quite slow.  That's a good place to go next -
the first step was just to try to understand the code and the way testrpc
is built on top of web3-provider-engine, etc..
On Thu, Sep 8, 2016 at 12:15 PM, Tim Coulter<EMAIL_ADDRESS>wrote:

Thanks for taking a stab at it. This code is O(n^3) (i.e., there are
nested loops three deep). Can you try breaking it out at all? I haven't
tried it myself but my gut tells me there's a better way.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ethereumjs/testrpc/issues/154#issuecomment-245689170,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAY-TgF_dmgL13ENS8WUyv2edMWIkytqks5qoFDDgaJpZM4JyzeB
.

I'm not sure there's much gain in refactoring code but I think what does make sense is breaking out of the inner loops when either the AND condition fails (match == false) or the OR case matches (innerMatch == true).  That would eliminate needless looping.
i.e. something like:
      var filtered = blockLogs.filter(function(log) {
          var match = false;
          if (expectedAddress === null || log.address === expectedAddress) {
              match = true;
              if (Array.isArray(filter.topics)) {
                  for (var i=0; i<filter.topics.length && i<log.topics.length; i++) {
                      var innerMatch = false;
                      if (Array.isArray(filter.topics[i])) {
                          var or = filter.topics[i];
                          for (var j=0; j<or.length; j++) {
                              if (or[j] === log.topics[i]) {
                                  innerMatch = true;
                                  break;
                              }
                          }
                      } else if (filter.topics[i] === null || filter.topics[i] === log.topics[i]) {
                          innerMatch = true;
                      }
                      match = match && innerMatch;
                      if (!match) break;
                  }
              }
          }
          return match;
      });

One thing I'm having an issue with here is getting web3 to send topics to over the RPC at all. i.e., for the following JS:
var event = instance.NumberEvent({number: unexpected_value}, {fromBlock: 0});

web3 only makes a request like this:
{
  "jsonrpc": "2.0",
  "method": "eth_newFilter",
  "params": [
    {
      "topics": [
        "0xe450ead2824f007ba5fe0defff15b2706ac9d12b679c1cea274df5f4dbf7cc47"
      ],
      "address": "0x3dafdbd46794768d8d75611b26a729eb6c68a90e",
      "fromBlock": "0x0"
    }
  ],
  "id": 61
}

If I remove number: ... entirely, the request doesn't change:
var event = instance.NumberEvent({}, {fromBlock: 0});

produces:
{
  "jsonrpc": "2.0",
  "method": "eth_newFilter",
  "params": [
    {
      "topics": [
        "0xe450ead2824f007ba5fe0defff15b2706ac9d12b679c1cea274df5f4dbf7cc47"
      ],
      "address": "0x703de044e9946fda8394308ffe1ff038a990d19e",
      "fromBlock": "0x0"
    }
  ],
  "id": 61
}

If web3 doesn't produce the right requests, there's not a whole lot I can do. Has anyone found better documentation than this regarding contract events?

Hi Tim,
Here's some code that works from a browser-based Dapp - I think I remember there was some strangeness until I included both the fromBlock and the toBlock on the second object, i.e. just add a toBlock: "latest" in there.  For example, the filter in the code below works well although I haven't looked at the RPC calls themselves.
API.prototype.getHistory = function(name, from, to, cb) {
if (cb == null) sync_msg();
var tickEvent = this.logmgr.MarketTick({mid:name},{fromBlock:from,toBlock:to});
var arr = [];
tickEvent.get(function(error, logs) {
logs.map(function(log) {
arr.push({
id: log.transactionHash,
block: log.blockNumber,
data: parseFloat(globals.web3.fromWei(log.args.tick))
});
});
cb(arr);
});
};

Thanks! Just figured out the issue actually by digging deep into web3.js code. Apparently, the event's parameters need to be indexed if you want to filter on them:
contract EventTest {
  event NumberEvent(uint indexed number);

  function triggerEvent(uint val) {
    NumberEvent(val);
  }
}

Now that I realized that, I'm getting the requests I expect. Will see if I can get this solved.

Fixed on develop branch. Feel free to give it a whirl. Closing this ticket for milestone progress. Will be released with TestRPC 3.0.
Thanks for the feedback all. Appreciate it!


Update mendix-feedback.md

A new simplified feedback widget document

@mel-chiu I will be on vacation from next Monday till May 26. If you need to update or release this doc before I am back, please contact my teammate @ConnorLand . Thanks!


Optimize CowData's remove_at and insert functions to avoid repeated copy assignments for non-trivial types.

This PR uses memory magic to move regions in CowData, avoiding repeated copy assignments and destructions.
Assuming I made no mistakes, this logic should be safe for all types except those that use relative pointers. I'm fairly sure Godot doesn't have this kind of type (and it definitely shouldn't).
Beneficiaries of this change include Array, PackedStringArray, and other internal Vector types that use non-trivial elements.
Benchmark
I benchmarked the following code:
	int N = 10000;
	int M = 1000;
	Array vectors[N];
	for (int i = 0; i < N; i++) {
		for (int j = 0; j < M; ++j) {
			vectors[i].push_back("Test");
		}
	}

	{
		auto t0 = std::chrono::high_resolution_clock::now();
		for (int i = 0; i < N; i ++) {
			vectors[i].remove_at(0);
		}
		auto t1 = std::chrono::high_resolution_clock::now();
		std::cout << std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0).count() << "ms\n";
	}

	{
		auto t0 = std::chrono::high_resolution_clock::now();
		for (int i = 0; i < N; i ++) {
			vectors[i].insert(0, vectors[0][0]);
		}
		auto t1 = std::chrono::high_resolution_clock::now();
		std::cout << std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0).count() << "ms\n";
	}

This yields:

118ms and 107ms on master (ba2c5c1e6196b774d55baa45de54aab530db08e9)
20ms and 13ms on this PR (499067d983013871968585e57480a5429ef80951)

As such, it can be concluded that remove_at can be 6x as fast as before, and insert can be 8x as fast.
Addendum
If this is merged, a similar PR should address insert and remove_at of LocalVector (ideally without copying the rather fiddly logic, using a template function).
Arguably, push_back and pop_back() should be added, because quite a few callers have various ways of implementing these operations themselves. They would benefit the most of an in-place assignment without unnecessary temporary allocations could be implemented.

Looks like this is neglecting cases where T is not trivially copyable.

Looks like this is neglecting cases where T is not trivially copyable.

Are you sure a check for that is required? No copies are taking place, implicit or explicit - it's all moves, construction and destruction.


Timeout fix for SAN

[Script changes] Parallel implementation for issuing certificates
Description
This PR introduces parallel implementation for issuing certificates when we have multiple SAN or domains. Previously we use to issue certificates one by one, which could cause a timeout issue.
Changes Made

Attaching all the HTTP policies to the respective virtual services before issuing certificates.
Parallel implementation for issuing certificates using the concurrent.futures library.
Deleting all the policies after any error or issuing of the certificates.
Error handling for all the cases covered.
Refactoring the code and breaking it into classes and functions.

Impact

This change will avoid the timeout issue when there are many domains and SANs added.

Testing

Manual testing was performed to confirm the script handles various scenarios, including invalid domains, and successful certificate verification, as expected.

When would we use this one versus the other ones?  It looks like it only supports HTTP challenges, should it supersede the other HTTP challenge script?


BedrockEconomy requires xbox authentication.

i user waterdogpe proxy and in server server.properties xba is off and then crash get message " BedrockEconomy requires xbox authentication.", if i change xba on get no authentication why?
hwo to solve help me
thanks

i user waterdogpe proxy and in server server.properties xba is off and then crash get message " BedrockEconomy requires xbox authentication.", if i change xba on get no authentication why? hwo to solve help me thanks

use bedrock economy version below version 4

Enable login extras in WDPE and use this plugin

Duplicate of https://github.com/cooldogepm/BedrockEconomy/issues/115


Benchmark data-driven

Make benchmark selector data-driven and change when one of these change:

asset class
sector
equity market

My assumption is that only these influence the possible benchmark values but I might be wrong. Actually even the sector probably doesn't but I just add it as one of the 'top-level' filters.

@jdhoffa it's just an artifact of the test data we're using. In GENERAL we don't.

If we would be running the dahsboard on peer data then yes, 'bank' could be a benchmark. It should be called 'Banks' then I'd say or 'Banks peer group' but I think it should be adjusted in the data and not in the dashboard code.

Makes sense! I was just nervous that it was the actual portfolio value, which we of course don't want to appear as a benchmark, but that seems to not be the case


fix: Fixed artifact retrieval when templateRef in use. Fixes #9631.

Handle artifact retrieval when the workflow node has no templateName set but
does have templateRef set instead. Added a unit test that was broken before
the changes and works after the changes.
Fixes #9631
Signed-off-by: Brian Loss<EMAIL_ADDRESS>

@juliev0 I saw you self-assigned #9631. Here is my attempt to fix it...

@juliev0 or @terrytangyuan, do I need to do anything else to help get this fix gets into the next 3.4.x release? I wasn't sure since this went to master and there's a release-3.4 branch.

@sarabala1979 Could we cherry-pick this?


Wrong Punctuation In SignUp Form

Missing Question Mark and Capitalization of Login Text in Signup Form.

@khushi-joshi-05 Can you please assign this issue to me


Endless loop: "GitSavvy was unable to parse Git output as UTF-8"

GitSavvy still suffers from the endless loop, if it fails to parse git output as UTF-8. This issue is already descriped in #300. By pressing the message dialog's 'cancel' button a panel with the following message is opened, but the dialog box reapears as soon as the open DIFF view is activated again. There is no chance to close it at all. I need to kill Sublime Text and delete the recently open *.sublime-workspace file. Otherwise the DIFF view is restored and the endless loop starts again on next execution of Sublime Text.
panel text
'utf-8' codec can't decode byte 0xfc in position 139: invalid start byte

You must not expect utf-8 as encoding of any output as it doesn't need to be true for git show command especially if git is configured to store files in a certain encoding other then utf-8.
I can't say who is responsible but I use git for Windows 2.11.0 and GitExtensions 2.49 with default settings to do most of my work with versioning. One of them sets git's file encoding to operating system default value, which is Windows-1252 in my case.
We could discuss whether it is a good idea to store files with an enconding different from utf-8 or not but infact git allows it, so everyone needs to support it.
I am just starting to use git tools like GitSavvy directly from Sublime Text to hopefully replace external tools some day.
Steps to reproduce

Configure git to store files as Windows-1252 encoding as it is done automatically with Git for Windows on. (i18n.filesencoding=Windows-1252)
Create a repository and commit a file with none ascii characters like (äöß)
Modify the file in worktree
Call git: status
Select a modified file
press l  key to run inline diff
You are in endless loop

System Information

Sublime Text 3126
GitSavvy 2.13.0 or commit e6c00ef4da1d49ea86a9f323f3541bd201838ed4
Windows 10 x64 de-DE

Thank you very much for a good reproduction steps. I have had the same issue myself but never found the case of it. I will test the steps later today.

I have been testing yesterday and today. I have tested on Mac OSX and on Windows 10 with default installation of git from https://git-scm.com/.
I have been setting that setting with  git config i18n.filesencoding Windows-1252 on the repo I have tested with. It still work like it should. Is possible if you can create a repo so I can pull it down and reproduce? I think that would help us a lot.

Created a repository with Windows-1252 codepage set
https://github.com/deathaxe/gitsavvy-debug.git
I created a file containing äöß, saved it with Windows-1252 encoding, committed and pushed it to the branch.
I can reproduce the issue with this repository.

Open the file
modify some chars  (keep äöß)
call git status
press l for inline diff

Good luck!

This just happened to me again, and many times, it was when diffing again. Instead of a workspace file I had to remove the buffers from Session.sublime_session on the sublime support dir.
Useful info: http://stackoverflow.com/questions/11744365/removing-projects-in-sublime-text-2-and-3

Hello, I want to tell you both than I am working on it. I think I would need to sepen couple on evenings looking at this.
I will comment some of by progress here.
This one one of the diffs I have been looking at to night.
b'
diff --git a/43d38c4090dedfbef81efa5d6e9ac2d63eafdf59 b/8a8e0f7f9177a0f40d6d6bcc03056320f2ac0fb7
index 43d38c4..8a8e0f7 100644
--- a/43d38c4090dedfbef81efa5d6e9ac2d63eafdf59
+++ b/8a8e0f7f9177a0f40d6d6bcc03056320f2ac0fb7
@@ -1 +1 @@
-Das ist \xf6ffentlicher Test mit \xc4nderung zum schmei\xdfen.
\\ No newline at end of file
+Das ist \xc3\xb6ffentliecher Test mit \xc3\x84nderung zum schmei\xc3\x9fen.
'

As you can see. When I saved this file in sublime I think I chenges the encoding. Look at schmei**fen. So work in progress

Dear @deathaxe and @hanoii,
I created a branch encoding_inlinediff, could you test it so see if it solves the issue?

Good news:

No more exceptions are thrown and diff is displayed.
Calling inline diff for a staged file works good, too. (git status -> stage file (s) -> inline diff (l) )

Bad news:
Calling inline diff for none staged file with changes, the result is displayed without exceptions, but the content of the working file have wrong encoding.
Das ist Ã¶ffentlicher Test mit Ãnderung zum schmeiÃen.

It looks like the content of the working file is converted to utf-8 and than displayed using latin-1 or Windows 1252.
Without a look into your code I guess the content of the view is saved to a temporary file, which is then compared against the commited file?
You should use ST's self.view.encoding() to get file encoding to use to save the temporary file. This is what GitGutter does. ST is quite smart in detecting encodings and it might be save in most situations to assume its result to be correct for both the local and commited file. One could check and make use of git's encoding setting, too, if explicitly set.
Example from GitGutter

    def _get_view_encoding(self):
        """Read view encoding and transform it for use with python.

        This method reads `origin_encoding` used by ConvertToUTF8 plugin and
        goes on with ST's encoding setting if required. The encoding is
        transformed to work with python's `codecs` module.

        Returns:
            string: python compatible view encoding
        """
        encoding = self.view.settings().get('origin_encoding')
        if not encoding:
            encoding = self.view.encoding()
            if encoding == "Undefined":
                encoding = self.view.settings().get('default_encoding')
            begin = encoding.find('(')
            if begin > -1:
                encoding = encoding[begin + 1:-1]
            encoding = encoding.replace('with BOM', '')
            encoding = encoding.replace('Windows', 'cp')
            encoding = encoding.replace('-', '_')
        encoding = encoding.replace(' ', '')
        return encoding

    def update_view_file(self):
        # Read from view buffer
        chars = self.view.size()
        region = sublime.Region(0, chars)
        contents = self.view.substr(region)
        # Try conversion
        try:
            encoding = self._get_view_encoding()
            encoded = contents.encode(encoding)
        except (LookupError, UnicodeError):
            # Fallback to utf8-encoding
            encoded = contents.encode('utf-8')
        # Write the encoded content to file
        if not self._view_temp_file:
            self._view_temp_file = self.tmp_file()
        with open(self._view_temp_file, 'wb') as file:
            if self.view.encoding() == "UTF-8 with BOM":
                file.write(codecs.BOM_UTF8)
            file.write(encoded)

I have trouble testing this on my mac so, I have a Windows 10 VM I will work on. So I am not done with the issue.

@deathaxe, @biz00,  I dont this I can use encoding to current view since I don't read the encoding from the view. Possibly we could open the file then find the encoding and close it again.
I did some more research and found this

I added couple of loggers to the git command. I looks to me like we are doing some extra work. So here is the flow now.

# Find the sha to the file we openend in inline diff
stdin: None
C:\Program Files\Git\cmd\git.EXE ls-files -s C:\Users\simon\AppData\Roaming\Sublime Text 3\Packages\GitSavvy\gitsavvy-debug\windows1252.txt
dir: None
b'100644 1e08f98f9b68d8c16e06f4041e6a9f0bf377726c 0\twindows1252.txt\n'
utf-8 # decoded output with utf-8

# Read the content of this file on this commit
# so without our changes
stdin: None
C:\Program Files\Git\cmd\git.EXE show --no-color 1e08f98f9b68d8c16e06f4041e6a9f0bf377726c
dir: None
b'ikke til aa tro\n\nDas ist \xf6ffentlicher Test mit \xc4nderung zum schmei\xdfen.'
utf-8 # decoded output with utf-8 but failed
latin-1 # decode output with latin-1

# Here comes the issue
# We create a sha(fake commit) of the changes we have.
# The output from the previour command as inout here.
# https://github.com/divmain/GitSavvy/blob/master/core/git_command.py#L127
# We encode the input as utf-8 allways. So in this fake commit it looks
# like we changed the fileencoding.
stdin: ikke 0til aa tro

Das ist öffentlicher Test mit Änderung zum schmeißen.
C:\Program Files\Git\cmd\git.EXE hash-object -w --stdin
dir: None
b'c66e2d994f131d9145a3971c4e77d54997d326ab\n'
utf-8

# Here is checks for the diff between index and fake commit. The
# issue is with the fake commit since it has the utf-8 encoded changes.
# so the diff is wrong. It looks to me like this command dones the same just
# git diff --no-color -U0, thou i belive @divmain wrote it like this for
# a reason.
\\ No newline at end of file
+Das ist \xc3\xb6ffentlicher Test mit \xc3\x84nderung zum schmei\xc3\x9fen.
\\ No newline at end of file
'
utf-8
latin-1

So. I think we should make a new argument to git command called stdin_encoding and default it to 'utf-8'.
I don't like wasting time, so should I implement that?

@stoivo, I think a compromise solution is possible here.  Can #603 be extended to use the fallback_encoding setting?  We could also change this value to be an array instead of a single fallback value.  This way, folks that are working with multiple encodings can determine the order in which they are tried.
I don't think there is going to be a perfect solution to this.  As @stoivo pointed out, we don't always have the file open in a Sublime view before a corresponding Git command is run.  We might be able to pick up hints from Sublime when a view is open but, beyond that, encoding detection is going to be a hard nut to crack.
@stoivo, what do you think?

Either way we need to pass how to encode stdino.
We should make it configurable with fallback encofing.
Tomorrow I will check out how it looks if we open the file, read the encoding then close it.

This morning I tested if we could open the file and get the encoding. That did not work as well as I hoped, some of the issues is that it will consume a lot of memory, I can't close the file after it opened and it is not that fast to find the encoding.

Please check out https://github.com/divmain/GitSavvy/pull/606

@deathaxe, I just want to thank you for reporting this and creating a really great reproduction stepps. This type of issus is simply the best (almost, would be better without issues :) ).
I will close the issue and feel free to reopen.


Link to stylesheet is transformed to javascript import

Describe the bug
I'm trying to include an external css file in my html, but vite transforms it to an import from the javascript bundle, so I get this error: Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/css". Strict MIME type checking is enforced for module scripts per HTML spec.
I have this line in index.html:
<link rel="stylesheet" href="/css/style.css?family=Splash" />

In production, the css is available in that location and for development I have included a proxy rule for it, so I would like the line to stay like that in the built html file. When I run npm run dev this is what happens and it works. However when I run npm run build it removes this line, and instead includes it as an import from the javascript bundle. Since this is a css file, not a javascript file, that fails when the browser tries to load it.
Steps to reproduce

Clone the repo.
Run npm i and npm run build && npm run preview.
Open http://localhost:3000/ in a browser and observe the error.

If you wonder why I have a rewrite rule to remove style.css, this is just because the public font I include in the example is only available on /css and the issue only seem to happen if what I include has a .css extension. In my real world use case, the file is actually called style.css, so then the issue happens without any rewrite rule.
Reproduction
https://github.com/trygveaa/vite-external-stylesheet-bug
System Info
System:
    OS: Linux 5.18 Arch Linux
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 13.64 GB / 31.08 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 16.15.1 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 8.5.5 - /usr/bin/npm
  Browsers:
    Chromium: 102.0.5005.115
    Firefox: 101.0.1

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I can't seem to find the issue, but I remember suggesting supporting <!-- vite-ignore --> for something like this. Another way is to ignore this if specified in build.rollupOptions.external (but that sounds a bit unconventional)

Not sure I understand why I would have to specify that it shouldn't be transformed. When does it make sense for vite to transform a link to a css file to a javascript import?

It's transformed to an import as Vite sees that it could be resolved to something else.  See
https://github.com/vitejs/vite/blob/ce790c4080b6592ed60edfcf90a9ec344d575fa1/packages/vite/src/node/plugins/html.ts#L356-L359
and
https://github.com/vitejs/vite/blob/ce790c4080b6592ed60edfcf90a9ec344d575fa1/packages/vite/src/node/plugins/html.ts#L227-L231
Perhaps something Vite could do is try to resolve the CSS before deciding to transform to an import. That way we don't need <!-- vite-ignore --> 🤔

But it's listed in rollupOptions/externals so it will never be resolved to something else? Is the issue that this list is checked after the import is already created?

This would be fixed by https://github.com/vitejs/vite/pull/11053

Is there a workaround for this before the fix goes out?

so, how do we proceed with this error? Our build does not work since it requires a css file that is located at the root directory

Any news on this?


BUG:design bottom to top button

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
here issue is button is look like a very big ,so i want to small and also rounded type and some background

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Varsani2520 assigned and also try to make it responsive

ok @mdazfar2


Melhorando Testes Unitários

Codecov Report

Merging #60 into develop will increase coverage by 2.65%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             develop     #60      +/-   ##
============================================
+ Coverage      64.55%   67.2%   +2.65%
- Complexity       373     383      +10
============================================
  Files             82      82
  Lines           1168    1168
  Branches          32      32
============================================
+ Hits             754     785      +31
+ Misses           400     369      -31
  Partials          14      14

Impacted Files
Coverage Δ
Complexity Δ

.../ufg/listaplic/service/ListApplicationService.java
82.35% <ø> (+29.41%)
16 <0> (+6)
:arrow_up:

...java/br/com/ufg/listaplic/model/QuestionCount.java
93.75% <0%> (+68.75%)
7% <0%> (+4%)
:arrow_up:

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 20f2580...7e1486d. Read the comment docs.


Feature/The Giving Blocks

Issue: #160
Cronjob to synchronize all the projects of the givingBlocks.
Known Issues:
Axios Hangs on subsequent requests even with delays.
Will run the process 3 times to ensure everything is created correctly.
Docs: https://the-giving-block.gitbook.io/public-api-documentation/

Thanks @CarlosQ96 Its seems great, but I had some change requests that I made in https://github.com/Giveth/impact-graph/pull/236, please review and merge that

@mohammadranjbarz made the changes. Ready to be merged!


Suggested edits to data

Hello there! I used Mavo to suggest the following edits:
test
Preview my changes here: http://localhost:4000/organizations/?organization-storage=https%3A%2F%2Fgithub.com%2FLearningNerd%2Fsite%2F_data%2Forganization.csv

This was just Liz and I testing the GitHub API.


To many epoch transitions per epoch

Describe the bug
Our Prater node in normal synced network conditions does 2-3 epoch transitions per epoch. Review if this is correct or the metrics are wrong (by adding some logs) first.

Expected behavior
Do 1 epoch transition per epoch

Current version does exactly 1 epoch transition per epoch across all our nodes


Pyright vs mypy

Just wanted to open up a discussion. Have you thought about giving pyright a try instead of using mypy?
I'm curious if you find one more favorable or effective than the other, let's discuss! What are your thoughts?

For what it's worth the first thing I do after running ccp is replace all the mypy stuff with pyright.  might be nice if that was one of the config options in the ccp scaffolding.

Thanks for raising @robsys, and thanks for letting me know @szvsw. I haven't used pyright myself. It looks like mypy is used a lot more than pyright:

mypy: 36.9m downloads/month
pyright: 4.9m downloads/month

I try to strike the right balance between opinionated and flexible in this template, but in general try to keep options limited, because for each option, the amount of variations that needs to be tested effectively doubles.
However, I can see that this is something that users have different preferences over, so it probably would be good to support pyright as well. If someone is willing to add pyright as an option for the type checking I'd be open for that.

One thing to consider is that the (effectively) built in type checker within VSCode is PyRight (within Pylance):
https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance
https://marketplace.visualstudio.com/items?itemName=ms-pyright.pyright
It's not immediately clear what percent of VSCode users enable type checking, but it is Microsoft's out-of-the-box built-in first-class supported type checker for python, which is not nothing IMO.
But yes I take your point in re not wanting to create too many options and being opinionated.
If I have some time over the next month or so, I'll see if I can get familiar with how cookiecutter works so I can open a PR for pyright.
Sam

Okay, so it turns out I couldn't sleep and this is trivially easy to implement, so I opened a PR.  I could use your input on how you want to set up the typechecker testing, but once that's in it should be good to go.  I personally add pyright to my precommit hooks, but I think that can be left to the user.
Here's an example repo with an intentional type failure:
https://github.com/szvsw/test-pyright-ccp


Add flow for recovering access to account if Redux store is wiped

Description
When we detect that there is no account stored on the Redux store but there is one on the geth wallet, it means that the Redux store was unexpectedly wiped. To recover from this situation, this PR adds a new screen notifying the user that there's been a user and letting them know that they'll need to input their name and phone number again.
We'll be able to skip the name step in the future when CIP-8 lands.
https://user-images.githubusercontent.com/6062888/113381557-a6826a00-9355-11eb-8291-3d983c9b5b6f.mov
Other changes

Added an option to the hidden dev settings to erase the Redux store in order to be able to test this.

Tested
Manually using the hidden dev setting.
Related issues

Fixes #189

Backwards compatibility
N/A

Hi @gnardini Currently we are  using latest Test flight 1.12.2(52) build in Mainnet server hence we are not able see to any Reduxe store option on settings menu.
Note: We are able to se Alfajores build 1.12.1(50)
Need clarifications: Is there any timestamp to automatically logout when user keep app in background For 1-2 days.
Can you please do the needfull.

@Celoqa By tapping on the title of the Settings screen 5 times you can see the dev options. They show up on the bottom of the Settings screen.

Thanks @gnardini  for the steps , now we are able to see "Wipe Redux store" option from setting menu after tapping on "Settings" text on settings page for 5 times.

@gnardini  We have verified this using latest Test flight build 1.12.2(50) &  Android internal build V1.12.2(1004294345) and observed the followings.

"We need you to setup your account" text with Restore Account button is shown when user open the app after automatically logged out.
User redirects to Restore my account page after tapping on Restore account button
Account key get pasted automatically & user should able to restore the account.
"Balance $0.00" popup is shown is user as $0.00 in account after automatically pasted account key.
User redirects to Home page after restoring account & able to see all activity.

Observed issue: "Oops! Something went wrong" error message is shown after restoring the account.
Frequency: 40%
Device: iPhone XR (14.4)
Attachment: SomethingWentWrongErrorMessage.png

Hi @Celoqa the latest updated (54 on Testflight and<PHONE_NUMBER> on Android) has a fix for this. Could you test this again please?
Thanks!

Sure @gnardini We will verify on latest builds Android internal build V1.12.2(1004294347) & Test flight build V1.12.2(54) and will update you by EOD.
Thanks !!

@gnardini We have verified this again using latest Test flight build 1.12.2(54) & Android internal build V1.12.2(1004294347) and observed the followings.

"We need you to setup your account" text with Restore Account button is shown when user open the app after automatically logged out.
User redirects to Enter pin page after tapping on restore button
User able to redirect to restore page by entering first name on account info page
Account key get pasted automatically & user should able to restore the account.
"Balance $0.00" popup is shown is user as $0.00 in account after automatically pasted account key.
User redirects to Home page after restoring account & able to see all activity.

Note: "Oops! something went wrong error message is not show & user is able to restore the account without any issues.

https://valora.testquality.com defect D4. Do not remove or edit.


ValueError: 'UNKNOWN' is not a valid LaneMarkType

Hello, Thanks for your great contributions.
I found an error when parsing map data.
For example for log_map_archive_f75d80d6-a1c8-4a0b-915a-7dc304d122b0.json:
Traceback (most recent call last):
File "map_test.py", line 28, in
avm = ArgoverseStaticMap.from_json(Path(dataroot))
File "/Users/wangmingkun/opt/anaconda3/envs/argo2/lib/python3.8/site-packages/av2/map/map_api.py", line 328, in from_json
vector_lane_segments = {ls["id"]: LaneSegment.from_dict(ls) for ls in vector_data["lane_segments"].values()}
File "/Users/wangmingkun/opt/anaconda3/envs/argo2/lib/python3.8/site-packages/av2/map/map_api.py", line 328, in
vector_lane_segments = {ls["id"]: LaneSegment.from_dict(ls) for ls in vector_data["lane_segments"].values()}
File "/Users/wangmingkun/opt/anaconda3/envs/argo2/lib/python3.8/site-packages/av2/map/lane_segment.py", line 110, in from_dict
left_mark_type=LaneMarkType(json_data["left_lane_mark_type"]),
File "/Users/wangmingkun/opt/anaconda3/envs/argo2/lib/python3.8/enum.py", line 339, in call
return cls.new(cls, value)
File "/Users/wangmingkun/opt/anaconda3/envs/argo2/lib/python3.8/enum.py", line 663, in new
raise ve_exc
ValueError: 'UNKNOWN' is not a valid LaneMarkType

I add a "UNKNOWN" type for LaneMarkType. It seems work.
class LaneMarkType(str, Enum):
"""Color and pattern of a painted lane marking, located on either the left or ride side of a lane segment.
The NONE type indicates that lane boundary is not marked by any paint; its extent should be implicitly inferred.
"""
DASH_SOLID_YELLOW: str = "DASH_SOLID_YELLOW"
DASH_SOLID_WHITE: str = "DASH_SOLID_WHITE"
DASHED_WHITE: str = "DASHED_WHITE"
DASHED_YELLOW: str = "DASHED_YELLOW"
DOUBLE_SOLID_YELLOW: str = "DOUBLE_SOLID_YELLOW"
DOUBLE_SOLID_WHITE: str = "DOUBLE_SOLID_WHITE"
DOUBLE_DASH_YELLOW: str = "DOUBLE_DASH_YELLOW"
DOUBLE_DASH_WHITE: str = "DOUBLE_DASH_WHITE"
SOLID_YELLOW: str = "SOLID_YELLOW"
SOLID_WHITE: str = "SOLID_WHITE"
SOLID_DASH_WHITE: str = "SOLID_DASH_WHITE"
SOLID_DASH_YELLOW: str = "SOLID_DASH_YELLOW"
SOLID_BLUE: str = "SOLID_BLUE"
NONE: str = "NONE"
**_UNKNOWN: str = "UNKNOWN"_**

I am not sure if is this in your data definition.

Hi @kingwmk, thanks for reporting this bug! We've landed #58 to address this issue.


5076 upgrade pf5 part 2

Description
Second part of the migration.
Components that have been updated:

Navigation
Header
Toolbar
Select components

The next part will tackle the Dropdown component and then the table.

Processing this pull request

Merged into branches master, iso6 in b5bdca77ecc32f631e43c56e92658133aede80c3


Cannot install to Raspberry Pi running Raspbian - Buster version

followed current instructions for installing to raspberry pi.
Error:
the value "stretch" is invalid for APT

resolved by adding the gpg key manually and also:
going back to code-0ss=1.29.0-1539702286
works great now!


fix: C2593: 'operator =' is ambiguous

Fix build on windows cause by this issue https://github.com/googleapis/google-cloud-cpp/issues/4056

This change is

Thanks for the PR, the code looks good, will wait for the CI builds before merging.

Thanks again for the PR, we are now looking as to why the CI builds missed this, it looks like we need to updated our version of MSVC.


⚠ Bofrost.de has degraded performance

In 9806b5a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1071 ms

Resolved: Bofrost.de performance has improved in 3d5b576 after 6 minutes.


Support for Intel TDX GPU?

Hi Nvidia,
Recalled that from Phil Rogers's presentation in Confidential Computing Summit 2023, it mentioned that the support may come for AMD SEV-SNP and Intel TDX 1.0 CPUs. Combinations of AMD + H100 is still rare among cloud servers, and one may have to customize-build such a machine, but TDX + H100 is available in a few cloud providers such as Coreweave today.
I wonder if support for TDX would be released very soon, following the release of the AMD support?
Thanks,
Weikeng

And let me explain the timeliness of this issue---if TDX support is expected to arrive soon, then we would refrain spending too much effort in securing AMD Milan + H100, which, if required customized build, could be very challenging.

Also hope H100 confidential computing support for Intel TDX would be released very soon.
By the way, may I ask @weikengchen: Enabling confidential computing (CC) mode requires the virtual machine a CVM. However, most GPU cloud providers do not provide a choice of CVM. In this situation, how can I enable CC mode?
Thanks!

Hi @Tan-YiFan, I think it requires customization efforts from the cloud providers. I asked Coreweave, it is possible for large deployment, so needs discussion and negotiations. I am also looking into Microsoft Azure, which has some private previews that may expand to H100 soon. We will see, but I think these two are the short-term solutions.
There is a significant shortage of H100 availability nationwide in the US even IDC appears to be very occupied.
Ideally, it would be super great if Nvidia enables some development mode where a user can experiment with H100 for Confidential Computing although the VM is not being initialized as the development guideline says. In addition, if there is going to be a simulator that enables people to do small tests without having access to H100, it would be even better, but I guess it would be difficult.
I can see that the modifications to the VM may be unavoidable since some are related to patches to the kernel.

On the good side, all of these are expected to be short-term problems, and when the supply chain of H100 becomes more healthy, when the kernel support is more stable, situations will improve.
We should not stop ourselves waiting for the SDK. We should start finding a concrete use case. Unlike SGX which would require a lot of changes to the applications, the current architecture of CC seems to minimize the deployment overhead.

Hi @weikengchen ,

@Tan-YiFan However, we never see any "consumer" code to use the CPU TEE info cpuCapability.

The Confidential Computing Deployment Guide was update to version 2.0 on August 30th. TDX support is added.

@Tan-YiFan However, we never see any "consumer" code to use the CPU TEE info cpuCapability in NV opensource kernel driver. So I'm not quite sure "Enabling confidential computing (CC) mode requires the virtual machine a CVM" is necessary.

Well, the Confidential Computing Deployment Guide says on page 6 that:

CC requires CPUs and GPUs with specific functionality that enable the security outlined by the CC Consortium.

CPU Requirements

AMD with SEV-SNP support
Intel with TDX support

I just follow the above, without validating it by reading relative source code. A CVM might not be necessary, but I do not have access to H100. So I cannot have a try.

Closing out as we released the EA2 with TDX support


visual effects when changing slide

visualEffectOnChangingSlide option passed to the carousel component with the following values:

null (default) - no effects
zoom - after slide switch, all the fully visible slides are zoomed in for 1 second, then zoomed out
border - after slide switch, all the fully visible slides obtain a border for 1 second, the border has the BrainhubCarousel__visualEffectOnChangingSlide__border class, allowing to style it, as default it's solid 5px black

As #483 has been marked as duplicate of this issue, but I see no mention of fading behaviour, so I mention that in this message in order not to lose that suggestion.

As #483 has been marked as duplicate of this issue, but I see no mention of fading behaviour, so I mention that in this message in order not to lose that suggestion.


chuck norris api added

Description
chucknorris.io is a free JSON API for hand curated Chuck Norris facts.
Screenshot
Optional

Checklist

[x] API used in this PR was not used in just-calling-random-api before.
[x] API used in this PR is Public or I have permission to use it.
[x] My contribution is working.
[x] My contribution doesn't expose any API keys.
[x] My changes don't generate any new warnings.
[x] My changes don't affect any work done by other developers.

To tick a box, replace [ ] with [x].

Generate Random Chuck Norris Joke through Chuck Norris API.

Hacktoberfest-accepted

Thanks, Looks good!