Update swiftype synonym list to include common mispellings

We already have some mis-spellings in our synonym list, but looking at recent searches that returned 0 results, there are more we might add - for example, awxs for awsx.  We should review the recent searches list + make needed updates.

azure_native, and awsnative return zero results, which seems bad

pulumi_passphrase or even just passphrase returns zero results. im unsure which page we should link to, maybe https://www.pulumi.com/docs/reference/cli/pulumi_stack_init/? @cnunciato thoughts?

kubernets is a misspelling we should account for

terrafoem could maybe go to the compare to page

pulumi.yml and pulumi.yaml and Pulumi.yaml all return zero results, suggest linking to https://www.pulumi.com/docs/intro/concepts/project/

ansible should have a result for https://www.pulumi.com/docs/intro/vs/chef-puppet-etc/

aws resoure is a misspelling we should account for

@susanev stack init seems good, but if we can surface multiple pages, I'd also add:

https://www.pulumi.com/docs/reference/cli/environment-variables/
https://www.pulumi.com/blog/managing-secrets-with-pulumi/ (still the top Google result)
https://www.pulumi.com/docs/intro/concepts/secrets/

We should probably add more content for that last one, too -- I'll make a note of that.
All of this does make me wonder, though, why "passphrase" yields zero results, as we clearly have content with the word passphrase in it. Any idea?

prolly better for @kimberleyamackenzie to answer since she has more knowledge around this, but i believe our results are only searching h1 and h2 headings, so my guess is that passphrase is not part of a heading

@cnunciato hmm, i looked into this, and even though headings are more important for rankings, we should still be searching the body for words, so it's weird that there would be 0 results for a search term that is in the bodies of documents.  it's hard to understand this particular case now that it's been fixed and lots of results are populated, but definitely let me know if you see it again with another search term so i can maybe pinpoint what's happening here.

cloudfare and cloudlfare for cloudflare

passprase

--show-secrets

@kimberleyamackenzie heres another one if you want to investigate
callback returns only 3 blog results, and im surprised it does not suggest https://www.pulumi.com/docs/intro/concepts/function-serialization/
callbackfunction is what the person actually searched, which returns zero results, and is also on that page but in code blocks, not sure if that matters
@cnunciato i do wonder if i should open content issues for some of these that are coming up, what do you think?

pulumi.config

pulumi.oputput

rndom

vmwate and vmwqre

ansibl

azue

I touched based about this on Slack, but just to document here - the issue with the callback search actually has to do with a smaller result set when typing directly in the input versus using the overlay with full search results.  I documented that issue here https://github.com/pulumi/home/issues/1989 and added it to the search epic.


[NFC] Get rid of #include Lexer.h from ASTContext.cpp

The only other header that depends on Lexer.h is Sema/TypeChecker.h,
so it is safe to get rid of the #include from AST cpp files if it is
not being used without worrying about accidental transitive #includes.

@swift-ci please smoke test


Update docs

Describe the solution you'd like
The docs should include the following information:

launch file arguments
published topics
[WIP will update later]

note: installation script works from scratch ros install (ros-humble-desktop and ros-humble-dev or wtv) as of c70140113dd5e9f322e9bcd11c53f22cf566bbd0


[KBM] Add option to allow keymapping to "character" and not just keycode

📝 Provide a description of the new feature
So I am a german user and we du have umlauts in our language. As I am a developer I like to use an US international keyboard. But sometimes I need to write letters/mails to my colleagues and therefor need to write those kind of letters: öäü
I thought why not remap some keycombinations to those umlauts so I don't have to remember the ASCII codes and stuff any time.
So I created a mapping for the umlauts (keyboard set to 'german') like:

That works flawless until I change the keyboard to "US international":

It changes all the assigned combinations to the equivalent kezcodes for the us keyboard. This is unfortunate and I want the mapping to consider using the original characters typed into the mapping screen.
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
Keep the original characters for the mapping or add the possibility to use a numblock mapping like: alt + 132
https://textentwicklerin.de/glossary/umlaute/
If you'd like to see this feature implemented, add a 👍 reaction to this post.

@NoFuchsGavin
just to clarify, your suggestion is add the functionality of mapping to "letter" not to replace the current mapping because that would remove a useful functionality.
Changing the title to reflect the clarification.

@NoFuchsGavin
just to clarify, your suggestion is add the functionality of mapping to "letter" not to replace the current mapping because that would remove a useful functionality.
Changing the title to reflect the clarification.

Yes, add a functionality to define "characters/letters" instead of keycodes. Maybe adding keycombination sequences aswell like: ALT + 153 (on the numblock) or something like that.
Do not remove the existing keycode remapping, because that's a fine and usefull feature

@enricogior Can you change "letter" to "character" in the title?

Just out of curiosity: @NoFuchsGavin does it not work when you use so called dead keys? Like, press Shift+' (should equal ") and then a vowel?

I'm having the exact same "problem". German developer who needs to use umlauts from time to time
+1

This would solve my problem - my new keyboard doesn't have the pipe symbol. Obviously an alternative solution in my case would be to add the pipe symbol in the list of available key remap values.

#7677

I bought a US layout keyboard, but really need the accents & other characters, so I use it in Spanish Layout. As a developer, I only miss the < and > characters. I could map the first one with the ´< option, but it would be nice to be able to map the > as well.
Awesome tool anyway, thanks for the great free toys :)

Duplicate of https://github.com/microsoft/PowerToys/issues/6976

Duplicate of https://github.com/microsoft/PowerToys/issues/6976

Just out of curiosity: @NoFuchsGavin does it not work when you use so called dead keys? Like, press Shift+' (should equal ") and then a vowel?

@Jay-o-Way this only works with the keyboard layout set to "US, international" requiring to type ' twice to get one quote - one reason I want to use a US keyboard is to type characters like [, ], {, }, and ' without strange keyboard combinations.


delete product

🛠 Fixes Issue
closes #81

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

@zakariyahrobiat please resolve your conflict to allow merging of your PR

@ingressive4good  it has been resolved

hello! @zakariyahrobiat please fix the conflict on your PR

@ingressive4good PR conflict has been fixed

@dprincecoder @t-bello7 done

@dprincecoder @t-bello7 fixed

Do this to resolve the conflicts
file can’t be merged right now
Why:
You have a conflicts to resolve.
proTip: To resolve, first if you forked the repo then sync it with i4g repo so everything is up to date
Second: checkout to the develop branch and do git pull.
third: checkout to a new branch called resolve conflicts, then if you can copy the code you already did in old branch that conflicts then do else you can code afresh, when done, checkout to this branch that has conflicts then merge this new branch called resolve conflicts you created earlier then you can now see all conflicting files to resolve it.
To make it simple in vscode open all files showing the conflicts then hovering on them will ask you to either accept incoming changes, keep both Changes or compare changes, here click on accept incoming changes after all this, you will see a button that say mark as resolve click it, do so in all conflicting files, you should be good, then commit your changes

Looks good to merge


Data Transfer - Complete Workflow Implementation for HIP

As a developer, I would like to implement all the workflows related business logic which is required for HIP data transfer.

This has been taken care of.


Discover and design reports workflow for EIO

Describe the task
This ticket covers the work required to uncover how different EIOs are from the rest of the flow, what are some discrepancies to resolve and any other finer details
Acceptance Criteria

[x] Document information about EIOs from BA
[x] Create designs or a separate flow
[x] See what impacts registration or is affected by registration
[x] Review and refine with BA

Additional context

Add any other context about the task here.

Wireframe can be found here

Looks good.


FE: Update integrations DB connector form

Decription

Note
This depends on https://github.com/ethyca/fides/issues/3519

Update DB connector creation to only show unlinked datasets. This helps prevent errors due to a legacy unique constraint on the DatasetConfig.fides_key column.
When editing update the dataset dropdown to exclude all saas connector template datasets. This is because saas connector datasets for automatically managed for static saas APIs. DB connectors are for bespoke schemas that are unique to each user. It doesn't make sense to link a DB connector to a saas connector dataset for this reason.
### Tasks
- [ ] Update the dataset dropdown to only show unlinked datasets
- [ ] Update the dataset dropdown to not show saas connector datasets when editing

moving to done


redirect user to inbox thread to send dm from creator profile

Clicking "Message User" opens the Inbox component and selects the thread based on the username.
Also resolves an issue when clicking on the change account selector.

Oh that's Great. I did same, but forget to submit pull request, i used button with Buy Button. Anyway its same goal :)


Enchanter missing recipes

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Enchanter does not have support for enderio's own enchantments, port them from 1.12

The only recipe currently missing is the one for XP boost, should that be craftable ?


How do I add a loading screen to desktop builds?

Describe your problem here.
I tried messing with the Project.xml but nothing I tried worked. I can't find a way to add loading screens to the desktop versions of psych.
Does anyone know how to add the loading screens to desktop builds?
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

do you mean like entity mod thing? if yes well this the answer:
Just delete no_preload_all on loadingstate.hx
is easy tho
but unfortunately it will be useless, since load a song wont take so much time
also if you get any error of like this, delete #end line
ERROR 1: source/loadingstate.hx:171: characters 3-7 : Expected }

ERROR 2: source/loadingstate.hx:186: characters 2-6 : Expected }

And make sure replace funkay.png with the custom one you make (the size must be 1675 x 1083)
I hope this usefull for you!
If you have any question, go dm me in discord! (Kaysan#3035)

Duplicate of #1441


fix: remove unsed code on detecting file type

This RP only remove unused code based on the comment on https://github.com/microsoft/vscode/blob/01d0314308fdf83801c3d7abf43b7a2702ea9263/src/vs/base/common/mime.ts#L172
Besides, it won't cause any functional change after remove the line.

I do not see how that code is unused, it is an early return. Closing until further info is provided.

If you choose to remain the early return, the following code will nerver be executed.
https://github.com/microsoft/vscode/blob/master/src/vs/base/common/mime.ts#L195-L198

I do not really understand your suggestion, but we cannot simply remove the break statement as the idea was to break the for loop when we found a exact name match?

Oh, sorry, I forget the for loop.
Another question, why not add a break after line 180 and line 189?
Thank you for your patient : )

Because in that case we still allow the other match.

Oh, maybe you are onto something, looks like a break could indeed work...

No, unfortunately not. We cannot break because we may get a filenameMatch later in the loop.

Totally understood, Thank you.


Missing formatters vs Intl polyfill

Languages currently missing formatters vs. the Intl polyfill data provided by https://github.com/andyearnshaw/Intl.js

[ ] Language code: ce

Language: https://en.wikipedia.org/wiki/Chechen_language
Intl polyfill reference: https://github.com/andyearnshaw/Intl.js/blob/master/locale-data/json/ce.json

[ ] Language code: cu

