How to add the Categories page

How could I add the Categories page ?

The theme doesn't support the categories page. I'll put it on the list of things to work on.

The theme doesn't support the categories page. I'll put it on the list of things to work on.


Generate helm chart for velacp

Generate helm chart for velacp and use "helm install"  way to  install velacp

[x]  Fix docker file and build docker images, then push to dockerhub.
[x]  Use helm to build template for velacp.
[x]  Add velacp-controller and start cmd in helm chart.
[ ]  Add startup document for user who firstly use velacp to start server, config Database and use our UI.

fix issue #123   fix issue #124

lgtm

Currently I have a confusion : As I setting a service and ingress for velacp in helm chart and use the expose field in docker file, so that we can visit the service outside the container.  It seems the frontend service can not request for backend.

Cause we would replace our mongodb database with kubernetes CR. I do not add the database-visited module in helm chart.


Add "PasswordMustChange" to New-DbaLogin command

Type of Change

[ ] Bug fix (non-breaking change, fixes # )
[x] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[x] Adding code coverage to existing functionality
[x] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Make possible to specify that login being created need to change password at next login
Approach

When -PasswordMustChange is specified, we will enforce the PasswordExpirationEnabled and PasswordPolicyEnforced to true as they are required for the must change flag be turn on.
Commands to test
New-DbaLogin with -PasswordMustChange
Screenshots

Learning
As MustChangePassword property of the login is just a get, we need to use the ChangePassword method

Thanks to everyone who helped review and thank you @ClaudioESSilva for adding this functionality 🙇


[release/1.7] Resolve docker.NewResolver race condition

Backport #8748 to 1.7
Fix #8742
It can be reproduced with the added test:
# without the change:
$ go test -race ./remotes/docker/...
?       github.com/containerd/containerd/remotes/docker/schema1 [no test files]
==================
WARNING: DATA RACE
Read at 0x00c0003e08a0 by goroutine 189:
  runtime.mapaccess2_faststr()
      /usr/local/go/src/runtime/map_faststr.go:108 +0x0
  github.com/containerd/containerd/remotes/docker.NewResolver()
      /home/azureuser/code/containerd/remotes/docker/resolver.go:157 +0x22c
  github.com/containerd/containerd/remotes/docker.runBasicTest()
...

# with the change
$ go test -race ./remotes/docker/...
?       github.com/containerd/containerd/remotes/docker/schema1 [no test files]
ok      github.com/containerd/containerd/remotes/docker 0.677s
ok      github.com/containerd/containerd/remotes/docker/auth    (cached)
ok      github.com/containerd/containerd/remotes/docker/config  0.046s

Seems maybe you didn't cherry-pick with -x? See the guidance here; it helps add a comment with the exact commit details: https://github.com/containerd/containerd/blob/main/RELEASES.md#backporting

Seems maybe you didn't cherry-pick with -x? See the guidance here; it helps add a comment with the exact commit details: https://github.com/containerd/containerd/blob/main/RELEASES.md#backporting

@estesp thanks for the reminder and the guidance link! Updated both #8799 and #8800. Please let me know if I did it right this time (or still wrong 😅 ). Thanks!
(I used git cherry-pick -xs, i.e., without -S since I didn't use GPG. is that okay?)

@estesp thanks for the reminder and the guidance link! Updated both #8799 and #8800. Please let me know if I did it right this time (or still wrong 😅 ). Thanks!
(I used git cherry-pick -xs, i.e., without -S since I didn't use GPG. is that okay?)

Yes, all good! Thanks :)


set execute bit on all scripts and removed redundant commands

There is a redundant chmod +x in the wordlist-validator_verify_entries_for_starting_with_slash.yml
I set the executable flag on all files in the .bin dir and updated the yml file

the workflow actions have been tested btw
https://github.com/molangning/SecLists/actions/runs/6982667494

Cheers once again @molangning

cheers!


Can't rehydrate state - stored state won't merge with initial state.

This is the code I am using to try to set up my React + Redux app:
let finalCreateStore;

const storage = compose(
    filter('redux')
)(adapter(window.localStorage));

if (__DEV_TOOLS__) {
  finalCreateStore = compose(
    applyMiddleware(logger, thunk),
    reduxReactRouter({routes, createHistory}),
    devTools(),
    persistState(window.location.href.match(/[?&]debug_session=([^&]+)\b/))
  )(createStore);
} else {
  finalCreateStore = compose(
    applyMiddleware(logger, thunk),
    reduxReactRouter({routes, createHistory}),
    persistStateLocalStorage(storage, 'redux')(createStore);
}

let finalRootReducer = compose(
    mergePersistedState((initialState, persistedState) => {
      return initialState.redux.mergeDeep(Immutable.fromJS(persistedState.redux));
    })
)(rootReducer);

const configureStore = () => {
  const store = finalCreateStore(finalRootReducer);

  if (module.hot) {
    // Enable Webpack hot module replacement for reducers
    module.hot.accept('../reducers', () => {
      const nextRootReducer = require('../reducers/index');
      store.replaceReducer(nextRootReducer);
    });
  }

return store;
};

But still the state won't update correctly with the data from localstorage. Even if setting the data to an empty object, it still uses the initial data:
mergePersistedState((initialState, persistedState) => {
    return {};
})

Hi @localhosted, did you end up solving the issue?
I'm afraid I'm unable to pinpoint a problem looking at the code you shared.
The only thing that strikes me as a little odd is having a "redux" key inside of your store state (could mean you're nesting your store state unnecessarily), but that shouldn't really cause an issue.

I'm not sure either. I got it working after "resetting" the whole project.


[BugFix] Fixed invalid init of ExecutionQueueId and std::mutex in bth…

…read
What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

run starrocks_clang-format


How to save a symbol with custom layer/operator?

I use the symbol mlp in this example, so the operator code is correct.
If I run mlp.save('mlp.json'), and run mx.symbol.load('mlp.json') in the same kernel, it works fine.
But if I first save it and start a new kernel to run
mx.symbol.load('mlp.json')
the kernel will die immediately, which is corresponding to a segmentation fault in terminal.
What's the problem here? Should I use something else to save custom operator?

#2051 introduces a custom operator that can be saved and loaded.

@vchuravy Thank you. The new CustomOp is exactly what I want.


Allow Argument(prompt=True)

Currently Click allows Option(prompt=True) which enables prompting behaviour. However this argument isn't available for Arguments.
Enabling this would allow a full CLI app to pivot from CLI mode to TUI mode, rather than only partially as is the case now.

CLI arguments are positional, there's no way to know which argument is missing and needs a prompt. So the only thing this would allow is to accept some number of args, then prompt for some number of args, not to prompt for an arg in the middle of others.

Enabling this would allow a full CLI app to pivot from CLI mode to TUI mode, rather than only partially as is the case now.

How would it enable this? Why is this required, why can't a TUI library handle this itself? Note that we're not a TUI library.

I imagine it would work sequentially (left to right), as I presume argument parsing works now. Argument 2 is assumed missing if there are > 1 arguments defined and only 1 provided, etc.
I know click isn't a TUI library, I'm just saying that this is the motivating case, where the entire interaction can become fully interactive instead of only some parts of the application.

Why can't it become interactive without this? I'm fairly sure multiple Click-to-TUI libraries exist already and don't have this issue. Presumably they introspect the parameters and construct the UI from their own rules, not the prompt attribute.


Support for embedded application

We should support embedding of flogo.json into the executable.
This will make executables more portable as users only have to manage single executable file unlike today where they have to manage both executable and flogo.json files.
This is also good from security perspective as no one can see contents of application json file.

Supported


Football themed Chase the Pizza

Hi Galen,
Can you create this "Catch the Football" tutorial?  It's basically just Chase the Pizza themed.  Joey's going to add the new football assets into the gallery too.  All tutorial files are posted here: https://microsoft-my.sharepoint.com/:f:/p/jacqchen/EovV0v-Y9pRGoar-hGb0Y60BsGJ_MJulnj7p-w8dewKsGA?e=pwT4rl
Let me know if you have questions.
Thanks!
Jacqueline

OK, let's get that pizza into the end zone!


Move notes/formulas from np_deterministic to deterministic

The sphinx API draws from the outward-facing deterministic.py. We have most notes and formulas in the internal np_deterministic.py. Thus, we should copy some of those docstrings over to the outward-facing code so we can update the API with crucial information like formulas and whether or not percentages are decimal percents.

Addressed in https://github.com/raybellwaves/xskillscore/pull/157.


playground - tutorials

https://docs.aelf.com/quick-start/developers/
https://playground.aelf.com/tutorials
Copy relevant tutorials from docs to playground

[x] Tic Tac Teo
[x] Expense Tracker
[x] Single Pool Staking
[x] Allowance (role Contract)
[x] Allowance (allowance Contract)

PR - https://github.com/AElfProject/aelf-playground-next/pull/75

Visible in producton:


fix: [CVE-2023-26136] Update tough-cookie version

#minor
Description
This PR updates the tough-cookie version due to CVE-2023-26136 security issue.
A few dependencies weren't possible to update due to being deprecated. Therefore, it has been forced in the resolutions' configuration.
Specific Changes

Updated @azure/ms-rest-js from 2.6.1 to 2.7.0.
Updated @azure/storage-blob from 12.2.1 to 12.15.0.
Updated @azure/core-http from 1.2.0 to 3.0.2.
Updated @azure/storage-queue from 12.2.0 to 12.14.0.
Forced version to "**/request/tough-cookie": "^4.1.3".
Forced version to "**/request-promise/tough-cookie": "^4.1.3".
Forced version to "**/request-promise-native/tough-cookie": "^4.1.3".

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
82 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.4%) to 84.505%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

libraries/botframework-streaming/src/utilities/createNodeServer.ts
1
78.57%

libraries/botframework-streaming/src/namedPipe/namedPipeServer.ts
12
50.68%

libraries/botframework-streaming/src/namedPipe/namedPipeClient.ts
17
34.09%

libraries/botframework-streaming/src/namedPipe/namedPipeTransport.ts
51
3.92%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
20043

Relevant Lines:
22483

💛  - Coveralls

/promoted 4508


Race condition when saving file while code is being generated

I saved my file but seems like it was being overwritten by the plugin at the same time:

Yes, this is sadly a constraint we'll have to work with now. We could build an additional check when the GraphQL Code Generator async process is done to see whether the file is in a clean state, like this. The TS LSP isn't really intended to write stuff however for us it felt like the best DX but yeah there is more safety required for sure.


show only logs with a severity level of ERROR or higher in the stderr.

Signed-off-by: Adarsh-verma-14<EMAIL_ADDRESS>In the logs of keda-metrics-apiserver, show only log messages  with a severity level of ERROR or higher in the stderr and Log messages with severity levels below ERROR will be included in the stdout stream.
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes #4049

sorry something is wrong from my side I create again PR regarding this.

I have closed this PR and also raised a new PR(#4944 ) for the same issue .


Long --command-line-switches

Whenever I use my saved platypus command lines I have to look up what the single letter options mean. Long names would be self-documenting.

Implemented in master, will be released as part of Platypus 5.0.


Furk it addon request

Hi,
Could someone please generate json file for Furk it addon ?
Here is the link
https://github.com/Tikipeter/repository.tikipeter/tree/master/zip/plugin.video.furkit

Going to need info to make a player with .
Please favorite , a movie search result  , the search menu / etc
then send that favorites.xml kodi makes .

also provide a full debug log  while you use the addon and send

If you can provide a temp / dev account that would be great also

also the latest dev is in  https://github.com/Tikipeter/repository.tikipeter/tree/master/zip/plugin.video.fen
from the same repo


Added middleware to separate endpoints into subdomains

I renamed the variable, params in this context doesn't seem bad either. It seems to me that it will be better than a second constructor with a string type parameter.


Count the number of queries

It would be useful to get a count of how many queries were executed to fullfil a request.

Sure! It's a good suggestion. Thanks.
Lately I've been extremely busy with my job and I couldn't dedicate to DjangoSonar.
I'll be back on it very soon™


Add support for custom headers

Motivation
It implements the #34
Discussion
I would like to discuss whether this approach is correct. It probably should not allow overwriting existing headers. How to handle such behavior, throw an error?
I'll finish the DoD (tests, documentation...) once the behavior is defined.

Thanks for the PR :) I think the default behavior should not throw an error on duplicate keys and silently merge the headers while retaining original values in headers so maybe something like
headers.merge!(@customheaders) { |key, v1, v2| v1 }
It would be clearly documented that the custom_headers method won't replace existing headers. What do you think?

Absolutely, thank you for adjustments :) I have updated the PR with what's needed.


Flexbox "order" style prop should be added.

🐛 Bug Report

Flexbox order prop does nothing when adding it to a child component of the <Flex> component. A workaround is to use UNSAFE_style={{ order: 1 }} instead. Documentation says it should be available as a prop: https://react-spectrum.adobe.com/react-spectrum/Flex.html#props
🤔 Expected Behavior

Adding an order prop to a child of <Flex> should allow you to change the order of the flex items.
😯 Current Behavior

The following code snippet renders "ABC", when I expect it to render "CBA"
<Flex>
          <View order={3}>
            A
          </View>
          <View order={2}>
            B
          </View>
          <View order={1}>
            C
          </View>
</Flex>

💁 Possible Solution

As suggested by @snowystinger, need to make order a style prop.
💻 Code Sample

Expected: "CBA", but renders "ABC"
<Flex>
          <View order={3}>
            A
          </View>
          <View order={2}>
            B
          </View>
          <View order={1}>
            C
          </View>
</Flex>

Workaround: Renders "CBA"
<Flex>
          <View UNSAFE_style={{ order: 3 }}>
            A
          </View>
          <View UNSAFE_style={{ order: 2 }}>
            B
          </View>
          <View UNSAFE_style={{ order: 1 }}>
            C
          </View>
 </Flex>

🧢 Your Company/Team

Adobe Partner Platform

I think it should be added to https://github.com/adobe/react-spectrum/blob/main/packages/%40react-spectrum/utils/src/styleProps.ts#L23

Can I try this?

This issue didn't had activity for almost 2 months. Can i work on this?

Go for it!


Investiagte Drop in multi-requester throughput

something changed for the worse after https://github.com/n0-computer/iroh/commit/fe98c8d7a1ae131223e1a4d24b5aa0f8ada39d9f

would love to understand what's going on here

Looking into this now.
It seems that I can reproduce this by just sharing a large file and downloading it multiple (5) times at once.
Tried a few obvious things that are not it:

each download gets a signed a different physical thread
the file gets opened multiple times with different fds

Adding ../testdir_huge_files/test1 as /Users/rklaehn/projects_git/testdir_huge_files/test1...
 Presumably because the crappy bottleneck of sending UDP packets one by one on OSX overshadows everything else...

OK, now on the linux box.

I got trouble reproducing this. Here is fe98c8d, where it should still be fast:
root@Ubuntu-2204-jammy-amd64-base ~/iroh # ntimesll.sh 1 cargo run --release get --ticket eaqvosfw36ccmubmfqumn66mf7uc2d2f7pngwhi6p6cgjt4jb7yyuibwhrqu5moohfnflevyt3pbndccbdbghdre33xplnoq2uydsgjee4aagaafbf34xrcxacwbcaabyrlqckqbat4acytezuaaaaaaaaaaaawfk4aqcaq
Transferred 957.40 MiB in 2 seconds, 438.94 MiB/s
root@Ubuntu-2204-jammy-amd64-base ~/iroh # ntimesll.sh 5 cargo run --release get --ticket eaqvosfw36ccmubmfqumn66mf7uc2d2f7pngwhi6p6cgjt4jb7yyuibwhrqu5moohfnflevyt3pbndccbdbghdre33xplnoq2uydsgjee4aagaafbf34xrcxacwbcaabyrlqckqbat4acytezuaaaaaaaaaaaawfk4aqcaq
Transferred 957.40 MiB in 4 seconds, 214.45 MiB/s
Transferred 957.40 MiB in 5 seconds, 206.97 MiB/s
Transferred 957.40 MiB in 5 seconds, 180.53 MiB/s
Transferred 957.40 MiB in 5 seconds, 181.60 MiB/s
Transferred 957.40 MiB in 5 seconds, 174.09 MiB/s

here is 411e20b, where it should have become slow:
root@Ubuntu-2204-jammy-amd64-base ~/iroh # ntimesll.sh 1 cargo run --release get --ticket eaqvosfw36ccmubmfqumn66mf7uc2d2f7pngwhi6p6cgjt4jb7yyuibwhrqu5moohfnflevyt3pbndccbdbghdre33xplnoq2uydsgjee4aagaafbf34xrcxacwbcaabyrlqckqbat4acytezuaaaaaaaaaaaawfk4aqcaq
Transferred 957.40 MiB in 2 seconds, 432.87 MiB/s
root@Ubuntu-2204-jammy-amd64-base ~/iroh # ntimesll.sh 5 cargo run --release get --ticket eaqvosfw36ccmubmfqumn66mf7uc2d2f7pngwhi6p6cgjt4jb7yyuibwhrqu5moohfnflevyt3pbndccbdbghdre33xplnoq2uydsgjee4aagaafbf34xrcxacwbcaabyrlqckqbat4acytezuaaaaaaaaaaaawfk4aqcaq
Transferred 957.40 MiB in 4 seconds, 229.00 MiB/s
Transferred 957.40 MiB in 4 seconds, 219.91 MiB/s
Transferred 957.40 MiB in 5 seconds, 194.52 MiB/s
Transferred 957.40 MiB in 5 seconds, 190.51 MiB/s
Transferred 957.40 MiB in 5 seconds, 174.59 MiB/s

The slowdown from doing 1 req to doing 5 reqs seems pretty much identical. This is just on a local machine, with no NAT or anything in between.

I now tried optimized-release. Still can't see a diff:
root@Ubuntu-2204-jammy-amd64-base ~/iroh # git checkout fe98c8d
Previous HEAD position was 411e20b6 test: Introduce iroh-test with common logging infrastructure (#1365)
HEAD is now at fe98c8d7 refactor(iroh-net): use tokio-util::codec for derp protocol implementation (#1386)
root@Ubuntu-2204-jammy-amd64-base ~/iroh # ntimesll.sh 1 cargo run --profile optimized-release get --ticket eaqvosfw36ccmubmfqumn66mf7uc2d2f7pngwhi6p6cgjt4jb7yyuibwhrqu5moohfnflevyt3pbndccbdbghdre33xplnoq2uydsgjee4aagaafbf34xrcxacwbcaabyrlqckqbat4acytezuaaaaaaaaaaaawfk4aqcaq
Transferred 957.40 MiB in 2 seconds, 441.77 MiB/s
root@Ubuntu-2204-jammy-amd64-base ~/iroh # ntimesll.sh 1 cargo run --profile optimized-release get --ticket eaqvosfw36ccmubmfqumn66mf7uc2d2f7pngwhi6p6cgjt4jb7yyuibwhrqu5moohfnflevyt3pbndccbdbghdre33xplnoq2uydsgjee4aagaafbf34xrcxacwbcaabyrlqckqbat4acytezuaaaaaaaaaaaawfk4aqcaq
Transferred 957.40 MiB in 2 seconds, 445.41 MiB/s
root@Ubuntu-2204-jammy-amd64-base ~/iroh # ntimesll.sh 5 cargo run --profile optimized-release get --ticket eaqvosfw36ccmubmfqumn66mf7uc2d2f7pngwhi6p6cgjt4jb7yyuibwhrqu5moohfnflevyt3pbndccbdbghdre33xplnoq2uydsgjee4aagaafbf34xrcxacwbcaabyrlqckqbat4acytezuaaaaaaaaaaaawfk4aqcaq
Transferred 957.40 MiB in 5 seconds, 176.35 MiB/s
Transferred 957.40 MiB in 5 seconds, 175.27 MiB/s
Transferred 957.40 MiB in 6 seconds, 166.10 MiB/s
Transferred 957.40 MiB in 5 seconds, 211.57 MiB/s
Transferred 957.40 MiB in 6 seconds, 163.98 MiB/s

root@Ubuntu-2204-jammy-amd64-base ~/iroh # git checkout 411e20b
Previous HEAD position was fe98c8d7 refactor(iroh-net): use tokio-util::codec for derp protocol implementation (#1386)
HEAD is now at 411e20b6 test: Introduce iroh-test with common logging infrastructure (#1365)
root@Ubuntu-2204-jammy-amd64-base ~/iroh # ntimesll.sh 1 cargo run --profile optimized-release get --ticket eaqvosfw36ccmubmfqumn66mf7uc2d2f7pngwhi6p6cgjt4jb7yyuibwhrqu5moohfnflevyt3pbndccbdbghdre33xplnoq2uydsgjee4aagaafbf34xrcxacwbcaabyrlqckqbat4acytezuaaaaaaaaaaaawfk4aqcaq
Transferred 957.40 MiB in 2 seconds, 443.81 MiB/s
root@Ubuntu-2204-jammy-amd64-base ~/iroh # ntimesll.sh 5 cargo run --profile optimized-release get --ticket eaqvosfw36ccmubmfqumn66mf7uc2d2f7pngwhi6p6cgjt4jb7yyuibwhrqu5moohfnflevyt3pbndccbdbghdre33xplnoq2uydsgjee4aagaafbf34xrcxacwbcaabyrlqckqbat4acytezuaaaaaaaaaaaawfk4aqcaq
Transferred 957.40 MiB in 5 seconds, 175.72 MiB/s
Transferred 957.40 MiB in 5 seconds, 178.66 MiB/s
Transferred 957.40 MiB in 6 seconds, 164.74 MiB/s
Transferred 957.40 MiB in 6 seconds, 165.16 MiB/s
Transferred 957.40 MiB in 6 seconds, 162.23 MiB/s

I did also restart the provider.

I have taken a detour and have added some detailed statistics to transfer_collection. PR soon.
Here is the outcome. Provider with a single request for a 100000000 byte file:
write_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 122072, duration: 3.547475062s } }
read_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 61036, duration: 1.559334564s } }
elapsed 6.033644208s
reading: 1.559334564s other: 926.834582ms writing: 3.547475062s

So reading io takes ~1.5s, other (actual computation and outboard io) takes ~0.9s, writing is the majority and takes 3.5s
Now, 5 concurrent requests for the same file:
write_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 122072, duration: 32.059433972s } }
read_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 61036, duration: 2.585966619s } }
elapsed 35.633822791s
reading: 2.585966619s other: 988.4222ms writing: 32.059433972s
write_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 122072, duration: 32.471469604s } }
read_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 61036, duration: 2.550756938s } }
elapsed 36.015244542s
reading: 2.550756938s other: 993.018ms writing: 32.471469604s
write_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 122072, duration: 32.513676708s } }
read_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 61036, duration: 2.62406632s } }
elapsed 36.127076041s
reading: 2.62406632s other: 989.333013ms writing: 32.513676708s
write_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 122072, duration: 32.575854971s } }
read_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 61036, duration: 2.626290168s } }
elapsed 36.19181275s
reading: 2.626290168s other: 989.667611ms writing: 32.575854971s
write_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 122072, duration: 32.658691348s } }
read_stats SizeAndStats { size:<PHONE_NUMBER>, stats: Stats { count: 61036, duration: 2.560995741s } }
elapsed 36.215285708s
reading: 2.560995741s other: 995.598619ms writing: 32.658691348s

