Fix array iterator layout.

As title. Fixes #5692

Note: are there more implementation issues? like what if inner axis are strided?

Note: are there more implementation issues? like what if inner axis are strided?

Added some tests in e4984d2 for outer, middle and inner stride.


Training data requirement

Hello there
great work, just would like to know how much training data would be sufficient to train the model and if there is already training data repo available that I could use for my project?
Thanks in Advance
Farooq

I have the same query. Following.

+1

+1

+1

I am trying to generate Training Data but once form pop up, i am not able to see submit to generate Training Data, Anybody able to generate training data?

+1

Does anyone found dataset to train it???

Any Updates?

you need to first evaluate by some resumes. before you hit the training repo. am creating one. once i have i will share

@iamghanti if you have created it, please do share. Will highly appreciate it

you need to first evaluate by some resumes. before you hit the training repo. am creating one. once i have i will share

Please share the training repo, if you have prepared a sample. Thanks in advance.

you need to first evaluate by some resumes. before you hit the training repo. am creating one. once i have i will share

Please share the training repo, if you have prepared a sample. Thanks in advance.

Hi, is the model working for you?

0.txt
1.txt
since the data which I prepared are confidential I can't share all, check sample attached once you generate like this format(you should be also able to prepare this using AnnotatorGui) start experimenting with adding more meta fields, my accuracy dropped after adding more fields

since the data which I prepared are confidential I can't share all, check sample attached once you generate like this format(you should be also able to prepare this using AnnotatorGui) start experimenting with adding more meta fields, my accuracy dropped after adding more fields 0.txt 1.txt

Can we connect on Linkedin?
I wanted to ask few things

Thanks for the reply.
Can you please also brief on difference between header, meta and content.
Person technical skills should we tag as meta or content.
What is difference between meta and content.


Update short description and logo

Questions
Answers

Description?
Update short description and logo.

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
https://github.com/PrestaShop/PrestaShop/issues/15858

How to test?
Please check that logo and short description are updated.

Thank you @Julievrz


[build-script] Fix typo in libdispatch configuration

What's in this pull request?
Fixed typo in libdispatch configuration.

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

@swift-ci Please test and merge


Improve UTF-8 parser performance

A benchmark for UTF-8 parsing performance was added. Using this
benchmark, several strategies for parsing were tested versus the
original lookup table implementation:

Pure match
name                          pure_lookup ns/iter  pure_match ns/iter  diff ns/iter   diff %  speedup
tests::parse_bench_utf8_demo  68,984               52,731                   -16,253  -23.56%   x 1.31
tests::std_string_parse_utf8  42,472               42,144                      -328   -0.77%   x 1.01

Match with packed lookup in Ground state
name                          pure_lookup ns/iter  match_and_lookup ns/iter  diff ns/iter   diff %  speedup
tests::parse_bench_utf8_demo  68,984               68,922                             -62   -0.09%   x 1.00
tests::std_string_parse_utf8  42,472               36,788                          -5,684  -13.38%   x 1.15

Match with unpacked lookup in Ground state
name                          pure_lookup ns/iter  match_and_lookup_unpacked ns/iter  diff ns/iter  diff %  speedup
tests::parse_bench_utf8_demo  68,984               63,727                                   -5,257  -7.62%   x 1.08
tests::std_string_parse_utf8  42,472               42,787                                      315   0.74%   x 0.99

Of these implementations, the pure match peformed best in
microbenchmarks, and that is the implementation retained in this commit.

The https://github.com/jwilm/vte/pull/35 PR should implement this and some extra.


Bootstrap AnalysisValue CRD

This CRD will be used to get a concrete value for a value required by an Analysis of a certain timeframe. An AnalysisValue will refer to a AnalysisValueTemplate which contains the query template used to retrieve the value, as well as the specific timeframe for which the value should be retrieved:
The structure of such a CRD coud look like follows:
kind: AnalysisValue
metadata:
  name: my-analysis-value
spec:
  analysisTemplate: response_time_p95
  timeframe:
    from: <start>
    to: <end>
  selectors:
    project: my-project
    stage: dev
    service: svc1
    foo: bar # can be any key/value pair; NOT only project/stage/service
status:
  value: 10.0
  rawValue: ""

DoD

New AnalysisValue CRD has been added to metrics-operator in the metrics.keptn.sh API group.
Integration test to check that users can apply this resource to the cluster

References
Bigger picture of the concept: https://github.com/keptn/lifecycle-toolkit/issues/1650

I would propose to have 2 additional fields in the CRD status: .status.errMsg and .status.query, as it can be useful for debugging purposes in the future. .status.errMsg will contain information about error from a provider (if any) and .status.query will contain the query which was used to fetch data as this query is built in runtime.


Proposal: Give access to component's internal functions

Vue.js version
1.0.21
Proposal
I dont know if there is a way to do the following scenario today, but if there is not, i really think would be great to include it in the next VueJS version.
Let's say that a modal component has two internal methods named "open" and "close", and by using v-ref, it could be possible to do the following code.
<modal v-ref='modalTest'> ... </modal>

<button v-on:click='modalTest.open()'>Open</button>
<button v-on:click='modalTest.close()'>Close</button>

Why don't you try it before opening the issue?...

Actually i had tried, but after your reply, i did some more tests and it worked.
Sorry for the inconvenience.


Fix compilation error on FreeBSD 12

Fixes #1539
Needs to backport to v0.7.x

running 2 tests
test lio::smoke ... FAILED
test aio::smoke ... FAILED

Looks like these two tests are flaky, a rerun fixed them.

This is a libc bug.  Fixing it here: https://github.com/rust-lang/libc/pull/2585

This is a libc bug. Fixing it here: rust-lang/libc#2585

Great! I'll close this one.


SIM-FE-Refactor services and clients

This should be done mainly for external libraries and clients such as Viem and the Simulator's backend
The way it should be architected is following the following pattern
UI Components -> Hooks -> Services -> Clients.
We should enforce unit testing mostly on Hooks and Services.
Also, please take this opportunity to add unit tests.

I'm not sure I really understand this. Let's discuss it together @cristiam86

Moving unit testing to separate issue


DICSS is unstable; constantly going up and then down again

Hi, I'm trying to add DICSS into my girlfriend's server, but for some reason I can't put it in due to stability issues. It keeps getting very high latency and then it just goes down altogether. It goes back up minutes later, but then goes down again with a 403 error. Is this a client-side issue or have other people experienced this??
Thanks

See #4. It's a server side issue - you need to reduce the load. Just try/catch onload, garbage collector will take care of it eventually.


Allows for usernames to begin with http or www

This extra checking on the Twitter username after removing the Twitter URL is redundant and blocks anyone with a username that actually starts with "http" or "www". In my case, mine is @wwwroth and I cannot save my Twitter URL.

Hi @sainthkh , I'm really sorry that we didn't get around to reviewing this PR in a reasonable timeframe. I understand why this bug is annoying and it would be great to get in a fix - ideally one that preserved the original intention of preventing people pasting twitter URLs into the field.
We're in the process of cleaning up all the PRs on this repo, before moving the admin to be part of the Ghost monorepo. This is to make developing on and contributing to Ghost easier. With PRs all consolidated in one repo, we intend to do a better job of keeping on top of PRs.
If you're still interested in making these changes, please re-create the PR on the Ghost monorepo once admin is merged in (should be in the next few days). We'll then take a look at the PR right away.


'just' not recognized!

I tried to follow the directions I found in issue #161 but it just changed the error message. Whereas before "npm start" (where "start" is defined in my package.json as "just start") resulted in an error saying that the command 'just' was not recognized, now I get an error from just complaining that it is an invalid configuration file. Yet in a sibling directory with an identical package.json (except for the "name" node) and an identical just-task.js file, 'just' runs perfectly. This is completely blocking me so any help would be greatly appreciated!

I think the problem must be in your installing the dependencies.
It would be helpful if you can show your package.json

Thanks!  So the dependencies in my package.json were fine: once I re-generated the package-lock file it works fine.


Testing: Interactive mode

Overview
Open an interactive console each time a test fails when doing ape test -I
(new "interactive" flag)
Specification
the interactive flag opens an ape console at the point of test failure and allows the user to debug.
Dependencies

Note: Yearn devs need this!

--pdbcls=IPython.core.debugger:Pdb

Sudo code for how I think this might work:

    from IPython.core.debugger import Pdb

    from ape_console._cli import console
    console()
    config.option.pdbcls = Pdb

TODO
        # if "tx" not in namespace and len(chain.account_history):
        #     # make it easier to look at the most recent transaction
        #     namespace["tx"] = self.chain.account_history[-1]
        # To many changes to make it work

The solution is being worked on with this PR #455


Rename kmeta.NewOwnerReference to NewControllerRef

This is more accurate, since we're creating a controller ref (and keeps
the naming consistent with metav1).
Also, adds a test!

/hold cancel
I'll keep the frobber, I'd have to move some stuff around to use Resource in that test and avoid dependency cycles. Happy to revisit that later.


Azure Service Fabric Diagnostic Settings configuration still using deprecated agent

Currently the setup of Diagnostic Settings for Service Fabric refer to installation and configuration of WAD and OMS, where information is first collected from the Windows Events into a Storage Account, and then loaded from the storage account to a given Log Analytics Workspace.
As per announcement of deprecation of WAD and OMS agents, It would be good to understand how to setup service fabric diagnostic settings by leveraging azure monitor agent and DCR to target windows Events directly. As far as I'm aware, this is not covered.

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

ID: 94206ba5-5417-c95e-c74e-ff270885e849
Version Independent ID: f2a2213a-7fa6-416f-96e1-766aa797e4ee
Content: Set up monitoring with Azure Monitor logs - Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-diagnostics-oms-setup.md
Service: service-fabric
GitHub Login: @tomvcassidy
Microsoft Alias: tomcassidy

@gusfcarvalho
Thanks for your feedback! We will investigate and update as appropriate.

@gusfcarvalho
Thanks for your contribution. Please add your feedback in below link, so our production team can review it and update the same.
feedback · Community (azure.com)


Some problem about running 'getgraphs.py'

Hi @davidhin  ,
Thank you for sharing your code!
I was trying to reproduce your work and strictly follow the commands in README.md, but the following error occurred while executing singularity exec main.sif python sastvd/scripts/getgraphs.py. I guess the problem may be caused by some parameters error? I don't known how to solve it.
Hope to reply and appreciate your help!

I have the same problem ,too

@lc338310659 hello，请问你解决了吗？

@lc338310659 hello，请问你解决了吗？

@lc338310659 hello，请问你解决了吗？

请问该项目所用的数据集是不是挂了？我无法访问该数据集

从引用的一篇文章中找到了，文章给出的连接不太对

能问一下 ，问题解决了吗