Language: https://en.wikipedia.org/wiki/Church_Slavonic_language
Intl polyfill data: https://github.com/andyearnshaw/Intl.js/blob/master/locale-data/json/cu.json

[ ] Language code: lrc

Language: https://en.wikipedia.org/wiki/Luri_language
Intl polyfill data: https://github.com/andyearnshaw/Intl.js/blob/master/locale-data/json/lrc.json

[ ] Language code: mzn

Language: https://en.wikipedia.org/wiki/Mazanderani_language
Intl polyfill data: https://github.com/andyearnshaw/Intl.js/blob/master/locale-data/json/mzn.json

[ ] Language code: roo

Language: https://en.wikipedia.org/wiki/Rotokas_language
Intl polyfill data: https://github.com/andyearnshaw/Intl.js/blob/master/locale-data/json/roo.json

@betaorbust those locales were added very recently in CLDR 28.0.0.
This will require a revamp of https://github.com/yahoo/formatjs-extract-cldr-data to use CLDR 28.

Sounds good @caridy.
I've submitted an update issue against yahoo/formatjs-extract-cldr-data to help keep track.

v1.3.0 is now using CLDR 28.


 with specifying xs seems broken

Great library but this one part seems to be broken.  If I'm setting e.g. xs={4} on a <Col /> it's because I want it to be 4 columns wide i.e. col-xs-4.  Why is it intentionally overridden like here in the code to use a class like col-4?
https://github.com/reactstrap/reactstrap/blob/d394c45083d5ffbab0b5bc5f63c28c92dc4eb833/src/Col.js#L44
col-x type classes don't even seem to exist in the boostrap.css?
)
This breaks mobile styles for me as every col becomes 100% width.
Am I missing something or is this broken?

Nevermind!  Had a bad bootstrap css file.  Fixed by importing the css file directly from the bootstrap npm package.  Thanks!


ENTMQBR-4468 Encrypting amq broker pod credentials from env variables

Instead of encrypt the credentials we can simply remove them from the
main container (they are used only in init container)
Issue #166

close this as it will break things that rely on those env vars


The policy; Deploy-Diagnostics-FrontDoor isn't applied to front door resource to configure it's diagnostic settings

What happened? Provide a clear and concise description of the bug, including deployment details.
After a customer reported and I personally observed that the custom initative Deploy-Diagnostics-LogAnalytics (display name: "Deploy Diagnostic Settings to Azure Services") was not working for the Azure Front Door service, I wanted to isolate and rule out the specific custom policy myself, which is Deploy-Diagnostics-FrontDoor (display name: "Deploy Diagnostic Settings for Front Door to Log Analytics workspace"). So I deployed an Azure Front Door resource and attempted to remediate the policy against the management management group, resource group and this provisioned front door resource. However it  remediated as compliant so technically there are no distinct errors to report, except that the policy is not applied to any resources. See screenshot below:

Also, here is the ARM template of the deployed Azure Front Door resource:
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "profiles_azr_fdr_01_name": {
            "defaultValue": "azr-fdr-01",
            "type": "String"
        }
    },
    "variables": {},
    "resources": [
        {
            "type": "Microsoft.Cdn/profiles",
            "apiVersion": "2022-11-01-preview",
            "name": "[parameters('profiles_azr_fdr_01_name')]",
            "location": "Global",
            "sku": {
                "name": "Standard_AzureFrontDoor"
            },
            "kind": "frontdoor",
            "properties": {
                "originResponseTimeoutSeconds": 60,
                "extendedProperties": {}
            }
        },
        {
            "type": "Microsoft.Cdn/profiles/afdendpoints",
            "apiVersion": "2022-11-01-preview",
            "name": "[concat(parameters('profiles_azr_fdr_01_name'), '/', parameters('profiles_azr_fdr_01_name'))]",
            "location": "Global",
            "dependsOn": [
                "[resourceId('Microsoft.Cdn/profiles', parameters('profiles_azr_fdr_01_name'))]"
            ],
            "properties": {
                "enabledState": "Enabled"
            }
        },
        {
            "type": "Microsoft.Cdn/profiles/origingroups",
            "apiVersion": "2022-11-01-preview",
            "name": "[concat(parameters('profiles_azr_fdr_01_name'), '/default-origin-group')]",
            "dependsOn": [
                "[resourceId('Microsoft.Cdn/profiles', parameters('profiles_azr_fdr_01_name'))]"
            ],
            "properties": {
                "loadBalancingSettings": {
                    "sampleSize": 4,
                    "successfulSamplesRequired": 3,
                    "additionalLatencyInMilliseconds": 50
                },
                "healthProbeSettings": {
                    "probePath": "/",
                    "probeRequestType": "HEAD",
                    "probeProtocol": "Http",
                    "probeIntervalInSeconds": 100
                },
                "sessionAffinityState": "Disabled"
            }
        },
        {
            "type": "Microsoft.Cdn/profiles/origingroups/origins",
            "apiVersion": "2022-11-01-preview",
            "name": "[concat(parameters('profiles_azr_fdr_01_name'), '/default-origin-group/default-origin')]",
            "dependsOn": [
                "[resourceId('Microsoft.Cdn/profiles/origingroups', parameters('profiles_azr_fdr_01_name'), 'default-origin-group')]",
                "[resourceId('Microsoft.Cdn/profiles', parameters('profiles_azr_fdr_01_name'))]"
            ],
            "properties": {
                "hostName": "<IP_ADDRESS>",
                "httpPort": 80,
                "httpsPort": 443,
                "originHostHeader": "<IP_ADDRESS>",
                "priority": 1,
                "weight": 1000,
                "enabledState": "Enabled",
                "enforceCertificateNameCheck": true
            }
        },
        {
            "type": "Microsoft.Cdn/profiles/afdendpoints/routes",
            "apiVersion": "2022-11-01-preview",
            "name": "[concat(parameters('profiles_azr_fdr_01_name'), '/', parameters('profiles_azr_fdr_01_name'), '/default-route')]",
            "dependsOn": [
                "[resourceId('Microsoft.Cdn/profiles/afdendpoints', parameters('profiles_azr_fdr_01_name'), parameters('profiles_azr_fdr_01_name'))]",
                "[resourceId('Microsoft.Cdn/profiles', parameters('profiles_azr_fdr_01_name'))]",
                "[resourceId('Microsoft.Cdn/profiles/origingroups', parameters('profiles_azr_fdr_01_name'), 'default-origin-group')]"
            ],
            "properties": {
                "customDomains": [],
                "originGroup": {
                    "id": "[resourceId('Microsoft.Cdn/profiles/origingroups', parameters('profiles_azr_fdr_01_name'), 'default-origin-group')]"
                },
                "ruleSets": [],
                "supportedProtocols": [
                    "Http",
                    "Https"
                ],
                "patternsToMatch": [
                    "/*"
                ],
                "forwardingProtocol": "MatchRequest",
                "linkToDefaultDomain": "Enabled",
                "httpsRedirect": "Enabled",
                "enabledState": "Enabled"
            }
        }
    ]
}

Thanks for checking this out for us. :-)
Please provide the correlation id associated with your error or bug.
"correlationId": "712f5554-eb12-4db9-9719-699f86f88463"
What was the expected outcome?
The expected outcome was that the diagnostic settings would be defined, as opposed to not - as shown in the screenshot here.

Relevant log output
{
    "authorization": {
        "action": "Microsoft.Authorization/policyAssignments/write",
        "scope": "/subscriptions/<redacted>/resourceGroups/orgid-mgmt/providers/Microsoft.Authorization/policyAssignments/a1e1c6b76c874356ba72fd51"
    },
    "caller": "<redacted>.onmicrosoft.com",
    "channels": "Operation",
    "claims": {
        "aud": "https://management.core.windows.net/",
        "iss": "https://sts.windows.net/<redacted>/",
        "iat": "1702667167",
        "nbf": "1702667167",
        "exp": "1702672597",
        "http://schemas.microsoft.com/claims/authnclassreference": "1",
        "aio": "AYQAe/8VAAAAaHANg5Ez6Z/0zNt8pp18FzStz7+ANYQdj+zFIJYB8xTp6SZ6808aNA7AkCuSAKrwd0f+Pri9x76nOc+LOkXFgpUOe5l3uGqISt8AucbBjXjOuaxgG3ZeNMJx881sjO9aB7JvdNpDW58qqMu4EkDCLxpuV/+mHIePK724tjI3ljE=",
        "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd,mfa",
        "appid": "c44b4083-3bb0-49c1-b47d-974e53cbdf3c",
        "appidacr": "0",
        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Administrator",
        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "System",
        "groups": "672b9e43-f289-4215-abf4-8a4e2041b805,5991de3b-7688-4824-8238-1c66927c8046,465d3176-9e9f-4648-ad6a-f76e5f7b25a1,08f032a3-94aa-4ee0-8290-34f2693d9829,f67d1bce-e3d5-4e22-acb4-9136db2c9259,2fa6e2dc-eb4b-476a-8ca7-945120f8d7c1",
        "idtyp": "user",
        "ipaddr": "2603:3003:1d6:a100:d1b5:a63b:dc84:13f0",
        "name": "System Administrator",
        "http://schemas.microsoft.com/identity/claims/objectidentifier": "85129822-d164-474a-a097-f840162ca9ec",
        "puid": "1003200276E21128",
        "rh": "0.AXwAqUIORMdUd02RpDBvj-QYPUZIf3kAutdPukPawfj2MBO7AMg.",
        "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation",
        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "g6-DiUt4DmypDZjtjF8znesvAnlZoxab7HnHaCwomPc",
        "http://schemas.microsoft.com/identity/claims/tenantid": "<redacted>",
        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "<redacted>.onmicrosoft.com",
        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "<redacted>.onmicrosoft.com",
        "uti": "aFy1-3sXKkm2PTY52AVKAA",
        "ver": "1.0",
        "wids": "62e90394-69f5-4237-9190-012177145e10",
        "xms_cae": "1",
        "xms_tcdt": "1676631305"
    },
    "correlationId": "712f5554-eb12-4db9-9719-699f86f88463",
    "description": "",
    "eventDataId": "951a6ab1-6e25-42a5-9b0d-8a585528e207",
    "eventName": {
        "value": "BeginRequest",
        "localizedValue": "Begin request"
    },
    "category": {
        "value": "Administrative",
        "localizedValue": "Administrative"
    },
    "eventTimestamp": "2023-12-15T19:23:50.9658638Z",
    "id": "/subscriptions/<redacted>/resourceGroups/orgid-mgmt/providers/Microsoft.Authorization/policyAssignments/a1e1c6b76c874356ba72fd51/events/951a6ab1-6e25-42a5-9b0d-8a585528e207/ticks/638382650309658638",
    "level": "Informational",
    "operationId": "712f5554-eb12-4db9-9719-699f86f88463",
    "operationName": {
        "value": "Microsoft.Authorization/policyAssignments/write",
        "localizedValue": "Create policy assignment"
    },
    "resourceGroupName": "orgid-mgmt",
    "resourceProviderName": {
        "value": "Microsoft.Authorization",
        "localizedValue": "Microsoft.Authorization"
    },
    "resourceType": {
        "value": "Microsoft.Authorization/policyAssignments",
        "localizedValue": "Microsoft.Authorization/policyAssignments"
    },
    "resourceId": "/subscriptions/<redacted>/resourceGroups/orgid-mgmt/providers/Microsoft.Authorization/policyAssignments/a1e1c6b76c874356ba72fd51",
    "status": {
        "value": "Started",
        "localizedValue": "Started"
    },
    "subStatus": {
        "value": "",
        "localizedValue": ""
    },
    "submissionTimestamp": "2023-12-15T19:28:55Z",
    "subscriptionId": "<redacted>",
    "tenantId": "<redacted>",
    "properties": {
        "requestbody": "{\"properties\":{\"displayName\":\"Deploy-Diagnostics-FrontDoor\",\"metadata\":\"******\",\"scope\":\"/subscriptions/<redacted>/resourceGroups/orgid-mgmt\",\"notScopes\":[],\"policyDefinitionId\":\"/providers/Microsoft.Management/managementGroups/orgid/providers/Microsoft.Authorization/policyDefinitions/30527479-fc59-4424-9596-122ac10ce928\",\"enforcementMode\":\"Default\",\"parameters\":\"******\",\"nonComplianceMessages\":\"******\",\"resourceSelectors\":[],\"overrides\":[]},\"location\":\"centralus\",\"identity\":{\"type\":\"SystemAssigned\"}}",
        "eventCategory": "Administrative",
        "entity": "/subscriptions/<redacted>/resourceGroups/orgid-mgmt/providers/Microsoft.Authorization/policyAssignments/a1e1c6b76c874356ba72fd51",
        "message": "Microsoft.Authorization/policyAssignments/write",
        "hierarchy": "<redacted>/orgid/orgid-platform/orgid-management/<redacted>"
    },
    "relatedEvents": []
}