reading is about half as fast (mmap could help I guess, this would be faster on linux)
other is identical (each op runs on a different core, so the computation is fully parallelized)
writing is getting totally clobbered, going from 3.5s to 30s.

By using some buffering for both writing and reading we could make sure that reading, hashing and writing happens properly pipelined. That would save us a bit. See https://github.com/n0-computer/iroh/issues/941 . But the gainz would be nothing to write home about and in any case would only benefit single threaded perf. The main bottleneck seems to be writing.

Possibly related: https://github.com/n0-computer/iroh/issues/1547

have you checked if your disk writes are io bound?

In my humble testing, we dont get close to saturating disk yet.
Also as a frame of reference, we had much better perf before the drop and it was running on the literally same boxes.

@dignifiedquire see the data above.
1 downloader:
reading: 1.559334564s other: 926.834582ms writing: 3.547475062s

5 downloaders:
reading: 2.560995741s other: 995.598619ms writing: 32.658691348s

Disk IO time goes up a bit, as you would expect (note that disk io is not yet optimized, since it is not the bottleneck)
Hash computation time stays the same within error bounds
Send overhead goes up a lot. A factor of 10, despite only 5 downloads.
IO can be optimized a lot, first by doing prefetch and then if we really need to by memory mapping (it's fine, this is not a DB). But it very likely is not the bottleneck here.

I meant actual iop counters for disk writes. It is possible due to bad scheduling to saturate those, even though the disk could do more writes in terms of actual bandwidth.

Context from discord
So a few quick observations:
- quinn benches seem broken on this box (container or not) but it uses <5% CPU and is completely flat at around 125 MB/s
- Ran the https tests and above the 1-5 mark we start to break even, 1-10 and we're loosing out to the simple https server client test
- The https tests get to around 60% max CPU utilization, http around 30%, were also at best 30% mostly around 10-20% though
- Ran tests up to 1-20
- http blows everything out of the water 1-5 is 8 times faster and further out it gets worse, get a max of 530MB/s for 1-20
seems the max here is around the 500-550 MB/s mark

The ODD thing I've noticed is that in all tests except iroh there is NO disk writes
but iroh seems to write a bunch in a few bursts on test start
maybe it's just the provider node loading in the test file, but either way we're the only ones writing anything
we do have a chill out time before they actually run against that node so that should not be the issue but worth noting
Anyways, the perf scaling issue originally is that we think we used to saturate a single connection by whatever means, but openning more allowed us to utilize more at the same time (this is also our experience with the old iroh impl and my old thread per core and conn load balancing experiments)
Currently it simply divides up the BW of a single stream, hence the drop compared to what we saw
We have spare CPU and spare BW on the test box so there should be no issues there as other tests show
so 1-1 @ 100 MB/s shouldn't mean 1-5 @ 20/s, rather should be 1-5 @ 85 MB/s each
Until we hit the 1-10 where we start tapering off due to HW constraints

Quinn benches on the CI boxes
      │ Upload Duration │ Download Duration | FBL        | Upload Throughput | Download Throughput
──────┼─────────────────┼───────────────────┼────────────┼───────────────────┼────────────────────
 AVG  │        906.00µs │          885.00µs │    40.00µs │     1108.35 MiB/s │       1133.13 MiB/s
 P0   │        870.00µs │          508.00µs │     1.00µs │      408.00 MiB/s │        555.50 MiB/s
 P10  │        890.00µs │          872.00µs │    37.00µs │     1105.00 MiB/s │       1129.00 MiB/s
 P50  │        898.00µs │          877.00µs │    41.00µs │     1114.00 MiB/s │       1141.00 MiB/s
 P90  │        905.00µs │          886.00µs │    43.00µs │     1124.00 MiB/s │       1147.00 MiB/s
 P100 │          2.45ms │            1.80ms │   138.00µs │     1150.00 MiB/s │       1969.00 MiB/s

@Arqu how are we doing with latest main now? are we somewhat back?

Seems a nice chunk better. Most charts are on the uptick, seems to mostly be benefiting transfers up to 3 nodes. Still not where we used to be on those old charts, but appears to be getting healthier.

closing as stale, we've intentionally allowed a 1-1 perf degredation in the name of feature parity with quinn.


Does docker-phantomjs support pop ups?

Hello!
I'm not sure if it is the best place to ask this question (please kindly show me a better one if there is), but I assume that there I have more chances to get it answered:)
I'm using this repo -  https://hub.docker.com/r/wernight/phantomjs/ to load some page via selenium webdriver in python, then this page opens (or tries at least) one more window using javascript's window.open but I could not figure out how to access it and might be it is not even opened because there is only one item in driver.window_handles list.
The most sad thing is that I could not figure out on which layer there is a problem or misconfiguration exactly - PhantomJS, Ghostdriver, Selenium or Docker image.
Thank you for any feedback!

@scythargon please read the documentation here.  if you have a popup then there should be more than one element in driver.window_handles.
can you create a minimal example that reproduces the issue you are seeing?

@jesg oh, I've figured it out, was my mistake, sorry and thank you!:)


How to pass custom path to Podfile

My current folder setup looks like this:
base_repo_folder/
                /fastlane/
                         /Fastfile
                /Project/
                        /Podfile
                        /MyProject.xcworkspace

I'm trying to create a lane that includes cocoapods.
I tried a few ways but it always seems to fail for me:
cocoapods(podfile: "Project/Podfile", verbose: true) # fails
cocoapods(podfile: "../Project/Podfile", verbose: true) # fails
cocoapods(podfile: "/Project/Podfile", verbose: true) # fails

I get this at the command line:
⇒ fastlane beta
[11:20:15]: -------------------------------------------------
[11:20:15]: --- Step: Verifying required fastlane version ---
[11:20:15]: -------------------------------------------------
[11:20:15]: fastlane version valid
[11:20:15]: ------------------------------
[11:20:15]: --- Step: default_platform ---
[11:20:15]: ------------------------------
[11:20:16]: Driving the lane 'ios beta' 🚀
[11:20:16]: -----------------------
[11:20:16]: --- Step: cocoapods ---
[11:20:16]: -----------------------
[11:20:16]: [SHELL COMMAND]: cd 'Project' && bundle exec pod install
[11:20:16]: [SHELL]: Oh no, an error occurred. Please run with `--verbose' and report on https://github.com/alloy/cocoapods/issues.
[11:20:16]: [SHELL]:
[11:20:16]: [SHELL]: wrong number of arguments (2 for 0..1)
[11:20:16]: Variable Dump:
[11:20:16]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta"}
[11:20:16]: Exit status of command 'cd 'Project' && bundle exec pod install' was 1 instead of 0.
Oh no, an error occurred. Please run with `--verbose' and report on https://github.com/alloy/cocoapods/issues.

wrong number of arguments (2 for 0..1)

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | cocoapods                           | 0           |
+------+-------------------------------------+-------------+

[11:20:16]: fastlane finished with errors
Successfully submitted crash report. If this is a problem with one of the tools you want to report
please submit an issue on GitHub and attach the following number to it: '96173a1fcac1e44d88770f530a53a55a'
Also stored the crash report locally '/tmp/sentry_96173a1fcac1e44d88770f530a53a55a.json'

Any help would be greatly appreciated.

You can use
Dir.chdir("my_path/folder") do
  cocoapods
end

@bensarz You are doing it right, except for the last option /Project/Podfile.
Is that working for you when you run the same sequence manually ?
cd Project && bundle exec pod install

Do you happen to have in Project/ a  Gemfile ?
Something is invalid there, from the error message wrong number of arguments (2 for 0..1) it looks that the issue is not from the cocoapods action but from your setup.

Thanks for the tip @KrauseFx!
@xfreebird I just tried running the sequence manually and I get the same problem.
I do have a Gemfile but it is above Project, not inside of it.
Will try @KrauseFx 's tip and report back.
Let me know if you think there is anything else i can do.

So I ended up deleting my Gemfile.lock and ran bundle install.
And I kept my lane like so (simplified):
 lane :beta do
    cocoapods(podfile: "Project")
  end

It worked. Sorry for wasting your time guys, thanks a lot for you help!

:+1:
If you really need that, you could use:
cocoapods(podfile: "Project", use_bundle_exec: false)

Yeah :+1:

😱


Allow tests to be specified by command line flag

Addresses one idea in #125 .
Test names should be separated by commas.
Example use:
bazel run //:fido2_conformance -- --token_path=/dev/hidraw0 --test_ids=make_credential_physical_presence,make_credential_option_uv_false

@kaczmarczyck : please kick of the the checks again, they are out of date.
thanks.

Close & Reopen is my standard trick for this :)