12 NUM_JOBS = 1
13 #NUM_JOBS = 100
14 #JOB_ARRAY_NUMBER = 0 if "ipykernel" in sys.argv[0] else int(sys.argv[1]) - 1
15 JOB_ARRAY_NUMBER = 0
hello，I set the NUM_JOB=1 JOB_ARRAY_NUMBER=0，this script cat run sucessful.

12 NUM_JOBS = 1 13 #NUM_JOBS = 100 14 #JOB_ARRAY_NUMBER = 0 if "ipykernel" in sys.argv[0] else int(sys.argv[1]) - 1 15 JOB_ARRAY_NUMBER = 0 hello，I set the NUM_JOB=1 JOB_ARRAY_NUMBER=0 in the file "linevd/sastvd/scripts/getgraphs.py"，this script can run sucessful.

this works for me. I guess the NUM_JOBS is a parameter for speed up, which means 100 def preprocess(row) run simultaneously. Thus, JOB_ARRAY_NUMBER should be specified when run the script.] to let every subprocess get its part of the df.

12 NUM_JOBS = 1 13 #NUM_JOBS = 100 14 #JOB_ARRAY_NUMBER = 0 如果 sys.argv[0] 中的 “ipykernel” else int（sys.argv[1]） - 1 15 JOB_ARRAY_NUMBER = 0 你好，我在文件 “linevd/sastvd/scripts/getgraphs.py” 中设置了 NUM_JOB=1 JOB_ARRAY_NUMBER=0，这个脚本可以成功运行。

该项目可以复现成功么


Allow deletion of arrangedSubviews from StackView

If an implementor wants to reuse the StackView with different subviews (like in a table view cell), currently, there's no way to delete the subviews, only a way to add more. This fix adds a remove method. Additionally, it fixes a documentation link.

Current coverage is 92.95% (diff: 0.00%)

Merging #61 into master will decrease coverage by 0.06%

@@             master        #61   diff @@
==========================================
  Files            47         47
  Lines          2537       2541     +4
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2360       2362     +2
- Misses          177        179     +2
  Partials          0          0

Powered by Codecov. Last update 6856c14...83c748e


chrono-tz doesn't build anymore with latest regex-syntax

Sorry for finding these issues in small steps instead of all at once, one of the regular expressions in chrono-tz is not parsing anymore, which makes the build script fail.
The regular expression comes from here, an issue about it was opened here.
Would this be considered a breaking change since it was working before?

Yes, it's a bug, and not surprising sadly :-(. I was somewhat expecting bugs in the case insensitive mode. I wrote as many tests as I could think of, but it looks like some cases have eluded me! I will try to get a fix out today.

OK, I've reproduced this down to a minimal example:
(?x)[ / - ]

which produces
regex parse error:
    (?x)[ / - ]
        ^^
error: unclosed character class

Another variant:
(?x)[ a - ]

which produces
regex parse error:
    (?x)[ a - ]
          ^^^^^
error: invalid character class range, the start must be <= the end

In other words, the parser is treating the trailing - as if it signified a range, but it should actually treat the regexes as equivalent to [/-] (or [a-]), which is a special case of character class syntax where the trailing - is treated as a literal - instead of a marker for a range. We get [/-] right, but not (?x)[ / - ] right, presumably because the check for the trailing - is not accounting for whitespace insensitive mode.
This should be straight-forward to fix.

Nice, I'm going to add [patch.crates-io] for regex-syntax when it's fixed so I can see if there's anything else that affects me before I make you go through the release churn again :panda_face:

Thanks! <3 :)

OK, I've pushed a fix. I did try running your chrono-tz tests and everything seemed to work. If you have other crates with lots of regexes, it would be much appreciated to test those too if possible! :-)

Everything is building and all tests are green here.

@meh regex-syntax 0.5.2 is now on crates.io with this fix. I don't believe a new regex release is required. (Come to think of it, the previous release of regex wasn't required either, although I did that to bring in the nest_limit API.)

Everything seems to be still fine, so thanks a bunch :panda_face:


Internal Error: Error testing domain controller connectivity through PowerShell

I am trying to programatically deploy AADDS and keep running into this issue. There is no other log info that shows me anything, my AADDS resource just goes from the provisioning state to failed - and this is all that I can find. I am creating the VNet and appropriate subnets before I start the AADDS deployment. I will provide any other info necessary to try and figure this out, please just let me know
"submissionTimestamp": "2019-11-20T19:58:22.1840337Z",
"properties": {
    "statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceOperationFailure\",\"message\":\"The resource operation completed with terminal provisioning state 'Failed'.\",\"details\":[{\"code\":\"InternalError\",\"message\":\"Error testing domain controller connectivity through PowerShell. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <IP_ADDRESS>:5986\"}]}}"
},
"relatedEvents": []

@rbergertd Sorry to hear you are facing this. Could you link the URL of the documentation you were following? That way, we can pass your feedback to the appropriate content author.

