Seting a Tag of "Title" to a png files metadata is ignored

Hi there,
Attempting to set a Tag on meta-data for a png file fails to set the attribute. Description, Comment, CreationTime and URL work fine.

Hi @mxc,
Can you share your code please (or better: can you submit send me a reproducible test case?)?


Default value for secondary UserStore password encryption - Not backward compatible

Description:
The issue 7355 is not backward compatible as it causes the flow to break when the secondary user store is saved in .enc format.
The default value defined for the UserStorePasswordEncryption is InternalKeyStore. Hence, by default, it'll use the InternalKeyStore to decrypt the user store password.
Therefore, it is better to change the default Keystore of decryption to Primary Keystore to avoid any interruptions in the flow.
in carbon.xml:
<UserStorePasswordEncryption>KeyStore</UserStorePasswordEncryption>
in default.json:
"keystore.userstore_password_encryption": "KeyStore",
As a suggestion, following logic can be used.
{% if keystore.userstore_password_encryption is defined %} <UserStorePasswordEncryption>{{keystore.userstore_password_encryption}}</UserStorePasswordEncryption> {% endif %}
If we use the above logic, the UserStorePasswordEncryption configuration will not be exist in the carbon.xml and hence, it'll use the Primary keystore for the userstore.
Affected Product Version:
WSO2 IS 5.9.0
Steps to reproduce:

Use different keystores for Primary and Internal.
Save the user store file in .enc format without encrypted="true" is set.
That's it, when the file is converted to xml format, it cause an exception: ERROR {org.wso2.carbon.user.core.config.UserStoreConfigXMLProcessor} - encryption of Property=ConnectionPassword failed org.bouncycastle.jcajce.provider.util.BadBlockException: unable to decrypt block

Actually, this is not backward compatible because we are enforcing a configuration change for an already released version (5.9.0) because this configuration was not there previously and the code had used primary keystore by default. Now we are enforcing it to use internal keysotore.
So, it will break decrypting already encrypted data since we are referring to a different keystore now.

Closing the issue as not affected in current master.


Output shape

Hi,
I trained a model but I don't get the output shape of it.
I converted the .pth to onnx, tensorflow pb file and trt file and from what I can tell I find an output shape of 1x9x160x160 (or several output nodes using tensorboard, with shape 1x9x80x80, 1x9x40x40,1x9x20x20 and 1x9x10x10).
I don't get how do I exploit this output, how to reshape it to obtain my score and bboxes ? Are all the model trained with this shape of output ?
Thank you

Hi, if you are referring to the inference post-processing, here is what we do:

After getting the outputs from the backbone(FPN) we pass it through the a classification head and a bounding box head. Essentially, these are the outputs that you are referring to, and these are the outputs you get after exporting to ONNX.
Now these outputs need to be decoded (multi-scale outputs from FPN to one usable output for bounding box) and filtered (based on the threshold for classification scores). We do this through our custom CUDA calls (see decode.cu)
The last process is Non-Maximum Suppression of the overlapping bounding boxes through a nms_threshold (see nms.cu).

If doing inference through TRT, all these things happen during the engine build and infer(addition of the decode and NMS plugins to parse ONNX graph, which again use decode.cu and nms.cu) in engine.cpp. If doing inference in PyTorch, these steps happen in model.py forward() call.

Hi,
Thanks for your quick answer, very clear.
My problem is probably in the decode step. As I want to use the trained model (on a host computer) on the Jetson TX2 (Jetpack4.4) I have to re-build a TRT engine from the ONNX file on the Jetson, and then I use a personal script to do the inference.
So I suppose I have to take a look at your decode.cu and nms.cu to include them in my own script.
Do you think it's possible or are there other step to take into account ?
Thanks

For starters, in the C++ API, as long as you can keep the program from closing, the engine should remain deserialized. You can you an infinite loop to keep the engine running, like a server.
For more advanced use cases please refer to Triton inference server.


go.mod: drop to go1.19

I just saw https://github.com/rsc/script/commit/334f6c18cff37d66fb02d957d28daf992c18fb9f but would you consider supporting the oldest supported version of Go (1.20) as well?
I've tested on the latest Go 1.20:
$ go version
go version go1.20.12 darwin/arm64

$ go test ./...
?       rsc.io/script   [no test files]
ok      rsc.io/script/internal/diff     0.422s
ok      rsc.io/script/scripttest        0.211s

I'm a long term very happy user of rogpeppe/go-internal/testscript and am looking to migrate to rsc.io/script (see https://github.com/rogpeppe/go-internal/issues/238). My popular project needs to support the oldest supported version of Go as some of the platforms it runs on can be slow to upgrade their Go versions. Updating this module would allow me to migrate to rsc.io/script now.
As go 1.20 is not accepted in go.mod, this PR drops the version to go 1.19.

As Go 1.22 was recently released, the supported versions of Go are 1.21 and 1.22, so this PR is no longer necessary. Closing.


Crash during refresh

Since the end-of-song callback performs asynchronously with the now-playing-update one, what seems to sometimes happen is that the now-playing callback starts executing and sees that there is a current song. Then, it gets interrupted by the end-of-song callback which sets the current song to None if there are no more songs left in the queue. The now-playing callback resumes, but now the current song is None which causes a TypeError when its attributes are accessed.

9003eae changes the mpv end-of-song callback to set a flag and schedule a refresh instead of editing state directly. This should fix this problem.


Add feature to source generator #448

This closes #448

The PR title is not clear enough.
please edit it and use a more related statement to describe the changes this PR does.


🔧[gen-hook tooling issue] Trying to use gen-hook gives ERROR Unable to run generate - missing requirements (npx)

On Windows PC ,with<EMAIL_ADDRESS>when trying to run pnpm gen-hook command, I receive the following error in the console:
& pnpm -v
8.7.5

$ pnpm gen-hook

> workspace@ gen-hook C:\Users\DarkAngel\PhpstormProjects\usehooks-ts
> turbo gen hook && pnpm format

ERROR Unable to run generate - missing requirements (npx)
 ELIFECYCLE  Command failed with exit code 1.

Note: This issue seems to be fixed in an updated version of<EMAIL_ADDRESS>https://github.com/vercel/turbo/issues/5075

Thanks for the report!
Both turbo and @turbo/gen have been upgraded to the latest.
The issue should be fixed. I'll close it but feel free to re-open it if the problem persists.


Add refresh as --preview-window option

When set, automatically reruns the preview command on terminal resize (SIGWINCH).
Default behaviour remains the same (norefresh).
Resolves #2248.

Thanks, but it's currently possible via --bind resize:refresh-preview. I'm going to close the linked issue.
fzf --bind resize:refresh-preview --preview date


[WIP] Fix spark.dynamicAllocation.cachedExecutorIdleTimeout

Motivation: a user would likely want the executors to stay alive until
the longest timeout is hit, not the opposite.
This is done by using the larger of
spark.dynamicAllocation.cachedExecutorIdleTimeout and
spark.dynamicAllocation.cachedExecutorIdleTimeout to calculate the next
deadline.

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I likely have missed something and am planning to use this PR to ask questions.

I likely have missed something and am planning to use this PR to ask questions.


Thematize Image component

Description
Yamada UI components are tied to a theme. However, the Image component does not have a theme.###
Problem Statement/Justification
Themes have defaultProps, which can be utilized to share props throughout the project. However, the Image component does not have a theme, so it cannot take advantage of them.
Proposed Solution or API
No response
Alternatives
No response
Are you willing to participate in implementing this feature and create a pull request include the implementation?
None
Additional Information
No response

I'll try it.


"Cannot redeclare block-scoped variable" in separate files with declaration of same name

Bug Report
🔎 Search Terms
error TS2451: Cannot redeclare block-scoped variable
🕗 Version & Regression Information
This is the behavior in every version I tried, and I reviewed the FAQ for entries about block-scoped variables and shadowing.
⏯ Playground Link
No playground link is available, since the bug is specific to behavior across multiple files.
💻 Code
package.json
{
        "name": "test",
        "devDependencies": {
                "@types/node": "^17.0.4",
                "typescript": "^4.0.0"
        }
}

tsconfig.json
{
        "include": ["*.ts"],
        "compilerOptions": {
                "strict": true
        }
}

index.ts
const b = require('./b')
const c = require('./c')
console.log(b(c))

b.ts
const c = require('./c')
module.exports = (x: any) => x * c

c.ts
module.exports = 3

🙁 Actual behavior
JS files index.js, b.js, c.js are emitted and do produce the expected result, but at compile time, the following errors are thrown:
b.ts:1:7 - error TS2451: Cannot redeclare block-scoped variable 'c'.

1 const c = require('./c')
        ~

  index.ts:2:7
    2 const c = require('./c')
            ~
    'c' was also declared here.

index.ts:2:7 - error TS2451: Cannot redeclare block-scoped variable 'c'.

2 const c = require('./c')
        ~

  b.ts:1:7
    1 const c = require('./c')
            ~
    'c' was also declared here.

Found 2 errors.

Running node index.js does, indeed, yield 9.
🙂 Expected behavior
Code compiles without error, since there is only one declaration of c per file.

When you don't have a import or export statement your file is considered a script, not a module, and scripts share a global scope. See the documentation: https://www.typescriptlang.org/docs/handbook/modules.html

In TypeScript, just as in ECMAScript 2015, any file containing a top-level import or export is considered a module. Conversely, a file without any top-level import or export declarations is treated as a script whose contents are available in the global scope (and therefore to modules as well).

I have the same issue. It might be working as intended, but it's unclear how this needs to be configured in tsconfig.

I stumbled on this issue as well, and it really feels like the following aren't working as intended in a tsconfig for node projects:
    "module": "commonjs",
    "esModuleInterop": true,
    "moduleResolution": "node",

And that's adding a bit on top of the recommended config from here: https://www.npmjs.com/package/@tsconfig/node16
The best solution I found was to do one of two things:
a) Add a useless export to the files that are not working, e.g. export {}
b) Add export statements to everything you're ultimately exporting with module.exports
I suspect that doing the latter would make it easier to transition to ESM when they are no longer experimental.  There's an added benefit if you're using the latest version of TS in that you can prefer exporting your interfaces right away, and lean on import type ... to use them at compile time, but exclude them from actual code.
In the end, we're just straddling that awkward in-between space of ESM + CommonJS, so no solution will feel great. :)

Change your import export statements from node style to ES style:

const b = require('./b') to import b from './b';
module.exports = someVar to export default someVar