Check previous GitHub issues

[X] I have searched the issues for this item and found no duplicate

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey @autocloudarc,
Thanks for reporting, we are aware of this and it is because the policy we have in the initiative today is looking for front door classic (as the new front door didn't exist when ALZ started), so we need to add a new definition into the initiative for the new front door offering, but we are working with the PGs to get this published as a built in so it's not another custom policy to manage, as explained on the last external community calls (https://aka.ms/alz/community)
We are tracking this upstream in the ALZ (enterprise-scale) repo here: https://github.com/Azure/Enterprise-Scale/issues/1288
So will close this one here as a duplicate


chore: split runtime as core and entry

Description

split runtime into two parts : runtime-core entry

runtime-core: no sideEffect
entry: has sideEffect , it will cache federationInstance

add externalRuntime field to help optimize assets size

the externalRuntime field has below options:

true: Usually set in the producer, after setting it will external MF runtime and use the runtime provided by the consumer. (Please make sure your consumer has externalRuntime: "provide" set, otherwise it will not run properly!)
'provide': Usually set in the top-level consumer. After setting, MF runtime will be injected globally. If the producer sets externalRuntime: true, then the runtime provided by this consumer will be used.
false: Default configuration, no operation will be performed on runtime

Related Issue

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Checklist

[X] I have added tests to cover my changes.
[X] All new and existing tests passed.
[X] I have updated the documentation.

processing this pr now

@ScriptedAlchemy  hey , i add externalRuntime field to help users access this feature easier ,WDYT ?

@2heal1 i like it! I can review more tomorrow.
Is this ready to merge?

@2heal1 i like it! I can review more tomorrow. Is this ready to merge?

It needs to be tested in byte repo , but not longer , next Monday can be ready .

Also i add some info for version 1.0.0 .
Plans to make @module-federation/runtime-core to become @module-federation/runtime , because currently the runtime package has sideEffects which can no be extends easily , like external it by cdn etc.
So , it's necessary to change it . We can only export init to users , users should store the instance by theirselves .
This will make a break change ,so it's just a plan , we can do it on 1.0.0 version . WDYT @ScriptedAlchemy @zhoushaw

wait for reviewing


feat: enable image modality for ChatAgent

Description
Enable image modality for ChatAgent. Notice that only tested with single step chat agent, which means that the assistant agent just perform one step given some images etc.
Motivation and Context
Part of #454

[x] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds core functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[x] Example (update in the folder of example)

Implemented Tasks

Enable image modality in BaseMessage
Create a new ChatGPTVisionConfig as the vision model config is different from the text one
Update token counting for images
Create object recognition task type and example

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[x] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[x] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.

@Wendong-Fan I create a mock test instead as it costs relatively a lot for using the vision model.

Thank @zechengz for the amazing implementation!!
Some questions to discuss:

Is ChatGPTVisionConfig needed? Could we use ChatGPTConfig instead?
Could we also merge FunctionCallingConfig with ChatGPTConfig also well? There may be some extra or not supported keys when we call the API endpoint for different models. But I guess we can filter the ones that are different from the default values when we revert them to dict. By doing this, we can hugely simplify the abstraction.
Since now gpt-4-turbo supports vision and function calling, should we just remove ModelType.GPT_4_TURBO_VISION and use ModelType.GPT_4_TURBO instead?

gpt-4-vision-preview	GPT-4 model with the ability to understand images, in addition to all other GPT-4 Turbo capabilities. This is a preview model, we recommend developers to now use gpt-4-turbo which includes vision capabilities. Currently points to gpt-4-1106-vision-preview.

Thank @zechengz for the amazing implementation!!
Some questions to discuss:

Is ChatGPTVisionConfig needed? Could we use ChatGPTConfig instead?
Could we also merge FunctionCallingConfig with ChatGPTConfig also well? There may be some extra or not supported keys when we call the API endpoint for different models. But I guess we can filter the ones that are different from the default values when we revert them to dict. By doing this, we can hugely simplify the abstraction.
Since now gpt-4-turbo supports vision and function calling, should we just remove ModelType.GPT_4_TURBO_VISION and use ModelType.GPT_4_TURBO instead?

gpt-4-vision-preview	GPT-4 model with the ability to understand images, in addition to all other GPT-4 Turbo capabilities. This is a preview model, we recommend developers to now use gpt-4-turbo which includes vision capabilities. Currently points to gpt-4-1106-vision-preview.

c.c. @Wendong-Fan @dandansamax @ocss884

Hey @lightaime , I agree with you, we can remove ModelType.GPT_4_TURBO_VISION since currently we can get ride of gpt-4-1106-preview and gpt-4-vision-preview by using gpt-4-turbo. Further, it would be great to remove ChatGPTVisionConfig , merge FunctionCallingConfig  into ChatGPTConfig  to make the abstraction tidy.
One more suggestion after I read the latest OpenAI doc, we can also add parameter detail to give user better flexibility. @zechengz

By controlling the detail parameter, which has three options, low, high, or auto, you have control over how the model processes the image and generates its textual understanding. By default, the model will use the auto setting which will look at the image input size and decide if it should use the low or high setting.
low will enable the "low res" mode. The model will receive a low-res 512px x 512px version of the image, and represent the image with a budget of 65 tokens. This allows the API to return faster responses and consume fewer input tokens for use cases that do not require high detail.
high will enable "high res" mode, which first allows the model to see the low res image and then creates detailed crops of input images as 512px squares based on the input image size. Each of the detailed crops uses twice the token budget (65 tokens) for a total of 129 tokens.

@lightaime @Wendong-Fan SGTM, will create another PR for these.

Hey @zechengz , I create a new issue, let's work on this together with @ocss884  to refactor it
https://github.com/camel-ai/camel/issues/526
cc @lightaime


Add Supabase as Vector Database

Add Chroma as an embedding storage option

@elisalimli Could you please add Supabase in as a vector DB option, wont work for users that have supabase otherwise.


Become official Docker library

Currently Dart is under the google namespace. It would be great if this was an official Docker library so you could pull dart instead of google/dart.

See
https://github.com/docker-library/official-images/pull/10144
and
https://github.com/docker-library/docs/pull/1944

We'll deprecate this repo once dart-lang/dart-docker (with a - rather than a _ goes official). We'll still publish to google/dart for a while in parallel but we won't be evolving the containers in this repo anymore.

For the repo for our candidate official image, see:
https://github.com/dart-lang/dart-docker

Fixed in https://github.com/docker-library/official-images/commit/5f961ff5ebed1de08908203d55382f3a60fe49c7

And you can now use FROM dart, folks! 🚀
https://hub.docker.com/_/dart


Basicnat

I tried to run it with a sample .pcap file but I got an error:
./snabb snsh apps/basicnat/main.lua apps/packet_filter/samples/v4-tcp-udp.pcap /tmp/output.pcap
lib/pcap/pcap.lua:36: attempt to concatenate local 'file' (a nil value)

The sample .pcap works for me; you need to use sudo.
% sudo ./snabb snsh apps/basicnat/main.lua apps/packet_filter/samples/v4-tcp-udp.pcap /tmp/output.pcap
%
Re: the rest, thanks for the review comments. I had mentioned it didn't have configurable IPs yet, and it still needs cleanup; it's still a proof-of-concept hack.

Thanks, I totally forgot about the sudo.


NDT_matching uses GPU as default

Bug
Expected Behavior
ndt_matching executed from runtime-manager with pcl_generic method type option is expected to run on CPU.
Actual Behavior
It runs on GPU.
(I confirmed it by nvidia-smi -l 1 while  ndt_matching is running. The command output shows a process named ndt_matching consumes GPU resource)
Steps to Reproduce the Problem

Execute ndt_matching with pcl_generic option from runtime-manager

Specifications

Ubuntu version: 14.04
ROS Version: Indigo
Autoware branch: develop

Thank you for the report.
The GPU resource  is consumed at the time of instance creation of line 131.
https://github.com/CPFL/Autoware/blob/develop/ros/src/computing/perception/localization/packages/ndt_localizer/nodes/ndt_matching/ndt_matching.cpp#L131
When using pcl_generic option, instance of the GPU implementation is generated, but the instance is NOT used and CPU implementation is used.
It is strange because it consumes useless GPU resources,
It works without problems.
In order to solve this problem, it is necessary to change the structure of the code,
I am going to fix it.

[Just a small idea - I don't even know for sure how AutoWare is detecting and allocating GPU resources]
Would it be possible to make the resources invisible to Autware by specifying environment variables i.e. without restructuring the code? This idea is stolen directly from Tensorflow, where I use a basic function like the following to decide which GPU devices are visible. If they are visible, Tensorflow reserves them all by default - even if they are not fully used.
def set_gpu(device=1):
    """Set which GPU devices are visible to Keras/Tensorflow using PCI_BUS_ID

    An alternative for direct use within a jupyter notebook, using magics:
    %env CUDA_DEVICE_ORDER=PCI_BUS_ID
    %env CUDA_VISIBLE_DEVICES=1

    Parameters
    ----------
    device : comma-separated list of device IDs e.g. "1", or "0,2", optional

    Returns
    -------
    out : None. prints success message

    """
    try:
        os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"   # see issue #152
        os.environ["CUDA_VISIBLE_DEVICES"] = device
        print('Successfully set visibility to {}'.format(device))
    except Exception as e:
        print('Failed to set GPU device visibility!')
        print(e)

I can make a new issue if you would like yo pursue the possibility;
however, It is actually not an issue for me personally.
Shall I create one?
On Fri, 11 May 2018, 03:20 Yuki Kitsukawa<EMAIL_ADDRESS>wrote:

I confirmed this is fixed in #1248
https://github.com/CPFL/Autoware/pull/1248.
@Nicholas-Mitchell https://github.com/Nicholas-Mitchell Can you make a
new issue regarding the GPU resource allocation?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CPFL/Autoware/issues/1171#issuecomment-388231526, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMOhpW2j5cHgWnD99q7MqFl7qdnkPfchks5txOdjgaJpZM4SwaHy
.


Add Stampery

We are Stampery strongly rely on Elixir and Erlang/OTP for our patent-pending "BTA" solution for scalable and distributed bitcoin blockchain data recording.

That's really cool @aesedepece, I hope you all write more about your usage! :+1:


Slider Gallery - List Dropdown is not coming.

Hi
I'm facing issue while configuring Slider Gallery , Data > List Dropdown is not coming.
Can not select the Doc Library. I'm using Modern Site.
Any idea??
Thank you

Hi,
I'm facing the same issue. Also a Modern Site.
Thank you.

I was trying with Document Library, It was not working.
But tried with Picture Library, It worked.
Good luck..
On Thu, Feb 27, 2020 at 9:43 PM YolandaANVA<EMAIL_ADDRESS>wrote:

Hi,
I'm facing the same issue. Also a Modern Site.
Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OlivierCC/spfx-40-fantastics/issues/118?email_source=notifications&email_token=AHEGUQUFFEAMTSWQYAN7PDTRE7RELA5CNFSM4K45C7V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENE5YGY#issuecomment-592043035,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHEGUQU7HVKUZIFQPN4X6Y3RE7RELANCNFSM4K45C7VQ
.

--
Thanks You
Ananda


Fix nightly alpha build version deps

What
Run enforce build flavor to ensure the correct || dep is chosen
Why
Missed in #3418

(added this week OCEs to PR)


Best way to add a time out?

Hey there :)
I don't think there is a builtin thing to add a time out to a promise, so how would you do it?
The only thing I can think of right now is after I start my promises, I just do something like TimeOutHelper.RegisterPromise(promise) that will start a coroutine, wait for x seconds, and then reject the coroutine if it's not done.
Thanks!

Thanks for all your answers and sorry for the time it took to answer...
I find it way easier and using less line of codes doing just this:
`
void Start ()
{
Promise myPromise = new Promise();
StartCoroutine(TimeOutPromiseCoroutine(myPromise, 2f));
}
private IEnumerator TimeOutPromiseCoroutine(Promise promise, float timeOut)
{
yield return new WaitForSeconds(timeOut);
    if (promise.CurState == PromiseState.Pending)
    {
		promise.Reject(new Exception("Promise has timed out"));
    }
}

`
I can reuse the coroutine everywhere I want, instead of adding the same code before starting any promise (same thing @ashleydavis suggest in his blog post).
And also, I prefer not to use the PromiseTimer, because I have to create an instance as a class variable, and call Update on it in an update method. And if I want to use multiple promise timers, each of them needs to be added in the Update method etc... kind of "hard" to manipulate.
I think it's more elegant with a simple coroutine.
But maybe I'm wrong?

Looks like a neat solution! With the PromiseTimer, the pattern that I have found generally works best is to just have a single instance of it that is shared throughout your app. An easy way to manage this is to create a singleton object which updates the PromiseTimer and then use that everywhere else in your code.
The only case where I might use multiple PromiseTimers would be maybe if I had some things that I wanted updated on FixedUpdate or at a different rate to the regular Update loop.

"the pattern that I have found generally works best is to just have a single instance of it that is shared throughout your app"
I don't understand how you can share it. Once a promise timer is consumed, you can't reuse it right?

You can call WaitFor, WaitUntil or WaitWhile on the same PromiseTimer object as many times as you want and each time will return a new promise. The starting time is the time at which you called WaitFor, not the time the PromiseTimer was constructed.

Oh I didn't know. You mean you could do PromiseTimer.WaitFor directly?
Without having to do use an instance like this?
PromiseTimer myTimer = new PromiseTimer();
myTimer.WaitFor

If that's the case, I maybe didn't have the latest version when I tested.

Instance once and use as many times as you like.
PromiseTimer myTimer = new PromiseTimer();
myTimer.WaitFor(....).Then(something);
myTimer.WaitFor(...).Then(somethingElse);
myTimer.WaitFor(...).Then(keepGoingAsManyTimesAsYouWouldLike);

Thanks for the answer :)
I didn't know we could do that (would be nice to have that in the documentation :D).
This means every time I call WaitFor, it "reset" the state of the promise.

It creates a separate promise every time you call WaitFor.

I put together a quick example of a singleton like Ash mentioned above. You can find it here  To use it you would just call
Promise waitForPromiseOne = PromiseTimerManager.Instance.WaitFor(secondsToWait);
waitForPromiseOne.Then(() => /do something/);
calling this function again gives you a new promise that is independent of this first one
Promise waitForPromiseTwo = PromiseTimerManager.Instance.WaitFor(secondsToWait);
waitForPromiseTwo.Then(() => /do something else/);
This gives you a single place, and a single promise timer, that can handle all your promise timer needs instead of each class needing their own.
I hope this helps.

Sorry to necro the thread, just found it and attempted to build something by putting together @ashleydavis's answer with @adamsingle's manager setup.
I've gone for an extension method because it preserves the fluid-API of the original library and lets you chain a timeout onto any promise like so:
ExamplePromise().Timeout(5).Done(OnPromiseResolved, OnPromiseRejected);
Where the Timeout method is esentially calling @ashleydavis's code in the first answer:
public static class Promises
{
    private static readonly PromiseTimer _timer = new();

    public static void Update(float deltaTime) => _timer.Update(deltaTime);

    public static IPromise WaitFor(float seconds) => _timer.WaitFor(seconds);

    public static IPromise WaitUntil(Func<TimeData, bool> predicate) => _timer.WaitUntil(predicate);

    public static IPromise WaitWhile(Func<TimeData, bool> predicate) => _timer.WaitWhile(predicate);

    public static IPromise Timeout(this IPromise initialPromise, float timeout)
    {
        var promise = new Promise();
        var resolved = false;

        WaitFor(timeout).Then(() =>
        {
            if (!resolved) promise.Reject(new PromiseTimedOutException(timeout));
        });

        initialPromise
            .Then(() =>
            {
                resolved = true;
                promise.Resolve();
            })
            .Catch(exception =>
            {
                resolved = true;
                promise.Reject(exception);
            });

        return promise;
    }
}


Create service map for comms touchpoints

What are all of the current touchpoints, including manual and automated?
Scope of comms touchpoints:

Any part of the regular process of communicating with our users (onboarding, account creation, password resets, account locks, feature updates, feedback requests)
Should include not just the touchpoints but also the copy

Where can we improve? E.g. automating manual tasks, inserting touchpoints.

Start with Heather's onboarding mural.

Link to onboarding mural for reference: https://app.mural.co/t/primedatainput6410/m/primedatainput6410/1610562706533/6f85773440e6fe05ae851563c41a5d85dc422970

I pulled all of the automated Okta emails for you here

Latest Mural tracking existing onboarding process
https://app.mural.co/t/primedatainput6410/m/primedatainput6410/1620247443440/5bf3507a8a64771c662d61a79e8f6a96c5822843?sender=victor4133


Fix up main so it's not so complex

Linter is complaining about
./main.py:60:1: C901 'main' is too complex (23)
1     C901 'main' is too complex (23)
Use bot cogs to move the command listeners to it's own module.
See https://discordpy.readthedocs.io/en/stable/ext/commands/cogs.html

#45 closes this issue too


add titles to matrix and remove them on JS load

Resolves issue #357
cc: @moschel @atomgroomdesign
With JS disabled:

A gif for atom.


Live Demo not saving json content?

Hi,
I' wondering how to edit json-content in the live-Demo:
https://kaffy.gigalixirapp.com/admin/products/product/1
with option:
{
"calories": 348,
"sugar": 18
}
is always saying "options is invalid".
The strange thing is, that this is just the value for option, that is, i changed nothing.
Thanks,
Werner.

Hello @WernerBuchert
Good catch!


Add Support for Predefined Enum Collections in DataObject Initialization

Hey there,
I encountered an issue while trying to create a DataObject that already incorporates an enum. Specifically, I found myself in situations where I needed to initialize my DataObject with a predefined enum collection.
For instance, let's consider an enum collection named SourceOfFunds:
[
  SourceOfFunds::Employment,
  1, // SourceOfFunds::Business,
  2, // SourceOfFunds::FamilySupport
]

To address this need, I've implemented changes in this pull request to support such scenarios. This enhancement will facilitate smoother integration of predefined enum collections into DataObject.
Looking forward to your feedback!
P.S. If I might be wrong on implementing this feature, could you please be able to provide me some information? Thank you.

Thanks!

I've reverted this since this is already working:
it('can create enums array with existing and non existing enums', function () {
    $dataClass = new class extends Data {
        /** @var array<int, \Spatie\LaravelData\Tests\Fakes\Enums\DummyBackedEnum>  */
        public array $prop;
    };

    $data = $dataClass::from([
        'prop' => ['foo', DummyBackedEnum::BOO],
    ]);

    dd($data);
});

Outout:
Spatie\LaravelData\Data@anonymous {#1940
  #_additional: []
  #_dataContext: null
  +prop: array:2 [
    0 => Spatie\LaravelData\Tests\Fakes\Enums\DummyBackedEnum {#1021
      +name: "FOO"
      +value: "foo"
    }
    1 => Spatie\LaravelData\Tests\Fakes\Enums\DummyBackedEnum {#1470
      +name: "BOO"
      +value: "boo"
    }
  ]
}


Different sharing text by social network / activity

Is it possible with the current framework as is to provide different messages based on the activity being chosen?  use case here is obviously Twitter which limits the available message to 140 characters.

That would be great indeed.

this was 2 years ago, so I'm assuming it isn't happening, closing


Bridge addition: Beamer

Could you please add Beamer? https://twitter.com/beamerbridge

here it is https://l2beat.com/bridges/projects/beamerbridgev2


⚠ Secret Website 3 has degraded performance

In 65d4e35, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2150 ms

Resolved: Secret Website 3 performance has improved in 1dba348.


[Feature Request]: Allow some sort of fullscreen/distraction free reading mode

Describe the feature you'd like
As of now, when using code blocks with large amount of code, it can be hard to view the whole thing and always scrolling left and right is not optimal. Plus the small reading width could be better. I was thinking of some sort of fullscreen or distraction free reading mode where it would get rid of the left and right sections/menus and take the full screen space to display the doc.
Describe the benefits this would bring to existing BookStack users
The would bring easier readability for:

Long docs
Docs with big images
All the code blocks

Can the goal of this request already be achieved via other means?
Probably just by exporting the doc in PDF but that defeat the purpose of using Bookstack
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?
0 to 6 months
Additional context
No response

Hi @camaer,
Did you come across #465 in your search of existing issues? I think my thoughts on this remain aligned to those provided 5 years ago on that issue.

Hey Dan,
I did not. When searching for previous issues I made my original search on "fullscreen" and added the distraction free at the time of the creation of this issue. That being said your reasoning make sense so I will close this issue. Thanks for your work


anvil seems to characterize DB errors as gas errors

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
built from bit repo
What command(s) is the bug in?
anvil
Operating System
Linux
Describe the bug
I am currently attempting to run a project that works correctly under a hardhat node under anvil, and am not succeeding.
After augmenting InvalidTransactionError::GasTooHigh to be a struct that allows me to report details as to which GasTooHigh instance is being generated, the failing call seems to be from In pub fn call_with_state<D>. Therein it looks to me like every EvmError, irrespective of its actual type, is reported as a GastTooHigh error.
Is this intentional?

This is thrown when

The transaction gas exceeds the limit

Therein it looks to me like every EvmError, irrespective of its actual type, is reported as a GastTooHigh error.

This looks like a regression after we switched to newer revm API
@Evalir ptal

yep, the error is here:
https://github.com/foundry-rs/foundry/blob/master/anvil/src/eth/backend/mem/mod.rs#L1057-L1062
while we're treating the invalid tx correctly, we're always categorizing them as out of gas. We need to convert the errors appropiately


CHATGPT has plugin, what will be the impact on Langchain ?

‘This one is right in the middle of the action - the plugin market. It is the Android to OpenAI's iOS. Everyone needs a second option.
Another thing people seem to forget is that Langchain can use LLMs that aren't made by OpenAI.
If OpenAI goes under, or a great open-source model comes onto the scene, Langchain can still do its thing.’
Just seen from here

chatgpt plugins are not available via chatgpt api yet, while this project is about using chatgpt api, most other company will be using chatgpt api
wondering under the hood how chatgpt plugins work, given its dev doc, surely not just by using some prompts? maybe also involves some training?

chatgpt plugins are not available via chatgpt api yet, while this project is about using chatgpt api, most other company will be using chatgpt api
wondering under the hood how chatgpt plugins work, given its dev doc, surely not just by using some prompts? maybe also involves some training?

thanks

langchain can use ChatGPT plugins as a tool, e.g :
https://python.langchain.com/en/latest/modules/agents/tools/examples/chatgpt_plugins.html?highlight=chatgpt plugin#chatgpt-plugins
It injects plugin description (maybe also its API spec) into prompts.
By default OpenAI API doesn't using its plugins for response.


[semantic-arc] Update begin_borrow elimination for guaranteed phi args.

Now, guaranteed phi args can also consume begin_borrow. This means our simple
analysis here is not sufficient. I am going to add support for this in a
forthcoming commit.
Optimizations are still not creating guaranteed phi arguments, so no breakage
can result.

@swift-ci smoke test and merge


fix: Ensure name_filter are local scoped

Resolves #859

When #857 has been merged this can be rebased and merged too.

Thanks for the contribution. MacOS is so special sometimes...
I hope you can merge it without another approval after rebasing it.

That shouldn't be a problem if there are not red lights :)


WMTS layer rendered in wrong location/scale

The following images show right (QGIS) and wrong (Cesium head).  Server is private.  Capabilities document is attached also.
C0007424-00_wmts-getcapabilities.zip

@GatorScott is this or #4158 urgent?

This turns out to be user error.  I failed to set the tiling scheme to Geographic rather than the default WebMercator.


Add https://swap4.me/ to "buy-navcoin" #242

[x] Have you assigned/claimed the issues you've resolved in this pull request?
[ ] Have the issues been moved to the QA column of the NavCoin Websites project?
[ ] Have you checked there are no merge conflicts?
[ ] Have you tested the changes work across both mobile and desktop?

https://deploy-preview-243--navcoin.netlify.com/en/buy-navcoin/
https://deploy-preview-243--navcoin.netlify.com/es/buy-navcoin/
https://deploy-preview-243--navcoin.netlify.com/ru/buy-navcoin/
https://deploy-preview-243--navcoin.netlify.com/zh/buy-navcoin/
https://deploy-preview-243--navcoin.netlify.com/kr/buy-navcoin/
https://deploy-preview-243--navcoin.netlify.com/jp/buy-navcoin/
https://deploy-preview-243--navcoin.netlify.com/it/buy-navcoin/

https://deploy-preview-243--navcoin.netlify.com/en/merchants/
https://deploy-preview-243--navcoin.netlify.com/es/merchants/
https://deploy-preview-243--navcoin.netlify.com/ru/merchants/
https://deploy-preview-243--navcoin.netlify.com/zh/merchants/
https://deploy-preview-243--navcoin.netlify.com/kr/merchants/
https://deploy-preview-243--navcoin.netlify.com/jp/merchants/
https://deploy-preview-243--navcoin.netlify.com/it/merchants/


Wrong url from nuxt.com

Source: https://nuxt.com/modules/element-plus
The link redirects to Element Plus repo: https://github.com/element-plus/element-plus instead of this repo.

It seems that the issues is caused by nuxt modules L6.
If you are interested, you can try fixing it.

To be followed here: https://github.com/nuxt/modules/issues/1051


Missing inspections for unused class, unused public methods and properties

@ph55 commented on Jun 16, 2020, 1:18 PM UTC:
Feature request / improvement.
Classes missing some inspections for

Unused class itself
Unused public properties
Unused public methods

Steps to Reproduce
class Test {
  final unusedPublicProp = 0;
  final _unusedPrivateProp = 0;

  unusedPublic(){
    return 0;
  }

  int _unusedPrivate(){
    return 0;
  }
}

There is no inspection highlight for unused public methods/properties and class:

Message only pop-up when you Ctrl+click on method/property/class to find usages:

This issue was moved by pq from flutter/flutter-intellij#4629.

I don't have much experience with JS and PHP. As I see these languages has mentioned features. But I don't understand how it can be used in cases when some tasks are paralleled and you have pull request ci pipelines for analyzer check. I need to ignore lints every time when feature is not completed?  So maybe it would be better as @lukepighetti suggested make some CLI tools to analyze project periodically to remove unuzed public classes and members.

I agree.
There are plenty of similar examples of "presubmit checks" that do not occur for every character type in the IDE, but that only happen during CI (or with an explicit command line). And you're right that anything would be better than what is given today. I was just thinking of this project yesterday and have renewed interest in exploring an idea. :)

Has anyone tried coming up with a solution to this? Finding dead code in Dart/Flutter projects is still very difficult.

Everyone I know just runs around commenting out code to see if the analyzer pops up an error.

Ouch! That's terrible.

Has anyone tried coming up with a solution to this?

Yes. I wrote a prototype a while back, but didn't have time to get it to product quality (though it does understand the difference between an application and a re-usable package). It essentially does the same kind of tree shaking that dart2js uses to minimize the size of an executable.
There are some caveats, such as not being able to trace references through dynamic, etc., but that's probably not as big an issue as it once was, and users can be made aware of the limitations and their implications and account for them.
It isn't a particularly difficult piece of code to write (tree shaking is a well understood problem), but for us to do it would require that the priority of this is higher than the priority of other tasks so that we could allocating resources. I have no idea what the priority of this would be.

A script POC would be powerful enough to be useful, and it could assume that it was working in a leaf project for sure
Beyond that I would say that a pubspec.yaml entry like package: false would be fine, and no need to try to sense it. Not sure how you could

Yeah, I didn't try to tell the difference based on static analysis, I just added a command-line argument that told me which kind of package I was looking at. If we did want to be more automated, one possibility would be to look for the publish_to key.

Any chance you have this visible online somewhere?

Sorry, but no. And unfortunately, it was written long enough ago that there are new language features that haven't been tested, so I'm not sure it works with today's version of Dart.

@_incendial any chance you've attempted to solve this?

@lukepighetti actually, I thought about that a while ago and have a naive idea how to make it work, but no code yet. Also, haven't checked how dart2js, Google Closure Compiler, terser or other similar libraries remove dead code, but definitely should.
@bwilkerson maybe you could share the best starting point (a code file or some document) to read dart2js tree shaking implementation?

Dart Code Metrics prerelease version 4.10.0-dev.1 provides new command called check-unused-code which could help you find unused classes, function and other top level declarations. You can find more info here: https://dartcodemetrics.dev/docs/cli/check-unused-code.
Please note that the command is now in dev release and will be released as a stable soon, if we won't receive major blockers. So any feedback is very welcome!
The command doesn't search for particular methods, but it's definitely doable and we probable will add this in the next iteration.

Dart Code Metrics prerelease version 4.10.0-dev.1 provides new command called check-unused-code which could help you find unused classes, function and other top level declarations. You can find more info here: https://dartcodemetrics.dev/docs/cli/check-unused-code.
Please note that the command is now in dev release and will be released as a stable soon, if we won't receive major blockers. So any feedback is very welcome!
The command doesn't search for particular methods, but it's definitely doable and we probable will add this in the next iteration.

dart_code_metrics has been discontinued and is no longer maintained. They moved to providing a paid service. This brings back the need for an official solution.

Just jumping in to bump this. I'm pretty sure my app is completely littered with unused but public members and classes, but I only find them by accident from time to time. It makes the code base a lot slopier and harder to navigate. I've had times during significant refactors where I refactored a method only to realize after that it wasn't being called anywhere.

I'd surely love to prioritize this item. :)
@caseycrogers, for now, what I do is use my IDE's "Find all references" feature to see if something is unused; or rename the thing to see if anything shows up in the Problems panel. It is surely stumbling around in the dark, but once I am curious to see if an element is used, there is a definitive way to check.

Would be great to have the possibility of turning it on


Grafana Plugin Alerting

Investigate and develop the plugin to support alerting:
http://docs.grafana.org/alerting/notifications/

[LS-294] created by tavakoli

Grafana alerting has changed: https://grafana.com/docs/grafana/latest/alerting/
This feature needs further investigation to know if alerting is now possible for 3rd party plugins.


VSCode "Rust Analyzer: Run" command sometimes loses the "run" command

Normally, when using Rust Analyzer: Run I get presented with three options: run, check and test. However, sometimes the run option simpy disappears from the list and I can only do check and test.
It's of course possible that I'm missing something obvious here - apologies if that is the case. Please let me know if you need any addition information regarding this!
I'm running rust-analyzer version 0.2.159

Do you have some use case or pattern to reproduce this bug ?

I didn't notice anything specific but the problem seems rather persistent - it affects at least two different Rust projects and persists over restart of the VSCode-started language server process.
Is there some way I can get more info/logs useful for debugging? I'm happy to help with digging deeper on this but I'm unsure about how I can do that.

Run is only present if the cursor is inside main function, it seems like this could be the issue?

Though, I think that it maybe fine to just include it anywhere in the bin crate?

Run is only present if the cursor is inside main function, it seems like this could be the issue?

That is indeed the case, thanks!

Though, I think that it maybe fine to just include it anywhere in the bin crate?

FWIW that's how I expected it to work, but perhaps there's a reason for it to work this way that I'm not aware of.
My issue as stated is resolved but I'll keep it open in case anything is decided re: including it anywhere in bin. Feel free to close this if not.

Yeah, I feel we should enable it in bins/examples (but we should keep the code lens on the literal fn main function)


highlight path separators

This commit is a squash of the work done by
Jorge Israel Peña (blaenk) in #136,
rebased on the latest master branch.
For now, this is disabled in tests, because they all would need to be adjusted.
TODO: If the ZSH_HIGHLIGHT_DISABLE_PATHSEP option should stay, it needs to be documented.

Updated the commit. Removed the global option and adjusted the test framework to disable separator highlighting by default.
Tests that actually test the separator handling override these defaults.

Rebased on latest master for changes to the tests.

I think highlighting path separators differently by default would be too colorful.  I think [path_separator] should default to $ZSH_HIGHLIGHTING_STYLES[path] if unspecified.  (Not to underline but literally to $ZSH_HIGHLIGHTING_STYLES[path], so as to not break existing zshrc's that override the [path] style.)
Once we have themes (#241), you could add a theme that enables path separators by default, if you like.

I'm concerned about the performance of the arithmetic for loop, particularly with large paths.  Does it scale well?

I haven't tested this nor reviewed the code in context; so far, I only read the diff.

Re the arithmetic for loop: see https://github.com/zsh-users/zsh-syntax-highlighting/issues/295#issuecomment-213431907

I think highlighting path separators differently by default would be too colorful.

Agreed. Changed to use the same colors as the regular path highlighter.

I'm concerned about the performance of the arithmetic for loop, particularly with large paths. Does it scale well?

Tested by loading zprof, entering a very long path, hitting backspace till the buffer was cleared, ran zprof:
num  calls                time                       self            name
-----------------------------------------------------------------------------------
 1)  159         813.66     5.12   27.05%    804.95     5.06   26.76%  _zsh_highlight_main_highlighter_check_path
 2)  181        2984.27    16.49   99.20%    746.50     4.12   24.81%  _zsh_highlight_call_widget
 3)  165         449.48     2.72   14.94%    449.48     2.72   14.94%  _zsh_highlight_brackets_highlighter
 4)  156         458.99     2.94   15.26%    395.64     2.54   13.15%  _zsh_highlight_main_highlighter_highlight_path_separators
 5)  164        1621.76     9.89   53.91%    311.19     1.90   10.34%  _zsh_highlight_main_highlighter
 6)  181        2237.03    12.36   74.36%    129.89     0.72    4.32%  _zsh_highlight