@rbergertd are you doing this in a corporate vnet? Which command are you using to try to provision that is failing?
For better reading, the errors are below:
message : The resource operation completed with terminal provisioning state 'Failed'
"details":[{"code":"InternalError","message":"Error testing domain controller connectivity through PowerShell. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <IP_ADDRESS>:5986}]
Other people who have experienced this issue typically had something to do with VPNs, ExpressRoutes, or other special network setups.
I would suggest checking all your network connections and if you have any unique connections
Wait a few hours or until the next day to try again, as there may be some transient network related issues.
If that does not work, try reinstalling AAD DS on the server.
In addition to that : Please take into consideration Domain service instances using Classic Virtual networks are not supported.
Also I want to share with you the documentation for prerequisites, tutorial, network, notifications.
Prerequisites:
https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory
Tutorial to create the instance
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/tutorial-create-instance
Network security group rules require to setup the Azure AD DS
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/network-considerations#network-security-groups-and-required-ports
Notifications to assist and manage alerts on the ADDS
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/notifications

Hello @rbergertd I'm following up on this issue, were you able to resolve the issue per the information above?
If not please let us know.

@rbergertd Please let us know if there are anymore questions within the scope of this git issue. If not, I will be closing out this git issue by end of day tomorrow. Please file a new git issue with a reference to this one if you have anymore concerns. Thanks

Hi Frank,
We are actually working on automating the deployment of AADDS for an automation we are working on putting together. So I am doing all of it via PowerShell. Creating a new VNet, the 2 required subnets, and then deploying AADDS. I am using this https://docs.microsoft.com/en-us/azure/active-directory-domain-services/powershell-create-instance as a template reference. There are no VPN’s or anything like that associated with the VNet I am trying to deploy this onto. As that VNet is newly created.
If my customers AzureAD tenant name is mycustomer1.onmicrosoft.com, when we go to deploy Azure Active Directory Domain Services for them – does the managed domain name have to match that tenant name? Or can it be something like mycustomer1.local ? I would think the latter would be correct, but I could be wrong.
Thanks so much for your help, I would love if you could further assist me with the questions above.
From: Frank Hu<EMAIL_ADDRESS>Sent: Wednesday, November 20, 2019 7:43 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Berger, Ryan<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Internal Error: Error testing domain controller connectivity through PowerShell (#43240)
This email originated outside of Tech Data.  Please help keep our organization and partners safe.  Which command are you using to try to provision that is failing?
For better reading, the errors are below:
message : The resource operation completed with terminal provisioning state 'Failed'
"details":[{"code":"InternalError","message":"Error testing domain controller connectivity through PowerShell. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <IP_ADDRESS>:5986}]
Other people who have experienced this issue typically had something to do with VPNs, ExpressRoutes, or other special network setups.
I would suggest checking all your network connections and if you have any unique connections
Wait a few hours or until the next day to try again, as there may be some transient network related issues.
If that does not work, try reinstalling AAD DS on the server.
In addition to that : Please take into consideration Domain service instances using Classic Virtual networks are not supported.
Also I want to share with you the documentation for prerequisites, tutorial, network, notifications.
Prerequisites:
https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-subscriptions-associated-directoryhttps://urldefense.proofpoint.com/v2/url?u=https-3A__docs.microsoft.com_en-2Dus_azure_active-2Ddirectory_fundamentals_active-2Ddirectory-2Dhow-2Dsubscriptions-2Dassociated-2Ddirectory&d=DwMCaQ&c=qk747rkER3kecdav6nsl8A&r=SPZRUkJ2cu5Q7lB-yS5fZGrUVvZyfyrKplF8Wmk95LI&m=8MA0rLHc64x982bMixIWaJa_uEr9MUfxVlXi3sMQrHY&s=vXk5Lz696yVjgtnWDJLdpPlDhLoOgwYPc3CHU-c5uhc&e=
Tutorial to create the instance
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/tutorial-create-instancehttps://urldefense.proofpoint.com/v2/url?u=https-3A__docs.microsoft.com_en-2Dus_azure_active-2Ddirectory-2Ddomain-2Dservices_tutorial-2Dcreate-2Dinstance&d=DwMCaQ&c=qk747rkER3kecdav6nsl8A&r=SPZRUkJ2cu5Q7lB-yS5fZGrUVvZyfyrKplF8Wmk95LI&m=8MA0rLHc64x982bMixIWaJa_uEr9MUfxVlXi3sMQrHY&s=C-7alx16Bpxbh_l6q412YTtuMlHEYd0j3LBcKFMoeVk&e=
Network security group rules require to setup the Azure AD DS
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/network-considerations#network-security-groups-and-required-portshttps://urldefense.proofpoint.com/v2/url?u=https-3A__docs.microsoft.com_en-2Dus_azure_active-2Ddirectory-2Ddomain-2Dservices_network-2Dconsiderations-23network-2Dsecurity-2Dgroups-2Dand-2Drequired-2Dports&d=DwMCaQ&c=qk747rkER3kecdav6nsl8A&r=SPZRUkJ2cu5Q7lB-yS5fZGrUVvZyfyrKplF8Wmk95LI&m=8MA0rLHc64x982bMixIWaJa_uEr9MUfxVlXi3sMQrHY&s=A3snoqJPUm5C55P__R7erfzBFV7sfjvAuDR67NO7O5E&e=
Notifications to assist and manage alerts on the ADDS
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/notificationshttps://urldefense.proofpoint.com/v2/url?u=https-3A__docs.microsoft.com_en-2Dus_azure_active-2Ddirectory-2Ddomain-2Dservices_notifications&d=DwMCaQ&c=qk747rkER3kecdav6nsl8A&r=SPZRUkJ2cu5Q7lB-yS5fZGrUVvZyfyrKplF8Wmk95LI&m=8MA0rLHc64x982bMixIWaJa_uEr9MUfxVlXi3sMQrHY&s=iuKXiJDyPVnQPkXoWvgMy9Rjbn6yR9qdEjo0ocVrMGs&e=
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_MicrosoftDocs_azure-2Ddocs_issues_43240-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAK6RI7YP2ZUFRK742DAAHWLQUXKRDA5CNFSM4JPYTVWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEXAKEI-23issuecomment-2D556664081&d=DwMCaQ&c=qk747rkER3kecdav6nsl8A&r=SPZRUkJ2cu5Q7lB-yS5fZGrUVvZyfyrKplF8Wmk95LI&m=8MA0rLHc64x982bMixIWaJa_uEr9MUfxVlXi3sMQrHY&s=IC9VMbINGAASMC_B3F7cirdgyO1N0kUO2Nd4Sj-HRdU&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AK6RI76FOUYQEZP3KMGTJNTQUXKRDANCNFSM4JPYTVWA&d=DwMCaQ&c=qk747rkER3kecdav6nsl8A&r=SPZRUkJ2cu5Q7lB-yS5fZGrUVvZyfyrKplF8Wmk95LI&m=8MA0rLHc64x982bMixIWaJa_uEr9MUfxVlXi3sMQrHY&s=F9XWXngqslHY63QYwdS1V4kune5d0jfltikRp0Bi0zg&e=.

@rbergertd the azure doc issues are meant for issues with the docs, not for troubleshooting error codes or issues. If you need further help on this please post it against the Q&A forums here : https://docs.microsoft.com/answers/index.html
In addition to that, you may want to file a support ticket, however it sounds like there's an issue with your powershell script and it is unable to access a network, are you deploying all resources in the same region?
Is the error occurring when you're trying to follow the docs at this point? : https://docs.microsoft.com/en-us/azure/active-directory-domain-services/powershell-create-instance#create-an-azure-ad-ds-managed-domain
In addition to that, I'd post a question on Q&A and provide a link to this github issue to so that the progress on this issue isn't lost.
I will now be closing this as this is not the right area to be addressing product troubleshooting issues.

What was the fix for this? Looks like I have same error now.


Restaurant website using HTML, CSS & JS

Describe the project
Make a restaurant's site using HTML, CSS and JS; the user interface of which should be attractive, clean and fair. It must be responsive and colorful with some unique features.
Issue Type:

[    ] Bug Report
[    ] Feature Request
[    ] Documentation
[✔] New Project

Additional context
I humbly request you to assign me in it. @TusharKesarwani @zugzwang03
Screenshots

If applicable, add screenshots to help explain your problem.

I want to get assigned to complete this project.

I am interested to get assigned to complete this project.


Parsing CSV seems to force all value in column to have same format?

Describe the problem
I have a table like this on google sheet. Please note the account number some number have 0 as first value. I already set as plain text in google sheet.

When I access the sheet as csv using this url, I got the zero as expected.

But when I run the query, seems like AlaSQL force to return the value as number so the zero is missing.
async function loadPayment() {
  const url = 'https://docs.google.com/spreadsheets/d/1je7bZV-YKek2S27-6mjL09OQ60Aefj8i6sUp5_a8Giw/export?format=csv&gid=1024258862';
  const res = await alasql.promise('SELECT * FROM CSV(?, {headers:true})', [url]);

  console.log('payment', res);

  return res;
}

(async () => {
	await loadPayment();
})();

Expected: The account number display as it shows on csv (plain text)
Actual: The zero value is missing. Seems like the account number are forced as number?

Code replicates the problem
https://jsfiddle.net/evasdoxf/

As I recall this would not happen if the fields had a "..." wrapper.
Hmm. I guess it would be good to disable to auto discovery feature of format.

I can take a stab at adding this feature

"The account number display as it shows on csv (plain text)"
The value is not encapsulated in "..." and should really be considered a number.
I agree that if this is loaded into a table that says "String" as type, then this is the correct value. -
What about an option to retreive all data as strings, so you can do your conversion after?

Fix released as part of v4.1.0. See https://github.com/AlaSQL/alasql/wiki/CSV#options for details about the raw option.


Fix qasync.run in Python 3.11

QEventLoops previously set themselves as the running loop by default on construction, regardless of if they are actually running or not. For already_running loops, this is fine, but for non-already_running loops, this setting of the running loop is premature.
This is because asyncio may check for an existing running loop after it constructs a new QEventLoop, but before running it. If it does, it will falsely detect the newly constructed, never ran loop as the "running" loop.
This didn't happen until Python 3.11, where asyncio.run checks for a running loop both before and after getting a new QEventLoop with the use of the new asyncio.Runner.run, hence raising a RuntimeError.
Set QEventLoops as the running loop on construction exclusively when they are already running. This means the set_running_loop constructor parameter is now unused, but for backwards compatibility I've left it intact (as existing code already referred to this parameter by keyword).
The original commit that put it there was, from what I can tell, in response to a RuntimeError raised when calling asyncio.sleep because of Python 3.8 switching to using get_running_loop in asyncio.sleep in place of get_event_loop. For non-already_running loops, since the fix in #75, this is redundant, as QEventLoop.run_forever sets the running loop.
Fixes #68.

Looks good, thank you for submitting! Sorry it took a while.


Change Jackson support members from  private to protected

Allows easy overrides of Jackson internals (notably, ObjectMapper) to
easily extend JacksonJsonSupport and override with custom config

Thank you!

Thanks for making this awesome library!


[FEATURE REQUEST]front and rear of cards

It would be nice to tap on required card and perhaps slide to show the reverse side of card.
This would be particularly good for licences etc

@skyhiflyguy right now you can swift a card to the left and click on the button to show card images in fulllscreen. Then you can swipe.
But i am still thinking about a better/faster way.

to fix your trouble check this solution click
maybe this will solve your problem.


Event grid subscription to blob storage account fails

The steps outlined in this blog post do not work.
az group create --name <resource_group_name> --location westcentralus

az storage account create \
 --name <storage_account_name> \
 --location westcentralus \
 --resource-group <resource_group_name> \
 --sku Standard_LRS \
 --kind BlobStorage \
 --access-tier Hot

az eventgrid resource event-subscription create \
--endpoint <URL_from_RequestBin> \
--name <event_subscription_name> \
--provider-namespace Microsoft.Storage \
--resource-type storageAccounts \
--resource-group <resource_group_name> \
--resource-name <storage_account_name>

You get the following error:
The attempt to configure storage notifications for the provided storage account <storage_account_name> failed. Please ensure that your storage account meets the requirements described at https://aka.ms/storageevents.

Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)
azure-cli (2.0.21)
Brew install
OS X
bash

Can you share what region your storage account is in, and what kind of replication option you are using for your storage account?  Also, to double-check, the storage account is either a general-purpose v2 storage account or a blob storage account, right?

@kalyanaj Thank you for pointing out to use storage account v2. az cli storage account create command will create a v1 general purpose account by default unless specified. Changing to general-purpose v2 storage account fixed the issue.

Good to know that, thanks for sharing the update!

@derekbekoe, we are closing this issue for now. Feel free to reopen it if you feel that we still have not addressed your concerns.


feature decommission skip leaky tablets

When decommission a backend, it will get this backend's tablet meta list from TabletInvertIndex.  Only after all its tablets had migrated or moved to recyle bin,  then can drop this backend.
But sometimes,  TabletInvertIndex may had leaky  because  deletting a partition  forget to delete its tablet meta.  After that, decommission will be blocked.  So let decommission skip the leaky tablet metas,   if a tablet meta couldn't found its partition,  and not in catalog recyle bin, that just skip it.


simulation breaks down when n_instances parameter is set too high

Describe the bug
The --n_instances parameter (number of records queried each query) has a ceiling, where the simulation breaks.
To Reproduce
I use the the PTSD dataset (n = 6189), with 5 prior inclusions and 5 prior exclusions, and with --n_instances set to 6179 (6189-10, # of records not used for training).
Screenshots
gerbrich asreview simulate van_de_Schoot_2017.csv --n_prior_included 5 --n_prior_excluded 5 --n_instances 6179 --state_file default_10prior_passive.h5 --seed 42 --init_seed 42

            _____ _____            _
     /\    / ____|  __ \          (_)
    /  \  | (___ | |__) |_____   ___  _____      __
   / /\ \  \___ \|  _  // _ \ \ / / |/ _ \ \ /\ / /
  / ____ \ ____) | | \ \  __/\ V /| |  __/\ V  V /
 /_/    \_\_____/|_|  \_\___| \_/ |_|\___| \_/\_/

---------------------------------------------------------------------------------
|                                                                                |
|  Welcome to the ASReview Automated Systematic Review software.                 |
|  In this mode the computer will simulate how well the ASReview software        |
|  could have accelerate the systematic review of your dataset.                  |
|  You can sit back and relax while the computer runs this simulation.           |
|                                                                                |
|  GitHub page:        https://github.com/asreview/asreview                      |
|  Questions/remarks<EMAIL_ADDRESS>                                          |
|                                                                                |
---------------------------------------------------------------------------------

The following records are prior knowledge:

4939 - Posttraumatic stress disorder symptom trajectories in Hurricane Katrina affect..   Self-Brown, S., Lai, B. S., Thompson, ..
3483 - Trajectories of Scores on a Screening Instrument for PTSD Among World Trade Ce..   Maslow, C. B., Caramanica, K., Welch, ..
3489 - Growth curve trajectories of distress in burn patients                             Mason, S. T., Corry, N., Gould, N. F.,..
4938 - Maternal posttraumatic stress disorder symptom trajectories following Hurrican..   Self-Brown, S., Lai, B. S., Harbin, S...
4435 - Trajectories of posttraumatic stress symptoms (PTSS) after major war among Pal..   Punamäki, R. L., Palosaari, E., Diab, ..
4403 - New approaches to combining pharmacotherapy and psychotherapy for posttraumati..   Pratchett, L. C., Daly, K., Bierer, L...
3496 - Impact of baseline mental health on adherence to interferon-free HCV therapy       Masur, J., Tang, L., Nelson, A., Osinu..
4991 - Profiles of connectedness: Processes of resilience and growth in children with..   Sharp, K. M. H., Willard, V. W., Okado..
1004 - Headache diagnoses among iraq and afghanistan war veterans enrolled in VA: A g..   Carlson, K. F., Taylor, B. C., Hagel, ..
2785 - Clinical Evaluation of a Measure to Assess Combat Exposure                         Keane, T. M., Fairbank, J. A., Caddell..
Traceback (most recent call last):
  File "/Users/gerbrich/asreview/bin/asreview", line 8, in <module>
    sys.exit(main())
  File "/Users/gerbrich/asreview/lib/python3.8/site-packages/asreview/__main__.py", line 80, in main
    entry.load()().execute(sys.argv[2:])
  File "/Users/gerbrich/asreview/lib/python3.8/site-packages/asreview/entry_points/simulate.py", line 47, in execute
    review_simulate(path, **args_dict)
  File "/Users/gerbrich/asreview/lib/python3.8/site-packages/asreview/review/factory.py", line 327, in review_simulate
    review(dataset, *args, mode='simulate', **kwargs)
  File "/Users/gerbrich/asreview/lib/python3.8/site-packages/asreview/review/factory.py", line 290, in review
    reviewer.review()
  File "/Users/gerbrich/asreview/lib/python3.8/site-packages/asreview/review/base.py", line 336, in review
    self._do_review(state, *args, **kwargs)
  File "/Users/gerbrich/asreview/lib/python3.8/site-packages/asreview/review/base.py", line 301, in _do_review
    self.log_current_query(state)
  File "/Users/gerbrich/asreview/lib/python3.8/site-packages/asreview/review/base.py", line 356, in log_current_query
    state.set_current_queries(self.shared["current_queries"])
  File "/Users/gerbrich/asreview/lib/python3.8/site-packages/asreview/state/hdf5.py", line 77, in set_current_queries
    self.f.attrs["current_queries"] = data
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "/Users/gerbrich/asreview/lib/python3.8/site-packages/h5py/_hl/attrs.py", line 100, in __setitem__
    self.create(name, data=value)
  File "/Users/gerbrich/asreview/lib/python3.8/site-packages/h5py/_hl/attrs.py", line 201, in create
    attr = h5a.create(self._id, self._e(tempname), htype, space)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5a.pyx", line 47, in h5py.h5a.create
RuntimeError: Unable to create attribute (object header message is too large)

I think asreview being unable to handle such large --n_instances values might
have something to do with the current design of the state file. I tested it
with --n_instances 10, 100, 1000, 3000, and 4000 as well, which works fine.
When I tried at 6000 (or higher), it fails. With a smaller dataset (n = around 1000) I had no problems whatsoever.
Version information

OS: macOS
ASReview version 0.17

Additional context
I want to run a model that trains only once, e.g. only on the prior records. I try to arrange for that by making sure the first query consists of all the records in the data minus the prior records.

Thanks for reporting. Interesting issue (and nice application ;) ).
We might want to implement a logic over here:
https://github.com/asreview/asreview/blob/2bf7459f93cb0e7bbb9d7d1dcafcf4e15e23d5f3/asreview/review/base.py#L111-L169.
I can think about two potential solutions: raise an informative error or slice n_instances to the maximum value possible.
While writing this, I think the logic can be challenging, because we also have n_papers and n_queries. This might complicate things. The logic should be a combination of these four parameters:
https://github.com/asreview/asreview/blob/2bf7459f93cb0e7bbb9d7d1dcafcf4e15e23d5f3/asreview/review/base.py#L93-L104

I think I misunderstood the issue. There is a problem with allocating memory in the attributes of the state file for large queries like this. Hmmm.

We generally consider the maximum size of an attribute to be 64K bytes. The library has two ways of storing attributes larger than 64K bytes: in dense attribute storage or in a separate dataset. Using dense attribute storage is described in this section, and storing in a separate dataset is described in the next section.
To use dense attribute storage to store large attributes, set the number of attributes that will be stored in compact storage to 0 with the H5Pset_attr_phase_change function. This will force all attributes to be put into dense attribute storage and will avoid the 64KB size limitation for a single attribute in compact attribute storage.
http://davis.lbl.gov/Manuals/HDF5-1.8.7/UG/13_Attributes.html

I can't think about an easy fix at the moment. The new state file will fix this issue for sure.

It tries to log something called current_queries in a part of the hdf5 file which is not allowed to be too big. Normally that is not a problem, but apparently when you have too many papers at the same time, this goes wrong. I think you can get a very hacky temporary solution by commenting out line 301: self.log_current_query(state) in asreview.review.base.py. And I think that only works because you don't need to train the model after the first time.
Alternatively you could try using the Python package sklearn directly, but it would be a bit of a hassle to get all the settings the same. With the new state file this definitely won't be an issue.

Resolved in #688


Invalid index error on app launch

Operation System: macOS 10.13.4
Beaker version: v0.8.0-prerelease.5
I get this error occasionally on app launch:

I forgot to copy/paste the actual text instead of taking the screen grab this time. Sorry!

No worries about the screen grab. Thanks for filing, I'll check into it.

PR which doesn't solve the core error but keeps it from causing an uncaught exception: https://github.com/mafintosh/append-tree/pull/13

Ok that got merged, we'll deploy the fixed version in next release


[worker] Remove unused var.

Hi @ovvn, thanks for the PR! Sorry it took so long to respond.
Looks good, though I don't want the changes to .gitignore or package-lock.json. If you can update your commit to only change worker.js I'll merge in, or I can make the commit on my end. Thanks again!

Hi @eKoopmans. Ok, updated.

Thanks @ovvn, merged!


Add autorebuild, patrolread, and foreignautoimport to controller

Nice work on the module. I had the need for additional functionality to the controller, so I added the following functionality;

autorebuild: current auto rebuild state (also setter)
foreignautoimport: imports foreign configuration automatically at boot (also setter)
patrolread: current patrol read settings (also setter)
set_patrolread: configures patrol read state and schedule
patrolread_start: starts a patrol read on the controller
patrolread_pause: pauses patrol read on the controller
patrolread_resume: resumes patrol read on the controller
patrolread_stop: stops patrol read if running on the controller
patrolread_running: check if patrol read is running on the controller

Coverage: 55.141% (-0.7%) from 55.874% when pulling 98d0605b474943ef2d62a28014c89cc4fa9c79c6 on liveaction:develop into f0bdcebf0e7e06ee4a121d2c7dd58aae96050cf9 on Naudit:develop.

I might change a little bit on the future (adding some python-typing etc) but I think for now is ok
Thanks for your contribution @dgilbert101 !


Not a issue - but a question ;-)

Hi, a question about the semaphores: if I have several nodes semaphore takes on the same semaphore in one and the same flow - do I have to have just as many release nodes correspondingly or can I combine all releases on one node? Since it is a global release, this should actually work.
Thank you and best regards
Hubertus

Hi @HubertusH
As the release works on the global queue - you can use the release node, it’s really up to you.
the node does not need to be married.

Thank you, great. Then the flows will be a bit clearer.


IndexError when slicing dask Array with unknown chunk sizes.

When doing fancy indexing on an index with missing chunks we raise an IndexError.
In [21]: a = da.ones((10, 5), chunks=5)

In [22]: a._chunks = ((np.nan, np.nan), (5,))

In [23]: a[[0, 5]].compute()
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-23-314b1b59b481> in <module>
----> 1 a[[0, 5]].compute()

~/sandbox/dask/dask/dask/base.py in compute(self, **kwargs)
    165         dask.base.compute
    166         """
--> 167         (result,) = compute(self, traverse=False, **kwargs)
    168         return result
    169

~/sandbox/dask/dask/dask/base.py in compute(*args, **kwargs)
    450         postcomputes.append(x.__dask_postcompute__())
    451
--> 452     results = schedule(dsk, keys, **kwargs)
    453     return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])
    454

~/sandbox/dask/dask/dask/threaded.py in get(dsk, result, cache, num_workers, pool, **kwargs)
     74                 pools[thread][num_workers] = pool
     75
---> 76     results = get_async(
     77         pool.apply_async,
     78         len(pool._pool),

~/sandbox/dask/dask/dask/local.py in get_async(apply_async, num_workers, dsk, result, cache, get_id, rerun_exceptions_locally, pack_exception, raise_exception, callbacks, dumps, loads, **kwargs)
    484                         _execute_task(task, data)  # Re-execute locally
    485                     else:
--> 486                         raise_exception(exc, tb)
    487                 res, worker_id = loads(res_info)
    488                 state["cache"][key] = res

~/sandbox/dask/dask/dask/local.py in reraise(exc, tb)
    314     if exc.__traceback__ is not tb:
    315         raise exc.with_traceback(tb)
--> 316     raise exc
    317
    318

~/sandbox/dask/dask/dask/local.py in execute_task(key, task_info, dumps, loads, get_id, pack_exception)
    220     try:
    221         task, data = loads(task_info)
--> 222         result = _execute_task(task, data)
    223         id = get_id()
    224         result = dumps((result, id))

~/sandbox/dask/dask/dask/core.py in _execute_task(arg, cache, dsk)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

IndexError: index 5 is out of bounds for axis 0 with size 5

It actually works if the indexer happens to slice from just the first chunk.
In [24]: a[[0, 4]].compute()
Out[24]:
array([[1., 1., 1., 1., 1.],
       [1., 1., 1., 1., 1.]])

I'm not sure what's best to do here. I can imagine a few things that might work but would be slow. Perhaps we just raise when people try to do fancy indexing on an array with unknown chunk sizes?

To me this feels like a case where maybe we should raise
On Tue, Sep 1, 2020 at 10:50 AM Tom Augspurger<EMAIL_ADDRESS>wrote:

When doing fancy indexing on an index with missing chunks we raise an
IndexError.
In [21]: a = da.ones((10, 5), chunks=5)
In [22]: a._chunks = ((np.nan, np.nan), (5,))
In [23]: a[[0, 5]].compute()
IndexError                                Traceback (most recent call last)
 in
----> 1 a[[0, 5]].compute()
~/sandbox/dask/dask/dask/base.py in compute(self, **kwargs)
165         dask.base.compute
166         """
--> 167         (result,) = compute(self, traverse=False, **kwargs)
168         return result
169
~/sandbox/dask/dask/dask/base.py in compute(*args, **kwargs)
450         postcomputes.append(x.dask_postcompute())
451
--> 452     results = schedule(dsk, keys, **kwargs)
453     return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])
454
~/sandbox/dask/dask/dask/threaded.py in get(dsk, result, cache, num_workers, pool, **kwargs)
74                 pools[thread][num_workers] = pool
75
---> 76     results = get_async(
77         pool.apply_async,
78         len(pool._pool),
~/sandbox/dask/dask/dask/local.py in get_async(apply_async, num_workers, dsk, result, cache, get_id, rerun_exceptions_locally, pack_exception, raise_exception, callbacks, dumps, loads, **kwargs)
484                         _execute_task(task, data)  # Re-execute locally
485                     else:
--> 486                         raise_exception(exc, tb)
487                 res, worker_id = loads(res_info)
488                 state["cache"][key] = res
~/sandbox/dask/dask/dask/local.py in reraise(exc, tb)
314     if exc.traceback is not tb:
315         raise exc.with_traceback(tb)
--> 316     raise exc
317
318
~/sandbox/dask/dask/dask/local.py in execute_task(key, task_info, dumps, loads, get_id, pack_exception)
220     try:
221         task, data = loads(task_info)
--> 222         result = _execute_task(task, data)
223         id = get_id()
224         result = dumps((result, id))
~/sandbox/dask/dask/dask/core.py in _execute_task(arg, cache, dsk)
119         # temporaries by their reference count and can execute certain
120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
122     elif not ishashable(arg):
123         return arg
IndexError: index 5 is out of bounds for axis 0 with size 5
It actually works if the indexer happens to slice from just the first
chunk.
In [24]: a[[0, 4]].compute()Out[24]:
array([[1., 1., 1., 1., 1.],
[1., 1., 1., 1., 1.]])
I'm not sure what's best to do here. I can imagine a few things that might
work but would be slow. Perhaps we just raise when people try to do fancy
indexing on an array with unknown chunk sizes?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/6586, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTC7YQLRZOY3IPPW5UTSDUX4ZANCNFSM4QR76J2Q
.

hi,
Can I work on this issue please ?

Hi @shubhamranjan12 . Sure! You might do something similar to what @douglasdavis did in https://github.com/dask/dask/pull/8436


Don't require targetElement for locking on iOS

Implements https://github.com/willmcpo/body-scroll-lock/issues/55
Also updates the example slightly to be clearer, as well as noting the optional nature of targetElement in the README

Hey @fzembow sorry I just merged a few earlier PRs which has resulted in conflicts in yours.
Would you mind helping to resolve these and then I can have a proper look at this one?
Cheers

@willmcpo ok will take a look in a bit

@willmcpo okay, updated to resolve the conflicts, taking into account what's changed in the past few days
please take a look, cheers :)