Cant install tensorflow on my laptop

pip3 install --upgrade tensorflow-gpu
Collecting tensorflow-gpu
Could not find a version that satisfies the requirement tensorflow-gpu (from versions: )
No matching distribution found for tensorflow-gpu
this is what it shows please help

#8251
this might help
:)

Make sure you're installing the corresponding binary for you system and Python installation. For instance a binary for Python 2.7 won't work on a Python 3.5 or 3.6 installation.

Are you able to install now, or still facing any issues.

@Carmezim yes I am using python 3.6 . Is CUDA & cuDDn installation necessary to install tensorflow on windows??

@shivaniag I am still facing issues

No it's not necessary to have CUDA unless you are using tensorflow CPU

Correction : tensorflow GPU

@golu-golu I tried to install tensorflow cpu but still the same error popped up
but as I have a graphic card it would be nice to use it for tensorflow-gpu

Please provide details about what platform you are using  (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?  Make sure you also include the exact command if possible to produce  the output included in your test case. If you are unclear what to include  see the issue template displayed in  the Github new issue template.
We ask for this in the issue submission template, because    it is really difficult to help without that information. Thanks!

@tatatodd I am using Windows 10 x64 bit version and I am trying to install the tensorflow version available on the tensorflow website. I am using "pip3 install --upgrade tensorflow-gpu" command for installing tensorflow gpu version, I installed CUDA 9.0 from NVDIA and also added cuDNN's dll to the respectivefolders as said in the installation guide. I also have numpy, dev,pip and wheel installed .After this when I try to run the command "pip3 install --upgrade tensorflow-gpu" the error
pip3 install --upgrade tensorflow-gpu
Collecting tensorflow-gpu
Could not find a version that satisfies the requirement tensorflow-gpu (from versions: )
No matching distribution found for tensorflow-gpu
comes up. please help

@kartikeyasaxena1012 You need the 64bit version of Python 3.6, as described here:
https://www.tensorflow.org/install/install_windows#installing_with_native_pip

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue? Please update the label and/or status accordingly.

I am having the same problem too … I tried Python 3.6, 3.7, Upgrade Pip, Running in the command line, running in anaconda … major problems

Hi, I have the same problem I cannot install TensorFlow in pycharm or anaconda.  i need to get 1.5 pythons...anyone can guide me in this issue?


'request' does not exist on type 'Angular2TokenService'.

Hi,
I'm getting the following error.

Property 'request' does not exist on type 'Angular2TokenService'.

Am I doing something wrong ?
import { Component  }                      from '@angular/core';
import { Router  }                              from '@angular/router';
import { RequestMethod                  from '@angular/http';
import { Angular2TokenService }      from 'angular2-token';

@Component({
    selector: 'videos',
    templateUrl: 'videos.html'
})

export class VideosComponent {

  constructor(
    private _tokenService: Angular2TokenService,
    private _router:Router ) {}

  getUserVideos() {
    this._tokenService.request({     //<========
      method: RequestMethod.Get,
      url:    'videos',
      data:   { id: 3 }
    });
   }

}

Hey @nicolasduval, I just tried it with example project. .request() should work, but I see you used data: { id: 3 }, which should be body: { id: 3 }.
Another problem could be that you are using a version previous to v0.2.0-beta.4, because the method was called different before.
Hope this helps!


Update above-help.pd

this will not trigger a run

and even merging it shouldn't trigger anything


Problem about reproducing the results of Swin tiny model segmentation

Hi, dear authors! Swin is a great work and I would like to try to reproduce some of its results.
I use the swin tiny config provided in this code and the pretrained model in Swin-Transformer Classification to reproduce the Swin tiny model segmentation results on ade20k, however, the result (single scale/multi scale) is 43.94/45.59, which differs from 44.51/45.81 produced in this code, also differs from the 46.1 in paper.
Do you have any idea how can I reproduce your results? Or have you noticed the same results in your experiments?
I set up the environment as described in Swin-Transformer Classification get_started.md. The environment detail is as below:
sys.platform: linux
Python: 3.7.7 (default, May  7 2020, 21:25:33) [GCC 7.3.0]
CUDA available: True
GPU 0,1,2,3,4,5,6,7: Tesla V100-PCIE-32GB
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 10.1, V10.1.243
GCC: gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
PyTorch: 1.7.1
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.2 Product Build 20200624 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v1.6.0 (Git Hash 5ef631a030a6f73131c77892041042805a06064f)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 10.1
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
CuDNN 7.6.3
Magma 2.5.2
Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.8.2
OpenCV: 4.4.0
MMCV: 1.2.7
MMCV Compiler: GCC 7.4
MMCV CUDA Compiler: 10.1
MMSegmentation: 0.11.0+c914b2c

hi, I also got a similar result: 44.25/45.57, please let me know if you solve it. Thank you


Sketch different approach to tracking provenance of signatures in output QCs

Sorry this is rushed.
It sketches a different way to track provenance of signatures in output QCs, so that each function's doesn't have to know about things outside it (such as network messages, message pools, etc.)
The key idea is to replace OutputQc∈RmOrMsg by OutputQc∈RmOr, which takes a predicate that must hold for a QC that is in the poststate but not in the prestate.  By making this a predicate over pre and post states, it becomes simple to stitch these together up and down the call stack, so we can relate QCs to what we know about (with respect to the whole step's prestate and the message pool) them near the top level.
Very much a sketch, but hope the idea is clear/useful.

The discussion was useful and we have continued with its outcome in other branches (chris2-mark-qcsb4 and mark2-chris-qcsb4) so I am closing this one.


Add _Notification event workacround to C# file

As explained in https://github.com/nathanhoad/godot_dialogue_manager/issues/589, a workaround is needed because Godot calls a translation notification before the object is loaded. @nathanhoad already did it for GDScript but it doesn't seem to have made it into the C# version

I had the same problem with sharp code.

Oh yeah, I changed the balloon in the examples directory but forgot to change the actual example balloon.


Challenge 0: use different package instead of react-json-view

Description :
It seems that the package we are using to show IPFS upload JSON data on UI seems not be maintained anymore and has some problem with SSR
We got away with the issue of SSR by using next/dynamic import:
https://github.com/scaffold-eth/se-2-challenges/blob/a84c35ae8d01e3d081fbec184a932cfd7e1033b7/packages/nextjs/pages/ipfsUpload.tsx#L9
As it was suggested here -> https://github.com/mac-s-g/react-json-view/issues/121#issuecomment-437267883
But it seems that in the latest very next version it breaks #89
Alternative which I found : https://viewer.textea.io/ but tells you to add @mui/material @emotion/react @emotion/styled as dependencies :( don't know if its worth it

Hey Shiv,
use client + React.lazy fixed the problem.
can I close this issue?

Closing this for now, since SSR problem is fixed, and react-json-view is still popular and enough for us. Will reopen later if needed


The trained policy is not useful to guide spacerobot how to move

Hello, I use the PPO method of your program to train the spacerobot, but I meet a problem now. I use the file(PPO/Discrete/PPO/main.py) to train spacerobot, and the xml file is spacerobotstate, the training  data just like train_log.txt in your program, but when i use the trained policy to guide the spacerobot to move, it just kill still and don't move, like the photo in the following:

the eva.py is :
import gym
import torch as T
import numpy as np
from agent import Agent
import SpaceRobotEnv
if __name__ == '__main__':
    env = gym.make("SatelliteEnv-v0")
    n_eval_episodes = 20
    action_space = env.action_space.shape[0]
    obs_shape = env.observation_space['observation'].shape

    agent = Agent(n_actions=action_space,
                  batch_size=16,
                  alpha=0.0003,
                  n_epoch=3,
                  input_dims=obs_shape,
                  model_name_actor="space_robot_actor.pt",
                  model_name_critic="space_robot_critic.pt")

    agent.load_model()
    score_history = []

    for episode in range(n_eval_episodes):
        obs = env.reset()
        observation = obs["observation"]
        done = False
        score = 0

        while not done:
            env.render()
            action, _, _ = agent.choose_action(observation)
            a = action.reshape(14,)
            a = a.clip(env.action_space.low, env.action_space.high)

            observation_, reward, done, info = env.step(a)
            score += reward
            observation = observation_["observation"]

        score_history.append(score)
        print(f"Episode {episode + 1} Score: {score:.2f}")

    avg_score = np.mean(score_history)
    print(f"\nAverage Score over {n_eval_episodes} episodes: {avg_score:.2f}")
    env.close()

Can you help me to solve this problem? Thank you very much!

Besides, i have another question. In the SpaceRobotEnv.py, The variable done is not defined for when it should be True.


feat: create a CollectionBuilder

closing for now

I did too, we can revive it at some point, but the async/sync setup we currrently have made this rebase quite problematic on latest main.


--help text does not match full list of arguments for CLI commands

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[ ] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[ ] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
The --help text for some CLI commands doesn't seem to be populated with all flags that are available within the command itself. The main one I've noticed this on is publish which seems to have a --target,--yes-, and --sitemap options but these aren't shown within the --help output. There may be others in other commands but I noticed these when comparing the existing docs to the new ones I am currently writing (https://github.com/dendronhq/dendron-site/pull/531) to standardise cli docs formats.
To Reproduce
npx dendron publish --help
https://github.com/dendronhq/dendron/blob/d34bff98a8ec2fb5f249c90a366f6eb5d6b39cb3/packages/dendron-cli/src/commands/publishCLICommand.ts#L81
Expected behavior
I would think that all flags would be shown in the help output/
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)

Dendron CLI: 0.97

Additional context
Once any additional flags are added these will need to be added to the docs as well.
Dendron Log file

This should be fixed after Dendron v.101. Feel free to ping here if that's not the case

Yep seems to be now!


[BUG] Error hooks only run if the provider throws

Observed behavior
The error hook only runs if the provider throws an exception. However, it's possible for a provider to return an error code in the ResolutionDetails.
Expected Behavior
The error hook runs if the ResolutionDetails contains an errorCode
Steps to reproduce

Register a provider that returns a ResolutionDetails object with an errorCode
Register a hook that relies on the error hook
Evaluate a flag
Profit 🤑

We should add some clarifying text to the spec once this issue is addressed.
https://openfeature.dev/specification/sections/hooks#requirement-437


Big number gets wrong while deserialization process

As title says, big numbers saved in Upstash like<PHONE_NUMBER>00155481467 are converted to wrong values like<PHONE_NUMBER>00155480000.
Here is the saved value on Upstash :

and this is what I got from the client :

It looks like you need to make the deserialize function handle big numbers to prevent these cases.

Hey @So-chiru, thank you for reporting this.
The issue comes from javascript not being able to handle numbers larger than 2^53 -1 safely.
I'll release v1.0.0-alpha.5 in a few minutes with a fix.
In case of very large numbers we now return it in its raw string format.


kavita: <IP_ADDRESS> -> 0.7.12

Description of changes
https://github.com/Kareadita/Kavita/releases/tag/v0.7.12
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I probably should have searched for these before I submitted another PR, oops. Yours seems to have a lot more fixes, but if you want it superseded I can cherry pick your changes.

Seeing that you added yourself as a maintainer it might make more sense just to update the previous PR and get it merged, however.

Note: https://github.com/Kareadita/Kavita/releases/tag/v0.7.13 is latest

Changes seem OK, still needs release notes mention.

Rebased to solve the merge conflict

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1498

Tests should be passing now, after all these messy pushes.


PFX Certs are not working

Describe the bug
When specifying a PFX cert and passphrase, there are two problems:

The automatic localhost cert/key are still being generated, overriding the PFX
Once that is solved, Node throws an error that it wants the passphrase as a buffer for PFX certs.

PR is coming shortly.
Reproduction
https://github.com/JohnCampionJr/vite-pfx-cert
Created a test repo with a self-created localhost.pfx file.  Does not work with current vite, before my PR.
After PR, works perfectly.
Running this
vite --port 3333 --https.pfx ..\\mycert.pfx --https.passphrase 1234

With a valid cert shows the problem.
System Info
System:
    OS: Windows 10 10.0.19042
    CPU: (16) x64 Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
    Memory: 9.54 GB / 31.90 GB
  Binaries:
    Node: 12.18.3 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.11 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 6.14.6 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 92.0.4515.131
    Edge: Spartan (44.19041.1023.0), Chromium (92.0.902.62)
    Internet Explorer: 11.0.19041.1
  npmPackages:
    @vitejs/plugin-vue: ^1.3.0 => 1.3.0
    vite: ^2.4.4 => 2.5.0-beta.0

Used Package Manager
yarn
Logs
No response
Validations

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

Closing as this part of the code is removed in Vite 3. (automatic https certificate generation feature is now implemented in vite-plugin-basic-ssl)


add structured to async

I need to add structured extraction to async like there is in sync.
Please review @jph00
cc: @Isaac-Flath

Cool!


fix: landing page hero refactoring

Description

Removed landing page query
Image is laded from featured image of the page
Hero box title, description and link are configurable from hero settings of the page

NOTE: styles for hero box are broken, should be fixed either in that PR either in separate one, but designs are needed.
Issues
Closes
DEV-XXX:
Related
Testing
Automated tests
Manual testing
Screenshots
Additional notes

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr539.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr539.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is failed for https://tapahtumat-pr539.dev.hel.ninja :crying_cat_face::anger::boom::boom:

TestCafe result is failed for https://harrastukset-pr539.dev.hel.ninja :crying_cat_face::anger::boom::boom:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr539.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is failed for https://liikunta-pr539.dev.hel.ninja :crying_cat_face::anger::boom::boom:

The changes looks good, but the CI issues neesd to be tackled first! There are typecheck issues etc.

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr539.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr539.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is failed for https://tapahtumat-pr539.dev.hel.ninja :crying_cat_face::anger::boom::boom:

The build and the browser test still fails. Browser test fails to check something from header I assume and the build issue could be some hickup: just rerun.

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr539.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr539.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr539.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is failed for https://tapahtumat-pr539.dev.hel.ninja :crying_cat_face::anger::boom::boom:

TestCafe result is failed for https://harrastukset-pr539.dev.hel.ninja :crying_cat_face::anger::boom::boom:

TestCafe result is failed for https://liikunta-pr539.dev.hel.ninja :crying_cat_face::anger::boom::boom:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr539.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr539.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr539.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://harrastukset-pr539.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://tapahtumat-pr539.dev.hel.ninja :laughing::tada::tada::tada:


fix: arguments are being skipped if empty

when using $* the empty parameters were skipped due to missing quotes
ref https://wiki.bash-hackers.org/scripting/posparams#all_positional_parameters

Thanks for spotting it!


airlineToggle does not work

environment

vim: ????
vim-airline: lattest
OS: ArchLinux
Have you reproduced with a minimal vimrc: ???
What is your airline configuration: ???
if you are using terminal:
terminal: ????
$TERM variable: ???
color configuration (:set t_Co?):
if you are using Neovim:
does it happen in Vim: ???

actual behavior
no airline view
:AirlineToogle does not existing
expected behavior
see airline Statusbar

cannot reproduce. What is the output of :verbose set stl before and after you issue :AirlineToggle?

This Problem is solved, but Airline does not find any themes on my system.
:AirlineTheme {dark}
Say that specific theme is not found.
:set verbose stl say:
statusline=%!airline#statusline(1)
        Zuletzt gesetzt von /usr/share/vim/vimfiles/autoload/airline.vim

You need the themes repository for that to work. However this has nothing to do with :AirlineToggle


Fix CoreText Drawing

It seems our drawing implementation was overcomplicated, doing unnecessary transformations which made assumptions about the state of the context which were not always true.  Removes now unnecessary private drawing functions and removes ascent as well as simplifying CGContextDrawGlyphRun.
This should be the last change we need for drawing
Fixes #1290

This change is

:shipit:

:shipit:


add Elasticsearch datasource

adding Elasticsearch datasource

Can you please check this button on the PR so i can push to it?

Checkbox is "On"


Getting Error while running your demo code on Python 2.7.10

Below is the traceback -
Traceback (most recent call last):
File "delight/viewhandlers/test.py", line 4, in
conn.request('GET', '/get')
File "/Library/Python/2.7/site-packages/hyper/common/connection.py", line 103, in request
method=method, url=url, body=body, headers=headers
File "/Library/Python/2.7/site-packages/hyper/http11/connection.py", line 169, in request
self.connect()
File "/Library/Python/2.7/site-packages/hyper/http11/connection.py", line 124, in connect
sock, proto = wrap_socket(sock, host, self.ssl_context)
File "/Library/Python/2.7/site-packages/hyper/tls.py", line 36, in wrap_socket
_context = init_context()
File "/Library/Python/2.7/site-packages/hyper/tls.py", line 110, in init_context
context.options |= ssl.OP_NO_COMPRESSION
AttributeError: 'module' object has no attribute 'OP_NO_COMPRESSION'
Here is code piece which I used .
from hyper import HTTPConnection
conn = HTTPConnection('http2bin.org:443')
conn.request('GET', '/get')
resp = conn.get_response()
print(resp.read())

It looks like your ssl module is extremely old: we need to be able to disable TLS compression for HTTP/2 (and for security reasons).
You can try adding this to the top of your code:
import ssl
ssl.OP_NO_COMPRESSION = 0x20000

However I recommend upgrading your Python to a newer release if possible.


updated velero CRDs to velero 1.8.0, fix common.go quay image tags

Codecov Report

Merging #593 (69088af) into master (c5293b1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #593   +/-   ##
=======================================
  Coverage   37.60%   37.60%
=======================================
  Files          14       14
  Lines        2917     2917
=======================================
  Hits         1097     1097
  Misses       1737     1737
  Partials       83       83

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 be6b122...69088af. Read the comment docs.

/retest

/retest

/retest


Add job name component and job submit component

Related JIRA Issue(s)
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-1491
Description
The scope of this PR is only to add a job name field and a button for submitting the Blast job.

The job name field is added as a part of BlastSettings component (it kind of feels like a Blast setting)
The job submission button has been created as a separate component. At the moment, the button is always disabled.

Deployment URL
http://job-name-submit.review.ensembl.org/blast

Do we need a test for the blastjobname?

Do we need a test for the blastjobname?

We don't have any tests for the BlastSettings component. Don't know if we should or what they might be (there are too many options to meaningfully test); but there is no point in adding a test just for the blast job name


Xiaomi Mi Mop robot vacuum cleaner (mc1808) - unable to discover the device (MiioException while fetching the state)

Problem I'm running into:
I'm running into the following issue with my Xiaomi Mi Mop robot vacuum cleaner (mc1808) that is is unable to fetch the current state of it through the API or locally. Resulting in the below exception. I'm unsure where to ask this question or if it's even an issue with the integration itself. Any help or pointers where I could find help would be greatly appreciated.
Device information:
Firmware version: 4.1.8_1118
Logs:
This error originated from a custom integration.

Logger: custom_components.xiaomi_miot.vacuum
Source: custom_components/xiaomi_miot/__init__.py:1225
Integration: Xiaomi Miot Auto (documentation, issues)
First occurred: 8:54:55 PM (3 occurrences)
Last logged: 8:56:07 PM

Robot vacuum(dreame.vacuum.mc1808): Got MiioException while fetching the state:
Unable to discover the device <IP_ADDRESS>,
mapping:

{
'vacuum.fault':{
'siid':3,
'piid':1
},
'vacuum.status':{
'siid':3,
'piid':2
},
'audio.volume':{
'siid':24,
'piid':1
},
'audio.voice_packets':{
'siid':24,
'piid':3
},
'map.map_view':{
'siid':23,
'piid':1
},
'map.frame_info':{
'siid':23,
'piid':2
},
'clean.work_mode':{
'siid':18,
'piid':1
},
'clean.area':{
'siid':18,
'piid':4
},
'clean.timer':{
'siid':18,
'piid':5
},
'clean.mode':{
'siid':18,
'piid':6
},
'clean.delete_timer':{
'siid':18,
'piid':8
},
'clean.water_box':{
'siid':18,
'piid':9
},
'clean.total_clean_time':{
'siid':18,
'piid':13
},
'clean.total_clean_times':{
'siid':18,
'piid':14
},
'clean.total_clean_area':{
'siid':18,
'piid':15
},
'clean.clean_log_start_time':{
'siid':18,
'piid':16
},
'clean.button_led':{
'siid':18,
'piid':17
},
'clean.task_done':{
'siid':18,
'piid':18
},
'brush_left_time-28-1':{
'siid':28,
'piid':1
},
'brush_life_level-28-2':{
'siid':28,
'piid':2
},
'filter.filter_life_level':{
'siid':27,
'piid':1
},
'filter.filter_left_time':{
'siid':27,
'piid':2
},
'brush_cleaner.brush_left_time':{
'siid':26,
'piid':1
},
'brush_cleaner.brush_life_level':{
'siid':26,
'piid':2
},
'battery.battery_level':{
'siid':2,
'piid':1
},
'battery.charging_state':{
'siid':2,
'piid':2
}
}
max_properties: 9/26

https://github.com/al-one/hass-xiaomi-miot/issues/350#issuecomment-1004561038

It's probably due to the different subnets indeed, I have 1 LAN and 3 VLAN groups split out over 0,10,20 and 30. The home assistant is running within the admin subnet (192.168.0)  while the vacuum cleaner is within the home network 10 (but will get moved eventually to 30, but since this requires a full reset I haven't bother with changing this yet).
I do have an AVAHI mdns repeater setup (on the same Proxmox box, as the virtual machine for home assistant, but in a different virtual machine for Chromecast compatibility) and had hoped that the mdns repeater would suffice for this purpose as well.
I'll follow the steps you provided here: https://python-miio.readthedocs.io/en/latest/troubleshooting.html#discover-devices-across-subnets provided in the hope this will rectify the issue.
Thank you :+1:


Support elements generation from SVG spec

Fixes #332.
This pull requests brings the following on table:

Refactors existing generator to separate HTML and SVG implementations. The generator code itself has not been really changed, it was only slightly DRYed.
The same for html:* and svg:* Rake tasks.
Includes autogenerated elements from SVG specification.

Generators are not perfect for now:

if IDL has attribute that uses dictionary, it is ignored
interfaces, which IDLs are implemented in different spec are ignored (a lot of SVG elements)
need heavy refactoring

P.S. @titusfortner The diff is really noisy because I had to move some files around along with changes inside of them, but it would be great if you could go over them.

Changes Unknown when pulling 5cb33670ffb4e6fd52a6ad16ada5c401682ab943 on svg_spec into ** on master**.

Changes Unknown when pulling 5cb33670ffb4e6fd52a6ad16ada5c401682ab943 on svg_spec into ** on master**.

Changes Unknown when pulling 5cb33670ffb4e6fd52a6ad16ada5c401682ab943 on svg_spec into ** on master**.

This is great. I'm super busy this week, but I'm planning on taking a few days off next week to get caught up on things, including these pull requests. Thanks!

@titusfortner Any update on this? It's taking almost a month already and it'd be great to merge this as soon as possible so we could start testing it.

Sorry this took so long. Most of this is over my head/out of my wheel house. From what I do understand, I like what you've done.
My only suggestion is naming html.rb & svg.rb to html_element.rb and svg_element.rb both to distinguish them in the folder as 'special' files, and to following the convention of the file name being the snake case of the class name.
Either way, this is really cool. Thanks for your work on it. It just needs a rebase to merge.

I can rename files to html_elements and svg_elements because there are a lot of classes there, so the class = filename convention can't be applied here.


PowerShell remoting is broken on Win-Arm32 on Preview.4 release

Steps to reproduce
Install Preview.4 package on raspberry-pi on Windows IOT.
Try remoting from remote machine.
Expected behavior
Can remotely connect.
Actual behavior
PS C:\> $s3 = New-PSSession  -ComputerName <IP_ADDRESS> -Credential administrator -ConfigurationName PowerShell.6.1.0-preview.4
New-PSSession : [<IP_ADDRESS>] Connecting to remote server <IP_ADDRESS> failed with the following error message :
WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible
over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer.
By default, the WinRM firewall exception for public profiles limits access to remote computers within the same local
subnet. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:7
+ $s3 = New-PSSession  -ComputerName <IP_ADDRESS> -Credential administ ...
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : WinRMOperationTimeout,PSSessionOpenFailed

Environment data

> $PSVersionTable
Preview.4

This has been fixed in release for 6.0.4 and will be fixed in the next 6.1.x release.

This have been fixed in 6.1.0-rc.1


Nix script Haskell fails to build on nixpkgs-unstable

Configuring nix-script-haskell-<IP_ADDRESS>...

Setup: Encountered missing or private dependencies:
base >=4.13 && <4.15, relude >=<IP_ADDRESS> && <0.8

We had problems with bounds some time ago. Not sure what the procedure is. Do you prefer a PR removing problemativ version bounds, or do you want to have a look yourself?

FYI, I removed the version bounds on a local install, and nix script builds and works fine.

Go ahead and loosen the bounds. I'm currently doing a rewrite to v2 since the current implementation ended up in a dead end, so I'm fine getting folks unblocked instead of doing anything fancier.


Trigger Pipes with GET requests too

We've been trying pipes to validate inputs as doc explains and it works fairly well with post requests, but it doesn't seems to work for every typical crud verbs. It would be nice to use the same kind of component for validation in every place.
Currently using:
common: "version": "3.0.0"
core: "version": "3.0.1"
microservices: "version": "3.0.1"
testing: "version": "3.0.0"
websockets: "version": "3.0.0"
Thanks

Hi @ericzon,
Everything should work fine since v4 release.
Thanks, Kamil


Loading glTF with external assets

Description
I am trying to use the glTF support added in 1.26.0 but run into problems when loading .gltf files with references to external assets such as bins and images. The assets are referenced via URI and placed "side-by-side" the .gltf as such:

When i run app.assets.loadFromUrl("path/to/model.gltf", "container", function (err, asset) {}) the callback is never fired and I get a bunch of 404 results in the network log. I see two issues here:

Instead of fetching external assets using the same base path as the loaded .gltf file, the engine tries to load the assets from the site root. This is the result in the network log:

I suggest a base path based on the .gltf path is automatically prepended to all external asset requests since the glTF 2.0 spec says external files should be stored side-by-side the .gltf.

The callback of app.assets.loadFromUrl(...) is never fired when the external asset requests fail. I would assume the callback should be fired with an err argument in this case.

Steps to Reproduce

Play the project https://playcanvas.com/project/673806/overview/gltfpathproblem
Note that the embedded .gltf loads correctly
Open network log and check how requests for external assets have failed

Try GLB instead. Unpacked glTF is not supported in the Editor (yet). Please also note that we'll soon update the Editor to convert FBX/OBJ/DAE to GLB. And the model component will support those GLB assets. So while the engine work is in place now, we have some work still to do on the Editor to finish the integration.

GLB parsing works great but is not sufficient in my case. I'm working on an application that has to be able to load glb, embedded gltf and unpacked gltf. I'm just using the engine for this project, not the editor, and I'm getting the same error results as displayed in my editor-made example.
To me this seems like an engine problem rather than an editor problem. Looking at the code GlbParser.parseAsync has no knowledge of which path the gltf file was fetched from, giving it no way to figure out where external assets are located.

Hi @godiagonal, I believe @willeastcott just meant that GLB support was our first priority and is officially supported right now. However we're working on getting GLTF working in the engine too!

I see, thanks for the clarification!


H20.ai

Is it possible to make this work with H20.ai

Hey @hatman121,
As far as I know, gpt-engineer is set up for OpenAI's GPT models, so getting it to work with H2O.ai would probably take some heavy lifting. But who knows, maybe in the future!

Closing this answered issue, since it has been stale for a long time. Also see  #476


make it easier to switch base image

@carolynvs wrote a great post about mixing jupyter-stacks with JupyterHub.
in the section about the Dockerfile, the source from the single-user dockerfile is copied, which makes perfect sense given how docker works, but it gave me an idea. Since the single-user stuff shouldn't be sensitive to the base image as long as jupyter is installed somewhere, maybe we should provide an official rebase-image command to do this, so it's easy for people to build their single-user images without maintaining copies of code that could get stale.
Rather than doing a one-time copy of the single-user image, you do rebase-singleuser jupyter/<stack> that does:

copy singleuser -> my-singleuser
modify FROM
docker build -t singleuser my-singleuser

Hopefully removing the need to copy implementation details of the single-user image.
The only fiddly bit I can see is the user and permission stuff, which broke when I switched it to our docker stacks because of the jovyan user.
cc @rgbkrk

This is better than any approach I can currently think of (besides always bundling singleuser with a jupyter notebook install), though I still feel it is a bit murky to handle it like this.

A command could be useful, though I think the entire process could be performed with a single line of curl | sed + docker build.
Would it be crazy to push jupyter-stack images built for JupyterHub to DockerHub? e.g. jupyter/minimal-notebook would have a companion, jupyter/minimal-notebook-hub or something like that.

Would it be crazy to push jupyter-stack images built for JupyterHub to DockerHub?

/cc @parente for that one. Peter will have a better idea of the current maintenance burden.

which broke when I switched it to our docker stacks because of the jovyan user.

I'm not privy to the problem but, FWIW, the NB_UID env var can be set at runtime to change the UID of jovyan in every docker-stacks image (see https://github.com/jupyter/docker-stacks/blob/master/minimal-notebook/README.md#docker-options for example)

Would it be crazy to push jupyter-stack images built for JupyterHub to DockerHub?

Not too crazy. I think. We can give it a shot with a few of the images to start and see how it goes.

Pro: The new images would start FROM the existing ones and be quick to build.
Con: They would rebuild every time the base images rebuilt. (But should still build quickly.)
Pro: @jakirkham has gotten the stacks building on Travis so that we at least get a sniff test on new PRs and don't need to build/test everything manually. Adding new images isn't as burdensome as before.
Con: Travis busts docker cache on every build after pulling the latest images from Docker Hub for unknown reasons, and so often times out.  So we still don't push from travis because of the above and still need to trigger (and retry) builds manually from a build VM.
Pro: If the Docker Hub stats are to be believed, some of the images are far more popular than the others (https://gist.github.com/parente/316d5c242aeb484484c8). @jakirkham and I started chatting about removing the less popular ones (which are subsets of the others anyway) in order to speed up the build and reduce maintenance cost.

@parente I didn't mean to imply that it was a problem. It's just that the base image had a different user than the previous base image, so I had to change a line or two. That's the only thing that should not be 100% generic in the singleuser Dockerfile.
@carolynvs pushing single-user derivatives to docker-stacks makes sense to me. And since it really is as simple as curl + sed, as you say, building a singleuser stack from each notebook stack should be easy to automate.

#83 adds a script for quickly building a single-user image with a different base


add tag for 1.2.2 release

npmjs.com has version 1.2.2 but last version tagged in the repo is 1.1.0. Please push a tag for the latest version.

Tag 1.2.2 added (https://github.com/differui/rollup-plugin-sass/releases/tag/1.2.2).


tailscale: support set device ipv4 address

https://github.com/tailscale/tailscale/blob/main/api.md#set-device-ipv4-address

This LGTM. Is this being added for the Terraform provider?

@mpminardi no, not for a terraform. I added this for https://github.com/clstokes/tailscale-prefix-mover to help a customer reassign some devices.


#371 take actions refactor

Refactored takesell & takebuy actions into the Orders module.
Validations were separated into middlewares allowing reusability of handlers.

This is PR#1 related to issue #371. The refactor is needed for PR#2.
PR#2 will add /takeOrder command.

@grunch have you had a chance to take a look here?

This was my first rebase. I appreciate any feedback


ARU Org Join Request

Your Name
Dylan Fanner
Membership Type
Member
Role
Postgraduate
Supervisor
Other
Teams
No response
Collaborator Repositories
No response
Special Requests
No response
Code of Conduct

[X] I agree.

Email Address Confirmation

[X] I confirm that I have read and understood the above.

Apologies for delay. Invite sent. Please accept and you'll be added to the ARU Org.


feature:  model definition for observability analysis platform

The observability analysis platform (oap) is designed to process metrics, logs and trace data, and provide unified processing, storage and query functions for observability data.
Add observability data protocol

Metrics proto
Trace proto
Log proto
Event proto
Entity proto

/approve


#0: remove pinned python3.8-venv in docker requirements

Ticket
Link to Github Issue
Problem description
Provide context for the problem.
What's changed
Describe the approach used to solve the problem.
Summarize the changes made and its impact.
Checklist

[ ] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

for documentation purposes:
Remove pinned version of python3.8-venv as it is considered  (hopefully) as stable enough verison. New releases of python3.8-venv causes the older version to be released from apt repositories


Debugify - Enable Fix

What config to change
MC-140646
Why should it be changed
This is useful for anyone using any kind of text input from command blocks to even just the chat menu. This bug is extremely annoying and cumbersome to work round.
Category
Mod config option
Additional details
No response

@isXander Can you confirm that this issue does not exist with your code: https://github.com/j-tai/TieFix/issues/7
As the issue says, it got fixed in TieFix as well, but it did make me wary of enabling similar fixes in the future.

This fix uses tiefix as a reference implementation and this issue is not present in my code.

Enabled in 3.4.1.


add types for suffixed properties, paddingX, etc

This PR adds types for more of the node properties. I think I have them all now.
Background: traits and properties
Mathbox nodes get their properties from "traits". For example, <grid /> has the following 16 traits:
export class Grid extends Primitive {
  static initClass() {
    this.traits = [
      "node",
      "object",
      "visible",
      "style",
      "line",
      "grid",
      "area",
      "position",
      "origin",
      "shade",
      "axis:x",
      "axis:y",
      "scale:x",
      "scale:y",
      "span:x",
      "span:y",
    ];
  /** rest of class */
}

Each trait defines a bunch of properties. For example, the axis trait defines two properties:
  axis: {
    detail: Types.int(1),
    crossed: Types.bool(false),
  },

Aliasing
When Grid includes "axis:x" and axis:y" as traits, the axis properties get included twice with suffixes X and Y:
// Grid Properties
{
  detailX: number
  crossedX: boolean
  detailY: number
  crossedY: boolean
}

Previous work
When I originally added Typescript definitions for mathbox (https://github.com/unconed/mathbox/commit/0665621b4318780d96dd9a73e45a38931fb06569) I did not understand how the above suffix aliasing worked, so I just skipped those properties.  This PR adds them in.

The writeup here is great too. We need to collect these research notes into better docs for the whole project at some pt as well


Having issue with enabling Xbox live in dashboard and in unity.

Hi
I am having an issue with Xbox live. When I try to "Run Xbox Live Association Wizard" it shows me this error.

And on partner center dashboard currently it is showing this error.

Please help me what could be the possible reasons for these and what could be the possible solutions.

I've exactly the same... :(

@cookiedot  Hi. Is your issue resolved? If yes kindly help me out.

Yeah, the warning is gone after 2 days.. Certainly a delay to enable xbox live functionnalities..
For the Xbox live Association Wizard, it seem's to be broken. I've made the conf by hand (you can open conf file on Unity -xbox live menu- and fill the form with your account data)


Search is broken on docs site

I'm pretty sure something should come up for the query auth. Regardless, based off the output, it seems to be ignoring characters after the first.

Confirmed. This is the error being thrown:

Sometimes it just doesn't work at all. It also doesn't clear the blue when you exit the search box or even navigate to a new page.

This is a GitBook issue.  I couldn't figure out which version of gitbook we're using.  Similar issue: https://github.com/GitbookIO/gitbook/issues/497

Maybe switching to something like https://www.npmjs.com/package/gitbook-plugin-algolia might be the better way to solve this.

My suspicion is that this is because of emoticon in the text but I am not sure. I have disabled search for now.

I actually just used search this morning -- it worked after the first character. You need to type in two characters or more. Was on latest chrome, not sure if issues remain for other browsers.

@petermikitsh Did you see the error?

Didn't have the console open :(
The UI looked similar to what @teddy-error's screenshot shows after the first letter is typed -- second+ characters began to populate search results.

Other FOSS projects appear to be using the search plugin without issue. This may suggest that our documentation has some unique trait(s) which are causing the issues.

Probably. As I mentioned, so far at least the page at https://docs.feathersjs.com/guides/about/vs.html is causing this issue.

I was able to resolve the issue and will create a pull request shortly.

These changes alleviate some of the major annoyances with searching including the exceptions mentioned above. However, there are still some minor quirks present in the functionality. I believe they are caused somehow by feathers-versions as removing the plugin will also remedy the quirks.

What specifically are those quirks? I don't think the version dropdown does anything search related does it?

I was experiencing an issue where a search would not cancel and leave the page in a search state rather than the normal state. E.g: After deleting the text and leaving the box I would still be at /[somepage]?q= instead of the page I initiated I initiated the search from /[somepage]
BUT I'm not able to replicate this now. It's possible I accidentally observed the issue at docs.feathersjs.com rather than the test page so:
I am no longer observing issues with the search.

Verified that this is fixed now via https://github.com/feathersjs/docs/pull/907 by @teddy-error  🎉


Function.arguments issue

Hi Svaarala:
I am currently facing an issue when I ran the following script code in Duktape:
var value = myFunction( a, b) //myFunction has already been defined in the global scope

// the definition of myFunction looks like:
function myFunction (a,b)
{
	if(myFunction.arguments.length == 1) b = a;
	return a+b;
}

Basically the function first checks whether the length of arguments in myFunction is 1, if it is, assigns a to b. Then returns the sum of a and b.
I got an error 'cannot read property 'length' of undefined' when running above code, which indicate 'myFunction.arguments' is undefined in Duktape.
I know from this page: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/arguments that Function.arguments is deprecated but it is supported in all major JavaScript engines.
The script code listed above is legacy code written by other developers that we don't have access to until runtime, so we have no ability to change the script. The only thing we can do is adjust our code to make it run. Could you help me with that? Any ideas or suggestions will be appreciated, thanks in advance.
Paul

It's indeed not a standard property and the basic problem in supporting it is:

In the case of recursion, i.e. if function f appears several times on the call stack, the value of f.arguments represents the arguments corresponding to the most recent invocation of the function.

Doing that means editing the function object on function entry and exit, and handling resetting the property on long control transfers (such as error throws). Further, the same function may be called from multiple coroutines which makes useful guarantees difficult to achieve. Consider a function which yields and then resumes; the .arguments property might have changed during that period making it unreliable after a yield.
Duktape currently supports function .caller property which has similar issues however. I guess there are two alternatives going forward: either to deprecate that as well (as it doesn't really work well with e.g. coroutines ) or to keep the support and maybe add e.g. .arguments. I'd personally favor not supporting these properties because they don't work well with other features.

well, I'm not sure if you need to do this but here's a quick hack for this, this only applies if you already know the function name in advance
  var a = 1;
  var b = 2;

  // the definition of myFunction looks like:
  function myFunction (a,b){
    if(myFunction.arguments.length == 1) b = a;
    return a+b;
  }

  var oldfn = myFunction;
  var myFunction = function(){
    myFunction.arguments = arguments;
    return oldfn.apply(this, arguments);
  }

  var value = myFunction( a, b) //myFunction has already been defined in the global scope
  print(value);

You'd also need to restore the previous value (or null if no previous call was in progress) to handle recursion correctly. The wrapper should use try-finally for that so that the restoring happens correctly even for errors. Pretty much the same issues need to be handled when the feature is directly implemented by the engine.
One alternative implementation might be to implement function .caller and .arguments as virtual properties. That would be relatively simple if they were only accessed for the current function, but because they may be accessed for any function, and each function may appear multiple times in the callstack (and for multiple threads too!) it's not straightforward.

This would be the try-finally version:
var oldfn = myFunction;
var myFunction = function myFunction() {
    var oldarguments = myFunction.arguments;
    try {
        myFunction.arguments = arguments;
        return oldfn.apply(this, arguments);
    } finally {
        myFunction.arguments = oldarguments;
    }
}

@svaarala  @mamod  Thanks for your answers.
As I mentioned, I don't have control over the script code, I even don't know the function name before running my program. The example I showed you is just one of so many possible cases. Is it possible for me to edit Duktape to make it support Function.arguments?

@YukiPaul The function .caller support in call handling is quite similar so you could model your custom changes after that, look for DUK_USE_NONSTD_FUNC_CALLER_PROPERTY in duk_js_call.c (for call entry) and duk_hthread_stacks.c (for call unwind).

Could this be implemented in script by modifying Function.prototype before executing the offending code?  I understand the original scripts can't be modified but I just wonder if there's a way to bootstrap it.

Thanks, I will give it a try.

There's no agreement on a concrete change here and no activity for a while, so closing.


[libosmscout] Add new port

This is a new port of libosmscout (https://github.com/Framstag/libosmscout).

@OgreTransporter, could your format the vcpkg.json file? See github.com/microsoft/vcpkg/blob/master/docs/maintainers/maintainer-guide.md#manifest for solution.

@OgreTransporter, could your format the vcpkg.json file? See https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/maintainer-guide.md#manifests for solution.

I would be happy about a reasonable error message.

The formatting of the manifest files didn't match our expectation.

is not very helpful. Of course I used vcpkg.exe format-manifest --all before. What else is wrong?

I also suggest to rename the port to 'framstag-libosmscout', I noticed there is also another package named to libosmscout. https://repology.org/project/libosmscout/versions

I am against renaming the port. If the name is changed, repology probably cannot recognize the vcpkg package. For example, cairo is also called cairo everywhere. The listed packages have also not been maintained for years and are very outdated.
C:\dev\vcpkg>vcpkg.exe format-manifest --all
Succeeded in formatting the manifest files.

C:\dev\vcpkg>vcpkg.exe install libosmscout[cairo,directx,gdi,svg]:x64-windows
Computing installation plan...
The following packages will be built and installed:
    libosmscout[cairo,core,directx,gdi,svg]:x64-windows
Detecting compiler hash for triplet x64-windows...
Starting package 1/1: libosmscout:x64-windows
Building package libosmscout[cairo,core,directx,gdi,svg]:x64-windows...
Could not locate cached archive: C:\Users\IEUser\AppData\Local\vcpkg\archives\97\97a62f29ccc6aa6ac88f947eaada27885c0c6b48.zip
-- Using cached C:/dev/vcpkg/downloads/Framstag-libosmscout-c81e1d9a0f69cc5b93588dbe330b2af587162c5f.tar.gz
-- Cleaning sources at C:/dev/vcpkg/buildtrees/libosmscout/src/f587162c5f-4dbef76e40.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/dev/vcpkg/downloads/Framstag-libosmscout-c81e1d9a0f69cc5b93588dbe330b2af587162c5f.tar.gz
-- Using source at C:/dev/vcpkg/buildtrees/libosmscout/src/f587162c5f-4dbef76e40.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/dev/vcpkg/packages/libosmscout_x64-windows/share/libosmscout/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\IEUser\AppData\Local\vcpkg\archives\97\97a62f29ccc6aa6ac88f947eaada27885c0c6b48.zip
Building package libosmscout[cairo,core,directx,gdi,svg]:x64-windows... done
Installing package libosmscout[cairo,core,directx,gdi,svg]:x64-windows...
Installing package libosmscout[cairo,core,directx,gdi,svg]:x64-windows... done
Elapsed time for package libosmscout:x64-windows: 19.09 min

Total elapsed time: 19.17 min

The package libosmscout:x64-windows provides CMake targets:

    find_package(libosmscout CONFIG REQUIRED)
    target_link_libraries(main PRIVATE OSMScout::OSMScout)

C:\dev\vcpkg>

For the name issue, @strega-nil, could you help confirm if it's okay in vcpkg?
Here is CI test failures, @OgreTransporter, could you confirm if it supports uwp and arm? let me know if you need full logs.
arm64-windows/arm-uwp:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.27.29110\include\xmmintrin.h(31,1): fatal error C1189: #error:  This header is specific to X86 and X64 targets

x64-uwp:
C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\XamlCompiler\Microsoft.Windows.UI.Xaml.Common.targets(486,5): error MSB4181: The "CompileXaml" task returned false but did not log an error. [D:\buildtrees\libosmscout\x64-uwp-dbg\libosmscout\OSMScout.vcxproj]

    D:\buildtrees\libosmscout\src\f587162c5f-4dbef76e40.clean\libosmscout\src\osmscout\util\File.cpp(157,46): error C2664: 'DWORD GetFileAttributesW(LPCWSTR)': cannot convert argument 1 from 'const _Elem *' to 'LPCWSTR' [D:\buildtrees\libosmscout\x64-uwp-dbg\libosmscout\OSMScout.vcxproj]
         D:\buildtrees\libosmscout\src\f587162c5f-4dbef76e40.clean\libosmscout\src\osmscout\util\File.cpp(169,56): error C2664: 'DWORD GetFileAttributesW(LPCWSTR)': cannot convert argument 1 from 'const _Elem *' to 'LPCWSTR' [D:\buildtrees\libosmscout\x64-uwp-dbg\libosmscout\OSMScout.vcxproj]

x64-windows-static:
CMake Error:
  Error evaluating generator expression:
    $<TARGET_PDB_FILE:OSMScout>
  TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

CMake Error:
  Error evaluating generator expression:
    $<TARGET_PDB_FILE:OSMScoutImport>
  TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

CMake Error:
  Error evaluating generator expression:
    $<TARGET_PDB_FILE:OSMScoutGPX>
  TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

CMake Error:
  Error evaluating generator expression:
    $<TARGET_PDB_FILE:OSMScoutMap>
  TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

CMake Error:
  Error evaluating generator expression:
    $<TARGET_PDB_FILE:OSMScoutMapDirectX>
  TARGET_PDB_FILE is allowed only for targets with linker created artifacts.
CMake Error:
  Error evaluating generator expression:
    $<TARGET_PDB_FILE:OSMScoutMapGDI>
  TARGET_PDB_FILE is allowed only for targets with linker created artifacts.
CMake Error:
  Error evaluating generator expression:
    $<TARGET_PDB_FILE:OSMScoutMapSVG>
  TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

@PhoebeHui Thanks a lot for your help! I find it strange that the Linux build fails because the CI (https://ci.appveyor.com/project/Framstag/libosmscout/builds/36178606) of libosmscout works. What kind of Linux and which settings were used? static-windows I have fixed, UWP and ARM I will probably disable.

I can build libsomscout statically with CMake and my own libraries, but not with vcpkg:
Building package glib[core]:x64-windows-static...
Could not locate cached archive: C:\Users\IEUser\AppData\Local\vcpkg\archives\b0\b0d4ff0d5c509e12b835275d1b95cfd508ff88b1.zip
-- Note: glib only supports dynamic library linkage. Building dynamic library.
CMake Error at scripts/cmake/vcpkg_check_linkage.cmake:42 (message):
  Refusing to build unexpected dynamic library against the static CRT.  If
  this is desired, please configure your triplet to directly request this
  configuration.
Call Stack (most recent call first):
  ports/glib/portfile.cmake:6 (vcpkg_check_linkage)
  scripts/ports.cmake:135 (include)

Error: Building package glib:x64-windows-static failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: glib:x64-windows-static
  Vcpkg version: 2020.06.15-nohash

Additionally, attach any relevant sections from the log files above.

If the bug #12094 is fixed, I activate it again.

@OgreTransporter, for linux, the CI test machine using ubuntu 18.04 with gnu 7.5.0, this issue could repro locally in my vm. I attached the full log:
failure logs for x64-linux (1).zip
For CI test machine deployment in linux, see https://github.com/microsoft/vcpkg/blob/master/scripts/azure-pipelines/linux/provision-image.sh
Noted that the linux passed in CI testing now since you add '!static' in supports, it actually skipped.

All features test passed with x64-windows.

When I found the Linux error I will activate it again. The CIs of libosmscout work under Ubuntu 18.04:

https://ci.appveyor.com/project/Framstag/libosmscout/builds/36178606
https://github.com/Framstag/libosmscout/runs/1365208594

Windows static does not work for me because glib (dependency of a dependency) cannot be built. So, the package is only available as Windows DLLs for now. Later I can update it.

I still do not understand the renaming. The ports of many libraries are named the same as the packages on different systems, like boost, bzip2, cairo, cgal, curl, etc. Isn't it also the sense that you can find a known library by its name again? But why should libosmscout be renamed?

There is 2 packages named to libosmscout, and users may confused with the names, see doc
https://github.com/Framstag/libosmscout
https://github.com/OpenMandrivaAssociation/libosmscout

Both are the same library, except that the Open Mandriva Association directory is outdated and https://github.com/Framstag/libosmscout is the official repository. The Mandriva directory is just an outdated build script like a vcpkg port.

Confirmed that libosmscout is the correct name.

Many thanks for your help.

Thank you @OgreTransporter ! :)


Debug/Fix HMR support

HMR seems to have some troubles with different pieces being changed

Need a module.hot replacement at the index root
Need to figure out constraints about extension being updated and HMR reloading

@GeoffCoxMSFT

HMR seems to have some troubles with different pieces being changed

Need a module.hot replacement at the index root
What do you mean by the following?
Need to figure out constraints about extension being updated and HMR reloading


Do not setup Ceph monitoring when Ceph is not present.

Fixes #492

:+1:

Rebased

looks right :+1:


non standard right click menu items missing in store 1.1.5

debug.txt
debug_fulltrust.txt
Describe the bug
When I use 1.1.5 (most recent store version at time of writing) I lose most of the right click menu options that would appear in regular explorer. Rolling back to 1.1.0 from Github and all the menu options re-appear.
To Reproduce
Steps to reproduce the behaviour:
1: Run 1.1.5 (Store)
Expected behaviour
Non-standard items in right click menu to appear.
Screenshots

Desktop (please complete the following information):

OS Version: [e.g. Windows 10 20H2 19042.746]
App version: [1.1.0 / 1.1.5]

Additional context
Reboots / Restarts do not affect this. Only way to get back to expected menu appearance is to roll back to 1.1.0.
edit: this affects any 3rd party right-click entry, so VLC, WinRAR etc do not show their actions when I right click on .mp4 / .rar etc etc
thx!
edit2: attached logs as requested, but they don't contain much.

Hello thanks for the report. Please attach the log files to the issue description.
Do you happen to have uninstalled/disconnected OneDrive?

Hello thanks for the report. Please attach the log files to the issue description.
Do you happen to have uninstalled/disconnected OneDrive?

Do you happen to have uninstalled/disconnected OneDrive?

Yes I have. I don't use or need OneDrive at all.

Do you happen to have uninstalled/disconnected OneDrive?

Yes I have. I don't use or need OneDrive at all.

@rubberdecoy thanks for the info. This is an issue affecting everyone who has uninstalled OneDrive. I can confirm that a fix will be included in the next version.

@rubberdecoy thanks for the info. This is an issue affecting everyone who has uninstalled OneDrive. I can confirm that a fix will be included in the next version.

I can confirm that a fix will be included in the next version.

Outstanding. Thank you!

I can confirm that a fix will be included in the next version.

Outstanding. Thank you!


Truncate file names

Truncate file names to avoid "File name too long" errors if email has long subject

Sorry, I've messed up test setup. Fixed in #174. Could you please rebase your branch?


int buffers should track the bit depth of the input

because of the float conversion, we need to track the bit depth of the input so we can properly scale the input. Currently the code expects an int16 input which is wrong.

Wouldn't using Int16Buffer be a sufficient solution or would it throw off some other design consideration?
Which code expects the int16? I mean if this is the source or sink of the pipeline, then the corresponding endpoint could take care of correctly scaling the Float buffer?

Here is the issue: https://github.com/go-audio/audio/blob/master/audio.go#L210
float32(float64(int16(buf.Data[i])) / math.Pow(2, 8*2-1))

math.Pow(2, 8*2-1) assumes that the bit depth of the int is 2 bytes, but if the sample was a 24bit sample, I don't think the result will be correct.

I think the fundamental issue is that IntBuffer isn't with specific width. I.e. it probably should be Int32Buffer.
This also means that when storing uint8, int8, uint16, int16, int24, int48 etc.. will hit similar issue. Plus the additional issue, when running on 32bit, and storing int48, then the potential clipping.

I agree, I'm planning on redoing the implementation more like what I had at the beginning with a generic buffer backed by different types so we can workaround these issues without making the API super complicated.

I worked around the issue by having a new source bitdepth field in the buffer and when doing the conversion if the field isn't set, I try to guess it. It's not ideal but it should work most of the time. I also updated the PCM decoders to set those fields.


Clone data to new repository

[ ] CZERTAINLY-Appliance
[ ] CZERTAINLY-Appliance-Host-Config
[ ] CZERTAINLY-Appliance-RKE2
[ ] CZERTAINLY-Appliance-Branding

I've done some updates.

https://github.com/3KeyCompany/CZERTAINLY-Appliance-Branding/pull/1 is still accurate
https://github.com/3KeyCompany/CZERTAINLY-Appliance-RKE2/pull/1 is also accurate
https://github.com/3KeyCompany/CZERTAINLY-Appliance-Host-Config/pull/1 is not accurate => closed and open new one https://github.com/3KeyCompany/CZERTAINLY-Appliance-Host-Config/pull/2

And finally https://github.com/3KeyCompany/CZERTAINLY-Appliance/pull/2