I added a further check to return early from the function if the override style is the same as the original and the loop would be useless:
num  calls                time                       self            name
-----------------------------------------------------------------------------------
 1)  159         799.90     5.03   32.04%    790.95     4.97   31.68%  _zsh_highlight_main_highlighter_check_path
 2)  177        2478.52    14.00   99.28%    676.63     3.82   27.10%  _zsh_highlight_call_widget
 3)  165         478.17     2.90   19.15%    478.17     2.90   19.15%  _zsh_highlight_brackets_highlighter
 4)  164        1167.72     7.12   46.78%    321.76     1.96   12.89%  _zsh_highlight_main_highlighter
 5)  177        1801.26    10.18   72.15%    118.70     0.67    4.75%  _zsh_highlight
...
12)  156           8.07     0.05    0.32%      8.07     0.05    0.32%  _zsh_highlight_main_highlighter_highlight_path_separators

Regarding the arithmetic for loo:
Using for pos in {${start_pos}..${end_pos}} ; do isn't any faster.

Thanks for the performance investigations!  It seems the updated version has next-to-nil performance effect on people who don't opt-in to the new feature, which is good.
I'm concerned about the test changes that stop setting [path_prefix] to $unused_highlight.  This may undermine the existing tests' functionality; you could just use a $unused_highlight2 for [path_prefix_pathseparator] and keep the existing setting of [path_prefix].
What do you think of my suggestion from earlier?  I see you haven't applied it but you haven't explained why.