adding the create_user function

Description
This can be merged once the doccano user creation pull request is merged in doccano. It adds in the function for calling the newly created v1/users/creation endpoint.
Fixes # (issue)
https://github.com/doccano/doccano-client/issues/4

Thanks! Resolve #4

@Hironsan That's perfect!


Bug: a section disappear after calling vim.lsp.diagnostic.goto_next()

Self Checks

[x ] I'm using the latest lualine and neovim nightly.
[x ] I didn't find the issue in exsisting issues or prs.

How to reproduce the problem

use neovim built-in lsp
clangd language server
open a cpp file with some error or warning
type :lua vim.lsp.diagnostic.goto_next() in command line

Actual behaviour
the section b with branch and diff all disappear
Expected behaviour
Aditional information
Minimal config to reproduce the issue
    use {
        'hoob3rt/lualine.nvim',
        config = function()
            require('lualine').setup {
                options = { theme = 'gruvbox'},
                sections = {
                    lualine_b = { 'branch', 'diff' },
                    lualine_x = { {'diagnostics', sources = {"nvim_lsp"}} },
                }
            }
        end,
    }

Config

This is strange . I can only reproduce it with goto_next / goto_prev . Till now it seems lualine is doing the right thing . The issue is when goto_prev/next runs it temporarily swiches to an unnamed buffer and then gets back but it only emits BufEnter event once .diff component disables itself in unnamed buffers since it doesn't know user is back on regular buffer it doesn't get the chance to re enable itself .
It might be something wrong within lualine might be an neovim issue.
Till this isn't fixed anyone faceing this can use some workaround for goto_next/prev .like
function goto_next()
   vim.opt.eventignore:append('BufEnter');
   vim.lsp.diagnostic.goto_next()
   vim.schedule(function()
       vim.opt.eventignore:remove('BufEnter')
   end)