Is there a way to force TypeScript to see files without an import or an export as modules instead of scripts?

Is there a way to force TypeScript to see files without an import or an export as modules instead of scripts?

you can set moduleDetection  config option
see: https://stackoverflow.com/a/74968079

When TypeScript doesn't see an import or export, it considers the file to be a script, not a module.
If you're in a project where every file is a module, not a script, you should change moduleDetection to force in your tsconfig.json.
{
  "compilerOptions": {
    "moduleDetection": "force"
  }
}

detail see: cannot-redeclare-block-scoped-variable


Investigate inactive stops in stops.csv

Having re-looked at the stops.csv data recently, I noticed there is a column called Status which indicates if the stop is in use or not.

The possible entries are

"" (i.e. it's blank)
"active"
"inactive"
"new"
"pending"

In our current stops_df (22nd Feb, 2022, running from the master branch) does not contain this column, nor has it been filtered on this basis.

So far it has proven difficult to find a definition of Status values.

NaPTAN guide for data managers   does not contain a defnition of the Status field.
The document "STOP STATUS IN NaPTAN AND DEALING WITH NaPTANs THAT ARE
NO LONGER REQUIRED" contains definitions of "active", "suspended" etc, but says they should be under "Stop Availability". Whereas the "Status" columns should have the values "ACT", "DEL" and "PEN". Also note that this document is marked as DRAFT.

Overall the task is to remove stops that are not in use from the analysis. This probably means filtering out "inactive" and "pending" but for thoroughness we need to get definitions on the others.
Steps for the developer:

email the DfT NaPTAN team to enquire about:

If we are using the most recent data (our current link), and if not, should we be using the NAPTAN API for example? There is a new Beta Site should we be downloading from that?
If we should use the API (could be better for us) can we have some documentation on it?

Look at either our existing data (from the csv) or the new data they point you towards
Filter the dataframe to remove stops that are not in use.

Bear in mind our stops data must have the longitude data and the latitude data.

Hi,
I work within the Office for National Statistics and am using NaPTAN data to conduct some analysis. I had a couple of queries about the data which I was hoping you could answer:

The data we currently use is from the NaPTAN website. Is this the most recent data or should we be using the NaPTAN api?

If we should be using the API, is there any user guide or documentation that would be helpful for this?

There is a column called Status within the stops data. I have looked at the NaPTAN guide for data managers and couldn’t find a definition of the Status field. The unique entries in the Status field appear to be:

Possible Values
“”(i.e. it's blank)
"active"
"inactive"
"new"
"pending"
Do you have a definition of what the values mean please? This will help us remove stops that are not in use from our analysis.

Many thanks,
Antonio`

draft email written. Would you mind taking a look to see if it's okay please? @james-westwood @Mark-Simons-ONS  Then can send after that

Except the formatting it all looks good.

great, have sent email :)

Hi Antonio,
Thanks for the query, we have recently updated the website and created the API and they are both the same output – and they are always the most up to date output.
We only have minimal documentation on the API page, but we are currently looking to add an expanded guide this year.
This is currently the most relevant document for details guidance
http://naptan.dft.gov.uk/naptan/schema/2.4/doc/NaPTANSchemaGuide-2.4-v0.57.pdf
but it isn’t always obvious what things actually mean!
The best description of status is on p158 of this document. I don’t think “new” has been used anywhere.
StopPoint and StopArea instances in the NaPTAN database may have one of three states, as indicated by the Status attribute:
� ‘Active’: Stop is either in use or available to be used.
� ‘Inactive’: Stop is in database but is marked as ‘inactive’ and is not currently in use or available for use. If the StopAvailability (see 6.5) has been used to transfer or suspend the stop for the period within which the data is published, the status of the stop must be ‘active’. This represents a change of interpretation with release 2.4 – and ensures that stops remain available for Bus Service Registration and other purposes whilst it is temporarily suspended or transferred.
� ‘Pending’ delete: Stop is missing, or flagged as deleted from the most recent data upload, and may be in process of being made inactive. Will continue to be exported as if ‘active’ until status is clarified.
Let me know if this helps?
Regards
Adrian

Couple of thoughts I had from this email.

Are we using the latest version of stops? We might have to pull from the API to ensure we are? Not sure if this is a yearly publication or how often the data get's updated. Might have to time stamp data to ensure analysis is reproducible.
Can definitely get rid of inactive stops.
Not sure about pending. I'm not sure what Adrian means by will continue to be exported as if active.

I suggest going back and asking for those couple of points of clarification.

How often is the data published?
How can we tell when the data was updated (is there a time stamp or publication date?)
Could they explain what "exported as if active mean"? Can transport users catch transport from Pending stops or not?

-Yesterday morning I went back and asked about how frequently the data is published. The answer is the timeframes of the data being published isn't consistent. Each LA uploads to the data when and if they need to. The link above shows when a LA last uploaded or changed something in the data. They say a lot of users upload every week or month but there is the potential that nothing has changed.
-I will go back and ask about exported if active.

Conversation between @Antonio-John & @james-westwood  25/02/2022

Start to use the NaPTAN API to be able to download data. New ticket for this #183
Can drop inactive stops from stops.csv, waiting for confirmation how to deal with pending stops.

-Treat stops without a status (i.e blank) as active.
-Treat stops that are pending as active as well. Only 11 stops like this in the live dataset as of the 1st March 15:00.

This has been implemented by #186


Support scale option for collStats

Background

I sometimes uses scale option with dbstats/collstats in mongosh.

ref: https://www.mongodb.com/docs/manual/reference/command/collStats/#syntax

MongoMapper also supports stats(collstats) but does not support scale option.

What I did

I just made MongoMapper supports scale option for stats(collstats).

@MITSUBOSHI
I apologize for my late reply.
Thank you for your work and replies!
@ujihisa
Thank you for your comment too!


Running this in background on windows 11

How would i go about running this watcher in the background on boot on windows 11?

You closed this issue. Did you solve the problem?

Oh hello :p um can't exactly remember why I closed this haha its been some time. I think that it was just that i switched to linux pretty quickly. Task scheduling would be an option if you are trying the same thing.

For anyone else who comes here in future: the most promising lead I got was to use NSSM to wrap it into a Windows service. But currently I'm just using aw-watcher-media-player.
@sudokit thanks for the advice.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1947 ms

Resolved: Bofrost.de performance has improved in 5f1fec8 after 59 minutes.


Add a bit of information to example

New branch after screwing up the squash.

(Continuation of #144.) Just a tip for the next time: if a squash goes wrong, you can split it again and force-push the branch. This keeps the relevant conversation. No biggie though.


start, end dates not having any effect on leisure=pitch

start & end dates have no effect on rendering of leisure=pitch
example:
https://www.openhistoricalmap.org/#map=17/40.75577/-73.84751&layers=OD
shea stadium existed from 1964-2009; the stadium structure appears and disappears appropriately in response to the time slider but the pitch itself is always visible.

could have been part of the general rendering update problem. no longer observed.


I have a Question

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

I have a Question. In my console comes an Error everytime i request an YouTube Video.
Can you help me?
Error: 12:41:21.5189| WARN|| Web error: [429] TooManyRequests
12:41:22.1247| WARN|| Command Error (Could not load. (youtube: youtube-dl failed to load the resource.))

"HTTP Error 429: Too Many Requests or 402: Payment Required
These two error codes indicate that the service is blocking your IP address because of overuse. Usually this is a soft block meaning that you can gain access again after solving CAPTCHA. Just open a browser and solve a CAPTCHA the service suggests you and after that pass cookies to youtube-dl. Note that if your machine has multiple external IPs then you should also pass exactly the same IP you've used for solving CAPTCHA with --source-address. Also you may need to pass a User-Agent HTTP header of your browser with --user-agent.
If this is not the case (no CAPTCHA suggested to solve by the service) then you can contact the service and ask them to unblock your IP address, or - if you have acquired a whitelisted IP address already - use the --proxy or --source-address options to select another IP address." direct quote from README.md. Would this be useful?

How can i contact the Service?

https://github.com/ytdl-org/youtube-dl/issues/23638


Twitter api get configuration implemented

Twitter api help/configuration implemented.
https://dev.twitter.com/rest/reference/get/help/configuration

Added two files

Configuration.rb
get_configuration.rb

This code needs quite a bit of clean-up. I'm going to do it since it is time to move on past this homework but please check my commits after I merge this pull request to see how the code had to change to get it to a working state. You have all sorts of extra code in the app that's not needed for this endpoint and you have code in your success method that is guaranteed to crash at run-time. So, make sure you view the before and after state of the code.

Oh, I see now that your success method won't crash. It's just printing out the name of the user that is stored in the data hash table. Got it.


[Jun Wei] Update PPP

Codecov Report

Merging #265 (e24cf3f) into master (85de4e3) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head e24cf3f differs from pull request most recent head 9e4b022. Consider uploading reports for the commit 9e4b022 to get more accurate results

@@            Coverage Diff            @@
##             master     #265   +/-   ##
=========================================
  Coverage     72.49%   72.49%
  Complexity      981      981
=========================================
  Files           121      121
  Lines          3272     3272
  Branches        433      433
=========================================
  Hits           2372     2372
  Misses          779      779
  Partials        121      121

Continue to review full report at Codecov.

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


event: attempt to support workqueue monitoring on Windows

This adds a poor approximation for the thread counting support.  This
hopefully enables some level of overcommit support for Dispatch root
queues.  Enabling proper support for overcommit should resolve the
recent hangs with package resolution.

CC: @rokhinip

@swift-ci please test


Update user_topics.py

fixing the truncate issue #27796.  fixed this by using the textwrap module to truncate the topic name to 60 characters
code changes  in zerver/lib/user_topics.py

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

This PR is merged on your forked repo, it was supposed to be merged in the original Zulip repo.
Also you can learn about zulip commit discipline as it does not seem correct as per the guideline.


Print the name of label targets

This commit updates wasmprinter to print the target label name for instructions such as br and friends. This is done by maintaining a stack matching the stack of blocks that are entered, and the relative depth is looked up in this stack to then consult the name label name map contained in the label name subsection.
Closes #841

Oh wow, thanks for implementing this @alexcrichton 🙏


Dependencies

I'm using 20.04 Ubuntu in WSL2 on Windows. The instructions say to use the "headless" version of Java (sudo apt install openjdk-11-jre-headless), but after doing that, the server would crash with Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so. It worked once I used the "normal" version sudo apt install openjdk-11-jre.
I also had a problem loading some tool dependencies. I needed to add these as well: for pdfcrop, sudo apt install texlive-extra-utils; for pdf2svg, sudo apt install pdf2svg.

Weird!  I did headless on my ubuntu box but updating doc anyway. thanks!
terence_parr@lab:~$ history |grep jre
    2  apt install openjdk-11-jre-headless
    3  sudo apt install openjdk-11-jre-headless
    5  sudo apt install openjdk-11-jre-headless
  274  history |grep jre

I think I mentioned the others in README:
sudo apt install texlive-extra-utils # gets pdfcrop
sudo apt install pdf2svg

That looks great. I'm not sure if it's required but you might want to add "-y" after the "install" in every "sudo apt install", too. E.g., "sudo apt install -y maven".

Ah. yep. good idea.


Turn on Optimizer tests

Codecov Report

Merging #13 (e6cb2ac) into main (e836338) will increase coverage by 9.96%.
The diff coverage is 100.00%.

Additional details and impacted files


Copy-Item : A positional parameter cannot be found that accepts argument '/Y'.

[Enter feedback here]
mountvol X: /s
copy %WINDIR%\System32\SecConfig.efi X:\EFI\Microsoft\Boot\SecConfig.efi /Y
bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi"
bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO
bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} device partition=X:
mountvol X: /d
give me error:
Copy-Item : A positional parameter cannot be found that accepts argument '/Y'.
At line:1 char:1

copy %WINDIR%\System32\SecConfig.efi X:\EFI\Microsoft\Boot\SecConfig. ...

  + CategoryInfo          : InvalidArgument: (:) [Copy-Item], ParameterBindingException
  + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.CopyItemCommand

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

ID: 41c2cb44-269d-3334-019a-726eb5432f1c
Version Independent ID: 251024cc-b818-18c6-a112-4ac0276cb4b1
Content: Manage Windows Defender Credential Guard (Windows 10) - Microsoft 365 Security
Content Source: windows/security/identity-protection/credential-guard/credential-guard-manage.md
Product: w10
Technology: windows
GitHub Login: @DulceMontemayor
Microsoft Alias: dansimp

Please read the documentation very closely. The script is not supposed to be run in PowerShell.

Delete the Windows Defender Credential Guard EFI variables by using bcdedit. From an elevated command prompt, type the following commands:

Use cmd.exe and make sure to Run as Administrator ... to make the script work.
Please also make sure that the computer you run the command on is compatible with Device Guard and Virtualization Based Security. Too many users complain about the script not working, without checking of the computer they run the script on actually supports the feature. The problem is too often with the end user equipment and lack of verification before running the script.

All commands are worked . I have tested Many times.  NO issues .

It seems that the question has been answered by the community,  and thus the issue is being marked as resolved.
Please note that the issues section of the repository is intended for corrections in technical documentation.
Should you need to ask a similar question again, consider asking the question via the Windows 10 Support channel.
Feel free to re-open this issue if you feel there is something needed to be updated within the article itself.
Thank you.


iPhone X full screen not supported

org.javafxports:jfxmobile-plugin:2.0.16
Black(blank) bars are present on the top and bottom in portrait mode and left and right in landscape mode on the iPhone X.  Can support be added for the latest devices?  Is this simply a gvm recompile against the latest XCode libraries?

I'm sure the devs already know this but after March 31, iPhone X support is mandated:
https://developer.apple.com/ios/submit/
"Update your version of Xcode to the latest release of Xcode 9 available on the Mac App Store, which includes the iOS 11 SDK, and build your apps. Starting April 2018, all new iOS apps submitted to the App Store must be built with the iOS 11 SDK. All new apps for iPhone, including universal apps, must support the Super Retina display of iPhone X."

Can you add a black image file named<EMAIL_ADDRESS>with resolution 1125x2436 to you src/ios/assets and try again?

Yes, that worked!  I see that the Gluon Netbeans plugin (2.6.2) is missing this asset.
Does glisten account for the notch?  For glisten and non-glisten based apps, is there a way to know the exact orientation?  OrientationService only knows HORIZONTAL and VERTICAL but the notch is only on one side...

The plugins need to be updated with the missing resource, indeed.
For now, Glisten is not aware of the notch. The OrientationService already deals internally with left, right orientation, but since there is no equivalent on Android, it doesn't expose those.

...but aren't notches coming in Android?  I suggest to use the following in OrientationService instead of javafx.geometry.Orientation directly:
import javafx.geometry.Orientation;

public enum DeviceOrientation {
    HORIZONTAL_LEFT(Orientation.HORIZONTAL),
    HORIZONTAL_RIGHT(Orientation.HORIZONTAL),
    VERTICAL_UP(Orientation.VERTICAL),
    VERTICAL_DOWN(Orientation.VERTICAL);

    Orientation orientation;
    DeviceOrientation(Orientation orientation) {
        this.orientation = orientation;
    }
    public Orientation getOrientation() {
        return this.orientation;
    }
}

Turns out this is really needed... on iOS 11 on an iPhone X, turning the phone upside down triggers an Orientation event but does not rotate the scene.  This will likely result in the developers coding to pad the top on the event but since it does not rotate, it stay in landscape with extra padding on the or right of the display (which is actually the top of the scene).
I checked a bunch of native apps and it seems that the general behavior is to leave it in the previous orientation, thus ignoring the orientation when the device is "upside down".

Closing this one and adding a new feature request to know all 4 positions of orientation when available.


Feature/234  fix gift entry merge conflict

Critical Changes
Changes
Issues Closed
Community Ideas Delivered
Features Intended for Future Release
Features for Elevate Customers
New Metadata
Deleted Metadata

The original conflict PR, #6610 , should close once this PR is merged.


Styling for listing stream names

This styles the list of stream names that appears on the invite users modal, and when copying users to invite from an existing stream when creating a new stream.

One thing to note: the way the "new style" checkboxes are coded precludes implementing this cleanly. Those checkboxes are created by applying styles to any span element within a label element. Since we need to use the span element to style items in a list of radio buttons or checkboxes, we have to add a bunch of styles essentially "un-styling" the default in-label span element.
The ideal way to implement a reusable, formatted stream name component would be to start by refactoring the new style checkboxes to use a span element with a class so that further span elements can be used inside those label elements, but that's a project for another time.

It feel like this introduces a lot of CSS for the size of the feature.  Is there a way to build off of existing styles more?

My note in the commit description explains why it's difficult to do this concisely - it's because of the way span elements are handled in the new style checkboxes.

Oh, gotcha.  It's actually in the PR description--it may be worth adding at least a brief summary of that to the commit message(s)?

ah oops, I think we didn't explain this well enough in the doc. The idea here is to change this to an input box that takes stream pills (plus a typeahead), rather than a checkbox list of streams. A typical large org will have 100s of streams, so the list method we currently employ is unfortunately not viable.
I'll send a screenshot with the type of thing I was imagining we could turn this into.

Ohhhh makes sense, sorry for the confusion. I'll take another crack at this!

@rishig is #7998 still being actively worked on?

No, you should feel free to take it over.

Closing as we are replacing this with a pills-based UI for picking streams.


[Garden] Download models in the background

🎉 New feature

Closes https://github.com/gazebosim/gz-sim/issues/1260

Summary
it requires https://github.com/gazebosim/sdformat/pull/1027
I was trying to add this functionality to Citadel, but we need to load a simple world when we are downloading the models, this simple world will add a name to the Scene which in most of the cases is not going to match with the desired world name.
This will generate that SceneBroadcaster will create some topics with undesired names. Using the reset API I can create the desired topics but, the old topics are still there.
Example:
/clock
/gazebo/resource_paths
/gui/camera/pose
/stats
/world/empty_world/clock
/world/empty_world/dynamic_pose/info
/world/empty_world/pose/info
/world/empty_world/scene/deletion
/world/empty_world/scene/info
/world/empty_world/state
/world/empty_world/stats
/world/shapes/dynamic_pose/info
/world/shapes/pose/info
/world/shapes/scene/deletion
/world/shapes/scene/info
/world/shapes/state

Another issue happens in the Physics thread, sometimes some links are not added. Myabe a race condition ?
It builds on top of https://github.com/gazebosim/gz-sim/pull/1327
Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

hi @ahcorde , I have experiment this PR and encounter some issues.
at first, it runs fine with shapes.sdf, until I have trying with ardupilot_gazebo, please see this issue ,
then I have add many igndbg trace statements around those methods, I found some concurrency problem.
for shapes.sdf, maybe it's structure is too simple, everything is fine.
it only create one postupdate worker thread.

server side log

slim:ardupilot_gazebo-1 xlla$ lldb ruby -- /usr/local/bin/ign gazebo -s -v 4 -r shapes.sdf
error: module importing failed: invalid pathname
(lldb) target create "ruby"
Current executable set to 'ruby' (x86_64).
(lldb) settings set -- target.run-args  "/usr/local/bin/ign" "gazebo" "-s" "-v" "4" "-r" "shapes.sdf"
(lldb) r
Process 71222 launched: '/usr/local/opt/ruby/bin/ruby' (x86_64)
[Msg] Ignition Gazebo Server v7.0.0~pre1
this->dataPtr->config.Source() 2
[Msg] Loading default world.
[Msg] Loading SDF world file[/usr/local/Cellar/ignition-gazebo7/6.999.999~0~20220412/share/ignition/ignition-gazebo7/worlds/shapes.sdf].
[Msg] Loaded level [3]
[Msg] No systems loaded from SDF, loading defaults
[Dbg] [ServerConfig.cc:1004] Loaded (3) plugins from file [/Users/xlla/.ignition/gazebo/7/server.config]
[Dbg] [Physics.cc:824] Loaded [ignition::physics::dartsim::Plugin] from library [/usr/local/Cellar/ignition-physics6/5.999.999~0~20220414/lib/ign-physics-6/engine-plugins/libignition-physics-dartsim-plugin.dylib]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::Physics] for entity [1]
[Msg] Create service on [/world/shapes/create]
[Msg] Remove service on [/world/shapes/remove]
[Msg] Pose service on [/world/shapes/set_pose]
[Msg] Pose service on [/world/shapes/set_pose_vector]
[Msg] Light configuration service on [/world/shapes/light_config]
[Msg] Physics service on [/world/shapes/set_physics]
[Msg] SphericalCoordinates service on [/world/shapes/set_spherical_coordinates]
[Msg] Enable collision service on [/world/shapes/enable_collision]
[Msg] Disable collision service on [/world/shapes/disable_collision]
[Msg] Material service on [/world/shapes/visual_config]
[Msg] Material service on [/world/shapes/wheel_slip]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::UserCommands] for entity [1]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::SceneBroadcaster] for entity [1]
[Msg] Serving world controls on [/world/shapes/control], [/world/shapes/control/state] and [/world/shapes/playback/control]
[Msg] Serving GUI information on [/world/shapes/gui/info]
[Msg] World [shapes] initialized with [default_physics] physics profile.
[Msg] Serving world SDF generation service on [/world/shapes/generate_world_sdf]
[Msg] Serving world names on [/gazebo/worlds]
[Msg] Resource path add service on [/gazebo/resource_paths/add].
[Msg] Resource path get service on [/gazebo/resource_paths/get].
[Msg] Resource paths published on [/gazebo/resource_paths].
[Msg] Server control service on [/server_control].
[Msg] Download models in parallel has finished. Now you can start the simulation
[Msg] Found no publishers on /stats, adding root stats topic
[Msg] Found no publishers on /clock, adding root clock topic
[Dbg] [SimulationRunner.cc:494] Creating PostUpdate worker threads: 2
[Dbg] [SimulationRunner.cc:505] Creating postupdate worker thread (0)
[Msg] Serving scene information on [/world/shapes/scene/info]
[Msg] Serving graph information on [/world/shapes/scene/graph]
[Msg] Serving full state on [/world/shapes/state]
[Msg] Serving full state (async) on [/world/shapes/state_async]
[Msg] Publishing scene information on [/world/shapes/scene/info]
[Msg] Publishing entity deletions on [/world/shapes/scene/deletion]
[Msg] Publishing state changes on [/world/shapes/state]
[Msg] Publishing pose messages on [/world/shapes/pose/info]
[Msg] Publishing dynamic pose messages on [/world/shapes/dynamic_pose/info]
[Dbg] [SimulationRunner.cc:259] Rewinding simulation back to time zero.
[Dbg] [SceneBroadcaster.cc:349] publish just periodic change components
[Dbg] [EntityComponentManager.cc:1617] Updated state thread iterators: 8 numEntities: 28 threads processing around 4 entities each.
[Dbg] [EntityComponentManager.cc:1676] after calculate state thread load
[Dbg] [EntityComponentManager.cc:1701] total workers: 7
[Dbg] [EntityComponentManager.cc:1705] spawn worker 0
[Dbg] [EntityComponentManager.cc:1705] spawn worker 1
[Dbg] [EntityComponentManager.cc:1705] spawn worker 2
[Dbg] [EntityComponentManager.cc:1705] spawn worker 3
[Dbg] [EntityComponentManager.cc:1705] spawn worker 4
[Dbg] [EntityComponentManager.cc:1705] spawn worker 5
[Dbg] [EntityComponentManager.cc:1705] spawn worker 6
[Dbg] [EntityComponentManager.cc:1711] wait workers finish
[Dbg] [EntityComponentManager.cc:1717] all workers finished
[Dbg] [SceneBroadcaster.cc:336] publish full state
[Dbg] [EntityComponentManager.cc:1676] after calculate state thread load
[Dbg] [EntityComponentManager.cc:1701] total workers: 7
[Dbg] [EntityComponentManager.cc:1705] spawn worker 0
[Wrn] [Component.hh:144] [Dbg] [EntityComponentManager.cc:1705] spawn worker 1
Trying to serialize component with data type [N3sdf3v135WorldE], which doesn't have `operator<<`. Component will not be serialized.
[Dbg] [EntityComponentManager.cc:1705] spawn worker 2
[Dbg] [EntityComponentManager.cc:1705] spawn worker 3
[Dbg] [EntityComponentManager.cc:1705] spawn worker 4
[Dbg] [EntityComponentManager.cc:1705] spawn worker 5
[Dbg] [EntityComponentManager.cc:1705] spawn worker 6
[Dbg] [EntityComponentManager.cc:1711] wait workers finish
[Dbg] [EntityComponentManager.cc:1717] all workers finished

for iris_arducopter_runway.world,  it create five postupdate worker thread, the trace log get fuzzy,
it seems SceneBroadcaster.cc Line 349 got launched after Line 346 launched immediately,  then EntityComponentManagerPrivate::CalculateStateThreadLoad invoked concurrently.
around Line 336
    else if (!_info.paused)
    {
      IGN_PROFILE("SceneBroadcast::PostUpdate UpdateState");
      auto periodicComponents = _manager.ComponentTypesWithPeriodicChanges();
      igndbg << "publish just periodic change components "  << std::endl;
      _manager.State(*this->dataPtr->stepMsg.mutable_state(),
          {}, periodicComponents);
    }

around Line 349
    if (this->dataPtr->stateServiceRequest)
    {
        igndbg << "publish full state "  << std::endl;
      _manager.State(*this->dataPtr->stepMsg.mutable_state(), {}, {}, true);
    }

server side log

slim:ardupilot_gazebo-1 xlla$ lldb ruby -- /usr/local/bin/ign gazebo -s -v 4 -r iris_arducopter_runway.world
error: module importing failed: invalid pathname
(lldb) target create "ruby"
Current executable set to 'ruby' (x86_64).
(lldb) settings set -- target.run-args  "/usr/local/bin/ign" "gazebo" "-s" "-v" "4" "-r" "iris_arducopter_runway.world"
(lldb) r
Process 69775 launched: '/usr/local/opt/ruby/bin/ruby' (x86_64)
[Msg] Ignition Gazebo Server v7.0.0~pre1
this->dataPtr->config.Source() 2
[Msg] Loading default world.
[Msg] Loading SDF world file[/Users/xlla/git/ardupilot_gazebo-1/worlds/iris_arducopter_runway.world].
[Msg] Loaded level [3]
[Msg] No systems loaded from SDF, loading defaults
[Dbg] [ServerConfig.cc:1004] Loaded (3) plugins from file [/Users/xlla/.ignition/gazebo/7/server.config]
[Dbg] [Physics.cc:824] Loaded [ignition::physics::dartsim::Plugin] from library [/usr/local/Cellar/ignition-physics6/5.999.999~0~20220414/lib/ign-physics-6/engine-plugins/libignition-physics-dartsim-plugin.dylib]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::Physics] for entity [1]
[Msg] Create service on [/world/iris_arducopter_runway/create]
[Msg] Remove service on [/world/iris_arducopter_runway/remove]
[Msg] Pose service on [/world/iris_arducopter_runway/set_pose]
[Msg] Pose service on [/world/iris_arducopter_runway/set_pose_vector]
[Msg] Light configuration service on [/world/iris_arducopter_runway/light_config]
[Msg] Physics service on [/world/iris_arducopter_runway/set_physics]
[Msg] SphericalCoordinates service on [/world/iris_arducopter_runway/set_spherical_coordinates]
[Msg] Enable collision service on [/world/iris_arducopter_runway/enable_collision]
[Msg] Disable collision service on [/world/iris_arducopter_runway/disable_collision]
[Msg] Material service on [/world/iris_arducopter_runway/visual_config]
[Msg] Material service on [/world/iris_arducopter_runway/wheel_slip]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::UserCommands] for entity [1]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::SceneBroadcaster] for entity [1]
[Msg] Serving world controls on [/world/iris_arducopter_runway/control], [/world/iris_arducopter_runway/control/state] and [/world/iris_arducopter_runway/playback/control]
[Msg] Serving GUI information on [/world/iris_arducopter_runway/gui/info]
[Msg] World [iris_arducopter_runway] initialized with [default_physics] physics profile.
[Msg] Serving world SDF generation service on [/world/iris_arducopter_runway/generate_world_sdf]
[Msg] Serving world names on [/gazebo/worlds]
[Msg] Resource path add service on [/gazebo/resource_paths/add].
[Msg] Resource path get service on [/gazebo/resource_paths/get].
[Msg] Resource paths published on [/gazebo/resource_paths].
[Msg] Server control service on [/server_control].
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::JointStatePublisher] for entity [9]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::LiftDrag] for entity [9]
[Dbg] [SystemManager.cc:61] This system Plugin [ignition::gazebo::systems::LiftDrag] is already loaded in this entity [9]
[Dbg] [SystemManager.cc:61] This system Plugin [ignition::gazebo::systems::LiftDrag] is already loaded in this entity [9]
[Dbg] [SystemManager.cc:61] This system Plugin [ignition::gazebo::systems::LiftDrag] is already loaded in this entity [9]
[Dbg] [SystemManager.cc:61] This system Plugin [ignition::gazebo::systems::LiftDrag] is already loaded in this entity [9]
[Dbg] [SystemManager.cc:61] This system Plugin [ignition::gazebo::systems::LiftDrag] is already loaded in this entity [9]
[Dbg] [SystemManager.cc:61] This system Plugin [ignition::gazebo::systems::LiftDrag] is already loaded in this entity [9]
[Dbg] [SystemManager.cc:61] This system Plugin [ignition::gazebo::systems::LiftDrag] is already loaded in this entity [9]
[Msg] ApplyJointForce subscribing to Double messages on [/model/iris/joint/rotor_0_joint/cmd_force]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::ApplyJointForce] for entity [9]
[Dbg] [SystemManager.cc:61] This system Plugin [ignition::gazebo::systems::ApplyJointForce] is already loaded in this entity [9]
[Dbg] [SystemManager.cc:61] This system Plugin [ignition::gazebo::systems::ApplyJointForce] is already loaded in this entity [9]
[Dbg] [SystemManager.cc:61] This system Plugin [ignition::gazebo::systems::ApplyJointForce] is already loaded in this entity [9]
[Dbg] [SystemManager.cc:89] Loaded system [ArduPilotPlugin] for entity [9]
[Dbg] [Physics.cc:824] Loaded [ignition::physics::dartsim::Plugin] from library [/usr/local/Cellar/ignition-physics6/5.999.999~0~20220414/lib/ign-physics-6/engine-plugins/libignition-physics-dartsim-plugin.dylib]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::Physics] for entity [1]
[Msg] Create service on [/world/iris_arducopter_runway/create]
[Msg] Remove service on [/world/iris_arducopter_runway/remove]
[Msg] Pose service on [/world/iris_arducopter_runway/set_pose]
[Msg] Pose service on [/world/iris_arducopter_runway/set_pose_vector]
[Msg] Light configuration service on [/world/iris_arducopter_runway/light_config]
[Msg] Physics service on [/world/iris_arducopter_runway/set_physics]
[Msg] SphericalCoordinates service on [/world/iris_arducopter_runway/set_spherical_coordinates]
[Msg] Enable collision service on [/world/iris_arducopter_runway/enable_collision]
[Msg] Disable collision service on [/world/iris_arducopter_runway/disable_collision]
[Msg] Material service on [/world/iris_arducopter_runway/visual_config]
[Msg] Material service on [/world/iris_arducopter_runway/wheel_slip]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::UserCommands] for entity [1]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::SceneBroadcaster] for entity [1]
[Dbg] [SystemManager.cc:89] Loaded system [ignition::gazebo::systems::Imu] for entity [1]
[Msg] Download models in parallel has finished. Now you can start the simulation
[Msg] Found no publishers on /stats, adding root stats topic
[Msg] Found no publishers on /clock, adding root clock topic
[Dbg] [SimulationRunner.cc:494] Creating PostUpdate worker threads: 6
[Dbg] [SimulationRunner.cc:505] Creating postupdate worker thread (0)
[Dbg] [SimulationRunner.cc:505] Creating postupdate worker thread (1)
[Dbg] [SimulationRunner.cc:505] Creating postupdate worker thread (2)
[Dbg] [SimulationRunner.cc:505] Creating postupdate worker thread (3)
[Dbg] [SimulationRunner.cc:505] Creating postupdate worker thread (4)
[Dbg] [ArduPilotPlugin.cc:821] Computed IMU topic to be: world/iris_arducopter_runway/model/iris/link/imu_link/sensor/imu_sensor/imu
[Msg] Using [ode] collision detector
[Msg] Using [DantzigBoxedLcpSolver] solver.
[Msg] Serving scene information on [/world/iris_arducopter_runway[Dbg] [ImuSensor.cc:148] IMU data for [iris::imu_link::imu_sensor/world/iris_arducopter_runway] advertised on [world/iris_arducopter_runway/model/iris/link/imu_link/sensor/imu_sensor/imu]
[Msg] Serving scene information on []/world/iris_arducopter_runway
/scene/info]
[Msg] Serving graph information on [/world/iris_arducopter_runway/scene/graph]
Serving graph information on [/world/iris_arducopter_runway/scene/graph]
[Msg] Serving full state on [/world/iris_arducopter_runway/state/][Msg] ][Msg] Serving full state on [/world/iris_arducopter_runway/world/iris_arducopter_runway/state]
[Msg] Serving full state (async) on [Serving full state (async) on [[Msg] /Serving full state (async) on [state_asyncServing full state (async) on [state_async/world/iris_arducopter_runway]/world/iris_arducopter_runway]
/
/state_async]
[Msg] Publishing scene information on [/world/iris_arducopter_runway/scene/info]
Publishing scene information on [/world/iris_arducopter_runway/scene/info]
[Msg] [Msg] [Msg] /world/iris_arducopter_runway/scene/deletionPublishing entity deletions on []/world/iris_arducopter_runway/scene/deletion
[Msg] Publishing state changes on [Publishing state changes on [/world/iris_arducopter_runway/state/world/iris_arducopter_runway/state]]
[Msg] Publishing pose messages on [Publishing pose messages on [/world/iris_arducopter_runway/world/iris_arducopter_runway//pose/infopose/info]]
[Msg] Publishing dynamic pose messages on [Publishing dynamic pose messages on [/world/iris_arducopter_runway//dynamic_pose/infodynamic_pose/info]]
[Dbg] [SimulationRunner.cc:259] Rewinding simulation back to time zero.
[Dbg] [SceneBroadcaster.cc:336] [Dbg] [SceneBroadcaster.cc:336] [Dbg] [SceneBroadcaster.cc:349] publish full state publish just periodic change components publish full state publish just periodic change components
[Dbg] [EntityComponentManager.cc:1617] [Dbg] [EntityComponentManager.cc:1617] [Dbg] [EntityComponentManager.cc:1676] Updated state thread iterators: after calculate state thread load Updated state thread iterators: after calculate state thread load
numEntities:  numEntities: 38 threads processing around  threads processing around [Dbg] [EntityComponentManager.cc:1701] 5total workers:  entities each.
[Dbg] [EntityComponentManager.cc:1705] spawn worker spawn worker [Dbg] [EntityComponentManager.cc:1676] 0
after calculate state thread load
after calculate state thread load
[Dbg] [EntityComponentManager.cc:1701] [Dbg] [EntityComponentManager.cc:1701] [Dbg] [EntityComponentManager.cc:1705] total workers: spawn worker 81
[Dbg] [EntityComponentManager.cc:1705] spawn worker spawn worker [Dbg] [EntityComponentManager.cc:1705] 0spawn worker 0spawn worker 2
[Wrn] [Component.hh:144] Trying to serialize component with data type [N3sdf3v135WorldE], which doesn't have operator<<. Component will not be serialized.
[Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] spawn worker spawn worker 3131
[Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] 42
[Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] spawn worker spawn worker 53
[Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] spawn worker 46
[Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] spawn worker 57
[Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] [Dbg] [EntityComponentManager.cc:1705] spawn worker spawn worker 68
Process 69775 stopped

thread #32, stop reason = EXC_BAD_ACCESS (code=1, address=0x10)
frame #0: 0x0000000108734148 libignition-gazebo7.7.dylibvoid* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ignition::gazebo::v7::EntityComponentManager::State(ignition::msgs::SerializedStateMap&, std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > const&, std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > const&, bool) const::$_0, std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned long long, std::__1::unordered_map<unsigned long long, unsigned long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, unsigned long> > > >, void*>*> >, std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned long long, std::__1::unordered_map<unsigned long long, unsigned long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, unsigned long> > > >, void*>*> > > >(void*) + 168 libignition-gazebo7.7.dylibstd::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, ignition::gazebo::v7::EntityComponentManager::State(ignition::msgs::SerializedStateMap&, std::__1::unordered_set<unsigned long long, std::__1::hash, std::__1::equal_to, std::__1::allocator > const&, std::__1::unordered_set<unsigned long long, std::__1::hash, std::__1::equal_to, std::__1::allocator > const&, bool) const::$_0, std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned long long, std::__1::unordered_map<unsigned long long, unsigned long, std::__1::hash, std::__1::equal_to, std::__1::allocator<std::__1::pair<unsigned long long const, unsigned long> > > >, void*>> >, std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned long long, std::__1::unordered_map<unsigned long long, unsigned long, std::__1::hash, std::__1::equal_to, std::__1::allocator<std::__1::pair<unsigned long long const, unsigned long> > > >, void>*> > > >:
->  0x108734148 <+168>: movq   0x10(%rbx), %r9
0x10873414c <+172>: movq   0x8(%r12), %rdi
0x108734151 <+177>: cmpq   $0x0, 0x18(%rdi)
0x108734156 <+182>: je     0x108734120               ; <+128>

after revert this PR,  iris_arducopter_runway.world runs fine.

Some issues I've found:

Same as comment https://github.com/gazebosim/gz-sim/pull/1464#issuecomment-1138946824
When using the resource spawner, the sim freezes while the item is being loaded and am not able to interact with the scene

When using the create service call, I'm able to interact with the scene but the entities in the scene are frozen

here's the service command I used:
ign service -s /world/shapes/create \
--reqtype ignition.msgs.EntityFactory \
--reptype ignition.msgs.Boolean \
--timeout 300 \
--req 'sdf: '\
'"<?xml version=\"1.0\" ?>'\
'<sdf version=\"1.8\">'\
'<include>'\
'<uri>'\
'https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/dynamo_x4_sensor_config_1'\
'</uri>'\
'</include>'\
'</sdf>" '\
'pose: {position: {z: 5}} '\
'name: "copter" '

maybe you can feel some issues when the model is loaded in rendering but it's something which is not targeting this PR.

Can you please clarify?

I think that the merge is okay.  It may be cleaner to rebase on main at this point, though?

This seems odd, did it come in from the merge from main?
/github/workspace/src/Server.cc: In member function 'void gz::sim::v7::Server::Init()':
  /github/workspace/src/Server.cc:207:43: error: 'class sdf::v13::Root' has no member named 'WorldNameFromFile'
    207 |     auto errors2 = this->dataPtr->sdfRoot.WorldNameFromFile(

This seems odd, did it come in from the merge from main?
/github/workspace/src/Server.cc: In member function 'void gz::sim::v7::Server::Init()':
  /github/workspace/src/Server.cc:207:43: error: 'class sdf::v13::Root' has no member named 'WorldNameFromFile'
    207 |     auto errors2 = this->dataPtr->sdfRoot.WorldNameFromFile(

@mjcarroll  This is not merged yet https://github.com/gazebosim/sdformat/pull/1027

do you want to merge/release or wait for @chapulina ?

Don't wait for me on the SDF PR 🚢

@ahcorde see #1669 as an alternative that doesn't need the restart feature.

Closing in favor of https://github.com/gazebosim/gz-sim/pull/1669


How do I create a release note for each language on the command line?

Question Checklist
#7016
How do I create a release note for each language on the command line?
Question Description

I recently updated fastlane, and suddenly I get an error telling me to write the release notes in the correct language. How can I fix this?
I do not want to write a file. In the past, the command line option -release_note was enough, but why does not it support command line option and force file creation?

Please provide more information. What command are you executing? What are you inputting where and how? What error message are you getting?


no errors in tolerant mode

"\1"; "use strict";

Does output an empty array without any error messages, but the error message should
Line 1: Octal literals are not allowed in strict mode.
Also this combinations does not show any errors:
function hello() { "octal directive\1"; "use strict"; }
"use strict"; x = { set f(eval) {} }

Here is an example where no error are visible
Code in: var x = /[P QR]/\g
Output:
{
        "body": [
          {
            "declarations": [
              {
                "id": {
                  "name": "x",
                  "type": "Identifier"
                },
                "init": {
                  "raw": "/[P QR]/g",
                  "regex": {
                    "flags": "g",
                    "pattern": "[P QR]"
                  },
                  "type": "Literal",
                  "value": /[P QR]/g
                },
                "type": "VariableDeclarator"
              }
            ],
            "kind": "var",
            "type": "VariableDeclaration"
          }
        ],
        "errors": [],  // No errors here!!
        "sourceType": "script",
        "type": "Program"
      }

Thanks for the report @nowindowsowrking! Please try to keep it one problem at a time. Also, please include the steps to reproduce the problem.
Here's what I tried, both did not reproduce the problem you're describing. The code parsed by Esprima correctly triggered the error.
> esprima.parse('"\\1"; "use strict"', { tolerant: true }).errors.length
1
> esprima.parse('var x = /[P QR]/\\g', { tolerant: true }).errors.length
1

@ariya I am on Windows 10 and NodejS v. 7.5.0, and I simply did this
esprima.parse('var x = /[P QR]/\g', { tolerant: true})

I also tried it with esprima.parseModule and esprima.parseScript   with same result.

@nowindowsowrking The backslash needs to be escaped with another backslash.

@ariya I know. But if I do that and run the same test, I ending up with Error: Line 1: Unexpected token ILLEGAL
It seems there are unicode, regular expressions that are the issue here except for this one 1 = 2

@ariya Here is part of the stack trace if that helps
1) Testing tolerant mode
     Error: Line 1: Unexpected token ILLEGAL
      at ErrorHandler.constructError (esprima.js:826:21)
      at ErrorHandler.createError (esprima.js:842:26)
      at ErrorHandler.throwError (esprima.js:849:20)
      at Scanner.throwUnexpectedToken (esprima.js:961:34)
      at Scanner.scanPunctuator (esprima.js:1480:18)
      at Scanner.lex (esprima.js:2095:21)
      at Parser.nextToken (esprima.js:2357:33)
      at Parser.nextRegexToken (esprima.js:2381:14)
      at Parser.parsePrimaryExpression (esprima.js:2632:38)
      at Parser.inheritCoverGrammar (esprima.js:2556:36)
      at Parser.parseLeftHandSideExpressionAllowCall (esprima.js:3219:25)
      at Parser.inheritCoverGrammar (esprima.js:2556:36)
      at Parser.parseUpdateExpression (esprima.js:3329:25)
      at Parser.parseUnaryExpression (esprima.js:3373:25)
      at Parser.inheritCoverGrammar (esprima.js:2556:36)
      at Parser.parseExponentiationExpression (esprima.js:3379:25)
      at Parser.inheritCoverGrammar (esprima.js:2556:36)
      at Parser.parseBinaryExpression (esprima.js:3416:25)
      at Parser.inheritCoverGrammar (esprima.js:2556:36)
      at Parser.parseConditionalExpression (esprima.js:3465:25)
      at Parser.parseAssignmentExpression (esprima.js:3580:25)
      at Parser.isolateCoverGrammar (esprima.js:2540:36)
      at Parser.parseVariableDeclaration (esprima.js:3964:25)
      at Parser.parseVariableDeclarationList (esprima.js:3976:24)
      at Parser.parseVariableStatement (esprima.js:3986:33)

@nowindowsowrking What's the result of running this on your Node.js REPL?
> esprima = require('esprima');
> esprima.parse('var x = /[P QR]/\\g', { tolerant: true }).errors

@nowindowsowrking Unfortunately, your report tends to be confusing and ambiguous.
Do me a favor and carefully read this wiki page:
https://github.com/jquery/esprima/wiki/Filing-a-Defect
and then explain the situation again by strictly following the said pattern (test case, actual, expected).

@ariya To say it easy. I experience same issues as mentioned in this ticket https://github.com/jquery/esprima/issues/1772

Closing, due to lack of confirmation (see backslash escaping above).


Support npm install registry option

Hi, I find skpm install command is actually running npm install. Would you please add an option to support specifying npm registry like:
skpm create my-plugin --dep-registry=http://xxxx

npm install is really slow in some country and many company and school have build their own npm mirror, so with this option the installation can be much faster.
Thank you for this amazing tool!

It doesn’t respect your npm config?

I got it, I should create the project and change registry in package.json and then install. Thank you!


Next Generation Network Business Automation - Phase 2

This issue has been auto-generated to facilitate questions about
 a paid opportunity that has just been posted on the
BCDevExchange.
To learn more or apply, visit the opportunity page.
The opportunity closes on Thursday, June 13th, 2019 at 16:00 PDT.

Hi, again if you have any questions please post here.   Hopefully @mark-a-wilson  won't be the only one asking questions ;)

This opportunity has been assigned


docs: update menu API docs to include isOpen

Probably want to wait for https://github.com/driftyco/ionic/issues/5390 to be completed

Done


[Fix #9962] Update Style/WordArray to register an offense in percent style if any values contain spaces

Updates Style/WordArray to mark %w() arrays as offenses if they contain any values with spaces.
Fixes #9962.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Good work!


geometry2: 0.38.1-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository geometry2 to 0.38.1-1:

upstream repository: https://github.com/ros2/geometry2.git
release repository: https://github.com/ros2-gbp/geometry2-release.git
distro file: rolling/distribution.yaml
bloom version: 0.12.0
previous version for package: 0.38.0-1

examples_tf2_py

No changes

geometry2

No changes

tf2
* Removed deprecated enuns (#699 <https://github.com/ros2/geometry2//issues/699>)
* Contributors: Alejandro Hernández Cordero

tf2_bullet

No changes

tf2_eigen

No changes

tf2_eigen_kdl

No changes

tf2_geometry_msgs

No changes

tf2_kdl

No changes

tf2_msgs

No changes

tf2_py

No changes

tf2_ros

No changes

tf2_ros_py

No changes

tf2_sensor_msgs

No changes

tf2_tools

No changes

Holding for an upcoming Rolling sync.


[needs attention] - frontend/feature: add guest menu on landing page, refactor cookie banner

It adds a guest menu on navbar with links to sign-in, sign-up, report bug, help
it refactors the cookie banner fixing it at bottom

About last point check:
https://github.com/Couchers-org/couchers/issues/4127#issuecomment-2439445903
Closes #4127

Backend checklist

[ ] Formatted my code by running ruff check --select I --fix . && ruff check . && ruff format . in app/backend
[ ] Added tests for any new code or added a regression test if fixing a bug
[ ] All tests pass
[ ] Run the backend locally and it works
[ ] Added migrations if there are any database changes, rebased onto develop if necessary for linear migration history

Web frontend checklist

[ x] Formatted my code with yarn format
[ x] There are no warnings from yarn lint --fix
[ ] There are no console warnings when running the app
[ ] Added any new components to storybook
[ ] Added tests where relevant
[ x] All tests pass
[x ] Clicked around my changes running locally and it works
[ x] Checked Desktop, Mobile and Tablet screen sizes

@marco-digennaro Are you still working on this or are you ready for review? I'm unclear as it's marked "ready for review" but the title says [needs attention].

@marco-digennaro Are you still working on this or are you ready for review? I'm unclear as it's marked "ready for review" but the title says [needs attention].

it's actually done, i've made all the changes requested in the ticket, but i have a doubt that i wrote in a comment of the ticket, the cookie banner covers the lower footer and without the close button (as requested) cannot be closed. should it be that way?

what I see in this PR (reason why I wanted to discuss the report button in the meeting) it's that the report button it's removed from navbar, and only accesible only after log in, I wouldn't do it this way, since some people report sign up/log in problems, and I believe it's useful to track that, I agree makes more sense from the UX perspective to have it only after log in, but we should think about the users who sometimes have these login/sign up problems

@marco-digennaro maybe can we keep the button until is discussed later on what to do with it?

also I don't understand why removing the 'x' from the cookie banner... we can chat about this tomorrow in the meeting.
note that Dom, who created the ticket (AFAIK) isn't active in the project, so I don't think he can answer our doubts/questions about his tickets... but we have other tickets created ourselves instead which we know how to address them

what I see in this PR (reason why I wanted to discuss the report button in the meeting) it's that the report button it's removed from navbar, and only accesible only after log in, I wouldn't do it this way, since some people report sign up/log in problems, and I believe it's useful to track that, I agree makes more sense from the UX perspective to have it only after log in, but we should think about the users who sometimes have these login/sign up problems

well actually no, the report button is removed from the bar and added in the guest menu, so still accessible if not logged

also I don't understand why removing the 'x' from the cookie banner... we can chat about this tomorrow in the meeting. note that Dom, who created the ticket (AFAIK) isn't active in the project, so I don't think he can answer our doubts/questions about his tickets... but we have other tickets created ourselves instead which we know how to address them

that was my question to the whole ticket: should the close button be removed? that way the banner keeps covering the lower footer. so i guess the close button should stay

what I see in this PR (reason why I wanted to discuss the report button in the meeting) it's that the report button it's removed from navbar, and only accesible only after log in, I wouldn't do it this way, since some people report sign up/log in problems, and I believe it's useful to track that, I agree makes more sense from the UX perspective to have it only after log in, but we should think about the users who sometimes have these login/sign up problems

well actually no, the report button is removed from the bar and added in the guest menu, so still accessible if not logged

oh sorry! I misunderstood then... all good!

also I don't understand why removing the 'x' from the cookie banner... we can chat about this tomorrow in the meeting. note that Dom, who created the ticket (AFAIK) isn't active in the project, so I don't think he can answer our doubts/questions about his tickets... but we have other tickets created ourselves instead which we know how to address them

that was my question to the whole ticket: should the close button be removed? that way the banner keeps covering the lower footer. so i guess the close button should stay

ok, don't worry, I'll ask this in the meeting and I'll let U know our answer, sorry for the delay 😞

Hi!
we decided to keep the 'x', not sure why the ticket says to delete it... sorry for the confusion!!

Hi!
we decided to keep the 'x', not sure why the ticket says to delete it... sorry for the confusion!!

good!
i've updated the PR!

thanks for your time and sorry for the confusion :)

before merging

[ ] was this checked? [if so proceed to merge :)]

Does this also address #4128 ? Trying to decide if I can close that one!


bugginess with very long wrapped lines

I have been trying to use CodeMirror as a special purpose WYSIWYG editor for an application where I only need very simple formatting and want a very clean document model with no html.  To do this, I turn line wrapping on and let each line represent a paragraph.  I am also using cursorCoords to align marginal notes with particular lines within a paragraph.
I have experienced a lot of strange behaviors.  For instance, sometimes using the cursor keys moves the cursor by more than one line, sometimes the cursor keys seem unable to move the cursor into a given region, and sometimes the marginal notes get out of alignment with the lines they are supposed to (which could of course be due to a bug in my code, but I think it is a CodeMirror issue).  I have experienced these problems with different browsers and with inputStyle set both to contentEditable and not, though changing browsers and inputStyle does seem change the exact behavior in some cases.
I have a fairly small test case that exhibits the cursor jumping problem if you mess around with it.  So far I have only observed the other problems in the full version of my code.  I am willing to work more on getting small test cases that show the problems, but before I put a lot of effort into that I thought I should check if any of these issues are known or to be expected given how I am abusing CodeMirror.

Submit your test case (make sure it is really small, not fairly small -- i.e. don't make me dig through irrelevant code) and I'll try to debug it.

  This should result in the last line having one "blah" on it.  Click at the end of the buffer.  Then push the up arrow key.  The cursor should go up two lines instead of one.
I have mainly been working in Chrome, but I tried in Firefox and got different behavior because  Firefox is only putting four "blah"s on a line instead of five like Chrome.  So with this exact recipe, the bug doesn't manifest in Firefox.  But there seems to be a different bug showing up in Firefox: after I paste the string, even when I scroll the editor all the way to the bottom, I only see the top of the last line.
By the way, I was setting "height: auto" on .CodeMirror originally, and I still saw the bug (in Chrome); I just took it out to be more minimal.

I did not get the problem you describe, but your demo did uncover a different wrong behavior for me (not being able to scroll down to the bottom of the document), which attached patch fixes. It is possible that it also fixes the problem you are describing. On my Chrome, I don't end up with a single 'blah' on the last line when I follow your instructions, probably due to a small difference in font rendering (I assume you meant the css at the top of your demo to be a <style> tag).
Could you pull the latest code and retry?

Thanks! This fix does solve the Chrome issue, but I want to experiment some more to see if all the problems I was having are fixed.
I did notice that there is still a surprising behavior in Firefox, though I don't know if it qualifies as a bug.  Namely, as I said before, on my system (OS X), Firefox only fits four blahs on a line initially.  Yet it seems to leave room for a fifth blah in the sense that the scrollbar is a full blah away from the right side of the text, instead of abutting the right side of the text as in Chrome.  Furthermore, after I paste the string at the beginning, I actually see five blahs on the last line!
Possibly related is a Chrome/Firefox difference I observed in the rendering of textareas.  In Chrome, if you have one word at the end of a line and another at the beginning of the following line, with a single space separating them, pressing the right cursor key at the end of the first line takes you directly to the beginning of the second line.  More generally, if n spaces separate separate the two words, there are n-1 spaces at the end of the first line.  In other words, the linebreak is treated as logically equivalent to a single space.  Firefox, on the other hand, treats linebreak as logically equivalent to nothing at all; it displays n spaces at the end of the first line.  CodeMirror on both Chrome and Firefox seems to have the Chrome textarea behavior, which I think is superior, but could it be that the Firefox way of handling textareas is throwing off some calculation?

Load the following page, then insert an 'x' as the first character in the buffer.  In Chrome, inserting the 'x' pushes the start of line 1 down a line, so I believe the output should be two different numbers with the second larger than the first; but the output is "313\n313\n".  In Firefox, inserting the 'x' doesn't move the start of line 1, so I believe the output should be the same number twice; but the output is "350.5\n283\n".
<html>
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="CodeMirror/lib/codemirror.css">
    <script src="CodeMirror/lib/codemirror.js"></script>
    <style>
    body {
        width: 200px;
    }
    .CodeMirror {
        height: auto;
        border: 1px solid red;
    }
    </style>
</head>

<body>

    <textarea id="myTextArea">blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah</textarea>

    <script>
    (function () {
        var myTextArea = document.getElementById('myTextArea')

        var cm = CodeMirror.fromTextArea(myTextArea, {
            lineWrapping: true
        })

        console.log(cm.cursorCoords({line: 1, ch: 0}).top)

        cm.on('change', function (instance, changeObj) {
            console.log(cm.cursorCoords({line: 1, ch: 0}).top)
        })
    })()
    </script>
</body>
</html>

The line wrapping is done by the browser, so the Chrome/FF differences are
to be expected and not something to worry about (though I agree that
sometimes browsers do weird things here).
The measurement effect you're seeing happens because the "change" event is
fired before the redraw is done (so that changes triggered by change events
don't keep causing new redraws), at which point the editor does not have
accurate information about the new line height yet. You could listen to the
"changes" event or set a timeout in the "change" event, to have your code
run when the display update is finished.
On Thu, Jul 16, 2015 at 6:00 AM, greaber<EMAIL_ADDRESS>wrote:

Load the following page, then insert an 'x' as the first character in the
buffer. In Chrome, inserting the 'x' pushes the start of line 1 down a
line, so I believe the output should be two different numbers with the
second larger than the first; but the output is "313\n313\n".

Thanks! I guess the Firefox weirdness around linewrapping is ultimately Firefox weirdness as I was speculating, and perhaps Firefox should fix it.  But I guess the Firefox philosophy is to treat spaces as first class citizens, and it does that even to the extent of letting you move the cursor between the position before and after a space when that space is at the end of a line and causing line wrapping.  CodeMirror goes halfway toward the Chrome behavior by removing this possibility, so the extra Firefox space appears totally mysterious and you don't really get the benefit of the Firefox way, if I am understanding correctly.
On the second point, thanks!!  Doing either of the things you recommend fixes the example I sent.  Hopefully it will fix all the issues I have been having with my real code too, but I still need to test that.  Your explanation makes good sense of why I was seeing stale values in Chrome, but do you understand why I was seeing weird transient line heights in Firefox when none of the line breaks in the whole editor were changing?

Also, it would be cool if the explanation of 'change' and 'changes' in the manual explained this issue.  The 'changes' explanation links to the explanation of cm.operation, which focuses on efficiency.   This gave me the impression that 'changes' was just for optimization.

When a line is updated, CodeMirror starts by guessing its height, so that it has an approximation to work with until it has drawn the line and measured the actual height. Since the wrapping algorithms in the different browsers are different, that estimate may be closer to the real height in some browser than in others.
I've pushed a small documentation tweak to clarify the event timing around the end of an operation.


Add deployment file and user guide

Add deployment file and user guide, also fixed some rendering error.

/lgtm

Is there a screenshot of dashboard?

Is there a screenshot of dashboard?

Will update later.


Switched from MD5 to MiGS enforced SHA256

MiGS starts to enforce SHA-256 in favour of MD5.
MiGS supports both MD5 and SHA-256 secure hash methods, however it is strongly
recommended that new merchant integrations use SHA-256. MD5 is supported for
existing merchant integrations.
Not a recent document, but local banks start to enforce.
Reference
http://www.migssupport.com/Resources/Manuals/VirtualPaymentClient/MasterCard VPC Integration Guide MR 29.pdf

Does this break any backwards compatibility for existing MIGS users?
I will merge this. If you can confirm that the merged dev-master works in production then I will tag for release.

Yes, I use my dev-master in production mode.
As of now using MD5, the migs-mtf will simply not work and give an http 400 error.

There is an ongoing project to block MD5 hash in MIGS. This is the reason for the 400 error

Regarding omnipay, there is no different settings so it is backward compatible.
MiGS API is accepting both MD5 and SHA256 in production since 2011, but on MiGS MTF (the test server) they phase out MD5 support (version 2.5) in favour of version 3.
I think it is preferable to phase out MD5 as well to avoid 400 errors with omnipay-migs.

Tagged as v2.2.0 -- thanks for the contribution.


Issue with certificate revocation status

I keep on getting this error message :
curl 35 : schannel : next InitializeSecurityContext failed : Unkwown error (0x80092012) - The revocation function was unable  to check revocation for the certificate.

Hey @mpreye23, it looks like a network issue or curl issue. I don't know what went wrong and I don't know either how to investigate it, since it's not related to the script. I hope you may find a proper solution somewhere online. Good luck 🤞

I just got the dl script and ran it
Ran into the same error.
Ran the error through ChatGPT and found out that a bad internet connection may be the issue
But i have good internet
So I checked my antivirus firewall, but that wasn't the issue so I moved onto my antivirus' shields and turned all of them off.
That's when it ran.
I use Avast, I don't know how other antiviruses work but you can try something similar
Cheers

I also get the same issue, have you found a solution to it? I don't have any antiviruses and had my windows defender disabled already

@mxmxrp
Run your command in debug mode
Example:
$ grep 'Tokyo Revengers: Seiya Kessen-hen' anime.list
[eed82816-c8ed-0cc5-184f-2a60423bfd5a] Tokyo Revengers: Seiya Kessen-hen
$ ./animepahe-dl.sh -d -s eed82816-c8ed-0cc5-184f-2a60423bfd5a -t 50 -e 25 > log 2>&1

paste the output of log file here to help us debug further


probable bug in typeof type guard

TypeScript Version:  1.8.0
Code
const numbers: {[key: string]: number} = {a: 1, b: 2};

const mixed: {[key: string]: number|string} = {a: 1, b: 'two'};

function test(something: {[key: string]: number|string}) {
  Object.keys(something).forEach(k => {
        if (typeof something[k] === 'number') {
            Math.floor(something[k]);
        } else {
            something[k].toLowerCase();
        }
  });
}

test(numbers);

Link: https://www.typescriptlang.org/play/#src=const numbers%3A {[key%3A string]%3A number} %3D {a%3A 1%2C b%3A 2}%3B

const mixed%3A {[key%3A string]%3A number|string} %3D {a%3A 1%2C b%3A 'two'}%3B

function test(something%3A {[key%3A string]%3A number|string}) {
  Object.keys(something).forEach(k %3D> {
        if (typeof something[k] %3D%3D%3D 'number') {
            Math.floor(something[k])%3B
        } else {
            something[k].toLowerCase()%3B
        }
  })%3B%0D%0A%7D%0D%0A%0D%0Atest(numbers)%3B
Expected behavior:
Type guard would apply to something[k].
Actual behavior:
Type guard does not get applied to something[k].

There are limitations to code analysis for TypeScript, and even in TypeScript 2.0, TypeScript does not narrow indexed based values.  To get this to work properly, you would need to put the value into something that can be more easily tracked by TypeScript:
const numbers: {[key: string]: number} = {a: 1, b: 2};

const mixed: {[key: string]: number|string} = {a: 1, b: 'two'};

function test(something: {[key: string]: number|string}) {
  Object.keys(something).forEach(k => {
        const value = something[k];
        if (typeof value === 'number') {
            Math.floor(value);
        } else {
            value.toLowerCase();
        }
  });
}

test(numbers);

Prior to TypeScript 2.0, properties of objects weren't narrowed anyways.  The TypeScript team though might consider it a suggestion to enhance the code flow analysis in TypeScript to track indexed property values where the static analysis can determine the index value will not change within the scope the narrowing occurs (like in this example).

An index expression where the indexer expression is const (or inferred const as k should be here) should be narrowed. This may be fixed by existing work going into 2.0, otherwise we can fix it in 2.1

Would this fall under the same category?
let a: number[] | string = 'foo';

if (Array.isArray(a)) {
    a.push('1');
}

let b: { foo: number[] | string } = {};

if (Array.isArray(b.foo)) {
        b.foo.push('1'); // Error: Property "push" does not exist on type 'number[] | string'
}

@jkjustjoshing  this should be working as expected in TS 2.0. The playground is still targeting TS 1.8

Hello,
I am new to typescript and maybe I got hit by this? I was writing something like this.
playground
interface Entry {
	[x: string]: string[] | string;
}
interface NormalizedEntry {
	[x: string]: string[];
}
interface File {
	name: string;
	entry: Entry;
}

const getEntry: Function = (file: File): NormalizedEntry => {
    const { name, entry } = file;

    const normalizedEntry: NormalizedEntry = {};
	// Loop over all user defined entries and add to the normalizedEntry
	Object.keys(entry).forEach((key: string) => {
		normalizedEntry[key] =
			Array.isArray(entry[key]) ? entry[key] : [entry[key]];
    });

    return normalizedEntry;
}

But I got error
Type 'string | (string | string[])[]' is not assignable to type 'string[]'.
  Type 'string' is not assignable to type 'string[]'.
const normalizedEntry: NormalizedEntry

So I changed to explicit variable as suggested by @kitsonk
playground
interface Entry {
	[x: string]: string[] | string;
}
interface NormalizedEntry {
	[x: string]: string[];
}
interface File {
	name: string;
	entry: Entry;
}

const getEntry: Function = (file: File): NormalizedEntry => {
    const { name, entry } = file;

    const normalizedEntry: NormalizedEntry = {};
	// Loop over all user defined entries and add to the normalizedEntry
    Object.keys(entry).forEach((key: string) => {
        const entryPoint: string[] | string = entry[key];
		normalizedEntry[key] = Array.isArray(entryPoint)
			? entryPoint
			: [entryPoint];
    });

    return normalizedEntry;
}

And now it works fine.
Does it work under the same category or shall I raise a new issue?

@swashata type guards can't narrow expressions like obj[k] where k is a variable. You need to write something like this:
	Object.keys(entry).forEach((key: string) => {
		const en = entry[key];
		normalizedEntry[key] = Array.isArray(en) ? en : [en];
    });

Thanks @RyanCavanaugh 	for your response 😄. This is exactly what I did (as you can see in the second part of the code).
Bdw, do you think documenting this behavior somewhere would help newbies like me? If so, anyplace where I can send a PR?

This is a known design limitation and not a bug - so I think that at the very least the labels should be changed here (cc @jakebailey ). I also believe that there are already open issues related to this, ones that have more examples/explanations/etc. So it might be worth closing this one in favor of other ones. I can't exactly find those other issues but something tells me that @fatcerberus @MartinJohns and @jcalz might have them on speed dial.

@jcalz Both Martin and Ryan usually dupe this to #10530, though that's questionable since the case in the OP of that issue (indexed access with a literal string key) actually works now.  I'm not aware of another "canonical" issue for this, though.

Ah yes, this one i have found but skipped it exactly because of that reason.


Add support for LTS releases

Mark version as 2.37 (LTS) in dropdown.
Keep LTS releases in Downloads and mark them with a badge.
Do not show version warning in docs for LTS

Screenshots (with 2.30 as LTS for the sample)

Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

ww


Add admin console

Need an admin console so that Admins can use their god powers.
Consider rails admin or trestle

#55


gremlin-console: 3.4.10 -> 3.4.11

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gremlin-console/versions.
meta.description for gremlin-console is: "Console of the Apache TinkerPop graph computing framework"
meta.homepage for gremlin-console is: "https://tinkerpop.apache.org/"
meta.changelog for gremlin-console is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/nrf9xafk7p1iw15wnn8cin5wzwsp7xji-gremlin-console-3.4.11/bin/gremlin-console passed the binary check.

0 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 3.4.11 with grep in /nix/store/nrf9xafk7p1iw15wnn8cin5wzwsp7xji-gremlin-console-3.4.11

found 3.4.11 in filename of file in /nix/store/nrf9xafk7p1iw15wnn8cin5wzwsp7xji-gremlin-console-3.4.11

directory tree listing: https://gist.github.com/e582f6a869133441d8fa90c6ef90835a

du listing: https://gist.github.com/809ccab925b29d9f3a502671c41a78d0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
gremlin-console

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nrf9xafk7p1iw15wnn8cin5wzwsp7xji-gremlin-console-3.4.11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gremlin-console https://github.com/r-ryantm/nixpkgs/archive/43f91f690e37f2306916ee7f4d65890997fb2faa.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nrf9xafk7p1iw15wnn8cin5wzwsp7xji-gremlin-console-3.4.11
ls -la /nix/store/nrf9xafk7p1iw15wnn8cin5wzwsp7xji-gremlin-console-3.4.11/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gremlin-console

Maintainer pings
cc @nlewo for testing.

Closed in favor of https://github.com/NixOS/nixpkgs/pull/122772


az stream-analytics output create not working for 'Microsoft.AzureFunction'

Extension name (the extension in question)
stream-analytics
Description of issue (in as much detail as possible)
When i try creating a output of type 'Microsoft.AzureFunction' as described here (https://docs.microsoft.com/en-us/azure/templates/microsoft.streamanalytics/streamingjobs/outputs#MicrosoftAzureFunction).
Basically I get this error:
ValidationError: Parameter 'OutputDataSource.type' can not be None.
Checking the source code, I cannot see any reference to this type but : AzureDataLakeStoreOutputDataSource,
PowerBIOutputDataSource, ServiceBusTopicOutputDataSource,
ServiceBusQueueOutputDataSource, DocumentDbOutputDataSource,
AzureSqlDatabaseOutputDataSource, EventHubOutputDataSource,
AzureTableOutputDataSource, BlobOutputDataSource
https://github.com/Azure/azure-cli-extensions/blob/1f8e8e6ae7271e4eaaa290cbd43b7851cf6d5c4d/src/stream-analytics/azext_stream_analytics/vendored_sdks/streamanalytics/models/_models.py#L97-L99
When I create the output from Azure portal, I can see that the type of the Azure App Source is null!
[
  {
    "datasource": {
      "properties": {
        "apiKey": null,
        "functionAppName": "MyfunctionApp",
        "functionName": "MyFunctionName"
      },
      "type": null
    },
    "diagnostics": null,
    "etag": "XXXX",
    "id": "/myOutputID",
    "name": "aaa",
    "resourceGroup": "myResourceGroup",
    "serialization": null,
    "type": "Microsoft.StreamAnalytics/streamingjobs/outputs"
  }
]

To me this is a bug as this is documented on MSDN, but I cannot find a way to create it over azure cli.
MY command line:
az stream-analytics output create --resource-group 'myResourceGroup' --job-name 'myAsaJobName' --name 'callbackapp' --datasource 'functionapp.json'
Contents of: functionapp.json
{
    "type":  "Microsoft.AzureFunction",
    "properties":  {
                       "functionAppName":  "MyfunctionApp",
                       "apiKey":  "MyFunctionKey",
                       "functionName":  "MyFunctionName"
                   }
}

stream-analytics

hi @qwordy could you pls have a look? thanks

I checked commit history. Xiaojian Xu wrote this extension. And he is not here now..

seems the API version used is old, the extension need regenerate, put it as feature

Any alternatives besides the manual setup through the UI? I'm putting my whole azure setup in terraform. Unfortunately function output isn't supportered in terraform also.

@pcbl @glennvdv Did you people find a workaround for this? Am really surprised that this is still an issue for more than an year.

We are in the process of updating Powershell, CLI and TF modules. We expect this to land in the coming months. We are sorry its taken longer than expected.


test: Update go to 1.8.4

Signed-off-by: Mrunal Patel<EMAIL_ADDRESS>

/test ami

LGTM

LGTM

/test ami_fedora

okay, tests are good. Merging.


Feature Request: Suspend wallpaper on battery saver

I don't know if this is possible, but if it is I'd like to make a suggestion. If the battery saver mode on the phone turns on, the app should suspend gif playback to save as much power as it can. Maybe show the first frame to be simple or allow the user to choose a frame to display, but that seems like it would be complicated.
Just a thought I had while setting up my wallpaper, thanks for making this app! =D

That is a nice idea! I should be able to monitor it using ACTION_POWER_SAVE_MODE_CHANGED
https://stackoverflow.com/questions/48932479/ways-to-test-power-save-mode-changed-action-power-save-mode-changed-receiver

It might also be a good idea to stop the playback if the device is under THERMAL_STATUS_SEVERE or higher (api 29+)

@ryan77627 available now on the beta track. Rolling out to production.

Awesome, thank you so much! I just received the update (through F-Droid) and it works perfectly!


[BUG] Fix the quote-title area

Assign me Under Apertre'24

Go ahead @Geeks-Arpan

@UjjwalSharma01 as this is not fixed yet , I want to work on this

Go ahead @YooAshu


Rebase before running up

I think that rebasing code before pushing would be desirable in order to keep your PR in sync with target branch.

test

this is sparta

fooo!


Is there any post-processing code for c++?

Prerequisite

[X] I have searched the existing and past issues but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version.

🐞 Describe the bug
Is there any post-processing code for c++?
Environment
Is there any post-processing code for c++?
Additional information
No response

MMDet is mainly based on PyTorch, thus written in Python. You may refer to MMDeploy, which exports the models in MMDet for real-world applications, which implements SDK for model inference, which should implement C++ code for the post-processing.


[!]fix the bug that 'default' return an undefined value

function ()=>{}  return undefined, i guess the code owner means ()=>({}), return an Object , or this.barStyle.xxx will throw an error

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


(#874) Add intune faq

Description Of Changes
Add FAQ entry for intunewinapputil 1.8.5 known error.
Motivation and Context
Provide way to keep working with Intune.
Testing

[x] I have previewed these changes using the Docker Container or another method before submitting this pull request.

Change Types Made

[x] Minor documentation fix (typos etc.).
[ ] Major documentation change (refactoring, reformatting or adding documentation to existing page).
[ ] New documentation page added.
[ ] The change I have made should have a video added, and I have raised an issue for this.

Issue #

Change Checklist

[ ] Requires a change to menu structure (top or left hand side)/
[ ] Menu structure has been updated

Related Issue
Fixes #874

@corbob awesome work! Thanks for your contribution!


when the server reboots, we get unnecessary logging from scheduler

fixed by https://github.com/HackRVA/memberdashboard/pull/170