I think [path_separator] should default to $ZSH_HIGHLIGHTING_STYLES[path] if unspecified.  (Not to underline but literally to $ZSH_HIGHLIGHTING_STYLES[path], so as to not break existing zshrc's that override the [path] style.)

I'm concerned about the test changes that stop setting [path_prefix] to $unused_highlight. This may undermine the existing tests' functionality; you could just use a $unused_highlight2 for [path_prefix_pathseparator] and keep the existing setting of [path_prefix].

Done

What do you think of my suggestion from earlier? I see you haven't applied it but you haven't explained why.
I think [path_separator] should default to $ZSH_HIGHLIGHTING_STYLES[path] if unspecified. (Not to underline but literally to $ZSH_HIGHLIGHTING_STYLES[path], so as to not break existing zshrc's that override the [path] style.)

I totally misread that. Fixed now.

(When pushing a PR'd branch, please also add a comment to the PR so that a github notification would be generated to those following the PR.)

I've fixed a whitespace issue and merged this in 6cd39e7c70d32592070de8c6fd598583052fb32b.  Thank you for your patience and thanks to @phy1729 for reviewing this!

Good work!

Please add documentation for the new feature.  (At least the style names need to be mentioned in main.md)

I updated the documentation and also made a small change to the style initialization: Set the default styles to the empty string. This has the same initial effect and the advantage, that the main styles can be changed in a running shell without the need to change the _separator styles too, to keep the feature disabled.

Typo: "unsed"

The fact that ${foo}_pathseparator being unset causes $foo to be used should be documented.

+1 to 9a934d2, good call.  (The previous way wasn't backwards compatible.)

Fixed 1) and 2)

I've changed a comma to semicolon and merged.  Thanks!

(By the way: I wouldn't have capitalized the "P" of "Path separators" in the first line of the log message, since it's neither a proper noun nor a sentence start; it's just a topical noun phrase.  But I didn't want to drive you crazy with minor changes..)


Optimize the performance of rot by using universal intrinsics

Introduction
Inspired by #2972 , we can extend the advantage of intrinsics code to other x86 architectures by using usimd. Compared with develop branch,  the new implementation has about 1.6x faster in AVX2, about 1.26x faster in FMA3, Other intrinsics set such as SSE2/NEON has a negative impact on performance. it is worth mentioning that AVX2 has negative impact while handling double data types(I guess the reason would be too many time-consuming memory operations). @xiegengxin what do you think?
Benchmark
Each test has run for 10 loops and then take the average result, The radio is the MFlops division of Baseline and optimized branch(The bigger the radio is, the better performance is achieved).

X86 BaseLine(loop unrolled)

data size(10^3)
develop(float)

4000
384.59 MFlops   0.020802 sec

8000
389.15 MFlops   0.041115 sec

X86-FMA3 enabled

data size(10^3)
usimd-sum(float)
ratio

4000
484.72 MFlops   0.016504 sec
1.26

8000
483.28 MFlops   0.033107 sec
1.24

X86-AVX2 enabled

data size(10^3)
usimd-sum(float)
ratio

4000
597.93 MFlops   0.013380 sec
1.55

8000
635.01 MFlops   0.025196 sec
1.63

System Info

Arm
x86

Hardware
KunPeng

Processor
ARMv8 2.6GMHZ 8 processors
Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz

OS
Linux ecs-9d50 4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64
Windows Server 2008 R2 Enterprise

Compiler
gcc (GCC) 7.3.0
MSVC14.06

Sounds great. AVX512 has an intrinsic, _mm512_maskz_loadu_pd, which can improve the performance when data size is small (<8 for double, < 16 for float). Is it possible to implement such intrinsic by using usimd?

@xiegengxin Thanks for your quick reply, I think we can simulate _mm512_maskz_loadu_pd by using partial load and store universal intrinsics in SSE2/AVX2/NEON, but Predictably, The performance improvements can be almost ignored because the simulation and relatively small pack size(SSE2/Neon only handles 2 double at one time, AVX2 handles 4 double at one time)

Strange that it should need the -mfma in kernel/Makefile (again) when that is supposed to be handled in Makefile.x86_64 now.

Althouth Makefile.x86_64 and system.cmake added fma compile tag, both clang and gcc  can't recognize the fma intrinsic because of different reason, clang warned of missing <immintrin.h> header ,  while gcc reported missing compiler tag -mfma.

So that particular clang version on Appveyor is probably too old ? And I still wonder why gcc did not see -mfma when it should have been added based on the HAVE_FMA3 property. I see your latest revision now adds it when the host has AVX, which does not look correct to me.

Looks more like a missing codepath in the cmake files - HAVE_FMA3 somehow not used when it is not a DYNAMIC_ARCH build.
Seen it now - missing in cc.cmake, will do a PR in a minute. When I have more time for this again I need to check if the duplication in cc.cmake and system.cmake for dynamic and non-dynamic is still necessary.

OK, since the CI failure has resolved by #2989 , I will remove the -mfma flag in when the host has AVX.


stdlib/sugar, stdlib/sized: use #:where turnstile premise option

requires latest turnstile cur branch

closed by 6dd77c0e9b93ca549ea383954a37c088cb0e631e


chore: Added NPM release action [WIP]

Added GitHub action for publishing to NPM. This need to run from the develop branch, and during test/development it can only be triggered by me.
This is a work in progress.

Remember to add NPM_TOKEN and SLACK_BOT_TOKEN as secrets.

Coverage remained the same at 84.949% when pulling c7c3b83f87064c1585cc495395f1ec9d3eca13b7 on feature/release-action into 2c0e7d5aee78c0c59644e78be58eaead967f8e86 on develop.


Add SSL support

Overview
This PR introduces support for connecting to TV models that require specific cert and key files to establish a SSL connection.

Your logic makes sense. In readme for the homebridge plugin, just mention the the certificates need to be in the path of /homebridge/node_modules/hisensetv.../

I’m out of the house for a few days but let’s go with it. Logic makes sense. From the homebridge plugin itself how does the user specify the cert location? In the plugin’s config.json?

In readme for the homebridge plugin, just mention the the certificates need to be in the path of /homebridge/node_modules/hisensetv.../

Are you sure about this? I am now accepting any absolute path from the local disk, so you can also just put the certificates anywhere else. I tried it locally on my system and it seems to be working (it seems to be able to build the SSL context… but of course I don’t have an actual TV to test it with).

From the homebridge plugin itself how does the user specify the cert location? In the plugin’s config.json?

Yes, that would be the idea. However, I will ship the certificates with both this script (as you can see in the PR) and the Homebridge plug-in, so users can just point the plug-in configuration to their own local path. I’ll also make sure to provide a reasonable default value, so it’ll work out-of-the-box in standard conditions. However, I’ll keep this type of SSL disabled by default to make sure existing user can continue using the updated plug-in without making changes to their config.


Support snap packaging

It would be nice if you could support http://snapcraft.io/ and autouploads to the store.
Since this is based on electron-builder, it's quite easy to support it.
See https://github.com/electron-userland/electron-builder/blob/master/docs/configuration/snap.md

Snap packaging is something that I plan to support at some point, but there is an issue building snaps on Travis's Trusty images (cf. #27) that I haven't yet gotten around to dealing with.


symbol not found in flat namespace  '_PyCapsule_GetPointer' when running a matplotlib cpp basic example.

I am trying to use CMake for including Matplotlibcpp in my C++ project (I am new to both CMake and C++). I am following https://github.com/lava/matplotlib-cpp/issues/236#issuecomment-716510547 for setting up a CMake file. The project builds fine, but when I try to run the executable, here is the error I get:
dyld[73245]: symbol not found in flat namespace
'_PyCapsule_GetPointer'
zsh: abort      ./data_measure_img_seq

I'm not sure how to resolve this. Any suggestions? For reference, I am putting my CMakeLists file below:
# set the minimum version
cmake_minimum_required(VERSION "3.13")

# set project
project(image-data-cv)

set(OpenCV_DIR /Users/anshgodha/Developer/opencv/install/lib/cmake/opencv4)
set(CMAKE_CXX_STANDARD 14)

find_package( OpenCV REQUIRED )

include_directories( ${OpenCV_INCLUDE_DIRS} )

# for matplotlibcpp
find_package(Python3 COMPONENTS Interpreter Development NumPy REQUIRED)
find_package(PythonLibs 3.0 REQUIRED)
include_directories(${PYTHON3_INCLUDE_DIRS} ${NumPy_INCLUDE_DIRS})

include(FetchContent)
FetchContent_Declare(
    matplotlib
    GIT_REPOSITORY https://github.com/lava/matplotlib-cpp.git
    GIT_TAG        f23347fca25219d1c42cbb91608b5556814bf572
)
FetchContent_GetProperties(matplotlib)
if(NOT matplotlib_POPULATED)
    FetchContent_Populate(matplotlib)
endif()
include_directories(SYSTEM ${matplotlib_SOURCE_DIR})

set(PROJECTS basic_data_measures;data_measure_img_seq)
foreach(PROJECT ${PROJECTS})
  add_executable(${PROJECT} ${PROJECT}/main.cpp)
  target_link_libraries(${PROJECT} PUBLIC ${OpenCV_LIBS})
  set_target_properties(${PROJECT} PROPERTIES OUTPUT_NAME "${PROJECT}")
endforeach(PROJECT ${PROJECTS})

# link python and numpy
target_link_libraries(data_measure_img_seq
    PRIVATE
        ${PYTHON_LIBRARIES}
        Python3::NumPy
)

Also, in my main method in data_measure_img_seq/main.cpp, here is what I call:
plt::plot({1, 3, 2, 4});
plt::show();

I also had the same problem

use this config
target_include_directories(${PROJECT_NAME} PRIVATE ${Python3_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} ${Python3_LIBRARIES})


On publish

It actually gets some failures around ~1000 workers.  Requires running with sudo.  When run with too many workers (~2500-10000?) it starts printing [2015-12-06 16:30:32,765] sylvester/INFO/stdout: [Errno 104] Connection reset by peer to stdout.

Closes #9

Interesting. We should try running it across multiple machines and see what happens.

Oh, and :+1:


Forwarded message Option in Threat explorer

Under the Threat explorer -> Advanced filter, we have an option "Forwarded Message" .There are many queries from  customer on what type of forwarding information can be seen there. Hence need to include the below information to provide more clarity.
The "Forwarded message" Option in Threat explorer covers only external forwarding on below scenarios..

Mailbox forwarding via "Forwardingaddress" to external address
Mailbox forwarding via "ForwardingSMTPAddress" to External address
Inbox rule  forwarding To External address
Transport rule redirection (redirect message to) to External address

The ones it doesn't cover.

Any forwarding to internal address or to Onpremise mailbox
Mail user forwarding to external address
Manual forwarding from Mailbox

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

ID: 89aaa2af-ba47-4e6f-60f3-1b0b95df35f9
Version Independent ID: 8495bb4c-045a-5085-64d9-1b9ae788cfdb
Content: Views in Threat Explorer and real-time detections - Office 365
Content Source: microsoft-365/security/office-365-security/threat-explorer-views.md
Service: microsoft-365-security
Sub-service: mdo
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@MSFTTracyP Please help.

Looking into this.

This is the answer I received -- "The “Forwarded message” filter gives results if there is any email sent/received as part of SMTP email forwarding rule configuration. Manual email forwards are not listed as part of this filter. Also, the advanced filter option is going to be deprecated soon with the new version of Threat Explorer."
@MithunRathinam Does that answer your question?

@MithunRathinam Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


[1.16] Block Placer can not place blocks in claimed chunk.

Industrial Foregoing Version: 1.16
TeslaCoreLib Version: N/A
Crashlog (If Any): N/A
The block placer can not place blocks in a chunk that is claimed with FTB chunks method.

You need the add the Fake Player [IF] as a friend


[20.03] tmux: apply patch for CVE-2020-27347

Motivation for this change
Fixes a buffer overflow in the escape sequence parser.
Fixes: CVE-2020-27347
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Fixes should go via master first, unless its not possible.

Master has already been updated in https://github.com/NixOS/nixpkgs/pull/102148, which I'm backporting to 20.09 in #102940. But 20.03 is on 3.0a, so we'd have to jump to 3.1c from there.
https://github.com/tmux/tmux/blob/master/CHANGES#L299-L446


Adding the Memento pattern

Updated the sidebar with the new Memento pattern
Updated the link on the Design Patterns overview to the Memento page
Added a link on the Design Patterns overview for the Token pattern to link to the Memento page
Added images for the Mermaid diagrams for the Memento pattern - class diagram and sequence diagram
Included links to Pluralsight and GitHub

Looks great, thanks!


Which compatible STM32F4x5 board to buy?

As the discussion board doesn't allow user registrations at the moment (see 362# ) I need to ask the question here as there is no other channel available at the moment.
As the CC3D Revo is really hard to order today (hobbyking, etc. discontinued) and the only available options come from china, I need to ask which STM32F4x5 compatible board should I buy to use ROSflight? The latest releases only include naze32.hex so is F4 support available already?
Buying an old F1 controller seems to be the wrong invest in a time where F7 controllers become popular. There are good F3 options available but as of 299# it seems they won't be supported right?

That is exactly what I'm wondering! I've been looking everywhere for the rosflight-F4.bin listed on the rosflight website but no luck yet.

Hey guys,
F4 support is stable except for some of the I2C peripherals.  We think we have squashed the bugs there, but we are still doing some testing.  @dpkoch is a lot closer to this development so he can speak better to that.
Last I knew, the I2C stuff was limited to weird bugs when using the airspeed and sonar sensor.  If you're flying a multirotor, then the F4 board is definitely stable, and has been for several months.
I have been using the STM32F405-based boards.  Specifically, anything directly derived from the OpenPilot Revo F4.  Like this one
Because of these bugs (which have been surprisingly difficult to squash completely, as they are really intermittent and difficult to reproduce) we haven't officially released the F4 firmware.  Therefore, you just have to build it from source.

As the Revo Acro is only available in USA und the normal Revo in China only, I tried to go with a Naze32 first, as its good available for me. When I received the FC it turned out that its a Flip32, but as described in the docs, it should be compatible though...
When flashing the firmware with CleanFlight failed (stuck on blue led) I needed to recover the FC with STM32 Flash loader demonstrator and then flashed ROSflight firmware (release 1.2.0) with this tool.
Now the FC shows blue solid LED in combination with red blinking LED. Is that the expected behavior? How can I check the firmware is correctly running on the board? As red is usually an indicator for errors, I'm not so convinced the firmware is correctly working.

Okay I got an instance of Rosflight running on a companion computer. When connecting to the FC with rosrun rosflight rosflight_io _port:=/dev/ttyUSB0 output="screen" it connects and tells that firmware is v1.1.0 (strange as I flashed v1.2.0 on it). Nevertheless, red blinking seems to be okay and not a fatal state. But there are some critical errors afterwards:

If I run rostopic echo /rc_raw I only get zeros for every channel. My RC doesn't seem to be recognised correctly... The receiver shows connection with the RC, and I set the mode to PPM on the RC and the FC. Any ideas?

Make sure that the RC_TYPE parameter is correct
https://docs.rosflight.org/user-guide/parameter-configuration/#description-of-all-parameters

This is exactly what I did, if I call rosservice call /param_get RC_TYPE now it outputs
exists: True
value: 0.0

which means PPM-mode right? Transmitter-Output is set to PPM too.
I use a FS-IA6B Receiver with a FS-TM10 Transmitter and followed this tutorial which is straight forward: https://www.youtube.com/watch?v=yN00UdPQdRc&t=3s

Cool.  After setting RC_TYPE did you reboot the FC?

Yes, after flashing the firmware again the green LED started to display solid state. I checked raw input and get the Transmitter values. I then changed RC_TYPE to 0 and solid green disappeared. Seems that RC_TYPE 1 seems to work for PPM although it should be for S-Bus...?

Hi I wanted to ask if you got the Flip32 F4 or the Flip32 F1? I tried to find a revo F4, but the hobbyking FC has been discontinued. I am looking at an alternative F4 board that I could integrate. I have an Omnibus F4, but that does not seem to be supported yet.

Hey I have the F1 version, but I am looking for a F4 version as well. The CC3D Revo is pretty hard to get, you can still find some boards on eBay... I agree, it would be nice to have a buyable alternative for a compatible F4-Controller!

@rafaelmaeuer Have you been able to fix the issue?

I did use the REVO F4 with rosflight in this project, but at the end the move from simulation to hardware wasn't successful due to lack of time and some stabilisation issues. Until then I didn't gave this FC another try, but I will in the future and then share my experiences here...

Current plans going forward are to use H7 controllers.

Current plans going forward are to use H7 controllers.

Any more updates on this? Is the cube orange available?

We've actually decided to go 3DR's Pixracer Pro due to a simpler board configuration. We've done most of the work required for adding support for the board, and are just doing some final testing. We're done a few flights with it now and are just working out some lingering bugs.
https://store.3dr.com/pixracer-pro/
@iandareid @JMoore5353 what's the status on Pixracer Pro documentation?


cms urlhandling fails with 500 on /countries

I haven't looked into the reason, but I see that this url fails: https://demo.gbif.org/countries with error 500
Cannot read property 'replace' of null
TypeError: Cannot read property 'replace' of null
    at cmsData.cmsEndpointAccess.then.body

Some clarities needed here. We have /country showing the list of countries, which I believe should be replaced by /the-gbif-network. And, does /countries point to anything? Otherwise we should do redirect.

As the result of discussion, /country will be redirected to /the-gbif-network, /countries should return 404.


[MacOS] Showing wrong Window Manager

Description
Neofetch shows kwm as my window manager on Mac OS when it actually is the default one - Quartz Compositor. I am not able to find the cause of it though.
Neofetch version
3.3.0
Screenshot
https://imgur.com/a/nCJ5Q
Config file
Default one.
Verbose log
https://pastebin.com/ipZWaJ3M

This has already been fixed with #834

oh ok thanks :)


Add feature to click to find element.

Hello. Thanks for a great tool. It would be very nice to add support for click to find element in DOM view window (the same way it works in dev tools).

Using eruda v1.7.2 with eruda-dom v1.1.0，you can now use elements panel to click to find element.  And the corresponding element in dom panel will be selected too.


Parse/typecheck/print where clauses on protocols

Things like the following now work:
protocol Foo {
     associatedtype X
}
protocol Bar: Foo where X == Int {}

protocol Baz {}
protocol Qux: Foo where X: Baz {}

This also hooks up the pretty printing and dumping etc, for where clauses on both protocol and associated types. Unfortunately, the only thing serialized is the requirement signature, not the where clause itself, so we maintain semantic equivalence when printing by dumping the whole requirement signature in a where clause on the protocol, ignoring where the requirement actually came from.
Currently there is no checking that the where clause on a protocol only mentions things from super-protocols (per SE-0142), and indeed, the current version of printing relies on this.

@swift-ci Please smoke test and merge

Holy 🎊 🍾 🎆, batman!

But wait, you said "now work..." but that just means you can parse it?

And type check i.e. compilation with the -swift-version 4 -typecheck flags should, mostly, succeed for correct code/give type errors for bad code. @rjmccall is working on the required changes in IRGen, which were blocked until Friday on yet more generics refactorings.
Also, type checking for where clauses on associated types has already landed, so that can theoretically be experimented with now. (The only difference between the two locations at the moment is the syntax, they're semantically equivalent.)

@jrose-apple I ended up implementing the "fancier" printing for attaching requirements to the right places (it was cleaner than editing all the tests that needed editing), via some simple heuristics. It seems to work, but maybe you could take a quick look at the last commit to see if it seems reasonable.

@swift-ci Please smoke test.

@swift-ci Please smoke test


How to get label of detection after (@tensorflow/tfjs-tflite) predict returns result from a custom tflite model in Reactjs web App

Click to expand!
Issue Type
Support
Have you reproduced the bug with TF nightly?
Yes
Source
binary
Tensorflow Version
<EMAIL_ADDRESS>Custom Code
No
OS Platform and Distribution
Windows 10
Mobile device
Windows laptop
Python version
2.7
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
I am using

     import * as tflite from '@tensorflow/tfjs-tflite';

and have successfully loaded a custom tflite model:

     tfliteModel = await tflite.loadTFLiteModel("model/myModel.tflite");

as well as gotten a prediction
     var outputTensor = await tfliteModel.predict(Img);

The code works well when I only have 1 label to detect initially. Now I need to detect multiple labels. I created a new custom model and tested that it is able to detect multiple labels in an Android project, eg. I can get labels 'L1', and 'L2'

Can I detect multi labels using the code above after I load in the new model? If not, what changes do I have to make to detect multi labels and know which label I am detecting (eg. obtain the name of the label)

Standalone code to reproduce the issue
See above. Not a bug issue.

Relevant log output
Instance of result, outputTensor's value

outputTensor:
{
  "StatefulPartitionedCall:1": {
    kept: false,
    isDisposedInternal: false,
    shape: [
      1,
      25,
    ],
    dtype: "float32",
    size: 25,
    strides: [
      25,
    ],
    dataId: {
      id: 364,
    },
    id: 364,
    rankType: "2",
  },
  "StatefulPartitionedCall:3": {
    kept: false,
    isDisposedInternal: false,
    shape: [
      1,
      25,
      4,
    ],
    dtype: "float32",
    size: 100,
    strides: [
      100,
      4,
    ],
    dataId: {
      id: 365,
    },
    id: 365,
    rankType: "3",
  },
  "StatefulPartitionedCall:0": {
    kept: false,
    isDisposedInternal: false,
    shape: [
      1,
    ],
    dtype: "float32",
    size: 1,
    strides: [
    ],
    dataId: {
      id: 366,
    },
    id: 366,
    rankType: "1",
  },
  "StatefulPartitionedCall:2": {
    kept: false,
    isDisposedInternal: false,
    shape: [
      1,
      25,
    ],
    dtype: "float32",
    size: 25,
    strides: [
      25,
    ],
    dataId: {
      id: 367,
    },
    id: 367,
    rankType: "2",
  },
}

@FlyWong OutputTensor will be a tensor holding the scores for each class after receiving the prediction from the model. The class index that best matches the detected label can be located using the argMax method, which returns the class index with the highest score. The label index should be mapped to the actual class label using a label map. After that, you may look for the class label using the label index.

Hi @pjpratik , may I know which is the class index you are referring too?
also, I tried to call argMax on OutputTensor, but there is no such function:

@FlyWong  The class index I was referring to was the indexes of ground truth class labels. The output of argMax gives us the index at which the value is maximum. That index can be mapped to the index of ground truth class labels to get the name of the label.
Please refer to the documentation of argMax here and let us know if it helps. Thank you.

Hi @pjpratik,
I guess the gap is how I can proceed from having a return tensor (outputTensor) from predict() to having a list of 'ground truth class labels'?

@FlyWong Please refer to this codelab on using tf.js for using predict() and mapping to list of ground truth class labels to get the label name.
This is not a bug or feature request, for any further queries you may open this issue in tf discussion forum as there is a larger community there. Thanks!

@pjpratik Thanks. Yes, I think the forum will be a better place to take this discussion further.


The printed colnr number was overflowed

environment

vim: 9.0.749
vim-airline: 0.11
OS: Ubuntu 22.04.4 LTS
Have you reproduced with a minimal vimrc: .
What is your airline configuration: .
if you are using terminal:
terminal: iTerm2, Blink, …
$TERM variable: tmux-256color
terminal columns size: .
terminal line size: .
color configuration (:set t_Co?): 256

if you are using Neovim:

does it happen in Vim: .

actual behavior
The section z in the right below of the picture did not present the clear number.

expected behavior
I added the space in the call airline#parts#define('colnr' … ) function like above. And I got a expected output.

Is it the ideal way to solve this problem?

This is an issue with your terminal. You may want to use a different colnr symbol or using a different font instead. Check the documentation for the colr symbol:
https://github.com/vim-airline/vim-airline/blob/ebb89a0846ff8b8bc64579155d661b825f97d3f2/doc/airline.txt#L369-L389

Thank you for your comment.
The comment helped me to clarify the issue.
For I recognized what the problem was, I close this issue.


Some Icons of FontAwesome and MaterialIcons are not loading in Android <4.4

In versions >4.4 all Icons works fine...

Which ones?

I already solved the issue, it was a problem with device resolution.
Thanks!

@jaimecorrea What the solution to your issue? I'm finding certain resolutions of the Android emulator fail to load the icons when using the getImageSource method.

I should add, the resolution in question appears to be 420dpi (Nexus 5).


feat: Display better message when Azure credentials are missing

Q
A

🐛 Bug fix?
no

🚀 New feature?
yes

⚠ Deprecations?
no

❌ BC Break
no

🔗 Related issues
CFG-1918

❓ Documentation
no

Description
Display a more human readable error message when Azure credentials are missing

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

Codecov Report

Merging #1542 (28f1fb4) into main (a50b393) will decrease coverage by 0.09%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1542      +/-   ##
==========================================
- Coverage   81.66%   81.56%   -0.10%
==========================================
  Files         440      440
  Lines       16080    16098      +18
==========================================
  Hits        13131    13131
- Misses       2630     2648      +18
  Partials      319      319

Impacted Files
Coverage Δ

pkg/remote/azurerm/init.go
0.00% <0.00%> (ø)

pkg/remote/azurerm/provider.go
32.20% <0.00%> (-10.02%)
:arrow_down:

@all-contributors please add @chdorner-snyk to code


Background mismatch in code blocks with pygments, using default theme/style

I'm using jekyll 3.8.6, minima 2.5.1, pygments.rb 1.2.1, configured as follows:
asciidoctor:
  attributes:
    source-highlighter: pygments
    pygments-css: style

On one hand the code block is wrapped by <pre class="pygments highlight" style="background: #f8f8f8;">, OTOH main.css sets code { background-color: #eef; }.  This gives a pretty ugly result, whereas the default markdown styling with Rouge manages to be consistent here.
This main.css rule also applies to inline code not going through pygments, and it makes sense for both cases to be consistent.  That seems to leave us with tuning the pygments style to match.
Using liquid {% highlight python %} in a passthough block gives the expected result, though.

It's not up to this plugin to get the styles exactly right for the syntax highlighter. The plugin offers to copy over the stylesheet from pgyments. You can link it that stylesheet in your template, then override whatever styles you need to override in subsequent tags. As the README states:

It may still be necessary to make some tweaks to your site’s stylesheet to accommodate this integration.