end

or
function goto_next()
   vim.lsp.diagnostic.goto_next();
   vim.schedule(function()
       vim.cmd 'doautocmd BufEnter'
   end)
 end

A workaround is implemented in #311 . This shouldn't occur on lualine any more.


Figma designs

During the 3 weeks of this project phase, I worked with the design team to give a better user experience.
I worked on: content writing, Information architecture, empathy maps and High-fidelity designs.
Find below-attached links to the design documents.
https://www.figma.com/file/ioMqdgkN15usERQwFZ2GLs/Excel-comp?node-id=0%3A1
https://www.figma.com/file/CEOCYFi1LPAufi9Sj5CFVv
https://docs.google.com/document/d/1X1CWXttRu7AUq0fXzLrN-UTQynW6rU4SGypaAc1UE7Y/edit?usp=drivesdk

I am Achigbu Mmasichukwu a member of team 107. In the project phase I worked on screener questions, user flow, user persona, empathy map, screener questions, hi and lofi design and content writing... See links below
https://www.figma.com/file/ioMqdgkN15usERQwFZ2GLs/Excel-comp?node-id=0%3A1
https://www.figma.com/file/CEOCYFi1LPAufi9Sj5CFVv
https://docs.google.com/document/d/1X1CWXttRu7AUq0fXzLrN-UTQynW6rU4SGypaAc1UE7Y/edit?usp=drivesdk

My name is Victor Nnanna, I'm a member of team 107. During the project Excel comp, I was able to work on a screen and I made contributions to the completion of the project.  Links are below.
https://www.figma.com/file/ioMqdgkN15usERQwFZ2GLs/Excel-comp?node-id=0%3A1
https://www.figma.com/file/CEOCYFi1LPAufi9Sj5CFVv
https://docs.google.com/document/d/1X1CWXttRu7AUq0fXzLrN-UTQynW6rU4SGypaAc1UE7Y/edit?usp=drivesdk

My name is Prisca Olatunji, I'm the assistant design team lead of Excel-comp 107. I worked on the low fidelity sign up screen and log in screen, I worked on the lo-fi and hi-fi landing page, I worked on the 404 screen (lo-fi and hi-fi), contact us screen (lo-fi and hi-fi), I joined other of my teammates to work on the dashboard screen and the style guide, I and another of my teammate also worked on the FAQ screen.
For the user research, I worked on the user flow and I also sent out screener survey to individuals. See links below
Figma design link: https://www.figma.com/file/ioMqdgkN15usERQwFZ2GLs/Excel-comp?node-id=0%3A1
Figjam link:   https://www.figma.com/file/CEOCYFi1LPAufi9Sj5CFVv
Designers Google doc links that contains our names and task we worked on: https://docs.google.com/document/d/1X1CWXttRu7AUq0fXzLrN-UTQynW6rU4SGypaAc1UE7Y/edit?usp=drivesdk

My name is Akinyemi Folasade Saidat , a member of Team 107. i worked on information architecture, user persona, login screen(low-fi) and i collaborated with my team members for Low-Fi screens.
Figma design Link: https://www.figma.com/file/ioMqdgkN15usERQwFZ2GLs/Excel-comp?node-id=0%3A1
Figma Link: https://www.figma.com/file/CEOCYFi1LPAufi9Sj5CFVv
Google Doc links: https://docs.google.com/document/d/1X1CWXttRu7AUq0fXzLrN-UTQynW6rU4SGypaAc1UE7Y/edit?usp=drivesdk

My name is Sarah Shobola, a member of Excel-comp 107.  I worked on the user persona, style guide, how it works screen (lo-fi & Hi-fi), testimonial screen (lo-fi & Hi)  login screen(low-fi) and I collaborated with my team for the project completion. . Links are below
Figma design link: https://www.figma.com/file/ioMqdgkN15usERQwFZ2GLs/Excel-comp?node-id=0%3A1
Figjam link: https://www.figma.com/file/CEOCYFi1LPAufi9Sj5CFVv
Google doc links
https://docs.google.com/document/d/1X1CWXttRu7AUq0fXzLrN-UTQynW6rU4SGypaAc1UE7Y/edit?usp=drivesdk

Am Kudirat anuoluwapo and I worked as a designer for the project excel comparison. I participated both in the User research and the User interface during the course of the project.
My tasks are as follows for the User research part: Interview script, Empathy map.
And for the design part, I worked on the following: Style guide, high-fidelity for the login screen, and low-fidelity for the about us page.
Figma design link: https://www.figma.com/file/ioMqdgkN15usERQwFZ2GLs/Excel-comp-design?node-id=0%3A1
Figjam link: https://www.figma.com/file/CEOCYFi1LPAufi9Sj5CFVv/Excel-comp-user-research?node-id=0%3A1
Google doc link: https://docs.google.com/document/d/1X1CWXttRu7AUq0fXzLrN-UTQynW6rU4SGypaAc1UE7Y/edit

Hello, I'm Faith Undie. I worked in a team of designers on this project helping with the interview questions, user story, HiFi about us page and sign up page.
Google doc link for the interview questions: https://docs.google.com/document/d/1eYirYY_1lVM65ZRqJ0JJl3dbhsZNL84zmGsSOcq0068/edit?usp=drivesdk
Figma design link: https://www.figma.com/file/ioMqdgkN15usERQwFZ2GLs/Excel-comp?node-id=0%3A1
Figjam link: https://www.figma.com/file/CEOCYFi1LPAufi9Sj5CFVv
Google doc links
https://docs.google.com/document/d/1X1CWXttRu7AUq0fXzLrN-UTQynW6rU4SGypaAc1UE7Y/edit?usp=drivesdk

Hi, my name is Benjamin Ajayi. During the project, I collaborated with other designers to work on the information architecture, user story, hi-fi design of the dashboard, and prototyping.
Fig jam Link: https://www.figma.com/file/CEOCYFi1LPAufi9Sj5CFVv/Excel-comp-user-research?node-id=0%3A1
Figma design Link: https://www.figma.com/file/ioMqdgkN15usERQwFZ2GLs/Excel-comp-design?node-id=1%3A3
Google docs link: https://www.figma.com/file/ioMqdgkN15usERQwFZ2GLs/Excel-comp-design?node-id=1%3A3

bMy Name is Farouk Enessi, I'm the Team lead's assistant and also so the Leader for the Product designers for Excel-comp team_107. I worked on the following things;

USER RESEARCH : i created the Screener survey questions, reviewed the interview script and the user research brief
STYLE GUIDES : I worked with some of my teammates in creating the style guides after which i reviewed.
Lo-Fi WIREFRAMES : i did the sketches of the designs and converted them to Lofi wireframes.
Hi-Fi WIREFRAMES :  I converted the lofi wireframe to hifi wireframes for the Dashboard page
Hi-Fi DESIGN : i then converted the Hi-Fi wireframes to Hi-Fi Designs still on the dashboard page, contributed to the
about us paag
PROTOTYPING: i prototyped all the screens in the right flow connecting all screens and buttons
Below are the necessary link to various task that i did and contributed to
Figma design link : https://www.figma.com/file/ioMqdgkN15usERQwFZ2GLs/Excel-comp?node-id=0%3A1
User research link : https://docs.google.com/document/d/1X1CWXttRu7AUq0fXzLrN-UTQynW6rU4SGypaAc1UE7Y/edit?usp=drivesdk
Prototype link : https://www.figma.com/proto/wzkIRgNQoBmgxs1L9QKjPn/Excel-comp-design-(Copy)?node-id=1167%3A2826&scaling=min-zoom&page-id=1%3A3&starting-point-node-id=1167%3A2826


Run docker with HTTPS

Hi!
I'm total noob in docker, so I want to ask a question.
I know how to run code-server with cert and cert-key without docker, but how to do it with docker?
I tried this:
docker run -it -p <IP_ADDRESS>:8080:8080 -v "./cs/code-server --cert [certpath] --cert-key [privatekey]" -v "./project" codercom/code
-server:v2

But it runs server without HTTPS.
Thanks

Heya @dimdenGD, make sure you mounted your certificates first, then invoke your certificates in the flags. You can use LE if you don't want to self-sign certificates, I think we outlined it pretty well on the quickstart.

How do I mount my certificates? I was reading docker docs but I didn't understood anything ;-;
Also how do I change Dockerfile

it should be easy as docker -v /path/to/certs.crt:/home/coder/cert.crt -v /path/to/cert-key.key:/home/coder/cert.key -p 8080:8080 run codercom/code-server:v2 --cert /home/coder/cert.crt --cert-key /home/coder/cert.key if I remember how to do volumes right.

Now i'm getting error EACCES: permission denied, open '/home/coder/cert.key'

@dimdenGD you should use a reverse proxy so you don't have to expose your private key to the running container. You can use something like HAproxy or nginx even. Let me know if you need help!

@dimdenGD check out my docker-compose.yml on my repo, it has a configured reverse proxy for SSL using just environment variables. Just remove the comments (#).

Just came across this issue. It should be in the documentation somewhere. Can't seem to find it.


[WIP] PolicySchemes / UseSignIn

Starting to play with the shape of the proposed Use/AddXyzSignIn...
services.AddAuthentication()
    // Pick one, last one will win (set to DefaultScheme) if more than one called (hence Use over Add)
   .UseGoogleSignIn(o => { })
   .UseFacebookSignIn(o => { })
   .UseOAuthSignIn(o => { })
   .UseOpenIdConnectSignIn(o => { })
   .UseTwitterSignIn(o => { })
   .UseIdentitySignIn()

// If you want to custom configure the cookie, you need to know which cookie
services.Configure<CookieAuthenticationOptions>(CookieAuthenticationDefaults.AuthenticationScheme, o => o.ExpireTimeSpan = 100);
// or with identity
services.ConfigureApplicationCookie(o => o.ExpireTimeSpan = 100);

Each Use is responsible for configuring the defaults (and adding any cookies as needed).  All of the social sign ins would use the default cookie.  Identity would probably continue to use its existing Identity.Application cookie as the default

VirtualSchemeHandler => PolicySchemes
new TryAddCookie extension method that attempts to add a cookie
UseXyzSignIn will AddXyz, TryAddCookie, set that to the default, set forward challenge to Xyz.
related UseIdentitySignIn/refactor PR: https://github.com/aspnet/Identity/pull/1442

Open questions:

Should policy schemes fall back to default scheme behavior? aka AddPolicyScheme("This<=>Default", o => { })
Should we pick a new "SignIn" constant scheme value to use for the name of the sign in cookie (and switch identity to use this too?
Do we want to enable sign in/ sign out for existing handlers so they would forward or throw.  Today they don't implement the sign in/sign out interfaces so the service will block them from being called.

Split this PR, moving the virtual scheme rename/cleanup into https://github.com/aspnet/Security/pull/1665/files will only address the UseSignIn/additional new apis in this PR

Closing since we aren't going to do anything in 2.1, will revisit with more time in 2.2


artifacts/debian: minor typo fix

Thank you @mkozjak !

For future reference, please note we generally develop on master and backport to feature branches (e.g. 2.0.x), so it doesn't "disappear" in future releases.
I've cherry-picked your change to master now (but usually we do it the other way around): https://github.com/mendersoftware/mender-docs/commit/dec7f9fa188eefb2820bae9c1b70a1f13a3cd55d


Update to more modern bevy/rapier/parry/nalgebra dependencies

The examples do not run on my Apple M1, due to the out of date bevy.
I updated to bevy .9 not .10 as other dependencies are on .9 currently.
Resolver = "2" is needed for the newer WGPU used.
Example 2d:

Example 3d:

This can now be closed


update global batch size in eval model compatible to ring-attn-size

I have a question: Does train_batch_size affect DeepSpeed in eval mode?

For example, the code in train_dpo.py:
https://github.com/OpenRLHF/OpenRLHF/blob/main/openrlhf/cli/train_dpo.py#L39-L46
the ds_config in ref_model initialization is obtained from the modified get_eval_ds_config function. This may affect model initialization in deepspeed, especially when using Zero-3 optimization
（https://github.com/OpenRLHF/OpenRLHF/blob/main/openrlhf/models/actor.py#L57）
If not configured properly, it will raise this assertion error:
AssertionError: Gradient accumulation steps:0 has to be greater than 0


Update CalendarMonth__caption class

Bootstrap caused the caption to align left.  Adding a text-align:center makes sure that the Month caption is always aligned in the center.

This will fix #51?

It fixed it in my environment.  It shouldn't conflict with anything else since the scope is limited to that class.

LGTM. If you rebase your change, we can merge it in. :)


what's wrong

when i run python ./manim.py example_scenes.py SquareToCircle -pl
error happens like following:
Animation 0: ShowCreationSquare:   7%| | 1/15 [00:00<00:01,  7.21it/s]  Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0.0: Video: rawvideo, rgba, 854x480, 15 tbr, 15 tbn, 15 tbc
Expected number for loglevel but found: error
Traceback (most recent call last):
File "C:\Users\ljj12\Documents\manim\manim-0.2.0\manimlib\extract_scene.py", line 155, in main
scene = SceneClass(**scene_kwargs)
File "C:\Users\ljj12\Documents\manim\manim-0.2.0\manimlib\scene\scene.py", line 75, in init
self.construct()
File "example_scenes.py", line 83, in construct
self.play(ShowCreation(square))
File "C:\Users\ljj12\Documents\manim\manim-0.2.0\manimlib\scene\scene.py", line 848, in wrapper
func(self, *args, **kwargs)
File "C:\Users\ljj12\Documents\manim\manim-0.2.0\manimlib\scene\scene.py", line 944, in play
self.progress_through_animations(animations)
File "C:\Users\ljj12\Documents\manim\manim-0.2.0\manimlib\scene\scene.py", line 901, in progress_through_animations
self.add_frames(self.get_frame())
File "C:\Users\ljj12\Documents\manim\manim-0.2.0\manimlib\scene\scene.py", line 1135, in add_frames
self.file_writer.write_frame(frame)
File "C:\Users\ljj12\Documents\manim\manim-0.2.0\manimlib\scene\scene_file_writer.py", line 336, in write_frame
self.writing_process.stdin.write(frame.tobytes())
BrokenPipeError: [Errno 32] Broken pipe

Search old issues first.


Marketing LWR site won't publish unless it's Active first

I wasn't able to get the Marketing LWR site to publish using the CLI or even by clicking "Publish" in the Builder.
To get it published, I had to go to
Setup --> Digital Experiences --> LWR Demo Marketing --> Workspaces --> Administration --> Settings --> Activate
After activating, I could then successfully publish the site.
Not sure if just me, but it might be worth adding this step to the readme as well

I just realized its probably because I'm using a developer edition org as the dev hub that is 5 years old, so I tried again in a fresh dev org with scratch orgs and it worked. I was getting a GACK in the old org.


Unable to resolve module @react-native-community/async-storage

Bug
I get the following error :

See latest version changelog :

⚠ BREAKING CHANGE. Since AsyncStorage has been removed from the core, react-native-permissions now relies on @react-native-community/async-storage

Environment info
React native info output:
React Native Environment Info:
    System:
      OS: macOS 10.14.4
      CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
      Memory: 537.23 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 8.15.1 - /usr/local/opt/node@8/bin/node
      Yarn: 1.12.3 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/opt/node@8/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
      Android SDK:
        API Levels: 23, 24, 25, 26, 27, 28
        Build Tools: 27.0.3, 28.0.2, 28.0.3
        System Images: android-23 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-25 | Google Play Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom
    IDEs:
      Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
      Xcode: 10.3/10G8 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.4 => 16.8.4
      react-native: 0.59.10 => 0.59.10
    npmGlobalPackages:
      create-react-native-app: 2.0.2
      react-native-bcrypt: 2.4.0
      react-native-cli: 2.0.1

Library version: ^1.1.1
Steps To Reproduce

react-native run-android
...

Describe what you expected to happen:

On my emulator, I get this error

I think it's caused by my react-native version which is not compatible with latest react-native-permissions release. I think I have to upgrade my react-native version or downgrade react-native-permissions to 1.1.1 ?
EDIT:
I confirm that downgrade react-native-permissions to 1.1.1 works for me

Did you install and link @react-native-community/async-storage? It does not came as a dependency with 1.2.0, it's only a peer dependency.

@zoontek Yes I do ! But same result... When I downgrade react-native-permissions to 1.1.1 version, it's works ! I think I should upgrade my react-native version if I want react-native-permissions 1.2.0 version

Because the version 1.1.1 use AsyncStorage from react-native (which is now deprecated).
Please check that you follow every steps from their 0.59 install: https://github.com/react-native-community/async-storage/blob/LEGACY/README.md

I am closing this since this issue does not exists anymore with the 2.0.0 release.


test-branch/execute-job/quoted-authorization/9f073797-16ae-4433-98e8-a70fd886fb46

PR for testing c53efc8b7f3551cc37acb6158f632a5df874efac

/canonical/self-hosted-runners/run-workflows c53efc8b7f3551cc37acb6158f632a5df874efac


Use underscores in todo asset files names.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 37.359%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1494

Relevant Lines:
3999

💛  - Coveralls


Adds NSURL parsing

@maxkonovalov since you're a regular contributor I figured I'd make Pull requests as well so that we can discuss things together.
This transforms
if let link = json["link"] as? String, url = NSURL(string:link)  {
    profile.link = link
}

into
link <-- json["link"]

What do you think ?

Hey @s4cha, this is great, for some reason I thought that Arrow would support NSURL parsing already 😀 so this is a really welcome addition. 👏
BTW, I think you can assign the PRs you would like to review to me so that I merge and close them.

@maxkonovalov nice!
Unfortunately we can only assign contributors to PRs :(
Let's keep it this way for now then ;)


Add social and contact information to the gatsby-config.

Describe your PR
Updates social meta usernames, images and contact info

Related to this, might be able to finish it out
https://trello.com/c/Sshi6vc2/37-fill-site-metadata-in-gatsby-configjs

@racedale this should close that one out!


Report of untranslated fields

When developing I often end up adding in more text fields as I go, normally in English (my first language). These then later need translating to our other supported languages which normally means sending other members of the team the JSON as txt.
It's pretty easy to miss fields when doing this if I have a large tree, and I like to use default fallback to prevent build errors.
With flutter_localizations (the suggested package for internationalization in the flutter docs) it produces a report of all fields which are untranslated (and which languages).
This is another file generated by the build runner which can then easily be accessed, really makes life easy to just pull up a list.
To make it even better would be to also list the english (or default) version in that file, essentially imitating the JSON structure, so I can literally just send this file to my team for translation.

Thanks for this idea!
This is available now on v3.1.0.
You can use it by typing this command: flutter pub run slang:analyze

@Tienisto This is amazing, thanks! Used it today to catch some I'd forgotten to send to my team ;)


The ability to add a parameters to a method of obtaining relation

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
yes

Fixed issues

Sometimes we use relation with params. As example:
class Document
{
    publick function getUserDocument($user_id)
    {
        return hasOne(UserDocument::class, ['document_id' => 'id'])
            ->andOnCondition(['user_id' => $user_id]);
    }
}

This relationship does not make sense without the parameter. But we can not specify this param when use joinWith method and instead use:
class Document
{
    publick function getUserDocuments()
    {
        return hasMany(UserDocument::class, ['document_id' => 'id']);
    }
}

class PlantController
{
    publick function actionGetUserDocuments()
    {
        $user_id = Yii::$app->getRequest()->getQueryParam('user_id');
        return Document::find()->joinWith(['userDocuments' => function ($q) {
            $q->andWhere(['user_id' => $user_id])
        }]);
    }
}

In the latter example, there are two problems:

relationship has no useful effect, and will always be used only with the user parameter.
the setting of the recording is quite complicated.

The changes I propose to solve this problem:
class Document
{
    publick function getUserDocument($user_id)
    {
        return hasMany(UserDocument::class, ['document_id' => 'id'])
            ->andOnCondition(['user_id' => $user_id]);
    }
}

class PlantController
{
    publick function actionGetUserDocuments()
    {
        $user_id = Yii::$app->getRequest()->getQueryParam('user_id');
        return Document::find()
            ->joinWith('userDocuments')
            ->bindRelationParams(['user_id' => $user_id]);
    }
}

publick function getUserDocument($user_id)

it is not possible to use this as a relation because it does not define something that is possible to express with SQL. It is not possible to load this relation in eager loading using 'with'.
I get the idea but your current approach is the correct approach that should be used instead of added this feature.

it is not possible to use this as a relation because it does not define something that is possible to express with SQL

Do you mean that the current implementation of the framework does not use the expression adnOnCondition in formatting of SQL? I do not understand.

andOnCondition is used but it is not possible to implement eager loading with a dynamic onCondition. It must be fix per relation definition for that implementation to be able to generate an SQL query for retrieving records for eager loading.

can not accept this for the reasons given, sorry.


Add a list of features

A lot of people have been asking on Twitter, Hacker News, and elsewhere about the features of elementary OS. We could provide a page, linked from the home page, that outlines the included apps and features.
Here's a doc I started with the sort of info that could be on the page: https://docs.google.com/a/elementaryos.org/document/d/1Kc7BZlR2AZl6EeFTj8-qL2UOO4mg4JHpb-ymM2z3Vi4/edit?usp=sharing

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10967520-add-a-list-of-features?utm_campaign=plugin&utm_content=tracker%2F10548672&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10548672&utm_medium=issues&utm_source=github).

Official screenshots for each?

Related to #405.

Okay, dropping some recommended action items in here.

[ ] Create a /features page with
[ ] A list of features (see doc above)

Even with the app carousel, I don't think the site has a good spot for showing what our OS is, what features it includes, etc. For example, the guys on the most recent episode of Bad Voltage (at about 9:40) said,

Jeremy: If you go to elementary.io, it says nothing about why it's better at all. An I think that's doing themselves a disservice.

Bryan: It's a good looking website, but you're right, it is a little sparse on details.

Jeremy then mentions things we should be showing off like the new notifications, Contractor, and smart paste in the Terminal.
Essentially people don't know that we've done more than "just" a theme and some apps, and we should tell people about that. :)

Re-titling this report. I'm not convinced that the home page isn't the features page. Why should someone navigate to a new separate page?

Besides a feature page wouldn't it be a good idea to create a online tour, like the one Ubuntu have (but better, prettier and with animations and stuff) (http://www.ubuntu.com/tour/en/)? Then the user wouldn't just see that we provide good features but that the environment is fluid and productive.
One could argue that it would be hard to make it browser compatible (ie), but is the Elementary OS target demographic normally IE users?

@xweque A good start would be http://webos.symbiose.fr.cr/ (a modified version of Symbiose to create an online elementary tour is available here: https://github.com/symbiose/elementary-demo, screenshots here: https://plus.google.com/u/0/115825269531819402710/posts/1q6aXmsLQAg)
But @danrabbit already said this isn't a good idea since users could decide not to install elementary because there are bugs on the online version. We can't reproduce exactly elementary's ui accross all browsers.

We may not be able to do it in all browsers, but say doing it for Firefox, Chrome, Safari and Opera wouldn't be that hard and that would account for about 85% (rough value, estimated, not elementary's starts) of all traffic from desktop. They are all very similar in behaviour. We could simply detect the users browser and disable them from visiting/not show the link to the tour if they are using the wrong browser.
Saying a bug might chase people away might be true, but I think many people don't try Elementary since they don't know what it's about; why not keep Windows/OSX/current Linux? You gotta ask yourself what Ubuntu had in mind putting their laggy and ugly tour up if they didn't expect more downloads/user interest :)
Also as a final note I think Symbios might be a bit too much (couldn't get the elementary version to work though, only the online version). It would be difficult to maintain and in such a "huge" application with more complex features bugs would be much more lightly. A better way would be to make something simple, just having the default applications and features of Pantheon/Elementary. You may not be able to show off notifications without forcing them upon the user, but showing off the new (epic) Multitasking View would come naturally.

I'm very -1 to an imitation. This is a hard "no". We can advertise the OS features in an engaging manner without doing this.

After discussion with @danrabbit, we decided that the home page is the features page and that we don't need a separate page.


video link appears to be incorrect

[Enter feedback here]
link Bind data to Word 2007 content controls using Visual Studio Tools for the Office system (3.0).
goes to a page that does not seem to have the correct video. video length is reported as 9:51 - however the video seems to be 1.29
where is the correct video?

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

ID: 43d637ae-57c3-45b1-b6af-81f3496c9153
Version Independent ID: 9f82915a-e519-3cef-2b69-e4b444fbfdae
Content: Content controls - Visual Studio (Windows)
Content Source: docs/vsto/content-controls.md
Product: visual-studio-windows
Technology: office-development
GitHub Login: @John-Hart
Microsoft Alias: johnhart

@dbautis -- thank you for your question.  Please consider these resources:

Ask a question or find an answer on the Microsoft Q&A page for Visual Studio.
Check the Visual Studio MSDN Forum.
Stack Overflow
Reddit

@John-Hart -- please look into this issue.

The doc linked to a very old document on Office-2007. The linked video in the Word-2007 doc must have been replaced and the original is probably no longer available.   I'll remove the link to the old document


Ispmanager recipe

Q
A

Bug fix?
No

New feature?
Yes

BC breaks?
No

Deprecations?
No

Fixed tickets
N/A

ISPManager recipe with docs and examples

Any news? I think community must try to test it for feedback

Let's try to merge it. Maybe after release of v7 someone starts playing around with it.


FR: alternative for libusb's libusb_detach_kernel_driver et. al.

probe-rs now uses nusb instead of libftdi1-sys/libusb to implement its FTDI probe support. It works pretty well, but unfortunately on Linux users need to manually remove the ftdi_sio kernel module each time they connect a FTDI device, otherwise the device reports busy and nusb can't claim its interfaces.
libftdi calls libusb_detach_kernel_driver which then uses ioctl to detach the kernel drivers temporarily. What do you think, could we a) introduce this mechanism into nusb, or could we at least add some way to work with a particular device's file descriptor?

Yes, this would be good to add. There's a ioctl USBDEVFS_DISCONNECT_CLAIM provides a race-free way to both detach a driver and claim the interface that libusb uses withlibusb_set_auto_detach_kernel_driver, which seems like the better API than the standalone libusb_detach_kernel_driver. Maybe a Linux-only Device::detach_and_claim_interface() that works like claim_interface but uses that ioctl.
Not sure if it's worth exposing the functionality to restrict which kernel driver is detached, but it should probably default to USBDEVFS_DISCONNECT_CLAIM_EXCEPT_DRIVER usbfs to avoid detaching another app using nusb or libusb.


DevFest Nantes - Some partners logoUrl return a 404

Some DevFest Nantes partners logoUrl return a 404;  e.g.: OVH and ISILOG.
This is due to the fact that OVH's logo is a .webp and isilog is a .jpg image. Is there anything we can do about it ?
An easy fix is to request DevFest Nantes to only use .png but it would be great to have a more resilient system.

Ping @martinbonnin

Done in https://github.com/joreilly/Confetti/pull/90


Iterating through keys/values

Does Hive allow to lazily iterate through all keys OR values? Or calling keys/values getters will load everything into memory ?

Hey @radzish!
Normal boxes are loaded into memory as soon as you call Hive.openBox().
You can take a look at LazyBox that only loads the keys into memory.

Hmmm... I have a lots of records. Will probably need to look for something else. Thanks!


[Compatibility] Resource Packs

If a Resource Pack that changes the menu buttons alongside the mod it feels- off
It would be nice if the Menu Button used the menu button textures used by a Resource Pack.

here is the Menu Button next to the Reimagined UI Resource Pack
(the icons are added by a different pack, they arent important here)

I would appreciate a backport of this fix to 1.20.1 as this is the current main modding version and the version I am developing a modpack with custom menu texture pack in.


Support t.Skip in the testing.T type

Example why we use it: https://github.com/istio/istio/blob/8315394ad96aecb83c33bac225041a0106d6ea33/pkg/fuzz/README.md#L16
Workaround we are using now: (TODO)

Workaround: https://github.com/istio/istio/pull/40989

This is now supported in https://github.com/AdamKorcz/go-118-fuzz-build/tree/main/testing


Dark mode

Users want this. I do too but I keep forgetting.

How were you thinking about doing this? I'm interested in this, although Sass color theming is not that straightforward.

I'd love a PR of any sort on this.  It's easy for this to slip down the de-prioritization slope.
tbh I haven't done a dark mode before so I don't know technically how to achieve it best - although I suspect there are some best practices here. Naively, I'd just break up the global sass file and define another one with different color theming and maybe nest it in a .darkmode class that can be put on the body. (note: I'm a pretty hard sass n00b.) I'd probably also attempt to pull out some of the colors spread across css modules to make overriding them easier.
From a design standpoint, it's mostly a fairly straightfoward flipperoo with dark grey and off-white but it will need refinements in the greys and possibly the colors (although I hope not ... but the green I use is quite dark).

A pretty straight forward way to do this would be to put all of your theming into styled-components then create a global theme provider. The upside is that you still get to use Sass and don't have to worry about keeping 2 global stylesheets in sync. The downside is that you have to migrate to styled-components.  I personally love styled-components & would like to make this PR, but if you don't think the project is ready for that kind of migration I'm sure there is another way.

From a quick google around it seems like it has a lot of advantages and ACK the migration proposal if it's something you'd like to do. It seems like styled components would make it easy to provide not just light and dark mode but perhaps even other, user defined themes.
If you pursue, forgiveness in advance for a lot of my styling and component hacks 😂 - I tend to prioritize upfront development speed at the cost of everything else when a product is young.

I tend to prioritize upfront development speed at the cost of everything else when a product is young.

I wouldn't have it any other way!
I probably won't get to this until the weekend but I'll open a PR.

Very much looking forward to it!

Hi, I don't think I have time to complete this. I'm running into a lot of trouble running the app locally 😕. I'll post PR with a few commits if anyone wants to take it on from there but maybe consider dockerizing the app or updating the readme.

Dockerizing the app is a todo. Thanks for the effort!

I think going with a bit darker background may be better, e.g. something like #111, but you could give it a bit of yellow tint.

Yes, that's much better!

After much grief and a working dark-mode using styled components, with SSR this isn't the way to go as it'll require either: users be signed in to get dark mode (so we can know on the server which style they want), a variety of hacks. The move instead is to probably use css variables like is suggested here: https://www.joshwcomeau.com/react/dark-mode/


Add dotenv_iter, which returns iterator over .env. entries

Heyo!
I wound up doing a lot of refactoring, which I hope you think is okay. I did the following:

Moved error handling and parsing into separate modules, to aid readability. This leaves only public items in lib.rs.
Added a iter::Iter, which iterates over .env values, and added a method on it to load them into the environment
Moved try_dir_with_parents into find::find, which looks for a dotenv file without loading it
Ran rustfmt on the code, which seems to have only produced a few minor diffs

I only added dotenv::dotenv_iter, which is like dotenv::dotenv but returns an iterator, since that was the one I needed for my own uses. Should I also add _iter methods for the other ways of loading a dotenv file?
Of course, formatting and organization are pretty subjective, so I welcome your feedback and suggestions.
Thanks!
Fixes #74

A couple of updates:

It looks like --doc takes precedence over --lib, so --lib tests weren't running on travis
I switched the parser tests to use Iter, so that there is some test coverage

Thanks for opening a PR! In particular, thank you for the refactor bits and noticing that the --lib tests weren't running on Travis -- oops!
I guess that, for the sake of consistency, there should be _iter methods for each loading mechanism? Other than that, it looks ready to merge to me 👍

I refactored the tests so that they all run when invoking cargo tests from root. They're split into separate files, so that the environments don't conflict, and use tempdir to create and cd into a temporary directory with a .env file.
All the top-level functions now use the same code to find a .env file and load an iterator, reducing code duplication.
Also, I added examples for everything and comprehensive tests which test every top level function.

This is amazing. Thank you so much!
Merging 👍 💯 🐼

Thank you! Very glad to help :)

Would it be possible to push a new release to crates.io, so that I can update just to use the dotenv iterator?

Done! https://crates.io/crates/dotenv

Sweet!


feat: mock intl api

Purpose (TL;DR) - Mock the global Intl API
Solve the breaking of timer-dependant methods on the Intl global object by including a mocked version
Background (Problem in detail)
Even after calling install(), the Intl.DateTimeFormat() class will currently use the real time of the system, not the time specified by the fake clock.
Affected methods: DateTimeFormat.format(), DateTimeFormat.formatToParts()
My repo demonstrating the problem, using Jest (which uses sinonjs/fake-timers): https://github.com/BenIsenstein/jest_fix_intl_fake_timers
The fix works by following the patterns used to mock the global Date class and mocking the Intl object. A producer function is written to return an Intl object largely identical to the original, except for the DateTimeFormat() class. DateTimeFormat has several methods that are time-sensitive, and depend on the system time when no argument is passed. These are intercepted and made to default to the clock time.
//eslint-disable-next-line jsdoc/require-jsdoc
function createIntl() {
    const ClockIntl = { ...NativeIntl };

    ClockIntl.DateTimeFormat = function (...args) {
        const realFormatter = new NativeIntl.DateTimeFormat(...args);
        const formatter = {};

        ["formatRange", "formatRangeToParts", "resolvedOptions"].forEach(
            (method) => {
                formatter[method] =
                    realFormatter[method].bind(realFormatter);
            }
        );

        ["format", "formatToParts"].forEach((method) => {
            formatter[method] = function (date) {
                return realFormatter[method](date || ClockIntl.clock.now);
            };
        });

        return formatter;
    };

    ClockIntl.DateTimeFormat.prototype = Object.create(
        NativeIntl.DateTimeFormat.prototype
    );
    ClockIntl.DateTimeFormat.prototype.constructor =
        ClockIntl.DateTimeFormat;
    ClockIntl.DateTimeFormat.supportedLocalesOf =
        NativeIntl.DateTimeFormat.supportedLocalesOf;

    return ClockIntl;
}

This fake Intl object is provided to the Global object when install() is called.
Line 1176, inside createClock()
if (intlPresent) {
    clock.Intl = createIntl();
    clock.Intl.clock = clock;
}

and the original Intl object is restored during uninstall().
Line 979 inside hijackMethod()
An else-if clause added to handle hijacking Intl. Because Intl isn't a straightforward global function, rather a global object used like a module, it can't be mocked using the default else clause at the end of hijackMethod(). It has its own clause to set the mocked Intl object globally.
else if (method === "Intl") {
    target[method] = clock[method];

I'm fairly confident on implementation, however less confident on the tests. All advice is appreciated!
Ben

Love when wanted features come with a PR <3 I am off on holiday with just a small mobile screen unsuitable for reviewing code, but hopefully someone else could have a looksie?

I'm on medical leave I'll try to take a look next week and maybe ask Erick from Node to look

As I don't have much context I think it LGTM

Hi all, it looks like the issue in the test suite is being caused by a difference between the mochify and node runtimes. Intl.DateTimeFormat.resolvedOptions() returns a different value between the two. Any suggestions on how to resolve this?

It's not mochify (which is running Chrome headless) vs Node, but specifically Node 14 breaking. You see the tests passing in Node 16 and 18.
If you look at the engine comparisons page for Intl.DateTimeFormat you can see that fractionalSecondDigits was only added in Node 14.6. Guessing we run a slightly older version.
In any case, we only support Node LTS versions, and Node 14 LTS has reached its EOL, so we can just remove that :)

I have now removed Node 14 from main. Does not block this and you do not need to rebase to verify, but know you now 👍
Do you deem it ready for final review and merge?

Rebased just to keep things clean (Y) yes, it's ready for final review!

Thanks for the review! Changes:

removed changelog entry
removed IE tautology
removed setting constructor (setting the prototype takes care of that already, good catch)
added a test for the supportedLocalesOf method


Add path check before adding to user path

I am currently tweaking my zsh config, and in turn sourcing my .zshrc quite often, and I noticed the path to this plugins bin directory is being added multiple times to my PATH variable.  I took a quick look, and I think there should be a check for if the bin path is already present on the user path before adding it to the users PATH variable.  I believe this line:
https://github.com/unixorn/fzf-zsh-plugin/blob/480cbd0cdf1ef03b87c194c1b4c9d438b201c4fd/fzf-zsh-plugin.plugin.zsh#L17
should be wrapped with a check, something like this:
if [[ ! "$path" == *${FZF_PLUGIN_BIN}* ]]; then
  path+=(${FZF_PLUGIN_BIN})
fi

TIL, I'll have to update my other plugins too.


How to use the orbital optimizer with reduced density matrices obtained elsewhere?

Hello,
I heard that "PySCF decouples the active space wavefunction solver from the orbital optimization in the microiterations, and thus may
be easily combined with various modern active space solvers" in the published paper. Now, I want to use the gound-state energy and reduced density matrices obtained elsewhere to optimize MOs with PySCF, could it possible to realize that? I know that DMRG solver or HCI solver is incorporated as part of PySCF packages to exploit the power of orbital optimizer, but this is too comlicated for my personal experiments.
sincerely,
Xiang

There's already an example for OO-MP2 in https://doi.org/10.1063/5.0006074, probably the paper you referred to. Does that meet your needs?

Thanks a lot! Sorry for missing the latest paper, and the paper I refer in issue is https://doi.org/10.1016/j.cplett.2017.03.004 in 2017. I will try with the example.

Hi @mixianxian , has this answered your question?

Sure, thanks a lot!


Use new screenshot APIs on Firebase Test Lab

Is your feature request related to a problem? Please describe.
The new espresso screenshot APIs #200 don't work with our cloud testing providers at the moment, but eventually they will.
Describe the solution you'd like

Remove the EccScreenCaptureProcessor
Update the screenshot test to not use conditional logic for different screenshot implementations
Update the directories to pull paths in the Gradle scripts and Firebase Test lab to "/sdcard/googletest/test_outputfiles"

This is no longer valid, due to changes made as part of the initial pull request that spawned this issue.


Will it run on my vape?

From my point of view, it would definitely run on your vape.
But as you can read from the README.md, it deploys nowhere. So, the code will never be deployed to your vape in the first place.
This is from an analytical point of view, we need to wait for official feedback from @kelseyhightower to be sure.

Just in case you can deploy to your vape because there's no code so it'll do nothing in your vape.

I was able to get it running on my juul yesterday.
Maybe it works on your vape too.
I simply changed this line

to this


Remove outdated text from vac_cert_red_warning & voluntary_self_quarantine (Addresses #2607)

Description
This PR removes out of date information from the FAQ entries vac_cert_red_warning & voluntary_self_quarantine.
What was changed

https://www.coronawarn.app/en/faq/results/#vac_cert_red_warning
https://www.coronawarn.app/de/faq/results/#vac_cert_red_warning
https://www.coronawarn.app/en/faq/results/#voluntary_self_quarantine
https://www.coronawarn.app/de/faq/results/#voluntary_self_quarantine

Screenshots

"vac_cert_red_warning"

German
English

"voluntary_self_quarantine"

German
English

Fixes #2607

This closed PR is conflicting with the text changes: https://github.com/corona-warn-app/cwa-app-ios/pull/4391
See also my comment here: https://github.com/corona-warn-app/cwa-documentation/issues/877#issuecomment-1081781735
Unfortunately, I can not approve these text changes made to the FAQ.


[FR] Camera snapshot url invalid header validation

I have configured the custom snapshot url per camera feature.
The camera returns the header Content-Type: image/jpeg; charset="UTF-8" and double-take chokes on the charset part.
error: url validation failed for snapshot: http://url:port/ISAPI/Streaming/Channels/1/picture - image/jpeg; charset="UTF-8" not valid

It is not exactly textbook behavior but I don't think hikvision is going to fix the firmware anytime soon, so maybe ignoring the charset part is a good idea?
Hardware

Annke C800 flashed with the latest official hikvision firmware (so I guess affects every hikvision camera)

Thanks for reporting this. It should be easy enough to reproduce and fix. I should be able to get a new beta build up tonight.

New beta build should be ready in an hour. I'll update this post when it includes the fix.

I'm going to close this since 1.5.0 fixed the content type issue. Feel free to reopen if you run into problems with it.